@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
|
@@ -585,13 +585,6 @@ export type AssistantStartedEvent = {
|
|
|
585
585
|
*/
|
|
586
586
|
trigger_item_id: string;
|
|
587
587
|
};
|
|
588
|
-
/**
|
|
589
|
-
* AuthContextResponse
|
|
590
|
-
*/
|
|
591
|
-
export type AuthContextResponse = {
|
|
592
|
-
tenant: PublicTenantResponse;
|
|
593
|
-
user: PublicUserResponse;
|
|
594
|
-
};
|
|
595
588
|
/**
|
|
596
589
|
* AvatarCatalogEntryResponse
|
|
597
590
|
*/
|
|
@@ -2580,6 +2573,10 @@ export type CreateIntegrationRequest = {
|
|
|
2580
2573
|
provider_account_info?: {
|
|
2581
2574
|
[key: string]: unknown;
|
|
2582
2575
|
};
|
|
2576
|
+
/**
|
|
2577
|
+
* Tools Namespace
|
|
2578
|
+
*/
|
|
2579
|
+
tools_namespace?: string | null;
|
|
2583
2580
|
/**
|
|
2584
2581
|
* Webhook Config
|
|
2585
2582
|
*/
|
|
@@ -2737,15 +2734,6 @@ export type CreateTextConversationRequest = {
|
|
|
2737
2734
|
[key: string]: string;
|
|
2738
2735
|
} | null;
|
|
2739
2736
|
};
|
|
2740
|
-
/**
|
|
2741
|
-
* CreateTokenRequest
|
|
2742
|
-
*/
|
|
2743
|
-
export type CreateTokenRequest = {
|
|
2744
|
-
/**
|
|
2745
|
-
* Name
|
|
2746
|
-
*/
|
|
2747
|
-
name: string;
|
|
2748
|
-
};
|
|
2749
2737
|
/**
|
|
2750
2738
|
* CreateToolRequest
|
|
2751
2739
|
*/
|
|
@@ -2798,6 +2786,134 @@ export type CreateWebhookRequest = {
|
|
|
2798
2786
|
*/
|
|
2799
2787
|
url: string;
|
|
2800
2788
|
};
|
|
2789
|
+
/**
|
|
2790
|
+
* CreditBalanceResponse
|
|
2791
|
+
*
|
|
2792
|
+
* This region's balance for the workspace, what it buys, and top-up prices.
|
|
2793
|
+
*
|
|
2794
|
+
* Per region, because the balance is a data-plane table. A caller reading this
|
|
2795
|
+
* is reading the balance of whichever region's API they called, and the
|
|
2796
|
+
* dashboard labels it with that region's name — a bare number is what makes a
|
|
2797
|
+
* customer with $50 in one region and $0 in another think the money vanished.
|
|
2798
|
+
*/
|
|
2799
|
+
export type CreditBalanceResponse = {
|
|
2800
|
+
/**
|
|
2801
|
+
* Balance
|
|
2802
|
+
*/
|
|
2803
|
+
balance: number;
|
|
2804
|
+
/**
|
|
2805
|
+
* Currency
|
|
2806
|
+
*/
|
|
2807
|
+
currency: 'USD';
|
|
2808
|
+
/**
|
|
2809
|
+
* Low Balance Threshold
|
|
2810
|
+
*/
|
|
2811
|
+
low_balance_threshold: number;
|
|
2812
|
+
/**
|
|
2813
|
+
* Packs
|
|
2814
|
+
*/
|
|
2815
|
+
packs: Array<CreditPackResponse>;
|
|
2816
|
+
/**
|
|
2817
|
+
* Topup Status
|
|
2818
|
+
*/
|
|
2819
|
+
topup_status: 'pending' | 'paid' | 'failed' | 'cancelled' | 'refunded' | null;
|
|
2820
|
+
/**
|
|
2821
|
+
* Video Minutes Remaining
|
|
2822
|
+
*/
|
|
2823
|
+
video_minutes_remaining: number;
|
|
2824
|
+
/**
|
|
2825
|
+
* Voice Minutes Remaining
|
|
2826
|
+
*/
|
|
2827
|
+
voice_minutes_remaining: number;
|
|
2828
|
+
};
|
|
2829
|
+
/**
|
|
2830
|
+
* CreditCheckoutRequest
|
|
2831
|
+
*
|
|
2832
|
+
* Which pack to buy. Never an arbitrary amount — the packs are the prices.
|
|
2833
|
+
*/
|
|
2834
|
+
export type CreditCheckoutRequest = {
|
|
2835
|
+
/**
|
|
2836
|
+
* Pack
|
|
2837
|
+
*/
|
|
2838
|
+
pack: 'usd_20' | 'usd_50' | 'usd_100' | 'usd_200' | 'usd_500' | 'usd_1000';
|
|
2839
|
+
};
|
|
2840
|
+
/**
|
|
2841
|
+
* CreditCheckoutResponse
|
|
2842
|
+
*
|
|
2843
|
+
* Where to send the buyer, and the top-up that is waiting on them.
|
|
2844
|
+
*/
|
|
2845
|
+
export type CreditCheckoutResponse = {
|
|
2846
|
+
/**
|
|
2847
|
+
* Checkout Url
|
|
2848
|
+
*/
|
|
2849
|
+
checkout_url: string;
|
|
2850
|
+
/**
|
|
2851
|
+
* Topup Id
|
|
2852
|
+
*/
|
|
2853
|
+
topup_id: string;
|
|
2854
|
+
};
|
|
2855
|
+
/**
|
|
2856
|
+
* CreditLedgerEntryResponse
|
|
2857
|
+
*
|
|
2858
|
+
* A ledger row, as the billing page reads it.
|
|
2859
|
+
*
|
|
2860
|
+
* Money is `float` here, matching `CostResponse` — the API has spoken JSON
|
|
2861
|
+
* numbers for every other money field since it existed, and one column in one
|
|
2862
|
+
* string would only make a client parse two shapes.
|
|
2863
|
+
*/
|
|
2864
|
+
export type CreditLedgerEntryResponse = {
|
|
2865
|
+
/**
|
|
2866
|
+
* Amount
|
|
2867
|
+
*/
|
|
2868
|
+
amount: number;
|
|
2869
|
+
/**
|
|
2870
|
+
* Balance After
|
|
2871
|
+
*/
|
|
2872
|
+
balance_after: number;
|
|
2873
|
+
/**
|
|
2874
|
+
* Created At
|
|
2875
|
+
*/
|
|
2876
|
+
created_at: string;
|
|
2877
|
+
/**
|
|
2878
|
+
* Id
|
|
2879
|
+
*/
|
|
2880
|
+
id: string;
|
|
2881
|
+
/**
|
|
2882
|
+
* Kind
|
|
2883
|
+
*/
|
|
2884
|
+
kind: 'signup_grant' | 'purchase' | 'usage' | 'refund' | 'adjustment';
|
|
2885
|
+
/**
|
|
2886
|
+
* Note
|
|
2887
|
+
*/
|
|
2888
|
+
note: string | null;
|
|
2889
|
+
/**
|
|
2890
|
+
* Session Id
|
|
2891
|
+
*/
|
|
2892
|
+
session_id: string | null;
|
|
2893
|
+
/**
|
|
2894
|
+
* Topup Id
|
|
2895
|
+
*/
|
|
2896
|
+
topup_id: string | null;
|
|
2897
|
+
};
|
|
2898
|
+
/**
|
|
2899
|
+
* CreditPackResponse
|
|
2900
|
+
*
|
|
2901
|
+
* One pack the workspace may buy, priced in USD.
|
|
2902
|
+
*/
|
|
2903
|
+
export type CreditPackResponse = {
|
|
2904
|
+
/**
|
|
2905
|
+
* Amount
|
|
2906
|
+
*/
|
|
2907
|
+
amount: number;
|
|
2908
|
+
/**
|
|
2909
|
+
* Id
|
|
2910
|
+
*/
|
|
2911
|
+
id: 'usd_20' | 'usd_50' | 'usd_100' | 'usd_200' | 'usd_500' | 'usd_1000';
|
|
2912
|
+
/**
|
|
2913
|
+
* Voice Minutes
|
|
2914
|
+
*/
|
|
2915
|
+
voice_minutes: number;
|
|
2916
|
+
};
|
|
2801
2917
|
/**
|
|
2802
2918
|
* DeliveryError
|
|
2803
2919
|
*
|
|
@@ -3060,10 +3176,6 @@ export type EmailRecipientResponse = {
|
|
|
3060
3176
|
columns: {
|
|
3061
3177
|
[key: string]: unknown;
|
|
3062
3178
|
};
|
|
3063
|
-
/**
|
|
3064
|
-
* Delivery Status
|
|
3065
|
-
*/
|
|
3066
|
-
delivery_status: 'delivered' | 'delayed' | 'bounced' | 'complained' | 'suppressed' | null;
|
|
3067
3179
|
/**
|
|
3068
3180
|
* Id
|
|
3069
3181
|
*/
|
|
@@ -3799,6 +3911,7 @@ export type InboundImage = {
|
|
|
3799
3911
|
* A remote MCP server defined here rather than named.
|
|
3800
3912
|
*
|
|
3801
3913
|
* API-key-shaped only — an OAuth server has to be an integration.
|
|
3914
|
+
* `tools_namespace` prefixes every tool the model is shown: `crm` -> `crm_search`.
|
|
3802
3915
|
*/
|
|
3803
3916
|
export type InlineMcpServer = {
|
|
3804
3917
|
/**
|
|
@@ -3815,6 +3928,10 @@ export type InlineMcpServer = {
|
|
|
3815
3928
|
* Name
|
|
3816
3929
|
*/
|
|
3817
3930
|
name: string;
|
|
3931
|
+
/**
|
|
3932
|
+
* Tools Namespace
|
|
3933
|
+
*/
|
|
3934
|
+
tools_namespace?: string;
|
|
3818
3935
|
/**
|
|
3819
3936
|
* Url
|
|
3820
3937
|
*/
|
|
@@ -3932,6 +4049,10 @@ export type IntegrationMcpTool = {
|
|
|
3932
4049
|
* Description
|
|
3933
4050
|
*/
|
|
3934
4051
|
description?: string;
|
|
4052
|
+
/**
|
|
4053
|
+
* Exposed Name
|
|
4054
|
+
*/
|
|
4055
|
+
exposed_name: string;
|
|
3935
4056
|
/**
|
|
3936
4057
|
* Name
|
|
3937
4058
|
*/
|
|
@@ -4011,6 +4132,10 @@ export type IntegrationResponse = {
|
|
|
4011
4132
|
* Status
|
|
4012
4133
|
*/
|
|
4013
4134
|
status: 'active' | 'disabled' | 'needs_reconnect' | 'error';
|
|
4135
|
+
/**
|
|
4136
|
+
* Tools Namespace
|
|
4137
|
+
*/
|
|
4138
|
+
tools_namespace: string;
|
|
4014
4139
|
/**
|
|
4015
4140
|
* Updated At
|
|
4016
4141
|
*/
|
|
@@ -4137,12 +4262,9 @@ export type IntegrationTriggerResponse = {
|
|
|
4137
4262
|
*
|
|
4138
4263
|
* Where the provider delivers, and whether anything has arrived yet.
|
|
4139
4264
|
*
|
|
4140
|
-
*
|
|
4141
|
-
*
|
|
4142
|
-
*
|
|
4143
|
-
* bounce events has to paste this URL into Resend themselves — and until they
|
|
4144
|
-
* do, bounces and spam complaints are invisible, which are the two facts that
|
|
4145
|
-
* decide whether a sending domain survives.
|
|
4265
|
+
* Status rather than instructions: a chat provider registers its own webhook
|
|
4266
|
+
* when a trigger is enabled, so nobody has to paste this URL anywhere. It is
|
|
4267
|
+
* here for support — "has anything ever arrived on this connection".
|
|
4146
4268
|
*/
|
|
4147
4269
|
export type IntegrationWebhookSetup = {
|
|
4148
4270
|
/**
|
|
@@ -4157,10 +4279,6 @@ export type IntegrationWebhookSetup = {
|
|
|
4157
4279
|
* Last Received At
|
|
4158
4280
|
*/
|
|
4159
4281
|
last_received_at?: string | null;
|
|
4160
|
-
/**
|
|
4161
|
-
* Required Subscriptions
|
|
4162
|
-
*/
|
|
4163
|
-
required_subscriptions: Array<string>;
|
|
4164
4282
|
};
|
|
4165
4283
|
/**
|
|
4166
4284
|
* InterruptionSpec
|
|
@@ -4248,44 +4366,6 @@ export type InterruptionSpecOverride = {
|
|
|
4248
4366
|
*/
|
|
4249
4367
|
resume_false_interruption?: boolean | null;
|
|
4250
4368
|
};
|
|
4251
|
-
/**
|
|
4252
|
-
* InviteRequest
|
|
4253
|
-
*/
|
|
4254
|
-
export type InviteRequest = {
|
|
4255
|
-
/**
|
|
4256
|
-
* Email
|
|
4257
|
-
*/
|
|
4258
|
-
email: string;
|
|
4259
|
-
/**
|
|
4260
|
-
* Role
|
|
4261
|
-
*/
|
|
4262
|
-
role: 'ADMIN' | 'EDITOR' | 'VIEWER';
|
|
4263
|
-
};
|
|
4264
|
-
/**
|
|
4265
|
-
* InviteResponse
|
|
4266
|
-
*/
|
|
4267
|
-
export type InviteResponse = {
|
|
4268
|
-
/**
|
|
4269
|
-
* Accepted At
|
|
4270
|
-
*/
|
|
4271
|
-
accepted_at?: string | null;
|
|
4272
|
-
/**
|
|
4273
|
-
* Created At
|
|
4274
|
-
*/
|
|
4275
|
-
created_at: string;
|
|
4276
|
-
/**
|
|
4277
|
-
* Email
|
|
4278
|
-
*/
|
|
4279
|
-
email: string;
|
|
4280
|
-
/**
|
|
4281
|
-
* Id
|
|
4282
|
-
*/
|
|
4283
|
-
id: string;
|
|
4284
|
-
/**
|
|
4285
|
-
* Role
|
|
4286
|
-
*/
|
|
4287
|
-
role: 'ADMIN' | 'EDITOR' | 'VIEWER';
|
|
4288
|
-
};
|
|
4289
4369
|
/**
|
|
4290
4370
|
* ItemCreatedEvent
|
|
4291
4371
|
*
|
|
@@ -5060,62 +5140,6 @@ export type McpSelection = {
|
|
|
5060
5140
|
integration_id?: string | null;
|
|
5061
5141
|
mcp?: InlineMcpServer | null;
|
|
5062
5142
|
};
|
|
5063
|
-
/**
|
|
5064
|
-
* McpTokenResponse
|
|
5065
|
-
*
|
|
5066
|
-
* Everything an MCP client configuration needs, in one response.
|
|
5067
|
-
*/
|
|
5068
|
-
export type McpTokenResponse = {
|
|
5069
|
-
/**
|
|
5070
|
-
* Api Url
|
|
5071
|
-
*/
|
|
5072
|
-
api_url: string;
|
|
5073
|
-
/**
|
|
5074
|
-
* Created At
|
|
5075
|
-
*/
|
|
5076
|
-
created_at: string;
|
|
5077
|
-
/**
|
|
5078
|
-
* Id
|
|
5079
|
-
*/
|
|
5080
|
-
id: string;
|
|
5081
|
-
/**
|
|
5082
|
-
* Name
|
|
5083
|
-
*/
|
|
5084
|
-
name: string;
|
|
5085
|
-
/**
|
|
5086
|
-
* Token
|
|
5087
|
-
*/
|
|
5088
|
-
token: string;
|
|
5089
|
-
};
|
|
5090
|
-
/**
|
|
5091
|
-
* MemberResponse
|
|
5092
|
-
*/
|
|
5093
|
-
export type MemberResponse = {
|
|
5094
|
-
/**
|
|
5095
|
-
* Email
|
|
5096
|
-
*/
|
|
5097
|
-
email: string;
|
|
5098
|
-
/**
|
|
5099
|
-
* Id
|
|
5100
|
-
*/
|
|
5101
|
-
id: string;
|
|
5102
|
-
/**
|
|
5103
|
-
* Joined At
|
|
5104
|
-
*/
|
|
5105
|
-
joined_at: string;
|
|
5106
|
-
/**
|
|
5107
|
-
* Name
|
|
5108
|
-
*/
|
|
5109
|
-
name?: string | null;
|
|
5110
|
-
/**
|
|
5111
|
-
* Picture Url
|
|
5112
|
-
*/
|
|
5113
|
-
picture_url?: string | null;
|
|
5114
|
-
/**
|
|
5115
|
-
* Role
|
|
5116
|
-
*/
|
|
5117
|
-
role: 'ADMIN' | 'EDITOR' | 'VIEWER';
|
|
5118
|
-
};
|
|
5119
5143
|
/**
|
|
5120
5144
|
* ModelMetadata
|
|
5121
5145
|
*
|
|
@@ -5802,40 +5826,6 @@ export type OkResponse = {
|
|
|
5802
5826
|
*/
|
|
5803
5827
|
ok?: boolean;
|
|
5804
5828
|
};
|
|
5805
|
-
/**
|
|
5806
|
-
* OrgNameRequest
|
|
5807
|
-
*/
|
|
5808
|
-
export type OrgNameRequest = {
|
|
5809
|
-
/**
|
|
5810
|
-
* Name
|
|
5811
|
-
*/
|
|
5812
|
-
name: string;
|
|
5813
|
-
};
|
|
5814
|
-
/**
|
|
5815
|
-
* OrgResponse
|
|
5816
|
-
*/
|
|
5817
|
-
export type OrgResponse = {
|
|
5818
|
-
/**
|
|
5819
|
-
* Id
|
|
5820
|
-
*/
|
|
5821
|
-
id: string;
|
|
5822
|
-
/**
|
|
5823
|
-
* Joined At
|
|
5824
|
-
*/
|
|
5825
|
-
joined_at: string;
|
|
5826
|
-
/**
|
|
5827
|
-
* Name
|
|
5828
|
-
*/
|
|
5829
|
-
name: string;
|
|
5830
|
-
/**
|
|
5831
|
-
* Retention Days
|
|
5832
|
-
*/
|
|
5833
|
-
retention_days?: number | null;
|
|
5834
|
-
/**
|
|
5835
|
-
* Role
|
|
5836
|
-
*/
|
|
5837
|
-
role: 'ADMIN' | 'EDITOR' | 'VIEWER';
|
|
5838
|
-
};
|
|
5839
5829
|
/**
|
|
5840
5830
|
* OutboundCallRequest
|
|
5841
5831
|
*
|
|
@@ -6114,6 +6104,27 @@ export type PageConversationSessionResponse = {
|
|
|
6114
6104
|
*/
|
|
6115
6105
|
offset: number;
|
|
6116
6106
|
};
|
|
6107
|
+
/**
|
|
6108
|
+
* Page[CreditLedgerEntryResponse]
|
|
6109
|
+
*/
|
|
6110
|
+
export type PageCreditLedgerEntryResponse = {
|
|
6111
|
+
/**
|
|
6112
|
+
* Has More
|
|
6113
|
+
*/
|
|
6114
|
+
has_more: boolean;
|
|
6115
|
+
/**
|
|
6116
|
+
* Items
|
|
6117
|
+
*/
|
|
6118
|
+
items: Array<CreditLedgerEntryResponse>;
|
|
6119
|
+
/**
|
|
6120
|
+
* Limit
|
|
6121
|
+
*/
|
|
6122
|
+
limit: number;
|
|
6123
|
+
/**
|
|
6124
|
+
* Offset
|
|
6125
|
+
*/
|
|
6126
|
+
offset: number;
|
|
6127
|
+
};
|
|
6117
6128
|
/**
|
|
6118
6129
|
* Page[DeliveryResponse]
|
|
6119
6130
|
*/
|
|
@@ -6241,9 +6252,9 @@ export type PageIntegrationTriggerResponse = {
|
|
|
6241
6252
|
offset: number;
|
|
6242
6253
|
};
|
|
6243
6254
|
/**
|
|
6244
|
-
* Page[
|
|
6255
|
+
* Page[KBPageResponse]
|
|
6245
6256
|
*/
|
|
6246
|
-
export type
|
|
6257
|
+
export type PageKBPageResponse = {
|
|
6247
6258
|
/**
|
|
6248
6259
|
* Has More
|
|
6249
6260
|
*/
|
|
@@ -6251,7 +6262,7 @@ export type PageInviteResponse = {
|
|
|
6251
6262
|
/**
|
|
6252
6263
|
* Items
|
|
6253
6264
|
*/
|
|
6254
|
-
items: Array<
|
|
6265
|
+
items: Array<KBPageResponse>;
|
|
6255
6266
|
/**
|
|
6256
6267
|
* Limit
|
|
6257
6268
|
*/
|
|
@@ -6262,9 +6273,9 @@ export type PageInviteResponse = {
|
|
|
6262
6273
|
offset: number;
|
|
6263
6274
|
};
|
|
6264
6275
|
/**
|
|
6265
|
-
* Page[
|
|
6276
|
+
* Page[KBSummary]
|
|
6266
6277
|
*/
|
|
6267
|
-
export type
|
|
6278
|
+
export type PageKBSummary = {
|
|
6268
6279
|
/**
|
|
6269
6280
|
* Has More
|
|
6270
6281
|
*/
|
|
@@ -6272,7 +6283,7 @@ export type PageKBPageResponse = {
|
|
|
6272
6283
|
/**
|
|
6273
6284
|
* Items
|
|
6274
6285
|
*/
|
|
6275
|
-
items: Array<
|
|
6286
|
+
items: Array<KBSummary>;
|
|
6276
6287
|
/**
|
|
6277
6288
|
* Limit
|
|
6278
6289
|
*/
|
|
@@ -6283,9 +6294,9 @@ export type PageKBPageResponse = {
|
|
|
6283
6294
|
offset: number;
|
|
6284
6295
|
};
|
|
6285
6296
|
/**
|
|
6286
|
-
* Page[
|
|
6297
|
+
* Page[PhoneNumberResponse]
|
|
6287
6298
|
*/
|
|
6288
|
-
export type
|
|
6299
|
+
export type PagePhoneNumberResponse = {
|
|
6289
6300
|
/**
|
|
6290
6301
|
* Has More
|
|
6291
6302
|
*/
|
|
@@ -6293,7 +6304,7 @@ export type PageKBSummary = {
|
|
|
6293
6304
|
/**
|
|
6294
6305
|
* Items
|
|
6295
6306
|
*/
|
|
6296
|
-
items: Array<
|
|
6307
|
+
items: Array<PhoneNumberResponse>;
|
|
6297
6308
|
/**
|
|
6298
6309
|
* Limit
|
|
6299
6310
|
*/
|
|
@@ -6304,9 +6315,9 @@ export type PageKBSummary = {
|
|
|
6304
6315
|
offset: number;
|
|
6305
6316
|
};
|
|
6306
6317
|
/**
|
|
6307
|
-
* Page[
|
|
6318
|
+
* Page[RemoteNumber]
|
|
6308
6319
|
*/
|
|
6309
|
-
export type
|
|
6320
|
+
export type PageRemoteNumber = {
|
|
6310
6321
|
/**
|
|
6311
6322
|
* Has More
|
|
6312
6323
|
*/
|
|
@@ -6314,7 +6325,7 @@ export type PageMemberResponse = {
|
|
|
6314
6325
|
/**
|
|
6315
6326
|
* Items
|
|
6316
6327
|
*/
|
|
6317
|
-
items: Array<
|
|
6328
|
+
items: Array<RemoteNumber>;
|
|
6318
6329
|
/**
|
|
6319
6330
|
* Limit
|
|
6320
6331
|
*/
|
|
@@ -6325,9 +6336,9 @@ export type PageMemberResponse = {
|
|
|
6325
6336
|
offset: number;
|
|
6326
6337
|
};
|
|
6327
6338
|
/**
|
|
6328
|
-
* Page[
|
|
6339
|
+
* Page[SecretResponse]
|
|
6329
6340
|
*/
|
|
6330
|
-
export type
|
|
6341
|
+
export type PageSecretResponse = {
|
|
6331
6342
|
/**
|
|
6332
6343
|
* Has More
|
|
6333
6344
|
*/
|
|
@@ -6335,7 +6346,7 @@ export type PageOrgResponse = {
|
|
|
6335
6346
|
/**
|
|
6336
6347
|
* Items
|
|
6337
6348
|
*/
|
|
6338
|
-
items: Array<
|
|
6349
|
+
items: Array<SecretResponse>;
|
|
6339
6350
|
/**
|
|
6340
6351
|
* Limit
|
|
6341
6352
|
*/
|
|
@@ -6346,9 +6357,9 @@ export type PageOrgResponse = {
|
|
|
6346
6357
|
offset: number;
|
|
6347
6358
|
};
|
|
6348
6359
|
/**
|
|
6349
|
-
* Page[
|
|
6360
|
+
* Page[TaskResponse]
|
|
6350
6361
|
*/
|
|
6351
|
-
export type
|
|
6362
|
+
export type PageTaskResponse = {
|
|
6352
6363
|
/**
|
|
6353
6364
|
* Has More
|
|
6354
6365
|
*/
|
|
@@ -6356,7 +6367,7 @@ export type PagePhoneNumberResponse = {
|
|
|
6356
6367
|
/**
|
|
6357
6368
|
* Items
|
|
6358
6369
|
*/
|
|
6359
|
-
items: Array<
|
|
6370
|
+
items: Array<TaskResponse>;
|
|
6360
6371
|
/**
|
|
6361
6372
|
* Limit
|
|
6362
6373
|
*/
|
|
@@ -6367,9 +6378,9 @@ export type PagePhoneNumberResponse = {
|
|
|
6367
6378
|
offset: number;
|
|
6368
6379
|
};
|
|
6369
6380
|
/**
|
|
6370
|
-
* Page[
|
|
6381
|
+
* Page[TaskRunResponse]
|
|
6371
6382
|
*/
|
|
6372
|
-
export type
|
|
6383
|
+
export type PageTaskRunResponse = {
|
|
6373
6384
|
/**
|
|
6374
6385
|
* Has More
|
|
6375
6386
|
*/
|
|
@@ -6377,7 +6388,7 @@ export type PageRemoteNumber = {
|
|
|
6377
6388
|
/**
|
|
6378
6389
|
* Items
|
|
6379
6390
|
*/
|
|
6380
|
-
items: Array<
|
|
6391
|
+
items: Array<TaskRunResponse>;
|
|
6381
6392
|
/**
|
|
6382
6393
|
* Limit
|
|
6383
6394
|
*/
|
|
@@ -6388,9 +6399,9 @@ export type PageRemoteNumber = {
|
|
|
6388
6399
|
offset: number;
|
|
6389
6400
|
};
|
|
6390
6401
|
/**
|
|
6391
|
-
* Page[
|
|
6402
|
+
* Page[TelephonyAccountResponse]
|
|
6392
6403
|
*/
|
|
6393
|
-
export type
|
|
6404
|
+
export type PageTelephonyAccountResponse = {
|
|
6394
6405
|
/**
|
|
6395
6406
|
* Has More
|
|
6396
6407
|
*/
|
|
@@ -6398,7 +6409,7 @@ export type PageSecretResponse = {
|
|
|
6398
6409
|
/**
|
|
6399
6410
|
* Items
|
|
6400
6411
|
*/
|
|
6401
|
-
items: Array<
|
|
6412
|
+
items: Array<TelephonyAccountResponse>;
|
|
6402
6413
|
/**
|
|
6403
6414
|
* Limit
|
|
6404
6415
|
*/
|
|
@@ -6409,9 +6420,9 @@ export type PageSecretResponse = {
|
|
|
6409
6420
|
offset: number;
|
|
6410
6421
|
};
|
|
6411
6422
|
/**
|
|
6412
|
-
* Page[
|
|
6423
|
+
* Page[TelephonyProviderSpec]
|
|
6413
6424
|
*/
|
|
6414
|
-
export type
|
|
6425
|
+
export type PageTelephonyProviderSpec = {
|
|
6415
6426
|
/**
|
|
6416
6427
|
* Has More
|
|
6417
6428
|
*/
|
|
@@ -6419,7 +6430,7 @@ export type PageTaskResponse = {
|
|
|
6419
6430
|
/**
|
|
6420
6431
|
* Items
|
|
6421
6432
|
*/
|
|
6422
|
-
items: Array<
|
|
6433
|
+
items: Array<TelephonyProviderSpec>;
|
|
6423
6434
|
/**
|
|
6424
6435
|
* Limit
|
|
6425
6436
|
*/
|
|
@@ -6430,93 +6441,9 @@ export type PageTaskResponse = {
|
|
|
6430
6441
|
offset: number;
|
|
6431
6442
|
};
|
|
6432
6443
|
/**
|
|
6433
|
-
* Page[
|
|
6444
|
+
* Page[ToolResponse]
|
|
6434
6445
|
*/
|
|
6435
|
-
export type
|
|
6436
|
-
/**
|
|
6437
|
-
* Has More
|
|
6438
|
-
*/
|
|
6439
|
-
has_more: boolean;
|
|
6440
|
-
/**
|
|
6441
|
-
* Items
|
|
6442
|
-
*/
|
|
6443
|
-
items: Array<TaskRunResponse>;
|
|
6444
|
-
/**
|
|
6445
|
-
* Limit
|
|
6446
|
-
*/
|
|
6447
|
-
limit: number;
|
|
6448
|
-
/**
|
|
6449
|
-
* Offset
|
|
6450
|
-
*/
|
|
6451
|
-
offset: number;
|
|
6452
|
-
};
|
|
6453
|
-
/**
|
|
6454
|
-
* Page[TelephonyAccountResponse]
|
|
6455
|
-
*/
|
|
6456
|
-
export type PageTelephonyAccountResponse = {
|
|
6457
|
-
/**
|
|
6458
|
-
* Has More
|
|
6459
|
-
*/
|
|
6460
|
-
has_more: boolean;
|
|
6461
|
-
/**
|
|
6462
|
-
* Items
|
|
6463
|
-
*/
|
|
6464
|
-
items: Array<TelephonyAccountResponse>;
|
|
6465
|
-
/**
|
|
6466
|
-
* Limit
|
|
6467
|
-
*/
|
|
6468
|
-
limit: number;
|
|
6469
|
-
/**
|
|
6470
|
-
* Offset
|
|
6471
|
-
*/
|
|
6472
|
-
offset: number;
|
|
6473
|
-
};
|
|
6474
|
-
/**
|
|
6475
|
-
* Page[TelephonyProviderSpec]
|
|
6476
|
-
*/
|
|
6477
|
-
export type PageTelephonyProviderSpec = {
|
|
6478
|
-
/**
|
|
6479
|
-
* Has More
|
|
6480
|
-
*/
|
|
6481
|
-
has_more: boolean;
|
|
6482
|
-
/**
|
|
6483
|
-
* Items
|
|
6484
|
-
*/
|
|
6485
|
-
items: Array<TelephonyProviderSpec>;
|
|
6486
|
-
/**
|
|
6487
|
-
* Limit
|
|
6488
|
-
*/
|
|
6489
|
-
limit: number;
|
|
6490
|
-
/**
|
|
6491
|
-
* Offset
|
|
6492
|
-
*/
|
|
6493
|
-
offset: number;
|
|
6494
|
-
};
|
|
6495
|
-
/**
|
|
6496
|
-
* Page[TokenResponse]
|
|
6497
|
-
*/
|
|
6498
|
-
export type PageTokenResponse = {
|
|
6499
|
-
/**
|
|
6500
|
-
* Has More
|
|
6501
|
-
*/
|
|
6502
|
-
has_more: boolean;
|
|
6503
|
-
/**
|
|
6504
|
-
* Items
|
|
6505
|
-
*/
|
|
6506
|
-
items: Array<TokenResponse>;
|
|
6507
|
-
/**
|
|
6508
|
-
* Limit
|
|
6509
|
-
*/
|
|
6510
|
-
limit: number;
|
|
6511
|
-
/**
|
|
6512
|
-
* Offset
|
|
6513
|
-
*/
|
|
6514
|
-
offset: number;
|
|
6515
|
-
};
|
|
6516
|
-
/**
|
|
6517
|
-
* Page[ToolResponse]
|
|
6518
|
-
*/
|
|
6519
|
-
export type PageToolResponse = {
|
|
6446
|
+
export type PageToolResponse = {
|
|
6520
6447
|
/**
|
|
6521
6448
|
* Has More
|
|
6522
6449
|
*/
|
|
@@ -6740,6 +6667,10 @@ export type PatchIntegrationRequest = {
|
|
|
6740
6667
|
* Status
|
|
6741
6668
|
*/
|
|
6742
6669
|
status?: 'active' | 'disabled' | 'needs_reconnect' | 'error' | null;
|
|
6670
|
+
/**
|
|
6671
|
+
* Tools Namespace
|
|
6672
|
+
*/
|
|
6673
|
+
tools_namespace?: string | null;
|
|
6743
6674
|
/**
|
|
6744
6675
|
* Webhook Config
|
|
6745
6676
|
*/
|
|
@@ -6803,27 +6734,6 @@ export type PatchNodeRequest = {
|
|
|
6803
6734
|
*/
|
|
6804
6735
|
version?: number | null;
|
|
6805
6736
|
};
|
|
6806
|
-
/**
|
|
6807
|
-
* PatchOrgRequest
|
|
6808
|
-
*
|
|
6809
|
-
* Merge-style, like every other PATCH here: an omitted field is unchanged.
|
|
6810
|
-
*
|
|
6811
|
-
* ``retention_days`` needs the sentinel because ``null`` is a real value —
|
|
6812
|
-
* "keep everything forever" — and has to be distinguishable from "leave the
|
|
6813
|
-
* policy alone".
|
|
6814
|
-
*/
|
|
6815
|
-
export type PatchOrgRequest = {
|
|
6816
|
-
/**
|
|
6817
|
-
* Name
|
|
6818
|
-
*/
|
|
6819
|
-
name?: string | null;
|
|
6820
|
-
/**
|
|
6821
|
-
* Retention Days
|
|
6822
|
-
*
|
|
6823
|
-
* 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.
|
|
6824
|
-
*/
|
|
6825
|
-
retention_days?: number | null;
|
|
6826
|
-
};
|
|
6827
6737
|
/**
|
|
6828
6738
|
* PatchPhoneNumberRequest
|
|
6829
6739
|
*/
|
|
@@ -7318,44 +7228,6 @@ export type PublicMessage = {
|
|
|
7318
7228
|
[key: string]: string;
|
|
7319
7229
|
}> | null;
|
|
7320
7230
|
};
|
|
7321
|
-
/**
|
|
7322
|
-
* PublicTenantResponse
|
|
7323
|
-
*/
|
|
7324
|
-
export type PublicTenantResponse = {
|
|
7325
|
-
/**
|
|
7326
|
-
* Id
|
|
7327
|
-
*/
|
|
7328
|
-
id: string;
|
|
7329
|
-
/**
|
|
7330
|
-
* Name
|
|
7331
|
-
*/
|
|
7332
|
-
name: string;
|
|
7333
|
-
};
|
|
7334
|
-
/**
|
|
7335
|
-
* PublicUserResponse
|
|
7336
|
-
*/
|
|
7337
|
-
export type PublicUserResponse = {
|
|
7338
|
-
/**
|
|
7339
|
-
* Email
|
|
7340
|
-
*/
|
|
7341
|
-
email: string;
|
|
7342
|
-
/**
|
|
7343
|
-
* Id
|
|
7344
|
-
*/
|
|
7345
|
-
id: string;
|
|
7346
|
-
/**
|
|
7347
|
-
* Name
|
|
7348
|
-
*/
|
|
7349
|
-
name?: string | null;
|
|
7350
|
-
/**
|
|
7351
|
-
* Picture Url
|
|
7352
|
-
*/
|
|
7353
|
-
picture_url?: string | null;
|
|
7354
|
-
/**
|
|
7355
|
-
* Role
|
|
7356
|
-
*/
|
|
7357
|
-
role: 'ADMIN' | 'EDITOR' | 'VIEWER';
|
|
7358
|
-
};
|
|
7359
7231
|
/**
|
|
7360
7232
|
* PublishAgentResponse
|
|
7361
7233
|
*/
|
|
@@ -7912,15 +7784,6 @@ export type RemoteNumber = {
|
|
|
7912
7784
|
*/
|
|
7913
7785
|
provider_number_id?: string | null;
|
|
7914
7786
|
};
|
|
7915
|
-
/**
|
|
7916
|
-
* RoleRequest
|
|
7917
|
-
*/
|
|
7918
|
-
export type RoleRequest = {
|
|
7919
|
-
/**
|
|
7920
|
-
* Role
|
|
7921
|
-
*/
|
|
7922
|
-
role: 'ADMIN' | 'EDITOR' | 'VIEWER';
|
|
7923
|
-
};
|
|
7924
7787
|
/**
|
|
7925
7788
|
* RunStepResponse
|
|
7926
7789
|
*
|
|
@@ -9537,39 +9400,6 @@ export type TocResultResponse = {
|
|
|
9537
9400
|
*/
|
|
9538
9401
|
pages: number;
|
|
9539
9402
|
};
|
|
9540
|
-
/**
|
|
9541
|
-
* TokenCreatedResponse
|
|
9542
|
-
*/
|
|
9543
|
-
export type TokenCreatedResponse = {
|
|
9544
|
-
/**
|
|
9545
|
-
* Created At
|
|
9546
|
-
*/
|
|
9547
|
-
created_at: string;
|
|
9548
|
-
/**
|
|
9549
|
-
* Id
|
|
9550
|
-
*/
|
|
9551
|
-
id: string;
|
|
9552
|
-
/**
|
|
9553
|
-
* Kind
|
|
9554
|
-
*/
|
|
9555
|
-
kind: 'manual' | 'mcp';
|
|
9556
|
-
/**
|
|
9557
|
-
* Name
|
|
9558
|
-
*/
|
|
9559
|
-
name: string;
|
|
9560
|
-
/**
|
|
9561
|
-
* Token
|
|
9562
|
-
*/
|
|
9563
|
-
token: string;
|
|
9564
|
-
/**
|
|
9565
|
-
* User Email
|
|
9566
|
-
*/
|
|
9567
|
-
user_email: string;
|
|
9568
|
-
/**
|
|
9569
|
-
* User Id
|
|
9570
|
-
*/
|
|
9571
|
-
user_id: string;
|
|
9572
|
-
};
|
|
9573
9403
|
/**
|
|
9574
9404
|
* TokenRequest
|
|
9575
9405
|
*
|
|
@@ -9621,35 +9451,6 @@ export type TokenRequest = {
|
|
|
9621
9451
|
[key: string]: string;
|
|
9622
9452
|
} | null;
|
|
9623
9453
|
};
|
|
9624
|
-
/**
|
|
9625
|
-
* TokenResponse
|
|
9626
|
-
*/
|
|
9627
|
-
export type TokenResponse = {
|
|
9628
|
-
/**
|
|
9629
|
-
* Created At
|
|
9630
|
-
*/
|
|
9631
|
-
created_at: string;
|
|
9632
|
-
/**
|
|
9633
|
-
* Id
|
|
9634
|
-
*/
|
|
9635
|
-
id: string;
|
|
9636
|
-
/**
|
|
9637
|
-
* Kind
|
|
9638
|
-
*/
|
|
9639
|
-
kind: 'manual' | 'mcp';
|
|
9640
|
-
/**
|
|
9641
|
-
* Name
|
|
9642
|
-
*/
|
|
9643
|
-
name: string;
|
|
9644
|
-
/**
|
|
9645
|
-
* User Email
|
|
9646
|
-
*/
|
|
9647
|
-
user_email: string;
|
|
9648
|
-
/**
|
|
9649
|
-
* User Id
|
|
9650
|
-
*/
|
|
9651
|
-
user_id: string;
|
|
9652
|
-
};
|
|
9653
9454
|
/**
|
|
9654
9455
|
* ToolResponse
|
|
9655
9456
|
*/
|
|
@@ -10913,50 +10714,118 @@ export type AgentsVersionsRollbackResults = {
|
|
|
10913
10714
|
200: AgentResponse;
|
|
10914
10715
|
};
|
|
10915
10716
|
export type AgentsVersionsRollbackResult = AgentsVersionsRollbackResults[keyof AgentsVersionsRollbackResults];
|
|
10916
|
-
export type
|
|
10717
|
+
export type BillingCreditsGetData = {
|
|
10917
10718
|
body?: never;
|
|
10918
10719
|
path?: never;
|
|
10720
|
+
query?: {
|
|
10721
|
+
/**
|
|
10722
|
+
* Topup
|
|
10723
|
+
*
|
|
10724
|
+
* A top-up to report the payment processor's own status for.
|
|
10725
|
+
*/
|
|
10726
|
+
topup?: string | null;
|
|
10727
|
+
};
|
|
10728
|
+
url: '/v1/billing/credits';
|
|
10729
|
+
};
|
|
10730
|
+
export type BillingCreditsGetErrors = {
|
|
10731
|
+
/**
|
|
10732
|
+
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
10733
|
+
*/
|
|
10734
|
+
401: ErrorResponse;
|
|
10735
|
+
/**
|
|
10736
|
+
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
10737
|
+
*/
|
|
10738
|
+
422: ErrorResponse;
|
|
10739
|
+
/**
|
|
10740
|
+
* Unexpected error. Every error this API returns carries this body.
|
|
10741
|
+
*/
|
|
10742
|
+
default: ErrorResponse;
|
|
10743
|
+
};
|
|
10744
|
+
export type BillingCreditsGetError = BillingCreditsGetErrors[keyof BillingCreditsGetErrors];
|
|
10745
|
+
export type BillingCreditsGetResults = {
|
|
10746
|
+
/**
|
|
10747
|
+
* Successful Response
|
|
10748
|
+
*/
|
|
10749
|
+
200: CreditBalanceResponse;
|
|
10750
|
+
};
|
|
10751
|
+
export type BillingCreditsGetResult = BillingCreditsGetResults[keyof BillingCreditsGetResults];
|
|
10752
|
+
export type BillingCreditsCheckoutData = {
|
|
10753
|
+
body: CreditCheckoutRequest;
|
|
10754
|
+
path?: never;
|
|
10919
10755
|
query?: never;
|
|
10920
|
-
url: '/v1/
|
|
10756
|
+
url: '/v1/billing/credits/checkout';
|
|
10921
10757
|
};
|
|
10922
|
-
export type
|
|
10758
|
+
export type BillingCreditsCheckoutErrors = {
|
|
10759
|
+
/**
|
|
10760
|
+
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
10761
|
+
*/
|
|
10762
|
+
400: ErrorResponse;
|
|
10763
|
+
/**
|
|
10764
|
+
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
10765
|
+
*/
|
|
10766
|
+
401: ErrorResponse;
|
|
10767
|
+
/**
|
|
10768
|
+
* Authenticated, but this organization role may not perform the operation.
|
|
10769
|
+
*/
|
|
10770
|
+
403: ErrorResponse;
|
|
10771
|
+
/**
|
|
10772
|
+
* The resource's current state forbids this — a name already taken, a job already running.
|
|
10773
|
+
*/
|
|
10774
|
+
409: ErrorResponse;
|
|
10775
|
+
/**
|
|
10776
|
+
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
10777
|
+
*/
|
|
10778
|
+
422: ErrorResponse;
|
|
10923
10779
|
/**
|
|
10924
10780
|
* Unexpected error. Every error this API returns carries this body.
|
|
10925
10781
|
*/
|
|
10926
10782
|
default: ErrorResponse;
|
|
10927
10783
|
};
|
|
10928
|
-
export type
|
|
10929
|
-
export type
|
|
10784
|
+
export type BillingCreditsCheckoutError = BillingCreditsCheckoutErrors[keyof BillingCreditsCheckoutErrors];
|
|
10785
|
+
export type BillingCreditsCheckoutResults = {
|
|
10930
10786
|
/**
|
|
10931
10787
|
* Successful Response
|
|
10932
10788
|
*/
|
|
10933
|
-
200:
|
|
10789
|
+
200: CreditCheckoutResponse;
|
|
10934
10790
|
};
|
|
10935
|
-
export type
|
|
10936
|
-
export type
|
|
10791
|
+
export type BillingCreditsCheckoutResult = BillingCreditsCheckoutResults[keyof BillingCreditsCheckoutResults];
|
|
10792
|
+
export type BillingCreditsLedgerData = {
|
|
10937
10793
|
body?: never;
|
|
10938
10794
|
path?: never;
|
|
10939
|
-
query?:
|
|
10940
|
-
|
|
10795
|
+
query?: {
|
|
10796
|
+
/**
|
|
10797
|
+
* Limit
|
|
10798
|
+
*/
|
|
10799
|
+
limit?: number;
|
|
10800
|
+
/**
|
|
10801
|
+
* Offset
|
|
10802
|
+
*/
|
|
10803
|
+
offset?: number;
|
|
10804
|
+
};
|
|
10805
|
+
url: '/v1/billing/credits/ledger';
|
|
10941
10806
|
};
|
|
10942
|
-
export type
|
|
10807
|
+
export type BillingCreditsLedgerErrors = {
|
|
10943
10808
|
/**
|
|
10944
10809
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
10945
10810
|
*/
|
|
10946
10811
|
401: ErrorResponse;
|
|
10812
|
+
/**
|
|
10813
|
+
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
10814
|
+
*/
|
|
10815
|
+
422: ErrorResponse;
|
|
10947
10816
|
/**
|
|
10948
10817
|
* Unexpected error. Every error this API returns carries this body.
|
|
10949
10818
|
*/
|
|
10950
10819
|
default: ErrorResponse;
|
|
10951
10820
|
};
|
|
10952
|
-
export type
|
|
10953
|
-
export type
|
|
10821
|
+
export type BillingCreditsLedgerError = BillingCreditsLedgerErrors[keyof BillingCreditsLedgerErrors];
|
|
10822
|
+
export type BillingCreditsLedgerResults = {
|
|
10954
10823
|
/**
|
|
10955
10824
|
* Successful Response
|
|
10956
10825
|
*/
|
|
10957
|
-
200:
|
|
10826
|
+
200: PageCreditLedgerEntryResponse;
|
|
10958
10827
|
};
|
|
10959
|
-
export type
|
|
10828
|
+
export type BillingCreditsLedgerResult = BillingCreditsLedgerResults[keyof BillingCreditsLedgerResults];
|
|
10960
10829
|
export type ProviderKeysListData = {
|
|
10961
10830
|
body?: never;
|
|
10962
10831
|
path?: never;
|
|
@@ -11640,6 +11509,10 @@ export type CallsOutboundErrors = {
|
|
|
11640
11509
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
11641
11510
|
*/
|
|
11642
11511
|
401: ErrorResponse;
|
|
11512
|
+
/**
|
|
11513
|
+
* This organization has no credit left, so a new call cannot be started. Calls already running are unaffected.
|
|
11514
|
+
*/
|
|
11515
|
+
402: ErrorResponse;
|
|
11643
11516
|
/**
|
|
11644
11517
|
* Authenticated, but this organization role may not perform the operation.
|
|
11645
11518
|
*/
|
|
@@ -11725,6 +11598,10 @@ export type CallsTokenErrors = {
|
|
|
11725
11598
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
11726
11599
|
*/
|
|
11727
11600
|
401: ErrorResponse;
|
|
11601
|
+
/**
|
|
11602
|
+
* This organization has no credit left, so a new call cannot be started. Calls already running are unaffected.
|
|
11603
|
+
*/
|
|
11604
|
+
402: ErrorResponse;
|
|
11728
11605
|
/**
|
|
11729
11606
|
* Authenticated, but this organization role may not perform the operation.
|
|
11730
11607
|
*/
|
|
@@ -14674,30 +14551,6 @@ export type KnowledgeRegenerateTocResults = {
|
|
|
14674
14551
|
200: TocResultResponse;
|
|
14675
14552
|
};
|
|
14676
14553
|
export type KnowledgeRegenerateTocResult = KnowledgeRegenerateTocResults[keyof KnowledgeRegenerateTocResults];
|
|
14677
|
-
export type TokensMcpData = {
|
|
14678
|
-
body?: never;
|
|
14679
|
-
path?: never;
|
|
14680
|
-
query?: never;
|
|
14681
|
-
url: '/v1/mcp-token';
|
|
14682
|
-
};
|
|
14683
|
-
export type TokensMcpErrors = {
|
|
14684
|
-
/**
|
|
14685
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
14686
|
-
*/
|
|
14687
|
-
401: ErrorResponse;
|
|
14688
|
-
/**
|
|
14689
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
14690
|
-
*/
|
|
14691
|
-
default: ErrorResponse;
|
|
14692
|
-
};
|
|
14693
|
-
export type TokensMcpError = TokensMcpErrors[keyof TokensMcpErrors];
|
|
14694
|
-
export type TokensMcpResults = {
|
|
14695
|
-
/**
|
|
14696
|
-
* Successful Response
|
|
14697
|
-
*/
|
|
14698
|
-
200: McpTokenResponse;
|
|
14699
|
-
};
|
|
14700
|
-
export type TokensMcpResult = TokensMcpResults[keyof TokensMcpResults];
|
|
14701
14554
|
export type ObservabilityGetData = {
|
|
14702
14555
|
body?: never;
|
|
14703
14556
|
path?: never;
|
|
@@ -14747,461 +14600,6 @@ export type ObservabilityGetResults = {
|
|
|
14747
14600
|
200: ObservabilityResponse;
|
|
14748
14601
|
};
|
|
14749
14602
|
export type ObservabilityGetResult = ObservabilityGetResults[keyof ObservabilityGetResults];
|
|
14750
|
-
export type OrgsUpdateData = {
|
|
14751
|
-
body: PatchOrgRequest;
|
|
14752
|
-
path?: never;
|
|
14753
|
-
query?: never;
|
|
14754
|
-
url: '/v1/org';
|
|
14755
|
-
};
|
|
14756
|
-
export type OrgsUpdateErrors = {
|
|
14757
|
-
/**
|
|
14758
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
14759
|
-
*/
|
|
14760
|
-
400: ErrorResponse;
|
|
14761
|
-
/**
|
|
14762
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
14763
|
-
*/
|
|
14764
|
-
401: ErrorResponse;
|
|
14765
|
-
/**
|
|
14766
|
-
* Authenticated, but this organization role may not perform the operation.
|
|
14767
|
-
*/
|
|
14768
|
-
403: ErrorResponse;
|
|
14769
|
-
/**
|
|
14770
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
14771
|
-
*/
|
|
14772
|
-
409: ErrorResponse;
|
|
14773
|
-
/**
|
|
14774
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
14775
|
-
*/
|
|
14776
|
-
422: ErrorResponse;
|
|
14777
|
-
/**
|
|
14778
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
14779
|
-
*/
|
|
14780
|
-
default: ErrorResponse;
|
|
14781
|
-
};
|
|
14782
|
-
export type OrgsUpdateError = OrgsUpdateErrors[keyof OrgsUpdateErrors];
|
|
14783
|
-
export type OrgsUpdateResults = {
|
|
14784
|
-
/**
|
|
14785
|
-
* Successful Response
|
|
14786
|
-
*/
|
|
14787
|
-
200: OrgResponse;
|
|
14788
|
-
};
|
|
14789
|
-
export type OrgsUpdateResult = OrgsUpdateResults[keyof OrgsUpdateResults];
|
|
14790
|
-
export type OrgsInvitesListData = {
|
|
14791
|
-
body?: never;
|
|
14792
|
-
path?: never;
|
|
14793
|
-
query?: {
|
|
14794
|
-
/**
|
|
14795
|
-
* Limit
|
|
14796
|
-
*/
|
|
14797
|
-
limit?: number;
|
|
14798
|
-
/**
|
|
14799
|
-
* Offset
|
|
14800
|
-
*/
|
|
14801
|
-
offset?: number;
|
|
14802
|
-
};
|
|
14803
|
-
url: '/v1/org/invites';
|
|
14804
|
-
};
|
|
14805
|
-
export type OrgsInvitesListErrors = {
|
|
14806
|
-
/**
|
|
14807
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
14808
|
-
*/
|
|
14809
|
-
401: ErrorResponse;
|
|
14810
|
-
/**
|
|
14811
|
-
* Authenticated, but this organization role may not perform the operation.
|
|
14812
|
-
*/
|
|
14813
|
-
403: ErrorResponse;
|
|
14814
|
-
/**
|
|
14815
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
14816
|
-
*/
|
|
14817
|
-
422: ErrorResponse;
|
|
14818
|
-
/**
|
|
14819
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
14820
|
-
*/
|
|
14821
|
-
default: ErrorResponse;
|
|
14822
|
-
};
|
|
14823
|
-
export type OrgsInvitesListError = OrgsInvitesListErrors[keyof OrgsInvitesListErrors];
|
|
14824
|
-
export type OrgsInvitesListResults = {
|
|
14825
|
-
/**
|
|
14826
|
-
* Successful Response
|
|
14827
|
-
*/
|
|
14828
|
-
200: PageInviteResponse;
|
|
14829
|
-
};
|
|
14830
|
-
export type OrgsInvitesListResult = OrgsInvitesListResults[keyof OrgsInvitesListResults];
|
|
14831
|
-
export type OrgsInvitesCreateData = {
|
|
14832
|
-
body: InviteRequest;
|
|
14833
|
-
path?: never;
|
|
14834
|
-
query?: never;
|
|
14835
|
-
url: '/v1/org/invites';
|
|
14836
|
-
};
|
|
14837
|
-
export type OrgsInvitesCreateErrors = {
|
|
14838
|
-
/**
|
|
14839
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
14840
|
-
*/
|
|
14841
|
-
400: ErrorResponse;
|
|
14842
|
-
/**
|
|
14843
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
14844
|
-
*/
|
|
14845
|
-
401: ErrorResponse;
|
|
14846
|
-
/**
|
|
14847
|
-
* Authenticated, but this organization role may not perform the operation.
|
|
14848
|
-
*/
|
|
14849
|
-
403: ErrorResponse;
|
|
14850
|
-
/**
|
|
14851
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
14852
|
-
*/
|
|
14853
|
-
409: ErrorResponse;
|
|
14854
|
-
/**
|
|
14855
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
14856
|
-
*/
|
|
14857
|
-
422: ErrorResponse;
|
|
14858
|
-
/**
|
|
14859
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
14860
|
-
*/
|
|
14861
|
-
default: ErrorResponse;
|
|
14862
|
-
};
|
|
14863
|
-
export type OrgsInvitesCreateError = OrgsInvitesCreateErrors[keyof OrgsInvitesCreateErrors];
|
|
14864
|
-
export type OrgsInvitesCreateResults = {
|
|
14865
|
-
/**
|
|
14866
|
-
* Successful Response
|
|
14867
|
-
*/
|
|
14868
|
-
201: InviteResponse;
|
|
14869
|
-
};
|
|
14870
|
-
export type OrgsInvitesCreateResult = OrgsInvitesCreateResults[keyof OrgsInvitesCreateResults];
|
|
14871
|
-
export type OrgsInvitesRevokeData = {
|
|
14872
|
-
body?: never;
|
|
14873
|
-
path: {
|
|
14874
|
-
/**
|
|
14875
|
-
* Invite Id
|
|
14876
|
-
*/
|
|
14877
|
-
invite_id: string;
|
|
14878
|
-
};
|
|
14879
|
-
query?: never;
|
|
14880
|
-
url: '/v1/org/invites/{invite_id}';
|
|
14881
|
-
};
|
|
14882
|
-
export type OrgsInvitesRevokeErrors = {
|
|
14883
|
-
/**
|
|
14884
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
14885
|
-
*/
|
|
14886
|
-
400: ErrorResponse;
|
|
14887
|
-
/**
|
|
14888
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
14889
|
-
*/
|
|
14890
|
-
401: ErrorResponse;
|
|
14891
|
-
/**
|
|
14892
|
-
* Authenticated, but this organization role may not perform the operation.
|
|
14893
|
-
*/
|
|
14894
|
-
403: ErrorResponse;
|
|
14895
|
-
/**
|
|
14896
|
-
* No such resource in this organization.
|
|
14897
|
-
*/
|
|
14898
|
-
404: ErrorResponse;
|
|
14899
|
-
/**
|
|
14900
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
14901
|
-
*/
|
|
14902
|
-
409: ErrorResponse;
|
|
14903
|
-
/**
|
|
14904
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
14905
|
-
*/
|
|
14906
|
-
422: ErrorResponse;
|
|
14907
|
-
/**
|
|
14908
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
14909
|
-
*/
|
|
14910
|
-
default: ErrorResponse;
|
|
14911
|
-
};
|
|
14912
|
-
export type OrgsInvitesRevokeError = OrgsInvitesRevokeErrors[keyof OrgsInvitesRevokeErrors];
|
|
14913
|
-
export type OrgsInvitesRevokeResults = {
|
|
14914
|
-
/**
|
|
14915
|
-
* Successful Response
|
|
14916
|
-
*/
|
|
14917
|
-
200: OkResponse;
|
|
14918
|
-
};
|
|
14919
|
-
export type OrgsInvitesRevokeResult = OrgsInvitesRevokeResults[keyof OrgsInvitesRevokeResults];
|
|
14920
|
-
export type OrgsLeaveData = {
|
|
14921
|
-
body?: never;
|
|
14922
|
-
path?: never;
|
|
14923
|
-
query?: never;
|
|
14924
|
-
url: '/v1/org/leave';
|
|
14925
|
-
};
|
|
14926
|
-
export type OrgsLeaveErrors = {
|
|
14927
|
-
/**
|
|
14928
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
14929
|
-
*/
|
|
14930
|
-
400: ErrorResponse;
|
|
14931
|
-
/**
|
|
14932
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
14933
|
-
*/
|
|
14934
|
-
401: ErrorResponse;
|
|
14935
|
-
/**
|
|
14936
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
14937
|
-
*/
|
|
14938
|
-
409: ErrorResponse;
|
|
14939
|
-
/**
|
|
14940
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
14941
|
-
*/
|
|
14942
|
-
default: ErrorResponse;
|
|
14943
|
-
};
|
|
14944
|
-
export type OrgsLeaveError = OrgsLeaveErrors[keyof OrgsLeaveErrors];
|
|
14945
|
-
export type OrgsLeaveResults = {
|
|
14946
|
-
/**
|
|
14947
|
-
* Successful Response
|
|
14948
|
-
*/
|
|
14949
|
-
200: OkResponse;
|
|
14950
|
-
};
|
|
14951
|
-
export type OrgsLeaveResult = OrgsLeaveResults[keyof OrgsLeaveResults];
|
|
14952
|
-
export type OrgsMembersListData = {
|
|
14953
|
-
body?: never;
|
|
14954
|
-
path?: never;
|
|
14955
|
-
query?: {
|
|
14956
|
-
/**
|
|
14957
|
-
* Limit
|
|
14958
|
-
*/
|
|
14959
|
-
limit?: number;
|
|
14960
|
-
/**
|
|
14961
|
-
* Offset
|
|
14962
|
-
*/
|
|
14963
|
-
offset?: number;
|
|
14964
|
-
};
|
|
14965
|
-
url: '/v1/org/members';
|
|
14966
|
-
};
|
|
14967
|
-
export type OrgsMembersListErrors = {
|
|
14968
|
-
/**
|
|
14969
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
14970
|
-
*/
|
|
14971
|
-
401: ErrorResponse;
|
|
14972
|
-
/**
|
|
14973
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
14974
|
-
*/
|
|
14975
|
-
422: ErrorResponse;
|
|
14976
|
-
/**
|
|
14977
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
14978
|
-
*/
|
|
14979
|
-
default: ErrorResponse;
|
|
14980
|
-
};
|
|
14981
|
-
export type OrgsMembersListError = OrgsMembersListErrors[keyof OrgsMembersListErrors];
|
|
14982
|
-
export type OrgsMembersListResults = {
|
|
14983
|
-
/**
|
|
14984
|
-
* Successful Response
|
|
14985
|
-
*/
|
|
14986
|
-
200: PageMemberResponse;
|
|
14987
|
-
};
|
|
14988
|
-
export type OrgsMembersListResult = OrgsMembersListResults[keyof OrgsMembersListResults];
|
|
14989
|
-
export type OrgsMembersRemoveData = {
|
|
14990
|
-
body?: never;
|
|
14991
|
-
path: {
|
|
14992
|
-
/**
|
|
14993
|
-
* User Id
|
|
14994
|
-
*/
|
|
14995
|
-
user_id: string;
|
|
14996
|
-
};
|
|
14997
|
-
query?: never;
|
|
14998
|
-
url: '/v1/org/members/{user_id}';
|
|
14999
|
-
};
|
|
15000
|
-
export type OrgsMembersRemoveErrors = {
|
|
15001
|
-
/**
|
|
15002
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
15003
|
-
*/
|
|
15004
|
-
400: ErrorResponse;
|
|
15005
|
-
/**
|
|
15006
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
15007
|
-
*/
|
|
15008
|
-
401: ErrorResponse;
|
|
15009
|
-
/**
|
|
15010
|
-
* Authenticated, but this organization role may not perform the operation.
|
|
15011
|
-
*/
|
|
15012
|
-
403: ErrorResponse;
|
|
15013
|
-
/**
|
|
15014
|
-
* No such resource in this organization.
|
|
15015
|
-
*/
|
|
15016
|
-
404: ErrorResponse;
|
|
15017
|
-
/**
|
|
15018
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
15019
|
-
*/
|
|
15020
|
-
409: ErrorResponse;
|
|
15021
|
-
/**
|
|
15022
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
15023
|
-
*/
|
|
15024
|
-
422: ErrorResponse;
|
|
15025
|
-
/**
|
|
15026
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
15027
|
-
*/
|
|
15028
|
-
default: ErrorResponse;
|
|
15029
|
-
};
|
|
15030
|
-
export type OrgsMembersRemoveError = OrgsMembersRemoveErrors[keyof OrgsMembersRemoveErrors];
|
|
15031
|
-
export type OrgsMembersRemoveResults = {
|
|
15032
|
-
/**
|
|
15033
|
-
* Successful Response
|
|
15034
|
-
*/
|
|
15035
|
-
200: OkResponse;
|
|
15036
|
-
};
|
|
15037
|
-
export type OrgsMembersRemoveResult = OrgsMembersRemoveResults[keyof OrgsMembersRemoveResults];
|
|
15038
|
-
export type OrgsMembersSetRoleData = {
|
|
15039
|
-
body: RoleRequest;
|
|
15040
|
-
path: {
|
|
15041
|
-
/**
|
|
15042
|
-
* User Id
|
|
15043
|
-
*/
|
|
15044
|
-
user_id: string;
|
|
15045
|
-
};
|
|
15046
|
-
query?: never;
|
|
15047
|
-
url: '/v1/org/members/{user_id}';
|
|
15048
|
-
};
|
|
15049
|
-
export type OrgsMembersSetRoleErrors = {
|
|
15050
|
-
/**
|
|
15051
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
15052
|
-
*/
|
|
15053
|
-
400: ErrorResponse;
|
|
15054
|
-
/**
|
|
15055
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
15056
|
-
*/
|
|
15057
|
-
401: ErrorResponse;
|
|
15058
|
-
/**
|
|
15059
|
-
* Authenticated, but this organization role may not perform the operation.
|
|
15060
|
-
*/
|
|
15061
|
-
403: ErrorResponse;
|
|
15062
|
-
/**
|
|
15063
|
-
* No such resource in this organization.
|
|
15064
|
-
*/
|
|
15065
|
-
404: ErrorResponse;
|
|
15066
|
-
/**
|
|
15067
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
15068
|
-
*/
|
|
15069
|
-
409: ErrorResponse;
|
|
15070
|
-
/**
|
|
15071
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
15072
|
-
*/
|
|
15073
|
-
422: ErrorResponse;
|
|
15074
|
-
/**
|
|
15075
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
15076
|
-
*/
|
|
15077
|
-
default: ErrorResponse;
|
|
15078
|
-
};
|
|
15079
|
-
export type OrgsMembersSetRoleError = OrgsMembersSetRoleErrors[keyof OrgsMembersSetRoleErrors];
|
|
15080
|
-
export type OrgsMembersSetRoleResults = {
|
|
15081
|
-
/**
|
|
15082
|
-
* Successful Response
|
|
15083
|
-
*/
|
|
15084
|
-
200: MemberResponse;
|
|
15085
|
-
};
|
|
15086
|
-
export type OrgsMembersSetRoleResult = OrgsMembersSetRoleResults[keyof OrgsMembersSetRoleResults];
|
|
15087
|
-
export type OrgsListData = {
|
|
15088
|
-
body?: never;
|
|
15089
|
-
path?: never;
|
|
15090
|
-
query?: {
|
|
15091
|
-
/**
|
|
15092
|
-
* Limit
|
|
15093
|
-
*/
|
|
15094
|
-
limit?: number;
|
|
15095
|
-
/**
|
|
15096
|
-
* Offset
|
|
15097
|
-
*/
|
|
15098
|
-
offset?: number;
|
|
15099
|
-
};
|
|
15100
|
-
url: '/v1/orgs';
|
|
15101
|
-
};
|
|
15102
|
-
export type OrgsListErrors = {
|
|
15103
|
-
/**
|
|
15104
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
15105
|
-
*/
|
|
15106
|
-
401: ErrorResponse;
|
|
15107
|
-
/**
|
|
15108
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
15109
|
-
*/
|
|
15110
|
-
422: ErrorResponse;
|
|
15111
|
-
/**
|
|
15112
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
15113
|
-
*/
|
|
15114
|
-
default: ErrorResponse;
|
|
15115
|
-
};
|
|
15116
|
-
export type OrgsListError = OrgsListErrors[keyof OrgsListErrors];
|
|
15117
|
-
export type OrgsListResults = {
|
|
15118
|
-
/**
|
|
15119
|
-
* Successful Response
|
|
15120
|
-
*/
|
|
15121
|
-
200: PageOrgResponse;
|
|
15122
|
-
};
|
|
15123
|
-
export type OrgsListResult = OrgsListResults[keyof OrgsListResults];
|
|
15124
|
-
export type OrgsCreateData = {
|
|
15125
|
-
body: OrgNameRequest;
|
|
15126
|
-
path?: never;
|
|
15127
|
-
query?: never;
|
|
15128
|
-
url: '/v1/orgs';
|
|
15129
|
-
};
|
|
15130
|
-
export type OrgsCreateErrors = {
|
|
15131
|
-
/**
|
|
15132
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
15133
|
-
*/
|
|
15134
|
-
400: ErrorResponse;
|
|
15135
|
-
/**
|
|
15136
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
15137
|
-
*/
|
|
15138
|
-
401: ErrorResponse;
|
|
15139
|
-
/**
|
|
15140
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
15141
|
-
*/
|
|
15142
|
-
409: ErrorResponse;
|
|
15143
|
-
/**
|
|
15144
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
15145
|
-
*/
|
|
15146
|
-
422: ErrorResponse;
|
|
15147
|
-
/**
|
|
15148
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
15149
|
-
*/
|
|
15150
|
-
default: ErrorResponse;
|
|
15151
|
-
};
|
|
15152
|
-
export type OrgsCreateError = OrgsCreateErrors[keyof OrgsCreateErrors];
|
|
15153
|
-
export type OrgsCreateResults = {
|
|
15154
|
-
/**
|
|
15155
|
-
* Successful Response
|
|
15156
|
-
*/
|
|
15157
|
-
201: OrgResponse;
|
|
15158
|
-
};
|
|
15159
|
-
export type OrgsCreateResult = OrgsCreateResults[keyof OrgsCreateResults];
|
|
15160
|
-
export type OrgsSwitchData = {
|
|
15161
|
-
body?: never;
|
|
15162
|
-
path: {
|
|
15163
|
-
/**
|
|
15164
|
-
* Org Id
|
|
15165
|
-
*/
|
|
15166
|
-
org_id: string;
|
|
15167
|
-
};
|
|
15168
|
-
query?: never;
|
|
15169
|
-
url: '/v1/orgs/{org_id}/switch';
|
|
15170
|
-
};
|
|
15171
|
-
export type OrgsSwitchErrors = {
|
|
15172
|
-
/**
|
|
15173
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
15174
|
-
*/
|
|
15175
|
-
400: ErrorResponse;
|
|
15176
|
-
/**
|
|
15177
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
15178
|
-
*/
|
|
15179
|
-
401: ErrorResponse;
|
|
15180
|
-
/**
|
|
15181
|
-
* No such resource in this organization.
|
|
15182
|
-
*/
|
|
15183
|
-
404: ErrorResponse;
|
|
15184
|
-
/**
|
|
15185
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
15186
|
-
*/
|
|
15187
|
-
409: ErrorResponse;
|
|
15188
|
-
/**
|
|
15189
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
15190
|
-
*/
|
|
15191
|
-
422: ErrorResponse;
|
|
15192
|
-
/**
|
|
15193
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
15194
|
-
*/
|
|
15195
|
-
default: ErrorResponse;
|
|
15196
|
-
};
|
|
15197
|
-
export type OrgsSwitchError = OrgsSwitchErrors[keyof OrgsSwitchErrors];
|
|
15198
|
-
export type OrgsSwitchResults = {
|
|
15199
|
-
/**
|
|
15200
|
-
* Successful Response
|
|
15201
|
-
*/
|
|
15202
|
-
200: OkResponse;
|
|
15203
|
-
};
|
|
15204
|
-
export type OrgsSwitchResult = OrgsSwitchResults[keyof OrgsSwitchResults];
|
|
15205
14603
|
export type SchemasGetData = {
|
|
15206
14604
|
body?: never;
|
|
15207
14605
|
path: {
|
|
@@ -16371,124 +15769,6 @@ export type TelephonyProvidersListResults = {
|
|
|
16371
15769
|
200: PageTelephonyProviderSpec;
|
|
16372
15770
|
};
|
|
16373
15771
|
export type TelephonyProvidersListResult = TelephonyProvidersListResults[keyof TelephonyProvidersListResults];
|
|
16374
|
-
export type TokensListData = {
|
|
16375
|
-
body?: never;
|
|
16376
|
-
path?: never;
|
|
16377
|
-
query?: {
|
|
16378
|
-
/**
|
|
16379
|
-
* Limit
|
|
16380
|
-
*/
|
|
16381
|
-
limit?: number;
|
|
16382
|
-
/**
|
|
16383
|
-
* Offset
|
|
16384
|
-
*/
|
|
16385
|
-
offset?: number;
|
|
16386
|
-
};
|
|
16387
|
-
url: '/v1/tokens';
|
|
16388
|
-
};
|
|
16389
|
-
export type TokensListErrors = {
|
|
16390
|
-
/**
|
|
16391
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
16392
|
-
*/
|
|
16393
|
-
401: ErrorResponse;
|
|
16394
|
-
/**
|
|
16395
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
16396
|
-
*/
|
|
16397
|
-
422: ErrorResponse;
|
|
16398
|
-
/**
|
|
16399
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
16400
|
-
*/
|
|
16401
|
-
default: ErrorResponse;
|
|
16402
|
-
};
|
|
16403
|
-
export type TokensListError = TokensListErrors[keyof TokensListErrors];
|
|
16404
|
-
export type TokensListResults = {
|
|
16405
|
-
/**
|
|
16406
|
-
* Successful Response
|
|
16407
|
-
*/
|
|
16408
|
-
200: PageTokenResponse;
|
|
16409
|
-
};
|
|
16410
|
-
export type TokensListResult = TokensListResults[keyof TokensListResults];
|
|
16411
|
-
export type TokensCreateData = {
|
|
16412
|
-
body: CreateTokenRequest;
|
|
16413
|
-
path?: never;
|
|
16414
|
-
query?: never;
|
|
16415
|
-
url: '/v1/tokens';
|
|
16416
|
-
};
|
|
16417
|
-
export type TokensCreateErrors = {
|
|
16418
|
-
/**
|
|
16419
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
16420
|
-
*/
|
|
16421
|
-
400: ErrorResponse;
|
|
16422
|
-
/**
|
|
16423
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
16424
|
-
*/
|
|
16425
|
-
401: ErrorResponse;
|
|
16426
|
-
/**
|
|
16427
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
16428
|
-
*/
|
|
16429
|
-
409: ErrorResponse;
|
|
16430
|
-
/**
|
|
16431
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
16432
|
-
*/
|
|
16433
|
-
422: ErrorResponse;
|
|
16434
|
-
/**
|
|
16435
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
16436
|
-
*/
|
|
16437
|
-
default: ErrorResponse;
|
|
16438
|
-
};
|
|
16439
|
-
export type TokensCreateError = TokensCreateErrors[keyof TokensCreateErrors];
|
|
16440
|
-
export type TokensCreateResults = {
|
|
16441
|
-
/**
|
|
16442
|
-
* Successful Response
|
|
16443
|
-
*/
|
|
16444
|
-
201: TokenCreatedResponse;
|
|
16445
|
-
};
|
|
16446
|
-
export type TokensCreateResult = TokensCreateResults[keyof TokensCreateResults];
|
|
16447
|
-
export type TokensDeleteData = {
|
|
16448
|
-
body?: never;
|
|
16449
|
-
path: {
|
|
16450
|
-
/**
|
|
16451
|
-
* Token Id
|
|
16452
|
-
*/
|
|
16453
|
-
token_id: string;
|
|
16454
|
-
};
|
|
16455
|
-
query?: never;
|
|
16456
|
-
url: '/v1/tokens/{token_id}';
|
|
16457
|
-
};
|
|
16458
|
-
export type TokensDeleteErrors = {
|
|
16459
|
-
/**
|
|
16460
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
16461
|
-
*/
|
|
16462
|
-
400: ErrorResponse;
|
|
16463
|
-
/**
|
|
16464
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
16465
|
-
*/
|
|
16466
|
-
401: ErrorResponse;
|
|
16467
|
-
/**
|
|
16468
|
-
* No such resource in this organization.
|
|
16469
|
-
*/
|
|
16470
|
-
404: ErrorResponse;
|
|
16471
|
-
/**
|
|
16472
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
16473
|
-
*/
|
|
16474
|
-
409: ErrorResponse;
|
|
16475
|
-
/**
|
|
16476
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
16477
|
-
*/
|
|
16478
|
-
422: ErrorResponse;
|
|
16479
|
-
/**
|
|
16480
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
16481
|
-
*/
|
|
16482
|
-
default: ErrorResponse;
|
|
16483
|
-
};
|
|
16484
|
-
export type TokensDeleteError = TokensDeleteErrors[keyof TokensDeleteErrors];
|
|
16485
|
-
export type TokensDeleteResults = {
|
|
16486
|
-
/**
|
|
16487
|
-
* Successful Response
|
|
16488
|
-
*/
|
|
16489
|
-
200: OkResponse;
|
|
16490
|
-
};
|
|
16491
|
-
export type TokensDeleteResult = TokensDeleteResults[keyof TokensDeleteResults];
|
|
16492
15772
|
export type ToolsListData = {
|
|
16493
15773
|
body?: never;
|
|
16494
15774
|
path?: never;
|