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