@vapi-ai/web 2.2.3 → 2.2.5
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/api.ts +2495 -166
- package/dist/api.d.ts +10196 -6688
- package/dist/api.js +968 -351
- package/dist/vapi.d.ts +4 -2
- package/dist/vapi.js +22 -1
- package/generate-api.sh +11 -0
- package/package.json +2 -2
- package/vapi.ts +4 -2
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,85 +1062,67 @@ 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: `/
|
|
960
|
-
method: '
|
|
961
|
-
|
|
1089
|
+
testSuiteControllerFindAllPaginated: (query, params = {}) => this.request({
|
|
1090
|
+
path: `/test-suite`,
|
|
1091
|
+
method: 'GET',
|
|
1092
|
+
query: query,
|
|
962
1093
|
secure: true,
|
|
963
|
-
type: ContentType.FormData,
|
|
964
1094
|
format: 'json',
|
|
965
1095
|
...params,
|
|
966
1096
|
}),
|
|
967
1097
|
/**
|
|
968
1098
|
* No description
|
|
969
1099
|
*
|
|
970
|
-
* @tags
|
|
971
|
-
* @name
|
|
972
|
-
* @summary
|
|
973
|
-
* @request POST:/
|
|
1100
|
+
* @tags Test Suites
|
|
1101
|
+
* @name TestSuiteControllerCreate
|
|
1102
|
+
* @summary Create Test Suite
|
|
1103
|
+
* @request POST:/test-suite
|
|
974
1104
|
* @secure
|
|
975
1105
|
*/
|
|
976
|
-
|
|
977
|
-
path: `/
|
|
1106
|
+
testSuiteControllerCreate: (data, params = {}) => this.request({
|
|
1107
|
+
path: `/test-suite`,
|
|
978
1108
|
method: 'POST',
|
|
979
1109
|
body: data,
|
|
980
1110
|
secure: true,
|
|
981
|
-
type: ContentType.
|
|
982
|
-
format: 'json',
|
|
983
|
-
...params,
|
|
984
|
-
}),
|
|
985
|
-
/**
|
|
986
|
-
* No description
|
|
987
|
-
*
|
|
988
|
-
* @tags Files
|
|
989
|
-
* @name FileControllerFindAll
|
|
990
|
-
* @summary List Files
|
|
991
|
-
* @request GET:/file
|
|
992
|
-
* @secure
|
|
993
|
-
*/
|
|
994
|
-
fileControllerFindAll: (params = {}) => this.request({
|
|
995
|
-
path: `/file`,
|
|
996
|
-
method: 'GET',
|
|
997
|
-
secure: true,
|
|
1111
|
+
type: ContentType.Json,
|
|
998
1112
|
format: 'json',
|
|
999
1113
|
...params,
|
|
1000
1114
|
}),
|
|
1001
1115
|
/**
|
|
1002
1116
|
* No description
|
|
1003
1117
|
*
|
|
1004
|
-
* @tags
|
|
1005
|
-
* @name
|
|
1006
|
-
* @summary Get
|
|
1007
|
-
* @request GET:/
|
|
1118
|
+
* @tags Test Suites
|
|
1119
|
+
* @name TestSuiteControllerFindOne
|
|
1120
|
+
* @summary Get Test Suite
|
|
1121
|
+
* @request GET:/test-suite/{id}
|
|
1008
1122
|
* @secure
|
|
1009
1123
|
*/
|
|
1010
|
-
|
|
1011
|
-
path: `/
|
|
1124
|
+
testSuiteControllerFindOne: (id, params = {}) => this.request({
|
|
1125
|
+
path: `/test-suite/${id}`,
|
|
1012
1126
|
method: 'GET',
|
|
1013
1127
|
secure: true,
|
|
1014
1128
|
format: 'json',
|
|
@@ -1017,14 +1131,14 @@ class Api extends HttpClient {
|
|
|
1017
1131
|
/**
|
|
1018
1132
|
* No description
|
|
1019
1133
|
*
|
|
1020
|
-
* @tags
|
|
1021
|
-
* @name
|
|
1022
|
-
* @summary Update
|
|
1023
|
-
* @request PATCH:/
|
|
1134
|
+
* @tags Test Suites
|
|
1135
|
+
* @name TestSuiteControllerUpdate
|
|
1136
|
+
* @summary Update Test Suite
|
|
1137
|
+
* @request PATCH:/test-suite/{id}
|
|
1024
1138
|
* @secure
|
|
1025
1139
|
*/
|
|
1026
|
-
|
|
1027
|
-
path: `/
|
|
1140
|
+
testSuiteControllerUpdate: (id, data, params = {}) => this.request({
|
|
1141
|
+
path: `/test-suite/${id}`,
|
|
1028
1142
|
method: 'PATCH',
|
|
1029
1143
|
body: data,
|
|
1030
1144
|
secure: true,
|
|
@@ -1035,52 +1149,47 @@ class Api extends HttpClient {
|
|
|
1035
1149
|
/**
|
|
1036
1150
|
* No description
|
|
1037
1151
|
*
|
|
1038
|
-
* @tags
|
|
1039
|
-
* @name
|
|
1040
|
-
* @summary Delete
|
|
1041
|
-
* @request DELETE:/
|
|
1152
|
+
* @tags Test Suites
|
|
1153
|
+
* @name TestSuiteControllerRemove
|
|
1154
|
+
* @summary Delete Test Suite
|
|
1155
|
+
* @request DELETE:/test-suite/{id}
|
|
1042
1156
|
* @secure
|
|
1043
1157
|
*/
|
|
1044
|
-
|
|
1045
|
-
path: `/
|
|
1158
|
+
testSuiteControllerRemove: (id, params = {}) => this.request({
|
|
1159
|
+
path: `/test-suite/${id}`,
|
|
1046
1160
|
method: 'DELETE',
|
|
1047
1161
|
secure: true,
|
|
1048
1162
|
format: 'json',
|
|
1049
1163
|
...params,
|
|
1050
1164
|
}),
|
|
1051
|
-
};
|
|
1052
|
-
metrics = {
|
|
1053
1165
|
/**
|
|
1054
|
-
*
|
|
1166
|
+
* No description
|
|
1055
1167
|
*
|
|
1056
|
-
* @tags
|
|
1057
|
-
* @name
|
|
1058
|
-
* @summary List
|
|
1059
|
-
* @request GET:/
|
|
1060
|
-
* @deprecated
|
|
1168
|
+
* @tags Test Suite Tests
|
|
1169
|
+
* @name TestSuiteTestControllerFindAllPaginated
|
|
1170
|
+
* @summary List Tests
|
|
1171
|
+
* @request GET:/test-suite/{testSuiteId}/test
|
|
1061
1172
|
* @secure
|
|
1062
1173
|
*/
|
|
1063
|
-
|
|
1064
|
-
path: `/
|
|
1174
|
+
testSuiteTestControllerFindAllPaginated: (testSuiteId, query, params = {}) => this.request({
|
|
1175
|
+
path: `/test-suite/${testSuiteId}/test`,
|
|
1065
1176
|
method: 'GET',
|
|
1066
1177
|
query: query,
|
|
1067
1178
|
secure: true,
|
|
1068
1179
|
format: 'json',
|
|
1069
1180
|
...params,
|
|
1070
1181
|
}),
|
|
1071
|
-
};
|
|
1072
|
-
analytics = {
|
|
1073
1182
|
/**
|
|
1074
1183
|
* No description
|
|
1075
1184
|
*
|
|
1076
|
-
* @tags
|
|
1077
|
-
* @name
|
|
1078
|
-
* @summary Create
|
|
1079
|
-
* @request POST:/
|
|
1185
|
+
* @tags Test Suite Tests
|
|
1186
|
+
* @name TestSuiteTestControllerCreate
|
|
1187
|
+
* @summary Create Test
|
|
1188
|
+
* @request POST:/test-suite/{testSuiteId}/test
|
|
1080
1189
|
* @secure
|
|
1081
1190
|
*/
|
|
1082
|
-
|
|
1083
|
-
path: `/
|
|
1191
|
+
testSuiteTestControllerCreate: (testSuiteId, data, params = {}) => this.request({
|
|
1192
|
+
path: `/test-suite/${testSuiteId}/test`,
|
|
1084
1193
|
method: 'POST',
|
|
1085
1194
|
body: data,
|
|
1086
1195
|
secure: true,
|
|
@@ -1091,91 +1200,81 @@ class Api extends HttpClient {
|
|
|
1091
1200
|
/**
|
|
1092
1201
|
* No description
|
|
1093
1202
|
*
|
|
1094
|
-
* @tags
|
|
1095
|
-
* @name
|
|
1096
|
-
* @summary Get
|
|
1097
|
-
* @request GET:/
|
|
1203
|
+
* @tags Test Suite Tests
|
|
1204
|
+
* @name TestSuiteTestControllerFindOne
|
|
1205
|
+
* @summary Get Test
|
|
1206
|
+
* @request GET:/test-suite/{testSuiteId}/test/{id}
|
|
1098
1207
|
* @secure
|
|
1099
1208
|
*/
|
|
1100
|
-
|
|
1101
|
-
path: `/
|
|
1209
|
+
testSuiteTestControllerFindOne: (testSuiteId, id, params = {}) => this.request({
|
|
1210
|
+
path: `/test-suite/${testSuiteId}/test/${id}`,
|
|
1102
1211
|
method: 'GET',
|
|
1103
|
-
body: data,
|
|
1104
1212
|
secure: true,
|
|
1105
|
-
type: ContentType.Json,
|
|
1106
1213
|
format: 'json',
|
|
1107
1214
|
...params,
|
|
1108
1215
|
}),
|
|
1109
|
-
};
|
|
1110
|
-
log = {
|
|
1111
1216
|
/**
|
|
1112
1217
|
* No description
|
|
1113
1218
|
*
|
|
1114
|
-
* @tags
|
|
1115
|
-
* @name
|
|
1116
|
-
* @
|
|
1219
|
+
* @tags Test Suite Tests
|
|
1220
|
+
* @name TestSuiteTestControllerUpdate
|
|
1221
|
+
* @summary Update Test
|
|
1222
|
+
* @request PATCH:/test-suite/{testSuiteId}/test/{id}
|
|
1117
1223
|
* @secure
|
|
1118
1224
|
*/
|
|
1119
|
-
|
|
1120
|
-
path: `/
|
|
1121
|
-
method: '
|
|
1122
|
-
|
|
1225
|
+
testSuiteTestControllerUpdate: (testSuiteId, id, data, params = {}) => this.request({
|
|
1226
|
+
path: `/test-suite/${testSuiteId}/test/${id}`,
|
|
1227
|
+
method: 'PATCH',
|
|
1228
|
+
body: data,
|
|
1123
1229
|
secure: true,
|
|
1230
|
+
type: ContentType.Json,
|
|
1124
1231
|
format: 'json',
|
|
1125
1232
|
...params,
|
|
1126
1233
|
}),
|
|
1127
|
-
};
|
|
1128
|
-
logs = {
|
|
1129
1234
|
/**
|
|
1130
1235
|
* No description
|
|
1131
1236
|
*
|
|
1132
|
-
* @tags
|
|
1133
|
-
* @name
|
|
1134
|
-
* @summary
|
|
1135
|
-
* @request
|
|
1237
|
+
* @tags Test Suite Tests
|
|
1238
|
+
* @name TestSuiteTestControllerRemove
|
|
1239
|
+
* @summary Delete Test
|
|
1240
|
+
* @request DELETE:/test-suite/{testSuiteId}/test/{id}
|
|
1136
1241
|
* @secure
|
|
1137
1242
|
*/
|
|
1138
|
-
|
|
1139
|
-
path: `/
|
|
1140
|
-
method: '
|
|
1141
|
-
query: query,
|
|
1243
|
+
testSuiteTestControllerRemove: (testSuiteId, id, params = {}) => this.request({
|
|
1244
|
+
path: `/test-suite/${testSuiteId}/test/${id}`,
|
|
1245
|
+
method: 'DELETE',
|
|
1142
1246
|
secure: true,
|
|
1143
1247
|
format: 'json',
|
|
1144
1248
|
...params,
|
|
1145
1249
|
}),
|
|
1146
|
-
};
|
|
1147
|
-
chat = {
|
|
1148
1250
|
/**
|
|
1149
1251
|
* No description
|
|
1150
1252
|
*
|
|
1151
|
-
* @tags
|
|
1152
|
-
* @name
|
|
1153
|
-
* @summary
|
|
1154
|
-
* @request
|
|
1253
|
+
* @tags Test Suite Runs
|
|
1254
|
+
* @name TestSuiteRunControllerFindAllPaginated
|
|
1255
|
+
* @summary List Test Suite Runs
|
|
1256
|
+
* @request GET:/test-suite/{testSuiteId}/run
|
|
1155
1257
|
* @secure
|
|
1156
1258
|
*/
|
|
1157
|
-
|
|
1158
|
-
path: `/
|
|
1159
|
-
method: '
|
|
1160
|
-
|
|
1259
|
+
testSuiteRunControllerFindAllPaginated: (testSuiteId, query, params = {}) => this.request({
|
|
1260
|
+
path: `/test-suite/${testSuiteId}/run`,
|
|
1261
|
+
method: 'GET',
|
|
1262
|
+
query: query,
|
|
1161
1263
|
secure: true,
|
|
1162
|
-
type: ContentType.Json,
|
|
1163
1264
|
format: 'json',
|
|
1164
1265
|
...params,
|
|
1165
1266
|
}),
|
|
1166
|
-
};
|
|
1167
|
-
credential = {
|
|
1168
1267
|
/**
|
|
1169
1268
|
* No description
|
|
1170
1269
|
*
|
|
1171
|
-
* @tags
|
|
1172
|
-
* @name
|
|
1173
|
-
* @summary Create
|
|
1174
|
-
* @request POST:/
|
|
1270
|
+
* @tags Test Suite Runs
|
|
1271
|
+
* @name TestSuiteRunControllerCreate
|
|
1272
|
+
* @summary Create Test Suite Run
|
|
1273
|
+
* @request POST:/test-suite/{testSuiteId}/run
|
|
1175
1274
|
* @secure
|
|
1176
1275
|
*/
|
|
1177
|
-
|
|
1178
|
-
path: `/
|
|
1276
|
+
testSuiteRunControllerCreate: (testSuiteId, data, params = {}) => this.request({
|
|
1277
|
+
path: `/test-suite/${testSuiteId}/run`,
|
|
1179
1278
|
method: 'POST',
|
|
1180
1279
|
body: data,
|
|
1181
1280
|
secure: true,
|
|
@@ -1186,16 +1285,15 @@ class Api extends HttpClient {
|
|
|
1186
1285
|
/**
|
|
1187
1286
|
* No description
|
|
1188
1287
|
*
|
|
1189
|
-
* @tags
|
|
1190
|
-
* @name
|
|
1191
|
-
* @summary
|
|
1192
|
-
* @request GET:/
|
|
1288
|
+
* @tags Test Suite Runs
|
|
1289
|
+
* @name TestSuiteRunControllerFindOne
|
|
1290
|
+
* @summary Get Test Suite Run
|
|
1291
|
+
* @request GET:/test-suite/{testSuiteId}/run/{id}
|
|
1193
1292
|
* @secure
|
|
1194
1293
|
*/
|
|
1195
|
-
|
|
1196
|
-
path: `/
|
|
1294
|
+
testSuiteRunControllerFindOne: (testSuiteId, id, params = {}) => this.request({
|
|
1295
|
+
path: `/test-suite/${testSuiteId}/run/${id}`,
|
|
1197
1296
|
method: 'GET',
|
|
1198
|
-
query: query,
|
|
1199
1297
|
secure: true,
|
|
1200
1298
|
format: 'json',
|
|
1201
1299
|
...params,
|
|
@@ -1203,79 +1301,92 @@ class Api extends HttpClient {
|
|
|
1203
1301
|
/**
|
|
1204
1302
|
* No description
|
|
1205
1303
|
*
|
|
1206
|
-
* @tags
|
|
1207
|
-
* @name
|
|
1208
|
-
* @summary
|
|
1209
|
-
* @request
|
|
1304
|
+
* @tags Test Suite Runs
|
|
1305
|
+
* @name TestSuiteRunControllerUpdate
|
|
1306
|
+
* @summary Update Test Suite Run
|
|
1307
|
+
* @request PATCH:/test-suite/{testSuiteId}/run/{id}
|
|
1210
1308
|
* @secure
|
|
1211
1309
|
*/
|
|
1212
|
-
|
|
1213
|
-
path: `/
|
|
1214
|
-
method: '
|
|
1310
|
+
testSuiteRunControllerUpdate: (testSuiteId, id, data, params = {}) => this.request({
|
|
1311
|
+
path: `/test-suite/${testSuiteId}/run/${id}`,
|
|
1312
|
+
method: 'PATCH',
|
|
1313
|
+
body: data,
|
|
1215
1314
|
secure: true,
|
|
1315
|
+
type: ContentType.Json,
|
|
1216
1316
|
format: 'json',
|
|
1217
1317
|
...params,
|
|
1218
1318
|
}),
|
|
1219
1319
|
/**
|
|
1220
1320
|
* No description
|
|
1221
1321
|
*
|
|
1222
|
-
* @tags
|
|
1223
|
-
* @name
|
|
1224
|
-
* @summary Delete
|
|
1225
|
-
* @request DELETE:/
|
|
1322
|
+
* @tags Test Suite Runs
|
|
1323
|
+
* @name TestSuiteRunControllerRemove
|
|
1324
|
+
* @summary Delete Test Suite Run
|
|
1325
|
+
* @request DELETE:/test-suite/{testSuiteId}/run/{id}
|
|
1226
1326
|
* @secure
|
|
1227
1327
|
*/
|
|
1228
|
-
|
|
1229
|
-
path: `/
|
|
1328
|
+
testSuiteRunControllerRemove: (testSuiteId, id, params = {}) => this.request({
|
|
1329
|
+
path: `/test-suite/${testSuiteId}/run/${id}`,
|
|
1230
1330
|
method: 'DELETE',
|
|
1231
1331
|
secure: true,
|
|
1232
1332
|
format: 'json',
|
|
1233
1333
|
...params,
|
|
1234
1334
|
}),
|
|
1235
1335
|
};
|
|
1236
|
-
|
|
1336
|
+
metrics = {
|
|
1237
1337
|
/**
|
|
1238
|
-
*
|
|
1338
|
+
* @description Use GET /metric instead
|
|
1239
1339
|
*
|
|
1240
|
-
* @tags
|
|
1241
|
-
* @name
|
|
1242
|
-
* @
|
|
1340
|
+
* @tags Analytics
|
|
1341
|
+
* @name AnalyticsControllerFindAllDeprecated
|
|
1342
|
+
* @summary List Billing Metrics
|
|
1343
|
+
* @request GET:/metrics
|
|
1344
|
+
* @deprecated
|
|
1243
1345
|
* @secure
|
|
1244
1346
|
*/
|
|
1245
|
-
|
|
1246
|
-
path:
|
|
1347
|
+
analyticsControllerFindAllDeprecated: (query, params = {}) => this.request({
|
|
1348
|
+
path: `/metrics`,
|
|
1247
1349
|
method: 'GET',
|
|
1248
1350
|
query: query,
|
|
1249
1351
|
secure: true,
|
|
1250
1352
|
format: 'json',
|
|
1251
1353
|
...params,
|
|
1252
1354
|
}),
|
|
1355
|
+
};
|
|
1356
|
+
analytics = {
|
|
1253
1357
|
/**
|
|
1254
1358
|
* No description
|
|
1255
1359
|
*
|
|
1256
|
-
* @tags
|
|
1257
|
-
* @name
|
|
1258
|
-
* @
|
|
1360
|
+
* @tags Analytics
|
|
1361
|
+
* @name AnalyticsControllerQuery
|
|
1362
|
+
* @summary Create Analytics Queries
|
|
1363
|
+
* @request POST:/analytics
|
|
1259
1364
|
* @secure
|
|
1260
1365
|
*/
|
|
1261
|
-
|
|
1262
|
-
path:
|
|
1263
|
-
method: '
|
|
1366
|
+
analyticsControllerQuery: (data, params = {}) => this.request({
|
|
1367
|
+
path: `/analytics`,
|
|
1368
|
+
method: 'POST',
|
|
1369
|
+
body: data,
|
|
1264
1370
|
secure: true,
|
|
1371
|
+
type: ContentType.Json,
|
|
1265
1372
|
format: 'json',
|
|
1266
1373
|
...params,
|
|
1267
1374
|
}),
|
|
1375
|
+
};
|
|
1376
|
+
log = {
|
|
1268
1377
|
/**
|
|
1269
1378
|
* No description
|
|
1270
1379
|
*
|
|
1271
|
-
* @tags
|
|
1272
|
-
* @name
|
|
1273
|
-
* @
|
|
1380
|
+
* @tags Logs
|
|
1381
|
+
* @name LoggingControllerCallLogsQuery
|
|
1382
|
+
* @summary Get Call Logs
|
|
1383
|
+
* @request GET:/log
|
|
1274
1384
|
* @secure
|
|
1275
1385
|
*/
|
|
1276
|
-
|
|
1277
|
-
path:
|
|
1386
|
+
loggingControllerCallLogsQuery: (query, params = {}) => this.request({
|
|
1387
|
+
path: `/log`,
|
|
1278
1388
|
method: 'GET',
|
|
1389
|
+
query: query,
|
|
1279
1390
|
secure: true,
|
|
1280
1391
|
format: 'json',
|
|
1281
1392
|
...params,
|
|
@@ -1283,32 +1394,33 @@ class Api extends HttpClient {
|
|
|
1283
1394
|
/**
|
|
1284
1395
|
* No description
|
|
1285
1396
|
*
|
|
1286
|
-
* @tags
|
|
1287
|
-
* @name
|
|
1288
|
-
* @summary
|
|
1289
|
-
* @request
|
|
1290
|
-
* @deprecated
|
|
1397
|
+
* @tags Logs
|
|
1398
|
+
* @name LoggingControllerCallLogsDeleteQuery
|
|
1399
|
+
* @summary Delete Call Logs
|
|
1400
|
+
* @request DELETE:/log
|
|
1291
1401
|
* @secure
|
|
1292
1402
|
*/
|
|
1293
|
-
|
|
1294
|
-
path:
|
|
1295
|
-
method: '
|
|
1403
|
+
loggingControllerCallLogsDeleteQuery: (query, params = {}) => this.request({
|
|
1404
|
+
path: `/log`,
|
|
1405
|
+
method: 'DELETE',
|
|
1296
1406
|
query: query,
|
|
1297
1407
|
secure: true,
|
|
1298
|
-
format: 'json',
|
|
1299
1408
|
...params,
|
|
1300
1409
|
}),
|
|
1410
|
+
};
|
|
1411
|
+
logs = {
|
|
1301
1412
|
/**
|
|
1302
1413
|
* No description
|
|
1303
1414
|
*
|
|
1304
|
-
* @tags
|
|
1305
|
-
* @name
|
|
1306
|
-
* @summary
|
|
1307
|
-
* @request GET:/
|
|
1415
|
+
* @tags Logs
|
|
1416
|
+
* @name LoggingControllerLogsQuery
|
|
1417
|
+
* @summary Get Logs
|
|
1418
|
+
* @request GET:/logs
|
|
1419
|
+
* @deprecated
|
|
1308
1420
|
* @secure
|
|
1309
1421
|
*/
|
|
1310
|
-
|
|
1311
|
-
path:
|
|
1422
|
+
loggingControllerLogsQuery: (query, params = {}) => this.request({
|
|
1423
|
+
path: `/logs`,
|
|
1312
1424
|
method: 'GET',
|
|
1313
1425
|
query: query,
|
|
1314
1426
|
secure: true,
|
|
@@ -1318,15 +1430,33 @@ class Api extends HttpClient {
|
|
|
1318
1430
|
/**
|
|
1319
1431
|
* No description
|
|
1320
1432
|
*
|
|
1321
|
-
* @tags
|
|
1322
|
-
* @name
|
|
1323
|
-
* @summary
|
|
1324
|
-
* @request
|
|
1433
|
+
* @tags Logs
|
|
1434
|
+
* @name LoggingControllerLogsDeleteQuery
|
|
1435
|
+
* @summary Delete Logs
|
|
1436
|
+
* @request DELETE:/logs
|
|
1325
1437
|
* @deprecated
|
|
1326
1438
|
* @secure
|
|
1327
1439
|
*/
|
|
1328
|
-
|
|
1329
|
-
path:
|
|
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`,
|
|
1330
1460
|
method: 'POST',
|
|
1331
1461
|
body: data,
|
|
1332
1462
|
secure: true,
|
|
@@ -1337,38 +1467,146 @@ class Api extends HttpClient {
|
|
|
1337
1467
|
/**
|
|
1338
1468
|
* No description
|
|
1339
1469
|
*
|
|
1340
|
-
* @tags
|
|
1341
|
-
* @name
|
|
1342
|
-
* @summary
|
|
1343
|
-
* @request
|
|
1470
|
+
* @tags Orgs
|
|
1471
|
+
* @name OrgControllerFindAll
|
|
1472
|
+
* @summary List Orgs
|
|
1473
|
+
* @request GET:/org
|
|
1344
1474
|
* @secure
|
|
1345
1475
|
*/
|
|
1346
|
-
|
|
1347
|
-
path:
|
|
1348
|
-
method: '
|
|
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',
|
|
1349
1511
|
body: data,
|
|
1350
1512
|
secure: true,
|
|
1351
1513
|
type: ContentType.Json,
|
|
1352
1514
|
format: 'json',
|
|
1353
1515
|
...params,
|
|
1354
1516
|
}),
|
|
1355
|
-
};
|
|
1356
|
-
v11Labs = {
|
|
1357
1517
|
/**
|
|
1358
1518
|
* No description
|
|
1359
1519
|
*
|
|
1360
|
-
* @tags
|
|
1361
|
-
* @name
|
|
1362
|
-
* @summary
|
|
1363
|
-
* @request
|
|
1520
|
+
* @tags Orgs
|
|
1521
|
+
* @name OrgControllerDeleteOrg
|
|
1522
|
+
* @summary Delete Org
|
|
1523
|
+
* @request DELETE:/org/{id}
|
|
1364
1524
|
* @secure
|
|
1365
1525
|
*/
|
|
1366
|
-
|
|
1367
|
-
path: `/
|
|
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`,
|
|
1368
1589
|
method: 'POST',
|
|
1369
1590
|
body: data,
|
|
1370
1591
|
secure: true,
|
|
1371
|
-
type: ContentType.
|
|
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,
|
|
1372
1610
|
...params,
|
|
1373
1611
|
}),
|
|
1374
1612
|
};
|
|
@@ -1376,7 +1614,7 @@ class Api extends HttpClient {
|
|
|
1376
1614
|
/**
|
|
1377
1615
|
* No description
|
|
1378
1616
|
*
|
|
1379
|
-
* @tags Tokens
|
|
1617
|
+
* @tags Tokens
|
|
1380
1618
|
* @name TokenControllerCreate
|
|
1381
1619
|
* @summary Create Token
|
|
1382
1620
|
* @request POST:/token
|
|
@@ -1394,7 +1632,7 @@ class Api extends HttpClient {
|
|
|
1394
1632
|
/**
|
|
1395
1633
|
* No description
|
|
1396
1634
|
*
|
|
1397
|
-
* @tags Tokens
|
|
1635
|
+
* @tags Tokens
|
|
1398
1636
|
* @name TokenControllerFindAll
|
|
1399
1637
|
* @summary List Tokens
|
|
1400
1638
|
* @request GET:/token
|
|
@@ -1411,7 +1649,7 @@ class Api extends HttpClient {
|
|
|
1411
1649
|
/**
|
|
1412
1650
|
* No description
|
|
1413
1651
|
*
|
|
1414
|
-
* @tags Tokens
|
|
1652
|
+
* @tags Tokens
|
|
1415
1653
|
* @name TokenControllerFindOne
|
|
1416
1654
|
* @summary Get Token
|
|
1417
1655
|
* @request GET:/token/{id}
|
|
@@ -1427,7 +1665,7 @@ class Api extends HttpClient {
|
|
|
1427
1665
|
/**
|
|
1428
1666
|
* No description
|
|
1429
1667
|
*
|
|
1430
|
-
* @tags Tokens
|
|
1668
|
+
* @tags Tokens
|
|
1431
1669
|
* @name TokenControllerUpdate
|
|
1432
1670
|
* @summary Update Token
|
|
1433
1671
|
* @request PATCH:/token/{id}
|
|
@@ -1445,7 +1683,7 @@ class Api extends HttpClient {
|
|
|
1445
1683
|
/**
|
|
1446
1684
|
* No description
|
|
1447
1685
|
*
|
|
1448
|
-
* @tags Tokens
|
|
1686
|
+
* @tags Tokens
|
|
1449
1687
|
* @name TokenControllerRemove
|
|
1450
1688
|
* @summary Delete Token
|
|
1451
1689
|
* @request DELETE:/token/{id}
|
|
@@ -1459,11 +1697,251 @@ class Api extends HttpClient {
|
|
|
1459
1697
|
...params,
|
|
1460
1698
|
}),
|
|
1461
1699
|
};
|
|
1700
|
+
credential = {
|
|
1701
|
+
/**
|
|
1702
|
+
* No description
|
|
1703
|
+
*
|
|
1704
|
+
* @tags Credentials
|
|
1705
|
+
* @name CredentialControllerCreate
|
|
1706
|
+
* @summary Create Credential
|
|
1707
|
+
* @request POST:/credential
|
|
1708
|
+
* @secure
|
|
1709
|
+
*/
|
|
1710
|
+
credentialControllerCreate: (data, params = {}) => this.request({
|
|
1711
|
+
path: `/credential`,
|
|
1712
|
+
method: 'POST',
|
|
1713
|
+
body: data,
|
|
1714
|
+
secure: true,
|
|
1715
|
+
type: ContentType.Json,
|
|
1716
|
+
format: 'json',
|
|
1717
|
+
...params,
|
|
1718
|
+
}),
|
|
1719
|
+
/**
|
|
1720
|
+
* No description
|
|
1721
|
+
*
|
|
1722
|
+
* @tags Credentials
|
|
1723
|
+
* @name CredentialControllerFindAll
|
|
1724
|
+
* @summary List Credentials
|
|
1725
|
+
* @request GET:/credential
|
|
1726
|
+
* @secure
|
|
1727
|
+
*/
|
|
1728
|
+
credentialControllerFindAll: (query, params = {}) => this.request({
|
|
1729
|
+
path: `/credential`,
|
|
1730
|
+
method: 'GET',
|
|
1731
|
+
query: query,
|
|
1732
|
+
secure: true,
|
|
1733
|
+
format: 'json',
|
|
1734
|
+
...params,
|
|
1735
|
+
}),
|
|
1736
|
+
/**
|
|
1737
|
+
* No description
|
|
1738
|
+
*
|
|
1739
|
+
* @tags Credentials
|
|
1740
|
+
* @name CredentialControllerFindOne
|
|
1741
|
+
* @summary Get Credential
|
|
1742
|
+
* @request GET:/credential/{id}
|
|
1743
|
+
* @secure
|
|
1744
|
+
*/
|
|
1745
|
+
credentialControllerFindOne: (id, params = {}) => this.request({
|
|
1746
|
+
path: `/credential/${id}`,
|
|
1747
|
+
method: 'GET',
|
|
1748
|
+
secure: true,
|
|
1749
|
+
format: 'json',
|
|
1750
|
+
...params,
|
|
1751
|
+
}),
|
|
1752
|
+
/**
|
|
1753
|
+
* No description
|
|
1754
|
+
*
|
|
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
|
|
1774
|
+
* @name CredentialControllerRemove
|
|
1775
|
+
* @summary Delete Credential
|
|
1776
|
+
* @request DELETE:/credential/{id}
|
|
1777
|
+
* @secure
|
|
1778
|
+
*/
|
|
1779
|
+
credentialControllerRemove: (id, params = {}) => this.request({
|
|
1780
|
+
path: `/credential/${id}`,
|
|
1781
|
+
method: 'DELETE',
|
|
1782
|
+
secure: true,
|
|
1783
|
+
format: 'json',
|
|
1784
|
+
...params,
|
|
1785
|
+
}),
|
|
1786
|
+
/**
|
|
1787
|
+
* No description
|
|
1788
|
+
*
|
|
1789
|
+
* @tags Credentials
|
|
1790
|
+
* @name CredentialControllerGenerateSession
|
|
1791
|
+
* @summary Generate a credential session
|
|
1792
|
+
* @request POST:/credential/session
|
|
1793
|
+
* @secure
|
|
1794
|
+
*/
|
|
1795
|
+
credentialControllerGenerateSession: (data, params = {}) => this.request({
|
|
1796
|
+
path: `/credential/session`,
|
|
1797
|
+
method: 'POST',
|
|
1798
|
+
body: data,
|
|
1799
|
+
secure: true,
|
|
1800
|
+
type: ContentType.Json,
|
|
1801
|
+
format: 'json',
|
|
1802
|
+
...params,
|
|
1803
|
+
}),
|
|
1804
|
+
/**
|
|
1805
|
+
* No description
|
|
1806
|
+
*
|
|
1807
|
+
* @tags Credentials
|
|
1808
|
+
* @name CredentialControllerHandleWebhook
|
|
1809
|
+
* @summary Handle credential webhook
|
|
1810
|
+
* @request POST:/credential/webhook
|
|
1811
|
+
*/
|
|
1812
|
+
credentialControllerHandleWebhook: (data, params = {}) => this.request({
|
|
1813
|
+
path: `/credential/webhook`,
|
|
1814
|
+
method: 'POST',
|
|
1815
|
+
body: data,
|
|
1816
|
+
type: ContentType.Json,
|
|
1817
|
+
...params,
|
|
1818
|
+
}),
|
|
1819
|
+
/**
|
|
1820
|
+
* No description
|
|
1821
|
+
*
|
|
1822
|
+
* @tags Credentials
|
|
1823
|
+
* @name CredentialControllerTriggerCredentialAction
|
|
1824
|
+
* @summary Trigger a credential action
|
|
1825
|
+
* @request POST:/credential/trigger
|
|
1826
|
+
* @secure
|
|
1827
|
+
*/
|
|
1828
|
+
credentialControllerTriggerCredentialAction: (data, params = {}) => this.request({
|
|
1829
|
+
path: `/credential/trigger`,
|
|
1830
|
+
method: 'POST',
|
|
1831
|
+
body: data,
|
|
1832
|
+
secure: true,
|
|
1833
|
+
type: ContentType.Json,
|
|
1834
|
+
...params,
|
|
1835
|
+
}),
|
|
1836
|
+
};
|
|
1837
|
+
template = {
|
|
1838
|
+
/**
|
|
1839
|
+
* No description
|
|
1840
|
+
*
|
|
1841
|
+
* @tags Templates
|
|
1842
|
+
* @name TemplateControllerCreate
|
|
1843
|
+
* @summary Create Template
|
|
1844
|
+
* @request POST:/template
|
|
1845
|
+
* @secure
|
|
1846
|
+
*/
|
|
1847
|
+
templateControllerCreate: (data, params = {}) => this.request({
|
|
1848
|
+
path: `/template`,
|
|
1849
|
+
method: 'POST',
|
|
1850
|
+
body: data,
|
|
1851
|
+
secure: true,
|
|
1852
|
+
type: ContentType.Json,
|
|
1853
|
+
format: 'json',
|
|
1854
|
+
...params,
|
|
1855
|
+
}),
|
|
1856
|
+
/**
|
|
1857
|
+
* No description
|
|
1858
|
+
*
|
|
1859
|
+
* @tags Templates
|
|
1860
|
+
* @name TemplateControllerFindAll
|
|
1861
|
+
* @summary List Templates
|
|
1862
|
+
* @request GET:/template
|
|
1863
|
+
* @secure
|
|
1864
|
+
*/
|
|
1865
|
+
templateControllerFindAll: (query, params = {}) => this.request({
|
|
1866
|
+
path: `/template`,
|
|
1867
|
+
method: 'GET',
|
|
1868
|
+
query: query,
|
|
1869
|
+
secure: true,
|
|
1870
|
+
format: 'json',
|
|
1871
|
+
...params,
|
|
1872
|
+
}),
|
|
1873
|
+
/**
|
|
1874
|
+
* No description
|
|
1875
|
+
*
|
|
1876
|
+
* @tags Templates
|
|
1877
|
+
* @name TemplateControllerFindAllPinned
|
|
1878
|
+
* @summary List Templates
|
|
1879
|
+
* @request GET:/template/pinned
|
|
1880
|
+
* @secure
|
|
1881
|
+
*/
|
|
1882
|
+
templateControllerFindAllPinned: (params = {}) => this.request({
|
|
1883
|
+
path: `/template/pinned`,
|
|
1884
|
+
method: 'GET',
|
|
1885
|
+
secure: true,
|
|
1886
|
+
format: 'json',
|
|
1887
|
+
...params,
|
|
1888
|
+
}),
|
|
1889
|
+
/**
|
|
1890
|
+
* No description
|
|
1891
|
+
*
|
|
1892
|
+
* @tags Templates
|
|
1893
|
+
* @name TemplateControllerFindOne
|
|
1894
|
+
* @summary Get Template
|
|
1895
|
+
* @request GET:/template/{id}
|
|
1896
|
+
* @secure
|
|
1897
|
+
*/
|
|
1898
|
+
templateControllerFindOne: (id, params = {}) => this.request({
|
|
1899
|
+
path: `/template/${id}`,
|
|
1900
|
+
method: 'GET',
|
|
1901
|
+
secure: true,
|
|
1902
|
+
format: 'json',
|
|
1903
|
+
...params,
|
|
1904
|
+
}),
|
|
1905
|
+
/**
|
|
1906
|
+
* No description
|
|
1907
|
+
*
|
|
1908
|
+
* @tags Templates
|
|
1909
|
+
* @name TemplateControllerUpdate
|
|
1910
|
+
* @summary Update Template
|
|
1911
|
+
* @request PATCH:/template/{id}
|
|
1912
|
+
* @secure
|
|
1913
|
+
*/
|
|
1914
|
+
templateControllerUpdate: (id, data, params = {}) => this.request({
|
|
1915
|
+
path: `/template/${id}`,
|
|
1916
|
+
method: 'PATCH',
|
|
1917
|
+
body: data,
|
|
1918
|
+
secure: true,
|
|
1919
|
+
type: ContentType.Json,
|
|
1920
|
+
format: 'json',
|
|
1921
|
+
...params,
|
|
1922
|
+
}),
|
|
1923
|
+
/**
|
|
1924
|
+
* No description
|
|
1925
|
+
*
|
|
1926
|
+
* @tags Templates
|
|
1927
|
+
* @name TemplateControllerRemove
|
|
1928
|
+
* @summary Delete Template
|
|
1929
|
+
* @request DELETE:/template/{id}
|
|
1930
|
+
* @secure
|
|
1931
|
+
*/
|
|
1932
|
+
templateControllerRemove: (id, params = {}) => this.request({
|
|
1933
|
+
path: `/template/${id}`,
|
|
1934
|
+
method: 'DELETE',
|
|
1935
|
+
secure: true,
|
|
1936
|
+
format: 'json',
|
|
1937
|
+
...params,
|
|
1938
|
+
}),
|
|
1939
|
+
};
|
|
1462
1940
|
voiceLibrary = {
|
|
1463
1941
|
/**
|
|
1464
1942
|
* No description
|
|
1465
1943
|
*
|
|
1466
|
-
* @tags Voice Library
|
|
1944
|
+
* @tags Voice Library
|
|
1467
1945
|
* @name VoiceLibraryControllerVoiceGetByProvider
|
|
1468
1946
|
* @summary Get voices in Voice Library by Provider
|
|
1469
1947
|
* @request GET:/voice-library/{provider}
|
|
@@ -1480,7 +1958,7 @@ class Api extends HttpClient {
|
|
|
1480
1958
|
/**
|
|
1481
1959
|
* No description
|
|
1482
1960
|
*
|
|
1483
|
-
* @tags Voice Library
|
|
1961
|
+
* @tags Voice Library
|
|
1484
1962
|
* @name VoiceLibraryControllerVoiceGetAccentsByProvider
|
|
1485
1963
|
* @summary Get accents in Voice Library by Provider
|
|
1486
1964
|
* @request GET:/voice-library/{provider}/accents
|
|
@@ -1496,7 +1974,7 @@ class Api extends HttpClient {
|
|
|
1496
1974
|
/**
|
|
1497
1975
|
* No description
|
|
1498
1976
|
*
|
|
1499
|
-
* @tags Voice Library
|
|
1977
|
+
* @tags Voice Library
|
|
1500
1978
|
* @name VoiceLibraryControllerVoiceLibrarySyncByProvider
|
|
1501
1979
|
* @summary Sync Private voices in Voice Library by Provider
|
|
1502
1980
|
* @request POST:/voice-library/sync/{provider}
|
|
@@ -1512,7 +1990,7 @@ class Api extends HttpClient {
|
|
|
1512
1990
|
/**
|
|
1513
1991
|
* No description
|
|
1514
1992
|
*
|
|
1515
|
-
* @tags Voice Library
|
|
1993
|
+
* @tags Voice Library
|
|
1516
1994
|
* @name VoiceLibraryControllerVoiceLibrarySyncDefaultVoices
|
|
1517
1995
|
* @summary Sync Default voices in Voice Library by Providers
|
|
1518
1996
|
* @request POST:/voice-library/sync
|
|
@@ -1528,5 +2006,144 @@ class Api extends HttpClient {
|
|
|
1528
2006
|
...params,
|
|
1529
2007
|
}),
|
|
1530
2008
|
};
|
|
2009
|
+
provider = {
|
|
2010
|
+
/**
|
|
2011
|
+
* No description
|
|
2012
|
+
*
|
|
2013
|
+
* @tags Providers
|
|
2014
|
+
* @name ProviderControllerGetWorkflows
|
|
2015
|
+
* @request GET:/{provider}/workflows
|
|
2016
|
+
* @secure
|
|
2017
|
+
*/
|
|
2018
|
+
providerControllerGetWorkflows: (provider, query, params = {}) => this.request({
|
|
2019
|
+
path: `/${provider}/workflows`,
|
|
2020
|
+
method: 'GET',
|
|
2021
|
+
query: query,
|
|
2022
|
+
secure: true,
|
|
2023
|
+
format: 'json',
|
|
2024
|
+
...params,
|
|
2025
|
+
}),
|
|
2026
|
+
/**
|
|
2027
|
+
* No description
|
|
2028
|
+
*
|
|
2029
|
+
* @tags Providers
|
|
2030
|
+
* @name ProviderControllerGetWorkflowTriggerHook
|
|
2031
|
+
* @request GET:/{provider}/workflows/{workflowId}/hooks
|
|
2032
|
+
* @secure
|
|
2033
|
+
*/
|
|
2034
|
+
providerControllerGetWorkflowTriggerHook: (provider, workflowId, params = {}) => this.request({
|
|
2035
|
+
path: `/${provider}/workflows/${workflowId}/hooks`,
|
|
2036
|
+
method: 'GET',
|
|
2037
|
+
secure: true,
|
|
2038
|
+
format: 'json',
|
|
2039
|
+
...params,
|
|
2040
|
+
}),
|
|
2041
|
+
/**
|
|
2042
|
+
* No description
|
|
2043
|
+
*
|
|
2044
|
+
* @tags Providers
|
|
2045
|
+
* @name ProviderControllerGetLocations
|
|
2046
|
+
* @request GET:/{provider}/locations
|
|
2047
|
+
* @secure
|
|
2048
|
+
*/
|
|
2049
|
+
providerControllerGetLocations: (provider, params = {}) => this.request({
|
|
2050
|
+
path: `/${provider}/locations`,
|
|
2051
|
+
method: 'GET',
|
|
2052
|
+
secure: true,
|
|
2053
|
+
format: 'json',
|
|
2054
|
+
...params,
|
|
2055
|
+
}),
|
|
2056
|
+
/**
|
|
2057
|
+
* No description
|
|
2058
|
+
*
|
|
2059
|
+
* @tags Providers
|
|
2060
|
+
* @name VoiceProviderControllerSearchVoices
|
|
2061
|
+
* @summary Search Voice from Provider Voice Library.
|
|
2062
|
+
* @request GET:/{provider}/voices/search
|
|
2063
|
+
* @deprecated
|
|
2064
|
+
* @secure
|
|
2065
|
+
*/
|
|
2066
|
+
voiceProviderControllerSearchVoices: (provider, query, params = {}) => this.request({
|
|
2067
|
+
path: `/${provider}/voices/search`,
|
|
2068
|
+
method: 'GET',
|
|
2069
|
+
query: query,
|
|
2070
|
+
secure: true,
|
|
2071
|
+
format: 'json',
|
|
2072
|
+
...params,
|
|
2073
|
+
}),
|
|
2074
|
+
/**
|
|
2075
|
+
* No description
|
|
2076
|
+
*
|
|
2077
|
+
* @tags Providers
|
|
2078
|
+
* @name VoiceProviderControllerSearchVoice
|
|
2079
|
+
* @summary Search Voice from Provider Voice Library.
|
|
2080
|
+
* @request GET:/{provider}/voice/search
|
|
2081
|
+
* @secure
|
|
2082
|
+
*/
|
|
2083
|
+
voiceProviderControllerSearchVoice: (provider, query, params = {}) => this.request({
|
|
2084
|
+
path: `/${provider}/voice/search`,
|
|
2085
|
+
method: 'GET',
|
|
2086
|
+
query: query,
|
|
2087
|
+
secure: true,
|
|
2088
|
+
format: 'json',
|
|
2089
|
+
...params,
|
|
2090
|
+
}),
|
|
2091
|
+
/**
|
|
2092
|
+
* No description
|
|
2093
|
+
*
|
|
2094
|
+
* @tags Providers
|
|
2095
|
+
* @name VoiceProviderControllerAddVoices
|
|
2096
|
+
* @summary Add Shared Voice to your Provider Account.
|
|
2097
|
+
* @request POST:/{provider}/voices/add
|
|
2098
|
+
* @deprecated
|
|
2099
|
+
* @secure
|
|
2100
|
+
*/
|
|
2101
|
+
voiceProviderControllerAddVoices: (provider, data, params = {}) => this.request({
|
|
2102
|
+
path: `/${provider}/voices/add`,
|
|
2103
|
+
method: 'POST',
|
|
2104
|
+
body: data,
|
|
2105
|
+
secure: true,
|
|
2106
|
+
type: ContentType.Json,
|
|
2107
|
+
format: 'json',
|
|
2108
|
+
...params,
|
|
2109
|
+
}),
|
|
2110
|
+
/**
|
|
2111
|
+
* No description
|
|
2112
|
+
*
|
|
2113
|
+
* @tags Providers
|
|
2114
|
+
* @name VoiceProviderControllerAddVoice
|
|
2115
|
+
* @summary Add Shared Voice to your Provider Account.
|
|
2116
|
+
* @request POST:/{provider}/voice/add
|
|
2117
|
+
* @secure
|
|
2118
|
+
*/
|
|
2119
|
+
voiceProviderControllerAddVoice: (provider, data, params = {}) => this.request({
|
|
2120
|
+
path: `/${provider}/voice/add`,
|
|
2121
|
+
method: 'POST',
|
|
2122
|
+
body: data,
|
|
2123
|
+
secure: true,
|
|
2124
|
+
type: ContentType.Json,
|
|
2125
|
+
format: 'json',
|
|
2126
|
+
...params,
|
|
2127
|
+
}),
|
|
2128
|
+
};
|
|
2129
|
+
v11Labs = {
|
|
2130
|
+
/**
|
|
2131
|
+
* No description
|
|
2132
|
+
*
|
|
2133
|
+
* @tags Providers
|
|
2134
|
+
* @name VoiceProviderControllerCloneVoices
|
|
2135
|
+
* @summary Clone a voice to the provider account and add to Vapi Voice Library.
|
|
2136
|
+
* @request POST:/11labs/voice/clone
|
|
2137
|
+
* @secure
|
|
2138
|
+
*/
|
|
2139
|
+
voiceProviderControllerCloneVoices: (data, params = {}) => this.request({
|
|
2140
|
+
path: `/11labs/voice/clone`,
|
|
2141
|
+
method: 'POST',
|
|
2142
|
+
body: data,
|
|
2143
|
+
secure: true,
|
|
2144
|
+
type: ContentType.FormData,
|
|
2145
|
+
...params,
|
|
2146
|
+
}),
|
|
2147
|
+
};
|
|
1531
2148
|
}
|
|
1532
2149
|
exports.Api = Api;
|