n8n-nodes-chatwork
Version:
Provides n8n nodes to retrieve data from Chatwork API.
31 lines (30 loc) • 910 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContactProperty = exports.ContactOptionsValue = void 0;
const Resource_1 = require("./Resource");
var ContactOptionsValue;
(function (ContactOptionsValue) {
ContactOptionsValue["GET_ALL"] = "getContacts";
})(ContactOptionsValue || (exports.ContactOptionsValue = ContactOptionsValue = {}));
exports.ContactProperty = {
displayName: 'Operation',
name: 'operation',
type: 'options',
required: true,
noDataExpression: true,
displayOptions: {
show: {
resource: [
Resource_1.ResourceOptionsValue.CONTACTS,
],
},
},
options: [
{
name: 'Get contacts',
value: ContactOptionsValue.GET_ALL,
description: 'Get the list of your contacts',
},
],
default: ContactOptionsValue.GET_ALL,
};