/** * Microsoft OneDrive Node - Version 1 * Discriminator: resource=folder, operation=share */ interface Credentials { microsoftOneDriveOAuth2Api: CredentialReference; } /** Share a file */ export type MicrosoftOneDriveV1FolderShareParams = { resource: 'folder'; operation: 'share'; /** * File ID */ folderId?: string | Expression | PlaceholderValue; /** * The type of sharing link to create */ type?: 'view' | 'edit' | 'embed' | Expression; /** * The type of sharing link to create */ scope?: 'anonymous' | 'organization' | Expression; }; export type MicrosoftOneDriveV1FolderShareOutput = { '@odata.context'?: string; hasPassword?: boolean; id?: string; link?: { preventsDownload?: boolean; scope?: string; type?: string; webUrl?: string; }; roles?: Array; shareId?: string; }; export type MicrosoftOneDriveV1FolderShareNode = { type: 'n8n-nodes-base.microsoftOneDrive'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };