Interface PhantombusterNodeParameters

Source
interface PhantombusterNodeParameters {
    additionalFields?:
        | {
            prevContainerId?: string;
            prevRuntimeEventIndex?: number;
            prevStatus?: | "unknown"
            | "finished"
            | "lauch error"
            | "never launched"
            | "running"
            | "starting";
        }
        | {
            argumentsJson?: string;
            argumentsUi?: {
                argumentValues: { key?: string; value?: string }[];
            };
            bonusArgumentJson?: string;
            bonusArgumentUi?: {
                bonusArgumentValue: {
                    key?: string;
                    value?: string;
                }[];
            };
            manualLaunch?: boolean;
            maxInstanceCount?: number;
            saveArgument?: string;
        };
    agentId?: string;
    jsonParameters?: boolean;
    limit?: number;
    operation?: | "get"
    | "getAll"
    | "delete"
    | "getOutput"
    | "launch";
    resolveData?: boolean;
    resource?: "agent";
    returnAll?: boolean;
}

Properties§

Source§

readonly additionalFields?:
    | {
        prevContainerId?: string;
        prevRuntimeEventIndex?: number;
        prevStatus?: | "unknown"
        | "finished"
        | "lauch error"
        | "never launched"
        | "running"
        | "starting";
    }
    | {
        argumentsJson?: string;
        argumentsUi?: {
            argumentValues: { key?: string; value?: string }[];
        };
        bonusArgumentJson?: string;
        bonusArgumentUi?: {
            bonusArgumentValue: {
                key?: string;
                value?: string;
            }[];
        };
        manualLaunch?: boolean;
        maxInstanceCount?: number;
        saveArgument?: string;
    }

Default: {}

Source§

readonly agentId?: string

Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getAgents"}

Source§

readonly jsonParameters?: boolean

Source§

readonly limit?: number

Max number of results to return Default: 25 Type options: {"minValue":1,"maxValue":50}

Source§

readonly operation?: "get" | "getAll" | "delete" | "getOutput" | "launch"

Default: "launch"

Source§

readonly resolveData?: boolean

By default the outpout is presented as string. If this option gets activated, it will resolve the data automatically. Default: true

Source§

readonly resource?: "agent"

Default: "agent"

Source§

readonly returnAll?: boolean

Whether to return all results or only up to a given limit