n8n-nodes-base
Version:
Base nodes of n8n
35 lines (31 loc) • 897 B
text/typescript
/**
* Freshworks CRM Node - Version 1
* Discriminator: resource=note, operation=create
*/
interface Credentials {
freshworksCrmApi: CredentialReference;
}
/** Create an account */
export type FreshworksCrmV1NoteCreateParams = {
resource: 'note';
operation: 'create';
/**
* Content of the note
*/
description?: string | Expression<string> | PlaceholderValue;
/**
* Type of the entity for which the note is created
* @default Contact
*/
targetableType?: 'Contact' | 'Deal' | 'SalesAccount' | Expression<string>;
/**
* ID of the entity for which note is created. The type of entity is selected in "Target Type".
*/
targetable_id?: string | Expression<string> | PlaceholderValue;
};
export type FreshworksCrmV1NoteCreateNode = {
type: 'n8n-nodes-base.freshworksCrm';
version: 1;
credentials?: Credentials;
config: NodeConfig<FreshworksCrmV1NoteCreateParams>;
};