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