@talqing/sdk 0.2.0 → 0.3.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/README.md +66 -5
- package/dist/cjs/browser.d.ts +5 -0
- package/dist/cjs/browser.d.ts.map +1 -1
- package/dist/cjs/browser.js +30 -28
- package/dist/cjs/browser.js.map +1 -1
- package/dist/cjs/client.d.ts +0 -2
- package/dist/cjs/client.d.ts.map +1 -1
- package/dist/cjs/client.js +0 -3
- package/dist/cjs/client.js.map +1 -1
- package/dist/cjs/gen/index.d.ts +1 -1
- package/dist/cjs/gen/index.d.ts.map +1 -1
- package/dist/cjs/gen/sdk.gen.d.ts +50 -219
- package/dist/cjs/gen/sdk.gen.d.ts.map +1 -1
- package/dist/cjs/gen/sdk.gen.js +78 -418
- package/dist/cjs/gen/sdk.gen.js.map +1 -1
- package/dist/cjs/gen/types.gen.d.ts +293 -1013
- package/dist/cjs/gen/types.gen.d.ts.map +1 -1
- package/dist/cjs/vocabulary.d.ts +1 -4
- package/dist/cjs/vocabulary.d.ts.map +1 -1
- package/dist/esm/browser.d.ts +5 -0
- package/dist/esm/browser.d.ts.map +1 -1
- package/dist/esm/browser.js +30 -28
- package/dist/esm/browser.js.map +1 -1
- package/dist/esm/client.d.ts +0 -2
- package/dist/esm/client.d.ts.map +1 -1
- package/dist/esm/client.js +0 -3
- package/dist/esm/client.js.map +1 -1
- package/dist/esm/gen/index.d.ts +1 -1
- package/dist/esm/gen/index.d.ts.map +1 -1
- package/dist/esm/gen/sdk.gen.d.ts +50 -219
- package/dist/esm/gen/sdk.gen.d.ts.map +1 -1
- package/dist/esm/gen/sdk.gen.js +75 -412
- package/dist/esm/gen/sdk.gen.js.map +1 -1
- package/dist/esm/gen/types.gen.d.ts +293 -1013
- package/dist/esm/gen/types.gen.d.ts.map +1 -1
- package/dist/esm/vocabulary.d.ts +1 -4
- package/dist/esm/vocabulary.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/browser.tsx +31 -28
- package/src/client.ts +0 -6
- package/src/gen/index.ts +1 -1
- package/src/gen/sdk.gen.ts +88 -469
- package/src/gen/types.gen.ts +317 -1119
- package/src/vocabulary.ts +0 -5
package/src/gen/types.gen.ts
CHANGED
|
@@ -610,14 +610,6 @@ export type AssistantStartedEvent = {
|
|
|
610
610
|
trigger_item_id: string;
|
|
611
611
|
};
|
|
612
612
|
|
|
613
|
-
/**
|
|
614
|
-
* AuthContextResponse
|
|
615
|
-
*/
|
|
616
|
-
export type AuthContextResponse = {
|
|
617
|
-
tenant: PublicTenantResponse;
|
|
618
|
-
user: PublicUserResponse;
|
|
619
|
-
};
|
|
620
|
-
|
|
621
613
|
/**
|
|
622
614
|
* AvatarCatalogEntryResponse
|
|
623
615
|
*/
|
|
@@ -2661,6 +2653,10 @@ export type CreateIntegrationRequest = {
|
|
|
2661
2653
|
provider_account_info?: {
|
|
2662
2654
|
[key: string]: unknown;
|
|
2663
2655
|
};
|
|
2656
|
+
/**
|
|
2657
|
+
* Tools Namespace
|
|
2658
|
+
*/
|
|
2659
|
+
tools_namespace?: string | null;
|
|
2664
2660
|
/**
|
|
2665
2661
|
* Webhook Config
|
|
2666
2662
|
*/
|
|
@@ -2825,16 +2821,6 @@ export type CreateTextConversationRequest = {
|
|
|
2825
2821
|
} | null;
|
|
2826
2822
|
};
|
|
2827
2823
|
|
|
2828
|
-
/**
|
|
2829
|
-
* CreateTokenRequest
|
|
2830
|
-
*/
|
|
2831
|
-
export type CreateTokenRequest = {
|
|
2832
|
-
/**
|
|
2833
|
-
* Name
|
|
2834
|
-
*/
|
|
2835
|
-
name: string;
|
|
2836
|
-
};
|
|
2837
|
-
|
|
2838
2824
|
/**
|
|
2839
2825
|
* CreateToolRequest
|
|
2840
2826
|
*/
|
|
@@ -2889,6 +2875,139 @@ export type CreateWebhookRequest = {
|
|
|
2889
2875
|
url: string;
|
|
2890
2876
|
};
|
|
2891
2877
|
|
|
2878
|
+
/**
|
|
2879
|
+
* CreditBalanceResponse
|
|
2880
|
+
*
|
|
2881
|
+
* This region's balance for the workspace, what it buys, and top-up prices.
|
|
2882
|
+
*
|
|
2883
|
+
* Per region, because the balance is a data-plane table. A caller reading this
|
|
2884
|
+
* is reading the balance of whichever region's API they called, and the
|
|
2885
|
+
* dashboard labels it with that region's name — a bare number is what makes a
|
|
2886
|
+
* customer with $50 in one region and $0 in another think the money vanished.
|
|
2887
|
+
*/
|
|
2888
|
+
export type CreditBalanceResponse = {
|
|
2889
|
+
/**
|
|
2890
|
+
* Balance
|
|
2891
|
+
*/
|
|
2892
|
+
balance: number;
|
|
2893
|
+
/**
|
|
2894
|
+
* Currency
|
|
2895
|
+
*/
|
|
2896
|
+
currency: 'USD';
|
|
2897
|
+
/**
|
|
2898
|
+
* Low Balance Threshold
|
|
2899
|
+
*/
|
|
2900
|
+
low_balance_threshold: number;
|
|
2901
|
+
/**
|
|
2902
|
+
* Packs
|
|
2903
|
+
*/
|
|
2904
|
+
packs: Array<CreditPackResponse>;
|
|
2905
|
+
/**
|
|
2906
|
+
* Topup Status
|
|
2907
|
+
*/
|
|
2908
|
+
topup_status: 'pending' | 'paid' | 'failed' | 'cancelled' | 'refunded' | null;
|
|
2909
|
+
/**
|
|
2910
|
+
* Video Minutes Remaining
|
|
2911
|
+
*/
|
|
2912
|
+
video_minutes_remaining: number;
|
|
2913
|
+
/**
|
|
2914
|
+
* Voice Minutes Remaining
|
|
2915
|
+
*/
|
|
2916
|
+
voice_minutes_remaining: number;
|
|
2917
|
+
};
|
|
2918
|
+
|
|
2919
|
+
/**
|
|
2920
|
+
* CreditCheckoutRequest
|
|
2921
|
+
*
|
|
2922
|
+
* Which pack to buy. Never an arbitrary amount — the packs are the prices.
|
|
2923
|
+
*/
|
|
2924
|
+
export type CreditCheckoutRequest = {
|
|
2925
|
+
/**
|
|
2926
|
+
* Pack
|
|
2927
|
+
*/
|
|
2928
|
+
pack: 'usd_20' | 'usd_50' | 'usd_100' | 'usd_200' | 'usd_500' | 'usd_1000';
|
|
2929
|
+
};
|
|
2930
|
+
|
|
2931
|
+
/**
|
|
2932
|
+
* CreditCheckoutResponse
|
|
2933
|
+
*
|
|
2934
|
+
* Where to send the buyer, and the top-up that is waiting on them.
|
|
2935
|
+
*/
|
|
2936
|
+
export type CreditCheckoutResponse = {
|
|
2937
|
+
/**
|
|
2938
|
+
* Checkout Url
|
|
2939
|
+
*/
|
|
2940
|
+
checkout_url: string;
|
|
2941
|
+
/**
|
|
2942
|
+
* Topup Id
|
|
2943
|
+
*/
|
|
2944
|
+
topup_id: string;
|
|
2945
|
+
};
|
|
2946
|
+
|
|
2947
|
+
/**
|
|
2948
|
+
* CreditLedgerEntryResponse
|
|
2949
|
+
*
|
|
2950
|
+
* A ledger row, as the billing page reads it.
|
|
2951
|
+
*
|
|
2952
|
+
* Money is `float` here, matching `CostResponse` — the API has spoken JSON
|
|
2953
|
+
* numbers for every other money field since it existed, and one column in one
|
|
2954
|
+
* string would only make a client parse two shapes.
|
|
2955
|
+
*/
|
|
2956
|
+
export type CreditLedgerEntryResponse = {
|
|
2957
|
+
/**
|
|
2958
|
+
* Amount
|
|
2959
|
+
*/
|
|
2960
|
+
amount: number;
|
|
2961
|
+
/**
|
|
2962
|
+
* Balance After
|
|
2963
|
+
*/
|
|
2964
|
+
balance_after: number;
|
|
2965
|
+
/**
|
|
2966
|
+
* Created At
|
|
2967
|
+
*/
|
|
2968
|
+
created_at: string;
|
|
2969
|
+
/**
|
|
2970
|
+
* Id
|
|
2971
|
+
*/
|
|
2972
|
+
id: string;
|
|
2973
|
+
/**
|
|
2974
|
+
* Kind
|
|
2975
|
+
*/
|
|
2976
|
+
kind: 'signup_grant' | 'purchase' | 'usage' | 'refund' | 'adjustment';
|
|
2977
|
+
/**
|
|
2978
|
+
* Note
|
|
2979
|
+
*/
|
|
2980
|
+
note: string | null;
|
|
2981
|
+
/**
|
|
2982
|
+
* Session Id
|
|
2983
|
+
*/
|
|
2984
|
+
session_id: string | null;
|
|
2985
|
+
/**
|
|
2986
|
+
* Topup Id
|
|
2987
|
+
*/
|
|
2988
|
+
topup_id: string | null;
|
|
2989
|
+
};
|
|
2990
|
+
|
|
2991
|
+
/**
|
|
2992
|
+
* CreditPackResponse
|
|
2993
|
+
*
|
|
2994
|
+
* One pack the workspace may buy, priced in USD.
|
|
2995
|
+
*/
|
|
2996
|
+
export type CreditPackResponse = {
|
|
2997
|
+
/**
|
|
2998
|
+
* Amount
|
|
2999
|
+
*/
|
|
3000
|
+
amount: number;
|
|
3001
|
+
/**
|
|
3002
|
+
* Id
|
|
3003
|
+
*/
|
|
3004
|
+
id: 'usd_20' | 'usd_50' | 'usd_100' | 'usd_200' | 'usd_500' | 'usd_1000';
|
|
3005
|
+
/**
|
|
3006
|
+
* Voice Minutes
|
|
3007
|
+
*/
|
|
3008
|
+
voice_minutes: number;
|
|
3009
|
+
};
|
|
3010
|
+
|
|
2892
3011
|
/**
|
|
2893
3012
|
* DeliveryError
|
|
2894
3013
|
*
|
|
@@ -3157,10 +3276,6 @@ export type EmailRecipientResponse = {
|
|
|
3157
3276
|
columns: {
|
|
3158
3277
|
[key: string]: unknown;
|
|
3159
3278
|
};
|
|
3160
|
-
/**
|
|
3161
|
-
* Delivery Status
|
|
3162
|
-
*/
|
|
3163
|
-
delivery_status: 'delivered' | 'delayed' | 'bounced' | 'complained' | 'suppressed' | null;
|
|
3164
3279
|
/**
|
|
3165
3280
|
* Id
|
|
3166
3281
|
*/
|
|
@@ -3923,6 +4038,7 @@ export type InboundImage = {
|
|
|
3923
4038
|
* A remote MCP server defined here rather than named.
|
|
3924
4039
|
*
|
|
3925
4040
|
* API-key-shaped only — an OAuth server has to be an integration.
|
|
4041
|
+
* `tools_namespace` prefixes every tool the model is shown: `crm` -> `crm_search`.
|
|
3926
4042
|
*/
|
|
3927
4043
|
export type InlineMcpServer = {
|
|
3928
4044
|
/**
|
|
@@ -3939,6 +4055,10 @@ export type InlineMcpServer = {
|
|
|
3939
4055
|
* Name
|
|
3940
4056
|
*/
|
|
3941
4057
|
name: string;
|
|
4058
|
+
/**
|
|
4059
|
+
* Tools Namespace
|
|
4060
|
+
*/
|
|
4061
|
+
tools_namespace?: string;
|
|
3942
4062
|
/**
|
|
3943
4063
|
* Url
|
|
3944
4064
|
*/
|
|
@@ -4060,6 +4180,10 @@ export type IntegrationMcpTool = {
|
|
|
4060
4180
|
* Description
|
|
4061
4181
|
*/
|
|
4062
4182
|
description?: string;
|
|
4183
|
+
/**
|
|
4184
|
+
* Exposed Name
|
|
4185
|
+
*/
|
|
4186
|
+
exposed_name: string;
|
|
4063
4187
|
/**
|
|
4064
4188
|
* Name
|
|
4065
4189
|
*/
|
|
@@ -4141,6 +4265,10 @@ export type IntegrationResponse = {
|
|
|
4141
4265
|
* Status
|
|
4142
4266
|
*/
|
|
4143
4267
|
status: 'active' | 'disabled' | 'needs_reconnect' | 'error';
|
|
4268
|
+
/**
|
|
4269
|
+
* Tools Namespace
|
|
4270
|
+
*/
|
|
4271
|
+
tools_namespace: string;
|
|
4144
4272
|
/**
|
|
4145
4273
|
* Updated At
|
|
4146
4274
|
*/
|
|
@@ -4271,12 +4399,9 @@ export type IntegrationTriggerResponse = {
|
|
|
4271
4399
|
*
|
|
4272
4400
|
* Where the provider delivers, and whether anything has arrived yet.
|
|
4273
4401
|
*
|
|
4274
|
-
*
|
|
4275
|
-
*
|
|
4276
|
-
*
|
|
4277
|
-
* bounce events has to paste this URL into Resend themselves — and until they
|
|
4278
|
-
* do, bounces and spam complaints are invisible, which are the two facts that
|
|
4279
|
-
* decide whether a sending domain survives.
|
|
4402
|
+
* Status rather than instructions: a chat provider registers its own webhook
|
|
4403
|
+
* when a trigger is enabled, so nobody has to paste this URL anywhere. It is
|
|
4404
|
+
* here for support — "has anything ever arrived on this connection".
|
|
4280
4405
|
*/
|
|
4281
4406
|
export type IntegrationWebhookSetup = {
|
|
4282
4407
|
/**
|
|
@@ -4291,10 +4416,6 @@ export type IntegrationWebhookSetup = {
|
|
|
4291
4416
|
* Last Received At
|
|
4292
4417
|
*/
|
|
4293
4418
|
last_received_at?: string | null;
|
|
4294
|
-
/**
|
|
4295
|
-
* Required Subscriptions
|
|
4296
|
-
*/
|
|
4297
|
-
required_subscriptions: Array<string>;
|
|
4298
4419
|
};
|
|
4299
4420
|
|
|
4300
4421
|
/**
|
|
@@ -4385,46 +4506,6 @@ export type InterruptionSpecOverride = {
|
|
|
4385
4506
|
resume_false_interruption?: boolean | null;
|
|
4386
4507
|
};
|
|
4387
4508
|
|
|
4388
|
-
/**
|
|
4389
|
-
* InviteRequest
|
|
4390
|
-
*/
|
|
4391
|
-
export type InviteRequest = {
|
|
4392
|
-
/**
|
|
4393
|
-
* Email
|
|
4394
|
-
*/
|
|
4395
|
-
email: string;
|
|
4396
|
-
/**
|
|
4397
|
-
* Role
|
|
4398
|
-
*/
|
|
4399
|
-
role: 'ADMIN' | 'EDITOR' | 'VIEWER';
|
|
4400
|
-
};
|
|
4401
|
-
|
|
4402
|
-
/**
|
|
4403
|
-
* InviteResponse
|
|
4404
|
-
*/
|
|
4405
|
-
export type InviteResponse = {
|
|
4406
|
-
/**
|
|
4407
|
-
* Accepted At
|
|
4408
|
-
*/
|
|
4409
|
-
accepted_at?: string | null;
|
|
4410
|
-
/**
|
|
4411
|
-
* Created At
|
|
4412
|
-
*/
|
|
4413
|
-
created_at: string;
|
|
4414
|
-
/**
|
|
4415
|
-
* Email
|
|
4416
|
-
*/
|
|
4417
|
-
email: string;
|
|
4418
|
-
/**
|
|
4419
|
-
* Id
|
|
4420
|
-
*/
|
|
4421
|
-
id: string;
|
|
4422
|
-
/**
|
|
4423
|
-
* Role
|
|
4424
|
-
*/
|
|
4425
|
-
role: 'ADMIN' | 'EDITOR' | 'VIEWER';
|
|
4426
|
-
};
|
|
4427
|
-
|
|
4428
4509
|
/**
|
|
4429
4510
|
* ItemCreatedEvent
|
|
4430
4511
|
*
|
|
@@ -5221,64 +5302,6 @@ export type McpSelection = {
|
|
|
5221
5302
|
mcp?: InlineMcpServer | null;
|
|
5222
5303
|
};
|
|
5223
5304
|
|
|
5224
|
-
/**
|
|
5225
|
-
* McpTokenResponse
|
|
5226
|
-
*
|
|
5227
|
-
* Everything an MCP client configuration needs, in one response.
|
|
5228
|
-
*/
|
|
5229
|
-
export type McpTokenResponse = {
|
|
5230
|
-
/**
|
|
5231
|
-
* Api Url
|
|
5232
|
-
*/
|
|
5233
|
-
api_url: string;
|
|
5234
|
-
/**
|
|
5235
|
-
* Created At
|
|
5236
|
-
*/
|
|
5237
|
-
created_at: string;
|
|
5238
|
-
/**
|
|
5239
|
-
* Id
|
|
5240
|
-
*/
|
|
5241
|
-
id: string;
|
|
5242
|
-
/**
|
|
5243
|
-
* Name
|
|
5244
|
-
*/
|
|
5245
|
-
name: string;
|
|
5246
|
-
/**
|
|
5247
|
-
* Token
|
|
5248
|
-
*/
|
|
5249
|
-
token: string;
|
|
5250
|
-
};
|
|
5251
|
-
|
|
5252
|
-
/**
|
|
5253
|
-
* MemberResponse
|
|
5254
|
-
*/
|
|
5255
|
-
export type MemberResponse = {
|
|
5256
|
-
/**
|
|
5257
|
-
* Email
|
|
5258
|
-
*/
|
|
5259
|
-
email: string;
|
|
5260
|
-
/**
|
|
5261
|
-
* Id
|
|
5262
|
-
*/
|
|
5263
|
-
id: string;
|
|
5264
|
-
/**
|
|
5265
|
-
* Joined At
|
|
5266
|
-
*/
|
|
5267
|
-
joined_at: string;
|
|
5268
|
-
/**
|
|
5269
|
-
* Name
|
|
5270
|
-
*/
|
|
5271
|
-
name?: string | null;
|
|
5272
|
-
/**
|
|
5273
|
-
* Picture Url
|
|
5274
|
-
*/
|
|
5275
|
-
picture_url?: string | null;
|
|
5276
|
-
/**
|
|
5277
|
-
* Role
|
|
5278
|
-
*/
|
|
5279
|
-
role: 'ADMIN' | 'EDITOR' | 'VIEWER';
|
|
5280
|
-
};
|
|
5281
|
-
|
|
5282
5305
|
/**
|
|
5283
5306
|
* ModelMetadata
|
|
5284
5307
|
*
|
|
@@ -5989,42 +6012,6 @@ export type OkResponse = {
|
|
|
5989
6012
|
ok?: boolean;
|
|
5990
6013
|
};
|
|
5991
6014
|
|
|
5992
|
-
/**
|
|
5993
|
-
* OrgNameRequest
|
|
5994
|
-
*/
|
|
5995
|
-
export type OrgNameRequest = {
|
|
5996
|
-
/**
|
|
5997
|
-
* Name
|
|
5998
|
-
*/
|
|
5999
|
-
name: string;
|
|
6000
|
-
};
|
|
6001
|
-
|
|
6002
|
-
/**
|
|
6003
|
-
* OrgResponse
|
|
6004
|
-
*/
|
|
6005
|
-
export type OrgResponse = {
|
|
6006
|
-
/**
|
|
6007
|
-
* Id
|
|
6008
|
-
*/
|
|
6009
|
-
id: string;
|
|
6010
|
-
/**
|
|
6011
|
-
* Joined At
|
|
6012
|
-
*/
|
|
6013
|
-
joined_at: string;
|
|
6014
|
-
/**
|
|
6015
|
-
* Name
|
|
6016
|
-
*/
|
|
6017
|
-
name: string;
|
|
6018
|
-
/**
|
|
6019
|
-
* Retention Days
|
|
6020
|
-
*/
|
|
6021
|
-
retention_days?: number | null;
|
|
6022
|
-
/**
|
|
6023
|
-
* Role
|
|
6024
|
-
*/
|
|
6025
|
-
role: 'ADMIN' | 'EDITOR' | 'VIEWER';
|
|
6026
|
-
};
|
|
6027
|
-
|
|
6028
6015
|
/**
|
|
6029
6016
|
* OutboundCallRequest
|
|
6030
6017
|
*
|
|
@@ -6315,6 +6302,28 @@ export type PageConversationSessionResponse = {
|
|
|
6315
6302
|
offset: number;
|
|
6316
6303
|
};
|
|
6317
6304
|
|
|
6305
|
+
/**
|
|
6306
|
+
* Page[CreditLedgerEntryResponse]
|
|
6307
|
+
*/
|
|
6308
|
+
export type PageCreditLedgerEntryResponse = {
|
|
6309
|
+
/**
|
|
6310
|
+
* Has More
|
|
6311
|
+
*/
|
|
6312
|
+
has_more: boolean;
|
|
6313
|
+
/**
|
|
6314
|
+
* Items
|
|
6315
|
+
*/
|
|
6316
|
+
items: Array<CreditLedgerEntryResponse>;
|
|
6317
|
+
/**
|
|
6318
|
+
* Limit
|
|
6319
|
+
*/
|
|
6320
|
+
limit: number;
|
|
6321
|
+
/**
|
|
6322
|
+
* Offset
|
|
6323
|
+
*/
|
|
6324
|
+
offset: number;
|
|
6325
|
+
};
|
|
6326
|
+
|
|
6318
6327
|
/**
|
|
6319
6328
|
* Page[DeliveryResponse]
|
|
6320
6329
|
*/
|
|
@@ -6448,9 +6457,9 @@ export type PageIntegrationTriggerResponse = {
|
|
|
6448
6457
|
};
|
|
6449
6458
|
|
|
6450
6459
|
/**
|
|
6451
|
-
* Page[
|
|
6460
|
+
* Page[KBPageResponse]
|
|
6452
6461
|
*/
|
|
6453
|
-
export type
|
|
6462
|
+
export type PageKBPageResponse = {
|
|
6454
6463
|
/**
|
|
6455
6464
|
* Has More
|
|
6456
6465
|
*/
|
|
@@ -6458,7 +6467,7 @@ export type PageInviteResponse = {
|
|
|
6458
6467
|
/**
|
|
6459
6468
|
* Items
|
|
6460
6469
|
*/
|
|
6461
|
-
items: Array<
|
|
6470
|
+
items: Array<KBPageResponse>;
|
|
6462
6471
|
/**
|
|
6463
6472
|
* Limit
|
|
6464
6473
|
*/
|
|
@@ -6470,9 +6479,9 @@ export type PageInviteResponse = {
|
|
|
6470
6479
|
};
|
|
6471
6480
|
|
|
6472
6481
|
/**
|
|
6473
|
-
* Page[
|
|
6482
|
+
* Page[KBSummary]
|
|
6474
6483
|
*/
|
|
6475
|
-
export type
|
|
6484
|
+
export type PageKBSummary = {
|
|
6476
6485
|
/**
|
|
6477
6486
|
* Has More
|
|
6478
6487
|
*/
|
|
@@ -6480,7 +6489,7 @@ export type PageKBPageResponse = {
|
|
|
6480
6489
|
/**
|
|
6481
6490
|
* Items
|
|
6482
6491
|
*/
|
|
6483
|
-
items: Array<
|
|
6492
|
+
items: Array<KBSummary>;
|
|
6484
6493
|
/**
|
|
6485
6494
|
* Limit
|
|
6486
6495
|
*/
|
|
@@ -6492,9 +6501,9 @@ export type PageKBPageResponse = {
|
|
|
6492
6501
|
};
|
|
6493
6502
|
|
|
6494
6503
|
/**
|
|
6495
|
-
* Page[
|
|
6504
|
+
* Page[PhoneNumberResponse]
|
|
6496
6505
|
*/
|
|
6497
|
-
export type
|
|
6506
|
+
export type PagePhoneNumberResponse = {
|
|
6498
6507
|
/**
|
|
6499
6508
|
* Has More
|
|
6500
6509
|
*/
|
|
@@ -6502,7 +6511,7 @@ export type PageKBSummary = {
|
|
|
6502
6511
|
/**
|
|
6503
6512
|
* Items
|
|
6504
6513
|
*/
|
|
6505
|
-
items: Array<
|
|
6514
|
+
items: Array<PhoneNumberResponse>;
|
|
6506
6515
|
/**
|
|
6507
6516
|
* Limit
|
|
6508
6517
|
*/
|
|
@@ -6514,9 +6523,9 @@ export type PageKBSummary = {
|
|
|
6514
6523
|
};
|
|
6515
6524
|
|
|
6516
6525
|
/**
|
|
6517
|
-
* Page[
|
|
6526
|
+
* Page[RemoteNumber]
|
|
6518
6527
|
*/
|
|
6519
|
-
export type
|
|
6528
|
+
export type PageRemoteNumber = {
|
|
6520
6529
|
/**
|
|
6521
6530
|
* Has More
|
|
6522
6531
|
*/
|
|
@@ -6524,7 +6533,7 @@ export type PageMemberResponse = {
|
|
|
6524
6533
|
/**
|
|
6525
6534
|
* Items
|
|
6526
6535
|
*/
|
|
6527
|
-
items: Array<
|
|
6536
|
+
items: Array<RemoteNumber>;
|
|
6528
6537
|
/**
|
|
6529
6538
|
* Limit
|
|
6530
6539
|
*/
|
|
@@ -6536,9 +6545,9 @@ export type PageMemberResponse = {
|
|
|
6536
6545
|
};
|
|
6537
6546
|
|
|
6538
6547
|
/**
|
|
6539
|
-
* Page[
|
|
6548
|
+
* Page[SecretResponse]
|
|
6540
6549
|
*/
|
|
6541
|
-
export type
|
|
6550
|
+
export type PageSecretResponse = {
|
|
6542
6551
|
/**
|
|
6543
6552
|
* Has More
|
|
6544
6553
|
*/
|
|
@@ -6546,7 +6555,7 @@ export type PageOrgResponse = {
|
|
|
6546
6555
|
/**
|
|
6547
6556
|
* Items
|
|
6548
6557
|
*/
|
|
6549
|
-
items: Array<
|
|
6558
|
+
items: Array<SecretResponse>;
|
|
6550
6559
|
/**
|
|
6551
6560
|
* Limit
|
|
6552
6561
|
*/
|
|
@@ -6558,9 +6567,9 @@ export type PageOrgResponse = {
|
|
|
6558
6567
|
};
|
|
6559
6568
|
|
|
6560
6569
|
/**
|
|
6561
|
-
* Page[
|
|
6570
|
+
* Page[TaskResponse]
|
|
6562
6571
|
*/
|
|
6563
|
-
export type
|
|
6572
|
+
export type PageTaskResponse = {
|
|
6564
6573
|
/**
|
|
6565
6574
|
* Has More
|
|
6566
6575
|
*/
|
|
@@ -6568,7 +6577,7 @@ export type PagePhoneNumberResponse = {
|
|
|
6568
6577
|
/**
|
|
6569
6578
|
* Items
|
|
6570
6579
|
*/
|
|
6571
|
-
items: Array<
|
|
6580
|
+
items: Array<TaskResponse>;
|
|
6572
6581
|
/**
|
|
6573
6582
|
* Limit
|
|
6574
6583
|
*/
|
|
@@ -6580,9 +6589,9 @@ export type PagePhoneNumberResponse = {
|
|
|
6580
6589
|
};
|
|
6581
6590
|
|
|
6582
6591
|
/**
|
|
6583
|
-
* Page[
|
|
6592
|
+
* Page[TaskRunResponse]
|
|
6584
6593
|
*/
|
|
6585
|
-
export type
|
|
6594
|
+
export type PageTaskRunResponse = {
|
|
6586
6595
|
/**
|
|
6587
6596
|
* Has More
|
|
6588
6597
|
*/
|
|
@@ -6590,7 +6599,7 @@ export type PageRemoteNumber = {
|
|
|
6590
6599
|
/**
|
|
6591
6600
|
* Items
|
|
6592
6601
|
*/
|
|
6593
|
-
items: Array<
|
|
6602
|
+
items: Array<TaskRunResponse>;
|
|
6594
6603
|
/**
|
|
6595
6604
|
* Limit
|
|
6596
6605
|
*/
|
|
@@ -6602,73 +6611,7 @@ export type PageRemoteNumber = {
|
|
|
6602
6611
|
};
|
|
6603
6612
|
|
|
6604
6613
|
/**
|
|
6605
|
-
* Page[
|
|
6606
|
-
*/
|
|
6607
|
-
export type PageSecretResponse = {
|
|
6608
|
-
/**
|
|
6609
|
-
* Has More
|
|
6610
|
-
*/
|
|
6611
|
-
has_more: boolean;
|
|
6612
|
-
/**
|
|
6613
|
-
* Items
|
|
6614
|
-
*/
|
|
6615
|
-
items: Array<SecretResponse>;
|
|
6616
|
-
/**
|
|
6617
|
-
* Limit
|
|
6618
|
-
*/
|
|
6619
|
-
limit: number;
|
|
6620
|
-
/**
|
|
6621
|
-
* Offset
|
|
6622
|
-
*/
|
|
6623
|
-
offset: number;
|
|
6624
|
-
};
|
|
6625
|
-
|
|
6626
|
-
/**
|
|
6627
|
-
* Page[TaskResponse]
|
|
6628
|
-
*/
|
|
6629
|
-
export type PageTaskResponse = {
|
|
6630
|
-
/**
|
|
6631
|
-
* Has More
|
|
6632
|
-
*/
|
|
6633
|
-
has_more: boolean;
|
|
6634
|
-
/**
|
|
6635
|
-
* Items
|
|
6636
|
-
*/
|
|
6637
|
-
items: Array<TaskResponse>;
|
|
6638
|
-
/**
|
|
6639
|
-
* Limit
|
|
6640
|
-
*/
|
|
6641
|
-
limit: number;
|
|
6642
|
-
/**
|
|
6643
|
-
* Offset
|
|
6644
|
-
*/
|
|
6645
|
-
offset: number;
|
|
6646
|
-
};
|
|
6647
|
-
|
|
6648
|
-
/**
|
|
6649
|
-
* Page[TaskRunResponse]
|
|
6650
|
-
*/
|
|
6651
|
-
export type PageTaskRunResponse = {
|
|
6652
|
-
/**
|
|
6653
|
-
* Has More
|
|
6654
|
-
*/
|
|
6655
|
-
has_more: boolean;
|
|
6656
|
-
/**
|
|
6657
|
-
* Items
|
|
6658
|
-
*/
|
|
6659
|
-
items: Array<TaskRunResponse>;
|
|
6660
|
-
/**
|
|
6661
|
-
* Limit
|
|
6662
|
-
*/
|
|
6663
|
-
limit: number;
|
|
6664
|
-
/**
|
|
6665
|
-
* Offset
|
|
6666
|
-
*/
|
|
6667
|
-
offset: number;
|
|
6668
|
-
};
|
|
6669
|
-
|
|
6670
|
-
/**
|
|
6671
|
-
* Page[TelephonyAccountResponse]
|
|
6614
|
+
* Page[TelephonyAccountResponse]
|
|
6672
6615
|
*/
|
|
6673
6616
|
export type PageTelephonyAccountResponse = {
|
|
6674
6617
|
/**
|
|
@@ -6711,28 +6654,6 @@ export type PageTelephonyProviderSpec = {
|
|
|
6711
6654
|
offset: number;
|
|
6712
6655
|
};
|
|
6713
6656
|
|
|
6714
|
-
/**
|
|
6715
|
-
* Page[TokenResponse]
|
|
6716
|
-
*/
|
|
6717
|
-
export type PageTokenResponse = {
|
|
6718
|
-
/**
|
|
6719
|
-
* Has More
|
|
6720
|
-
*/
|
|
6721
|
-
has_more: boolean;
|
|
6722
|
-
/**
|
|
6723
|
-
* Items
|
|
6724
|
-
*/
|
|
6725
|
-
items: Array<TokenResponse>;
|
|
6726
|
-
/**
|
|
6727
|
-
* Limit
|
|
6728
|
-
*/
|
|
6729
|
-
limit: number;
|
|
6730
|
-
/**
|
|
6731
|
-
* Offset
|
|
6732
|
-
*/
|
|
6733
|
-
offset: number;
|
|
6734
|
-
};
|
|
6735
|
-
|
|
6736
6657
|
/**
|
|
6737
6658
|
* Page[ToolResponse]
|
|
6738
6659
|
*/
|
|
@@ -6966,6 +6887,10 @@ export type PatchIntegrationRequest = {
|
|
|
6966
6887
|
* Status
|
|
6967
6888
|
*/
|
|
6968
6889
|
status?: 'active' | 'disabled' | 'needs_reconnect' | 'error' | null;
|
|
6890
|
+
/**
|
|
6891
|
+
* Tools Namespace
|
|
6892
|
+
*/
|
|
6893
|
+
tools_namespace?: string | null;
|
|
6969
6894
|
/**
|
|
6970
6895
|
* Webhook Config
|
|
6971
6896
|
*/
|
|
@@ -7032,28 +6957,6 @@ export type PatchNodeRequest = {
|
|
|
7032
6957
|
version?: number | null;
|
|
7033
6958
|
};
|
|
7034
6959
|
|
|
7035
|
-
/**
|
|
7036
|
-
* PatchOrgRequest
|
|
7037
|
-
*
|
|
7038
|
-
* Merge-style, like every other PATCH here: an omitted field is unchanged.
|
|
7039
|
-
*
|
|
7040
|
-
* ``retention_days`` needs the sentinel because ``null`` is a real value —
|
|
7041
|
-
* "keep everything forever" — and has to be distinguishable from "leave the
|
|
7042
|
-
* policy alone".
|
|
7043
|
-
*/
|
|
7044
|
-
export type PatchOrgRequest = {
|
|
7045
|
-
/**
|
|
7046
|
-
* Name
|
|
7047
|
-
*/
|
|
7048
|
-
name?: string | null;
|
|
7049
|
-
/**
|
|
7050
|
-
* Retention Days
|
|
7051
|
-
*
|
|
7052
|
-
* How many days to keep call and conversation content — recordings, transcripts, summaries and the phone numbers on a call. `null` keeps everything forever, which is the default. Applies to calls from now on.
|
|
7053
|
-
*/
|
|
7054
|
-
retention_days?: number | null;
|
|
7055
|
-
};
|
|
7056
|
-
|
|
7057
6960
|
/**
|
|
7058
6961
|
* PatchPhoneNumberRequest
|
|
7059
6962
|
*/
|
|
@@ -7566,46 +7469,6 @@ export type PublicMessage = {
|
|
|
7566
7469
|
}> | null;
|
|
7567
7470
|
};
|
|
7568
7471
|
|
|
7569
|
-
/**
|
|
7570
|
-
* PublicTenantResponse
|
|
7571
|
-
*/
|
|
7572
|
-
export type PublicTenantResponse = {
|
|
7573
|
-
/**
|
|
7574
|
-
* Id
|
|
7575
|
-
*/
|
|
7576
|
-
id: string;
|
|
7577
|
-
/**
|
|
7578
|
-
* Name
|
|
7579
|
-
*/
|
|
7580
|
-
name: string;
|
|
7581
|
-
};
|
|
7582
|
-
|
|
7583
|
-
/**
|
|
7584
|
-
* PublicUserResponse
|
|
7585
|
-
*/
|
|
7586
|
-
export type PublicUserResponse = {
|
|
7587
|
-
/**
|
|
7588
|
-
* Email
|
|
7589
|
-
*/
|
|
7590
|
-
email: string;
|
|
7591
|
-
/**
|
|
7592
|
-
* Id
|
|
7593
|
-
*/
|
|
7594
|
-
id: string;
|
|
7595
|
-
/**
|
|
7596
|
-
* Name
|
|
7597
|
-
*/
|
|
7598
|
-
name?: string | null;
|
|
7599
|
-
/**
|
|
7600
|
-
* Picture Url
|
|
7601
|
-
*/
|
|
7602
|
-
picture_url?: string | null;
|
|
7603
|
-
/**
|
|
7604
|
-
* Role
|
|
7605
|
-
*/
|
|
7606
|
-
role: 'ADMIN' | 'EDITOR' | 'VIEWER';
|
|
7607
|
-
};
|
|
7608
|
-
|
|
7609
7472
|
/**
|
|
7610
7473
|
* PublishAgentResponse
|
|
7611
7474
|
*/
|
|
@@ -8181,16 +8044,6 @@ export type RemoteNumber = {
|
|
|
8181
8044
|
provider_number_id?: string | null;
|
|
8182
8045
|
};
|
|
8183
8046
|
|
|
8184
|
-
/**
|
|
8185
|
-
* RoleRequest
|
|
8186
|
-
*/
|
|
8187
|
-
export type RoleRequest = {
|
|
8188
|
-
/**
|
|
8189
|
-
* Role
|
|
8190
|
-
*/
|
|
8191
|
-
role: 'ADMIN' | 'EDITOR' | 'VIEWER';
|
|
8192
|
-
};
|
|
8193
|
-
|
|
8194
8047
|
/**
|
|
8195
8048
|
* RunStepResponse
|
|
8196
8049
|
*
|
|
@@ -9864,40 +9717,6 @@ export type TocResultResponse = {
|
|
|
9864
9717
|
pages: number;
|
|
9865
9718
|
};
|
|
9866
9719
|
|
|
9867
|
-
/**
|
|
9868
|
-
* TokenCreatedResponse
|
|
9869
|
-
*/
|
|
9870
|
-
export type TokenCreatedResponse = {
|
|
9871
|
-
/**
|
|
9872
|
-
* Created At
|
|
9873
|
-
*/
|
|
9874
|
-
created_at: string;
|
|
9875
|
-
/**
|
|
9876
|
-
* Id
|
|
9877
|
-
*/
|
|
9878
|
-
id: string;
|
|
9879
|
-
/**
|
|
9880
|
-
* Kind
|
|
9881
|
-
*/
|
|
9882
|
-
kind: 'manual' | 'mcp';
|
|
9883
|
-
/**
|
|
9884
|
-
* Name
|
|
9885
|
-
*/
|
|
9886
|
-
name: string;
|
|
9887
|
-
/**
|
|
9888
|
-
* Token
|
|
9889
|
-
*/
|
|
9890
|
-
token: string;
|
|
9891
|
-
/**
|
|
9892
|
-
* User Email
|
|
9893
|
-
*/
|
|
9894
|
-
user_email: string;
|
|
9895
|
-
/**
|
|
9896
|
-
* User Id
|
|
9897
|
-
*/
|
|
9898
|
-
user_id: string;
|
|
9899
|
-
};
|
|
9900
|
-
|
|
9901
9720
|
/**
|
|
9902
9721
|
* TokenRequest
|
|
9903
9722
|
*
|
|
@@ -9950,36 +9769,6 @@ export type TokenRequest = {
|
|
|
9950
9769
|
} | null;
|
|
9951
9770
|
};
|
|
9952
9771
|
|
|
9953
|
-
/**
|
|
9954
|
-
* TokenResponse
|
|
9955
|
-
*/
|
|
9956
|
-
export type TokenResponse = {
|
|
9957
|
-
/**
|
|
9958
|
-
* Created At
|
|
9959
|
-
*/
|
|
9960
|
-
created_at: string;
|
|
9961
|
-
/**
|
|
9962
|
-
* Id
|
|
9963
|
-
*/
|
|
9964
|
-
id: string;
|
|
9965
|
-
/**
|
|
9966
|
-
* Kind
|
|
9967
|
-
*/
|
|
9968
|
-
kind: 'manual' | 'mcp';
|
|
9969
|
-
/**
|
|
9970
|
-
* Name
|
|
9971
|
-
*/
|
|
9972
|
-
name: string;
|
|
9973
|
-
/**
|
|
9974
|
-
* User Email
|
|
9975
|
-
*/
|
|
9976
|
-
user_email: string;
|
|
9977
|
-
/**
|
|
9978
|
-
* User Id
|
|
9979
|
-
*/
|
|
9980
|
-
user_id: string;
|
|
9981
|
-
};
|
|
9982
|
-
|
|
9983
9772
|
/**
|
|
9984
9773
|
* ToolResponse
|
|
9985
9774
|
*/
|
|
@@ -11321,59 +11110,132 @@ export type AgentsVersionsRollbackResults = {
|
|
|
11321
11110
|
|
|
11322
11111
|
export type AgentsVersionsRollbackResult = AgentsVersionsRollbackResults[keyof AgentsVersionsRollbackResults];
|
|
11323
11112
|
|
|
11324
|
-
export type
|
|
11113
|
+
export type BillingCreditsGetData = {
|
|
11325
11114
|
body?: never;
|
|
11326
11115
|
path?: never;
|
|
11116
|
+
query?: {
|
|
11117
|
+
/**
|
|
11118
|
+
* Topup
|
|
11119
|
+
*
|
|
11120
|
+
* A top-up to report the payment processor's own status for.
|
|
11121
|
+
*/
|
|
11122
|
+
topup?: string | null;
|
|
11123
|
+
};
|
|
11124
|
+
url: '/v1/billing/credits';
|
|
11125
|
+
};
|
|
11126
|
+
|
|
11127
|
+
export type BillingCreditsGetErrors = {
|
|
11128
|
+
/**
|
|
11129
|
+
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
11130
|
+
*/
|
|
11131
|
+
401: ErrorResponse;
|
|
11132
|
+
/**
|
|
11133
|
+
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
11134
|
+
*/
|
|
11135
|
+
422: ErrorResponse;
|
|
11136
|
+
/**
|
|
11137
|
+
* Unexpected error. Every error this API returns carries this body.
|
|
11138
|
+
*/
|
|
11139
|
+
default: ErrorResponse;
|
|
11140
|
+
};
|
|
11141
|
+
|
|
11142
|
+
export type BillingCreditsGetError = BillingCreditsGetErrors[keyof BillingCreditsGetErrors];
|
|
11143
|
+
|
|
11144
|
+
export type BillingCreditsGetResults = {
|
|
11145
|
+
/**
|
|
11146
|
+
* Successful Response
|
|
11147
|
+
*/
|
|
11148
|
+
200: CreditBalanceResponse;
|
|
11149
|
+
};
|
|
11150
|
+
|
|
11151
|
+
export type BillingCreditsGetResult = BillingCreditsGetResults[keyof BillingCreditsGetResults];
|
|
11152
|
+
|
|
11153
|
+
export type BillingCreditsCheckoutData = {
|
|
11154
|
+
body: CreditCheckoutRequest;
|
|
11155
|
+
path?: never;
|
|
11327
11156
|
query?: never;
|
|
11328
|
-
url: '/v1/
|
|
11157
|
+
url: '/v1/billing/credits/checkout';
|
|
11329
11158
|
};
|
|
11330
11159
|
|
|
11331
|
-
export type
|
|
11160
|
+
export type BillingCreditsCheckoutErrors = {
|
|
11161
|
+
/**
|
|
11162
|
+
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
11163
|
+
*/
|
|
11164
|
+
400: ErrorResponse;
|
|
11165
|
+
/**
|
|
11166
|
+
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
11167
|
+
*/
|
|
11168
|
+
401: ErrorResponse;
|
|
11169
|
+
/**
|
|
11170
|
+
* Authenticated, but this organization role may not perform the operation.
|
|
11171
|
+
*/
|
|
11172
|
+
403: ErrorResponse;
|
|
11173
|
+
/**
|
|
11174
|
+
* The resource's current state forbids this — a name already taken, a job already running.
|
|
11175
|
+
*/
|
|
11176
|
+
409: ErrorResponse;
|
|
11177
|
+
/**
|
|
11178
|
+
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
11179
|
+
*/
|
|
11180
|
+
422: ErrorResponse;
|
|
11332
11181
|
/**
|
|
11333
11182
|
* Unexpected error. Every error this API returns carries this body.
|
|
11334
11183
|
*/
|
|
11335
11184
|
default: ErrorResponse;
|
|
11336
11185
|
};
|
|
11337
11186
|
|
|
11338
|
-
export type
|
|
11187
|
+
export type BillingCreditsCheckoutError = BillingCreditsCheckoutErrors[keyof BillingCreditsCheckoutErrors];
|
|
11339
11188
|
|
|
11340
|
-
export type
|
|
11189
|
+
export type BillingCreditsCheckoutResults = {
|
|
11341
11190
|
/**
|
|
11342
11191
|
* Successful Response
|
|
11343
11192
|
*/
|
|
11344
|
-
200:
|
|
11193
|
+
200: CreditCheckoutResponse;
|
|
11345
11194
|
};
|
|
11346
11195
|
|
|
11347
|
-
export type
|
|
11196
|
+
export type BillingCreditsCheckoutResult = BillingCreditsCheckoutResults[keyof BillingCreditsCheckoutResults];
|
|
11348
11197
|
|
|
11349
|
-
export type
|
|
11198
|
+
export type BillingCreditsLedgerData = {
|
|
11350
11199
|
body?: never;
|
|
11351
11200
|
path?: never;
|
|
11352
|
-
query?:
|
|
11353
|
-
|
|
11201
|
+
query?: {
|
|
11202
|
+
/**
|
|
11203
|
+
* Limit
|
|
11204
|
+
*/
|
|
11205
|
+
limit?: number;
|
|
11206
|
+
/**
|
|
11207
|
+
* Offset
|
|
11208
|
+
*/
|
|
11209
|
+
offset?: number;
|
|
11210
|
+
};
|
|
11211
|
+
url: '/v1/billing/credits/ledger';
|
|
11354
11212
|
};
|
|
11355
11213
|
|
|
11356
|
-
export type
|
|
11214
|
+
export type BillingCreditsLedgerErrors = {
|
|
11357
11215
|
/**
|
|
11358
11216
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
11359
11217
|
*/
|
|
11360
11218
|
401: ErrorResponse;
|
|
11219
|
+
/**
|
|
11220
|
+
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
11221
|
+
*/
|
|
11222
|
+
422: ErrorResponse;
|
|
11361
11223
|
/**
|
|
11362
11224
|
* Unexpected error. Every error this API returns carries this body.
|
|
11363
11225
|
*/
|
|
11364
11226
|
default: ErrorResponse;
|
|
11365
11227
|
};
|
|
11366
11228
|
|
|
11367
|
-
export type
|
|
11229
|
+
export type BillingCreditsLedgerError = BillingCreditsLedgerErrors[keyof BillingCreditsLedgerErrors];
|
|
11368
11230
|
|
|
11369
|
-
export type
|
|
11231
|
+
export type BillingCreditsLedgerResults = {
|
|
11370
11232
|
/**
|
|
11371
11233
|
* Successful Response
|
|
11372
11234
|
*/
|
|
11373
|
-
200:
|
|
11235
|
+
200: PageCreditLedgerEntryResponse;
|
|
11374
11236
|
};
|
|
11375
11237
|
|
|
11376
|
-
export type
|
|
11238
|
+
export type BillingCreditsLedgerResult = BillingCreditsLedgerResults[keyof BillingCreditsLedgerResults];
|
|
11377
11239
|
|
|
11378
11240
|
export type ProviderKeysListData = {
|
|
11379
11241
|
body?: never;
|
|
@@ -12129,6 +11991,10 @@ export type CallsOutboundErrors = {
|
|
|
12129
11991
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
12130
11992
|
*/
|
|
12131
11993
|
401: ErrorResponse;
|
|
11994
|
+
/**
|
|
11995
|
+
* This organization has no credit left, so a new call cannot be started. Calls already running are unaffected.
|
|
11996
|
+
*/
|
|
11997
|
+
402: ErrorResponse;
|
|
12132
11998
|
/**
|
|
12133
11999
|
* Authenticated, but this organization role may not perform the operation.
|
|
12134
12000
|
*/
|
|
@@ -12224,6 +12090,10 @@ export type CallsTokenErrors = {
|
|
|
12224
12090
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
12225
12091
|
*/
|
|
12226
12092
|
401: ErrorResponse;
|
|
12093
|
+
/**
|
|
12094
|
+
* This organization has no credit left, so a new call cannot be started. Calls already running are unaffected.
|
|
12095
|
+
*/
|
|
12096
|
+
402: ErrorResponse;
|
|
12227
12097
|
/**
|
|
12228
12098
|
* Authenticated, but this organization role may not perform the operation.
|
|
12229
12099
|
*/
|
|
@@ -15501,578 +15371,39 @@ export type KnowledgeRegenerateTocResults = {
|
|
|
15501
15371
|
|
|
15502
15372
|
export type KnowledgeRegenerateTocResult = KnowledgeRegenerateTocResults[keyof KnowledgeRegenerateTocResults];
|
|
15503
15373
|
|
|
15504
|
-
export type
|
|
15374
|
+
export type ObservabilityGetData = {
|
|
15505
15375
|
body?: never;
|
|
15506
15376
|
path?: never;
|
|
15507
|
-
query?:
|
|
15508
|
-
url: '/v1/mcp-token';
|
|
15509
|
-
};
|
|
15510
|
-
|
|
15511
|
-
export type TokensMcpErrors = {
|
|
15512
|
-
/**
|
|
15513
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
15514
|
-
*/
|
|
15515
|
-
401: ErrorResponse;
|
|
15516
|
-
/**
|
|
15517
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
15518
|
-
*/
|
|
15519
|
-
default: ErrorResponse;
|
|
15520
|
-
};
|
|
15521
|
-
|
|
15522
|
-
export type TokensMcpError = TokensMcpErrors[keyof TokensMcpErrors];
|
|
15523
|
-
|
|
15524
|
-
export type TokensMcpResults = {
|
|
15525
|
-
/**
|
|
15526
|
-
* Successful Response
|
|
15527
|
-
*/
|
|
15528
|
-
200: McpTokenResponse;
|
|
15529
|
-
};
|
|
15530
|
-
|
|
15531
|
-
export type TokensMcpResult = TokensMcpResults[keyof TokensMcpResults];
|
|
15532
|
-
|
|
15533
|
-
export type ObservabilityGetData = {
|
|
15534
|
-
body?: never;
|
|
15535
|
-
path?: never;
|
|
15536
|
-
query?: {
|
|
15537
|
-
/**
|
|
15538
|
-
* Start Date
|
|
15539
|
-
*/
|
|
15540
|
-
start_date?: string | null;
|
|
15541
|
-
/**
|
|
15542
|
-
* End Date
|
|
15543
|
-
*/
|
|
15544
|
-
end_date?: string | null;
|
|
15545
|
-
/**
|
|
15546
|
-
* Timezone
|
|
15547
|
-
*/
|
|
15548
|
-
timezone?: string;
|
|
15549
|
-
/**
|
|
15550
|
-
* Agent Id
|
|
15551
|
-
*/
|
|
15552
|
-
agent_id?: string | null;
|
|
15553
|
-
/**
|
|
15554
|
-
* Channel
|
|
15555
|
-
*/
|
|
15556
|
-
channel?: 'voice' | 'video' | 'text' | null;
|
|
15557
|
-
};
|
|
15558
|
-
url: '/v1/observability';
|
|
15559
|
-
};
|
|
15560
|
-
|
|
15561
|
-
export type ObservabilityGetErrors = {
|
|
15562
|
-
/**
|
|
15563
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
15564
|
-
*/
|
|
15565
|
-
401: ErrorResponse;
|
|
15566
|
-
/**
|
|
15567
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
15568
|
-
*/
|
|
15569
|
-
422: ErrorResponse;
|
|
15570
|
-
/**
|
|
15571
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
15572
|
-
*/
|
|
15573
|
-
default: ErrorResponse;
|
|
15574
|
-
};
|
|
15575
|
-
|
|
15576
|
-
export type ObservabilityGetError = ObservabilityGetErrors[keyof ObservabilityGetErrors];
|
|
15577
|
-
|
|
15578
|
-
export type ObservabilityGetResults = {
|
|
15579
|
-
/**
|
|
15580
|
-
* Successful Response
|
|
15581
|
-
*/
|
|
15582
|
-
200: ObservabilityResponse;
|
|
15583
|
-
};
|
|
15584
|
-
|
|
15585
|
-
export type ObservabilityGetResult = ObservabilityGetResults[keyof ObservabilityGetResults];
|
|
15586
|
-
|
|
15587
|
-
export type OrgsUpdateData = {
|
|
15588
|
-
body: PatchOrgRequest;
|
|
15589
|
-
path?: never;
|
|
15590
|
-
query?: never;
|
|
15591
|
-
url: '/v1/org';
|
|
15592
|
-
};
|
|
15593
|
-
|
|
15594
|
-
export type OrgsUpdateErrors = {
|
|
15595
|
-
/**
|
|
15596
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
15597
|
-
*/
|
|
15598
|
-
400: ErrorResponse;
|
|
15599
|
-
/**
|
|
15600
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
15601
|
-
*/
|
|
15602
|
-
401: ErrorResponse;
|
|
15603
|
-
/**
|
|
15604
|
-
* Authenticated, but this organization role may not perform the operation.
|
|
15605
|
-
*/
|
|
15606
|
-
403: ErrorResponse;
|
|
15607
|
-
/**
|
|
15608
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
15609
|
-
*/
|
|
15610
|
-
409: ErrorResponse;
|
|
15611
|
-
/**
|
|
15612
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
15613
|
-
*/
|
|
15614
|
-
422: ErrorResponse;
|
|
15615
|
-
/**
|
|
15616
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
15617
|
-
*/
|
|
15618
|
-
default: ErrorResponse;
|
|
15619
|
-
};
|
|
15620
|
-
|
|
15621
|
-
export type OrgsUpdateError = OrgsUpdateErrors[keyof OrgsUpdateErrors];
|
|
15622
|
-
|
|
15623
|
-
export type OrgsUpdateResults = {
|
|
15624
|
-
/**
|
|
15625
|
-
* Successful Response
|
|
15626
|
-
*/
|
|
15627
|
-
200: OrgResponse;
|
|
15628
|
-
};
|
|
15629
|
-
|
|
15630
|
-
export type OrgsUpdateResult = OrgsUpdateResults[keyof OrgsUpdateResults];
|
|
15631
|
-
|
|
15632
|
-
export type OrgsInvitesListData = {
|
|
15633
|
-
body?: never;
|
|
15634
|
-
path?: never;
|
|
15635
|
-
query?: {
|
|
15636
|
-
/**
|
|
15637
|
-
* Limit
|
|
15638
|
-
*/
|
|
15639
|
-
limit?: number;
|
|
15640
|
-
/**
|
|
15641
|
-
* Offset
|
|
15642
|
-
*/
|
|
15643
|
-
offset?: number;
|
|
15644
|
-
};
|
|
15645
|
-
url: '/v1/org/invites';
|
|
15646
|
-
};
|
|
15647
|
-
|
|
15648
|
-
export type OrgsInvitesListErrors = {
|
|
15649
|
-
/**
|
|
15650
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
15651
|
-
*/
|
|
15652
|
-
401: ErrorResponse;
|
|
15653
|
-
/**
|
|
15654
|
-
* Authenticated, but this organization role may not perform the operation.
|
|
15655
|
-
*/
|
|
15656
|
-
403: ErrorResponse;
|
|
15657
|
-
/**
|
|
15658
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
15659
|
-
*/
|
|
15660
|
-
422: ErrorResponse;
|
|
15661
|
-
/**
|
|
15662
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
15663
|
-
*/
|
|
15664
|
-
default: ErrorResponse;
|
|
15665
|
-
};
|
|
15666
|
-
|
|
15667
|
-
export type OrgsInvitesListError = OrgsInvitesListErrors[keyof OrgsInvitesListErrors];
|
|
15668
|
-
|
|
15669
|
-
export type OrgsInvitesListResults = {
|
|
15670
|
-
/**
|
|
15671
|
-
* Successful Response
|
|
15672
|
-
*/
|
|
15673
|
-
200: PageInviteResponse;
|
|
15674
|
-
};
|
|
15675
|
-
|
|
15676
|
-
export type OrgsInvitesListResult = OrgsInvitesListResults[keyof OrgsInvitesListResults];
|
|
15677
|
-
|
|
15678
|
-
export type OrgsInvitesCreateData = {
|
|
15679
|
-
body: InviteRequest;
|
|
15680
|
-
path?: never;
|
|
15681
|
-
query?: never;
|
|
15682
|
-
url: '/v1/org/invites';
|
|
15683
|
-
};
|
|
15684
|
-
|
|
15685
|
-
export type OrgsInvitesCreateErrors = {
|
|
15686
|
-
/**
|
|
15687
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
15688
|
-
*/
|
|
15689
|
-
400: ErrorResponse;
|
|
15690
|
-
/**
|
|
15691
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
15692
|
-
*/
|
|
15693
|
-
401: ErrorResponse;
|
|
15694
|
-
/**
|
|
15695
|
-
* Authenticated, but this organization role may not perform the operation.
|
|
15696
|
-
*/
|
|
15697
|
-
403: ErrorResponse;
|
|
15698
|
-
/**
|
|
15699
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
15700
|
-
*/
|
|
15701
|
-
409: ErrorResponse;
|
|
15702
|
-
/**
|
|
15703
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
15704
|
-
*/
|
|
15705
|
-
422: ErrorResponse;
|
|
15706
|
-
/**
|
|
15707
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
15708
|
-
*/
|
|
15709
|
-
default: ErrorResponse;
|
|
15710
|
-
};
|
|
15711
|
-
|
|
15712
|
-
export type OrgsInvitesCreateError = OrgsInvitesCreateErrors[keyof OrgsInvitesCreateErrors];
|
|
15713
|
-
|
|
15714
|
-
export type OrgsInvitesCreateResults = {
|
|
15715
|
-
/**
|
|
15716
|
-
* Successful Response
|
|
15717
|
-
*/
|
|
15718
|
-
201: InviteResponse;
|
|
15719
|
-
};
|
|
15720
|
-
|
|
15721
|
-
export type OrgsInvitesCreateResult = OrgsInvitesCreateResults[keyof OrgsInvitesCreateResults];
|
|
15722
|
-
|
|
15723
|
-
export type OrgsInvitesRevokeData = {
|
|
15724
|
-
body?: never;
|
|
15725
|
-
path: {
|
|
15726
|
-
/**
|
|
15727
|
-
* Invite Id
|
|
15728
|
-
*/
|
|
15729
|
-
invite_id: string;
|
|
15730
|
-
};
|
|
15731
|
-
query?: never;
|
|
15732
|
-
url: '/v1/org/invites/{invite_id}';
|
|
15733
|
-
};
|
|
15734
|
-
|
|
15735
|
-
export type OrgsInvitesRevokeErrors = {
|
|
15736
|
-
/**
|
|
15737
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
15738
|
-
*/
|
|
15739
|
-
400: ErrorResponse;
|
|
15740
|
-
/**
|
|
15741
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
15742
|
-
*/
|
|
15743
|
-
401: ErrorResponse;
|
|
15744
|
-
/**
|
|
15745
|
-
* Authenticated, but this organization role may not perform the operation.
|
|
15746
|
-
*/
|
|
15747
|
-
403: ErrorResponse;
|
|
15748
|
-
/**
|
|
15749
|
-
* No such resource in this organization.
|
|
15750
|
-
*/
|
|
15751
|
-
404: ErrorResponse;
|
|
15752
|
-
/**
|
|
15753
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
15754
|
-
*/
|
|
15755
|
-
409: ErrorResponse;
|
|
15756
|
-
/**
|
|
15757
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
15758
|
-
*/
|
|
15759
|
-
422: ErrorResponse;
|
|
15760
|
-
/**
|
|
15761
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
15762
|
-
*/
|
|
15763
|
-
default: ErrorResponse;
|
|
15764
|
-
};
|
|
15765
|
-
|
|
15766
|
-
export type OrgsInvitesRevokeError = OrgsInvitesRevokeErrors[keyof OrgsInvitesRevokeErrors];
|
|
15767
|
-
|
|
15768
|
-
export type OrgsInvitesRevokeResults = {
|
|
15769
|
-
/**
|
|
15770
|
-
* Successful Response
|
|
15771
|
-
*/
|
|
15772
|
-
200: OkResponse;
|
|
15773
|
-
};
|
|
15774
|
-
|
|
15775
|
-
export type OrgsInvitesRevokeResult = OrgsInvitesRevokeResults[keyof OrgsInvitesRevokeResults];
|
|
15776
|
-
|
|
15777
|
-
export type OrgsLeaveData = {
|
|
15778
|
-
body?: never;
|
|
15779
|
-
path?: never;
|
|
15780
|
-
query?: never;
|
|
15781
|
-
url: '/v1/org/leave';
|
|
15782
|
-
};
|
|
15783
|
-
|
|
15784
|
-
export type OrgsLeaveErrors = {
|
|
15785
|
-
/**
|
|
15786
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
15787
|
-
*/
|
|
15788
|
-
400: ErrorResponse;
|
|
15789
|
-
/**
|
|
15790
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
15791
|
-
*/
|
|
15792
|
-
401: ErrorResponse;
|
|
15793
|
-
/**
|
|
15794
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
15795
|
-
*/
|
|
15796
|
-
409: ErrorResponse;
|
|
15797
|
-
/**
|
|
15798
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
15799
|
-
*/
|
|
15800
|
-
default: ErrorResponse;
|
|
15801
|
-
};
|
|
15802
|
-
|
|
15803
|
-
export type OrgsLeaveError = OrgsLeaveErrors[keyof OrgsLeaveErrors];
|
|
15804
|
-
|
|
15805
|
-
export type OrgsLeaveResults = {
|
|
15806
|
-
/**
|
|
15807
|
-
* Successful Response
|
|
15808
|
-
*/
|
|
15809
|
-
200: OkResponse;
|
|
15810
|
-
};
|
|
15811
|
-
|
|
15812
|
-
export type OrgsLeaveResult = OrgsLeaveResults[keyof OrgsLeaveResults];
|
|
15813
|
-
|
|
15814
|
-
export type OrgsMembersListData = {
|
|
15815
|
-
body?: never;
|
|
15816
|
-
path?: never;
|
|
15817
|
-
query?: {
|
|
15818
|
-
/**
|
|
15819
|
-
* Limit
|
|
15820
|
-
*/
|
|
15821
|
-
limit?: number;
|
|
15822
|
-
/**
|
|
15823
|
-
* Offset
|
|
15824
|
-
*/
|
|
15825
|
-
offset?: number;
|
|
15826
|
-
};
|
|
15827
|
-
url: '/v1/org/members';
|
|
15828
|
-
};
|
|
15829
|
-
|
|
15830
|
-
export type OrgsMembersListErrors = {
|
|
15831
|
-
/**
|
|
15832
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
15833
|
-
*/
|
|
15834
|
-
401: ErrorResponse;
|
|
15835
|
-
/**
|
|
15836
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
15837
|
-
*/
|
|
15838
|
-
422: ErrorResponse;
|
|
15839
|
-
/**
|
|
15840
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
15841
|
-
*/
|
|
15842
|
-
default: ErrorResponse;
|
|
15843
|
-
};
|
|
15844
|
-
|
|
15845
|
-
export type OrgsMembersListError = OrgsMembersListErrors[keyof OrgsMembersListErrors];
|
|
15846
|
-
|
|
15847
|
-
export type OrgsMembersListResults = {
|
|
15848
|
-
/**
|
|
15849
|
-
* Successful Response
|
|
15850
|
-
*/
|
|
15851
|
-
200: PageMemberResponse;
|
|
15852
|
-
};
|
|
15853
|
-
|
|
15854
|
-
export type OrgsMembersListResult = OrgsMembersListResults[keyof OrgsMembersListResults];
|
|
15855
|
-
|
|
15856
|
-
export type OrgsMembersRemoveData = {
|
|
15857
|
-
body?: never;
|
|
15858
|
-
path: {
|
|
15859
|
-
/**
|
|
15860
|
-
* User Id
|
|
15861
|
-
*/
|
|
15862
|
-
user_id: string;
|
|
15863
|
-
};
|
|
15864
|
-
query?: never;
|
|
15865
|
-
url: '/v1/org/members/{user_id}';
|
|
15866
|
-
};
|
|
15867
|
-
|
|
15868
|
-
export type OrgsMembersRemoveErrors = {
|
|
15869
|
-
/**
|
|
15870
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
15871
|
-
*/
|
|
15872
|
-
400: ErrorResponse;
|
|
15873
|
-
/**
|
|
15874
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
15875
|
-
*/
|
|
15876
|
-
401: ErrorResponse;
|
|
15877
|
-
/**
|
|
15878
|
-
* Authenticated, but this organization role may not perform the operation.
|
|
15879
|
-
*/
|
|
15880
|
-
403: ErrorResponse;
|
|
15881
|
-
/**
|
|
15882
|
-
* No such resource in this organization.
|
|
15883
|
-
*/
|
|
15884
|
-
404: ErrorResponse;
|
|
15885
|
-
/**
|
|
15886
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
15887
|
-
*/
|
|
15888
|
-
409: ErrorResponse;
|
|
15889
|
-
/**
|
|
15890
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
15891
|
-
*/
|
|
15892
|
-
422: ErrorResponse;
|
|
15893
|
-
/**
|
|
15894
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
15895
|
-
*/
|
|
15896
|
-
default: ErrorResponse;
|
|
15897
|
-
};
|
|
15898
|
-
|
|
15899
|
-
export type OrgsMembersRemoveError = OrgsMembersRemoveErrors[keyof OrgsMembersRemoveErrors];
|
|
15900
|
-
|
|
15901
|
-
export type OrgsMembersRemoveResults = {
|
|
15902
|
-
/**
|
|
15903
|
-
* Successful Response
|
|
15904
|
-
*/
|
|
15905
|
-
200: OkResponse;
|
|
15906
|
-
};
|
|
15907
|
-
|
|
15908
|
-
export type OrgsMembersRemoveResult = OrgsMembersRemoveResults[keyof OrgsMembersRemoveResults];
|
|
15909
|
-
|
|
15910
|
-
export type OrgsMembersSetRoleData = {
|
|
15911
|
-
body: RoleRequest;
|
|
15912
|
-
path: {
|
|
15377
|
+
query?: {
|
|
15913
15378
|
/**
|
|
15914
|
-
*
|
|
15379
|
+
* Start Date
|
|
15915
15380
|
*/
|
|
15916
|
-
|
|
15917
|
-
};
|
|
15918
|
-
query?: never;
|
|
15919
|
-
url: '/v1/org/members/{user_id}';
|
|
15920
|
-
};
|
|
15921
|
-
|
|
15922
|
-
export type OrgsMembersSetRoleErrors = {
|
|
15923
|
-
/**
|
|
15924
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
15925
|
-
*/
|
|
15926
|
-
400: ErrorResponse;
|
|
15927
|
-
/**
|
|
15928
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
15929
|
-
*/
|
|
15930
|
-
401: ErrorResponse;
|
|
15931
|
-
/**
|
|
15932
|
-
* Authenticated, but this organization role may not perform the operation.
|
|
15933
|
-
*/
|
|
15934
|
-
403: ErrorResponse;
|
|
15935
|
-
/**
|
|
15936
|
-
* No such resource in this organization.
|
|
15937
|
-
*/
|
|
15938
|
-
404: ErrorResponse;
|
|
15939
|
-
/**
|
|
15940
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
15941
|
-
*/
|
|
15942
|
-
409: ErrorResponse;
|
|
15943
|
-
/**
|
|
15944
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
15945
|
-
*/
|
|
15946
|
-
422: ErrorResponse;
|
|
15947
|
-
/**
|
|
15948
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
15949
|
-
*/
|
|
15950
|
-
default: ErrorResponse;
|
|
15951
|
-
};
|
|
15952
|
-
|
|
15953
|
-
export type OrgsMembersSetRoleError = OrgsMembersSetRoleErrors[keyof OrgsMembersSetRoleErrors];
|
|
15954
|
-
|
|
15955
|
-
export type OrgsMembersSetRoleResults = {
|
|
15956
|
-
/**
|
|
15957
|
-
* Successful Response
|
|
15958
|
-
*/
|
|
15959
|
-
200: MemberResponse;
|
|
15960
|
-
};
|
|
15961
|
-
|
|
15962
|
-
export type OrgsMembersSetRoleResult = OrgsMembersSetRoleResults[keyof OrgsMembersSetRoleResults];
|
|
15963
|
-
|
|
15964
|
-
export type OrgsListData = {
|
|
15965
|
-
body?: never;
|
|
15966
|
-
path?: never;
|
|
15967
|
-
query?: {
|
|
15381
|
+
start_date?: string | null;
|
|
15968
15382
|
/**
|
|
15969
|
-
*
|
|
15383
|
+
* End Date
|
|
15970
15384
|
*/
|
|
15971
|
-
|
|
15385
|
+
end_date?: string | null;
|
|
15972
15386
|
/**
|
|
15973
|
-
*
|
|
15387
|
+
* Timezone
|
|
15974
15388
|
*/
|
|
15975
|
-
|
|
15976
|
-
};
|
|
15977
|
-
url: '/v1/orgs';
|
|
15978
|
-
};
|
|
15979
|
-
|
|
15980
|
-
export type OrgsListErrors = {
|
|
15981
|
-
/**
|
|
15982
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
15983
|
-
*/
|
|
15984
|
-
401: ErrorResponse;
|
|
15985
|
-
/**
|
|
15986
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
15987
|
-
*/
|
|
15988
|
-
422: ErrorResponse;
|
|
15989
|
-
/**
|
|
15990
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
15991
|
-
*/
|
|
15992
|
-
default: ErrorResponse;
|
|
15993
|
-
};
|
|
15994
|
-
|
|
15995
|
-
export type OrgsListError = OrgsListErrors[keyof OrgsListErrors];
|
|
15996
|
-
|
|
15997
|
-
export type OrgsListResults = {
|
|
15998
|
-
/**
|
|
15999
|
-
* Successful Response
|
|
16000
|
-
*/
|
|
16001
|
-
200: PageOrgResponse;
|
|
16002
|
-
};
|
|
16003
|
-
|
|
16004
|
-
export type OrgsListResult = OrgsListResults[keyof OrgsListResults];
|
|
16005
|
-
|
|
16006
|
-
export type OrgsCreateData = {
|
|
16007
|
-
body: OrgNameRequest;
|
|
16008
|
-
path?: never;
|
|
16009
|
-
query?: never;
|
|
16010
|
-
url: '/v1/orgs';
|
|
16011
|
-
};
|
|
16012
|
-
|
|
16013
|
-
export type OrgsCreateErrors = {
|
|
16014
|
-
/**
|
|
16015
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
16016
|
-
*/
|
|
16017
|
-
400: ErrorResponse;
|
|
16018
|
-
/**
|
|
16019
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
16020
|
-
*/
|
|
16021
|
-
401: ErrorResponse;
|
|
16022
|
-
/**
|
|
16023
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
16024
|
-
*/
|
|
16025
|
-
409: ErrorResponse;
|
|
16026
|
-
/**
|
|
16027
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
16028
|
-
*/
|
|
16029
|
-
422: ErrorResponse;
|
|
16030
|
-
/**
|
|
16031
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
16032
|
-
*/
|
|
16033
|
-
default: ErrorResponse;
|
|
16034
|
-
};
|
|
16035
|
-
|
|
16036
|
-
export type OrgsCreateError = OrgsCreateErrors[keyof OrgsCreateErrors];
|
|
16037
|
-
|
|
16038
|
-
export type OrgsCreateResults = {
|
|
16039
|
-
/**
|
|
16040
|
-
* Successful Response
|
|
16041
|
-
*/
|
|
16042
|
-
201: OrgResponse;
|
|
16043
|
-
};
|
|
16044
|
-
|
|
16045
|
-
export type OrgsCreateResult = OrgsCreateResults[keyof OrgsCreateResults];
|
|
16046
|
-
|
|
16047
|
-
export type OrgsSwitchData = {
|
|
16048
|
-
body?: never;
|
|
16049
|
-
path: {
|
|
15389
|
+
timezone?: string;
|
|
16050
15390
|
/**
|
|
16051
|
-
*
|
|
15391
|
+
* Agent Id
|
|
15392
|
+
*/
|
|
15393
|
+
agent_id?: string | null;
|
|
15394
|
+
/**
|
|
15395
|
+
* Channel
|
|
16052
15396
|
*/
|
|
16053
|
-
|
|
15397
|
+
channel?: 'voice' | 'video' | 'text' | null;
|
|
16054
15398
|
};
|
|
16055
|
-
|
|
16056
|
-
url: '/v1/orgs/{org_id}/switch';
|
|
15399
|
+
url: '/v1/observability';
|
|
16057
15400
|
};
|
|
16058
15401
|
|
|
16059
|
-
export type
|
|
16060
|
-
/**
|
|
16061
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
16062
|
-
*/
|
|
16063
|
-
400: ErrorResponse;
|
|
15402
|
+
export type ObservabilityGetErrors = {
|
|
16064
15403
|
/**
|
|
16065
15404
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
16066
15405
|
*/
|
|
16067
15406
|
401: ErrorResponse;
|
|
16068
|
-
/**
|
|
16069
|
-
* No such resource in this organization.
|
|
16070
|
-
*/
|
|
16071
|
-
404: ErrorResponse;
|
|
16072
|
-
/**
|
|
16073
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
16074
|
-
*/
|
|
16075
|
-
409: ErrorResponse;
|
|
16076
15407
|
/**
|
|
16077
15408
|
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
16078
15409
|
*/
|
|
@@ -16083,16 +15414,16 @@ export type OrgsSwitchErrors = {
|
|
|
16083
15414
|
default: ErrorResponse;
|
|
16084
15415
|
};
|
|
16085
15416
|
|
|
16086
|
-
export type
|
|
15417
|
+
export type ObservabilityGetError = ObservabilityGetErrors[keyof ObservabilityGetErrors];
|
|
16087
15418
|
|
|
16088
|
-
export type
|
|
15419
|
+
export type ObservabilityGetResults = {
|
|
16089
15420
|
/**
|
|
16090
15421
|
* Successful Response
|
|
16091
15422
|
*/
|
|
16092
|
-
200:
|
|
15423
|
+
200: ObservabilityResponse;
|
|
16093
15424
|
};
|
|
16094
15425
|
|
|
16095
|
-
export type
|
|
15426
|
+
export type ObservabilityGetResult = ObservabilityGetResults[keyof ObservabilityGetResults];
|
|
16096
15427
|
|
|
16097
15428
|
export type SchemasGetData = {
|
|
16098
15429
|
body?: never;
|
|
@@ -17398,139 +16729,6 @@ export type TelephonyProvidersListResults = {
|
|
|
17398
16729
|
|
|
17399
16730
|
export type TelephonyProvidersListResult = TelephonyProvidersListResults[keyof TelephonyProvidersListResults];
|
|
17400
16731
|
|
|
17401
|
-
export type TokensListData = {
|
|
17402
|
-
body?: never;
|
|
17403
|
-
path?: never;
|
|
17404
|
-
query?: {
|
|
17405
|
-
/**
|
|
17406
|
-
* Limit
|
|
17407
|
-
*/
|
|
17408
|
-
limit?: number;
|
|
17409
|
-
/**
|
|
17410
|
-
* Offset
|
|
17411
|
-
*/
|
|
17412
|
-
offset?: number;
|
|
17413
|
-
};
|
|
17414
|
-
url: '/v1/tokens';
|
|
17415
|
-
};
|
|
17416
|
-
|
|
17417
|
-
export type TokensListErrors = {
|
|
17418
|
-
/**
|
|
17419
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
17420
|
-
*/
|
|
17421
|
-
401: ErrorResponse;
|
|
17422
|
-
/**
|
|
17423
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
17424
|
-
*/
|
|
17425
|
-
422: ErrorResponse;
|
|
17426
|
-
/**
|
|
17427
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
17428
|
-
*/
|
|
17429
|
-
default: ErrorResponse;
|
|
17430
|
-
};
|
|
17431
|
-
|
|
17432
|
-
export type TokensListError = TokensListErrors[keyof TokensListErrors];
|
|
17433
|
-
|
|
17434
|
-
export type TokensListResults = {
|
|
17435
|
-
/**
|
|
17436
|
-
* Successful Response
|
|
17437
|
-
*/
|
|
17438
|
-
200: PageTokenResponse;
|
|
17439
|
-
};
|
|
17440
|
-
|
|
17441
|
-
export type TokensListResult = TokensListResults[keyof TokensListResults];
|
|
17442
|
-
|
|
17443
|
-
export type TokensCreateData = {
|
|
17444
|
-
body: CreateTokenRequest;
|
|
17445
|
-
path?: never;
|
|
17446
|
-
query?: never;
|
|
17447
|
-
url: '/v1/tokens';
|
|
17448
|
-
};
|
|
17449
|
-
|
|
17450
|
-
export type TokensCreateErrors = {
|
|
17451
|
-
/**
|
|
17452
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
17453
|
-
*/
|
|
17454
|
-
400: ErrorResponse;
|
|
17455
|
-
/**
|
|
17456
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
17457
|
-
*/
|
|
17458
|
-
401: ErrorResponse;
|
|
17459
|
-
/**
|
|
17460
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
17461
|
-
*/
|
|
17462
|
-
409: ErrorResponse;
|
|
17463
|
-
/**
|
|
17464
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
17465
|
-
*/
|
|
17466
|
-
422: ErrorResponse;
|
|
17467
|
-
/**
|
|
17468
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
17469
|
-
*/
|
|
17470
|
-
default: ErrorResponse;
|
|
17471
|
-
};
|
|
17472
|
-
|
|
17473
|
-
export type TokensCreateError = TokensCreateErrors[keyof TokensCreateErrors];
|
|
17474
|
-
|
|
17475
|
-
export type TokensCreateResults = {
|
|
17476
|
-
/**
|
|
17477
|
-
* Successful Response
|
|
17478
|
-
*/
|
|
17479
|
-
201: TokenCreatedResponse;
|
|
17480
|
-
};
|
|
17481
|
-
|
|
17482
|
-
export type TokensCreateResult = TokensCreateResults[keyof TokensCreateResults];
|
|
17483
|
-
|
|
17484
|
-
export type TokensDeleteData = {
|
|
17485
|
-
body?: never;
|
|
17486
|
-
path: {
|
|
17487
|
-
/**
|
|
17488
|
-
* Token Id
|
|
17489
|
-
*/
|
|
17490
|
-
token_id: string;
|
|
17491
|
-
};
|
|
17492
|
-
query?: never;
|
|
17493
|
-
url: '/v1/tokens/{token_id}';
|
|
17494
|
-
};
|
|
17495
|
-
|
|
17496
|
-
export type TokensDeleteErrors = {
|
|
17497
|
-
/**
|
|
17498
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
17499
|
-
*/
|
|
17500
|
-
400: ErrorResponse;
|
|
17501
|
-
/**
|
|
17502
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
17503
|
-
*/
|
|
17504
|
-
401: ErrorResponse;
|
|
17505
|
-
/**
|
|
17506
|
-
* No such resource in this organization.
|
|
17507
|
-
*/
|
|
17508
|
-
404: ErrorResponse;
|
|
17509
|
-
/**
|
|
17510
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
17511
|
-
*/
|
|
17512
|
-
409: ErrorResponse;
|
|
17513
|
-
/**
|
|
17514
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
17515
|
-
*/
|
|
17516
|
-
422: ErrorResponse;
|
|
17517
|
-
/**
|
|
17518
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
17519
|
-
*/
|
|
17520
|
-
default: ErrorResponse;
|
|
17521
|
-
};
|
|
17522
|
-
|
|
17523
|
-
export type TokensDeleteError = TokensDeleteErrors[keyof TokensDeleteErrors];
|
|
17524
|
-
|
|
17525
|
-
export type TokensDeleteResults = {
|
|
17526
|
-
/**
|
|
17527
|
-
* Successful Response
|
|
17528
|
-
*/
|
|
17529
|
-
200: OkResponse;
|
|
17530
|
-
};
|
|
17531
|
-
|
|
17532
|
-
export type TokensDeleteResult = TokensDeleteResults[keyof TokensDeleteResults];
|
|
17533
|
-
|
|
17534
16732
|
export type ToolsListData = {
|
|
17535
16733
|
body?: never;
|
|
17536
16734
|
path?: never;
|