n8n-nodes-revox 1.0.0 → 1.1.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/LICENSE +21 -0
- package/README.md +108 -46
- package/dist/credentials/RevoxApi.credentials.d.ts +2 -2
- package/dist/credentials/RevoxApi.credentials.js +2 -2
- package/dist/credentials/RevoxApi.credentials.js.map +1 -1
- package/dist/node_modules/@n8n/node-cli/dist/template/templates/declarative/custom/template/nodes/Example/example.dark.svg +13 -0
- package/dist/node_modules/@n8n/node-cli/dist/template/templates/declarative/custom/template/nodes/Example/example.svg +13 -0
- package/dist/node_modules/@n8n/node-cli/dist/template/templates/declarative/github-issues/template/icons/github.dark.svg +3 -0
- package/dist/node_modules/@n8n/node-cli/dist/template/templates/declarative/github-issues/template/icons/github.svg +3 -0
- package/dist/node_modules/@n8n/node-cli/dist/template/templates/programmatic/example/template/nodes/Example/example.dark.svg +13 -0
- package/dist/node_modules/@n8n/node-cli/dist/template/templates/programmatic/example/template/nodes/Example/example.svg +13 -0
- package/dist/nodes/Revox/Revox.node.d.ts +9 -1
- package/dist/nodes/Revox/Revox.node.js +356 -46
- package/dist/nodes/Revox/Revox.node.js.map +1 -1
- package/dist/nodes/Revox/Revox.node.json +2 -2
- package/dist/nodes/Revox/RevoxTrigger.node.js.map +1 -1
- package/dist/nodes/Revox/RevoxTrigger.node.json +2 -2
- package/dist/package.json +19 -13
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +19 -13
|
@@ -4,6 +4,38 @@ exports.Revox = void 0;
|
|
|
4
4
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
5
|
class Revox {
|
|
6
6
|
constructor() {
|
|
7
|
+
this.methods = {
|
|
8
|
+
loadOptions: {
|
|
9
|
+
async getVoices() {
|
|
10
|
+
var _a;
|
|
11
|
+
const credentials = await this.getCredentials('revoxApi');
|
|
12
|
+
const baseUrl = ((_a = credentials.baseUrl) === null || _a === void 0 ? void 0 : _a.replace(/\/$/, '')) || 'https://www.getrevox.com';
|
|
13
|
+
let response;
|
|
14
|
+
try {
|
|
15
|
+
response = await this.helpers.httpRequestWithAuthentication.call(this, 'revoxApi', {
|
|
16
|
+
method: 'GET',
|
|
17
|
+
baseURL: baseUrl,
|
|
18
|
+
url: '/api/voices',
|
|
19
|
+
json: true,
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
catch (error) {
|
|
23
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), error, {
|
|
24
|
+
message: 'Failed to load voices from Revox API',
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
const voices = Array.isArray(response === null || response === void 0 ? void 0 : response.voices) ? response.voices : [];
|
|
28
|
+
return voices.map((voice) => {
|
|
29
|
+
const label = voice.name;
|
|
30
|
+
const suffix = voice.language ? ` (${voice.language})` : '';
|
|
31
|
+
return {
|
|
32
|
+
name: `${label}${suffix}`,
|
|
33
|
+
value: `${voice.provider}:${voice.id}`,
|
|
34
|
+
};
|
|
35
|
+
});
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
};
|
|
7
39
|
this.description = {
|
|
8
40
|
displayName: 'Revox',
|
|
9
41
|
name: 'revox',
|
|
@@ -11,7 +43,7 @@ class Revox {
|
|
|
11
43
|
usableAsTool: true,
|
|
12
44
|
group: ['transform'],
|
|
13
45
|
version: 1,
|
|
14
|
-
subtitle: '={{$parameter["operation"]}}',
|
|
46
|
+
subtitle: '={{$parameter["resource"]}} - {{$parameter["operation"]}}',
|
|
15
47
|
description: 'Interact with Revox AI calling API',
|
|
16
48
|
defaults: {
|
|
17
49
|
name: 'Revox',
|
|
@@ -25,39 +57,56 @@ class Revox {
|
|
|
25
57
|
},
|
|
26
58
|
],
|
|
27
59
|
properties: [
|
|
60
|
+
{
|
|
61
|
+
displayName: 'Resource',
|
|
62
|
+
name: 'resource',
|
|
63
|
+
type: 'options',
|
|
64
|
+
noDataExpression: true,
|
|
65
|
+
options: [
|
|
66
|
+
{ name: 'Call', value: 'call' },
|
|
67
|
+
{ name: 'Assistant', value: 'assistant' },
|
|
68
|
+
],
|
|
69
|
+
default: 'call',
|
|
70
|
+
},
|
|
28
71
|
{
|
|
29
72
|
displayName: 'Operation',
|
|
30
73
|
name: 'operation',
|
|
31
74
|
type: 'options',
|
|
32
75
|
noDataExpression: true,
|
|
76
|
+
displayOptions: {
|
|
77
|
+
show: { resource: ['call'] },
|
|
78
|
+
},
|
|
33
79
|
options: [
|
|
34
|
-
{
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
description: 'Place a new AI call',
|
|
38
|
-
action: 'Place a call',
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
name: 'Get Call',
|
|
42
|
-
value: 'getCall',
|
|
43
|
-
description: 'Get details of a specific call',
|
|
44
|
-
action: 'Get a call',
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
name: 'Get Call History',
|
|
48
|
-
value: 'getCallHistory',
|
|
49
|
-
description: 'Get list of calls',
|
|
50
|
-
action: 'Get call history',
|
|
51
|
-
},
|
|
80
|
+
{ name: 'Get Call', value: 'getCall', description: 'Get details of a specific call', action: 'Get a call' },
|
|
81
|
+
{ name: 'Get Call History', value: 'getCallHistory', description: 'Get list of calls', action: 'Get call history' },
|
|
82
|
+
{ name: 'Place Call', value: 'placeCall', description: 'Place a new AI call', action: 'Place a call' },
|
|
52
83
|
],
|
|
53
84
|
default: 'placeCall',
|
|
54
85
|
},
|
|
86
|
+
{
|
|
87
|
+
displayName: 'Operation',
|
|
88
|
+
name: 'operation',
|
|
89
|
+
type: 'options',
|
|
90
|
+
noDataExpression: true,
|
|
91
|
+
displayOptions: {
|
|
92
|
+
show: { resource: ['assistant'] },
|
|
93
|
+
},
|
|
94
|
+
options: [
|
|
95
|
+
{ name: 'Create', value: 'createAssistant', description: 'Create an assistant', action: 'Create an assistant' },
|
|
96
|
+
{ name: 'Delete', value: 'deleteAssistant', description: 'Delete an assistant', action: 'Delete an assistant' },
|
|
97
|
+
{ name: 'Get', value: 'getAssistant', description: 'Get an assistant by ID', action: 'Get an assistant' },
|
|
98
|
+
{ name: 'List', value: 'listAssistants', description: 'List all assistants', action: 'List assistants' },
|
|
99
|
+
{ name: 'Update', value: 'updateAssistant', description: 'Update an assistant', action: 'Update an assistant' },
|
|
100
|
+
],
|
|
101
|
+
default: 'listAssistants',
|
|
102
|
+
},
|
|
55
103
|
{
|
|
56
104
|
displayName: 'Phone Number',
|
|
57
105
|
name: 'phoneNumber',
|
|
58
106
|
type: 'string',
|
|
59
107
|
displayOptions: {
|
|
60
108
|
show: {
|
|
109
|
+
resource: ['call'],
|
|
61
110
|
operation: ['placeCall'],
|
|
62
111
|
},
|
|
63
112
|
},
|
|
@@ -75,6 +124,7 @@ class Revox {
|
|
|
75
124
|
},
|
|
76
125
|
displayOptions: {
|
|
77
126
|
show: {
|
|
127
|
+
resource: ['call'],
|
|
78
128
|
operation: ['placeCall'],
|
|
79
129
|
},
|
|
80
130
|
},
|
|
@@ -88,6 +138,7 @@ class Revox {
|
|
|
88
138
|
type: 'boolean',
|
|
89
139
|
displayOptions: {
|
|
90
140
|
show: {
|
|
141
|
+
resource: ['call'],
|
|
91
142
|
operation: ['placeCall'],
|
|
92
143
|
},
|
|
93
144
|
},
|
|
@@ -100,20 +151,38 @@ class Revox {
|
|
|
100
151
|
type: 'string',
|
|
101
152
|
displayOptions: {
|
|
102
153
|
show: {
|
|
154
|
+
resource: ['call'],
|
|
103
155
|
operation: ['placeCall'],
|
|
104
156
|
},
|
|
105
157
|
},
|
|
106
158
|
default: '',
|
|
107
|
-
placeholder: "={{ $
|
|
159
|
+
placeholder: "={{ $node[\"Revox Trigger\"].webhookUrl }}",
|
|
108
160
|
hint: 'Use an expression to reference a Revox Trigger node, or enter a custom webhook URL',
|
|
109
161
|
description: 'Optional webhook URL to receive call completion notifications. Typically referenced from a Revox Trigger node in this workflow.',
|
|
110
162
|
},
|
|
163
|
+
{
|
|
164
|
+
displayName: 'Voice Name or ID',
|
|
165
|
+
name: 'voice',
|
|
166
|
+
type: 'options',
|
|
167
|
+
default: '',
|
|
168
|
+
typeOptions: {
|
|
169
|
+
loadOptionsMethod: 'getVoices',
|
|
170
|
+
},
|
|
171
|
+
displayOptions: {
|
|
172
|
+
show: {
|
|
173
|
+
resource: ['call'],
|
|
174
|
+
operation: ['placeCall'],
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>',
|
|
178
|
+
},
|
|
111
179
|
{
|
|
112
180
|
displayName: 'Call ID',
|
|
113
181
|
name: 'callId',
|
|
114
182
|
type: 'string',
|
|
115
183
|
displayOptions: {
|
|
116
184
|
show: {
|
|
185
|
+
resource: ['call'],
|
|
117
186
|
operation: ['getCall'],
|
|
118
187
|
},
|
|
119
188
|
},
|
|
@@ -127,11 +196,12 @@ class Revox {
|
|
|
127
196
|
type: 'number',
|
|
128
197
|
displayOptions: {
|
|
129
198
|
show: {
|
|
199
|
+
resource: ['call'],
|
|
130
200
|
operation: ['getCallHistory'],
|
|
131
201
|
},
|
|
132
202
|
},
|
|
133
|
-
default:
|
|
134
|
-
description: 'Page number for pagination',
|
|
203
|
+
default: 0,
|
|
204
|
+
description: 'Page number for pagination (0-based, per API)',
|
|
135
205
|
},
|
|
136
206
|
{
|
|
137
207
|
displayName: 'Page Size',
|
|
@@ -139,43 +209,185 @@ class Revox {
|
|
|
139
209
|
type: 'number',
|
|
140
210
|
displayOptions: {
|
|
141
211
|
show: {
|
|
212
|
+
resource: ['call'],
|
|
142
213
|
operation: ['getCallHistory'],
|
|
143
214
|
},
|
|
144
215
|
},
|
|
145
216
|
default: 10,
|
|
146
|
-
description: 'Number of calls per page',
|
|
217
|
+
description: 'Number of calls per page (sent as page_size to API)',
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
displayName: 'Assistant ID',
|
|
221
|
+
name: 'assistantId',
|
|
222
|
+
type: 'string',
|
|
223
|
+
displayOptions: {
|
|
224
|
+
show: {
|
|
225
|
+
resource: ['call'],
|
|
226
|
+
operation: ['placeCall'],
|
|
227
|
+
},
|
|
228
|
+
},
|
|
229
|
+
default: '',
|
|
230
|
+
description: 'Use a pre-created assistant by ID. If set, prompt/voice/webhook from this form are ignored.',
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
displayName: 'Name',
|
|
234
|
+
name: 'assistantName',
|
|
235
|
+
type: 'string',
|
|
236
|
+
displayOptions: {
|
|
237
|
+
show: {
|
|
238
|
+
resource: ['assistant'],
|
|
239
|
+
operation: ['createAssistant'],
|
|
240
|
+
},
|
|
241
|
+
},
|
|
242
|
+
default: '',
|
|
243
|
+
required: true,
|
|
244
|
+
description: 'Name of the assistant',
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
displayName: 'Prompt',
|
|
248
|
+
name: 'assistantPrompt',
|
|
249
|
+
type: 'string',
|
|
250
|
+
typeOptions: { rows: 4 },
|
|
251
|
+
displayOptions: {
|
|
252
|
+
show: {
|
|
253
|
+
resource: ['assistant'],
|
|
254
|
+
operation: ['createAssistant'],
|
|
255
|
+
},
|
|
256
|
+
},
|
|
257
|
+
default: '',
|
|
258
|
+
required: true,
|
|
259
|
+
description: 'System prompt for the LLM (gpt-4.1)',
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
displayName: 'First Sentence',
|
|
263
|
+
name: 'firstSentence',
|
|
264
|
+
type: 'string',
|
|
265
|
+
displayOptions: {
|
|
266
|
+
show: {
|
|
267
|
+
resource: ['assistant'],
|
|
268
|
+
operation: ['createAssistant'],
|
|
269
|
+
},
|
|
270
|
+
},
|
|
271
|
+
default: '',
|
|
272
|
+
description: 'First sentence to use for the call',
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
displayName: 'Webhook URL',
|
|
276
|
+
name: 'assistantWebhookUrl',
|
|
277
|
+
type: 'string',
|
|
278
|
+
displayOptions: {
|
|
279
|
+
show: {
|
|
280
|
+
resource: ['assistant'],
|
|
281
|
+
operation: ['createAssistant'],
|
|
282
|
+
},
|
|
283
|
+
},
|
|
284
|
+
default: '',
|
|
285
|
+
description: 'Webhook URL to call when the call is completed',
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
displayName: 'Voice Name or ID',
|
|
289
|
+
name: 'assistantVoice',
|
|
290
|
+
type: 'options',
|
|
291
|
+
default: '',
|
|
292
|
+
typeOptions: {
|
|
293
|
+
loadOptionsMethod: 'getVoices',
|
|
294
|
+
},
|
|
295
|
+
displayOptions: {
|
|
296
|
+
show: {
|
|
297
|
+
resource: ['assistant'],
|
|
298
|
+
operation: ['createAssistant'],
|
|
299
|
+
},
|
|
300
|
+
},
|
|
301
|
+
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>',
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
displayName: 'Assistant ID',
|
|
305
|
+
name: 'assistantIdForOp',
|
|
306
|
+
type: 'string',
|
|
307
|
+
displayOptions: {
|
|
308
|
+
show: {
|
|
309
|
+
resource: ['assistant'],
|
|
310
|
+
operation: ['getAssistant', 'updateAssistant', 'deleteAssistant'],
|
|
311
|
+
},
|
|
312
|
+
},
|
|
313
|
+
default: '',
|
|
314
|
+
required: true,
|
|
315
|
+
description: 'The ID of the assistant',
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
displayName: 'Name',
|
|
319
|
+
name: 'updateAssistantName',
|
|
320
|
+
type: 'string',
|
|
321
|
+
displayOptions: {
|
|
322
|
+
show: {
|
|
323
|
+
resource: ['assistant'],
|
|
324
|
+
operation: ['updateAssistant'],
|
|
325
|
+
},
|
|
326
|
+
},
|
|
327
|
+
default: '',
|
|
328
|
+
description: 'Updated name',
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
displayName: 'Prompt',
|
|
332
|
+
name: 'updateAssistantPrompt',
|
|
333
|
+
type: 'string',
|
|
334
|
+
typeOptions: { rows: 4 },
|
|
335
|
+
displayOptions: {
|
|
336
|
+
show: {
|
|
337
|
+
resource: ['assistant'],
|
|
338
|
+
operation: ['updateAssistant'],
|
|
339
|
+
},
|
|
340
|
+
},
|
|
341
|
+
default: '',
|
|
342
|
+
description: 'Updated system prompt',
|
|
147
343
|
},
|
|
148
344
|
],
|
|
149
345
|
};
|
|
150
346
|
}
|
|
151
347
|
async execute() {
|
|
348
|
+
var _a, _b, _c, _d;
|
|
152
349
|
const items = this.getInputData();
|
|
153
350
|
const returnData = [];
|
|
154
351
|
const operation = this.getNodeParameter('operation', 0);
|
|
155
352
|
const credentials = await this.getCredentials('revoxApi');
|
|
156
|
-
const baseUrl = credentials.baseUrl;
|
|
157
|
-
const apiKey = credentials.apiKey;
|
|
353
|
+
const baseUrl = ((_a = credentials.baseUrl) === null || _a === void 0 ? void 0 : _a.replace(/\/$/, '')) || 'https://www.getrevox.com';
|
|
158
354
|
for (let i = 0; i < items.length; i++) {
|
|
159
355
|
try {
|
|
160
356
|
if (operation === 'placeCall') {
|
|
161
357
|
const phoneNumber = this.getNodeParameter('phoneNumber', i);
|
|
162
|
-
const prompt = this.getNodeParameter('prompt', i);
|
|
163
358
|
const forceNow = this.getNodeParameter('forceNow', i);
|
|
164
|
-
const
|
|
359
|
+
const assistantId = this.getNodeParameter('assistantId', i, '');
|
|
165
360
|
const body = {
|
|
166
361
|
phone_number: phoneNumber,
|
|
167
|
-
prompt: prompt,
|
|
168
362
|
force_now: forceNow,
|
|
169
|
-
webhook_url: webhookUrl.trim(),
|
|
170
363
|
};
|
|
171
|
-
if (
|
|
172
|
-
body.
|
|
364
|
+
if (assistantId && assistantId.trim()) {
|
|
365
|
+
body.assistant_id = assistantId.trim();
|
|
366
|
+
}
|
|
367
|
+
else {
|
|
368
|
+
const prompt = this.getNodeParameter('prompt', i);
|
|
369
|
+
const webhookUrl = this.getNodeParameter('webhookUrl', i);
|
|
370
|
+
const voiceSelection = this.getNodeParameter('voice', i, '');
|
|
371
|
+
const assistant = {
|
|
372
|
+
prompt,
|
|
373
|
+
};
|
|
374
|
+
if (webhookUrl && webhookUrl.trim()) {
|
|
375
|
+
assistant.webhook_url = webhookUrl.trim();
|
|
376
|
+
}
|
|
377
|
+
if (voiceSelection) {
|
|
378
|
+
const [providerPart, idPart] = voiceSelection.split(':');
|
|
379
|
+
const provider = providerPart || 'cartesia';
|
|
380
|
+
const id = idPart === null || idPart === void 0 ? void 0 : idPart.trim();
|
|
381
|
+
if (id)
|
|
382
|
+
assistant.voice = { provider, id };
|
|
383
|
+
}
|
|
384
|
+
body.assistant = assistant;
|
|
173
385
|
}
|
|
174
|
-
const response = await this.helpers.
|
|
386
|
+
const response = await this.helpers.httpRequestWithAuthentication.call(this, 'revoxApi', {
|
|
175
387
|
method: 'POST',
|
|
176
|
-
|
|
388
|
+
baseURL: baseUrl,
|
|
389
|
+
url: '/api/call',
|
|
177
390
|
headers: {
|
|
178
|
-
Authorization: `Bearer ${apiKey}`,
|
|
179
391
|
'Content-Type': 'application/json',
|
|
180
392
|
},
|
|
181
393
|
body,
|
|
@@ -188,12 +400,10 @@ class Revox {
|
|
|
188
400
|
}
|
|
189
401
|
else if (operation === 'getCall') {
|
|
190
402
|
const callId = this.getNodeParameter('callId', i);
|
|
191
|
-
const response = await this.helpers.
|
|
403
|
+
const response = await this.helpers.httpRequestWithAuthentication.call(this, 'revoxApi', {
|
|
192
404
|
method: 'GET',
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
Authorization: `Bearer ${apiKey}`,
|
|
196
|
-
},
|
|
405
|
+
baseURL: baseUrl,
|
|
406
|
+
url: `/api/call/${callId}`,
|
|
197
407
|
json: true,
|
|
198
408
|
});
|
|
199
409
|
returnData.push({
|
|
@@ -204,25 +414,125 @@ class Revox {
|
|
|
204
414
|
else if (operation === 'getCallHistory') {
|
|
205
415
|
const page = this.getNodeParameter('page', i);
|
|
206
416
|
const pageSize = this.getNodeParameter('pageSize', i);
|
|
207
|
-
const response = await this.helpers.
|
|
417
|
+
const response = await this.helpers.httpRequestWithAuthentication.call(this, 'revoxApi', {
|
|
208
418
|
method: 'GET',
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
Authorization: `Bearer ${apiKey}`,
|
|
212
|
-
},
|
|
419
|
+
baseURL: baseUrl,
|
|
420
|
+
url: '/api/call',
|
|
213
421
|
qs: {
|
|
214
422
|
page,
|
|
215
|
-
pageSize,
|
|
423
|
+
page_size: pageSize,
|
|
216
424
|
},
|
|
217
425
|
json: true,
|
|
218
426
|
});
|
|
219
|
-
|
|
427
|
+
const calls = Array.isArray(response === null || response === void 0 ? void 0 : response.calls) ? response.calls : [];
|
|
428
|
+
for (const call of calls) {
|
|
220
429
|
returnData.push({
|
|
221
430
|
json: call,
|
|
222
431
|
pairedItem: { item: i },
|
|
223
432
|
});
|
|
224
433
|
}
|
|
225
434
|
}
|
|
435
|
+
else if (operation === 'createAssistant') {
|
|
436
|
+
const name = this.getNodeParameter('assistantName', i);
|
|
437
|
+
const prompt = this.getNodeParameter('assistantPrompt', i);
|
|
438
|
+
const firstSentence = this.getNodeParameter('firstSentence', i, '');
|
|
439
|
+
const webhookUrl = this.getNodeParameter('assistantWebhookUrl', i, '');
|
|
440
|
+
const voiceSelection = this.getNodeParameter('assistantVoice', i, '');
|
|
441
|
+
const body = {
|
|
442
|
+
name,
|
|
443
|
+
prompt,
|
|
444
|
+
};
|
|
445
|
+
if (firstSentence && firstSentence.trim())
|
|
446
|
+
body.first_sentence = firstSentence.trim();
|
|
447
|
+
if (webhookUrl && webhookUrl.trim())
|
|
448
|
+
body.webhook_url = webhookUrl.trim();
|
|
449
|
+
if (voiceSelection) {
|
|
450
|
+
const [providerPart, idPart] = voiceSelection.split(':');
|
|
451
|
+
const provider = providerPart || 'cartesia';
|
|
452
|
+
const id = idPart === null || idPart === void 0 ? void 0 : idPart.trim();
|
|
453
|
+
if (id)
|
|
454
|
+
body.voice = { provider, id };
|
|
455
|
+
}
|
|
456
|
+
const response = await this.helpers.httpRequestWithAuthentication.call(this, 'revoxApi', {
|
|
457
|
+
method: 'POST',
|
|
458
|
+
baseURL: baseUrl,
|
|
459
|
+
url: '/api/assistants',
|
|
460
|
+
headers: {
|
|
461
|
+
'Content-Type': 'application/json',
|
|
462
|
+
},
|
|
463
|
+
body,
|
|
464
|
+
json: true,
|
|
465
|
+
});
|
|
466
|
+
returnData.push({
|
|
467
|
+
json: (_b = response.assistant) !== null && _b !== void 0 ? _b : response,
|
|
468
|
+
pairedItem: { item: i },
|
|
469
|
+
});
|
|
470
|
+
}
|
|
471
|
+
else if (operation === 'listAssistants') {
|
|
472
|
+
const response = await this.helpers.httpRequestWithAuthentication.call(this, 'revoxApi', {
|
|
473
|
+
method: 'GET',
|
|
474
|
+
baseURL: baseUrl,
|
|
475
|
+
url: '/api/assistants',
|
|
476
|
+
json: true,
|
|
477
|
+
});
|
|
478
|
+
const assistants = Array.isArray(response === null || response === void 0 ? void 0 : response.assistants) ? response.assistants : [];
|
|
479
|
+
for (const assistant of assistants) {
|
|
480
|
+
returnData.push({
|
|
481
|
+
json: assistant,
|
|
482
|
+
pairedItem: { item: i },
|
|
483
|
+
});
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
else if (operation === 'getAssistant') {
|
|
487
|
+
const assistantId = this.getNodeParameter('assistantIdForOp', i);
|
|
488
|
+
const response = await this.helpers.httpRequestWithAuthentication.call(this, 'revoxApi', {
|
|
489
|
+
method: 'GET',
|
|
490
|
+
baseURL: baseUrl,
|
|
491
|
+
url: `/api/assistants/${assistantId}`,
|
|
492
|
+
json: true,
|
|
493
|
+
});
|
|
494
|
+
returnData.push({
|
|
495
|
+
json: (_c = response.assistant) !== null && _c !== void 0 ? _c : response,
|
|
496
|
+
pairedItem: { item: i },
|
|
497
|
+
});
|
|
498
|
+
}
|
|
499
|
+
else if (operation === 'updateAssistant') {
|
|
500
|
+
const assistantId = this.getNodeParameter('assistantIdForOp', i);
|
|
501
|
+
const name = this.getNodeParameter('updateAssistantName', i, '');
|
|
502
|
+
const prompt = this.getNodeParameter('updateAssistantPrompt', i, '');
|
|
503
|
+
const body = {};
|
|
504
|
+
if (name && name.trim())
|
|
505
|
+
body.name = name.trim();
|
|
506
|
+
if (prompt !== undefined && prompt !== '')
|
|
507
|
+
body.prompt = prompt;
|
|
508
|
+
const response = await this.helpers.httpRequestWithAuthentication.call(this, 'revoxApi', {
|
|
509
|
+
method: 'PATCH',
|
|
510
|
+
baseURL: baseUrl,
|
|
511
|
+
url: `/api/assistants/${assistantId}`,
|
|
512
|
+
headers: {
|
|
513
|
+
'Content-Type': 'application/json',
|
|
514
|
+
},
|
|
515
|
+
body: Object.keys(body).length ? body : {},
|
|
516
|
+
json: true,
|
|
517
|
+
});
|
|
518
|
+
returnData.push({
|
|
519
|
+
json: (_d = response.assistant) !== null && _d !== void 0 ? _d : response,
|
|
520
|
+
pairedItem: { item: i },
|
|
521
|
+
});
|
|
522
|
+
}
|
|
523
|
+
else if (operation === 'deleteAssistant') {
|
|
524
|
+
const assistantId = this.getNodeParameter('assistantIdForOp', i);
|
|
525
|
+
const response = await this.helpers.httpRequestWithAuthentication.call(this, 'revoxApi', {
|
|
526
|
+
method: 'DELETE',
|
|
527
|
+
baseURL: baseUrl,
|
|
528
|
+
url: `/api/assistants/${assistantId}`,
|
|
529
|
+
json: true,
|
|
530
|
+
});
|
|
531
|
+
returnData.push({
|
|
532
|
+
json: response !== null && response !== void 0 ? response : { success: true },
|
|
533
|
+
pairedItem: { item: i },
|
|
534
|
+
});
|
|
535
|
+
}
|
|
226
536
|
}
|
|
227
537
|
catch (error) {
|
|
228
538
|
if (this.continueOnFail()) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Revox.node.js","sourceRoot":"","sources":["../../../nodes/Revox/Revox.node.ts"],"names":[],"mappings":";;;AAAA,+CAMsB;AAEtB,MAAa,KAAK;IAAlB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,4BAA4B;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BACvB,CAAC,CAAC;oBACH,SAAS;gBACV,CAAC;gBACD,MAAM,IAAI,iCAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAc,EAAE;oBAC5D,SAAS,EAAE,CAAC;iBACZ,CAAC,CAAC;YACJ,CAAC;QACF,CAAC;QAED,OAAO,CAAC,UAAU,CAAC,CAAC;IACrB,CAAC;CACD;AApkBD,sBAokBC"}
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"resources": {
|
|
7
7
|
"credentialDocumentation": [
|
|
8
8
|
{
|
|
9
|
-
"url": "https://getrevox.com/
|
|
9
|
+
"url": "https://docs.getrevox.com/n8n/quickstart"
|
|
10
10
|
}
|
|
11
11
|
],
|
|
12
12
|
"primaryDocumentation": [
|
|
13
13
|
{
|
|
14
|
-
"url": "https://getrevox.com/
|
|
14
|
+
"url": "https://docs.getrevox.com/n8n/quickstart"
|
|
15
15
|
}
|
|
16
16
|
]
|
|
17
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RevoxTrigger.node.js","sourceRoot":"","sources":["../../../nodes/Revox/RevoxTrigger.node.ts"],"names":[],"mappings":";;;AAOA,MAAa,YAAY;IAAzB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,eAAe;YAC5B,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,4BAA4B;YAClC,KAAK,EAAE,CAAC,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"RevoxTrigger.node.js","sourceRoot":"","sources":["../../../nodes/Revox/RevoxTrigger.node.ts"],"names":[],"mappings":";;;AAOA,MAAa,YAAY;IAAzB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,eAAe;YAC5B,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,4BAA4B;YAClC,KAAK,EAAE,CAAC,SAAS,CAAC;YAElB,YAAY,EAAE,IAAI;YAClB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,6BAA6B;YACvC,WAAW,EAAE,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C,iBAAiB,CAAC,SAAS,CAAC,CAAC;QAGrD,OAAO;YACN,YAAY,EAAE;gBACb;oBACC;wBACC,IAAI,EAAE;4BACL,aAAa,EAAE,QAAQ,CAAC,aAAa;4BACrC,OAAO,EAAE,QAAQ,CAAC,OAAO;4BACzB,MAAM,EAAE,QAAQ,CAAC,MAAM;4BACvB,MAAM,EAAE,QAAQ,CAAC,MAAM;4BACvB,UAAU,EAAE,QAAQ,CAAC,UAAU;4BAC/B,UAAU,EAAE,QAAQ,CAAC,UAAU;4BAC/B,aAAa,EAAE,QAAQ,CAAC,aAAa;4BACrC,UAAU,EAAE,QAAQ,CAAC,UAAU;4BAC/B,QAAQ,EAAE,QAAQ,CAAC,QAAQ;4BAC3B,WAAW,EAAE,QAAQ,CAAC,WAAW;4BACjC,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;4BACnC,UAAU;yBACV;qBACD;iBACD;aACD;SACD,CAAC;IACH,CAAC;CACD;AApGD,oCAoGC"}
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"resources": {
|
|
7
7
|
"credentialDocumentation": [
|
|
8
8
|
{
|
|
9
|
-
"url": "https://getrevox.com/
|
|
9
|
+
"url": "https://docs.getrevox.com/n8n/quickstart"
|
|
10
10
|
}
|
|
11
11
|
],
|
|
12
12
|
"primaryDocumentation": [
|
|
13
13
|
{
|
|
14
|
-
"url": "https://getrevox.com/
|
|
14
|
+
"url": "https://docs.getrevox.com/n8n/quickstart"
|
|
15
15
|
}
|
|
16
16
|
]
|
|
17
17
|
}
|