n8n-nodes-chatwork
Version:
Provides n8n nodes to retrieve data from Chatwork API.
36 lines (35 loc) • 951 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.NameRequiredProperty = exports.NameProperty = void 0;
const Resource_1 = require("./Resource");
const Room_1 = require("./Room");
exports.NameProperty = {
displayName: 'Group chat name',
name: 'name',
type: 'string',
default: '',
displayOptions: {
show: {
resource: [
Resource_1.ResourceOptionsValue.ROOMS,
],
operation: [
Room_1.RoomOptionsValue.UPDATE_INFO,
],
},
},
placeholder: 'Website renewal project',
description: 'Title of the group chat',
};
exports.NameRequiredProperty = {
...exports.NameProperty,
required: true,
displayOptions: {
show: {
...exports.NameProperty.displayOptions.show,
operation: [
Room_1.RoomOptionsValue.CREATE,
],
},
},
};