n8n-nodes-chatwork
Version:
Provides n8n nodes to retrieve data from Chatwork API.
39 lines (38 loc) • 1.41 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.RoomIdProperty = void 0;
const Resource_1 = require("./Resource");
const Room_1 = require("./Room");
exports.RoomIdProperty = {
displayName: 'Chatroom ID',
name: 'roomId',
type: 'number',
required: true,
default: 0,
displayOptions: {
show: {
resource: [
Resource_1.ResourceOptionsValue.ROOMS,
],
operation: [
Room_1.RoomOptionsValue.GET_DETAIL,
Room_1.RoomOptionsValue.SEND_MESSAGE,
Room_1.RoomOptionsValue.GET_MEMBERS,
Room_1.RoomOptionsValue.GET_MESSAGES,
Room_1.RoomOptionsValue.UPDATE_INFO,
Room_1.RoomOptionsValue.GET_MESSAGE_DETAIL,
Room_1.RoomOptionsValue.UPDATE_MESSAGE,
Room_1.RoomOptionsValue.DELETE_MESSAGE,
Room_1.RoomOptionsValue.GET_TASKS,
Room_1.RoomOptionsValue.GET_TASK_DETAIL,
Room_1.RoomOptionsValue.CREATE_TASK,
Room_1.RoomOptionsValue.GET_FILES,
Room_1.RoomOptionsValue.GET_FILE_DETAIL,
Room_1.RoomOptionsValue.LEAVE_OR_DELETE,
Room_1.RoomOptionsValue.CHANGE_ASSOCIATED_MEMBERS,
],
},
},
placeholder: '92107487',
description: 'Chatroom ID',
};