@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
|
@@ -1503,6 +1503,10 @@ export type CallSessionResponse = {
|
|
|
1503
1503
|
*/
|
|
1504
1504
|
phone_number_id: string | null;
|
|
1505
1505
|
recording: RecordingResponse;
|
|
1506
|
+
/**
|
|
1507
|
+
* Region
|
|
1508
|
+
*/
|
|
1509
|
+
region: 'us' | 'in';
|
|
1506
1510
|
/**
|
|
1507
1511
|
* Resumed From Call Id
|
|
1508
1512
|
*/
|
|
@@ -1636,6 +1640,10 @@ export type CallSummaryResponse = {
|
|
|
1636
1640
|
outcome?: 'success' | 'failure' | 'unknown' | null;
|
|
1637
1641
|
plan?: CallPlanSummary | null;
|
|
1638
1642
|
recording: RecordingResponse;
|
|
1643
|
+
/**
|
|
1644
|
+
* Region
|
|
1645
|
+
*/
|
|
1646
|
+
region: 'us' | 'in';
|
|
1639
1647
|
/**
|
|
1640
1648
|
* Resumed From Call Id
|
|
1641
1649
|
*/
|
|
@@ -1786,6 +1794,10 @@ export type CatalogResponse = {
|
|
|
1786
1794
|
* Realtime
|
|
1787
1795
|
*/
|
|
1788
1796
|
realtime: Array<RealtimeCatalogEntryResponse>;
|
|
1797
|
+
/**
|
|
1798
|
+
* Regions
|
|
1799
|
+
*/
|
|
1800
|
+
regions: Array<RegionOption>;
|
|
1789
1801
|
/**
|
|
1790
1802
|
* Stt
|
|
1791
1803
|
*/
|
|
@@ -3057,7 +3069,7 @@ export type CreateEmailSendRequest = {
|
|
|
3057
3069
|
/**
|
|
3058
3070
|
* From Email
|
|
3059
3071
|
*/
|
|
3060
|
-
from_email?: string
|
|
3072
|
+
from_email?: string;
|
|
3061
3073
|
/**
|
|
3062
3074
|
* From Name
|
|
3063
3075
|
*/
|
|
@@ -3079,7 +3091,7 @@ export type CreateEmailSendRequest = {
|
|
|
3079
3091
|
/**
|
|
3080
3092
|
* Send Attempts
|
|
3081
3093
|
*/
|
|
3082
|
-
send_attempts?: number
|
|
3094
|
+
send_attempts?: number;
|
|
3083
3095
|
/**
|
|
3084
3096
|
* Send Daily Cap
|
|
3085
3097
|
*/
|
|
@@ -3091,11 +3103,11 @@ export type CreateEmailSendRequest = {
|
|
|
3091
3103
|
/**
|
|
3092
3104
|
* Send Gap Seconds
|
|
3093
3105
|
*/
|
|
3094
|
-
send_gap_seconds?: number
|
|
3106
|
+
send_gap_seconds?: number;
|
|
3095
3107
|
/**
|
|
3096
3108
|
* Send Retry After Minutes
|
|
3097
3109
|
*/
|
|
3098
|
-
send_retry_after_minutes?: number
|
|
3110
|
+
send_retry_after_minutes?: number;
|
|
3099
3111
|
/**
|
|
3100
3112
|
* Start At
|
|
3101
3113
|
*/
|
|
@@ -3103,7 +3115,7 @@ export type CreateEmailSendRequest = {
|
|
|
3103
3115
|
/**
|
|
3104
3116
|
* Timezone
|
|
3105
3117
|
*/
|
|
3106
|
-
timezone?: string
|
|
3118
|
+
timezone?: string;
|
|
3107
3119
|
window?: TimeWindow | null;
|
|
3108
3120
|
};
|
|
3109
3121
|
/**
|
|
@@ -3247,6 +3259,12 @@ export type CreateStreamConnectionRequest = {
|
|
|
3247
3259
|
* What this partner integration is called in the dashboard.
|
|
3248
3260
|
*/
|
|
3249
3261
|
name: string;
|
|
3262
|
+
/**
|
|
3263
|
+
* Region
|
|
3264
|
+
*
|
|
3265
|
+
* Where calls are hosted; it decides the URL.
|
|
3266
|
+
*/
|
|
3267
|
+
region?: 'us' | 'in';
|
|
3250
3268
|
};
|
|
3251
3269
|
/**
|
|
3252
3270
|
* CreateTaskRequest
|
|
@@ -3254,6 +3272,96 @@ export type CreateStreamConnectionRequest = {
|
|
|
3254
3272
|
export type CreateTaskRequest = {
|
|
3255
3273
|
config: TaskConfig;
|
|
3256
3274
|
};
|
|
3275
|
+
/**
|
|
3276
|
+
* CreateTaskRunBatchRequest
|
|
3277
|
+
*/
|
|
3278
|
+
export type CreateTaskRunBatchRequest = {
|
|
3279
|
+
/**
|
|
3280
|
+
* Runs
|
|
3281
|
+
*/
|
|
3282
|
+
runs: Array<RunItem>;
|
|
3283
|
+
/**
|
|
3284
|
+
* A complete task definition, run and stored nowhere else.
|
|
3285
|
+
*/
|
|
3286
|
+
task?: TaskConfig | null;
|
|
3287
|
+
/**
|
|
3288
|
+
* Task Id
|
|
3289
|
+
*
|
|
3290
|
+
* A task in this workspace. Exclusive with `task`.
|
|
3291
|
+
*/
|
|
3292
|
+
task_id?: string | null;
|
|
3293
|
+
/**
|
|
3294
|
+
* Changes for this run only: objects deep-merge, lists replace, null clears.
|
|
3295
|
+
*/
|
|
3296
|
+
task_override?: TaskPatch | null;
|
|
3297
|
+
/**
|
|
3298
|
+
* Task Version
|
|
3299
|
+
*
|
|
3300
|
+
* Which version of `task_id` to run. Omit for the published one; `"draft"` runs the unpublished config, held to the publish checks.
|
|
3301
|
+
*/
|
|
3302
|
+
task_version?: number | 'draft' | null;
|
|
3303
|
+
};
|
|
3304
|
+
/**
|
|
3305
|
+
* CreateTaskRunRequest
|
|
3306
|
+
*/
|
|
3307
|
+
export type CreateTaskRunRequest = {
|
|
3308
|
+
/**
|
|
3309
|
+
* Background
|
|
3310
|
+
*
|
|
3311
|
+
* Queue the run and return at once (202) instead of waiting for its result.
|
|
3312
|
+
*/
|
|
3313
|
+
background?: boolean;
|
|
3314
|
+
/**
|
|
3315
|
+
* Files
|
|
3316
|
+
*
|
|
3317
|
+
* One PDF per declared `file` input, by name.
|
|
3318
|
+
*/
|
|
3319
|
+
files?: {
|
|
3320
|
+
[key: string]: FileInput;
|
|
3321
|
+
};
|
|
3322
|
+
/**
|
|
3323
|
+
* Idempotency Key
|
|
3324
|
+
*
|
|
3325
|
+
* Resending the same key returns the existing run instead of starting another.
|
|
3326
|
+
*/
|
|
3327
|
+
idempotency_key?: string | null;
|
|
3328
|
+
/**
|
|
3329
|
+
* Metadata
|
|
3330
|
+
*
|
|
3331
|
+
* Up to 16 string labels of your own, for filtering.
|
|
3332
|
+
*/
|
|
3333
|
+
metadata?: {
|
|
3334
|
+
[key: string]: unknown | string;
|
|
3335
|
+
};
|
|
3336
|
+
/**
|
|
3337
|
+
* A complete task definition, run and stored nowhere else.
|
|
3338
|
+
*/
|
|
3339
|
+
task?: TaskConfig | null;
|
|
3340
|
+
/**
|
|
3341
|
+
* Task Id
|
|
3342
|
+
*
|
|
3343
|
+
* A task in this workspace. Exclusive with `task`.
|
|
3344
|
+
*/
|
|
3345
|
+
task_id?: string | null;
|
|
3346
|
+
/**
|
|
3347
|
+
* Changes for this run only: objects deep-merge, lists replace, null clears.
|
|
3348
|
+
*/
|
|
3349
|
+
task_override?: TaskPatch | null;
|
|
3350
|
+
/**
|
|
3351
|
+
* Task Version
|
|
3352
|
+
*
|
|
3353
|
+
* Which version of `task_id` to run. Omit for the published one; `"draft"` runs the unpublished config, held to the publish checks.
|
|
3354
|
+
*/
|
|
3355
|
+
task_version?: number | 'draft' | null;
|
|
3356
|
+
/**
|
|
3357
|
+
* Vars
|
|
3358
|
+
*
|
|
3359
|
+
* Values for the task's text inputs, by name. Undeclared names are refused.
|
|
3360
|
+
*/
|
|
3361
|
+
vars?: {
|
|
3362
|
+
[key: string]: string;
|
|
3363
|
+
};
|
|
3364
|
+
};
|
|
3257
3365
|
/**
|
|
3258
3366
|
* CreateTelephonyAccountRequest
|
|
3259
3367
|
*/
|
|
@@ -3342,11 +3450,11 @@ export type CreateWhatsAppBatchRequest = {
|
|
|
3342
3450
|
*
|
|
3343
3451
|
* Sends per row, the first included, while Meta's per-person limit holds it back.
|
|
3344
3452
|
*/
|
|
3345
|
-
delivery_attempts?: number
|
|
3453
|
+
delivery_attempts?: number;
|
|
3346
3454
|
/**
|
|
3347
3455
|
* Delivery Retry After Hours
|
|
3348
3456
|
*/
|
|
3349
|
-
delivery_retry_after_hours?: number
|
|
3457
|
+
delivery_retry_after_hours?: number;
|
|
3350
3458
|
/**
|
|
3351
3459
|
* Integration Id
|
|
3352
3460
|
*
|
|
@@ -3374,7 +3482,7 @@ export type CreateWhatsAppBatchRequest = {
|
|
|
3374
3482
|
/**
|
|
3375
3483
|
* Send Gap Seconds
|
|
3376
3484
|
*/
|
|
3377
|
-
send_gap_seconds?: number
|
|
3485
|
+
send_gap_seconds?: number;
|
|
3378
3486
|
/**
|
|
3379
3487
|
* Template Id
|
|
3380
3488
|
*
|
|
@@ -3384,7 +3492,7 @@ export type CreateWhatsAppBatchRequest = {
|
|
|
3384
3492
|
/**
|
|
3385
3493
|
* Timezone
|
|
3386
3494
|
*/
|
|
3387
|
-
timezone?: string
|
|
3495
|
+
timezone?: string;
|
|
3388
3496
|
/**
|
|
3389
3497
|
* To Column
|
|
3390
3498
|
*
|
|
@@ -3480,6 +3588,14 @@ export type CreditLedgerEntryResponse = {
|
|
|
3480
3588
|
* Balance After
|
|
3481
3589
|
*/
|
|
3482
3590
|
balance_after: number;
|
|
3591
|
+
/**
|
|
3592
|
+
* Channel
|
|
3593
|
+
*/
|
|
3594
|
+
channel: 'voice' | 'video' | 'text' | null;
|
|
3595
|
+
/**
|
|
3596
|
+
* Conversation Id
|
|
3597
|
+
*/
|
|
3598
|
+
conversation_id: string | null;
|
|
3483
3599
|
/**
|
|
3484
3600
|
* Created At
|
|
3485
3601
|
*/
|
|
@@ -3535,6 +3651,32 @@ export type DeleteRecipientsRequest = {
|
|
|
3535
3651
|
*/
|
|
3536
3652
|
recipient_ids: Array<string>;
|
|
3537
3653
|
};
|
|
3654
|
+
/**
|
|
3655
|
+
* DeleteTaskRunsRequest
|
|
3656
|
+
*/
|
|
3657
|
+
export type DeleteTaskRunsRequest = {
|
|
3658
|
+
/**
|
|
3659
|
+
* Metadata
|
|
3660
|
+
*
|
|
3661
|
+
* Runs whose metadata contains all of these pairs.
|
|
3662
|
+
*/
|
|
3663
|
+
metadata: {
|
|
3664
|
+
[key: string]: unknown | string;
|
|
3665
|
+
};
|
|
3666
|
+
/**
|
|
3667
|
+
* Task Id
|
|
3668
|
+
*/
|
|
3669
|
+
task_id?: string | null;
|
|
3670
|
+
};
|
|
3671
|
+
/**
|
|
3672
|
+
* DeleteTaskRunsResponse
|
|
3673
|
+
*/
|
|
3674
|
+
export type DeleteTaskRunsResponse = {
|
|
3675
|
+
/**
|
|
3676
|
+
* Count
|
|
3677
|
+
*/
|
|
3678
|
+
count: number;
|
|
3679
|
+
};
|
|
3538
3680
|
/**
|
|
3539
3681
|
* DeliveryError
|
|
3540
3682
|
*
|
|
@@ -4400,6 +4542,29 @@ export type FieldMap = {
|
|
|
4400
4542
|
*/
|
|
4401
4543
|
to: string;
|
|
4402
4544
|
};
|
|
4545
|
+
/**
|
|
4546
|
+
* FileInput
|
|
4547
|
+
*
|
|
4548
|
+
* One PDF for a `file` input: a public https URL, or the bytes as a data URL.
|
|
4549
|
+
*/
|
|
4550
|
+
export type FileInput = {
|
|
4551
|
+
/**
|
|
4552
|
+
* Data Url
|
|
4553
|
+
*
|
|
4554
|
+
* `data:application/pdf;base64,<bytes>`, up to 20 MB decoded.
|
|
4555
|
+
*/
|
|
4556
|
+
data_url?: string | null;
|
|
4557
|
+
/**
|
|
4558
|
+
* Filename
|
|
4559
|
+
*/
|
|
4560
|
+
filename?: string | null;
|
|
4561
|
+
/**
|
|
4562
|
+
* Url
|
|
4563
|
+
*
|
|
4564
|
+
* An https URL the run downloads.
|
|
4565
|
+
*/
|
|
4566
|
+
url?: string | null;
|
|
4567
|
+
};
|
|
4403
4568
|
/**
|
|
4404
4569
|
* FixedDailyCap
|
|
4405
4570
|
*
|
|
@@ -4908,6 +5073,10 @@ export type ImportPhoneNumbersRequest = {
|
|
|
4908
5073
|
* Provision
|
|
4909
5074
|
*/
|
|
4910
5075
|
provision?: boolean;
|
|
5076
|
+
/**
|
|
5077
|
+
* Region
|
|
5078
|
+
*/
|
|
5079
|
+
region?: 'us' | 'in' | null;
|
|
4911
5080
|
/**
|
|
4912
5081
|
* Telephony Account Id
|
|
4913
5082
|
*/
|
|
@@ -7417,9 +7586,9 @@ export type PageTaskResponse = {
|
|
|
7417
7586
|
offset: number;
|
|
7418
7587
|
};
|
|
7419
7588
|
/**
|
|
7420
|
-
* Page[
|
|
7589
|
+
* Page[TaskRunSummary]
|
|
7421
7590
|
*/
|
|
7422
|
-
export type
|
|
7591
|
+
export type PageTaskRunSummary = {
|
|
7423
7592
|
/**
|
|
7424
7593
|
* Has More
|
|
7425
7594
|
*/
|
|
@@ -7427,7 +7596,7 @@ export type PageTaskRunResponse = {
|
|
|
7427
7596
|
/**
|
|
7428
7597
|
* Items
|
|
7429
7598
|
*/
|
|
7430
|
-
items: Array<
|
|
7599
|
+
items: Array<TaskRunSummary>;
|
|
7431
7600
|
/**
|
|
7432
7601
|
* Limit
|
|
7433
7602
|
*/
|
|
@@ -7579,7 +7748,7 @@ export type PatchCallBatchRequest = {
|
|
|
7579
7748
|
/**
|
|
7580
7749
|
* Agent Id
|
|
7581
7750
|
*/
|
|
7582
|
-
agent_id?: string
|
|
7751
|
+
agent_id?: string;
|
|
7583
7752
|
calling_window?: TimeWindow | null;
|
|
7584
7753
|
/**
|
|
7585
7754
|
* Dial Daily Cap
|
|
@@ -7592,27 +7761,27 @@ export type PatchCallBatchRequest = {
|
|
|
7592
7761
|
/**
|
|
7593
7762
|
* Dial Gap Seconds
|
|
7594
7763
|
*/
|
|
7595
|
-
dial_gap_seconds?: number
|
|
7764
|
+
dial_gap_seconds?: number;
|
|
7596
7765
|
/**
|
|
7597
7766
|
* From Phone Number Id
|
|
7598
7767
|
*/
|
|
7599
|
-
from_phone_number_id?: string
|
|
7768
|
+
from_phone_number_id?: string;
|
|
7600
7769
|
/**
|
|
7601
7770
|
* Max Attempts
|
|
7602
7771
|
*/
|
|
7603
|
-
max_attempts?: number
|
|
7772
|
+
max_attempts?: number;
|
|
7604
7773
|
/**
|
|
7605
7774
|
* Max Concurrency
|
|
7606
7775
|
*/
|
|
7607
|
-
max_concurrency?: number
|
|
7776
|
+
max_concurrency?: number;
|
|
7608
7777
|
/**
|
|
7609
7778
|
* Name
|
|
7610
7779
|
*/
|
|
7611
|
-
name?: string
|
|
7780
|
+
name?: string;
|
|
7612
7781
|
/**
|
|
7613
7782
|
* Retry After Minutes
|
|
7614
7783
|
*/
|
|
7615
|
-
retry_after_minutes?: number
|
|
7784
|
+
retry_after_minutes?: number;
|
|
7616
7785
|
/**
|
|
7617
7786
|
* Start At
|
|
7618
7787
|
*/
|
|
@@ -7620,7 +7789,7 @@ export type PatchCallBatchRequest = {
|
|
|
7620
7789
|
/**
|
|
7621
7790
|
* Timezone
|
|
7622
7791
|
*/
|
|
7623
|
-
timezone?: string
|
|
7792
|
+
timezone?: string;
|
|
7624
7793
|
};
|
|
7625
7794
|
/**
|
|
7626
7795
|
* PatchConversationRequest
|
|
@@ -7631,7 +7800,7 @@ export type PatchConversationRequest = {
|
|
|
7631
7800
|
*/
|
|
7632
7801
|
metadata?: {
|
|
7633
7802
|
[key: string]: unknown;
|
|
7634
|
-
}
|
|
7803
|
+
};
|
|
7635
7804
|
/**
|
|
7636
7805
|
* Summary
|
|
7637
7806
|
*/
|
|
@@ -7641,7 +7810,7 @@ export type PatchConversationRequest = {
|
|
|
7641
7810
|
*/
|
|
7642
7811
|
userdata?: {
|
|
7643
7812
|
[key: string]: unknown;
|
|
7644
|
-
}
|
|
7813
|
+
};
|
|
7645
7814
|
};
|
|
7646
7815
|
/**
|
|
7647
7816
|
* PatchEmailBatchRequest
|
|
@@ -7662,28 +7831,31 @@ export type PatchEmailBatchRequest = {
|
|
|
7662
7831
|
/**
|
|
7663
7832
|
* Body Format
|
|
7664
7833
|
*/
|
|
7665
|
-
body_format?: 'text' | 'html'
|
|
7834
|
+
body_format?: 'text' | 'html';
|
|
7666
7835
|
/**
|
|
7667
7836
|
* Draft Attempts
|
|
7668
7837
|
*/
|
|
7669
|
-
draft_attempts?: number
|
|
7838
|
+
draft_attempts?: number;
|
|
7670
7839
|
/**
|
|
7671
7840
|
* Draft Concurrency
|
|
7672
7841
|
*/
|
|
7673
|
-
draft_concurrency?: number
|
|
7842
|
+
draft_concurrency?: number;
|
|
7674
7843
|
/**
|
|
7675
7844
|
* Draft Gap Seconds
|
|
7676
7845
|
*/
|
|
7677
|
-
draft_gap_seconds?: number
|
|
7846
|
+
draft_gap_seconds?: number;
|
|
7678
7847
|
/**
|
|
7679
7848
|
* Draft Retry After Minutes
|
|
7680
7849
|
*/
|
|
7681
|
-
draft_retry_after_minutes?: number
|
|
7682
|
-
|
|
7850
|
+
draft_retry_after_minutes?: number;
|
|
7851
|
+
/**
|
|
7852
|
+
* Field Map
|
|
7853
|
+
*/
|
|
7854
|
+
field_map?: FieldMap;
|
|
7683
7855
|
/**
|
|
7684
7856
|
* From Email
|
|
7685
7857
|
*/
|
|
7686
|
-
from_email?: string
|
|
7858
|
+
from_email?: string;
|
|
7687
7859
|
/**
|
|
7688
7860
|
* From Name
|
|
7689
7861
|
*/
|
|
@@ -7691,7 +7863,7 @@ export type PatchEmailBatchRequest = {
|
|
|
7691
7863
|
/**
|
|
7692
7864
|
* Name
|
|
7693
7865
|
*/
|
|
7694
|
-
name?: string
|
|
7866
|
+
name?: string;
|
|
7695
7867
|
/**
|
|
7696
7868
|
* Reply To
|
|
7697
7869
|
*/
|
|
@@ -7699,7 +7871,7 @@ export type PatchEmailBatchRequest = {
|
|
|
7699
7871
|
/**
|
|
7700
7872
|
* Send Attempts
|
|
7701
7873
|
*/
|
|
7702
|
-
send_attempts?: number
|
|
7874
|
+
send_attempts?: number;
|
|
7703
7875
|
/**
|
|
7704
7876
|
* Send Daily Cap
|
|
7705
7877
|
*/
|
|
@@ -7711,11 +7883,11 @@ export type PatchEmailBatchRequest = {
|
|
|
7711
7883
|
/**
|
|
7712
7884
|
* Send Gap Seconds
|
|
7713
7885
|
*/
|
|
7714
|
-
send_gap_seconds?: number
|
|
7886
|
+
send_gap_seconds?: number;
|
|
7715
7887
|
/**
|
|
7716
7888
|
* Send Retry After Minutes
|
|
7717
7889
|
*/
|
|
7718
|
-
send_retry_after_minutes?: number
|
|
7890
|
+
send_retry_after_minutes?: number;
|
|
7719
7891
|
/**
|
|
7720
7892
|
* Start At
|
|
7721
7893
|
*/
|
|
@@ -7723,7 +7895,7 @@ export type PatchEmailBatchRequest = {
|
|
|
7723
7895
|
/**
|
|
7724
7896
|
* Timezone
|
|
7725
7897
|
*/
|
|
7726
|
-
timezone?: string
|
|
7898
|
+
timezone?: string;
|
|
7727
7899
|
window?: TimeWindow | null;
|
|
7728
7900
|
};
|
|
7729
7901
|
/**
|
|
@@ -7758,7 +7930,7 @@ export type PatchEmailSendRequest = {
|
|
|
7758
7930
|
/**
|
|
7759
7931
|
* Send Attempts
|
|
7760
7932
|
*/
|
|
7761
|
-
send_attempts?: number
|
|
7933
|
+
send_attempts?: number;
|
|
7762
7934
|
/**
|
|
7763
7935
|
* Send Daily Cap
|
|
7764
7936
|
*/
|
|
@@ -7770,11 +7942,11 @@ export type PatchEmailSendRequest = {
|
|
|
7770
7942
|
/**
|
|
7771
7943
|
* Send Gap Seconds
|
|
7772
7944
|
*/
|
|
7773
|
-
send_gap_seconds?: number
|
|
7945
|
+
send_gap_seconds?: number;
|
|
7774
7946
|
/**
|
|
7775
7947
|
* Send Retry After Minutes
|
|
7776
7948
|
*/
|
|
7777
|
-
send_retry_after_minutes?: number
|
|
7949
|
+
send_retry_after_minutes?: number;
|
|
7778
7950
|
/**
|
|
7779
7951
|
* Start At
|
|
7780
7952
|
*/
|
|
@@ -7782,7 +7954,7 @@ export type PatchEmailSendRequest = {
|
|
|
7782
7954
|
/**
|
|
7783
7955
|
* Timezone
|
|
7784
7956
|
*/
|
|
7785
|
-
timezone?: string
|
|
7957
|
+
timezone?: string;
|
|
7786
7958
|
window?: TimeWindow | null;
|
|
7787
7959
|
};
|
|
7788
7960
|
/**
|
|
@@ -7792,47 +7964,47 @@ export type PatchIntegrationRequest = {
|
|
|
7792
7964
|
/**
|
|
7793
7965
|
* Allowed Tools
|
|
7794
7966
|
*/
|
|
7795
|
-
allowed_tools?: Array<string
|
|
7967
|
+
allowed_tools?: Array<string>;
|
|
7796
7968
|
/**
|
|
7797
7969
|
* Credentials Ref
|
|
7798
7970
|
*/
|
|
7799
|
-
credentials_ref?: string
|
|
7971
|
+
credentials_ref?: string;
|
|
7800
7972
|
/**
|
|
7801
7973
|
* Display Name
|
|
7802
7974
|
*/
|
|
7803
|
-
display_name?: string
|
|
7975
|
+
display_name?: string;
|
|
7804
7976
|
/**
|
|
7805
7977
|
* Mcp Config
|
|
7806
7978
|
*/
|
|
7807
7979
|
mcp_config?: {
|
|
7808
7980
|
[key: string]: unknown;
|
|
7809
|
-
}
|
|
7981
|
+
};
|
|
7810
7982
|
/**
|
|
7811
7983
|
* Metadata
|
|
7812
7984
|
*/
|
|
7813
7985
|
metadata?: {
|
|
7814
7986
|
[key: string]: unknown;
|
|
7815
|
-
}
|
|
7987
|
+
};
|
|
7816
7988
|
/**
|
|
7817
7989
|
* Provider Account Info
|
|
7818
7990
|
*/
|
|
7819
7991
|
provider_account_info?: {
|
|
7820
7992
|
[key: string]: unknown;
|
|
7821
|
-
}
|
|
7993
|
+
};
|
|
7822
7994
|
/**
|
|
7823
7995
|
* Status
|
|
7824
7996
|
*/
|
|
7825
|
-
status?: 'active' | 'disabled' | 'needs_reconnect' | 'error'
|
|
7997
|
+
status?: 'active' | 'disabled' | 'needs_reconnect' | 'error';
|
|
7826
7998
|
/**
|
|
7827
7999
|
* Tools Namespace
|
|
7828
8000
|
*/
|
|
7829
|
-
tools_namespace?: string
|
|
8001
|
+
tools_namespace?: string;
|
|
7830
8002
|
/**
|
|
7831
8003
|
* Webhook Config
|
|
7832
8004
|
*/
|
|
7833
8005
|
webhook_config?: {
|
|
7834
8006
|
[key: string]: unknown;
|
|
7835
|
-
}
|
|
8007
|
+
};
|
|
7836
8008
|
};
|
|
7837
8009
|
/**
|
|
7838
8010
|
* PatchIntegrationTriggerRequest
|
|
@@ -7845,13 +8017,13 @@ export type PatchIntegrationTriggerRequest = {
|
|
|
7845
8017
|
/**
|
|
7846
8018
|
* Enabled
|
|
7847
8019
|
*/
|
|
7848
|
-
enabled?: boolean
|
|
8020
|
+
enabled?: boolean;
|
|
7849
8021
|
/**
|
|
7850
8022
|
* Metadata
|
|
7851
8023
|
*/
|
|
7852
8024
|
metadata?: {
|
|
7853
8025
|
[key: string]: unknown;
|
|
7854
|
-
}
|
|
8026
|
+
};
|
|
7855
8027
|
/**
|
|
7856
8028
|
* Provider Subscription Ref
|
|
7857
8029
|
*/
|
|
@@ -7859,15 +8031,15 @@ export type PatchIntegrationTriggerRequest = {
|
|
|
7859
8031
|
/**
|
|
7860
8032
|
* Reply Mode
|
|
7861
8033
|
*/
|
|
7862
|
-
reply_mode?: 'public_reply' | 'internal_note' | 'none'
|
|
8034
|
+
reply_mode?: 'public_reply' | 'internal_note' | 'none';
|
|
7863
8035
|
/**
|
|
7864
8036
|
* Status
|
|
7865
8037
|
*/
|
|
7866
|
-
status?: 'active' | 'disabled' | 'needs_setup' | 'error'
|
|
8038
|
+
status?: 'active' | 'disabled' | 'needs_setup' | 'error';
|
|
7867
8039
|
/**
|
|
7868
8040
|
* Trigger Type
|
|
7869
8041
|
*/
|
|
7870
|
-
trigger_type?: 'telegram.message.inbound' | 'whatsapp.message.inbound' | 'whatsapp.call.inbound'
|
|
8042
|
+
trigger_type?: 'telegram.message.inbound' | 'whatsapp.message.inbound' | 'whatsapp.call.inbound';
|
|
7871
8043
|
};
|
|
7872
8044
|
/**
|
|
7873
8045
|
* PatchPhoneNumberRequest
|
|
@@ -7876,19 +8048,23 @@ export type PatchPhoneNumberRequest = {
|
|
|
7876
8048
|
/**
|
|
7877
8049
|
* Can Inbound
|
|
7878
8050
|
*/
|
|
7879
|
-
can_inbound?: boolean
|
|
8051
|
+
can_inbound?: boolean;
|
|
7880
8052
|
/**
|
|
7881
8053
|
* Can Outbound
|
|
7882
8054
|
*/
|
|
7883
|
-
can_outbound?: boolean
|
|
8055
|
+
can_outbound?: boolean;
|
|
7884
8056
|
/**
|
|
7885
8057
|
* Label
|
|
7886
8058
|
*/
|
|
7887
8059
|
label?: string | null;
|
|
8060
|
+
/**
|
|
8061
|
+
* Region
|
|
8062
|
+
*/
|
|
8063
|
+
region?: 'us' | 'in';
|
|
7888
8064
|
/**
|
|
7889
8065
|
* Status
|
|
7890
8066
|
*/
|
|
7891
|
-
status?: 'disabled' | 'pending'
|
|
8067
|
+
status?: 'disabled' | 'pending';
|
|
7892
8068
|
};
|
|
7893
8069
|
/**
|
|
7894
8070
|
* PatchStreamConnectionRequest
|
|
@@ -7897,15 +8073,19 @@ export type PatchStreamConnectionRequest = {
|
|
|
7897
8073
|
/**
|
|
7898
8074
|
* Agent Id
|
|
7899
8075
|
*/
|
|
7900
|
-
agent_id?: string
|
|
8076
|
+
agent_id?: string;
|
|
7901
8077
|
/**
|
|
7902
8078
|
* Name
|
|
7903
8079
|
*/
|
|
7904
|
-
name?: string
|
|
8080
|
+
name?: string;
|
|
8081
|
+
/**
|
|
8082
|
+
* Region
|
|
8083
|
+
*/
|
|
8084
|
+
region?: 'us' | 'in';
|
|
7905
8085
|
/**
|
|
7906
8086
|
* Status
|
|
7907
8087
|
*/
|
|
7908
|
-
status?: 'active' | 'disabled'
|
|
8088
|
+
status?: 'active' | 'disabled';
|
|
7909
8089
|
};
|
|
7910
8090
|
/**
|
|
7911
8091
|
* PatchTaskRequest
|
|
@@ -7925,25 +8105,29 @@ export type PatchTelephonyAccountRequest = {
|
|
|
7925
8105
|
*/
|
|
7926
8106
|
account_info?: {
|
|
7927
8107
|
[key: string]: unknown;
|
|
7928
|
-
}
|
|
8108
|
+
};
|
|
7929
8109
|
/**
|
|
7930
8110
|
* Console Setup Confirmed
|
|
7931
8111
|
*/
|
|
7932
|
-
console_setup_confirmed?: boolean
|
|
8112
|
+
console_setup_confirmed?: boolean;
|
|
8113
|
+
/**
|
|
8114
|
+
* Console Setup Region
|
|
8115
|
+
*/
|
|
8116
|
+
console_setup_region?: 'us' | 'in';
|
|
7933
8117
|
/**
|
|
7934
8118
|
* Credentials
|
|
7935
8119
|
*/
|
|
7936
8120
|
credentials?: {
|
|
7937
8121
|
[key: string]: string;
|
|
7938
|
-
}
|
|
8122
|
+
};
|
|
7939
8123
|
/**
|
|
7940
8124
|
* Display Name
|
|
7941
8125
|
*/
|
|
7942
|
-
display_name?: string
|
|
8126
|
+
display_name?: string;
|
|
7943
8127
|
/**
|
|
7944
8128
|
* Status
|
|
7945
8129
|
*/
|
|
7946
|
-
status?: 'disabled' | 'connected'
|
|
8130
|
+
status?: 'disabled' | 'connected';
|
|
7947
8131
|
};
|
|
7948
8132
|
/**
|
|
7949
8133
|
* PatchToolRequest
|
|
@@ -7952,33 +8136,33 @@ export type PatchToolRequest = {
|
|
|
7952
8136
|
/**
|
|
7953
8137
|
* Description
|
|
7954
8138
|
*/
|
|
7955
|
-
description?: string
|
|
8139
|
+
description?: string;
|
|
7956
8140
|
/**
|
|
7957
8141
|
* Disable Interruptions
|
|
7958
8142
|
*/
|
|
7959
|
-
disable_interruptions?: boolean
|
|
8143
|
+
disable_interruptions?: boolean;
|
|
7960
8144
|
/**
|
|
7961
8145
|
* Json Schema
|
|
7962
8146
|
*/
|
|
7963
8147
|
json_schema?: {
|
|
7964
8148
|
[key: string]: unknown;
|
|
7965
|
-
}
|
|
8149
|
+
};
|
|
7966
8150
|
/**
|
|
7967
8151
|
* Long Running Task
|
|
7968
8152
|
*/
|
|
7969
|
-
long_running_task?: boolean
|
|
8153
|
+
long_running_task?: boolean;
|
|
7970
8154
|
/**
|
|
7971
8155
|
* Name
|
|
7972
8156
|
*/
|
|
7973
|
-
name?: string
|
|
8157
|
+
name?: string;
|
|
7974
8158
|
/**
|
|
7975
8159
|
* Operations
|
|
7976
8160
|
*/
|
|
7977
|
-
operations?: Array<HttpOperation | CodeOperation | FrontendRpcOperation | IfOperation | SetVariableOperation | SayOperation | GenerateReplyOperation | AddMessageOperation | EndCallOperation | HandoffOperation | TransferOperation | SendDtmfOperation
|
|
8161
|
+
operations?: Array<HttpOperation | CodeOperation | FrontendRpcOperation | IfOperation | SetVariableOperation | SayOperation | GenerateReplyOperation | AddMessageOperation | EndCallOperation | HandoffOperation | TransferOperation | SendDtmfOperation>;
|
|
7978
8162
|
/**
|
|
7979
8163
|
* Silent
|
|
7980
8164
|
*/
|
|
7981
|
-
silent?: boolean
|
|
8165
|
+
silent?: boolean;
|
|
7982
8166
|
};
|
|
7983
8167
|
/**
|
|
7984
8168
|
* PatchWebhookRequest
|
|
@@ -7987,15 +8171,15 @@ export type PatchWebhookRequest = {
|
|
|
7987
8171
|
/**
|
|
7988
8172
|
* Status
|
|
7989
8173
|
*/
|
|
7990
|
-
status?: 'active' | 'disabled'
|
|
8174
|
+
status?: 'active' | 'disabled';
|
|
7991
8175
|
/**
|
|
7992
8176
|
* Subscribed Events
|
|
7993
8177
|
*/
|
|
7994
|
-
subscribed_events?: Array<string
|
|
8178
|
+
subscribed_events?: Array<string>;
|
|
7995
8179
|
/**
|
|
7996
8180
|
* Url
|
|
7997
8181
|
*/
|
|
7998
|
-
url?: string
|
|
8182
|
+
url?: string;
|
|
7999
8183
|
};
|
|
8000
8184
|
/**
|
|
8001
8185
|
* PatchWhatsAppBatchRequest
|
|
@@ -8008,15 +8192,15 @@ export type PatchWhatsAppBatchRequest = {
|
|
|
8008
8192
|
*
|
|
8009
8193
|
* Sends per row, the first included, while Meta's per-person limit holds it back.
|
|
8010
8194
|
*/
|
|
8011
|
-
delivery_attempts?: number
|
|
8195
|
+
delivery_attempts?: number;
|
|
8012
8196
|
/**
|
|
8013
8197
|
* Delivery Retry After Hours
|
|
8014
8198
|
*/
|
|
8015
|
-
delivery_retry_after_hours?: number
|
|
8199
|
+
delivery_retry_after_hours?: number;
|
|
8016
8200
|
/**
|
|
8017
8201
|
* Name
|
|
8018
8202
|
*/
|
|
8019
|
-
name?: string
|
|
8203
|
+
name?: string;
|
|
8020
8204
|
/**
|
|
8021
8205
|
* Send Daily Cap
|
|
8022
8206
|
*
|
|
@@ -8030,7 +8214,7 @@ export type PatchWhatsAppBatchRequest = {
|
|
|
8030
8214
|
/**
|
|
8031
8215
|
* Send Gap Seconds
|
|
8032
8216
|
*/
|
|
8033
|
-
send_gap_seconds?: number
|
|
8217
|
+
send_gap_seconds?: number;
|
|
8034
8218
|
/**
|
|
8035
8219
|
* Start At
|
|
8036
8220
|
*/
|
|
@@ -8038,13 +8222,13 @@ export type PatchWhatsAppBatchRequest = {
|
|
|
8038
8222
|
/**
|
|
8039
8223
|
* Timezone
|
|
8040
8224
|
*/
|
|
8041
|
-
timezone?: string
|
|
8225
|
+
timezone?: string;
|
|
8042
8226
|
/**
|
|
8043
8227
|
* Variable Map
|
|
8044
8228
|
*/
|
|
8045
8229
|
variable_map?: {
|
|
8046
8230
|
[key: string]: string;
|
|
8047
|
-
}
|
|
8231
|
+
};
|
|
8048
8232
|
window?: TimeWindow | null;
|
|
8049
8233
|
};
|
|
8050
8234
|
/**
|
|
@@ -8122,6 +8306,10 @@ export type PhoneNumberResponse = {
|
|
|
8122
8306
|
* Readiness
|
|
8123
8307
|
*/
|
|
8124
8308
|
readiness: 'live' | 'needs_agent' | 'needs_carrier_setup' | 'setting_up' | 'error' | 'disabled';
|
|
8309
|
+
/**
|
|
8310
|
+
* Region
|
|
8311
|
+
*/
|
|
8312
|
+
region: 'us' | 'in';
|
|
8125
8313
|
/**
|
|
8126
8314
|
* Status
|
|
8127
8315
|
*/
|
|
@@ -8359,6 +8547,7 @@ export type ProviderEntryResponse = {
|
|
|
8359
8547
|
* Logo Url
|
|
8360
8548
|
*/
|
|
8361
8549
|
logo_url: string;
|
|
8550
|
+
routes: Routes | null;
|
|
8362
8551
|
/**
|
|
8363
8552
|
* Searched Kinds
|
|
8364
8553
|
*/
|
|
@@ -9049,6 +9238,19 @@ export type RedraftRequest = {
|
|
|
9049
9238
|
*/
|
|
9050
9239
|
selection?: 'all' | 'failed' | 'not_sent' | 'stale_version' | null;
|
|
9051
9240
|
};
|
|
9241
|
+
/**
|
|
9242
|
+
* RegionOption
|
|
9243
|
+
*/
|
|
9244
|
+
export type RegionOption = {
|
|
9245
|
+
/**
|
|
9246
|
+
* Id
|
|
9247
|
+
*/
|
|
9248
|
+
id: 'us' | 'in';
|
|
9249
|
+
/**
|
|
9250
|
+
* Name
|
|
9251
|
+
*/
|
|
9252
|
+
name: string;
|
|
9253
|
+
};
|
|
9052
9254
|
/**
|
|
9053
9255
|
* RejectedRecipient
|
|
9054
9256
|
*/
|
|
@@ -9106,6 +9308,79 @@ export type ReplyLatency = {
|
|
|
9106
9308
|
*/
|
|
9107
9309
|
total_ms: number;
|
|
9108
9310
|
};
|
|
9311
|
+
/**
|
|
9312
|
+
* ResumeCallRequest
|
|
9313
|
+
*/
|
|
9314
|
+
export type ResumeCallRequest = {
|
|
9315
|
+
/**
|
|
9316
|
+
* Region
|
|
9317
|
+
*/
|
|
9318
|
+
region?: 'us' | 'in';
|
|
9319
|
+
};
|
|
9320
|
+
/**
|
|
9321
|
+
* RoutedTTS
|
|
9322
|
+
*
|
|
9323
|
+
* The text-to-speech a router serves: other providers' TTS entries, reached
|
|
9324
|
+
* through it, plus the rate it bills for what it serves from its cache.
|
|
9325
|
+
*/
|
|
9326
|
+
export type RoutedTTS = {
|
|
9327
|
+
/**
|
|
9328
|
+
* Cached Per Character
|
|
9329
|
+
*/
|
|
9330
|
+
cached_per_character: number;
|
|
9331
|
+
/**
|
|
9332
|
+
* Providers
|
|
9333
|
+
*/
|
|
9334
|
+
providers: Array<string>;
|
|
9335
|
+
};
|
|
9336
|
+
/**
|
|
9337
|
+
* Routes
|
|
9338
|
+
*
|
|
9339
|
+
* What a router provider serves. Its entries are not written out: each one
|
|
9340
|
+
* is a routed provider's own entry under the model id `<provider>/<model>`,
|
|
9341
|
+
* built at load (`Catalog._route_entries`), so voices, languages, speed bounds
|
|
9342
|
+
* and the provider's rates can never drift from the provider's entry.
|
|
9343
|
+
*/
|
|
9344
|
+
export type Routes = {
|
|
9345
|
+
tts: RoutedTTS;
|
|
9346
|
+
};
|
|
9347
|
+
/**
|
|
9348
|
+
* RunItem
|
|
9349
|
+
*
|
|
9350
|
+
* One run's inputs and labels.
|
|
9351
|
+
*/
|
|
9352
|
+
export type RunItem = {
|
|
9353
|
+
/**
|
|
9354
|
+
* Files
|
|
9355
|
+
*
|
|
9356
|
+
* One PDF per declared `file` input, by name.
|
|
9357
|
+
*/
|
|
9358
|
+
files?: {
|
|
9359
|
+
[key: string]: FileInput;
|
|
9360
|
+
};
|
|
9361
|
+
/**
|
|
9362
|
+
* Idempotency Key
|
|
9363
|
+
*
|
|
9364
|
+
* Resending the same key returns the existing run instead of starting another.
|
|
9365
|
+
*/
|
|
9366
|
+
idempotency_key?: string | null;
|
|
9367
|
+
/**
|
|
9368
|
+
* Metadata
|
|
9369
|
+
*
|
|
9370
|
+
* Up to 16 string labels of your own, for filtering.
|
|
9371
|
+
*/
|
|
9372
|
+
metadata?: {
|
|
9373
|
+
[key: string]: unknown | string;
|
|
9374
|
+
};
|
|
9375
|
+
/**
|
|
9376
|
+
* Vars
|
|
9377
|
+
*
|
|
9378
|
+
* Values for the task's text inputs, by name. Undeclared names are refused.
|
|
9379
|
+
*/
|
|
9380
|
+
vars?: {
|
|
9381
|
+
[key: string]: string;
|
|
9382
|
+
};
|
|
9383
|
+
};
|
|
9109
9384
|
/**
|
|
9110
9385
|
* RunStepResponse
|
|
9111
9386
|
*
|
|
@@ -9148,26 +9423,7 @@ export type RunStepResponse = {
|
|
|
9148
9423
|
status: string;
|
|
9149
9424
|
};
|
|
9150
9425
|
/**
|
|
9151
|
-
*
|
|
9152
|
-
*/
|
|
9153
|
-
export type RunTaskRequest = {
|
|
9154
|
-
/**
|
|
9155
|
-
* Vars
|
|
9156
|
-
*
|
|
9157
|
-
* 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.
|
|
9158
|
-
*/
|
|
9159
|
-
vars?: {
|
|
9160
|
-
[key: string]: string;
|
|
9161
|
-
};
|
|
9162
|
-
/**
|
|
9163
|
-
* Version
|
|
9164
|
-
*
|
|
9165
|
-
* 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.
|
|
9166
|
-
*/
|
|
9167
|
-
version?: number | 'draft' | null;
|
|
9168
|
-
};
|
|
9169
|
-
/**
|
|
9170
|
-
* RunToolRequest
|
|
9426
|
+
* RunToolRequest
|
|
9171
9427
|
*/
|
|
9172
9428
|
export type RunToolRequest = {
|
|
9173
9429
|
/**
|
|
@@ -9621,11 +9877,11 @@ export type SendWhatsAppBatchRequest = {
|
|
|
9621
9877
|
*
|
|
9622
9878
|
* Sends per row, the first included, while Meta's per-person limit holds it back.
|
|
9623
9879
|
*/
|
|
9624
|
-
delivery_attempts?: number
|
|
9880
|
+
delivery_attempts?: number;
|
|
9625
9881
|
/**
|
|
9626
9882
|
* Delivery Retry After Hours
|
|
9627
9883
|
*/
|
|
9628
|
-
delivery_retry_after_hours?: number
|
|
9884
|
+
delivery_retry_after_hours?: number;
|
|
9629
9885
|
/**
|
|
9630
9886
|
* Send Daily Cap
|
|
9631
9887
|
*
|
|
@@ -9639,7 +9895,7 @@ export type SendWhatsAppBatchRequest = {
|
|
|
9639
9895
|
/**
|
|
9640
9896
|
* Send Gap Seconds
|
|
9641
9897
|
*/
|
|
9642
|
-
send_gap_seconds?: number
|
|
9898
|
+
send_gap_seconds?: number;
|
|
9643
9899
|
/**
|
|
9644
9900
|
* Start At
|
|
9645
9901
|
*/
|
|
@@ -9647,7 +9903,7 @@ export type SendWhatsAppBatchRequest = {
|
|
|
9647
9903
|
/**
|
|
9648
9904
|
* Timezone
|
|
9649
9905
|
*/
|
|
9650
|
-
timezone?: string
|
|
9906
|
+
timezone?: string;
|
|
9651
9907
|
window?: TimeWindow | null;
|
|
9652
9908
|
};
|
|
9653
9909
|
/**
|
|
@@ -9984,6 +10240,10 @@ export type StreamConnectionResponse = {
|
|
|
9984
10240
|
* Readiness
|
|
9985
10241
|
*/
|
|
9986
10242
|
readiness: 'live' | 'needs_agent' | 'disabled';
|
|
10243
|
+
/**
|
|
10244
|
+
* Region
|
|
10245
|
+
*/
|
|
10246
|
+
region: 'us' | 'in';
|
|
9987
10247
|
/**
|
|
9988
10248
|
* Status
|
|
9989
10249
|
*/
|
|
@@ -10217,6 +10477,10 @@ export type TTSPriceLine = {
|
|
|
10217
10477
|
* Audio Duration
|
|
10218
10478
|
*/
|
|
10219
10479
|
audio_duration: number | null;
|
|
10480
|
+
/**
|
|
10481
|
+
* Cached Characters
|
|
10482
|
+
*/
|
|
10483
|
+
cached_characters: number | null;
|
|
10220
10484
|
/**
|
|
10221
10485
|
* Characters Count
|
|
10222
10486
|
*/
|
|
@@ -10251,6 +10515,10 @@ export type TTSPriceLine = {
|
|
|
10251
10515
|
* TTSPricing
|
|
10252
10516
|
*/
|
|
10253
10517
|
export type TTSPricing = {
|
|
10518
|
+
/**
|
|
10519
|
+
* Cached Per Character
|
|
10520
|
+
*/
|
|
10521
|
+
cached_per_character?: number | null;
|
|
10254
10522
|
/**
|
|
10255
10523
|
* Input Per 1M
|
|
10256
10524
|
*/
|
|
@@ -10358,6 +10626,10 @@ export type TTSUsage = {
|
|
|
10358
10626
|
* Audio Duration
|
|
10359
10627
|
*/
|
|
10360
10628
|
audio_duration: number;
|
|
10629
|
+
/**
|
|
10630
|
+
* Cached Characters
|
|
10631
|
+
*/
|
|
10632
|
+
cached_characters: number;
|
|
10361
10633
|
/**
|
|
10362
10634
|
* Characters Count
|
|
10363
10635
|
*/
|
|
@@ -10387,6 +10659,10 @@ export type TTSUsageResponse = {
|
|
|
10387
10659
|
* Audio Duration
|
|
10388
10660
|
*/
|
|
10389
10661
|
audio_duration: number;
|
|
10662
|
+
/**
|
|
10663
|
+
* Cached Characters
|
|
10664
|
+
*/
|
|
10665
|
+
cached_characters: number;
|
|
10390
10666
|
/**
|
|
10391
10667
|
* Characters Count
|
|
10392
10668
|
*/
|
|
@@ -10415,7 +10691,7 @@ export type TTSUsageResponse = {
|
|
|
10415
10691
|
*
|
|
10416
10692
|
* It declares no channel, no media and no greeting. Entered by an agent it
|
|
10417
10693
|
* speaks with that call's voice and hears with its ears; run on its own from
|
|
10418
|
-
* `POST /
|
|
10694
|
+
* `POST /task-runs` it is an LLM with tools and nobody to talk to. Which
|
|
10419
10695
|
* of the two happens is the caller's, never the task's.
|
|
10420
10696
|
*/
|
|
10421
10697
|
export type TaskConfig = {
|
|
@@ -10456,7 +10732,7 @@ export type TaskConfig = {
|
|
|
10456
10732
|
/**
|
|
10457
10733
|
* Output
|
|
10458
10734
|
*
|
|
10459
|
-
* The typed value this task produces
|
|
10735
|
+
* 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.
|
|
10460
10736
|
*/
|
|
10461
10737
|
output?: Array<TaskOutputField>;
|
|
10462
10738
|
/**
|
|
@@ -10499,9 +10775,7 @@ export type TaskConfig = {
|
|
|
10499
10775
|
/**
|
|
10500
10776
|
* TaskOutputField
|
|
10501
10777
|
*
|
|
10502
|
-
* One value the model must produce.
|
|
10503
|
-
*
|
|
10504
|
-
* Flat scalars only — no arrays and no nested objects.
|
|
10778
|
+
* One value the model must produce: a scalar, an object of named fields, or an array.
|
|
10505
10779
|
*/
|
|
10506
10780
|
export type TaskOutputField = {
|
|
10507
10781
|
/**
|
|
@@ -10510,6 +10784,22 @@ export type TaskOutputField = {
|
|
|
10510
10784
|
* 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.
|
|
10511
10785
|
*/
|
|
10512
10786
|
description: string;
|
|
10787
|
+
/**
|
|
10788
|
+
* Enum
|
|
10789
|
+
*
|
|
10790
|
+
* Allowed values. Strings only.
|
|
10791
|
+
*/
|
|
10792
|
+
enum?: Array<string> | null;
|
|
10793
|
+
/**
|
|
10794
|
+
* Fields
|
|
10795
|
+
*
|
|
10796
|
+
* An object's fields.
|
|
10797
|
+
*/
|
|
10798
|
+
fields?: Array<TaskOutputField> | null;
|
|
10799
|
+
/**
|
|
10800
|
+
* An array's element.
|
|
10801
|
+
*/
|
|
10802
|
+
items?: TaskOutputItem | null;
|
|
10513
10803
|
/**
|
|
10514
10804
|
* Name
|
|
10515
10805
|
*
|
|
@@ -10525,9 +10815,42 @@ export type TaskOutputField = {
|
|
|
10525
10815
|
/**
|
|
10526
10816
|
* Type
|
|
10527
10817
|
*
|
|
10528
|
-
* The shape of the value.
|
|
10818
|
+
* The shape of the value. `object` takes `fields`; `array` takes `items`.
|
|
10529
10819
|
*/
|
|
10530
|
-
type?: 'string' | 'boolean' | 'integer' | 'number';
|
|
10820
|
+
type?: 'string' | 'boolean' | 'integer' | 'number' | 'object' | 'array';
|
|
10821
|
+
};
|
|
10822
|
+
/**
|
|
10823
|
+
* TaskOutputItem
|
|
10824
|
+
*
|
|
10825
|
+
* What an array holds: one element's shape. Unnamed, and never null.
|
|
10826
|
+
*/
|
|
10827
|
+
export type TaskOutputItem = {
|
|
10828
|
+
/**
|
|
10829
|
+
* Description
|
|
10830
|
+
*
|
|
10831
|
+
* What one element is.
|
|
10832
|
+
*/
|
|
10833
|
+
description?: string;
|
|
10834
|
+
/**
|
|
10835
|
+
* Enum
|
|
10836
|
+
*
|
|
10837
|
+
* Allowed values. Strings only.
|
|
10838
|
+
*/
|
|
10839
|
+
enum?: Array<string> | null;
|
|
10840
|
+
/**
|
|
10841
|
+
* Fields
|
|
10842
|
+
*
|
|
10843
|
+
* An object element's fields.
|
|
10844
|
+
*/
|
|
10845
|
+
fields?: Array<TaskOutputField> | null;
|
|
10846
|
+
/**
|
|
10847
|
+
* A nested array's element.
|
|
10848
|
+
*/
|
|
10849
|
+
items?: TaskOutputItem | null;
|
|
10850
|
+
/**
|
|
10851
|
+
* Type
|
|
10852
|
+
*/
|
|
10853
|
+
type?: 'string' | 'boolean' | 'integer' | 'number' | 'object' | 'array';
|
|
10531
10854
|
};
|
|
10532
10855
|
/**
|
|
10533
10856
|
* TaskPatch
|
|
@@ -10572,7 +10895,7 @@ export type TaskPatch = {
|
|
|
10572
10895
|
/**
|
|
10573
10896
|
* Output
|
|
10574
10897
|
*
|
|
10575
|
-
* The typed value this task produces
|
|
10898
|
+
* 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.
|
|
10576
10899
|
*/
|
|
10577
10900
|
output?: Array<TaskOutputField> | null;
|
|
10578
10901
|
/**
|
|
@@ -10647,6 +10970,36 @@ export type TaskResponse = {
|
|
|
10647
10970
|
*/
|
|
10648
10971
|
versions: Array<TaskVersionResponse> | null;
|
|
10649
10972
|
};
|
|
10973
|
+
/**
|
|
10974
|
+
* TaskRunBatchItem
|
|
10975
|
+
*/
|
|
10976
|
+
export type TaskRunBatchItem = {
|
|
10977
|
+
/**
|
|
10978
|
+
* Deduplicated
|
|
10979
|
+
*/
|
|
10980
|
+
deduplicated: boolean;
|
|
10981
|
+
/**
|
|
10982
|
+
* Id
|
|
10983
|
+
*/
|
|
10984
|
+
id: string;
|
|
10985
|
+
/**
|
|
10986
|
+
* Idempotency Key
|
|
10987
|
+
*/
|
|
10988
|
+
idempotency_key: string | null;
|
|
10989
|
+
/**
|
|
10990
|
+
* Status
|
|
10991
|
+
*/
|
|
10992
|
+
status: 'queued' | 'running' | 'completed' | 'failed' | 'canceled';
|
|
10993
|
+
};
|
|
10994
|
+
/**
|
|
10995
|
+
* TaskRunBatchResponse
|
|
10996
|
+
*/
|
|
10997
|
+
export type TaskRunBatchResponse = {
|
|
10998
|
+
/**
|
|
10999
|
+
* Runs
|
|
11000
|
+
*/
|
|
11001
|
+
runs: Array<TaskRunBatchItem>;
|
|
11002
|
+
};
|
|
10650
11003
|
/**
|
|
10651
11004
|
* TaskRunError
|
|
10652
11005
|
*/
|
|
@@ -10658,20 +11011,101 @@ export type TaskRunError = {
|
|
|
10658
11011
|
/**
|
|
10659
11012
|
* Type
|
|
10660
11013
|
*/
|
|
10661
|
-
type: '
|
|
11014
|
+
type: 'invalid_input' | 'no_output' | 'step_limit' | 'timeout' | 'provider_error' | 'configuration' | 'platform' | 'canceled';
|
|
11015
|
+
};
|
|
11016
|
+
/**
|
|
11017
|
+
* TaskRunFile
|
|
11018
|
+
*
|
|
11019
|
+
* What one PDF input turned into before the model read it.
|
|
11020
|
+
*/
|
|
11021
|
+
export type TaskRunFile = {
|
|
11022
|
+
/**
|
|
11023
|
+
* Bytes
|
|
11024
|
+
*/
|
|
11025
|
+
bytes: number;
|
|
11026
|
+
/**
|
|
11027
|
+
* Filename
|
|
11028
|
+
*/
|
|
11029
|
+
filename: string | null;
|
|
11030
|
+
/**
|
|
11031
|
+
* Images
|
|
11032
|
+
*/
|
|
11033
|
+
images: Array<TaskRunImage>;
|
|
11034
|
+
/**
|
|
11035
|
+
* Input
|
|
11036
|
+
*/
|
|
11037
|
+
input: string;
|
|
11038
|
+
/**
|
|
11039
|
+
* Pages
|
|
11040
|
+
*/
|
|
11041
|
+
pages: number;
|
|
11042
|
+
/**
|
|
11043
|
+
* Text
|
|
11044
|
+
*/
|
|
11045
|
+
text: string;
|
|
11046
|
+
};
|
|
11047
|
+
/**
|
|
11048
|
+
* TaskRunImage
|
|
11049
|
+
*
|
|
11050
|
+
* A scanned page, as the model saw it.
|
|
11051
|
+
*/
|
|
11052
|
+
export type TaskRunImage = {
|
|
11053
|
+
/**
|
|
11054
|
+
* Height
|
|
11055
|
+
*/
|
|
11056
|
+
height: number;
|
|
11057
|
+
/**
|
|
11058
|
+
* Page
|
|
11059
|
+
*/
|
|
11060
|
+
page: number;
|
|
11061
|
+
/**
|
|
11062
|
+
* Url
|
|
11063
|
+
*/
|
|
11064
|
+
url: string;
|
|
11065
|
+
/**
|
|
11066
|
+
* Url Expires At
|
|
11067
|
+
*/
|
|
11068
|
+
url_expires_at: string;
|
|
11069
|
+
/**
|
|
11070
|
+
* Width
|
|
11071
|
+
*/
|
|
11072
|
+
width: number;
|
|
10662
11073
|
};
|
|
10663
11074
|
/**
|
|
10664
11075
|
* TaskRunResponse
|
|
11076
|
+
*
|
|
11077
|
+
* One run in full: the config it ran, its inputs, its trace and its usage.
|
|
10665
11078
|
*/
|
|
10666
11079
|
export type TaskRunResponse = {
|
|
10667
11080
|
/**
|
|
10668
11081
|
* Attempts
|
|
10669
11082
|
*/
|
|
10670
11083
|
attempts: number;
|
|
11084
|
+
/**
|
|
11085
|
+
* Background
|
|
11086
|
+
*/
|
|
11087
|
+
background: boolean;
|
|
10671
11088
|
/**
|
|
10672
11089
|
* Billing Status
|
|
10673
11090
|
*/
|
|
10674
11091
|
billing_status: string;
|
|
11092
|
+
/**
|
|
11093
|
+
* Cancel Requested At
|
|
11094
|
+
*/
|
|
11095
|
+
cancel_requested_at: string | null;
|
|
11096
|
+
config: TaskConfig | null;
|
|
11097
|
+
/**
|
|
11098
|
+
* Content Deleted At
|
|
11099
|
+
*/
|
|
11100
|
+
content_deleted_at: string | null;
|
|
11101
|
+
/**
|
|
11102
|
+
* Content Expires At
|
|
11103
|
+
*/
|
|
11104
|
+
content_expires_at: string | null;
|
|
11105
|
+
/**
|
|
11106
|
+
* Created At
|
|
11107
|
+
*/
|
|
11108
|
+
created_at: string;
|
|
10675
11109
|
/**
|
|
10676
11110
|
* Duration Ms
|
|
10677
11111
|
*/
|
|
@@ -10681,14 +11115,28 @@ export type TaskRunResponse = {
|
|
|
10681
11115
|
*/
|
|
10682
11116
|
ended_at: string | null;
|
|
10683
11117
|
error: TaskRunError | null;
|
|
11118
|
+
/**
|
|
11119
|
+
* Files
|
|
11120
|
+
*/
|
|
11121
|
+
files: Array<TaskRunFile>;
|
|
10684
11122
|
/**
|
|
10685
11123
|
* Id
|
|
10686
11124
|
*/
|
|
10687
11125
|
id: string;
|
|
11126
|
+
/**
|
|
11127
|
+
* Idempotency Key
|
|
11128
|
+
*/
|
|
11129
|
+
idempotency_key: string | null;
|
|
10688
11130
|
/**
|
|
10689
11131
|
* Max Steps
|
|
10690
11132
|
*/
|
|
10691
11133
|
max_steps: number;
|
|
11134
|
+
/**
|
|
11135
|
+
* Metadata
|
|
11136
|
+
*/
|
|
11137
|
+
metadata: {
|
|
11138
|
+
[key: string]: string;
|
|
11139
|
+
};
|
|
10692
11140
|
/**
|
|
10693
11141
|
* Output
|
|
10694
11142
|
*/
|
|
@@ -10702,11 +11150,11 @@ export type TaskRunResponse = {
|
|
|
10702
11150
|
/**
|
|
10703
11151
|
* Started At
|
|
10704
11152
|
*/
|
|
10705
|
-
started_at: string;
|
|
11153
|
+
started_at: string | null;
|
|
10706
11154
|
/**
|
|
10707
11155
|
* Status
|
|
10708
11156
|
*/
|
|
10709
|
-
status: 'running' | 'completed' | 'failed';
|
|
11157
|
+
status: 'queued' | 'running' | 'completed' | 'failed' | 'canceled';
|
|
10710
11158
|
/**
|
|
10711
11159
|
* Steps Used
|
|
10712
11160
|
*/
|
|
@@ -10727,6 +11175,10 @@ export type TaskRunResponse = {
|
|
|
10727
11175
|
* Trace
|
|
10728
11176
|
*/
|
|
10729
11177
|
trace: Array<TraceStepResponse>;
|
|
11178
|
+
/**
|
|
11179
|
+
* Tries
|
|
11180
|
+
*/
|
|
11181
|
+
tries: number;
|
|
10730
11182
|
/**
|
|
10731
11183
|
* Usage
|
|
10732
11184
|
*/
|
|
@@ -10741,34 +11193,90 @@ export type TaskRunResponse = {
|
|
|
10741
11193
|
/**
|
|
10742
11194
|
* TaskRunSummary
|
|
10743
11195
|
*
|
|
10744
|
-
* A run
|
|
11196
|
+
* A run without its trace, config or inputs: the list item, the
|
|
11197
|
+
* `task_run.completed` webhook body and a task's `last_run`, one shape for all three.
|
|
10745
11198
|
*
|
|
10746
11199
|
* `error` is the same object a full run carries rather than a bare type, so
|
|
10747
|
-
* one reader answers "how did it go" for both
|
|
10748
|
-
* same fact differently would be two shapes for one question.
|
|
11200
|
+
* one reader answers "how did it go" for both.
|
|
10749
11201
|
*/
|
|
10750
11202
|
export type TaskRunSummary = {
|
|
11203
|
+
/**
|
|
11204
|
+
* Background
|
|
11205
|
+
*/
|
|
11206
|
+
background: boolean;
|
|
11207
|
+
/**
|
|
11208
|
+
* Billing Status
|
|
11209
|
+
*/
|
|
11210
|
+
billing_status: string;
|
|
11211
|
+
/**
|
|
11212
|
+
* Content Deleted At
|
|
11213
|
+
*/
|
|
11214
|
+
content_deleted_at: string | null;
|
|
11215
|
+
/**
|
|
11216
|
+
* Content Expires At
|
|
11217
|
+
*/
|
|
11218
|
+
content_expires_at: string | null;
|
|
11219
|
+
/**
|
|
11220
|
+
* Created At
|
|
11221
|
+
*/
|
|
11222
|
+
created_at: string;
|
|
10751
11223
|
/**
|
|
10752
11224
|
* Duration Ms
|
|
10753
11225
|
*/
|
|
10754
|
-
duration_ms
|
|
10755
|
-
|
|
11226
|
+
duration_ms: number | null;
|
|
11227
|
+
/**
|
|
11228
|
+
* Ended At
|
|
11229
|
+
*/
|
|
11230
|
+
ended_at: string | null;
|
|
11231
|
+
error: TaskRunError | null;
|
|
10756
11232
|
/**
|
|
10757
11233
|
* Id
|
|
10758
11234
|
*/
|
|
10759
11235
|
id: string;
|
|
11236
|
+
/**
|
|
11237
|
+
* Idempotency Key
|
|
11238
|
+
*/
|
|
11239
|
+
idempotency_key: string | null;
|
|
11240
|
+
/**
|
|
11241
|
+
* Metadata
|
|
11242
|
+
*/
|
|
11243
|
+
metadata: {
|
|
11244
|
+
[key: string]: string;
|
|
11245
|
+
};
|
|
11246
|
+
/**
|
|
11247
|
+
* Output
|
|
11248
|
+
*/
|
|
11249
|
+
output: {
|
|
11250
|
+
[key: string]: unknown;
|
|
11251
|
+
} | null;
|
|
10760
11252
|
/**
|
|
10761
11253
|
* Provider Cost
|
|
10762
11254
|
*/
|
|
10763
|
-
provider_cost
|
|
11255
|
+
provider_cost: number | null;
|
|
10764
11256
|
/**
|
|
10765
11257
|
* Started At
|
|
10766
11258
|
*/
|
|
10767
|
-
started_at: string;
|
|
11259
|
+
started_at: string | null;
|
|
10768
11260
|
/**
|
|
10769
11261
|
* Status
|
|
10770
11262
|
*/
|
|
10771
|
-
status: 'running' | 'completed' | 'failed';
|
|
11263
|
+
status: 'queued' | 'running' | 'completed' | 'failed' | 'canceled';
|
|
11264
|
+
/**
|
|
11265
|
+
* Task Id
|
|
11266
|
+
*/
|
|
11267
|
+
task_id: string | null;
|
|
11268
|
+
/**
|
|
11269
|
+
* Task Name
|
|
11270
|
+
*/
|
|
11271
|
+
task_name: string | null;
|
|
11272
|
+
/**
|
|
11273
|
+
* Task Version
|
|
11274
|
+
*/
|
|
11275
|
+
task_version: number | null;
|
|
11276
|
+
/**
|
|
11277
|
+
* Tries
|
|
11278
|
+
*/
|
|
11279
|
+
tries: number;
|
|
10772
11280
|
};
|
|
10773
11281
|
/**
|
|
10774
11282
|
* TaskSelection
|
|
@@ -11066,6 +11574,10 @@ export type TelephonySetupStep = {
|
|
|
11066
11574
|
* Key
|
|
11067
11575
|
*/
|
|
11068
11576
|
key: string;
|
|
11577
|
+
/**
|
|
11578
|
+
* Region
|
|
11579
|
+
*/
|
|
11580
|
+
region: 'us' | 'in' | null;
|
|
11069
11581
|
/**
|
|
11070
11582
|
* Title
|
|
11071
11583
|
*/
|
|
@@ -11143,6 +11655,10 @@ export type TokenRequest = {
|
|
|
11143
11655
|
* Contact Key
|
|
11144
11656
|
*/
|
|
11145
11657
|
contact_key?: string | null;
|
|
11658
|
+
/**
|
|
11659
|
+
* Region
|
|
11660
|
+
*/
|
|
11661
|
+
region?: 'us' | 'in';
|
|
11146
11662
|
/**
|
|
11147
11663
|
* Userdata
|
|
11148
11664
|
*/
|
|
@@ -11656,11 +12172,11 @@ export type UpdateFaqEntryRequest = {
|
|
|
11656
12172
|
/**
|
|
11657
12173
|
* Answer
|
|
11658
12174
|
*/
|
|
11659
|
-
answer?: string
|
|
12175
|
+
answer?: string;
|
|
11660
12176
|
/**
|
|
11661
12177
|
* Question
|
|
11662
12178
|
*/
|
|
11663
|
-
question?: string
|
|
12179
|
+
question?: string;
|
|
11664
12180
|
};
|
|
11665
12181
|
/**
|
|
11666
12182
|
* UpdateFaqRequest
|
|
@@ -11741,6 +12257,18 @@ export type VarDeclaration = {
|
|
|
11741
12257
|
* 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.
|
|
11742
12258
|
*/
|
|
11743
12259
|
required?: boolean;
|
|
12260
|
+
/**
|
|
12261
|
+
* Type
|
|
12262
|
+
*
|
|
12263
|
+
* 'file' takes a PDF on a task run. Tasks only.
|
|
12264
|
+
*/
|
|
12265
|
+
type?: 'text' | 'file';
|
|
12266
|
+
/**
|
|
12267
|
+
* Untrusted
|
|
12268
|
+
*
|
|
12269
|
+
* Third-party content: given to the model as data, never templated. Tasks only.
|
|
12270
|
+
*/
|
|
12271
|
+
untrusted?: boolean;
|
|
11744
12272
|
};
|
|
11745
12273
|
/**
|
|
11746
12274
|
* VerifiedSendersResponse
|
|
@@ -14073,7 +14601,7 @@ export type CallsRecordingGetResults = {
|
|
|
14073
14601
|
};
|
|
14074
14602
|
export type CallsRecordingGetResult = CallsRecordingGetResults[keyof CallsRecordingGetResults];
|
|
14075
14603
|
export type CallsResumeData = {
|
|
14076
|
-
body?:
|
|
14604
|
+
body?: ResumeCallRequest;
|
|
14077
14605
|
path: {
|
|
14078
14606
|
/**
|
|
14079
14607
|
* Session Id
|
|
@@ -14386,7 +14914,14 @@ export type CatalogVoicesListResult = CatalogVoicesListResults[keyof CatalogVoic
|
|
|
14386
14914
|
export type CatalogVoicesElevenlabsAddData = {
|
|
14387
14915
|
body: AddVoiceRequest;
|
|
14388
14916
|
path?: never;
|
|
14389
|
-
query?:
|
|
14917
|
+
query?: {
|
|
14918
|
+
/**
|
|
14919
|
+
* Provider
|
|
14920
|
+
*
|
|
14921
|
+
* The agent's tts.provider.
|
|
14922
|
+
*/
|
|
14923
|
+
provider?: 'elevenlabs' | 'tts_cache_router';
|
|
14924
|
+
};
|
|
14390
14925
|
url: '/v1/catalog/voices/elevenlabs/add';
|
|
14391
14926
|
};
|
|
14392
14927
|
export type CatalogVoicesElevenlabsAddErrors = {
|
|
@@ -14427,7 +14962,14 @@ export type CatalogVoicesElevenlabsSettingsData = {
|
|
|
14427
14962
|
*/
|
|
14428
14963
|
voice_id: string;
|
|
14429
14964
|
};
|
|
14430
|
-
query?:
|
|
14965
|
+
query?: {
|
|
14966
|
+
/**
|
|
14967
|
+
* Provider
|
|
14968
|
+
*
|
|
14969
|
+
* The agent's tts.provider.
|
|
14970
|
+
*/
|
|
14971
|
+
provider?: 'elevenlabs' | 'tts_cache_router';
|
|
14972
|
+
};
|
|
14431
14973
|
url: '/v1/catalog/voices/elevenlabs/{voice_id}/settings';
|
|
14432
14974
|
};
|
|
14433
14975
|
export type CatalogVoicesElevenlabsSettingsErrors = {
|
|
@@ -17940,10 +18482,32 @@ export type TelephonyStreamsUpdateResults = {
|
|
|
17940
18482
|
200: StreamConnectionResponse;
|
|
17941
18483
|
};
|
|
17942
18484
|
export type TelephonyStreamsUpdateResult = TelephonyStreamsUpdateResults[keyof TelephonyStreamsUpdateResults];
|
|
17943
|
-
export type
|
|
18485
|
+
export type TaskRunsListData = {
|
|
17944
18486
|
body?: never;
|
|
17945
18487
|
path?: never;
|
|
17946
18488
|
query?: {
|
|
18489
|
+
/**
|
|
18490
|
+
* Task Id
|
|
18491
|
+
*/
|
|
18492
|
+
task_id?: string | null;
|
|
18493
|
+
/**
|
|
18494
|
+
* Status
|
|
18495
|
+
*/
|
|
18496
|
+
status?: 'queued' | 'running' | 'completed' | 'failed' | 'canceled' | null;
|
|
18497
|
+
/**
|
|
18498
|
+
* Metadata
|
|
18499
|
+
*
|
|
18500
|
+
* `key:value` pairs, all must match.
|
|
18501
|
+
*/
|
|
18502
|
+
metadata?: Array<string>;
|
|
18503
|
+
/**
|
|
18504
|
+
* Created After
|
|
18505
|
+
*/
|
|
18506
|
+
created_after?: string | null;
|
|
18507
|
+
/**
|
|
18508
|
+
* Created Before
|
|
18509
|
+
*/
|
|
18510
|
+
created_before?: string | null;
|
|
17947
18511
|
/**
|
|
17948
18512
|
* Limit
|
|
17949
18513
|
*/
|
|
@@ -17953,9 +18517,9 @@ export type TasksListData = {
|
|
|
17953
18517
|
*/
|
|
17954
18518
|
offset?: number;
|
|
17955
18519
|
};
|
|
17956
|
-
url: '/v1/
|
|
18520
|
+
url: '/v1/task-runs';
|
|
17957
18521
|
};
|
|
17958
|
-
export type
|
|
18522
|
+
export type TaskRunsListErrors = {
|
|
17959
18523
|
/**
|
|
17960
18524
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
17961
18525
|
*/
|
|
@@ -17969,21 +18533,21 @@ export type TasksListErrors = {
|
|
|
17969
18533
|
*/
|
|
17970
18534
|
default: ErrorResponse;
|
|
17971
18535
|
};
|
|
17972
|
-
export type
|
|
17973
|
-
export type
|
|
18536
|
+
export type TaskRunsListError = TaskRunsListErrors[keyof TaskRunsListErrors];
|
|
18537
|
+
export type TaskRunsListResults = {
|
|
17974
18538
|
/**
|
|
17975
18539
|
* Successful Response
|
|
17976
18540
|
*/
|
|
17977
|
-
200:
|
|
18541
|
+
200: PageTaskRunSummary;
|
|
17978
18542
|
};
|
|
17979
|
-
export type
|
|
17980
|
-
export type
|
|
17981
|
-
body:
|
|
18543
|
+
export type TaskRunsListResult = TaskRunsListResults[keyof TaskRunsListResults];
|
|
18544
|
+
export type TaskRunsCreateData = {
|
|
18545
|
+
body: CreateTaskRunRequest;
|
|
17982
18546
|
path?: never;
|
|
17983
18547
|
query?: never;
|
|
17984
|
-
url: '/v1/
|
|
18548
|
+
url: '/v1/task-runs';
|
|
17985
18549
|
};
|
|
17986
|
-
export type
|
|
18550
|
+
export type TaskRunsCreateErrors = {
|
|
17987
18551
|
/**
|
|
17988
18552
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
17989
18553
|
*/
|
|
@@ -18009,26 +18573,110 @@ export type TasksCreateErrors = {
|
|
|
18009
18573
|
*/
|
|
18010
18574
|
default: ErrorResponse;
|
|
18011
18575
|
};
|
|
18012
|
-
export type
|
|
18013
|
-
export type
|
|
18576
|
+
export type TaskRunsCreateError = TaskRunsCreateErrors[keyof TaskRunsCreateErrors];
|
|
18577
|
+
export type TaskRunsCreateResults = {
|
|
18014
18578
|
/**
|
|
18015
18579
|
* Successful Response
|
|
18016
18580
|
*/
|
|
18017
|
-
|
|
18581
|
+
200: TaskRunResponse;
|
|
18582
|
+
/**
|
|
18583
|
+
* Queued (`background: true`).
|
|
18584
|
+
*/
|
|
18585
|
+
202: TaskRunResponse;
|
|
18018
18586
|
};
|
|
18019
|
-
export type
|
|
18020
|
-
export type
|
|
18587
|
+
export type TaskRunsCreateResult = TaskRunsCreateResults[keyof TaskRunsCreateResults];
|
|
18588
|
+
export type TaskRunsCreateBatchData = {
|
|
18589
|
+
body: CreateTaskRunBatchRequest;
|
|
18590
|
+
path?: never;
|
|
18591
|
+
query?: never;
|
|
18592
|
+
url: '/v1/task-runs/batch';
|
|
18593
|
+
};
|
|
18594
|
+
export type TaskRunsCreateBatchErrors = {
|
|
18595
|
+
/**
|
|
18596
|
+
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18597
|
+
*/
|
|
18598
|
+
400: ErrorResponse;
|
|
18599
|
+
/**
|
|
18600
|
+
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18601
|
+
*/
|
|
18602
|
+
401: ErrorResponse;
|
|
18603
|
+
/**
|
|
18604
|
+
* Authenticated, but this organization role may not perform the operation.
|
|
18605
|
+
*/
|
|
18606
|
+
403: ErrorResponse;
|
|
18607
|
+
/**
|
|
18608
|
+
* The resource's current state forbids this — a name already taken, a job already running.
|
|
18609
|
+
*/
|
|
18610
|
+
409: ErrorResponse;
|
|
18611
|
+
/**
|
|
18612
|
+
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
18613
|
+
*/
|
|
18614
|
+
422: ErrorResponse;
|
|
18615
|
+
/**
|
|
18616
|
+
* Unexpected error. Every error this API returns carries this body.
|
|
18617
|
+
*/
|
|
18618
|
+
default: ErrorResponse;
|
|
18619
|
+
};
|
|
18620
|
+
export type TaskRunsCreateBatchError = TaskRunsCreateBatchErrors[keyof TaskRunsCreateBatchErrors];
|
|
18621
|
+
export type TaskRunsCreateBatchResults = {
|
|
18622
|
+
/**
|
|
18623
|
+
* Successful Response
|
|
18624
|
+
*/
|
|
18625
|
+
202: TaskRunBatchResponse;
|
|
18626
|
+
};
|
|
18627
|
+
export type TaskRunsCreateBatchResult = TaskRunsCreateBatchResults[keyof TaskRunsCreateBatchResults];
|
|
18628
|
+
export type TaskRunsDeleteManyData = {
|
|
18629
|
+
body: DeleteTaskRunsRequest;
|
|
18630
|
+
path?: never;
|
|
18631
|
+
query?: never;
|
|
18632
|
+
url: '/v1/task-runs/delete';
|
|
18633
|
+
};
|
|
18634
|
+
export type TaskRunsDeleteManyErrors = {
|
|
18635
|
+
/**
|
|
18636
|
+
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18637
|
+
*/
|
|
18638
|
+
400: ErrorResponse;
|
|
18639
|
+
/**
|
|
18640
|
+
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18641
|
+
*/
|
|
18642
|
+
401: ErrorResponse;
|
|
18643
|
+
/**
|
|
18644
|
+
* Authenticated, but this organization role may not perform the operation.
|
|
18645
|
+
*/
|
|
18646
|
+
403: ErrorResponse;
|
|
18647
|
+
/**
|
|
18648
|
+
* The resource's current state forbids this — a name already taken, a job already running.
|
|
18649
|
+
*/
|
|
18650
|
+
409: ErrorResponse;
|
|
18651
|
+
/**
|
|
18652
|
+
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
18653
|
+
*/
|
|
18654
|
+
422: ErrorResponse;
|
|
18655
|
+
/**
|
|
18656
|
+
* Unexpected error. Every error this API returns carries this body.
|
|
18657
|
+
*/
|
|
18658
|
+
default: ErrorResponse;
|
|
18659
|
+
};
|
|
18660
|
+
export type TaskRunsDeleteManyError = TaskRunsDeleteManyErrors[keyof TaskRunsDeleteManyErrors];
|
|
18661
|
+
export type TaskRunsDeleteManyResults = {
|
|
18662
|
+
/**
|
|
18663
|
+
* Successful Response
|
|
18664
|
+
*/
|
|
18665
|
+
202: DeleteTaskRunsResponse;
|
|
18666
|
+
};
|
|
18667
|
+
export type TaskRunsDeleteManyResult = TaskRunsDeleteManyResults[keyof TaskRunsDeleteManyResults];
|
|
18668
|
+
export type TaskRunsDeleteData = {
|
|
18021
18669
|
body?: never;
|
|
18022
18670
|
path: {
|
|
18023
18671
|
/**
|
|
18024
|
-
*
|
|
18672
|
+
* Run Id
|
|
18025
18673
|
*/
|
|
18026
|
-
|
|
18674
|
+
run_id: string;
|
|
18027
18675
|
};
|
|
18028
18676
|
query?: never;
|
|
18029
|
-
url: '/v1/
|
|
18677
|
+
url: '/v1/task-runs/{run_id}';
|
|
18030
18678
|
};
|
|
18031
|
-
export type
|
|
18679
|
+
export type TaskRunsDeleteErrors = {
|
|
18032
18680
|
/**
|
|
18033
18681
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18034
18682
|
*/
|
|
@@ -18058,26 +18706,25 @@ export type TasksDeleteErrors = {
|
|
|
18058
18706
|
*/
|
|
18059
18707
|
default: ErrorResponse;
|
|
18060
18708
|
};
|
|
18061
|
-
export type
|
|
18062
|
-
export type
|
|
18709
|
+
export type TaskRunsDeleteError = TaskRunsDeleteErrors[keyof TaskRunsDeleteErrors];
|
|
18710
|
+
export type TaskRunsDeleteResults = {
|
|
18063
18711
|
/**
|
|
18064
|
-
*
|
|
18712
|
+
* Deletion scheduled. No body.
|
|
18065
18713
|
*/
|
|
18066
|
-
|
|
18714
|
+
202: unknown;
|
|
18067
18715
|
};
|
|
18068
|
-
export type
|
|
18069
|
-
export type TasksGetData = {
|
|
18716
|
+
export type TaskRunsGetData = {
|
|
18070
18717
|
body?: never;
|
|
18071
18718
|
path: {
|
|
18072
18719
|
/**
|
|
18073
|
-
*
|
|
18720
|
+
* Run Id
|
|
18074
18721
|
*/
|
|
18075
|
-
|
|
18722
|
+
run_id: string;
|
|
18076
18723
|
};
|
|
18077
18724
|
query?: never;
|
|
18078
|
-
url: '/v1/
|
|
18725
|
+
url: '/v1/task-runs/{run_id}';
|
|
18079
18726
|
};
|
|
18080
|
-
export type
|
|
18727
|
+
export type TaskRunsGetErrors = {
|
|
18081
18728
|
/**
|
|
18082
18729
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18083
18730
|
*/
|
|
@@ -18095,26 +18742,26 @@ export type TasksGetErrors = {
|
|
|
18095
18742
|
*/
|
|
18096
18743
|
default: ErrorResponse;
|
|
18097
18744
|
};
|
|
18098
|
-
export type
|
|
18099
|
-
export type
|
|
18745
|
+
export type TaskRunsGetError = TaskRunsGetErrors[keyof TaskRunsGetErrors];
|
|
18746
|
+
export type TaskRunsGetResults = {
|
|
18100
18747
|
/**
|
|
18101
18748
|
* Successful Response
|
|
18102
18749
|
*/
|
|
18103
|
-
200:
|
|
18750
|
+
200: TaskRunResponse;
|
|
18104
18751
|
};
|
|
18105
|
-
export type
|
|
18106
|
-
export type
|
|
18107
|
-
body
|
|
18752
|
+
export type TaskRunsGetResult = TaskRunsGetResults[keyof TaskRunsGetResults];
|
|
18753
|
+
export type TaskRunsCancelData = {
|
|
18754
|
+
body?: never;
|
|
18108
18755
|
path: {
|
|
18109
18756
|
/**
|
|
18110
|
-
*
|
|
18757
|
+
* Run Id
|
|
18111
18758
|
*/
|
|
18112
|
-
|
|
18759
|
+
run_id: string;
|
|
18113
18760
|
};
|
|
18114
18761
|
query?: never;
|
|
18115
|
-
url: '/v1/
|
|
18762
|
+
url: '/v1/task-runs/{run_id}/cancel';
|
|
18116
18763
|
};
|
|
18117
|
-
export type
|
|
18764
|
+
export type TaskRunsCancelErrors = {
|
|
18118
18765
|
/**
|
|
18119
18766
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18120
18767
|
*/
|
|
@@ -18144,15 +18791,92 @@ export type TasksUpdateErrors = {
|
|
|
18144
18791
|
*/
|
|
18145
18792
|
default: ErrorResponse;
|
|
18146
18793
|
};
|
|
18147
|
-
export type
|
|
18148
|
-
export type
|
|
18794
|
+
export type TaskRunsCancelError = TaskRunsCancelErrors[keyof TaskRunsCancelErrors];
|
|
18795
|
+
export type TaskRunsCancelResults = {
|
|
18149
18796
|
/**
|
|
18150
18797
|
* Successful Response
|
|
18151
18798
|
*/
|
|
18152
|
-
200:
|
|
18799
|
+
200: TaskRunResponse;
|
|
18153
18800
|
};
|
|
18154
|
-
export type
|
|
18155
|
-
export type
|
|
18801
|
+
export type TaskRunsCancelResult = TaskRunsCancelResults[keyof TaskRunsCancelResults];
|
|
18802
|
+
export type TasksListData = {
|
|
18803
|
+
body?: never;
|
|
18804
|
+
path?: never;
|
|
18805
|
+
query?: {
|
|
18806
|
+
/**
|
|
18807
|
+
* Limit
|
|
18808
|
+
*/
|
|
18809
|
+
limit?: number;
|
|
18810
|
+
/**
|
|
18811
|
+
* Offset
|
|
18812
|
+
*/
|
|
18813
|
+
offset?: number;
|
|
18814
|
+
};
|
|
18815
|
+
url: '/v1/tasks';
|
|
18816
|
+
};
|
|
18817
|
+
export type TasksListErrors = {
|
|
18818
|
+
/**
|
|
18819
|
+
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18820
|
+
*/
|
|
18821
|
+
401: ErrorResponse;
|
|
18822
|
+
/**
|
|
18823
|
+
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
18824
|
+
*/
|
|
18825
|
+
422: ErrorResponse;
|
|
18826
|
+
/**
|
|
18827
|
+
* Unexpected error. Every error this API returns carries this body.
|
|
18828
|
+
*/
|
|
18829
|
+
default: ErrorResponse;
|
|
18830
|
+
};
|
|
18831
|
+
export type TasksListError = TasksListErrors[keyof TasksListErrors];
|
|
18832
|
+
export type TasksListResults = {
|
|
18833
|
+
/**
|
|
18834
|
+
* Successful Response
|
|
18835
|
+
*/
|
|
18836
|
+
200: PageTaskResponse;
|
|
18837
|
+
};
|
|
18838
|
+
export type TasksListResult = TasksListResults[keyof TasksListResults];
|
|
18839
|
+
export type TasksCreateData = {
|
|
18840
|
+
body: CreateTaskRequest;
|
|
18841
|
+
path?: never;
|
|
18842
|
+
query?: never;
|
|
18843
|
+
url: '/v1/tasks';
|
|
18844
|
+
};
|
|
18845
|
+
export type TasksCreateErrors = {
|
|
18846
|
+
/**
|
|
18847
|
+
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18848
|
+
*/
|
|
18849
|
+
400: ErrorResponse;
|
|
18850
|
+
/**
|
|
18851
|
+
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18852
|
+
*/
|
|
18853
|
+
401: ErrorResponse;
|
|
18854
|
+
/**
|
|
18855
|
+
* Authenticated, but this organization role may not perform the operation.
|
|
18856
|
+
*/
|
|
18857
|
+
403: ErrorResponse;
|
|
18858
|
+
/**
|
|
18859
|
+
* The resource's current state forbids this — a name already taken, a job already running.
|
|
18860
|
+
*/
|
|
18861
|
+
409: ErrorResponse;
|
|
18862
|
+
/**
|
|
18863
|
+
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
18864
|
+
*/
|
|
18865
|
+
422: ErrorResponse;
|
|
18866
|
+
/**
|
|
18867
|
+
* Unexpected error. Every error this API returns carries this body.
|
|
18868
|
+
*/
|
|
18869
|
+
default: ErrorResponse;
|
|
18870
|
+
};
|
|
18871
|
+
export type TasksCreateError = TasksCreateErrors[keyof TasksCreateErrors];
|
|
18872
|
+
export type TasksCreateResults = {
|
|
18873
|
+
/**
|
|
18874
|
+
* Successful Response
|
|
18875
|
+
*/
|
|
18876
|
+
201: TaskResponse;
|
|
18877
|
+
};
|
|
18878
|
+
export type TasksCreateResult = TasksCreateResults[keyof TasksCreateResults];
|
|
18879
|
+
export type TasksDeleteData = {
|
|
18156
18880
|
body?: never;
|
|
18157
18881
|
path: {
|
|
18158
18882
|
/**
|
|
@@ -18161,9 +18885,9 @@ export type TasksPublishData = {
|
|
|
18161
18885
|
task_id: string;
|
|
18162
18886
|
};
|
|
18163
18887
|
query?: never;
|
|
18164
|
-
url: '/v1/tasks/{task_id}
|
|
18888
|
+
url: '/v1/tasks/{task_id}';
|
|
18165
18889
|
};
|
|
18166
|
-
export type
|
|
18890
|
+
export type TasksDeleteErrors = {
|
|
18167
18891
|
/**
|
|
18168
18892
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18169
18893
|
*/
|
|
@@ -18193,15 +18917,15 @@ export type TasksPublishErrors = {
|
|
|
18193
18917
|
*/
|
|
18194
18918
|
default: ErrorResponse;
|
|
18195
18919
|
};
|
|
18196
|
-
export type
|
|
18197
|
-
export type
|
|
18920
|
+
export type TasksDeleteError = TasksDeleteErrors[keyof TasksDeleteErrors];
|
|
18921
|
+
export type TasksDeleteResults = {
|
|
18198
18922
|
/**
|
|
18199
18923
|
* Successful Response
|
|
18200
18924
|
*/
|
|
18201
|
-
200:
|
|
18925
|
+
200: OkResponse;
|
|
18202
18926
|
};
|
|
18203
|
-
export type
|
|
18204
|
-
export type
|
|
18927
|
+
export type TasksDeleteResult = TasksDeleteResults[keyof TasksDeleteResults];
|
|
18928
|
+
export type TasksGetData = {
|
|
18205
18929
|
body?: never;
|
|
18206
18930
|
path: {
|
|
18207
18931
|
/**
|
|
@@ -18209,19 +18933,10 @@ export type TasksRunsListData = {
|
|
|
18209
18933
|
*/
|
|
18210
18934
|
task_id: string;
|
|
18211
18935
|
};
|
|
18212
|
-
query?:
|
|
18213
|
-
|
|
18214
|
-
* Limit
|
|
18215
|
-
*/
|
|
18216
|
-
limit?: number;
|
|
18217
|
-
/**
|
|
18218
|
-
* Offset
|
|
18219
|
-
*/
|
|
18220
|
-
offset?: number;
|
|
18221
|
-
};
|
|
18222
|
-
url: '/v1/tasks/{task_id}/runs';
|
|
18936
|
+
query?: never;
|
|
18937
|
+
url: '/v1/tasks/{task_id}';
|
|
18223
18938
|
};
|
|
18224
|
-
export type
|
|
18939
|
+
export type TasksGetErrors = {
|
|
18225
18940
|
/**
|
|
18226
18941
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18227
18942
|
*/
|
|
@@ -18239,16 +18954,16 @@ export type TasksRunsListErrors = {
|
|
|
18239
18954
|
*/
|
|
18240
18955
|
default: ErrorResponse;
|
|
18241
18956
|
};
|
|
18242
|
-
export type
|
|
18243
|
-
export type
|
|
18957
|
+
export type TasksGetError = TasksGetErrors[keyof TasksGetErrors];
|
|
18958
|
+
export type TasksGetResults = {
|
|
18244
18959
|
/**
|
|
18245
18960
|
* Successful Response
|
|
18246
18961
|
*/
|
|
18247
|
-
200:
|
|
18962
|
+
200: TaskResponse;
|
|
18248
18963
|
};
|
|
18249
|
-
export type
|
|
18250
|
-
export type
|
|
18251
|
-
body:
|
|
18964
|
+
export type TasksGetResult = TasksGetResults[keyof TasksGetResults];
|
|
18965
|
+
export type TasksUpdateData = {
|
|
18966
|
+
body: PatchTaskRequest;
|
|
18252
18967
|
path: {
|
|
18253
18968
|
/**
|
|
18254
18969
|
* Task Id
|
|
@@ -18256,9 +18971,9 @@ export type TasksRunsCreateData = {
|
|
|
18256
18971
|
task_id: string;
|
|
18257
18972
|
};
|
|
18258
18973
|
query?: never;
|
|
18259
|
-
url: '/v1/tasks/{task_id}
|
|
18974
|
+
url: '/v1/tasks/{task_id}';
|
|
18260
18975
|
};
|
|
18261
|
-
export type
|
|
18976
|
+
export type TasksUpdateErrors = {
|
|
18262
18977
|
/**
|
|
18263
18978
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18264
18979
|
*/
|
|
@@ -18288,38 +19003,46 @@ export type TasksRunsCreateErrors = {
|
|
|
18288
19003
|
*/
|
|
18289
19004
|
default: ErrorResponse;
|
|
18290
19005
|
};
|
|
18291
|
-
export type
|
|
18292
|
-
export type
|
|
19006
|
+
export type TasksUpdateError = TasksUpdateErrors[keyof TasksUpdateErrors];
|
|
19007
|
+
export type TasksUpdateResults = {
|
|
18293
19008
|
/**
|
|
18294
19009
|
* Successful Response
|
|
18295
19010
|
*/
|
|
18296
|
-
200:
|
|
19011
|
+
200: TaskResponse;
|
|
18297
19012
|
};
|
|
18298
|
-
export type
|
|
18299
|
-
export type
|
|
19013
|
+
export type TasksUpdateResult = TasksUpdateResults[keyof TasksUpdateResults];
|
|
19014
|
+
export type TasksPublishData = {
|
|
18300
19015
|
body?: never;
|
|
18301
19016
|
path: {
|
|
18302
19017
|
/**
|
|
18303
19018
|
* Task Id
|
|
18304
19019
|
*/
|
|
18305
19020
|
task_id: string;
|
|
18306
|
-
/**
|
|
18307
|
-
* Run Id
|
|
18308
|
-
*/
|
|
18309
|
-
run_id: string;
|
|
18310
19021
|
};
|
|
18311
19022
|
query?: never;
|
|
18312
|
-
url: '/v1/tasks/{task_id}/
|
|
19023
|
+
url: '/v1/tasks/{task_id}/publish';
|
|
18313
19024
|
};
|
|
18314
|
-
export type
|
|
19025
|
+
export type TasksPublishErrors = {
|
|
19026
|
+
/**
|
|
19027
|
+
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
19028
|
+
*/
|
|
19029
|
+
400: ErrorResponse;
|
|
18315
19030
|
/**
|
|
18316
19031
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18317
19032
|
*/
|
|
18318
19033
|
401: ErrorResponse;
|
|
19034
|
+
/**
|
|
19035
|
+
* Authenticated, but this organization role may not perform the operation.
|
|
19036
|
+
*/
|
|
19037
|
+
403: ErrorResponse;
|
|
18319
19038
|
/**
|
|
18320
19039
|
* No such resource in this organization.
|
|
18321
19040
|
*/
|
|
18322
19041
|
404: ErrorResponse;
|
|
19042
|
+
/**
|
|
19043
|
+
* The resource's current state forbids this — a name already taken, a job already running.
|
|
19044
|
+
*/
|
|
19045
|
+
409: ErrorResponse;
|
|
18323
19046
|
/**
|
|
18324
19047
|
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
18325
19048
|
*/
|
|
@@ -18329,14 +19052,14 @@ export type TasksRunsGetErrors = {
|
|
|
18329
19052
|
*/
|
|
18330
19053
|
default: ErrorResponse;
|
|
18331
19054
|
};
|
|
18332
|
-
export type
|
|
18333
|
-
export type
|
|
19055
|
+
export type TasksPublishError = TasksPublishErrors[keyof TasksPublishErrors];
|
|
19056
|
+
export type TasksPublishResults = {
|
|
18334
19057
|
/**
|
|
18335
19058
|
* Successful Response
|
|
18336
19059
|
*/
|
|
18337
|
-
200:
|
|
19060
|
+
200: PublishTaskResponse;
|
|
18338
19061
|
};
|
|
18339
|
-
export type
|
|
19062
|
+
export type TasksPublishResult = TasksPublishResults[keyof TasksPublishResults];
|
|
18340
19063
|
export type TasksValidateData = {
|
|
18341
19064
|
body?: never;
|
|
18342
19065
|
path: {
|