/** * Microsoft OneDrive Node - Version 1 * Discriminator: resource=file, operation=copy */ interface Credentials { microsoftOneDriveOAuth2Api: CredentialReference; } /** Copy a file */ export type MicrosoftOneDriveV1FileCopyParams = { resource: 'file'; operation: 'copy'; /** * File ID */ fileId?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** The new name for the copy. If this isn't provided, the same name will be used as the original. */ name?: string | Expression | PlaceholderValue; }; /** * Reference to the parent item the copy will be created in <a href="https://docs.microsoft.com/en-us/onedrive/developer/rest-api/resources/itemreference?view=odsp-graph-online"> Details </a> * @default {} */ parentReference?: { /** Identifier of the drive instance that contains the item */ driveId?: string | Expression | PlaceholderValue; /** Identifies the type of drive */ driveType?: string | Expression | PlaceholderValue; /** Identifier of the item in the drive */ id?: string | Expression | PlaceholderValue; /** Identifier of the list */ listId?: string | Expression | PlaceholderValue; /** The name of the item being referenced */ name?: string | Expression | PlaceholderValue; /** Path that can be used to navigate to the item */ path?: string | Expression | PlaceholderValue; /** Identifier for a shared resource that can be accessed via the Shares API */ shareId?: string | Expression | PlaceholderValue; /** Identifier of the site */ siteId?: string | Expression | PlaceholderValue; }; }; export type MicrosoftOneDriveV1FileCopyOutput = { location?: string; }; export type MicrosoftOneDriveV1FileCopyNode = { type: 'n8n-nodes-base.microsoftOneDrive'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };