UNPKG

n8n-nodes-chatwork

Version:

Provides an n8n community node for integrating Chatwork messaging and task APIs into automated workflows.

56 lines 1.59 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.roomGetTasksProperties = void 0; const properties_1 = require("../../shared/properties"); const enums_1 = require("../../shared/enums"); const utils_1 = require("../../shared/utils"); exports.roomGetTasksProperties = (0, utils_1.withDisplayOptions)([ properties_1.roomIdProperty, { ...properties_1.accountIdProperty, description: 'Filter tasks assigned to this account', }, { displayName: 'Assigned By (Account ID)', name: 'assignedByAccountId', type: 'number', default: undefined, description: 'Filter tasks assigned by this account', routing: { send: { type: 'query', property: 'assigned_by_account_id', value: '={{$parameter.assignedByAccountId ?? undefined}}', }, }, }, { displayName: 'Status', name: 'status', type: 'options', default: 'open', description: 'Filter tasks by status', options: [ { name: 'Open', value: 'open', }, { name: 'Done', value: 'done', }, ], routing: { send: { type: 'query', property: 'status', }, }, }, ], { show: { resource: [enums_1.Resource.ROOM], operation: [enums_1.RoomOperations.GET_TASKS], }, }); //# sourceMappingURL=getTasks.js.map