@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.
@@ -39,7 +39,7 @@ export class Versions extends HeyApiClient {
39
39
  responseStyle: 'data',
40
40
  security: [{ scheme: 'bearer', type: 'http' }, {
41
41
  in: 'cookie',
42
- name: 'talqing_session',
42
+ name: 'talqing_sid',
43
43
  type: 'apiKey'
44
44
  }],
45
45
  url: '/v1/agents/{agent_id}/versions/{version}',
@@ -66,7 +66,7 @@ export class Versions extends HeyApiClient {
66
66
  responseStyle: 'data',
67
67
  security: [{ scheme: 'bearer', type: 'http' }, {
68
68
  in: 'cookie',
69
- name: 'talqing_session',
69
+ name: 'talqing_sid',
70
70
  type: 'apiKey'
71
71
  }],
72
72
  url: '/v1/agents/{agent_id}/versions/{version}/rollback',
@@ -90,7 +90,7 @@ export class Agents extends HeyApiClient {
90
90
  responseStyle: 'data',
91
91
  security: [{ scheme: 'bearer', type: 'http' }, {
92
92
  in: 'cookie',
93
- name: 'talqing_session',
93
+ name: 'talqing_sid',
94
94
  type: 'apiKey'
95
95
  }],
96
96
  url: '/v1/agents',
@@ -113,7 +113,7 @@ export class Agents extends HeyApiClient {
113
113
  responseStyle: 'data',
114
114
  security: [{ scheme: 'bearer', type: 'http' }, {
115
115
  in: 'cookie',
116
- name: 'talqing_session',
116
+ name: 'talqing_sid',
117
117
  type: 'apiKey'
118
118
  }],
119
119
  url: '/v1/agents',
@@ -137,7 +137,7 @@ export class Agents extends HeyApiClient {
137
137
  responseStyle: 'data',
138
138
  security: [{ scheme: 'bearer', type: 'http' }, {
139
139
  in: 'cookie',
140
- name: 'talqing_session',
140
+ name: 'talqing_sid',
141
141
  type: 'apiKey'
142
142
  }],
143
143
  url: '/v1/agents/{agent_id}',
@@ -156,7 +156,7 @@ export class Agents extends HeyApiClient {
156
156
  responseStyle: 'data',
157
157
  security: [{ scheme: 'bearer', type: 'http' }, {
158
158
  in: 'cookie',
159
- name: 'talqing_session',
159
+ name: 'talqing_sid',
160
160
  type: 'apiKey'
161
161
  }],
162
162
  url: '/v1/agents/{agent_id}',
@@ -187,7 +187,7 @@ export class Agents extends HeyApiClient {
187
187
  responseStyle: 'data',
188
188
  security: [{ scheme: 'bearer', type: 'http' }, {
189
189
  in: 'cookie',
190
- name: 'talqing_session',
190
+ name: 'talqing_sid',
191
191
  type: 'apiKey'
192
192
  }],
193
193
  url: '/v1/agents/{agent_id}',
@@ -215,7 +215,7 @@ export class Agents extends HeyApiClient {
215
215
  responseStyle: 'data',
216
216
  security: [{ scheme: 'bearer', type: 'http' }, {
217
217
  in: 'cookie',
218
- name: 'talqing_session',
218
+ name: 'talqing_sid',
219
219
  type: 'apiKey'
220
220
  }],
221
221
  url: '/v1/agents/{agent_id}/publish',
@@ -239,7 +239,7 @@ export class Agents extends HeyApiClient {
239
239
  responseStyle: 'data',
240
240
  security: [{ scheme: 'bearer', type: 'http' }, {
241
241
  in: 'cookie',
242
- name: 'talqing_session',
242
+ name: 'talqing_sid',
243
243
  type: 'apiKey'
244
244
  }],
245
245
  url: '/v1/agents/{agent_id}/validate',
@@ -255,20 +255,10 @@ export class Credits extends HeyApiClient {
255
255
  /**
256
256
  * Get Credits
257
257
  *
258
- * This workspace's credit balance in this region, what it buys, and what a
259
- * top-up costs.
258
+ * This workspace's credit balance, what it buys, and what a top-up costs.
260
259
  *
261
260
  * Readable by every role: a VIEWER can start a web call, so a VIEWER must be
262
261
  * able to see why one was refused.
263
- *
264
- * This is also where credit the control plane could not deliver lands. Anything
265
- * it has issued for this workspace here — a purchase, a signup grant, a
266
- * reversal — that this region has not written yet is applied before the balance
267
- * is read. That is the backstop for a failed push, and it is a reconcile on
268
- * demand rather than a timer: the moment someone cares is the moment this page
269
- * loads, whether they arrived from the payment processor or from the "out of
270
- * credits" banner. It costs nothing when there is nothing to apply, which is
271
- * almost always.
272
262
  */
273
263
  get(parameters, options) {
274
264
  const params = buildClientParams([parameters], [{ args: [{ in: 'query', key: 'topup' }] }]);
@@ -276,7 +266,7 @@ export class Credits extends HeyApiClient {
276
266
  responseStyle: 'data',
277
267
  security: [{ scheme: 'bearer', type: 'http' }, {
278
268
  in: 'cookie',
279
- name: 'talqing_session',
269
+ name: 'talqing_sid',
280
270
  type: 'apiKey'
281
271
  }],
282
272
  url: '/v1/billing/credits',
@@ -291,11 +281,6 @@ export class Credits extends HeyApiClient {
291
281
  *
292
282
  * Organization admins only — spending the workspace's money is an admin act,
293
283
  * the same as storing a secret or a provider key.
294
- *
295
- * The credit lands in THIS region, and that is decided by which region's API
296
- * you called rather than by anything in the request. A slug in a body could be
297
- * pointed at the other region, where the money would then be stuck: balances
298
- * are per region and there is no transfer between them.
299
284
  */
300
285
  checkout(parameters, options) {
301
286
  const params = buildClientParams([parameters], [{ args: [{ key: 'creditCheckoutRequest', map: 'body' }] }]);
@@ -303,7 +288,7 @@ export class Credits extends HeyApiClient {
303
288
  responseStyle: 'data',
304
289
  security: [{ scheme: 'bearer', type: 'http' }, {
305
290
  in: 'cookie',
306
- name: 'talqing_session',
291
+ name: 'talqing_sid',
307
292
  type: 'apiKey'
308
293
  }],
309
294
  url: '/v1/billing/credits/checkout',
@@ -319,7 +304,7 @@ export class Credits extends HeyApiClient {
319
304
  /**
320
305
  * List Credit Ledger
321
306
  *
322
- * Every movement of this region's balance, newest first, with what caused each.
307
+ * Every movement of this workspace's balance, newest first, with what caused each.
323
308
  */
324
309
  ledger(parameters, options) {
325
310
  const params = buildClientParams([parameters], [{ args: [{ in: 'query', key: 'limit' }, { in: 'query', key: 'offset' }] }]);
@@ -327,7 +312,7 @@ export class Credits extends HeyApiClient {
327
312
  responseStyle: 'data',
328
313
  security: [{ scheme: 'bearer', type: 'http' }, {
329
314
  in: 'cookie',
330
- name: 'talqing_session',
315
+ name: 'talqing_sid',
331
316
  type: 'apiKey'
332
317
  }],
333
318
  url: '/v1/billing/credits/ledger',
@@ -356,7 +341,7 @@ export class ProviderKeys extends HeyApiClient {
356
341
  responseStyle: 'data',
357
342
  security: [{ scheme: 'bearer', type: 'http' }, {
358
343
  in: 'cookie',
359
- name: 'talqing_session',
344
+ name: 'talqing_sid',
360
345
  type: 'apiKey'
361
346
  }],
362
347
  url: '/v1/byok',
@@ -375,7 +360,7 @@ export class ProviderKeys extends HeyApiClient {
375
360
  responseStyle: 'data',
376
361
  security: [{ scheme: 'bearer', type: 'http' }, {
377
362
  in: 'cookie',
378
- name: 'talqing_session',
363
+ name: 'talqing_sid',
379
364
  type: 'apiKey'
380
365
  }],
381
366
  url: '/v1/byok/{provider}',
@@ -399,7 +384,7 @@ export class ProviderKeys extends HeyApiClient {
399
384
  responseStyle: 'data',
400
385
  security: [{ scheme: 'bearer', type: 'http' }, {
401
386
  in: 'cookie',
402
- name: 'talqing_session',
387
+ name: 'talqing_sid',
403
388
  type: 'apiKey'
404
389
  }],
405
390
  url: '/v1/byok/{provider}',
@@ -432,7 +417,7 @@ export class Analysis extends HeyApiClient {
432
417
  responseStyle: 'data',
433
418
  security: [{ scheme: 'bearer', type: 'http' }, {
434
419
  in: 'cookie',
435
- name: 'talqing_session',
420
+ name: 'talqing_sid',
436
421
  type: 'apiKey'
437
422
  }],
438
423
  url: '/v1/calls/analysis/backfill',
@@ -461,7 +446,7 @@ export class Analysis extends HeyApiClient {
461
446
  responseStyle: 'data',
462
447
  security: [{ scheme: 'bearer', type: 'http' }, {
463
448
  in: 'cookie',
464
- name: 'talqing_session',
449
+ name: 'talqing_sid',
465
450
  type: 'apiKey'
466
451
  }],
467
452
  url: '/v1/calls/{session_id}/analysis/preview',
@@ -497,7 +482,7 @@ export class Recipients extends HeyApiClient {
497
482
  responseStyle: 'data',
498
483
  security: [{ scheme: 'bearer', type: 'http' }, {
499
484
  in: 'cookie',
500
- name: 'talqing_session',
485
+ name: 'talqing_sid',
501
486
  type: 'apiKey'
502
487
  }],
503
488
  url: '/v1/calls/batches/{batch_id}/recipients',
@@ -520,7 +505,7 @@ export class Recipients extends HeyApiClient {
520
505
  responseStyle: 'data',
521
506
  security: [{ scheme: 'bearer', type: 'http' }, {
522
507
  in: 'cookie',
523
- name: 'talqing_session',
508
+ name: 'talqing_sid',
524
509
  type: 'apiKey'
525
510
  }],
526
511
  url: '/v1/calls/batches/{batch_id}/recipients',
@@ -533,6 +518,30 @@ export class Recipients extends HeyApiClient {
533
518
  }
534
519
  });
535
520
  }
521
+ /**
522
+ * Delete Call Batch Recipients
523
+ *
524
+ * Remove rows that were never dialled. Not reversible; a dialled row is refused in `rejected`.
525
+ */
526
+ delete(parameters, options) {
527
+ const params = buildClientParams([parameters], [{ args: [{ in: 'path', key: 'batch_id' }, { key: 'deleteRecipientsRequest', map: 'body' }] }]);
528
+ return (options?.client ?? this.client).post({
529
+ responseStyle: 'data',
530
+ security: [{ scheme: 'bearer', type: 'http' }, {
531
+ in: 'cookie',
532
+ name: 'talqing_sid',
533
+ type: 'apiKey'
534
+ }],
535
+ url: '/v1/calls/batches/{batch_id}/recipients/delete',
536
+ ...options,
537
+ ...params,
538
+ headers: {
539
+ 'Content-Type': 'application/json',
540
+ ...options?.headers,
541
+ ...params.headers
542
+ }
543
+ });
544
+ }
536
545
  }
537
546
  export class Batches extends HeyApiClient {
538
547
  /**
@@ -556,7 +565,7 @@ export class Batches extends HeyApiClient {
556
565
  responseStyle: 'data',
557
566
  security: [{ scheme: 'bearer', type: 'http' }, {
558
567
  in: 'cookie',
559
- name: 'talqing_session',
568
+ name: 'talqing_sid',
560
569
  type: 'apiKey'
561
570
  }],
562
571
  url: '/v1/calls/batches',
@@ -596,7 +605,7 @@ export class Batches extends HeyApiClient {
596
605
  responseStyle: 'data',
597
606
  security: [{ scheme: 'bearer', type: 'http' }, {
598
607
  in: 'cookie',
599
- name: 'talqing_session',
608
+ name: 'talqing_sid',
600
609
  type: 'apiKey'
601
610
  }],
602
611
  url: '/v1/calls/batches',
@@ -622,7 +631,7 @@ export class Batches extends HeyApiClient {
622
631
  responseStyle: 'data',
623
632
  security: [{ scheme: 'bearer', type: 'http' }, {
624
633
  in: 'cookie',
625
- name: 'talqing_session',
634
+ name: 'talqing_sid',
626
635
  type: 'apiKey'
627
636
  }],
628
637
  url: '/v1/calls/batches/{batch_id}',
@@ -644,7 +653,7 @@ export class Batches extends HeyApiClient {
644
653
  responseStyle: 'data',
645
654
  security: [{ scheme: 'bearer', type: 'http' }, {
646
655
  in: 'cookie',
647
- name: 'talqing_session',
656
+ name: 'talqing_sid',
648
657
  type: 'apiKey'
649
658
  }],
650
659
  url: '/v1/calls/batches/{batch_id}',
@@ -669,7 +678,7 @@ export class Batches extends HeyApiClient {
669
678
  responseStyle: 'data',
670
679
  security: [{ scheme: 'bearer', type: 'http' }, {
671
680
  in: 'cookie',
672
- name: 'talqing_session',
681
+ name: 'talqing_sid',
673
682
  type: 'apiKey'
674
683
  }],
675
684
  url: '/v1/calls/batches/{batch_id}',
@@ -697,7 +706,7 @@ export class Batches extends HeyApiClient {
697
706
  responseStyle: 'data',
698
707
  security: [{ scheme: 'bearer', type: 'http' }, {
699
708
  in: 'cookie',
700
- name: 'talqing_session',
709
+ name: 'talqing_sid',
701
710
  type: 'apiKey'
702
711
  }],
703
712
  url: '/v1/calls/batches/{batch_id}/cancel',
@@ -718,7 +727,7 @@ export class Batches extends HeyApiClient {
718
727
  responseStyle: 'data',
719
728
  security: [{ scheme: 'bearer', type: 'http' }, {
720
729
  in: 'cookie',
721
- name: 'talqing_session',
730
+ name: 'talqing_sid',
722
731
  type: 'apiKey'
723
732
  }],
724
733
  url: '/v1/calls/batches/{batch_id}/pause',
@@ -740,7 +749,7 @@ export class Batches extends HeyApiClient {
740
749
  responseStyle: 'data',
741
750
  security: [{ scheme: 'bearer', type: 'http' }, {
742
751
  in: 'cookie',
743
- name: 'talqing_session',
752
+ name: 'talqing_sid',
744
753
  type: 'apiKey'
745
754
  }],
746
755
  url: '/v1/calls/batches/{batch_id}/resume',
@@ -773,7 +782,7 @@ export class Recording extends HeyApiClient {
773
782
  responseStyle: 'data',
774
783
  security: [{ scheme: 'bearer', type: 'http' }, {
775
784
  in: 'cookie',
776
- name: 'talqing_session',
785
+ name: 'talqing_sid',
777
786
  type: 'apiKey'
778
787
  }],
779
788
  url: '/v1/calls/{session_id}/recording',
@@ -811,7 +820,7 @@ export class Recording extends HeyApiClient {
811
820
  responseStyle: 'data',
812
821
  security: [{ scheme: 'bearer', type: 'http' }, {
813
822
  in: 'cookie',
814
- name: 'talqing_session',
823
+ name: 'talqing_sid',
815
824
  type: 'apiKey'
816
825
  }],
817
826
  url: '/v1/calls/{session_id}/recording',
@@ -844,7 +853,7 @@ export class ScreenRecording extends HeyApiClient {
844
853
  responseStyle: 'data',
845
854
  security: [{ scheme: 'bearer', type: 'http' }, {
846
855
  in: 'cookie',
847
- name: 'talqing_session',
856
+ name: 'talqing_sid',
848
857
  type: 'apiKey'
849
858
  }],
850
859
  url: '/v1/calls/{session_id}/screen-recording',
@@ -882,7 +891,7 @@ export class Calls extends HeyApiClient {
882
891
  responseStyle: 'data',
883
892
  security: [{ scheme: 'bearer', type: 'http' }, {
884
893
  in: 'cookie',
885
- name: 'talqing_session',
894
+ name: 'talqing_sid',
886
895
  type: 'apiKey'
887
896
  }],
888
897
  url: '/v1/calls',
@@ -913,7 +922,7 @@ export class Calls extends HeyApiClient {
913
922
  responseStyle: 'data',
914
923
  security: [{ scheme: 'bearer', type: 'http' }, {
915
924
  in: 'cookie',
916
- name: 'talqing_session',
925
+ name: 'talqing_sid',
917
926
  type: 'apiKey'
918
927
  }],
919
928
  url: '/v1/calls/outbound',
@@ -945,7 +954,7 @@ export class Calls extends HeyApiClient {
945
954
  responseStyle: 'data',
946
955
  security: [{ scheme: 'bearer', type: 'http' }, {
947
956
  in: 'cookie',
948
- name: 'talqing_session',
957
+ name: 'talqing_sid',
949
958
  type: 'apiKey'
950
959
  }],
951
960
  url: '/v1/calls/stats',
@@ -975,7 +984,7 @@ export class Calls extends HeyApiClient {
975
984
  responseStyle: 'data',
976
985
  security: [{ scheme: 'bearer', type: 'http' }, {
977
986
  in: 'cookie',
978
- name: 'talqing_session',
987
+ name: 'talqing_sid',
979
988
  type: 'apiKey'
980
989
  }],
981
990
  url: '/v1/calls/token',
@@ -1021,7 +1030,7 @@ export class Calls extends HeyApiClient {
1021
1030
  responseStyle: 'data',
1022
1031
  security: [{ scheme: 'bearer', type: 'http' }, {
1023
1032
  in: 'cookie',
1024
- name: 'talqing_session',
1033
+ name: 'talqing_sid',
1025
1034
  type: 'apiKey'
1026
1035
  }],
1027
1036
  url: '/v1/calls/{session_id}',
@@ -1049,7 +1058,7 @@ export class Calls extends HeyApiClient {
1049
1058
  responseStyle: 'data',
1050
1059
  security: [{ scheme: 'bearer', type: 'http' }, {
1051
1060
  in: 'cookie',
1052
- name: 'talqing_session',
1061
+ name: 'talqing_sid',
1053
1062
  type: 'apiKey'
1054
1063
  }],
1055
1064
  url: '/v1/calls/{session_id}',
@@ -1057,6 +1066,28 @@ export class Calls extends HeyApiClient {
1057
1066
  ...params
1058
1067
  });
1059
1068
  }
1069
+ /**
1070
+ * Resume Call
1071
+ *
1072
+ * Mint a token for a new web call that continues one that ended.
1073
+ *
1074
+ * It answers with the agent that held the floor, with the context it had. 409
1075
+ * if the call is not a web call, is still ending, or was already resumed.
1076
+ */
1077
+ resume(parameters, options) {
1078
+ const params = buildClientParams([parameters], [{ args: [{ in: 'path', key: 'session_id' }] }]);
1079
+ return (options?.client ?? this.client).post({
1080
+ responseStyle: 'data',
1081
+ security: [{ scheme: 'bearer', type: 'http' }, {
1082
+ in: 'cookie',
1083
+ name: 'talqing_sid',
1084
+ type: 'apiKey'
1085
+ }],
1086
+ url: '/v1/calls/{session_id}/resume',
1087
+ ...options,
1088
+ ...params
1089
+ });
1090
+ }
1060
1091
  get analysis() {
1061
1092
  return this._analysis ?? (this._analysis = new Analysis({ client: this.client }));
1062
1093
  }
@@ -1094,7 +1125,7 @@ export class Avatars extends HeyApiClient {
1094
1125
  responseStyle: 'data',
1095
1126
  security: [{ scheme: 'bearer', type: 'http' }, {
1096
1127
  in: 'cookie',
1097
- name: 'talqing_session',
1128
+ name: 'talqing_sid',
1098
1129
  type: 'apiKey'
1099
1130
  }],
1100
1131
  url: '/v1/catalog/avatars',
@@ -1126,7 +1157,7 @@ export class Models extends HeyApiClient {
1126
1157
  responseStyle: 'data',
1127
1158
  security: [{ scheme: 'bearer', type: 'http' }, {
1128
1159
  in: 'cookie',
1129
- name: 'talqing_session',
1160
+ name: 'talqing_sid',
1130
1161
  type: 'apiKey'
1131
1162
  }],
1132
1163
  url: '/v1/catalog/models',
@@ -1146,7 +1177,7 @@ export class Models extends HeyApiClient {
1146
1177
  responseStyle: 'data',
1147
1178
  security: [{ scheme: 'bearer', type: 'http' }, {
1148
1179
  in: 'cookie',
1149
- name: 'talqing_session',
1180
+ name: 'talqing_sid',
1150
1181
  type: 'apiKey'
1151
1182
  }],
1152
1183
  url: '/v1/catalog/models/hosts',
@@ -1172,7 +1203,7 @@ export class Elevenlabs extends HeyApiClient {
1172
1203
  responseStyle: 'data',
1173
1204
  security: [{ scheme: 'bearer', type: 'http' }, {
1174
1205
  in: 'cookie',
1175
- name: 'talqing_session',
1206
+ name: 'talqing_sid',
1176
1207
  type: 'apiKey'
1177
1208
  }],
1178
1209
  url: '/v1/catalog/voices/elevenlabs/add',
@@ -1204,7 +1235,7 @@ export class Elevenlabs extends HeyApiClient {
1204
1235
  responseStyle: 'data',
1205
1236
  security: [{ scheme: 'bearer', type: 'http' }, {
1206
1237
  in: 'cookie',
1207
- name: 'talqing_session',
1238
+ name: 'talqing_sid',
1208
1239
  type: 'apiKey'
1209
1240
  }],
1210
1241
  url: '/v1/catalog/voices/elevenlabs/{voice_id}/settings',
@@ -1242,7 +1273,7 @@ export class Voices extends HeyApiClient {
1242
1273
  responseStyle: 'data',
1243
1274
  security: [{ scheme: 'bearer', type: 'http' }, {
1244
1275
  in: 'cookie',
1245
- name: 'talqing_session',
1276
+ name: 'talqing_sid',
1246
1277
  type: 'apiKey'
1247
1278
  }],
1248
1279
  url: '/v1/catalog/voices',
@@ -1278,7 +1309,7 @@ export class Catalog extends HeyApiClient {
1278
1309
  responseStyle: 'data',
1279
1310
  security: [{ scheme: 'bearer', type: 'http' }, {
1280
1311
  in: 'cookie',
1281
- name: 'talqing_session',
1312
+ name: 'talqing_sid',
1282
1313
  type: 'apiKey'
1283
1314
  }],
1284
1315
  url: '/v1/catalog',
@@ -1309,7 +1340,7 @@ export class Analysis2 extends HeyApiClient {
1309
1340
  responseStyle: 'data',
1310
1341
  security: [{ scheme: 'bearer', type: 'http' }, {
1311
1342
  in: 'cookie',
1312
- name: 'talqing_session',
1343
+ name: 'talqing_sid',
1313
1344
  type: 'apiKey'
1314
1345
  }],
1315
1346
  url: '/v1/chats/{chat_id}/analysis',
@@ -1328,7 +1359,7 @@ export class Analysis2 extends HeyApiClient {
1328
1359
  responseStyle: 'data',
1329
1360
  security: [{ scheme: 'bearer', type: 'http' }, {
1330
1361
  in: 'cookie',
1331
- name: 'talqing_session',
1362
+ name: 'talqing_sid',
1332
1363
  type: 'apiKey'
1333
1364
  }],
1334
1365
  url: '/v1/chats/{chat_id}/analysis/preview',
@@ -1359,7 +1390,7 @@ export class Items extends HeyApiClient {
1359
1390
  responseStyle: 'data',
1360
1391
  security: [{ scheme: 'bearer', type: 'http' }, {
1361
1392
  in: 'cookie',
1362
- name: 'talqing_session',
1393
+ name: 'talqing_sid',
1363
1394
  type: 'apiKey'
1364
1395
  }],
1365
1396
  url: '/v1/chats/{chat_id}/items',
@@ -1383,7 +1414,7 @@ export class Messages extends HeyApiClient {
1383
1414
  responseStyle: 'data',
1384
1415
  security: [{ scheme: 'bearer', type: 'http' }, {
1385
1416
  in: 'cookie',
1386
- name: 'talqing_session',
1417
+ name: 'talqing_sid',
1387
1418
  type: 'apiKey'
1388
1419
  }],
1389
1420
  url: '/v1/chats/{chat_id}/messages',
@@ -1409,7 +1440,7 @@ export class Tokens extends HeyApiClient {
1409
1440
  responseStyle: 'data',
1410
1441
  security: [{ scheme: 'bearer', type: 'http' }, {
1411
1442
  in: 'cookie',
1412
- name: 'talqing_session',
1443
+ name: 'talqing_sid',
1413
1444
  type: 'apiKey'
1414
1445
  }],
1415
1446
  url: '/v1/chats/{chat_id}/token',
@@ -1436,7 +1467,7 @@ export class Chats extends HeyApiClient {
1436
1467
  responseStyle: 'data',
1437
1468
  security: [{ scheme: 'bearer', type: 'http' }, {
1438
1469
  in: 'cookie',
1439
- name: 'talqing_session',
1470
+ name: 'talqing_sid',
1440
1471
  type: 'apiKey'
1441
1472
  }],
1442
1473
  url: '/v1/chats',
@@ -1458,7 +1489,7 @@ export class Chats extends HeyApiClient {
1458
1489
  responseStyle: 'data',
1459
1490
  security: [{ scheme: 'bearer', type: 'http' }, {
1460
1491
  in: 'cookie',
1461
- name: 'talqing_session',
1492
+ name: 'talqing_sid',
1462
1493
  type: 'apiKey'
1463
1494
  }],
1464
1495
  url: '/v1/chats',
@@ -1482,7 +1513,7 @@ export class Chats extends HeyApiClient {
1482
1513
  responseStyle: 'data',
1483
1514
  security: [{ scheme: 'bearer', type: 'http' }, {
1484
1515
  in: 'cookie',
1485
- name: 'talqing_session',
1516
+ name: 'talqing_sid',
1486
1517
  type: 'apiKey'
1487
1518
  }],
1488
1519
  url: '/v1/chats/{chat_id}',
@@ -1501,7 +1532,7 @@ export class Chats extends HeyApiClient {
1501
1532
  responseStyle: 'data',
1502
1533
  security: [{ scheme: 'bearer', type: 'http' }, {
1503
1534
  in: 'cookie',
1504
- name: 'talqing_session',
1535
+ name: 'talqing_sid',
1505
1536
  type: 'apiKey'
1506
1537
  }],
1507
1538
  url: '/v1/chats/{chat_id}',
@@ -1520,7 +1551,7 @@ export class Chats extends HeyApiClient {
1520
1551
  responseStyle: 'data',
1521
1552
  security: [{ scheme: 'bearer', type: 'http' }, {
1522
1553
  in: 'cookie',
1523
- name: 'talqing_session',
1554
+ name: 'talqing_sid',
1524
1555
  type: 'apiKey'
1525
1556
  }],
1526
1557
  url: '/v1/chats/{chat_id}/detail',
@@ -1539,7 +1570,7 @@ export class Chats extends HeyApiClient {
1539
1570
  responseStyle: 'data',
1540
1571
  security: [{ scheme: 'bearer', type: 'http' }, {
1541
1572
  in: 'cookie',
1542
- name: 'talqing_session',
1573
+ name: 'talqing_sid',
1543
1574
  type: 'apiKey'
1544
1575
  }],
1545
1576
  url: '/v1/chats/{chat_id}/end',
@@ -1582,7 +1613,7 @@ export class Items2 extends HeyApiClient {
1582
1613
  responseStyle: 'data',
1583
1614
  security: [{ scheme: 'bearer', type: 'http' }, {
1584
1615
  in: 'cookie',
1585
- name: 'talqing_session',
1616
+ name: 'talqing_sid',
1586
1617
  type: 'apiKey'
1587
1618
  }],
1588
1619
  url: '/v1/conversations/{conversation_id}/items',
@@ -1611,7 +1642,7 @@ export class Sessions extends HeyApiClient {
1611
1642
  responseStyle: 'data',
1612
1643
  security: [{ scheme: 'bearer', type: 'http' }, {
1613
1644
  in: 'cookie',
1614
- name: 'talqing_session',
1645
+ name: 'talqing_sid',
1615
1646
  type: 'apiKey'
1616
1647
  }],
1617
1648
  url: '/v1/conversations/{conversation_id}/sessions',
@@ -1642,7 +1673,7 @@ export class Conversations extends HeyApiClient {
1642
1673
  responseStyle: 'data',
1643
1674
  security: [{ scheme: 'bearer', type: 'http' }, {
1644
1675
  in: 'cookie',
1645
- name: 'talqing_session',
1676
+ name: 'talqing_sid',
1646
1677
  type: 'apiKey'
1647
1678
  }],
1648
1679
  url: '/v1/conversations',
@@ -1666,7 +1697,7 @@ export class Conversations extends HeyApiClient {
1666
1697
  responseStyle: 'data',
1667
1698
  security: [{ scheme: 'bearer', type: 'http' }, {
1668
1699
  in: 'cookie',
1669
- name: 'talqing_session',
1700
+ name: 'talqing_sid',
1670
1701
  type: 'apiKey'
1671
1702
  }],
1672
1703
  url: '/v1/conversations/{conversation_id}',
@@ -1691,7 +1722,7 @@ export class Conversations extends HeyApiClient {
1691
1722
  responseStyle: 'data',
1692
1723
  security: [{ scheme: 'bearer', type: 'http' }, {
1693
1724
  in: 'cookie',
1694
- name: 'talqing_session',
1725
+ name: 'talqing_sid',
1695
1726
  type: 'apiKey'
1696
1727
  }],
1697
1728
  url: '/v1/conversations/{conversation_id}',
@@ -1723,7 +1754,7 @@ export class Conversations extends HeyApiClient {
1723
1754
  responseStyle: 'data',
1724
1755
  security: [{ scheme: 'bearer', type: 'http' }, {
1725
1756
  in: 'cookie',
1726
- name: 'talqing_session',
1757
+ name: 'talqing_sid',
1727
1758
  type: 'apiKey'
1728
1759
  }],
1729
1760
  url: '/v1/conversations/{conversation_id}/events',
@@ -1747,7 +1778,7 @@ export class Conversations extends HeyApiClient {
1747
1778
  responseStyle: 'data',
1748
1779
  security: [{ scheme: 'bearer', type: 'http' }, {
1749
1780
  in: 'cookie',
1750
- name: 'talqing_session',
1781
+ name: 'talqing_sid',
1751
1782
  type: 'apiKey'
1752
1783
  }],
1753
1784
  url: '/v1/conversations/{conversation_id}/snapshot',
@@ -1770,7 +1801,7 @@ export class Conversations extends HeyApiClient {
1770
1801
  responseStyle: 'data',
1771
1802
  security: [{ scheme: 'bearer', type: 'http' }, {
1772
1803
  in: 'cookie',
1773
- name: 'talqing_session',
1804
+ name: 'talqing_sid',
1774
1805
  type: 'apiKey'
1775
1806
  }],
1776
1807
  url: '/v1/conversations/{conversation_id}/trace',
@@ -1800,7 +1831,7 @@ export class Agents2 extends HeyApiClient {
1800
1831
  responseStyle: 'data',
1801
1832
  security: [{ scheme: 'bearer', type: 'http' }, {
1802
1833
  in: 'cookie',
1803
- name: 'talqing_session',
1834
+ name: 'talqing_sid',
1804
1835
  type: 'apiKey'
1805
1836
  }],
1806
1837
  url: '/v1/copilot/agents/{agent_id}/messages',
@@ -1828,7 +1859,7 @@ export class Agents2 extends HeyApiClient {
1828
1859
  responseStyle: 'data',
1829
1860
  security: [{ scheme: 'bearer', type: 'http' }, {
1830
1861
  in: 'cookie',
1831
- name: 'talqing_session',
1862
+ name: 'talqing_sid',
1832
1863
  type: 'apiKey'
1833
1864
  }],
1834
1865
  url: '/v1/copilot/agents/{agent_id}/stream',
@@ -1852,7 +1883,7 @@ export class Tasks extends HeyApiClient {
1852
1883
  responseStyle: 'data',
1853
1884
  security: [{ scheme: 'bearer', type: 'http' }, {
1854
1885
  in: 'cookie',
1855
- name: 'talqing_session',
1886
+ name: 'talqing_sid',
1856
1887
  type: 'apiKey'
1857
1888
  }],
1858
1889
  url: '/v1/copilot/tasks/{task_id}/messages',
@@ -1880,7 +1911,7 @@ export class Tasks extends HeyApiClient {
1880
1911
  responseStyle: 'data',
1881
1912
  security: [{ scheme: 'bearer', type: 'http' }, {
1882
1913
  in: 'cookie',
1883
- name: 'talqing_session',
1914
+ name: 'talqing_sid',
1884
1915
  type: 'apiKey'
1885
1916
  }],
1886
1917
  url: '/v1/copilot/tasks/{task_id}/stream',
@@ -1904,7 +1935,7 @@ export class Tools extends HeyApiClient {
1904
1935
  responseStyle: 'data',
1905
1936
  security: [{ scheme: 'bearer', type: 'http' }, {
1906
1937
  in: 'cookie',
1907
- name: 'talqing_session',
1938
+ name: 'talqing_sid',
1908
1939
  type: 'apiKey'
1909
1940
  }],
1910
1941
  url: '/v1/copilot/tools/{tool_id}/messages',
@@ -1932,7 +1963,7 @@ export class Tools extends HeyApiClient {
1932
1963
  responseStyle: 'data',
1933
1964
  security: [{ scheme: 'bearer', type: 'http' }, {
1934
1965
  in: 'cookie',
1935
- name: 'talqing_session',
1966
+ name: 'talqing_sid',
1936
1967
  type: 'apiKey'
1937
1968
  }],
1938
1969
  url: '/v1/copilot/tools/{tool_id}/stream',
@@ -1975,7 +2006,7 @@ export class Recipients2 extends HeyApiClient {
1975
2006
  responseStyle: 'data',
1976
2007
  security: [{ scheme: 'bearer', type: 'http' }, {
1977
2008
  in: 'cookie',
1978
- name: 'talqing_session',
2009
+ name: 'talqing_sid',
1979
2010
  type: 'apiKey'
1980
2011
  }],
1981
2012
  url: '/v1/email/batches/{batch_id}/recipients',
@@ -1996,7 +2027,7 @@ export class Recipients2 extends HeyApiClient {
1996
2027
  responseStyle: 'data',
1997
2028
  security: [{ scheme: 'bearer', type: 'http' }, {
1998
2029
  in: 'cookie',
1999
- name: 'talqing_session',
2030
+ name: 'talqing_sid',
2000
2031
  type: 'apiKey'
2001
2032
  }],
2002
2033
  url: '/v1/email/batches/{batch_id}/recipients',
@@ -2009,6 +2040,30 @@ export class Recipients2 extends HeyApiClient {
2009
2040
  }
2010
2041
  });
2011
2042
  }
2043
+ /**
2044
+ * Delete Email Batch Recipients
2045
+ *
2046
+ * Remove rows that were never sent. Not reversible; a sent row is refused in `rejected`.
2047
+ */
2048
+ delete(parameters, options) {
2049
+ const params = buildClientParams([parameters], [{ args: [{ in: 'path', key: 'batch_id' }, { key: 'deleteRecipientsRequest', map: 'body' }] }]);
2050
+ return (options?.client ?? this.client).post({
2051
+ responseStyle: 'data',
2052
+ security: [{ scheme: 'bearer', type: 'http' }, {
2053
+ in: 'cookie',
2054
+ name: 'talqing_sid',
2055
+ type: 'apiKey'
2056
+ }],
2057
+ url: '/v1/email/batches/{batch_id}/recipients/delete',
2058
+ ...options,
2059
+ ...params,
2060
+ headers: {
2061
+ 'Content-Type': 'application/json',
2062
+ ...options?.headers,
2063
+ ...params.headers
2064
+ }
2065
+ });
2066
+ }
2012
2067
  /**
2013
2068
  * Patch Email Batch Recipient
2014
2069
  *
@@ -2030,7 +2085,7 @@ export class Recipients2 extends HeyApiClient {
2030
2085
  responseStyle: 'data',
2031
2086
  security: [{ scheme: 'bearer', type: 'http' }, {
2032
2087
  in: 'cookie',
2033
- name: 'talqing_session',
2088
+ name: 'talqing_sid',
2034
2089
  type: 'apiKey'
2035
2090
  }],
2036
2091
  url: '/v1/email/batches/{batch_id}/recipients/{recipient_id}',
@@ -2063,7 +2118,7 @@ export class Recipients2 extends HeyApiClient {
2063
2118
  responseStyle: 'data',
2064
2119
  security: [{ scheme: 'bearer', type: 'http' }, {
2065
2120
  in: 'cookie',
2066
- name: 'talqing_session',
2121
+ name: 'talqing_sid',
2067
2122
  type: 'apiKey'
2068
2123
  }],
2069
2124
  url: '/v1/email/batches/{batch_id}/redraft',
@@ -2076,58 +2131,6 @@ export class Recipients2 extends HeyApiClient {
2076
2131
  }
2077
2132
  });
2078
2133
  }
2079
- /**
2080
- * Restore Email Batch Recipients
2081
- *
2082
- * Put skipped rows back. `selection: "all_eligible"` means every row a person
2083
- * skipped; an `unfillable` row is restored by filling in its cell instead.
2084
- */
2085
- restore(parameters, options) {
2086
- const params = buildClientParams([parameters], [{ args: [{ in: 'path', key: 'batch_id' }, { key: 'selectRecipientsRequest', map: 'body' }] }]);
2087
- return (options?.client ?? this.client).post({
2088
- responseStyle: 'data',
2089
- security: [{ scheme: 'bearer', type: 'http' }, {
2090
- in: 'cookie',
2091
- name: 'talqing_session',
2092
- type: 'apiKey'
2093
- }],
2094
- url: '/v1/email/batches/{batch_id}/restore',
2095
- ...options,
2096
- ...params,
2097
- headers: {
2098
- 'Content-Type': 'application/json',
2099
- ...options?.headers,
2100
- ...params.headers
2101
- }
2102
- });
2103
- }
2104
- /**
2105
- * Skip Email Batch Recipients
2106
- *
2107
- * Take rows out of consideration. Reversible with `restore`.
2108
- *
2109
- * Accepts drafted rows and rows whose drafting failed. Takes either
2110
- * `recipient_ids` or `selection: "all_eligible"`, which here means both.
2111
- */
2112
- skip(parameters, options) {
2113
- const params = buildClientParams([parameters], [{ args: [{ in: 'path', key: 'batch_id' }, { key: 'selectRecipientsRequest', map: 'body' }] }]);
2114
- return (options?.client ?? this.client).post({
2115
- responseStyle: 'data',
2116
- security: [{ scheme: 'bearer', type: 'http' }, {
2117
- in: 'cookie',
2118
- name: 'talqing_session',
2119
- type: 'apiKey'
2120
- }],
2121
- url: '/v1/email/batches/{batch_id}/skip',
2122
- ...options,
2123
- ...params,
2124
- headers: {
2125
- 'Content-Type': 'application/json',
2126
- ...options?.headers,
2127
- ...params.headers
2128
- }
2129
- });
2130
- }
2131
2134
  }
2132
2135
  export class Sends extends HeyApiClient {
2133
2136
  /**
@@ -2145,7 +2148,7 @@ export class Sends extends HeyApiClient {
2145
2148
  responseStyle: 'data',
2146
2149
  security: [{ scheme: 'bearer', type: 'http' }, {
2147
2150
  in: 'cookie',
2148
- name: 'talqing_session',
2151
+ name: 'talqing_sid',
2149
2152
  type: 'apiKey'
2150
2153
  }],
2151
2154
  url: '/v1/email/batches/{batch_id}/sends',
@@ -2174,7 +2177,7 @@ export class Sends extends HeyApiClient {
2174
2177
  responseStyle: 'data',
2175
2178
  security: [{ scheme: 'bearer', type: 'http' }, {
2176
2179
  in: 'cookie',
2177
- name: 'talqing_session',
2180
+ name: 'talqing_sid',
2178
2181
  type: 'apiKey'
2179
2182
  }],
2180
2183
  url: '/v1/email/batches/{batch_id}/sends',
@@ -2201,7 +2204,7 @@ export class Sends extends HeyApiClient {
2201
2204
  responseStyle: 'data',
2202
2205
  security: [{ scheme: 'bearer', type: 'http' }, {
2203
2206
  in: 'cookie',
2204
- name: 'talqing_session',
2207
+ name: 'talqing_sid',
2205
2208
  type: 'apiKey'
2206
2209
  }],
2207
2210
  url: '/v1/email/batches/{batch_id}/sends/{send_id}',
@@ -2227,7 +2230,7 @@ export class Sends extends HeyApiClient {
2227
2230
  responseStyle: 'data',
2228
2231
  security: [{ scheme: 'bearer', type: 'http' }, {
2229
2232
  in: 'cookie',
2230
- name: 'talqing_session',
2233
+ name: 'talqing_sid',
2231
2234
  type: 'apiKey'
2232
2235
  }],
2233
2236
  url: '/v1/email/batches/{batch_id}/sends/{send_id}',
@@ -2252,7 +2255,7 @@ export class Sends extends HeyApiClient {
2252
2255
  responseStyle: 'data',
2253
2256
  security: [{ scheme: 'bearer', type: 'http' }, {
2254
2257
  in: 'cookie',
2255
- name: 'talqing_session',
2258
+ name: 'talqing_sid',
2256
2259
  type: 'apiKey'
2257
2260
  }],
2258
2261
  url: '/v1/email/batches/{batch_id}/sends/{send_id}/cancel',
@@ -2272,7 +2275,7 @@ export class Sends extends HeyApiClient {
2272
2275
  responseStyle: 'data',
2273
2276
  security: [{ scheme: 'bearer', type: 'http' }, {
2274
2277
  in: 'cookie',
2275
- name: 'talqing_session',
2278
+ name: 'talqing_sid',
2276
2279
  type: 'apiKey'
2277
2280
  }],
2278
2281
  url: '/v1/email/batches/{batch_id}/sends/{send_id}/pause',
@@ -2291,7 +2294,7 @@ export class Sends extends HeyApiClient {
2291
2294
  responseStyle: 'data',
2292
2295
  security: [{ scheme: 'bearer', type: 'http' }, {
2293
2296
  in: 'cookie',
2294
- name: 'talqing_session',
2297
+ name: 'talqing_sid',
2295
2298
  type: 'apiKey'
2296
2299
  }],
2297
2300
  url: '/v1/email/batches/{batch_id}/sends/{send_id}/resume',
@@ -2321,7 +2324,7 @@ export class Batches2 extends HeyApiClient {
2321
2324
  responseStyle: 'data',
2322
2325
  security: [{ scheme: 'bearer', type: 'http' }, {
2323
2326
  in: 'cookie',
2324
- name: 'talqing_session',
2327
+ name: 'talqing_sid',
2325
2328
  type: 'apiKey'
2326
2329
  }],
2327
2330
  url: '/v1/email/batches',
@@ -2361,7 +2364,7 @@ export class Batches2 extends HeyApiClient {
2361
2364
  responseStyle: 'data',
2362
2365
  security: [{ scheme: 'bearer', type: 'http' }, {
2363
2366
  in: 'cookie',
2364
- name: 'talqing_session',
2367
+ name: 'talqing_sid',
2365
2368
  type: 'apiKey'
2366
2369
  }],
2367
2370
  url: '/v1/email/batches',
@@ -2387,7 +2390,7 @@ export class Batches2 extends HeyApiClient {
2387
2390
  responseStyle: 'data',
2388
2391
  security: [{ scheme: 'bearer', type: 'http' }, {
2389
2392
  in: 'cookie',
2390
- name: 'talqing_session',
2393
+ name: 'talqing_sid',
2391
2394
  type: 'apiKey'
2392
2395
  }],
2393
2396
  url: '/v1/email/batches/{batch_id}',
@@ -2409,7 +2412,7 @@ export class Batches2 extends HeyApiClient {
2409
2412
  responseStyle: 'data',
2410
2413
  security: [{ scheme: 'bearer', type: 'http' }, {
2411
2414
  in: 'cookie',
2412
- name: 'talqing_session',
2415
+ name: 'talqing_sid',
2413
2416
  type: 'apiKey'
2414
2417
  }],
2415
2418
  url: '/v1/email/batches/{batch_id}',
@@ -2435,7 +2438,7 @@ export class Batches2 extends HeyApiClient {
2435
2438
  responseStyle: 'data',
2436
2439
  security: [{ scheme: 'bearer', type: 'http' }, {
2437
2440
  in: 'cookie',
2438
- name: 'talqing_session',
2441
+ name: 'talqing_sid',
2439
2442
  type: 'apiKey'
2440
2443
  }],
2441
2444
  url: '/v1/email/batches/{batch_id}',
@@ -2463,7 +2466,7 @@ export class Batches2 extends HeyApiClient {
2463
2466
  responseStyle: 'data',
2464
2467
  security: [{ scheme: 'bearer', type: 'http' }, {
2465
2468
  in: 'cookie',
2466
- name: 'talqing_session',
2469
+ name: 'talqing_sid',
2467
2470
  type: 'apiKey'
2468
2471
  }],
2469
2472
  url: '/v1/email/batches/{batch_id}/cancel',
@@ -2485,7 +2488,7 @@ export class Batches2 extends HeyApiClient {
2485
2488
  responseStyle: 'data',
2486
2489
  security: [{ scheme: 'bearer', type: 'http' }, {
2487
2490
  in: 'cookie',
2488
- name: 'talqing_session',
2491
+ name: 'talqing_sid',
2489
2492
  type: 'apiKey'
2490
2493
  }],
2491
2494
  url: '/v1/email/batches/{batch_id}/pause',
@@ -2504,7 +2507,7 @@ export class Batches2 extends HeyApiClient {
2504
2507
  responseStyle: 'data',
2505
2508
  security: [{ scheme: 'bearer', type: 'http' }, {
2506
2509
  in: 'cookie',
2507
- name: 'talqing_session',
2510
+ name: 'talqing_sid',
2508
2511
  type: 'apiKey'
2509
2512
  }],
2510
2513
  url: '/v1/email/batches/{batch_id}/resume',
@@ -2536,7 +2539,7 @@ export class Senders extends HeyApiClient {
2536
2539
  responseStyle: 'data',
2537
2540
  security: [{ scheme: 'bearer', type: 'http' }, {
2538
2541
  in: 'cookie',
2539
- name: 'talqing_session',
2542
+ name: 'talqing_sid',
2540
2543
  type: 'apiKey'
2541
2544
  }],
2542
2545
  url: '/v1/email/senders',
@@ -2566,7 +2569,7 @@ export class Entries extends HeyApiClient {
2566
2569
  responseStyle: 'data',
2567
2570
  security: [{ scheme: 'bearer', type: 'http' }, {
2568
2571
  in: 'cookie',
2569
- name: 'talqing_session',
2572
+ name: 'talqing_sid',
2570
2573
  type: 'apiKey'
2571
2574
  }],
2572
2575
  url: '/v1/faqs/{faq_id}/entries',
@@ -2590,7 +2593,7 @@ export class Entries extends HeyApiClient {
2590
2593
  responseStyle: 'data',
2591
2594
  security: [{ scheme: 'bearer', type: 'http' }, {
2592
2595
  in: 'cookie',
2593
- name: 'talqing_session',
2596
+ name: 'talqing_sid',
2594
2597
  type: 'apiKey'
2595
2598
  }],
2596
2599
  url: '/v1/faqs/{faq_id}/entries/{entry_id}',
@@ -2613,7 +2616,7 @@ export class Entries extends HeyApiClient {
2613
2616
  responseStyle: 'data',
2614
2617
  security: [{ scheme: 'bearer', type: 'http' }, {
2615
2618
  in: 'cookie',
2616
- name: 'talqing_session',
2619
+ name: 'talqing_sid',
2617
2620
  type: 'apiKey'
2618
2621
  }],
2619
2622
  url: '/v1/faqs/{faq_id}/entries/{entry_id}',
@@ -2639,7 +2642,7 @@ export class Faqs extends HeyApiClient {
2639
2642
  responseStyle: 'data',
2640
2643
  security: [{ scheme: 'bearer', type: 'http' }, {
2641
2644
  in: 'cookie',
2642
- name: 'talqing_session',
2645
+ name: 'talqing_sid',
2643
2646
  type: 'apiKey'
2644
2647
  }],
2645
2648
  url: '/v1/faqs',
@@ -2658,7 +2661,7 @@ export class Faqs extends HeyApiClient {
2658
2661
  responseStyle: 'data',
2659
2662
  security: [{ scheme: 'bearer', type: 'http' }, {
2660
2663
  in: 'cookie',
2661
- name: 'talqing_session',
2664
+ name: 'talqing_sid',
2662
2665
  type: 'apiKey'
2663
2666
  }],
2664
2667
  url: '/v1/faqs',
@@ -2683,7 +2686,7 @@ export class Faqs extends HeyApiClient {
2683
2686
  responseStyle: 'data',
2684
2687
  security: [{ scheme: 'bearer', type: 'http' }, {
2685
2688
  in: 'cookie',
2686
- name: 'talqing_session',
2689
+ name: 'talqing_sid',
2687
2690
  type: 'apiKey'
2688
2691
  }],
2689
2692
  url: '/v1/faqs/{faq_id}',
@@ -2702,7 +2705,7 @@ export class Faqs extends HeyApiClient {
2702
2705
  responseStyle: 'data',
2703
2706
  security: [{ scheme: 'bearer', type: 'http' }, {
2704
2707
  in: 'cookie',
2705
- name: 'talqing_session',
2708
+ name: 'talqing_sid',
2706
2709
  type: 'apiKey'
2707
2710
  }],
2708
2711
  url: '/v1/faqs/{faq_id}',
@@ -2721,7 +2724,7 @@ export class Faqs extends HeyApiClient {
2721
2724
  responseStyle: 'data',
2722
2725
  security: [{ scheme: 'bearer', type: 'http' }, {
2723
2726
  in: 'cookie',
2724
- name: 'talqing_session',
2727
+ name: 'talqing_sid',
2725
2728
  type: 'apiKey'
2726
2729
  }],
2727
2730
  url: '/v1/faqs/{faq_id}',
@@ -2756,7 +2759,7 @@ export class McpTools extends HeyApiClient {
2756
2759
  responseStyle: 'data',
2757
2760
  security: [{ scheme: 'bearer', type: 'http' }, {
2758
2761
  in: 'cookie',
2759
- name: 'talqing_session',
2762
+ name: 'talqing_sid',
2760
2763
  type: 'apiKey'
2761
2764
  }],
2762
2765
  url: '/v1/integrations/{integration_id}/mcp-tools',
@@ -2784,7 +2787,7 @@ export class Triggers extends HeyApiClient {
2784
2787
  responseStyle: 'data',
2785
2788
  security: [{ scheme: 'bearer', type: 'http' }, {
2786
2789
  in: 'cookie',
2787
- name: 'talqing_session',
2790
+ name: 'talqing_sid',
2788
2791
  type: 'apiKey'
2789
2792
  }],
2790
2793
  url: '/v1/integrations/{integration_id}/triggers',
@@ -2810,7 +2813,7 @@ export class Triggers extends HeyApiClient {
2810
2813
  responseStyle: 'data',
2811
2814
  security: [{ scheme: 'bearer', type: 'http' }, {
2812
2815
  in: 'cookie',
2813
- name: 'talqing_session',
2816
+ name: 'talqing_sid',
2814
2817
  type: 'apiKey'
2815
2818
  }],
2816
2819
  url: '/v1/integrations/{integration_id}/triggers',
@@ -2834,7 +2837,7 @@ export class Triggers extends HeyApiClient {
2834
2837
  responseStyle: 'data',
2835
2838
  security: [{ scheme: 'bearer', type: 'http' }, {
2836
2839
  in: 'cookie',
2837
- name: 'talqing_session',
2840
+ name: 'talqing_sid',
2838
2841
  type: 'apiKey'
2839
2842
  }],
2840
2843
  url: '/v1/integrations/{integration_id}/triggers/{trigger_id}',
@@ -2861,7 +2864,7 @@ export class Triggers extends HeyApiClient {
2861
2864
  responseStyle: 'data',
2862
2865
  security: [{ scheme: 'bearer', type: 'http' }, {
2863
2866
  in: 'cookie',
2864
- name: 'talqing_session',
2867
+ name: 'talqing_sid',
2865
2868
  type: 'apiKey'
2866
2869
  }],
2867
2870
  url: '/v1/integrations/{integration_id}/triggers/{trigger_id}',
@@ -2890,7 +2893,7 @@ export class Integrations extends HeyApiClient {
2890
2893
  responseStyle: 'data',
2891
2894
  security: [{ scheme: 'bearer', type: 'http' }, {
2892
2895
  in: 'cookie',
2893
- name: 'talqing_session',
2896
+ name: 'talqing_sid',
2894
2897
  type: 'apiKey'
2895
2898
  }],
2896
2899
  url: '/v1/integrations',
@@ -2917,7 +2920,7 @@ export class Integrations extends HeyApiClient {
2917
2920
  responseStyle: 'data',
2918
2921
  security: [{ scheme: 'bearer', type: 'http' }, {
2919
2922
  in: 'cookie',
2920
- name: 'talqing_session',
2923
+ name: 'talqing_sid',
2921
2924
  type: 'apiKey'
2922
2925
  }],
2923
2926
  url: '/v1/integrations',
@@ -2946,7 +2949,7 @@ export class Integrations extends HeyApiClient {
2946
2949
  responseStyle: 'data',
2947
2950
  security: [{ scheme: 'bearer', type: 'http' }, {
2948
2951
  in: 'cookie',
2949
- name: 'talqing_session',
2952
+ name: 'talqing_sid',
2950
2953
  type: 'apiKey'
2951
2954
  }],
2952
2955
  url: '/v1/integrations/catalog',
@@ -2965,7 +2968,7 @@ export class Integrations extends HeyApiClient {
2965
2968
  responseStyle: 'data',
2966
2969
  security: [{ scheme: 'bearer', type: 'http' }, {
2967
2970
  in: 'cookie',
2968
- name: 'talqing_session',
2971
+ name: 'talqing_sid',
2969
2972
  type: 'apiKey'
2970
2973
  }],
2971
2974
  url: '/v1/integrations/{integration_id}',
@@ -2985,7 +2988,7 @@ export class Integrations extends HeyApiClient {
2985
2988
  responseStyle: 'data',
2986
2989
  security: [{ scheme: 'bearer', type: 'http' }, {
2987
2990
  in: 'cookie',
2988
- name: 'talqing_session',
2991
+ name: 'talqing_sid',
2989
2992
  type: 'apiKey'
2990
2993
  }],
2991
2994
  url: '/v1/integrations/{integration_id}',
@@ -3012,7 +3015,7 @@ export class Integrations extends HeyApiClient {
3012
3015
  responseStyle: 'data',
3013
3016
  security: [{ scheme: 'bearer', type: 'http' }, {
3014
3017
  in: 'cookie',
3015
- name: 'talqing_session',
3018
+ name: 'talqing_sid',
3016
3019
  type: 'apiKey'
3017
3020
  }],
3018
3021
  url: '/v1/integrations/{integration_id}',
@@ -3064,7 +3067,7 @@ export class Observability extends HeyApiClient {
3064
3067
  responseStyle: 'data',
3065
3068
  security: [{ scheme: 'bearer', type: 'http' }, {
3066
3069
  in: 'cookie',
3067
- name: 'talqing_session',
3070
+ name: 'talqing_sid',
3068
3071
  type: 'apiKey'
3069
3072
  }],
3070
3073
  url: '/v1/observability',
@@ -3090,7 +3093,7 @@ export class Functions extends HeyApiClient {
3090
3093
  responseStyle: 'data',
3091
3094
  security: [{ scheme: 'bearer', type: 'http' }, {
3092
3095
  in: 'cookie',
3093
- name: 'talqing_session',
3096
+ name: 'talqing_sid',
3094
3097
  type: 'apiKey'
3095
3098
  }],
3096
3099
  url: '/v1/schemas/functions/{name}',
@@ -3122,7 +3125,7 @@ export class Schemas extends HeyApiClient {
3122
3125
  responseStyle: 'data',
3123
3126
  security: [{ scheme: 'bearer', type: 'http' }, {
3124
3127
  in: 'cookie',
3125
- name: 'talqing_session',
3128
+ name: 'talqing_sid',
3126
3129
  type: 'apiKey'
3127
3130
  }],
3128
3131
  url: '/v1/schemas/{name}',
@@ -3149,7 +3152,7 @@ export class Secrets extends HeyApiClient {
3149
3152
  responseStyle: 'data',
3150
3153
  security: [{ scheme: 'bearer', type: 'http' }, {
3151
3154
  in: 'cookie',
3152
- name: 'talqing_session',
3155
+ name: 'talqing_sid',
3153
3156
  type: 'apiKey'
3154
3157
  }],
3155
3158
  url: '/v1/secrets',
@@ -3171,7 +3174,7 @@ export class Secrets extends HeyApiClient {
3171
3174
  responseStyle: 'data',
3172
3175
  security: [{ scheme: 'bearer', type: 'http' }, {
3173
3176
  in: 'cookie',
3174
- name: 'talqing_session',
3177
+ name: 'talqing_sid',
3175
3178
  type: 'apiKey'
3176
3179
  }],
3177
3180
  url: '/v1/secrets',
@@ -3196,7 +3199,7 @@ export class Secrets extends HeyApiClient {
3196
3199
  responseStyle: 'data',
3197
3200
  security: [{ scheme: 'bearer', type: 'http' }, {
3198
3201
  in: 'cookie',
3199
- name: 'talqing_session',
3202
+ name: 'talqing_sid',
3200
3203
  type: 'apiKey'
3201
3204
  }],
3202
3205
  url: '/v1/secrets/{secret_id}',
@@ -3217,7 +3220,7 @@ export class Streams extends HeyApiClient {
3217
3220
  responseStyle: 'data',
3218
3221
  security: [{ scheme: 'bearer', type: 'http' }, {
3219
3222
  in: 'cookie',
3220
- name: 'talqing_session',
3223
+ name: 'talqing_sid',
3221
3224
  type: 'apiKey'
3222
3225
  }],
3223
3226
  url: '/v1/streams',
@@ -3239,7 +3242,7 @@ export class Streams extends HeyApiClient {
3239
3242
  responseStyle: 'data',
3240
3243
  security: [{ scheme: 'bearer', type: 'http' }, {
3241
3244
  in: 'cookie',
3242
- name: 'talqing_session',
3245
+ name: 'talqing_sid',
3243
3246
  type: 'apiKey'
3244
3247
  }],
3245
3248
  url: '/v1/streams',
@@ -3263,7 +3266,7 @@ export class Streams extends HeyApiClient {
3263
3266
  responseStyle: 'data',
3264
3267
  security: [{ scheme: 'bearer', type: 'http' }, {
3265
3268
  in: 'cookie',
3266
- name: 'talqing_session',
3269
+ name: 'talqing_sid',
3267
3270
  type: 'apiKey'
3268
3271
  }],
3269
3272
  url: '/v1/streams/{connection_id}',
@@ -3282,7 +3285,7 @@ export class Streams extends HeyApiClient {
3282
3285
  responseStyle: 'data',
3283
3286
  security: [{ scheme: 'bearer', type: 'http' }, {
3284
3287
  in: 'cookie',
3285
- name: 'talqing_session',
3288
+ name: 'talqing_sid',
3286
3289
  type: 'apiKey'
3287
3290
  }],
3288
3291
  url: '/v1/streams/{connection_id}',
@@ -3304,7 +3307,7 @@ export class Streams extends HeyApiClient {
3304
3307
  responseStyle: 'data',
3305
3308
  security: [{ scheme: 'bearer', type: 'http' }, {
3306
3309
  in: 'cookie',
3307
- name: 'talqing_session',
3310
+ name: 'talqing_sid',
3308
3311
  type: 'apiKey'
3309
3312
  }],
3310
3313
  url: '/v1/streams/{connection_id}',
@@ -3335,7 +3338,7 @@ export class Accounts extends HeyApiClient {
3335
3338
  responseStyle: 'data',
3336
3339
  security: [{ scheme: 'bearer', type: 'http' }, {
3337
3340
  in: 'cookie',
3338
- name: 'talqing_session',
3341
+ name: 'talqing_sid',
3339
3342
  type: 'apiKey'
3340
3343
  }],
3341
3344
  url: '/v1/telephony/accounts',
@@ -3361,7 +3364,7 @@ export class Accounts extends HeyApiClient {
3361
3364
  responseStyle: 'data',
3362
3365
  security: [{ scheme: 'bearer', type: 'http' }, {
3363
3366
  in: 'cookie',
3364
- name: 'talqing_session',
3367
+ name: 'talqing_sid',
3365
3368
  type: 'apiKey'
3366
3369
  }],
3367
3370
  url: '/v1/telephony/accounts',
@@ -3388,7 +3391,7 @@ export class Accounts extends HeyApiClient {
3388
3391
  responseStyle: 'data',
3389
3392
  security: [{ scheme: 'bearer', type: 'http' }, {
3390
3393
  in: 'cookie',
3391
- name: 'talqing_session',
3394
+ name: 'talqing_sid',
3392
3395
  type: 'apiKey'
3393
3396
  }],
3394
3397
  url: '/v1/telephony/accounts/{account_id}',
@@ -3412,7 +3415,7 @@ export class Accounts extends HeyApiClient {
3412
3415
  responseStyle: 'data',
3413
3416
  security: [{ scheme: 'bearer', type: 'http' }, {
3414
3417
  in: 'cookie',
3415
- name: 'talqing_session',
3418
+ name: 'talqing_sid',
3416
3419
  type: 'apiKey'
3417
3420
  }],
3418
3421
  url: '/v1/telephony/accounts/{account_id}',
@@ -3437,7 +3440,7 @@ export class Accounts extends HeyApiClient {
3437
3440
  responseStyle: 'data',
3438
3441
  security: [{ scheme: 'bearer', type: 'http' }, {
3439
3442
  in: 'cookie',
3440
- name: 'talqing_session',
3443
+ name: 'talqing_sid',
3441
3444
  type: 'apiKey'
3442
3445
  }],
3443
3446
  url: '/v1/telephony/accounts/{account_id}',
@@ -3466,7 +3469,7 @@ export class Accounts extends HeyApiClient {
3466
3469
  responseStyle: 'data',
3467
3470
  security: [{ scheme: 'bearer', type: 'http' }, {
3468
3471
  in: 'cookie',
3469
- name: 'talqing_session',
3472
+ name: 'talqing_sid',
3470
3473
  type: 'apiKey'
3471
3474
  }],
3472
3475
  url: '/v1/telephony/accounts/{account_id}/provision',
@@ -3493,7 +3496,7 @@ export class Accounts extends HeyApiClient {
3493
3496
  responseStyle: 'data',
3494
3497
  security: [{ scheme: 'bearer', type: 'http' }, {
3495
3498
  in: 'cookie',
3496
- name: 'talqing_session',
3499
+ name: 'talqing_sid',
3497
3500
  type: 'apiKey'
3498
3501
  }],
3499
3502
  url: '/v1/telephony/accounts/{account_id}/remote-numbers',
@@ -3523,7 +3526,7 @@ export class PhoneNumbers extends HeyApiClient {
3523
3526
  responseStyle: 'data',
3524
3527
  security: [{ scheme: 'bearer', type: 'http' }, {
3525
3528
  in: 'cookie',
3526
- name: 'talqing_session',
3529
+ name: 'talqing_sid',
3527
3530
  type: 'apiKey'
3528
3531
  }],
3529
3532
  url: '/v1/telephony/phone-numbers',
@@ -3546,7 +3549,7 @@ export class PhoneNumbers extends HeyApiClient {
3546
3549
  responseStyle: 'data',
3547
3550
  security: [{ scheme: 'bearer', type: 'http' }, {
3548
3551
  in: 'cookie',
3549
- name: 'talqing_session',
3552
+ name: 'talqing_sid',
3550
3553
  type: 'apiKey'
3551
3554
  }],
3552
3555
  url: '/v1/telephony/phone-numbers/import',
@@ -3570,7 +3573,7 @@ export class PhoneNumbers extends HeyApiClient {
3570
3573
  responseStyle: 'data',
3571
3574
  security: [{ scheme: 'bearer', type: 'http' }, {
3572
3575
  in: 'cookie',
3573
- name: 'talqing_session',
3576
+ name: 'talqing_sid',
3574
3577
  type: 'apiKey'
3575
3578
  }],
3576
3579
  url: '/v1/telephony/phone-numbers/{number_id}',
@@ -3593,7 +3596,7 @@ export class PhoneNumbers extends HeyApiClient {
3593
3596
  responseStyle: 'data',
3594
3597
  security: [{ scheme: 'bearer', type: 'http' }, {
3595
3598
  in: 'cookie',
3596
- name: 'talqing_session',
3599
+ name: 'talqing_sid',
3597
3600
  type: 'apiKey'
3598
3601
  }],
3599
3602
  url: '/v1/telephony/phone-numbers/{number_id}',
@@ -3622,7 +3625,7 @@ export class PhoneNumbers extends HeyApiClient {
3622
3625
  responseStyle: 'data',
3623
3626
  security: [{ scheme: 'bearer', type: 'http' }, {
3624
3627
  in: 'cookie',
3625
- name: 'talqing_session',
3628
+ name: 'talqing_sid',
3626
3629
  type: 'apiKey'
3627
3630
  }],
3628
3631
  url: '/v1/telephony/phone-numbers/{number_id}/assign',
@@ -3650,7 +3653,7 @@ export class PhoneNumbers extends HeyApiClient {
3650
3653
  responseStyle: 'data',
3651
3654
  security: [{ scheme: 'bearer', type: 'http' }, {
3652
3655
  in: 'cookie',
3653
- name: 'talqing_session',
3656
+ name: 'talqing_sid',
3654
3657
  type: 'apiKey'
3655
3658
  }],
3656
3659
  url: '/v1/telephony/phone-numbers/{number_id}/provision',
@@ -3672,7 +3675,7 @@ export class PhoneNumbers extends HeyApiClient {
3672
3675
  responseStyle: 'data',
3673
3676
  security: [{ scheme: 'bearer', type: 'http' }, {
3674
3677
  in: 'cookie',
3675
- name: 'talqing_session',
3678
+ name: 'talqing_sid',
3676
3679
  type: 'apiKey'
3677
3680
  }],
3678
3681
  url: '/v1/telephony/phone-numbers/{number_id}/unassign',
@@ -3698,7 +3701,7 @@ export class Providers extends HeyApiClient {
3698
3701
  responseStyle: 'data',
3699
3702
  security: [{ scheme: 'bearer', type: 'http' }, {
3700
3703
  in: 'cookie',
3701
- name: 'talqing_session',
3704
+ name: 'talqing_sid',
3702
3705
  type: 'apiKey'
3703
3706
  }],
3704
3707
  url: '/v1/telephony/providers',
@@ -3740,7 +3743,7 @@ export class Runs extends HeyApiClient {
3740
3743
  responseStyle: 'data',
3741
3744
  security: [{ scheme: 'bearer', type: 'http' }, {
3742
3745
  in: 'cookie',
3743
- name: 'talqing_session',
3746
+ name: 'talqing_sid',
3744
3747
  type: 'apiKey'
3745
3748
  }],
3746
3749
  url: '/v1/tasks/{task_id}/runs',
@@ -3770,7 +3773,7 @@ export class Runs extends HeyApiClient {
3770
3773
  responseStyle: 'data',
3771
3774
  security: [{ scheme: 'bearer', type: 'http' }, {
3772
3775
  in: 'cookie',
3773
- name: 'talqing_session',
3776
+ name: 'talqing_sid',
3774
3777
  type: 'apiKey'
3775
3778
  }],
3776
3779
  url: '/v1/tasks/{task_id}/runs',
@@ -3799,7 +3802,7 @@ export class Runs extends HeyApiClient {
3799
3802
  responseStyle: 'data',
3800
3803
  security: [{ scheme: 'bearer', type: 'http' }, {
3801
3804
  in: 'cookie',
3802
- name: 'talqing_session',
3805
+ name: 'talqing_sid',
3803
3806
  type: 'apiKey'
3804
3807
  }],
3805
3808
  url: '/v1/tasks/{task_id}/runs/{run_id}',
@@ -3824,7 +3827,7 @@ export class Versions2 extends HeyApiClient {
3824
3827
  responseStyle: 'data',
3825
3828
  security: [{ scheme: 'bearer', type: 'http' }, {
3826
3829
  in: 'cookie',
3827
- name: 'talqing_session',
3830
+ name: 'talqing_sid',
3828
3831
  type: 'apiKey'
3829
3832
  }],
3830
3833
  url: '/v1/tasks/{task_id}/versions/{version}',
@@ -3848,7 +3851,7 @@ export class Versions2 extends HeyApiClient {
3848
3851
  responseStyle: 'data',
3849
3852
  security: [{ scheme: 'bearer', type: 'http' }, {
3850
3853
  in: 'cookie',
3851
- name: 'talqing_session',
3854
+ name: 'talqing_sid',
3852
3855
  type: 'apiKey'
3853
3856
  }],
3854
3857
  url: '/v1/tasks/{task_id}/versions/{version}/rollback',
@@ -3874,7 +3877,7 @@ export class Tasks2 extends HeyApiClient {
3874
3877
  responseStyle: 'data',
3875
3878
  security: [{ scheme: 'bearer', type: 'http' }, {
3876
3879
  in: 'cookie',
3877
- name: 'talqing_session',
3880
+ name: 'talqing_sid',
3878
3881
  type: 'apiKey'
3879
3882
  }],
3880
3883
  url: '/v1/tasks',
@@ -3899,7 +3902,7 @@ export class Tasks2 extends HeyApiClient {
3899
3902
  responseStyle: 'data',
3900
3903
  security: [{ scheme: 'bearer', type: 'http' }, {
3901
3904
  in: 'cookie',
3902
- name: 'talqing_session',
3905
+ name: 'talqing_sid',
3903
3906
  type: 'apiKey'
3904
3907
  }],
3905
3908
  url: '/v1/tasks',
@@ -3924,7 +3927,7 @@ export class Tasks2 extends HeyApiClient {
3924
3927
  responseStyle: 'data',
3925
3928
  security: [{ scheme: 'bearer', type: 'http' }, {
3926
3929
  in: 'cookie',
3927
- name: 'talqing_session',
3930
+ name: 'talqing_sid',
3928
3931
  type: 'apiKey'
3929
3932
  }],
3930
3933
  url: '/v1/tasks/{task_id}',
@@ -3943,7 +3946,7 @@ export class Tasks2 extends HeyApiClient {
3943
3946
  responseStyle: 'data',
3944
3947
  security: [{ scheme: 'bearer', type: 'http' }, {
3945
3948
  in: 'cookie',
3946
- name: 'talqing_session',
3949
+ name: 'talqing_sid',
3947
3950
  type: 'apiKey'
3948
3951
  }],
3949
3952
  url: '/v1/tasks/{task_id}',
@@ -3966,7 +3969,7 @@ export class Tasks2 extends HeyApiClient {
3966
3969
  responseStyle: 'data',
3967
3970
  security: [{ scheme: 'bearer', type: 'http' }, {
3968
3971
  in: 'cookie',
3969
- name: 'talqing_session',
3972
+ name: 'talqing_sid',
3970
3973
  type: 'apiKey'
3971
3974
  }],
3972
3975
  url: '/v1/tasks/{task_id}',
@@ -3994,7 +3997,7 @@ export class Tasks2 extends HeyApiClient {
3994
3997
  responseStyle: 'data',
3995
3998
  security: [{ scheme: 'bearer', type: 'http' }, {
3996
3999
  in: 'cookie',
3997
- name: 'talqing_session',
4000
+ name: 'talqing_sid',
3998
4001
  type: 'apiKey'
3999
4002
  }],
4000
4003
  url: '/v1/tasks/{task_id}/publish',
@@ -4018,7 +4021,7 @@ export class Tasks2 extends HeyApiClient {
4018
4021
  responseStyle: 'data',
4019
4022
  security: [{ scheme: 'bearer', type: 'http' }, {
4020
4023
  in: 'cookie',
4021
- name: 'talqing_session',
4024
+ name: 'talqing_sid',
4022
4025
  type: 'apiKey'
4023
4026
  }],
4024
4027
  url: '/v1/tasks/{task_id}/validate',
@@ -4050,7 +4053,7 @@ export class Versions3 extends HeyApiClient {
4050
4053
  responseStyle: 'data',
4051
4054
  security: [{ scheme: 'bearer', type: 'http' }, {
4052
4055
  in: 'cookie',
4053
- name: 'talqing_session',
4056
+ name: 'talqing_sid',
4054
4057
  type: 'apiKey'
4055
4058
  }],
4056
4059
  url: '/v1/tools/{tool_id}/versions/{version}',
@@ -4075,7 +4078,7 @@ export class Versions3 extends HeyApiClient {
4075
4078
  responseStyle: 'data',
4076
4079
  security: [{ scheme: 'bearer', type: 'http' }, {
4077
4080
  in: 'cookie',
4078
- name: 'talqing_session',
4081
+ name: 'talqing_sid',
4079
4082
  type: 'apiKey'
4080
4083
  }],
4081
4084
  url: '/v1/tools/{tool_id}/versions/{version}/rollback',
@@ -4099,7 +4102,7 @@ export class Tools2 extends HeyApiClient {
4099
4102
  responseStyle: 'data',
4100
4103
  security: [{ scheme: 'bearer', type: 'http' }, {
4101
4104
  in: 'cookie',
4102
- name: 'talqing_session',
4105
+ name: 'talqing_sid',
4103
4106
  type: 'apiKey'
4104
4107
  }],
4105
4108
  url: '/v1/tools',
@@ -4123,7 +4126,7 @@ export class Tools2 extends HeyApiClient {
4123
4126
  responseStyle: 'data',
4124
4127
  security: [{ scheme: 'bearer', type: 'http' }, {
4125
4128
  in: 'cookie',
4126
- name: 'talqing_session',
4129
+ name: 'talqing_sid',
4127
4130
  type: 'apiKey'
4128
4131
  }],
4129
4132
  url: '/v1/tools',
@@ -4147,7 +4150,7 @@ export class Tools2 extends HeyApiClient {
4147
4150
  responseStyle: 'data',
4148
4151
  security: [{ scheme: 'bearer', type: 'http' }, {
4149
4152
  in: 'cookie',
4150
- name: 'talqing_session',
4153
+ name: 'talqing_sid',
4151
4154
  type: 'apiKey'
4152
4155
  }],
4153
4156
  url: '/v1/tools/{tool_id}',
@@ -4167,7 +4170,7 @@ export class Tools2 extends HeyApiClient {
4167
4170
  responseStyle: 'data',
4168
4171
  security: [{ scheme: 'bearer', type: 'http' }, {
4169
4172
  in: 'cookie',
4170
- name: 'talqing_session',
4173
+ name: 'talqing_sid',
4171
4174
  type: 'apiKey'
4172
4175
  }],
4173
4176
  url: '/v1/tools/{tool_id}',
@@ -4190,7 +4193,7 @@ export class Tools2 extends HeyApiClient {
4190
4193
  responseStyle: 'data',
4191
4194
  security: [{ scheme: 'bearer', type: 'http' }, {
4192
4195
  in: 'cookie',
4193
- name: 'talqing_session',
4196
+ name: 'talqing_sid',
4194
4197
  type: 'apiKey'
4195
4198
  }],
4196
4199
  url: '/v1/tools/{tool_id}',
@@ -4218,7 +4221,7 @@ export class Tools2 extends HeyApiClient {
4218
4221
  responseStyle: 'data',
4219
4222
  security: [{ scheme: 'bearer', type: 'http' }, {
4220
4223
  in: 'cookie',
4221
- name: 'talqing_session',
4224
+ name: 'talqing_sid',
4222
4225
  type: 'apiKey'
4223
4226
  }],
4224
4227
  url: '/v1/tools/{tool_id}/publish',
@@ -4252,7 +4255,7 @@ export class Tools2 extends HeyApiClient {
4252
4255
  responseStyle: 'data',
4253
4256
  security: [{ scheme: 'bearer', type: 'http' }, {
4254
4257
  in: 'cookie',
4255
- name: 'talqing_session',
4258
+ name: 'talqing_sid',
4256
4259
  type: 'apiKey'
4257
4260
  }],
4258
4261
  url: '/v1/tools/{tool_id}/run',
@@ -4280,7 +4283,7 @@ export class Tools2 extends HeyApiClient {
4280
4283
  responseStyle: 'data',
4281
4284
  security: [{ scheme: 'bearer', type: 'http' }, {
4282
4285
  in: 'cookie',
4283
- name: 'talqing_session',
4286
+ name: 'talqing_sid',
4284
4287
  type: 'apiKey'
4285
4288
  }],
4286
4289
  url: '/v1/tools/{tool_id}/validate',
@@ -4305,7 +4308,7 @@ export class Webhooks extends HeyApiClient {
4305
4308
  responseStyle: 'data',
4306
4309
  security: [{ scheme: 'bearer', type: 'http' }, {
4307
4310
  in: 'cookie',
4308
- name: 'talqing_session',
4311
+ name: 'talqing_sid',
4309
4312
  type: 'apiKey'
4310
4313
  }],
4311
4314
  url: '/v1/webhooks',
@@ -4328,7 +4331,7 @@ export class Webhooks extends HeyApiClient {
4328
4331
  responseStyle: 'data',
4329
4332
  security: [{ scheme: 'bearer', type: 'http' }, {
4330
4333
  in: 'cookie',
4331
- name: 'talqing_session',
4334
+ name: 'talqing_sid',
4332
4335
  type: 'apiKey'
4333
4336
  }],
4334
4337
  url: '/v1/webhooks',
@@ -4351,7 +4354,7 @@ export class Webhooks extends HeyApiClient {
4351
4354
  responseStyle: 'data',
4352
4355
  security: [{ scheme: 'bearer', type: 'http' }, {
4353
4356
  in: 'cookie',
4354
- name: 'talqing_session',
4357
+ name: 'talqing_sid',
4355
4358
  type: 'apiKey'
4356
4359
  }],
4357
4360
  url: '/v1/webhooks/event-types',
@@ -4369,7 +4372,7 @@ export class Webhooks extends HeyApiClient {
4369
4372
  responseStyle: 'data',
4370
4373
  security: [{ scheme: 'bearer', type: 'http' }, {
4371
4374
  in: 'cookie',
4372
- name: 'talqing_session',
4375
+ name: 'talqing_sid',
4373
4376
  type: 'apiKey'
4374
4377
  }],
4375
4378
  url: '/v1/webhooks/{webhook_id}',
@@ -4389,7 +4392,7 @@ export class Webhooks extends HeyApiClient {
4389
4392
  responseStyle: 'data',
4390
4393
  security: [{ scheme: 'bearer', type: 'http' }, {
4391
4394
  in: 'cookie',
4392
- name: 'talqing_session',
4395
+ name: 'talqing_sid',
4393
4396
  type: 'apiKey'
4394
4397
  }],
4395
4398
  url: '/v1/webhooks/{webhook_id}',
@@ -4418,7 +4421,7 @@ export class Webhooks extends HeyApiClient {
4418
4421
  responseStyle: 'data',
4419
4422
  security: [{ scheme: 'bearer', type: 'http' }, {
4420
4423
  in: 'cookie',
4421
- name: 'talqing_session',
4424
+ name: 'talqing_sid',
4422
4425
  type: 'apiKey'
4423
4426
  }],
4424
4427
  url: '/v1/webhooks/{webhook_id}/deliveries',
@@ -4440,7 +4443,7 @@ export class Webhooks extends HeyApiClient {
4440
4443
  responseStyle: 'data',
4441
4444
  security: [{ scheme: 'bearer', type: 'http' }, {
4442
4445
  in: 'cookie',
4443
- name: 'talqing_session',
4446
+ name: 'talqing_sid',
4444
4447
  type: 'apiKey'
4445
4448
  }],
4446
4449
  url: '/v1/webhooks/{webhook_id}/rotate-secret',
@@ -4460,7 +4463,7 @@ export class Webhooks extends HeyApiClient {
4460
4463
  responseStyle: 'data',
4461
4464
  security: [{ scheme: 'bearer', type: 'http' }, {
4462
4465
  in: 'cookie',
4463
- name: 'talqing_session',
4466
+ name: 'talqing_sid',
4464
4467
  type: 'apiKey'
4465
4468
  }],
4466
4469
  url: '/v1/webhooks/{webhook_id}/test',
@@ -4488,7 +4491,7 @@ export class Recipients3 extends HeyApiClient {
4488
4491
  responseStyle: 'data',
4489
4492
  security: [{ scheme: 'bearer', type: 'http' }, {
4490
4493
  in: 'cookie',
4491
- name: 'talqing_session',
4494
+ name: 'talqing_sid',
4492
4495
  type: 'apiKey'
4493
4496
  }],
4494
4497
  url: '/v1/whatsapp/batches/{batch_id}/recipients',
@@ -4509,7 +4512,7 @@ export class Recipients3 extends HeyApiClient {
4509
4512
  responseStyle: 'data',
4510
4513
  security: [{ scheme: 'bearer', type: 'http' }, {
4511
4514
  in: 'cookie',
4512
- name: 'talqing_session',
4515
+ name: 'talqing_sid',
4513
4516
  type: 'apiKey'
4514
4517
  }],
4515
4518
  url: '/v1/whatsapp/batches/{batch_id}/recipients',
@@ -4523,44 +4526,20 @@ export class Recipients3 extends HeyApiClient {
4523
4526
  });
4524
4527
  }
4525
4528
  /**
4526
- * Restore Whatsapp Batch Recipients
4527
- *
4528
- * Put rows a person skipped back. A row skipped for its cells returns when they are fixed.
4529
- */
4530
- restore(parameters, options) {
4531
- const params = buildClientParams([parameters], [{ args: [{ in: 'path', key: 'batch_id' }, { key: 'selectRecipientsRequest', map: 'body' }] }]);
4532
- return (options?.client ?? this.client).post({
4533
- responseStyle: 'data',
4534
- security: [{ scheme: 'bearer', type: 'http' }, {
4535
- in: 'cookie',
4536
- name: 'talqing_session',
4537
- type: 'apiKey'
4538
- }],
4539
- url: '/v1/whatsapp/batches/{batch_id}/recipients/restore',
4540
- ...options,
4541
- ...params,
4542
- headers: {
4543
- 'Content-Type': 'application/json',
4544
- ...options?.headers,
4545
- ...params.headers
4546
- }
4547
- });
4548
- }
4549
- /**
4550
- * Skip Whatsapp Batch Recipients
4529
+ * Delete Whatsapp Batch Recipients
4551
4530
  *
4552
- * Take ready rows out of the send. Reversible with restore.
4531
+ * Remove rows that were never sent. Not reversible; a sent row is refused in `rejected`.
4553
4532
  */
4554
- skip(parameters, options) {
4555
- const params = buildClientParams([parameters], [{ args: [{ in: 'path', key: 'batch_id' }, { key: 'selectRecipientsRequest', map: 'body' }] }]);
4533
+ delete(parameters, options) {
4534
+ const params = buildClientParams([parameters], [{ args: [{ in: 'path', key: 'batch_id' }, { key: 'deleteRecipientsRequest', map: 'body' }] }]);
4556
4535
  return (options?.client ?? this.client).post({
4557
4536
  responseStyle: 'data',
4558
4537
  security: [{ scheme: 'bearer', type: 'http' }, {
4559
4538
  in: 'cookie',
4560
- name: 'talqing_session',
4539
+ name: 'talqing_sid',
4561
4540
  type: 'apiKey'
4562
4541
  }],
4563
- url: '/v1/whatsapp/batches/{batch_id}/recipients/skip',
4542
+ url: '/v1/whatsapp/batches/{batch_id}/recipients/delete',
4564
4543
  ...options,
4565
4544
  ...params,
4566
4545
  headers: {
@@ -4585,7 +4564,7 @@ export class Recipients3 extends HeyApiClient {
4585
4564
  responseStyle: 'data',
4586
4565
  security: [{ scheme: 'bearer', type: 'http' }, {
4587
4566
  in: 'cookie',
4588
- name: 'talqing_session',
4567
+ name: 'talqing_sid',
4589
4568
  type: 'apiKey'
4590
4569
  }],
4591
4570
  url: '/v1/whatsapp/batches/{batch_id}/recipients/{recipient_id}',
@@ -4615,7 +4594,7 @@ export class Batches3 extends HeyApiClient {
4615
4594
  responseStyle: 'data',
4616
4595
  security: [{ scheme: 'bearer', type: 'http' }, {
4617
4596
  in: 'cookie',
4618
- name: 'talqing_session',
4597
+ name: 'talqing_sid',
4619
4598
  type: 'apiKey'
4620
4599
  }],
4621
4600
  url: '/v1/whatsapp/batches',
@@ -4639,7 +4618,7 @@ export class Batches3 extends HeyApiClient {
4639
4618
  responseStyle: 'data',
4640
4619
  security: [{ scheme: 'bearer', type: 'http' }, {
4641
4620
  in: 'cookie',
4642
- name: 'talqing_session',
4621
+ name: 'talqing_sid',
4643
4622
  type: 'apiKey'
4644
4623
  }],
4645
4624
  url: '/v1/whatsapp/batches',
@@ -4665,7 +4644,7 @@ export class Batches3 extends HeyApiClient {
4665
4644
  responseStyle: 'data',
4666
4645
  security: [{ scheme: 'bearer', type: 'http' }, {
4667
4646
  in: 'cookie',
4668
- name: 'talqing_session',
4647
+ name: 'talqing_sid',
4669
4648
  type: 'apiKey'
4670
4649
  }],
4671
4650
  url: '/v1/whatsapp/batches/{batch_id}',
@@ -4684,7 +4663,7 @@ export class Batches3 extends HeyApiClient {
4684
4663
  responseStyle: 'data',
4685
4664
  security: [{ scheme: 'bearer', type: 'http' }, {
4686
4665
  in: 'cookie',
4687
- name: 'talqing_session',
4666
+ name: 'talqing_sid',
4688
4667
  type: 'apiKey'
4689
4668
  }],
4690
4669
  url: '/v1/whatsapp/batches/{batch_id}',
@@ -4706,7 +4685,7 @@ export class Batches3 extends HeyApiClient {
4706
4685
  responseStyle: 'data',
4707
4686
  security: [{ scheme: 'bearer', type: 'http' }, {
4708
4687
  in: 'cookie',
4709
- name: 'talqing_session',
4688
+ name: 'talqing_sid',
4710
4689
  type: 'apiKey'
4711
4690
  }],
4712
4691
  url: '/v1/whatsapp/batches/{batch_id}',
@@ -4730,7 +4709,7 @@ export class Batches3 extends HeyApiClient {
4730
4709
  responseStyle: 'data',
4731
4710
  security: [{ scheme: 'bearer', type: 'http' }, {
4732
4711
  in: 'cookie',
4733
- name: 'talqing_session',
4712
+ name: 'talqing_sid',
4734
4713
  type: 'apiKey'
4735
4714
  }],
4736
4715
  url: '/v1/whatsapp/batches/{batch_id}/cancel',
@@ -4749,7 +4728,7 @@ export class Batches3 extends HeyApiClient {
4749
4728
  responseStyle: 'data',
4750
4729
  security: [{ scheme: 'bearer', type: 'http' }, {
4751
4730
  in: 'cookie',
4752
- name: 'talqing_session',
4731
+ name: 'talqing_sid',
4753
4732
  type: 'apiKey'
4754
4733
  }],
4755
4734
  url: '/v1/whatsapp/batches/{batch_id}/pause',
@@ -4768,7 +4747,7 @@ export class Batches3 extends HeyApiClient {
4768
4747
  responseStyle: 'data',
4769
4748
  security: [{ scheme: 'bearer', type: 'http' }, {
4770
4749
  in: 'cookie',
4771
- name: 'talqing_session',
4750
+ name: 'talqing_sid',
4772
4751
  type: 'apiKey'
4773
4752
  }],
4774
4753
  url: '/v1/whatsapp/batches/{batch_id}/resume',
@@ -4791,7 +4770,7 @@ export class Batches3 extends HeyApiClient {
4791
4770
  responseStyle: 'data',
4792
4771
  security: [{ scheme: 'bearer', type: 'http' }, {
4793
4772
  in: 'cookie',
4794
- name: 'talqing_session',
4773
+ name: 'talqing_sid',
4795
4774
  type: 'apiKey'
4796
4775
  }],
4797
4776
  url: '/v1/whatsapp/batches/{batch_id}/send',
@@ -4822,7 +4801,7 @@ export class Templates extends HeyApiClient {
4822
4801
  responseStyle: 'data',
4823
4802
  security: [{ scheme: 'bearer', type: 'http' }, {
4824
4803
  in: 'cookie',
4825
- name: 'talqing_session',
4804
+ name: 'talqing_sid',
4826
4805
  type: 'apiKey'
4827
4806
  }],
4828
4807
  url: '/v1/whatsapp/templates',
@@ -4843,7 +4822,7 @@ export class TwilioSenders extends HeyApiClient {
4843
4822
  responseStyle: 'data',
4844
4823
  security: [{ scheme: 'bearer', type: 'http' }, {
4845
4824
  in: 'cookie',
4846
- name: 'talqing_session',
4825
+ name: 'talqing_sid',
4847
4826
  type: 'apiKey'
4848
4827
  }],
4849
4828
  url: '/v1/whatsapp/twilio-senders',