/** * Salesforce Node - Version 1 * Discriminator: resource=attachment, operation=create */ interface Credentials { salesforceOAuth2Api: CredentialReference; salesforceJwtApi: CredentialReference; } /** Represents a file that a has uploaded and attached to a parent object */ export type SalesforceV1AttachmentCreateParams = { resource: 'attachment'; operation: 'create'; /** * OAuth Authorization Flow * @default oAuth2 */ authentication?: 'oAuth2' | 'jwt' | Expression; /** * Parent ID */ parentId?: string | Expression | PlaceholderValue; /** * Required. Name of the attached file. Maximum size is 255 characters. Label is File Name. */ name?: string | Expression | PlaceholderValue; /** * Input Binary Field * @hint The name of the input binary field containing the file to be uploaded * @default data */ binaryPropertyName?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Text description of the Document. Limit: 255 characters. */ description?: string | Expression | PlaceholderValue; /** Whether this record is viewable only by the owner and administrators (true) or viewable by all otherwise-allowed users (false) * @default false */ isPrivate?: boolean | Expression; /** ID of the User who owns the attachment. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ owner?: string | Expression; }; }; export type SalesforceV1AttachmentCreateNode = { type: 'n8n-nodes-base.salesforce'; version: 1; credentials?: Credentials; config: NodeConfig; };