@vapi-ai/web 2.3.6 → 2.3.7

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.js CHANGED
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  /* eslint-disable */
3
3
  /* tslint:disable */
4
+ // @ts-nocheck
4
5
  /*
5
6
  * ---------------------------------------------------------------
6
7
  * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
@@ -14,21 +15,22 @@ exports.Api = exports.HttpClient = exports.ContentType = void 0;
14
15
  var ContentType;
15
16
  (function (ContentType) {
16
17
  ContentType["Json"] = "application/json";
18
+ ContentType["JsonApi"] = "application/vnd.api+json";
17
19
  ContentType["FormData"] = "multipart/form-data";
18
20
  ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
19
21
  ContentType["Text"] = "text/plain";
20
22
  })(ContentType || (exports.ContentType = ContentType = {}));
21
23
  class HttpClient {
22
- baseUrl = 'https://api.vapi.ai';
24
+ baseUrl = "https://api.vapi.ai";
23
25
  securityData = null;
24
26
  securityWorker;
25
27
  abortControllers = new Map();
26
28
  customFetch = (...fetchParams) => fetch(...fetchParams);
27
29
  baseApiParams = {
28
- credentials: 'same-origin',
30
+ credentials: "same-origin",
29
31
  headers: {},
30
- redirect: 'follow',
31
- referrerPolicy: 'no-referrer',
32
+ redirect: "follow",
33
+ referrerPolicy: "no-referrer",
32
34
  };
33
35
  constructor(apiConfig = {}) {
34
36
  Object.assign(this, apiConfig);
@@ -38,38 +40,43 @@ class HttpClient {
38
40
  };
39
41
  encodeQueryParam(key, value) {
40
42
  const encodedKey = encodeURIComponent(key);
41
- return `${encodedKey}=${encodeURIComponent(typeof value === 'number' ? value : `${value}`)}`;
43
+ return `${encodedKey}=${encodeURIComponent(typeof value === "number" ? value : `${value}`)}`;
42
44
  }
43
45
  addQueryParam(query, key) {
44
46
  return this.encodeQueryParam(key, query[key]);
45
47
  }
46
48
  addArrayQueryParam(query, key) {
47
49
  const value = query[key];
48
- return value.map((v) => this.encodeQueryParam(key, v)).join('&');
50
+ return value.map((v) => this.encodeQueryParam(key, v)).join("&");
49
51
  }
50
52
  toQueryString(rawQuery) {
51
53
  const query = rawQuery || {};
52
- const keys = Object.keys(query).filter((key) => 'undefined' !== typeof query[key]);
54
+ const keys = Object.keys(query).filter((key) => "undefined" !== typeof query[key]);
53
55
  return keys
54
56
  .map((key) => Array.isArray(query[key])
55
57
  ? this.addArrayQueryParam(query, key)
56
58
  : this.addQueryParam(query, key))
57
- .join('&');
59
+ .join("&");
58
60
  }
59
61
  addQueryParams(rawQuery) {
60
62
  const queryString = this.toQueryString(rawQuery);
61
- return queryString ? `?${queryString}` : '';
63
+ return queryString ? `?${queryString}` : "";
62
64
  }
63
65
  contentFormatters = {
64
- [ContentType.Json]: (input) => input !== null && (typeof input === 'object' || typeof input === 'string')
66
+ [ContentType.Json]: (input) => input !== null && (typeof input === "object" || typeof input === "string")
67
+ ? JSON.stringify(input)
68
+ : input,
69
+ [ContentType.JsonApi]: (input) => input !== null && (typeof input === "object" || typeof input === "string")
70
+ ? JSON.stringify(input)
71
+ : input,
72
+ [ContentType.Text]: (input) => input !== null && typeof input !== "string"
65
73
  ? JSON.stringify(input)
66
74
  : input,
67
- [ContentType.Text]: (input) => input !== null && typeof input !== 'string' ? JSON.stringify(input) : input,
68
75
  [ContentType.FormData]: (input) => Object.keys(input || {}).reduce((formData, key) => {
69
76
  const property = input[key];
70
77
  formData.append(key, property instanceof Blob
71
78
  ? property
72
- : typeof property === 'object' && property !== null
79
+ : typeof property === "object" && property !== null
73
80
  ? JSON.stringify(property)
74
81
  : `${property}`);
75
82
  return formData;
@@ -108,7 +115,7 @@ class HttpClient {
108
115
  }
109
116
  };
110
117
  request = async ({ body, secure, path, type, query, format, baseUrl, cancelToken, ...params }) => {
111
- const secureParams = ((typeof secure === 'boolean' ? secure : this.baseApiParams.secure) &&
118
+ const secureParams = ((typeof secure === "boolean" ? secure : this.baseApiParams.secure) &&
112
119
  this.securityWorker &&
113
120
  (await this.securityWorker(this.securityData))) ||
114
121
  {};
@@ -116,16 +123,22 @@ class HttpClient {
116
123
  const queryString = query && this.toQueryString(query);
117
124
  const payloadFormatter = this.contentFormatters[type || ContentType.Json];
118
125
  const responseFormat = format || requestParams.format;
119
- return this.customFetch(`${baseUrl || this.baseUrl || ''}${path}${queryString ? `?${queryString}` : ''}`, {
126
+ return this.customFetch(`${baseUrl || this.baseUrl || ""}${path}${queryString ? `?${queryString}` : ""}`, {
120
127
  ...requestParams,
121
128
  headers: {
122
129
  ...(requestParams.headers || {}),
123
- ...(type && type !== ContentType.FormData ? { 'Content-Type': type } : {}),
130
+ ...(type && type !== ContentType.FormData
131
+ ? { "Content-Type": type }
132
+ : {}),
124
133
  },
125
- signal: (cancelToken ? this.createAbortSignal(cancelToken) : requestParams.signal) || null,
126
- body: typeof body === 'undefined' || body === null ? null : payloadFormatter(body),
134
+ signal: (cancelToken
135
+ ? this.createAbortSignal(cancelToken)
136
+ : requestParams.signal) || null,
137
+ body: typeof body === "undefined" || body === null
138
+ ? null
139
+ : payloadFormatter(body),
127
140
  }).then(async (response) => {
128
- const r = response;
141
+ const r = response.clone();
129
142
  r.data = null;
130
143
  r.error = null;
131
144
  const data = !responseFormat
@@ -175,11 +188,11 @@ class Api extends HttpClient {
175
188
  */
176
189
  callControllerCreate: (data, params = {}) => this.request({
177
190
  path: `/call`,
178
- method: 'POST',
191
+ method: "POST",
179
192
  body: data,
180
193
  secure: true,
181
194
  type: ContentType.Json,
182
- format: 'json',
195
+ format: "json",
183
196
  ...params,
184
197
  }),
185
198
  /**
@@ -193,10 +206,10 @@ class Api extends HttpClient {
193
206
  */
194
207
  callControllerFindAll: (query, params = {}) => this.request({
195
208
  path: `/call`,
196
- method: 'GET',
209
+ method: "GET",
197
210
  query: query,
198
211
  secure: true,
199
- format: 'json',
212
+ format: "json",
200
213
  ...params,
201
214
  }),
202
215
  /**
@@ -210,9 +223,9 @@ class Api extends HttpClient {
210
223
  */
211
224
  callControllerFindOne: (id, params = {}) => this.request({
212
225
  path: `/call/${id}`,
213
- method: 'GET',
226
+ method: "GET",
214
227
  secure: true,
215
- format: 'json',
228
+ format: "json",
216
229
  ...params,
217
230
  }),
218
231
  /**
@@ -226,11 +239,11 @@ class Api extends HttpClient {
226
239
  */
227
240
  callControllerUpdate: (id, data, params = {}) => this.request({
228
241
  path: `/call/${id}`,
229
- method: 'PATCH',
242
+ method: "PATCH",
230
243
  body: data,
231
244
  secure: true,
232
245
  type: ContentType.Json,
233
- format: 'json',
246
+ format: "json",
234
247
  ...params,
235
248
  }),
236
249
  /**
@@ -244,9 +257,9 @@ class Api extends HttpClient {
244
257
  */
245
258
  callControllerDeleteCallData: (id, params = {}) => this.request({
246
259
  path: `/call/${id}`,
247
- method: 'DELETE',
260
+ method: "DELETE",
248
261
  secure: true,
249
- format: 'json',
262
+ format: "json",
250
263
  ...params,
251
264
  }),
252
265
  /**
@@ -261,11 +274,11 @@ class Api extends HttpClient {
261
274
  */
262
275
  callControllerCreatePhoneCall: (data, params = {}) => this.request({
263
276
  path: `/call/phone`,
264
- method: 'POST',
277
+ method: "POST",
265
278
  body: data,
266
279
  secure: true,
267
280
  type: ContentType.Json,
268
- format: 'json',
281
+ format: "json",
269
282
  ...params,
270
283
  }),
