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