@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/src/gen/types.gen.ts
CHANGED
|
@@ -910,7 +910,7 @@ export type AvatarSpecOverride = {
|
|
|
910
910
|
* AvatarUsage
|
|
911
911
|
*
|
|
912
912
|
* One avatar session's billable window: WALL-CLOCK seconds alive, idle
|
|
913
|
-
* included (Anam's billing rule
|
|
913
|
+
* included (Anam's billing rule). Metered from our own job
|
|
914
914
|
* timing — Anam has no usage webhooks; `avatar_session_id` (Anam's sessionId)
|
|
915
915
|
* is stored for reconciliation against any future Anam usage export.
|
|
916
916
|
*/
|
|
@@ -1538,6 +1538,10 @@ export type CallSessionResponse = {
|
|
|
1538
1538
|
*/
|
|
1539
1539
|
phone_number_id: string | null;
|
|
1540
1540
|
recording: RecordingResponse;
|
|
1541
|
+
/**
|
|
1542
|
+
* Resumed From Call Id
|
|
1543
|
+
*/
|
|
1544
|
+
resumed_from_call_id: string | null;
|
|
1541
1545
|
screen_recording: RecordingResponse;
|
|
1542
1546
|
/**
|
|
1543
1547
|
* Started At
|
|
@@ -1669,6 +1673,10 @@ export type CallSummaryResponse = {
|
|
|
1669
1673
|
outcome?: 'success' | 'failure' | 'unknown' | null;
|
|
1670
1674
|
plan?: CallPlanSummary | null;
|
|
1671
1675
|
recording: RecordingResponse;
|
|
1676
|
+
/**
|
|
1677
|
+
* Resumed From Call Id
|
|
1678
|
+
*/
|
|
1679
|
+
resumed_from_call_id?: string | null;
|
|
1672
1680
|
/**
|
|
1673
1681
|
* Started At
|
|
1674
1682
|
*/
|
|
@@ -2480,7 +2488,7 @@ export type ConversationSpec = {
|
|
|
2480
2488
|
/**
|
|
2481
2489
|
* Context
|
|
2482
2490
|
*
|
|
2483
|
-
*
|
|
2491
|
+
* What a new session starts with from earlier ones with this person: 'none' starts clean, 'summary' adds background on recent conversations, 'transcript' carries the same conversation on. Read only from the agent that answers. A WhatsApp call always carries the chat on, whatever this says.
|
|
2484
2492
|
*/
|
|
2485
2493
|
context?: 'none' | 'summary' | 'transcript';
|
|
2486
2494
|
/**
|
|
@@ -2506,7 +2514,7 @@ export type ConversationSpecOverride = {
|
|
|
2506
2514
|
/**
|
|
2507
2515
|
* Context
|
|
2508
2516
|
*
|
|
2509
|
-
*
|
|
2517
|
+
* What a new session starts with from earlier ones with this person: 'none' starts clean, 'summary' adds background on recent conversations, 'transcript' carries the same conversation on. Read only from the agent that answers. A WhatsApp call always carries the chat on, whatever this says.
|
|
2510
2518
|
*/
|
|
2511
2519
|
context?: 'none' | 'summary' | 'transcript' | null;
|
|
2512
2520
|
/**
|
|
@@ -3339,8 +3347,10 @@ export type CreateTelephonyAccountRequest = {
|
|
|
3339
3347
|
};
|
|
3340
3348
|
/**
|
|
3341
3349
|
* Display Name
|
|
3350
|
+
*
|
|
3351
|
+
* Omit to use the carrier's own name for the account.
|
|
3342
3352
|
*/
|
|
3343
|
-
display_name
|
|
3353
|
+
display_name?: string | null;
|
|
3344
3354
|
/**
|
|
3345
3355
|
* Provider
|
|
3346
3356
|
*/
|
|
@@ -3473,12 +3483,7 @@ export type CreateWhatsAppBatchRequest = {
|
|
|
3473
3483
|
/**
|
|
3474
3484
|
* CreditBalanceResponse
|
|
3475
3485
|
*
|
|
3476
|
-
* This
|
|
3477
|
-
*
|
|
3478
|
-
* Per region, because the balance is a data-plane table. A caller reading this
|
|
3479
|
-
* is reading the balance of whichever region's API they called, and the
|
|
3480
|
-
* dashboard labels it with that region's name — a bare number is what makes a
|
|
3481
|
-
* customer with $50 in one region and $0 in another think the money vanished.
|
|
3486
|
+
* This workspace's credit balance, what it buys, and top-up prices.
|
|
3482
3487
|
*/
|
|
3483
3488
|
export type CreditBalanceResponse = {
|
|
3484
3489
|
/**
|
|
@@ -3603,6 +3608,18 @@ export type CreditPackResponse = {
|
|
|
3603
3608
|
voice_minutes: number;
|
|
3604
3609
|
};
|
|
3605
3610
|
|
|
3611
|
+
/**
|
|
3612
|
+
* DeleteRecipientsRequest
|
|
3613
|
+
*
|
|
3614
|
+
* Rows to remove from a batch, by id.
|
|
3615
|
+
*/
|
|
3616
|
+
export type DeleteRecipientsRequest = {
|
|
3617
|
+
/**
|
|
3618
|
+
* Recipient Ids
|
|
3619
|
+
*/
|
|
3620
|
+
recipient_ids: Array<string>;
|
|
3621
|
+
};
|
|
3622
|
+
|
|
3606
3623
|
/**
|
|
3607
3624
|
* DeliveryError
|
|
3608
3625
|
*
|
|
@@ -4622,6 +4639,12 @@ export type HandoffConfig = {
|
|
|
4622
4639
|
* Context
|
|
4623
4640
|
*/
|
|
4624
4641
|
context?: 'none' | 'summary' | 'transcript';
|
|
4642
|
+
/**
|
|
4643
|
+
* Instructions
|
|
4644
|
+
*
|
|
4645
|
+
* What the target is told as it opens, when it has no greeting.
|
|
4646
|
+
*/
|
|
4647
|
+
instructions?: string | null;
|
|
4625
4648
|
/**
|
|
4626
4649
|
* Message
|
|
4627
4650
|
*
|
|
@@ -4631,7 +4654,7 @@ export type HandoffConfig = {
|
|
|
4631
4654
|
/**
|
|
4632
4655
|
* Recent Turns
|
|
4633
4656
|
*
|
|
4634
|
-
*
|
|
4657
|
+
* Context 'summary' only: turns of this call that cross verbatim beside the summary. Defaults to 2.
|
|
4635
4658
|
*/
|
|
4636
4659
|
recent_turns?: number | null;
|
|
4637
4660
|
/**
|
|
@@ -4684,6 +4707,10 @@ export type HandoffTarget = {
|
|
|
4684
4707
|
* Description
|
|
4685
4708
|
*/
|
|
4686
4709
|
description: string;
|
|
4710
|
+
/**
|
|
4711
|
+
* Instructions
|
|
4712
|
+
*/
|
|
4713
|
+
instructions?: string | null;
|
|
4687
4714
|
/**
|
|
4688
4715
|
* Message
|
|
4689
4716
|
*/
|
|
@@ -9817,28 +9844,6 @@ export type SecretResponse = {
|
|
|
9817
9844
|
value_hint: string;
|
|
9818
9845
|
};
|
|
9819
9846
|
|
|
9820
|
-
/**
|
|
9821
|
-
* SelectRecipientsRequest
|
|
9822
|
-
*
|
|
9823
|
-
* What `skip` and `restore` accept — either shape.
|
|
9824
|
-
*
|
|
9825
|
-
* Both are reversible, which is why both take a bulk shorthand: skipping four
|
|
9826
|
-
* thousand rows is undone by restoring them, and making curation tedious pushes
|
|
9827
|
-
* an operator toward not curating.
|
|
9828
|
-
*/
|
|
9829
|
-
export type SelectRecipientsRequest = {
|
|
9830
|
-
/**
|
|
9831
|
-
* Recipient Ids
|
|
9832
|
-
*/
|
|
9833
|
-
recipient_ids?: Array<string> | null;
|
|
9834
|
-
/**
|
|
9835
|
-
* Selection
|
|
9836
|
-
*
|
|
9837
|
-
* Every row this verb can act on: drafts for skip, rows a person skipped for restore.
|
|
9838
|
-
*/
|
|
9839
|
-
selection?: 'all_eligible' | null;
|
|
9840
|
-
};
|
|
9841
|
-
|
|
9842
9847
|
/**
|
|
9843
9848
|
* SendDtmfConfig
|
|
9844
9849
|
*/
|
|
@@ -14120,6 +14125,60 @@ export type CallsBatchesRecipientsAddResults = {
|
|
|
14120
14125
|
|
|
14121
14126
|
export type CallsBatchesRecipientsAddResult = CallsBatchesRecipientsAddResults[keyof CallsBatchesRecipientsAddResults];
|
|
14122
14127
|
|
|
14128
|
+
export type CallsBatchesRecipientsDeleteData = {
|
|
14129
|
+
body: DeleteRecipientsRequest;
|
|
14130
|
+
path: {
|
|
14131
|
+
/**
|
|
14132
|
+
* Batch Id
|
|
14133
|
+
*/
|
|
14134
|
+
batch_id: string;
|
|
14135
|
+
};
|
|
14136
|
+
query?: never;
|
|
14137
|
+
url: '/v1/calls/batches/{batch_id}/recipients/delete';
|
|
14138
|
+
};
|
|
14139
|
+
|
|
14140
|
+
export type CallsBatchesRecipientsDeleteErrors = {
|
|
14141
|
+
/**
|
|
14142
|
+
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
14143
|
+
*/
|
|
14144
|
+
400: ErrorResponse;
|
|
14145
|
+
/**
|
|
14146
|
+
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
14147
|
+
*/
|
|
14148
|
+
401: ErrorResponse;
|
|
14149
|
+
/**
|
|
14150
|
+
* Authenticated, but this organization role may not perform the operation.
|
|
14151
|
+
*/
|
|
14152
|
+
403: ErrorResponse;
|
|
14153
|
+
/**
|
|
14154
|
+
* No such resource in this organization.
|
|
14155
|
+
*/
|
|
14156
|
+
404: ErrorResponse;
|
|
14157
|
+
/**
|
|
14158
|
+
* The resource's current state forbids this — a name already taken, a job already running.
|
|
14159
|
+
*/
|
|
14160
|
+
409: ErrorResponse;
|
|
14161
|
+
/**
|
|
14162
|
+
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
14163
|
+
*/
|
|
14164
|
+
422: ErrorResponse;
|
|
14165
|
+
/**
|
|
14166
|
+
* Unexpected error. Every error this API returns carries this body.
|
|
14167
|
+
*/
|
|
14168
|
+
default: ErrorResponse;
|
|
14169
|
+
};
|
|
14170
|
+
|
|
14171
|
+
export type CallsBatchesRecipientsDeleteError = CallsBatchesRecipientsDeleteErrors[keyof CallsBatchesRecipientsDeleteErrors];
|
|
14172
|
+
|
|
14173
|
+
export type CallsBatchesRecipientsDeleteResults = {
|
|
14174
|
+
/**
|
|
14175
|
+
* Successful Response
|
|
14176
|
+
*/
|
|
14177
|
+
200: RecipientActionResponse;
|
|
14178
|
+
};
|
|
14179
|
+
|
|
14180
|
+
export type CallsBatchesRecipientsDeleteResult = CallsBatchesRecipientsDeleteResults[keyof CallsBatchesRecipientsDeleteResults];
|
|
14181
|
+
|
|
14123
14182
|
export type CallsBatchesResumeData = {
|
|
14124
14183
|
body?: never;
|
|
14125
14184
|
path: {
|
|
@@ -14573,6 +14632,64 @@ export type CallsRecordingGetResults = {
|
|
|
14573
14632
|
|
|
14574
14633
|
export type CallsRecordingGetResult = CallsRecordingGetResults[keyof CallsRecordingGetResults];
|
|
14575
14634
|
|
|
14635
|
+
export type CallsResumeData = {
|
|
14636
|
+
body?: never;
|
|
14637
|
+
path: {
|
|
14638
|
+
/**
|
|
14639
|
+
* Session Id
|
|
14640
|
+
*/
|
|
14641
|
+
session_id: string;
|
|
14642
|
+
};
|
|
14643
|
+
query?: never;
|
|
14644
|
+
url: '/v1/calls/{session_id}/resume';
|
|
14645
|
+
};
|
|
14646
|
+
|
|
14647
|
+
export type CallsResumeErrors = {
|
|
14648
|
+
/**
|
|
14649
|
+
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
14650
|
+
*/
|
|
14651
|
+
400: ErrorResponse;
|
|
14652
|
+
/**
|
|
14653
|
+
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
14654
|
+
*/
|
|
14655
|
+
401: ErrorResponse;
|
|
14656
|
+
/**
|
|
14657
|
+
* This organization has no credit left, so a new call cannot be started. Calls already running are unaffected.
|
|
14658
|
+
*/
|
|
14659
|
+
402: ErrorResponse;
|
|
14660
|
+
/**
|
|
14661
|
+
* Authenticated, but this organization role may not perform the operation.
|
|
14662
|
+
*/
|
|
14663
|
+
403: ErrorResponse;
|
|
14664
|
+
/**
|
|
14665
|
+
* No such resource in this organization.
|
|
14666
|
+
*/
|
|
14667
|
+
404: ErrorResponse;
|
|
14668
|
+
/**
|
|
14669
|
+
* The resource's current state forbids this — a name already taken, a job already running.
|
|
14670
|
+
*/
|
|
14671
|
+
409: ErrorResponse;
|
|
14672
|
+
/**
|
|
14673
|
+
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
14674
|
+
*/
|
|
14675
|
+
422: ErrorResponse;
|
|
14676
|
+
/**
|
|
14677
|
+
* Unexpected error. Every error this API returns carries this body.
|
|
14678
|
+
*/
|
|
14679
|
+
default: ErrorResponse;
|
|
14680
|
+
};
|
|
14681
|
+
|
|
14682
|
+
export type CallsResumeError = CallsResumeErrors[keyof CallsResumeErrors];
|
|
14683
|
+
|
|
14684
|
+
export type CallsResumeResults = {
|
|
14685
|
+
/**
|
|
14686
|
+
* Successful Response
|
|
14687
|
+
*/
|
|
14688
|
+
200: CallTokenResponse;
|
|
14689
|
+
};
|
|
14690
|
+
|
|
14691
|
+
export type CallsResumeResult = CallsResumeResults[keyof CallsResumeResults];
|
|
14692
|
+
|
|
14576
14693
|
export type CallsScreenRecordingGetData = {
|
|
14577
14694
|
body?: never;
|
|
14578
14695
|
path: {
|
|
@@ -16699,23 +16816,19 @@ export type EmailBatchesRecipientsAddResults = {
|
|
|
16699
16816
|
|
|
16700
16817
|
export type EmailBatchesRecipientsAddResult = EmailBatchesRecipientsAddResults[keyof EmailBatchesRecipientsAddResults];
|
|
16701
16818
|
|
|
16702
|
-
export type
|
|
16703
|
-
body:
|
|
16819
|
+
export type EmailBatchesRecipientsDeleteData = {
|
|
16820
|
+
body: DeleteRecipientsRequest;
|
|
16704
16821
|
path: {
|
|
16705
16822
|
/**
|
|
16706
16823
|
* Batch Id
|
|
16707
16824
|
*/
|
|
16708
16825
|
batch_id: string;
|
|
16709
|
-
/**
|
|
16710
|
-
* Recipient Id
|
|
16711
|
-
*/
|
|
16712
|
-
recipient_id: string;
|
|
16713
16826
|
};
|
|
16714
16827
|
query?: never;
|
|
16715
|
-
url: '/v1/email/batches/{batch_id}/recipients/
|
|
16828
|
+
url: '/v1/email/batches/{batch_id}/recipients/delete';
|
|
16716
16829
|
};
|
|
16717
16830
|
|
|
16718
|
-
export type
|
|
16831
|
+
export type EmailBatchesRecipientsDeleteErrors = {
|
|
16719
16832
|
/**
|
|
16720
16833
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
16721
16834
|
*/
|
|
@@ -16746,30 +16859,34 @@ export type EmailBatchesRecipientsUpdateErrors = {
|
|
|
16746
16859
|
default: ErrorResponse;
|
|
16747
16860
|
};
|
|
16748
16861
|
|
|
16749
|
-
export type
|
|
16862
|
+
export type EmailBatchesRecipientsDeleteError = EmailBatchesRecipientsDeleteErrors[keyof EmailBatchesRecipientsDeleteErrors];
|
|
16750
16863
|
|
|
16751
|
-
export type
|
|
16864
|
+
export type EmailBatchesRecipientsDeleteResults = {
|
|
16752
16865
|
/**
|
|
16753
16866
|
* Successful Response
|
|
16754
16867
|
*/
|
|
16755
|
-
200:
|
|
16868
|
+
200: RecipientActionResponse;
|
|
16756
16869
|
};
|
|
16757
16870
|
|
|
16758
|
-
export type
|
|
16871
|
+
export type EmailBatchesRecipientsDeleteResult = EmailBatchesRecipientsDeleteResults[keyof EmailBatchesRecipientsDeleteResults];
|
|
16759
16872
|
|
|
16760
|
-
export type
|
|
16761
|
-
body:
|
|
16873
|
+
export type EmailBatchesRecipientsUpdateData = {
|
|
16874
|
+
body: PatchEmailRecipientRequest;
|
|
16762
16875
|
path: {
|
|
16763
16876
|
/**
|
|
16764
16877
|
* Batch Id
|
|
16765
16878
|
*/
|
|
16766
16879
|
batch_id: string;
|
|
16880
|
+
/**
|
|
16881
|
+
* Recipient Id
|
|
16882
|
+
*/
|
|
16883
|
+
recipient_id: string;
|
|
16767
16884
|
};
|
|
16768
16885
|
query?: never;
|
|
16769
|
-
url: '/v1/email/batches/{batch_id}/
|
|
16886
|
+
url: '/v1/email/batches/{batch_id}/recipients/{recipient_id}';
|
|
16770
16887
|
};
|
|
16771
16888
|
|
|
16772
|
-
export type
|
|
16889
|
+
export type EmailBatchesRecipientsUpdateErrors = {
|
|
16773
16890
|
/**
|
|
16774
16891
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
16775
16892
|
*/
|
|
@@ -16800,19 +16917,19 @@ export type EmailBatchesRecipientsRedraftErrors = {
|
|
|
16800
16917
|
default: ErrorResponse;
|
|
16801
16918
|
};
|
|
16802
16919
|
|
|
16803
|
-
export type
|
|
16920
|
+
export type EmailBatchesRecipientsUpdateError = EmailBatchesRecipientsUpdateErrors[keyof EmailBatchesRecipientsUpdateErrors];
|
|
16804
16921
|
|
|
16805
|
-
export type
|
|
16922
|
+
export type EmailBatchesRecipientsUpdateResults = {
|
|
16806
16923
|
/**
|
|
16807
16924
|
* Successful Response
|
|
16808
16925
|
*/
|
|
16809
|
-
200:
|
|
16926
|
+
200: EmailRecipientResponse;
|
|
16810
16927
|
};
|
|
16811
16928
|
|
|
16812
|
-
export type
|
|
16929
|
+
export type EmailBatchesRecipientsUpdateResult = EmailBatchesRecipientsUpdateResults[keyof EmailBatchesRecipientsUpdateResults];
|
|
16813
16930
|
|
|
16814
|
-
export type
|
|
16815
|
-
body:
|
|
16931
|
+
export type EmailBatchesRecipientsRedraftData = {
|
|
16932
|
+
body: RedraftRequest;
|
|
16816
16933
|
path: {
|
|
16817
16934
|
/**
|
|
16818
16935
|
* Batch Id
|
|
@@ -16820,10 +16937,10 @@ export type EmailBatchesRecipientsRestoreData = {
|
|
|
16820
16937
|
batch_id: string;
|
|
16821
16938
|
};
|
|
16822
16939
|
query?: never;
|
|
16823
|
-
url: '/v1/email/batches/{batch_id}/
|
|
16940
|
+
url: '/v1/email/batches/{batch_id}/redraft';
|
|
16824
16941
|
};
|
|
16825
16942
|
|
|
16826
|
-
export type
|
|
16943
|
+
export type EmailBatchesRecipientsRedraftErrors = {
|
|
16827
16944
|
/**
|
|
16828
16945
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
16829
16946
|
*/
|
|
@@ -16854,16 +16971,16 @@ export type EmailBatchesRecipientsRestoreErrors = {
|
|
|
16854
16971
|
default: ErrorResponse;
|
|
16855
16972
|
};
|
|
16856
16973
|
|
|
16857
|
-
export type
|
|
16974
|
+
export type EmailBatchesRecipientsRedraftError = EmailBatchesRecipientsRedraftErrors[keyof EmailBatchesRecipientsRedraftErrors];
|
|
16858
16975
|
|
|
16859
|
-
export type
|
|
16976
|
+
export type EmailBatchesRecipientsRedraftResults = {
|
|
16860
16977
|
/**
|
|
16861
16978
|
* Successful Response
|
|
16862
16979
|
*/
|
|
16863
16980
|
200: RecipientActionResponse;
|
|
16864
16981
|
};
|
|
16865
16982
|
|
|
16866
|
-
export type
|
|
16983
|
+
export type EmailBatchesRecipientsRedraftResult = EmailBatchesRecipientsRedraftResults[keyof EmailBatchesRecipientsRedraftResults];
|
|
16867
16984
|
|
|
16868
16985
|
export type EmailBatchesResumeData = {
|
|
16869
16986
|
body?: never;
|
|
@@ -17302,60 +17419,6 @@ export type EmailBatchesSendsResumeResults = {
|
|
|
17302
17419
|
|
|
17303
17420
|
export type EmailBatchesSendsResumeResult = EmailBatchesSendsResumeResults[keyof EmailBatchesSendsResumeResults];
|
|
17304
17421
|
|
|
17305
|
-
export type EmailBatchesRecipientsSkipData = {
|
|
17306
|
-
body: SelectRecipientsRequest;
|
|
17307
|
-
path: {
|
|
17308
|
-
/**
|
|
17309
|
-
* Batch Id
|
|
17310
|
-
*/
|
|
17311
|
-
batch_id: string;
|
|
17312
|
-
};
|
|
17313
|
-
query?: never;
|
|
17314
|
-
url: '/v1/email/batches/{batch_id}/skip';
|
|
17315
|
-
};
|
|
17316
|
-
|
|
17317
|
-
export type EmailBatchesRecipientsSkipErrors = {
|
|
17318
|
-
/**
|
|
17319
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
17320
|
-
*/
|
|
17321
|
-
400: ErrorResponse;
|
|
17322
|
-
/**
|
|
17323
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
17324
|
-
*/
|
|
17325
|
-
401: ErrorResponse;
|
|
17326
|
-
/**
|
|
17327
|
-
* Authenticated, but this organization role may not perform the operation.
|
|
17328
|
-
*/
|
|
17329
|
-
403: ErrorResponse;
|
|
17330
|
-
/**
|
|
17331
|
-
* No such resource in this organization.
|
|
17332
|
-
*/
|
|
17333
|
-
404: ErrorResponse;
|
|
17334
|
-
/**
|
|
17335
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
17336
|
-
*/
|
|
17337
|
-
409: ErrorResponse;
|
|
17338
|
-
/**
|
|
17339
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
17340
|
-
*/
|
|
17341
|
-
422: ErrorResponse;
|
|
17342
|
-
/**
|
|
17343
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
17344
|
-
*/
|
|
17345
|
-
default: ErrorResponse;
|
|
17346
|
-
};
|
|
17347
|
-
|
|
17348
|
-
export type EmailBatchesRecipientsSkipError = EmailBatchesRecipientsSkipErrors[keyof EmailBatchesRecipientsSkipErrors];
|
|
17349
|
-
|
|
17350
|
-
export type EmailBatchesRecipientsSkipResults = {
|
|
17351
|
-
/**
|
|
17352
|
-
* Successful Response
|
|
17353
|
-
*/
|
|
17354
|
-
200: RecipientActionResponse;
|
|
17355
|
-
};
|
|
17356
|
-
|
|
17357
|
-
export type EmailBatchesRecipientsSkipResult = EmailBatchesRecipientsSkipResults[keyof EmailBatchesRecipientsSkipResults];
|
|
17358
|
-
|
|
17359
17422
|
export type EmailSendersListData = {
|
|
17360
17423
|
body?: never;
|
|
17361
17424
|
path?: never;
|
|
@@ -21530,62 +21593,8 @@ export type WhatsappBatchesRecipientsAddResults = {
|
|
|
21530
21593
|
|
|
21531
21594
|
export type WhatsappBatchesRecipientsAddResult = WhatsappBatchesRecipientsAddResults[keyof WhatsappBatchesRecipientsAddResults];
|
|
21532
21595
|
|
|
21533
|
-
export type
|
|
21534
|
-
body:
|
|
21535
|
-
path: {
|
|
21536
|
-
/**
|
|
21537
|
-
* Batch Id
|
|
21538
|
-
*/
|
|
21539
|
-
batch_id: string;
|
|
21540
|
-
};
|
|
21541
|
-
query?: never;
|
|
21542
|
-
url: '/v1/whatsapp/batches/{batch_id}/recipients/restore';
|
|
21543
|
-
};
|
|
21544
|
-
|
|
21545
|
-
export type WhatsappBatchesRecipientsRestoreErrors = {
|
|
21546
|
-
/**
|
|
21547
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
21548
|
-
*/
|
|
21549
|
-
400: ErrorResponse;
|
|
21550
|
-
/**
|
|
21551
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
21552
|
-
*/
|
|
21553
|
-
401: ErrorResponse;
|
|
21554
|
-
/**
|
|
21555
|
-
* Authenticated, but this organization role may not perform the operation.
|
|
21556
|
-
*/
|
|
21557
|
-
403: ErrorResponse;
|
|
21558
|
-
/**
|
|
21559
|
-
* No such resource in this organization.
|
|
21560
|
-
*/
|
|
21561
|
-
404: ErrorResponse;
|
|
21562
|
-
/**
|
|
21563
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
21564
|
-
*/
|
|
21565
|
-
409: ErrorResponse;
|
|
21566
|
-
/**
|
|
21567
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
21568
|
-
*/
|
|
21569
|
-
422: ErrorResponse;
|
|
21570
|
-
/**
|
|
21571
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
21572
|
-
*/
|
|
21573
|
-
default: ErrorResponse;
|
|
21574
|
-
};
|
|
21575
|
-
|
|
21576
|
-
export type WhatsappBatchesRecipientsRestoreError = WhatsappBatchesRecipientsRestoreErrors[keyof WhatsappBatchesRecipientsRestoreErrors];
|
|
21577
|
-
|
|
21578
|
-
export type WhatsappBatchesRecipientsRestoreResults = {
|
|
21579
|
-
/**
|
|
21580
|
-
* Successful Response
|
|
21581
|
-
*/
|
|
21582
|
-
200: RecipientActionResponse;
|
|
21583
|
-
};
|
|
21584
|
-
|
|
21585
|
-
export type WhatsappBatchesRecipientsRestoreResult = WhatsappBatchesRecipientsRestoreResults[keyof WhatsappBatchesRecipientsRestoreResults];
|
|
21586
|
-
|
|
21587
|
-
export type WhatsappBatchesRecipientsSkipData = {
|
|
21588
|
-
body: SelectRecipientsRequest;
|
|
21596
|
+
export type WhatsappBatchesRecipientsDeleteData = {
|
|
21597
|
+
body: DeleteRecipientsRequest;
|
|
21589
21598
|
path: {
|
|
21590
21599
|
/**
|
|
21591
21600
|
* Batch Id
|
|
@@ -21593,10 +21602,10 @@ export type WhatsappBatchesRecipientsSkipData = {
|
|
|
21593
21602
|
batch_id: string;
|
|
21594
21603
|
};
|
|
21595
21604
|
query?: never;
|
|
21596
|
-
url: '/v1/whatsapp/batches/{batch_id}/recipients/
|
|
21605
|
+
url: '/v1/whatsapp/batches/{batch_id}/recipients/delete';
|
|
21597
21606
|
};
|
|
21598
21607
|
|
|
21599
|
-
export type
|
|
21608
|
+
export type WhatsappBatchesRecipientsDeleteErrors = {
|
|
21600
21609
|
/**
|
|
21601
21610
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
21602
21611
|
*/
|
|
@@ -21627,16 +21636,16 @@ export type WhatsappBatchesRecipientsSkipErrors = {
|
|
|
21627
21636
|
default: ErrorResponse;
|
|
21628
21637
|
};
|
|
21629
21638
|
|
|
21630
|
-
export type
|
|
21639
|
+
export type WhatsappBatchesRecipientsDeleteError = WhatsappBatchesRecipientsDeleteErrors[keyof WhatsappBatchesRecipientsDeleteErrors];
|
|
21631
21640
|
|
|
21632
|
-
export type
|
|
21641
|
+
export type WhatsappBatchesRecipientsDeleteResults = {
|
|
21633
21642
|
/**
|
|
21634
21643
|
* Successful Response
|
|
21635
21644
|
*/
|
|
21636
21645
|
200: RecipientActionResponse;
|
|
21637
21646
|
};
|
|
21638
21647
|
|
|
21639
|
-
export type
|
|
21648
|
+
export type WhatsappBatchesRecipientsDeleteResult = WhatsappBatchesRecipientsDeleteResults[keyof WhatsappBatchesRecipientsDeleteResults];
|
|
21640
21649
|
|
|
21641
21650
|
export type WhatsappBatchesRecipientsUpdateData = {
|
|
21642
21651
|
body: PatchWhatsAppRecipientRequest;
|