271
284
  /**
@@ -279,11 +292,11 @@ class Api extends HttpClient {
279
292
  */
280
293
  callControllerCreateWebCall: (data, params = {}) => this.request({
281
294
  path: `/call/web`,
282
- method: 'POST',
295
+ method: "POST",
283
296
  body: data,
284
297
  secure: true,
285
298
  type: ContentType.Json,
286
- format: 'json',
299
+ format: "json",
287
300
  ...params,
288
301
  }),
289
302
  };
@@ -299,7 +312,7 @@ class Api extends HttpClient {
299
312
  */
300
313
  callControllerExportCalls: (query, params = {}) => this.request({
301
314
  path: `/v2/call/export`,
302
- method: 'GET',
315
+ method: "GET",
303
316
  query: query,
304
317
  secure: true,
305
318
  ...params,
@@ -315,10 +328,10 @@ class Api extends HttpClient {
315
328
  */
316
329
  callControllerFindAllPaginated: (query, params = {}) => this.request({
317
330
  path: `/v2/call`,
318
- method: 'GET',
331
+ method: "GET",
319
332
  query: query,
320
333
  secure: true,
321
- format: 'json',
334
+ format: "json",
322
335
  ...params,
323
336
  }),
324
337
  /**
@@ -332,10 +345,10 @@ class Api extends HttpClient {
332
345
  */
333
346
  callControllerFindAllMetadataPaginated: (query, params = {}) => this.request({
334
347
  path: `/v2/call/metadata`,
335
- method: 'GET',
348
+ method: "GET",
336
349
  query: query,
337
350
  secure: true,
338
- format: 'json',
351
+ format: "json",
339
352
  ...params,
340
353
  }),
341
354
  /**
@@ -349,10 +362,10 @@ class Api extends HttpClient {
349
362
  */
350
363
  assistantControllerFindAllPaginated: (query, params = {}) => this.request({
351
364
  path: `/v2/assistant`,
352
- method: 'GET',
365
+ method: "GET",
353
366
  query: query,
354
367
  secure: true,
355
- format: 'json',
368
+ format: "json",
356
369
  ...params,
357
370
  }),
358
371
  /**
@@ -366,10 +379,10 @@ class Api extends HttpClient {
366
379
  */
367
380
  phoneNumberControllerFindAllPaginated: (query, params = {}) => this.request({
368
381
  path: `/v2/phone-number`,
369
- method: 'GET',
382
+ method: "GET",
370
383
  query: query,
371
384
  secure: true,
372
- format: 'json',
385
+ format: "json",
373
386
  ...params,
374
387
  }),
375
388
  };
@@ -385,10 +398,10 @@ class Api extends HttpClient {
385
398
  */
386
399
  chatControllerListChats: (query, params = {}) => this.request({
387
400
  path: `/chat`,
388
- method: 'GET',
401
+ method: "GET",
389
402
  query: query,
390
403
  secure: true,
391
- format: 'json',
404
+ format: "json",
392
405
  ...params,
393
406
  }),
394
407
  /**
@@ -402,11 +415,11 @@ class Api extends HttpClient {
402
415
  */
403
416
  chatControllerCreateChat: (data, params = {}) => this.request({
404
417
  path: `/chat`,
405
- method: 'POST',
418
+ method: "POST",
406
419
  body: data,
407
420
  secure: true,
408
421
  type: ContentType.Json,
409
- format: 'json',
422
+ format: "json",
410
423
  ...params,
411
424
  }),
412
425
  /**
@@ -420,9 +433,9 @@ class Api extends HttpClient {
420
433
  */
421
434
  chatControllerGetChat: (id, params = {}) => this.request({
422
435
  path: `/chat/${id}`,
423
- method: 'GET',
436
+ method: "GET",
424
437
  secure: true,
425
- format: 'json',
438
+ format: "json",
426
439
  ...params,
427
440
  }),
428
441
  /**
@@ -436,9 +449,9 @@ class Api extends HttpClient {
436
449
  */
437
450
  chatControllerDeleteChat: (id, params = {}) => this.request({
438
451
  path: `/chat/${id}`,
439
- method: 'DELETE',
452
+ method: "DELETE",
440
453
  secure: true,
441
- format: 'json',
454
+ format: "json",
442
455
  ...params,
443
456
  }),
444
457
  /**
@@ -452,11 +465,151 @@ class Api extends HttpClient {
452
465
  */
453
466
  chatControllerCreateOpenAiChat: (data, params = {}) => this.request({
454
467
  path: `/chat/responses`,
455
- method: 'POST',
468
+ method: "POST",
469
+ body: data,
470
+ secure: true,
471
+ type: ContentType.Json,
472
+ format: "json",
473
+ ...params,
474
+ }),
475
+ /**
476
+ * No description
477
+ *
478
+ * @tags Chats
479
+ * @name ChatControllerCreateWebChat
480
+ * @summary Create WebChat
481
+ * @request POST:/chat/web
482
+ * @secure
483
+ */
484
+ chatControllerCreateWebChat: (data, params = {}) => this.request({
485
+ path: `/chat/web`,
486
+ method: "POST",
487
+ body: data,
488
+ secure: true,
489
+ type: ContentType.Json,
490
+ format: "json",
491
+ ...params,
492
+ }),
493
+ /**
494
+ * No description
495
+ *
496
+ * @tags Chats
497
+ * @name ChatControllerCreateOpenAiWebChat
498
+ * @summary Create WebChat (OpenAI Compatible)
499
+ * @request POST:/chat/web/responses
500
+ * @secure
501
+ */
502
+ chatControllerCreateOpenAiWebChat: (data, params = {}) => this.request({
503
+ path: `/chat/web/responses`,
504
+ method: "POST",
456
505
  body: data,
457
506
  secure: true,
458
507
  type: ContentType.Json,
459
- format: 'json',
508
+ format: "json",
509
+ ...params,
510
+ }),
511
+ };
512
+ campaign = {
513
+ /**
514
+ * No description
515
+ *
516
+ * @tags Campaigns
517
+ * @name CampaignControllerCreate
518
+ * @summary Create Campaign
519
+ * @request POST:/campaign
520
+ * @secure
521
+ */
522
+ campaignControllerCreate: (data, params = {}) => this.request({
523
+ path: `/campaign`,
524
+ method: "POST",
525
+ body: data,
526
+ secure: true,
527
+ type: ContentType.Json,
528
+ format: "json",
529
+ ...params,
530
+ }),
531
+ /**
532
+ * No description
533
+ *
534
+ * @tags Campaigns
535
+ * @name CampaignControllerFindAll
536
+ * @summary List Campaigns
537
+ * @request GET:/campaign
538
+ * @secure
539
+ */
540
+ campaignControllerFindAll: (query, params = {}) => this.request({
541
+ path: `/campaign`,
542
+ method: "GET",
543
+ query: query,
544
+ secure: true,
545
+ format: "json",
546
+ ...params,
547
+ }),
548
+ /**
549
+ * No description
550
+ *
551
+ * @tags Campaigns
552
+ * @name CampaignControllerFindAllPaginated
553
+ * @summary List Campaigns with pagination
554
+ * @request GET:/campaign/paginated
555
+ * @secure
556
+ */
557
+ campaignControllerFindAllPaginated: (query, params = {}) => this.request({
558
+ path: `/campaign/paginated`,
559
+ method: "GET",
560
+ query: query,
561
+ secure: true,
562
+ format: "json",
563
+ ...params,
564
+ }),
565
+ /**
566
+ * No description
567
+ *
568
+ * @tags Campaigns
569
+ * @name CampaignControllerFindOne
570
+ * @summary Get Campaign
571
+ * @request GET:/campaign/{id}
572
+ * @secure
573
+ */
574
+ campaignControllerFindOne: (id, params = {}) => this.request({
575
+ path: `/campaign/${id}`,
576
+ method: "GET",
577
+ secure: true,
578
+ format: "json",
579
+ ...params,
580
+ }),
581
+ /**
582
+ * No description
583
+ *
584
+ * @tags Campaigns
585
+ * @name CampaignControllerUpdate
586
+ * @summary Update Campaign
587
+ * @request PATCH:/campaign/{id}
588
+ * @secure
589
+ */
590
+ campaignControllerUpdate: (id, data, params = {}) => this.request({
591
+ path: `/campaign/${id}`,
592
+ method: "PATCH",
593
+ body: data,
594
+ secure: true,
595
+ type: ContentType.Json,
596
+ format: "json",
597
+ ...params,
598
+ }),
599
+ /**
600
+ * No description
601
+ *
602
+ * @tags Campaigns
603
+ * @name CampaignControllerRemove
604
+ * @summary Delete Campaign
605
+ * @request DELETE:/campaign/{id}
606
+ * @secure
607
+ */
608
+ campaignControllerRemove: (id, params = {}) => this.request({
609
+ path: `/campaign/${id}`,
610
+ method: "DELETE",
611
+ secure: true,
612
+ format: "json",
460
613
  ...params,
461
614
  }),
462
615
  };
@@ -472,11 +625,11 @@ class Api extends HttpClient {
472
625
  */
473
626
  sessionControllerCreate: (data, params = {}) => this.request({
474
627
  path: `/session`,
475
- method: 'POST',
628
+ method: "POST",
476
629
  body: data,
477
630
  secure: true,
478
631
  type: ContentType.Json,
479
- format: 'json',
632
+ format: "json",
480
633
  ...params,
481
634
  }),
482
635
  /**
@@ -490,10 +643,10 @@ class Api extends HttpClient {
490
643
  */
491
644
  sessionControllerFindAllPaginated: (query, params = {}) => this.request({
492
645
  path: `/session`,
493
- method: 'GET',
646
+ method: "GET",
494
647
  query: query,
495
648
  secure: true,
496
- format: 'json',
649
+ format: "json",
497
650
  ...params,
498
651
  }),
499
652
  /**
@@ -507,9 +660,9 @@ class Api extends HttpClient {
507
660
  */
508
661
  sessionControllerFindOne: (id, params = {}) => this.request({
509
662
  path: `/session/${id}`,
510
- method: 'GET',
663
+ method: "GET",
511
664
  secure: true,
512
- format: 'json',
665
+ format: "json",
513
666
  ...params,
514
667
  }),
515
668
  /**
@@ -523,11 +676,11 @@ class Api extends HttpClient {
523
676
  */
524
677
  sessionControllerUpdate: (id, data, params = {}) => this.request({
525
678
  path: `/session/${id}`,
526
- method: 'PATCH',
679
+ method: "PATCH",
527
680
  body: data,
528
681
  secure: true,
529
682
  type: ContentType.Json,
530
- format: 'json',
683
+ format: "json",
531
684
  ...params,
532
685
  }),
533
686
  /**
@@ -541,9 +694,29 @@ class Api extends HttpClient {
541
694
  */
542
695
  sessionControllerRemove: (id, params = {}) => this.request({
543
696
  path: `/session/${id}`,
544
- method: 'DELETE',
697
+ method: "DELETE",
545
698
  secure: true,
546
- format: 'json',
699
+ format: "json",
700
+ ...params,
701
+ }),
702
+ };
703
+ support = {
704
+ /**
705
+ * No description
706
+ *
707
+ * @tags Support
708
+ * @name SupportControllerCreateTicket
709
+ * @summary Create Support Ticket
710
+ * @request POST:/support/ticket
711
+ * @secure
712
+ */
713
+ supportControllerCreateTicket: (data, params = {}) => this.request({
714
+ path: `/support/ticket`,
715
+ method: "POST",
716
+ body: data,
717
+ secure: true,
718
+ type: ContentType.Json,
719
+ format: "json",
547
720
  ...params,
548
721
  }),
549
722
  };
@@ -559,11 +732,11 @@ class Api extends HttpClient {
559
732
  */
560
733
  assistantControllerCreate: (data, params = {}) => this.request({
561
734
  path: `/assistant`,
562
- method: 'POST',
735
+ method: "POST",
563
736
  body: data,
564
737
  secure: true,
565
738
  type: ContentType.Json,
566
- format: 'json',
739
+ format: "json",
567
740
  ...params,
568
741
  }),
569
742
  /**
@@ -577,10 +750,10 @@ class Api extends HttpClient {
577
750
  */
578
751
  assistantControllerFindAll: (query, params = {}) => this.request({
579
752
  path: `/assistant`,
580
- method: 'GET',
753
+ method: "GET",
581
754
  query: query,
582
755
  secure: true,
583
- format: 'json',
756
+ format: "json",
584
757
  ...params,
585
758
  }),
586
759
  /**
@@ -594,9 +767,9 @@ class Api extends HttpClient {
594
767
  */
595
768
  assistantControllerFindOne: (id, params = {}) => this.request({
596
769
  path: `/assistant/${id}`,
597
- method: 'GET',
770
+ method: "GET",
598
771
  secure: true,
599
- format: 'json',
772
+ format: "json",
600
773
  ...params,
601
774
  }),
602
775
  /**
@@ -610,11 +783,11 @@ class Api extends HttpClient {
610
783
  */
611
784
  assistantControllerUpdate: (id, data, params = {}) => this.request({
612
785
  path: `/assistant/${id}`,
613
- method: 'PATCH',
786
+ method: "PATCH",
614
787
  body: data,
615
788
  secure: true,
616
789
  type: ContentType.Json,
617
- format: 'json',
790
+ format: "json",
618
791
  ...params,
619
792
  }),
620
793
  /**
@@ -628,11 +801,11 @@ class Api extends HttpClient {
628
801
  */
629
802
  assistantControllerReplace: (id, data, params = {}) => this.request({
630
803
  path: `/assistant/${id}`,
631
- method: 'PUT',
804
+ method: "PUT",
632
805
  body: data,
633
806
  secure: true,
634
807
  type: ContentType.Json,
635
- format: 'json',
808
+ format: "json",
636
809
  ...params,
637
810
  }),
638
811
  /**
@@ -646,9 +819,9 @@ class Api extends HttpClient {
646
819
  */
647
820
  assistantControllerRemove: (id, params = {}) => this.request({
648
821
  path: `/assistant/${id}`,
649
- method: 'DELETE',
822
+ method: "DELETE",
650
823
  secure: true,
651
- format: 'json',
824
+ format: "json",
652
825
  ...params,
653
826
  }),
654
827
  /**
@@ -662,10 +835,10 @@ class Api extends HttpClient {
662
835
  */
663
836
  assistantControllerFindVersions: (id, query, params = {}) => this.request({
664
837
  path: `/assistant/${id}/version`,
665
- method: 'GET',
838
+ method: "GET",
666
839
  query: query,
667
840
  secure: true,
668
- format: 'json',
841
+ format: "json",
669
842
  ...params,
670
843
  }),
671
844
  };
@@ -682,11 +855,11 @@ class Api extends HttpClient {
682
855
  */
683
856
  phoneNumberControllerImportTwilio: (data, params = {}) => this.request({
684
857
  path: `/phone-number/import/twilio`,
685
- method: 'POST',
858
+ method: "POST",
686
859
  body: data,
687
860
  secure: true,
688
861
  type: ContentType.Json,
689
- format: 'json',
862
+ format: "json",
690
863
  ...params,
691
864
  }),
692
865
  /**
@@ -701,11 +874,11 @@ class Api extends HttpClient {
701
874
  */
702
875
  phoneNumberControllerImportVonage: (data, params = {}) => this.request({
703
876
  path: `/phone-number/import/vonage`,
704
- method: 'POST',
877
+ method: "POST",
705
878
  body: data,
706
879
  secure: true,
707
880
  type: ContentType.Json,
708
- format: 'json',
881
+ format: "json",
709
882
  ...params,
710
883
  }),
711
884
  /**
@@ -719,11 +892,11 @@ class Api extends HttpClient {
719
892
  */
720
893
  phoneNumberControllerCreate: (data, params = {}) => this.request({
721
894
  path: `/phone-number`,
722
- method: 'POST',
895
+ method: "POST",
723
896
  body: data,
724
897
  secure: true,
725
898
  type: ContentType.Json,
726
- format: 'json',
899
+ format: "json",
727
900
  ...params,
728
901
  }),
729
902
  /**
@@ -737,10 +910,10 @@ class Api extends HttpClient {
737
910
  */
738
911
  phoneNumberControllerFindAll: (query, params = {}) => this.request({
739
912
  path: `/phone-number`,
740
- method: 'GET',
913
+ method: "GET",
741
914
  query: query,
742
915
  secure: true,
743
- format: 'json',
916
+ format: "json",
744
917
  ...params,
745
918
  }),
746
919
  /**
@@ -754,9 +927,9 @@ class Api extends HttpClient {
754
927
  */
755
928
  phoneNumberControllerFindOne: (id, params = {}) => this.request({
756
929
  path: `/phone-number/${id}`,
757
- method: 'GET',
930
+ method: "GET",
758
931
  secure: true,
759
- format: 'json',
932
+ format: "json",
760
933
  ...params,
761
934
  }),
762
935
  /**
@@ -770,11 +943,11 @@ class Api extends HttpClient {
770
943
  */
771
944
  phoneNumberControllerUpdate: (id, data, params = {}) => this.request({
772
945
  path: `/phone-number/${id}`,
773
- method: 'PATCH',
946
+ method: "PATCH",
774
947
  body: data,
775
948
  secure: true,
776
949
  type: ContentType.Json,
777
- format: 'json',
950
+ format: "json",
778
951
  ...params,
779
952
  }),
780
953
  /**
@@ -788,9 +961,9 @@ class Api extends HttpClient {
788
961
  */
789
962
  phoneNumberControllerRemove: (id, params = {}) => this.request({
790
963
  path: `/phone-number/${id}`,
791
- method: 'DELETE',
964
+ method: "DELETE",
792
965
  secure: true,
793
- format: 'json',
966
+ format: "json",
794
967
  ...params,
795
968
  }),
796
969
  };
@@ -806,11 +979,11 @@ class Api extends HttpClient {
806
979
  */
807
980
  toolControllerCreate: (data, params = {}) => this.request({
808
981
  path: `/tool`,
809
- method: 'POST',
982
+ method: "POST",
810
983
  body: data,
811
984
  secure: true,
812
985
  type: ContentType.Json,
813
- format: 'json',
986
+ format: "json",
814
987
  ...params,
815
988
  }),
816
989
  /**
@@ -824,10 +997,10 @@ class Api extends HttpClient {
824
997
  */
825
998
  toolControllerFindAll: (query, params = {}) => this.request({
826
999
  path: `/tool`,
827
- method: 'GET',
1000
+ method: "GET",
828
1001
  query: query,
829
1002
  secure: true,
830
- format: 'json',
1003
+ format: "json",
831
1004
  ...params,
832
1005
  }),
833
1006
  /**
@@ -841,9 +1014,9 @@ class Api extends HttpClient {
841
1014
  */
842
1015
  toolControllerFindOne: (id, params = {}) => this.request({
843
1016
  path: `/tool/${id}`,
844
- method: 'GET',
1017
+ method: "GET",
845
1018
  secure: true,
846
- format: 'json',
1019
+ format: "json",
847
1020
  ...params,
848
1021
  }),
849
1022
  /**
@@ -857,11 +1030,11 @@ class Api extends HttpClient {
857
1030
  */
858
1031
  toolControllerUpdate: (id, data, params = {}) => this.request({
859
1032
  path: `/tool/${id}`,
860
- method: 'PATCH',
1033
+ method: "PATCH",
861
1034
  body: data,
862
1035
  secure: true,
863
1036
  type: ContentType.Json,
864
- format: 'json',
1037
+ format: "json",
865
1038
  ...params,
866
1039
  }),
867
1040
  /**
@@ -875,9 +1048,9 @@ class Api extends HttpClient {
875
1048
  */
876
1049
  toolControllerRemove: (id, params = {}) => this.request({
877
1050
  path: `/tool/${id}`,
878
- method: 'DELETE',
1051
+ method: "DELETE",
879
1052
  secure: true,
880
- format: 'json',
1053
+ format: "json",
881
1054
  ...params,
882
1055
  }),
883
1056
  };
@@ -894,11 +1067,11 @@ class Api extends HttpClient {
894
1067
  */
895
1068
  fileControllerCreateDeprecated: (data, params = {}) => this.request({
896
1069
  path: `/file/upload`,
897
- method: 'POST',
1070
+ method: "POST",
898
1071
  body: data,
899
1072
  secure: true,
900
1073
  type: ContentType.FormData,
901
- format: 'json',
1074
+ format: "json",
902
1075
  ...params,
903
1076
  }),
904
1077
  /**
@@ -912,11 +1085,11 @@ class Api extends HttpClient {
912
1085
  */
913
1086
  fileControllerCreate: (data, params = {}) => this.request({
914
1087
  path: `/file`,
915
- method: 'POST',
1088
+ method: "POST",
916
1089
  body: data,
917
1090
  secure: true,
918
1091
  type: ContentType.FormData,
919
- format: 'json',
1092
+ format: "json",
920
1093
  ...params,
921
1094
  }),
922
1095
  /**
@@ -930,9 +1103,9 @@ class Api extends HttpClient {
930
1103
  */
931
1104
  fileControllerFindAll: (params = {}) => this.request({
932
1105
  path: `/file`,
933
- method: 'GET',
1106
+ method: "GET",
934
1107
  secure: true,
935
- format: 'json',
1108
+ format: "json",
936
1109
  ...params,
937
1110
  }),
938
1111
  /**
@@ -946,9 +1119,9 @@ class Api extends HttpClient {
946
1119
  */
947
1120
  fileControllerFindOne: (id, params = {}) => this.request({
948
1121
  path: `/file/${id}`,
949
- method: 'GET',
1122
+ method: "GET",
950
1123
  secure: true,
951
- format: 'json',
1124
+ format: "json",
952
1125
  ...params,
953
1126
  }),
954
1127
  /**
@@ -962,11 +1135,11 @@ class Api extends HttpClient {
962
1135
  */
963
1136
  fileControllerUpdate: (id, data, params = {}) => this.request({
964
1137
  path: `/file/${id}`,
965
- method: 'PATCH',
1138
+ method: "PATCH",
966
1139
  body: data,
967
1140
  secure: true,
968
1141
  type: ContentType.Json,
969
- format: 'json',
1142
+ format: "json",
970
1143
  ...params,
971
1144
  }),
972
1145
  /**
@@ -980,9 +1153,9 @@ class Api extends HttpClient {
980
1153
  */
981
1154
  fileControllerRemove: (id, params = {}) => this.request({
982
1155
  path: `/file/${id}`,
983
- method: 'DELETE',
1156
+ method: "DELETE",
984
1157
  secure: true,
985
- format: 'json',
1158
+ format: "json",
986
1159
  ...params,
987
1160
  }),
988
1161
  };
@@ -998,11 +1171,11 @@ class Api extends HttpClient {
998
1171
  */
999
1172
  knowledgeBaseControllerCreate: (data, params = {}) => this.request({
1000
1173
  path: `/knowledge-base`,
1001
- method: 'POST',
1174
+ method: "POST",
1002
1175
  body: data,
1003
1176
  secure: true,
1004
1177
  type: ContentType.Json,
1005
- format: 'json',
1178
+ format: "json",
1006
1179
  ...params,
1007
1180
  }),
1008
1181
  /**
@@ -1016,10 +1189,10 @@ class Api extends HttpClient {
1016
1189
  */
1017
1190
  knowledgeBaseControllerFindAll: (query, params = {}) => this.request({
1018
1191
  path: `/knowledge-base`,
1019
- method: 'GET',
1192
+ method: "GET",
1020
1193
  query: query,
1021
1194
  secure: true,
1022
- format: 'json',
1195
+ format: "json",
1023
1196
  ...params,
1024
1197
  }),
1025
1198
  /**
@@ -1033,9 +1206,9 @@ class Api extends HttpClient {
1033
1206
  */
1034
1207
  knowledgeBaseControllerFindOne: (id, params = {}) => this.request({
1035
1208
  path: `/knowledge-base/${id}`,
1036
- method: 'GET',
1209
+ method: "GET",
1037
1210
  secure: true,
1038
- format: 'json',
1211
+ format: "json",
1039
1212
  ...params,
1040
1213
  }),
1041
1214
  /**
@@ -1049,11 +1222,11 @@ class Api extends HttpClient {
1049
1222
  */
1050
1223
  knowledgeBaseControllerUpdate: (id, data, params = {}) => this.request({
1051
1224
  path: `/knowledge-base/${id}`,
1052
- method: 'PATCH',
1225
+ method: "PATCH",
1053
1226
  body: data,
1054
1227
  secure: true,
1055
1228
  type: ContentType.Json,
1056
- format: 'json',
1229
+ format: "json",
1057
1230
  ...params,
1058
1231
  }),
1059
1232
  /**
@@ -1067,9 +1240,9 @@ class Api extends HttpClient {
1067
1240
  */
1068
1241
  knowledgeBaseControllerRemove: (id, params = {}) => this.request({
1069
1242
  path: `/knowledge-base/${id}`,
1070
- method: 'DELETE',
1243
+ method: "DELETE",
1071
1244
  secure: true,
1072
- format: 'json',
1245
+ format: "json",
1073
1246
  ...params,
1074
1247
  }),
1075
1248
  };
@@ -1085,9 +1258,9 @@ class Api extends HttpClient {
1085
1258
  */
1086
1259
  workflowControllerFindAll: (params = {}) => this.request({
1087
1260
  path: `/workflow`,
1088
- method: 'GET',
1261
+ method: "GET",
1089
1262
  secure: true,
1090
- format: 'json',
1263
+ format: "json",
1091
1264
  ...params,
1092
1265
  }),
1093
1266
  /**
@@ -1101,11 +1274,11 @@ class Api extends HttpClient {
1101
1274
  */
1102
1275
  workflowControllerCreate: (data, params = {}) => this.request({
1103
1276
  path: `/workflow`,
1104
- method: 'POST',
1277
+ method: "POST",
1105
1278
  body: data,
1106
1279
  secure: true,
1107
1280
  type: ContentType.Json,
1108
- format: 'json',
1281
+ format: "json",
1109
1282
  ...params,
1110
1283
  }),
1111
1284
  /**
@@ -1119,9 +1292,9 @@ class Api extends HttpClient {
1119
1292
  */
1120
1293
  workflowControllerFindOne: (id, params = {}) => this.request({
1121
1294
  path: `/workflow/${id}`,
1122
- method: 'GET',
1295
+ method: "GET",
1123
1296
  secure: true,
1124
- format: 'json',
1297
+ format: "json",
1125
1298
  ...params,
1126
1299
  }),
1127
1300
  /**
@@ -1135,9 +1308,9 @@ class Api extends HttpClient {
1135
1308
  */
1136
1309
  workflowControllerDelete: (id, params = {}) => this.request({
1137
1310
  path: `/workflow/${id}`,
1138
- method: 'DELETE',
1311
+ method: "DELETE",
1139
1312
  secure: true,
1140
- format: 'json',
1313
+ format: "json",
1141
1314
  ...params,
1142
1315
  }),
1143
1316
  /**
@@ -1151,11 +1324,29 @@ class Api extends HttpClient {
1151
1324
  */
1152
1325
  workflowControllerUpdate: (id, data, params = {}) => this.request({
1153
1326
  path: `/workflow/${id}`,
1154
- method: 'PATCH',
1327
+ method: "PATCH",
1328
+ body: data,
1329
+ secure: true,
1330
+ type: ContentType.Json,
1331
+ format: "json",
1332
+ ...params,
1333
+ }),
1334
+ /**
1335
+ * No description
1336
+ *
1337
+ * @tags Workflow
1338
+ * @name WorkflowControllerGenerateFromTranscripts
1339
+ * @summary Generate Workflow JSON from Transcript Files
1340
+ * @request POST:/workflow/generate
1341
+ * @secure
1342
+ */
1343
+ workflowControllerGenerateFromTranscripts: (data, params = {}) => this.request({
1344
+ path: `/workflow/generate`,
1345
+ method: "POST",
1155
1346
  body: data,
1156
1347
  secure: true,
1157
1348
  type: ContentType.Json,
1158
- format: 'json',
1349
+ format: "json",
1159
1350
  ...params,
1160
1351
  }),
1161
1352
  };
@@ -1171,11 +1362,11 @@ class Api extends HttpClient {
1171
1362
  */
1172
1363
  squadControllerCreate: (data, params = {}) => this.request({
1173
1364
  path: `/squad`,
1174
- method: 'POST',
1365
+ method: "POST",
1175
1366
  body: data,
1176
1367
  secure: true,
1177
1368
  type: ContentType.Json,
1178
- format: 'json',
1369
+ format: "json",
1179
1370
  ...params,
1180
1371
  }),
1181
1372
  /**
@@ -1189,10 +1380,10 @@ class Api extends HttpClient {
1189
1380
  */
1190
1381
  squadControllerFindAll: (query, params = {}) => this.request({
1191
1382
  path: `/squad`,
1192
- method: 'GET',
1383
+ method: "GET",
1193
1384
  query: query,
1194
1385
  secure: true,
1195
- format: 'json',
1386
+ format: "json",
1196
1387
  ...params,
1197
1388
  }),
1198
1389
  /**
@@ -1206,9 +1397,9 @@ class Api extends HttpClient {
1206
1397
  */
1207
1398
  squadControllerFindOne: (id, params = {}) => this.request({
1208
1399
  path: `/squad/${id}`,
1209
- method: 'GET',
1400
+ method: "GET",
1210
1401
  secure: true,
1211
- format: 'json',
1402
+ format: "json",
1212
1403
  ...params,
1213
1404
  }),
1214
1405
  /**
@@ -1222,11 +1413,11 @@ class Api extends HttpClient {
1222
1413
  */
1223
1414
  squadControllerUpdate: (id, data, params = {}) => this.request({
1224
1415
  path: `/squad/${id}`,
1225
- method: 'PATCH',
1416
+ method: "PATCH",
1226
1417
  body: data,
1227
1418
  secure: true,
1228
1419
  type: ContentType.Json,
1229
- format: 'json',
1420
+ format: "json",
1230
1421
  ...params,
1231
1422
  }),
1232
1423
  /**
@@ -1240,9 +1431,9 @@ class Api extends HttpClient {
1240
1431
  */
1241
1432
  squadControllerRemove: (id, params = {}) => this.request({
1242
1433
  path: `/squad/${id}`,
1243
- method: 'DELETE',
1434
+ method: "DELETE",
1244
1435
  secure: true,
1245
- format: 'json',
1436
+ format: "json",
1246
1437
  ...params,
1247
1438
  }),
1248
1439
  };
@@ -1258,10 +1449,10 @@ class Api extends HttpClient {
1258
1449
  */
1259
1450
  testSuiteControllerFindAllPaginated: (query, params = {}) => this.request({
1260
1451
  path: `/test-suite`,
1261
- method: 'GET',
1452
+ method: "GET",
1262
1453
  query: query,
1263
1454
  secure: true,
1264
- format: 'json',
1455
+ format: "json",
1265
1456
  ...params,
1266
1457
  }),
1267
1458
  /**
@@ -1275,11 +1466,11 @@ class Api extends HttpClient {
1275
1466
  */
1276
1467
  testSuiteControllerCreate: (data, params = {}) => this.request({
1277
1468
  path: `/test-suite`,
1278
- method: 'POST',
1469
+ method: "POST",
1279
1470
  body: data,
1280
1471
  secure: true,
1281
1472
  type: ContentType.Json,
1282
- format: 'json',
1473
+ format: "json",
1283
1474
  ...params,
1284
1475
  }),
1285
1476
  /**
@@ -1293,9 +1484,9 @@ class Api extends HttpClient {
1293
1484
  */
1294
1485
  testSuiteControllerFindOne: (id, params = {}) => this.request({
1295
1486
  path: `/test-suite/${id}`,
1296
- method: 'GET',
1487
+ method: "GET",
1297
1488
  secure: true,
1298
- format: 'json',
1489
+ format: "json",
1299
1490
  ...params,
1300
1491
  }),
1301
1492
  /**
@@ -1309,11 +1500,11 @@ class Api extends HttpClient {
1309
1500
  */
1310
1501
  testSuiteControllerUpdate: (id, data, params = {}) => this.request({
1311
1502
  path: `/test-suite/${id}`,
1312
- method: 'PATCH',
1503
+ method: "PATCH",
1313
1504
  body: data,
1314
1505
  secure: true,
1315
1506
  type: ContentType.Json,
1316
- format: 'json',
1507
+ format: "json",
1317
1508
  ...params,
1318
1509
  }),
1319
1510
  /**
@@ -1327,9 +1518,9 @@ class Api extends HttpClient {
1327
1518
  */
1328
1519
  testSuiteControllerRemove: (id, params = {}) => this.request({
1329
1520
  path: `/test-suite/${id}`,
1330
- method: 'DELETE',
1521
+ method: "DELETE",
1331
1522
  secure: true,
1332
- format: 'json',
1523
+ format: "json",
1333
1524
  ...params,
1334
1525
  }),
1335
1526
  /**
@@ -1343,10 +1534,10 @@ class Api extends HttpClient {
1343
1534
  */
1344
1535
  testSuiteTestControllerFindAllPaginated: (testSuiteId, query, params = {}) => this.request({
1345
1536
  path: `/test-suite/${testSuiteId}/test`,
1346
- method: 'GET',
1537
+ method: "GET",
1347
1538
  query: query,
1348
1539
  secure: true,
1349
- format: 'json',
1540
+ format: "json",
1350
1541
  ...params,
1351
1542
  }),
1352
1543
  /**
@@ -1360,11 +1551,11 @@ class Api extends HttpClient {
1360
1551
  */
1361
1552
  testSuiteTestControllerCreate: (testSuiteId, data, params = {}) => this.request({
1362
1553
  path: `/test-suite/${testSuiteId}/test`,
1363
- method: 'POST',
1554
+ method: "POST",
1364
1555
  body: data,
1365
1556
  secure: true,
1366
1557
  type: ContentType.Json,
1367
- format: 'json',
1558
+ format: "json",
1368
1559
  ...params,
1369
1560
  }),
1370
1561
  /**
@@ -1378,9 +1569,9 @@ class Api extends HttpClient {
1378
1569
  */
1379
1570
  testSuiteTestControllerFindOne: (testSuiteId, id, params = {}) => this.request({
1380
1571
  path: `/test-suite/${testSuiteId}/test/${id}`,
1381
- method: 'GET',
1572
+ method: "GET",
1382
1573
  secure: true,
1383
- format: 'json',
1574
+ format: "json",
1384
1575
  ...params,
1385
1576
  }),
1386
1577
  /**
@@ -1394,11 +1585,11 @@ class Api extends HttpClient {
1394
1585
  */
1395
1586
  testSuiteTestControllerUpdate: (testSuiteId, id, data, params = {}) => this.request({
1396
1587
  path: `/test-suite/${testSuiteId}/test/${id}`,
1397
- method: 'PATCH',
1588
+ method: "PATCH",
1398
1589
  body: data,
1399
1590
  secure: true,
1400
1591
  type: ContentType.Json,
1401
- format: 'json',
1592
+ format: "json",
1402
1593
  ...params,
1403
1594
  }),
1404
1595
  /**
@@ -1412,9 +1603,9 @@ class Api extends HttpClient {
1412
1603
  */
1413
1604
  testSuiteTestControllerRemove: (testSuiteId, id, params = {}) => this.request({
1414
1605
  path: `/test-suite/${testSuiteId}/test/${id}`,
1415
- method: 'DELETE',
1606
+ method: "DELETE",
1416
1607
  secure: true,
1417
- format: 'json',
1608
+ format: "json",
1418
1609
  ...params,
1419
1610
  }),
1420
1611
  /**
@@ -1428,10 +1619,10 @@ class Api extends HttpClient {
1428
1619
  */
1429
1620
  testSuiteRunControllerFindAllPaginated: (testSuiteId, query, params = {}) => this.request({
1430
1621
  path: `/test-suite/${testSuiteId}/run`,
1431
- method: 'GET',
1622
+ method: "GET",
1432
1623
  query: query,
1433
1624
  secure: true,
1434
- format: 'json',
1625
+ format: "json",
1435
1626
  ...params,
1436
1627
  }),
1437
1628
  /**
@@ -1445,11 +1636,11 @@ class Api extends HttpClient {
1445
1636
  */
1446
1637
  testSuiteRunControllerCreate: (testSuiteId, data, params = {}) => this.request({
1447
1638
  path: `/test-suite/${testSuiteId}/run`,
1448
- method: 'POST',
1639
+ method: "POST",
1449
1640
  body: data,
1450
1641
  secure: true,
1451
1642
  type: ContentType.Json,
1452
- format: 'json',
1643
+ format: "json",
1453
1644
  ...params,
1454
1645
  }),
1455
1646
  /**
@@ -1463,9 +1654,9 @@ class Api extends HttpClient {
1463
1654
  */
1464
1655
  testSuiteRunControllerFindOne: (testSuiteId, id, params = {}) => this.request({
1465
1656
  path: `/test-suite/${testSuiteId}/run/${id}`,
1466
- method: 'GET',
1657
+ method: "GET",
1467
1658
  secure: true,
1468
- format: 'json',
1659
+ format: "json",
1469
1660
  ...params,
1470
1661
  }),
1471
1662
  /**
@@ -1479,11 +1670,11 @@ class Api extends HttpClient {
1479
1670
  */
1480
1671
  testSuiteRunControllerUpdate: (testSuiteId, id, data, params = {}) => this.request({
1481
1672
  path: `/test-suite/${testSuiteId}/run/${id}`,
1482
- method: 'PATCH',
1673
+ method: "PATCH",
1483
1674
  body: data,
1484
1675
  secure: true,
1485
1676
  type: ContentType.Json,
1486
- format: 'json',
1677
+ format: "json",
1487
1678
  ...params,
1488
1679
  }),
1489
1680
  /**
@@ -1497,9 +1688,9 @@ class Api extends HttpClient {
1497
1688
  */
1498
1689
  testSuiteRunControllerRemove: (testSuiteId, id, params = {}) => this.request({
1499
1690
  path: `/test-suite/${testSuiteId}/run/${id}`,
1500
- method: 'DELETE',
1691
+ method: "DELETE",
1501
1692
  secure: true,
1502
- format: 'json',
1693
+ format: "json",
1503
1694
  ...params,
1504
1695
  }),
1505
1696
  };
@@ -1515,11 +1706,11 @@ class Api extends HttpClient {
1515
1706
  */
1516
1707
  analyticsControllerQuery: (data, params = {}) => this.request({
1517
1708
  path: `/analytics`,
1518
- method: 'POST',
1709
+ method: "POST",
1519
1710
  body: data,
1520
1711
  secure: true,
1521
1712
  type: ContentType.Json,
1522
- format: 'json',
1713
+ format: "json",
1523
1714
  ...params,
1524
1715
  }),
1525
1716
  };
@@ -1535,10 +1726,10 @@ class Api extends HttpClient {
1535
1726
  */
1536
1727
  loggingControllerCallLogsQuery: (query, params = {}) => this.request({
1537
1728
  path: `/log`,
1538
- method: 'GET',
1729
+ method: "GET",
1539
1730
  query: query,
1540
1731
  secure: true,
1541
- format: 'json',
1732
+ format: "json",
1542
1733
  ...params,
1543
1734
  }),
1544
1735
  /**
@@ -1552,7 +1743,7 @@ class Api extends HttpClient {
1552
1743
  */
1553
1744
  loggingControllerCallLogsDeleteQuery: (query, params = {}) => this.request({
1554
1745
  path: `/log`,
1555
- method: 'DELETE',
1746
+ method: "DELETE",
1556
1747
  query: query,
1557
1748
  secure: true,
1558
1749
  ...params,
@@ -1571,10 +1762,10 @@ class Api extends HttpClient {
1571
1762
  */
1572
1763
  loggingControllerLogsQuery: (query, params = {}) => this.request({
1573
1764
  path: `/logs`,
1574
- method: 'GET',
1765
+ method: "GET",
1575
1766
  query: query,
1576
1767
  secure: true,
1577
- format: 'json',
1768
+ format: "json",
1578
1769
  ...params,
1579
1770
  }),
1580
1771
  /**
@@ -1589,7 +1780,7 @@ class Api extends HttpClient {
1589
1780
  */
1590
1781
  loggingControllerLogsDeleteQuery: (query, params = {}) => this.request({
1591
1782
  path: `/logs`,
1592
- method: 'DELETE',
1783
+ method: "DELETE",
1593
1784
  query: query,
1594
1785
  secure: true,
1595
1786
  ...params,
@@ -1607,11 +1798,11 @@ class Api extends HttpClient {
1607
1798
  */
1608
1799
  orgControllerCreate: (data, params = {}) => this.request({
1609
1800
  path: `/org`,
1610
- method: 'POST',
1801
+ method: "POST",
1611
1802
  body: data,
1612
1803
  secure: true,
1613
1804
  type: ContentType.Json,
1614
- format: 'json',
1805
+ format: "json",
1615
1806
  ...params,
1616
1807
  }),
1617
1808
  /**
@@ -1625,9 +1816,9 @@ class Api extends HttpClient {
1625
1816
  */
1626
1817
  orgControllerFindAll: (params = {}) => this.request({
1627
1818
  path: `/org`,
1628
- method: 'GET',
1819
+ method: "GET",
1629
1820
  secure: true,
1630
- format: 'json',
1821
+ format: "json",
1631
1822
  ...params,
1632
1823
  }),
1633
1824
  /**
@@ -1641,9 +1832,9 @@ class Api extends HttpClient {
1641
1832
  */
1642
1833
  orgControllerFindOne: (id, params = {}) => this.request({
1643
1834
  path: `/org/${id}`,
1644
- method: 'GET',
1835
+ method: "GET",
1645
1836
  secure: true,
1646
- format: 'json',
1837
+ format: "json",
1647
1838
  ...params,
1648
1839
  }),
1649
1840
  /**
@@ -1657,11 +1848,11 @@ class Api extends HttpClient {
1657
1848
  */
1658
1849
  orgControllerUpdate: (id, data, params = {}) => this.request({
1659
1850
  path: `/org/${id}`,
1660
- method: 'PATCH',
1851
+ method: "PATCH",
1661
1852
  body: data,
1662
1853
  secure: true,
1663
1854
  type: ContentType.Json,
1664
- format: 'json',
1855
+ format: "json",
1665
1856
  ...params,
1666
1857
  }),
1667
1858
  /**
@@ -1675,7 +1866,7 @@ class Api extends HttpClient {
1675
1866
  */
1676
1867
  orgControllerDeleteOrg: (id, params = {}) => this.request({
1677
1868
  path: `/org/${id}`,
1678
- method: 'DELETE',
1869
+ method: "DELETE",
1679
1870
  secure: true,
1680
1871
  ...params,
1681
1872
  }),
@@ -1690,9 +1881,9 @@ class Api extends HttpClient {
1690
1881
  */
1691
1882
  orgControllerFindAllUsers: (id, params = {}) => this.request({
1692
1883
  path: `/org/${id}/user`,
1693
- method: 'GET',
1884
+ method: "GET",
1694
1885
  secure: true,
1695
- format: 'json',
1886
+ format: "json",
1696
1887
  ...params,
1697
1888
  }),
1698
1889
  /**
@@ -1706,7 +1897,7 @@ class Api extends HttpClient {
1706
1897
  */
1707
1898
  orgControllerOrgLeave: (id, params = {}) => this.request({
1708
1899
  path: `/org/${id}/leave`,
1709
- method: 'DELETE',
1900
+ method: "DELETE",
1710
1901
  secure: true,
1711
1902
  ...params,
1712
1903
  }),
@@ -1721,7 +1912,7 @@ class Api extends HttpClient {
1721
1912
  */
1722
1913
  orgControllerOrgRemoveUser: (id, memberId, params = {}) => this.request({
1723
1914
  path: `/org/${id}/member/${memberId}/leave`,
1724
- method: 'DELETE',
1915
+ method: "DELETE",
1725
1916
  secure: true,
1726
1917
  ...params,
1727
1918
  }),
@@ -1736,7 +1927,7 @@ class Api extends HttpClient {
1736
1927
  */
1737
1928
  orgControllerUsersInvite: (id, data, params = {}) => this.request({
1738
1929
  path: `/org/${id}/invite`,
1739
- method: 'POST',
1930
+ method: "POST",
1740
1931
  body: data,
1741
1932
  secure: true,
1742
1933
  type: ContentType.Json,
@@ -1753,7 +1944,7 @@ class Api extends HttpClient {
1753
1944
  */
1754
1945
  orgControllerUserUpdate: (id, data, params = {}) => this.request({
1755
1946
  path: `/org/${id}/role`,
1756
- method: 'PATCH',
1947
+ method: "PATCH",
1757
1948
  body: data,
1758
1949
  secure: true,
1759
1950
  type: ContentType.Json,
@@ -1770,9 +1961,9 @@ class Api extends HttpClient {
1770
1961
  */
1771
1962
  orgControllerOrgToken: (id, params = {}) => this.request({
1772
1963
  path: `/org/${id}/auth`,
1773
- method: 'GET',
1964
+ method: "GET",
1774
1965
  secure: true,
1775
- format: 'json',
1966
+ format: "json",
1776
1967
  ...params,
1777
1968
  }),
1778
1969
  };
@@ -1788,11 +1979,11 @@ class Api extends HttpClient {
1788
1979
  */
1789
1980
  tokenControllerCreate: (data, params = {}) => this.request({
1790
1981
  path: `/token`,
1791
- method: 'POST',
1982
+ method: "POST",
1792
1983
  body: data,
1793
1984
  secure: true,
1794
1985
  type: ContentType.Json,
1795
- format: 'json',
1986
+ format: "json",
1796
1987
  ...params,
1797
1988
  }),
1798
1989
  /**
@@ -1806,10 +1997,10 @@ class Api extends HttpClient {
1806
1997
  */
1807
1998
  tokenControllerFindAll: (query, params = {}) => this.request({
1808
1999
  path: `/token`,
1809
- method: 'GET',
2000
+ method: "GET",
1810
2001
  query: query,
1811
2002
  secure: true,
1812
- format: 'json',
2003
+ format: "json",
1813
2004
  ...params,
1814
2005
  }),
1815
2006
  /**
@@ -1823,9 +2014,9 @@ class Api extends HttpClient {
1823
2014
  */
1824
2015
  tokenControllerFindOne: (id, params = {}) => this.request({
1825
2016
  path: `/token/${id}`,
1826
- method: 'GET',
2017
+ method: "GET",
1827
2018
  secure: true,
1828
- format: 'json',
2019
+ format: "json",
1829
2020
  ...params,
1830
2021
  }),
1831
2022
  /**
@@ -1839,11 +2030,11 @@ class Api extends HttpClient {
1839
2030
  */
1840
2031
  tokenControllerUpdate: (id, data, params = {}) => this.request({
1841
2032
  path: `/token/${id}`,
1842
- method: 'PATCH',
2033
+ method: "PATCH",
1843
2034
  body: data,
1844
2035
  secure: true,
1845
2036
  type: ContentType.Json,
1846
- format: 'json',
2037
+ format: "json",
1847
2038
  ...params,
1848
2039
  }),
1849
2040
  /**
@@ -1857,9 +2048,9 @@ class Api extends HttpClient {
1857
2048
  */
1858
2049
  tokenControllerRemove: (id, params = {}) => this.request({
1859
2050
  path: `/token/${id}`,
1860
- method: 'DELETE',
2051
+ method: "DELETE",
1861
2052
  secure: true,
1862
- format: 'json',
2053
+ format: "json",
1863
2054
  ...params,
1864
2055
  }),
1865
2056
  };
@@ -1875,11 +2066,11 @@ class Api extends HttpClient {
1875
2066
  */
1876
2067
  credentialControllerCreate: (data, params = {}) => this.request({
1877
2068
  path: `/credential`,
1878
- method: 'POST',
2069
+ method: "POST",
1879
2070
  body: data,
1880
2071
  secure: true,
1881
2072
  type: ContentType.Json,
1882
- format: 'json',
2073
+ format: "json",
1883
2074
  ...params,
1884
2075
  }),
1885
2076
  /**
@@ -1893,10 +2084,10 @@ class Api extends HttpClient {
1893
2084
  */
1894
2085
  credentialControllerFindAll: (query, params = {}) => this.request({
1895
2086
  path: `/credential`,
1896
- method: 'GET',
2087
+ method: "GET",
1897
2088
  query: query,
1898
2089
  secure: true,
1899
- format: 'json',
2090
+ format: "json",
1900
2091
  ...params,
1901
2092
  }),
1902
2093
  /**
@@ -1910,9 +2101,9 @@ class Api extends HttpClient {
1910
2101
  */
1911
2102
  credentialControllerFindOne: (id, params = {}) => this.request({
1912
2103
  path: `/credential/${id}`,
1913
- method: 'GET',
2104
+ method: "GET",
1914
2105
  secure: true,
1915
- format: 'json',
2106
+ format: "json",
1916
2107
  ...params,
1917
2108
  }),
1918
2109
  /**
@@ -1926,11 +2117,11 @@ class Api extends HttpClient {
1926
2117
  */
1927
2118
  credentialControllerUpdate: (id, data, params = {}) => this.request({
1928
2119
  path: `/credential/${id}`,
1929
- method: 'PATCH',
2120
+ method: "PATCH",
1930
2121
  body: data,
1931
2122
  secure: true,
1932
2123
  type: ContentType.Json,
1933
- format: 'json',
2124
+ format: "json",
1934
2125
  ...params,
1935
2126
  }),
1936
2127
  /**
@@ -1944,9 +2135,9 @@ class Api extends HttpClient {
1944
2135
  */
1945
2136
  credentialControllerRemove: (id, params = {}) => this.request({
1946
2137
  path: `/credential/${id}`,
1947
- method: 'DELETE',
2138
+ method: "DELETE",
1948
2139
  secure: true,
1949
- format: 'json',
2140
+ format: "json",
1950
2141
  ...params,
1951
2142
  }),
1952
2143
  /**
@@ -1960,11 +2151,11 @@ class Api extends HttpClient {
1960
2151
  */
1961
2152
  credentialControllerGenerateSession: (data, params = {}) => this.request({
1962
2153
  path: `/credential/session`,
1963
- method: 'POST',
2154
+ method: "POST",
1964
2155
  body: data,
1965
2156
  secure: true,
1966
2157
  type: ContentType.Json,
1967
- format: 'json',
2158
+ format: "json",
1968
2159
  ...params,
1969
2160
  }),
1970
2161
  /**
@@ -1977,7 +2168,7 @@ class Api extends HttpClient {
1977
2168
  */
1978
2169
  credentialControllerHandleWebhook: (data, params = {}) => this.request({
1979
2170
  path: `/credential/webhook`,
1980
- method: 'POST',
2171
+ method: "POST",
1981
2172
  body: data,
1982
2173
  type: ContentType.Json,
1983
2174
  ...params,
@@ -1993,7 +2184,7 @@ class Api extends HttpClient {
1993
2184
  */
1994
2185
  credentialControllerCredentialActionTrigger: (data, params = {}) => this.request({
1995
2186
  path: `/credential/trigger`,
1996
- method: 'POST',
2187
+ method: "POST",
1997
2188
  body: data,
1998
2189
  secure: true,
1999
2190
  type: ContentType.Json,
@@ -2012,11 +2203,11 @@ class Api extends HttpClient {
2012
2203
  */
2013
2204
  templateControllerCreate: (data, params = {}) => this.request({
2014
2205
  path: `/template`,
2015
- method: 'POST',
2206
+ method: "POST",
2016
2207
  body: data,
2017
2208
  secure: true,
2018
2209
  type: ContentType.Json,
2019
- format: 'json',
2210
+ format: "json",
2020
2211
  ...params,
2021
2212
  }),
2022
2213
  /**
@@ -2030,10 +2221,10 @@ class Api extends HttpClient {
2030
2221
  */
2031
2222
  templateControllerFindAll: (query, params = {}) => this.request({
2032
2223
  path: `/template`,
2033
- method: 'GET',
2224
+ method: "GET",
2034
2225
  query: query,
2035
2226
  secure: true,
2036
- format: 'json',
2227
+ format: "json",
2037
2228
  ...params,
2038
2229
  }),
2039
2230
  /**
@@ -2047,9 +2238,9 @@ class Api extends HttpClient {
2047
2238
  */
2048
2239
  templateControllerFindAllPinned: (params = {}) => this.request({
2049
2240
  path: `/template/pinned`,
2050
- method: 'GET',
2241
+ method: "GET",
2051
2242
  secure: true,
2052
- format: 'json',
2243
+ format: "json",
2053
2244
  ...params,
2054
2245
  }),
2055
2246
  /**
@@ -2063,9 +2254,9 @@ class Api extends HttpClient {
2063
2254
  */
2064
2255
  templateControllerFindOne: (id, params = {}) => this.request({
2065
2256
  path: `/template/${id}`,
2066
- method: 'GET',
2257
+ method: "GET",
2067
2258
  secure: true,
2068
- format: 'json',
2259
+ format: "json",
2069
2260
  ...params,
2070
2261
  }),
2071
2262
  /**
@@ -2079,11 +2270,11 @@ class Api extends HttpClient {
2079
2270
  */
2080
2271
  templateControllerUpdate: (id, data, params = {}) => this.request({
2081
2272
  path: `/template/${id}`,
2082
- method: 'PATCH',
2273
+ method: "PATCH",
2083
2274
  body: data,
2084
2275
  secure: true,
2085
2276
  type: ContentType.Json,
2086
- format: 'json',
2277
+ format: "json",
2087
2278
  ...params,
2088
2279
  }),
2089
2280
  /**
@@ -2097,9 +2288,9 @@ class Api extends HttpClient {
2097
2288
  */
2098
2289
  templateControllerRemove: (id, params = {}) => this.request({
2099
2290
  path: `/template/${id}`,
2100
- method: 'DELETE',
2291
+ method: "DELETE",
2101
2292
  secure: true,
2102
- format: 'json',
2293
+ format: "json",
2103
2294
  ...params,
2104
2295
  }),
2105
2296
  };
@@ -2115,10 +2306,10 @@ class Api extends HttpClient {
2115
2306
  */
2116
2307
  voiceLibraryControllerVoiceGetByProvider: (provider, query, params = {}) => this.request({
2117
2308
  path: `/voice-library/${provider}`,
2118
- method: 'GET',
2309
+ method: "GET",
2119
2310
  query: query,
2120
2311
  secure: true,
2121
- format: 'json',
2312
+ format: "json",
2122
2313
  ...params,
2123
2314
  }),
2124
2315
  /**
@@ -2132,9 +2323,9 @@ class Api extends HttpClient {
2132
2323
  */
2133
2324
  voiceLibraryControllerVoiceGetAccentsByProvider: (provider, params = {}) => this.request({
2134
2325
  path: `/voice-library/${provider}/accents`,
2135
- method: 'GET',
2326
+ method: "GET",
2136
2327
  secure: true,
2137
- format: 'json',
2328
+ format: "json",
2138
2329
  ...params,
2139
2330
  }),
2140
2331
  /**
@@ -2148,9 +2339,9 @@ class Api extends HttpClient {
2148
2339
  */
2149
2340
  voiceLibraryControllerVoiceLibrarySyncByProvider: (provider, params = {}) => this.request({
2150
2341
  path: `/voice-library/sync/${provider}`,
2151
- method: 'POST',
2342
+ method: "POST",
2152
2343
  secure: true,
2153
- format: 'json',
2344
+ format: "json",
2154
2345
  ...params,
2155
2346
  }),
2156
2347
  /**
@@ -2164,11 +2355,11 @@ class Api extends HttpClient {
2164
2355
  */
2165
2356
  voiceLibraryControllerVoiceLibrarySyncDefaultVoices: (data, params = {}) => this.request({
2166
2357
  path: `/voice-library/sync`,
2167
- method: 'POST',
2358
+ method: "POST",
2168
2359
  body: data,
2169
2360
  secure: true,
2170
2361
  type: ContentType.Json,
2171
- format: 'json',
2362
+ format: "json",
2172
2363
  ...params,
2173
2364
  }),
2174
2365
  /**
@@ -2182,7 +2373,7 @@ class Api extends HttpClient {
2182
2373
  */
2183
2374
  voiceLibraryControllerVoiceLibraryCreateSesameVoice: (data, params = {}) => this.request({
2184
2375
  path: `/voice-library/create-sesame-voice`,
2185
- method: 'POST',
2376
+ method: "POST",
2186
2377
  body: data,
2187
2378
  secure: true,
2188
2379
  type: ContentType.Json,
@@ -2200,10 +2391,10 @@ class Api extends HttpClient {
2200
2391
  */
2201
2392
  providerControllerGetWorkflows: (provider, query, params = {}) => this.request({
2202
2393
  path: `/${provider}/workflows`,
2203
- method: 'GET',
2394
+ method: "GET",
2204
2395
  query: query,
2205
2396
  secure: true,
2206
- format: 'json',
2397
+ format: "json",
2207
2398
  ...params,
2208
2399
  }),
2209
2400
  /**
@@ -2216,9 +2407,9 @@ class Api extends HttpClient {
2216
2407
  */
2217
2408
  providerControllerGetWorkflowTriggerHook: (provider, workflowId, params = {}) => this.request({
2218
2409
  path: `/${provider}/workflows/${workflowId}/hooks`,
2219
- method: 'GET',
2410
+ method: "GET",
2220
2411
  secure: true,
2221
- format: 'json',
2412
+ format: "json",
2222
2413
  ...params,
2223
2414
  }),
2224
2415
  /**
@@ -2231,9 +2422,9 @@ class Api extends HttpClient {
2231
2422
  */
2232
2423
  providerControllerGetLocations: (provider, params = {}) => this.request({
2233
2424
  path: `/${provider}/locations`,
2234
- method: 'GET',
2425
+ method: "GET",
2235
2426
  secure: true,
2236
- format: 'json',
2427
+ format: "json",
2237
2428
  ...params,
2238
2429
  }),
2239
2430
  /**
@@ -2248,10 +2439,10 @@ class Api extends HttpClient {
2248
2439
  */
2249
2440
  voiceProviderControllerSearchVoices: (provider, query, params = {}) => this.request({
2250
2441
  path: `/${provider}/voices/search`,
2251
- method: 'GET',
2442
+ method: "GET",
2252
2443
  query: query,
2253
2444
  secure: true,
2254
- format: 'json',
2445
+ format: "json",
2255
2446
  ...params,
2256
2447
  }),
2257
2448
  /**
@@ -2265,10 +2456,10 @@ class Api extends HttpClient {
2265
2456
  */
2266
2457
  voiceProviderControllerSearchVoice: (provider, query, params = {}) => this.request({
2267
2458
  path: `/${provider}/voice/search`,
2268
- method: 'GET',
2459
+ method: "GET",
2269
2460
  query: query,
2270
2461
  secure: true,
2271
- format: 'json',
2462
+ format: "json",
2272
2463
  ...params,
2273
2464
  }),
2274
2465
  /**
@@ -2283,11 +2474,11 @@ class Api extends HttpClient {
2283
2474
  */
2284
2475
  voiceProviderControllerAddVoices: (provider, data, params = {}) => this.request({
2285
2476
  path: `/${provider}/voices/add`,
2286
- method: 'POST',
2477
+ method: "POST",
2287
2478
  body: data,
2288
2479
  secure: true,
2289
2480
  type: ContentType.Json,
2290
- format: 'json',
2481
+ format: "json",
2291
2482
  ...params,
2292
2483
  }),
2293
2484
  /**
@@ -2301,11 +2492,11 @@ class Api extends HttpClient {
2301
2492
  */
2302
2493
  voiceProviderControllerAddVoice: (provider, data, params = {}) => this.request({
2303
2494
  path: `/${provider}/voice/add`,
2304
- method: 'POST',
2495
+ method: "POST",
2305
2496
  body: data,
2306
2497
  secure: true,
2307
2498
  type: ContentType.Json,
2308
- format: 'json',
2499
+ format: "json",
2309
2500
  ...params,
2310
2501
  }),
2311
2502
  };
@@ -2321,7 +2512,7 @@ class Api extends HttpClient {
2321
2512
  */
2322
2513
  voiceProviderControllerCloneVoices: (data, params = {}) => this.request({
2323
2514
  path: `/11labs/voice/clone`,
2324
- method: 'POST',
2515
+ method: "POST",
2325
2516
  body: data,
2326
2517
  secure: true,
2327
2518
  type: ContentType.FormData,