- create(options, sdkOptions?): Promise<Response>
Parameters
options: undefined | {
payload: {
timer: {
body: {
DATA: {
DATA_TYPE?: "transfer_item";
checksum_algorithm?: string;
destination_path: string;
external_checksum?: string;
recursive?: boolean;
source_path: string;
}[];
DATA_TYPE?: "transfer";
deadline?: string;
delete_destination_extra?: boolean;
destination_endpoint: string;
destination_local_user?: string;
encrypt_data?: boolean;
fail_on_quota_errors?: boolean;
filter_rules?: {
DATA_TYPE?: "filter_rule";
method?: "include" | "exclude";
name: string;
type?: "file" | "dir";
}[];
label?: string;
notify_on_failed?: boolean;
notify_on_inactive?: boolean;
notify_on_succeeded?: boolean;
preserve_timestamp?: boolean;
skip_activation_check?: boolean;
skip_source_errors?: boolean;
source_endpoint: string;
source_local_user?: string;
store_base_path_info?: boolean;
sync_level?: 0 | 2 | 1 | 3;
verify_checksum?: boolean;
};
name?: string;
resource_server?: "transfer.api.globus.org";
schedule: {
datetime?: string;
type?: "once";
} | {
end?: {
condition?: "time";
datetime: string;
} | {
condition?: "iterations";
count: number;
};
interval_seconds: number;
start?: string;
type?: "recurring";
};
timer_type: "transfer";
};
};
} & {
headers?: Headers;
query?: {
[key: string]: string | number | (string | number | null | undefined)[] | null | undefined;
};
}
Optional
sdkOptions: SDKOptions
Returns Promise<Response>