UNPKG

n8n-nodes-chatwork

Version:

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

27 lines 1 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.roomMarkAsReadProperties = void 0; const enums_1 = require("../../shared/enums"); const properties_1 = require("../../shared/properties"); const utils_1 = require("../../shared/utils"); exports.roomMarkAsReadProperties = (0, utils_1.withDisplayOptions)([ properties_1.roomIdProperty, { ...properties_1.messageIdProperty, required: false, description: 'The ID of the message to mark as read. All messages up to this ID will be marked as read. If not specified, all messages in the room will be marked as read.', routing: { send: { type: 'body', property: 'message_id', value: '={{$parameter.messageId || undefined}}', }, }, }, ], { show: { resource: [enums_1.Resource.ROOM], operation: [enums_1.RoomOperations.MARK_AS_READ], }, }); //# sourceMappingURL=markAsRead.js.map