@cloudfleet/sdk 0.0.1-7d8c04e → 0.0.1-7dae59c
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 +26 -2
- package/dist/@tanstack/react-query.gen.d.ts +1199 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1215 -0
- package/dist/@tanstack/react-query.gen.js.map +1 -0
- package/dist/client/client.gen.d.ts +3 -0
- package/dist/client/client.gen.d.ts.map +1 -0
- package/dist/client/client.gen.js +217 -0
- package/dist/client/client.gen.js.map +1 -0
- package/dist/client/index.d.ts +9 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +7 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/types.gen.d.ts +121 -0
- package/dist/client/types.gen.d.ts.map +1 -0
- package/dist/client/types.gen.js +3 -0
- package/dist/client/types.gen.js.map +1 -0
- package/dist/client/utils.gen.d.ts +38 -0
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/utils.gen.js +229 -0
- package/dist/client/utils.gen.js.map +1 -0
- package/dist/client.gen.d.ts +13 -0
- package/dist/client.gen.d.ts.map +1 -0
- package/dist/client.gen.js +4 -0
- package/dist/client.gen.js.map +1 -0
- package/dist/core/auth.gen.d.ts +19 -0
- package/dist/core/auth.gen.d.ts.map +1 -0
- package/dist/core/auth.gen.js +15 -0
- package/dist/core/auth.gen.js.map +1 -0
- package/dist/core/bodySerializer.gen.d.ts +26 -0
- package/dist/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/core/bodySerializer.gen.js +58 -0
- package/dist/core/bodySerializer.gen.js.map +1 -0
- package/dist/core/params.gen.d.ts +44 -0
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/params.gen.js +101 -0
- package/dist/core/params.gen.js.map +1 -0
- package/dist/core/pathSerializer.gen.d.ts +34 -0
- package/dist/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/core/pathSerializer.gen.js +107 -0
- package/dist/core/pathSerializer.gen.js.map +1 -0
- package/dist/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/core/queryKeySerializer.gen.js +93 -0
- package/dist/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/core/serverSentEvents.gen.js +133 -0
- package/dist/core/serverSentEvents.gen.js.map +1 -0
- package/dist/core/types.gen.d.ts +79 -0
- package/dist/core/types.gen.d.ts.map +1 -0
- package/dist/core/types.gen.js +3 -0
- package/dist/core/types.gen.js.map +1 -0
- package/dist/core/utils.gen.d.ts +20 -0
- package/dist/core/utils.gen.d.ts.map +1 -0
- package/dist/core/utils.gen.js +88 -0
- package/dist/core/utils.gen.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas.gen.d.ts +1800 -1034
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +3332 -1267
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +352 -198
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +468 -296
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +196 -0
- package/dist/services/kubernetes/api.d.ts.map +1 -0
- package/dist/services/kubernetes/api.js +140 -0
- package/dist/services/kubernetes/api.js.map +1 -0
- package/dist/services/kubernetes/index.d.ts +44 -0
- package/dist/services/kubernetes/index.d.ts.map +1 -0
- package/dist/services/kubernetes/index.js +68 -0
- package/dist/services/kubernetes/index.js.map +1 -0
- package/dist/services/kubernetes/types.d.ts +1335 -0
- package/dist/services/kubernetes/types.d.ts.map +1 -0
- package/dist/services/kubernetes/types.js +2 -0
- package/dist/services/kubernetes/types.js.map +1 -0
- package/dist/types.gen.d.ts +1999 -1248
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3992 -2932
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1726 -916
- package/dist/zod.gen.js.map +1 -1
- package/package.json +30 -7
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,20 +1,254 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
3
|
+
};
|
|
4
|
+
export type BasicPriceConsentInput = {
|
|
2
5
|
/**
|
|
3
|
-
*
|
|
6
|
+
* The administrator's decision on the new Basic price. `accepted` continues to paid billing when the signup credit runs out; `rejected` opts out (clusters are suspended, never charged). A `rejected` org can later be flipped back to `accepted`.
|
|
7
|
+
*/
|
|
8
|
+
decision: 'accepted' | 'rejected';
|
|
9
|
+
};
|
|
10
|
+
export type BasicPriceConsent = {
|
|
11
|
+
/**
|
|
12
|
+
* Consent status for the new Basic price. `not_applicable` when the organization is not in scope for the migration. `pending` when the organization must opt in but no admin has decided yet. `accepted` / `rejected` reflect the recorded decision.
|
|
13
|
+
*/
|
|
14
|
+
status: 'not_applicable' | 'pending' | 'accepted' | 'rejected';
|
|
15
|
+
/**
|
|
16
|
+
* When the current decision was recorded. Absent while `not_applicable` or `pending`.
|
|
17
|
+
*/
|
|
18
|
+
decided_at?: string;
|
|
19
|
+
/**
|
|
20
|
+
* User id of the administrator who recorded the current decision. Absent while `not_applicable` or `pending`.
|
|
21
|
+
*/
|
|
22
|
+
decided_by?: string;
|
|
23
|
+
};
|
|
24
|
+
export type BillingContact = {
|
|
25
|
+
/**
|
|
26
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
27
|
+
*/
|
|
28
|
+
type: 'business' | 'personal';
|
|
29
|
+
/**
|
|
30
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
31
|
+
*/
|
|
32
|
+
company?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Street address, P.O. box, c/o
|
|
35
|
+
*/
|
|
36
|
+
address1?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Apartment, suite, unit, building, floor, etc.
|
|
39
|
+
*/
|
|
40
|
+
address2?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Postal code as a string.
|
|
43
|
+
*/
|
|
44
|
+
postalCode?: string;
|
|
45
|
+
/**
|
|
46
|
+
* City or town name.
|
|
47
|
+
*/
|
|
48
|
+
city?: string;
|
|
49
|
+
/**
|
|
50
|
+
* State, province, or region name.
|
|
51
|
+
*/
|
|
52
|
+
state?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Country as a ISO 3166-1 alpha-2 country code.
|
|
55
|
+
*/
|
|
56
|
+
country?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Phone number as a string.
|
|
59
|
+
*/
|
|
60
|
+
phone?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Email address used for billing as a string.
|
|
63
|
+
*/
|
|
64
|
+
email: string;
|
|
65
|
+
/**
|
|
66
|
+
* Name of the billing contact person.
|
|
67
|
+
*/
|
|
68
|
+
individual_name: string;
|
|
69
|
+
/**
|
|
70
|
+
* Tax ID of the organization.
|
|
71
|
+
*/
|
|
72
|
+
tax_id?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Type of the tax ID.
|
|
75
|
+
*/
|
|
76
|
+
tax_id_type?: 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'at_vat' | 'au_abn' | 'au_arn' | 'ba_tin' | 'bb_tin' | 'be_vat' | 'bg_uic' | 'bg_vat' | 'bh_vat' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'cl_tin' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cy_vat' | 'cz_vat' | 'de_stn' | 'de_vat' | 'dk_vat' | 'do_rcn' | 'ec_ruc' | 'ee_vat' | 'eg_tin' | 'es_cif' | 'es_vat' | 'eu_oss_vat' | 'fi_vat' | 'fr_vat' | 'gb_vat' | 'ge_vat' | 'gn_nif' | 'gr_vat' | 'hk_br' | 'hr_oib' | 'hr_vat' | 'hu_tin' | 'hu_vat' | 'id_npwp' | 'ie_vat' | 'il_vat' | 'in_gst' | 'is_vat' | 'it_vat' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'li_uid' | 'li_vat' | 'lt_vat' | 'lu_vat' | 'lv_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mt_vat' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'nl_vat' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_vat' | 'pt_vat' | 'ro_tin' | 'ro_vat' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'se_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'si_vat' | 'sk_vat' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'xi_vat' | 'za_vat' | 'zm_tin' | 'zw_tin' | '';
|
|
77
|
+
};
|
|
78
|
+
export type BillingCredits = {
|
|
79
|
+
/**
|
|
80
|
+
* Generated unique identifier of the promotional code.
|
|
81
|
+
*/
|
|
82
|
+
id?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Type of the promotional code.
|
|
85
|
+
*/
|
|
86
|
+
type: 'credit' | 'discount';
|
|
87
|
+
/**
|
|
88
|
+
* Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
|
|
89
|
+
*/
|
|
90
|
+
date_start: string;
|
|
91
|
+
/**
|
|
92
|
+
* Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
|
|
93
|
+
*/
|
|
94
|
+
date_end?: string;
|
|
95
|
+
/**
|
|
96
|
+
* Promotional code used by the customer.
|
|
97
|
+
*/
|
|
98
|
+
code: string;
|
|
99
|
+
/**
|
|
100
|
+
* Description of the promotional code.
|
|
101
|
+
*/
|
|
102
|
+
description?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Total value of the promotional code.
|
|
105
|
+
*/
|
|
106
|
+
value_total: number;
|
|
107
|
+
/**
|
|
108
|
+
* Remaining value of the promotional code.
|
|
109
|
+
*/
|
|
110
|
+
value_remaining?: number;
|
|
111
|
+
};
|
|
112
|
+
export type ChartCreateInput = {
|
|
113
|
+
/**
|
|
114
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
115
|
+
*/
|
|
116
|
+
values: string;
|
|
117
|
+
/**
|
|
118
|
+
* Desired version range or channel for the chart.
|
|
119
|
+
*/
|
|
120
|
+
version_channel: string;
|
|
121
|
+
/**
|
|
122
|
+
* Unique identifier of the chart deployment aka name of the helm release.
|
|
4
123
|
*/
|
|
5
124
|
name: string;
|
|
6
125
|
/**
|
|
7
|
-
*
|
|
126
|
+
* Namespace of the chart deployment
|
|
127
|
+
*/
|
|
128
|
+
namespace: string;
|
|
129
|
+
/**
|
|
130
|
+
* Name of the chart listing
|
|
131
|
+
*/
|
|
132
|
+
chart: string;
|
|
133
|
+
};
|
|
134
|
+
export type Chart = {
|
|
135
|
+
/**
|
|
136
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
137
|
+
*/
|
|
138
|
+
values: string;
|
|
139
|
+
/**
|
|
140
|
+
* Desired version range or channel for the chart.
|
|
141
|
+
*/
|
|
142
|
+
version_channel: string;
|
|
143
|
+
/**
|
|
144
|
+
* Unique identifier of the chart deployment aka name of the helm release.
|
|
145
|
+
*/
|
|
146
|
+
name: string;
|
|
147
|
+
/**
|
|
148
|
+
* Namespace of the chart deployment
|
|
149
|
+
*/
|
|
150
|
+
namespace: string;
|
|
151
|
+
/**
|
|
152
|
+
* Name of the chart listing
|
|
153
|
+
*/
|
|
154
|
+
chart: string;
|
|
155
|
+
/**
|
|
156
|
+
* Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).
|
|
8
157
|
*/
|
|
9
|
-
|
|
158
|
+
status: string;
|
|
159
|
+
/**
|
|
160
|
+
* Current version of the chart deployment.
|
|
161
|
+
*/
|
|
162
|
+
version_current: string;
|
|
163
|
+
/**
|
|
164
|
+
* Creation date and time of the chart deployment.
|
|
165
|
+
*/
|
|
166
|
+
created_at: string;
|
|
167
|
+
/**
|
|
168
|
+
* Last update date and time of the chart deployment.
|
|
169
|
+
*/
|
|
170
|
+
updated_at: string;
|
|
171
|
+
/**
|
|
172
|
+
* Indicates if the chart deployment is ready to be used.
|
|
173
|
+
*/
|
|
174
|
+
ready: boolean;
|
|
175
|
+
};
|
|
176
|
+
export type ChartUpdateInput = {
|
|
177
|
+
/**
|
|
178
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
179
|
+
*/
|
|
180
|
+
values: string;
|
|
181
|
+
/**
|
|
182
|
+
* Desired version range or channel for the chart.
|
|
183
|
+
*/
|
|
184
|
+
version_channel: string;
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
188
|
+
*/
|
|
189
|
+
export type ClusterCreateInput = {
|
|
190
|
+
/**
|
|
191
|
+
* Name of the cluster.
|
|
192
|
+
*/
|
|
193
|
+
name: string;
|
|
10
194
|
/**
|
|
11
195
|
* Tier of the cluster.
|
|
12
196
|
*/
|
|
13
|
-
tier
|
|
197
|
+
tier?: 'basic' | 'pro' | 'enterprise';
|
|
14
198
|
/**
|
|
15
199
|
* Version of the kubernetes cluster.
|
|
16
200
|
*/
|
|
17
201
|
version_channel?: string;
|
|
202
|
+
/**
|
|
203
|
+
* Release channel for the cluster's control plane.
|
|
204
|
+
*/
|
|
205
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
206
|
+
/**
|
|
207
|
+
* Cluster feature toggles.
|
|
208
|
+
*/
|
|
209
|
+
features?: {
|
|
210
|
+
/**
|
|
211
|
+
* GPU sharing strategy.
|
|
212
|
+
*/
|
|
213
|
+
gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
|
|
214
|
+
/**
|
|
215
|
+
* Maximum number of pods that may share a single GPU.
|
|
216
|
+
*/
|
|
217
|
+
gpu_max_shared_clients_per_gpu?: number;
|
|
218
|
+
/**
|
|
219
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
220
|
+
*/
|
|
221
|
+
cilium_socket_lb_host_namespace_only?: boolean;
|
|
222
|
+
};
|
|
223
|
+
/**
|
|
224
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
225
|
+
*/
|
|
226
|
+
region: string;
|
|
227
|
+
/**
|
|
228
|
+
* Cluster networking configuration. Immutable after creation.
|
|
229
|
+
*/
|
|
230
|
+
networking?: {
|
|
231
|
+
/**
|
|
232
|
+
* CIDR block for pod IPs.
|
|
233
|
+
*/
|
|
234
|
+
pod_cidr?: string;
|
|
235
|
+
/**
|
|
236
|
+
* CIDR block for service IPs.
|
|
237
|
+
*/
|
|
238
|
+
service_cidr?: string;
|
|
239
|
+
/**
|
|
240
|
+
* Enable IPv4+IPv6 dual-stack networking.
|
|
241
|
+
*/
|
|
242
|
+
dual_stack?: boolean;
|
|
243
|
+
/**
|
|
244
|
+
* IPv6 pod CIDR. Requires dual_stack.
|
|
245
|
+
*/
|
|
246
|
+
pod_cidr_v6?: string;
|
|
247
|
+
/**
|
|
248
|
+
* IPv6 service CIDR. Requires dual_stack.
|
|
249
|
+
*/
|
|
250
|
+
service_cidr_v6?: string;
|
|
251
|
+
};
|
|
18
252
|
};
|
|
19
253
|
export type ClusterJoinInformation = {
|
|
20
254
|
/**
|
|
@@ -25,6 +259,14 @@ export type ClusterJoinInformation = {
|
|
|
25
259
|
* Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
|
|
26
260
|
*/
|
|
27
261
|
endpoint: string;
|
|
262
|
+
/**
|
|
263
|
+
* Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
|
|
264
|
+
*/
|
|
265
|
+
cluster_dns: string;
|
|
266
|
+
/**
|
|
267
|
+
* Pod CIDR for the cluster. Used to configure iptables rules on nodes to prevent Tailscale routing loops.
|
|
268
|
+
*/
|
|
269
|
+
pod_cidr: string;
|
|
28
270
|
/**
|
|
29
271
|
* Authentication key for the cluster.
|
|
30
272
|
*/
|
|
@@ -49,6 +291,10 @@ export type ClusterJoinInformation = {
|
|
|
49
291
|
* Containerd version of the cluster.
|
|
50
292
|
*/
|
|
51
293
|
containerd: string;
|
|
294
|
+
/**
|
|
295
|
+
* NVIDIA driver version of the cluster.
|
|
296
|
+
*/
|
|
297
|
+
nvidia_driver: string;
|
|
52
298
|
};
|
|
53
299
|
/**
|
|
54
300
|
* OIDC Information for hosts to access to third party API's.
|
|
@@ -68,32 +314,82 @@ export type ClusterJoinInformation = {
|
|
|
68
314
|
gcp_workload_identity_provider: string;
|
|
69
315
|
};
|
|
70
316
|
};
|
|
317
|
+
/**
|
|
318
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
319
|
+
*/
|
|
71
320
|
export type Cluster = {
|
|
72
321
|
/**
|
|
73
322
|
* Name of the cluster.
|
|
74
323
|
*/
|
|
75
324
|
name: string;
|
|
76
|
-
/**
|
|
77
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
|
|
78
|
-
*/
|
|
79
|
-
region?: 'staging' | 'northamerica-central-1';
|
|
80
325
|
/**
|
|
81
326
|
* Tier of the cluster.
|
|
82
327
|
*/
|
|
83
|
-
tier: 'basic' | 'pro';
|
|
328
|
+
tier: 'basic' | 'pro' | 'enterprise';
|
|
84
329
|
/**
|
|
85
330
|
* Version of the kubernetes cluster.
|
|
86
331
|
*/
|
|
87
|
-
version_channel
|
|
332
|
+
version_channel: string;
|
|
333
|
+
/**
|
|
334
|
+
* Release channel for the cluster's control plane.
|
|
335
|
+
*/
|
|
336
|
+
release_channel: 'rapid' | 'stable' | 'extended';
|
|
337
|
+
/**
|
|
338
|
+
* Cluster feature toggles.
|
|
339
|
+
*/
|
|
340
|
+
features: {
|
|
341
|
+
/**
|
|
342
|
+
* GPU sharing strategy.
|
|
343
|
+
*/
|
|
344
|
+
gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
|
|
345
|
+
/**
|
|
346
|
+
* Maximum number of pods that may share a single GPU.
|
|
347
|
+
*/
|
|
348
|
+
gpu_max_shared_clients_per_gpu: number;
|
|
349
|
+
/**
|
|
350
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
351
|
+
*/
|
|
352
|
+
cilium_socket_lb_host_namespace_only: boolean;
|
|
353
|
+
};
|
|
354
|
+
/**
|
|
355
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
356
|
+
*/
|
|
357
|
+
region: string;
|
|
358
|
+
/**
|
|
359
|
+
* Cluster networking configuration. Immutable after creation.
|
|
360
|
+
*/
|
|
361
|
+
networking: {
|
|
362
|
+
/**
|
|
363
|
+
* CIDR block for pod IPs.
|
|
364
|
+
*/
|
|
365
|
+
pod_cidr: string;
|
|
366
|
+
/**
|
|
367
|
+
* CIDR block for service IPs.
|
|
368
|
+
*/
|
|
369
|
+
service_cidr: string;
|
|
370
|
+
/**
|
|
371
|
+
* Enable IPv4+IPv6 dual-stack networking.
|
|
372
|
+
*/
|
|
373
|
+
dual_stack: boolean;
|
|
374
|
+
/**
|
|
375
|
+
* IPv6 pod CIDR. Requires dual_stack.
|
|
376
|
+
*/
|
|
377
|
+
pod_cidr_v6: string;
|
|
378
|
+
/**
|
|
379
|
+
* IPv6 service CIDR. Requires dual_stack.
|
|
380
|
+
*/
|
|
381
|
+
service_cidr_v6: string;
|
|
382
|
+
};
|
|
88
383
|
/**
|
|
89
384
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
90
385
|
*/
|
|
91
386
|
id: string;
|
|
92
387
|
/**
|
|
93
|
-
* Status of the cluster.
|
|
388
|
+
* Status of the cluster.
|
|
94
389
|
*/
|
|
95
|
-
status: '
|
|
390
|
+
status: 'creating' | 'deployed' | 'updating' | 'disabled';
|
|
96
391
|
endpoint?: string | '';
|
|
392
|
+
endpoint_public?: string | '';
|
|
97
393
|
/**
|
|
98
394
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
99
395
|
*/
|
|
@@ -113,939 +409,1077 @@ export type Cluster = {
|
|
|
113
409
|
/**
|
|
114
410
|
* Indicates if the cluster is ready to be used.
|
|
115
411
|
*/
|
|
116
|
-
ready
|
|
412
|
+
ready: boolean;
|
|
117
413
|
};
|
|
414
|
+
/**
|
|
415
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
416
|
+
*/
|
|
118
417
|
export type ClusterUpdateInput = {
|
|
119
418
|
/**
|
|
120
419
|
* Name of the cluster.
|
|
121
420
|
*/
|
|
122
|
-
name
|
|
421
|
+
name: string;
|
|
422
|
+
/**
|
|
423
|
+
* Tier of the cluster.
|
|
424
|
+
*/
|
|
425
|
+
tier?: 'basic' | 'pro' | 'enterprise';
|
|
123
426
|
/**
|
|
124
427
|
* Version of the kubernetes cluster.
|
|
125
428
|
*/
|
|
126
429
|
version_channel?: string;
|
|
430
|
+
/**
|
|
431
|
+
* Release channel for the cluster's control plane.
|
|
432
|
+
*/
|
|
433
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
434
|
+
/**
|
|
435
|
+
* Cluster feature toggles.
|
|
436
|
+
*/
|
|
437
|
+
features?: {
|
|
438
|
+
/**
|
|
439
|
+
* GPU sharing strategy.
|
|
440
|
+
*/
|
|
441
|
+
gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
|
|
442
|
+
/**
|
|
443
|
+
* Maximum number of pods that may share a single GPU.
|
|
444
|
+
*/
|
|
445
|
+
gpu_max_shared_clients_per_gpu?: number;
|
|
446
|
+
/**
|
|
447
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
448
|
+
*/
|
|
449
|
+
cilium_socket_lb_host_namespace_only?: boolean;
|
|
450
|
+
};
|
|
127
451
|
};
|
|
452
|
+
/**
|
|
453
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
454
|
+
*/
|
|
128
455
|
export type FleetCreateInput = {
|
|
129
456
|
/**
|
|
130
457
|
* Limits define a set of bounds for provisioning capacity.
|
|
131
458
|
*/
|
|
132
459
|
limits?: {
|
|
133
460
|
/**
|
|
134
|
-
* CPU limit in cores.
|
|
461
|
+
* CPU limit in cores. Maximum 100,000.
|
|
135
462
|
*/
|
|
136
|
-
cpu
|
|
463
|
+
cpu?: number;
|
|
137
464
|
};
|
|
138
465
|
gcp?: {
|
|
139
|
-
enabled
|
|
466
|
+
enabled: boolean;
|
|
140
467
|
/**
|
|
141
|
-
*
|
|
468
|
+
* GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
|
|
142
469
|
*/
|
|
143
|
-
project
|
|
470
|
+
project?: string;
|
|
144
471
|
};
|
|
145
472
|
hetzner?: {
|
|
146
|
-
enabled
|
|
147
|
-
|
|
148
|
-
|
|
473
|
+
enabled: boolean;
|
|
474
|
+
/**
|
|
475
|
+
* Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.
|
|
476
|
+
*/
|
|
149
477
|
apiKey?: string;
|
|
150
|
-
enabled?: boolean;
|
|
151
478
|
};
|
|
152
479
|
aws?: {
|
|
153
|
-
enabled
|
|
480
|
+
enabled: boolean;
|
|
154
481
|
/**
|
|
155
|
-
*
|
|
482
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
156
483
|
*/
|
|
157
|
-
controllerRoleArn
|
|
484
|
+
controllerRoleArn?: string;
|
|
158
485
|
};
|
|
159
486
|
/**
|
|
160
|
-
*
|
|
487
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.
|
|
161
488
|
*/
|
|
162
|
-
|
|
489
|
+
constraints?: {
|
|
490
|
+
/**
|
|
491
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
492
|
+
*/
|
|
493
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
494
|
+
/**
|
|
495
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
496
|
+
*/
|
|
497
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
498
|
+
/**
|
|
499
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
500
|
+
*/
|
|
501
|
+
'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
|
|
502
|
+
/**
|
|
503
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
504
|
+
*/
|
|
505
|
+
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
506
|
+
};
|
|
163
507
|
/**
|
|
164
|
-
*
|
|
508
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
|
|
165
509
|
*/
|
|
166
|
-
|
|
510
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
511
|
+
/**
|
|
512
|
+
* Unique identifier of the kubernetes fleet.
|
|
513
|
+
*/
|
|
514
|
+
id: string;
|
|
167
515
|
};
|
|
516
|
+
/**
|
|
517
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
518
|
+
*/
|
|
168
519
|
export type Fleet = {
|
|
169
520
|
/**
|
|
170
521
|
* Limits define a set of bounds for provisioning capacity.
|
|
171
522
|
*/
|
|
172
523
|
limits?: {
|
|
173
524
|
/**
|
|
174
|
-
* CPU limit in cores.
|
|
525
|
+
* CPU limit in cores. Maximum 100,000.
|
|
175
526
|
*/
|
|
176
|
-
cpu
|
|
527
|
+
cpu?: number;
|
|
177
528
|
};
|
|
178
529
|
gcp?: {
|
|
179
|
-
enabled
|
|
530
|
+
enabled: boolean;
|
|
180
531
|
/**
|
|
181
|
-
*
|
|
532
|
+
* GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
|
|
182
533
|
*/
|
|
183
|
-
project
|
|
534
|
+
project?: string;
|
|
184
535
|
};
|
|
185
536
|
hetzner?: {
|
|
186
|
-
enabled
|
|
187
|
-
|
|
188
|
-
|
|
537
|
+
enabled: boolean;
|
|
538
|
+
/**
|
|
539
|
+
* Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.
|
|
540
|
+
*/
|
|
189
541
|
apiKey?: string;
|
|
190
|
-
enabled?: boolean;
|
|
191
542
|
};
|
|
192
543
|
aws?: {
|
|
193
|
-
enabled
|
|
544
|
+
enabled: boolean;
|
|
545
|
+
/**
|
|
546
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
547
|
+
*/
|
|
548
|
+
controllerRoleArn?: string;
|
|
549
|
+
};
|
|
550
|
+
/**
|
|
551
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.
|
|
552
|
+
*/
|
|
553
|
+
constraints: {
|
|
554
|
+
/**
|
|
555
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
556
|
+
*/
|
|
557
|
+
'karpenter.sh/capacity-type': Array<'on-demand' | 'spot'>;
|
|
558
|
+
/**
|
|
559
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
560
|
+
*/
|
|
561
|
+
'kubernetes.io/arch': Array<'amd64' | 'arm64'>;
|
|
194
562
|
/**
|
|
195
|
-
*
|
|
563
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
196
564
|
*/
|
|
197
|
-
|
|
565
|
+
'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
|
|
566
|
+
/**
|
|
567
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
568
|
+
*/
|
|
569
|
+
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
198
570
|
};
|
|
571
|
+
/**
|
|
572
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
|
|
573
|
+
*/
|
|
574
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
199
575
|
/**
|
|
200
576
|
* Unique identifier of the kubernetes fleet.
|
|
201
577
|
*/
|
|
202
578
|
id: string;
|
|
203
579
|
/**
|
|
204
|
-
*
|
|
580
|
+
* Indicates whether the fleet configuration is healthy.
|
|
581
|
+
*/
|
|
582
|
+
ready: boolean;
|
|
583
|
+
/**
|
|
584
|
+
* Human-readable reason the fleet is not ready. Present only when `ready` is false.
|
|
585
|
+
*/
|
|
586
|
+
status_message?: string;
|
|
587
|
+
/**
|
|
588
|
+
* Creation date and time of the fleet.
|
|
205
589
|
*/
|
|
206
|
-
|
|
590
|
+
created_at: string;
|
|
591
|
+
/**
|
|
592
|
+
* Date and time the fleet was last updated.
|
|
593
|
+
*/
|
|
594
|
+
updated_at: string;
|
|
207
595
|
};
|
|
596
|
+
/**
|
|
597
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
598
|
+
*/
|
|
208
599
|
export type FleetUpdateInput = {
|
|
209
600
|
/**
|
|
210
601
|
* Limits define a set of bounds for provisioning capacity.
|
|
211
602
|
*/
|
|
212
603
|
limits?: {
|
|
213
604
|
/**
|
|
214
|
-
* CPU limit in cores.
|
|
605
|
+
* CPU limit in cores. Maximum 100,000.
|
|
215
606
|
*/
|
|
216
|
-
cpu
|
|
607
|
+
cpu?: number;
|
|
217
608
|
};
|
|
218
609
|
gcp?: {
|
|
219
|
-
enabled
|
|
610
|
+
enabled: boolean;
|
|
220
611
|
/**
|
|
221
|
-
*
|
|
612
|
+
* GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
|
|
222
613
|
*/
|
|
223
|
-
project
|
|
614
|
+
project?: string;
|
|
224
615
|
};
|
|
225
616
|
hetzner?: {
|
|
226
|
-
enabled
|
|
227
|
-
|
|
228
|
-
|
|
617
|
+
enabled: boolean;
|
|
618
|
+
/**
|
|
619
|
+
* Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.
|
|
620
|
+
*/
|
|
229
621
|
apiKey?: string;
|
|
230
|
-
enabled?: boolean;
|
|
231
622
|
};
|
|
232
623
|
aws?: {
|
|
233
|
-
enabled
|
|
624
|
+
enabled: boolean;
|
|
234
625
|
/**
|
|
235
|
-
*
|
|
626
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
236
627
|
*/
|
|
237
|
-
controllerRoleArn
|
|
628
|
+
controllerRoleArn?: string;
|
|
238
629
|
};
|
|
239
|
-
};
|
|
240
|
-
export type InfrastructureFilter = {
|
|
241
630
|
/**
|
|
242
|
-
*
|
|
631
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.
|
|
243
632
|
*/
|
|
244
|
-
|
|
633
|
+
constraints?: {
|
|
634
|
+
/**
|
|
635
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
636
|
+
*/
|
|
637
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
638
|
+
/**
|
|
639
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
640
|
+
*/
|
|
641
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
642
|
+
/**
|
|
643
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
644
|
+
*/
|
|
645
|
+
'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
|
|
646
|
+
/**
|
|
647
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
648
|
+
*/
|
|
649
|
+
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
650
|
+
};
|
|
245
651
|
/**
|
|
246
|
-
*
|
|
652
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
|
|
247
653
|
*/
|
|
248
|
-
|
|
654
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
655
|
+
};
|
|
656
|
+
export type InviteCreateInput = {
|
|
249
657
|
/**
|
|
250
|
-
*
|
|
658
|
+
* Email address of the user to invite.
|
|
251
659
|
*/
|
|
252
|
-
|
|
660
|
+
email: string;
|
|
253
661
|
/**
|
|
254
|
-
*
|
|
662
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
255
663
|
*/
|
|
256
|
-
|
|
664
|
+
role?: 'Administrator' | 'User';
|
|
665
|
+
};
|
|
666
|
+
export type Invite = {
|
|
257
667
|
/**
|
|
258
|
-
*
|
|
668
|
+
* Unique identifier of the invitation.
|
|
259
669
|
*/
|
|
260
|
-
|
|
670
|
+
id?: string;
|
|
261
671
|
/**
|
|
262
|
-
*
|
|
672
|
+
* Unique identifier of the organization the project belongs to. UUID v4 string in canonical form
|
|
263
673
|
*/
|
|
264
|
-
|
|
674
|
+
organization_id?: string;
|
|
265
675
|
/**
|
|
266
|
-
*
|
|
267
|
-
*/
|
|
268
|
-
accelerator_name?: Array<string>;
|
|
269
|
-
/**
|
|
270
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
676
|
+
* Creation date of the project. ISO 8601 date string in UTC timezone
|
|
271
677
|
*/
|
|
272
|
-
|
|
678
|
+
date_created: string;
|
|
273
679
|
/**
|
|
274
|
-
*
|
|
680
|
+
* User email address.
|
|
275
681
|
*/
|
|
276
|
-
|
|
682
|
+
email?: string;
|
|
277
683
|
/**
|
|
278
|
-
*
|
|
684
|
+
* Generated unique invite code.
|
|
279
685
|
*/
|
|
280
|
-
|
|
686
|
+
code?: string;
|
|
281
687
|
/**
|
|
282
|
-
*
|
|
688
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
283
689
|
*/
|
|
284
|
-
|
|
690
|
+
role?: 'Administrator' | 'User';
|
|
691
|
+
};
|
|
692
|
+
export type Invoice = {
|
|
285
693
|
/**
|
|
286
|
-
*
|
|
694
|
+
* Unique identifier of the invoice.
|
|
287
695
|
*/
|
|
288
|
-
|
|
696
|
+
id?: string;
|
|
697
|
+
number?: string;
|
|
289
698
|
/**
|
|
290
|
-
*
|
|
699
|
+
* Status of the invoice
|
|
291
700
|
*/
|
|
292
|
-
|
|
701
|
+
status?: string;
|
|
293
702
|
/**
|
|
294
|
-
*
|
|
703
|
+
* Total amount of the invoice
|
|
295
704
|
*/
|
|
296
|
-
|
|
705
|
+
total?: number;
|
|
297
706
|
/**
|
|
298
|
-
*
|
|
707
|
+
* Currency of the invoice
|
|
299
708
|
*/
|
|
300
|
-
|
|
709
|
+
currency?: string;
|
|
301
710
|
/**
|
|
302
|
-
*
|
|
711
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
303
712
|
*/
|
|
304
|
-
|
|
713
|
+
created: string;
|
|
305
714
|
/**
|
|
306
|
-
*
|
|
715
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
307
716
|
*/
|
|
308
|
-
|
|
717
|
+
period_start: string;
|
|
309
718
|
/**
|
|
310
|
-
*
|
|
719
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
311
720
|
*/
|
|
312
|
-
|
|
721
|
+
period_end: string;
|
|
722
|
+
invoice_pdf?: string;
|
|
723
|
+
};
|
|
724
|
+
export type MarketplaceListingFiles = {
|
|
313
725
|
/**
|
|
314
|
-
*
|
|
726
|
+
* Raw Chart.yaml content from the Helm chart
|
|
315
727
|
*/
|
|
316
|
-
|
|
728
|
+
chartYaml?: string;
|
|
317
729
|
/**
|
|
318
|
-
*
|
|
730
|
+
* Raw values.yaml content from the Helm chart
|
|
319
731
|
*/
|
|
320
|
-
|
|
732
|
+
valuesYaml?: string;
|
|
321
733
|
/**
|
|
322
|
-
*
|
|
734
|
+
* JSON schema for values.yaml as a string
|
|
323
735
|
*/
|
|
324
|
-
|
|
736
|
+
valuesSchemaJson?: string;
|
|
737
|
+
};
|
|
738
|
+
export type MarketplaceListing = {
|
|
325
739
|
/**
|
|
326
|
-
*
|
|
740
|
+
* Name of the chart
|
|
327
741
|
*/
|
|
328
|
-
|
|
329
|
-
};
|
|
330
|
-
export type InfrastructureInstance = {
|
|
742
|
+
name: string;
|
|
331
743
|
/**
|
|
332
|
-
*
|
|
744
|
+
* Available versions of the chart
|
|
333
745
|
*/
|
|
334
|
-
|
|
746
|
+
versions: Array<string>;
|
|
335
747
|
/**
|
|
336
|
-
*
|
|
748
|
+
* Version channels for the chart
|
|
337
749
|
*/
|
|
338
|
-
|
|
750
|
+
version_channels: Array<string>;
|
|
339
751
|
/**
|
|
340
|
-
*
|
|
752
|
+
* Latest version of the chart
|
|
341
753
|
*/
|
|
342
|
-
|
|
754
|
+
latestVersion: string;
|
|
343
755
|
/**
|
|
344
|
-
*
|
|
756
|
+
* Chart metadata
|
|
345
757
|
*/
|
|
346
|
-
|
|
758
|
+
metadata?: {
|
|
759
|
+
/**
|
|
760
|
+
* Chart name from metadata
|
|
761
|
+
*/
|
|
762
|
+
name: string;
|
|
763
|
+
/**
|
|
764
|
+
* Chart version from metadata
|
|
765
|
+
*/
|
|
766
|
+
version: string;
|
|
767
|
+
/**
|
|
768
|
+
* Chart description
|
|
769
|
+
*/
|
|
770
|
+
description?: string;
|
|
771
|
+
/**
|
|
772
|
+
* Application version
|
|
773
|
+
*/
|
|
774
|
+
appVersion?: string;
|
|
775
|
+
/**
|
|
776
|
+
* Helm API version
|
|
777
|
+
*/
|
|
778
|
+
apiVersion?: string;
|
|
779
|
+
/**
|
|
780
|
+
* Chart keywords
|
|
781
|
+
*/
|
|
782
|
+
keywords?: Array<string>;
|
|
783
|
+
/**
|
|
784
|
+
* Chart home URL
|
|
785
|
+
*/
|
|
786
|
+
home?: string;
|
|
787
|
+
/**
|
|
788
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
789
|
+
*/
|
|
790
|
+
icon?: string;
|
|
791
|
+
/**
|
|
792
|
+
* Chart source URLs
|
|
793
|
+
*/
|
|
794
|
+
sources?: Array<string>;
|
|
795
|
+
/**
|
|
796
|
+
* Chart maintainers
|
|
797
|
+
*/
|
|
798
|
+
maintainers?: Array<{
|
|
799
|
+
/**
|
|
800
|
+
* Maintainer name
|
|
801
|
+
*/
|
|
802
|
+
name: string;
|
|
803
|
+
/**
|
|
804
|
+
* Maintainer email
|
|
805
|
+
*/
|
|
806
|
+
email?: string;
|
|
807
|
+
}>;
|
|
808
|
+
};
|
|
809
|
+
};
|
|
810
|
+
export type OrganizationCreateInput = {
|
|
347
811
|
/**
|
|
348
|
-
*
|
|
812
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
349
813
|
*/
|
|
350
|
-
|
|
814
|
+
type: 'business' | 'personal';
|
|
351
815
|
/**
|
|
352
|
-
*
|
|
816
|
+
* Email address used for billing as a string.
|
|
353
817
|
*/
|
|
354
|
-
|
|
818
|
+
email: string;
|
|
355
819
|
/**
|
|
356
|
-
*
|
|
820
|
+
* First name of the billing contact person.
|
|
357
821
|
*/
|
|
358
|
-
|
|
822
|
+
first_name: string;
|
|
359
823
|
/**
|
|
360
|
-
*
|
|
824
|
+
* Last name of the billing contact person.
|
|
361
825
|
*/
|
|
362
|
-
|
|
826
|
+
last_name: string;
|
|
363
827
|
/**
|
|
364
|
-
*
|
|
828
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
365
829
|
*/
|
|
366
|
-
|
|
830
|
+
company_name: string;
|
|
367
831
|
/**
|
|
368
|
-
*
|
|
832
|
+
* Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
|
|
369
833
|
*/
|
|
370
|
-
|
|
834
|
+
password: string;
|
|
835
|
+
};
|
|
836
|
+
export type OrganizationCreateOutput = {
|
|
371
837
|
/**
|
|
372
|
-
*
|
|
838
|
+
* Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
|
|
373
839
|
*/
|
|
374
|
-
|
|
840
|
+
id: string;
|
|
841
|
+
};
|
|
842
|
+
export type Organization = {
|
|
375
843
|
/**
|
|
376
|
-
*
|
|
844
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
377
845
|
*/
|
|
378
|
-
|
|
846
|
+
id: string;
|
|
379
847
|
/**
|
|
380
|
-
*
|
|
848
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
381
849
|
*/
|
|
382
|
-
|
|
850
|
+
name?: string;
|
|
383
851
|
/**
|
|
384
|
-
*
|
|
852
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
385
853
|
*/
|
|
386
|
-
|
|
854
|
+
type: 'business' | 'personal';
|
|
387
855
|
/**
|
|
388
|
-
*
|
|
856
|
+
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
389
857
|
*/
|
|
390
|
-
|
|
858
|
+
date_created: string;
|
|
391
859
|
/**
|
|
392
|
-
*
|
|
860
|
+
* For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.
|
|
393
861
|
*/
|
|
394
|
-
|
|
862
|
+
quota: {
|
|
863
|
+
/**
|
|
864
|
+
* Maximum number of Basic clusters that can be created.
|
|
865
|
+
*/
|
|
866
|
+
basic_clusters_max: number;
|
|
867
|
+
/**
|
|
868
|
+
* Available number of Basic clusters that can be created.
|
|
869
|
+
*/
|
|
870
|
+
basic_clusters_available: number;
|
|
871
|
+
/**
|
|
872
|
+
* Maximum number of Pro clusters that can be created.
|
|
873
|
+
*/
|
|
874
|
+
pro_clusters_max: number;
|
|
875
|
+
/**
|
|
876
|
+
* Available number of Pro clusters that can be created.
|
|
877
|
+
*/
|
|
878
|
+
pro_clusters_available: number;
|
|
879
|
+
/**
|
|
880
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
881
|
+
*/
|
|
882
|
+
enterprise_clusters_max: number;
|
|
883
|
+
/**
|
|
884
|
+
* Available number of Enterprise clusters that can be created.
|
|
885
|
+
*/
|
|
886
|
+
enterprise_clusters_available: number;
|
|
887
|
+
/**
|
|
888
|
+
* Maximum number of fleets that can be created per cluster.
|
|
889
|
+
*/
|
|
890
|
+
fleets_max: number;
|
|
891
|
+
/**
|
|
892
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
893
|
+
*/
|
|
894
|
+
cluster_tiers: Array<string>;
|
|
895
|
+
/**
|
|
896
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
897
|
+
*/
|
|
898
|
+
regions: Array<string>;
|
|
899
|
+
/**
|
|
900
|
+
* List of CFKE control plane versions available for the organization.
|
|
901
|
+
*/
|
|
902
|
+
versions: Array<{
|
|
903
|
+
/**
|
|
904
|
+
* Id of the control plane version. Used in API calls.
|
|
905
|
+
*/
|
|
906
|
+
id: string;
|
|
907
|
+
/**
|
|
908
|
+
* Label of the control plane version. Used in frontent UI.
|
|
909
|
+
*/
|
|
910
|
+
label: string;
|
|
911
|
+
}>;
|
|
912
|
+
/**
|
|
913
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
914
|
+
*/
|
|
915
|
+
cfcr_storage_gb: number;
|
|
916
|
+
};
|
|
395
917
|
/**
|
|
396
|
-
*
|
|
918
|
+
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
397
919
|
*/
|
|
398
|
-
|
|
920
|
+
status: 'active' | 'closed' | 'suspended';
|
|
399
921
|
/**
|
|
400
|
-
*
|
|
922
|
+
* Verification status of the organization, which determines the assigned quota. `none` when billing information is incomplete, `submitted` when billing information is complete but the organization is not yet verified, `verified` when the organization is verified.
|
|
401
923
|
*/
|
|
402
|
-
|
|
924
|
+
verification: 'none' | 'submitted' | 'verified';
|
|
925
|
+
};
|
|
926
|
+
export type PaymentMethod = {
|
|
403
927
|
/**
|
|
404
|
-
*
|
|
928
|
+
* Payment method identifier. Stripe payment method id for cards/SEPA; the constant `bank_transfer` for the invoice/bank-transfer method. Used to set as default or delete the payment method.
|
|
405
929
|
*/
|
|
406
|
-
|
|
930
|
+
id: string;
|
|
407
931
|
/**
|
|
408
|
-
*
|
|
932
|
+
* Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
|
|
409
933
|
*/
|
|
410
|
-
|
|
411
|
-
};
|
|
412
|
-
export type Invite = {
|
|
934
|
+
type: 'card' | 'sepa_debit' | 'bank_transfer';
|
|
413
935
|
/**
|
|
414
|
-
*
|
|
936
|
+
* Last 4 digits of the payment card number, of the bank account (IBAN) for SEPA Direct Debit, or of the destination IBAN for bank transfer.
|
|
415
937
|
*/
|
|
416
|
-
|
|
938
|
+
last4: string;
|
|
417
939
|
/**
|
|
418
|
-
*
|
|
940
|
+
* Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
|
|
419
941
|
*/
|
|
420
|
-
|
|
942
|
+
exp_month: number;
|
|
421
943
|
/**
|
|
422
|
-
*
|
|
944
|
+
* Four-digit number representing the card's expiration year. May be in the past for an expired card still on file. Null for SEPA Direct Debit and bank transfer.
|
|
423
945
|
*/
|
|
424
|
-
|
|
946
|
+
exp_year: number;
|
|
425
947
|
/**
|
|
426
|
-
*
|
|
948
|
+
* Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
|
|
427
949
|
*/
|
|
428
|
-
|
|
950
|
+
brand: string;
|
|
429
951
|
/**
|
|
430
|
-
*
|
|
952
|
+
* Full destination IBAN to send bank transfers to. Set only for `bank_transfer`; null otherwise. This is Cloudfleet's virtual receiving account, shown in full so the customer can pay into it.
|
|
431
953
|
*/
|
|
432
|
-
|
|
433
|
-
};
|
|
434
|
-
export type Invoice = {
|
|
954
|
+
iban: string;
|
|
435
955
|
/**
|
|
436
|
-
*
|
|
956
|
+
* BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
437
957
|
*/
|
|
438
|
-
|
|
958
|
+
bic: string;
|
|
439
959
|
/**
|
|
440
|
-
*
|
|
960
|
+
* Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
441
961
|
*/
|
|
442
|
-
|
|
962
|
+
account_holder_name: string;
|
|
443
963
|
/**
|
|
444
|
-
*
|
|
964
|
+
* Whether this payment method is the default used for invoices and active subscriptions. Always false for `bank_transfer` (it cannot be a Stripe default payment method).
|
|
445
965
|
*/
|
|
446
|
-
|
|
966
|
+
is_default: boolean;
|
|
967
|
+
};
|
|
968
|
+
export type PlatformQuota = {
|
|
447
969
|
/**
|
|
448
|
-
*
|
|
970
|
+
* Maximum number of Basic clusters that can be created.
|
|
449
971
|
*/
|
|
450
|
-
|
|
972
|
+
basic_clusters_max: number;
|
|
451
973
|
/**
|
|
452
|
-
*
|
|
974
|
+
* Available number of Basic clusters that can be created.
|
|
453
975
|
*/
|
|
454
|
-
|
|
976
|
+
basic_clusters_available: number;
|
|
455
977
|
/**
|
|
456
|
-
*
|
|
978
|
+
* Maximum number of Pro clusters that can be created.
|
|
457
979
|
*/
|
|
458
|
-
|
|
980
|
+
pro_clusters_max: number;
|
|
459
981
|
/**
|
|
460
|
-
*
|
|
982
|
+
* Available number of Pro clusters that can be created.
|
|
461
983
|
*/
|
|
462
|
-
|
|
984
|
+
pro_clusters_available: number;
|
|
463
985
|
/**
|
|
464
|
-
*
|
|
986
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
465
987
|
*/
|
|
466
|
-
|
|
988
|
+
enterprise_clusters_max: number;
|
|
467
989
|
/**
|
|
468
|
-
*
|
|
990
|
+
* Available number of Enterprise clusters that can be created.
|
|
469
991
|
*/
|
|
470
|
-
|
|
992
|
+
enterprise_clusters_available: number;
|
|
471
993
|
/**
|
|
472
|
-
*
|
|
994
|
+
* Maximum number of fleets that can be created per cluster.
|
|
473
995
|
*/
|
|
474
|
-
|
|
996
|
+
fleets_max: number;
|
|
475
997
|
/**
|
|
476
|
-
*
|
|
998
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
477
999
|
*/
|
|
478
|
-
|
|
1000
|
+
cluster_tiers: Array<string>;
|
|
479
1001
|
/**
|
|
480
|
-
*
|
|
1002
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
481
1003
|
*/
|
|
482
|
-
|
|
1004
|
+
regions: Array<string>;
|
|
483
1005
|
/**
|
|
484
|
-
*
|
|
1006
|
+
* List of CFKE control plane versions available for the organization.
|
|
485
1007
|
*/
|
|
486
|
-
|
|
487
|
-
/**
|
|
488
|
-
* Unique identifier of the invoice item. UUID v4 string in canonical form
|
|
489
|
-
*/
|
|
490
|
-
id?: string;
|
|
491
|
-
/**
|
|
492
|
-
* Unique identifier of the linked invoice item. UUID v4 string in canonical form
|
|
493
|
-
*/
|
|
494
|
-
linkedInvoiceItemId?: string;
|
|
1008
|
+
versions: Array<{
|
|
495
1009
|
/**
|
|
496
|
-
*
|
|
1010
|
+
* Id of the control plane version. Used in API calls.
|
|
497
1011
|
*/
|
|
498
|
-
|
|
499
|
-
/**
|
|
500
|
-
* Name of the plan
|
|
501
|
-
*/
|
|
502
|
-
planName?: string;
|
|
1012
|
+
id: string;
|
|
503
1013
|
/**
|
|
504
|
-
*
|
|
1014
|
+
* Label of the control plane version. Used in frontent UI.
|
|
505
1015
|
*/
|
|
506
|
-
|
|
1016
|
+
label: string;
|
|
1017
|
+
}>;
|
|
1018
|
+
/**
|
|
1019
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
1020
|
+
*/
|
|
1021
|
+
cfcr_storage_gb: number;
|
|
1022
|
+
};
|
|
1023
|
+
export type RegistryRepository = {
|
|
1024
|
+
/**
|
|
1025
|
+
* Repository name.
|
|
1026
|
+
*/
|
|
1027
|
+
name: string;
|
|
1028
|
+
/**
|
|
1029
|
+
* Registry region.
|
|
1030
|
+
*/
|
|
1031
|
+
region: string;
|
|
1032
|
+
/**
|
|
1033
|
+
* Full URI of the repository.
|
|
1034
|
+
*/
|
|
1035
|
+
uri: string;
|
|
1036
|
+
};
|
|
1037
|
+
export type RegistryRepositoryWithTags = {
|
|
1038
|
+
/**
|
|
1039
|
+
* Repository name.
|
|
1040
|
+
*/
|
|
1041
|
+
name: string;
|
|
1042
|
+
/**
|
|
1043
|
+
* Registry region.
|
|
1044
|
+
*/
|
|
1045
|
+
region: string;
|
|
1046
|
+
/**
|
|
1047
|
+
* Full URI of the repository.
|
|
1048
|
+
*/
|
|
1049
|
+
uri: string;
|
|
1050
|
+
/**
|
|
1051
|
+
* Array of tags in the repository.
|
|
1052
|
+
*/
|
|
1053
|
+
tags: Array<{
|
|
507
1054
|
/**
|
|
508
|
-
*
|
|
1055
|
+
* Tag name.
|
|
509
1056
|
*/
|
|
510
|
-
|
|
1057
|
+
name: string;
|
|
511
1058
|
/**
|
|
512
|
-
*
|
|
1059
|
+
* Size of the tag in bytes.
|
|
513
1060
|
*/
|
|
514
|
-
|
|
1061
|
+
size: number;
|
|
515
1062
|
/**
|
|
516
|
-
*
|
|
1063
|
+
* Media type of the manifest.
|
|
517
1064
|
*/
|
|
518
|
-
|
|
1065
|
+
mediaType?: string;
|
|
519
1066
|
/**
|
|
520
|
-
*
|
|
1067
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
521
1068
|
*/
|
|
522
|
-
|
|
1069
|
+
platforms?: Array<string>;
|
|
1070
|
+
}>;
|
|
1071
|
+
/**
|
|
1072
|
+
* Total size of all tags in the repository in bytes.
|
|
1073
|
+
*/
|
|
1074
|
+
totalSize: number;
|
|
1075
|
+
};
|
|
1076
|
+
export type RegistryTag = {
|
|
1077
|
+
/**
|
|
1078
|
+
* Tag name.
|
|
1079
|
+
*/
|
|
1080
|
+
name: string;
|
|
1081
|
+
/**
|
|
1082
|
+
* Manifest digest for pulling by digest.
|
|
1083
|
+
*/
|
|
1084
|
+
digest: string;
|
|
1085
|
+
/**
|
|
1086
|
+
* Media type of the manifest.
|
|
1087
|
+
*/
|
|
1088
|
+
mediaType?: string;
|
|
1089
|
+
/**
|
|
1090
|
+
* Manifest config metadata.
|
|
1091
|
+
*/
|
|
1092
|
+
config?: {
|
|
523
1093
|
/**
|
|
524
|
-
*
|
|
1094
|
+
* Size of the config in bytes.
|
|
525
1095
|
*/
|
|
526
|
-
|
|
1096
|
+
size: number;
|
|
1097
|
+
};
|
|
1098
|
+
/**
|
|
1099
|
+
* Array of layer metadata.
|
|
1100
|
+
*/
|
|
1101
|
+
layers?: Array<{
|
|
527
1102
|
/**
|
|
528
|
-
*
|
|
1103
|
+
* Digest of the layer.
|
|
529
1104
|
*/
|
|
530
|
-
|
|
1105
|
+
digest?: string;
|
|
531
1106
|
/**
|
|
532
|
-
*
|
|
1107
|
+
* Size of the layer in bytes.
|
|
533
1108
|
*/
|
|
534
|
-
|
|
1109
|
+
size: number;
|
|
1110
|
+
}>;
|
|
1111
|
+
/**
|
|
1112
|
+
* Array of manifests for multi-arch images.
|
|
1113
|
+
*/
|
|
1114
|
+
manifests?: Array<{
|
|
535
1115
|
/**
|
|
536
|
-
*
|
|
1116
|
+
* Digest of the manifest.
|
|
537
1117
|
*/
|
|
538
|
-
|
|
1118
|
+
digest: string;
|
|
539
1119
|
/**
|
|
540
|
-
*
|
|
1120
|
+
* Platform information for the manifest.
|
|
541
1121
|
*/
|
|
542
|
-
|
|
1122
|
+
platform?: {
|
|
1123
|
+
/**
|
|
1124
|
+
* Architecture of the platform.
|
|
1125
|
+
*/
|
|
1126
|
+
architecture: string;
|
|
1127
|
+
/**
|
|
1128
|
+
* Operating system of the platform.
|
|
1129
|
+
*/
|
|
1130
|
+
os: string;
|
|
1131
|
+
/**
|
|
1132
|
+
* Variant of the platform (e.g., v7, v8 for ARM).
|
|
1133
|
+
*/
|
|
1134
|
+
variant?: string;
|
|
1135
|
+
};
|
|
543
1136
|
/**
|
|
544
|
-
*
|
|
1137
|
+
* Layers for this platform.
|
|
545
1138
|
*/
|
|
546
|
-
|
|
1139
|
+
layers?: Array<{
|
|
1140
|
+
/**
|
|
1141
|
+
* Digest of the layer.
|
|
1142
|
+
*/
|
|
1143
|
+
digest?: string;
|
|
1144
|
+
/**
|
|
1145
|
+
* Size of the layer in bytes.
|
|
1146
|
+
*/
|
|
1147
|
+
size: number;
|
|
1148
|
+
}>;
|
|
547
1149
|
/**
|
|
548
|
-
*
|
|
1150
|
+
* Total size of this platform manifest in bytes.
|
|
549
1151
|
*/
|
|
550
|
-
|
|
1152
|
+
size?: number;
|
|
1153
|
+
}>;
|
|
1154
|
+
/**
|
|
1155
|
+
* Total size of the tag in bytes.
|
|
1156
|
+
*/
|
|
1157
|
+
size: number;
|
|
1158
|
+
/**
|
|
1159
|
+
* Registry region.
|
|
1160
|
+
*/
|
|
1161
|
+
region: string;
|
|
1162
|
+
/**
|
|
1163
|
+
* Repository name.
|
|
1164
|
+
*/
|
|
1165
|
+
repository: string;
|
|
1166
|
+
/**
|
|
1167
|
+
* Full URI of the tag.
|
|
1168
|
+
*/
|
|
1169
|
+
uri: string;
|
|
1170
|
+
};
|
|
1171
|
+
export type TicketAttachment = {
|
|
1172
|
+
/**
|
|
1173
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1174
|
+
*/
|
|
1175
|
+
id: string;
|
|
1176
|
+
/**
|
|
1177
|
+
* Original filename as uploaded.
|
|
1178
|
+
*/
|
|
1179
|
+
filename: string;
|
|
1180
|
+
/**
|
|
1181
|
+
* MIME content type of the attachment.
|
|
1182
|
+
*/
|
|
1183
|
+
content_type: string;
|
|
1184
|
+
/**
|
|
1185
|
+
* Size of the attachment in bytes.
|
|
1186
|
+
*/
|
|
1187
|
+
size: number;
|
|
1188
|
+
};
|
|
1189
|
+
export type TicketCreateInput = {
|
|
1190
|
+
/**
|
|
1191
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
1192
|
+
*/
|
|
1193
|
+
category: 'billing' | 'technical' | 'general';
|
|
1194
|
+
/**
|
|
1195
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
1196
|
+
*/
|
|
1197
|
+
body: string;
|
|
1198
|
+
/**
|
|
1199
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
1200
|
+
*/
|
|
1201
|
+
properties?: {
|
|
1202
|
+
[key: string]: unknown;
|
|
1203
|
+
};
|
|
1204
|
+
};
|
|
1205
|
+
export type TicketMessageInput = {
|
|
1206
|
+
/**
|
|
1207
|
+
* Reply body in markdown.
|
|
1208
|
+
*/
|
|
1209
|
+
body: string;
|
|
1210
|
+
};
|
|
1211
|
+
export type TicketMessage = {
|
|
1212
|
+
/**
|
|
1213
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1214
|
+
*/
|
|
1215
|
+
id: string;
|
|
1216
|
+
/**
|
|
1217
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1218
|
+
*/
|
|
1219
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1220
|
+
/**
|
|
1221
|
+
* Message body in markdown.
|
|
1222
|
+
*/
|
|
1223
|
+
body: string;
|
|
1224
|
+
/**
|
|
1225
|
+
* First name of the author. Null when not provided.
|
|
1226
|
+
*/
|
|
1227
|
+
author_first_name?: string;
|
|
1228
|
+
/**
|
|
1229
|
+
* Last name of the author. Null when not provided.
|
|
1230
|
+
*/
|
|
1231
|
+
author_last_name?: string;
|
|
1232
|
+
/**
|
|
1233
|
+
* Attachments associated with this message.
|
|
1234
|
+
*/
|
|
1235
|
+
attachments?: Array<{
|
|
551
1236
|
/**
|
|
552
|
-
*
|
|
1237
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
553
1238
|
*/
|
|
554
|
-
|
|
1239
|
+
id: string;
|
|
555
1240
|
/**
|
|
556
|
-
*
|
|
1241
|
+
* Original filename as uploaded.
|
|
557
1242
|
*/
|
|
558
|
-
|
|
1243
|
+
filename: string;
|
|
559
1244
|
/**
|
|
560
|
-
*
|
|
1245
|
+
* MIME content type of the attachment.
|
|
561
1246
|
*/
|
|
562
|
-
|
|
1247
|
+
content_type: string;
|
|
563
1248
|
/**
|
|
564
|
-
*
|
|
1249
|
+
* Size of the attachment in bytes.
|
|
565
1250
|
*/
|
|
566
|
-
|
|
567
|
-
/**
|
|
568
|
-
* Child items of the invoice item
|
|
569
|
-
*/
|
|
570
|
-
childItems?: Array<Array<unknown> | boolean | number | {
|
|
571
|
-
[key: string]: unknown;
|
|
572
|
-
} | string>;
|
|
1251
|
+
size: number;
|
|
573
1252
|
}>;
|
|
574
1253
|
/**
|
|
575
|
-
*
|
|
1254
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
576
1255
|
*/
|
|
577
|
-
|
|
578
|
-
/**
|
|
579
|
-
* Unique identifier of the invoice item. UUID v4 string in canonical form
|
|
580
|
-
*/
|
|
581
|
-
id?: string;
|
|
582
|
-
/**
|
|
583
|
-
* Unique identifier of the linked invoice item. UUID v4 string in canonical form
|
|
584
|
-
*/
|
|
585
|
-
linkedInvoiceItemId?: string;
|
|
586
|
-
/**
|
|
587
|
-
* Name of the product
|
|
588
|
-
*/
|
|
589
|
-
productName?: string;
|
|
590
|
-
/**
|
|
591
|
-
* Name of the plan
|
|
592
|
-
*/
|
|
593
|
-
planName?: string;
|
|
594
|
-
/**
|
|
595
|
-
* Name of the phase
|
|
596
|
-
*/
|
|
597
|
-
phaseName?: string;
|
|
598
|
-
/**
|
|
599
|
-
* Name of the usage
|
|
600
|
-
*/
|
|
601
|
-
usageName?: string;
|
|
602
|
-
/**
|
|
603
|
-
* Pretty name of the product
|
|
604
|
-
*/
|
|
605
|
-
prettyProductName?: string;
|
|
606
|
-
/**
|
|
607
|
-
* Pretty name of the plan
|
|
608
|
-
*/
|
|
609
|
-
prettyPlanName?: string;
|
|
610
|
-
/**
|
|
611
|
-
* Pretty name of the phase
|
|
612
|
-
*/
|
|
613
|
-
prettyPhaseName?: string;
|
|
614
|
-
/**
|
|
615
|
-
* Pretty name of the usage
|
|
616
|
-
*/
|
|
617
|
-
prettyUsageName?: string;
|
|
618
|
-
/**
|
|
619
|
-
* Type of the invoice item
|
|
620
|
-
*/
|
|
621
|
-
itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
|
|
622
|
-
/**
|
|
623
|
-
* Description of the invoice item
|
|
624
|
-
*/
|
|
625
|
-
description?: string;
|
|
626
|
-
/**
|
|
627
|
-
* Start date of the invoice item
|
|
628
|
-
*/
|
|
629
|
-
startDate?: string;
|
|
630
|
-
/**
|
|
631
|
-
* End date of the invoice item
|
|
632
|
-
*/
|
|
633
|
-
endDate?: string;
|
|
634
|
-
/**
|
|
635
|
-
* Amount of the invoice item
|
|
636
|
-
*/
|
|
637
|
-
amount?: number;
|
|
638
|
-
/**
|
|
639
|
-
* Rate of the invoice item
|
|
640
|
-
*/
|
|
641
|
-
rate?: number;
|
|
642
|
-
/**
|
|
643
|
-
* Currency of the invoice item
|
|
644
|
-
*/
|
|
645
|
-
currency?: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SPL' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TVD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWD' | 'BTC';
|
|
646
|
-
/**
|
|
647
|
-
* Quantity of the invoice item
|
|
648
|
-
*/
|
|
649
|
-
quantity?: number;
|
|
650
|
-
/**
|
|
651
|
-
* Details of the invoice item
|
|
652
|
-
*/
|
|
653
|
-
itemDetails?: string;
|
|
654
|
-
/**
|
|
655
|
-
* Effective date of the catalog
|
|
656
|
-
*/
|
|
657
|
-
catalogEffectiveDate?: string;
|
|
658
|
-
/**
|
|
659
|
-
* Child items of the invoice item
|
|
660
|
-
*/
|
|
661
|
-
childItems?: Array<Array<unknown> | boolean | number | {
|
|
662
|
-
[key: string]: unknown;
|
|
663
|
-
} | string>;
|
|
664
|
-
}>;
|
|
1256
|
+
date_created: string;
|
|
665
1257
|
};
|
|
666
|
-
export type
|
|
667
|
-
/**
|
|
668
|
-
* Street address, P.O. box, c/o
|
|
669
|
-
*/
|
|
670
|
-
address1?: string;
|
|
671
|
-
/**
|
|
672
|
-
* Apartment, suite, unit, building, floor, etc.
|
|
673
|
-
*/
|
|
674
|
-
address2?: string;
|
|
675
|
-
/**
|
|
676
|
-
* Postal code as a string.
|
|
677
|
-
*/
|
|
678
|
-
postalCode?: string;
|
|
679
|
-
/**
|
|
680
|
-
* City or town name.
|
|
681
|
-
*/
|
|
682
|
-
city?: string;
|
|
1258
|
+
export type Ticket = {
|
|
683
1259
|
/**
|
|
684
|
-
*
|
|
1260
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
685
1261
|
*/
|
|
686
|
-
|
|
1262
|
+
id: string;
|
|
687
1263
|
/**
|
|
688
|
-
*
|
|
1264
|
+
* Current state of the ticket.
|
|
689
1265
|
*/
|
|
690
|
-
|
|
1266
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
691
1267
|
/**
|
|
692
|
-
*
|
|
1268
|
+
* Ticket category.
|
|
693
1269
|
*/
|
|
694
|
-
|
|
1270
|
+
category: 'billing' | 'technical' | 'general';
|
|
695
1271
|
/**
|
|
696
|
-
*
|
|
1272
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
697
1273
|
*/
|
|
698
|
-
|
|
1274
|
+
summary: string;
|
|
699
1275
|
/**
|
|
700
|
-
*
|
|
1276
|
+
* Closure timestamp. Null while the ticket is open.
|
|
701
1277
|
*/
|
|
702
|
-
|
|
1278
|
+
closed_at?: string;
|
|
703
1279
|
/**
|
|
704
|
-
*
|
|
1280
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
705
1281
|
*/
|
|
706
|
-
|
|
707
|
-
};
|
|
708
|
-
export type OrganizationCreateInput = {
|
|
1282
|
+
date_created: string;
|
|
709
1283
|
/**
|
|
710
|
-
*
|
|
1284
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
711
1285
|
*/
|
|
712
|
-
|
|
1286
|
+
date_updated: string;
|
|
713
1287
|
/**
|
|
714
|
-
*
|
|
1288
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
715
1289
|
*/
|
|
716
|
-
|
|
717
|
-
/**
|
|
718
|
-
* Street address, P.O. box, c/o
|
|
719
|
-
*/
|
|
720
|
-
address1?: string;
|
|
721
|
-
/**
|
|
722
|
-
* Apartment, suite, unit, building, floor, etc.
|
|
723
|
-
*/
|
|
724
|
-
address2?: string;
|
|
1290
|
+
messages?: Array<{
|
|
725
1291
|
/**
|
|
726
|
-
*
|
|
1292
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
727
1293
|
*/
|
|
728
|
-
|
|
729
|
-
/**
|
|
730
|
-
* City or town name.
|
|
731
|
-
*/
|
|
732
|
-
city?: string;
|
|
1294
|
+
id: string;
|
|
733
1295
|
/**
|
|
734
|
-
*
|
|
1296
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
735
1297
|
*/
|
|
736
|
-
|
|
1298
|
+
type: 'customer_reply' | 'agent_reply';
|
|
737
1299
|
/**
|
|
738
|
-
*
|
|
1300
|
+
* Message body in markdown.
|
|
739
1301
|
*/
|
|
740
|
-
|
|
1302
|
+
body: string;
|
|
741
1303
|
/**
|
|
742
|
-
*
|
|
1304
|
+
* First name of the author. Null when not provided.
|
|
743
1305
|
*/
|
|
744
|
-
|
|
1306
|
+
author_first_name?: string;
|
|
745
1307
|
/**
|
|
746
|
-
*
|
|
1308
|
+
* Last name of the author. Null when not provided.
|
|
747
1309
|
*/
|
|
748
|
-
|
|
1310
|
+
author_last_name?: string;
|
|
749
1311
|
/**
|
|
750
|
-
*
|
|
1312
|
+
* Attachments associated with this message.
|
|
751
1313
|
*/
|
|
752
|
-
|
|
1314
|
+
attachments?: Array<{
|
|
1315
|
+
/**
|
|
1316
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1317
|
+
*/
|
|
1318
|
+
id: string;
|
|
1319
|
+
/**
|
|
1320
|
+
* Original filename as uploaded.
|
|
1321
|
+
*/
|
|
1322
|
+
filename: string;
|
|
1323
|
+
/**
|
|
1324
|
+
* MIME content type of the attachment.
|
|
1325
|
+
*/
|
|
1326
|
+
content_type: string;
|
|
1327
|
+
/**
|
|
1328
|
+
* Size of the attachment in bytes.
|
|
1329
|
+
*/
|
|
1330
|
+
size: number;
|
|
1331
|
+
}>;
|
|
753
1332
|
/**
|
|
754
|
-
*
|
|
1333
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
755
1334
|
*/
|
|
756
|
-
|
|
757
|
-
}
|
|
1335
|
+
date_created: string;
|
|
1336
|
+
}>;
|
|
1337
|
+
};
|
|
1338
|
+
export type TokenCreateInput = {
|
|
758
1339
|
/**
|
|
759
|
-
*
|
|
1340
|
+
* Human readable access token name.
|
|
760
1341
|
*/
|
|
761
|
-
|
|
1342
|
+
name: string;
|
|
1343
|
+
/**
|
|
1344
|
+
* Role assumed by the token.
|
|
1345
|
+
*/
|
|
1346
|
+
role: 'Administrator' | 'User';
|
|
762
1347
|
};
|
|
763
|
-
export type
|
|
1348
|
+
export type Token = {
|
|
764
1349
|
/**
|
|
765
|
-
*
|
|
1350
|
+
* Human readable access token name.
|
|
766
1351
|
*/
|
|
767
1352
|
name: string;
|
|
768
1353
|
/**
|
|
769
|
-
*
|
|
1354
|
+
* Role assumed by the token.
|
|
770
1355
|
*/
|
|
771
|
-
|
|
772
|
-
/**
|
|
773
|
-
* Street address, P.O. box, c/o
|
|
774
|
-
*/
|
|
775
|
-
address1?: string;
|
|
776
|
-
/**
|
|
777
|
-
* Apartment, suite, unit, building, floor, etc.
|
|
778
|
-
*/
|
|
779
|
-
address2?: string;
|
|
780
|
-
/**
|
|
781
|
-
* Postal code as a string.
|
|
782
|
-
*/
|
|
783
|
-
postalCode?: string;
|
|
784
|
-
/**
|
|
785
|
-
* City or town name.
|
|
786
|
-
*/
|
|
787
|
-
city?: string;
|
|
788
|
-
/**
|
|
789
|
-
* State, province, or region name.
|
|
790
|
-
*/
|
|
791
|
-
state?: string;
|
|
792
|
-
/**
|
|
793
|
-
* Country as a ISO 3166-1 alpha-2 country code.
|
|
794
|
-
*/
|
|
795
|
-
country?: string;
|
|
796
|
-
/**
|
|
797
|
-
* Phone number as a string.
|
|
798
|
-
*/
|
|
799
|
-
phone?: string;
|
|
800
|
-
/**
|
|
801
|
-
* Email address used for billing as a string.
|
|
802
|
-
*/
|
|
803
|
-
email: string;
|
|
804
|
-
/**
|
|
805
|
-
* First name of the billing contact person.
|
|
806
|
-
*/
|
|
807
|
-
first_name: string;
|
|
808
|
-
/**
|
|
809
|
-
* Last name of the billing contact person.
|
|
810
|
-
*/
|
|
811
|
-
last_name: string;
|
|
812
|
-
};
|
|
1356
|
+
role: 'Administrator' | 'User';
|
|
813
1357
|
/**
|
|
814
|
-
*
|
|
1358
|
+
* Generated unique identifier of the access token.
|
|
815
1359
|
*/
|
|
816
|
-
id
|
|
1360
|
+
id?: string;
|
|
817
1361
|
/**
|
|
818
|
-
*
|
|
1362
|
+
* Access token secret. Unmasked only during creation.
|
|
819
1363
|
*/
|
|
820
|
-
|
|
1364
|
+
secret?: string;
|
|
821
1365
|
/**
|
|
822
|
-
*
|
|
1366
|
+
* Creation date of the access token. ISO 8601 date string in UTC timezone
|
|
823
1367
|
*/
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
*/
|
|
828
|
-
basic_clusters_max: number;
|
|
829
|
-
/**
|
|
830
|
-
* Available number of Basic clusters that can be created.
|
|
831
|
-
*/
|
|
832
|
-
basic_clusters_available: number;
|
|
833
|
-
/**
|
|
834
|
-
* Maximum number of Pro clusters that can be created.
|
|
835
|
-
*/
|
|
836
|
-
pro_clusters_max: number;
|
|
837
|
-
/**
|
|
838
|
-
* Available number of Pro clusters that can be created.
|
|
839
|
-
*/
|
|
840
|
-
pro_clusters_available: number;
|
|
841
|
-
/**
|
|
842
|
-
* Maximum number of fleets that can be created per cluster.
|
|
843
|
-
*/
|
|
844
|
-
fleets_max: number;
|
|
845
|
-
/**
|
|
846
|
-
* Maximum number of CPU cores per managed fleet.
|
|
847
|
-
*/
|
|
848
|
-
managed_fleets_cpu_max: number;
|
|
849
|
-
/**
|
|
850
|
-
* List of Cloudfleet cluster tiers available for the organization.
|
|
851
|
-
*/
|
|
852
|
-
cluster_tiers: Array<string>;
|
|
853
|
-
/**
|
|
854
|
-
* List of Cloudfleet control plane regions available for the organization.
|
|
855
|
-
*/
|
|
856
|
-
regions: Array<string>;
|
|
857
|
-
/**
|
|
858
|
-
* List of CFKE control plane versions available for the organization.
|
|
859
|
-
*/
|
|
860
|
-
versions: Array<{
|
|
861
|
-
/**
|
|
862
|
-
* Id of the control plane version. Used in API calls.
|
|
863
|
-
*/
|
|
864
|
-
id: string;
|
|
865
|
-
/**
|
|
866
|
-
* Label of the control plane version. Used in frontent UI.
|
|
867
|
-
*/
|
|
868
|
-
label: string;
|
|
869
|
-
}>;
|
|
870
|
-
};
|
|
1368
|
+
date_created: string;
|
|
1369
|
+
};
|
|
1370
|
+
export type TokenUpdateInput = {
|
|
871
1371
|
/**
|
|
872
|
-
*
|
|
1372
|
+
* Human readable access token name.
|
|
873
1373
|
*/
|
|
874
|
-
|
|
1374
|
+
name?: string;
|
|
875
1375
|
/**
|
|
876
|
-
*
|
|
1376
|
+
* Role assumed by the token.
|
|
877
1377
|
*/
|
|
878
|
-
|
|
1378
|
+
role?: 'Administrator' | 'User';
|
|
879
1379
|
};
|
|
880
|
-
export type
|
|
1380
|
+
export type UsageFacets = {
|
|
881
1381
|
/**
|
|
882
|
-
*
|
|
1382
|
+
* List of unique cluster IDs
|
|
883
1383
|
*/
|
|
884
|
-
|
|
1384
|
+
cluster_id?: Array<string>;
|
|
885
1385
|
/**
|
|
886
|
-
*
|
|
1386
|
+
* List of unique products
|
|
887
1387
|
*/
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
*/
|
|
896
|
-
address2?: string;
|
|
1388
|
+
product?: Array<'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage'>;
|
|
1389
|
+
};
|
|
1390
|
+
export type UsageResponse = {
|
|
1391
|
+
/**
|
|
1392
|
+
* Usage data
|
|
1393
|
+
*/
|
|
1394
|
+
data: Array<{
|
|
897
1395
|
/**
|
|
898
|
-
*
|
|
1396
|
+
* Hour of the usage
|
|
899
1397
|
*/
|
|
900
|
-
|
|
1398
|
+
hour: string;
|
|
901
1399
|
/**
|
|
902
|
-
*
|
|
1400
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
903
1401
|
*/
|
|
904
|
-
|
|
1402
|
+
cluster_id: string;
|
|
905
1403
|
/**
|
|
906
|
-
*
|
|
1404
|
+
* The product the usage is associated with
|
|
907
1405
|
*/
|
|
908
|
-
|
|
1406
|
+
product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
|
|
909
1407
|
/**
|
|
910
|
-
*
|
|
1408
|
+
* Consumption
|
|
911
1409
|
*/
|
|
912
|
-
|
|
1410
|
+
value: number;
|
|
913
1411
|
/**
|
|
914
|
-
*
|
|
1412
|
+
* Price per unit
|
|
915
1413
|
*/
|
|
916
|
-
|
|
1414
|
+
price: number;
|
|
917
1415
|
/**
|
|
918
|
-
*
|
|
1416
|
+
* Total cost
|
|
919
1417
|
*/
|
|
920
|
-
|
|
1418
|
+
total: number;
|
|
1419
|
+
}>;
|
|
1420
|
+
/**
|
|
1421
|
+
* Facets for filtering
|
|
1422
|
+
*/
|
|
1423
|
+
facets: {
|
|
921
1424
|
/**
|
|
922
|
-
*
|
|
1425
|
+
* List of unique cluster IDs
|
|
923
1426
|
*/
|
|
924
|
-
|
|
1427
|
+
cluster_id?: Array<string>;
|
|
925
1428
|
/**
|
|
926
|
-
*
|
|
1429
|
+
* List of unique products
|
|
927
1430
|
*/
|
|
928
|
-
|
|
1431
|
+
product?: Array<'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage'>;
|
|
929
1432
|
};
|
|
930
1433
|
};
|
|
931
|
-
export type
|
|
932
|
-
/**
|
|
933
|
-
* Unique identifier of the organization. UUID v4 string in canonical form.
|
|
934
|
-
*/
|
|
935
|
-
id: string;
|
|
1434
|
+
export type Usage = {
|
|
936
1435
|
/**
|
|
937
|
-
*
|
|
1436
|
+
* Hour of the usage
|
|
938
1437
|
*/
|
|
939
|
-
|
|
1438
|
+
hour: string;
|
|
940
1439
|
/**
|
|
941
|
-
*
|
|
1440
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
942
1441
|
*/
|
|
943
|
-
|
|
1442
|
+
cluster_id: string;
|
|
944
1443
|
/**
|
|
945
|
-
*
|
|
1444
|
+
* The product the usage is associated with
|
|
946
1445
|
*/
|
|
947
|
-
|
|
1446
|
+
product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
|
|
948
1447
|
/**
|
|
949
|
-
*
|
|
1448
|
+
* Consumption
|
|
950
1449
|
*/
|
|
951
|
-
|
|
1450
|
+
value: number;
|
|
952
1451
|
/**
|
|
953
|
-
*
|
|
1452
|
+
* Price per unit
|
|
954
1453
|
*/
|
|
955
|
-
|
|
1454
|
+
price: number;
|
|
956
1455
|
/**
|
|
957
|
-
*
|
|
1456
|
+
* Total cost
|
|
958
1457
|
*/
|
|
959
|
-
|
|
1458
|
+
total: number;
|
|
960
1459
|
};
|
|
961
|
-
export type
|
|
1460
|
+
export type UserCreateInput = {
|
|
962
1461
|
/**
|
|
963
|
-
*
|
|
1462
|
+
* User email address.
|
|
964
1463
|
*/
|
|
965
|
-
|
|
1464
|
+
email: string;
|
|
966
1465
|
/**
|
|
967
|
-
*
|
|
1466
|
+
* User first name.
|
|
968
1467
|
*/
|
|
969
|
-
|
|
970
|
-
};
|
|
971
|
-
export type Token = {
|
|
1468
|
+
first_name: string;
|
|
972
1469
|
/**
|
|
973
|
-
*
|
|
1470
|
+
* User last name.
|
|
974
1471
|
*/
|
|
975
|
-
|
|
1472
|
+
last_name: string;
|
|
976
1473
|
/**
|
|
977
|
-
*
|
|
1474
|
+
* Generated unique invite code.
|
|
978
1475
|
*/
|
|
979
|
-
|
|
1476
|
+
code: string;
|
|
980
1477
|
/**
|
|
981
|
-
*
|
|
1478
|
+
* User password. Must be at least 8 characters long.
|
|
982
1479
|
*/
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
*/
|
|
987
|
-
secret?: string;
|
|
988
|
-
/**
|
|
989
|
-
* Creation date of the access token. ISO 8601 date string in UTC timezone
|
|
990
|
-
*/
|
|
991
|
-
date_created: string;
|
|
992
|
-
};
|
|
993
|
-
export type TokenUpdateInput = {
|
|
994
|
-
/**
|
|
995
|
-
* Human readable access token name.
|
|
996
|
-
*/
|
|
997
|
-
name?: string;
|
|
998
|
-
/**
|
|
999
|
-
* Role assumed by the token.
|
|
1000
|
-
*/
|
|
1001
|
-
role?: 'Administrator' | 'User';
|
|
1002
|
-
};
|
|
1003
|
-
export type Usage = {
|
|
1004
|
-
/**
|
|
1005
|
-
* Unique identifier of the Usage object, equal to subscription id of the task . UUID v4 string in canonical form
|
|
1006
|
-
*/
|
|
1007
|
-
id: string;
|
|
1008
|
-
/**
|
|
1009
|
-
* Unique identifier of the project. UUID v4 string in canonical form
|
|
1010
|
-
*/
|
|
1011
|
-
task_id: string;
|
|
1012
|
-
/**
|
|
1013
|
-
* Unit of measurement. E.g. GiB, seconds, etc
|
|
1014
|
-
*/
|
|
1015
|
-
unit: string;
|
|
1016
|
-
amount: number;
|
|
1017
|
-
};
|
|
1018
|
-
export type UserCreateInput = {
|
|
1019
|
-
/**
|
|
1020
|
-
* User email address.
|
|
1021
|
-
*/
|
|
1022
|
-
email: string;
|
|
1023
|
-
/**
|
|
1024
|
-
* User first name.
|
|
1025
|
-
*/
|
|
1026
|
-
first_name: string;
|
|
1027
|
-
/**
|
|
1028
|
-
* User last name.
|
|
1029
|
-
*/
|
|
1030
|
-
last_name: string;
|
|
1031
|
-
/**
|
|
1032
|
-
* Generated unique invite code.
|
|
1033
|
-
*/
|
|
1034
|
-
code: string;
|
|
1035
|
-
/**
|
|
1036
|
-
* User password. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
|
|
1037
|
-
*/
|
|
1038
|
-
password: string;
|
|
1039
|
-
/**
|
|
1040
|
-
* Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
|
|
1041
|
-
*/
|
|
1042
|
-
status?: 'active' | 'inactive';
|
|
1043
|
-
/**
|
|
1044
|
-
* User role. Can be 'Administrator', 'User'.
|
|
1045
|
-
*/
|
|
1046
|
-
role?: 'Administrator' | 'User';
|
|
1047
|
-
};
|
|
1048
|
-
export type User = {
|
|
1480
|
+
password: string;
|
|
1481
|
+
};
|
|
1482
|
+
export type User = {
|
|
1049
1483
|
/**
|
|
1050
1484
|
* User email address.
|
|
1051
1485
|
*/
|
|
@@ -1074,16 +1508,6 @@ export type User = {
|
|
|
1074
1508
|
* Creation date of the user. ISO 8601 date string in UTC timezone
|
|
1075
1509
|
*/
|
|
1076
1510
|
date_created: string;
|
|
1077
|
-
cluster_permissions?: Array<{
|
|
1078
|
-
/**
|
|
1079
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1080
|
-
*/
|
|
1081
|
-
cluster_id: string;
|
|
1082
|
-
/**
|
|
1083
|
-
* User permissions to access the cluster. Can be `readwrite` or `readonly`.
|
|
1084
|
-
*/
|
|
1085
|
-
permissions: 'readwrite' | 'readonly';
|
|
1086
|
-
}>;
|
|
1087
1511
|
};
|
|
1088
1512
|
export type UserUpdateInput = {
|
|
1089
1513
|
/**
|
|
@@ -1107,641 +1531,658 @@ export type UserUpdateInput = {
|
|
|
1107
1531
|
*/
|
|
1108
1532
|
status?: 'active' | 'inactive';
|
|
1109
1533
|
};
|
|
1110
|
-
export type
|
|
1534
|
+
export type ListUserOrganizationsData = {
|
|
1111
1535
|
body?: never;
|
|
1112
|
-
path
|
|
1113
|
-
|
|
1536
|
+
path: {
|
|
1537
|
+
/**
|
|
1538
|
+
* User email address.
|
|
1539
|
+
*/
|
|
1540
|
+
email: string;
|
|
1541
|
+
};
|
|
1542
|
+
query?: never;
|
|
1543
|
+
url: '/users/organizations/{email}';
|
|
1544
|
+
};
|
|
1545
|
+
export type ListUserOrganizationsResponses = {
|
|
1546
|
+
/**
|
|
1547
|
+
* An array of organizations the user belongs to.
|
|
1548
|
+
*/
|
|
1549
|
+
200: Array<{
|
|
1114
1550
|
/**
|
|
1115
|
-
*
|
|
1551
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
1116
1552
|
*/
|
|
1117
|
-
|
|
1553
|
+
realm?: string;
|
|
1118
1554
|
/**
|
|
1119
|
-
*
|
|
1555
|
+
* Human-readable name of the organization
|
|
1120
1556
|
*/
|
|
1121
|
-
|
|
1122
|
-
}
|
|
1123
|
-
url: '/billing/usage';
|
|
1557
|
+
displayName?: string;
|
|
1558
|
+
}>;
|
|
1124
1559
|
};
|
|
1125
|
-
export type
|
|
1560
|
+
export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
|
|
1561
|
+
export type ListUsersData = {
|
|
1562
|
+
body?: never;
|
|
1563
|
+
path?: never;
|
|
1564
|
+
query?: never;
|
|
1565
|
+
url: '/users';
|
|
1566
|
+
};
|
|
1567
|
+
export type ListUsersErrors = {
|
|
1126
1568
|
/**
|
|
1127
1569
|
* Not authenticated
|
|
1128
1570
|
*/
|
|
1129
1571
|
401: unknown;
|
|
1130
1572
|
};
|
|
1131
|
-
export type
|
|
1573
|
+
export type ListUsersResponses = {
|
|
1132
1574
|
/**
|
|
1133
|
-
* An array of
|
|
1575
|
+
* An array of users
|
|
1134
1576
|
*/
|
|
1135
|
-
200: Array<
|
|
1577
|
+
200: Array<User>;
|
|
1136
1578
|
};
|
|
1137
|
-
export type
|
|
1138
|
-
export type
|
|
1139
|
-
body
|
|
1579
|
+
export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
|
|
1580
|
+
export type CreateUserData = {
|
|
1581
|
+
body: UserCreateInput;
|
|
1140
1582
|
path?: never;
|
|
1141
1583
|
query?: never;
|
|
1142
|
-
url: '/
|
|
1584
|
+
url: '/users';
|
|
1143
1585
|
};
|
|
1144
|
-
export type
|
|
1586
|
+
export type CreateUserResponses = {
|
|
1145
1587
|
/**
|
|
1146
|
-
*
|
|
1588
|
+
* Successfully created. Returns created user details.
|
|
1147
1589
|
*/
|
|
1148
|
-
200:
|
|
1590
|
+
200: User;
|
|
1149
1591
|
};
|
|
1150
|
-
export type
|
|
1151
|
-
export type
|
|
1592
|
+
export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
|
|
1593
|
+
export type DeleteUserData = {
|
|
1152
1594
|
body?: never;
|
|
1153
|
-
path
|
|
1595
|
+
path: {
|
|
1596
|
+
/**
|
|
1597
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1598
|
+
*/
|
|
1599
|
+
user_id: string;
|
|
1600
|
+
};
|
|
1154
1601
|
query?: never;
|
|
1155
|
-
url: '/
|
|
1602
|
+
url: '/users/{user_id}';
|
|
1156
1603
|
};
|
|
1157
|
-
export type
|
|
1604
|
+
export type DeleteUserErrors = {
|
|
1158
1605
|
/**
|
|
1159
|
-
*
|
|
1606
|
+
* Deleting own user is not allowed. Delete your organization instead.
|
|
1160
1607
|
*/
|
|
1161
|
-
|
|
1162
|
-
};
|
|
1163
|
-
export type GetPaymentMethodResponses = {
|
|
1608
|
+
400: unknown;
|
|
1164
1609
|
/**
|
|
1165
|
-
*
|
|
1610
|
+
* Not authenticated
|
|
1166
1611
|
*/
|
|
1167
|
-
|
|
1168
|
-
};
|
|
1169
|
-
export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
|
|
1170
|
-
export type GetPaymentMethodSecretData = {
|
|
1171
|
-
body?: never;
|
|
1172
|
-
path?: never;
|
|
1173
|
-
query?: never;
|
|
1174
|
-
url: '/billing/payment-method';
|
|
1612
|
+
401: unknown;
|
|
1175
1613
|
};
|
|
1176
|
-
export type
|
|
1614
|
+
export type DeleteUserResponses = {
|
|
1177
1615
|
/**
|
|
1178
|
-
*
|
|
1179
|
-
*
|
|
1616
|
+
* User profile information
|
|
1180
1617
|
*/
|
|
1181
|
-
200:
|
|
1182
|
-
/**
|
|
1183
|
-
* The client secret.
|
|
1184
|
-
*/
|
|
1185
|
-
id?: string;
|
|
1186
|
-
};
|
|
1618
|
+
200: User;
|
|
1187
1619
|
};
|
|
1188
|
-
export type
|
|
1189
|
-
export type
|
|
1620
|
+
export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
|
|
1621
|
+
export type GetUserData = {
|
|
1190
1622
|
body?: never;
|
|
1191
|
-
path
|
|
1192
|
-
query: {
|
|
1193
|
-
/**
|
|
1194
|
-
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1195
|
-
*/
|
|
1196
|
-
start_date: string;
|
|
1623
|
+
path: {
|
|
1197
1624
|
/**
|
|
1198
|
-
*
|
|
1625
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1199
1626
|
*/
|
|
1200
|
-
|
|
1627
|
+
user_id: string;
|
|
1201
1628
|
};
|
|
1202
|
-
|
|
1629
|
+
query?: never;
|
|
1630
|
+
url: '/users/{user_id}';
|
|
1203
1631
|
};
|
|
1204
|
-
export type
|
|
1632
|
+
export type GetUserErrors = {
|
|
1205
1633
|
/**
|
|
1206
1634
|
* Not authenticated
|
|
1207
1635
|
*/
|
|
1208
1636
|
401: unknown;
|
|
1209
1637
|
};
|
|
1210
|
-
export type
|
|
1638
|
+
export type GetUserResponses = {
|
|
1211
1639
|
/**
|
|
1212
|
-
*
|
|
1640
|
+
* User profile information
|
|
1213
1641
|
*/
|
|
1214
|
-
200:
|
|
1642
|
+
200: User;
|
|
1215
1643
|
};
|
|
1216
|
-
export type
|
|
1217
|
-
export type
|
|
1218
|
-
body
|
|
1644
|
+
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
1645
|
+
export type UpdateUserData = {
|
|
1646
|
+
body: UserUpdateInput;
|
|
1219
1647
|
path: {
|
|
1220
1648
|
/**
|
|
1221
|
-
* Unique
|
|
1649
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1222
1650
|
*/
|
|
1223
|
-
|
|
1651
|
+
user_id: string;
|
|
1224
1652
|
};
|
|
1225
1653
|
query?: never;
|
|
1226
|
-
url: '/
|
|
1654
|
+
url: '/users/{user_id}';
|
|
1227
1655
|
};
|
|
1228
|
-
export type
|
|
1656
|
+
export type UpdateUserResponses = {
|
|
1229
1657
|
/**
|
|
1230
|
-
*
|
|
1658
|
+
* Successfully created. Returns created user details.
|
|
1231
1659
|
*/
|
|
1232
|
-
200:
|
|
1233
|
-
html?: string;
|
|
1234
|
-
};
|
|
1660
|
+
200: User;
|
|
1235
1661
|
};
|
|
1236
|
-
export type
|
|
1237
|
-
export type
|
|
1662
|
+
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1663
|
+
export type ListTokensData = {
|
|
1238
1664
|
body?: never;
|
|
1239
|
-
path
|
|
1240
|
-
/**
|
|
1241
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1242
|
-
*/
|
|
1243
|
-
cluster_id: string;
|
|
1244
|
-
};
|
|
1665
|
+
path?: never;
|
|
1245
1666
|
query?: never;
|
|
1246
|
-
url: '/
|
|
1667
|
+
url: '/tokens';
|
|
1247
1668
|
};
|
|
1248
|
-
export type
|
|
1669
|
+
export type ListTokensErrors = {
|
|
1249
1670
|
/**
|
|
1250
1671
|
* Not authenticated
|
|
1251
1672
|
*/
|
|
1252
1673
|
401: unknown;
|
|
1253
1674
|
};
|
|
1254
|
-
export type
|
|
1675
|
+
export type ListTokensResponses = {
|
|
1255
1676
|
/**
|
|
1256
|
-
*
|
|
1677
|
+
* Returns a list of access token details with masked secrets.
|
|
1257
1678
|
*/
|
|
1258
|
-
200: Array<
|
|
1679
|
+
200: Array<Token>;
|
|
1259
1680
|
};
|
|
1260
|
-
export type
|
|
1261
|
-
export type
|
|
1262
|
-
body:
|
|
1263
|
-
path
|
|
1264
|
-
/**
|
|
1265
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1266
|
-
*/
|
|
1267
|
-
cluster_id: string;
|
|
1268
|
-
};
|
|
1681
|
+
export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
|
|
1682
|
+
export type CreateTokenData = {
|
|
1683
|
+
body: TokenCreateInput;
|
|
1684
|
+
path?: never;
|
|
1269
1685
|
query?: never;
|
|
1270
|
-
url: '/
|
|
1686
|
+
url: '/tokens';
|
|
1271
1687
|
};
|
|
1272
|
-
export type
|
|
1688
|
+
export type CreateTokenErrors = {
|
|
1273
1689
|
/**
|
|
1274
|
-
*
|
|
1690
|
+
* Not authenticated
|
|
1275
1691
|
*/
|
|
1276
|
-
|
|
1692
|
+
401: unknown;
|
|
1277
1693
|
};
|
|
1278
|
-
export type
|
|
1279
|
-
export type CreateFleetResponses = {
|
|
1694
|
+
export type CreateTokenResponses = {
|
|
1280
1695
|
/**
|
|
1281
|
-
* Successfully created. Returns created
|
|
1696
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1282
1697
|
*/
|
|
1283
|
-
200:
|
|
1698
|
+
200: Token;
|
|
1284
1699
|
};
|
|
1285
|
-
export type
|
|
1286
|
-
export type
|
|
1700
|
+
export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
|
|
1701
|
+
export type DeleteTokenData = {
|
|
1287
1702
|
body?: never;
|
|
1288
1703
|
path: {
|
|
1289
1704
|
/**
|
|
1290
|
-
*
|
|
1291
|
-
*/
|
|
1292
|
-
cluster_id: string;
|
|
1293
|
-
/**
|
|
1294
|
-
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1705
|
+
* Generated unique identifier of the access token.
|
|
1295
1706
|
*/
|
|
1296
|
-
|
|
1707
|
+
token_id: string;
|
|
1297
1708
|
};
|
|
1298
1709
|
query?: never;
|
|
1299
|
-
url: '/
|
|
1710
|
+
url: '/tokens/{token_id}';
|
|
1300
1711
|
};
|
|
1301
|
-
export type
|
|
1712
|
+
export type DeleteTokenResponses = {
|
|
1302
1713
|
/**
|
|
1303
1714
|
* Successfully deleted.
|
|
1304
1715
|
*/
|
|
1305
|
-
200:
|
|
1716
|
+
200: unknown;
|
|
1306
1717
|
};
|
|
1307
|
-
export type
|
|
1308
|
-
export type GetFleetData = {
|
|
1718
|
+
export type GetTokenData = {
|
|
1309
1719
|
body?: never;
|
|
1310
1720
|
path: {
|
|
1311
1721
|
/**
|
|
1312
|
-
*
|
|
1722
|
+
* Generated unique identifier of the access token.
|
|
1313
1723
|
*/
|
|
1314
|
-
|
|
1315
|
-
/**
|
|
1316
|
-
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1317
|
-
*/
|
|
1318
|
-
fleet_name: string;
|
|
1724
|
+
token_id: string;
|
|
1319
1725
|
};
|
|
1320
1726
|
query?: never;
|
|
1321
|
-
url: '/
|
|
1727
|
+
url: '/tokens/{token_id}';
|
|
1322
1728
|
};
|
|
1323
|
-
export type
|
|
1729
|
+
export type GetTokenErrors = {
|
|
1324
1730
|
/**
|
|
1325
|
-
*
|
|
1731
|
+
* Not authenticated
|
|
1326
1732
|
*/
|
|
1327
|
-
|
|
1733
|
+
401: unknown;
|
|
1328
1734
|
};
|
|
1329
|
-
export type
|
|
1330
|
-
|
|
1331
|
-
|
|
1735
|
+
export type GetTokenResponses = {
|
|
1736
|
+
/**
|
|
1737
|
+
* Returns access token details with masked secret.
|
|
1738
|
+
*/
|
|
1739
|
+
200: Token;
|
|
1740
|
+
};
|
|
1741
|
+
export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
|
|
1742
|
+
export type UpdateTokenData = {
|
|
1743
|
+
body: TokenUpdateInput;
|
|
1332
1744
|
path: {
|
|
1333
1745
|
/**
|
|
1334
|
-
*
|
|
1335
|
-
*/
|
|
1336
|
-
cluster_id: string;
|
|
1337
|
-
/**
|
|
1338
|
-
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1746
|
+
* Generated unique identifier of the access token.
|
|
1339
1747
|
*/
|
|
1340
|
-
|
|
1748
|
+
token_id: string;
|
|
1341
1749
|
};
|
|
1342
1750
|
query?: never;
|
|
1343
|
-
url: '/
|
|
1751
|
+
url: '/tokens/{token_id}';
|
|
1344
1752
|
};
|
|
1345
|
-
export type
|
|
1753
|
+
export type UpdateTokenErrors = {
|
|
1346
1754
|
/**
|
|
1347
|
-
*
|
|
1755
|
+
* Not authenticated
|
|
1348
1756
|
*/
|
|
1349
|
-
|
|
1757
|
+
401: unknown;
|
|
1350
1758
|
};
|
|
1351
|
-
export type
|
|
1352
|
-
export type UpdateFleetResponses = {
|
|
1759
|
+
export type UpdateTokenResponses = {
|
|
1353
1760
|
/**
|
|
1354
|
-
* Successfully updated.
|
|
1761
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1355
1762
|
*/
|
|
1356
|
-
200:
|
|
1763
|
+
200: Token;
|
|
1357
1764
|
};
|
|
1358
|
-
export type
|
|
1359
|
-
export type
|
|
1765
|
+
export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
|
|
1766
|
+
export type RegenerateTokenData = {
|
|
1360
1767
|
body?: never;
|
|
1361
1768
|
path: {
|
|
1362
1769
|
/**
|
|
1363
|
-
*
|
|
1770
|
+
* Generated unique identifier of the access token.
|
|
1364
1771
|
*/
|
|
1365
|
-
|
|
1772
|
+
token_id: string;
|
|
1366
1773
|
};
|
|
1367
1774
|
query?: never;
|
|
1368
|
-
url: '/
|
|
1775
|
+
url: '/tokens/{token_id}/secret';
|
|
1369
1776
|
};
|
|
1370
|
-
export type
|
|
1777
|
+
export type RegenerateTokenErrors = {
|
|
1371
1778
|
/**
|
|
1372
1779
|
* Not authenticated
|
|
1373
1780
|
*/
|
|
1374
1781
|
401: unknown;
|
|
1375
1782
|
};
|
|
1376
|
-
export type
|
|
1783
|
+
export type RegenerateTokenResponses = {
|
|
1377
1784
|
/**
|
|
1378
|
-
*
|
|
1785
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1379
1786
|
*/
|
|
1380
|
-
200:
|
|
1787
|
+
200: Token;
|
|
1381
1788
|
};
|
|
1382
|
-
export type
|
|
1789
|
+
export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
|
|
1790
|
+
export type ListTicketsData = {
|
|
1383
1791
|
body?: never;
|
|
1384
1792
|
path?: never;
|
|
1385
1793
|
query?: never;
|
|
1386
|
-
url: '/
|
|
1387
|
-
};
|
|
1388
|
-
export type ListClustersErrors = {
|
|
1389
|
-
/**
|
|
1390
|
-
* Not authenticated
|
|
1391
|
-
*/
|
|
1392
|
-
401: unknown;
|
|
1794
|
+
url: '/tickets';
|
|
1393
1795
|
};
|
|
1394
|
-
export type
|
|
1796
|
+
export type ListTicketsResponses = {
|
|
1395
1797
|
/**
|
|
1396
|
-
* An array of
|
|
1798
|
+
* An array of tickets for the organization, newest first.
|
|
1397
1799
|
*/
|
|
1398
|
-
200: Array<
|
|
1800
|
+
200: Array<Ticket>;
|
|
1399
1801
|
};
|
|
1400
|
-
export type
|
|
1401
|
-
export type
|
|
1402
|
-
body:
|
|
1802
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
1803
|
+
export type CreateTicketData = {
|
|
1804
|
+
body: {
|
|
1805
|
+
/**
|
|
1806
|
+
* JSON-encoded TicketCreateInput.
|
|
1807
|
+
*/
|
|
1808
|
+
payload?: string;
|
|
1809
|
+
attachments?: Array<Blob | File>;
|
|
1810
|
+
};
|
|
1403
1811
|
path?: never;
|
|
1404
1812
|
query?: never;
|
|
1405
|
-
url: '/
|
|
1406
|
-
};
|
|
1407
|
-
export type CreateClusterErrors = {
|
|
1408
|
-
/**
|
|
1409
|
-
* Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
|
|
1410
|
-
*/
|
|
1411
|
-
402: string;
|
|
1813
|
+
url: '/tickets';
|
|
1412
1814
|
};
|
|
1413
|
-
export type
|
|
1414
|
-
export type CreateClusterResponses = {
|
|
1815
|
+
export type CreateTicketResponses = {
|
|
1415
1816
|
/**
|
|
1416
|
-
*
|
|
1817
|
+
* Ticket created.
|
|
1417
1818
|
*/
|
|
1418
|
-
200:
|
|
1819
|
+
200: Ticket;
|
|
1419
1820
|
};
|
|
1420
|
-
export type
|
|
1421
|
-
export type
|
|
1821
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
1822
|
+
export type CloseTicketData = {
|
|
1422
1823
|
body?: never;
|
|
1423
1824
|
path: {
|
|
1424
|
-
|
|
1425
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1426
|
-
*/
|
|
1427
|
-
cluster_id: string;
|
|
1825
|
+
ticket_id: string;
|
|
1428
1826
|
};
|
|
1429
1827
|
query?: never;
|
|
1430
|
-
url: '/
|
|
1828
|
+
url: '/tickets/{ticket_id}';
|
|
1431
1829
|
};
|
|
1432
|
-
export type
|
|
1830
|
+
export type CloseTicketResponses = {
|
|
1433
1831
|
/**
|
|
1434
|
-
*
|
|
1832
|
+
* Ticket closed.
|
|
1435
1833
|
*/
|
|
1436
|
-
200:
|
|
1834
|
+
200: Ticket;
|
|
1437
1835
|
};
|
|
1438
|
-
export type
|
|
1439
|
-
export type
|
|
1836
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
1837
|
+
export type GetTicketData = {
|
|
1440
1838
|
body?: never;
|
|
1441
1839
|
path: {
|
|
1442
|
-
|
|
1443
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1444
|
-
*/
|
|
1445
|
-
cluster_id: string;
|
|
1840
|
+
ticket_id: string;
|
|
1446
1841
|
};
|
|
1447
1842
|
query?: never;
|
|
1448
|
-
url: '/
|
|
1843
|
+
url: '/tickets/{ticket_id}';
|
|
1449
1844
|
};
|
|
1450
|
-
export type
|
|
1845
|
+
export type GetTicketResponses = {
|
|
1451
1846
|
/**
|
|
1452
|
-
*
|
|
1847
|
+
* Ticket with messages (internal notes excluded).
|
|
1453
1848
|
*/
|
|
1454
|
-
200:
|
|
1849
|
+
200: Ticket;
|
|
1455
1850
|
};
|
|
1456
|
-
export type
|
|
1457
|
-
export type
|
|
1458
|
-
body:
|
|
1459
|
-
path: {
|
|
1851
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
1852
|
+
export type ReplyTicketData = {
|
|
1853
|
+
body: {
|
|
1460
1854
|
/**
|
|
1461
|
-
*
|
|
1855
|
+
* JSON-encoded TicketMessageInput.
|
|
1462
1856
|
*/
|
|
1463
|
-
|
|
1857
|
+
payload?: string;
|
|
1858
|
+
attachments?: Array<Blob | File>;
|
|
1859
|
+
};
|
|
1860
|
+
path: {
|
|
1861
|
+
ticket_id: string;
|
|
1464
1862
|
};
|
|
1465
1863
|
query?: never;
|
|
1466
|
-
url: '/
|
|
1864
|
+
url: '/tickets/{ticket_id}/messages';
|
|
1467
1865
|
};
|
|
1468
|
-
export type
|
|
1866
|
+
export type ReplyTicketErrors = {
|
|
1469
1867
|
/**
|
|
1470
|
-
*
|
|
1868
|
+
* Ticket is closed. Open a new ticket instead.
|
|
1471
1869
|
*/
|
|
1472
|
-
|
|
1870
|
+
409: unknown;
|
|
1473
1871
|
};
|
|
1474
|
-
export type
|
|
1475
|
-
|
|
1872
|
+
export type ReplyTicketResponses = {
|
|
1873
|
+
/**
|
|
1874
|
+
* Reply appended.
|
|
1875
|
+
*/
|
|
1876
|
+
200: TicketMessage;
|
|
1877
|
+
};
|
|
1878
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
1879
|
+
export type GetTicketAttachmentData = {
|
|
1476
1880
|
body?: never;
|
|
1477
1881
|
path: {
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
*/
|
|
1481
|
-
cluster_id: string;
|
|
1882
|
+
ticket_id: string;
|
|
1883
|
+
attachment_id: string;
|
|
1482
1884
|
};
|
|
1483
1885
|
query?: never;
|
|
1484
|
-
url: '/
|
|
1886
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
1485
1887
|
};
|
|
1486
|
-
export type
|
|
1888
|
+
export type GetTicketAttachmentResponses = {
|
|
1889
|
+
/**
|
|
1890
|
+
* Attachment binary stream.
|
|
1891
|
+
*/
|
|
1892
|
+
200: Blob | File;
|
|
1893
|
+
};
|
|
1894
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1895
|
+
export type ListRepositoriesData = {
|
|
1896
|
+
body?: never;
|
|
1897
|
+
path?: never;
|
|
1898
|
+
query?: never;
|
|
1899
|
+
url: '/registry';
|
|
1900
|
+
};
|
|
1901
|
+
export type ListRepositoriesErrors = {
|
|
1487
1902
|
/**
|
|
1488
1903
|
* Not authenticated
|
|
1489
1904
|
*/
|
|
1490
1905
|
401: unknown;
|
|
1906
|
+
/**
|
|
1907
|
+
* Internal server error
|
|
1908
|
+
*/
|
|
1909
|
+
500: unknown;
|
|
1491
1910
|
};
|
|
1492
|
-
export type
|
|
1911
|
+
export type ListRepositoriesResponses = {
|
|
1493
1912
|
/**
|
|
1494
|
-
*
|
|
1913
|
+
* List of repositories
|
|
1495
1914
|
*/
|
|
1496
|
-
200:
|
|
1915
|
+
200: Array<RegistryRepository>;
|
|
1497
1916
|
};
|
|
1498
|
-
export type
|
|
1499
|
-
export type
|
|
1917
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
1918
|
+
export type ListTagsData = {
|
|
1500
1919
|
body?: never;
|
|
1501
|
-
path
|
|
1502
|
-
query?: {
|
|
1503
|
-
/**
|
|
1504
|
-
* Version of the task definition. Currently only version 1 is supported.
|
|
1505
|
-
*/
|
|
1506
|
-
version?: 1;
|
|
1507
|
-
/**
|
|
1508
|
-
* Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
1509
|
-
*/
|
|
1510
|
-
provider?: Array<string>;
|
|
1511
|
-
/**
|
|
1512
|
-
* Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
1513
|
-
*/
|
|
1514
|
-
region?: Array<string>;
|
|
1515
|
-
/**
|
|
1516
|
-
* Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
1517
|
-
*/
|
|
1518
|
-
sub_region?: Array<string>;
|
|
1519
|
-
/**
|
|
1520
|
-
* Limits selection of cloud regions to this list of canonical provider regions
|
|
1521
|
-
*/
|
|
1522
|
-
csp_region?: Array<string>;
|
|
1523
|
-
/**
|
|
1524
|
-
* Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
|
|
1525
|
-
*/
|
|
1526
|
-
instance_type?: Array<string>;
|
|
1527
|
-
/**
|
|
1528
|
-
* List of Normalized accelerator model names. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field
|
|
1529
|
-
*/
|
|
1530
|
-
accelerator_name?: Array<string>;
|
|
1531
|
-
/**
|
|
1532
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1533
|
-
*/
|
|
1534
|
-
accelerator_manufacturer?: Array<string>;
|
|
1535
|
-
/**
|
|
1536
|
-
* Minimum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
|
|
1537
|
-
*/
|
|
1538
|
-
accelerator_count_min?: number;
|
|
1539
|
-
/**
|
|
1540
|
-
* Maximum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
|
|
1541
|
-
*/
|
|
1542
|
-
accelerator_count_max?: number;
|
|
1543
|
-
/**
|
|
1544
|
-
* Minimum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
|
|
1545
|
-
*/
|
|
1546
|
-
accelerator_memory_min?: number;
|
|
1547
|
-
/**
|
|
1548
|
-
* Maximum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
|
|
1549
|
-
*/
|
|
1550
|
-
accelerator_memory_max?: number;
|
|
1551
|
-
/**
|
|
1552
|
-
* Minimum amount of RAM in gibibytes (GiB)
|
|
1553
|
-
*/
|
|
1554
|
-
memory_min?: number;
|
|
1555
|
-
/**
|
|
1556
|
-
* Maximum amount of RAM in gibibytes (GiB)
|
|
1557
|
-
*/
|
|
1558
|
-
memory_max?: number;
|
|
1920
|
+
path: {
|
|
1559
1921
|
/**
|
|
1560
|
-
*
|
|
1922
|
+
* Region where the repository is located
|
|
1561
1923
|
*/
|
|
1562
|
-
|
|
1924
|
+
region: string;
|
|
1563
1925
|
/**
|
|
1564
|
-
*
|
|
1926
|
+
* Name of the repository
|
|
1565
1927
|
*/
|
|
1566
|
-
|
|
1928
|
+
repository: string;
|
|
1929
|
+
};
|
|
1930
|
+
query?: never;
|
|
1931
|
+
url: '/registry/{region}/{repository}';
|
|
1932
|
+
};
|
|
1933
|
+
export type ListTagsErrors = {
|
|
1934
|
+
/**
|
|
1935
|
+
* Not authenticated
|
|
1936
|
+
*/
|
|
1937
|
+
401: unknown;
|
|
1938
|
+
/**
|
|
1939
|
+
* Repository not found
|
|
1940
|
+
*/
|
|
1941
|
+
404: unknown;
|
|
1942
|
+
/**
|
|
1943
|
+
* Internal server error
|
|
1944
|
+
*/
|
|
1945
|
+
500: unknown;
|
|
1946
|
+
};
|
|
1947
|
+
export type ListTagsResponses = {
|
|
1948
|
+
/**
|
|
1949
|
+
* Repository with tags
|
|
1950
|
+
*/
|
|
1951
|
+
200: RegistryRepositoryWithTags;
|
|
1952
|
+
};
|
|
1953
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
1954
|
+
export type DeleteTagData = {
|
|
1955
|
+
body?: never;
|
|
1956
|
+
path: {
|
|
1567
1957
|
/**
|
|
1568
|
-
*
|
|
1958
|
+
* Region where the repository is located
|
|
1569
1959
|
*/
|
|
1570
|
-
|
|
1960
|
+
region: string;
|
|
1571
1961
|
/**
|
|
1572
|
-
*
|
|
1962
|
+
* Name of the repository
|
|
1573
1963
|
*/
|
|
1574
|
-
|
|
1964
|
+
repository: string;
|
|
1575
1965
|
/**
|
|
1576
|
-
*
|
|
1966
|
+
* Name of the tag
|
|
1577
1967
|
*/
|
|
1578
|
-
|
|
1968
|
+
tag: string;
|
|
1969
|
+
};
|
|
1970
|
+
query?: never;
|
|
1971
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1972
|
+
};
|
|
1973
|
+
export type DeleteTagErrors = {
|
|
1974
|
+
/**
|
|
1975
|
+
* Not authenticated
|
|
1976
|
+
*/
|
|
1977
|
+
401: unknown;
|
|
1978
|
+
/**
|
|
1979
|
+
* Tag not found
|
|
1980
|
+
*/
|
|
1981
|
+
404: unknown;
|
|
1982
|
+
/**
|
|
1983
|
+
* Internal server error
|
|
1984
|
+
*/
|
|
1985
|
+
500: unknown;
|
|
1986
|
+
};
|
|
1987
|
+
export type DeleteTagResponses = {
|
|
1988
|
+
/**
|
|
1989
|
+
* Tag successfully deleted
|
|
1990
|
+
*/
|
|
1991
|
+
200: unknown;
|
|
1992
|
+
};
|
|
1993
|
+
export type GetTagData = {
|
|
1994
|
+
body?: never;
|
|
1995
|
+
path: {
|
|
1579
1996
|
/**
|
|
1580
|
-
*
|
|
1997
|
+
* Region where the repository is located
|
|
1581
1998
|
*/
|
|
1582
|
-
|
|
1999
|
+
region: string;
|
|
1583
2000
|
/**
|
|
1584
|
-
*
|
|
2001
|
+
* Name of the repository
|
|
1585
2002
|
*/
|
|
1586
|
-
|
|
2003
|
+
repository: string;
|
|
1587
2004
|
/**
|
|
1588
|
-
*
|
|
2005
|
+
* Name of the tag
|
|
1589
2006
|
*/
|
|
1590
|
-
|
|
2007
|
+
tag: string;
|
|
1591
2008
|
};
|
|
1592
|
-
|
|
2009
|
+
query?: never;
|
|
2010
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1593
2011
|
};
|
|
1594
|
-
export type
|
|
2012
|
+
export type GetTagErrors = {
|
|
2013
|
+
/**
|
|
2014
|
+
* Not authenticated
|
|
2015
|
+
*/
|
|
2016
|
+
401: unknown;
|
|
1595
2017
|
/**
|
|
1596
|
-
*
|
|
2018
|
+
* Tag not found
|
|
1597
2019
|
*/
|
|
1598
|
-
|
|
2020
|
+
404: unknown;
|
|
2021
|
+
/**
|
|
2022
|
+
* Internal server error
|
|
2023
|
+
*/
|
|
2024
|
+
500: unknown;
|
|
1599
2025
|
};
|
|
1600
|
-
export type
|
|
1601
|
-
export type GetInfrastructureResponses = {
|
|
2026
|
+
export type GetTagResponses = {
|
|
1602
2027
|
/**
|
|
1603
|
-
*
|
|
2028
|
+
* Tag details
|
|
1604
2029
|
*/
|
|
1605
|
-
200:
|
|
2030
|
+
200: RegistryTag;
|
|
1606
2031
|
};
|
|
1607
|
-
export type
|
|
1608
|
-
export type
|
|
2032
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2033
|
+
export type GetOrganizationData = {
|
|
1609
2034
|
body?: never;
|
|
1610
2035
|
path?: never;
|
|
1611
2036
|
query?: never;
|
|
1612
|
-
url: '/
|
|
2037
|
+
url: '/organization';
|
|
1613
2038
|
};
|
|
1614
|
-
export type
|
|
2039
|
+
export type GetOrganizationResponses = {
|
|
1615
2040
|
/**
|
|
1616
|
-
*
|
|
2041
|
+
* Returns a single object containing organization details.
|
|
1617
2042
|
*/
|
|
1618
|
-
200:
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
* Maximum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
|
|
1681
|
-
*/
|
|
1682
|
-
accelerator_memory_max?: number;
|
|
1683
|
-
/**
|
|
1684
|
-
* Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1685
|
-
*/
|
|
1686
|
-
price_min?: number;
|
|
1687
|
-
/**
|
|
1688
|
-
* Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1689
|
-
*/
|
|
1690
|
-
price_max?: number;
|
|
1691
|
-
/**
|
|
1692
|
-
* Structured array of regions and sub-regions
|
|
1693
|
-
*/
|
|
1694
|
-
regions_struct?: Array<{
|
|
1695
|
-
/**
|
|
1696
|
-
* Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
1697
|
-
*/
|
|
1698
|
-
region?: string;
|
|
1699
|
-
sub_region?: Array<string>;
|
|
1700
|
-
}>;
|
|
1701
|
-
/**
|
|
1702
|
-
* Structured array of regions and sub-regions
|
|
1703
|
-
*/
|
|
1704
|
-
accelerators_struct?: Array<{
|
|
1705
|
-
/**
|
|
1706
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1707
|
-
*/
|
|
1708
|
-
accelerator_manufacturer?: string;
|
|
1709
|
-
accelerator_name?: Array<string>;
|
|
1710
|
-
}>;
|
|
1711
|
-
/**
|
|
1712
|
-
* Total number of instances in the catalog
|
|
1713
|
-
*/
|
|
1714
|
-
count_total?: number;
|
|
1715
|
-
/**
|
|
1716
|
-
* Total number of instances in the catalog with at least 1 accelerator
|
|
1717
|
-
*/
|
|
1718
|
-
count_accelerators?: number;
|
|
1719
|
-
/**
|
|
1720
|
-
* Total number of unique instances types in the catalog
|
|
1721
|
-
*/
|
|
1722
|
-
count_instance_types?: number;
|
|
2043
|
+
200: Organization;
|
|
2044
|
+
};
|
|
2045
|
+
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
2046
|
+
export type CreateOrganizationData = {
|
|
2047
|
+
body: OrganizationCreateInput;
|
|
2048
|
+
path?: never;
|
|
2049
|
+
query?: never;
|
|
2050
|
+
url: '/organization';
|
|
2051
|
+
};
|
|
2052
|
+
export type CreateOrganizationResponses = {
|
|
2053
|
+
/**
|
|
2054
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2055
|
+
*
|
|
2056
|
+
*/
|
|
2057
|
+
200: OrganizationCreateOutput;
|
|
2058
|
+
};
|
|
2059
|
+
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
2060
|
+
export type GetBasicPriceConsentData = {
|
|
2061
|
+
body?: never;
|
|
2062
|
+
path?: never;
|
|
2063
|
+
query?: never;
|
|
2064
|
+
url: '/organization/basic-price-consent';
|
|
2065
|
+
};
|
|
2066
|
+
export type GetBasicPriceConsentResponses = {
|
|
2067
|
+
/**
|
|
2068
|
+
* Returns the current consent status.
|
|
2069
|
+
*/
|
|
2070
|
+
200: BasicPriceConsent;
|
|
2071
|
+
};
|
|
2072
|
+
export type GetBasicPriceConsentResponse = GetBasicPriceConsentResponses[keyof GetBasicPriceConsentResponses];
|
|
2073
|
+
export type SetBasicPriceConsentData = {
|
|
2074
|
+
body: BasicPriceConsentInput;
|
|
2075
|
+
path?: never;
|
|
2076
|
+
query?: never;
|
|
2077
|
+
url: '/organization/basic-price-consent';
|
|
2078
|
+
};
|
|
2079
|
+
export type SetBasicPriceConsentErrors = {
|
|
2080
|
+
/**
|
|
2081
|
+
* The authenticated principal has no email address (e.g. a service account) and cannot record this decision.
|
|
2082
|
+
*
|
|
2083
|
+
*/
|
|
2084
|
+
401: unknown;
|
|
2085
|
+
/**
|
|
2086
|
+
* The consent flow does not apply to this organization.
|
|
2087
|
+
*/
|
|
2088
|
+
409: unknown;
|
|
2089
|
+
};
|
|
2090
|
+
export type SetBasicPriceConsentResponses = {
|
|
2091
|
+
/**
|
|
2092
|
+
* Decision recorded. Returns the updated consent status.
|
|
2093
|
+
*/
|
|
2094
|
+
200: BasicPriceConsent;
|
|
2095
|
+
};
|
|
2096
|
+
export type SetBasicPriceConsentResponse = SetBasicPriceConsentResponses[keyof SetBasicPriceConsentResponses];
|
|
2097
|
+
export type PostMcpData = {
|
|
2098
|
+
/**
|
|
2099
|
+
* JSON-RPC 2.0 request payload
|
|
2100
|
+
*/
|
|
2101
|
+
body: {
|
|
2102
|
+
jsonrpc?: string;
|
|
2103
|
+
method?: string;
|
|
2104
|
+
id?: string | number;
|
|
1723
2105
|
/**
|
|
1724
|
-
*
|
|
2106
|
+
* Method-specific parameters
|
|
1725
2107
|
*/
|
|
1726
|
-
|
|
1727
|
-
|
|
2108
|
+
params?: {
|
|
2109
|
+
[key: string]: unknown;
|
|
2110
|
+
};
|
|
2111
|
+
};
|
|
2112
|
+
path?: never;
|
|
2113
|
+
query?: never;
|
|
2114
|
+
url: '/mcp';
|
|
2115
|
+
};
|
|
2116
|
+
export type PostMcpErrors = {
|
|
2117
|
+
/**
|
|
2118
|
+
* Not authenticated
|
|
2119
|
+
*/
|
|
2120
|
+
401: unknown;
|
|
2121
|
+
};
|
|
2122
|
+
export type PostMcpResponses = {
|
|
2123
|
+
/**
|
|
2124
|
+
* JSON-RPC 2.0 success or error response
|
|
2125
|
+
*/
|
|
2126
|
+
200: {
|
|
2127
|
+
jsonrpc?: string;
|
|
2128
|
+
id?: string | number;
|
|
2129
|
+
result?: {
|
|
2130
|
+
[key: string]: unknown;
|
|
2131
|
+
};
|
|
2132
|
+
error?: {
|
|
2133
|
+
code?: number;
|
|
2134
|
+
message?: string;
|
|
2135
|
+
};
|
|
2136
|
+
};
|
|
1728
2137
|
};
|
|
1729
|
-
export type
|
|
1730
|
-
export type
|
|
2138
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
2139
|
+
export type ListMarketplaceChartsData = {
|
|
1731
2140
|
body?: never;
|
|
1732
2141
|
path?: never;
|
|
1733
2142
|
query?: never;
|
|
1734
|
-
url: '/
|
|
2143
|
+
url: '/marketplace';
|
|
1735
2144
|
};
|
|
1736
|
-
export type
|
|
2145
|
+
export type ListMarketplaceChartsErrors = {
|
|
1737
2146
|
/**
|
|
1738
|
-
*
|
|
2147
|
+
* Not authenticated
|
|
1739
2148
|
*/
|
|
1740
|
-
|
|
1741
|
-
|
|
2149
|
+
401: unknown;
|
|
2150
|
+
};
|
|
2151
|
+
export type ListMarketplaceChartsResponses = {
|
|
2152
|
+
/**
|
|
2153
|
+
* An array of chart listings in the marketplace.
|
|
2154
|
+
*/
|
|
2155
|
+
200: Array<MarketplaceListing>;
|
|
2156
|
+
};
|
|
2157
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
2158
|
+
export type GetMarketplaceChartFilesData = {
|
|
2159
|
+
body?: never;
|
|
2160
|
+
path: {
|
|
2161
|
+
/**
|
|
2162
|
+
* Name of the chart in the marketplace.
|
|
2163
|
+
*/
|
|
2164
|
+
chart_name: string;
|
|
2165
|
+
/**
|
|
2166
|
+
* Version channel pattern to match (e.g., "1.31.x-cfke.x" for latest 1.31 patch, "1.x.x-cfke.x" for latest 1.x minor).
|
|
2167
|
+
*/
|
|
2168
|
+
version_channel: string;
|
|
1742
2169
|
};
|
|
2170
|
+
query?: never;
|
|
2171
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
2172
|
+
};
|
|
2173
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
2174
|
+
/**
|
|
2175
|
+
* Chart not found or no version matches the channel
|
|
2176
|
+
*/
|
|
2177
|
+
404: unknown;
|
|
2178
|
+
};
|
|
2179
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
2180
|
+
/**
|
|
2181
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
2182
|
+
*/
|
|
2183
|
+
200: MarketplaceListingFiles;
|
|
1743
2184
|
};
|
|
1744
|
-
export type
|
|
2185
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
1745
2186
|
export type ListInvitesData = {
|
|
1746
2187
|
body?: never;
|
|
1747
2188
|
path?: never;
|
|
@@ -1762,12 +2203,7 @@ export type ListInvitesResponses = {
|
|
|
1762
2203
|
};
|
|
1763
2204
|
export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
|
|
1764
2205
|
export type CreateInviteData = {
|
|
1765
|
-
body:
|
|
1766
|
-
/**
|
|
1767
|
-
* User email address
|
|
1768
|
-
*/
|
|
1769
|
-
email?: string;
|
|
1770
|
-
};
|
|
2206
|
+
body: InviteCreateInput;
|
|
1771
2207
|
path?: never;
|
|
1772
2208
|
query?: never;
|
|
1773
2209
|
url: '/invites';
|
|
@@ -1792,9 +2228,18 @@ export type GetInviteData = {
|
|
|
1792
2228
|
};
|
|
1793
2229
|
export type GetInviteResponses = {
|
|
1794
2230
|
/**
|
|
1795
|
-
* Returns
|
|
2231
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
1796
2232
|
*/
|
|
1797
|
-
200:
|
|
2233
|
+
200: {
|
|
2234
|
+
/**
|
|
2235
|
+
* Email address the invite was issued to.
|
|
2236
|
+
*/
|
|
2237
|
+
email?: string;
|
|
2238
|
+
/**
|
|
2239
|
+
* Identifier of the organization the invite grants access to.
|
|
2240
|
+
*/
|
|
2241
|
+
organization_id?: string;
|
|
2242
|
+
};
|
|
1798
2243
|
};
|
|
1799
2244
|
export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
|
|
1800
2245
|
export type DeleteInviteData = {
|
|
@@ -1814,348 +2259,654 @@ export type DeleteInviteResponses = {
|
|
|
1814
2259
|
*/
|
|
1815
2260
|
200: unknown;
|
|
1816
2261
|
};
|
|
1817
|
-
export type
|
|
2262
|
+
export type QueryClusterData = {
|
|
1818
2263
|
body?: never;
|
|
1819
|
-
path
|
|
2264
|
+
path: {
|
|
2265
|
+
/**
|
|
2266
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2267
|
+
*/
|
|
2268
|
+
cluster_id: string;
|
|
2269
|
+
};
|
|
1820
2270
|
query?: never;
|
|
1821
|
-
url: '/
|
|
2271
|
+
url: '/clusters/{cluster_id}/query';
|
|
1822
2272
|
};
|
|
1823
|
-
export type
|
|
2273
|
+
export type QueryClusterErrors = {
|
|
1824
2274
|
/**
|
|
1825
|
-
*
|
|
2275
|
+
* Not authenticated
|
|
1826
2276
|
*/
|
|
1827
|
-
|
|
2277
|
+
401: unknown;
|
|
1828
2278
|
};
|
|
1829
|
-
export type
|
|
1830
|
-
|
|
1831
|
-
|
|
2279
|
+
export type QueryClusterResponses = {
|
|
2280
|
+
/**
|
|
2281
|
+
* Kubernetes API response
|
|
2282
|
+
*/
|
|
2283
|
+
200: unknown;
|
|
2284
|
+
};
|
|
2285
|
+
export type ListFleetsData = {
|
|
2286
|
+
body?: never;
|
|
2287
|
+
path: {
|
|
2288
|
+
/**
|
|
2289
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2290
|
+
*/
|
|
2291
|
+
cluster_id: string;
|
|
2292
|
+
};
|
|
2293
|
+
query?: never;
|
|
2294
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
2295
|
+
};
|
|
2296
|
+
export type ListFleetsErrors = {
|
|
2297
|
+
/**
|
|
2298
|
+
* Not authenticated
|
|
2299
|
+
*/
|
|
2300
|
+
401: unknown;
|
|
2301
|
+
};
|
|
2302
|
+
export type ListFleetsResponses = {
|
|
2303
|
+
/**
|
|
2304
|
+
* An array of fleets
|
|
2305
|
+
*/
|
|
2306
|
+
200: Array<Fleet>;
|
|
2307
|
+
};
|
|
2308
|
+
export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
|
|
2309
|
+
export type CreateFleetData = {
|
|
2310
|
+
body: FleetCreateInput;
|
|
2311
|
+
path: {
|
|
2312
|
+
/**
|
|
2313
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2314
|
+
*/
|
|
2315
|
+
cluster_id: string;
|
|
2316
|
+
};
|
|
2317
|
+
query?: never;
|
|
2318
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
2319
|
+
};
|
|
2320
|
+
export type CreateFleetErrors = {
|
|
2321
|
+
/**
|
|
2322
|
+
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
2323
|
+
*/
|
|
2324
|
+
402: string;
|
|
2325
|
+
/**
|
|
2326
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2327
|
+
*/
|
|
2328
|
+
409: string;
|
|
2329
|
+
};
|
|
2330
|
+
export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
|
|
2331
|
+
export type CreateFleetResponses = {
|
|
2332
|
+
/**
|
|
2333
|
+
* Successfully created. Returns created Fleet ID.
|
|
2334
|
+
*/
|
|
2335
|
+
200: string;
|
|
2336
|
+
};
|
|
2337
|
+
export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
|
|
2338
|
+
export type DeleteFleetData = {
|
|
2339
|
+
body?: never;
|
|
2340
|
+
path: {
|
|
2341
|
+
/**
|
|
2342
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2343
|
+
*/
|
|
2344
|
+
cluster_id: string;
|
|
2345
|
+
/**
|
|
2346
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2347
|
+
*/
|
|
2348
|
+
fleet_name: string;
|
|
2349
|
+
};
|
|
2350
|
+
query?: never;
|
|
2351
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2352
|
+
};
|
|
2353
|
+
export type DeleteFleetErrors = {
|
|
2354
|
+
/**
|
|
2355
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2356
|
+
*/
|
|
2357
|
+
409: string;
|
|
2358
|
+
};
|
|
2359
|
+
export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
|
|
2360
|
+
export type DeleteFleetResponses = {
|
|
2361
|
+
/**
|
|
2362
|
+
* Successfully deleted.
|
|
2363
|
+
*/
|
|
2364
|
+
200: string;
|
|
2365
|
+
};
|
|
2366
|
+
export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
|
|
2367
|
+
export type GetFleetData = {
|
|
2368
|
+
body?: never;
|
|
2369
|
+
path: {
|
|
2370
|
+
/**
|
|
2371
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2372
|
+
*/
|
|
2373
|
+
cluster_id: string;
|
|
2374
|
+
/**
|
|
2375
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2376
|
+
*/
|
|
2377
|
+
fleet_name: string;
|
|
2378
|
+
};
|
|
2379
|
+
query?: never;
|
|
2380
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2381
|
+
};
|
|
2382
|
+
export type GetFleetResponses = {
|
|
2383
|
+
/**
|
|
2384
|
+
* Returns a single object containing fleet details.
|
|
2385
|
+
*/
|
|
2386
|
+
200: Fleet;
|
|
2387
|
+
};
|
|
2388
|
+
export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
|
|
2389
|
+
export type UpdateFleetData = {
|
|
2390
|
+
body: FleetUpdateInput;
|
|
2391
|
+
path: {
|
|
2392
|
+
/**
|
|
2393
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2394
|
+
*/
|
|
2395
|
+
cluster_id: string;
|
|
2396
|
+
/**
|
|
2397
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2398
|
+
*/
|
|
2399
|
+
fleet_name: string;
|
|
2400
|
+
};
|
|
2401
|
+
query?: never;
|
|
2402
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2403
|
+
};
|
|
2404
|
+
export type UpdateFleetErrors = {
|
|
2405
|
+
/**
|
|
2406
|
+
* Organization must have a valid payment method configured to access this endpoint.
|
|
2407
|
+
*/
|
|
2408
|
+
402: string;
|
|
2409
|
+
/**
|
|
2410
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2411
|
+
*/
|
|
2412
|
+
409: string;
|
|
2413
|
+
};
|
|
2414
|
+
export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
|
|
2415
|
+
export type UpdateFleetResponses = {
|
|
2416
|
+
/**
|
|
2417
|
+
* Successfully updated.
|
|
2418
|
+
*/
|
|
2419
|
+
200: string;
|
|
2420
|
+
};
|
|
2421
|
+
export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
|
|
2422
|
+
export type ListChartsData = {
|
|
2423
|
+
body?: never;
|
|
2424
|
+
path: {
|
|
2425
|
+
/**
|
|
2426
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2427
|
+
*/
|
|
2428
|
+
cluster_id: string;
|
|
2429
|
+
};
|
|
2430
|
+
query?: never;
|
|
2431
|
+
url: '/clusters/{cluster_id}/charts';
|
|
2432
|
+
};
|
|
2433
|
+
export type ListChartsErrors = {
|
|
2434
|
+
/**
|
|
2435
|
+
* Not authenticated
|
|
2436
|
+
*/
|
|
2437
|
+
401: unknown;
|
|
2438
|
+
};
|
|
2439
|
+
export type ListChartsResponses = {
|
|
2440
|
+
/**
|
|
2441
|
+
* An array of charts
|
|
2442
|
+
*/
|
|
2443
|
+
200: Array<Chart>;
|
|
2444
|
+
};
|
|
2445
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
2446
|
+
export type CreateChartData = {
|
|
2447
|
+
body: ChartCreateInput;
|
|
2448
|
+
path: {
|
|
2449
|
+
/**
|
|
2450
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2451
|
+
*/
|
|
2452
|
+
cluster_id: string;
|
|
2453
|
+
};
|
|
2454
|
+
query?: never;
|
|
2455
|
+
url: '/clusters/{cluster_id}/charts';
|
|
2456
|
+
};
|
|
2457
|
+
export type CreateChartErrors = {
|
|
2458
|
+
/**
|
|
2459
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2460
|
+
*/
|
|
2461
|
+
409: string;
|
|
2462
|
+
};
|
|
2463
|
+
export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
|
|
2464
|
+
export type CreateChartResponses = {
|
|
2465
|
+
/**
|
|
2466
|
+
* Successfully created. Returns created Chart ID.
|
|
2467
|
+
*/
|
|
2468
|
+
200: string;
|
|
2469
|
+
};
|
|
2470
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
2471
|
+
export type DeleteChartData = {
|
|
2472
|
+
body?: never;
|
|
2473
|
+
path: {
|
|
2474
|
+
/**
|
|
2475
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2476
|
+
*/
|
|
2477
|
+
cluster_id: string;
|
|
2478
|
+
/**
|
|
2479
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2480
|
+
*/
|
|
2481
|
+
chart_name: string;
|
|
2482
|
+
};
|
|
2483
|
+
query?: never;
|
|
2484
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2485
|
+
};
|
|
2486
|
+
export type DeleteChartErrors = {
|
|
2487
|
+
/**
|
|
2488
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2489
|
+
*/
|
|
2490
|
+
409: string;
|
|
2491
|
+
};
|
|
2492
|
+
export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
|
|
2493
|
+
export type DeleteChartResponses = {
|
|
2494
|
+
/**
|
|
2495
|
+
* Successfully deleted.
|
|
2496
|
+
*/
|
|
2497
|
+
200: string;
|
|
2498
|
+
};
|
|
2499
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
2500
|
+
export type GetChartData = {
|
|
2501
|
+
body?: never;
|
|
2502
|
+
path: {
|
|
2503
|
+
/**
|
|
2504
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2505
|
+
*/
|
|
2506
|
+
cluster_id: string;
|
|
2507
|
+
/**
|
|
2508
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2509
|
+
*/
|
|
2510
|
+
chart_name: string;
|
|
2511
|
+
};
|
|
2512
|
+
query?: never;
|
|
2513
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2514
|
+
};
|
|
2515
|
+
export type GetChartResponses = {
|
|
2516
|
+
/**
|
|
2517
|
+
* Returns a single object containing chart details.
|
|
2518
|
+
*/
|
|
2519
|
+
200: Chart;
|
|
2520
|
+
};
|
|
2521
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
2522
|
+
export type UpdateChartData = {
|
|
2523
|
+
body: ChartUpdateInput;
|
|
2524
|
+
path: {
|
|
2525
|
+
/**
|
|
2526
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2527
|
+
*/
|
|
2528
|
+
cluster_id: string;
|
|
2529
|
+
/**
|
|
2530
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2531
|
+
*/
|
|
2532
|
+
chart_name: string;
|
|
2533
|
+
};
|
|
2534
|
+
query?: never;
|
|
2535
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2536
|
+
};
|
|
2537
|
+
export type UpdateChartErrors = {
|
|
2538
|
+
/**
|
|
2539
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2540
|
+
*/
|
|
2541
|
+
409: string;
|
|
2542
|
+
};
|
|
2543
|
+
export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
|
|
2544
|
+
export type UpdateChartResponses = {
|
|
2545
|
+
/**
|
|
2546
|
+
* Successfully updated.
|
|
2547
|
+
*/
|
|
2548
|
+
200: string;
|
|
2549
|
+
};
|
|
2550
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
2551
|
+
export type ListClustersData = {
|
|
2552
|
+
body?: never;
|
|
1832
2553
|
path?: never;
|
|
1833
2554
|
query?: never;
|
|
1834
|
-
url: '/
|
|
2555
|
+
url: '/clusters';
|
|
1835
2556
|
};
|
|
1836
|
-
export type
|
|
2557
|
+
export type ListClustersErrors = {
|
|
1837
2558
|
/**
|
|
1838
|
-
*
|
|
2559
|
+
* Not authenticated
|
|
1839
2560
|
*/
|
|
1840
|
-
|
|
2561
|
+
401: unknown;
|
|
1841
2562
|
};
|
|
1842
|
-
export type
|
|
1843
|
-
|
|
1844
|
-
|
|
2563
|
+
export type ListClustersResponses = {
|
|
2564
|
+
/**
|
|
2565
|
+
* An array of clusters
|
|
2566
|
+
*/
|
|
2567
|
+
200: Array<Cluster>;
|
|
2568
|
+
};
|
|
2569
|
+
export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
|
|
2570
|
+
export type CreateClusterData = {
|
|
2571
|
+
body: ClusterCreateInput;
|
|
1845
2572
|
path?: never;
|
|
1846
2573
|
query?: never;
|
|
1847
|
-
url: '/
|
|
2574
|
+
url: '/clusters';
|
|
1848
2575
|
};
|
|
1849
|
-
export type
|
|
2576
|
+
export type CreateClusterErrors = {
|
|
1850
2577
|
/**
|
|
1851
|
-
*
|
|
2578
|
+
* Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
|
|
1852
2579
|
*/
|
|
1853
|
-
|
|
2580
|
+
402: string;
|
|
1854
2581
|
};
|
|
1855
|
-
export type
|
|
1856
|
-
export type
|
|
2582
|
+
export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
|
|
2583
|
+
export type CreateClusterResponses = {
|
|
2584
|
+
/**
|
|
2585
|
+
* Successfully created. Returns created Cluster ID.
|
|
2586
|
+
*/
|
|
2587
|
+
200: string;
|
|
2588
|
+
};
|
|
2589
|
+
export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
|
|
2590
|
+
export type DeleteClusterData = {
|
|
1857
2591
|
body?: never;
|
|
1858
|
-
path
|
|
2592
|
+
path: {
|
|
2593
|
+
/**
|
|
2594
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2595
|
+
*/
|
|
2596
|
+
cluster_id: string;
|
|
2597
|
+
};
|
|
1859
2598
|
query?: never;
|
|
1860
|
-
url: '/
|
|
2599
|
+
url: '/clusters/{cluster_id}';
|
|
1861
2600
|
};
|
|
1862
|
-
export type
|
|
2601
|
+
export type DeleteClusterErrors = {
|
|
1863
2602
|
/**
|
|
1864
|
-
*
|
|
2603
|
+
* Cluster not found; it does not exist or has already been deleted.
|
|
1865
2604
|
*/
|
|
1866
|
-
|
|
1867
|
-
};
|
|
1868
|
-
export type ListTokensResponses = {
|
|
2605
|
+
404: unknown;
|
|
1869
2606
|
/**
|
|
1870
|
-
*
|
|
2607
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
1871
2608
|
*/
|
|
1872
|
-
|
|
1873
|
-
};
|
|
1874
|
-
export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
|
|
1875
|
-
export type CreateTokenData = {
|
|
1876
|
-
body: TokenCreateInput;
|
|
1877
|
-
path?: never;
|
|
1878
|
-
query?: never;
|
|
1879
|
-
url: '/tokens';
|
|
1880
|
-
};
|
|
1881
|
-
export type CreateTokenErrors = {
|
|
2609
|
+
409: string;
|
|
1882
2610
|
/**
|
|
1883
|
-
*
|
|
2611
|
+
* Transient failure tearing down the cluster; retry the request.
|
|
1884
2612
|
*/
|
|
1885
|
-
|
|
2613
|
+
503: unknown;
|
|
1886
2614
|
};
|
|
1887
|
-
export type
|
|
2615
|
+
export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
|
|
2616
|
+
export type DeleteClusterResponses = {
|
|
1888
2617
|
/**
|
|
1889
|
-
* Successfully
|
|
2618
|
+
* Successfully deleted. The cluster has been torn down.
|
|
1890
2619
|
*/
|
|
1891
|
-
200:
|
|
2620
|
+
200: string;
|
|
1892
2621
|
};
|
|
1893
|
-
export type
|
|
1894
|
-
export type
|
|
2622
|
+
export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
|
|
2623
|
+
export type GetClusterData = {
|
|
1895
2624
|
body?: never;
|
|
1896
2625
|
path: {
|
|
1897
2626
|
/**
|
|
1898
|
-
*
|
|
2627
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1899
2628
|
*/
|
|
1900
|
-
|
|
2629
|
+
cluster_id: string;
|
|
1901
2630
|
};
|
|
1902
2631
|
query?: never;
|
|
1903
|
-
url: '/
|
|
2632
|
+
url: '/clusters/{cluster_id}';
|
|
1904
2633
|
};
|
|
1905
|
-
export type
|
|
2634
|
+
export type GetClusterResponses = {
|
|
1906
2635
|
/**
|
|
1907
|
-
*
|
|
2636
|
+
* Returns a single object containing cluster details.
|
|
1908
2637
|
*/
|
|
1909
|
-
200:
|
|
2638
|
+
200: Cluster;
|
|
1910
2639
|
};
|
|
1911
|
-
export type
|
|
1912
|
-
|
|
2640
|
+
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
2641
|
+
export type UpdateClusterData = {
|
|
2642
|
+
body: ClusterUpdateInput;
|
|
1913
2643
|
path: {
|
|
1914
2644
|
/**
|
|
1915
|
-
*
|
|
2645
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1916
2646
|
*/
|
|
1917
|
-
|
|
2647
|
+
cluster_id: string;
|
|
1918
2648
|
};
|
|
1919
2649
|
query?: never;
|
|
1920
|
-
url: '/
|
|
2650
|
+
url: '/clusters/{cluster_id}';
|
|
1921
2651
|
};
|
|
1922
|
-
export type
|
|
2652
|
+
export type UpdateClusterErrors = {
|
|
1923
2653
|
/**
|
|
1924
|
-
*
|
|
2654
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
1925
2655
|
*/
|
|
1926
|
-
|
|
2656
|
+
409: string;
|
|
1927
2657
|
};
|
|
1928
|
-
export type
|
|
2658
|
+
export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
|
|
2659
|
+
export type UpdateClusterResponses = {
|
|
1929
2660
|
/**
|
|
1930
|
-
* Returns
|
|
2661
|
+
* Successfully updated. Returns updated cluster details.
|
|
1931
2662
|
*/
|
|
1932
|
-
200:
|
|
2663
|
+
200: Cluster;
|
|
1933
2664
|
};
|
|
1934
|
-
export type
|
|
1935
|
-
export type
|
|
1936
|
-
body
|
|
2665
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
2666
|
+
export type GetJoinInformationData = {
|
|
2667
|
+
body?: never;
|
|
1937
2668
|
path: {
|
|
1938
2669
|
/**
|
|
1939
|
-
*
|
|
2670
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1940
2671
|
*/
|
|
1941
|
-
|
|
2672
|
+
cluster_id: string;
|
|
1942
2673
|
};
|
|
1943
2674
|
query?: never;
|
|
1944
|
-
url: '/
|
|
2675
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
1945
2676
|
};
|
|
1946
|
-
export type
|
|
2677
|
+
export type GetJoinInformationErrors = {
|
|
1947
2678
|
/**
|
|
1948
2679
|
* Not authenticated
|
|
1949
2680
|
*/
|
|
1950
2681
|
401: unknown;
|
|
2682
|
+
/**
|
|
2683
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2684
|
+
*/
|
|
2685
|
+
409: string;
|
|
1951
2686
|
};
|
|
1952
|
-
export type
|
|
2687
|
+
export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
|
|
2688
|
+
export type GetJoinInformationResponses = {
|
|
1953
2689
|
/**
|
|
1954
|
-
*
|
|
2690
|
+
* An object of cluster join information
|
|
1955
2691
|
*/
|
|
1956
|
-
200:
|
|
2692
|
+
200: ClusterJoinInformation;
|
|
1957
2693
|
};
|
|
1958
|
-
export type
|
|
1959
|
-
export type
|
|
2694
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
2695
|
+
export type GetUsageData = {
|
|
1960
2696
|
body?: never;
|
|
1961
|
-
path
|
|
2697
|
+
path?: never;
|
|
2698
|
+
query?: {
|
|
1962
2699
|
/**
|
|
1963
|
-
*
|
|
2700
|
+
* Time granularity for usage aggregation - hourly (Past 48 hours aggregated by hour), daily (Past 30 days aggregated by day), monthly (Past 12 months aggregated by month)
|
|
1964
2701
|
*/
|
|
1965
|
-
|
|
2702
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
1966
2703
|
};
|
|
1967
|
-
|
|
1968
|
-
url: '/tokens/{token_id}/secret';
|
|
2704
|
+
url: '/billing/usage';
|
|
1969
2705
|
};
|
|
1970
|
-
export type
|
|
2706
|
+
export type GetUsageErrors = {
|
|
1971
2707
|
/**
|
|
1972
2708
|
* Not authenticated
|
|
1973
2709
|
*/
|
|
1974
2710
|
401: unknown;
|
|
1975
2711
|
};
|
|
1976
|
-
export type
|
|
2712
|
+
export type GetUsageResponses = {
|
|
1977
2713
|
/**
|
|
1978
|
-
*
|
|
2714
|
+
* Usage data with facets for filtering
|
|
1979
2715
|
*/
|
|
1980
|
-
200:
|
|
2716
|
+
200: UsageResponse;
|
|
1981
2717
|
};
|
|
1982
|
-
export type
|
|
1983
|
-
export type
|
|
2718
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
2719
|
+
export type GetPaymentMethodSecretData = {
|
|
1984
2720
|
body?: never;
|
|
1985
|
-
path
|
|
1986
|
-
/**
|
|
1987
|
-
* User email address.
|
|
1988
|
-
*/
|
|
1989
|
-
email: string;
|
|
1990
|
-
};
|
|
2721
|
+
path?: never;
|
|
1991
2722
|
query?: never;
|
|
1992
|
-
url: '/
|
|
2723
|
+
url: '/billing/payment-method';
|
|
1993
2724
|
};
|
|
1994
|
-
export type
|
|
2725
|
+
export type GetPaymentMethodSecretResponses = {
|
|
1995
2726
|
/**
|
|
1996
|
-
*
|
|
2727
|
+
* The client secret. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
|
|
2728
|
+
*
|
|
1997
2729
|
*/
|
|
1998
|
-
200:
|
|
1999
|
-
/**
|
|
2000
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
2001
|
-
*/
|
|
2002
|
-
realm?: string;
|
|
2730
|
+
200: {
|
|
2003
2731
|
/**
|
|
2004
|
-
*
|
|
2732
|
+
* The client secret.
|
|
2005
2733
|
*/
|
|
2006
|
-
|
|
2007
|
-
}
|
|
2734
|
+
id?: string;
|
|
2735
|
+
};
|
|
2008
2736
|
};
|
|
2009
|
-
export type
|
|
2010
|
-
export type
|
|
2737
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
2738
|
+
export type ListPaymentMethodsData = {
|
|
2011
2739
|
body?: never;
|
|
2012
2740
|
path?: never;
|
|
2013
2741
|
query?: never;
|
|
2014
|
-
url: '/
|
|
2742
|
+
url: '/billing/payment-methods';
|
|
2015
2743
|
};
|
|
2016
|
-
export type
|
|
2744
|
+
export type ListPaymentMethodsErrors = {
|
|
2017
2745
|
/**
|
|
2018
2746
|
* Not authenticated
|
|
2019
2747
|
*/
|
|
2020
2748
|
401: unknown;
|
|
2021
2749
|
};
|
|
2022
|
-
export type
|
|
2750
|
+
export type ListPaymentMethodsResponses = {
|
|
2023
2751
|
/**
|
|
2024
|
-
* An array of
|
|
2752
|
+
* An array of payment methods.
|
|
2025
2753
|
*/
|
|
2026
|
-
200: Array<
|
|
2754
|
+
200: Array<PaymentMethod>;
|
|
2027
2755
|
};
|
|
2028
|
-
export type
|
|
2029
|
-
export type
|
|
2030
|
-
body
|
|
2031
|
-
path
|
|
2756
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
2757
|
+
export type SetDefaultPaymentMethodData = {
|
|
2758
|
+
body?: never;
|
|
2759
|
+
path: {
|
|
2760
|
+
/**
|
|
2761
|
+
* Stripe payment method identifier.
|
|
2762
|
+
*/
|
|
2763
|
+
paymentMethodId: string;
|
|
2764
|
+
};
|
|
2032
2765
|
query?: never;
|
|
2033
|
-
url: '/
|
|
2766
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
2034
2767
|
};
|
|
2035
|
-
export type
|
|
2768
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
2036
2769
|
/**
|
|
2037
|
-
*
|
|
2770
|
+
* The bank transfer payment method cannot be set as the default.
|
|
2038
2771
|
*/
|
|
2039
|
-
|
|
2772
|
+
400: unknown;
|
|
2773
|
+
/**
|
|
2774
|
+
* Not authenticated
|
|
2775
|
+
*/
|
|
2776
|
+
401: unknown;
|
|
2777
|
+
/**
|
|
2778
|
+
* Payment method not found.
|
|
2779
|
+
*/
|
|
2780
|
+
404: unknown;
|
|
2040
2781
|
};
|
|
2041
|
-
export type
|
|
2042
|
-
|
|
2782
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
2783
|
+
/**
|
|
2784
|
+
* Default payment method updated.
|
|
2785
|
+
*/
|
|
2786
|
+
204: void;
|
|
2787
|
+
};
|
|
2788
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
2789
|
+
export type DeletePaymentMethodData = {
|
|
2043
2790
|
body?: never;
|
|
2044
2791
|
path: {
|
|
2045
2792
|
/**
|
|
2046
|
-
*
|
|
2793
|
+
* Stripe payment method identifier.
|
|
2047
2794
|
*/
|
|
2048
|
-
|
|
2795
|
+
paymentMethodId: string;
|
|
2049
2796
|
};
|
|
2050
2797
|
query?: never;
|
|
2051
|
-
url: '/
|
|
2798
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
2052
2799
|
};
|
|
2053
|
-
export type
|
|
2800
|
+
export type DeletePaymentMethodErrors = {
|
|
2054
2801
|
/**
|
|
2055
|
-
*
|
|
2802
|
+
* The bank transfer payment method cannot be removed.
|
|
2056
2803
|
*/
|
|
2057
2804
|
400: unknown;
|
|
2058
2805
|
/**
|
|
2059
2806
|
* Not authenticated
|
|
2060
2807
|
*/
|
|
2061
2808
|
401: unknown;
|
|
2809
|
+
/**
|
|
2810
|
+
* Payment method not found.
|
|
2811
|
+
*/
|
|
2812
|
+
404: unknown;
|
|
2813
|
+
/**
|
|
2814
|
+
* Cannot delete the only remaining payment method.
|
|
2815
|
+
*/
|
|
2816
|
+
409: unknown;
|
|
2062
2817
|
};
|
|
2063
|
-
export type
|
|
2818
|
+
export type DeletePaymentMethodResponses = {
|
|
2064
2819
|
/**
|
|
2065
|
-
*
|
|
2820
|
+
* Payment method deleted.
|
|
2066
2821
|
*/
|
|
2067
|
-
|
|
2822
|
+
204: void;
|
|
2068
2823
|
};
|
|
2069
|
-
export type
|
|
2070
|
-
export type
|
|
2824
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
2825
|
+
export type ListInvoicesData = {
|
|
2071
2826
|
body?: never;
|
|
2072
|
-
path
|
|
2073
|
-
/**
|
|
2074
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2075
|
-
*/
|
|
2076
|
-
user_id: string;
|
|
2077
|
-
};
|
|
2827
|
+
path?: never;
|
|
2078
2828
|
query?: never;
|
|
2079
|
-
url: '/
|
|
2829
|
+
url: '/billing/invoices';
|
|
2080
2830
|
};
|
|
2081
|
-
export type
|
|
2831
|
+
export type ListInvoicesErrors = {
|
|
2082
2832
|
/**
|
|
2083
2833
|
* Not authenticated
|
|
2084
2834
|
*/
|
|
2085
2835
|
401: unknown;
|
|
2086
2836
|
};
|
|
2087
|
-
export type
|
|
2837
|
+
export type ListInvoicesResponses = {
|
|
2088
2838
|
/**
|
|
2089
|
-
*
|
|
2839
|
+
* An array of usage records.
|
|
2090
2840
|
*/
|
|
2091
|
-
200:
|
|
2841
|
+
200: Array<Invoice>;
|
|
2092
2842
|
};
|
|
2093
|
-
export type
|
|
2094
|
-
export type
|
|
2095
|
-
body
|
|
2096
|
-
path
|
|
2097
|
-
/**
|
|
2098
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2099
|
-
*/
|
|
2100
|
-
user_id: string;
|
|
2101
|
-
};
|
|
2843
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
2844
|
+
export type GetContactData = {
|
|
2845
|
+
body?: never;
|
|
2846
|
+
path?: never;
|
|
2102
2847
|
query?: never;
|
|
2103
|
-
url: '/
|
|
2848
|
+
url: '/billing/contact';
|
|
2104
2849
|
};
|
|
2105
|
-
export type
|
|
2850
|
+
export type GetContactResponses = {
|
|
2106
2851
|
/**
|
|
2107
|
-
*
|
|
2852
|
+
* Returns a single object containing organization contact and billing address details.
|
|
2108
2853
|
*/
|
|
2109
|
-
200:
|
|
2854
|
+
200: BillingContact;
|
|
2110
2855
|
};
|
|
2111
|
-
export type
|
|
2112
|
-
export type
|
|
2856
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
2857
|
+
export type UpdateContactData = {
|
|
2858
|
+
body: BillingContact;
|
|
2859
|
+
path?: never;
|
|
2860
|
+
query?: never;
|
|
2861
|
+
url: '/billing/contact';
|
|
2862
|
+
};
|
|
2863
|
+
export type UpdateContactResponses = {
|
|
2864
|
+
/**
|
|
2865
|
+
* Successfully updated. Returns updated organization details.
|
|
2866
|
+
*/
|
|
2867
|
+
200: BillingContact;
|
|
2868
|
+
};
|
|
2869
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
2870
|
+
export type GetCreditsData = {
|
|
2113
2871
|
body?: never;
|
|
2114
|
-
path
|
|
2115
|
-
/**
|
|
2116
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2117
|
-
*/
|
|
2118
|
-
user_id: string;
|
|
2119
|
-
/**
|
|
2120
|
-
* Unique cluster identifier. UUID v4 string in canonical form
|
|
2121
|
-
*/
|
|
2122
|
-
cluster_id: string;
|
|
2123
|
-
};
|
|
2872
|
+
path?: never;
|
|
2124
2873
|
query?: never;
|
|
2125
|
-
url: '/
|
|
2874
|
+
url: '/billing/credits';
|
|
2126
2875
|
};
|
|
2127
|
-
export type
|
|
2876
|
+
export type GetCreditsErrors = {
|
|
2128
2877
|
/**
|
|
2129
|
-
*
|
|
2878
|
+
* Not authenticated
|
|
2130
2879
|
*/
|
|
2131
|
-
|
|
2880
|
+
401: unknown;
|
|
2881
|
+
};
|
|
2882
|
+
export type GetCreditsResponses = {
|
|
2883
|
+
/**
|
|
2884
|
+
* An array of the applied promotional credits records.
|
|
2885
|
+
*/
|
|
2886
|
+
200: Array<BillingCredits>;
|
|
2132
2887
|
};
|
|
2133
|
-
export type
|
|
2134
|
-
export type
|
|
2888
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
2889
|
+
export type RedeemCreditsData = {
|
|
2135
2890
|
body: {
|
|
2136
2891
|
/**
|
|
2137
|
-
*
|
|
2138
|
-
*/
|
|
2139
|
-
permissions?: 'readwrite' | 'readonly';
|
|
2140
|
-
};
|
|
2141
|
-
path: {
|
|
2142
|
-
/**
|
|
2143
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2144
|
-
*/
|
|
2145
|
-
user_id: string;
|
|
2146
|
-
/**
|
|
2147
|
-
* Unique cluster identifier. UUID v4 string in canonical form
|
|
2892
|
+
* Promotional code to redeem
|
|
2148
2893
|
*/
|
|
2149
|
-
|
|
2894
|
+
code?: string;
|
|
2150
2895
|
};
|
|
2896
|
+
path?: never;
|
|
2151
2897
|
query?: never;
|
|
2152
|
-
url: '/
|
|
2898
|
+
url: '/billing/credits';
|
|
2153
2899
|
};
|
|
2154
|
-
export type
|
|
2900
|
+
export type RedeemCreditsErrors = {
|
|
2155
2901
|
/**
|
|
2156
|
-
*
|
|
2902
|
+
* Not authenticated
|
|
2157
2903
|
*/
|
|
2158
|
-
|
|
2904
|
+
401: unknown;
|
|
2905
|
+
};
|
|
2906
|
+
export type RedeemCreditsResponses = {
|
|
2907
|
+
/**
|
|
2908
|
+
* Successfully created a new organization.
|
|
2909
|
+
*/
|
|
2910
|
+
200: unknown;
|
|
2159
2911
|
};
|
|
2160
|
-
export type SetClusterPermissionsResponse = SetClusterPermissionsResponses[keyof SetClusterPermissionsResponses];
|
|
2161
2912
|
//# sourceMappingURL=types.gen.d.ts.map
|