Interface MicrosoftOneDriveNodeParameters

Source
interface MicrosoftOneDriveNodeParameters {
    additionalFields?: { name?: string };
    binaryData?: boolean;
    binaryPropertyName?: string;
    fileContent?: string;
    fileId?: string;
    fileName?: string;
    folderId?: string;
    itemId?: string;
    name?: string;
    newName?: string;
    operation?:
        | "create"
        | "get"
        | "delete"
        | "search"
        | "upload"
        | "copy"
        | "download"
        | "share"
        | "rename"
        | "getChildren";
    options?: { parentFolderId?: string };
    parentId?: string;
    parentReference?: {
        driveId?: string;
        driveType?: string;
        id?: string;
        listId?: string;
        name?: string;
        path?: string;
        shareId?: string;
        siteId?: string;
    };
    query?: string;
    resource?: "file"
    | "folder";
    scope?: "organization" | "anonymous";
    type?: "edit" | "view" | "embed";
}

Properties§

§readonly additionalFields?: { ... }

Default: {}

§readonly binaryData?: boolean

Whether the data to upload should be taken from binary field

§readonly binaryPropertyName?: string

Default: "data"

§readonly fileContent?: string

The text content of the file

§readonly fileId?: string
§readonly fileName?: string

The name the file should be saved as

§readonly folderId?: string
§readonly itemId?: string

ID of the file

§readonly name?: string

The name or path of the folder

§readonly newName?: string

New name for file

§readonly operation?:
    | "create"
    | "get"
    | "delete"
    | "search"
    | "upload"
    | "copy"
    | "download"
    | "share"
    | "rename"
    | "getChildren"

Default: "upload"

§readonly options?: { ... }

Default: {}

§readonly parentId?: string

ID of the parent folder that will contain the file

§readonly parentReference?: { ... }

Reference to the parent item the copy will be created in Details Default: {}

§readonly query?: string

The query text used to search for items. Values may be matched across several fields including filename, metadata, and file content.

§readonly resource?: "file" | "folder"

Default: "file"

§readonly scope?: "organization" | "anonymous"

The type of sharing link to create

§readonly type?: "edit" | "view" | "embed"

The type of sharing link to create