interface KoBoToolboxNodeParameters {
binaryPropertyName?: string;
download?: boolean;
endDate?: string;
fileId?: string;
fileMode?: "url" | "binary";
fileUrl?: string;
filterJson?: string;
filters?: { filter?: string };
filterType?: "none" | "json";
formId?: string;
hookId?: string;
limit?: number;
logId?: string;
operation?:
| "create"
| "get"
| "getAll"
| "delete"
| "redeploy"
| "getLogs"
| "retryAll"
| "retryOne"
| "getValidation"
| "setValidation";
options?: | {
sort?: {
value: {
descending?: boolean;
ordering?: | "name"
| "asset_type"
| "date_modified"
| "owner__username"
| "subscribers_count";
};
};
}
| {
binaryNamingScheme?: "sequence"
| "question";
dataPropertyAttachmentsPrefixName?: string;
download?: boolean;
fields?: string;
numberMask?: string;
reformat?: boolean;
selectMask?: string;
sort?: string;
version?:
| "download_url"
| "download_small_url"
| "download_medium_url"
| "download_large_url";
};
resource?: "file"
| "form"
| "hook"
| "submission";
returnAll?: boolean;
startDate?: string;
status?: "" | "1" | "2" | "0";
submissionId?: string;
validationStatus?:
| "validation_status_approved"
| "validation_status_not_approved"
| "validation_status_on_hold";
}
Properties§
Source§readonly file Id?: string
readonly file Id?: string
Uid of the file (should start with "af" e.g. "afQoJxA4kmKEXVpkH6SYbhb"
Source§readonly form Id?: string
readonly form Id?: string
Form ID (e.g. aSAvYreNzVEkrWg5Gdcvg). Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"loadForms"}
Source§readonly limit?: number
readonly limit?: number
Max number of results to return Default: 1000 Type options: {"maxValue":3000}
Source§readonly operation?:
| "create"
| "get"
| "getAll"
| "delete"
| "redeploy"
| "getLogs"
| "retryAll"
| "retryOne"
| "getValidation"
| "setValidation"
readonly operation?:
| "create"
| "get"
| "getAll"
| "delete"
| "redeploy"
| "getLogs"
| "retryAll"
| "retryOne"
| "getValidation"
| "setValidation"
Default: "get"
Source§readonly options?:
| {
sort?: {
value: {
descending?: boolean;
ordering?: | "name"
| "asset_type"
| "date_modified"
| "owner__username"
| "subscribers_count";
};
};
}
| {
binaryNamingScheme?: "sequence"
| "question";
dataPropertyAttachmentsPrefixName?: string;
download?: boolean;
fields?: string;
numberMask?: string;
reformat?: boolean;
selectMask?: string;
sort?: string;
version?:
| "download_url"
| "download_small_url"
| "download_medium_url"
| "download_large_url";
}
readonly options?:
| {
sort?: {
value: {
descending?: boolean;
ordering?: | "name"
| "asset_type"
| "date_modified"
| "owner__username"
| "subscribers_count";
};
};
}
| {
binaryNamingScheme?: "sequence"
| "question";
dataPropertyAttachmentsPrefixName?: string;
download?: boolean;
fields?: string;
numberMask?: string;
reformat?: boolean;
selectMask?: string;
sort?: string;
version?:
| "download_url"
| "download_small_url"
| "download_medium_url"
| "download_large_url";
}
Default: {}
Name of the binary property to write the file into Default: "data"