UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

43 lines (37 loc) 1.3 kB
/** * Pipedrive Trigger Node - Version 1.1 * Starts the workflow when Pipedrive events occur */ export interface PipedriveTriggerV11Params { authentication?: 'apiToken' | 'oAuth2' | Expression<string>; /** * If authentication should be activated for the webhook (makes it more secure) * @default none */ incomingAuthentication?: 'basicAuth' | 'none' | Expression<string>; /** * Type of action to receive notifications about * @default * */ action?: '*' | 'create' | 'delete' | 'change' | Expression<string>; /** * Type of object to receive notifications about * @default * */ entity?: 'activity' | 'activityType' | '*' | 'deal' | 'note' | 'organization' | 'person' | 'pipeline' | 'product' | 'stage' | 'user' | Expression<string>; } export interface PipedriveTriggerV11Credentials { pipedriveApi: CredentialReference; pipedriveOAuth2Api: CredentialReference; httpBasicAuth: CredentialReference; } interface PipedriveTriggerV11NodeBase { type: 'n8n-nodes-base.pipedriveTrigger'; version: 1.1; credentials?: PipedriveTriggerV11Credentials; isTrigger: true; } export type PipedriveTriggerV11ParamsNode = PipedriveTriggerV11NodeBase & { config: NodeConfig<PipedriveTriggerV11Params>; }; export type PipedriveTriggerV11Node = PipedriveTriggerV11ParamsNode;