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