Interface MicrosoftOneDriveTriggerNodeParameters

Source
interface MicrosoftOneDriveTriggerNodeParameters {
    event?:
        | "folderCreated"
        | "folderUpdated"
        | "fileUpdated"
        | "fileCreated";
    fileId?: { mode: "id"
    | "url"; value: string };
    folderId?: { mode: "id" | "url"; value: string };
    options?: { folderChild?: boolean };
    pollTimes: {
        item: { mode: string & {} | "everyMinute" }[];
    };
    simple?: boolean;
    watch?: | "anyFile"
    | "selectedFolder"
    | "selectedFile"
    | "anyFolder"
    | "oneSelectedFolder";
    watchFolder?: boolean;
}

Properties§

Source§

readonly event?:
    | "folderCreated"
    | "folderUpdated"
    | "fileUpdated"
    | "fileCreated"

Default: "fileCreated"

Source§

readonly fileId?: { mode: "id" | "url"; value: string }

The file to operate on. The 'By URL' option only accepts URLs that start with 'https://onedrive.live.com'. Default: {"mode":"id","value":""}

Source§

readonly folderId?: { mode: "id" | "url"; value: string }

The folder to operate on. The 'By URL' option only accepts URLs that start with 'https://onedrive.live.com'. Default: {"mode":"id","value":"","cachedResultName":""}

Source§

readonly options?: { folderChild?: boolean }

Default: {}

Source§

readonly pollTimes: { item: { mode: string & {} | "everyMinute" }[] }

Source§

readonly simple?: boolean

Whether to return a simplified version of the response instead of the raw data Default: true

Source§

readonly watch?:
    | "anyFile"
    | "selectedFolder"
    | "selectedFile"
    | "anyFolder"
    | "oneSelectedFolder"

How to select which file to watch Default: "anyFile"

Source§

readonly watchFolder?: boolean

Whether to watch for the created file in a given folder, rather than the entire OneDrive