/** * Salesmate Node - Version 1 * Discriminator: resource=activity, operation=create */ interface Credentials { salesmateApi: CredentialReference; } /** Create a company */ export type SalesmateV1ActivityCreateParams = { resource: 'activity'; operation: 'create'; /** * Title */ title?: string | Expression | PlaceholderValue; /** * Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ owner?: string | Expression; /** * This field displays activity type such as call, meeting etc */ type?: string | Expression | PlaceholderValue; /** * Whether the data should include the fields details * @default false */ rawData?: boolean | Expression; /** * Additional Fields * @default {} */ additionalFields?: { /** This field contains details related to the activity */ description?: string | Expression | PlaceholderValue; /** This field contains tags associated with an activity */ tags?: string | Expression | PlaceholderValue; /** Expiry date of an activity */ dueDate?: string | Expression; /** Time duration of an activity */ duration?: number | Expression; /** Whether to send calendar invite * @default false */ isCalendarInvite?: boolean | Expression; /** Whether the activity is completed or not * @default false */ isCompleted?: boolean | Expression; }; }; export type SalesmateV1ActivityCreateNode = { type: 'n8n-nodes-base.salesmate'; version: 1; credentials?: Credentials; config: NodeConfig; };