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