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