/** * Salesmate Node - Version 1 * Discriminator: resource=activity, operation=update */ interface Credentials { salesmateApi: CredentialReference; } /** Update a company */ export type SalesmateV1ActivityUpdateParams = { resource: 'activity'; operation: 'update'; /** * Activity ID */ id?: string | Expression | PlaceholderValue; /** * Whether the data should include the fields details * @default false */ rawData?: boolean | Expression; /** * Update Fields * @default {} */ updateFields?: { /** Title */ title?: string | Expression | PlaceholderValue; /** Type */ type?: string | Expression | PlaceholderValue; /** Owner */ owner?: string | Expression | PlaceholderValue; /** 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 SalesmateV1ActivityUpdateNode = { type: 'n8n-nodes-base.salesmate'; version: 1; credentials?: Credentials; config: NodeConfig; };