@vapi-ai/web 2.2.3 → 2.2.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/dist/api.d.ts +9350 -6964
- package/dist/api.js +925 -358
- package/dist/vapi.d.ts +1 -0
- package/dist/vapi.js +20 -0
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -10,11 +10,7 @@
|
|
|
10
10
|
* ---------------------------------------------------------------
|
|
11
11
|
*/
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.Api = exports.HttpClient = exports.ContentType =
|
|
14
|
-
var AuthenticationType;
|
|
15
|
-
(function (AuthenticationType) {
|
|
16
|
-
AuthenticationType["OAUTH2"] = "oauth2";
|
|
17
|
-
})(AuthenticationType || (exports.AuthenticationType = AuthenticationType = {}));
|
|
13
|
+
exports.Api = exports.HttpClient = exports.ContentType = void 0;
|
|
18
14
|
var ContentType;
|
|
19
15
|
(function (ContentType) {
|
|
20
16
|
ContentType["Json"] = "application/json";
|
|
@@ -23,7 +19,7 @@ var ContentType;
|
|
|
23
19
|
ContentType["Text"] = "text/plain";
|
|
24
20
|
})(ContentType || (exports.ContentType = ContentType = {}));
|
|
25
21
|
class HttpClient {
|
|
26
|
-
baseUrl = '';
|
|
22
|
+
baseUrl = 'https://api.vapi.ai';
|
|
27
23
|
securityData = null;
|
|
28
24
|
securityWorker;
|
|
29
25
|
abortControllers = new Map();
|
|
@@ -68,9 +64,7 @@ class HttpClient {
|
|
|
68
64
|
[ContentType.Json]: (input) => input !== null && (typeof input === 'object' || typeof input === 'string')
|
|
69
65
|
? JSON.stringify(input)
|
|
70
66
|
: input,
|
|
71
|
-
[ContentType.Text]: (input) => input !== null && typeof input !== 'string'
|
|
72
|
-
? JSON.stringify(input)
|
|
73
|
-
: input,
|
|
67
|
+
[ContentType.Text]: (input) => input !== null && typeof input !== 'string' ? JSON.stringify(input) : input,
|
|
74
68
|
[ContentType.FormData]: (input) => Object.keys(input || {}).reduce((formData, key) => {
|
|
75
69
|
const property = input[key];
|
|
76
70
|
formData.append(key, property instanceof Blob
|
|
@@ -126,18 +120,12 @@ class HttpClient {
|
|
|
126
120
|
...requestParams,
|
|
127
121
|
headers: {
|
|
128
122
|
...(requestParams.headers || {}),
|
|
129
|
-
...(type && type !== ContentType.FormData
|
|
130
|
-
? { 'Content-Type': type }
|
|
131
|
-
: {}),
|
|
123
|
+
...(type && type !== ContentType.FormData ? { 'Content-Type': type } : {}),
|
|
132
124
|
},
|
|
133
|
-
signal: (cancelToken
|
|
134
|
-
|
|
135
|
-
: requestParams.signal) || null,
|
|
136
|
-
body: typeof body === 'undefined' || body === null
|
|
137
|
-
? null
|
|
138
|
-
: payloadFormatter(body),
|
|
125
|
+
signal: (cancelToken ? this.createAbortSignal(cancelToken) : requestParams.signal) || null,
|
|
126
|
+
body: typeof body === 'undefined' || body === null ? null : payloadFormatter(body),
|
|
139
127
|
}).then(async (response) => {
|
|
140
|
-
const r = response
|
|
128
|
+
const r = response;
|
|
141
129
|
r.data = null;
|
|
142
130
|
r.error = null;
|
|
143
131
|
const data = !responseFormat
|
|
@@ -169,9 +157,10 @@ exports.HttpClient = HttpClient;
|
|
|
169
157
|
/**
|
|
170
158
|
* @title Vapi API
|
|
171
159
|
* @version 1.0
|
|
160
|
+
* @baseUrl https://api.vapi.ai
|
|
172
161
|
* @contact
|
|
173
162
|
*
|
|
174
|
-
*
|
|
163
|
+
* Voice AI for developers.
|
|
175
164
|
*/
|
|
176
165
|
class Api extends HttpClient {
|
|
177
166
|
call = {
|
|
@@ -263,10 +252,11 @@ class Api extends HttpClient {
|
|
|
263
252
|
/**
|
|
264
253
|
* No description
|
|
265
254
|
*
|
|
266
|
-
* @tags Calls
|
|
255
|
+
* @tags Calls
|
|
267
256
|
* @name CallControllerCreatePhoneCall
|
|
268
257
|
* @summary Create Phone Call
|
|
269
258
|
* @request POST:/call/phone
|
|
259
|
+
* @deprecated
|
|
270
260
|
* @secure
|
|
271
261
|
*/
|
|
272
262
|
callControllerCreatePhoneCall: (data, params = {}) => this.request({
|
|
@@ -281,7 +271,7 @@ class Api extends HttpClient {
|
|
|
281
271
|
/**
|
|
282
272
|
* No description
|
|
283
273
|
*
|
|
284
|
-
* @tags Calls
|
|
274
|
+
* @tags Calls
|
|
285
275
|
* @name CallControllerCreateWebCall
|
|
286
276
|
* @summary Create Web Call
|
|
287
277
|
* @request POST:/call/web
|
|
@@ -301,7 +291,7 @@ class Api extends HttpClient {
|
|
|
301
291
|
/**
|
|
302
292
|
* No description
|
|
303
293
|
*
|
|
304
|
-
* @tags Calls
|
|
294
|
+
* @tags Calls
|
|
305
295
|
* @name CallControllerFindAllPaginated
|
|
306
296
|
* @summary List Calls
|
|
307
297
|
* @request GET:/v2/call
|
|
@@ -318,7 +308,7 @@ class Api extends HttpClient {
|
|
|
318
308
|
/**
|
|
319
309
|
* No description
|
|
320
310
|
*
|
|
321
|
-
* @tags Calls
|
|
311
|
+
* @tags Calls
|
|
322
312
|
* @name CallControllerFindAllMetadataPaginated
|
|
323
313
|
* @summary List Call Metadata
|
|
324
314
|
* @request GET:/v2/call/metadata
|
|
@@ -335,7 +325,24 @@ class Api extends HttpClient {
|
|
|
335
325
|
/**
|
|
336
326
|
* No description
|
|
337
327
|
*
|
|
338
|
-
* @tags
|
|
328
|
+
* @tags Assistants
|
|
329
|
+
* @name AssistantControllerFindAllPaginated
|
|
330
|
+
* @summary List Assistants with pagination
|
|
331
|
+
* @request GET:/v2/assistant
|
|
332
|
+
* @secure
|
|
333
|
+
*/
|
|
334
|
+
assistantControllerFindAllPaginated: (query, params = {}) => this.request({
|
|
335
|
+
path: `/v2/assistant`,
|
|
336
|
+
method: 'GET',
|
|
337
|
+
query: query,
|
|
338
|
+
secure: true,
|
|
339
|
+
format: 'json',
|
|
340
|
+
...params,
|
|
341
|
+
}),
|
|
342
|
+
/**
|
|
343
|
+
* No description
|
|
344
|
+
*
|
|
345
|
+
* @tags Phone Numbers
|
|
339
346
|
* @name PhoneNumberControllerFindAllPaginated
|
|
340
347
|
* @summary List Phone Numbers
|
|
341
348
|
* @request GET:/v2/phone-number
|
|
@@ -350,6 +357,43 @@ class Api extends HttpClient {
|
|
|
350
357
|
...params,
|
|
351
358
|
}),
|
|
352
359
|
};
|
|
360
|
+
chat = {
|
|
361
|
+
/**
|
|
362
|
+
* No description
|
|
363
|
+
*
|
|
364
|
+
* @tags Chat
|
|
365
|
+
* @name ChatController
|
|
366
|
+
* @summary Chat with Assistant
|
|
367
|
+
* @request POST:/chat
|
|
368
|
+
* @deprecated
|
|
369
|
+
* @secure
|
|
370
|
+
*/
|
|
371
|
+
chatController: (params = {}) => this.request({
|
|
372
|
+
path: `/chat`,
|
|
373
|
+
method: 'POST',
|
|
374
|
+
secure: true,
|
|
375
|
+
format: 'json',
|
|
376
|
+
...params,
|
|
377
|
+
}),
|
|
378
|
+
/**
|
|
379
|
+
* No description
|
|
380
|
+
*
|
|
381
|
+
* @tags Chat
|
|
382
|
+
* @name ChatControllerChatCompletions
|
|
383
|
+
* @summary Chat with a Workflow
|
|
384
|
+
* @request POST:/chat/completions
|
|
385
|
+
* @secure
|
|
386
|
+
*/
|
|
387
|
+
chatControllerChatCompletions: (data, params = {}) => this.request({
|
|
388
|
+
path: `/chat/completions`,
|
|
389
|
+
method: 'POST',
|
|
390
|
+
body: data,
|
|
391
|
+
secure: true,
|
|
392
|
+
type: ContentType.Json,
|
|
393
|
+
format: 'json',
|
|
394
|
+
...params,
|
|
395
|
+
}),
|
|
396
|
+
};
|
|
353
397
|
assistant = {
|
|
354
398
|
/**
|
|
355
399
|
* No description
|
|
@@ -423,7 +467,7 @@ class Api extends HttpClient {
|
|
|
423
467
|
/**
|
|
424
468
|
* No description
|
|
425
469
|
*
|
|
426
|
-
* @tags Assistants
|
|
470
|
+
* @tags Assistants
|
|
427
471
|
* @name AssistantControllerReplace
|
|
428
472
|
* @summary Replace Assistant
|
|
429
473
|
* @request PUT:/assistant/{id}
|
|
@@ -456,28 +500,10 @@ class Api extends HttpClient {
|
|
|
456
500
|
}),
|
|
457
501
|
};
|
|
458
502
|
phoneNumber = {
|
|
459
|
-
/**
|
|
460
|
-
* No description
|
|
461
|
-
*
|
|
462
|
-
* @tags Phone Numbers, extended
|
|
463
|
-
* @name PhoneNumberControllerBuy
|
|
464
|
-
* @summary Buy Phone Number
|
|
465
|
-
* @request POST:/phone-number/buy
|
|
466
|
-
* @secure
|
|
467
|
-
*/
|
|
468
|
-
phoneNumberControllerBuy: (data, params = {}) => this.request({
|
|
469
|
-
path: `/phone-number/buy`,
|
|
470
|
-
method: 'POST',
|
|
471
|
-
body: data,
|
|
472
|
-
secure: true,
|
|
473
|
-
type: ContentType.Json,
|
|
474
|
-
format: 'json',
|
|
475
|
-
...params,
|
|
476
|
-
}),
|
|
477
503
|
/**
|
|
478
504
|
* @description Use POST /phone-number instead.
|
|
479
505
|
*
|
|
480
|
-
* @tags Phone Numbers
|
|
506
|
+
* @tags Phone Numbers
|
|
481
507
|
* @name PhoneNumberControllerImportTwilio
|
|
482
508
|
* @summary Import Twilio Number
|
|
483
509
|
* @request POST:/phone-number/import/twilio
|
|
@@ -496,7 +522,7 @@ class Api extends HttpClient {
|
|
|
496
522
|
/**
|
|
497
523
|
* @description Use POST /phone-number instead.
|
|
498
524
|
*
|
|
499
|
-
* @tags Phone Numbers
|
|
525
|
+
* @tags Phone Numbers
|
|
500
526
|
* @name PhoneNumberControllerImportVonage
|
|
501
527
|
* @summary Import Vonage Number
|
|
502
528
|
* @request POST:/phone-number/import/vonage
|
|
@@ -598,18 +624,18 @@ class Api extends HttpClient {
|
|
|
598
624
|
...params,
|
|
599
625
|
}),
|
|
600
626
|
};
|
|
601
|
-
|
|
627
|
+
tool = {
|
|
602
628
|
/**
|
|
603
629
|
* No description
|
|
604
630
|
*
|
|
605
|
-
* @tags
|
|
606
|
-
* @name
|
|
607
|
-
* @summary Create
|
|
608
|
-
* @request POST:/
|
|
631
|
+
* @tags Tools
|
|
632
|
+
* @name ToolControllerCreate
|
|
633
|
+
* @summary Create Tool
|
|
634
|
+
* @request POST:/tool
|
|
609
635
|
* @secure
|
|
610
636
|
*/
|
|
611
|
-
|
|
612
|
-
path: `/
|
|
637
|
+
toolControllerCreate: (data, params = {}) => this.request({
|
|
638
|
+
path: `/tool`,
|
|
613
639
|
method: 'POST',
|
|
614
640
|
body: data,
|
|
615
641
|
secure: true,
|
|
@@ -620,14 +646,14 @@ class Api extends HttpClient {
|
|
|
620
646
|
/**
|
|
621
647
|
* No description
|
|
622
648
|
*
|
|
623
|
-
* @tags
|
|
624
|
-
* @name
|
|
625
|
-
* @summary List
|
|
626
|
-
* @request GET:/
|
|
649
|
+
* @tags Tools
|
|
650
|
+
* @name ToolControllerFindAll
|
|
651
|
+
* @summary List Tools
|
|
652
|
+
* @request GET:/tool
|
|
627
653
|
* @secure
|
|
628
654
|
*/
|
|
629
|
-
|
|
630
|
-
path: `/
|
|
655
|
+
toolControllerFindAll: (query, params = {}) => this.request({
|
|
656
|
+
path: `/tool`,
|
|
631
657
|
method: 'GET',
|
|
632
658
|
query: query,
|
|
633
659
|
secure: true,
|
|
@@ -637,14 +663,14 @@ class Api extends HttpClient {
|
|
|
637
663
|
/**
|
|
638
664
|
* No description
|
|
639
665
|
*
|
|
640
|
-
* @tags
|
|
641
|
-
* @name
|
|
642
|
-
* @summary Get
|
|
643
|
-
* @request GET:/
|
|
666
|
+
* @tags Tools
|
|
667
|
+
* @name ToolControllerFindOne
|
|
668
|
+
* @summary Get Tool
|
|
669
|
+
* @request GET:/tool/{id}
|
|
644
670
|
* @secure
|
|
645
671
|
*/
|
|
646
|
-
|
|
647
|
-
path: `/
|
|
672
|
+
toolControllerFindOne: (id, params = {}) => this.request({
|
|
673
|
+
path: `/tool/${id}`,
|
|
648
674
|
method: 'GET',
|
|
649
675
|
secure: true,
|
|
650
676
|
format: 'json',
|
|
@@ -653,14 +679,14 @@ class Api extends HttpClient {
|
|
|
653
679
|
/**
|
|
654
680
|
* No description
|
|
655
681
|
*
|
|
656
|
-
* @tags
|
|
657
|
-
* @name
|
|
658
|
-
* @summary Update
|
|
659
|
-
* @request PATCH:/
|
|
682
|
+
* @tags Tools
|
|
683
|
+
* @name ToolControllerUpdate
|
|
684
|
+
* @summary Update Tool
|
|
685
|
+
* @request PATCH:/tool/{id}
|
|
660
686
|
* @secure
|
|
661
687
|
*/
|
|
662
|
-
|
|
663
|
-
path: `/
|
|
688
|
+
toolControllerUpdate: (id, data, params = {}) => this.request({
|
|
689
|
+
path: `/tool/${id}`,
|
|
664
690
|
method: 'PATCH',
|
|
665
691
|
body: data,
|
|
666
692
|
secure: true,
|
|
@@ -671,14 +697,119 @@ class Api extends HttpClient {
|
|
|
671
697
|
/**
|
|
672
698
|
* No description
|
|
673
699
|
*
|
|
674
|
-
* @tags
|
|
675
|
-
* @name
|
|
676
|
-
* @summary Delete
|
|
677
|
-
* @request DELETE:/
|
|
700
|
+
* @tags Tools
|
|
701
|
+
* @name ToolControllerRemove
|
|
702
|
+
* @summary Delete Tool
|
|
703
|
+
* @request DELETE:/tool/{id}
|
|
678
704
|
* @secure
|
|
679
705
|
*/
|
|
680
|
-
|
|
681
|
-
path: `/
|
|
706
|
+
toolControllerRemove: (id, params = {}) => this.request({
|
|
707
|
+
path: `/tool/${id}`,
|
|
708
|
+
method: 'DELETE',
|
|
709
|
+
secure: true,
|
|
710
|
+
format: 'json',
|
|
711
|
+
...params,
|
|
712
|
+
}),
|
|
713
|
+
};
|
|
714
|
+
file = {
|
|
715
|
+
/**
|
|
716
|
+
* @description Use POST /file instead.
|
|
717
|
+
*
|
|
718
|
+
* @tags Files
|
|
719
|
+
* @name FileControllerCreateDeprecated
|
|
720
|
+
* @summary Upload File
|
|
721
|
+
* @request POST:/file/upload
|
|
722
|
+
* @deprecated
|
|
723
|
+
* @secure
|
|
724
|
+
*/
|
|
725
|
+
fileControllerCreateDeprecated: (data, params = {}) => this.request({
|
|
726
|
+
path: `/file/upload`,
|
|
727
|
+
method: 'POST',
|
|
728
|
+
body: data,
|
|
729
|
+
secure: true,
|
|
730
|
+
type: ContentType.FormData,
|
|
731
|
+
format: 'json',
|
|
732
|
+
...params,
|
|
733
|
+
}),
|
|
734
|
+
/**
|
|
735
|
+
* No description
|
|
736
|
+
*
|
|
737
|
+
* @tags Files
|
|
738
|
+
* @name FileControllerCreate
|
|
739
|
+
* @summary Upload File
|
|
740
|
+
* @request POST:/file
|
|
741
|
+
* @secure
|
|
742
|
+
*/
|
|
743
|
+
fileControllerCreate: (data, params = {}) => this.request({
|
|
744
|
+
path: `/file`,
|
|
745
|
+
method: 'POST',
|
|
746
|
+
body: data,
|
|
747
|
+
secure: true,
|
|
748
|
+
type: ContentType.FormData,
|
|
749
|
+
format: 'json',
|
|
750
|
+
...params,
|
|
751
|
+
}),
|
|
752
|
+
/**
|
|
753
|
+
* No description
|
|
754
|
+
*
|
|
755
|
+
* @tags Files
|
|
756
|
+
* @name FileControllerFindAll
|
|
757
|
+
* @summary List Files
|
|
758
|
+
* @request GET:/file
|
|
759
|
+
* @secure
|
|
760
|
+
*/
|
|
761
|
+
fileControllerFindAll: (params = {}) => this.request({
|
|
762
|
+
path: `/file`,
|
|
763
|
+
method: 'GET',
|
|
764
|
+
secure: true,
|
|
765
|
+
format: 'json',
|
|
766
|
+
...params,
|
|
767
|
+
}),
|
|
768
|
+
/**
|
|
769
|
+
* No description
|
|
770
|
+
*
|
|
771
|
+
* @tags Files
|
|
772
|
+
* @name FileControllerFindOne
|
|
773
|
+
* @summary Get File
|
|
774
|
+
* @request GET:/file/{id}
|
|
775
|
+
* @secure
|
|
776
|
+
*/
|
|
777
|
+
fileControllerFindOne: (id, params = {}) => this.request({
|
|
778
|
+
path: `/file/${id}`,
|
|
779
|
+
method: 'GET',
|
|
780
|
+
secure: true,
|
|
781
|
+
format: 'json',
|
|
782
|
+
...params,
|
|
783
|
+
}),
|
|
784
|
+
/**
|
|
785
|
+
* No description
|
|
786
|
+
*
|
|
787
|
+
* @tags Files
|
|
788
|
+
* @name FileControllerUpdate
|
|
789
|
+
* @summary Update File
|
|
790
|
+
* @request PATCH:/file/{id}
|
|
791
|
+
* @secure
|
|
792
|
+
*/
|
|
793
|
+
fileControllerUpdate: (id, data, params = {}) => this.request({
|
|
794
|
+
path: `/file/${id}`,
|
|
795
|
+
method: 'PATCH',
|
|
796
|
+
body: data,
|
|
797
|
+
secure: true,
|
|
798
|
+
type: ContentType.Json,
|
|
799
|
+
format: 'json',
|
|
800
|
+
...params,
|
|
801
|
+
}),
|
|
802
|
+
/**
|
|
803
|
+
* No description
|
|
804
|
+
*
|
|
805
|
+
* @tags Files
|
|
806
|
+
* @name FileControllerRemove
|
|
807
|
+
* @summary Delete File
|
|
808
|
+
* @request DELETE:/file/{id}
|
|
809
|
+
* @secure
|
|
810
|
+
*/
|
|
811
|
+
fileControllerRemove: (id, params = {}) => this.request({
|
|
812
|
+
path: `/file/${id}`,
|
|
682
813
|
method: 'DELETE',
|
|
683
814
|
secure: true,
|
|
684
815
|
format: 'json',
|
|
@@ -746,10 +877,12 @@ class Api extends HttpClient {
|
|
|
746
877
|
* @request PATCH:/knowledge-base/{id}
|
|
747
878
|
* @secure
|
|
748
879
|
*/
|
|
749
|
-
knowledgeBaseControllerUpdate: (id, params = {}) => this.request({
|
|
880
|
+
knowledgeBaseControllerUpdate: (id, data, params = {}) => this.request({
|
|
750
881
|
path: `/knowledge-base/${id}`,
|
|
751
882
|
method: 'PATCH',
|
|
883
|
+
body: data,
|
|
752
884
|
secure: true,
|
|
885
|
+
type: ContentType.Json,
|
|
753
886
|
format: 'json',
|
|
754
887
|
...params,
|
|
755
888
|
}),
|
|
@@ -770,53 +903,52 @@ class Api extends HttpClient {
|
|
|
770
903
|
...params,
|
|
771
904
|
}),
|
|
772
905
|
};
|
|
773
|
-
|
|
906
|
+
workflow = {
|
|
774
907
|
/**
|
|
775
908
|
* No description
|
|
776
909
|
*
|
|
777
|
-
* @tags
|
|
778
|
-
* @name
|
|
779
|
-
* @summary
|
|
780
|
-
* @request
|
|
910
|
+
* @tags Workflow
|
|
911
|
+
* @name WorkflowControllerFindAll
|
|
912
|
+
* @summary Get Workflows
|
|
913
|
+
* @request GET:/workflow
|
|
781
914
|
* @secure
|
|
782
915
|
*/
|
|
783
|
-
|
|
784
|
-
path: `/
|
|
785
|
-
method: '
|
|
786
|
-
body: data,
|
|
916
|
+
workflowControllerFindAll: (params = {}) => this.request({
|
|
917
|
+
path: `/workflow`,
|
|
918
|
+
method: 'GET',
|
|
787
919
|
secure: true,
|
|
788
|
-
type: ContentType.Json,
|
|
789
920
|
format: 'json',
|
|
790
921
|
...params,
|
|
791
922
|
}),
|
|
792
923
|
/**
|
|
793
924
|
* No description
|
|
794
925
|
*
|
|
795
|
-
* @tags
|
|
796
|
-
* @name
|
|
797
|
-
* @summary
|
|
798
|
-
* @request
|
|
926
|
+
* @tags Workflow
|
|
927
|
+
* @name WorkflowControllerCreate
|
|
928
|
+
* @summary Create Workflow
|
|
929
|
+
* @request POST:/workflow
|
|
799
930
|
* @secure
|
|
800
931
|
*/
|
|
801
|
-
|
|
802
|
-
path: `/
|
|
803
|
-
method: '
|
|
804
|
-
|
|
932
|
+
workflowControllerCreate: (data, params = {}) => this.request({
|
|
933
|
+
path: `/workflow`,
|
|
934
|
+
method: 'POST',
|
|
935
|
+
body: data,
|
|
805
936
|
secure: true,
|
|
937
|
+
type: ContentType.Json,
|
|
806
938
|
format: 'json',
|
|
807
939
|
...params,
|
|
808
940
|
}),
|
|
809
941
|
/**
|
|
810
942
|
* No description
|
|
811
943
|
*
|
|
812
|
-
* @tags
|
|
813
|
-
* @name
|
|
814
|
-
* @summary Get
|
|
815
|
-
* @request GET:/
|
|
944
|
+
* @tags Workflow
|
|
945
|
+
* @name WorkflowControllerFindOne
|
|
946
|
+
* @summary Get Workflow
|
|
947
|
+
* @request GET:/workflow/{id}
|
|
816
948
|
* @secure
|
|
817
949
|
*/
|
|
818
|
-
|
|
819
|
-
path: `/
|
|
950
|
+
workflowControllerFindOne: (id, params = {}) => this.request({
|
|
951
|
+
path: `/workflow/${id}`,
|
|
820
952
|
method: 'GET',
|
|
821
953
|
secure: true,
|
|
822
954
|
format: 'json',
|
|
@@ -825,50 +957,50 @@ class Api extends HttpClient {
|
|
|
825
957
|
/**
|
|
826
958
|
* No description
|
|
827
959
|
*
|
|
828
|
-
* @tags
|
|
829
|
-
* @name
|
|
830
|
-
* @summary
|
|
831
|
-
* @request
|
|
960
|
+
* @tags Workflow
|
|
961
|
+
* @name WorkflowControllerDelete
|
|
962
|
+
* @summary Delete Workflow
|
|
963
|
+
* @request DELETE:/workflow/{id}
|
|
832
964
|
* @secure
|
|
833
965
|
*/
|
|
834
|
-
|
|
835
|
-
path: `/
|
|
836
|
-
method: '
|
|
837
|
-
body: data,
|
|
966
|
+
workflowControllerDelete: (id, params = {}) => this.request({
|
|
967
|
+
path: `/workflow/${id}`,
|
|
968
|
+
method: 'DELETE',
|
|
838
969
|
secure: true,
|
|
839
|
-
type: ContentType.Json,
|
|
840
970
|
format: 'json',
|
|
841
971
|
...params,
|
|
842
972
|
}),
|
|
843
973
|
/**
|
|
844
974
|
* No description
|
|
845
975
|
*
|
|
846
|
-
* @tags
|
|
847
|
-
* @name
|
|
848
|
-
* @summary
|
|
849
|
-
* @request
|
|
976
|
+
* @tags Workflow
|
|
977
|
+
* @name WorkflowControllerUpdate
|
|
978
|
+
* @summary Update Workflow
|
|
979
|
+
* @request PATCH:/workflow/{id}
|
|
850
980
|
* @secure
|
|
851
981
|
*/
|
|
852
|
-
|
|
853
|
-
path: `/
|
|
854
|
-
method: '
|
|
982
|
+
workflowControllerUpdate: (id, data, params = {}) => this.request({
|
|
983
|
+
path: `/workflow/${id}`,
|
|
984
|
+
method: 'PATCH',
|
|
985
|
+
body: data,
|
|
855
986
|
secure: true,
|
|
987
|
+
type: ContentType.Json,
|
|
856
988
|
format: 'json',
|
|
857
989
|
...params,
|
|
858
990
|
}),
|
|
859
991
|
};
|
|
860
|
-
|
|
992
|
+
squad = {
|
|
861
993
|
/**
|
|
862
994
|
* No description
|
|
863
995
|
*
|
|
864
|
-
* @tags
|
|
865
|
-
* @name
|
|
866
|
-
* @summary Create
|
|
867
|
-
* @request POST:/
|
|
868
|
-
* @secure
|
|
996
|
+
* @tags Squads
|
|
997
|
+
* @name SquadControllerCreate
|
|
998
|
+
* @summary Create Squad
|
|
999
|
+
* @request POST:/squad
|
|
1000
|
+
* @secure
|
|
869
1001
|
*/
|
|
870
|
-
|
|
871
|
-
path: `/
|
|
1002
|
+
squadControllerCreate: (data, params = {}) => this.request({
|
|
1003
|
+
path: `/squad`,
|
|
872
1004
|
method: 'POST',
|
|
873
1005
|
body: data,
|
|
874
1006
|
secure: true,
|
|
@@ -879,14 +1011,14 @@ class Api extends HttpClient {
|
|
|
879
1011
|
/**
|
|
880
1012
|
* No description
|
|
881
1013
|
*
|
|
882
|
-
* @tags
|
|
883
|
-
* @name
|
|
884
|
-
* @summary List
|
|
885
|
-
* @request GET:/
|
|
1014
|
+
* @tags Squads
|
|
1015
|
+
* @name SquadControllerFindAll
|
|
1016
|
+
* @summary List Squads
|
|
1017
|
+
* @request GET:/squad
|
|
886
1018
|
* @secure
|
|
887
1019
|
*/
|
|
888
|
-
|
|
889
|
-
path: `/
|
|
1020
|
+
squadControllerFindAll: (query, params = {}) => this.request({
|
|
1021
|
+
path: `/squad`,
|
|
890
1022
|
method: 'GET',
|
|
891
1023
|
query: query,
|
|
892
1024
|
secure: true,
|
|
@@ -896,14 +1028,14 @@ class Api extends HttpClient {
|
|
|
896
1028
|
/**
|
|
897
1029
|
* No description
|
|
898
1030
|
*
|
|
899
|
-
* @tags
|
|
900
|
-
* @name
|
|
901
|
-
* @summary Get
|
|
902
|
-
* @request GET:/
|
|
1031
|
+
* @tags Squads
|
|
1032
|
+
* @name SquadControllerFindOne
|
|
1033
|
+
* @summary Get Squad
|
|
1034
|
+
* @request GET:/squad/{id}
|
|
903
1035
|
* @secure
|
|
904
1036
|
*/
|
|
905
|
-
|
|
906
|
-
path: `/
|
|
1037
|
+
squadControllerFindOne: (id, params = {}) => this.request({
|
|
1038
|
+
path: `/squad/${id}`,
|
|
907
1039
|
method: 'GET',
|
|
908
1040
|
secure: true,
|
|
909
1041
|
format: 'json',
|
|
@@ -912,14 +1044,14 @@ class Api extends HttpClient {
|
|
|
912
1044
|
/**
|
|
913
1045
|
* No description
|
|
914
1046
|
*
|
|
915
|
-
* @tags
|
|
916
|
-
* @name
|
|
917
|
-
* @summary Update
|
|
918
|
-
* @request PATCH:/
|
|
1047
|
+
* @tags Squads
|
|
1048
|
+
* @name SquadControllerUpdate
|
|
1049
|
+
* @summary Update Squad
|
|
1050
|
+
* @request PATCH:/squad/{id}
|
|
919
1051
|
* @secure
|
|
920
1052
|
*/
|
|
921
|
-
|
|
922
|
-
path: `/
|
|
1053
|
+
squadControllerUpdate: (id, data, params = {}) => this.request({
|
|
1054
|
+
path: `/squad/${id}`,
|
|
923
1055
|
method: 'PATCH',
|
|
924
1056
|
body: data,
|
|
925
1057
|
secure: true,
|
|
@@ -930,69 +1062,152 @@ class Api extends HttpClient {
|
|
|
930
1062
|
/**
|
|
931
1063
|
* No description
|
|
932
1064
|
*
|
|
933
|
-
* @tags
|
|
934
|
-
* @name
|
|
935
|
-
* @summary Delete
|
|
936
|
-
* @request DELETE:/
|
|
1065
|
+
* @tags Squads
|
|
1066
|
+
* @name SquadControllerRemove
|
|
1067
|
+
* @summary Delete Squad
|
|
1068
|
+
* @request DELETE:/squad/{id}
|
|
937
1069
|
* @secure
|
|
938
1070
|
*/
|
|
939
|
-
|
|
940
|
-
path: `/
|
|
1071
|
+
squadControllerRemove: (id, params = {}) => this.request({
|
|
1072
|
+
path: `/squad/${id}`,
|
|
941
1073
|
method: 'DELETE',
|
|
942
1074
|
secure: true,
|
|
943
1075
|
format: 'json',
|
|
944
1076
|
...params,
|
|
945
1077
|
}),
|
|
946
1078
|
};
|
|
947
|
-
|
|
1079
|
+
testSuite = {
|
|
948
1080
|
/**
|
|
949
|
-
*
|
|
1081
|
+
* No description
|
|
950
1082
|
*
|
|
951
|
-
* @tags
|
|
952
|
-
* @name
|
|
953
|
-
* @summary
|
|
954
|
-
* @request
|
|
955
|
-
* @deprecated
|
|
1083
|
+
* @tags Test Suites
|
|
1084
|
+
* @name TestSuiteControllerFindAllPaginated
|
|
1085
|
+
* @summary List Test Suites
|
|
1086
|
+
* @request GET:/test-suite
|
|
956
1087
|
* @secure
|
|
957
1088
|
*/
|
|
958
|
-
|
|
959
|
-
path: `/
|
|
1089
|
+
testSuiteControllerFindAllPaginated: (query, params = {}) => this.request({
|
|
1090
|
+
path: `/test-suite`,
|
|
1091
|
+
method: 'GET',
|
|
1092
|
+
query: query,
|
|
1093
|
+
secure: true,
|
|
1094
|
+
format: 'json',
|
|
1095
|
+
...params,
|
|
1096
|
+
}),
|
|
1097
|
+
/**
|
|
1098
|
+
* No description
|
|
1099
|
+
*
|
|
1100
|
+
* @tags Test Suites
|
|
1101
|
+
* @name TestSuiteControllerCreate
|
|
1102
|
+
* @summary Create Test Suite
|
|
1103
|
+
* @request POST:/test-suite
|
|
1104
|
+
* @secure
|
|
1105
|
+
*/
|
|
1106
|
+
testSuiteControllerCreate: (data, params = {}) => this.request({
|
|
1107
|
+
path: `/test-suite`,
|
|
960
1108
|
method: 'POST',
|
|
961
1109
|
body: data,
|
|
962
1110
|
secure: true,
|
|
963
|
-
type: ContentType.
|
|
1111
|
+
type: ContentType.Json,
|
|
964
1112
|
format: 'json',
|
|
965
1113
|
...params,
|
|
966
1114
|
}),
|
|
967
1115
|
/**
|
|
968
1116
|
* No description
|
|
969
1117
|
*
|
|
970
|
-
* @tags
|
|
971
|
-
* @name
|
|
972
|
-
* @summary
|
|
973
|
-
* @request
|
|
1118
|
+
* @tags Test Suites
|
|
1119
|
+
* @name TestSuiteControllerFindOne
|
|
1120
|
+
* @summary Get Test Suite
|
|
1121
|
+
* @request GET:/test-suite/{id}
|
|
974
1122
|
* @secure
|
|
975
1123
|
*/
|
|
976
|
-
|
|
977
|
-
path: `/
|
|
1124
|
+
testSuiteControllerFindOne: (id, params = {}) => this.request({
|
|
1125
|
+
path: `/test-suite/${id}`,
|
|
1126
|
+
method: 'GET',
|
|
1127
|
+
secure: true,
|
|
1128
|
+
format: 'json',
|
|
1129
|
+
...params,
|
|
1130
|
+
}),
|
|
1131
|
+
/**
|
|
1132
|
+
* No description
|
|
1133
|
+
*
|
|
1134
|
+
* @tags Test Suites
|
|
1135
|
+
* @name TestSuiteControllerUpdate
|
|
1136
|
+
* @summary Update Test Suite
|
|
1137
|
+
* @request PATCH:/test-suite/{id}
|
|
1138
|
+
* @secure
|
|
1139
|
+
*/
|
|
1140
|
+
testSuiteControllerUpdate: (id, data, params = {}) => this.request({
|
|
1141
|
+
path: `/test-suite/${id}`,
|
|
1142
|
+
method: 'PATCH',
|
|
1143
|
+
body: data,
|
|
1144
|
+
secure: true,
|
|
1145
|
+
type: ContentType.Json,
|
|
1146
|
+
format: 'json',
|
|
1147
|
+
...params,
|
|
1148
|
+
}),
|
|
1149
|
+
/**
|
|
1150
|
+
* No description
|
|
1151
|
+
*
|
|
1152
|
+
* @tags Test Suites
|
|
1153
|
+
* @name TestSuiteControllerRemove
|
|
1154
|
+
* @summary Delete Test Suite
|
|
1155
|
+
* @request DELETE:/test-suite/{id}
|
|
1156
|
+
* @secure
|
|
1157
|
+
*/
|
|
1158
|
+
testSuiteControllerRemove: (id, params = {}) => this.request({
|
|
1159
|
+
path: `/test-suite/${id}`,
|
|
1160
|
+
method: 'DELETE',
|
|
1161
|
+
secure: true,
|
|
1162
|
+
format: 'json',
|
|
1163
|
+
...params,
|
|
1164
|
+
}),
|
|
1165
|
+
/**
|
|
1166
|
+
* No description
|
|
1167
|
+
*
|
|
1168
|
+
* @tags Test Suite Tests
|
|
1169
|
+
* @name TestSuiteTestControllerFindAllPaginated
|
|
1170
|
+
* @summary List Tests
|
|
1171
|
+
* @request GET:/test-suite/{testSuiteId}/test
|
|
1172
|
+
* @secure
|
|
1173
|
+
*/
|
|
1174
|
+
testSuiteTestControllerFindAllPaginated: (testSuiteId, query, params = {}) => this.request({
|
|
1175
|
+
path: `/test-suite/${testSuiteId}/test`,
|
|
1176
|
+
method: 'GET',
|
|
1177
|
+
query: query,
|
|
1178
|
+
secure: true,
|
|
1179
|
+
format: 'json',
|
|
1180
|
+
...params,
|
|
1181
|
+
}),
|
|
1182
|
+
/**
|
|
1183
|
+
* No description
|
|
1184
|
+
*
|
|
1185
|
+
* @tags Test Suite Tests
|
|
1186
|
+
* @name TestSuiteTestControllerCreate
|
|
1187
|
+
* @summary Create Test
|
|
1188
|
+
* @request POST:/test-suite/{testSuiteId}/test
|
|
1189
|
+
* @secure
|
|
1190
|
+
*/
|
|
1191
|
+
testSuiteTestControllerCreate: (testSuiteId, data, params = {}) => this.request({
|
|
1192
|
+
path: `/test-suite/${testSuiteId}/test`,
|
|
978
1193
|
method: 'POST',
|
|
979
1194
|
body: data,
|
|
980
1195
|
secure: true,
|
|
981
|
-
type: ContentType.
|
|
1196
|
+
type: ContentType.Json,
|
|
982
1197
|
format: 'json',
|
|
983
1198
|
...params,
|
|
984
1199
|
}),
|
|
985
1200
|
/**
|
|
986
1201
|
* No description
|
|
987
1202
|
*
|
|
988
|
-
* @tags
|
|
989
|
-
* @name
|
|
990
|
-
* @summary
|
|
991
|
-
* @request GET:/
|
|
1203
|
+
* @tags Test Suite Tests
|
|
1204
|
+
* @name TestSuiteTestControllerFindOne
|
|
1205
|
+
* @summary Get Test
|
|
1206
|
+
* @request GET:/test-suite/{testSuiteId}/test/{id}
|
|
992
1207
|
* @secure
|
|
993
1208
|
*/
|
|
994
|
-
|
|
995
|
-
path: `/
|
|
1209
|
+
testSuiteTestControllerFindOne: (testSuiteId, id, params = {}) => this.request({
|
|
1210
|
+
path: `/test-suite/${testSuiteId}/test/${id}`,
|
|
996
1211
|
method: 'GET',
|
|
997
1212
|
secure: true,
|
|
998
1213
|
format: 'json',
|
|
@@ -1001,15 +1216,50 @@ class Api extends HttpClient {
|
|
|
1001
1216
|
/**
|
|
1002
1217
|
* No description
|
|
1003
1218
|
*
|
|
1004
|
-
* @tags
|
|
1005
|
-
* @name
|
|
1006
|
-
* @summary
|
|
1007
|
-
* @request
|
|
1219
|
+
* @tags Test Suite Tests
|
|
1220
|
+
* @name TestSuiteTestControllerUpdate
|
|
1221
|
+
* @summary Update Test
|
|
1222
|
+
* @request PATCH:/test-suite/{testSuiteId}/test/{id}
|
|
1008
1223
|
* @secure
|
|
1009
1224
|
*/
|
|
1010
|
-
|
|
1011
|
-
path: `/
|
|
1225
|
+
testSuiteTestControllerUpdate: (testSuiteId, id, data, params = {}) => this.request({
|
|
1226
|
+
path: `/test-suite/${testSuiteId}/test/${id}`,
|
|
1227
|
+
method: 'PATCH',
|
|
1228
|
+
body: data,
|
|
1229
|
+
secure: true,
|
|
1230
|
+
type: ContentType.Json,
|
|
1231
|
+
format: 'json',
|
|
1232
|
+
...params,
|
|
1233
|
+
}),
|
|
1234
|
+
/**
|
|
1235
|
+
* No description
|
|
1236
|
+
*
|
|
1237
|
+
* @tags Test Suite Tests
|
|
1238
|
+
* @name TestSuiteTestControllerRemove
|
|
1239
|
+
* @summary Delete Test
|
|
1240
|
+
* @request DELETE:/test-suite/{testSuiteId}/test/{id}
|
|
1241
|
+
* @secure
|
|
1242
|
+
*/
|
|
1243
|
+
testSuiteTestControllerRemove: (testSuiteId, id, params = {}) => this.request({
|
|
1244
|
+
path: `/test-suite/${testSuiteId}/test/${id}`,
|
|
1245
|
+
method: 'DELETE',
|
|
1246
|
+
secure: true,
|
|
1247
|
+
format: 'json',
|
|
1248
|
+
...params,
|
|
1249
|
+
}),
|
|
1250
|
+
/**
|
|
1251
|
+
* No description
|
|
1252
|
+
*
|
|
1253
|
+
* @tags Test Suite Runs
|
|
1254
|
+
* @name TestSuiteRunControllerFindAllPaginated
|
|
1255
|
+
* @summary List Test Suite Runs
|
|
1256
|
+
* @request GET:/test-suite/{testSuiteId}/run
|
|
1257
|
+
* @secure
|
|
1258
|
+
*/
|
|
1259
|
+
testSuiteRunControllerFindAllPaginated: (testSuiteId, query, params = {}) => this.request({
|
|
1260
|
+
path: `/test-suite/${testSuiteId}/run`,
|
|
1012
1261
|
method: 'GET',
|
|
1262
|
+
query: query,
|
|
1013
1263
|
secure: true,
|
|
1014
1264
|
format: 'json',
|
|
1015
1265
|
...params,
|
|
@@ -1017,14 +1267,48 @@ class Api extends HttpClient {
|
|
|
1017
1267
|
/**
|
|
1018
1268
|
* No description
|
|
1019
1269
|
*
|
|
1020
|
-
* @tags
|
|
1021
|
-
* @name
|
|
1022
|
-
* @summary
|
|
1023
|
-
* @request
|
|
1270
|
+
* @tags Test Suite Runs
|
|
1271
|
+
* @name TestSuiteRunControllerCreate
|
|
1272
|
+
* @summary Create Test Suite Run
|
|
1273
|
+
* @request POST:/test-suite/{testSuiteId}/run
|
|
1024
1274
|
* @secure
|
|
1025
1275
|
*/
|
|
1026
|
-
|
|
1027
|
-
path: `/
|
|
1276
|
+
testSuiteRunControllerCreate: (testSuiteId, data, params = {}) => this.request({
|
|
1277
|
+
path: `/test-suite/${testSuiteId}/run`,
|
|
1278
|
+
method: 'POST',
|
|
1279
|
+
body: data,
|
|
1280
|
+
secure: true,
|
|
1281
|
+
type: ContentType.Json,
|
|
1282
|
+
format: 'json',
|
|
1283
|
+
...params,
|
|
1284
|
+
}),
|
|
1285
|
+
/**
|
|
1286
|
+
* No description
|
|
1287
|
+
*
|
|
1288
|
+
* @tags Test Suite Runs
|
|
1289
|
+
* @name TestSuiteRunControllerFindOne
|
|
1290
|
+
* @summary Get Test Suite Run
|
|
1291
|
+
* @request GET:/test-suite/{testSuiteId}/run/{id}
|
|
1292
|
+
* @secure
|
|
1293
|
+
*/
|
|
1294
|
+
testSuiteRunControllerFindOne: (testSuiteId, id, params = {}) => this.request({
|
|
1295
|
+
path: `/test-suite/${testSuiteId}/run/${id}`,
|
|
1296
|
+
method: 'GET',
|
|
1297
|
+
secure: true,
|
|
1298
|
+
format: 'json',
|
|
1299
|
+
...params,
|
|
1300
|
+
}),
|
|
1301
|
+
/**
|
|
1302
|
+
* No description
|
|
1303
|
+
*
|
|
1304
|
+
* @tags Test Suite Runs
|
|
1305
|
+
* @name TestSuiteRunControllerUpdate
|
|
1306
|
+
* @summary Update Test Suite Run
|
|
1307
|
+
* @request PATCH:/test-suite/{testSuiteId}/run/{id}
|
|
1308
|
+
* @secure
|
|
1309
|
+
*/
|
|
1310
|
+
testSuiteRunControllerUpdate: (testSuiteId, id, data, params = {}) => this.request({
|
|
1311
|
+
path: `/test-suite/${testSuiteId}/run/${id}`,
|
|
1028
1312
|
method: 'PATCH',
|
|
1029
1313
|
body: data,
|
|
1030
1314
|
secure: true,
|
|
@@ -1035,14 +1319,14 @@ class Api extends HttpClient {
|
|
|
1035
1319
|
/**
|
|
1036
1320
|
* No description
|
|
1037
1321
|
*
|
|
1038
|
-
* @tags
|
|
1039
|
-
* @name
|
|
1040
|
-
* @summary Delete
|
|
1041
|
-
* @request DELETE:/
|
|
1322
|
+
* @tags Test Suite Runs
|
|
1323
|
+
* @name TestSuiteRunControllerRemove
|
|
1324
|
+
* @summary Delete Test Suite Run
|
|
1325
|
+
* @request DELETE:/test-suite/{testSuiteId}/run/{id}
|
|
1042
1326
|
* @secure
|
|
1043
1327
|
*/
|
|
1044
|
-
|
|
1045
|
-
path: `/
|
|
1328
|
+
testSuiteRunControllerRemove: (testSuiteId, id, params = {}) => this.request({
|
|
1329
|
+
path: `/test-suite/${testSuiteId}/run/${id}`,
|
|
1046
1330
|
method: 'DELETE',
|
|
1047
1331
|
secure: true,
|
|
1048
1332
|
format: 'json',
|
|
@@ -1053,7 +1337,7 @@ class Api extends HttpClient {
|
|
|
1053
1337
|
/**
|
|
1054
1338
|
* @description Use GET /metric instead
|
|
1055
1339
|
*
|
|
1056
|
-
* @tags Analytics
|
|
1340
|
+
* @tags Analytics
|
|
1057
1341
|
* @name AnalyticsControllerFindAllDeprecated
|
|
1058
1342
|
* @summary List Billing Metrics
|
|
1059
1343
|
* @request GET:/metrics
|
|
@@ -1073,7 +1357,7 @@ class Api extends HttpClient {
|
|
|
1073
1357
|
/**
|
|
1074
1358
|
* No description
|
|
1075
1359
|
*
|
|
1076
|
-
* @tags Analytics
|
|
1360
|
+
* @tags Analytics
|
|
1077
1361
|
* @name AnalyticsControllerQuery
|
|
1078
1362
|
* @summary Create Analytics Queries
|
|
1079
1363
|
* @request POST:/analytics
|
|
@@ -1088,78 +1372,327 @@ class Api extends HttpClient {
|
|
|
1088
1372
|
format: 'json',
|
|
1089
1373
|
...params,
|
|
1090
1374
|
}),
|
|
1375
|
+
};
|
|
1376
|
+
log = {
|
|
1091
1377
|
/**
|
|
1092
1378
|
* No description
|
|
1093
1379
|
*
|
|
1094
|
-
* @tags
|
|
1095
|
-
* @name
|
|
1096
|
-
* @summary Get
|
|
1097
|
-
* @request GET:/
|
|
1380
|
+
* @tags Logs
|
|
1381
|
+
* @name LoggingControllerCallLogsQuery
|
|
1382
|
+
* @summary Get Call Logs
|
|
1383
|
+
* @request GET:/log
|
|
1098
1384
|
* @secure
|
|
1099
1385
|
*/
|
|
1100
|
-
|
|
1101
|
-
path: `/
|
|
1386
|
+
loggingControllerCallLogsQuery: (query, params = {}) => this.request({
|
|
1387
|
+
path: `/log`,
|
|
1102
1388
|
method: 'GET',
|
|
1389
|
+
query: query,
|
|
1390
|
+
secure: true,
|
|
1391
|
+
format: 'json',
|
|
1392
|
+
...params,
|
|
1393
|
+
}),
|
|
1394
|
+
/**
|
|
1395
|
+
* No description
|
|
1396
|
+
*
|
|
1397
|
+
* @tags Logs
|
|
1398
|
+
* @name LoggingControllerCallLogsDeleteQuery
|
|
1399
|
+
* @summary Delete Call Logs
|
|
1400
|
+
* @request DELETE:/log
|
|
1401
|
+
* @secure
|
|
1402
|
+
*/
|
|
1403
|
+
loggingControllerCallLogsDeleteQuery: (query, params = {}) => this.request({
|
|
1404
|
+
path: `/log`,
|
|
1405
|
+
method: 'DELETE',
|
|
1406
|
+
query: query,
|
|
1407
|
+
secure: true,
|
|
1408
|
+
...params,
|
|
1409
|
+
}),
|
|
1410
|
+
};
|
|
1411
|
+
logs = {
|
|
1412
|
+
/**
|
|
1413
|
+
* No description
|
|
1414
|
+
*
|
|
1415
|
+
* @tags Logs
|
|
1416
|
+
* @name LoggingControllerLogsQuery
|
|
1417
|
+
* @summary Get Logs
|
|
1418
|
+
* @request GET:/logs
|
|
1419
|
+
* @deprecated
|
|
1420
|
+
* @secure
|
|
1421
|
+
*/
|
|
1422
|
+
loggingControllerLogsQuery: (query, params = {}) => this.request({
|
|
1423
|
+
path: `/logs`,
|
|
1424
|
+
method: 'GET',
|
|
1425
|
+
query: query,
|
|
1426
|
+
secure: true,
|
|
1427
|
+
format: 'json',
|
|
1428
|
+
...params,
|
|
1429
|
+
}),
|
|
1430
|
+
/**
|
|
1431
|
+
* No description
|
|
1432
|
+
*
|
|
1433
|
+
* @tags Logs
|
|
1434
|
+
* @name LoggingControllerLogsDeleteQuery
|
|
1435
|
+
* @summary Delete Logs
|
|
1436
|
+
* @request DELETE:/logs
|
|
1437
|
+
* @deprecated
|
|
1438
|
+
* @secure
|
|
1439
|
+
*/
|
|
1440
|
+
loggingControllerLogsDeleteQuery: (query, params = {}) => this.request({
|
|
1441
|
+
path: `/logs`,
|
|
1442
|
+
method: 'DELETE',
|
|
1443
|
+
query: query,
|
|
1444
|
+
secure: true,
|
|
1445
|
+
...params,
|
|
1446
|
+
}),
|
|
1447
|
+
};
|
|
1448
|
+
org = {
|
|
1449
|
+
/**
|
|
1450
|
+
* No description
|
|
1451
|
+
*
|
|
1452
|
+
* @tags Orgs
|
|
1453
|
+
* @name OrgControllerCreate
|
|
1454
|
+
* @summary Create Org
|
|
1455
|
+
* @request POST:/org
|
|
1456
|
+
* @secure
|
|
1457
|
+
*/
|
|
1458
|
+
orgControllerCreate: (data, params = {}) => this.request({
|
|
1459
|
+
path: `/org`,
|
|
1460
|
+
method: 'POST',
|
|
1461
|
+
body: data,
|
|
1462
|
+
secure: true,
|
|
1463
|
+
type: ContentType.Json,
|
|
1464
|
+
format: 'json',
|
|
1465
|
+
...params,
|
|
1466
|
+
}),
|
|
1467
|
+
/**
|
|
1468
|
+
* No description
|
|
1469
|
+
*
|
|
1470
|
+
* @tags Orgs
|
|
1471
|
+
* @name OrgControllerFindAll
|
|
1472
|
+
* @summary List Orgs
|
|
1473
|
+
* @request GET:/org
|
|
1474
|
+
* @secure
|
|
1475
|
+
*/
|
|
1476
|
+
orgControllerFindAll: (params = {}) => this.request({
|
|
1477
|
+
path: `/org`,
|
|
1478
|
+
method: 'GET',
|
|
1479
|
+
secure: true,
|
|
1480
|
+
format: 'json',
|
|
1481
|
+
...params,
|
|
1482
|
+
}),
|
|
1483
|
+
/**
|
|
1484
|
+
* No description
|
|
1485
|
+
*
|
|
1486
|
+
* @tags Orgs
|
|
1487
|
+
* @name OrgControllerFindOne
|
|
1488
|
+
* @summary Get Org
|
|
1489
|
+
* @request GET:/org/{id}
|
|
1490
|
+
* @secure
|
|
1491
|
+
*/
|
|
1492
|
+
orgControllerFindOne: (id, params = {}) => this.request({
|
|
1493
|
+
path: `/org/${id}`,
|
|
1494
|
+
method: 'GET',
|
|
1495
|
+
secure: true,
|
|
1496
|
+
format: 'json',
|
|
1497
|
+
...params,
|
|
1498
|
+
}),
|
|
1499
|
+
/**
|
|
1500
|
+
* No description
|
|
1501
|
+
*
|
|
1502
|
+
* @tags Orgs
|
|
1503
|
+
* @name OrgControllerUpdate
|
|
1504
|
+
* @summary Update Org
|
|
1505
|
+
* @request PATCH:/org/{id}
|
|
1506
|
+
* @secure
|
|
1507
|
+
*/
|
|
1508
|
+
orgControllerUpdate: (id, data, params = {}) => this.request({
|
|
1509
|
+
path: `/org/${id}`,
|
|
1510
|
+
method: 'PATCH',
|
|
1103
1511
|
body: data,
|
|
1104
1512
|
secure: true,
|
|
1105
1513
|
type: ContentType.Json,
|
|
1106
1514
|
format: 'json',
|
|
1107
1515
|
...params,
|
|
1108
1516
|
}),
|
|
1517
|
+
/**
|
|
1518
|
+
* No description
|
|
1519
|
+
*
|
|
1520
|
+
* @tags Orgs
|
|
1521
|
+
* @name OrgControllerDeleteOrg
|
|
1522
|
+
* @summary Delete Org
|
|
1523
|
+
* @request DELETE:/org/{id}
|
|
1524
|
+
* @secure
|
|
1525
|
+
*/
|
|
1526
|
+
orgControllerDeleteOrg: (id, params = {}) => this.request({
|
|
1527
|
+
path: `/org/${id}`,
|
|
1528
|
+
method: 'DELETE',
|
|
1529
|
+
secure: true,
|
|
1530
|
+
...params,
|
|
1531
|
+
}),
|
|
1532
|
+
/**
|
|
1533
|
+
* No description
|
|
1534
|
+
*
|
|
1535
|
+
* @tags Orgs
|
|
1536
|
+
* @name OrgControllerFindAllUsers
|
|
1537
|
+
* @summary List Users
|
|
1538
|
+
* @request GET:/org/{id}/user
|
|
1539
|
+
* @secure
|
|
1540
|
+
*/
|
|
1541
|
+
orgControllerFindAllUsers: (id, params = {}) => this.request({
|
|
1542
|
+
path: `/org/${id}/user`,
|
|
1543
|
+
method: 'GET',
|
|
1544
|
+
secure: true,
|
|
1545
|
+
format: 'json',
|
|
1546
|
+
...params,
|
|
1547
|
+
}),
|
|
1548
|
+
/**
|
|
1549
|
+
* No description
|
|
1550
|
+
*
|
|
1551
|
+
* @tags Orgs
|
|
1552
|
+
* @name OrgControllerOrgLeave
|
|
1553
|
+
* @summary Leave Org
|
|
1554
|
+
* @request DELETE:/org/{id}/leave
|
|
1555
|
+
* @secure
|
|
1556
|
+
*/
|
|
1557
|
+
orgControllerOrgLeave: (id, params = {}) => this.request({
|
|
1558
|
+
path: `/org/${id}/leave`,
|
|
1559
|
+
method: 'DELETE',
|
|
1560
|
+
secure: true,
|
|
1561
|
+
...params,
|
|
1562
|
+
}),
|
|
1563
|
+
/**
|
|
1564
|
+
* No description
|
|
1565
|
+
*
|
|
1566
|
+
* @tags Orgs
|
|
1567
|
+
* @name OrgControllerOrgRemoveUser
|
|
1568
|
+
* @summary Remove Org Member
|
|
1569
|
+
* @request DELETE:/org/{id}/member/{memberId}/leave
|
|
1570
|
+
* @secure
|
|
1571
|
+
*/
|
|
1572
|
+
orgControllerOrgRemoveUser: (id, memberId, params = {}) => this.request({
|
|
1573
|
+
path: `/org/${id}/member/${memberId}/leave`,
|
|
1574
|
+
method: 'DELETE',
|
|
1575
|
+
secure: true,
|
|
1576
|
+
...params,
|
|
1577
|
+
}),
|
|
1578
|
+
/**
|
|
1579
|
+
* No description
|
|
1580
|
+
*
|
|
1581
|
+
* @tags Orgs
|
|
1582
|
+
* @name OrgControllerUsersInvite
|
|
1583
|
+
* @summary Invite User
|
|
1584
|
+
* @request POST:/org/{id}/invite
|
|
1585
|
+
* @secure
|
|
1586
|
+
*/
|
|
1587
|
+
orgControllerUsersInvite: (id, data, params = {}) => this.request({
|
|
1588
|
+
path: `/org/${id}/invite`,
|
|
1589
|
+
method: 'POST',
|
|
1590
|
+
body: data,
|
|
1591
|
+
secure: true,
|
|
1592
|
+
type: ContentType.Json,
|
|
1593
|
+
...params,
|
|
1594
|
+
}),
|
|
1595
|
+
/**
|
|
1596
|
+
* No description
|
|
1597
|
+
*
|
|
1598
|
+
* @tags Orgs
|
|
1599
|
+
* @name OrgControllerUserUpdate
|
|
1600
|
+
* @summary Update User Role
|
|
1601
|
+
* @request PATCH:/org/{id}/role
|
|
1602
|
+
* @secure
|
|
1603
|
+
*/
|
|
1604
|
+
orgControllerUserUpdate: (id, data, params = {}) => this.request({
|
|
1605
|
+
path: `/org/${id}/role`,
|
|
1606
|
+
method: 'PATCH',
|
|
1607
|
+
body: data,
|
|
1608
|
+
secure: true,
|
|
1609
|
+
type: ContentType.Json,
|
|
1610
|
+
...params,
|
|
1611
|
+
}),
|
|
1109
1612
|
};
|
|
1110
|
-
|
|
1613
|
+
token = {
|
|
1614
|
+
/**
|
|
1615
|
+
* No description
|
|
1616
|
+
*
|
|
1617
|
+
* @tags Tokens
|
|
1618
|
+
* @name TokenControllerCreate
|
|
1619
|
+
* @summary Create Token
|
|
1620
|
+
* @request POST:/token
|
|
1621
|
+
* @secure
|
|
1622
|
+
*/
|
|
1623
|
+
tokenControllerCreate: (data, params = {}) => this.request({
|
|
1624
|
+
path: `/token`,
|
|
1625
|
+
method: 'POST',
|
|
1626
|
+
body: data,
|
|
1627
|
+
secure: true,
|
|
1628
|
+
type: ContentType.Json,
|
|
1629
|
+
format: 'json',
|
|
1630
|
+
...params,
|
|
1631
|
+
}),
|
|
1632
|
+
/**
|
|
1633
|
+
* No description
|
|
1634
|
+
*
|
|
1635
|
+
* @tags Tokens
|
|
1636
|
+
* @name TokenControllerFindAll
|
|
1637
|
+
* @summary List Tokens
|
|
1638
|
+
* @request GET:/token
|
|
1639
|
+
* @secure
|
|
1640
|
+
*/
|
|
1641
|
+
tokenControllerFindAll: (query, params = {}) => this.request({
|
|
1642
|
+
path: `/token`,
|
|
1643
|
+
method: 'GET',
|
|
1644
|
+
query: query,
|
|
1645
|
+
secure: true,
|
|
1646
|
+
format: 'json',
|
|
1647
|
+
...params,
|
|
1648
|
+
}),
|
|
1111
1649
|
/**
|
|
1112
1650
|
* No description
|
|
1113
1651
|
*
|
|
1114
|
-
* @tags
|
|
1115
|
-
* @name
|
|
1116
|
-
* @
|
|
1652
|
+
* @tags Tokens
|
|
1653
|
+
* @name TokenControllerFindOne
|
|
1654
|
+
* @summary Get Token
|
|
1655
|
+
* @request GET:/token/{id}
|
|
1117
1656
|
* @secure
|
|
1118
1657
|
*/
|
|
1119
|
-
|
|
1120
|
-
path: `/
|
|
1658
|
+
tokenControllerFindOne: (id, params = {}) => this.request({
|
|
1659
|
+
path: `/token/${id}`,
|
|
1121
1660
|
method: 'GET',
|
|
1122
|
-
query: query,
|
|
1123
1661
|
secure: true,
|
|
1124
1662
|
format: 'json',
|
|
1125
1663
|
...params,
|
|
1126
1664
|
}),
|
|
1127
|
-
};
|
|
1128
|
-
logs = {
|
|
1129
1665
|
/**
|
|
1130
1666
|
* No description
|
|
1131
1667
|
*
|
|
1132
|
-
* @tags
|
|
1133
|
-
* @name
|
|
1134
|
-
* @summary
|
|
1135
|
-
* @request
|
|
1668
|
+
* @tags Tokens
|
|
1669
|
+
* @name TokenControllerUpdate
|
|
1670
|
+
* @summary Update Token
|
|
1671
|
+
* @request PATCH:/token/{id}
|
|
1136
1672
|
* @secure
|
|
1137
1673
|
*/
|
|
1138
|
-
|
|
1139
|
-
path: `/
|
|
1140
|
-
method: '
|
|
1141
|
-
|
|
1674
|
+
tokenControllerUpdate: (id, data, params = {}) => this.request({
|
|
1675
|
+
path: `/token/${id}`,
|
|
1676
|
+
method: 'PATCH',
|
|
1677
|
+
body: data,
|
|
1142
1678
|
secure: true,
|
|
1679
|
+
type: ContentType.Json,
|
|
1143
1680
|
format: 'json',
|
|
1144
1681
|
...params,
|
|
1145
1682
|
}),
|
|
1146
|
-
};
|
|
1147
|
-
chat = {
|
|
1148
1683
|
/**
|
|
1149
1684
|
* No description
|
|
1150
1685
|
*
|
|
1151
|
-
* @tags
|
|
1152
|
-
* @name
|
|
1153
|
-
* @summary
|
|
1154
|
-
* @request
|
|
1686
|
+
* @tags Tokens
|
|
1687
|
+
* @name TokenControllerRemove
|
|
1688
|
+
* @summary Delete Token
|
|
1689
|
+
* @request DELETE:/token/{id}
|
|
1155
1690
|
* @secure
|
|
1156
1691
|
*/
|
|
1157
|
-
|
|
1158
|
-
path: `/
|
|
1159
|
-
method: '
|
|
1160
|
-
body: data,
|
|
1692
|
+
tokenControllerRemove: (id, params = {}) => this.request({
|
|
1693
|
+
path: `/token/${id}`,
|
|
1694
|
+
method: 'DELETE',
|
|
1161
1695
|
secure: true,
|
|
1162
|
-
type: ContentType.Json,
|
|
1163
1696
|
format: 'json',
|
|
1164
1697
|
...params,
|
|
1165
1698
|
}),
|
|
@@ -1168,7 +1701,7 @@ class Api extends HttpClient {
|
|
|
1168
1701
|
/**
|
|
1169
1702
|
* No description
|
|
1170
1703
|
*
|
|
1171
|
-
* @tags Credentials
|
|
1704
|
+
* @tags Credentials
|
|
1172
1705
|
* @name CredentialControllerCreate
|
|
1173
1706
|
* @summary Create Credential
|
|
1174
1707
|
* @request POST:/credential
|
|
@@ -1186,7 +1719,7 @@ class Api extends HttpClient {
|
|
|
1186
1719
|
/**
|
|
1187
1720
|
* No description
|
|
1188
1721
|
*
|
|
1189
|
-
* @tags Credentials
|
|
1722
|
+
* @tags Credentials
|
|
1190
1723
|
* @name CredentialControllerFindAll
|
|
1191
1724
|
* @summary List Credentials
|
|
1192
1725
|
* @request GET:/credential
|
|
@@ -1203,7 +1736,7 @@ class Api extends HttpClient {
|
|
|
1203
1736
|
/**
|
|
1204
1737
|
* No description
|
|
1205
1738
|
*
|
|
1206
|
-
* @tags Credentials
|
|
1739
|
+
* @tags Credentials
|
|
1207
1740
|
* @name CredentialControllerFindOne
|
|
1208
1741
|
* @summary Get Credential
|
|
1209
1742
|
* @request GET:/credential/{id}
|
|
@@ -1219,7 +1752,25 @@ class Api extends HttpClient {
|
|
|
1219
1752
|
/**
|
|
1220
1753
|
* No description
|
|
1221
1754
|
*
|
|
1222
|
-
* @tags Credentials
|
|
1755
|
+
* @tags Credentials
|
|
1756
|
+
* @name CredentialControllerUpdate
|
|
1757
|
+
* @summary Update Credential
|
|
1758
|
+
* @request PATCH:/credential/{id}
|
|
1759
|
+
* @secure
|
|
1760
|
+
*/
|
|
1761
|
+
credentialControllerUpdate: (id, data, params = {}) => this.request({
|
|
1762
|
+
path: `/credential/${id}`,
|
|
1763
|
+
method: 'PATCH',
|
|
1764
|
+
body: data,
|
|
1765
|
+
secure: true,
|
|
1766
|
+
type: ContentType.Json,
|
|
1767
|
+
format: 'json',
|
|
1768
|
+
...params,
|
|
1769
|
+
}),
|
|
1770
|
+
/**
|
|
1771
|
+
* No description
|
|
1772
|
+
*
|
|
1773
|
+
* @tags Credentials
|
|
1223
1774
|
* @name CredentialControllerRemove
|
|
1224
1775
|
* @summary Delete Credential
|
|
1225
1776
|
* @request DELETE:/credential/{id}
|
|
@@ -1233,17 +1784,36 @@ class Api extends HttpClient {
|
|
|
1233
1784
|
...params,
|
|
1234
1785
|
}),
|
|
1235
1786
|
};
|
|
1236
|
-
|
|
1787
|
+
template = {
|
|
1237
1788
|
/**
|
|
1238
1789
|
* No description
|
|
1239
1790
|
*
|
|
1240
|
-
* @tags
|
|
1241
|
-
* @name
|
|
1242
|
-
* @
|
|
1791
|
+
* @tags Templates
|
|
1792
|
+
* @name TemplateControllerCreate
|
|
1793
|
+
* @summary Create Template
|
|
1794
|
+
* @request POST:/template
|
|
1243
1795
|
* @secure
|
|
1244
1796
|
*/
|
|
1245
|
-
|
|
1246
|
-
path:
|
|
1797
|
+
templateControllerCreate: (data, params = {}) => this.request({
|
|
1798
|
+
path: `/template`,
|
|
1799
|
+
method: 'POST',
|
|
1800
|
+
body: data,
|
|
1801
|
+
secure: true,
|
|
1802
|
+
type: ContentType.Json,
|
|
1803
|
+
format: 'json',
|
|
1804
|
+
...params,
|
|
1805
|
+
}),
|
|
1806
|
+
/**
|
|
1807
|
+
* No description
|
|
1808
|
+
*
|
|
1809
|
+
* @tags Templates
|
|
1810
|
+
* @name TemplateControllerFindAll
|
|
1811
|
+
* @summary List Templates
|
|
1812
|
+
* @request GET:/template
|
|
1813
|
+
* @secure
|
|
1814
|
+
*/
|
|
1815
|
+
templateControllerFindAll: (query, params = {}) => this.request({
|
|
1816
|
+
path: `/template`,
|
|
1247
1817
|
method: 'GET',
|
|
1248
1818
|
query: query,
|
|
1249
1819
|
secure: true,
|
|
@@ -1253,13 +1823,14 @@ class Api extends HttpClient {
|
|
|
1253
1823
|
/**
|
|
1254
1824
|
* No description
|
|
1255
1825
|
*
|
|
1256
|
-
* @tags
|
|
1257
|
-
* @name
|
|
1258
|
-
* @
|
|
1826
|
+
* @tags Templates
|
|
1827
|
+
* @name TemplateControllerFindAllPinned
|
|
1828
|
+
* @summary List Templates
|
|
1829
|
+
* @request GET:/template/pinned
|
|
1259
1830
|
* @secure
|
|
1260
1831
|
*/
|
|
1261
|
-
|
|
1262
|
-
path:
|
|
1832
|
+
templateControllerFindAllPinned: (params = {}) => this.request({
|
|
1833
|
+
path: `/template/pinned`,
|
|
1263
1834
|
method: 'GET',
|
|
1264
1835
|
secure: true,
|
|
1265
1836
|
format: 'json',
|
|
@@ -1268,13 +1839,14 @@ class Api extends HttpClient {
|
|
|
1268
1839
|
/**
|
|
1269
1840
|
* No description
|
|
1270
1841
|
*
|
|
1271
|
-
* @tags
|
|
1272
|
-
* @name
|
|
1273
|
-
* @
|
|
1842
|
+
* @tags Templates
|
|
1843
|
+
* @name TemplateControllerFindOne
|
|
1844
|
+
* @summary Get Template
|
|
1845
|
+
* @request GET:/template/{id}
|
|
1274
1846
|
* @secure
|
|
1275
1847
|
*/
|
|
1276
|
-
|
|
1277
|
-
path:
|
|
1848
|
+
templateControllerFindOne: (id, params = {}) => this.request({
|
|
1849
|
+
path: `/template/${id}`,
|
|
1278
1850
|
method: 'GET',
|
|
1279
1851
|
secure: true,
|
|
1280
1852
|
format: 'json',
|
|
@@ -1283,107 +1855,99 @@ class Api extends HttpClient {
|
|
|
1283
1855
|
/**
|
|
1284
1856
|
* No description
|
|
1285
1857
|
*
|
|
1286
|
-
* @tags
|
|
1287
|
-
* @name
|
|
1288
|
-
* @summary
|
|
1289
|
-
* @request
|
|
1290
|
-
* @deprecated
|
|
1858
|
+
* @tags Templates
|
|
1859
|
+
* @name TemplateControllerUpdate
|
|
1860
|
+
* @summary Update Template
|
|
1861
|
+
* @request PATCH:/template/{id}
|
|
1291
1862
|
* @secure
|
|
1292
1863
|
*/
|
|
1293
|
-
|
|
1294
|
-
path:
|
|
1295
|
-
method: '
|
|
1296
|
-
|
|
1864
|
+
templateControllerUpdate: (id, data, params = {}) => this.request({
|
|
1865
|
+
path: `/template/${id}`,
|
|
1866
|
+
method: 'PATCH',
|
|
1867
|
+
body: data,
|
|
1297
1868
|
secure: true,
|
|
1869
|
+
type: ContentType.Json,
|
|
1298
1870
|
format: 'json',
|
|
1299
1871
|
...params,
|
|
1300
1872
|
}),
|
|
1301
1873
|
/**
|
|
1302
1874
|
* No description
|
|
1303
1875
|
*
|
|
1304
|
-
* @tags
|
|
1305
|
-
* @name
|
|
1306
|
-
* @summary
|
|
1307
|
-
* @request
|
|
1876
|
+
* @tags Templates
|
|
1877
|
+
* @name TemplateControllerRemove
|
|
1878
|
+
* @summary Delete Template
|
|
1879
|
+
* @request DELETE:/template/{id}
|
|
1308
1880
|
* @secure
|
|
1309
1881
|
*/
|
|
1310
|
-
|
|
1311
|
-
path:
|
|
1312
|
-
method: '
|
|
1313
|
-
query: query,
|
|
1882
|
+
templateControllerRemove: (id, params = {}) => this.request({
|
|
1883
|
+
path: `/template/${id}`,
|
|
1884
|
+
method: 'DELETE',
|
|
1314
1885
|
secure: true,
|
|
1315
1886
|
format: 'json',
|
|
1316
1887
|
...params,
|
|
1317
1888
|
}),
|
|
1889
|
+
};
|
|
1890
|
+
voiceLibrary = {
|
|
1318
1891
|
/**
|
|
1319
1892
|
* No description
|
|
1320
1893
|
*
|
|
1321
|
-
* @tags
|
|
1322
|
-
* @name
|
|
1323
|
-
* @summary
|
|
1324
|
-
* @request
|
|
1325
|
-
* @deprecated
|
|
1894
|
+
* @tags Voice Library
|
|
1895
|
+
* @name VoiceLibraryControllerVoiceGetByProvider
|
|
1896
|
+
* @summary Get voices in Voice Library by Provider
|
|
1897
|
+
* @request GET:/voice-library/{provider}
|
|
1326
1898
|
* @secure
|
|
1327
1899
|
*/
|
|
1328
|
-
|
|
1329
|
-
path:
|
|
1330
|
-
method: '
|
|
1331
|
-
|
|
1900
|
+
voiceLibraryControllerVoiceGetByProvider: (provider, query, params = {}) => this.request({
|
|
1901
|
+
path: `/voice-library/${provider}`,
|
|
1902
|
+
method: 'GET',
|
|
1903
|
+
query: query,
|
|
1332
1904
|
secure: true,
|
|
1333
|
-
type: ContentType.Json,
|
|
1334
1905
|
format: 'json',
|
|
1335
1906
|
...params,
|
|
1336
1907
|
}),
|
|
1337
1908
|
/**
|
|
1338
1909
|
* No description
|
|
1339
1910
|
*
|
|
1340
|
-
* @tags
|
|
1341
|
-
* @name
|
|
1342
|
-
* @summary
|
|
1343
|
-
* @request
|
|
1911
|
+
* @tags Voice Library
|
|
1912
|
+
* @name VoiceLibraryControllerVoiceGetAccentsByProvider
|
|
1913
|
+
* @summary Get accents in Voice Library by Provider
|
|
1914
|
+
* @request GET:/voice-library/{provider}/accents
|
|
1344
1915
|
* @secure
|
|
1345
1916
|
*/
|
|
1346
|
-
|
|
1347
|
-
path:
|
|
1348
|
-
method: '
|
|
1349
|
-
body: data,
|
|
1917
|
+
voiceLibraryControllerVoiceGetAccentsByProvider: (provider, params = {}) => this.request({
|
|
1918
|
+
path: `/voice-library/${provider}/accents`,
|
|
1919
|
+
method: 'GET',
|
|
1350
1920
|
secure: true,
|
|
1351
|
-
type: ContentType.Json,
|
|
1352
1921
|
format: 'json',
|
|
1353
1922
|
...params,
|
|
1354
1923
|
}),
|
|
1355
|
-
};
|
|
1356
|
-
v11Labs = {
|
|
1357
1924
|
/**
|
|
1358
1925
|
* No description
|
|
1359
1926
|
*
|
|
1360
|
-
* @tags
|
|
1361
|
-
* @name
|
|
1362
|
-
* @summary
|
|
1363
|
-
* @request POST:/
|
|
1927
|
+
* @tags Voice Library
|
|
1928
|
+
* @name VoiceLibraryControllerVoiceLibrarySyncByProvider
|
|
1929
|
+
* @summary Sync Private voices in Voice Library by Provider
|
|
1930
|
+
* @request POST:/voice-library/sync/{provider}
|
|
1364
1931
|
* @secure
|
|
1365
1932
|
*/
|
|
1366
|
-
|
|
1367
|
-
path: `/
|
|
1933
|
+
voiceLibraryControllerVoiceLibrarySyncByProvider: (provider, params = {}) => this.request({
|
|
1934
|
+
path: `/voice-library/sync/${provider}`,
|
|
1368
1935
|
method: 'POST',
|
|
1369
|
-
body: data,
|
|
1370
1936
|
secure: true,
|
|
1371
|
-
|
|
1937
|
+
format: 'json',
|
|
1372
1938
|
...params,
|
|
1373
1939
|
}),
|
|
1374
|
-
};
|
|
1375
|
-
token = {
|
|
1376
1940
|
/**
|
|
1377
1941
|
* No description
|
|
1378
1942
|
*
|
|
1379
|
-
* @tags
|
|
1380
|
-
* @name
|
|
1381
|
-
* @summary
|
|
1382
|
-
* @request POST:/
|
|
1943
|
+
* @tags Voice Library
|
|
1944
|
+
* @name VoiceLibraryControllerVoiceLibrarySyncDefaultVoices
|
|
1945
|
+
* @summary Sync Default voices in Voice Library by Providers
|
|
1946
|
+
* @request POST:/voice-library/sync
|
|
1383
1947
|
* @secure
|
|
1384
1948
|
*/
|
|
1385
|
-
|
|
1386
|
-
path: `/
|
|
1949
|
+
voiceLibraryControllerVoiceLibrarySyncDefaultVoices: (data, params = {}) => this.request({
|
|
1950
|
+
path: `/voice-library/sync`,
|
|
1387
1951
|
method: 'POST',
|
|
1388
1952
|
body: data,
|
|
1389
1953
|
secure: true,
|
|
@@ -1391,17 +1955,18 @@ class Api extends HttpClient {
|
|
|
1391
1955
|
format: 'json',
|
|
1392
1956
|
...params,
|
|
1393
1957
|
}),
|
|
1958
|
+
};
|
|
1959
|
+
provider = {
|
|
1394
1960
|
/**
|
|
1395
1961
|
* No description
|
|
1396
1962
|
*
|
|
1397
|
-
* @tags
|
|
1398
|
-
* @name
|
|
1399
|
-
* @
|
|
1400
|
-
* @request GET:/token
|
|
1963
|
+
* @tags Providers
|
|
1964
|
+
* @name ProviderControllerGetWorkflows
|
|
1965
|
+
* @request GET:/{provider}/workflows
|
|
1401
1966
|
* @secure
|
|
1402
1967
|
*/
|
|
1403
|
-
|
|
1404
|
-
path:
|
|
1968
|
+
providerControllerGetWorkflows: (provider, query, params = {}) => this.request({
|
|
1969
|
+
path: `/${provider}/workflows`,
|
|
1405
1970
|
method: 'GET',
|
|
1406
1971
|
query: query,
|
|
1407
1972
|
secure: true,
|
|
@@ -1411,14 +1976,13 @@ class Api extends HttpClient {
|
|
|
1411
1976
|
/**
|
|
1412
1977
|
* No description
|
|
1413
1978
|
*
|
|
1414
|
-
* @tags
|
|
1415
|
-
* @name
|
|
1416
|
-
* @
|
|
1417
|
-
* @request GET:/token/{id}
|
|
1979
|
+
* @tags Providers
|
|
1980
|
+
* @name ProviderControllerGetWorkflowTriggerHook
|
|
1981
|
+
* @request GET:/{provider}/workflows/{workflowId}/hooks
|
|
1418
1982
|
* @secure
|
|
1419
1983
|
*/
|
|
1420
|
-
|
|
1421
|
-
path:
|
|
1984
|
+
providerControllerGetWorkflowTriggerHook: (provider, workflowId, params = {}) => this.request({
|
|
1985
|
+
path: `/${provider}/workflows/${workflowId}/hooks`,
|
|
1422
1986
|
method: 'GET',
|
|
1423
1987
|
secure: true,
|
|
1424
1988
|
format: 'json',
|
|
@@ -1427,50 +1991,47 @@ class Api extends HttpClient {
|
|
|
1427
1991
|
/**
|
|
1428
1992
|
* No description
|
|
1429
1993
|
*
|
|
1430
|
-
* @tags
|
|
1431
|
-
* @name
|
|
1432
|
-
* @
|
|
1433
|
-
* @request PATCH:/token/{id}
|
|
1994
|
+
* @tags Providers
|
|
1995
|
+
* @name ProviderControllerGetLocations
|
|
1996
|
+
* @request GET:/{provider}/locations
|
|
1434
1997
|
* @secure
|
|
1435
1998
|
*/
|
|
1436
|
-
|
|
1437
|
-
path:
|
|
1438
|
-
method: '
|
|
1439
|
-
body: data,
|
|
1999
|
+
providerControllerGetLocations: (provider, params = {}) => this.request({
|
|
2000
|
+
path: `/${provider}/locations`,
|
|
2001
|
+
method: 'GET',
|
|
1440
2002
|
secure: true,
|
|
1441
|
-
type: ContentType.Json,
|
|
1442
2003
|
format: 'json',
|
|
1443
2004
|
...params,
|
|
1444
2005
|
}),
|
|
1445
2006
|
/**
|
|
1446
2007
|
* No description
|
|
1447
2008
|
*
|
|
1448
|
-
* @tags
|
|
1449
|
-
* @name
|
|
1450
|
-
* @summary
|
|
1451
|
-
* @request
|
|
2009
|
+
* @tags Providers
|
|
2010
|
+
* @name VoiceProviderControllerSearchVoices
|
|
2011
|
+
* @summary Search Voice from Provider Voice Library.
|
|
2012
|
+
* @request GET:/{provider}/voices/search
|
|
2013
|
+
* @deprecated
|
|
1452
2014
|
* @secure
|
|
1453
2015
|
*/
|
|
1454
|
-
|
|
1455
|
-
path:
|
|
1456
|
-
method: '
|
|
2016
|
+
voiceProviderControllerSearchVoices: (provider, query, params = {}) => this.request({
|
|
2017
|
+
path: `/${provider}/voices/search`,
|
|
2018
|
+
method: 'GET',
|
|
2019
|
+
query: query,
|
|
1457
2020
|
secure: true,
|
|
1458
2021
|
format: 'json',
|
|
1459
2022
|
...params,
|
|
1460
2023
|
}),
|
|
1461
|
-
};
|
|
1462
|
-
voiceLibrary = {
|
|
1463
2024
|
/**
|
|
1464
2025
|
* No description
|
|
1465
2026
|
*
|
|
1466
|
-
* @tags
|
|
1467
|
-
* @name
|
|
1468
|
-
* @summary
|
|
1469
|
-
* @request GET:/
|
|
2027
|
+
* @tags Providers
|
|
2028
|
+
* @name VoiceProviderControllerSearchVoice
|
|
2029
|
+
* @summary Search Voice from Provider Voice Library.
|
|
2030
|
+
* @request GET:/{provider}/voice/search
|
|
1470
2031
|
* @secure
|
|
1471
2032
|
*/
|
|
1472
|
-
|
|
1473
|
-
path:
|
|
2033
|
+
voiceProviderControllerSearchVoice: (provider, query, params = {}) => this.request({
|
|
2034
|
+
path: `/${provider}/voice/search`,
|
|
1474
2035
|
method: 'GET',
|
|
1475
2036
|
query: query,
|
|
1476
2037
|
secure: true,
|
|
@@ -1480,51 +2041,57 @@ class Api extends HttpClient {
|
|
|
1480
2041
|
/**
|
|
1481
2042
|
* No description
|
|
1482
2043
|
*
|
|
1483
|
-
* @tags
|
|
1484
|
-
* @name
|
|
1485
|
-
* @summary
|
|
1486
|
-
* @request
|
|
2044
|
+
* @tags Providers
|
|
2045
|
+
* @name VoiceProviderControllerAddVoices
|
|
2046
|
+
* @summary Add Shared Voice to your Provider Account.
|
|
2047
|
+
* @request POST:/{provider}/voices/add
|
|
2048
|
+
* @deprecated
|
|
1487
2049
|
* @secure
|
|
1488
2050
|
*/
|
|
1489
|
-
|
|
1490
|
-
path:
|
|
1491
|
-
method: '
|
|
2051
|
+
voiceProviderControllerAddVoices: (provider, data, params = {}) => this.request({
|
|
2052
|
+
path: `/${provider}/voices/add`,
|
|
2053
|
+
method: 'POST',
|
|
2054
|
+
body: data,
|
|
1492
2055
|
secure: true,
|
|
2056
|
+
type: ContentType.Json,
|
|
1493
2057
|
format: 'json',
|
|
1494
2058
|
...params,
|
|
1495
2059
|
}),
|
|
1496
2060
|
/**
|
|
1497
2061
|
* No description
|
|
1498
2062
|
*
|
|
1499
|
-
* @tags
|
|
1500
|
-
* @name
|
|
1501
|
-
* @summary
|
|
1502
|
-
* @request POST:/
|
|
2063
|
+
* @tags Providers
|
|
2064
|
+
* @name VoiceProviderControllerAddVoice
|
|
2065
|
+
* @summary Add Shared Voice to your Provider Account.
|
|
2066
|
+
* @request POST:/{provider}/voice/add
|
|
1503
2067
|
* @secure
|
|
1504
2068
|
*/
|
|
1505
|
-
|
|
1506
|
-
path:
|
|
2069
|
+
voiceProviderControllerAddVoice: (provider, data, params = {}) => this.request({
|
|
2070
|
+
path: `/${provider}/voice/add`,
|
|
1507
2071
|
method: 'POST',
|
|
2072
|
+
body: data,
|
|
1508
2073
|
secure: true,
|
|
2074
|
+
type: ContentType.Json,
|
|
1509
2075
|
format: 'json',
|
|
1510
2076
|
...params,
|
|
1511
2077
|
}),
|
|
2078
|
+
};
|
|
2079
|
+
v11Labs = {
|
|
1512
2080
|
/**
|
|
1513
2081
|
* No description
|
|
1514
2082
|
*
|
|
1515
|
-
* @tags
|
|
1516
|
-
* @name
|
|
1517
|
-
* @summary
|
|
1518
|
-
* @request POST:/voice
|
|
2083
|
+
* @tags Providers
|
|
2084
|
+
* @name VoiceProviderControllerCloneVoices
|
|
2085
|
+
* @summary Clone a voice to the provider account and add to Vapi Voice Library.
|
|
2086
|
+
* @request POST:/11labs/voice/clone
|
|
1519
2087
|
* @secure
|
|
1520
2088
|
*/
|
|
1521
|
-
|
|
1522
|
-
path: `/voice
|
|
2089
|
+
voiceProviderControllerCloneVoices: (data, params = {}) => this.request({
|
|
2090
|
+
path: `/11labs/voice/clone`,
|
|
1523
2091
|
method: 'POST',
|
|
1524
2092
|
body: data,
|
|
1525
2093
|
secure: true,
|
|
1526
|
-
type: ContentType.
|
|
1527
|
-
format: 'json',
|
|
2094
|
+
type: ContentType.FormData,
|
|
1528
2095
|
...params,
|
|
1529
2096
|
}),
|
|
1530
2097
|
};
|