n8n-nodes-base
Version:
Base nodes of n8n
29 lines (25 loc) • 643 B
text/typescript
/**
* Pipedrive Node - Version 1
* Discriminator: resource=file, operation=delete
*/
interface Credentials {
pipedriveApi: CredentialReference;
pipedriveOAuth2Api: CredentialReference;
}
/** Delete an activity */
export type PipedriveV1FileDeleteParams = {
resource: 'file';
operation: 'delete';
authentication?: 'apiToken' | 'oAuth2' | Expression<string>;
/**
* ID of the file to delete
* @default 0
*/
fileId?: number | Expression<number>;
};
export type PipedriveV1FileDeleteNode = {
type: 'n8n-nodes-base.pipedrive';
version: 1;
credentials?: Credentials;
config: NodeConfig<PipedriveV1FileDeleteParams>;
};