n8n-nodes-base
Version:
Base nodes of n8n
32 lines (28 loc) • 814 B
text/typescript
/**
* Salesforce Node - Version 1
* Discriminator: resource=attachment, operation=delete
*/
interface Credentials {
salesforceOAuth2Api: CredentialReference;
salesforceJwtApi: CredentialReference;
}
/** Represents a file that a has uploaded and attached to a parent object */
export type SalesforceV1AttachmentDeleteParams = {
resource: 'attachment';
operation: 'delete';
/**
* OAuth Authorization Flow
* @default oAuth2
*/
authentication?: 'oAuth2' | 'jwt' | Expression<string>;
/**
* ID of attachment that needs to be fetched
*/
attachmentId?: string | Expression<string> | PlaceholderValue;
};
export type SalesforceV1AttachmentDeleteNode = {
type: 'n8n-nodes-base.salesforce';
version: 1;
credentials?: Credentials;
config: NodeConfig<SalesforceV1AttachmentDeleteParams>;
};