n8n-nodes-calendly 2.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +111 -0
- package/dist/credentials/CalendlyApi.credentials.d.ts +10 -0
- package/dist/credentials/CalendlyApi.credentials.d.ts.map +1 -0
- package/dist/credentials/CalendlyApi.credentials.js +37 -0
- package/dist/credentials/CalendlyApi.credentials.js.map +1 -0
- package/dist/nodes/Calendly/Calendly.node.d.ts +6 -0
- package/dist/nodes/Calendly/Calendly.node.d.ts.map +1 -0
- package/dist/nodes/Calendly/Calendly.node.js +561 -0
- package/dist/nodes/Calendly/Calendly.node.js.map +1 -0
- package/dist/nodes/Calendly/GenericFunctions.d.ts +19 -0
- package/dist/nodes/Calendly/GenericFunctions.d.ts.map +1 -0
- package/dist/nodes/Calendly/GenericFunctions.js +64 -0
- package/dist/nodes/Calendly/GenericFunctions.js.map +1 -0
- package/dist/nodes/Calendly/calendly.svg +10 -0
- package/dist/nodes/Calendly/descriptions/ActivityLogDescription.d.ts +4 -0
- package/dist/nodes/Calendly/descriptions/ActivityLogDescription.d.ts.map +1 -0
- package/dist/nodes/Calendly/descriptions/ActivityLogDescription.js +124 -0
- package/dist/nodes/Calendly/descriptions/ActivityLogDescription.js.map +1 -0
- package/dist/nodes/Calendly/descriptions/CustomApiCallDescription.d.ts +4 -0
- package/dist/nodes/Calendly/descriptions/CustomApiCallDescription.d.ts.map +1 -0
- package/dist/nodes/Calendly/descriptions/CustomApiCallDescription.js +127 -0
- package/dist/nodes/Calendly/descriptions/CustomApiCallDescription.js.map +1 -0
- package/dist/nodes/Calendly/descriptions/DataComplianceDescription.d.ts +4 -0
- package/dist/nodes/Calendly/descriptions/DataComplianceDescription.d.ts.map +1 -0
- package/dist/nodes/Calendly/descriptions/DataComplianceDescription.js +34 -0
- package/dist/nodes/Calendly/descriptions/DataComplianceDescription.js.map +1 -0
- package/dist/nodes/Calendly/descriptions/EventTypeDescription.d.ts +4 -0
- package/dist/nodes/Calendly/descriptions/EventTypeDescription.d.ts.map +1 -0
- package/dist/nodes/Calendly/descriptions/EventTypeDescription.js +167 -0
- package/dist/nodes/Calendly/descriptions/EventTypeDescription.js.map +1 -0
- package/dist/nodes/Calendly/descriptions/GroupDescription.d.ts +4 -0
- package/dist/nodes/Calendly/descriptions/GroupDescription.d.ts.map +1 -0
- package/dist/nodes/Calendly/descriptions/GroupDescription.js +98 -0
- package/dist/nodes/Calendly/descriptions/GroupDescription.js.map +1 -0
- package/dist/nodes/Calendly/descriptions/InviteeDescription.d.ts +4 -0
- package/dist/nodes/Calendly/descriptions/InviteeDescription.d.ts.map +1 -0
- package/dist/nodes/Calendly/descriptions/InviteeDescription.js +216 -0
- package/dist/nodes/Calendly/descriptions/InviteeDescription.js.map +1 -0
- package/dist/nodes/Calendly/descriptions/OrganizationDescription.d.ts +4 -0
- package/dist/nodes/Calendly/descriptions/OrganizationDescription.d.ts.map +1 -0
- package/dist/nodes/Calendly/descriptions/OrganizationDescription.js +145 -0
- package/dist/nodes/Calendly/descriptions/OrganizationDescription.js.map +1 -0
- package/dist/nodes/Calendly/descriptions/RoutingFormDescription.d.ts +4 -0
- package/dist/nodes/Calendly/descriptions/RoutingFormDescription.d.ts.map +1 -0
- package/dist/nodes/Calendly/descriptions/RoutingFormDescription.js +127 -0
- package/dist/nodes/Calendly/descriptions/RoutingFormDescription.js.map +1 -0
- package/dist/nodes/Calendly/descriptions/ScheduledEventDescription.d.ts +4 -0
- package/dist/nodes/Calendly/descriptions/ScheduledEventDescription.d.ts.map +1 -0
- package/dist/nodes/Calendly/descriptions/ScheduledEventDescription.js +165 -0
- package/dist/nodes/Calendly/descriptions/ScheduledEventDescription.js.map +1 -0
- package/dist/nodes/Calendly/descriptions/SchedulingLinkDescription.d.ts +4 -0
- package/dist/nodes/Calendly/descriptions/SchedulingLinkDescription.d.ts.map +1 -0
- package/dist/nodes/Calendly/descriptions/SchedulingLinkDescription.js +55 -0
- package/dist/nodes/Calendly/descriptions/SchedulingLinkDescription.js.map +1 -0
- package/dist/nodes/Calendly/descriptions/UserDescription.d.ts +4 -0
- package/dist/nodes/Calendly/descriptions/UserDescription.d.ts.map +1 -0
- package/dist/nodes/Calendly/descriptions/UserDescription.js +119 -0
- package/dist/nodes/Calendly/descriptions/UserDescription.js.map +1 -0
- package/dist/nodes/Calendly/descriptions/WebhookSubscriptionDescription.d.ts +4 -0
- package/dist/nodes/Calendly/descriptions/WebhookSubscriptionDescription.d.ts.map +1 -0
- package/dist/nodes/Calendly/descriptions/WebhookSubscriptionDescription.js +149 -0
- package/dist/nodes/Calendly/descriptions/WebhookSubscriptionDescription.js.map +1 -0
- package/dist/nodes/CalendlyTrigger/CalendlyTrigger.node.d.ts +13 -0
- package/dist/nodes/CalendlyTrigger/CalendlyTrigger.node.d.ts.map +1 -0
- package/dist/nodes/CalendlyTrigger/CalendlyTrigger.node.js +210 -0
- package/dist/nodes/CalendlyTrigger/CalendlyTrigger.node.js.map +1 -0
- package/dist/nodes/CalendlyTrigger/calendly.svg +10 -0
- package/dist/nodes/calendly.svg +10 -0
- package/package.json +63 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.groupFields = exports.groupOperations = void 0;
|
|
4
|
+
exports.groupOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Operation',
|
|
7
|
+
name: 'operation',
|
|
8
|
+
type: 'options',
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
displayOptions: { show: { resource: ['group'] } },
|
|
11
|
+
options: [
|
|
12
|
+
{
|
|
13
|
+
name: 'Get',
|
|
14
|
+
value: 'get',
|
|
15
|
+
description: 'Get a single group',
|
|
16
|
+
action: 'Get a group',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: 'Get Many',
|
|
20
|
+
value: 'getAll',
|
|
21
|
+
description: 'List groups in an organization',
|
|
22
|
+
action: 'Get many groups',
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: 'Get Relationship',
|
|
26
|
+
value: 'getRelationship',
|
|
27
|
+
description: 'Get a group relationship (user-to-group membership)',
|
|
28
|
+
action: 'Get a group relationship',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
name: 'List Relationships',
|
|
32
|
+
value: 'listRelationships',
|
|
33
|
+
description: 'List group relationships for an organization',
|
|
34
|
+
action: 'List group relationships',
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
default: 'getAll',
|
|
38
|
+
},
|
|
39
|
+
];
|
|
40
|
+
exports.groupFields = [
|
|
41
|
+
// ─── GET MANY ───────────────────────────────────────────────────────────────
|
|
42
|
+
{
|
|
43
|
+
displayName: 'Organization URI',
|
|
44
|
+
name: 'organizationUri',
|
|
45
|
+
type: 'string',
|
|
46
|
+
required: true,
|
|
47
|
+
displayOptions: {
|
|
48
|
+
show: { resource: ['group'], operation: ['getAll', 'listRelationships'] },
|
|
49
|
+
},
|
|
50
|
+
default: '',
|
|
51
|
+
placeholder: 'https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA',
|
|
52
|
+
description: 'The URI of the organization',
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
displayName: 'Return All',
|
|
56
|
+
name: 'returnAll',
|
|
57
|
+
type: 'boolean',
|
|
58
|
+
displayOptions: { show: { resource: ['group'], operation: ['getAll', 'listRelationships'] } },
|
|
59
|
+
default: false,
|
|
60
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
displayName: 'Limit',
|
|
64
|
+
name: 'limit',
|
|
65
|
+
type: 'number',
|
|
66
|
+
typeOptions: { minValue: 1, maxValue: 100 },
|
|
67
|
+
displayOptions: {
|
|
68
|
+
show: {
|
|
69
|
+
resource: ['group'],
|
|
70
|
+
operation: ['getAll', 'listRelationships'],
|
|
71
|
+
returnAll: [false],
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
default: 20,
|
|
75
|
+
description: 'Max number of results to return',
|
|
76
|
+
},
|
|
77
|
+
// ─── GET ────────────────────────────────────────────────────────────────────
|
|
78
|
+
{
|
|
79
|
+
displayName: 'Group UUID',
|
|
80
|
+
name: 'groupUuid',
|
|
81
|
+
type: 'string',
|
|
82
|
+
required: true,
|
|
83
|
+
displayOptions: { show: { resource: ['group'], operation: ['get'] } },
|
|
84
|
+
default: '',
|
|
85
|
+
description: 'The UUID of the group',
|
|
86
|
+
},
|
|
87
|
+
// ─── GET RELATIONSHIP ────────────────────────────────────────────────────────
|
|
88
|
+
{
|
|
89
|
+
displayName: 'Relationship UUID',
|
|
90
|
+
name: 'relationshipUuid',
|
|
91
|
+
type: 'string',
|
|
92
|
+
required: true,
|
|
93
|
+
displayOptions: { show: { resource: ['group'], operation: ['getRelationship'] } },
|
|
94
|
+
default: '',
|
|
95
|
+
description: 'The UUID of the group relationship',
|
|
96
|
+
},
|
|
97
|
+
];
|
|
98
|
+
//# sourceMappingURL=GroupDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupDescription.js","sourceRoot":"","sources":["../../../../nodes/Calendly/descriptions/GroupDescription.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAsB;IACjD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;QACjD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,WAAW,EAAE,oBAAoB;gBACjC,MAAM,EAAE,aAAa;aACrB;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,gCAAgC;gBAC7C,MAAM,EAAE,iBAAiB;aACzB;YACD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AC;aAClB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,iCAAiC;KAC9C;IAED,+EAA+E;IAC/E;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE;QACrE,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,uBAAuB;KACpC;IAED,gFAAgF;IAChF;QACC,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,SAAS,EAAE,CAAC,iBAAiB,CAAC,EAAE,EAAE;QACjF,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,oCAAoC;KACjD;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InviteeDescription.d.ts","sourceRoot":"","sources":["../../../../nodes/Calendly/descriptions/InviteeDescription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,eAAO,MAAM,iBAAiB,EAAE,eAAe,EAyC9C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,EA6K1C,CAAC"}
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.inviteeFields = exports.inviteeOperations = void 0;
|
|
4
|
+
exports.inviteeOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Operation',
|
|
7
|
+
name: 'operation',
|
|
8
|
+
type: 'options',
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
displayOptions: { show: { resource: ['invitee'] } },
|
|
11
|
+
options: [
|
|
12
|
+
{
|
|
13
|
+
name: 'Create (Schedule Meeting)',
|
|
14
|
+
value: 'create',
|
|
15
|
+
description: 'Schedule a meeting by creating an event invitee (Scheduling API)',
|
|
16
|
+
action: 'Create an invitee (schedule a meeting)',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: 'Get',
|
|
20
|
+
value: 'get',
|
|
21
|
+
description: 'Get a single event invitee with full details',
|
|
22
|
+
action: 'Get an invitee',
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: 'Get Many',
|
|
26
|
+
value: 'getAll',
|
|
27
|
+
description: 'List all invitees for a scheduled event',
|
|
28
|
+
action: 'Get many invitees',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
name: 'Mark No Show',
|
|
32
|
+
value: 'markNoShow',
|
|
33
|
+
description: 'Mark an invitee as a no-show',
|
|
34
|
+
action: 'Mark invitee as no show',
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: 'Unmark No Show',
|
|
38
|
+
value: 'unmarkNoShow',
|
|
39
|
+
description: 'Remove a no-show mark from an invitee',
|
|
40
|
+
action: 'Unmark invitee no show',
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
default: 'getAll',
|
|
44
|
+
},
|
|
45
|
+
];
|
|
46
|
+
exports.inviteeFields = [
|
|
47
|
+
// ─── GET MANY ───────────────────────────────────────────────────────────────
|
|
48
|
+
{
|
|
49
|
+
displayName: 'Event UUID',
|
|
50
|
+
name: 'eventUuid',
|
|
51
|
+
type: 'string',
|
|
52
|
+
required: true,
|
|
53
|
+
displayOptions: { show: { resource: ['invitee'], operation: ['getAll', 'create'] } },
|
|
54
|
+
default: '',
|
|
55
|
+
description: 'The UUID of the scheduled event',
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
displayName: 'Return All',
|
|
59
|
+
name: 'returnAll',
|
|
60
|
+
type: 'boolean',
|
|
61
|
+
displayOptions: { show: { resource: ['invitee'], operation: ['getAll'] } },
|
|
62
|
+
default: false,
|
|
63
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
displayName: 'Limit',
|
|
67
|
+
name: 'limit',
|
|
68
|
+
type: 'number',
|
|
69
|
+
typeOptions: { minValue: 1, maxValue: 100 },
|
|
70
|
+
displayOptions: {
|
|
71
|
+
show: { resource: ['invitee'], operation: ['getAll'], returnAll: [false] },
|
|
72
|
+
},
|
|
73
|
+
default: 20,
|
|
74
|
+
description: 'Max number of results to return',
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
displayName: 'Filters',
|
|
78
|
+
name: 'filters',
|
|
79
|
+
type: 'collection',
|
|
80
|
+
placeholder: 'Add Filter',
|
|
81
|
+
default: {},
|
|
82
|
+
displayOptions: { show: { resource: ['invitee'], operation: ['getAll'] } },
|
|
83
|
+
options: [
|
|
84
|
+
{
|
|
85
|
+
displayName: 'Email',
|
|
86
|
+
name: 'email',
|
|
87
|
+
type: 'string',
|
|
88
|
+
default: '',
|
|
89
|
+
description: 'Filter invitees by email address',
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
displayName: 'Status',
|
|
93
|
+
name: 'status',
|
|
94
|
+
type: 'options',
|
|
95
|
+
options: [
|
|
96
|
+
{ name: 'Active', value: 'active' },
|
|
97
|
+
{ name: 'Canceled', value: 'canceled' },
|
|
98
|
+
],
|
|
99
|
+
default: 'active',
|
|
100
|
+
description: 'Filter invitees by status',
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
displayName: 'Sort',
|
|
104
|
+
name: 'sort',
|
|
105
|
+
type: 'options',
|
|
106
|
+
options: [
|
|
107
|
+
{ name: 'Created At Ascending', value: 'created_at:asc' },
|
|
108
|
+
{ name: 'Created At Descending', value: 'created_at:desc' },
|
|
109
|
+
],
|
|
110
|
+
default: 'created_at:asc',
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
},
|
|
114
|
+
// ─── GET ────────────────────────────────────────────────────────────────────
|
|
115
|
+
{
|
|
116
|
+
displayName: 'Event UUID',
|
|
117
|
+
name: 'eventUuid',
|
|
118
|
+
type: 'string',
|
|
119
|
+
required: true,
|
|
120
|
+
displayOptions: { show: { resource: ['invitee'], operation: ['get'] } },
|
|
121
|
+
default: '',
|
|
122
|
+
description: 'The UUID of the scheduled event',
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
displayName: 'Invitee UUID',
|
|
126
|
+
name: 'inviteeUuid',
|
|
127
|
+
type: 'string',
|
|
128
|
+
required: true,
|
|
129
|
+
displayOptions: { show: { resource: ['invitee'], operation: ['get'] } },
|
|
130
|
+
default: '',
|
|
131
|
+
description: 'The UUID of the invitee',
|
|
132
|
+
},
|
|
133
|
+
// ─── CREATE (SCHEDULE MEETING) ───────────────────────────────────────────────
|
|
134
|
+
{
|
|
135
|
+
displayName: 'Full Name',
|
|
136
|
+
name: 'full_name',
|
|
137
|
+
type: 'string',
|
|
138
|
+
required: true,
|
|
139
|
+
displayOptions: { show: { resource: ['invitee'], operation: ['create'] } },
|
|
140
|
+
default: '',
|
|
141
|
+
description: "The invitee's full name",
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
displayName: 'Email',
|
|
145
|
+
name: 'email',
|
|
146
|
+
type: 'string',
|
|
147
|
+
required: true,
|
|
148
|
+
displayOptions: { show: { resource: ['invitee'], operation: ['create'] } },
|
|
149
|
+
default: '',
|
|
150
|
+
placeholder: 'name@email.com',
|
|
151
|
+
description: "The invitee's email address",
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
displayName: 'Start Time',
|
|
155
|
+
name: 'start_time',
|
|
156
|
+
type: 'dateTime',
|
|
157
|
+
required: true,
|
|
158
|
+
displayOptions: { show: { resource: ['invitee'], operation: ['create'] } },
|
|
159
|
+
default: '',
|
|
160
|
+
description: 'The start time of the event slot to book (ISO-8601 UTC)',
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
displayName: 'Additional Fields',
|
|
164
|
+
name: 'additionalFields',
|
|
165
|
+
type: 'collection',
|
|
166
|
+
placeholder: 'Add Field',
|
|
167
|
+
default: {},
|
|
168
|
+
displayOptions: { show: { resource: ['invitee'], operation: ['create'] } },
|
|
169
|
+
options: [
|
|
170
|
+
{
|
|
171
|
+
displayName: 'Timezone',
|
|
172
|
+
name: 'timezone',
|
|
173
|
+
type: 'string',
|
|
174
|
+
default: '',
|
|
175
|
+
placeholder: 'America/New_York',
|
|
176
|
+
description: "The invitee's timezone (IANA format)",
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
displayName: 'SMS Reminder Number',
|
|
180
|
+
name: 'sms_reminder_number',
|
|
181
|
+
type: 'string',
|
|
182
|
+
default: '',
|
|
183
|
+
placeholder: '+15551234567',
|
|
184
|
+
description: 'Phone number for SMS reminders (E.164 format)',
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
displayName: 'Guests (JSON Array)',
|
|
188
|
+
name: 'guests',
|
|
189
|
+
type: 'string',
|
|
190
|
+
default: '[]',
|
|
191
|
+
description: 'Additional guests as a JSON array of objects with "email" field, e.g. [{"email":"guest@example.com"}]',
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
},
|
|
195
|
+
// ─── NO SHOW ─────────────────────────────────────────────────────────────────
|
|
196
|
+
{
|
|
197
|
+
displayName: 'Invitee URI',
|
|
198
|
+
name: 'inviteeUri',
|
|
199
|
+
type: 'string',
|
|
200
|
+
required: true,
|
|
201
|
+
displayOptions: { show: { resource: ['invitee'], operation: ['markNoShow'] } },
|
|
202
|
+
default: '',
|
|
203
|
+
placeholder: 'https://api.calendly.com/scheduled_events/.../invitees/...',
|
|
204
|
+
description: 'The full URI of the invitee to mark as no-show',
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
displayName: 'No Show UUID',
|
|
208
|
+
name: 'noShowUuid',
|
|
209
|
+
type: 'string',
|
|
210
|
+
required: true,
|
|
211
|
+
displayOptions: { show: { resource: ['invitee'], operation: ['unmarkNoShow'] } },
|
|
212
|
+
default: '',
|
|
213
|
+
description: 'The UUID of the no-show record to delete',
|
|
214
|
+
},
|
|
215
|
+
];
|
|
216
|
+
//# sourceMappingURL=InviteeDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InviteeDescription.js","sourceRoot":"","sources":["../../../../nodes/Calendly/descriptions/InviteeDescription.ts"],"names":[],"mappings":";;;AAEa,QAAA,iBAAiB,GAAsB;IACnD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE;QACnD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,2BAA2B;gBACjC,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,kEAAkE;gBAC/E,MAAM,EAAE,wCAAwC;aAChD;YACD;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,WAAW,EAAE,8CAA8C;gBAC3D,MAAM,EAAE,gBAAgB;aACxB;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,yCAAyC;gBACtD,MAAM,EAAE,mBAAmB;aAC3B;YACD;gBACC,IAAI,EAAE,cAAc;gBACpB,KAAK,EAAE,YAAY;gBACnB,WAAW,EAAE,8BAA8B;gBAC3C,MAAM,EAAE,yBAAyB;aACjC;YACD;gBACC,IAAI,EAAE,gBAAgB;gBACtB,KAAK,EAAE,cAAc;gBACrB,WAAW,EAAE,uCAAuC;gBACpD,MAAM,EAAE,wBAAwB;aAChC;SACD;QACD,OAAO,EAAE,QAAQ;KACjB;CACD,CAAC;AAEW,QAAA,aAAa,GAAsB;IAC/C,+EAA+E;IAC/E;QACC,W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ACX,WAAW,EAAE,kBAAkB;gBAC/B,WAAW,EAAE,sCAAsC;aACnD;YACD;gBACC,WAAW,EAAE,qBAAqB;gBAClC,IAAI,EAAE,qBAAqB;gBAC3B,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,cAAc;gBAC3B,WAAW,EAAE,+CAA+C;aAC5D;YACD;gBACC,WAAW,EAAE,qBAAqB;gBAClC,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,IAAI;gBACb,WAAW,EACV,uGAAuG;aACxG;SACD;KACD;IAED,gFAAgF;IAChF;QACC,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC,YAAY,CAAC,EAAE,EAAE;QAC9E,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,4DAA4D;QACzE,WAAW,EAAE,gDAAgD;KAC7D;IACD;QACC,WAAW,EAAE,cAAc;QAC3B,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC,cAAc,CAAC,EAAE,EAAE;QAChF,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,0CAA0C;KACvD;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrganizationDescription.d.ts","sourceRoot":"","sources":["../../../../nodes/Calendly/descriptions/OrganizationDescription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,eAAO,MAAM,sBAAsB,EAAE,eAAe,EAyCnD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,eAAe,EAqG/C,CAAC"}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.organizationFields = exports.organizationOperations = void 0;
|
|
4
|
+
exports.organizationOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Operation',
|
|
7
|
+
name: 'operation',
|
|
8
|
+
type: 'options',
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
displayOptions: { show: { resource: ['organization'] } },
|
|
11
|
+
options: [
|
|
12
|
+
{
|
|
13
|
+
name: 'Get',
|
|
14
|
+
value: 'get',
|
|
15
|
+
description: 'Get an organization by UUID',
|
|
16
|
+
action: 'Get an organization',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: 'Get Invitation',
|
|
20
|
+
value: 'getInvitation',
|
|
21
|
+
description: 'Get a specific organization invitation',
|
|
22
|
+
action: 'Get an organization invitation',
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: 'Invite User',
|
|
26
|
+
value: 'inviteUser',
|
|
27
|
+
description: 'Invite a user to join the organization',
|
|
28
|
+
action: 'Invite user to organization',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
name: 'List Invitations',
|
|
32
|
+
value: 'listInvitations',
|
|
33
|
+
description: 'List all pending invitations for an organization',
|
|
34
|
+
action: 'List organization invitations',
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: 'Revoke Invitation',
|
|
38
|
+
value: 'revokeInvitation',
|
|
39
|
+
description: 'Revoke a pending organization invitation',
|
|
40
|
+
action: 'Revoke organization invitation',
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
default: 'get',
|
|
44
|
+
},
|
|
45
|
+
];
|
|
46
|
+
exports.organizationFields = [
|
|
47
|
+
// ─── GET ────────────────────────────────────────────────────────────────────
|
|
48
|
+
{
|
|
49
|
+
displayName: 'Organization UUID',
|
|
50
|
+
name: 'orgUuid',
|
|
51
|
+
type: 'string',
|
|
52
|
+
required: true,
|
|
53
|
+
displayOptions: {
|
|
54
|
+
show: {
|
|
55
|
+
resource: ['organization'],
|
|
56
|
+
operation: ['get', 'listInvitations', 'inviteUser', 'getInvitation', 'revokeInvitation'],
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
default: '',
|
|
60
|
+
description: 'The UUID of the organization',
|
|
61
|
+
},
|
|
62
|
+
// ─── INVITE USER ─────────────────────────────────────────────────────────────
|
|
63
|
+
{
|
|
64
|
+
displayName: 'Email',
|
|
65
|
+
name: 'email',
|
|
66
|
+
type: 'string',
|
|
67
|
+
required: true,
|
|
68
|
+
displayOptions: { show: { resource: ['organization'], operation: ['inviteUser'] } },
|
|
69
|
+
default: '',
|
|
70
|
+
placeholder: 'name@email.com',
|
|
71
|
+
description: 'The email address of the user to invite',
|
|
72
|
+
},
|
|
73
|
+
// ─── LIST INVITATIONS ────────────────────────────────────────────────────────
|
|
74
|
+
{
|
|
75
|
+
displayName: 'Return All',
|
|
76
|
+
name: 'returnAll',
|
|
77
|
+
type: 'boolean',
|
|
78
|
+
displayOptions: { show: { resource: ['organization'], operation: ['listInvitations'] } },
|
|
79
|
+
default: false,
|
|
80
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
displayName: 'Limit',
|
|
84
|
+
name: 'limit',
|
|
85
|
+
type: 'number',
|
|
86
|
+
typeOptions: { minValue: 1, maxValue: 100 },
|
|
87
|
+
displayOptions: {
|
|
88
|
+
show: { resource: ['organization'], operation: ['listInvitations'], returnAll: [false] },
|
|
89
|
+
},
|
|
90
|
+
default: 20,
|
|
91
|
+
description: 'Max number of results to return',
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
displayName: 'Filters',
|
|
95
|
+
name: 'filters',
|
|
96
|
+
type: 'collection',
|
|
97
|
+
placeholder: 'Add Filter',
|
|
98
|
+
default: {},
|
|
99
|
+
displayOptions: { show: { resource: ['organization'], operation: ['listInvitations'] } },
|
|
100
|
+
options: [
|
|
101
|
+
{
|
|
102
|
+
displayName: 'Email',
|
|
103
|
+
name: 'email',
|
|
104
|
+
type: 'string',
|
|
105
|
+
default: '',
|
|
106
|
+
description: 'Filter invitations by email address',
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
displayName: 'Status',
|
|
110
|
+
name: 'status',
|
|
111
|
+
type: 'options',
|
|
112
|
+
options: [
|
|
113
|
+
{ name: 'Pending', value: 'pending' },
|
|
114
|
+
{ name: 'Accepted', value: 'accepted' },
|
|
115
|
+
{ name: 'Declined', value: 'declined' },
|
|
116
|
+
{ name: 'Revoked', value: 'revoked' },
|
|
117
|
+
],
|
|
118
|
+
default: 'pending',
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
displayName: 'Sort',
|
|
122
|
+
name: 'sort',
|
|
123
|
+
type: 'options',
|
|
124
|
+
options: [
|
|
125
|
+
{ name: 'Created At Ascending', value: 'created_at:asc' },
|
|
126
|
+
{ name: 'Created At Descending', value: 'created_at:desc' },
|
|
127
|
+
],
|
|
128
|
+
default: 'created_at:asc',
|
|
129
|
+
},
|
|
130
|
+
],
|
|
131
|
+
},
|
|
132
|
+
// ─── GET / REVOKE INVITATION ─────────────────────────────────────────────────
|
|
133
|
+
{
|
|
134
|
+
displayName: 'Invitation UUID',
|
|
135
|
+
name: 'invitationUuid',
|
|
136
|
+
type: 'string',
|
|
137
|
+
required: true,
|
|
138
|
+
displayOptions: {
|
|
139
|
+
show: { resource: ['organization'], operation: ['getInvitation', 'revokeInvitation'] },
|
|
140
|
+
},
|
|
141
|
+
default: '',
|
|
142
|
+
description: 'The UUID of the invitation',
|
|
143
|
+
},
|
|
144
|
+
];
|
|
145
|
+
//# sourceMappingURL=OrganizationDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrganizationDescription.js","sourceRoot":"","sources":["../../../../nodes/Calendly/descript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nodes/Calendly/descriptions/RoutingFormDescription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,eAAO,MAAM,qBAAqB,EAAE,eAAe,EAmClD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,eAAe,EAyF9C,CAAC"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.routingFormFields = exports.routingFormOperations = void 0;
|
|
4
|
+
exports.routingFormOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Operation',
|
|
7
|
+
name: 'operation',
|
|
8
|
+
type: 'options',
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
displayOptions: { show: { resource: ['routingForm'] } },
|
|
11
|
+
options: [
|
|
12
|
+
{
|
|
13
|
+
name: 'Get',
|
|
14
|
+
value: 'get',
|
|
15
|
+
description: 'Get a single routing form',
|
|
16
|
+
action: 'Get a routing form',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: 'Get Many',
|
|
20
|
+
value: 'getAll',
|
|
21
|
+
description: 'List routing forms for an organization',
|
|
22
|
+
action: 'Get many routing forms',
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: 'Get Submission',
|
|
26
|
+
value: 'getSubmission',
|
|
27
|
+
description: 'Get a single routing form submission',
|
|
28
|
+
action: 'Get a routing form submission',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
name: 'Get Many Submissions',
|
|
32
|
+
value: 'getAllSubmissions',
|
|
33
|
+
description: 'List routing form submissions',
|
|
34
|
+
action: 'Get many routing form submissions',
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
default: 'getAll',
|
|
38
|
+
},
|
|
39
|
+
];
|
|
40
|
+
exports.routingFormFields = [
|
|
41
|
+
// ─── GET MANY FORMS ──────────────────────────────────────────────────────────
|
|
42
|
+
{
|
|
43
|
+
displayName: 'Organization URI',
|
|
44
|
+
name: 'organizationUri',
|
|
45
|
+
type: 'string',
|
|
46
|
+
required: true,
|
|
47
|
+
displayOptions: { show: { resource: ['routingForm'], operation: ['getAll', 'getAllSubmissions'] } },
|
|
48
|
+
default: '',
|
|
49
|
+
placeholder: 'https://api.calendly.com/organizations/AAAAAAAAAAAAAAAA',
|
|
50
|
+
description: 'The URI of the organization',
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
displayName: 'Return All',
|
|
54
|
+
name: 'returnAll',
|
|
55
|
+
type: 'boolean',
|
|
56
|
+
displayOptions: {
|
|
57
|
+
show: { resource: ['routingForm'], operation: ['getAll', 'getAllSubmissions'] },
|
|
58
|
+
},
|
|
59
|
+
default: false,
|
|
60
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
displayName: 'Limit',
|
|
64
|
+
name: 'limit',
|
|
65
|
+
type: 'number',
|
|
66
|
+
typeOptions: { minValue: 1, maxValue: 100 },
|
|
67
|
+
displayOptions: {
|
|
68
|
+
show: {
|
|
69
|
+
resource: ['routingForm'],
|
|
70
|
+
operation: ['getAll', 'getAllSubmissions'],
|
|
71
|
+
returnAll: [false],
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
default: 20,
|
|
75
|
+
description: 'Max number of results to return',
|
|
76
|
+
},
|
|
77
|
+
// ─── GET FORM ────────────────────────────────────────────────────────────────
|
|
78
|
+
{
|
|
79
|
+
displayName: 'Routing Form UUID',
|
|
80
|
+
name: 'formUuid',
|
|
81
|
+
type: 'string',
|
|
82
|
+
required: true,
|
|
83
|
+
displayOptions: { show: { resource: ['routingForm'], operation: ['get'] } },
|
|
84
|
+
default: '',
|
|
85
|
+
description: 'The UUID of the routing form',
|
|
86
|
+
},
|
|
87
|
+
// ─── GET SUBMISSION ──────────────────────────────────────────────────────────
|
|
88
|
+
{
|
|
89
|
+
displayName: 'Submission UUID',
|
|
90
|
+
name: 'submissionUuid',
|
|
91
|
+
type: 'string',
|
|
92
|
+
required: true,
|
|
93
|
+
displayOptions: { show: { resource: ['routingForm'], operation: ['getSubmission'] } },
|
|
94
|
+
default: '',
|
|
95
|
+
description: 'The UUID of the routing form submission',
|
|
96
|
+
},
|
|
97
|
+
// ─── GET MANY SUBMISSIONS ────────────────────────────────────────────────────
|
|
98
|
+
{
|
|
99
|
+
displayName: 'Filters',
|
|
100
|
+
name: 'filters',
|
|
101
|
+
type: 'collection',
|
|
102
|
+
placeholder: 'Add Filter',
|
|
103
|
+
default: {},
|
|
104
|
+
displayOptions: { show: { resource: ['routingForm'], operation: ['getAllSubmissions'] } },
|
|
105
|
+
options: [
|
|
106
|
+
{
|
|
107
|
+
displayName: 'Routing Form URI',
|
|
108
|
+
name: 'form',
|
|
109
|
+
type: 'string',
|
|
110
|
+
default: '',
|
|
111
|
+
placeholder: 'https://api.calendly.com/routing_forms/AAAAAAAAAAAAAAAA',
|
|
112
|
+
description: 'Filter submissions by routing form URI',
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
displayName: 'Sort',
|
|
116
|
+
name: 'sort',
|
|
117
|
+
type: 'options',
|
|
118
|
+
options: [
|
|
119
|
+
{ name: 'Created At Ascending', value: 'created_at:asc' },
|
|
120
|
+
{ name: 'Created At Descending', value: 'created_at:desc' },
|
|
121
|
+
],
|
|
122
|
+
default: 'created_at:desc',
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
},
|
|
126
|
+
];
|
|
127
|
+
//# sourceMappingURL=RoutingFormDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RoutingFormDescription.js","sourceRoot":"","sources":["../../../../nodes/Calendly/descriptions/RoutingFormDescription.ts"],"names":[],"mappings":";;;AAEa,QAAA,qBAAqB,GAAsB;IACvD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,c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B,CAAC,EAAE,EAAE;QACzF,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,yDAAyD;gBACtE,WAAW,EAAE,wCAAwC;aACrD;YACD;gBACC,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE;oBACR,EAAE,IAAI,EAAE,sBAAsB,EAAE,KAAK,EAAE,gBAAgB,EAAE;oBACzD,EAAE,IAAI,EAAE,uBAAuB,EAAE,KAAK,EAAE,iBAAiB,EAAE;iBAC3D;gBACD,OAAO,EAAE,iBAAiB;aAC1B;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScheduledEventDescription.d.ts","sourceRoot":"","sources":["../../../../nodes/Calendly/descriptions/ScheduledEventDescription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,eAAO,MAAM,wBAAwB,EAAE,eAAe,EA6BrD,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,eAAe,EAqIjD,CAAC"}
|