UNPKG

n8n-nodes-chatwork

Version:

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

57 lines 1.73 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.roomCreateInviteLinkProperties = void 0; const enums_1 = require("../../shared/enums"); const properties_1 = require("../../shared/properties"); const utils_1 = require("../../shared/utils"); exports.roomCreateInviteLinkProperties = (0, utils_1.withDisplayOptions)([ properties_1.roomIdProperty, { displayName: 'Code', name: 'code', type: 'string', default: '', description: 'Code for the invite link. If omitted, a random string will be used.', routing: { send: { type: 'body', property: 'code', value: '={{$parameter.code || undefined}}', }, }, }, { displayName: 'Need Acceptance', name: 'need_acceptance', type: 'boolean', default: true, description: 'Whether the administrator needs to approve the participation', routing: { send: { type: 'body', property: 'need_acceptance', value: '={{$value ? 1 : 0}}', }, }, }, { displayName: 'Description', name: 'description', type: 'string', default: '', description: 'Description of the invite link', routing: { send: { type: 'body', property: 'description', value: '={{$parameter.description || undefined}}', }, }, }, ], { show: { resource: [enums_1.Resource.ROOM], operation: [enums_1.RoomOperations.CREATE_LINK], }, }); //# sourceMappingURL=createInviteLink.js.map