n8n-nodes-chatwork
Version:
Provides an n8n community node for integrating Chatwork messaging and task APIs into automated workflows.
26 lines • 888 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.roomMarkAsUnreadProperties = void 0;
const enums_1 = require("../../shared/enums");
const properties_1 = require("../../shared/properties");
const utils_1 = require("../../shared/utils");
exports.roomMarkAsUnreadProperties = (0, utils_1.withDisplayOptions)([
properties_1.roomIdProperty,
{
...properties_1.messageIdProperty,
required: true,
description: 'The ID of the message to mark as unread. All messages from this ID onwards will be marked as unread.',
routing: {
send: {
type: 'body',
property: 'message_id',
},
},
},
], {
show: {
resource: [enums_1.Resource.ROOM],
operation: [enums_1.RoomOperations.MARK_AS_UNREAD],
},
});
//# sourceMappingURL=markAsUnread.js.map