@talqing/sdk 0.10.2 → 0.12.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/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 +67 -39
- package/dist/cjs/gen/sdk.gen.d.ts.map +1 -1
- package/dist/cjs/gen/sdk.gen.js +129 -43
- package/dist/cjs/gen/sdk.gen.js.map +1 -1
- package/dist/cjs/gen/types.gen.d.ts +937 -214
- package/dist/cjs/gen/types.gen.d.ts.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 +67 -39
- package/dist/esm/gen/sdk.gen.d.ts.map +1 -1
- package/dist/esm/gen/sdk.gen.js +127 -41
- package/dist/esm/gen/sdk.gen.js.map +1 -1
- package/dist/esm/gen/types.gen.d.ts +937 -214
- package/dist/esm/gen/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/gen/index.ts +1 -1
- package/src/gen/sdk.gen.ts +158 -55
- package/src/gen/types.gen.ts +1024 -268
package/src/gen/types.gen.ts
CHANGED
|
@@ -1554,6 +1554,10 @@ export type CallSessionResponse = {
|
|
|
1554
1554
|
*/
|
|
1555
1555
|
phone_number_id: string | null;
|
|
1556
1556
|
recording: RecordingResponse;
|
|
1557
|
+
/**
|
|
1558
|
+
* Region
|
|
1559
|
+
*/
|
|
1560
|
+
region: 'us' | 'in';
|
|
1557
1561
|
/**
|
|
1558
1562
|
* Resumed From Call Id
|
|
1559
1563
|
*/
|
|
@@ -1689,6 +1693,10 @@ export type CallSummaryResponse = {
|
|
|
1689
1693
|
outcome?: 'success' | 'failure' | 'unknown' | null;
|
|
1690
1694
|
plan?: CallPlanSummary | null;
|
|
1691
1695
|
recording: RecordingResponse;
|
|
1696
|
+
/**
|
|
1697
|
+
* Region
|
|
1698
|
+
*/
|
|
1699
|
+
region: 'us' | 'in';
|
|
1692
1700
|
/**
|
|
1693
1701
|
* Resumed From Call Id
|
|
1694
1702
|
*/
|
|
@@ -1843,6 +1851,10 @@ export type CatalogResponse = {
|
|
|
1843
1851
|
* Realtime
|
|
1844
1852
|
*/
|
|
1845
1853
|
realtime: Array<RealtimeCatalogEntryResponse>;
|
|
1854
|
+
/**
|
|
1855
|
+
* Regions
|
|
1856
|
+
*/
|
|
1857
|
+
regions: Array<RegionOption>;
|
|
1846
1858
|
/**
|
|
1847
1859
|
* Stt
|
|
1848
1860
|
*/
|
|
@@ -3148,7 +3160,7 @@ export type CreateEmailSendRequest = {
|
|
|
3148
3160
|
/**
|
|
3149
3161
|
* From Email
|
|
3150
3162
|
*/
|
|
3151
|
-
from_email?: string
|
|
3163
|
+
from_email?: string;
|
|
3152
3164
|
/**
|
|
3153
3165
|
* From Name
|
|
3154
3166
|
*/
|
|
@@ -3170,7 +3182,7 @@ export type CreateEmailSendRequest = {
|
|
|
3170
3182
|
/**
|
|
3171
3183
|
* Send Attempts
|
|
3172
3184
|
*/
|
|
3173
|
-
send_attempts?: number
|
|
3185
|
+
send_attempts?: number;
|
|
3174
3186
|
/**
|
|
3175
3187
|
* Send Daily Cap
|
|
3176
3188
|
*/
|
|
@@ -3182,11 +3194,11 @@ export type CreateEmailSendRequest = {
|
|
|
3182
3194
|
/**
|
|
3183
3195
|
* Send Gap Seconds
|
|
3184
3196
|
*/
|
|
3185
|
-
send_gap_seconds?: number
|
|
3197
|
+
send_gap_seconds?: number;
|
|
3186
3198
|
/**
|
|
3187
3199
|
* Send Retry After Minutes
|
|
3188
3200
|
*/
|
|
3189
|
-
send_retry_after_minutes?: number
|
|
3201
|
+
send_retry_after_minutes?: number;
|
|
3190
3202
|
/**
|
|
3191
3203
|
* Start At
|
|
3192
3204
|
*/
|
|
@@ -3194,7 +3206,7 @@ export type CreateEmailSendRequest = {
|
|
|
3194
3206
|
/**
|
|
3195
3207
|
* Timezone
|
|
3196
3208
|
*/
|
|
3197
|
-
timezone?: string
|
|
3209
|
+
timezone?: string;
|
|
3198
3210
|
window?: TimeWindow | null;
|
|
3199
3211
|
};
|
|
3200
3212
|
|
|
@@ -3344,6 +3356,12 @@ export type CreateStreamConnectionRequest = {
|
|
|
3344
3356
|
* What this partner integration is called in the dashboard.
|
|
3345
3357
|
*/
|
|
3346
3358
|
name: string;
|
|
3359
|
+
/**
|
|
3360
|
+
* Region
|
|
3361
|
+
*
|
|
3362
|
+
* Where calls are hosted; it decides the URL.
|
|
3363
|
+
*/
|
|
3364
|
+
region?: 'us' | 'in';
|
|
3347
3365
|
};
|
|
3348
3366
|
|
|
3349
3367
|
/**
|
|
@@ -3353,6 +3371,98 @@ export type CreateTaskRequest = {
|
|
|
3353
3371
|
config: TaskConfig;
|
|
3354
3372
|
};
|
|
3355
3373
|
|
|
3374
|
+
/**
|
|
3375
|
+
* CreateTaskRunBatchRequest
|
|
3376
|
+
*/
|
|
3377
|
+
export type CreateTaskRunBatchRequest = {
|
|
3378
|
+
/**
|
|
3379
|
+
* Runs
|
|
3380
|
+
*/
|
|
3381
|
+
runs: Array<RunItem>;
|
|
3382
|
+
/**
|
|
3383
|
+
* A complete task definition, run and stored nowhere else.
|
|
3384
|
+
*/
|
|
3385
|
+
task?: TaskConfig | null;
|
|
3386
|
+
/**
|
|
3387
|
+
* Task Id
|
|
3388
|
+
*
|
|
3389
|
+
* A task in this workspace. Exclusive with `task`.
|
|
3390
|
+
*/
|
|
3391
|
+
task_id?: string | null;
|
|
3392
|
+
/**
|
|
3393
|
+
* Changes for this run only: objects deep-merge, lists replace, null clears.
|
|
3394
|
+
*/
|
|
3395
|
+
task_override?: TaskPatch | null;
|
|
3396
|
+
/**
|
|
3397
|
+
* Task Version
|
|
3398
|
+
*
|
|
3399
|
+
* Which version of `task_id` to run. Omit for the published one; `"draft"` runs the unpublished config, held to the publish checks.
|
|
3400
|
+
*/
|
|
3401
|
+
task_version?: number | 'draft' | null;
|
|
3402
|
+
};
|
|
3403
|
+
|
|
3404
|
+
/**
|
|
3405
|
+
* CreateTaskRunRequest
|
|
3406
|
+
*/
|
|
3407
|
+
export type CreateTaskRunRequest = {
|
|
3408
|
+
/**
|
|
3409
|
+
* Background
|
|
3410
|
+
*
|
|
3411
|
+
* Queue the run and return at once (202) instead of waiting for its result.
|
|
3412
|
+
*/
|
|
3413
|
+
background?: boolean;
|
|
3414
|
+
/**
|
|
3415
|
+
* Files
|
|
3416
|
+
*
|
|
3417
|
+
* One PDF per declared `file` input, by name.
|
|
3418
|
+
*/
|
|
3419
|
+
files?: {
|
|
3420
|
+
[key: string]: FileInput;
|
|
3421
|
+
};
|
|
3422
|
+
/**
|
|
3423
|
+
* Idempotency Key
|
|
3424
|
+
*
|
|
3425
|
+
* Resending the same key returns the existing run instead of starting another.
|
|
3426
|
+
*/
|
|
3427
|
+
idempotency_key?: string | null;
|
|
3428
|
+
/**
|
|
3429
|
+
* Metadata
|
|
3430
|
+
*
|
|
3431
|
+
* Up to 16 string labels of your own, for filtering.
|
|
3432
|
+
*/
|
|
3433
|
+
metadata?: {
|
|
3434
|
+
[key: string]: unknown | string;
|
|
3435
|
+
};
|
|
3436
|
+
/**
|
|
3437
|
+
* A complete task definition, run and stored nowhere else.
|
|
3438
|
+
*/
|
|
3439
|
+
task?: TaskConfig | null;
|
|
3440
|
+
/**
|
|
3441
|
+
* Task Id
|
|
3442
|
+
*
|
|
3443
|
+
* A task in this workspace. Exclusive with `task`.
|
|
3444
|
+
*/
|
|
3445
|
+
task_id?: string | null;
|
|
3446
|
+
/**
|
|
3447
|
+
* Changes for this run only: objects deep-merge, lists replace, null clears.
|
|
3448
|
+
*/
|
|
3449
|
+
task_override?: TaskPatch | null;
|
|
3450
|
+
/**
|
|
3451
|
+
* Task Version
|
|
3452
|
+
*
|
|
3453
|
+
* Which version of `task_id` to run. Omit for the published one; `"draft"` runs the unpublished config, held to the publish checks.
|
|
3454
|
+
*/
|
|
3455
|
+
task_version?: number | 'draft' | null;
|
|
3456
|
+
/**
|
|
3457
|
+
* Vars
|
|
3458
|
+
*
|
|
3459
|
+
* Values for the task's text inputs, by name. Undeclared names are refused.
|
|
3460
|
+
*/
|
|
3461
|
+
vars?: {
|
|
3462
|
+
[key: string]: string;
|
|
3463
|
+
};
|
|
3464
|
+
};
|
|
3465
|
+
|
|
3356
3466
|
/**
|
|
3357
3467
|
* CreateTelephonyAccountRequest
|
|
3358
3468
|
*/
|
|
@@ -3444,11 +3554,11 @@ export type CreateWhatsAppBatchRequest = {
|
|
|
3444
3554
|
*
|
|
3445
3555
|
* Sends per row, the first included, while Meta's per-person limit holds it back.
|
|
3446
3556
|
*/
|
|
3447
|
-
delivery_attempts?: number
|
|
3557
|
+
delivery_attempts?: number;
|
|
3448
3558
|
/**
|
|
3449
3559
|
* Delivery Retry After Hours
|
|
3450
3560
|
*/
|
|
3451
|
-
delivery_retry_after_hours?: number
|
|
3561
|
+
delivery_retry_after_hours?: number;
|
|
3452
3562
|
/**
|
|
3453
3563
|
* Integration Id
|
|
3454
3564
|
*
|
|
@@ -3476,7 +3586,7 @@ export type CreateWhatsAppBatchRequest = {
|
|
|
3476
3586
|
/**
|
|
3477
3587
|
* Send Gap Seconds
|
|
3478
3588
|
*/
|
|
3479
|
-
send_gap_seconds?: number
|
|
3589
|
+
send_gap_seconds?: number;
|
|
3480
3590
|
/**
|
|
3481
3591
|
* Template Id
|
|
3482
3592
|
*
|
|
@@ -3486,7 +3596,7 @@ export type CreateWhatsAppBatchRequest = {
|
|
|
3486
3596
|
/**
|
|
3487
3597
|
* Timezone
|
|
3488
3598
|
*/
|
|
3489
|
-
timezone?: string
|
|
3599
|
+
timezone?: string;
|
|
3490
3600
|
/**
|
|
3491
3601
|
* To Column
|
|
3492
3602
|
*
|
|
@@ -3586,6 +3696,14 @@ export type CreditLedgerEntryResponse = {
|
|
|
3586
3696
|
* Balance After
|
|
3587
3697
|
*/
|
|
3588
3698
|
balance_after: number;
|
|
3699
|
+
/**
|
|
3700
|
+
* Channel
|
|
3701
|
+
*/
|
|
3702
|
+
channel: 'voice' | 'video' | 'text' | null;
|
|
3703
|
+
/**
|
|
3704
|
+
* Conversation Id
|
|
3705
|
+
*/
|
|
3706
|
+
conversation_id: string | null;
|
|
3589
3707
|
/**
|
|
3590
3708
|
* Created At
|
|
3591
3709
|
*/
|
|
@@ -3644,6 +3762,34 @@ export type DeleteRecipientsRequest = {
|
|
|
3644
3762
|
recipient_ids: Array<string>;
|
|
3645
3763
|
};
|
|
3646
3764
|
|
|
3765
|
+
/**
|
|
3766
|
+
* DeleteTaskRunsRequest
|
|
3767
|
+
*/
|
|
3768
|
+
export type DeleteTaskRunsRequest = {
|
|
3769
|
+
/**
|
|
3770
|
+
* Metadata
|
|
3771
|
+
*
|
|
3772
|
+
* Runs whose metadata contains all of these pairs.
|
|
3773
|
+
*/
|
|
3774
|
+
metadata: {
|
|
3775
|
+
[key: string]: unknown | string;
|
|
3776
|
+
};
|
|
3777
|
+
/**
|
|
3778
|
+
* Task Id
|
|
3779
|
+
*/
|
|
3780
|
+
task_id?: string | null;
|
|
3781
|
+
};
|
|
3782
|
+
|
|
3783
|
+
/**
|
|
3784
|
+
* DeleteTaskRunsResponse
|
|
3785
|
+
*/
|
|
3786
|
+
export type DeleteTaskRunsResponse = {
|
|
3787
|
+
/**
|
|
3788
|
+
* Count
|
|
3789
|
+
*/
|
|
3790
|
+
count: number;
|
|
3791
|
+
};
|
|
3792
|
+
|
|
3647
3793
|
/**
|
|
3648
3794
|
* DeliveryError
|
|
3649
3795
|
*
|
|
@@ -4537,6 +4683,30 @@ export type FieldMap = {
|
|
|
4537
4683
|
to: string;
|
|
4538
4684
|
};
|
|
4539
4685
|
|
|
4686
|
+
/**
|
|
4687
|
+
* FileInput
|
|
4688
|
+
*
|
|
4689
|
+
* One PDF for a `file` input: a public https URL, or the bytes as a data URL.
|
|
4690
|
+
*/
|
|
4691
|
+
export type FileInput = {
|
|
4692
|
+
/**
|
|
4693
|
+
* Data Url
|
|
4694
|
+
*
|
|
4695
|
+
* `data:application/pdf;base64,<bytes>`, up to 20 MB decoded.
|
|
4696
|
+
*/
|
|
4697
|
+
data_url?: string | null;
|
|
4698
|
+
/**
|
|
4699
|
+
* Filename
|
|
4700
|
+
*/
|
|
4701
|
+
filename?: string | null;
|
|
4702
|
+
/**
|
|
4703
|
+
* Url
|
|
4704
|
+
*
|
|
4705
|
+
* An https URL the run downloads.
|
|
4706
|
+
*/
|
|
4707
|
+
url?: string | null;
|
|
4708
|
+
};
|
|
4709
|
+
|
|
4540
4710
|
/**
|
|
4541
4711
|
* FixedDailyCap
|
|
4542
4712
|
*
|
|
@@ -5061,6 +5231,10 @@ export type ImportPhoneNumbersRequest = {
|
|
|
5061
5231
|
* Provision
|
|
5062
5232
|
*/
|
|
5063
5233
|
provision?: boolean;
|
|
5234
|
+
/**
|
|
5235
|
+
* Region
|
|
5236
|
+
*/
|
|
5237
|
+
region?: 'us' | 'in' | null;
|
|
5064
5238
|
/**
|
|
5065
5239
|
* Telephony Account Id
|
|
5066
5240
|
*/
|
|
@@ -7659,9 +7833,9 @@ export type PageTaskResponse = {
|
|
|
7659
7833
|
};
|
|
7660
7834
|
|
|
7661
7835
|
/**
|
|
7662
|
-
* Page[
|
|
7836
|
+
* Page[TaskRunSummary]
|
|
7663
7837
|
*/
|
|
7664
|
-
export type
|
|
7838
|
+
export type PageTaskRunSummary = {
|
|
7665
7839
|
/**
|
|
7666
7840
|
* Has More
|
|
7667
7841
|
*/
|
|
@@ -7669,7 +7843,7 @@ export type PageTaskRunResponse = {
|
|
|
7669
7843
|
/**
|
|
7670
7844
|
* Items
|
|
7671
7845
|
*/
|
|
7672
|
-
items: Array<
|
|
7846
|
+
items: Array<TaskRunSummary>;
|
|
7673
7847
|
/**
|
|
7674
7848
|
* Limit
|
|
7675
7849
|
*/
|
|
@@ -7828,7 +8002,7 @@ export type PatchCallBatchRequest = {
|
|
|
7828
8002
|
/**
|
|
7829
8003
|
* Agent Id
|
|
7830
8004
|
*/
|
|
7831
|
-
agent_id?: string
|
|
8005
|
+
agent_id?: string;
|
|
7832
8006
|
calling_window?: TimeWindow | null;
|
|
7833
8007
|
/**
|
|
7834
8008
|
* Dial Daily Cap
|
|
@@ -7841,27 +8015,27 @@ export type PatchCallBatchRequest = {
|
|
|
7841
8015
|
/**
|
|
7842
8016
|
* Dial Gap Seconds
|
|
7843
8017
|
*/
|
|
7844
|
-
dial_gap_seconds?: number
|
|
8018
|
+
dial_gap_seconds?: number;
|
|
7845
8019
|
/**
|
|
7846
8020
|
* From Phone Number Id
|
|
7847
8021
|
*/
|
|
7848
|
-
from_phone_number_id?: string
|
|
8022
|
+
from_phone_number_id?: string;
|
|
7849
8023
|
/**
|
|
7850
8024
|
* Max Attempts
|
|
7851
8025
|
*/
|
|
7852
|
-
max_attempts?: number
|
|
8026
|
+
max_attempts?: number;
|
|
7853
8027
|
/**
|
|
7854
8028
|
* Max Concurrency
|
|
7855
8029
|
*/
|
|
7856
|
-
max_concurrency?: number
|
|
8030
|
+
max_concurrency?: number;
|
|
7857
8031
|
/**
|
|
7858
8032
|
* Name
|
|
7859
8033
|
*/
|
|
7860
|
-
name?: string
|
|
8034
|
+
name?: string;
|
|
7861
8035
|
/**
|
|
7862
8036
|
* Retry After Minutes
|
|
7863
8037
|
*/
|
|
7864
|
-
retry_after_minutes?: number
|
|
8038
|
+
retry_after_minutes?: number;
|
|
7865
8039
|
/**
|
|
7866
8040
|
* Start At
|
|
7867
8041
|
*/
|
|
@@ -7869,7 +8043,7 @@ export type PatchCallBatchRequest = {
|
|
|
7869
8043
|
/**
|
|
7870
8044
|
* Timezone
|
|
7871
8045
|
*/
|
|
7872
|
-
timezone?: string
|
|
8046
|
+
timezone?: string;
|
|
7873
8047
|
};
|
|
7874
8048
|
|
|
7875
8049
|
/**
|
|
@@ -7881,7 +8055,7 @@ export type PatchConversationRequest = {
|
|
|
7881
8055
|
*/
|
|
7882
8056
|
metadata?: {
|
|
7883
8057
|
[key: string]: unknown;
|
|
7884
|
-
}
|
|
8058
|
+
};
|
|
7885
8059
|
/**
|
|
7886
8060
|
* Summary
|
|
7887
8061
|
*/
|
|
@@ -7891,7 +8065,7 @@ export type PatchConversationRequest = {
|
|
|
7891
8065
|
*/
|
|
7892
8066
|
userdata?: {
|
|
7893
8067
|
[key: string]: unknown;
|
|
7894
|
-
}
|
|
8068
|
+
};
|
|
7895
8069
|
};
|
|
7896
8070
|
|
|
7897
8071
|
/**
|
|
@@ -7913,28 +8087,31 @@ export type PatchEmailBatchRequest = {
|
|
|
7913
8087
|
/**
|
|
7914
8088
|
* Body Format
|
|
7915
8089
|
*/
|
|
7916
|
-
body_format?: 'text' | 'html'
|
|
8090
|
+
body_format?: 'text' | 'html';
|
|
7917
8091
|
/**
|
|
7918
8092
|
* Draft Attempts
|
|
7919
8093
|
*/
|
|
7920
|
-
draft_attempts?: number
|
|
8094
|
+
draft_attempts?: number;
|
|
7921
8095
|
/**
|
|
7922
8096
|
* Draft Concurrency
|
|
7923
8097
|
*/
|
|
7924
|
-
draft_concurrency?: number
|
|
8098
|
+
draft_concurrency?: number;
|
|
7925
8099
|
/**
|
|
7926
8100
|
* Draft Gap Seconds
|
|
7927
8101
|
*/
|
|
7928
|
-
draft_gap_seconds?: number
|
|
8102
|
+
draft_gap_seconds?: number;
|
|
7929
8103
|
/**
|
|
7930
8104
|
* Draft Retry After Minutes
|
|
7931
8105
|
*/
|
|
7932
|
-
draft_retry_after_minutes?: number
|
|
7933
|
-
|
|
8106
|
+
draft_retry_after_minutes?: number;
|
|
8107
|
+
/**
|
|
8108
|
+
* Field Map
|
|
8109
|
+
*/
|
|
8110
|
+
field_map?: FieldMap;
|
|
7934
8111
|
/**
|
|
7935
8112
|
* From Email
|
|
7936
8113
|
*/
|
|
7937
|
-
from_email?: string
|
|
8114
|
+
from_email?: string;
|
|
7938
8115
|
/**
|
|
7939
8116
|
* From Name
|
|
7940
8117
|
*/
|
|
@@ -7942,7 +8119,7 @@ export type PatchEmailBatchRequest = {
|
|
|
7942
8119
|
/**
|
|
7943
8120
|
* Name
|
|
7944
8121
|
*/
|
|
7945
|
-
name?: string
|
|
8122
|
+
name?: string;
|
|
7946
8123
|
/**
|
|
7947
8124
|
* Reply To
|
|
7948
8125
|
*/
|
|
@@ -7950,7 +8127,7 @@ export type PatchEmailBatchRequest = {
|
|
|
7950
8127
|
/**
|
|
7951
8128
|
* Send Attempts
|
|
7952
8129
|
*/
|
|
7953
|
-
send_attempts?: number
|
|
8130
|
+
send_attempts?: number;
|
|
7954
8131
|
/**
|
|
7955
8132
|
* Send Daily Cap
|
|
7956
8133
|
*/
|
|
@@ -7962,11 +8139,11 @@ export type PatchEmailBatchRequest = {
|
|
|
7962
8139
|
/**
|
|
7963
8140
|
* Send Gap Seconds
|
|
7964
8141
|
*/
|
|
7965
|
-
send_gap_seconds?: number
|
|
8142
|
+
send_gap_seconds?: number;
|
|
7966
8143
|
/**
|
|
7967
8144
|
* Send Retry After Minutes
|
|
7968
8145
|
*/
|
|
7969
|
-
send_retry_after_minutes?: number
|
|
8146
|
+
send_retry_after_minutes?: number;
|
|
7970
8147
|
/**
|
|
7971
8148
|
* Start At
|
|
7972
8149
|
*/
|
|
@@ -7974,7 +8151,7 @@ export type PatchEmailBatchRequest = {
|
|
|
7974
8151
|
/**
|
|
7975
8152
|
* Timezone
|
|
7976
8153
|
*/
|
|
7977
|
-
timezone?: string
|
|
8154
|
+
timezone?: string;
|
|
7978
8155
|
window?: TimeWindow | null;
|
|
7979
8156
|
};
|
|
7980
8157
|
|
|
@@ -8011,7 +8188,7 @@ export type PatchEmailSendRequest = {
|
|
|
8011
8188
|
/**
|
|
8012
8189
|
* Send Attempts
|
|
8013
8190
|
*/
|
|
8014
|
-
send_attempts?: number
|
|
8191
|
+
send_attempts?: number;
|
|
8015
8192
|
/**
|
|
8016
8193
|
* Send Daily Cap
|
|
8017
8194
|
*/
|
|
@@ -8023,11 +8200,11 @@ export type PatchEmailSendRequest = {
|
|
|
8023
8200
|
/**
|
|
8024
8201
|
* Send Gap Seconds
|
|
8025
8202
|
*/
|
|
8026
|
-
send_gap_seconds?: number
|
|
8203
|
+
send_gap_seconds?: number;
|
|
8027
8204
|
/**
|
|
8028
8205
|
* Send Retry After Minutes
|
|
8029
8206
|
*/
|
|
8030
|
-
send_retry_after_minutes?: number
|
|
8207
|
+
send_retry_after_minutes?: number;
|
|
8031
8208
|
/**
|
|
8032
8209
|
* Start At
|
|
8033
8210
|
*/
|
|
@@ -8035,7 +8212,7 @@ export type PatchEmailSendRequest = {
|
|
|
8035
8212
|
/**
|
|
8036
8213
|
* Timezone
|
|
8037
8214
|
*/
|
|
8038
|
-
timezone?: string
|
|
8215
|
+
timezone?: string;
|
|
8039
8216
|
window?: TimeWindow | null;
|
|
8040
8217
|
};
|
|
8041
8218
|
|
|
@@ -8046,47 +8223,47 @@ export type PatchIntegrationRequest = {
|
|
|
8046
8223
|
/**
|
|
8047
8224
|
* Allowed Tools
|
|
8048
8225
|
*/
|
|
8049
|
-
allowed_tools?: Array<string
|
|
8226
|
+
allowed_tools?: Array<string>;
|
|
8050
8227
|
/**
|
|
8051
8228
|
* Credentials Ref
|
|
8052
8229
|
*/
|
|
8053
|
-
credentials_ref?: string
|
|
8230
|
+
credentials_ref?: string;
|
|
8054
8231
|
/**
|
|
8055
8232
|
* Display Name
|
|
8056
8233
|
*/
|
|
8057
|
-
display_name?: string
|
|
8234
|
+
display_name?: string;
|
|
8058
8235
|
/**
|
|
8059
8236
|
* Mcp Config
|
|
8060
8237
|
*/
|
|
8061
8238
|
mcp_config?: {
|
|
8062
8239
|
[key: string]: unknown;
|
|
8063
|
-
}
|
|
8240
|
+
};
|
|
8064
8241
|
/**
|
|
8065
8242
|
* Metadata
|
|
8066
8243
|
*/
|
|
8067
8244
|
metadata?: {
|
|
8068
8245
|
[key: string]: unknown;
|
|
8069
|
-
}
|
|
8246
|
+
};
|
|
8070
8247
|
/**
|
|
8071
8248
|
* Provider Account Info
|
|
8072
8249
|
*/
|
|
8073
8250
|
provider_account_info?: {
|
|
8074
8251
|
[key: string]: unknown;
|
|
8075
|
-
}
|
|
8252
|
+
};
|
|
8076
8253
|
/**
|
|
8077
8254
|
* Status
|
|
8078
8255
|
*/
|
|
8079
|
-
status?: 'active' | 'disabled' | 'needs_reconnect' | 'error'
|
|
8256
|
+
status?: 'active' | 'disabled' | 'needs_reconnect' | 'error';
|
|
8080
8257
|
/**
|
|
8081
8258
|
* Tools Namespace
|
|
8082
8259
|
*/
|
|
8083
|
-
tools_namespace?: string
|
|
8260
|
+
tools_namespace?: string;
|
|
8084
8261
|
/**
|
|
8085
8262
|
* Webhook Config
|
|
8086
8263
|
*/
|
|
8087
8264
|
webhook_config?: {
|
|
8088
8265
|
[key: string]: unknown;
|
|
8089
|
-
}
|
|
8266
|
+
};
|
|
8090
8267
|
};
|
|
8091
8268
|
|
|
8092
8269
|
/**
|
|
@@ -8100,13 +8277,13 @@ export type PatchIntegrationTriggerRequest = {
|
|
|
8100
8277
|
/**
|
|
8101
8278
|
* Enabled
|
|
8102
8279
|
*/
|
|
8103
|
-
enabled?: boolean
|
|
8280
|
+
enabled?: boolean;
|
|
8104
8281
|
/**
|
|
8105
8282
|
* Metadata
|
|
8106
8283
|
*/
|
|
8107
8284
|
metadata?: {
|
|
8108
8285
|
[key: string]: unknown;
|
|
8109
|
-
}
|
|
8286
|
+
};
|
|
8110
8287
|
/**
|
|
8111
8288
|
* Provider Subscription Ref
|
|
8112
8289
|
*/
|
|
@@ -8114,15 +8291,15 @@ export type PatchIntegrationTriggerRequest = {
|
|
|
8114
8291
|
/**
|
|
8115
8292
|
* Reply Mode
|
|
8116
8293
|
*/
|
|
8117
|
-
reply_mode?: 'public_reply' | 'internal_note' | 'none'
|
|
8294
|
+
reply_mode?: 'public_reply' | 'internal_note' | 'none';
|
|
8118
8295
|
/**
|
|
8119
8296
|
* Status
|
|
8120
8297
|
*/
|
|
8121
|
-
status?: 'active' | 'disabled' | 'needs_setup' | 'error'
|
|
8298
|
+
status?: 'active' | 'disabled' | 'needs_setup' | 'error';
|
|
8122
8299
|
/**
|
|
8123
8300
|
* Trigger Type
|
|
8124
8301
|
*/
|
|
8125
|
-
trigger_type?: 'telegram.message.inbound' | 'whatsapp.message.inbound' | 'whatsapp.call.inbound'
|
|
8302
|
+
trigger_type?: 'telegram.message.inbound' | 'whatsapp.message.inbound' | 'whatsapp.call.inbound';
|
|
8126
8303
|
};
|
|
8127
8304
|
|
|
8128
8305
|
/**
|
|
@@ -8132,19 +8309,23 @@ export type PatchPhoneNumberRequest = {
|
|
|
8132
8309
|
/**
|
|
8133
8310
|
* Can Inbound
|
|
8134
8311
|
*/
|
|
8135
|
-
can_inbound?: boolean
|
|
8312
|
+
can_inbound?: boolean;
|
|
8136
8313
|
/**
|
|
8137
8314
|
* Can Outbound
|
|
8138
8315
|
*/
|
|
8139
|
-
can_outbound?: boolean
|
|
8316
|
+
can_outbound?: boolean;
|
|
8140
8317
|
/**
|
|
8141
8318
|
* Label
|
|
8142
8319
|
*/
|
|
8143
8320
|
label?: string | null;
|
|
8321
|
+
/**
|
|
8322
|
+
* Region
|
|
8323
|
+
*/
|
|
8324
|
+
region?: 'us' | 'in';
|
|
8144
8325
|
/**
|
|
8145
8326
|
* Status
|
|
8146
8327
|
*/
|
|
8147
|
-
status?: 'disabled' | 'pending'
|
|
8328
|
+
status?: 'disabled' | 'pending';
|
|
8148
8329
|
};
|
|
8149
8330
|
|
|
8150
8331
|
/**
|
|
@@ -8154,15 +8335,19 @@ export type PatchStreamConnectionRequest = {
|
|
|
8154
8335
|
/**
|
|
8155
8336
|
* Agent Id
|
|
8156
8337
|
*/
|
|
8157
|
-
agent_id?: string
|
|
8338
|
+
agent_id?: string;
|
|
8158
8339
|
/**
|
|
8159
8340
|
* Name
|
|
8160
8341
|
*/
|
|
8161
|
-
name?: string
|
|
8342
|
+
name?: string;
|
|
8343
|
+
/**
|
|
8344
|
+
* Region
|
|
8345
|
+
*/
|
|
8346
|
+
region?: 'us' | 'in';
|
|
8162
8347
|
/**
|
|
8163
8348
|
* Status
|
|
8164
8349
|
*/
|
|
8165
|
-
status?: 'active' | 'disabled'
|
|
8350
|
+
status?: 'active' | 'disabled';
|
|
8166
8351
|
};
|
|
8167
8352
|
|
|
8168
8353
|
/**
|
|
@@ -8184,25 +8369,29 @@ export type PatchTelephonyAccountRequest = {
|
|
|
8184
8369
|
*/
|
|
8185
8370
|
account_info?: {
|
|
8186
8371
|
[key: string]: unknown;
|
|
8187
|
-
}
|
|
8372
|
+
};
|
|
8188
8373
|
/**
|
|
8189
8374
|
* Console Setup Confirmed
|
|
8190
8375
|
*/
|
|
8191
|
-
console_setup_confirmed?: boolean
|
|
8376
|
+
console_setup_confirmed?: boolean;
|
|
8377
|
+
/**
|
|
8378
|
+
* Console Setup Region
|
|
8379
|
+
*/
|
|
8380
|
+
console_setup_region?: 'us' | 'in';
|
|
8192
8381
|
/**
|
|
8193
8382
|
* Credentials
|
|
8194
8383
|
*/
|
|
8195
8384
|
credentials?: {
|
|
8196
8385
|
[key: string]: string;
|
|
8197
|
-
}
|
|
8386
|
+
};
|
|
8198
8387
|
/**
|
|
8199
8388
|
* Display Name
|
|
8200
8389
|
*/
|
|
8201
|
-
display_name?: string
|
|
8390
|
+
display_name?: string;
|
|
8202
8391
|
/**
|
|
8203
8392
|
* Status
|
|
8204
8393
|
*/
|
|
8205
|
-
status?: 'disabled' | 'connected'
|
|
8394
|
+
status?: 'disabled' | 'connected';
|
|
8206
8395
|
};
|
|
8207
8396
|
|
|
8208
8397
|
/**
|
|
@@ -8212,33 +8401,33 @@ export type PatchToolRequest = {
|
|
|
8212
8401
|
/**
|
|
8213
8402
|
* Description
|
|
8214
8403
|
*/
|
|
8215
|
-
description?: string
|
|
8404
|
+
description?: string;
|
|
8216
8405
|
/**
|
|
8217
8406
|
* Disable Interruptions
|
|
8218
8407
|
*/
|
|
8219
|
-
disable_interruptions?: boolean
|
|
8408
|
+
disable_interruptions?: boolean;
|
|
8220
8409
|
/**
|
|
8221
8410
|
* Json Schema
|
|
8222
8411
|
*/
|
|
8223
8412
|
json_schema?: {
|
|
8224
8413
|
[key: string]: unknown;
|
|
8225
|
-
}
|
|
8414
|
+
};
|
|
8226
8415
|
/**
|
|
8227
8416
|
* Long Running Task
|
|
8228
8417
|
*/
|
|
8229
|
-
long_running_task?: boolean
|
|
8418
|
+
long_running_task?: boolean;
|
|
8230
8419
|
/**
|
|
8231
8420
|
* Name
|
|
8232
8421
|
*/
|
|
8233
|
-
name?: string
|
|
8422
|
+
name?: string;
|
|
8234
8423
|
/**
|
|
8235
8424
|
* Operations
|
|
8236
8425
|
*/
|
|
8237
|
-
operations?: Array<HttpOperation | CodeOperation | FrontendRpcOperation | IfOperation | SetVariableOperation | SayOperation | GenerateReplyOperation | AddMessageOperation | EndCallOperation | HandoffOperation | TransferOperation | SendDtmfOperation
|
|
8426
|
+
operations?: Array<HttpOperation | CodeOperation | FrontendRpcOperation | IfOperation | SetVariableOperation | SayOperation | GenerateReplyOperation | AddMessageOperation | EndCallOperation | HandoffOperation | TransferOperation | SendDtmfOperation>;
|
|
8238
8427
|
/**
|
|
8239
8428
|
* Silent
|
|
8240
8429
|
*/
|
|
8241
|
-
silent?: boolean
|
|
8430
|
+
silent?: boolean;
|
|
8242
8431
|
};
|
|
8243
8432
|
|
|
8244
8433
|
/**
|
|
@@ -8248,15 +8437,15 @@ export type PatchWebhookRequest = {
|
|
|
8248
8437
|
/**
|
|
8249
8438
|
* Status
|
|
8250
8439
|
*/
|
|
8251
|
-
status?: 'active' | 'disabled'
|
|
8440
|
+
status?: 'active' | 'disabled';
|
|
8252
8441
|
/**
|
|
8253
8442
|
* Subscribed Events
|
|
8254
8443
|
*/
|
|
8255
|
-
subscribed_events?: Array<string
|
|
8444
|
+
subscribed_events?: Array<string>;
|
|
8256
8445
|
/**
|
|
8257
8446
|
* Url
|
|
8258
8447
|
*/
|
|
8259
|
-
url?: string
|
|
8448
|
+
url?: string;
|
|
8260
8449
|
};
|
|
8261
8450
|
|
|
8262
8451
|
/**
|
|
@@ -8270,15 +8459,15 @@ export type PatchWhatsAppBatchRequest = {
|
|
|
8270
8459
|
*
|
|
8271
8460
|
* Sends per row, the first included, while Meta's per-person limit holds it back.
|
|
8272
8461
|
*/
|
|
8273
|
-
delivery_attempts?: number
|
|
8462
|
+
delivery_attempts?: number;
|
|
8274
8463
|
/**
|
|
8275
8464
|
* Delivery Retry After Hours
|
|
8276
8465
|
*/
|
|
8277
|
-
delivery_retry_after_hours?: number
|
|
8466
|
+
delivery_retry_after_hours?: number;
|
|
8278
8467
|
/**
|
|
8279
8468
|
* Name
|
|
8280
8469
|
*/
|
|
8281
|
-
name?: string
|
|
8470
|
+
name?: string;
|
|
8282
8471
|
/**
|
|
8283
8472
|
* Send Daily Cap
|
|
8284
8473
|
*
|
|
@@ -8292,7 +8481,7 @@ export type PatchWhatsAppBatchRequest = {
|
|
|
8292
8481
|
/**
|
|
8293
8482
|
* Send Gap Seconds
|
|
8294
8483
|
*/
|
|
8295
|
-
send_gap_seconds?: number
|
|
8484
|
+
send_gap_seconds?: number;
|
|
8296
8485
|
/**
|
|
8297
8486
|
* Start At
|
|
8298
8487
|
*/
|
|
@@ -8300,13 +8489,13 @@ export type PatchWhatsAppBatchRequest = {
|
|
|
8300
8489
|
/**
|
|
8301
8490
|
* Timezone
|
|
8302
8491
|
*/
|
|
8303
|
-
timezone?: string
|
|
8492
|
+
timezone?: string;
|
|
8304
8493
|
/**
|
|
8305
8494
|
* Variable Map
|
|
8306
8495
|
*/
|
|
8307
8496
|
variable_map?: {
|
|
8308
8497
|
[key: string]: string;
|
|
8309
|
-
}
|
|
8498
|
+
};
|
|
8310
8499
|
window?: TimeWindow | null;
|
|
8311
8500
|
};
|
|
8312
8501
|
|
|
@@ -8386,6 +8575,10 @@ export type PhoneNumberResponse = {
|
|
|
8386
8575
|
* Readiness
|
|
8387
8576
|
*/
|
|
8388
8577
|
readiness: 'live' | 'needs_agent' | 'needs_carrier_setup' | 'setting_up' | 'error' | 'disabled';
|
|
8578
|
+
/**
|
|
8579
|
+
* Region
|
|
8580
|
+
*/
|
|
8581
|
+
region: 'us' | 'in';
|
|
8389
8582
|
/**
|
|
8390
8583
|
* Status
|
|
8391
8584
|
*/
|
|
@@ -8632,6 +8825,7 @@ export type ProviderEntryResponse = {
|
|
|
8632
8825
|
* Logo Url
|
|
8633
8826
|
*/
|
|
8634
8827
|
logo_url: string;
|
|
8828
|
+
routes: Routes | null;
|
|
8635
8829
|
/**
|
|
8636
8830
|
* Searched Kinds
|
|
8637
8831
|
*/
|
|
@@ -9346,6 +9540,20 @@ export type RedraftRequest = {
|
|
|
9346
9540
|
selection?: 'all' | 'failed' | 'not_sent' | 'stale_version' | null;
|
|
9347
9541
|
};
|
|
9348
9542
|
|
|
9543
|
+
/**
|
|
9544
|
+
* RegionOption
|
|
9545
|
+
*/
|
|
9546
|
+
export type RegionOption = {
|
|
9547
|
+
/**
|
|
9548
|
+
* Id
|
|
9549
|
+
*/
|
|
9550
|
+
id: 'us' | 'in';
|
|
9551
|
+
/**
|
|
9552
|
+
* Name
|
|
9553
|
+
*/
|
|
9554
|
+
name: string;
|
|
9555
|
+
};
|
|
9556
|
+
|
|
9349
9557
|
/**
|
|
9350
9558
|
* RejectedRecipient
|
|
9351
9559
|
*/
|
|
@@ -9407,65 +9615,122 @@ export type ReplyLatency = {
|
|
|
9407
9615
|
};
|
|
9408
9616
|
|
|
9409
9617
|
/**
|
|
9410
|
-
*
|
|
9411
|
-
|
|
9412
|
-
|
|
9618
|
+
* ResumeCallRequest
|
|
9619
|
+
*/
|
|
9620
|
+
export type ResumeCallRequest = {
|
|
9621
|
+
/**
|
|
9622
|
+
* Region
|
|
9623
|
+
*/
|
|
9624
|
+
region?: 'us' | 'in';
|
|
9625
|
+
};
|
|
9626
|
+
|
|
9627
|
+
/**
|
|
9628
|
+
* RoutedTTS
|
|
9413
9629
|
*
|
|
9414
|
-
*
|
|
9415
|
-
*
|
|
9416
|
-
* else-branch of the third operation.
|
|
9630
|
+
* The text-to-speech a router serves: other providers' TTS entries, reached
|
|
9631
|
+
* through it, plus the rate it bills for what it serves from its cache.
|
|
9417
9632
|
*/
|
|
9418
|
-
export type
|
|
9633
|
+
export type RoutedTTS = {
|
|
9419
9634
|
/**
|
|
9420
|
-
*
|
|
9635
|
+
* Cached Per Character
|
|
9421
9636
|
*/
|
|
9422
|
-
|
|
9423
|
-
[key: string]: unknown;
|
|
9424
|
-
};
|
|
9637
|
+
cached_per_character: number;
|
|
9425
9638
|
/**
|
|
9426
|
-
*
|
|
9639
|
+
* Providers
|
|
9427
9640
|
*/
|
|
9428
|
-
|
|
9641
|
+
providers: Array<string>;
|
|
9642
|
+
};
|
|
9643
|
+
|
|
9644
|
+
/**
|
|
9645
|
+
* Routes
|
|
9646
|
+
*
|
|
9647
|
+
* What a router provider serves. Its entries are not written out: each one
|
|
9648
|
+
* is a routed provider's own entry under the model id `<provider>/<model>`,
|
|
9649
|
+
* built at load (`Catalog._route_entries`), so voices, languages, speed bounds
|
|
9650
|
+
* and the provider's rates can never drift from the provider's entry.
|
|
9651
|
+
*/
|
|
9652
|
+
export type Routes = {
|
|
9653
|
+
tts: RoutedTTS;
|
|
9654
|
+
};
|
|
9655
|
+
|
|
9656
|
+
/**
|
|
9657
|
+
* RunItem
|
|
9658
|
+
*
|
|
9659
|
+
* One run's inputs and labels.
|
|
9660
|
+
*/
|
|
9661
|
+
export type RunItem = {
|
|
9429
9662
|
/**
|
|
9430
|
-
*
|
|
9663
|
+
* Files
|
|
9664
|
+
*
|
|
9665
|
+
* One PDF per declared `file` input, by name.
|
|
9431
9666
|
*/
|
|
9432
|
-
|
|
9667
|
+
files?: {
|
|
9668
|
+
[key: string]: FileInput;
|
|
9669
|
+
};
|
|
9433
9670
|
/**
|
|
9434
|
-
*
|
|
9671
|
+
* Idempotency Key
|
|
9672
|
+
*
|
|
9673
|
+
* Resending the same key returns the existing run instead of starting another.
|
|
9435
9674
|
*/
|
|
9436
|
-
|
|
9675
|
+
idempotency_key?: string | null;
|
|
9437
9676
|
/**
|
|
9438
|
-
*
|
|
9439
|
-
|
|
9440
|
-
|
|
9441
|
-
/**
|
|
9442
|
-
* Published
|
|
9677
|
+
* Metadata
|
|
9678
|
+
*
|
|
9679
|
+
* Up to 16 string labels of your own, for filtering.
|
|
9443
9680
|
*/
|
|
9444
|
-
|
|
9681
|
+
metadata?: {
|
|
9682
|
+
[key: string]: unknown | string;
|
|
9683
|
+
};
|
|
9445
9684
|
/**
|
|
9446
|
-
*
|
|
9685
|
+
* Vars
|
|
9686
|
+
*
|
|
9687
|
+
* Values for the task's text inputs, by name. Undeclared names are refused.
|
|
9447
9688
|
*/
|
|
9448
|
-
|
|
9689
|
+
vars?: {
|
|
9690
|
+
[key: string]: string;
|
|
9691
|
+
};
|
|
9449
9692
|
};
|
|
9450
9693
|
|
|
9451
9694
|
/**
|
|
9452
|
-
*
|
|
9695
|
+
* RunStepResponse
|
|
9696
|
+
*
|
|
9697
|
+
* One operation's outcome.
|
|
9698
|
+
*
|
|
9699
|
+
* `path` locates the operation in the tree — the node's index, joined to its
|
|
9700
|
+
* parent by `.then.` or `.else.`, so `2.else.1` is the second child of the
|
|
9701
|
+
* else-branch of the third operation.
|
|
9453
9702
|
*/
|
|
9454
|
-
export type
|
|
9703
|
+
export type RunStepResponse = {
|
|
9455
9704
|
/**
|
|
9456
|
-
*
|
|
9457
|
-
*
|
|
9458
|
-
* Values for the variables this task declares, by name. A `required` variable with no value and no default is refused before the run starts; a name the task does not declare is refused too, rather than silently dropped.
|
|
9705
|
+
* Detail
|
|
9459
9706
|
*/
|
|
9460
|
-
|
|
9461
|
-
[key: string]:
|
|
9707
|
+
detail?: {
|
|
9708
|
+
[key: string]: unknown;
|
|
9462
9709
|
};
|
|
9463
9710
|
/**
|
|
9464
|
-
*
|
|
9465
|
-
*
|
|
9466
|
-
* Which definition to run. Omitted runs the published version. A number runs that frozen version. 'draft' runs the unpublished config, validated and tool-pinned at request time and refused with the publish errors if it does not hold together.
|
|
9711
|
+
* Duration Ms
|
|
9467
9712
|
*/
|
|
9468
|
-
|
|
9713
|
+
duration_ms: number;
|
|
9714
|
+
/**
|
|
9715
|
+
* Error
|
|
9716
|
+
*/
|
|
9717
|
+
error?: string | null;
|
|
9718
|
+
/**
|
|
9719
|
+
* Kind
|
|
9720
|
+
*/
|
|
9721
|
+
kind: string;
|
|
9722
|
+
/**
|
|
9723
|
+
* Path
|
|
9724
|
+
*/
|
|
9725
|
+
path: string;
|
|
9726
|
+
/**
|
|
9727
|
+
* Published
|
|
9728
|
+
*/
|
|
9729
|
+
published?: Array<PublishedValueResponse>;
|
|
9730
|
+
/**
|
|
9731
|
+
* Status
|
|
9732
|
+
*/
|
|
9733
|
+
status: string;
|
|
9469
9734
|
};
|
|
9470
9735
|
|
|
9471
9736
|
/**
|
|
@@ -9943,11 +10208,11 @@ export type SendWhatsAppBatchRequest = {
|
|
|
9943
10208
|
*
|
|
9944
10209
|
* Sends per row, the first included, while Meta's per-person limit holds it back.
|
|
9945
10210
|
*/
|
|
9946
|
-
delivery_attempts?: number
|
|
10211
|
+
delivery_attempts?: number;
|
|
9947
10212
|
/**
|
|
9948
10213
|
* Delivery Retry After Hours
|
|
9949
10214
|
*/
|
|
9950
|
-
delivery_retry_after_hours?: number
|
|
10215
|
+
delivery_retry_after_hours?: number;
|
|
9951
10216
|
/**
|
|
9952
10217
|
* Send Daily Cap
|
|
9953
10218
|
*
|
|
@@ -9961,7 +10226,7 @@ export type SendWhatsAppBatchRequest = {
|
|
|
9961
10226
|
/**
|
|
9962
10227
|
* Send Gap Seconds
|
|
9963
10228
|
*/
|
|
9964
|
-
send_gap_seconds?: number
|
|
10229
|
+
send_gap_seconds?: number;
|
|
9965
10230
|
/**
|
|
9966
10231
|
* Start At
|
|
9967
10232
|
*/
|
|
@@ -9969,7 +10234,7 @@ export type SendWhatsAppBatchRequest = {
|
|
|
9969
10234
|
/**
|
|
9970
10235
|
* Timezone
|
|
9971
10236
|
*/
|
|
9972
|
-
timezone?: string
|
|
10237
|
+
timezone?: string;
|
|
9973
10238
|
window?: TimeWindow | null;
|
|
9974
10239
|
};
|
|
9975
10240
|
|
|
@@ -10321,6 +10586,10 @@ export type StreamConnectionResponse = {
|
|
|
10321
10586
|
* Readiness
|
|
10322
10587
|
*/
|
|
10323
10588
|
readiness: 'live' | 'needs_agent' | 'disabled';
|
|
10589
|
+
/**
|
|
10590
|
+
* Region
|
|
10591
|
+
*/
|
|
10592
|
+
region: 'us' | 'in';
|
|
10324
10593
|
/**
|
|
10325
10594
|
* Status
|
|
10326
10595
|
*/
|
|
@@ -10560,6 +10829,10 @@ export type TTSPriceLine = {
|
|
|
10560
10829
|
* Audio Duration
|
|
10561
10830
|
*/
|
|
10562
10831
|
audio_duration: number | null;
|
|
10832
|
+
/**
|
|
10833
|
+
* Cached Characters
|
|
10834
|
+
*/
|
|
10835
|
+
cached_characters: number | null;
|
|
10563
10836
|
/**
|
|
10564
10837
|
* Characters Count
|
|
10565
10838
|
*/
|
|
@@ -10595,6 +10868,10 @@ export type TTSPriceLine = {
|
|
|
10595
10868
|
* TTSPricing
|
|
10596
10869
|
*/
|
|
10597
10870
|
export type TTSPricing = {
|
|
10871
|
+
/**
|
|
10872
|
+
* Cached Per Character
|
|
10873
|
+
*/
|
|
10874
|
+
cached_per_character?: number | null;
|
|
10598
10875
|
/**
|
|
10599
10876
|
* Input Per 1M
|
|
10600
10877
|
*/
|
|
@@ -10705,6 +10982,10 @@ export type TTSUsage = {
|
|
|
10705
10982
|
* Audio Duration
|
|
10706
10983
|
*/
|
|
10707
10984
|
audio_duration: number;
|
|
10985
|
+
/**
|
|
10986
|
+
* Cached Characters
|
|
10987
|
+
*/
|
|
10988
|
+
cached_characters: number;
|
|
10708
10989
|
/**
|
|
10709
10990
|
* Characters Count
|
|
10710
10991
|
*/
|
|
@@ -10735,6 +11016,10 @@ export type TTSUsageResponse = {
|
|
|
10735
11016
|
* Audio Duration
|
|
10736
11017
|
*/
|
|
10737
11018
|
audio_duration: number;
|
|
11019
|
+
/**
|
|
11020
|
+
* Cached Characters
|
|
11021
|
+
*/
|
|
11022
|
+
cached_characters: number;
|
|
10738
11023
|
/**
|
|
10739
11024
|
* Characters Count
|
|
10740
11025
|
*/
|
|
@@ -10764,7 +11049,7 @@ export type TTSUsageResponse = {
|
|
|
10764
11049
|
*
|
|
10765
11050
|
* It declares no channel, no media and no greeting. Entered by an agent it
|
|
10766
11051
|
* speaks with that call's voice and hears with its ears; run on its own from
|
|
10767
|
-
* `POST /
|
|
11052
|
+
* `POST /task-runs` it is an LLM with tools and nobody to talk to. Which
|
|
10768
11053
|
* of the two happens is the caller's, never the task's.
|
|
10769
11054
|
*/
|
|
10770
11055
|
export type TaskConfig = {
|
|
@@ -10805,7 +11090,7 @@ export type TaskConfig = {
|
|
|
10805
11090
|
/**
|
|
10806
11091
|
* Output
|
|
10807
11092
|
*
|
|
10808
|
-
* The typed value this task produces
|
|
11093
|
+
* The typed value this task produces: up to 25 top-level fields, nesting up to 4 levels and 100 fields in all. The model finishes by calling a `submit_result` tool built from them. Publishing needs at least one.
|
|
10809
11094
|
*/
|
|
10810
11095
|
output?: Array<TaskOutputField>;
|
|
10811
11096
|
/**
|
|
@@ -10849,9 +11134,7 @@ export type TaskConfig = {
|
|
|
10849
11134
|
/**
|
|
10850
11135
|
* TaskOutputField
|
|
10851
11136
|
*
|
|
10852
|
-
* One value the model must produce.
|
|
10853
|
-
*
|
|
10854
|
-
* Flat scalars only — no arrays and no nested objects.
|
|
11137
|
+
* One value the model must produce: a scalar, an object of named fields, or an array.
|
|
10855
11138
|
*/
|
|
10856
11139
|
export type TaskOutputField = {
|
|
10857
11140
|
/**
|
|
@@ -10860,6 +11143,22 @@ export type TaskOutputField = {
|
|
|
10860
11143
|
* What the model should put here, and what to send when it cannot find out. This is the field's description in the tool schema, so it is literally the prompt for this value.
|
|
10861
11144
|
*/
|
|
10862
11145
|
description: string;
|
|
11146
|
+
/**
|
|
11147
|
+
* Enum
|
|
11148
|
+
*
|
|
11149
|
+
* Allowed values. Strings only.
|
|
11150
|
+
*/
|
|
11151
|
+
enum?: Array<string> | null;
|
|
11152
|
+
/**
|
|
11153
|
+
* Fields
|
|
11154
|
+
*
|
|
11155
|
+
* An object's fields.
|
|
11156
|
+
*/
|
|
11157
|
+
fields?: Array<TaskOutputField> | null;
|
|
11158
|
+
/**
|
|
11159
|
+
* An array's element.
|
|
11160
|
+
*/
|
|
11161
|
+
items?: TaskOutputItem | null;
|
|
10863
11162
|
/**
|
|
10864
11163
|
* Name
|
|
10865
11164
|
*
|
|
@@ -10875,9 +11174,43 @@ export type TaskOutputField = {
|
|
|
10875
11174
|
/**
|
|
10876
11175
|
* Type
|
|
10877
11176
|
*
|
|
10878
|
-
* The shape of the value.
|
|
11177
|
+
* The shape of the value. `object` takes `fields`; `array` takes `items`.
|
|
10879
11178
|
*/
|
|
10880
|
-
type?: 'string' | 'boolean' | 'integer' | 'number';
|
|
11179
|
+
type?: 'string' | 'boolean' | 'integer' | 'number' | 'object' | 'array';
|
|
11180
|
+
};
|
|
11181
|
+
|
|
11182
|
+
/**
|
|
11183
|
+
* TaskOutputItem
|
|
11184
|
+
*
|
|
11185
|
+
* What an array holds: one element's shape. Unnamed, and never null.
|
|
11186
|
+
*/
|
|
11187
|
+
export type TaskOutputItem = {
|
|
11188
|
+
/**
|
|
11189
|
+
* Description
|
|
11190
|
+
*
|
|
11191
|
+
* What one element is.
|
|
11192
|
+
*/
|
|
11193
|
+
description?: string;
|
|
11194
|
+
/**
|
|
11195
|
+
* Enum
|
|
11196
|
+
*
|
|
11197
|
+
* Allowed values. Strings only.
|
|
11198
|
+
*/
|
|
11199
|
+
enum?: Array<string> | null;
|
|
11200
|
+
/**
|
|
11201
|
+
* Fields
|
|
11202
|
+
*
|
|
11203
|
+
* An object element's fields.
|
|
11204
|
+
*/
|
|
11205
|
+
fields?: Array<TaskOutputField> | null;
|
|
11206
|
+
/**
|
|
11207
|
+
* A nested array's element.
|
|
11208
|
+
*/
|
|
11209
|
+
items?: TaskOutputItem | null;
|
|
11210
|
+
/**
|
|
11211
|
+
* Type
|
|
11212
|
+
*/
|
|
11213
|
+
type?: 'string' | 'boolean' | 'integer' | 'number' | 'object' | 'array';
|
|
10881
11214
|
};
|
|
10882
11215
|
|
|
10883
11216
|
/**
|
|
@@ -10923,7 +11256,7 @@ export type TaskPatch = {
|
|
|
10923
11256
|
/**
|
|
10924
11257
|
* Output
|
|
10925
11258
|
*
|
|
10926
|
-
* The typed value this task produces
|
|
11259
|
+
* The typed value this task produces: up to 25 top-level fields, nesting up to 4 levels and 100 fields in all. The model finishes by calling a `submit_result` tool built from them. Publishing needs at least one.
|
|
10927
11260
|
*/
|
|
10928
11261
|
output?: Array<TaskOutputField> | null;
|
|
10929
11262
|
/**
|
|
@@ -11000,6 +11333,38 @@ export type TaskResponse = {
|
|
|
11000
11333
|
versions: Array<TaskVersionResponse> | null;
|
|
11001
11334
|
};
|
|
11002
11335
|
|
|
11336
|
+
/**
|
|
11337
|
+
* TaskRunBatchItem
|
|
11338
|
+
*/
|
|
11339
|
+
export type TaskRunBatchItem = {
|
|
11340
|
+
/**
|
|
11341
|
+
* Deduplicated
|
|
11342
|
+
*/
|
|
11343
|
+
deduplicated: boolean;
|
|
11344
|
+
/**
|
|
11345
|
+
* Id
|
|
11346
|
+
*/
|
|
11347
|
+
id: string;
|
|
11348
|
+
/**
|
|
11349
|
+
* Idempotency Key
|
|
11350
|
+
*/
|
|
11351
|
+
idempotency_key: string | null;
|
|
11352
|
+
/**
|
|
11353
|
+
* Status
|
|
11354
|
+
*/
|
|
11355
|
+
status: 'queued' | 'running' | 'completed' | 'failed' | 'canceled';
|
|
11356
|
+
};
|
|
11357
|
+
|
|
11358
|
+
/**
|
|
11359
|
+
* TaskRunBatchResponse
|
|
11360
|
+
*/
|
|
11361
|
+
export type TaskRunBatchResponse = {
|
|
11362
|
+
/**
|
|
11363
|
+
* Runs
|
|
11364
|
+
*/
|
|
11365
|
+
runs: Array<TaskRunBatchItem>;
|
|
11366
|
+
};
|
|
11367
|
+
|
|
11003
11368
|
/**
|
|
11004
11369
|
* TaskRunError
|
|
11005
11370
|
*/
|
|
@@ -11011,21 +11376,104 @@ export type TaskRunError = {
|
|
|
11011
11376
|
/**
|
|
11012
11377
|
* Type
|
|
11013
11378
|
*/
|
|
11014
|
-
type: '
|
|
11379
|
+
type: 'invalid_input' | 'no_output' | 'step_limit' | 'timeout' | 'provider_error' | 'configuration' | 'platform' | 'canceled';
|
|
11380
|
+
};
|
|
11381
|
+
|
|
11382
|
+
/**
|
|
11383
|
+
* TaskRunFile
|
|
11384
|
+
*
|
|
11385
|
+
* What one PDF input turned into before the model read it.
|
|
11386
|
+
*/
|
|
11387
|
+
export type TaskRunFile = {
|
|
11388
|
+
/**
|
|
11389
|
+
* Bytes
|
|
11390
|
+
*/
|
|
11391
|
+
bytes: number;
|
|
11392
|
+
/**
|
|
11393
|
+
* Filename
|
|
11394
|
+
*/
|
|
11395
|
+
filename: string | null;
|
|
11396
|
+
/**
|
|
11397
|
+
* Images
|
|
11398
|
+
*/
|
|
11399
|
+
images: Array<TaskRunImage>;
|
|
11400
|
+
/**
|
|
11401
|
+
* Input
|
|
11402
|
+
*/
|
|
11403
|
+
input: string;
|
|
11404
|
+
/**
|
|
11405
|
+
* Pages
|
|
11406
|
+
*/
|
|
11407
|
+
pages: number;
|
|
11408
|
+
/**
|
|
11409
|
+
* Text
|
|
11410
|
+
*/
|
|
11411
|
+
text: string;
|
|
11412
|
+
};
|
|
11413
|
+
|
|
11414
|
+
/**
|
|
11415
|
+
* TaskRunImage
|
|
11416
|
+
*
|
|
11417
|
+
* A scanned page, as the model saw it.
|
|
11418
|
+
*/
|
|
11419
|
+
export type TaskRunImage = {
|
|
11420
|
+
/**
|
|
11421
|
+
* Height
|
|
11422
|
+
*/
|
|
11423
|
+
height: number;
|
|
11424
|
+
/**
|
|
11425
|
+
* Page
|
|
11426
|
+
*/
|
|
11427
|
+
page: number;
|
|
11428
|
+
/**
|
|
11429
|
+
* Url
|
|
11430
|
+
*/
|
|
11431
|
+
url: string;
|
|
11432
|
+
/**
|
|
11433
|
+
* Url Expires At
|
|
11434
|
+
*/
|
|
11435
|
+
url_expires_at: string;
|
|
11436
|
+
/**
|
|
11437
|
+
* Width
|
|
11438
|
+
*/
|
|
11439
|
+
width: number;
|
|
11015
11440
|
};
|
|
11016
11441
|
|
|
11017
11442
|
/**
|
|
11018
11443
|
* TaskRunResponse
|
|
11444
|
+
*
|
|
11445
|
+
* One run in full: the config it ran, its inputs, its trace and its usage.
|
|
11019
11446
|
*/
|
|
11020
11447
|
export type TaskRunResponse = {
|
|
11021
11448
|
/**
|
|
11022
11449
|
* Attempts
|
|
11023
11450
|
*/
|
|
11024
11451
|
attempts: number;
|
|
11452
|
+
/**
|
|
11453
|
+
* Background
|
|
11454
|
+
*/
|
|
11455
|
+
background: boolean;
|
|
11025
11456
|
/**
|
|
11026
11457
|
* Billing Status
|
|
11027
11458
|
*/
|
|
11028
11459
|
billing_status: string;
|
|
11460
|
+
/**
|
|
11461
|
+
* Cancel Requested At
|
|
11462
|
+
*/
|
|
11463
|
+
cancel_requested_at: string | null;
|
|
11464
|
+
config: TaskConfig | null;
|
|
11465
|
+
/**
|
|
11466
|
+
* Content Deleted At
|
|
11467
|
+
*/
|
|
11468
|
+
content_deleted_at: string | null;
|
|
11469
|
+
/**
|
|
11470
|
+
* Content Expires At
|
|
11471
|
+
*/
|
|
11472
|
+
content_expires_at: string | null;
|
|
11473
|
+
/**
|
|
11474
|
+
* Created At
|
|
11475
|
+
*/
|
|
11476
|
+
created_at: string;
|
|
11029
11477
|
/**
|
|
11030
11478
|
* Duration Ms
|
|
11031
11479
|
*/
|
|
@@ -11035,14 +11483,28 @@ export type TaskRunResponse = {
|
|
|
11035
11483
|
*/
|
|
11036
11484
|
ended_at: string | null;
|
|
11037
11485
|
error: TaskRunError | null;
|
|
11486
|
+
/**
|
|
11487
|
+
* Files
|
|
11488
|
+
*/
|
|
11489
|
+
files: Array<TaskRunFile>;
|
|
11038
11490
|
/**
|
|
11039
11491
|
* Id
|
|
11040
11492
|
*/
|
|
11041
11493
|
id: string;
|
|
11494
|
+
/**
|
|
11495
|
+
* Idempotency Key
|
|
11496
|
+
*/
|
|
11497
|
+
idempotency_key: string | null;
|
|
11042
11498
|
/**
|
|
11043
11499
|
* Max Steps
|
|
11044
11500
|
*/
|
|
11045
11501
|
max_steps: number;
|
|
11502
|
+
/**
|
|
11503
|
+
* Metadata
|
|
11504
|
+
*/
|
|
11505
|
+
metadata: {
|
|
11506
|
+
[key: string]: string;
|
|
11507
|
+
};
|
|
11046
11508
|
/**
|
|
11047
11509
|
* Output
|
|
11048
11510
|
*/
|
|
@@ -11056,11 +11518,11 @@ export type TaskRunResponse = {
|
|
|
11056
11518
|
/**
|
|
11057
11519
|
* Started At
|
|
11058
11520
|
*/
|
|
11059
|
-
started_at: string;
|
|
11521
|
+
started_at: string | null;
|
|
11060
11522
|
/**
|
|
11061
11523
|
* Status
|
|
11062
11524
|
*/
|
|
11063
|
-
status: 'running' | 'completed' | 'failed';
|
|
11525
|
+
status: 'queued' | 'running' | 'completed' | 'failed' | 'canceled';
|
|
11064
11526
|
/**
|
|
11065
11527
|
* Steps Used
|
|
11066
11528
|
*/
|
|
@@ -11081,6 +11543,10 @@ export type TaskRunResponse = {
|
|
|
11081
11543
|
* Trace
|
|
11082
11544
|
*/
|
|
11083
11545
|
trace: Array<TraceStepResponse>;
|
|
11546
|
+
/**
|
|
11547
|
+
* Tries
|
|
11548
|
+
*/
|
|
11549
|
+
tries: number;
|
|
11084
11550
|
/**
|
|
11085
11551
|
* Usage
|
|
11086
11552
|
*/
|
|
@@ -11096,75 +11562,131 @@ export type TaskRunResponse = {
|
|
|
11096
11562
|
/**
|
|
11097
11563
|
* TaskRunSummary
|
|
11098
11564
|
*
|
|
11099
|
-
* A run
|
|
11565
|
+
* A run without its trace, config or inputs: the list item, the
|
|
11566
|
+
* `task_run.completed` webhook body and a task's `last_run`, one shape for all three.
|
|
11100
11567
|
*
|
|
11101
11568
|
* `error` is the same object a full run carries rather than a bare type, so
|
|
11102
|
-
* one reader answers "how did it go" for both
|
|
11103
|
-
* same fact differently would be two shapes for one question.
|
|
11569
|
+
* one reader answers "how did it go" for both.
|
|
11104
11570
|
*/
|
|
11105
11571
|
export type TaskRunSummary = {
|
|
11106
11572
|
/**
|
|
11107
|
-
*
|
|
11573
|
+
* Background
|
|
11108
11574
|
*/
|
|
11109
|
-
|
|
11110
|
-
error?: TaskRunError | null;
|
|
11575
|
+
background: boolean;
|
|
11111
11576
|
/**
|
|
11112
|
-
*
|
|
11577
|
+
* Billing Status
|
|
11113
11578
|
*/
|
|
11114
|
-
|
|
11579
|
+
billing_status: string;
|
|
11115
11580
|
/**
|
|
11116
|
-
*
|
|
11581
|
+
* Content Deleted At
|
|
11117
11582
|
*/
|
|
11118
|
-
|
|
11583
|
+
content_deleted_at: string | null;
|
|
11119
11584
|
/**
|
|
11120
|
-
*
|
|
11585
|
+
* Content Expires At
|
|
11121
11586
|
*/
|
|
11122
|
-
|
|
11587
|
+
content_expires_at: string | null;
|
|
11123
11588
|
/**
|
|
11124
|
-
*
|
|
11589
|
+
* Created At
|
|
11125
11590
|
*/
|
|
11126
|
-
|
|
11127
|
-
};
|
|
11128
|
-
|
|
11129
|
-
/**
|
|
11130
|
-
* TaskSelection
|
|
11131
|
-
*
|
|
11132
|
-
* One job this agent can enter and come back from: name a stored task, or
|
|
11133
|
-
* define one inline.
|
|
11134
|
-
*/
|
|
11135
|
-
export type TaskSelection = {
|
|
11591
|
+
created_at: string;
|
|
11136
11592
|
/**
|
|
11137
|
-
*
|
|
11138
|
-
*
|
|
11139
|
-
* Start with "Handoff to an agent task responsible for ...", then say when to enter it and when to skip it.
|
|
11593
|
+
* Duration Ms
|
|
11140
11594
|
*/
|
|
11141
|
-
|
|
11595
|
+
duration_ms: number | null;
|
|
11142
11596
|
/**
|
|
11143
|
-
*
|
|
11597
|
+
* Ended At
|
|
11144
11598
|
*/
|
|
11145
|
-
|
|
11599
|
+
ended_at: string | null;
|
|
11600
|
+
error: TaskRunError | null;
|
|
11146
11601
|
/**
|
|
11147
|
-
*
|
|
11602
|
+
* Id
|
|
11148
11603
|
*/
|
|
11149
|
-
|
|
11150
|
-
task?: TaskConfig | null;
|
|
11604
|
+
id: string;
|
|
11151
11605
|
/**
|
|
11152
|
-
*
|
|
11606
|
+
* Idempotency Key
|
|
11153
11607
|
*/
|
|
11154
|
-
|
|
11608
|
+
idempotency_key: string | null;
|
|
11155
11609
|
/**
|
|
11156
|
-
*
|
|
11610
|
+
* Metadata
|
|
11157
11611
|
*/
|
|
11158
|
-
|
|
11159
|
-
|
|
11160
|
-
|
|
11161
|
-
/**
|
|
11162
|
-
|
|
11163
|
-
|
|
11164
|
-
|
|
11165
|
-
|
|
11166
|
-
|
|
11167
|
-
|
|
11612
|
+
metadata: {
|
|
11613
|
+
[key: string]: string;
|
|
11614
|
+
};
|
|
11615
|
+
/**
|
|
11616
|
+
* Output
|
|
11617
|
+
*/
|
|
11618
|
+
output: {
|
|
11619
|
+
[key: string]: unknown;
|
|
11620
|
+
} | null;
|
|
11621
|
+
/**
|
|
11622
|
+
* Provider Cost
|
|
11623
|
+
*/
|
|
11624
|
+
provider_cost: number | null;
|
|
11625
|
+
/**
|
|
11626
|
+
* Started At
|
|
11627
|
+
*/
|
|
11628
|
+
started_at: string | null;
|
|
11629
|
+
/**
|
|
11630
|
+
* Status
|
|
11631
|
+
*/
|
|
11632
|
+
status: 'queued' | 'running' | 'completed' | 'failed' | 'canceled';
|
|
11633
|
+
/**
|
|
11634
|
+
* Task Id
|
|
11635
|
+
*/
|
|
11636
|
+
task_id: string | null;
|
|
11637
|
+
/**
|
|
11638
|
+
* Task Name
|
|
11639
|
+
*/
|
|
11640
|
+
task_name: string | null;
|
|
11641
|
+
/**
|
|
11642
|
+
* Task Version
|
|
11643
|
+
*/
|
|
11644
|
+
task_version: number | null;
|
|
11645
|
+
/**
|
|
11646
|
+
* Tries
|
|
11647
|
+
*/
|
|
11648
|
+
tries: number;
|
|
11649
|
+
};
|
|
11650
|
+
|
|
11651
|
+
/**
|
|
11652
|
+
* TaskSelection
|
|
11653
|
+
*
|
|
11654
|
+
* One job this agent can enter and come back from: name a stored task, or
|
|
11655
|
+
* define one inline.
|
|
11656
|
+
*/
|
|
11657
|
+
export type TaskSelection = {
|
|
11658
|
+
/**
|
|
11659
|
+
* Description
|
|
11660
|
+
*
|
|
11661
|
+
* Start with "Handoff to an agent task responsible for ...", then say when to enter it and when to skip it.
|
|
11662
|
+
*/
|
|
11663
|
+
description: string;
|
|
11664
|
+
/**
|
|
11665
|
+
* Message
|
|
11666
|
+
*/
|
|
11667
|
+
message?: string | null;
|
|
11668
|
+
/**
|
|
11669
|
+
* Name
|
|
11670
|
+
*/
|
|
11671
|
+
name: string;
|
|
11672
|
+
task?: TaskConfig | null;
|
|
11673
|
+
/**
|
|
11674
|
+
* Task Id
|
|
11675
|
+
*/
|
|
11676
|
+
task_id?: string | null;
|
|
11677
|
+
/**
|
|
11678
|
+
* Task Version
|
|
11679
|
+
*/
|
|
11680
|
+
task_version?: number | null;
|
|
11681
|
+
};
|
|
11682
|
+
|
|
11683
|
+
/**
|
|
11684
|
+
* TaskVersionDetailResponse
|
|
11685
|
+
*
|
|
11686
|
+
* One frozen version, unpacked: the definition that ran, beside its metadata.
|
|
11687
|
+
*
|
|
11688
|
+
* `config` comes back through `TaskConfig` rather than as raw JSONB, so a
|
|
11689
|
+
* version and the draft are normalized by the same validator and a diff of the
|
|
11168
11690
|
* two cannot report a difference a default invented.
|
|
11169
11691
|
*
|
|
11170
11692
|
* It is the whole definition: the tool versions this publish pinned live in
|
|
@@ -11429,6 +11951,10 @@ export type TelephonySetupStep = {
|
|
|
11429
11951
|
* Key
|
|
11430
11952
|
*/
|
|
11431
11953
|
key: string;
|
|
11954
|
+
/**
|
|
11955
|
+
* Region
|
|
11956
|
+
*/
|
|
11957
|
+
region: 'us' | 'in' | null;
|
|
11432
11958
|
/**
|
|
11433
11959
|
* Title
|
|
11434
11960
|
*/
|
|
@@ -11508,6 +12034,10 @@ export type TokenRequest = {
|
|
|
11508
12034
|
* Contact Key
|
|
11509
12035
|
*/
|
|
11510
12036
|
contact_key?: string | null;
|
|
12037
|
+
/**
|
|
12038
|
+
* Region
|
|
12039
|
+
*/
|
|
12040
|
+
region?: 'us' | 'in';
|
|
11511
12041
|
/**
|
|
11512
12042
|
* Userdata
|
|
11513
12043
|
*/
|
|
@@ -12039,11 +12569,11 @@ export type UpdateFaqEntryRequest = {
|
|
|
12039
12569
|
/**
|
|
12040
12570
|
* Answer
|
|
12041
12571
|
*/
|
|
12042
|
-
answer?: string
|
|
12572
|
+
answer?: string;
|
|
12043
12573
|
/**
|
|
12044
12574
|
* Question
|
|
12045
12575
|
*/
|
|
12046
|
-
question?: string
|
|
12576
|
+
question?: string;
|
|
12047
12577
|
};
|
|
12048
12578
|
|
|
12049
12579
|
/**
|
|
@@ -12128,6 +12658,18 @@ export type VarDeclaration = {
|
|
|
12128
12658
|
* Refuse the session rather than resolve this to nothing; a `default` satisfies it. An inbound phone call carries no request to supply values, so a voice agent requiring a variable with no default cannot be assigned to a phone number.
|
|
12129
12659
|
*/
|
|
12130
12660
|
required?: boolean;
|
|
12661
|
+
/**
|
|
12662
|
+
* Type
|
|
12663
|
+
*
|
|
12664
|
+
* 'file' takes a PDF on a task run. Tasks only.
|
|
12665
|
+
*/
|
|
12666
|
+
type?: 'text' | 'file';
|
|
12667
|
+
/**
|
|
12668
|
+
* Untrusted
|
|
12669
|
+
*
|
|
12670
|
+
* Third-party content: given to the model as data, never templated. Tasks only.
|
|
12671
|
+
*/
|
|
12672
|
+
untrusted?: boolean;
|
|
12131
12673
|
};
|
|
12132
12674
|
|
|
12133
12675
|
/**
|
|
@@ -14665,7 +15207,7 @@ export type CallsRecordingGetResults = {
|
|
|
14665
15207
|
export type CallsRecordingGetResult = CallsRecordingGetResults[keyof CallsRecordingGetResults];
|
|
14666
15208
|
|
|
14667
15209
|
export type CallsResumeData = {
|
|
14668
|
-
body?:
|
|
15210
|
+
body?: ResumeCallRequest;
|
|
14669
15211
|
path: {
|
|
14670
15212
|
/**
|
|
14671
15213
|
* Session Id
|
|
@@ -15013,7 +15555,14 @@ export type CatalogVoicesListResult = CatalogVoicesListResults[keyof CatalogVoic
|
|
|
15013
15555
|
export type CatalogVoicesElevenlabsAddData = {
|
|
15014
15556
|
body: AddVoiceRequest;
|
|
15015
15557
|
path?: never;
|
|
15016
|
-
query?:
|
|
15558
|
+
query?: {
|
|
15559
|
+
/**
|
|
15560
|
+
* Provider
|
|
15561
|
+
*
|
|
15562
|
+
* The agent's tts.provider.
|
|
15563
|
+
*/
|
|
15564
|
+
provider?: 'elevenlabs' | 'tts_cache_router';
|
|
15565
|
+
};
|
|
15017
15566
|
url: '/v1/catalog/voices/elevenlabs/add';
|
|
15018
15567
|
};
|
|
15019
15568
|
|
|
@@ -15059,7 +15608,14 @@ export type CatalogVoicesElevenlabsSettingsData = {
|
|
|
15059
15608
|
*/
|
|
15060
15609
|
voice_id: string;
|
|
15061
15610
|
};
|
|
15062
|
-
query?:
|
|
15611
|
+
query?: {
|
|
15612
|
+
/**
|
|
15613
|
+
* Provider
|
|
15614
|
+
*
|
|
15615
|
+
* The agent's tts.provider.
|
|
15616
|
+
*/
|
|
15617
|
+
provider?: 'elevenlabs' | 'tts_cache_router';
|
|
15618
|
+
};
|
|
15063
15619
|
url: '/v1/catalog/voices/elevenlabs/{voice_id}/settings';
|
|
15064
15620
|
};
|
|
15065
15621
|
|
|
@@ -18956,10 +19512,32 @@ export type TelephonyStreamsUpdateResults = {
|
|
|
18956
19512
|
|
|
18957
19513
|
export type TelephonyStreamsUpdateResult = TelephonyStreamsUpdateResults[keyof TelephonyStreamsUpdateResults];
|
|
18958
19514
|
|
|
18959
|
-
export type
|
|
19515
|
+
export type TaskRunsListData = {
|
|
18960
19516
|
body?: never;
|
|
18961
19517
|
path?: never;
|
|
18962
19518
|
query?: {
|
|
19519
|
+
/**
|
|
19520
|
+
* Task Id
|
|
19521
|
+
*/
|
|
19522
|
+
task_id?: string | null;
|
|
19523
|
+
/**
|
|
19524
|
+
* Status
|
|
19525
|
+
*/
|
|
19526
|
+
status?: 'queued' | 'running' | 'completed' | 'failed' | 'canceled' | null;
|
|
19527
|
+
/**
|
|
19528
|
+
* Metadata
|
|
19529
|
+
*
|
|
19530
|
+
* `key:value` pairs, all must match.
|
|
19531
|
+
*/
|
|
19532
|
+
metadata?: Array<string>;
|
|
19533
|
+
/**
|
|
19534
|
+
* Created After
|
|
19535
|
+
*/
|
|
19536
|
+
created_after?: string | null;
|
|
19537
|
+
/**
|
|
19538
|
+
* Created Before
|
|
19539
|
+
*/
|
|
19540
|
+
created_before?: string | null;
|
|
18963
19541
|
/**
|
|
18964
19542
|
* Limit
|
|
18965
19543
|
*/
|
|
@@ -18969,10 +19547,10 @@ export type TasksListData = {
|
|
|
18969
19547
|
*/
|
|
18970
19548
|
offset?: number;
|
|
18971
19549
|
};
|
|
18972
|
-
url: '/v1/
|
|
19550
|
+
url: '/v1/task-runs';
|
|
18973
19551
|
};
|
|
18974
19552
|
|
|
18975
|
-
export type
|
|
19553
|
+
export type TaskRunsListErrors = {
|
|
18976
19554
|
/**
|
|
18977
19555
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18978
19556
|
*/
|
|
@@ -18987,25 +19565,25 @@ export type TasksListErrors = {
|
|
|
18987
19565
|
default: ErrorResponse;
|
|
18988
19566
|
};
|
|
18989
19567
|
|
|
18990
|
-
export type
|
|
19568
|
+
export type TaskRunsListError = TaskRunsListErrors[keyof TaskRunsListErrors];
|
|
18991
19569
|
|
|
18992
|
-
export type
|
|
19570
|
+
export type TaskRunsListResults = {
|
|
18993
19571
|
/**
|
|
18994
19572
|
* Successful Response
|
|
18995
19573
|
*/
|
|
18996
|
-
200:
|
|
19574
|
+
200: PageTaskRunSummary;
|
|
18997
19575
|
};
|
|
18998
19576
|
|
|
18999
|
-
export type
|
|
19577
|
+
export type TaskRunsListResult = TaskRunsListResults[keyof TaskRunsListResults];
|
|
19000
19578
|
|
|
19001
|
-
export type
|
|
19002
|
-
body:
|
|
19579
|
+
export type TaskRunsCreateData = {
|
|
19580
|
+
body: CreateTaskRunRequest;
|
|
19003
19581
|
path?: never;
|
|
19004
19582
|
query?: never;
|
|
19005
|
-
url: '/v1/
|
|
19583
|
+
url: '/v1/task-runs';
|
|
19006
19584
|
};
|
|
19007
19585
|
|
|
19008
|
-
export type
|
|
19586
|
+
export type TaskRunsCreateErrors = {
|
|
19009
19587
|
/**
|
|
19010
19588
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
19011
19589
|
*/
|
|
@@ -19032,30 +19610,124 @@ export type TasksCreateErrors = {
|
|
|
19032
19610
|
default: ErrorResponse;
|
|
19033
19611
|
};
|
|
19034
19612
|
|
|
19035
|
-
export type
|
|
19613
|
+
export type TaskRunsCreateError = TaskRunsCreateErrors[keyof TaskRunsCreateErrors];
|
|
19036
19614
|
|
|
19037
|
-
export type
|
|
19615
|
+
export type TaskRunsCreateResults = {
|
|
19038
19616
|
/**
|
|
19039
19617
|
* Successful Response
|
|
19040
19618
|
*/
|
|
19041
|
-
|
|
19619
|
+
200: TaskRunResponse;
|
|
19620
|
+
/**
|
|
19621
|
+
* Queued (`background: true`).
|
|
19622
|
+
*/
|
|
19623
|
+
202: TaskRunResponse;
|
|
19042
19624
|
};
|
|
19043
19625
|
|
|
19044
|
-
export type
|
|
19626
|
+
export type TaskRunsCreateResult = TaskRunsCreateResults[keyof TaskRunsCreateResults];
|
|
19045
19627
|
|
|
19046
|
-
export type
|
|
19628
|
+
export type TaskRunsCreateBatchData = {
|
|
19629
|
+
body: CreateTaskRunBatchRequest;
|
|
19630
|
+
path?: never;
|
|
19631
|
+
query?: never;
|
|
19632
|
+
url: '/v1/task-runs/batch';
|
|
19633
|
+
};
|
|
19634
|
+
|
|
19635
|
+
export type TaskRunsCreateBatchErrors = {
|
|
19636
|
+
/**
|
|
19637
|
+
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
19638
|
+
*/
|
|
19639
|
+
400: ErrorResponse;
|
|
19640
|
+
/**
|
|
19641
|
+
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
19642
|
+
*/
|
|
19643
|
+
401: ErrorResponse;
|
|
19644
|
+
/**
|
|
19645
|
+
* Authenticated, but this organization role may not perform the operation.
|
|
19646
|
+
*/
|
|
19647
|
+
403: ErrorResponse;
|
|
19648
|
+
/**
|
|
19649
|
+
* The resource's current state forbids this — a name already taken, a job already running.
|
|
19650
|
+
*/
|
|
19651
|
+
409: ErrorResponse;
|
|
19652
|
+
/**
|
|
19653
|
+
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
19654
|
+
*/
|
|
19655
|
+
422: ErrorResponse;
|
|
19656
|
+
/**
|
|
19657
|
+
* Unexpected error. Every error this API returns carries this body.
|
|
19658
|
+
*/
|
|
19659
|
+
default: ErrorResponse;
|
|
19660
|
+
};
|
|
19661
|
+
|
|
19662
|
+
export type TaskRunsCreateBatchError = TaskRunsCreateBatchErrors[keyof TaskRunsCreateBatchErrors];
|
|
19663
|
+
|
|
19664
|
+
export type TaskRunsCreateBatchResults = {
|
|
19665
|
+
/**
|
|
19666
|
+
* Successful Response
|
|
19667
|
+
*/
|
|
19668
|
+
202: TaskRunBatchResponse;
|
|
19669
|
+
};
|
|
19670
|
+
|
|
19671
|
+
export type TaskRunsCreateBatchResult = TaskRunsCreateBatchResults[keyof TaskRunsCreateBatchResults];
|
|
19672
|
+
|
|
19673
|
+
export type TaskRunsDeleteManyData = {
|
|
19674
|
+
body: DeleteTaskRunsRequest;
|
|
19675
|
+
path?: never;
|
|
19676
|
+
query?: never;
|
|
19677
|
+
url: '/v1/task-runs/delete';
|
|
19678
|
+
};
|
|
19679
|
+
|
|
19680
|
+
export type TaskRunsDeleteManyErrors = {
|
|
19681
|
+
/**
|
|
19682
|
+
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
19683
|
+
*/
|
|
19684
|
+
400: ErrorResponse;
|
|
19685
|
+
/**
|
|
19686
|
+
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
19687
|
+
*/
|
|
19688
|
+
401: ErrorResponse;
|
|
19689
|
+
/**
|
|
19690
|
+
* Authenticated, but this organization role may not perform the operation.
|
|
19691
|
+
*/
|
|
19692
|
+
403: ErrorResponse;
|
|
19693
|
+
/**
|
|
19694
|
+
* The resource's current state forbids this — a name already taken, a job already running.
|
|
19695
|
+
*/
|
|
19696
|
+
409: ErrorResponse;
|
|
19697
|
+
/**
|
|
19698
|
+
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
19699
|
+
*/
|
|
19700
|
+
422: ErrorResponse;
|
|
19701
|
+
/**
|
|
19702
|
+
* Unexpected error. Every error this API returns carries this body.
|
|
19703
|
+
*/
|
|
19704
|
+
default: ErrorResponse;
|
|
19705
|
+
};
|
|
19706
|
+
|
|
19707
|
+
export type TaskRunsDeleteManyError = TaskRunsDeleteManyErrors[keyof TaskRunsDeleteManyErrors];
|
|
19708
|
+
|
|
19709
|
+
export type TaskRunsDeleteManyResults = {
|
|
19710
|
+
/**
|
|
19711
|
+
* Successful Response
|
|
19712
|
+
*/
|
|
19713
|
+
202: DeleteTaskRunsResponse;
|
|
19714
|
+
};
|
|
19715
|
+
|
|
19716
|
+
export type TaskRunsDeleteManyResult = TaskRunsDeleteManyResults[keyof TaskRunsDeleteManyResults];
|
|
19717
|
+
|
|
19718
|
+
export type TaskRunsDeleteData = {
|
|
19047
19719
|
body?: never;
|
|
19048
19720
|
path: {
|
|
19049
19721
|
/**
|
|
19050
|
-
*
|
|
19722
|
+
* Run Id
|
|
19051
19723
|
*/
|
|
19052
|
-
|
|
19724
|
+
run_id: string;
|
|
19053
19725
|
};
|
|
19054
19726
|
query?: never;
|
|
19055
|
-
url: '/v1/
|
|
19727
|
+
url: '/v1/task-runs/{run_id}';
|
|
19056
19728
|
};
|
|
19057
19729
|
|
|
19058
|
-
export type
|
|
19730
|
+
export type TaskRunsDeleteErrors = {
|
|
19059
19731
|
/**
|
|
19060
19732
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
19061
19733
|
*/
|
|
@@ -19086,30 +19758,28 @@ export type TasksDeleteErrors = {
|
|
|
19086
19758
|
default: ErrorResponse;
|
|
19087
19759
|
};
|
|
19088
19760
|
|
|
19089
|
-
export type
|
|
19761
|
+
export type TaskRunsDeleteError = TaskRunsDeleteErrors[keyof TaskRunsDeleteErrors];
|
|
19090
19762
|
|
|
19091
|
-
export type
|
|
19763
|
+
export type TaskRunsDeleteResults = {
|
|
19092
19764
|
/**
|
|
19093
|
-
*
|
|
19765
|
+
* Deletion scheduled. No body.
|
|
19094
19766
|
*/
|
|
19095
|
-
|
|
19767
|
+
202: unknown;
|
|
19096
19768
|
};
|
|
19097
19769
|
|
|
19098
|
-
export type
|
|
19099
|
-
|
|
19100
|
-
export type TasksGetData = {
|
|
19770
|
+
export type TaskRunsGetData = {
|
|
19101
19771
|
body?: never;
|
|
19102
19772
|
path: {
|
|
19103
19773
|
/**
|
|
19104
|
-
*
|
|
19774
|
+
* Run Id
|
|
19105
19775
|
*/
|
|
19106
|
-
|
|
19776
|
+
run_id: string;
|
|
19107
19777
|
};
|
|
19108
19778
|
query?: never;
|
|
19109
|
-
url: '/v1/
|
|
19779
|
+
url: '/v1/task-runs/{run_id}';
|
|
19110
19780
|
};
|
|
19111
19781
|
|
|
19112
|
-
export type
|
|
19782
|
+
export type TaskRunsGetErrors = {
|
|
19113
19783
|
/**
|
|
19114
19784
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
19115
19785
|
*/
|
|
@@ -19128,30 +19798,30 @@ export type TasksGetErrors = {
|
|
|
19128
19798
|
default: ErrorResponse;
|
|
19129
19799
|
};
|
|
19130
19800
|
|
|
19131
|
-
export type
|
|
19801
|
+
export type TaskRunsGetError = TaskRunsGetErrors[keyof TaskRunsGetErrors];
|
|
19132
19802
|
|
|
19133
|
-
export type
|
|
19803
|
+
export type TaskRunsGetResults = {
|
|
19134
19804
|
/**
|
|
19135
19805
|
* Successful Response
|
|
19136
19806
|
*/
|
|
19137
|
-
200:
|
|
19807
|
+
200: TaskRunResponse;
|
|
19138
19808
|
};
|
|
19139
19809
|
|
|
19140
|
-
export type
|
|
19810
|
+
export type TaskRunsGetResult = TaskRunsGetResults[keyof TaskRunsGetResults];
|
|
19141
19811
|
|
|
19142
|
-
export type
|
|
19143
|
-
body
|
|
19812
|
+
export type TaskRunsCancelData = {
|
|
19813
|
+
body?: never;
|
|
19144
19814
|
path: {
|
|
19145
19815
|
/**
|
|
19146
|
-
*
|
|
19816
|
+
* Run Id
|
|
19147
19817
|
*/
|
|
19148
|
-
|
|
19818
|
+
run_id: string;
|
|
19149
19819
|
};
|
|
19150
19820
|
query?: never;
|
|
19151
|
-
url: '/v1/
|
|
19821
|
+
url: '/v1/task-runs/{run_id}/cancel';
|
|
19152
19822
|
};
|
|
19153
19823
|
|
|
19154
|
-
export type
|
|
19824
|
+
export type TaskRunsCancelErrors = {
|
|
19155
19825
|
/**
|
|
19156
19826
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
19157
19827
|
*/
|
|
@@ -19182,18 +19852,105 @@ export type TasksUpdateErrors = {
|
|
|
19182
19852
|
default: ErrorResponse;
|
|
19183
19853
|
};
|
|
19184
19854
|
|
|
19185
|
-
export type
|
|
19855
|
+
export type TaskRunsCancelError = TaskRunsCancelErrors[keyof TaskRunsCancelErrors];
|
|
19186
19856
|
|
|
19187
|
-
export type
|
|
19857
|
+
export type TaskRunsCancelResults = {
|
|
19188
19858
|
/**
|
|
19189
19859
|
* Successful Response
|
|
19190
19860
|
*/
|
|
19191
|
-
200:
|
|
19861
|
+
200: TaskRunResponse;
|
|
19192
19862
|
};
|
|
19193
19863
|
|
|
19194
|
-
export type
|
|
19864
|
+
export type TaskRunsCancelResult = TaskRunsCancelResults[keyof TaskRunsCancelResults];
|
|
19195
19865
|
|
|
19196
|
-
export type
|
|
19866
|
+
export type TasksListData = {
|
|
19867
|
+
body?: never;
|
|
19868
|
+
path?: never;
|
|
19869
|
+
query?: {
|
|
19870
|
+
/**
|
|
19871
|
+
* Limit
|
|
19872
|
+
*/
|
|
19873
|
+
limit?: number;
|
|
19874
|
+
/**
|
|
19875
|
+
* Offset
|
|
19876
|
+
*/
|
|
19877
|
+
offset?: number;
|
|
19878
|
+
};
|
|
19879
|
+
url: '/v1/tasks';
|
|
19880
|
+
};
|
|
19881
|
+
|
|
19882
|
+
export type TasksListErrors = {
|
|
19883
|
+
/**
|
|
19884
|
+
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
19885
|
+
*/
|
|
19886
|
+
401: ErrorResponse;
|
|
19887
|
+
/**
|
|
19888
|
+
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
19889
|
+
*/
|
|
19890
|
+
422: ErrorResponse;
|
|
19891
|
+
/**
|
|
19892
|
+
* Unexpected error. Every error this API returns carries this body.
|
|
19893
|
+
*/
|
|
19894
|
+
default: ErrorResponse;
|
|
19895
|
+
};
|
|
19896
|
+
|
|
19897
|
+
export type TasksListError = TasksListErrors[keyof TasksListErrors];
|
|
19898
|
+
|
|
19899
|
+
export type TasksListResults = {
|
|
19900
|
+
/**
|
|
19901
|
+
* Successful Response
|
|
19902
|
+
*/
|
|
19903
|
+
200: PageTaskResponse;
|
|
19904
|
+
};
|
|
19905
|
+
|
|
19906
|
+
export type TasksListResult = TasksListResults[keyof TasksListResults];
|
|
19907
|
+
|
|
19908
|
+
export type TasksCreateData = {
|
|
19909
|
+
body: CreateTaskRequest;
|
|
19910
|
+
path?: never;
|
|
19911
|
+
query?: never;
|
|
19912
|
+
url: '/v1/tasks';
|
|
19913
|
+
};
|
|
19914
|
+
|
|
19915
|
+
export type TasksCreateErrors = {
|
|
19916
|
+
/**
|
|
19917
|
+
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
19918
|
+
*/
|
|
19919
|
+
400: ErrorResponse;
|
|
19920
|
+
/**
|
|
19921
|
+
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
19922
|
+
*/
|
|
19923
|
+
401: ErrorResponse;
|
|
19924
|
+
/**
|
|
19925
|
+
* Authenticated, but this organization role may not perform the operation.
|
|
19926
|
+
*/
|
|
19927
|
+
403: ErrorResponse;
|
|
19928
|
+
/**
|
|
19929
|
+
* The resource's current state forbids this — a name already taken, a job already running.
|
|
19930
|
+
*/
|
|
19931
|
+
409: ErrorResponse;
|
|
19932
|
+
/**
|
|
19933
|
+
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
19934
|
+
*/
|
|
19935
|
+
422: ErrorResponse;
|
|
19936
|
+
/**
|
|
19937
|
+
* Unexpected error. Every error this API returns carries this body.
|
|
19938
|
+
*/
|
|
19939
|
+
default: ErrorResponse;
|
|
19940
|
+
};
|
|
19941
|
+
|
|
19942
|
+
export type TasksCreateError = TasksCreateErrors[keyof TasksCreateErrors];
|
|
19943
|
+
|
|
19944
|
+
export type TasksCreateResults = {
|
|
19945
|
+
/**
|
|
19946
|
+
* Successful Response
|
|
19947
|
+
*/
|
|
19948
|
+
201: TaskResponse;
|
|
19949
|
+
};
|
|
19950
|
+
|
|
19951
|
+
export type TasksCreateResult = TasksCreateResults[keyof TasksCreateResults];
|
|
19952
|
+
|
|
19953
|
+
export type TasksDeleteData = {
|
|
19197
19954
|
body?: never;
|
|
19198
19955
|
path: {
|
|
19199
19956
|
/**
|
|
@@ -19202,10 +19959,10 @@ export type TasksPublishData = {
|
|
|
19202
19959
|
task_id: string;
|
|
19203
19960
|
};
|
|
19204
19961
|
query?: never;
|
|
19205
|
-
url: '/v1/tasks/{task_id}
|
|
19962
|
+
url: '/v1/tasks/{task_id}';
|
|
19206
19963
|
};
|
|
19207
19964
|
|
|
19208
|
-
export type
|
|
19965
|
+
export type TasksDeleteErrors = {
|
|
19209
19966
|
/**
|
|
19210
19967
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
19211
19968
|
*/
|
|
@@ -19236,18 +19993,18 @@ export type TasksPublishErrors = {
|
|
|
19236
19993
|
default: ErrorResponse;
|
|
19237
19994
|
};
|
|
19238
19995
|
|
|
19239
|
-
export type
|
|
19996
|
+
export type TasksDeleteError = TasksDeleteErrors[keyof TasksDeleteErrors];
|
|
19240
19997
|
|
|
19241
|
-
export type
|
|
19998
|
+
export type TasksDeleteResults = {
|
|
19242
19999
|
/**
|
|
19243
20000
|
* Successful Response
|
|
19244
20001
|
*/
|
|
19245
|
-
200:
|
|
20002
|
+
200: OkResponse;
|
|
19246
20003
|
};
|
|
19247
20004
|
|
|
19248
|
-
export type
|
|
20005
|
+
export type TasksDeleteResult = TasksDeleteResults[keyof TasksDeleteResults];
|
|
19249
20006
|
|
|
19250
|
-
export type
|
|
20007
|
+
export type TasksGetData = {
|
|
19251
20008
|
body?: never;
|
|
19252
20009
|
path: {
|
|
19253
20010
|
/**
|
|
@@ -19255,20 +20012,11 @@ export type TasksRunsListData = {
|
|
|
19255
20012
|
*/
|
|
19256
20013
|
task_id: string;
|
|
19257
20014
|
};
|
|
19258
|
-
query?:
|
|
19259
|
-
|
|
19260
|
-
* Limit
|
|
19261
|
-
*/
|
|
19262
|
-
limit?: number;
|
|
19263
|
-
/**
|
|
19264
|
-
* Offset
|
|
19265
|
-
*/
|
|
19266
|
-
offset?: number;
|
|
19267
|
-
};
|
|
19268
|
-
url: '/v1/tasks/{task_id}/runs';
|
|
20015
|
+
query?: never;
|
|
20016
|
+
url: '/v1/tasks/{task_id}';
|
|
19269
20017
|
};
|
|
19270
20018
|
|
|
19271
|
-
export type
|
|
20019
|
+
export type TasksGetErrors = {
|
|
19272
20020
|
/**
|
|
19273
20021
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
19274
20022
|
*/
|
|
@@ -19287,19 +20035,19 @@ export type TasksRunsListErrors = {
|
|
|
19287
20035
|
default: ErrorResponse;
|
|
19288
20036
|
};
|
|
19289
20037
|
|
|
19290
|
-
export type
|
|
20038
|
+
export type TasksGetError = TasksGetErrors[keyof TasksGetErrors];
|
|
19291
20039
|
|
|
19292
|
-
export type
|
|
20040
|
+
export type TasksGetResults = {
|
|
19293
20041
|
/**
|
|
19294
20042
|
* Successful Response
|
|
19295
20043
|
*/
|
|
19296
|
-
200:
|
|
20044
|
+
200: TaskResponse;
|
|
19297
20045
|
};
|
|
19298
20046
|
|
|
19299
|
-
export type
|
|
20047
|
+
export type TasksGetResult = TasksGetResults[keyof TasksGetResults];
|
|
19300
20048
|
|
|
19301
|
-
export type
|
|
19302
|
-
body:
|
|
20049
|
+
export type TasksUpdateData = {
|
|
20050
|
+
body: PatchTaskRequest;
|
|
19303
20051
|
path: {
|
|
19304
20052
|
/**
|
|
19305
20053
|
* Task Id
|
|
@@ -19307,10 +20055,10 @@ export type TasksRunsCreateData = {
|
|
|
19307
20055
|
task_id: string;
|
|
19308
20056
|
};
|
|
19309
20057
|
query?: never;
|
|
19310
|
-
url: '/v1/tasks/{task_id}
|
|
20058
|
+
url: '/v1/tasks/{task_id}';
|
|
19311
20059
|
};
|
|
19312
20060
|
|
|
19313
|
-
export type
|
|
20061
|
+
export type TasksUpdateErrors = {
|
|
19314
20062
|
/**
|
|
19315
20063
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
19316
20064
|
*/
|
|
@@ -19341,42 +20089,50 @@ export type TasksRunsCreateErrors = {
|
|
|
19341
20089
|
default: ErrorResponse;
|
|
19342
20090
|
};
|
|
19343
20091
|
|
|
19344
|
-
export type
|
|
20092
|
+
export type TasksUpdateError = TasksUpdateErrors[keyof TasksUpdateErrors];
|
|
19345
20093
|
|
|
19346
|
-
export type
|
|
20094
|
+
export type TasksUpdateResults = {
|
|
19347
20095
|
/**
|
|
19348
20096
|
* Successful Response
|
|
19349
20097
|
*/
|
|
19350
|
-
200:
|
|
20098
|
+
200: TaskResponse;
|
|
19351
20099
|
};
|
|
19352
20100
|
|
|
19353
|
-
export type
|
|
20101
|
+
export type TasksUpdateResult = TasksUpdateResults[keyof TasksUpdateResults];
|
|
19354
20102
|
|
|
19355
|
-
export type
|
|
20103
|
+
export type TasksPublishData = {
|
|
19356
20104
|
body?: never;
|
|
19357
20105
|
path: {
|
|
19358
20106
|
/**
|
|
19359
20107
|
* Task Id
|
|
19360
20108
|
*/
|
|
19361
20109
|
task_id: string;
|
|
19362
|
-
/**
|
|
19363
|
-
* Run Id
|
|
19364
|
-
*/
|
|
19365
|
-
run_id: string;
|
|
19366
20110
|
};
|
|
19367
20111
|
query?: never;
|
|
19368
|
-
url: '/v1/tasks/{task_id}/
|
|
20112
|
+
url: '/v1/tasks/{task_id}/publish';
|
|
19369
20113
|
};
|
|
19370
20114
|
|
|
19371
|
-
export type
|
|
20115
|
+
export type TasksPublishErrors = {
|
|
20116
|
+
/**
|
|
20117
|
+
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
20118
|
+
*/
|
|
20119
|
+
400: ErrorResponse;
|
|
19372
20120
|
/**
|
|
19373
20121
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
19374
20122
|
*/
|
|
19375
20123
|
401: ErrorResponse;
|
|
20124
|
+
/**
|
|
20125
|
+
* Authenticated, but this organization role may not perform the operation.
|
|
20126
|
+
*/
|
|
20127
|
+
403: ErrorResponse;
|
|
19376
20128
|
/**
|
|
19377
20129
|
* No such resource in this organization.
|
|
19378
20130
|
*/
|
|
19379
20131
|
404: ErrorResponse;
|
|
20132
|
+
/**
|
|
20133
|
+
* The resource's current state forbids this — a name already taken, a job already running.
|
|
20134
|
+
*/
|
|
20135
|
+
409: ErrorResponse;
|
|
19380
20136
|
/**
|
|
19381
20137
|
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
19382
20138
|
*/
|
|
@@ -19387,16 +20143,16 @@ export type TasksRunsGetErrors = {
|
|
|
19387
20143
|
default: ErrorResponse;
|
|
19388
20144
|
};
|
|
19389
20145
|
|
|
19390
|
-
export type
|
|
20146
|
+
export type TasksPublishError = TasksPublishErrors[keyof TasksPublishErrors];
|
|
19391
20147
|
|
|
19392
|
-
export type
|
|
20148
|
+
export type TasksPublishResults = {
|
|
19393
20149
|
/**
|
|
19394
20150
|
* Successful Response
|
|
19395
20151
|
*/
|
|
19396
|
-
200:
|
|
20152
|
+
200: PublishTaskResponse;
|
|
19397
20153
|
};
|
|
19398
20154
|
|
|
19399
|
-
export type
|
|
20155
|
+
export type TasksPublishResult = TasksPublishResults[keyof TasksPublishResults];
|
|
19400
20156
|
|
|
19401
20157
|
export type TasksValidateData = {
|
|
19402
20158
|
body?: never;
|