UNPKG

n8n-nodes-chatwork

Version:

Provides n8n nodes to retrieve data from Chatwork API.

43 lines (42 loc) 1.51 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ResourceProperty = exports.ResourceOptionsValue = void 0; var ResourceOptionsValue; (function (ResourceOptionsValue) { ResourceOptionsValue["ME"] = "me"; ResourceOptionsValue["MY"] = "my"; ResourceOptionsValue["CONTACTS"] = "contacts"; ResourceOptionsValue["ROOMS"] = "rooms"; })(ResourceOptionsValue || (exports.ResourceOptionsValue = ResourceOptionsValue = {})); exports.ResourceProperty = { displayName: 'Resource', description: 'The main resource to operate on.', name: 'resource', type: 'options', required: true, noDataExpression: true, options: [ { name: 'Me', value: ResourceOptionsValue.ME, description: 'Used to access your account information.', }, { name: 'My', value: ResourceOptionsValue.MY, description: 'Used to access your data on the account.', }, { name: 'Contacts', value: ResourceOptionsValue.CONTACTS, description: 'Used to access the list of your contacts', }, { name: 'Rooms', value: ResourceOptionsValue.ROOMS, description: `Used to access information such as messages, members, files, and tasks associated to a specific conversation. The conversation can be Group chat, Direct chat, or My chat`, }, ], default: ResourceOptionsValue.ME, };