/** * WhatsApp Business Cloud Node - Version 1.1 * Discriminator: resource=media, operation=mediaUpload */ interface Credentials { whatsAppApi: CredentialReference; } export type WhatsAppV11MediaMediaUploadParams = { resource: 'media'; operation: 'mediaUpload'; /** * The ID of the business account's phone number to store the media */ phoneNumberId?: string | Expression; /** * Name of the binary property which contains the data for the file to be uploaded * @default data */ mediaPropertyName?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** The name to use for the file */ mediaFileName?: string | Expression | PlaceholderValue; }; }; export type WhatsAppV11MediaMediaUploadOutput = { id?: string; }; export type WhatsAppV11MediaMediaUploadNode = { type: 'n8n-nodes-base.whatsApp'; version: 1.1; credentials?: Credentials; config: NodeConfig; output?: Items; };