n8n-nodes-base 1.63.0 → 1.64.0
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/dist/build.tsbuildinfo +1 -1
- package/dist/credentials/GongApi.credentials.d.ts +9 -0
- package/dist/credentials/GongApi.credentials.js +53 -0
- package/dist/credentials/GongApi.credentials.js.map +1 -0
- package/dist/credentials/GongOAuth2Api.credentials.d.ts +8 -0
- package/dist/credentials/GongOAuth2Api.credentials.js +59 -0
- package/dist/credentials/GongOAuth2Api.credentials.js.map +1 -0
- package/dist/known/credentials.json +18 -0
- package/dist/known/nodes.json +4 -0
- package/dist/methods/defined.json +1 -1
- package/dist/methods/referenced.json +1 -1
- package/dist/nodes/Code/JsTaskRunnerSandbox.d.ts +1 -1
- package/dist/nodes/Code/JsTaskRunnerSandbox.js +18 -31
- package/dist/nodes/Code/JsTaskRunnerSandbox.js.map +1 -1
- package/dist/nodes/Code/errors/WrappedExecutionError.d.ts +8 -0
- package/dist/nodes/Code/errors/WrappedExecutionError.js +27 -0
- package/dist/nodes/Code/errors/WrappedExecutionError.js.map +1 -0
- package/dist/nodes/Gong/GenericFunctions.d.ts +9 -0
- package/dist/nodes/Gong/GenericFunctions.js +175 -0
- package/dist/nodes/Gong/GenericFunctions.js.map +1 -0
- package/dist/nodes/Gong/Gong.node.d.ts +10 -0
- package/dist/nodes/Gong/Gong.node.js +139 -0
- package/dist/nodes/Gong/Gong.node.js.map +1 -0
- package/dist/nodes/Gong/Gong.node.json +18 -0
- package/dist/nodes/Gong/descriptions/CallDescription.d.ts +3 -0
- package/dist/nodes/Gong/descriptions/CallDescription.js +551 -0
- package/dist/nodes/Gong/descriptions/CallDescription.js.map +1 -0
- package/dist/nodes/Gong/descriptions/UserDescription.d.ts +3 -0
- package/dist/nodes/Gong/descriptions/UserDescription.js +265 -0
- package/dist/nodes/Gong/descriptions/UserDescription.js.map +1 -0
- package/dist/nodes/Gong/descriptions/index.d.ts +2 -0
- package/dist/nodes/Gong/descriptions/index.js +19 -0
- package/dist/nodes/Gong/descriptions/index.js.map +1 -0
- package/dist/nodes/Gong/gong.svg +4 -0
- package/dist/nodes/Gong/test/mocks.d.ts +540 -0
- package/dist/nodes/Gong/test/mocks.js +772 -0
- package/dist/nodes/Gong/test/mocks.js.map +1 -0
- package/dist/nodes/Google/Ads/CampaignDescription.js +2 -2
- package/dist/nodes/Google/Ads/GoogleAds.node.js +1 -1
- package/dist/nodes/Google/Calendar/EventDescription.js +58 -1
- package/dist/nodes/Google/Calendar/EventDescription.js.map +1 -1
- package/dist/nodes/Google/Calendar/GoogleCalendar.node.d.ts +1 -1
- package/dist/nodes/Google/Calendar/GoogleCalendar.node.js +21 -5
- package/dist/nodes/Google/Calendar/GoogleCalendar.node.js.map +1 -1
- package/dist/nodes/Google/Sheet/v2/actions/sheet/append.operation.js +3 -1
- package/dist/nodes/Google/Sheet/v2/actions/sheet/append.operation.js.map +1 -1
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js +3 -3
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js.map +1 -1
- package/dist/nodes/Line/Line.node.js +6 -0
- package/dist/nodes/Line/Line.node.js.map +1 -1
- package/dist/nodes/MySql/v2/helpers/utils.js +19 -19
- package/dist/nodes/MySql/v2/helpers/utils.js.map +1 -1
- package/dist/nodes/N8nTrigger/N8nTrigger.node.js +23 -2
- package/dist/nodes/N8nTrigger/N8nTrigger.node.js.map +1 -1
- package/dist/nodes/Set/v2/SetV2.node.js +38 -0
- package/dist/nodes/Set/v2/SetV2.node.js.map +1 -1
- package/dist/nodes/Strava/GenericFunctions.js +1 -1
- package/dist/nodes/Strava/GenericFunctions.js.map +1 -1
- package/dist/nodes/Strava/StravaTrigger.node.js +4 -5
- package/dist/nodes/Strava/StravaTrigger.node.js.map +1 -1
- package/dist/nodes/Transform/RemoveDuplicates/RemoveDuplicates.node.d.ts +3 -4
- package/dist/nodes/Transform/RemoveDuplicates/RemoveDuplicates.node.js +11 -183
- package/dist/nodes/Transform/RemoveDuplicates/RemoveDuplicates.node.js.map +1 -1
- package/dist/nodes/Transform/RemoveDuplicates/utils.d.ts +2 -1
- package/dist/nodes/Transform/RemoveDuplicates/utils.js +89 -0
- package/dist/nodes/Transform/RemoveDuplicates/utils.js.map +1 -1
- package/dist/nodes/Transform/RemoveDuplicates/v1/RemoveDuplicatesV1.node.d.ts +6 -0
- package/dist/nodes/Transform/RemoveDuplicates/v1/RemoveDuplicatesV1.node.js +111 -0
- package/dist/nodes/Transform/RemoveDuplicates/v1/RemoveDuplicatesV1.node.js.map +1 -0
- package/dist/nodes/Transform/RemoveDuplicates/v2/RemoveDuplicatesV2.description.d.ts +2 -0
- package/dist/nodes/Transform/RemoveDuplicates/v2/RemoveDuplicatesV2.description.js +271 -0
- package/dist/nodes/Transform/RemoveDuplicates/v2/RemoveDuplicatesV2.description.js.map +1 -0
- package/dist/nodes/Transform/RemoveDuplicates/v2/RemoveDuplicatesV2.node.d.ts +6 -0
- package/dist/nodes/Transform/RemoveDuplicates/v2/RemoveDuplicatesV2.node.js +206 -0
- package/dist/nodes/Transform/RemoveDuplicates/v2/RemoveDuplicatesV2.node.js.map +1 -0
- package/dist/nodes/WorkflowTrigger/WorkflowTrigger.node.js +7 -0
- package/dist/nodes/WorkflowTrigger/WorkflowTrigger.node.js.map +1 -1
- package/dist/types/credentials.json +2 -0
- package/dist/types/nodes.json +12 -10
- package/package.json +7 -4
|
@@ -0,0 +1,551 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.callFields = exports.callOperations = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const GenericFunctions_1 = require("../GenericFunctions");
|
|
6
|
+
exports.callOperations = [
|
|
7
|
+
{
|
|
8
|
+
displayName: 'Operation',
|
|
9
|
+
name: 'operation',
|
|
10
|
+
type: 'options',
|
|
11
|
+
noDataExpression: true,
|
|
12
|
+
displayOptions: {
|
|
13
|
+
show: {
|
|
14
|
+
resource: ['call'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
options: [
|
|
18
|
+
{
|
|
19
|
+
name: 'Get',
|
|
20
|
+
value: 'get',
|
|
21
|
+
description: 'Retrieve data for a specific call',
|
|
22
|
+
routing: {
|
|
23
|
+
request: {
|
|
24
|
+
method: 'POST',
|
|
25
|
+
url: '/v2/calls/extensive',
|
|
26
|
+
ignoreHttpStatusErrors: true,
|
|
27
|
+
},
|
|
28
|
+
output: {
|
|
29
|
+
postReceive: [GenericFunctions_1.handleErrorPostReceive],
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
action: 'Get call',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'Get Many',
|
|
36
|
+
value: 'getAll',
|
|
37
|
+
description: 'Retrieve a list of calls',
|
|
38
|
+
routing: {
|
|
39
|
+
request: {
|
|
40
|
+
method: 'POST',
|
|
41
|
+
url: '/v2/calls/extensive',
|
|
42
|
+
body: {
|
|
43
|
+
filter: {},
|
|
44
|
+
},
|
|
45
|
+
ignoreHttpStatusErrors: true,
|
|
46
|
+
},
|
|
47
|
+
output: {
|
|
48
|
+
postReceive: [GenericFunctions_1.handleErrorPostReceive],
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
action: 'Get many calls',
|
|
52
|
+
},
|
|
53
|
+
],
|
|
54
|
+
default: 'getAll',
|
|
55
|
+
},
|
|
56
|
+
];
|
|
57
|
+
const getFields = [
|
|
58
|
+
{
|
|
59
|
+
displayName: 'Call to Get',
|
|
60
|
+
name: 'call',
|
|
61
|
+
default: {
|
|
62
|
+
mode: 'list',
|
|
63
|
+
value: '',
|
|
64
|
+
},
|
|
65
|
+
displayOptions: {
|
|
66
|
+
show: {
|
|
67
|
+
resource: ['call'],
|
|
68
|
+
operation: ['get'],
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
modes: [
|
|
72
|
+
{
|
|
73
|
+
displayName: 'From List',
|
|
74
|
+
name: 'list',
|
|
75
|
+
type: 'list',
|
|
76
|
+
typeOptions: {
|
|
77
|
+
searchListMethod: 'getCalls',
|
|
78
|
+
searchable: true,
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
displayName: 'By ID',
|
|
83
|
+
name: 'id',
|
|
84
|
+
placeholder: 'e.g. 7782342274025937895',
|
|
85
|
+
type: 'string',
|
|
86
|
+
validation: [
|
|
87
|
+
{
|
|
88
|
+
type: 'regex',
|
|
89
|
+
properties: {
|
|
90
|
+
regex: '[0-9]{1,20}',
|
|
91
|
+
errorMessage: 'Not a valid Gong Call ID',
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
],
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
displayName: 'By URL',
|
|
98
|
+
name: 'url',
|
|
99
|
+
extractValue: {
|
|
100
|
+
type: 'regex',
|
|
101
|
+
regex: 'https:\\/\\/[a-zA-Z0-9-]+\\.app\\.gong\\.io\\/call\\?id=([0-9]{1,20})',
|
|
102
|
+
},
|
|
103
|
+
placeholder: 'e.g. https://subdomain.app.gong.io/call?id=7782342274025937895',
|
|
104
|
+
type: 'string',
|
|
105
|
+
validation: [
|
|
106
|
+
{
|
|
107
|
+
type: 'regex',
|
|
108
|
+
properties: {
|
|
109
|
+
regex: 'https:\\/\\/[a-zA-Z0-9-]+\\.app\\.gong\\.io\\/call\\?id=([0-9]{1,20})',
|
|
110
|
+
errorMessage: 'Not a valid Gong URL',
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
required: true,
|
|
117
|
+
routing: {
|
|
118
|
+
send: {
|
|
119
|
+
type: 'body',
|
|
120
|
+
property: 'filter.callIds',
|
|
121
|
+
propertyInDotNotation: true,
|
|
122
|
+
value: '={{ [$value] }}',
|
|
123
|
+
},
|
|
124
|
+
output: {
|
|
125
|
+
postReceive: [
|
|
126
|
+
{
|
|
127
|
+
type: 'rootProperty',
|
|
128
|
+
properties: {
|
|
129
|
+
property: 'calls',
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
],
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
type: 'resourceLocator',
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
displayName: 'Options',
|
|
139
|
+
name: 'options',
|
|
140
|
+
default: {},
|
|
141
|
+
displayOptions: {
|
|
142
|
+
show: {
|
|
143
|
+
resource: ['call'],
|
|
144
|
+
operation: ['get'],
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
options: [
|
|
148
|
+
{
|
|
149
|
+
displayName: 'Call Data to Include',
|
|
150
|
+
name: 'properties',
|
|
151
|
+
type: 'multiOptions',
|
|
152
|
+
default: [],
|
|
153
|
+
description: 'The Call properties to include in the returned results. Choose from a list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
|
154
|
+
options: [
|
|
155
|
+
{
|
|
156
|
+
name: 'Action Items',
|
|
157
|
+
value: 'pointsOfInterest',
|
|
158
|
+
description: 'Call points of interest',
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
name: 'Audio and Video URLs',
|
|
162
|
+
value: 'media',
|
|
163
|
+
description: 'Audio and video URL of the call. The URLs will be available for 8 hours.',
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
name: 'Brief',
|
|
167
|
+
value: 'brief',
|
|
168
|
+
description: 'Spotlight call brief',
|
|
169
|
+
routing: {
|
|
170
|
+
send: {
|
|
171
|
+
type: 'body',
|
|
172
|
+
property: 'contentSelector.exposedFields.content.brief',
|
|
173
|
+
propertyInDotNotation: true,
|
|
174
|
+
value: '={{ $value }}',
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
name: 'Comments',
|
|
180
|
+
value: 'publicComments',
|
|
181
|
+
description: 'Public comments made for this call',
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
name: 'Highlights',
|
|
185
|
+
value: 'highlights',
|
|
186
|
+
description: 'Call highlights',
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
name: 'Keypoints',
|
|
190
|
+
value: 'keyPoints',
|
|
191
|
+
description: 'Key points of the call',
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
name: 'Outcome',
|
|
195
|
+
value: 'callOutcome',
|
|
196
|
+
description: 'Outcome of the call',
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
name: 'Outline',
|
|
200
|
+
value: 'outline',
|
|
201
|
+
description: 'Call outline',
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
name: 'Participants',
|
|
205
|
+
value: 'parties',
|
|
206
|
+
description: 'Information about the participants of the call',
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
name: 'Structure',
|
|
210
|
+
value: 'structure',
|
|
211
|
+
description: 'Call agenda',
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
name: 'Topics',
|
|
215
|
+
value: 'topics',
|
|
216
|
+
description: 'Duration of call topics',
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
name: 'Trackers',
|
|
220
|
+
value: 'trackers',
|
|
221
|
+
description: 'Smart tracker and keyword tracker information for the call',
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
name: 'Transcript',
|
|
225
|
+
value: 'transcript',
|
|
226
|
+
description: 'Information about the participants',
|
|
227
|
+
},
|
|
228
|
+
],
|
|
229
|
+
routing: {
|
|
230
|
+
send: {
|
|
231
|
+
preSend: [
|
|
232
|
+
async function (requestOptions) {
|
|
233
|
+
const contentProperties = [
|
|
234
|
+
'pointsOfInterest',
|
|
235
|
+
'brief',
|
|
236
|
+
'highlights',
|
|
237
|
+
'keyPoints',
|
|
238
|
+
'outline',
|
|
239
|
+
'callOutcome',
|
|
240
|
+
'structure',
|
|
241
|
+
'trackers',
|
|
242
|
+
'topics',
|
|
243
|
+
];
|
|
244
|
+
const exposedFieldsProperties = ['media', 'parties'];
|
|
245
|
+
const collaborationProperties = ['publicComments'];
|
|
246
|
+
const properties = this.getNodeParameter('options.properties');
|
|
247
|
+
const contentSelector = { exposedFields: {} };
|
|
248
|
+
for (const property of properties) {
|
|
249
|
+
if (exposedFieldsProperties.includes(property)) {
|
|
250
|
+
contentSelector.exposedFields[property] = true;
|
|
251
|
+
}
|
|
252
|
+
else if (contentProperties.includes(property)) {
|
|
253
|
+
contentSelector.exposedFields.content ??= {};
|
|
254
|
+
contentSelector.exposedFields.content[property] = true;
|
|
255
|
+
}
|
|
256
|
+
else if (collaborationProperties.includes(property)) {
|
|
257
|
+
contentSelector.exposedFields.collaboration ??= {};
|
|
258
|
+
contentSelector.exposedFields.collaboration[property] = true;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
requestOptions.body ||= {};
|
|
262
|
+
Object.assign(requestOptions.body, { contentSelector });
|
|
263
|
+
return requestOptions;
|
|
264
|
+
},
|
|
265
|
+
],
|
|
266
|
+
},
|
|
267
|
+
output: {
|
|
268
|
+
postReceive: [
|
|
269
|
+
async function (items, _responseData) {
|
|
270
|
+
const properties = this.getNodeParameter('options.properties');
|
|
271
|
+
if (properties.includes('transcript')) {
|
|
272
|
+
for (const item of items) {
|
|
273
|
+
const callTranscripts = await GenericFunctions_1.gongApiPaginateRequest.call(this, 'POST', '/v2/calls/transcript', { filter: { callIds: [item.json.metaData.id] } }, {}, item.index ?? 0, 'callTranscripts');
|
|
274
|
+
item.json.transcript = callTranscripts?.length
|
|
275
|
+
? callTranscripts[0].transcript
|
|
276
|
+
: [];
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
return items;
|
|
280
|
+
},
|
|
281
|
+
],
|
|
282
|
+
},
|
|
283
|
+
},
|
|
284
|
+
},
|
|
285
|
+
],
|
|
286
|
+
placeholder: 'Add Option',
|
|
287
|
+
type: 'collection',
|
|
288
|
+
},
|
|
289
|
+
];
|
|
290
|
+
const getAllFields = [
|
|
291
|
+
{
|
|
292
|
+
displayName: 'Return All',
|
|
293
|
+
name: 'returnAll',
|
|
294
|
+
default: false,
|
|
295
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
296
|
+
displayOptions: {
|
|
297
|
+
show: {
|
|
298
|
+
resource: ['call'],
|
|
299
|
+
operation: ['getAll'],
|
|
300
|
+
},
|
|
301
|
+
},
|
|
302
|
+
routing: {
|
|
303
|
+
send: {
|
|
304
|
+
paginate: '={{ $value }}',
|
|
305
|
+
},
|
|
306
|
+
operations: {
|
|
307
|
+
pagination: (0, GenericFunctions_1.getCursorPaginatorCalls)(),
|
|
308
|
+
},
|
|
309
|
+
},
|
|
310
|
+
type: 'boolean',
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
displayName: 'Limit',
|
|
314
|
+
name: 'limit',
|
|
315
|
+
default: 50,
|
|
316
|
+
description: 'Max number of results to return',
|
|
317
|
+
displayOptions: {
|
|
318
|
+
show: {
|
|
319
|
+
resource: ['call'],
|
|
320
|
+
operation: ['getAll'],
|
|
321
|
+
returnAll: [false],
|
|
322
|
+
},
|
|
323
|
+
},
|
|
324
|
+
routing: {
|
|
325
|
+
output: {
|
|
326
|
+
postReceive: [
|
|
327
|
+
async function (items, _response) {
|
|
328
|
+
return (0, GenericFunctions_1.extractCalls)(items);
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
type: 'limit',
|
|
332
|
+
properties: {
|
|
333
|
+
maxResults: '={{ $value }}',
|
|
334
|
+
},
|
|
335
|
+
},
|
|
336
|
+
],
|
|
337
|
+
},
|
|
338
|
+
},
|
|
339
|
+
type: 'number',
|
|
340
|
+
typeOptions: {
|
|
341
|
+
minValue: 1,
|
|
342
|
+
},
|
|
343
|
+
validateType: 'number',
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
displayName: 'Filters',
|
|
347
|
+
name: 'filters',
|
|
348
|
+
default: {},
|
|
349
|
+
displayOptions: {
|
|
350
|
+
show: {
|
|
351
|
+
resource: ['call'],
|
|
352
|
+
operation: ['getAll'],
|
|
353
|
+
},
|
|
354
|
+
},
|
|
355
|
+
options: [
|
|
356
|
+
{
|
|
357
|
+
displayName: 'After',
|
|
358
|
+
name: 'fromDateTime',
|
|
359
|
+
default: '',
|
|
360
|
+
description: 'Returns calls that started on or after the specified date and time. If not provided, list starts with earliest call. For web-conference calls recorded by Gong, the date denotes its scheduled time, otherwise, it denotes its actual start time.',
|
|
361
|
+
placeholder: 'e.g. 2018-02-18T02:30:00-07:00 or 2018-02-18T08:00:00Z',
|
|
362
|
+
routing: {
|
|
363
|
+
send: {
|
|
364
|
+
type: 'body',
|
|
365
|
+
property: 'filter.fromDateTime',
|
|
366
|
+
propertyInDotNotation: true,
|
|
367
|
+
value: '={{ new Date($value).toISOString() }}',
|
|
368
|
+
},
|
|
369
|
+
},
|
|
370
|
+
type: 'dateTime',
|
|
371
|
+
validateType: 'dateTime',
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
displayName: 'Before',
|
|
375
|
+
name: 'toDateTime',
|
|
376
|
+
default: '',
|
|
377
|
+
description: 'Returns calls that started up to but excluding specified date and time. If not provided, list ends with most recent call. For web-conference calls recorded by Gong, the date denotes its scheduled time, otherwise, it denotes its actual start time.',
|
|
378
|
+
placeholder: 'e.g. 2018-02-18T02:30:00-07:00 or 2018-02-18T08:00:00Z',
|
|
379
|
+
routing: {
|
|
380
|
+
send: {
|
|
381
|
+
type: 'body',
|
|
382
|
+
property: 'filter.toDateTime',
|
|
383
|
+
propertyInDotNotation: true,
|
|
384
|
+
value: '={{ new Date($value).toISOString() }}',
|
|
385
|
+
},
|
|
386
|
+
},
|
|
387
|
+
type: 'dateTime',
|
|
388
|
+
validateType: 'dateTime',
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
displayName: 'Workspace ID',
|
|
392
|
+
name: 'workspaceId',
|
|
393
|
+
default: '',
|
|
394
|
+
description: 'Return only the calls belonging to this workspace',
|
|
395
|
+
placeholder: 'e.g. 623457276584334',
|
|
396
|
+
routing: {
|
|
397
|
+
send: {
|
|
398
|
+
type: 'body',
|
|
399
|
+
property: 'filter.workspaceId',
|
|
400
|
+
propertyInDotNotation: true,
|
|
401
|
+
value: '={{ $value }}',
|
|
402
|
+
},
|
|
403
|
+
},
|
|
404
|
+
type: 'string',
|
|
405
|
+
validateType: 'number',
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
displayName: 'Call IDs',
|
|
409
|
+
name: 'callIds',
|
|
410
|
+
default: '',
|
|
411
|
+
description: 'List of calls IDs to be filtered',
|
|
412
|
+
hint: 'Comma separated list of IDs, array of strings can be set in expression',
|
|
413
|
+
routing: {
|
|
414
|
+
send: {
|
|
415
|
+
preSend: [
|
|
416
|
+
async function (requestOptions) {
|
|
417
|
+
const callIdsParam = this.getNodeParameter('filters.callIds');
|
|
418
|
+
if (callIdsParam && !(0, GenericFunctions_1.isValidNumberIds)(callIdsParam)) {
|
|
419
|
+
throw new n8n_workflow_1.NodeApiError(this.getNode(), {
|
|
420
|
+
message: 'Call IDs must be numeric',
|
|
421
|
+
description: "Double-check the value in the parameter 'Call IDs' and try again",
|
|
422
|
+
});
|
|
423
|
+
}
|
|
424
|
+
const callIds = Array.isArray(callIdsParam)
|
|
425
|
+
? callIdsParam.map((x) => x.toString())
|
|
426
|
+
: callIdsParam
|
|
427
|
+
.toString()
|
|
428
|
+
.split(',')
|
|
429
|
+
.map((x) => x.trim());
|
|
430
|
+
requestOptions.body ||= {};
|
|
431
|
+
requestOptions.body.filter ||= {};
|
|
432
|
+
Object.assign(requestOptions.body.filter, {
|
|
433
|
+
callIds,
|
|
434
|
+
});
|
|
435
|
+
return requestOptions;
|
|
436
|
+
},
|
|
437
|
+
],
|
|
438
|
+
},
|
|
439
|
+
},
|
|
440
|
+
placeholder: 'e.g. 7782342274025937895',
|
|
441
|
+
type: 'string',
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
displayName: 'Organizer',
|
|
445
|
+
name: 'primaryUserIds',
|
|
446
|
+
default: {
|
|
447
|
+
mode: 'list',
|
|
448
|
+
value: '',
|
|
449
|
+
},
|
|
450
|
+
description: 'Return only the calls hosted by the specified user',
|
|
451
|
+
modes: [
|
|
452
|
+
{
|
|
453
|
+
displayName: 'From List',
|
|
454
|
+
name: 'list',
|
|
455
|
+
type: 'list',
|
|
456
|
+
typeOptions: {
|
|
457
|
+
searchListMethod: 'getUsers',
|
|
458
|
+
searchable: true,
|
|
459
|
+
},
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
displayName: 'By ID',
|
|
463
|
+
name: 'id',
|
|
464
|
+
placeholder: 'e.g. 7782342274025937895',
|
|
465
|
+
type: 'string',
|
|
466
|
+
validation: [
|
|
467
|
+
{
|
|
468
|
+
type: 'regex',
|
|
469
|
+
properties: {
|
|
470
|
+
regex: '[0-9]{1,20}',
|
|
471
|
+
errorMessage: 'Not a valid Gong User ID',
|
|
472
|
+
},
|
|
473
|
+
},
|
|
474
|
+
],
|
|
475
|
+
},
|
|
476
|
+
],
|
|
477
|
+
routing: {
|
|
478
|
+
send: {
|
|
479
|
+
type: 'body',
|
|
480
|
+
property: 'filter.primaryUserIds',
|
|
481
|
+
propertyInDotNotation: true,
|
|
482
|
+
value: '={{ [$value] }}',
|
|
483
|
+
},
|
|
484
|
+
},
|
|
485
|
+
type: 'resourceLocator',
|
|
486
|
+
},
|
|
487
|
+
],
|
|
488
|
+
placeholder: 'Add Filter',
|
|
489
|
+
type: 'collection',
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
displayName: 'Options',
|
|
493
|
+
name: 'options',
|
|
494
|
+
default: {},
|
|
495
|
+
displayOptions: {
|
|
496
|
+
show: {
|
|
497
|
+
resource: ['call'],
|
|
498
|
+
operation: ['getAll'],
|
|
499
|
+
},
|
|
500
|
+
},
|
|
501
|
+
options: [
|
|
502
|
+
{
|
|
503
|
+
displayName: 'Call Data to Include',
|
|
504
|
+
name: 'properties',
|
|
505
|
+
type: 'multiOptions',
|
|
506
|
+
default: [],
|
|
507
|
+
description: 'The Call properties to include in the returned results. Choose from a list, or specify IDs using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
|
508
|
+
options: [
|
|
509
|
+
{
|
|
510
|
+
name: 'Participants',
|
|
511
|
+
value: 'parties',
|
|
512
|
+
description: 'Information about the participants of the call',
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
name: 'Topics',
|
|
516
|
+
value: 'topics',
|
|
517
|
+
description: 'Information about the topics of the call',
|
|
518
|
+
},
|
|
519
|
+
],
|
|
520
|
+
routing: {
|
|
521
|
+
send: {
|
|
522
|
+
preSend: [
|
|
523
|
+
async function (requestOptions) {
|
|
524
|
+
const contentProperties = ['topics'];
|
|
525
|
+
const exposedFieldsProperties = ['parties'];
|
|
526
|
+
const properties = this.getNodeParameter('options.properties');
|
|
527
|
+
const contentSelector = { exposedFields: {} };
|
|
528
|
+
for (const property of properties) {
|
|
529
|
+
if (exposedFieldsProperties.includes(property)) {
|
|
530
|
+
contentSelector.exposedFields[property] = true;
|
|
531
|
+
}
|
|
532
|
+
else if (contentProperties.includes(property)) {
|
|
533
|
+
contentSelector.exposedFields.content ??= {};
|
|
534
|
+
contentSelector.exposedFields.content[property] = true;
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
requestOptions.body ||= {};
|
|
538
|
+
Object.assign(requestOptions.body, { contentSelector });
|
|
539
|
+
return requestOptions;
|
|
540
|
+
},
|
|
541
|
+
],
|
|
542
|
+
},
|
|
543
|
+
},
|
|
544
|
+
},
|
|
545
|
+
],
|
|
546
|
+
placeholder: 'Add Option',
|
|
547
|
+
type: 'collection',
|
|
548
|
+
},
|
|
549
|
+
];
|
|
550
|
+
exports.callFields = [...getFields, ...getAllFields];
|
|
551
|
+
//# sourceMappingURL=CallDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CallDescription.js","sourceRoot":"","sources":["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