@talqing/sdk 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +6 -15
- package/dist/cjs/client.js +1 -1
- package/dist/cjs/client.js.map +1 -1
- package/dist/cjs/gen/index.d.ts +1 -1
- package/dist/cjs/gen/index.d.ts.map +1 -1
- package/dist/cjs/gen/sdk.gen.d.ts +37 -54
- package/dist/cjs/gen/sdk.gen.d.ts.map +1 -1
- package/dist/cjs/gen/sdk.gen.js +255 -276
- package/dist/cjs/gen/sdk.gen.js.map +1 -1
- package/dist/cjs/gen/types.gen.d.ts +173 -164
- package/dist/cjs/gen/types.gen.d.ts.map +1 -1
- package/dist/esm/client.js +1 -1
- package/dist/esm/client.js.map +1 -1
- package/dist/esm/gen/index.d.ts +1 -1
- package/dist/esm/gen/index.d.ts.map +1 -1
- package/dist/esm/gen/sdk.gen.d.ts +37 -54
- package/dist/esm/gen/sdk.gen.d.ts.map +1 -1
- package/dist/esm/gen/sdk.gen.js +255 -276
- package/dist/esm/gen/sdk.gen.js.map +1 -1
- package/dist/esm/gen/types.gen.d.ts +173 -164
- package/dist/esm/gen/types.gen.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +1 -1
- package/src/gen/index.ts +1 -1
- package/src/gen/sdk.gen.ts +270 -292
- package/src/gen/types.gen.ts +184 -175
package/dist/cjs/gen/sdk.gen.js
CHANGED
|
@@ -43,7 +43,7 @@ class Versions extends HeyApiClient {
|
|
|
43
43
|
responseStyle: 'data',
|
|
44
44
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
45
45
|
in: 'cookie',
|
|
46
|
-
name: '
|
|
46
|
+
name: 'talqing_sid',
|
|
47
47
|
type: 'apiKey'
|
|
48
48
|
}],
|
|
49
49
|
url: '/v1/agents/{agent_id}/versions/{version}',
|
|
@@ -70,7 +70,7 @@ class Versions extends HeyApiClient {
|
|
|
70
70
|
responseStyle: 'data',
|
|
71
71
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
72
72
|
in: 'cookie',
|
|
73
|
-
name: '
|
|
73
|
+
name: 'talqing_sid',
|
|
74
74
|
type: 'apiKey'
|
|
75
75
|
}],
|
|
76
76
|
url: '/v1/agents/{agent_id}/versions/{version}/rollback',
|
|
@@ -95,7 +95,7 @@ class Agents extends HeyApiClient {
|
|
|
95
95
|
responseStyle: 'data',
|
|
96
96
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
97
97
|
in: 'cookie',
|
|
98
|
-
name: '
|
|
98
|
+
name: 'talqing_sid',
|
|
99
99
|
type: 'apiKey'
|
|
100
100
|
}],
|
|
101
101
|
url: '/v1/agents',
|
|
@@ -118,7 +118,7 @@ class Agents extends HeyApiClient {
|
|
|
118
118
|
responseStyle: 'data',
|
|
119
119
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
120
120
|
in: 'cookie',
|
|
121
|
-
name: '
|
|
121
|
+
name: 'talqing_sid',
|
|
122
122
|
type: 'apiKey'
|
|
123
123
|
}],
|
|
124
124
|
url: '/v1/agents',
|
|
@@ -142,7 +142,7 @@ class Agents extends HeyApiClient {
|
|
|
142
142
|
responseStyle: 'data',
|
|
143
143
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
144
144
|
in: 'cookie',
|
|
145
|
-
name: '
|
|
145
|
+
name: 'talqing_sid',
|
|
146
146
|
type: 'apiKey'
|
|
147
147
|
}],
|
|
148
148
|
url: '/v1/agents/{agent_id}',
|
|
@@ -161,7 +161,7 @@ class Agents extends HeyApiClient {
|
|
|
161
161
|
responseStyle: 'data',
|
|
162
162
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
163
163
|
in: 'cookie',
|
|
164
|
-
name: '
|
|
164
|
+
name: 'talqing_sid',
|
|
165
165
|
type: 'apiKey'
|
|
166
166
|
}],
|
|
167
167
|
url: '/v1/agents/{agent_id}',
|
|
@@ -192,7 +192,7 @@ class Agents extends HeyApiClient {
|
|
|
192
192
|
responseStyle: 'data',
|
|
193
193
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
194
194
|
in: 'cookie',
|
|
195
|
-
name: '
|
|
195
|
+
name: 'talqing_sid',
|
|
196
196
|
type: 'apiKey'
|
|
197
197
|
}],
|
|
198
198
|
url: '/v1/agents/{agent_id}',
|
|
@@ -220,7 +220,7 @@ class Agents extends HeyApiClient {
|
|
|
220
220
|
responseStyle: 'data',
|
|
221
221
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
222
222
|
in: 'cookie',
|
|
223
|
-
name: '
|
|
223
|
+
name: 'talqing_sid',
|
|
224
224
|
type: 'apiKey'
|
|
225
225
|
}],
|
|
226
226
|
url: '/v1/agents/{agent_id}/publish',
|
|
@@ -244,7 +244,7 @@ class Agents extends HeyApiClient {
|
|
|
244
244
|
responseStyle: 'data',
|
|
245
245
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
246
246
|
in: 'cookie',
|
|
247
|
-
name: '
|
|
247
|
+
name: 'talqing_sid',
|
|
248
248
|
type: 'apiKey'
|
|
249
249
|
}],
|
|
250
250
|
url: '/v1/agents/{agent_id}/validate',
|
|
@@ -261,20 +261,10 @@ class Credits extends HeyApiClient {
|
|
|
261
261
|
/**
|
|
262
262
|
* Get Credits
|
|
263
263
|
*
|
|
264
|
-
* This workspace's credit balance
|
|
265
|
-
* top-up costs.
|
|
264
|
+
* This workspace's credit balance, what it buys, and what a top-up costs.
|
|
266
265
|
*
|
|
267
266
|
* Readable by every role: a VIEWER can start a web call, so a VIEWER must be
|
|
268
267
|
* able to see why one was refused.
|
|
269
|
-
*
|
|
270
|
-
* This is also where credit the control plane could not deliver lands. Anything
|
|
271
|
-
* it has issued for this workspace here — a purchase, a signup grant, a
|
|
272
|
-
* reversal — that this region has not written yet is applied before the balance
|
|
273
|
-
* is read. That is the backstop for a failed push, and it is a reconcile on
|
|
274
|
-
* demand rather than a timer: the moment someone cares is the moment this page
|
|
275
|
-
* loads, whether they arrived from the payment processor or from the "out of
|
|
276
|
-
* credits" banner. It costs nothing when there is nothing to apply, which is
|
|
277
|
-
* almost always.
|
|
278
268
|
*/
|
|
279
269
|
get(parameters, options) {
|
|
280
270
|
const params = (0, index_js_1.buildClientParams)([parameters], [{ args: [{ in: 'query', key: 'topup' }] }]);
|
|
@@ -282,7 +272,7 @@ class Credits extends HeyApiClient {
|
|
|
282
272
|
responseStyle: 'data',
|
|
283
273
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
284
274
|
in: 'cookie',
|
|
285
|
-
name: '
|
|
275
|
+
name: 'talqing_sid',
|
|
286
276
|
type: 'apiKey'
|
|
287
277
|
}],
|
|
288
278
|
url: '/v1/billing/credits',
|
|
@@ -297,11 +287,6 @@ class Credits extends HeyApiClient {
|
|
|
297
287
|
*
|
|
298
288
|
* Organization admins only — spending the workspace's money is an admin act,
|
|
299
289
|
* the same as storing a secret or a provider key.
|
|
300
|
-
*
|
|
301
|
-
* The credit lands in THIS region, and that is decided by which region's API
|
|
302
|
-
* you called rather than by anything in the request. A slug in a body could be
|
|
303
|
-
* pointed at the other region, where the money would then be stuck: balances
|
|
304
|
-
* are per region and there is no transfer between them.
|
|
305
290
|
*/
|
|
306
291
|
checkout(parameters, options) {
|
|
307
292
|
const params = (0, index_js_1.buildClientParams)([parameters], [{ args: [{ key: 'creditCheckoutRequest', map: 'body' }] }]);
|
|
@@ -309,7 +294,7 @@ class Credits extends HeyApiClient {
|
|
|
309
294
|
responseStyle: 'data',
|
|
310
295
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
311
296
|
in: 'cookie',
|
|
312
|
-
name: '
|
|
297
|
+
name: 'talqing_sid',
|
|
313
298
|
type: 'apiKey'
|
|
314
299
|
}],
|
|
315
300
|
url: '/v1/billing/credits/checkout',
|
|
@@ -325,7 +310,7 @@ class Credits extends HeyApiClient {
|
|
|
325
310
|
/**
|
|
326
311
|
* List Credit Ledger
|
|
327
312
|
*
|
|
328
|
-
* Every movement of this
|
|
313
|
+
* Every movement of this workspace's balance, newest first, with what caused each.
|
|
329
314
|
*/
|
|
330
315
|
ledger(parameters, options) {
|
|
331
316
|
const params = (0, index_js_1.buildClientParams)([parameters], [{ args: [{ in: 'query', key: 'limit' }, { in: 'query', key: 'offset' }] }]);
|
|
@@ -333,7 +318,7 @@ class Credits extends HeyApiClient {
|
|
|
333
318
|
responseStyle: 'data',
|
|
334
319
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
335
320
|
in: 'cookie',
|
|
336
|
-
name: '
|
|
321
|
+
name: 'talqing_sid',
|
|
337
322
|
type: 'apiKey'
|
|
338
323
|
}],
|
|
339
324
|
url: '/v1/billing/credits/ledger',
|
|
@@ -364,7 +349,7 @@ class ProviderKeys extends HeyApiClient {
|
|
|
364
349
|
responseStyle: 'data',
|
|
365
350
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
366
351
|
in: 'cookie',
|
|
367
|
-
name: '
|
|
352
|
+
name: 'talqing_sid',
|
|
368
353
|
type: 'apiKey'
|
|
369
354
|
}],
|
|
370
355
|
url: '/v1/byok',
|
|
@@ -383,7 +368,7 @@ class ProviderKeys extends HeyApiClient {
|
|
|
383
368
|
responseStyle: 'data',
|
|
384
369
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
385
370
|
in: 'cookie',
|
|
386
|
-
name: '
|
|
371
|
+
name: 'talqing_sid',
|
|
387
372
|
type: 'apiKey'
|
|
388
373
|
}],
|
|
389
374
|
url: '/v1/byok/{provider}',
|
|
@@ -407,7 +392,7 @@ class ProviderKeys extends HeyApiClient {
|
|
|
407
392
|
responseStyle: 'data',
|
|
408
393
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
409
394
|
in: 'cookie',
|
|
410
|
-
name: '
|
|
395
|
+
name: 'talqing_sid',
|
|
411
396
|
type: 'apiKey'
|
|
412
397
|
}],
|
|
413
398
|
url: '/v1/byok/{provider}',
|
|
@@ -441,7 +426,7 @@ class Analysis extends HeyApiClient {
|
|
|
441
426
|
responseStyle: 'data',
|
|
442
427
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
443
428
|
in: 'cookie',
|
|
444
|
-
name: '
|
|
429
|
+
name: 'talqing_sid',
|
|
445
430
|
type: 'apiKey'
|
|
446
431
|
}],
|
|
447
432
|
url: '/v1/calls/analysis/backfill',
|
|
@@ -470,7 +455,7 @@ class Analysis extends HeyApiClient {
|
|
|
470
455
|
responseStyle: 'data',
|
|
471
456
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
472
457
|
in: 'cookie',
|
|
473
|
-
name: '
|
|
458
|
+
name: 'talqing_sid',
|
|
474
459
|
type: 'apiKey'
|
|
475
460
|
}],
|
|
476
461
|
url: '/v1/calls/{session_id}/analysis/preview',
|
|
@@ -507,7 +492,7 @@ class Recipients extends HeyApiClient {
|
|
|
507
492
|
responseStyle: 'data',
|
|
508
493
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
509
494
|
in: 'cookie',
|
|
510
|
-
name: '
|
|
495
|
+
name: 'talqing_sid',
|
|
511
496
|
type: 'apiKey'
|
|
512
497
|
}],
|
|
513
498
|
url: '/v1/calls/batches/{batch_id}/recipients',
|
|
@@ -530,7 +515,7 @@ class Recipients extends HeyApiClient {
|
|
|
530
515
|
responseStyle: 'data',
|
|
531
516
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
532
517
|
in: 'cookie',
|
|
533
|
-
name: '
|
|
518
|
+
name: 'talqing_sid',
|
|
534
519
|
type: 'apiKey'
|
|
535
520
|
}],
|
|
536
521
|
url: '/v1/calls/batches/{batch_id}/recipients',
|
|
@@ -543,6 +528,30 @@ class Recipients extends HeyApiClient {
|
|
|
543
528
|
}
|
|
544
529
|
});
|
|
545
530
|
}
|
|
531
|
+
/**
|
|
532
|
+
* Delete Call Batch Recipients
|
|
533
|
+
*
|
|
534
|
+
* Remove rows that were never dialled. Not reversible; a dialled row is refused in `rejected`.
|
|
535
|
+
*/
|
|
536
|
+
delete(parameters, options) {
|
|
537
|
+
const params = (0, index_js_1.buildClientParams)([parameters], [{ args: [{ in: 'path', key: 'batch_id' }, { key: 'deleteRecipientsRequest', map: 'body' }] }]);
|
|
538
|
+
return (options?.client ?? this.client).post({
|
|
539
|
+
responseStyle: 'data',
|
|
540
|
+
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
541
|
+
in: 'cookie',
|
|
542
|
+
name: 'talqing_sid',
|
|
543
|
+
type: 'apiKey'
|
|
544
|
+
}],
|
|
545
|
+
url: '/v1/calls/batches/{batch_id}/recipients/delete',
|
|
546
|
+
...options,
|
|
547
|
+
...params,
|
|
548
|
+
headers: {
|
|
549
|
+
'Content-Type': 'application/json',
|
|
550
|
+
...options?.headers,
|
|
551
|
+
...params.headers
|
|
552
|
+
}
|
|
553
|
+
});
|
|
554
|
+
}
|
|
546
555
|
}
|
|
547
556
|
exports.Recipients = Recipients;
|
|
548
557
|
class Batches extends HeyApiClient {
|
|
@@ -567,7 +576,7 @@ class Batches extends HeyApiClient {
|
|
|
567
576
|
responseStyle: 'data',
|
|
568
577
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
569
578
|
in: 'cookie',
|
|
570
|
-
name: '
|
|
579
|
+
name: 'talqing_sid',
|
|
571
580
|
type: 'apiKey'
|
|
572
581
|
}],
|
|
573
582
|
url: '/v1/calls/batches',
|
|
@@ -607,7 +616,7 @@ class Batches extends HeyApiClient {
|
|
|
607
616
|
responseStyle: 'data',
|
|
608
617
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
609
618
|
in: 'cookie',
|
|
610
|
-
name: '
|
|
619
|
+
name: 'talqing_sid',
|
|
611
620
|
type: 'apiKey'
|
|
612
621
|
}],
|
|
613
622
|
url: '/v1/calls/batches',
|
|
@@ -633,7 +642,7 @@ class Batches extends HeyApiClient {
|
|
|
633
642
|
responseStyle: 'data',
|
|
634
643
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
635
644
|
in: 'cookie',
|
|
636
|
-
name: '
|
|
645
|
+
name: 'talqing_sid',
|
|
637
646
|
type: 'apiKey'
|
|
638
647
|
}],
|
|
639
648
|
url: '/v1/calls/batches/{batch_id}',
|
|
@@ -655,7 +664,7 @@ class Batches extends HeyApiClient {
|
|
|
655
664
|
responseStyle: 'data',
|
|
656
665
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
657
666
|
in: 'cookie',
|
|
658
|
-
name: '
|
|
667
|
+
name: 'talqing_sid',
|
|
659
668
|
type: 'apiKey'
|
|
660
669
|
}],
|
|
661
670
|
url: '/v1/calls/batches/{batch_id}',
|
|
@@ -680,7 +689,7 @@ class Batches extends HeyApiClient {
|
|
|
680
689
|
responseStyle: 'data',
|
|
681
690
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
682
691
|
in: 'cookie',
|
|
683
|
-
name: '
|
|
692
|
+
name: 'talqing_sid',
|
|
684
693
|
type: 'apiKey'
|
|
685
694
|
}],
|
|
686
695
|
url: '/v1/calls/batches/{batch_id}',
|
|
@@ -708,7 +717,7 @@ class Batches extends HeyApiClient {
|
|
|
708
717
|
responseStyle: 'data',
|
|
709
718
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
710
719
|
in: 'cookie',
|
|
711
|
-
name: '
|
|
720
|
+
name: 'talqing_sid',
|
|
712
721
|
type: 'apiKey'
|
|
713
722
|
}],
|
|
714
723
|
url: '/v1/calls/batches/{batch_id}/cancel',
|
|
@@ -729,7 +738,7 @@ class Batches extends HeyApiClient {
|
|
|
729
738
|
responseStyle: 'data',
|
|
730
739
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
731
740
|
in: 'cookie',
|
|
732
|
-
name: '
|
|
741
|
+
name: 'talqing_sid',
|
|
733
742
|
type: 'apiKey'
|
|
734
743
|
}],
|
|
735
744
|
url: '/v1/calls/batches/{batch_id}/pause',
|
|
@@ -751,7 +760,7 @@ class Batches extends HeyApiClient {
|
|
|
751
760
|
responseStyle: 'data',
|
|
752
761
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
753
762
|
in: 'cookie',
|
|
754
|
-
name: '
|
|
763
|
+
name: 'talqing_sid',
|
|
755
764
|
type: 'apiKey'
|
|
756
765
|
}],
|
|
757
766
|
url: '/v1/calls/batches/{batch_id}/resume',
|
|
@@ -785,7 +794,7 @@ class Recording extends HeyApiClient {
|
|
|
785
794
|
responseStyle: 'data',
|
|
786
795
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
787
796
|
in: 'cookie',
|
|
788
|
-
name: '
|
|
797
|
+
name: 'talqing_sid',
|
|
789
798
|
type: 'apiKey'
|
|
790
799
|
}],
|
|
791
800
|
url: '/v1/calls/{session_id}/recording',
|
|
@@ -823,7 +832,7 @@ class Recording extends HeyApiClient {
|
|
|
823
832
|
responseStyle: 'data',
|
|
824
833
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
825
834
|
in: 'cookie',
|
|
826
|
-
name: '
|
|
835
|
+
name: 'talqing_sid',
|
|
827
836
|
type: 'apiKey'
|
|
828
837
|
}],
|
|
829
838
|
url: '/v1/calls/{session_id}/recording',
|
|
@@ -857,7 +866,7 @@ class ScreenRecording extends HeyApiClient {
|
|
|
857
866
|
responseStyle: 'data',
|
|
858
867
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
859
868
|
in: 'cookie',
|
|
860
|
-
name: '
|
|
869
|
+
name: 'talqing_sid',
|
|
861
870
|
type: 'apiKey'
|
|
862
871
|
}],
|
|
863
872
|
url: '/v1/calls/{session_id}/screen-recording',
|
|
@@ -896,7 +905,7 @@ class Calls extends HeyApiClient {
|
|
|
896
905
|
responseStyle: 'data',
|
|
897
906
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
898
907
|
in: 'cookie',
|
|
899
|
-
name: '
|
|
908
|
+
name: 'talqing_sid',
|
|
900
909
|
type: 'apiKey'
|
|
901
910
|
}],
|
|
902
911
|
url: '/v1/calls',
|
|
@@ -927,7 +936,7 @@ class Calls extends HeyApiClient {
|
|
|
927
936
|
responseStyle: 'data',
|
|
928
937
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
929
938
|
in: 'cookie',
|
|
930
|
-
name: '
|
|
939
|
+
name: 'talqing_sid',
|
|
931
940
|
type: 'apiKey'
|
|
932
941
|
}],
|
|
933
942
|
url: '/v1/calls/outbound',
|
|
@@ -959,7 +968,7 @@ class Calls extends HeyApiClient {
|
|
|
959
968
|
responseStyle: 'data',
|
|
960
969
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
961
970
|
in: 'cookie',
|
|
962
|
-
name: '
|
|
971
|
+
name: 'talqing_sid',
|
|
963
972
|
type: 'apiKey'
|
|
964
973
|
}],
|
|
965
974
|
url: '/v1/calls/stats',
|
|
@@ -989,7 +998,7 @@ class Calls extends HeyApiClient {
|
|
|
989
998
|
responseStyle: 'data',
|
|
990
999
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
991
1000
|
in: 'cookie',
|
|
992
|
-
name: '
|
|
1001
|
+
name: 'talqing_sid',
|
|
993
1002
|
type: 'apiKey'
|
|
994
1003
|
}],
|
|
995
1004
|
url: '/v1/calls/token',
|
|
@@ -1035,7 +1044,7 @@ class Calls extends HeyApiClient {
|
|
|
1035
1044
|
responseStyle: 'data',
|
|
1036
1045
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1037
1046
|
in: 'cookie',
|
|
1038
|
-
name: '
|
|
1047
|
+
name: 'talqing_sid',
|
|
1039
1048
|
type: 'apiKey'
|
|
1040
1049
|
}],
|
|
1041
1050
|
url: '/v1/calls/{session_id}',
|
|
@@ -1063,7 +1072,7 @@ class Calls extends HeyApiClient {
|
|
|
1063
1072
|
responseStyle: 'data',
|
|
1064
1073
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1065
1074
|
in: 'cookie',
|
|
1066
|
-
name: '
|
|
1075
|
+
name: 'talqing_sid',
|
|
1067
1076
|
type: 'apiKey'
|
|
1068
1077
|
}],
|
|
1069
1078
|
url: '/v1/calls/{session_id}',
|
|
@@ -1071,6 +1080,28 @@ class Calls extends HeyApiClient {
|
|
|
1071
1080
|
...params
|
|
1072
1081
|
});
|
|
1073
1082
|
}
|
|
1083
|
+
/**
|
|
1084
|
+
* Resume Call
|
|
1085
|
+
*
|
|
1086
|
+
* Mint a token for a new web call that continues one that ended.
|
|
1087
|
+
*
|
|
1088
|
+
* It answers with the agent that held the floor, with the context it had. 409
|
|
1089
|
+
* if the call is not a web call, is still ending, or was already resumed.
|
|
1090
|
+
*/
|
|
1091
|
+
resume(parameters, options) {
|
|
1092
|
+
const params = (0, index_js_1.buildClientParams)([parameters], [{ args: [{ in: 'path', key: 'session_id' }] }]);
|
|
1093
|
+
return (options?.client ?? this.client).post({
|
|
1094
|
+
responseStyle: 'data',
|
|
1095
|
+
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1096
|
+
in: 'cookie',
|
|
1097
|
+
name: 'talqing_sid',
|
|
1098
|
+
type: 'apiKey'
|
|
1099
|
+
}],
|
|
1100
|
+
url: '/v1/calls/{session_id}/resume',
|
|
1101
|
+
...options,
|
|
1102
|
+
...params
|
|
1103
|
+
});
|
|
1104
|
+
}
|
|
1074
1105
|
get analysis() {
|
|
1075
1106
|
return this._analysis ?? (this._analysis = new Analysis({ client: this.client }));
|
|
1076
1107
|
}
|
|
@@ -1109,7 +1140,7 @@ class Avatars extends HeyApiClient {
|
|
|
1109
1140
|
responseStyle: 'data',
|
|
1110
1141
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1111
1142
|
in: 'cookie',
|
|
1112
|
-
name: '
|
|
1143
|
+
name: 'talqing_sid',
|
|
1113
1144
|
type: 'apiKey'
|
|
1114
1145
|
}],
|
|
1115
1146
|
url: '/v1/catalog/avatars',
|
|
@@ -1142,7 +1173,7 @@ class Models extends HeyApiClient {
|
|
|
1142
1173
|
responseStyle: 'data',
|
|
1143
1174
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1144
1175
|
in: 'cookie',
|
|
1145
|
-
name: '
|
|
1176
|
+
name: 'talqing_sid',
|
|
1146
1177
|
type: 'apiKey'
|
|
1147
1178
|
}],
|
|
1148
1179
|
url: '/v1/catalog/models',
|
|
@@ -1162,7 +1193,7 @@ class Models extends HeyApiClient {
|
|
|
1162
1193
|
responseStyle: 'data',
|
|
1163
1194
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1164
1195
|
in: 'cookie',
|
|
1165
|
-
name: '
|
|
1196
|
+
name: 'talqing_sid',
|
|
1166
1197
|
type: 'apiKey'
|
|
1167
1198
|
}],
|
|
1168
1199
|
url: '/v1/catalog/models/hosts',
|
|
@@ -1189,7 +1220,7 @@ class Elevenlabs extends HeyApiClient {
|
|
|
1189
1220
|
responseStyle: 'data',
|
|
1190
1221
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1191
1222
|
in: 'cookie',
|
|
1192
|
-
name: '
|
|
1223
|
+
name: 'talqing_sid',
|
|
1193
1224
|
type: 'apiKey'
|
|
1194
1225
|
}],
|
|
1195
1226
|
url: '/v1/catalog/voices/elevenlabs/add',
|
|
@@ -1221,7 +1252,7 @@ class Elevenlabs extends HeyApiClient {
|
|
|
1221
1252
|
responseStyle: 'data',
|
|
1222
1253
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1223
1254
|
in: 'cookie',
|
|
1224
|
-
name: '
|
|
1255
|
+
name: 'talqing_sid',
|
|
1225
1256
|
type: 'apiKey'
|
|
1226
1257
|
}],
|
|
1227
1258
|
url: '/v1/catalog/voices/elevenlabs/{voice_id}/settings',
|
|
@@ -1260,7 +1291,7 @@ class Voices extends HeyApiClient {
|
|
|
1260
1291
|
responseStyle: 'data',
|
|
1261
1292
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1262
1293
|
in: 'cookie',
|
|
1263
|
-
name: '
|
|
1294
|
+
name: 'talqing_sid',
|
|
1264
1295
|
type: 'apiKey'
|
|
1265
1296
|
}],
|
|
1266
1297
|
url: '/v1/catalog/voices',
|
|
@@ -1297,7 +1328,7 @@ class Catalog extends HeyApiClient {
|
|
|
1297
1328
|
responseStyle: 'data',
|
|
1298
1329
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1299
1330
|
in: 'cookie',
|
|
1300
|
-
name: '
|
|
1331
|
+
name: 'talqing_sid',
|
|
1301
1332
|
type: 'apiKey'
|
|
1302
1333
|
}],
|
|
1303
1334
|
url: '/v1/catalog',
|
|
@@ -1329,7 +1360,7 @@ class Analysis2 extends HeyApiClient {
|
|
|
1329
1360
|
responseStyle: 'data',
|
|
1330
1361
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1331
1362
|
in: 'cookie',
|
|
1332
|
-
name: '
|
|
1363
|
+
name: 'talqing_sid',
|
|
1333
1364
|
type: 'apiKey'
|
|
1334
1365
|
}],
|
|
1335
1366
|
url: '/v1/chats/{chat_id}/analysis',
|
|
@@ -1348,7 +1379,7 @@ class Analysis2 extends HeyApiClient {
|
|
|
1348
1379
|
responseStyle: 'data',
|
|
1349
1380
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1350
1381
|
in: 'cookie',
|
|
1351
|
-
name: '
|
|
1382
|
+
name: 'talqing_sid',
|
|
1352
1383
|
type: 'apiKey'
|
|
1353
1384
|
}],
|
|
1354
1385
|
url: '/v1/chats/{chat_id}/analysis/preview',
|
|
@@ -1380,7 +1411,7 @@ class Items extends HeyApiClient {
|
|
|
1380
1411
|
responseStyle: 'data',
|
|
1381
1412
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1382
1413
|
in: 'cookie',
|
|
1383
|
-
name: '
|
|
1414
|
+
name: 'talqing_sid',
|
|
1384
1415
|
type: 'apiKey'
|
|
1385
1416
|
}],
|
|
1386
1417
|
url: '/v1/chats/{chat_id}/items',
|
|
@@ -1405,7 +1436,7 @@ class Messages extends HeyApiClient {
|
|
|
1405
1436
|
responseStyle: 'data',
|
|
1406
1437
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1407
1438
|
in: 'cookie',
|
|
1408
|
-
name: '
|
|
1439
|
+
name: 'talqing_sid',
|
|
1409
1440
|
type: 'apiKey'
|
|
1410
1441
|
}],
|
|
1411
1442
|
url: '/v1/chats/{chat_id}/messages',
|
|
@@ -1432,7 +1463,7 @@ class Tokens extends HeyApiClient {
|
|
|
1432
1463
|
responseStyle: 'data',
|
|
1433
1464
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1434
1465
|
in: 'cookie',
|
|
1435
|
-
name: '
|
|
1466
|
+
name: 'talqing_sid',
|
|
1436
1467
|
type: 'apiKey'
|
|
1437
1468
|
}],
|
|
1438
1469
|
url: '/v1/chats/{chat_id}/token',
|
|
@@ -1460,7 +1491,7 @@ class Chats extends HeyApiClient {
|
|
|
1460
1491
|
responseStyle: 'data',
|
|
1461
1492
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1462
1493
|
in: 'cookie',
|
|
1463
|
-
name: '
|
|
1494
|
+
name: 'talqing_sid',
|
|
1464
1495
|
type: 'apiKey'
|
|
1465
1496
|
}],
|
|
1466
1497
|
url: '/v1/chats',
|
|
@@ -1482,7 +1513,7 @@ class Chats extends HeyApiClient {
|
|
|
1482
1513
|
responseStyle: 'data',
|
|
1483
1514
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1484
1515
|
in: 'cookie',
|
|
1485
|
-
name: '
|
|
1516
|
+
name: 'talqing_sid',
|
|
1486
1517
|
type: 'apiKey'
|
|
1487
1518
|
}],
|
|
1488
1519
|
url: '/v1/chats',
|
|
@@ -1506,7 +1537,7 @@ class Chats extends HeyApiClient {
|
|
|
1506
1537
|
responseStyle: 'data',
|
|
1507
1538
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1508
1539
|
in: 'cookie',
|
|
1509
|
-
name: '
|
|
1540
|
+
name: 'talqing_sid',
|
|
1510
1541
|
type: 'apiKey'
|
|
1511
1542
|
}],
|
|
1512
1543
|
url: '/v1/chats/{chat_id}',
|
|
@@ -1525,7 +1556,7 @@ class Chats extends HeyApiClient {
|
|
|
1525
1556
|
responseStyle: 'data',
|
|
1526
1557
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1527
1558
|
in: 'cookie',
|
|
1528
|
-
name: '
|
|
1559
|
+
name: 'talqing_sid',
|
|
1529
1560
|
type: 'apiKey'
|
|
1530
1561
|
}],
|
|
1531
1562
|
url: '/v1/chats/{chat_id}',
|
|
@@ -1544,7 +1575,7 @@ class Chats extends HeyApiClient {
|
|
|
1544
1575
|
responseStyle: 'data',
|
|
1545
1576
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1546
1577
|
in: 'cookie',
|
|
1547
|
-
name: '
|
|
1578
|
+
name: 'talqing_sid',
|
|
1548
1579
|
type: 'apiKey'
|
|
1549
1580
|
}],
|
|
1550
1581
|
url: '/v1/chats/{chat_id}/detail',
|
|
@@ -1563,7 +1594,7 @@ class Chats extends HeyApiClient {
|
|
|
1563
1594
|
responseStyle: 'data',
|
|
1564
1595
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1565
1596
|
in: 'cookie',
|
|
1566
|
-
name: '
|
|
1597
|
+
name: 'talqing_sid',
|
|
1567
1598
|
type: 'apiKey'
|
|
1568
1599
|
}],
|
|
1569
1600
|
url: '/v1/chats/{chat_id}/end',
|
|
@@ -1607,7 +1638,7 @@ class Items2 extends HeyApiClient {
|
|
|
1607
1638
|
responseStyle: 'data',
|
|
1608
1639
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1609
1640
|
in: 'cookie',
|
|
1610
|
-
name: '
|
|
1641
|
+
name: 'talqing_sid',
|
|
1611
1642
|
type: 'apiKey'
|
|
1612
1643
|
}],
|
|
1613
1644
|
url: '/v1/conversations/{conversation_id}/items',
|
|
@@ -1637,7 +1668,7 @@ class Sessions extends HeyApiClient {
|
|
|
1637
1668
|
responseStyle: 'data',
|
|
1638
1669
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1639
1670
|
in: 'cookie',
|
|
1640
|
-
name: '
|
|
1671
|
+
name: 'talqing_sid',
|
|
1641
1672
|
type: 'apiKey'
|
|
1642
1673
|
}],
|
|
1643
1674
|
url: '/v1/conversations/{conversation_id}/sessions',
|
|
@@ -1669,7 +1700,7 @@ class Conversations extends HeyApiClient {
|
|
|
1669
1700
|
responseStyle: 'data',
|
|
1670
1701
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1671
1702
|
in: 'cookie',
|
|
1672
|
-
name: '
|
|
1703
|
+
name: 'talqing_sid',
|
|
1673
1704
|
type: 'apiKey'
|
|
1674
1705
|
}],
|
|
1675
1706
|
url: '/v1/conversations',
|
|
@@ -1693,7 +1724,7 @@ class Conversations extends HeyApiClient {
|
|
|
1693
1724
|
responseStyle: 'data',
|
|
1694
1725
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1695
1726
|
in: 'cookie',
|
|
1696
|
-
name: '
|
|
1727
|
+
name: 'talqing_sid',
|
|
1697
1728
|
type: 'apiKey'
|
|
1698
1729
|
}],
|
|
1699
1730
|
url: '/v1/conversations/{conversation_id}',
|
|
@@ -1718,7 +1749,7 @@ class Conversations extends HeyApiClient {
|
|
|
1718
1749
|
responseStyle: 'data',
|
|
1719
1750
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1720
1751
|
in: 'cookie',
|
|
1721
|
-
name: '
|
|
1752
|
+
name: 'talqing_sid',
|
|
1722
1753
|
type: 'apiKey'
|
|
1723
1754
|
}],
|
|
1724
1755
|
url: '/v1/conversations/{conversation_id}',
|
|
@@ -1750,7 +1781,7 @@ class Conversations extends HeyApiClient {
|
|
|
1750
1781
|
responseStyle: 'data',
|
|
1751
1782
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1752
1783
|
in: 'cookie',
|
|
1753
|
-
name: '
|
|
1784
|
+
name: 'talqing_sid',
|
|
1754
1785
|
type: 'apiKey'
|
|
1755
1786
|
}],
|
|
1756
1787
|
url: '/v1/conversations/{conversation_id}/events',
|
|
@@ -1774,7 +1805,7 @@ class Conversations extends HeyApiClient {
|
|
|
1774
1805
|
responseStyle: 'data',
|
|
1775
1806
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1776
1807
|
in: 'cookie',
|
|
1777
|
-
name: '
|
|
1808
|
+
name: 'talqing_sid',
|
|
1778
1809
|
type: 'apiKey'
|
|
1779
1810
|
}],
|
|
1780
1811
|
url: '/v1/conversations/{conversation_id}/snapshot',
|
|
@@ -1797,7 +1828,7 @@ class Conversations extends HeyApiClient {
|
|
|
1797
1828
|
responseStyle: 'data',
|
|
1798
1829
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1799
1830
|
in: 'cookie',
|
|
1800
|
-
name: '
|
|
1831
|
+
name: 'talqing_sid',
|
|
1801
1832
|
type: 'apiKey'
|
|
1802
1833
|
}],
|
|
1803
1834
|
url: '/v1/conversations/{conversation_id}/trace',
|
|
@@ -1828,7 +1859,7 @@ class Agents2 extends HeyApiClient {
|
|
|
1828
1859
|
responseStyle: 'data',
|
|
1829
1860
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1830
1861
|
in: 'cookie',
|
|
1831
|
-
name: '
|
|
1862
|
+
name: 'talqing_sid',
|
|
1832
1863
|
type: 'apiKey'
|
|
1833
1864
|
}],
|
|
1834
1865
|
url: '/v1/copilot/agents/{agent_id}/messages',
|
|
@@ -1856,7 +1887,7 @@ class Agents2 extends HeyApiClient {
|
|
|
1856
1887
|
responseStyle: 'data',
|
|
1857
1888
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1858
1889
|
in: 'cookie',
|
|
1859
|
-
name: '
|
|
1890
|
+
name: 'talqing_sid',
|
|
1860
1891
|
type: 'apiKey'
|
|
1861
1892
|
}],
|
|
1862
1893
|
url: '/v1/copilot/agents/{agent_id}/stream',
|
|
@@ -1881,7 +1912,7 @@ class Tasks extends HeyApiClient {
|
|
|
1881
1912
|
responseStyle: 'data',
|
|
1882
1913
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1883
1914
|
in: 'cookie',
|
|
1884
|
-
name: '
|
|
1915
|
+
name: 'talqing_sid',
|
|
1885
1916
|
type: 'apiKey'
|
|
1886
1917
|
}],
|
|
1887
1918
|
url: '/v1/copilot/tasks/{task_id}/messages',
|
|
@@ -1909,7 +1940,7 @@ class Tasks extends HeyApiClient {
|
|
|
1909
1940
|
responseStyle: 'data',
|
|
1910
1941
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1911
1942
|
in: 'cookie',
|
|
1912
|
-
name: '
|
|
1943
|
+
name: 'talqing_sid',
|
|
1913
1944
|
type: 'apiKey'
|
|
1914
1945
|
}],
|
|
1915
1946
|
url: '/v1/copilot/tasks/{task_id}/stream',
|
|
@@ -1934,7 +1965,7 @@ class Tools extends HeyApiClient {
|
|
|
1934
1965
|
responseStyle: 'data',
|
|
1935
1966
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1936
1967
|
in: 'cookie',
|
|
1937
|
-
name: '
|
|
1968
|
+
name: 'talqing_sid',
|
|
1938
1969
|
type: 'apiKey'
|
|
1939
1970
|
}],
|
|
1940
1971
|
url: '/v1/copilot/tools/{tool_id}/messages',
|
|
@@ -1962,7 +1993,7 @@ class Tools extends HeyApiClient {
|
|
|
1962
1993
|
responseStyle: 'data',
|
|
1963
1994
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
1964
1995
|
in: 'cookie',
|
|
1965
|
-
name: '
|
|
1996
|
+
name: 'talqing_sid',
|
|
1966
1997
|
type: 'apiKey'
|
|
1967
1998
|
}],
|
|
1968
1999
|
url: '/v1/copilot/tools/{tool_id}/stream',
|
|
@@ -2007,7 +2038,7 @@ class Recipients2 extends HeyApiClient {
|
|
|
2007
2038
|
responseStyle: 'data',
|
|
2008
2039
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2009
2040
|
in: 'cookie',
|
|
2010
|
-
name: '
|
|
2041
|
+
name: 'talqing_sid',
|
|
2011
2042
|
type: 'apiKey'
|
|
2012
2043
|
}],
|
|
2013
2044
|
url: '/v1/email/batches/{batch_id}/recipients',
|
|
@@ -2028,7 +2059,7 @@ class Recipients2 extends HeyApiClient {
|
|
|
2028
2059
|
responseStyle: 'data',
|
|
2029
2060
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2030
2061
|
in: 'cookie',
|
|
2031
|
-
name: '
|
|
2062
|
+
name: 'talqing_sid',
|
|
2032
2063
|
type: 'apiKey'
|
|
2033
2064
|
}],
|
|
2034
2065
|
url: '/v1/email/batches/{batch_id}/recipients',
|
|
@@ -2041,6 +2072,30 @@ class Recipients2 extends HeyApiClient {
|
|
|
2041
2072
|
}
|
|
2042
2073
|
});
|
|
2043
2074
|
}
|
|
2075
|
+
/**
|
|
2076
|
+
* Delete Email Batch Recipients
|
|
2077
|
+
*
|
|
2078
|
+
* Remove rows that were never sent. Not reversible; a sent row is refused in `rejected`.
|
|
2079
|
+
*/
|
|
2080
|
+
delete(parameters, options) {
|
|
2081
|
+
const params = (0, index_js_1.buildClientParams)([parameters], [{ args: [{ in: 'path', key: 'batch_id' }, { key: 'deleteRecipientsRequest', map: 'body' }] }]);
|
|
2082
|
+
return (options?.client ?? this.client).post({
|
|
2083
|
+
responseStyle: 'data',
|
|
2084
|
+
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2085
|
+
in: 'cookie',
|
|
2086
|
+
name: 'talqing_sid',
|
|
2087
|
+
type: 'apiKey'
|
|
2088
|
+
}],
|
|
2089
|
+
url: '/v1/email/batches/{batch_id}/recipients/delete',
|
|
2090
|
+
...options,
|
|
2091
|
+
...params,
|
|
2092
|
+
headers: {
|
|
2093
|
+
'Content-Type': 'application/json',
|
|
2094
|
+
...options?.headers,
|
|
2095
|
+
...params.headers
|
|
2096
|
+
}
|
|
2097
|
+
});
|
|
2098
|
+
}
|
|
2044
2099
|
/**
|
|
2045
2100
|
* Patch Email Batch Recipient
|
|
2046
2101
|
*
|
|
@@ -2062,7 +2117,7 @@ class Recipients2 extends HeyApiClient {
|
|
|
2062
2117
|
responseStyle: 'data',
|
|
2063
2118
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2064
2119
|
in: 'cookie',
|
|
2065
|
-
name: '
|
|
2120
|
+
name: 'talqing_sid',
|
|
2066
2121
|
type: 'apiKey'
|
|
2067
2122
|
}],
|
|
2068
2123
|
url: '/v1/email/batches/{batch_id}/recipients/{recipient_id}',
|
|
@@ -2095,7 +2150,7 @@ class Recipients2 extends HeyApiClient {
|
|
|
2095
2150
|
responseStyle: 'data',
|
|
2096
2151
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2097
2152
|
in: 'cookie',
|
|
2098
|
-
name: '
|
|
2153
|
+
name: 'talqing_sid',
|
|
2099
2154
|
type: 'apiKey'
|
|
2100
2155
|
}],
|
|
2101
2156
|
url: '/v1/email/batches/{batch_id}/redraft',
|
|
@@ -2108,58 +2163,6 @@ class Recipients2 extends HeyApiClient {
|
|
|
2108
2163
|
}
|
|
2109
2164
|
});
|
|
2110
2165
|
}
|
|
2111
|
-
/**
|
|
2112
|
-
* Restore Email Batch Recipients
|
|
2113
|
-
*
|
|
2114
|
-
* Put skipped rows back. `selection: "all_eligible"` means every row a person
|
|
2115
|
-
* skipped; an `unfillable` row is restored by filling in its cell instead.
|
|
2116
|
-
*/
|
|
2117
|
-
restore(parameters, options) {
|
|
2118
|
-
const params = (0, index_js_1.buildClientParams)([parameters], [{ args: [{ in: 'path', key: 'batch_id' }, { key: 'selectRecipientsRequest', map: 'body' }] }]);
|
|
2119
|
-
return (options?.client ?? this.client).post({
|
|
2120
|
-
responseStyle: 'data',
|
|
2121
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2122
|
-
in: 'cookie',
|
|
2123
|
-
name: 'talqing_session',
|
|
2124
|
-
type: 'apiKey'
|
|
2125
|
-
}],
|
|
2126
|
-
url: '/v1/email/batches/{batch_id}/restore',
|
|
2127
|
-
...options,
|
|
2128
|
-
...params,
|
|
2129
|
-
headers: {
|
|
2130
|
-
'Content-Type': 'application/json',
|
|
2131
|
-
...options?.headers,
|
|
2132
|
-
...params.headers
|
|
2133
|
-
}
|
|
2134
|
-
});
|
|
2135
|
-
}
|
|
2136
|
-
/**
|
|
2137
|
-
* Skip Email Batch Recipients
|
|
2138
|
-
*
|
|
2139
|
-
* Take rows out of consideration. Reversible with `restore`.
|
|
2140
|
-
*
|
|
2141
|
-
* Accepts drafted rows and rows whose drafting failed. Takes either
|
|
2142
|
-
* `recipient_ids` or `selection: "all_eligible"`, which here means both.
|
|
2143
|
-
*/
|
|
2144
|
-
skip(parameters, options) {
|
|
2145
|
-
const params = (0, index_js_1.buildClientParams)([parameters], [{ args: [{ in: 'path', key: 'batch_id' }, { key: 'selectRecipientsRequest', map: 'body' }] }]);
|
|
2146
|
-
return (options?.client ?? this.client).post({
|
|
2147
|
-
responseStyle: 'data',
|
|
2148
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2149
|
-
in: 'cookie',
|
|
2150
|
-
name: 'talqing_session',
|
|
2151
|
-
type: 'apiKey'
|
|
2152
|
-
}],
|
|
2153
|
-
url: '/v1/email/batches/{batch_id}/skip',
|
|
2154
|
-
...options,
|
|
2155
|
-
...params,
|
|
2156
|
-
headers: {
|
|
2157
|
-
'Content-Type': 'application/json',
|
|
2158
|
-
...options?.headers,
|
|
2159
|
-
...params.headers
|
|
2160
|
-
}
|
|
2161
|
-
});
|
|
2162
|
-
}
|
|
2163
2166
|
}
|
|
2164
2167
|
exports.Recipients2 = Recipients2;
|
|
2165
2168
|
class Sends extends HeyApiClient {
|
|
@@ -2178,7 +2181,7 @@ class Sends extends HeyApiClient {
|
|
|
2178
2181
|
responseStyle: 'data',
|
|
2179
2182
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2180
2183
|
in: 'cookie',
|
|
2181
|
-
name: '
|
|
2184
|
+
name: 'talqing_sid',
|
|
2182
2185
|
type: 'apiKey'
|
|
2183
2186
|
}],
|
|
2184
2187
|
url: '/v1/email/batches/{batch_id}/sends',
|
|
@@ -2207,7 +2210,7 @@ class Sends extends HeyApiClient {
|
|
|
2207
2210
|
responseStyle: 'data',
|
|
2208
2211
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2209
2212
|
in: 'cookie',
|
|
2210
|
-
name: '
|
|
2213
|
+
name: 'talqing_sid',
|
|
2211
2214
|
type: 'apiKey'
|
|
2212
2215
|
}],
|
|
2213
2216
|
url: '/v1/email/batches/{batch_id}/sends',
|
|
@@ -2234,7 +2237,7 @@ class Sends extends HeyApiClient {
|
|
|
2234
2237
|
responseStyle: 'data',
|
|
2235
2238
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2236
2239
|
in: 'cookie',
|
|
2237
|
-
name: '
|
|
2240
|
+
name: 'talqing_sid',
|
|
2238
2241
|
type: 'apiKey'
|
|
2239
2242
|
}],
|
|
2240
2243
|
url: '/v1/email/batches/{batch_id}/sends/{send_id}',
|
|
@@ -2260,7 +2263,7 @@ class Sends extends HeyApiClient {
|
|
|
2260
2263
|
responseStyle: 'data',
|
|
2261
2264
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2262
2265
|
in: 'cookie',
|
|
2263
|
-
name: '
|
|
2266
|
+
name: 'talqing_sid',
|
|
2264
2267
|
type: 'apiKey'
|
|
2265
2268
|
}],
|
|
2266
2269
|
url: '/v1/email/batches/{batch_id}/sends/{send_id}',
|
|
@@ -2285,7 +2288,7 @@ class Sends extends HeyApiClient {
|
|
|
2285
2288
|
responseStyle: 'data',
|
|
2286
2289
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2287
2290
|
in: 'cookie',
|
|
2288
|
-
name: '
|
|
2291
|
+
name: 'talqing_sid',
|
|
2289
2292
|
type: 'apiKey'
|
|
2290
2293
|
}],
|
|
2291
2294
|
url: '/v1/email/batches/{batch_id}/sends/{send_id}/cancel',
|
|
@@ -2305,7 +2308,7 @@ class Sends extends HeyApiClient {
|
|
|
2305
2308
|
responseStyle: 'data',
|
|
2306
2309
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2307
2310
|
in: 'cookie',
|
|
2308
|
-
name: '
|
|
2311
|
+
name: 'talqing_sid',
|
|
2309
2312
|
type: 'apiKey'
|
|
2310
2313
|
}],
|
|
2311
2314
|
url: '/v1/email/batches/{batch_id}/sends/{send_id}/pause',
|
|
@@ -2324,7 +2327,7 @@ class Sends extends HeyApiClient {
|
|
|
2324
2327
|
responseStyle: 'data',
|
|
2325
2328
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2326
2329
|
in: 'cookie',
|
|
2327
|
-
name: '
|
|
2330
|
+
name: 'talqing_sid',
|
|
2328
2331
|
type: 'apiKey'
|
|
2329
2332
|
}],
|
|
2330
2333
|
url: '/v1/email/batches/{batch_id}/sends/{send_id}/resume',
|
|
@@ -2355,7 +2358,7 @@ class Batches2 extends HeyApiClient {
|
|
|
2355
2358
|
responseStyle: 'data',
|
|
2356
2359
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2357
2360
|
in: 'cookie',
|
|
2358
|
-
name: '
|
|
2361
|
+
name: 'talqing_sid',
|
|
2359
2362
|
type: 'apiKey'
|
|
2360
2363
|
}],
|
|
2361
2364
|
url: '/v1/email/batches',
|
|
@@ -2395,7 +2398,7 @@ class Batches2 extends HeyApiClient {
|
|
|
2395
2398
|
responseStyle: 'data',
|
|
2396
2399
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2397
2400
|
in: 'cookie',
|
|
2398
|
-
name: '
|
|
2401
|
+
name: 'talqing_sid',
|
|
2399
2402
|
type: 'apiKey'
|
|
2400
2403
|
}],
|
|
2401
2404
|
url: '/v1/email/batches',
|
|
@@ -2421,7 +2424,7 @@ class Batches2 extends HeyApiClient {
|
|
|
2421
2424
|
responseStyle: 'data',
|
|
2422
2425
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2423
2426
|
in: 'cookie',
|
|
2424
|
-
name: '
|
|
2427
|
+
name: 'talqing_sid',
|
|
2425
2428
|
type: 'apiKey'
|
|
2426
2429
|
}],
|
|
2427
2430
|
url: '/v1/email/batches/{batch_id}',
|
|
@@ -2443,7 +2446,7 @@ class Batches2 extends HeyApiClient {
|
|
|
2443
2446
|
responseStyle: 'data',
|
|
2444
2447
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2445
2448
|
in: 'cookie',
|
|
2446
|
-
name: '
|
|
2449
|
+
name: 'talqing_sid',
|
|
2447
2450
|
type: 'apiKey'
|
|
2448
2451
|
}],
|
|
2449
2452
|
url: '/v1/email/batches/{batch_id}',
|
|
@@ -2469,7 +2472,7 @@ class Batches2 extends HeyApiClient {
|
|
|
2469
2472
|
responseStyle: 'data',
|
|
2470
2473
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2471
2474
|
in: 'cookie',
|
|
2472
|
-
name: '
|
|
2475
|
+
name: 'talqing_sid',
|
|
2473
2476
|
type: 'apiKey'
|
|
2474
2477
|
}],
|
|
2475
2478
|
url: '/v1/email/batches/{batch_id}',
|
|
@@ -2497,7 +2500,7 @@ class Batches2 extends HeyApiClient {
|
|
|
2497
2500
|
responseStyle: 'data',
|
|
2498
2501
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2499
2502
|
in: 'cookie',
|
|
2500
|
-
name: '
|
|
2503
|
+
name: 'talqing_sid',
|
|
2501
2504
|
type: 'apiKey'
|
|
2502
2505
|
}],
|
|
2503
2506
|
url: '/v1/email/batches/{batch_id}/cancel',
|
|
@@ -2519,7 +2522,7 @@ class Batches2 extends HeyApiClient {
|
|
|
2519
2522
|
responseStyle: 'data',
|
|
2520
2523
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2521
2524
|
in: 'cookie',
|
|
2522
|
-
name: '
|
|
2525
|
+
name: 'talqing_sid',
|
|
2523
2526
|
type: 'apiKey'
|
|
2524
2527
|
}],
|
|
2525
2528
|
url: '/v1/email/batches/{batch_id}/pause',
|
|
@@ -2538,7 +2541,7 @@ class Batches2 extends HeyApiClient {
|
|
|
2538
2541
|
responseStyle: 'data',
|
|
2539
2542
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2540
2543
|
in: 'cookie',
|
|
2541
|
-
name: '
|
|
2544
|
+
name: 'talqing_sid',
|
|
2542
2545
|
type: 'apiKey'
|
|
2543
2546
|
}],
|
|
2544
2547
|
url: '/v1/email/batches/{batch_id}/resume',
|
|
@@ -2571,7 +2574,7 @@ class Senders extends HeyApiClient {
|
|
|
2571
2574
|
responseStyle: 'data',
|
|
2572
2575
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2573
2576
|
in: 'cookie',
|
|
2574
|
-
name: '
|
|
2577
|
+
name: 'talqing_sid',
|
|
2575
2578
|
type: 'apiKey'
|
|
2576
2579
|
}],
|
|
2577
2580
|
url: '/v1/email/senders',
|
|
@@ -2603,7 +2606,7 @@ class Entries extends HeyApiClient {
|
|
|
2603
2606
|
responseStyle: 'data',
|
|
2604
2607
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2605
2608
|
in: 'cookie',
|
|
2606
|
-
name: '
|
|
2609
|
+
name: 'talqing_sid',
|
|
2607
2610
|
type: 'apiKey'
|
|
2608
2611
|
}],
|
|
2609
2612
|
url: '/v1/faqs/{faq_id}/entries',
|
|
@@ -2627,7 +2630,7 @@ class Entries extends HeyApiClient {
|
|
|
2627
2630
|
responseStyle: 'data',
|
|
2628
2631
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2629
2632
|
in: 'cookie',
|
|
2630
|
-
name: '
|
|
2633
|
+
name: 'talqing_sid',
|
|
2631
2634
|
type: 'apiKey'
|
|
2632
2635
|
}],
|
|
2633
2636
|
url: '/v1/faqs/{faq_id}/entries/{entry_id}',
|
|
@@ -2650,7 +2653,7 @@ class Entries extends HeyApiClient {
|
|
|
2650
2653
|
responseStyle: 'data',
|
|
2651
2654
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2652
2655
|
in: 'cookie',
|
|
2653
|
-
name: '
|
|
2656
|
+
name: 'talqing_sid',
|
|
2654
2657
|
type: 'apiKey'
|
|
2655
2658
|
}],
|
|
2656
2659
|
url: '/v1/faqs/{faq_id}/entries/{entry_id}',
|
|
@@ -2677,7 +2680,7 @@ class Faqs extends HeyApiClient {
|
|
|
2677
2680
|
responseStyle: 'data',
|
|
2678
2681
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2679
2682
|
in: 'cookie',
|
|
2680
|
-
name: '
|
|
2683
|
+
name: 'talqing_sid',
|
|
2681
2684
|
type: 'apiKey'
|
|
2682
2685
|
}],
|
|
2683
2686
|
url: '/v1/faqs',
|
|
@@ -2696,7 +2699,7 @@ class Faqs extends HeyApiClient {
|
|
|
2696
2699
|
responseStyle: 'data',
|
|
2697
2700
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2698
2701
|
in: 'cookie',
|
|
2699
|
-
name: '
|
|
2702
|
+
name: 'talqing_sid',
|
|
2700
2703
|
type: 'apiKey'
|
|
2701
2704
|
}],
|
|
2702
2705
|
url: '/v1/faqs',
|
|
@@ -2721,7 +2724,7 @@ class Faqs extends HeyApiClient {
|
|
|
2721
2724
|
responseStyle: 'data',
|
|
2722
2725
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2723
2726
|
in: 'cookie',
|
|
2724
|
-
name: '
|
|
2727
|
+
name: 'talqing_sid',
|
|
2725
2728
|
type: 'apiKey'
|
|
2726
2729
|
}],
|
|
2727
2730
|
url: '/v1/faqs/{faq_id}',
|
|
@@ -2740,7 +2743,7 @@ class Faqs extends HeyApiClient {
|
|
|
2740
2743
|
responseStyle: 'data',
|
|
2741
2744
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2742
2745
|
in: 'cookie',
|
|
2743
|
-
name: '
|
|
2746
|
+
name: 'talqing_sid',
|
|
2744
2747
|
type: 'apiKey'
|
|
2745
2748
|
}],
|
|
2746
2749
|
url: '/v1/faqs/{faq_id}',
|
|
@@ -2759,7 +2762,7 @@ class Faqs extends HeyApiClient {
|
|
|
2759
2762
|
responseStyle: 'data',
|
|
2760
2763
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2761
2764
|
in: 'cookie',
|
|
2762
|
-
name: '
|
|
2765
|
+
name: 'talqing_sid',
|
|
2763
2766
|
type: 'apiKey'
|
|
2764
2767
|
}],
|
|
2765
2768
|
url: '/v1/faqs/{faq_id}',
|
|
@@ -2795,7 +2798,7 @@ class McpTools extends HeyApiClient {
|
|
|
2795
2798
|
responseStyle: 'data',
|
|
2796
2799
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2797
2800
|
in: 'cookie',
|
|
2798
|
-
name: '
|
|
2801
|
+
name: 'talqing_sid',
|
|
2799
2802
|
type: 'apiKey'
|
|
2800
2803
|
}],
|
|
2801
2804
|
url: '/v1/integrations/{integration_id}/mcp-tools',
|
|
@@ -2824,7 +2827,7 @@ class Triggers extends HeyApiClient {
|
|
|
2824
2827
|
responseStyle: 'data',
|
|
2825
2828
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2826
2829
|
in: 'cookie',
|
|
2827
|
-
name: '
|
|
2830
|
+
name: 'talqing_sid',
|
|
2828
2831
|
type: 'apiKey'
|
|
2829
2832
|
}],
|
|
2830
2833
|
url: '/v1/integrations/{integration_id}/triggers',
|
|
@@ -2850,7 +2853,7 @@ class Triggers extends HeyApiClient {
|
|
|
2850
2853
|
responseStyle: 'data',
|
|
2851
2854
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2852
2855
|
in: 'cookie',
|
|
2853
|
-
name: '
|
|
2856
|
+
name: 'talqing_sid',
|
|
2854
2857
|
type: 'apiKey'
|
|
2855
2858
|
}],
|
|
2856
2859
|
url: '/v1/integrations/{integration_id}/triggers',
|
|
@@ -2874,7 +2877,7 @@ class Triggers extends HeyApiClient {
|
|
|
2874
2877
|
responseStyle: 'data',
|
|
2875
2878
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2876
2879
|
in: 'cookie',
|
|
2877
|
-
name: '
|
|
2880
|
+
name: 'talqing_sid',
|
|
2878
2881
|
type: 'apiKey'
|
|
2879
2882
|
}],
|
|
2880
2883
|
url: '/v1/integrations/{integration_id}/triggers/{trigger_id}',
|
|
@@ -2901,7 +2904,7 @@ class Triggers extends HeyApiClient {
|
|
|
2901
2904
|
responseStyle: 'data',
|
|
2902
2905
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2903
2906
|
in: 'cookie',
|
|
2904
|
-
name: '
|
|
2907
|
+
name: 'talqing_sid',
|
|
2905
2908
|
type: 'apiKey'
|
|
2906
2909
|
}],
|
|
2907
2910
|
url: '/v1/integrations/{integration_id}/triggers/{trigger_id}',
|
|
@@ -2931,7 +2934,7 @@ class Integrations extends HeyApiClient {
|
|
|
2931
2934
|
responseStyle: 'data',
|
|
2932
2935
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2933
2936
|
in: 'cookie',
|
|
2934
|
-
name: '
|
|
2937
|
+
name: 'talqing_sid',
|
|
2935
2938
|
type: 'apiKey'
|
|
2936
2939
|
}],
|
|
2937
2940
|
url: '/v1/integrations',
|
|
@@ -2958,7 +2961,7 @@ class Integrations extends HeyApiClient {
|
|
|
2958
2961
|
responseStyle: 'data',
|
|
2959
2962
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2960
2963
|
in: 'cookie',
|
|
2961
|
-
name: '
|
|
2964
|
+
name: 'talqing_sid',
|
|
2962
2965
|
type: 'apiKey'
|
|
2963
2966
|
}],
|
|
2964
2967
|
url: '/v1/integrations',
|
|
@@ -2987,7 +2990,7 @@ class Integrations extends HeyApiClient {
|
|
|
2987
2990
|
responseStyle: 'data',
|
|
2988
2991
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
2989
2992
|
in: 'cookie',
|
|
2990
|
-
name: '
|
|
2993
|
+
name: 'talqing_sid',
|
|
2991
2994
|
type: 'apiKey'
|
|
2992
2995
|
}],
|
|
2993
2996
|
url: '/v1/integrations/catalog',
|
|
@@ -3006,7 +3009,7 @@ class Integrations extends HeyApiClient {
|
|
|
3006
3009
|
responseStyle: 'data',
|
|
3007
3010
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3008
3011
|
in: 'cookie',
|
|
3009
|
-
name: '
|
|
3012
|
+
name: 'talqing_sid',
|
|
3010
3013
|
type: 'apiKey'
|
|
3011
3014
|
}],
|
|
3012
3015
|
url: '/v1/integrations/{integration_id}',
|
|
@@ -3026,7 +3029,7 @@ class Integrations extends HeyApiClient {
|
|
|
3026
3029
|
responseStyle: 'data',
|
|
3027
3030
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3028
3031
|
in: 'cookie',
|
|
3029
|
-
name: '
|
|
3032
|
+
name: 'talqing_sid',
|
|
3030
3033
|
type: 'apiKey'
|
|
3031
3034
|
}],
|
|
3032
3035
|
url: '/v1/integrations/{integration_id}',
|
|
@@ -3053,7 +3056,7 @@ class Integrations extends HeyApiClient {
|
|
|
3053
3056
|
responseStyle: 'data',
|
|
3054
3057
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3055
3058
|
in: 'cookie',
|
|
3056
|
-
name: '
|
|
3059
|
+
name: 'talqing_sid',
|
|
3057
3060
|
type: 'apiKey'
|
|
3058
3061
|
}],
|
|
3059
3062
|
url: '/v1/integrations/{integration_id}',
|
|
@@ -3106,7 +3109,7 @@ class Observability extends HeyApiClient {
|
|
|
3106
3109
|
responseStyle: 'data',
|
|
3107
3110
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3108
3111
|
in: 'cookie',
|
|
3109
|
-
name: '
|
|
3112
|
+
name: 'talqing_sid',
|
|
3110
3113
|
type: 'apiKey'
|
|
3111
3114
|
}],
|
|
3112
3115
|
url: '/v1/observability',
|
|
@@ -3133,7 +3136,7 @@ class Functions extends HeyApiClient {
|
|
|
3133
3136
|
responseStyle: 'data',
|
|
3134
3137
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3135
3138
|
in: 'cookie',
|
|
3136
|
-
name: '
|
|
3139
|
+
name: 'talqing_sid',
|
|
3137
3140
|
type: 'apiKey'
|
|
3138
3141
|
}],
|
|
3139
3142
|
url: '/v1/schemas/functions/{name}',
|
|
@@ -3166,7 +3169,7 @@ class Schemas extends HeyApiClient {
|
|
|
3166
3169
|
responseStyle: 'data',
|
|
3167
3170
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3168
3171
|
in: 'cookie',
|
|
3169
|
-
name: '
|
|
3172
|
+
name: 'talqing_sid',
|
|
3170
3173
|
type: 'apiKey'
|
|
3171
3174
|
}],
|
|
3172
3175
|
url: '/v1/schemas/{name}',
|
|
@@ -3194,7 +3197,7 @@ class Secrets extends HeyApiClient {
|
|
|
3194
3197
|
responseStyle: 'data',
|
|
3195
3198
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3196
3199
|
in: 'cookie',
|
|
3197
|
-
name: '
|
|
3200
|
+
name: 'talqing_sid',
|
|
3198
3201
|
type: 'apiKey'
|
|
3199
3202
|
}],
|
|
3200
3203
|
url: '/v1/secrets',
|
|
@@ -3216,7 +3219,7 @@ class Secrets extends HeyApiClient {
|
|
|
3216
3219
|
responseStyle: 'data',
|
|
3217
3220
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3218
3221
|
in: 'cookie',
|
|
3219
|
-
name: '
|
|
3222
|
+
name: 'talqing_sid',
|
|
3220
3223
|
type: 'apiKey'
|
|
3221
3224
|
}],
|
|
3222
3225
|
url: '/v1/secrets',
|
|
@@ -3241,7 +3244,7 @@ class Secrets extends HeyApiClient {
|
|
|
3241
3244
|
responseStyle: 'data',
|
|
3242
3245
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3243
3246
|
in: 'cookie',
|
|
3244
|
-
name: '
|
|
3247
|
+
name: 'talqing_sid',
|
|
3245
3248
|
type: 'apiKey'
|
|
3246
3249
|
}],
|
|
3247
3250
|
url: '/v1/secrets/{secret_id}',
|
|
@@ -3263,7 +3266,7 @@ class Streams extends HeyApiClient {
|
|
|
3263
3266
|
responseStyle: 'data',
|
|
3264
3267
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3265
3268
|
in: 'cookie',
|
|
3266
|
-
name: '
|
|
3269
|
+
name: 'talqing_sid',
|
|
3267
3270
|
type: 'apiKey'
|
|
3268
3271
|
}],
|
|
3269
3272
|
url: '/v1/streams',
|
|
@@ -3285,7 +3288,7 @@ class Streams extends HeyApiClient {
|
|
|
3285
3288
|
responseStyle: 'data',
|
|
3286
3289
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3287
3290
|
in: 'cookie',
|
|
3288
|
-
name: '
|
|
3291
|
+
name: 'talqing_sid',
|
|
3289
3292
|
type: 'apiKey'
|
|
3290
3293
|
}],
|
|
3291
3294
|
url: '/v1/streams',
|
|
@@ -3309,7 +3312,7 @@ class Streams extends HeyApiClient {
|
|
|
3309
3312
|
responseStyle: 'data',
|
|
3310
3313
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3311
3314
|
in: 'cookie',
|
|
3312
|
-
name: '
|
|
3315
|
+
name: 'talqing_sid',
|
|
3313
3316
|
type: 'apiKey'
|
|
3314
3317
|
}],
|
|
3315
3318
|
url: '/v1/streams/{connection_id}',
|
|
@@ -3328,7 +3331,7 @@ class Streams extends HeyApiClient {
|
|
|
3328
3331
|
responseStyle: 'data',
|
|
3329
3332
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3330
3333
|
in: 'cookie',
|
|
3331
|
-
name: '
|
|
3334
|
+
name: 'talqing_sid',
|
|
3332
3335
|
type: 'apiKey'
|
|
3333
3336
|
}],
|
|
3334
3337
|
url: '/v1/streams/{connection_id}',
|
|
@@ -3350,7 +3353,7 @@ class Streams extends HeyApiClient {
|
|
|
3350
3353
|
responseStyle: 'data',
|
|
3351
3354
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3352
3355
|
in: 'cookie',
|
|
3353
|
-
name: '
|
|
3356
|
+
name: 'talqing_sid',
|
|
3354
3357
|
type: 'apiKey'
|
|
3355
3358
|
}],
|
|
3356
3359
|
url: '/v1/streams/{connection_id}',
|
|
@@ -3382,7 +3385,7 @@ class Accounts extends HeyApiClient {
|
|
|
3382
3385
|
responseStyle: 'data',
|
|
3383
3386
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3384
3387
|
in: 'cookie',
|
|
3385
|
-
name: '
|
|
3388
|
+
name: 'talqing_sid',
|
|
3386
3389
|
type: 'apiKey'
|
|
3387
3390
|
}],
|
|
3388
3391
|
url: '/v1/telephony/accounts',
|
|
@@ -3408,7 +3411,7 @@ class Accounts extends HeyApiClient {
|
|
|
3408
3411
|
responseStyle: 'data',
|
|
3409
3412
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3410
3413
|
in: 'cookie',
|
|
3411
|
-
name: '
|
|
3414
|
+
name: 'talqing_sid',
|
|
3412
3415
|
type: 'apiKey'
|
|
3413
3416
|
}],
|
|
3414
3417
|
url: '/v1/telephony/accounts',
|
|
@@ -3435,7 +3438,7 @@ class Accounts extends HeyApiClient {
|
|
|
3435
3438
|
responseStyle: 'data',
|
|
3436
3439
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3437
3440
|
in: 'cookie',
|
|
3438
|
-
name: '
|
|
3441
|
+
name: 'talqing_sid',
|
|
3439
3442
|
type: 'apiKey'
|
|
3440
3443
|
}],
|
|
3441
3444
|
url: '/v1/telephony/accounts/{account_id}',
|
|
@@ -3459,7 +3462,7 @@ class Accounts extends HeyApiClient {
|
|
|
3459
3462
|
responseStyle: 'data',
|
|
3460
3463
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3461
3464
|
in: 'cookie',
|
|
3462
|
-
name: '
|
|
3465
|
+
name: 'talqing_sid',
|
|
3463
3466
|
type: 'apiKey'
|
|
3464
3467
|
}],
|
|
3465
3468
|
url: '/v1/telephony/accounts/{account_id}',
|
|
@@ -3484,7 +3487,7 @@ class Accounts extends HeyApiClient {
|
|
|
3484
3487
|
responseStyle: 'data',
|
|
3485
3488
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3486
3489
|
in: 'cookie',
|
|
3487
|
-
name: '
|
|
3490
|
+
name: 'talqing_sid',
|
|
3488
3491
|
type: 'apiKey'
|
|
3489
3492
|
}],
|
|
3490
3493
|
url: '/v1/telephony/accounts/{account_id}',
|
|
@@ -3513,7 +3516,7 @@ class Accounts extends HeyApiClient {
|
|
|
3513
3516
|
responseStyle: 'data',
|
|
3514
3517
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3515
3518
|
in: 'cookie',
|
|
3516
|
-
name: '
|
|
3519
|
+
name: 'talqing_sid',
|
|
3517
3520
|
type: 'apiKey'
|
|
3518
3521
|
}],
|
|
3519
3522
|
url: '/v1/telephony/accounts/{account_id}/provision',
|
|
@@ -3540,7 +3543,7 @@ class Accounts extends HeyApiClient {
|
|
|
3540
3543
|
responseStyle: 'data',
|
|
3541
3544
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3542
3545
|
in: 'cookie',
|
|
3543
|
-
name: '
|
|
3546
|
+
name: 'talqing_sid',
|
|
3544
3547
|
type: 'apiKey'
|
|
3545
3548
|
}],
|
|
3546
3549
|
url: '/v1/telephony/accounts/{account_id}/remote-numbers',
|
|
@@ -3571,7 +3574,7 @@ class PhoneNumbers extends HeyApiClient {
|
|
|
3571
3574
|
responseStyle: 'data',
|
|
3572
3575
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3573
3576
|
in: 'cookie',
|
|
3574
|
-
name: '
|
|
3577
|
+
name: 'talqing_sid',
|
|
3575
3578
|
type: 'apiKey'
|
|
3576
3579
|
}],
|
|
3577
3580
|
url: '/v1/telephony/phone-numbers',
|
|
@@ -3594,7 +3597,7 @@ class PhoneNumbers extends HeyApiClient {
|
|
|
3594
3597
|
responseStyle: 'data',
|
|
3595
3598
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3596
3599
|
in: 'cookie',
|
|
3597
|
-
name: '
|
|
3600
|
+
name: 'talqing_sid',
|
|
3598
3601
|
type: 'apiKey'
|
|
3599
3602
|
}],
|
|
3600
3603
|
url: '/v1/telephony/phone-numbers/import',
|
|
@@ -3618,7 +3621,7 @@ class PhoneNumbers extends HeyApiClient {
|
|
|
3618
3621
|
responseStyle: 'data',
|
|
3619
3622
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3620
3623
|
in: 'cookie',
|
|
3621
|
-
name: '
|
|
3624
|
+
name: 'talqing_sid',
|
|
3622
3625
|
type: 'apiKey'
|
|
3623
3626
|
}],
|
|
3624
3627
|
url: '/v1/telephony/phone-numbers/{number_id}',
|
|
@@ -3641,7 +3644,7 @@ class PhoneNumbers extends HeyApiClient {
|
|
|
3641
3644
|
responseStyle: 'data',
|
|
3642
3645
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3643
3646
|
in: 'cookie',
|
|
3644
|
-
name: '
|
|
3647
|
+
name: 'talqing_sid',
|
|
3645
3648
|
type: 'apiKey'
|
|
3646
3649
|
}],
|
|
3647
3650
|
url: '/v1/telephony/phone-numbers/{number_id}',
|
|
@@ -3670,7 +3673,7 @@ class PhoneNumbers extends HeyApiClient {
|
|
|
3670
3673
|
responseStyle: 'data',
|
|
3671
3674
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3672
3675
|
in: 'cookie',
|
|
3673
|
-
name: '
|
|
3676
|
+
name: 'talqing_sid',
|
|
3674
3677
|
type: 'apiKey'
|
|
3675
3678
|
}],
|
|
3676
3679
|
url: '/v1/telephony/phone-numbers/{number_id}/assign',
|
|
@@ -3698,7 +3701,7 @@ class PhoneNumbers extends HeyApiClient {
|
|
|
3698
3701
|
responseStyle: 'data',
|
|
3699
3702
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3700
3703
|
in: 'cookie',
|
|
3701
|
-
name: '
|
|
3704
|
+
name: 'talqing_sid',
|
|
3702
3705
|
type: 'apiKey'
|
|
3703
3706
|
}],
|
|
3704
3707
|
url: '/v1/telephony/phone-numbers/{number_id}/provision',
|
|
@@ -3720,7 +3723,7 @@ class PhoneNumbers extends HeyApiClient {
|
|
|
3720
3723
|
responseStyle: 'data',
|
|
3721
3724
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3722
3725
|
in: 'cookie',
|
|
3723
|
-
name: '
|
|
3726
|
+
name: 'talqing_sid',
|
|
3724
3727
|
type: 'apiKey'
|
|
3725
3728
|
}],
|
|
3726
3729
|
url: '/v1/telephony/phone-numbers/{number_id}/unassign',
|
|
@@ -3747,7 +3750,7 @@ class Providers extends HeyApiClient {
|
|
|
3747
3750
|
responseStyle: 'data',
|
|
3748
3751
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3749
3752
|
in: 'cookie',
|
|
3750
|
-
name: '
|
|
3753
|
+
name: 'talqing_sid',
|
|
3751
3754
|
type: 'apiKey'
|
|
3752
3755
|
}],
|
|
3753
3756
|
url: '/v1/telephony/providers',
|
|
@@ -3791,7 +3794,7 @@ class Runs extends HeyApiClient {
|
|
|
3791
3794
|
responseStyle: 'data',
|
|
3792
3795
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3793
3796
|
in: 'cookie',
|
|
3794
|
-
name: '
|
|
3797
|
+
name: 'talqing_sid',
|
|
3795
3798
|
type: 'apiKey'
|
|
3796
3799
|
}],
|
|
3797
3800
|
url: '/v1/tasks/{task_id}/runs',
|
|
@@ -3821,7 +3824,7 @@ class Runs extends HeyApiClient {
|
|
|
3821
3824
|
responseStyle: 'data',
|
|
3822
3825
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3823
3826
|
in: 'cookie',
|
|
3824
|
-
name: '
|
|
3827
|
+
name: 'talqing_sid',
|
|
3825
3828
|
type: 'apiKey'
|
|
3826
3829
|
}],
|
|
3827
3830
|
url: '/v1/tasks/{task_id}/runs',
|
|
@@ -3850,7 +3853,7 @@ class Runs extends HeyApiClient {
|
|
|
3850
3853
|
responseStyle: 'data',
|
|
3851
3854
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3852
3855
|
in: 'cookie',
|
|
3853
|
-
name: '
|
|
3856
|
+
name: 'talqing_sid',
|
|
3854
3857
|
type: 'apiKey'
|
|
3855
3858
|
}],
|
|
3856
3859
|
url: '/v1/tasks/{task_id}/runs/{run_id}',
|
|
@@ -3876,7 +3879,7 @@ class Versions2 extends HeyApiClient {
|
|
|
3876
3879
|
responseStyle: 'data',
|
|
3877
3880
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3878
3881
|
in: 'cookie',
|
|
3879
|
-
name: '
|
|
3882
|
+
name: 'talqing_sid',
|
|
3880
3883
|
type: 'apiKey'
|
|
3881
3884
|
}],
|
|
3882
3885
|
url: '/v1/tasks/{task_id}/versions/{version}',
|
|
@@ -3900,7 +3903,7 @@ class Versions2 extends HeyApiClient {
|
|
|
3900
3903
|
responseStyle: 'data',
|
|
3901
3904
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3902
3905
|
in: 'cookie',
|
|
3903
|
-
name: '
|
|
3906
|
+
name: 'talqing_sid',
|
|
3904
3907
|
type: 'apiKey'
|
|
3905
3908
|
}],
|
|
3906
3909
|
url: '/v1/tasks/{task_id}/versions/{version}/rollback',
|
|
@@ -3927,7 +3930,7 @@ class Tasks2 extends HeyApiClient {
|
|
|
3927
3930
|
responseStyle: 'data',
|
|
3928
3931
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3929
3932
|
in: 'cookie',
|
|
3930
|
-
name: '
|
|
3933
|
+
name: 'talqing_sid',
|
|
3931
3934
|
type: 'apiKey'
|
|
3932
3935
|
}],
|
|
3933
3936
|
url: '/v1/tasks',
|
|
@@ -3952,7 +3955,7 @@ class Tasks2 extends HeyApiClient {
|
|
|
3952
3955
|
responseStyle: 'data',
|
|
3953
3956
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3954
3957
|
in: 'cookie',
|
|
3955
|
-
name: '
|
|
3958
|
+
name: 'talqing_sid',
|
|
3956
3959
|
type: 'apiKey'
|
|
3957
3960
|
}],
|
|
3958
3961
|
url: '/v1/tasks',
|
|
@@ -3977,7 +3980,7 @@ class Tasks2 extends HeyApiClient {
|
|
|
3977
3980
|
responseStyle: 'data',
|
|
3978
3981
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3979
3982
|
in: 'cookie',
|
|
3980
|
-
name: '
|
|
3983
|
+
name: 'talqing_sid',
|
|
3981
3984
|
type: 'apiKey'
|
|
3982
3985
|
}],
|
|
3983
3986
|
url: '/v1/tasks/{task_id}',
|
|
@@ -3996,7 +3999,7 @@ class Tasks2 extends HeyApiClient {
|
|
|
3996
3999
|
responseStyle: 'data',
|
|
3997
4000
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
3998
4001
|
in: 'cookie',
|
|
3999
|
-
name: '
|
|
4002
|
+
name: 'talqing_sid',
|
|
4000
4003
|
type: 'apiKey'
|
|
4001
4004
|
}],
|
|
4002
4005
|
url: '/v1/tasks/{task_id}',
|
|
@@ -4019,7 +4022,7 @@ class Tasks2 extends HeyApiClient {
|
|
|
4019
4022
|
responseStyle: 'data',
|
|
4020
4023
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4021
4024
|
in: 'cookie',
|
|
4022
|
-
name: '
|
|
4025
|
+
name: 'talqing_sid',
|
|
4023
4026
|
type: 'apiKey'
|
|
4024
4027
|
}],
|
|
4025
4028
|
url: '/v1/tasks/{task_id}',
|
|
@@ -4047,7 +4050,7 @@ class Tasks2 extends HeyApiClient {
|
|
|
4047
4050
|
responseStyle: 'data',
|
|
4048
4051
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4049
4052
|
in: 'cookie',
|
|
4050
|
-
name: '
|
|
4053
|
+
name: 'talqing_sid',
|
|
4051
4054
|
type: 'apiKey'
|
|
4052
4055
|
}],
|
|
4053
4056
|
url: '/v1/tasks/{task_id}/publish',
|
|
@@ -4071,7 +4074,7 @@ class Tasks2 extends HeyApiClient {
|
|
|
4071
4074
|
responseStyle: 'data',
|
|
4072
4075
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4073
4076
|
in: 'cookie',
|
|
4074
|
-
name: '
|
|
4077
|
+
name: 'talqing_sid',
|
|
4075
4078
|
type: 'apiKey'
|
|
4076
4079
|
}],
|
|
4077
4080
|
url: '/v1/tasks/{task_id}/validate',
|
|
@@ -4104,7 +4107,7 @@ class Versions3 extends HeyApiClient {
|
|
|
4104
4107
|
responseStyle: 'data',
|
|
4105
4108
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4106
4109
|
in: 'cookie',
|
|
4107
|
-
name: '
|
|
4110
|
+
name: 'talqing_sid',
|
|
4108
4111
|
type: 'apiKey'
|
|
4109
4112
|
}],
|
|
4110
4113
|
url: '/v1/tools/{tool_id}/versions/{version}',
|
|
@@ -4129,7 +4132,7 @@ class Versions3 extends HeyApiClient {
|
|
|
4129
4132
|
responseStyle: 'data',
|
|
4130
4133
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4131
4134
|
in: 'cookie',
|
|
4132
|
-
name: '
|
|
4135
|
+
name: 'talqing_sid',
|
|
4133
4136
|
type: 'apiKey'
|
|
4134
4137
|
}],
|
|
4135
4138
|
url: '/v1/tools/{tool_id}/versions/{version}/rollback',
|
|
@@ -4154,7 +4157,7 @@ class Tools2 extends HeyApiClient {
|
|
|
4154
4157
|
responseStyle: 'data',
|
|
4155
4158
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4156
4159
|
in: 'cookie',
|
|
4157
|
-
name: '
|
|
4160
|
+
name: 'talqing_sid',
|
|
4158
4161
|
type: 'apiKey'
|
|
4159
4162
|
}],
|
|
4160
4163
|
url: '/v1/tools',
|
|
@@ -4178,7 +4181,7 @@ class Tools2 extends HeyApiClient {
|
|
|
4178
4181
|
responseStyle: 'data',
|
|
4179
4182
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4180
4183
|
in: 'cookie',
|
|
4181
|
-
name: '
|
|
4184
|
+
name: 'talqing_sid',
|
|
4182
4185
|
type: 'apiKey'
|
|
4183
4186
|
}],
|
|
4184
4187
|
url: '/v1/tools',
|
|
@@ -4202,7 +4205,7 @@ class Tools2 extends HeyApiClient {
|
|
|
4202
4205
|
responseStyle: 'data',
|
|
4203
4206
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4204
4207
|
in: 'cookie',
|
|
4205
|
-
name: '
|
|
4208
|
+
name: 'talqing_sid',
|
|
4206
4209
|
type: 'apiKey'
|
|
4207
4210
|
}],
|
|
4208
4211
|
url: '/v1/tools/{tool_id}',
|
|
@@ -4222,7 +4225,7 @@ class Tools2 extends HeyApiClient {
|
|
|
4222
4225
|
responseStyle: 'data',
|
|
4223
4226
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4224
4227
|
in: 'cookie',
|
|
4225
|
-
name: '
|
|
4228
|
+
name: 'talqing_sid',
|
|
4226
4229
|
type: 'apiKey'
|
|
4227
4230
|
}],
|
|
4228
4231
|
url: '/v1/tools/{tool_id}',
|
|
@@ -4245,7 +4248,7 @@ class Tools2 extends HeyApiClient {
|
|
|
4245
4248
|
responseStyle: 'data',
|
|
4246
4249
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4247
4250
|
in: 'cookie',
|
|
4248
|
-
name: '
|
|
4251
|
+
name: 'talqing_sid',
|
|
4249
4252
|
type: 'apiKey'
|
|
4250
4253
|
}],
|
|
4251
4254
|
url: '/v1/tools/{tool_id}',
|
|
@@ -4273,7 +4276,7 @@ class Tools2 extends HeyApiClient {
|
|
|
4273
4276
|
responseStyle: 'data',
|
|
4274
4277
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4275
4278
|
in: 'cookie',
|
|
4276
|
-
name: '
|
|
4279
|
+
name: 'talqing_sid',
|
|
4277
4280
|
type: 'apiKey'
|
|
4278
4281
|
}],
|
|
4279
4282
|
url: '/v1/tools/{tool_id}/publish',
|
|
@@ -4307,7 +4310,7 @@ class Tools2 extends HeyApiClient {
|
|
|
4307
4310
|
responseStyle: 'data',
|
|
4308
4311
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4309
4312
|
in: 'cookie',
|
|
4310
|
-
name: '
|
|
4313
|
+
name: 'talqing_sid',
|
|
4311
4314
|
type: 'apiKey'
|
|
4312
4315
|
}],
|
|
4313
4316
|
url: '/v1/tools/{tool_id}/run',
|
|
@@ -4335,7 +4338,7 @@ class Tools2 extends HeyApiClient {
|
|
|
4335
4338
|
responseStyle: 'data',
|
|
4336
4339
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4337
4340
|
in: 'cookie',
|
|
4338
|
-
name: '
|
|
4341
|
+
name: 'talqing_sid',
|
|
4339
4342
|
type: 'apiKey'
|
|
4340
4343
|
}],
|
|
4341
4344
|
url: '/v1/tools/{tool_id}/validate',
|
|
@@ -4361,7 +4364,7 @@ class Webhooks extends HeyApiClient {
|
|
|
4361
4364
|
responseStyle: 'data',
|
|
4362
4365
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4363
4366
|
in: 'cookie',
|
|
4364
|
-
name: '
|
|
4367
|
+
name: 'talqing_sid',
|
|
4365
4368
|
type: 'apiKey'
|
|
4366
4369
|
}],
|
|
4367
4370
|
url: '/v1/webhooks',
|
|
@@ -4384,7 +4387,7 @@ class Webhooks extends HeyApiClient {
|
|
|
4384
4387
|
responseStyle: 'data',
|
|
4385
4388
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4386
4389
|
in: 'cookie',
|
|
4387
|
-
name: '
|
|
4390
|
+
name: 'talqing_sid',
|
|
4388
4391
|
type: 'apiKey'
|
|
4389
4392
|
}],
|
|
4390
4393
|
url: '/v1/webhooks',
|
|
@@ -4407,7 +4410,7 @@ class Webhooks extends HeyApiClient {
|
|
|
4407
4410
|
responseStyle: 'data',
|
|
4408
4411
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4409
4412
|
in: 'cookie',
|
|
4410
|
-
name: '
|
|
4413
|
+
name: 'talqing_sid',
|
|
4411
4414
|
type: 'apiKey'
|
|
4412
4415
|
}],
|
|
4413
4416
|
url: '/v1/webhooks/event-types',
|
|
@@ -4425,7 +4428,7 @@ class Webhooks extends HeyApiClient {
|
|
|
4425
4428
|
responseStyle: 'data',
|
|
4426
4429
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4427
4430
|
in: 'cookie',
|
|
4428
|
-
name: '
|
|
4431
|
+
name: 'talqing_sid',
|
|
4429
4432
|
type: 'apiKey'
|
|
4430
4433
|
}],
|
|
4431
4434
|
url: '/v1/webhooks/{webhook_id}',
|
|
@@ -4445,7 +4448,7 @@ class Webhooks extends HeyApiClient {
|
|
|
4445
4448
|
responseStyle: 'data',
|
|
4446
4449
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4447
4450
|
in: 'cookie',
|
|
4448
|
-
name: '
|
|
4451
|
+
name: 'talqing_sid',
|
|
4449
4452
|
type: 'apiKey'
|
|
4450
4453
|
}],
|
|
4451
4454
|
url: '/v1/webhooks/{webhook_id}',
|
|
@@ -4474,7 +4477,7 @@ class Webhooks extends HeyApiClient {
|
|
|
4474
4477
|
responseStyle: 'data',
|
|
4475
4478
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4476
4479
|
in: 'cookie',
|
|
4477
|
-
name: '
|
|
4480
|
+
name: 'talqing_sid',
|
|
4478
4481
|
type: 'apiKey'
|
|
4479
4482
|
}],
|
|
4480
4483
|
url: '/v1/webhooks/{webhook_id}/deliveries',
|
|
@@ -4496,7 +4499,7 @@ class Webhooks extends HeyApiClient {
|
|
|
4496
4499
|
responseStyle: 'data',
|
|
4497
4500
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4498
4501
|
in: 'cookie',
|
|
4499
|
-
name: '
|
|
4502
|
+
name: 'talqing_sid',
|
|
4500
4503
|
type: 'apiKey'
|
|
4501
4504
|
}],
|
|
4502
4505
|
url: '/v1/webhooks/{webhook_id}/rotate-secret',
|
|
@@ -4516,7 +4519,7 @@ class Webhooks extends HeyApiClient {
|
|
|
4516
4519
|
responseStyle: 'data',
|
|
4517
4520
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4518
4521
|
in: 'cookie',
|
|
4519
|
-
name: '
|
|
4522
|
+
name: 'talqing_sid',
|
|
4520
4523
|
type: 'apiKey'
|
|
4521
4524
|
}],
|
|
4522
4525
|
url: '/v1/webhooks/{webhook_id}/test',
|
|
@@ -4545,7 +4548,7 @@ class Recipients3 extends HeyApiClient {
|
|
|
4545
4548
|
responseStyle: 'data',
|
|
4546
4549
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4547
4550
|
in: 'cookie',
|
|
4548
|
-
name: '
|
|
4551
|
+
name: 'talqing_sid',
|
|
4549
4552
|
type: 'apiKey'
|
|
4550
4553
|
}],
|
|
4551
4554
|
url: '/v1/whatsapp/batches/{batch_id}/recipients',
|
|
@@ -4566,7 +4569,7 @@ class Recipients3 extends HeyApiClient {
|
|
|
4566
4569
|
responseStyle: 'data',
|
|
4567
4570
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4568
4571
|
in: 'cookie',
|
|
4569
|
-
name: '
|
|
4572
|
+
name: 'talqing_sid',
|
|
4570
4573
|
type: 'apiKey'
|
|
4571
4574
|
}],
|
|
4572
4575
|
url: '/v1/whatsapp/batches/{batch_id}/recipients',
|
|
@@ -4580,44 +4583,20 @@ class Recipients3 extends HeyApiClient {
|
|
|
4580
4583
|
});
|
|
4581
4584
|
}
|
|
4582
4585
|
/**
|
|
4583
|
-
*
|
|
4584
|
-
*
|
|
4585
|
-
* Put rows a person skipped back. A row skipped for its cells returns when they are fixed.
|
|
4586
|
-
*/
|
|
4587
|
-
restore(parameters, options) {
|
|
4588
|
-
const params = (0, index_js_1.buildClientParams)([parameters], [{ args: [{ in: 'path', key: 'batch_id' }, { key: 'selectRecipientsRequest', map: 'body' }] }]);
|
|
4589
|
-
return (options?.client ?? this.client).post({
|
|
4590
|
-
responseStyle: 'data',
|
|
4591
|
-
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4592
|
-
in: 'cookie',
|
|
4593
|
-
name: 'talqing_session',
|
|
4594
|
-
type: 'apiKey'
|
|
4595
|
-
}],
|
|
4596
|
-
url: '/v1/whatsapp/batches/{batch_id}/recipients/restore',
|
|
4597
|
-
...options,
|
|
4598
|
-
...params,
|
|
4599
|
-
headers: {
|
|
4600
|
-
'Content-Type': 'application/json',
|
|
4601
|
-
...options?.headers,
|
|
4602
|
-
...params.headers
|
|
4603
|
-
}
|
|
4604
|
-
});
|
|
4605
|
-
}
|
|
4606
|
-
/**
|
|
4607
|
-
* Skip Whatsapp Batch Recipients
|
|
4586
|
+
* Delete Whatsapp Batch Recipients
|
|
4608
4587
|
*
|
|
4609
|
-
*
|
|
4588
|
+
* Remove rows that were never sent. Not reversible; a sent row is refused in `rejected`.
|
|
4610
4589
|
*/
|
|
4611
|
-
|
|
4612
|
-
const params = (0, index_js_1.buildClientParams)([parameters], [{ args: [{ in: 'path', key: 'batch_id' }, { key: '
|
|
4590
|
+
delete(parameters, options) {
|
|
4591
|
+
const params = (0, index_js_1.buildClientParams)([parameters], [{ args: [{ in: 'path', key: 'batch_id' }, { key: 'deleteRecipientsRequest', map: 'body' }] }]);
|
|
4613
4592
|
return (options?.client ?? this.client).post({
|
|
4614
4593
|
responseStyle: 'data',
|
|
4615
4594
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4616
4595
|
in: 'cookie',
|
|
4617
|
-
name: '
|
|
4596
|
+
name: 'talqing_sid',
|
|
4618
4597
|
type: 'apiKey'
|
|
4619
4598
|
}],
|
|
4620
|
-
url: '/v1/whatsapp/batches/{batch_id}/recipients/
|
|
4599
|
+
url: '/v1/whatsapp/batches/{batch_id}/recipients/delete',
|
|
4621
4600
|
...options,
|
|
4622
4601
|
...params,
|
|
4623
4602
|
headers: {
|
|
@@ -4642,7 +4621,7 @@ class Recipients3 extends HeyApiClient {
|
|
|
4642
4621
|
responseStyle: 'data',
|
|
4643
4622
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4644
4623
|
in: 'cookie',
|
|
4645
|
-
name: '
|
|
4624
|
+
name: 'talqing_sid',
|
|
4646
4625
|
type: 'apiKey'
|
|
4647
4626
|
}],
|
|
4648
4627
|
url: '/v1/whatsapp/batches/{batch_id}/recipients/{recipient_id}',
|
|
@@ -4673,7 +4652,7 @@ class Batches3 extends HeyApiClient {
|
|
|
4673
4652
|
responseStyle: 'data',
|
|
4674
4653
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4675
4654
|
in: 'cookie',
|
|
4676
|
-
name: '
|
|
4655
|
+
name: 'talqing_sid',
|
|
4677
4656
|
type: 'apiKey'
|
|
4678
4657
|
}],
|
|
4679
4658
|
url: '/v1/whatsapp/batches',
|
|
@@ -4697,7 +4676,7 @@ class Batches3 extends HeyApiClient {
|
|
|
4697
4676
|
responseStyle: 'data',
|
|
4698
4677
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4699
4678
|
in: 'cookie',
|
|
4700
|
-
name: '
|
|
4679
|
+
name: 'talqing_sid',
|
|
4701
4680
|
type: 'apiKey'
|
|
4702
4681
|
}],
|
|
4703
4682
|
url: '/v1/whatsapp/batches',
|
|
@@ -4723,7 +4702,7 @@ class Batches3 extends HeyApiClient {
|
|
|
4723
4702
|
responseStyle: 'data',
|
|
4724
4703
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4725
4704
|
in: 'cookie',
|
|
4726
|
-
name: '
|
|
4705
|
+
name: 'talqing_sid',
|
|
4727
4706
|
type: 'apiKey'
|
|
4728
4707
|
}],
|
|
4729
4708
|
url: '/v1/whatsapp/batches/{batch_id}',
|
|
@@ -4742,7 +4721,7 @@ class Batches3 extends HeyApiClient {
|
|
|
4742
4721
|
responseStyle: 'data',
|
|
4743
4722
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4744
4723
|
in: 'cookie',
|
|
4745
|
-
name: '
|
|
4724
|
+
name: 'talqing_sid',
|
|
4746
4725
|
type: 'apiKey'
|
|
4747
4726
|
}],
|
|
4748
4727
|
url: '/v1/whatsapp/batches/{batch_id}',
|
|
@@ -4764,7 +4743,7 @@ class Batches3 extends HeyApiClient {
|
|
|
4764
4743
|
responseStyle: 'data',
|
|
4765
4744
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4766
4745
|
in: 'cookie',
|
|
4767
|
-
name: '
|
|
4746
|
+
name: 'talqing_sid',
|
|
4768
4747
|
type: 'apiKey'
|
|
4769
4748
|
}],
|
|
4770
4749
|
url: '/v1/whatsapp/batches/{batch_id}',
|
|
@@ -4788,7 +4767,7 @@ class Batches3 extends HeyApiClient {
|
|
|
4788
4767
|
responseStyle: 'data',
|
|
4789
4768
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4790
4769
|
in: 'cookie',
|
|
4791
|
-
name: '
|
|
4770
|
+
name: 'talqing_sid',
|
|
4792
4771
|
type: 'apiKey'
|
|
4793
4772
|
}],
|
|
4794
4773
|
url: '/v1/whatsapp/batches/{batch_id}/cancel',
|
|
@@ -4807,7 +4786,7 @@ class Batches3 extends HeyApiClient {
|
|
|
4807
4786
|
responseStyle: 'data',
|
|
4808
4787
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4809
4788
|
in: 'cookie',
|
|
4810
|
-
name: '
|
|
4789
|
+
name: 'talqing_sid',
|
|
4811
4790
|
type: 'apiKey'
|
|
4812
4791
|
}],
|
|
4813
4792
|
url: '/v1/whatsapp/batches/{batch_id}/pause',
|
|
@@ -4826,7 +4805,7 @@ class Batches3 extends HeyApiClient {
|
|
|
4826
4805
|
responseStyle: 'data',
|
|
4827
4806
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4828
4807
|
in: 'cookie',
|
|
4829
|
-
name: '
|
|
4808
|
+
name: 'talqing_sid',
|
|
4830
4809
|
type: 'apiKey'
|
|
4831
4810
|
}],
|
|
4832
4811
|
url: '/v1/whatsapp/batches/{batch_id}/resume',
|
|
@@ -4849,7 +4828,7 @@ class Batches3 extends HeyApiClient {
|
|
|
4849
4828
|
responseStyle: 'data',
|
|
4850
4829
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4851
4830
|
in: 'cookie',
|
|
4852
|
-
name: '
|
|
4831
|
+
name: 'talqing_sid',
|
|
4853
4832
|
type: 'apiKey'
|
|
4854
4833
|
}],
|
|
4855
4834
|
url: '/v1/whatsapp/batches/{batch_id}/send',
|
|
@@ -4881,7 +4860,7 @@ class Templates extends HeyApiClient {
|
|
|
4881
4860
|
responseStyle: 'data',
|
|
4882
4861
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4883
4862
|
in: 'cookie',
|
|
4884
|
-
name: '
|
|
4863
|
+
name: 'talqing_sid',
|
|
4885
4864
|
type: 'apiKey'
|
|
4886
4865
|
}],
|
|
4887
4866
|
url: '/v1/whatsapp/templates',
|
|
@@ -4903,7 +4882,7 @@ class TwilioSenders extends HeyApiClient {
|
|
|
4903
4882
|
responseStyle: 'data',
|
|
4904
4883
|
security: [{ scheme: 'bearer', type: 'http' }, {
|
|
4905
4884
|
in: 'cookie',
|
|
4906
|
-
name: '
|
|
4885
|
+
name: 'talqing_sid',
|
|
4907
4886
|
type: 'apiKey'
|
|
4908
4887
|
}],
|
|
4909
4888
|
url: '/v1/whatsapp/twilio-senders',
|