/** * Microsoft Teams Node - Version 1 * Discriminator: resource=task, operation=create */ interface Credentials { microsoftTeamsOAuth2Api: CredentialReference; } /** Create a channel */ export type MicrosoftTeamsV1TaskCreateParams = { resource: 'task'; operation: 'create'; /** * Group Source * @default all */ groupSource?: 'all' | 'mine' | Expression; /** * Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ groupId?: string | Expression; /** * The plan for the task to belong to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ planId?: string | Expression; /** * The bucket for the task to belong to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ bucketId?: string | Expression; /** * Title of the task */ title?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Who the task should be assigned to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ assignedTo?: string | Expression; /** Date and time at which the task is due. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. */ dueDateTime?: string | Expression; /** Labels to assign to the task. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default [] */ labels?: string[]; /** Percentage of task completion. When set to 100, the task is considered completed. * @default 0 */ percentComplete?: number | Expression; }; }; export type MicrosoftTeamsV1TaskCreateNode = { type: 'n8n-nodes-base.microsoftTeams'; version: 1; credentials?: Credentials; config: NodeConfig; };