@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
|
@@ -875,7 +875,7 @@ export type AvatarSpecOverride = {
|
|
|
875
875
|
* AvatarUsage
|
|
876
876
|
*
|
|
877
877
|
* One avatar session's billable window: WALL-CLOCK seconds alive, idle
|
|
878
|
-
* included (Anam's billing rule
|
|
878
|
+
* included (Anam's billing rule). Metered from our own job
|
|
879
879
|
* timing — Anam has no usage webhooks; `avatar_session_id` (Anam's sessionId)
|
|
880
880
|
* is stored for reconciliation against any future Anam usage export.
|
|
881
881
|
*/
|
|
@@ -1487,6 +1487,10 @@ export type CallSessionResponse = {
|
|
|
1487
1487
|
*/
|
|
1488
1488
|
phone_number_id: string | null;
|
|
1489
1489
|
recording: RecordingResponse;
|
|
1490
|
+
/**
|
|
1491
|
+
* Resumed From Call Id
|
|
1492
|
+
*/
|
|
1493
|
+
resumed_from_call_id: string | null;
|
|
1490
1494
|
screen_recording: RecordingResponse;
|
|
1491
1495
|
/**
|
|
1492
1496
|
* Started At
|
|
@@ -1616,6 +1620,10 @@ export type CallSummaryResponse = {
|
|
|
1616
1620
|
outcome?: 'success' | 'failure' | 'unknown' | null;
|
|
1617
1621
|
plan?: CallPlanSummary | null;
|
|
1618
1622
|
recording: RecordingResponse;
|
|
1623
|
+
/**
|
|
1624
|
+
* Resumed From Call Id
|
|
1625
|
+
*/
|
|
1626
|
+
resumed_from_call_id?: string | null;
|
|
1619
1627
|
/**
|
|
1620
1628
|
* Started At
|
|
1621
1629
|
*/
|
|
@@ -2406,7 +2414,7 @@ export type ConversationSpec = {
|
|
|
2406
2414
|
/**
|
|
2407
2415
|
* Context
|
|
2408
2416
|
*
|
|
2409
|
-
*
|
|
2417
|
+
* 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.
|
|
2410
2418
|
*/
|
|
2411
2419
|
context?: 'none' | 'summary' | 'transcript';
|
|
2412
2420
|
/**
|
|
@@ -2431,7 +2439,7 @@ export type ConversationSpecOverride = {
|
|
|
2431
2439
|
/**
|
|
2432
2440
|
* Context
|
|
2433
2441
|
*
|
|
2434
|
-
*
|
|
2442
|
+
* 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.
|
|
2435
2443
|
*/
|
|
2436
2444
|
context?: 'none' | 'summary' | 'transcript' | null;
|
|
2437
2445
|
/**
|
|
@@ -3240,8 +3248,10 @@ export type CreateTelephonyAccountRequest = {
|
|
|
3240
3248
|
};
|
|
3241
3249
|
/**
|
|
3242
3250
|
* Display Name
|
|
3251
|
+
*
|
|
3252
|
+
* Omit to use the carrier's own name for the account.
|
|
3243
3253
|
*/
|
|
3244
|
-
display_name
|
|
3254
|
+
display_name?: string | null;
|
|
3245
3255
|
/**
|
|
3246
3256
|
* Provider
|
|
3247
3257
|
*/
|
|
@@ -3370,12 +3380,7 @@ export type CreateWhatsAppBatchRequest = {
|
|
|
3370
3380
|
/**
|
|
3371
3381
|
* CreditBalanceResponse
|
|
3372
3382
|
*
|
|
3373
|
-
* This
|
|
3374
|
-
*
|
|
3375
|
-
* Per region, because the balance is a data-plane table. A caller reading this
|
|
3376
|
-
* is reading the balance of whichever region's API they called, and the
|
|
3377
|
-
* dashboard labels it with that region's name — a bare number is what makes a
|
|
3378
|
-
* customer with $50 in one region and $0 in another think the money vanished.
|
|
3383
|
+
* This workspace's credit balance, what it buys, and top-up prices.
|
|
3379
3384
|
*/
|
|
3380
3385
|
export type CreditBalanceResponse = {
|
|
3381
3386
|
/**
|
|
@@ -3495,6 +3500,17 @@ export type CreditPackResponse = {
|
|
|
3495
3500
|
*/
|
|
3496
3501
|
voice_minutes: number;
|
|
3497
3502
|
};
|
|
3503
|
+
/**
|
|
3504
|
+
* DeleteRecipientsRequest
|
|
3505
|
+
*
|
|
3506
|
+
* Rows to remove from a batch, by id.
|
|
3507
|
+
*/
|
|
3508
|
+
export type DeleteRecipientsRequest = {
|
|
3509
|
+
/**
|
|
3510
|
+
* Recipient Ids
|
|
3511
|
+
*/
|
|
3512
|
+
recipient_ids: Array<string>;
|
|
3513
|
+
};
|
|
3498
3514
|
/**
|
|
3499
3515
|
* DeliveryError
|
|
3500
3516
|
*
|
|
@@ -4480,6 +4496,12 @@ export type HandoffConfig = {
|
|
|
4480
4496
|
* Context
|
|
4481
4497
|
*/
|
|
4482
4498
|
context?: 'none' | 'summary' | 'transcript';
|
|
4499
|
+
/**
|
|
4500
|
+
* Instructions
|
|
4501
|
+
*
|
|
4502
|
+
* What the target is told as it opens, when it has no greeting.
|
|
4503
|
+
*/
|
|
4504
|
+
instructions?: string | null;
|
|
4483
4505
|
/**
|
|
4484
4506
|
* Message
|
|
4485
4507
|
*
|
|
@@ -4489,7 +4511,7 @@ export type HandoffConfig = {
|
|
|
4489
4511
|
/**
|
|
4490
4512
|
* Recent Turns
|
|
4491
4513
|
*
|
|
4492
|
-
*
|
|
4514
|
+
* Context 'summary' only: turns of this call that cross verbatim beside the summary. Defaults to 2.
|
|
4493
4515
|
*/
|
|
4494
4516
|
recent_turns?: number | null;
|
|
4495
4517
|
/**
|
|
@@ -4540,6 +4562,10 @@ export type HandoffTarget = {
|
|
|
4540
4562
|
* Description
|
|
4541
4563
|
*/
|
|
4542
4564
|
description: string;
|
|
4565
|
+
/**
|
|
4566
|
+
* Instructions
|
|
4567
|
+
*/
|
|
4568
|
+
instructions?: string | null;
|
|
4543
4569
|
/**
|
|
4544
4570
|
* Message
|
|
4545
4571
|
*/
|
|
@@ -9500,27 +9526,6 @@ export type SecretResponse = {
|
|
|
9500
9526
|
*/
|
|
9501
9527
|
value_hint: string;
|
|
9502
9528
|
};
|
|
9503
|
-
/**
|
|
9504
|
-
* SelectRecipientsRequest
|
|
9505
|
-
*
|
|
9506
|
-
* What `skip` and `restore` accept — either shape.
|
|
9507
|
-
*
|
|
9508
|
-
* Both are reversible, which is why both take a bulk shorthand: skipping four
|
|
9509
|
-
* thousand rows is undone by restoring them, and making curation tedious pushes
|
|
9510
|
-
* an operator toward not curating.
|
|
9511
|
-
*/
|
|
9512
|
-
export type SelectRecipientsRequest = {
|
|
9513
|
-
/**
|
|
9514
|
-
* Recipient Ids
|
|
9515
|
-
*/
|
|
9516
|
-
recipient_ids?: Array<string> | null;
|
|
9517
|
-
/**
|
|
9518
|
-
* Selection
|
|
9519
|
-
*
|
|
9520
|
-
* Every row this verb can act on: drafts for skip, rows a person skipped for restore.
|
|
9521
|
-
*/
|
|
9522
|
-
selection?: 'all_eligible' | null;
|
|
9523
|
-
};
|
|
9524
9529
|
/**
|
|
9525
9530
|
* SendDtmfConfig
|
|
9526
9531
|
*/
|
|
@@ -13577,6 +13582,55 @@ export type CallsBatchesRecipientsAddResults = {
|
|
|
13577
13582
|
200: AddRecipientsResponse;
|
|
13578
13583
|
};
|
|
13579
13584
|
export type CallsBatchesRecipientsAddResult = CallsBatchesRecipientsAddResults[keyof CallsBatchesRecipientsAddResults];
|
|
13585
|
+
export type CallsBatchesRecipientsDeleteData = {
|
|
13586
|
+
body: DeleteRecipientsRequest;
|
|
13587
|
+
path: {
|
|
13588
|
+
/**
|
|
13589
|
+
* Batch Id
|
|
13590
|
+
*/
|
|
13591
|
+
batch_id: string;
|
|
13592
|
+
};
|
|
13593
|
+
query?: never;
|
|
13594
|
+
url: '/v1/calls/batches/{batch_id}/recipients/delete';
|
|
13595
|
+
};
|
|
13596
|
+
export type CallsBatchesRecipientsDeleteErrors = {
|
|
13597
|
+
/**
|
|
13598
|
+
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
13599
|
+
*/
|
|
13600
|
+
400: ErrorResponse;
|
|
13601
|
+
/**
|
|
13602
|
+
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
13603
|
+
*/
|
|
13604
|
+
401: ErrorResponse;
|
|
13605
|
+
/**
|
|
13606
|
+
* Authenticated, but this organization role may not perform the operation.
|
|
13607
|
+
*/
|
|
13608
|
+
403: ErrorResponse;
|
|
13609
|
+
/**
|
|
13610
|
+
* No such resource in this organization.
|
|
13611
|
+
*/
|
|
13612
|
+
404: ErrorResponse;
|
|
13613
|
+
/**
|
|
13614
|
+
* The resource's current state forbids this — a name already taken, a job already running.
|
|
13615
|
+
*/
|
|
13616
|
+
409: ErrorResponse;
|
|
13617
|
+
/**
|
|
13618
|
+
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
13619
|
+
*/
|
|
13620
|
+
422: ErrorResponse;
|
|
13621
|
+
/**
|
|
13622
|
+
* Unexpected error. Every error this API returns carries this body.
|
|
13623
|
+
*/
|
|
13624
|
+
default: ErrorResponse;
|
|
13625
|
+
};
|
|
13626
|
+
export type CallsBatchesRecipientsDeleteError = CallsBatchesRecipientsDeleteErrors[keyof CallsBatchesRecipientsDeleteErrors];
|
|
13627
|
+
export type CallsBatchesRecipientsDeleteResults = {
|
|
13628
|
+
/**
|
|
13629
|
+
* Successful Response
|
|
13630
|
+
*/
|
|
13631
|
+
200: RecipientActionResponse;
|
|
13632
|
+
};
|
|
13633
|
+
export type CallsBatchesRecipientsDeleteResult = CallsBatchesRecipientsDeleteResults[keyof CallsBatchesRecipientsDeleteResults];
|
|
13580
13634
|
export type CallsBatchesResumeData = {
|
|
13581
13635
|
body?: never;
|
|
13582
13636
|
path: {
|
|
@@ -13986,6 +14040,59 @@ export type CallsRecordingGetResults = {
|
|
|
13986
14040
|
200: Blob | File;
|
|
13987
14041
|
};
|
|
13988
14042
|
export type CallsRecordingGetResult = CallsRecordingGetResults[keyof CallsRecordingGetResults];
|
|
14043
|
+
export type CallsResumeData = {
|
|
14044
|
+
body?: never;
|
|
14045
|
+
path: {
|
|
14046
|
+
/**
|
|
14047
|
+
* Session Id
|
|
14048
|
+
*/
|
|
14049
|
+
session_id: string;
|
|
14050
|
+
};
|
|
14051
|
+
query?: never;
|
|
14052
|
+
url: '/v1/calls/{session_id}/resume';
|
|
14053
|
+
};
|
|
14054
|
+
export type CallsResumeErrors = {
|
|
14055
|
+
/**
|
|
14056
|
+
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
14057
|
+
*/
|
|
14058
|
+
400: ErrorResponse;
|
|
14059
|
+
/**
|
|
14060
|
+
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
14061
|
+
*/
|
|
14062
|
+
401: ErrorResponse;
|
|
14063
|
+
/**
|
|
14064
|
+
* This organization has no credit left, so a new call cannot be started. Calls already running are unaffected.
|
|
14065
|
+
*/
|
|
14066
|
+
402: ErrorResponse;
|
|
14067
|
+
/**
|
|
14068
|
+
* Authenticated, but this organization role may not perform the operation.
|
|
14069
|
+
*/
|
|
14070
|
+
403: ErrorResponse;
|
|
14071
|
+
/**
|
|
14072
|
+
* No such resource in this organization.
|
|
14073
|
+
*/
|
|
14074
|
+
404: ErrorResponse;
|
|
14075
|
+
/**
|
|
14076
|
+
* The resource's current state forbids this — a name already taken, a job already running.
|
|
14077
|
+
*/
|
|
14078
|
+
409: ErrorResponse;
|
|
14079
|
+
/**
|
|
14080
|
+
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
14081
|
+
*/
|
|
14082
|
+
422: ErrorResponse;
|
|
14083
|
+
/**
|
|
14084
|
+
* Unexpected error. Every error this API returns carries this body.
|
|
14085
|
+
*/
|
|
14086
|
+
default: ErrorResponse;
|
|
14087
|
+
};
|
|
14088
|
+
export type CallsResumeError = CallsResumeErrors[keyof CallsResumeErrors];
|
|
14089
|
+
export type CallsResumeResults = {
|
|
14090
|
+
/**
|
|
14091
|
+
* Successful Response
|
|
14092
|
+
*/
|
|
14093
|
+
200: CallTokenResponse;
|
|
14094
|
+
};
|
|
14095
|
+
export type CallsResumeResult = CallsResumeResults[keyof CallsResumeResults];
|
|
13989
14096
|
export type CallsScreenRecordingGetData = {
|
|
13990
14097
|
body?: never;
|
|
13991
14098
|
path: {
|
|
@@ -15903,22 +16010,18 @@ export type EmailBatchesRecipientsAddResults = {
|
|
|
15903
16010
|
200: AddEmailRecipientsResponse;
|
|
15904
16011
|
};
|
|
15905
16012
|
export type EmailBatchesRecipientsAddResult = EmailBatchesRecipientsAddResults[keyof EmailBatchesRecipientsAddResults];
|
|
15906
|
-
export type
|
|
15907
|
-
body:
|
|
16013
|
+
export type EmailBatchesRecipientsDeleteData = {
|
|
16014
|
+
body: DeleteRecipientsRequest;
|
|
15908
16015
|
path: {
|
|
15909
16016
|
/**
|
|
15910
16017
|
* Batch Id
|
|
15911
16018
|
*/
|
|
15912
16019
|
batch_id: string;
|
|
15913
|
-
/**
|
|
15914
|
-
* Recipient Id
|
|
15915
|
-
*/
|
|
15916
|
-
recipient_id: string;
|
|
15917
16020
|
};
|
|
15918
16021
|
query?: never;
|
|
15919
|
-
url: '/v1/email/batches/{batch_id}/recipients/
|
|
16022
|
+
url: '/v1/email/batches/{batch_id}/recipients/delete';
|
|
15920
16023
|
};
|
|
15921
|
-
export type
|
|
16024
|
+
export type EmailBatchesRecipientsDeleteErrors = {
|
|
15922
16025
|
/**
|
|
15923
16026
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
15924
16027
|
*/
|
|
@@ -15948,26 +16051,30 @@ export type EmailBatchesRecipientsUpdateErrors = {
|
|
|
15948
16051
|
*/
|
|
15949
16052
|
default: ErrorResponse;
|
|
15950
16053
|
};
|
|
15951
|
-
export type
|
|
15952
|
-
export type
|
|
16054
|
+
export type EmailBatchesRecipientsDeleteError = EmailBatchesRecipientsDeleteErrors[keyof EmailBatchesRecipientsDeleteErrors];
|
|
16055
|
+
export type EmailBatchesRecipientsDeleteResults = {
|
|
15953
16056
|
/**
|
|
15954
16057
|
* Successful Response
|
|
15955
16058
|
*/
|
|
15956
|
-
200:
|
|
16059
|
+
200: RecipientActionResponse;
|
|
15957
16060
|
};
|
|
15958
|
-
export type
|
|
15959
|
-
export type
|
|
15960
|
-
body:
|
|
16061
|
+
export type EmailBatchesRecipientsDeleteResult = EmailBatchesRecipientsDeleteResults[keyof EmailBatchesRecipientsDeleteResults];
|
|
16062
|
+
export type EmailBatchesRecipientsUpdateData = {
|
|
16063
|
+
body: PatchEmailRecipientRequest;
|
|
15961
16064
|
path: {
|
|
15962
16065
|
/**
|
|
15963
16066
|
* Batch Id
|
|
15964
16067
|
*/
|
|
15965
16068
|
batch_id: string;
|
|
16069
|
+
/**
|
|
16070
|
+
* Recipient Id
|
|
16071
|
+
*/
|
|
16072
|
+
recipient_id: string;
|
|
15966
16073
|
};
|
|
15967
16074
|
query?: never;
|
|
15968
|
-
url: '/v1/email/batches/{batch_id}/
|
|
16075
|
+
url: '/v1/email/batches/{batch_id}/recipients/{recipient_id}';
|
|
15969
16076
|
};
|
|
15970
|
-
export type
|
|
16077
|
+
export type EmailBatchesRecipientsUpdateErrors = {
|
|
15971
16078
|
/**
|
|
15972
16079
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
15973
16080
|
*/
|
|
@@ -15997,16 +16104,16 @@ export type EmailBatchesRecipientsRedraftErrors = {
|
|
|
15997
16104
|
*/
|
|
15998
16105
|
default: ErrorResponse;
|
|
15999
16106
|
};
|
|
16000
|
-
export type
|
|
16001
|
-
export type
|
|
16107
|
+
export type EmailBatchesRecipientsUpdateError = EmailBatchesRecipientsUpdateErrors[keyof EmailBatchesRecipientsUpdateErrors];
|
|
16108
|
+
export type EmailBatchesRecipientsUpdateResults = {
|
|
16002
16109
|
/**
|
|
16003
16110
|
* Successful Response
|
|
16004
16111
|
*/
|
|
16005
|
-
200:
|
|
16112
|
+
200: EmailRecipientResponse;
|
|
16006
16113
|
};
|
|
16007
|
-
export type
|
|
16008
|
-
export type
|
|
16009
|
-
body:
|
|
16114
|
+
export type EmailBatchesRecipientsUpdateResult = EmailBatchesRecipientsUpdateResults[keyof EmailBatchesRecipientsUpdateResults];
|
|
16115
|
+
export type EmailBatchesRecipientsRedraftData = {
|
|
16116
|
+
body: RedraftRequest;
|
|
16010
16117
|
path: {
|
|
16011
16118
|
/**
|
|
16012
16119
|
* Batch Id
|
|
@@ -16014,9 +16121,9 @@ export type EmailBatchesRecipientsRestoreData = {
|
|
|
16014
16121
|
batch_id: string;
|
|
16015
16122
|
};
|
|
16016
16123
|
query?: never;
|
|
16017
|
-
url: '/v1/email/batches/{batch_id}/
|
|
16124
|
+
url: '/v1/email/batches/{batch_id}/redraft';
|
|
16018
16125
|
};
|
|
16019
|
-
export type
|
|
16126
|
+
export type EmailBatchesRecipientsRedraftErrors = {
|
|
16020
16127
|
/**
|
|
16021
16128
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
16022
16129
|
*/
|
|
@@ -16046,14 +16153,14 @@ export type EmailBatchesRecipientsRestoreErrors = {
|
|
|
16046
16153
|
*/
|
|
16047
16154
|
default: ErrorResponse;
|
|
16048
16155
|
};
|
|
16049
|
-
export type
|
|
16050
|
-
export type
|
|
16156
|
+
export type EmailBatchesRecipientsRedraftError = EmailBatchesRecipientsRedraftErrors[keyof EmailBatchesRecipientsRedraftErrors];
|
|
16157
|
+
export type EmailBatchesRecipientsRedraftResults = {
|
|
16051
16158
|
/**
|
|
16052
16159
|
* Successful Response
|
|
16053
16160
|
*/
|
|
16054
16161
|
200: RecipientActionResponse;
|
|
16055
16162
|
};
|
|
16056
|
-
export type
|
|
16163
|
+
export type EmailBatchesRecipientsRedraftResult = EmailBatchesRecipientsRedraftResults[keyof EmailBatchesRecipientsRedraftResults];
|
|
16057
16164
|
export type EmailBatchesResumeData = {
|
|
16058
16165
|
body?: never;
|
|
16059
16166
|
path: {
|
|
@@ -16451,55 +16558,6 @@ export type EmailBatchesSendsResumeResults = {
|
|
|
16451
16558
|
200: EmailSendResponse;
|
|
16452
16559
|
};
|
|
16453
16560
|
export type EmailBatchesSendsResumeResult = EmailBatchesSendsResumeResults[keyof EmailBatchesSendsResumeResults];
|
|
16454
|
-
export type EmailBatchesRecipientsSkipData = {
|
|
16455
|
-
body: SelectRecipientsRequest;
|
|
16456
|
-
path: {
|
|
16457
|
-
/**
|
|
16458
|
-
* Batch Id
|
|
16459
|
-
*/
|
|
16460
|
-
batch_id: string;
|
|
16461
|
-
};
|
|
16462
|
-
query?: never;
|
|
16463
|
-
url: '/v1/email/batches/{batch_id}/skip';
|
|
16464
|
-
};
|
|
16465
|
-
export type EmailBatchesRecipientsSkipErrors = {
|
|
16466
|
-
/**
|
|
16467
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
16468
|
-
*/
|
|
16469
|
-
400: ErrorResponse;
|
|
16470
|
-
/**
|
|
16471
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
16472
|
-
*/
|
|
16473
|
-
401: ErrorResponse;
|
|
16474
|
-
/**
|
|
16475
|
-
* Authenticated, but this organization role may not perform the operation.
|
|
16476
|
-
*/
|
|
16477
|
-
403: ErrorResponse;
|
|
16478
|
-
/**
|
|
16479
|
-
* No such resource in this organization.
|
|
16480
|
-
*/
|
|
16481
|
-
404: ErrorResponse;
|
|
16482
|
-
/**
|
|
16483
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
16484
|
-
*/
|
|
16485
|
-
409: ErrorResponse;
|
|
16486
|
-
/**
|
|
16487
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
16488
|
-
*/
|
|
16489
|
-
422: ErrorResponse;
|
|
16490
|
-
/**
|
|
16491
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
16492
|
-
*/
|
|
16493
|
-
default: ErrorResponse;
|
|
16494
|
-
};
|
|
16495
|
-
export type EmailBatchesRecipientsSkipError = EmailBatchesRecipientsSkipErrors[keyof EmailBatchesRecipientsSkipErrors];
|
|
16496
|
-
export type EmailBatchesRecipientsSkipResults = {
|
|
16497
|
-
/**
|
|
16498
|
-
* Successful Response
|
|
16499
|
-
*/
|
|
16500
|
-
200: RecipientActionResponse;
|
|
16501
|
-
};
|
|
16502
|
-
export type EmailBatchesRecipientsSkipResult = EmailBatchesRecipientsSkipResults[keyof EmailBatchesRecipientsSkipResults];
|
|
16503
16561
|
export type EmailSendersListData = {
|
|
16504
16562
|
body?: never;
|
|
16505
16563
|
path?: never;
|
|
@@ -20249,57 +20307,8 @@ export type WhatsappBatchesRecipientsAddResults = {
|
|
|
20249
20307
|
200: AddWhatsAppRecipientsResponse;
|
|
20250
20308
|
};
|
|
20251
20309
|
export type WhatsappBatchesRecipientsAddResult = WhatsappBatchesRecipientsAddResults[keyof WhatsappBatchesRecipientsAddResults];
|
|
20252
|
-
export type
|
|
20253
|
-
body:
|
|
20254
|
-
path: {
|
|
20255
|
-
/**
|
|
20256
|
-
* Batch Id
|
|
20257
|
-
*/
|
|
20258
|
-
batch_id: string;
|
|
20259
|
-
};
|
|
20260
|
-
query?: never;
|
|
20261
|
-
url: '/v1/whatsapp/batches/{batch_id}/recipients/restore';
|
|
20262
|
-
};
|
|
20263
|
-
export type WhatsappBatchesRecipientsRestoreErrors = {
|
|
20264
|
-
/**
|
|
20265
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
20266
|
-
*/
|
|
20267
|
-
400: ErrorResponse;
|
|
20268
|
-
/**
|
|
20269
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
20270
|
-
*/
|
|
20271
|
-
401: ErrorResponse;
|
|
20272
|
-
/**
|
|
20273
|
-
* Authenticated, but this organization role may not perform the operation.
|
|
20274
|
-
*/
|
|
20275
|
-
403: ErrorResponse;
|
|
20276
|
-
/**
|
|
20277
|
-
* No such resource in this organization.
|
|
20278
|
-
*/
|
|
20279
|
-
404: ErrorResponse;
|
|
20280
|
-
/**
|
|
20281
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
20282
|
-
*/
|
|
20283
|
-
409: ErrorResponse;
|
|
20284
|
-
/**
|
|
20285
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
20286
|
-
*/
|
|
20287
|
-
422: ErrorResponse;
|
|
20288
|
-
/**
|
|
20289
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
20290
|
-
*/
|
|
20291
|
-
default: ErrorResponse;
|
|
20292
|
-
};
|
|
20293
|
-
export type WhatsappBatchesRecipientsRestoreError = WhatsappBatchesRecipientsRestoreErrors[keyof WhatsappBatchesRecipientsRestoreErrors];
|
|
20294
|
-
export type WhatsappBatchesRecipientsRestoreResults = {
|
|
20295
|
-
/**
|
|
20296
|
-
* Successful Response
|
|
20297
|
-
*/
|
|
20298
|
-
200: RecipientActionResponse;
|
|
20299
|
-
};
|
|
20300
|
-
export type WhatsappBatchesRecipientsRestoreResult = WhatsappBatchesRecipientsRestoreResults[keyof WhatsappBatchesRecipientsRestoreResults];
|
|
20301
|
-
export type WhatsappBatchesRecipientsSkipData = {
|
|
20302
|
-
body: SelectRecipientsRequest;
|
|
20310
|
+
export type WhatsappBatchesRecipientsDeleteData = {
|
|
20311
|
+
body: DeleteRecipientsRequest;
|
|
20303
20312
|
path: {
|
|
20304
20313
|
/**
|
|
20305
20314
|
* Batch Id
|
|
@@ -20307,9 +20316,9 @@ export type WhatsappBatchesRecipientsSkipData = {
|
|
|
20307
20316
|
batch_id: string;
|
|
20308
20317
|
};
|
|
20309
20318
|
query?: never;
|
|
20310
|
-
url: '/v1/whatsapp/batches/{batch_id}/recipients/
|
|
20319
|
+
url: '/v1/whatsapp/batches/{batch_id}/recipients/delete';
|
|
20311
20320
|
};
|
|
20312
|
-
export type
|
|
20321
|
+
export type WhatsappBatchesRecipientsDeleteErrors = {
|
|
20313
20322
|
/**
|
|
20314
20323
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
20315
20324
|
*/
|
|
@@ -20339,14 +20348,14 @@ export type WhatsappBatchesRecipientsSkipErrors = {
|
|
|
20339
20348
|
*/
|
|
20340
20349
|
default: ErrorResponse;
|
|
20341
20350
|
};
|
|
20342
|
-
export type
|
|
20343
|
-
export type
|
|
20351
|
+
export type WhatsappBatchesRecipientsDeleteError = WhatsappBatchesRecipientsDeleteErrors[keyof WhatsappBatchesRecipientsDeleteErrors];
|
|
20352
|
+
export type WhatsappBatchesRecipientsDeleteResults = {
|
|
20344
20353
|
/**
|
|
20345
20354
|
* Successful Response
|
|
20346
20355
|
*/
|
|
20347
20356
|
200: RecipientActionResponse;
|
|
20348
20357
|
};
|
|
20349
|
-
export type
|
|
20358
|
+
export type WhatsappBatchesRecipientsDeleteResult = WhatsappBatchesRecipientsDeleteResults[keyof WhatsappBatchesRecipientsDeleteResults];
|
|
20350
20359
|
export type WhatsappBatchesRecipientsUpdateData = {
|
|
20351
20360
|
body: PatchWhatsAppRecipientRequest;
|
|
20352
20361
|
path: {
|