@cloudfleet/sdk 0.0.1-b9e1348 → 0.0.1-ba3b089
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -2
- package/dist/@tanstack/react-query.gen.d.ts +1199 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1215 -0
- package/dist/@tanstack/react-query.gen.js.map +1 -0
- package/dist/client/client.gen.d.ts +3 -0
- package/dist/client/client.gen.d.ts.map +1 -0
- package/dist/client/client.gen.js +217 -0
- package/dist/client/client.gen.js.map +1 -0
- package/dist/client/index.d.ts +9 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +7 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/types.gen.d.ts +121 -0
- package/dist/client/types.gen.d.ts.map +1 -0
- package/dist/client/types.gen.js +3 -0
- package/dist/client/types.gen.js.map +1 -0
- package/dist/client/utils.gen.d.ts +38 -0
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/utils.gen.js +229 -0
- package/dist/client/utils.gen.js.map +1 -0
- package/dist/client.gen.d.ts +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/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas.gen.d.ts +1773 -610
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +3134 -683
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +341 -142
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +481 -274
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +196 -0
- package/dist/services/kubernetes/api.d.ts.map +1 -0
- package/dist/services/kubernetes/api.js +140 -0
- package/dist/services/kubernetes/api.js.map +1 -0
- package/dist/services/kubernetes/index.d.ts +44 -0
- package/dist/services/kubernetes/index.d.ts.map +1 -0
- package/dist/services/kubernetes/index.js +68 -0
- package/dist/services/kubernetes/index.js.map +1 -0
- package/dist/services/kubernetes/types.d.ts +1335 -0
- package/dist/services/kubernetes/types.d.ts.map +1 -0
- package/dist/services/kubernetes/types.js +2 -0
- package/dist/services/kubernetes/types.js.map +1 -0
- package/dist/types.gen.d.ts +2043 -758
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3984 -2192
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1714 -814
- package/dist/zod.gen.js.map +1 -1
- package/package.json +30 -7
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,31 +63,192 @@ 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
|
-
export type
|
|
78
|
+
export type BillingCredits = {
|
|
48
79
|
/**
|
|
49
|
-
*
|
|
80
|
+
* Generated unique identifier of the promotional code.
|
|
81
|
+
*/
|
|
82
|
+
id?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Type of the promotional code.
|
|
85
|
+
*/
|
|
86
|
+
type: 'credit' | 'discount';
|
|
87
|
+
/**
|
|
88
|
+
* Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
|
|
89
|
+
*/
|
|
90
|
+
date_start: string;
|
|
91
|
+
/**
|
|
92
|
+
* Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
|
|
93
|
+
*/
|
|
94
|
+
date_end?: string;
|
|
95
|
+
/**
|
|
96
|
+
* Promotional code used by the customer.
|
|
97
|
+
*/
|
|
98
|
+
code: string;
|
|
99
|
+
/**
|
|
100
|
+
* Description of the promotional code.
|
|
101
|
+
*/
|
|
102
|
+
description?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Total value of the promotional code.
|
|
105
|
+
*/
|
|
106
|
+
value_total: number;
|
|
107
|
+
/**
|
|
108
|
+
* Remaining value of the promotional code.
|
|
109
|
+
*/
|
|
110
|
+
value_remaining?: number;
|
|
111
|
+
};
|
|
112
|
+
export type ChartCreateInput = {
|
|
113
|
+
/**
|
|
114
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
115
|
+
*/
|
|
116
|
+
values: string;
|
|
117
|
+
/**
|
|
118
|
+
* Desired version range or channel for the chart.
|
|
119
|
+
*/
|
|
120
|
+
version_channel: string;
|
|
121
|
+
/**
|
|
122
|
+
* Unique identifier of the chart deployment aka name of the helm release.
|
|
123
|
+
*/
|
|
124
|
+
name: string;
|
|
125
|
+
/**
|
|
126
|
+
* Namespace of the chart deployment
|
|
127
|
+
*/
|
|
128
|
+
namespace: string;
|
|
129
|
+
/**
|
|
130
|
+
* Name of the chart listing
|
|
131
|
+
*/
|
|
132
|
+
chart: string;
|
|
133
|
+
};
|
|
134
|
+
export type Chart = {
|
|
135
|
+
/**
|
|
136
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
137
|
+
*/
|
|
138
|
+
values: string;
|
|
139
|
+
/**
|
|
140
|
+
* Desired version range or channel for the chart.
|
|
141
|
+
*/
|
|
142
|
+
version_channel: string;
|
|
143
|
+
/**
|
|
144
|
+
* Unique identifier of the chart deployment aka name of the helm release.
|
|
50
145
|
*/
|
|
51
146
|
name: string;
|
|
52
147
|
/**
|
|
53
|
-
*
|
|
148
|
+
* Namespace of the chart deployment
|
|
149
|
+
*/
|
|
150
|
+
namespace: string;
|
|
151
|
+
/**
|
|
152
|
+
* Name of the chart listing
|
|
153
|
+
*/
|
|
154
|
+
chart: string;
|
|
155
|
+
/**
|
|
156
|
+
* Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).
|
|
157
|
+
*/
|
|
158
|
+
status: string;
|
|
159
|
+
/**
|
|
160
|
+
* Current version of the chart deployment.
|
|
54
161
|
*/
|
|
55
|
-
|
|
162
|
+
version_current: string;
|
|
163
|
+
/**
|
|
164
|
+
* Creation date and time of the chart deployment.
|
|
165
|
+
*/
|
|
166
|
+
created_at: string;
|
|
167
|
+
/**
|
|
168
|
+
* Last update date and time of the chart deployment.
|
|
169
|
+
*/
|
|
170
|
+
updated_at: string;
|
|
171
|
+
/**
|
|
172
|
+
* Indicates if the chart deployment is ready to be used.
|
|
173
|
+
*/
|
|
174
|
+
ready: boolean;
|
|
175
|
+
};
|
|
176
|
+
export type ChartUpdateInput = {
|
|
177
|
+
/**
|
|
178
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
179
|
+
*/
|
|
180
|
+
values: string;
|
|
181
|
+
/**
|
|
182
|
+
* Desired version range or channel for the chart.
|
|
183
|
+
*/
|
|
184
|
+
version_channel: string;
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
188
|
+
*/
|
|
189
|
+
export type ClusterCreateInput = {
|
|
190
|
+
/**
|
|
191
|
+
* Name of the cluster.
|
|
192
|
+
*/
|
|
193
|
+
name: string;
|
|
56
194
|
/**
|
|
57
195
|
* Tier of the cluster.
|
|
58
196
|
*/
|
|
59
|
-
tier
|
|
197
|
+
tier?: 'basic' | 'pro' | 'enterprise';
|
|
60
198
|
/**
|
|
61
199
|
* Version of the kubernetes cluster.
|
|
62
200
|
*/
|
|
63
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
|
+
};
|
|
64
252
|
};
|
|
65
253
|
export type ClusterJoinInformation = {
|
|
66
254
|
/**
|
|
@@ -71,10 +259,22 @@ export type ClusterJoinInformation = {
|
|
|
71
259
|
* Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
|
|
72
260
|
*/
|
|
73
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;
|
|
74
270
|
/**
|
|
75
271
|
* Authentication key for the cluster.
|
|
76
272
|
*/
|
|
77
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;
|
|
78
278
|
/**
|
|
79
279
|
* Bootstrap token for the cluster.
|
|
80
280
|
*/
|
|
@@ -95,6 +295,10 @@ export type ClusterJoinInformation = {
|
|
|
95
295
|
* Containerd version of the cluster.
|
|
96
296
|
*/
|
|
97
297
|
containerd: string;
|
|
298
|
+
/**
|
|
299
|
+
* NVIDIA driver version of the cluster.
|
|
300
|
+
*/
|
|
301
|
+
nvidia_driver: string;
|
|
98
302
|
};
|
|
99
303
|
/**
|
|
100
304
|
* OIDC Information for hosts to access to third party API's.
|
|
@@ -114,32 +318,82 @@ export type ClusterJoinInformation = {
|
|
|
114
318
|
gcp_workload_identity_provider: string;
|
|
115
319
|
};
|
|
116
320
|
};
|
|
321
|
+
/**
|
|
322
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
323
|
+
*/
|
|
117
324
|
export type Cluster = {
|
|
118
325
|
/**
|
|
119
326
|
* Name of the cluster.
|
|
120
327
|
*/
|
|
121
328
|
name: string;
|
|
122
|
-
/**
|
|
123
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
|
|
124
|
-
*/
|
|
125
|
-
region?: 'staging' | 'northamerica-central-1';
|
|
126
329
|
/**
|
|
127
330
|
* Tier of the cluster.
|
|
128
331
|
*/
|
|
129
|
-
tier: 'basic' | 'pro';
|
|
332
|
+
tier: 'basic' | 'pro' | 'enterprise';
|
|
130
333
|
/**
|
|
131
334
|
* Version of the kubernetes cluster.
|
|
132
335
|
*/
|
|
133
|
-
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
|
+
};
|
|
134
387
|
/**
|
|
135
388
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
136
389
|
*/
|
|
137
390
|
id: string;
|
|
138
391
|
/**
|
|
139
|
-
* Status of the cluster.
|
|
392
|
+
* Status of the cluster.
|
|
140
393
|
*/
|
|
141
|
-
status: '
|
|
394
|
+
status: 'creating' | 'deployed' | 'updating' | 'disabled';
|
|
142
395
|
endpoint?: string | '';
|
|
396
|
+
endpoint_public?: string | '';
|
|
143
397
|
/**
|
|
144
398
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
145
399
|
*/
|
|
@@ -159,129 +413,259 @@ export type Cluster = {
|
|
|
159
413
|
/**
|
|
160
414
|
* Indicates if the cluster is ready to be used.
|
|
161
415
|
*/
|
|
162
|
-
ready
|
|
416
|
+
ready: boolean;
|
|
163
417
|
};
|
|
418
|
+
/**
|
|
419
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
420
|
+
*/
|
|
164
421
|
export type ClusterUpdateInput = {
|
|
165
422
|
/**
|
|
166
423
|
* Name of the cluster.
|
|
167
424
|
*/
|
|
168
|
-
name
|
|
425
|
+
name: string;
|
|
426
|
+
/**
|
|
427
|
+
* Tier of the cluster.
|
|
428
|
+
*/
|
|
429
|
+
tier?: 'basic' | 'pro' | 'enterprise';
|
|
169
430
|
/**
|
|
170
431
|
* Version of the kubernetes cluster.
|
|
171
432
|
*/
|
|
172
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
|
+
};
|
|
173
455
|
};
|
|
456
|
+
/**
|
|
457
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
458
|
+
*/
|
|
174
459
|
export type FleetCreateInput = {
|
|
175
460
|
/**
|
|
176
461
|
* Limits define a set of bounds for provisioning capacity.
|
|
177
462
|
*/
|
|
178
463
|
limits?: {
|
|
179
464
|
/**
|
|
180
|
-
* CPU limit in cores.
|
|
465
|
+
* CPU limit in cores. Maximum 100,000.
|
|
181
466
|
*/
|
|
182
|
-
cpu
|
|
467
|
+
cpu?: number;
|
|
183
468
|
};
|
|
184
469
|
gcp?: {
|
|
185
|
-
enabled
|
|
470
|
+
enabled: boolean;
|
|
186
471
|
/**
|
|
187
|
-
*
|
|
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.
|
|
188
473
|
*/
|
|
189
|
-
project
|
|
474
|
+
project?: string;
|
|
190
475
|
};
|
|
191
476
|
hetzner?: {
|
|
192
|
-
enabled
|
|
193
|
-
|
|
194
|
-
|
|
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
|
+
*/
|
|
195
481
|
apiKey?: string;
|
|
196
|
-
enabled?: boolean;
|
|
197
482
|
};
|
|
198
483
|
aws?: {
|
|
199
|
-
enabled
|
|
484
|
+
enabled: boolean;
|
|
200
485
|
/**
|
|
201
|
-
*
|
|
486
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
202
487
|
*/
|
|
203
|
-
controllerRoleArn
|
|
488
|
+
controllerRoleArn?: string;
|
|
204
489
|
};
|
|
205
490
|
/**
|
|
206
|
-
*
|
|
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.
|
|
207
492
|
*/
|
|
208
|
-
|
|
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';
|
|
209
515
|
/**
|
|
210
|
-
*
|
|
516
|
+
* Unique identifier of the kubernetes fleet.
|
|
211
517
|
*/
|
|
212
|
-
|
|
518
|
+
id: string;
|
|
213
519
|
};
|
|
520
|
+
/**
|
|
521
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
522
|
+
*/
|
|
214
523
|
export type Fleet = {
|
|
215
524
|
/**
|
|
216
525
|
* Limits define a set of bounds for provisioning capacity.
|
|
217
526
|
*/
|
|
218
527
|
limits?: {
|
|
219
528
|
/**
|
|
220
|
-
* CPU limit in cores.
|
|
529
|
+
* CPU limit in cores. Maximum 100,000.
|
|
221
530
|
*/
|
|
222
|
-
cpu
|
|
531
|
+
cpu?: number;
|
|
223
532
|
};
|
|
224
533
|
gcp?: {
|
|
225
|
-
enabled
|
|
534
|
+
enabled: boolean;
|
|
226
535
|
/**
|
|
227
|
-
*
|
|
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.
|
|
228
537
|
*/
|
|
229
|
-
project
|
|
538
|
+
project?: string;
|
|
230
539
|
};
|
|
231
540
|
hetzner?: {
|
|
232
|
-
enabled
|
|
233
|
-
|
|
234
|
-
|
|
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
|
+
*/
|
|
235
545
|
apiKey?: string;
|
|
236
|
-
enabled?: boolean;
|
|
237
546
|
};
|
|
238
547
|
aws?: {
|
|
239
|
-
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'>;
|
|
240
570
|
/**
|
|
241
|
-
*
|
|
571
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
242
572
|
*/
|
|
243
|
-
|
|
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'>;
|
|
244
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';
|
|
245
579
|
/**
|
|
246
580
|
* Unique identifier of the kubernetes fleet.
|
|
247
581
|
*/
|
|
248
582
|
id: string;
|
|
249
583
|
/**
|
|
250
|
-
*
|
|
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.
|
|
251
597
|
*/
|
|
252
|
-
|
|
598
|
+
updated_at: string;
|
|
253
599
|
};
|
|
600
|
+
/**
|
|
601
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
602
|
+
*/
|
|
254
603
|
export type FleetUpdateInput = {
|
|
255
604
|
/**
|
|
256
605
|
* Limits define a set of bounds for provisioning capacity.
|
|
257
606
|
*/
|
|
258
607
|
limits?: {
|
|
259
608
|
/**
|
|
260
|
-
* CPU limit in cores.
|
|
609
|
+
* CPU limit in cores. Maximum 100,000.
|
|
261
610
|
*/
|
|
262
|
-
cpu
|
|
611
|
+
cpu?: number;
|
|
263
612
|
};
|
|
264
613
|
gcp?: {
|
|
265
|
-
enabled
|
|
614
|
+
enabled: boolean;
|
|
266
615
|
/**
|
|
267
|
-
*
|
|
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.
|
|
268
617
|
*/
|
|
269
|
-
project
|
|
618
|
+
project?: string;
|
|
270
619
|
};
|
|
271
620
|
hetzner?: {
|
|
272
|
-
enabled
|
|
273
|
-
|
|
274
|
-
|
|
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
|
+
*/
|
|
275
625
|
apiKey?: string;
|
|
276
|
-
enabled?: boolean;
|
|
277
626
|
};
|
|
278
627
|
aws?: {
|
|
279
|
-
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?: {
|
|
280
638
|
/**
|
|
281
|
-
*
|
|
639
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
282
640
|
*/
|
|
283
|
-
|
|
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'>;
|
|
650
|
+
/**
|
|
651
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
652
|
+
*/
|
|
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'>;
|
|
284
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';
|
|
285
669
|
};
|
|
286
670
|
export type Invite = {
|
|
287
671
|
/**
|
|
@@ -304,240 +688,134 @@ export type Invite = {
|
|
|
304
688
|
* Generated unique invite code.
|
|
305
689
|
*/
|
|
306
690
|
code?: string;
|
|
691
|
+
/**
|
|
692
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
693
|
+
*/
|
|
694
|
+
role?: 'Administrator' | 'User';
|
|
307
695
|
};
|
|
308
696
|
export type Invoice = {
|
|
309
697
|
/**
|
|
310
|
-
* Unique identifier of the invoice.
|
|
698
|
+
* Unique identifier of the invoice.
|
|
311
699
|
*/
|
|
312
700
|
id?: string;
|
|
313
|
-
|
|
314
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
315
|
-
*/
|
|
316
|
-
organizationId?: string;
|
|
701
|
+
number?: string;
|
|
317
702
|
/**
|
|
318
703
|
* Status of the invoice
|
|
319
704
|
*/
|
|
320
|
-
status?:
|
|
705
|
+
status?: string;
|
|
321
706
|
/**
|
|
322
707
|
* Total amount of the invoice
|
|
323
708
|
*/
|
|
324
|
-
|
|
709
|
+
total?: number;
|
|
325
710
|
/**
|
|
326
711
|
* Currency of the invoice
|
|
327
712
|
*/
|
|
328
|
-
currency?:
|
|
713
|
+
currency?: string;
|
|
329
714
|
/**
|
|
330
|
-
*
|
|
715
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
331
716
|
*/
|
|
332
|
-
|
|
717
|
+
created: string;
|
|
333
718
|
/**
|
|
334
|
-
*
|
|
719
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
335
720
|
*/
|
|
336
|
-
|
|
721
|
+
period_start: string;
|
|
337
722
|
/**
|
|
338
|
-
*
|
|
723
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
339
724
|
*/
|
|
340
|
-
|
|
725
|
+
period_end: string;
|
|
726
|
+
invoice_pdf?: string;
|
|
727
|
+
};
|
|
728
|
+
export type MarketplaceListingFiles = {
|
|
341
729
|
/**
|
|
342
|
-
*
|
|
730
|
+
* Raw Chart.yaml content from the Helm chart
|
|
343
731
|
*/
|
|
344
|
-
|
|
732
|
+
chartYaml?: string;
|
|
345
733
|
/**
|
|
346
|
-
*
|
|
734
|
+
* Raw values.yaml content from the Helm chart
|
|
347
735
|
*/
|
|
348
|
-
|
|
736
|
+
valuesYaml?: string;
|
|
349
737
|
/**
|
|
350
|
-
*
|
|
738
|
+
* JSON schema for values.yaml as a string
|
|
351
739
|
*/
|
|
352
|
-
|
|
740
|
+
valuesSchemaJson?: string;
|
|
741
|
+
};
|
|
742
|
+
export type MarketplaceListing = {
|
|
353
743
|
/**
|
|
354
|
-
*
|
|
744
|
+
* Name of the chart
|
|
355
745
|
*/
|
|
356
|
-
|
|
746
|
+
name: string;
|
|
357
747
|
/**
|
|
358
|
-
*
|
|
748
|
+
* Available versions of the chart
|
|
359
749
|
*/
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
/**
|
|
374
|
-
* Name of the plan
|
|
375
|
-
*/
|
|
376
|
-
planName?: string;
|
|
377
|
-
/**
|
|
378
|
-
* Name of the phase
|
|
379
|
-
*/
|
|
380
|
-
phaseName?: string;
|
|
381
|
-
/**
|
|
382
|
-
* Name of the usage
|
|
383
|
-
*/
|
|
384
|
-
usageName?: string;
|
|
385
|
-
/**
|
|
386
|
-
* Pretty name of the product
|
|
387
|
-
*/
|
|
388
|
-
prettyProductName?: 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?: {
|
|
389
763
|
/**
|
|
390
|
-
*
|
|
764
|
+
* Chart name from metadata
|
|
391
765
|
*/
|
|
392
|
-
|
|
766
|
+
name: string;
|
|
393
767
|
/**
|
|
394
|
-
*
|
|
768
|
+
* Chart version from metadata
|
|
395
769
|
*/
|
|
396
|
-
|
|
770
|
+
version: string;
|
|
397
771
|
/**
|
|
398
|
-
*
|
|
772
|
+
* Chart description
|
|
399
773
|
*/
|
|
400
|
-
|
|
774
|
+
description?: string;
|
|
401
775
|
/**
|
|
402
|
-
*
|
|
776
|
+
* Application version
|
|
403
777
|
*/
|
|
404
|
-
|
|
778
|
+
appVersion?: string;
|
|
405
779
|
/**
|
|
406
|
-
*
|
|
780
|
+
* Helm API version
|
|
407
781
|
*/
|
|
408
|
-
|
|
782
|
+
apiVersion?: string;
|
|
409
783
|
/**
|
|
410
|
-
*
|
|
784
|
+
* Chart keywords
|
|
411
785
|
*/
|
|
412
|
-
|
|
786
|
+
keywords?: Array<string>;
|
|
413
787
|
/**
|
|
414
|
-
*
|
|
788
|
+
* Chart home URL
|
|
415
789
|
*/
|
|
416
|
-
|
|
790
|
+
home?: string;
|
|
417
791
|
/**
|
|
418
|
-
*
|
|
792
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
419
793
|
*/
|
|
420
|
-
|
|
794
|
+
icon?: string;
|
|
421
795
|
/**
|
|
422
|
-
*
|
|
796
|
+
* Chart source URLs
|
|
423
797
|
*/
|
|
424
|
-
|
|
798
|
+
sources?: Array<string>;
|
|
425
799
|
/**
|
|
426
|
-
*
|
|
800
|
+
* Chart maintainers
|
|
427
801
|
*/
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
*/
|
|
440
|
-
catalogEffectiveDate?: string;
|
|
441
|
-
/**
|
|
442
|
-
* Child items of the invoice item
|
|
443
|
-
*/
|
|
444
|
-
childItems?: Array<Array<unknown> | boolean | number | {
|
|
445
|
-
[key: string]: unknown;
|
|
446
|
-
} | string>;
|
|
447
|
-
}>;
|
|
448
|
-
/**
|
|
449
|
-
* Items of the invoice
|
|
450
|
-
*/
|
|
451
|
-
items?: Array<{
|
|
452
|
-
/**
|
|
453
|
-
* Unique identifier of the invoice item. UUID v4 string in canonical form
|
|
454
|
-
*/
|
|
455
|
-
id?: string;
|
|
456
|
-
/**
|
|
457
|
-
* Unique identifier of the linked invoice item. UUID v4 string in canonical form
|
|
458
|
-
*/
|
|
459
|
-
linkedInvoiceItemId?: string;
|
|
460
|
-
/**
|
|
461
|
-
* Name of the product
|
|
462
|
-
*/
|
|
463
|
-
productName?: string;
|
|
464
|
-
/**
|
|
465
|
-
* Name of the plan
|
|
466
|
-
*/
|
|
467
|
-
planName?: string;
|
|
468
|
-
/**
|
|
469
|
-
* Name of the phase
|
|
470
|
-
*/
|
|
471
|
-
phaseName?: string;
|
|
472
|
-
/**
|
|
473
|
-
* Name of the usage
|
|
474
|
-
*/
|
|
475
|
-
usageName?: string;
|
|
476
|
-
/**
|
|
477
|
-
* Pretty name of the product
|
|
478
|
-
*/
|
|
479
|
-
prettyProductName?: string;
|
|
480
|
-
/**
|
|
481
|
-
* Pretty name of the plan
|
|
482
|
-
*/
|
|
483
|
-
prettyPlanName?: string;
|
|
484
|
-
/**
|
|
485
|
-
* Pretty name of the phase
|
|
486
|
-
*/
|
|
487
|
-
prettyPhaseName?: string;
|
|
488
|
-
/**
|
|
489
|
-
* Pretty name of the usage
|
|
490
|
-
*/
|
|
491
|
-
prettyUsageName?: string;
|
|
492
|
-
/**
|
|
493
|
-
* Type of the invoice item
|
|
494
|
-
*/
|
|
495
|
-
itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
|
|
496
|
-
/**
|
|
497
|
-
* Description of the invoice item
|
|
498
|
-
*/
|
|
499
|
-
description?: string;
|
|
500
|
-
/**
|
|
501
|
-
* Start date of the invoice item
|
|
502
|
-
*/
|
|
503
|
-
startDate?: string;
|
|
504
|
-
/**
|
|
505
|
-
* End date of the invoice item
|
|
506
|
-
*/
|
|
507
|
-
endDate?: string;
|
|
508
|
-
/**
|
|
509
|
-
* Amount of the invoice item
|
|
510
|
-
*/
|
|
511
|
-
amount?: number;
|
|
512
|
-
/**
|
|
513
|
-
* Rate of the invoice item
|
|
514
|
-
*/
|
|
515
|
-
rate?: number;
|
|
516
|
-
/**
|
|
517
|
-
* Currency of the invoice item
|
|
518
|
-
*/
|
|
519
|
-
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';
|
|
520
|
-
/**
|
|
521
|
-
* Quantity of the invoice item
|
|
522
|
-
*/
|
|
523
|
-
quantity?: number;
|
|
524
|
-
/**
|
|
525
|
-
* Details of the invoice item
|
|
526
|
-
*/
|
|
527
|
-
itemDetails?: string;
|
|
528
|
-
/**
|
|
529
|
-
* Effective date of the catalog
|
|
530
|
-
*/
|
|
531
|
-
catalogEffectiveDate?: string;
|
|
532
|
-
/**
|
|
533
|
-
* Child items of the invoice item
|
|
534
|
-
*/
|
|
535
|
-
childItems?: Array<Array<unknown> | boolean | number | {
|
|
536
|
-
[key: string]: unknown;
|
|
537
|
-
} | string>;
|
|
538
|
-
}>;
|
|
802
|
+
maintainers?: Array<{
|
|
803
|
+
/**
|
|
804
|
+
* Maintainer name
|
|
805
|
+
*/
|
|
806
|
+
name: string;
|
|
807
|
+
/**
|
|
808
|
+
* Maintainer email
|
|
809
|
+
*/
|
|
810
|
+
email?: string;
|
|
811
|
+
}>;
|
|
812
|
+
};
|
|
539
813
|
};
|
|
540
814
|
export type OrganizationCreateInput = {
|
|
815
|
+
/**
|
|
816
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
817
|
+
*/
|
|
818
|
+
type: 'business' | 'personal';
|
|
541
819
|
/**
|
|
542
820
|
* Email address used for billing as a string.
|
|
543
821
|
*/
|
|
@@ -559,6 +837,12 @@ export type OrganizationCreateInput = {
|
|
|
559
837
|
*/
|
|
560
838
|
password: string;
|
|
561
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
|
+
};
|
|
562
846
|
export type Organization = {
|
|
563
847
|
/**
|
|
564
848
|
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
@@ -568,6 +852,10 @@ export type Organization = {
|
|
|
568
852
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
569
853
|
*/
|
|
570
854
|
name?: string;
|
|
855
|
+
/**
|
|
856
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
857
|
+
*/
|
|
858
|
+
type: 'business' | 'personal';
|
|
571
859
|
/**
|
|
572
860
|
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
573
861
|
*/
|
|
@@ -593,13 +881,17 @@ export type Organization = {
|
|
|
593
881
|
*/
|
|
594
882
|
pro_clusters_available: number;
|
|
595
883
|
/**
|
|
596
|
-
* Maximum number of
|
|
884
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
597
885
|
*/
|
|
598
|
-
|
|
886
|
+
enterprise_clusters_max: number;
|
|
887
|
+
/**
|
|
888
|
+
* Available number of Enterprise clusters that can be created.
|
|
889
|
+
*/
|
|
890
|
+
enterprise_clusters_available: number;
|
|
599
891
|
/**
|
|
600
|
-
* Maximum number of
|
|
892
|
+
* Maximum number of fleets that can be created per cluster.
|
|
601
893
|
*/
|
|
602
|
-
|
|
894
|
+
fleets_max: number;
|
|
603
895
|
/**
|
|
604
896
|
* List of Cloudfleet cluster tiers available for the organization.
|
|
605
897
|
*/
|
|
@@ -621,350 +913,1379 @@ export type Organization = {
|
|
|
621
913
|
*/
|
|
622
914
|
label: string;
|
|
623
915
|
}>;
|
|
916
|
+
/**
|
|
917
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
918
|
+
*/
|
|
919
|
+
cfcr_storage_gb: number;
|
|
624
920
|
};
|
|
625
921
|
/**
|
|
626
922
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
627
923
|
*/
|
|
628
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';
|
|
629
929
|
};
|
|
630
930
|
export type PaymentMethod = {
|
|
631
931
|
/**
|
|
632
|
-
*
|
|
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.
|
|
633
933
|
*/
|
|
634
934
|
id: string;
|
|
635
935
|
/**
|
|
636
|
-
*
|
|
637
|
-
*/
|
|
638
|
-
setup: boolean;
|
|
639
|
-
/**
|
|
640
|
-
* 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.
|
|
641
937
|
*/
|
|
642
|
-
type: 'card';
|
|
938
|
+
type: 'card' | 'sepa_debit' | 'bank_transfer';
|
|
643
939
|
/**
|
|
644
|
-
* 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.
|
|
645
941
|
*/
|
|
646
942
|
last4: string;
|
|
647
943
|
/**
|
|
648
|
-
* 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.
|
|
649
945
|
*/
|
|
650
946
|
exp_month: number;
|
|
651
947
|
/**
|
|
652
|
-
* 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.
|
|
653
949
|
*/
|
|
654
950
|
exp_year: number;
|
|
655
951
|
/**
|
|
656
|
-
* 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.
|
|
657
953
|
*/
|
|
658
|
-
brand:
|
|
659
|
-
};
|
|
660
|
-
export type TokenCreateInput = {
|
|
954
|
+
brand: string;
|
|
661
955
|
/**
|
|
662
|
-
*
|
|
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.
|
|
663
957
|
*/
|
|
664
|
-
|
|
958
|
+
iban: string;
|
|
665
959
|
/**
|
|
666
|
-
*
|
|
960
|
+
* BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
667
961
|
*/
|
|
668
|
-
|
|
669
|
-
};
|
|
670
|
-
export type Token = {
|
|
962
|
+
bic: string;
|
|
671
963
|
/**
|
|
672
|
-
*
|
|
964
|
+
* Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
673
965
|
*/
|
|
674
|
-
|
|
966
|
+
account_holder_name: string;
|
|
675
967
|
/**
|
|
676
|
-
*
|
|
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).
|
|
677
969
|
*/
|
|
678
|
-
|
|
970
|
+
is_default: boolean;
|
|
971
|
+
};
|
|
972
|
+
export type PlatformQuota = {
|
|
679
973
|
/**
|
|
680
|
-
*
|
|
974
|
+
* Maximum number of Basic clusters that can be created.
|
|
681
975
|
*/
|
|
682
|
-
|
|
976
|
+
basic_clusters_max: number;
|
|
683
977
|
/**
|
|
684
|
-
*
|
|
978
|
+
* Available number of Basic clusters that can be created.
|
|
685
979
|
*/
|
|
686
|
-
|
|
980
|
+
basic_clusters_available: number;
|
|
687
981
|
/**
|
|
688
|
-
*
|
|
982
|
+
* Maximum number of Pro clusters that can be created.
|
|
689
983
|
*/
|
|
690
|
-
|
|
691
|
-
};
|
|
692
|
-
export type TokenUpdateInput = {
|
|
984
|
+
pro_clusters_max: number;
|
|
693
985
|
/**
|
|
694
|
-
*
|
|
986
|
+
* Available number of Pro clusters that can be created.
|
|
695
987
|
*/
|
|
696
|
-
|
|
988
|
+
pro_clusters_available: number;
|
|
697
989
|
/**
|
|
698
|
-
*
|
|
990
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
699
991
|
*/
|
|
700
|
-
|
|
701
|
-
};
|
|
702
|
-
export type Usage = {
|
|
992
|
+
enterprise_clusters_max: number;
|
|
703
993
|
/**
|
|
704
|
-
*
|
|
994
|
+
* Available number of Enterprise clusters that can be created.
|
|
705
995
|
*/
|
|
706
|
-
|
|
996
|
+
enterprise_clusters_available: number;
|
|
707
997
|
/**
|
|
708
|
-
*
|
|
998
|
+
* Maximum number of fleets that can be created per cluster.
|
|
709
999
|
*/
|
|
710
|
-
|
|
1000
|
+
fleets_max: number;
|
|
711
1001
|
/**
|
|
712
|
-
*
|
|
1002
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
713
1003
|
*/
|
|
714
|
-
|
|
1004
|
+
cluster_tiers: Array<string>;
|
|
715
1005
|
/**
|
|
716
|
-
*
|
|
1006
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
717
1007
|
*/
|
|
718
|
-
|
|
1008
|
+
regions: Array<string>;
|
|
719
1009
|
/**
|
|
720
|
-
*
|
|
1010
|
+
* List of CFKE control plane versions available for the organization.
|
|
721
1011
|
*/
|
|
722
|
-
|
|
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
|
+
}>;
|
|
723
1022
|
/**
|
|
724
|
-
*
|
|
1023
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
725
1024
|
*/
|
|
726
|
-
|
|
727
|
-
cpu: number | '';
|
|
728
|
-
price: number | '';
|
|
729
|
-
value: number | '';
|
|
730
|
-
total: number | '';
|
|
1025
|
+
cfcr_storage_gb: number;
|
|
731
1026
|
};
|
|
732
|
-
export type
|
|
1027
|
+
export type RegistryRepository = {
|
|
733
1028
|
/**
|
|
734
|
-
*
|
|
1029
|
+
* Repository name.
|
|
735
1030
|
*/
|
|
736
|
-
|
|
1031
|
+
name: string;
|
|
737
1032
|
/**
|
|
738
|
-
*
|
|
1033
|
+
* Registry region.
|
|
739
1034
|
*/
|
|
740
|
-
|
|
1035
|
+
region: string;
|
|
741
1036
|
/**
|
|
742
|
-
*
|
|
1037
|
+
* Full URI of the repository.
|
|
743
1038
|
*/
|
|
744
|
-
|
|
1039
|
+
uri: string;
|
|
1040
|
+
};
|
|
1041
|
+
export type RegistryRepositoryWithTags = {
|
|
745
1042
|
/**
|
|
746
|
-
*
|
|
1043
|
+
* Repository name.
|
|
747
1044
|
*/
|
|
748
|
-
|
|
1045
|
+
name: string;
|
|
749
1046
|
/**
|
|
750
|
-
*
|
|
1047
|
+
* Registry region.
|
|
751
1048
|
*/
|
|
752
|
-
|
|
1049
|
+
region: string;
|
|
753
1050
|
/**
|
|
754
|
-
*
|
|
1051
|
+
* Full URI of the repository.
|
|
755
1052
|
*/
|
|
756
|
-
|
|
1053
|
+
uri: string;
|
|
757
1054
|
/**
|
|
758
|
-
*
|
|
1055
|
+
* Array of tags in the repository.
|
|
759
1056
|
*/
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
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
|
+
}>;
|
|
763
1075
|
/**
|
|
764
|
-
*
|
|
1076
|
+
* Total size of all tags in the repository in bytes.
|
|
765
1077
|
*/
|
|
766
|
-
|
|
1078
|
+
totalSize: number;
|
|
1079
|
+
};
|
|
1080
|
+
export type RegistryTag = {
|
|
767
1081
|
/**
|
|
768
|
-
*
|
|
1082
|
+
* Tag name.
|
|
769
1083
|
*/
|
|
770
|
-
|
|
1084
|
+
name: string;
|
|
771
1085
|
/**
|
|
772
|
-
*
|
|
1086
|
+
* Manifest digest for pulling by digest.
|
|
773
1087
|
*/
|
|
774
|
-
|
|
1088
|
+
digest: string;
|
|
775
1089
|
/**
|
|
776
|
-
*
|
|
1090
|
+
* Media type of the manifest.
|
|
777
1091
|
*/
|
|
778
|
-
|
|
1092
|
+
mediaType?: string;
|
|
779
1093
|
/**
|
|
780
|
-
*
|
|
1094
|
+
* Manifest config metadata.
|
|
781
1095
|
*/
|
|
782
|
-
|
|
1096
|
+
config?: {
|
|
1097
|
+
/**
|
|
1098
|
+
* Size of the config in bytes.
|
|
1099
|
+
*/
|
|
1100
|
+
size: number;
|
|
1101
|
+
};
|
|
783
1102
|
/**
|
|
784
|
-
*
|
|
1103
|
+
* Array of layer metadata.
|
|
785
1104
|
*/
|
|
786
|
-
|
|
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
|
+
}>;
|
|
787
1115
|
/**
|
|
788
|
-
*
|
|
1116
|
+
* Array of manifests for multi-arch images.
|
|
789
1117
|
*/
|
|
790
|
-
|
|
791
|
-
cluster_permissions?: Array<{
|
|
1118
|
+
manifests?: Array<{
|
|
792
1119
|
/**
|
|
793
|
-
*
|
|
1120
|
+
* Digest of the manifest.
|
|
794
1121
|
*/
|
|
795
|
-
|
|
1122
|
+
digest: string;
|
|
796
1123
|
/**
|
|
797
|
-
*
|
|
1124
|
+
* Platform information for the manifest.
|
|
798
1125
|
*/
|
|
799
|
-
|
|
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;
|
|
800
1157
|
}>;
|
|
801
|
-
};
|
|
802
|
-
export type UserUpdateInput = {
|
|
803
1158
|
/**
|
|
804
|
-
*
|
|
1159
|
+
* Total size of the tag in bytes.
|
|
805
1160
|
*/
|
|
806
|
-
|
|
1161
|
+
size: number;
|
|
807
1162
|
/**
|
|
808
|
-
*
|
|
1163
|
+
* Registry region.
|
|
809
1164
|
*/
|
|
810
|
-
|
|
1165
|
+
region: string;
|
|
811
1166
|
/**
|
|
812
|
-
*
|
|
1167
|
+
* Repository name.
|
|
813
1168
|
*/
|
|
814
|
-
|
|
1169
|
+
repository: string;
|
|
815
1170
|
/**
|
|
816
|
-
*
|
|
1171
|
+
* Full URI of the tag.
|
|
817
1172
|
*/
|
|
818
|
-
|
|
1173
|
+
uri: string;
|
|
1174
|
+
};
|
|
1175
|
+
export type TicketAttachment = {
|
|
819
1176
|
/**
|
|
820
|
-
*
|
|
1177
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
821
1178
|
*/
|
|
822
|
-
|
|
823
|
-
};
|
|
824
|
-
export type GetUsageData = {
|
|
825
|
-
body?: never;
|
|
826
|
-
path?: never;
|
|
827
|
-
query?: never;
|
|
828
|
-
url: '/billing/usage';
|
|
829
|
-
};
|
|
830
|
-
export type GetUsageErrors = {
|
|
1179
|
+
id: string;
|
|
831
1180
|
/**
|
|
832
|
-
*
|
|
1181
|
+
* Original filename as uploaded.
|
|
833
1182
|
*/
|
|
834
|
-
|
|
835
|
-
};
|
|
836
|
-
export type GetUsageResponses = {
|
|
1183
|
+
filename: string;
|
|
837
1184
|
/**
|
|
838
|
-
*
|
|
1185
|
+
* MIME content type of the attachment.
|
|
839
1186
|
*/
|
|
840
|
-
|
|
841
|
-
};
|
|
842
|
-
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
843
|
-
export type GetBalanceData = {
|
|
844
|
-
body?: never;
|
|
845
|
-
path?: never;
|
|
846
|
-
query?: never;
|
|
847
|
-
url: '/billing/balance';
|
|
848
|
-
};
|
|
849
|
-
export type GetBalanceResponses = {
|
|
1187
|
+
content_type: string;
|
|
850
1188
|
/**
|
|
851
|
-
*
|
|
1189
|
+
* Size of the attachment in bytes.
|
|
852
1190
|
*/
|
|
853
|
-
|
|
1191
|
+
size: number;
|
|
854
1192
|
};
|
|
855
|
-
export type
|
|
856
|
-
export type GetPaymentMethodData = {
|
|
857
|
-
body?: never;
|
|
858
|
-
path?: never;
|
|
859
|
-
query?: never;
|
|
860
|
-
url: '/billing/payment-method';
|
|
861
|
-
};
|
|
862
|
-
export type GetPaymentMethodErrors = {
|
|
1193
|
+
export type TicketCreateInput = {
|
|
863
1194
|
/**
|
|
864
|
-
*
|
|
1195
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
865
1196
|
*/
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
1197
|
+
category: 'billing' | 'technical' | 'general';
|
|
1198
|
+
/**
|
|
1199
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
1200
|
+
*/
|
|
1201
|
+
body: string;
|
|
869
1202
|
/**
|
|
870
|
-
*
|
|
1203
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
871
1204
|
*/
|
|
872
|
-
|
|
1205
|
+
properties?: {
|
|
1206
|
+
[key: string]: unknown;
|
|
1207
|
+
};
|
|
873
1208
|
};
|
|
874
|
-
export type
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
url: '/billing/payment-method';
|
|
1209
|
+
export type TicketMessageInput = {
|
|
1210
|
+
/**
|
|
1211
|
+
* Reply body in markdown.
|
|
1212
|
+
*/
|
|
1213
|
+
body: string;
|
|
880
1214
|
};
|
|
881
|
-
export type
|
|
1215
|
+
export type TicketMessage = {
|
|
882
1216
|
/**
|
|
883
|
-
*
|
|
884
|
-
*
|
|
1217
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
885
1218
|
*/
|
|
886
|
-
|
|
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<{
|
|
887
1240
|
/**
|
|
888
|
-
*
|
|
1241
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1242
|
+
*/
|
|
1243
|
+
id: string;
|
|
1244
|
+
/**
|
|
1245
|
+
* Original filename as uploaded.
|
|
1246
|
+
*/
|
|
1247
|
+
filename: string;
|
|
1248
|
+
/**
|
|
1249
|
+
* MIME content type of the attachment.
|
|
1250
|
+
*/
|
|
1251
|
+
content_type: string;
|
|
1252
|
+
/**
|
|
1253
|
+
* Size of the attachment in bytes.
|
|
1254
|
+
*/
|
|
1255
|
+
size: number;
|
|
1256
|
+
}>;
|
|
1257
|
+
/**
|
|
1258
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1259
|
+
*/
|
|
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;
|
|
1697
|
+
};
|
|
1698
|
+
export type CreateTokenResponses = {
|
|
1699
|
+
/**
|
|
1700
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1701
|
+
*/
|
|
1702
|
+
200: Token;
|
|
1703
|
+
};
|
|
1704
|
+
export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
|
|
1705
|
+
export type DeleteTokenData = {
|
|
1706
|
+
body?: never;
|
|
1707
|
+
path: {
|
|
1708
|
+
/**
|
|
1709
|
+
* Generated unique identifier of the access token.
|
|
1710
|
+
*/
|
|
1711
|
+
token_id: string;
|
|
1712
|
+
};
|
|
1713
|
+
query?: never;
|
|
1714
|
+
url: '/tokens/{token_id}';
|
|
1715
|
+
};
|
|
1716
|
+
export type DeleteTokenResponses = {
|
|
1717
|
+
/**
|
|
1718
|
+
* Successfully deleted.
|
|
1719
|
+
*/
|
|
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;
|
|
1729
|
+
};
|
|
1730
|
+
query?: never;
|
|
1731
|
+
url: '/tokens/{token_id}';
|
|
1732
|
+
};
|
|
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 = {
|
|
1795
|
+
body?: never;
|
|
1796
|
+
path?: never;
|
|
1797
|
+
query?: never;
|
|
1798
|
+
url: '/tickets';
|
|
1799
|
+
};
|
|
1800
|
+
export type ListTicketsResponses = {
|
|
1801
|
+
/**
|
|
1802
|
+
* An array of tickets for the organization, newest first.
|
|
1803
|
+
*/
|
|
1804
|
+
200: Array<Ticket>;
|
|
1805
|
+
};
|
|
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
|
+
};
|
|
1815
|
+
path?: never;
|
|
1816
|
+
query?: never;
|
|
1817
|
+
url: '/tickets';
|
|
1818
|
+
};
|
|
1819
|
+
export type CreateTicketResponses = {
|
|
1820
|
+
/**
|
|
1821
|
+
* Ticket created.
|
|
1822
|
+
*/
|
|
1823
|
+
200: Ticket;
|
|
1824
|
+
};
|
|
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.
|
|
889
1860
|
*/
|
|
890
|
-
|
|
1861
|
+
payload?: string;
|
|
1862
|
+
attachments?: Array<Blob | File>;
|
|
1863
|
+
};
|
|
1864
|
+
path: {
|
|
1865
|
+
ticket_id: string;
|
|
891
1866
|
};
|
|
1867
|
+
query?: never;
|
|
1868
|
+
url: '/tickets/{ticket_id}/messages';
|
|
892
1869
|
};
|
|
893
|
-
export type
|
|
894
|
-
|
|
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 = {
|
|
895
1900
|
body?: never;
|
|
896
1901
|
path?: never;
|
|
897
|
-
query
|
|
1902
|
+
query?: never;
|
|
1903
|
+
url: '/registry';
|
|
1904
|
+
};
|
|
1905
|
+
export type ListRepositoriesErrors = {
|
|
1906
|
+
/**
|
|
1907
|
+
* Not authenticated
|
|
1908
|
+
*/
|
|
1909
|
+
401: unknown;
|
|
1910
|
+
/**
|
|
1911
|
+
* Internal server error
|
|
1912
|
+
*/
|
|
1913
|
+
500: unknown;
|
|
1914
|
+
};
|
|
1915
|
+
export type ListRepositoriesResponses = {
|
|
1916
|
+
/**
|
|
1917
|
+
* List of repositories
|
|
1918
|
+
*/
|
|
1919
|
+
200: Array<RegistryRepository>;
|
|
1920
|
+
};
|
|
1921
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
1922
|
+
export type ListTagsData = {
|
|
1923
|
+
body?: never;
|
|
1924
|
+
path: {
|
|
898
1925
|
/**
|
|
899
|
-
*
|
|
1926
|
+
* Region where the repository is located
|
|
900
1927
|
*/
|
|
901
|
-
|
|
1928
|
+
region: string;
|
|
902
1929
|
/**
|
|
903
|
-
*
|
|
1930
|
+
* Name of the repository
|
|
904
1931
|
*/
|
|
905
|
-
|
|
1932
|
+
repository: string;
|
|
906
1933
|
};
|
|
907
|
-
|
|
1934
|
+
query?: never;
|
|
1935
|
+
url: '/registry/{region}/{repository}';
|
|
908
1936
|
};
|
|
909
|
-
export type
|
|
1937
|
+
export type ListTagsErrors = {
|
|
910
1938
|
/**
|
|
911
1939
|
* Not authenticated
|
|
912
1940
|
*/
|
|
913
1941
|
401: unknown;
|
|
1942
|
+
/**
|
|
1943
|
+
* Repository not found
|
|
1944
|
+
*/
|
|
1945
|
+
404: unknown;
|
|
1946
|
+
/**
|
|
1947
|
+
* Internal server error
|
|
1948
|
+
*/
|
|
1949
|
+
500: unknown;
|
|
914
1950
|
};
|
|
915
|
-
export type
|
|
1951
|
+
export type ListTagsResponses = {
|
|
916
1952
|
/**
|
|
917
|
-
*
|
|
1953
|
+
* Repository with tags
|
|
918
1954
|
*/
|
|
919
|
-
200:
|
|
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;
|
|
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;
|
|
2079
|
+
path?: never;
|
|
2080
|
+
query?: never;
|
|
2081
|
+
url: '/organization/basic-price-consent';
|
|
2082
|
+
};
|
|
2083
|
+
export type SetBasicPriceConsentErrors = {
|
|
2084
|
+
/**
|
|
2085
|
+
* The authenticated principal has no email address (e.g. a service account) and cannot record this decision.
|
|
2086
|
+
*
|
|
2087
|
+
*/
|
|
2088
|
+
401: unknown;
|
|
2089
|
+
/**
|
|
2090
|
+
* The consent flow does not apply to this organization.
|
|
2091
|
+
*/
|
|
2092
|
+
409: unknown;
|
|
2093
|
+
};
|
|
2094
|
+
export type SetBasicPriceConsentResponses = {
|
|
2095
|
+
/**
|
|
2096
|
+
* Decision recorded. Returns the updated consent status.
|
|
2097
|
+
*/
|
|
2098
|
+
200: BasicPriceConsent;
|
|
2099
|
+
};
|
|
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;
|
|
2109
|
+
/**
|
|
2110
|
+
* Method-specific parameters
|
|
2111
|
+
*/
|
|
2112
|
+
params?: {
|
|
2113
|
+
[key: string]: unknown;
|
|
2114
|
+
};
|
|
2115
|
+
};
|
|
2116
|
+
path?: never;
|
|
2117
|
+
query?: never;
|
|
2118
|
+
url: '/mcp';
|
|
2119
|
+
};
|
|
2120
|
+
export type PostMcpErrors = {
|
|
2121
|
+
/**
|
|
2122
|
+
* Not authenticated
|
|
2123
|
+
*/
|
|
2124
|
+
401: unknown;
|
|
2125
|
+
};
|
|
2126
|
+
export type PostMcpResponses = {
|
|
2127
|
+
/**
|
|
2128
|
+
* JSON-RPC 2.0 success or error response
|
|
2129
|
+
*/
|
|
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
|
+
};
|
|
2140
|
+
};
|
|
2141
|
+
};
|
|
2142
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
2143
|
+
export type ListMarketplaceChartsData = {
|
|
2144
|
+
body?: never;
|
|
2145
|
+
path?: never;
|
|
2146
|
+
query?: never;
|
|
2147
|
+
url: '/marketplace';
|
|
2148
|
+
};
|
|
2149
|
+
export type ListMarketplaceChartsErrors = {
|
|
2150
|
+
/**
|
|
2151
|
+
* Not authenticated
|
|
2152
|
+
*/
|
|
2153
|
+
401: unknown;
|
|
2154
|
+
};
|
|
2155
|
+
export type ListMarketplaceChartsResponses = {
|
|
2156
|
+
/**
|
|
2157
|
+
* An array of chart listings in the marketplace.
|
|
2158
|
+
*/
|
|
2159
|
+
200: Array<MarketplaceListing>;
|
|
2160
|
+
};
|
|
2161
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
2162
|
+
export type GetMarketplaceChartFilesData = {
|
|
2163
|
+
body?: never;
|
|
2164
|
+
path: {
|
|
2165
|
+
/**
|
|
2166
|
+
* Name of the chart in the marketplace.
|
|
2167
|
+
*/
|
|
2168
|
+
chart_name: string;
|
|
2169
|
+
/**
|
|
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).
|
|
2171
|
+
*/
|
|
2172
|
+
version_channel: string;
|
|
2173
|
+
};
|
|
2174
|
+
query?: never;
|
|
2175
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
2176
|
+
};
|
|
2177
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
2178
|
+
/**
|
|
2179
|
+
* Chart not found or no version matches the channel
|
|
2180
|
+
*/
|
|
2181
|
+
404: unknown;
|
|
2182
|
+
};
|
|
2183
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
2184
|
+
/**
|
|
2185
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
2186
|
+
*/
|
|
2187
|
+
200: MarketplaceListingFiles;
|
|
2188
|
+
};
|
|
2189
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
2190
|
+
export type ListInvitesData = {
|
|
2191
|
+
body?: never;
|
|
2192
|
+
path?: never;
|
|
2193
|
+
query?: never;
|
|
2194
|
+
url: '/invites';
|
|
2195
|
+
};
|
|
2196
|
+
export type ListInvitesErrors = {
|
|
2197
|
+
/**
|
|
2198
|
+
* Not authenticated
|
|
2199
|
+
*/
|
|
2200
|
+
401: unknown;
|
|
2201
|
+
};
|
|
2202
|
+
export type ListInvitesResponses = {
|
|
2203
|
+
/**
|
|
2204
|
+
* An array of invites
|
|
2205
|
+
*/
|
|
2206
|
+
200: Array<Invite>;
|
|
2207
|
+
};
|
|
2208
|
+
export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
|
|
2209
|
+
export type CreateInviteData = {
|
|
2210
|
+
body: InviteCreateInput;
|
|
2211
|
+
path?: never;
|
|
2212
|
+
query?: never;
|
|
2213
|
+
url: '/invites';
|
|
2214
|
+
};
|
|
2215
|
+
export type CreateInviteResponses = {
|
|
2216
|
+
/**
|
|
2217
|
+
* Successfully created. Returns created invite details.
|
|
2218
|
+
*/
|
|
2219
|
+
200: Invite;
|
|
2220
|
+
};
|
|
2221
|
+
export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
|
|
2222
|
+
export type GetInviteData = {
|
|
2223
|
+
body?: never;
|
|
2224
|
+
path: {
|
|
2225
|
+
/**
|
|
2226
|
+
* Invitation code
|
|
2227
|
+
*/
|
|
2228
|
+
code: string;
|
|
2229
|
+
};
|
|
2230
|
+
query?: never;
|
|
2231
|
+
url: '/invites/{code}';
|
|
2232
|
+
};
|
|
2233
|
+
export type GetInviteResponses = {
|
|
2234
|
+
/**
|
|
2235
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
2236
|
+
*/
|
|
2237
|
+
200: {
|
|
2238
|
+
/**
|
|
2239
|
+
* Email address the invite was issued to.
|
|
2240
|
+
*/
|
|
2241
|
+
email?: string;
|
|
2242
|
+
/**
|
|
2243
|
+
* Identifier of the organization the invite grants access to.
|
|
2244
|
+
*/
|
|
2245
|
+
organization_id?: string;
|
|
2246
|
+
};
|
|
920
2247
|
};
|
|
921
|
-
export type
|
|
922
|
-
export type
|
|
2248
|
+
export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
|
|
2249
|
+
export type DeleteInviteData = {
|
|
923
2250
|
body?: never;
|
|
924
2251
|
path: {
|
|
925
2252
|
/**
|
|
926
|
-
*
|
|
2253
|
+
* User email address
|
|
927
2254
|
*/
|
|
928
|
-
|
|
2255
|
+
email: string;
|
|
929
2256
|
};
|
|
930
2257
|
query?: never;
|
|
931
|
-
url: '/
|
|
2258
|
+
url: '/invites/{email}';
|
|
932
2259
|
};
|
|
933
|
-
export type
|
|
2260
|
+
export type DeleteInviteResponses = {
|
|
934
2261
|
/**
|
|
935
|
-
*
|
|
2262
|
+
* Successfully deleted.
|
|
936
2263
|
*/
|
|
937
|
-
200:
|
|
938
|
-
html?: string;
|
|
939
|
-
};
|
|
2264
|
+
200: unknown;
|
|
940
2265
|
};
|
|
941
|
-
export type
|
|
942
|
-
export type GetContactData = {
|
|
2266
|
+
export type QueryClusterData = {
|
|
943
2267
|
body?: never;
|
|
944
|
-
path
|
|
2268
|
+
path: {
|
|
2269
|
+
/**
|
|
2270
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2271
|
+
*/
|
|
2272
|
+
cluster_id: string;
|
|
2273
|
+
};
|
|
945
2274
|
query?: never;
|
|
946
|
-
url: '/
|
|
2275
|
+
url: '/clusters/{cluster_id}/query';
|
|
947
2276
|
};
|
|
948
|
-
export type
|
|
2277
|
+
export type QueryClusterErrors = {
|
|
949
2278
|
/**
|
|
950
|
-
*
|
|
2279
|
+
* Not authenticated
|
|
951
2280
|
*/
|
|
952
|
-
|
|
953
|
-
};
|
|
954
|
-
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
955
|
-
export type UpdateContactData = {
|
|
956
|
-
body: BillingContact;
|
|
957
|
-
path?: never;
|
|
958
|
-
query?: never;
|
|
959
|
-
url: '/billing/contact';
|
|
2281
|
+
401: unknown;
|
|
960
2282
|
};
|
|
961
|
-
export type
|
|
2283
|
+
export type QueryClusterResponses = {
|
|
962
2284
|
/**
|
|
963
|
-
*
|
|
2285
|
+
* Kubernetes API response
|
|
964
2286
|
*/
|
|
965
|
-
200:
|
|
2287
|
+
200: unknown;
|
|
966
2288
|
};
|
|
967
|
-
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
968
2289
|
export type ListFleetsData = {
|
|
969
2290
|
body?: never;
|
|
970
2291
|
path: {
|
|
@@ -1005,6 +2326,10 @@ export type CreateFleetErrors = {
|
|
|
1005
2326
|
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
1006
2327
|
*/
|
|
1007
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;
|
|
1008
2333
|
};
|
|
1009
2334
|
export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
|
|
1010
2335
|
export type CreateFleetResponses = {
|
|
@@ -1029,6 +2354,13 @@ export type DeleteFleetData = {
|
|
|
1029
2354
|
query?: never;
|
|
1030
2355
|
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
1031
2356
|
};
|
|
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];
|
|
1032
2364
|
export type DeleteFleetResponses = {
|
|
1033
2365
|
/**
|
|
1034
2366
|
* Successfully deleted.
|
|
@@ -1078,6 +2410,10 @@ export type UpdateFleetErrors = {
|
|
|
1078
2410
|
* Organization must have a valid payment method configured to access this endpoint.
|
|
1079
2411
|
*/
|
|
1080
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;
|
|
1081
2417
|
};
|
|
1082
2418
|
export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
|
|
1083
2419
|
export type UpdateFleetResponses = {
|
|
@@ -1087,7 +2423,7 @@ export type UpdateFleetResponses = {
|
|
|
1087
2423
|
200: string;
|
|
1088
2424
|
};
|
|
1089
2425
|
export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
|
|
1090
|
-
export type
|
|
2426
|
+
export type ListChartsData = {
|
|
1091
2427
|
body?: never;
|
|
1092
2428
|
path: {
|
|
1093
2429
|
/**
|
|
@@ -1096,540 +2432,489 @@ export type QueryClusterData = {
|
|
|
1096
2432
|
cluster_id: string;
|
|
1097
2433
|
};
|
|
1098
2434
|
query?: never;
|
|
1099
|
-
url: '/clusters/{cluster_id}/
|
|
1100
|
-
};
|
|
1101
|
-
export type QueryClusterErrors = {
|
|
1102
|
-
/**
|
|
1103
|
-
* Not authenticated
|
|
1104
|
-
*/
|
|
1105
|
-
401: unknown;
|
|
1106
|
-
};
|
|
1107
|
-
export type QueryClusterResponses = {
|
|
1108
|
-
/**
|
|
1109
|
-
* Kubernetes API response
|
|
1110
|
-
*/
|
|
1111
|
-
200: unknown;
|
|
1112
|
-
};
|
|
1113
|
-
export type ListClustersData = {
|
|
1114
|
-
body?: never;
|
|
1115
|
-
path?: never;
|
|
1116
|
-
query?: never;
|
|
1117
|
-
url: '/clusters';
|
|
2435
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1118
2436
|
};
|
|
1119
|
-
export type
|
|
2437
|
+
export type ListChartsErrors = {
|
|
1120
2438
|
/**
|
|
1121
2439
|
* Not authenticated
|
|
1122
2440
|
*/
|
|
1123
2441
|
401: unknown;
|
|
1124
2442
|
};
|
|
1125
|
-
export type
|
|
2443
|
+
export type ListChartsResponses = {
|
|
1126
2444
|
/**
|
|
1127
|
-
* An array of
|
|
2445
|
+
* An array of charts
|
|
1128
2446
|
*/
|
|
1129
|
-
200: Array<
|
|
2447
|
+
200: Array<Chart>;
|
|
1130
2448
|
};
|
|
1131
|
-
export type
|
|
1132
|
-
export type
|
|
1133
|
-
body:
|
|
1134
|
-
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
|
+
};
|
|
1135
2458
|
query?: never;
|
|
1136
|
-
url: '/clusters';
|
|
2459
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1137
2460
|
};
|
|
1138
|
-
export type
|
|
2461
|
+
export type CreateChartErrors = {
|
|
1139
2462
|
/**
|
|
1140
|
-
*
|
|
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.
|
|
1141
2464
|
*/
|
|
1142
|
-
|
|
2465
|
+
409: string;
|
|
1143
2466
|
};
|
|
1144
|
-
export type
|
|
1145
|
-
export type
|
|
2467
|
+
export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
|
|
2468
|
+
export type CreateChartResponses = {
|
|
1146
2469
|
/**
|
|
1147
|
-
* Successfully created. Returns created
|
|
2470
|
+
* Successfully created. Returns created Chart ID.
|
|
1148
2471
|
*/
|
|
1149
2472
|
200: string;
|
|
1150
2473
|
};
|
|
1151
|
-
export type
|
|
1152
|
-
export type
|
|
2474
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
2475
|
+
export type DeleteChartData = {
|
|
1153
2476
|
body?: never;
|
|
1154
2477
|
path: {
|
|
1155
2478
|
/**
|
|
1156
2479
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1157
2480
|
*/
|
|
1158
2481
|
cluster_id: string;
|
|
2482
|
+
/**
|
|
2483
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2484
|
+
*/
|
|
2485
|
+
chart_name: string;
|
|
1159
2486
|
};
|
|
1160
2487
|
query?: never;
|
|
1161
|
-
url: '/clusters/{cluster_id}';
|
|
2488
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1162
2489
|
};
|
|
1163
|
-
export type
|
|
2490
|
+
export type DeleteChartErrors = {
|
|
2491
|
+
/**
|
|
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.
|
|
2493
|
+
*/
|
|
2494
|
+
409: string;
|
|
2495
|
+
};
|
|
2496
|
+
export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
|
|
2497
|
+
export type DeleteChartResponses = {
|
|
1164
2498
|
/**
|
|
1165
2499
|
* Successfully deleted.
|
|
1166
2500
|
*/
|
|
1167
2501
|
200: string;
|
|
1168
2502
|
};
|
|
1169
|
-
export type
|
|
1170
|
-
export type
|
|
2503
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
2504
|
+
export type GetChartData = {
|
|
1171
2505
|
body?: never;
|
|
1172
2506
|
path: {
|
|
1173
2507
|
/**
|
|
1174
2508
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1175
2509
|
*/
|
|
1176
2510
|
cluster_id: string;
|
|
1177
|
-
};
|
|
1178
|
-
query?: never;
|
|
1179
|
-
url: '/clusters/{cluster_id}';
|
|
1180
|
-
};
|
|
1181
|
-
export type GetClusterResponses = {
|
|
1182
|
-
/**
|
|
1183
|
-
* Returns a single object containing cluster details.
|
|
1184
|
-
*/
|
|
1185
|
-
200: Cluster;
|
|
1186
|
-
};
|
|
1187
|
-
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
1188
|
-
export type UpdateClusterData = {
|
|
1189
|
-
body: ClusterUpdateInput;
|
|
1190
|
-
path: {
|
|
1191
2511
|
/**
|
|
1192
|
-
*
|
|
2512
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1193
2513
|
*/
|
|
1194
|
-
|
|
2514
|
+
chart_name: string;
|
|
1195
2515
|
};
|
|
1196
2516
|
query?: never;
|
|
1197
|
-
url: '/clusters/{cluster_id}';
|
|
2517
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1198
2518
|
};
|
|
1199
|
-
export type
|
|
2519
|
+
export type GetChartResponses = {
|
|
1200
2520
|
/**
|
|
1201
|
-
*
|
|
2521
|
+
* Returns a single object containing chart details.
|
|
1202
2522
|
*/
|
|
1203
|
-
200:
|
|
2523
|
+
200: Chart;
|
|
1204
2524
|
};
|
|
1205
|
-
export type
|
|
1206
|
-
export type
|
|
1207
|
-
body
|
|
2525
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
2526
|
+
export type UpdateChartData = {
|
|
2527
|
+
body: ChartUpdateInput;
|
|
1208
2528
|
path: {
|
|
1209
2529
|
/**
|
|
1210
2530
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1211
2531
|
*/
|
|
1212
2532
|
cluster_id: string;
|
|
2533
|
+
/**
|
|
2534
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2535
|
+
*/
|
|
2536
|
+
chart_name: string;
|
|
1213
2537
|
};
|
|
1214
2538
|
query?: never;
|
|
1215
|
-
url: '/clusters/{cluster_id}/
|
|
2539
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1216
2540
|
};
|
|
1217
|
-
export type
|
|
2541
|
+
export type UpdateChartErrors = {
|
|
1218
2542
|
/**
|
|
1219
|
-
*
|
|
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.
|
|
1220
2544
|
*/
|
|
1221
|
-
|
|
2545
|
+
409: string;
|
|
1222
2546
|
};
|
|
1223
|
-
export type
|
|
2547
|
+
export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
|
|
2548
|
+
export type UpdateChartResponses = {
|
|
1224
2549
|
/**
|
|
1225
|
-
*
|
|
2550
|
+
* Successfully updated.
|
|
1226
2551
|
*/
|
|
1227
|
-
200:
|
|
2552
|
+
200: string;
|
|
1228
2553
|
};
|
|
1229
|
-
export type
|
|
1230
|
-
export type
|
|
2554
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
2555
|
+
export type ListClustersData = {
|
|
1231
2556
|
body?: never;
|
|
1232
2557
|
path?: never;
|
|
1233
2558
|
query?: never;
|
|
1234
|
-
url: '/
|
|
2559
|
+
url: '/clusters';
|
|
1235
2560
|
};
|
|
1236
|
-
export type
|
|
2561
|
+
export type ListClustersErrors = {
|
|
1237
2562
|
/**
|
|
1238
2563
|
* Not authenticated
|
|
1239
2564
|
*/
|
|
1240
2565
|
401: unknown;
|
|
1241
2566
|
};
|
|
1242
|
-
export type
|
|
2567
|
+
export type ListClustersResponses = {
|
|
1243
2568
|
/**
|
|
1244
|
-
* An array of
|
|
2569
|
+
* An array of clusters
|
|
1245
2570
|
*/
|
|
1246
|
-
200: Array<
|
|
2571
|
+
200: Array<Cluster>;
|
|
1247
2572
|
};
|
|
1248
|
-
export type
|
|
1249
|
-
export type
|
|
1250
|
-
body:
|
|
1251
|
-
/**
|
|
1252
|
-
* User email address
|
|
1253
|
-
*/
|
|
1254
|
-
email?: string;
|
|
1255
|
-
};
|
|
2573
|
+
export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
|
|
2574
|
+
export type CreateClusterData = {
|
|
2575
|
+
body: ClusterCreateInput;
|
|
1256
2576
|
path?: never;
|
|
1257
2577
|
query?: never;
|
|
1258
|
-
url: '/
|
|
2578
|
+
url: '/clusters';
|
|
1259
2579
|
};
|
|
1260
|
-
export type
|
|
2580
|
+
export type CreateClusterErrors = {
|
|
1261
2581
|
/**
|
|
1262
|
-
*
|
|
2582
|
+
* Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
|
|
1263
2583
|
*/
|
|
1264
|
-
|
|
1265
|
-
};
|
|
1266
|
-
export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
|
|
1267
|
-
export type GetInviteData = {
|
|
1268
|
-
body?: never;
|
|
1269
|
-
path: {
|
|
1270
|
-
/**
|
|
1271
|
-
* Invitation code
|
|
1272
|
-
*/
|
|
1273
|
-
code: string;
|
|
1274
|
-
};
|
|
1275
|
-
query?: never;
|
|
1276
|
-
url: '/invites/{code}';
|
|
2584
|
+
402: string;
|
|
1277
2585
|
};
|
|
1278
|
-
export type
|
|
2586
|
+
export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
|
|
2587
|
+
export type CreateClusterResponses = {
|
|
1279
2588
|
/**
|
|
1280
|
-
*
|
|
2589
|
+
* Successfully created. Returns created Cluster ID.
|
|
1281
2590
|
*/
|
|
1282
|
-
200:
|
|
2591
|
+
200: string;
|
|
1283
2592
|
};
|
|
1284
|
-
export type
|
|
1285
|
-
export type
|
|
2593
|
+
export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
|
|
2594
|
+
export type DeleteClusterData = {
|
|
1286
2595
|
body?: never;
|
|
1287
2596
|
path: {
|
|
1288
2597
|
/**
|
|
1289
|
-
*
|
|
2598
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1290
2599
|
*/
|
|
1291
|
-
|
|
2600
|
+
cluster_id: string;
|
|
1292
2601
|
};
|
|
1293
2602
|
query?: never;
|
|
1294
|
-
url: '/
|
|
1295
|
-
};
|
|
1296
|
-
export type DeleteInviteResponses = {
|
|
1297
|
-
/**
|
|
1298
|
-
* Successfully deleted.
|
|
1299
|
-
*/
|
|
1300
|
-
200: unknown;
|
|
1301
|
-
};
|
|
1302
|
-
export type GetOrganizationData = {
|
|
1303
|
-
body?: never;
|
|
1304
|
-
path?: never;
|
|
1305
|
-
query?: never;
|
|
1306
|
-
url: '/organization';
|
|
1307
|
-
};
|
|
1308
|
-
export type GetOrganizationResponses = {
|
|
1309
|
-
/**
|
|
1310
|
-
* Returns a single object containing organization details.
|
|
1311
|
-
*/
|
|
1312
|
-
200: Organization;
|
|
1313
|
-
};
|
|
1314
|
-
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
1315
|
-
export type CreateOrganizationData = {
|
|
1316
|
-
body: OrganizationCreateInput;
|
|
1317
|
-
path?: never;
|
|
1318
|
-
query?: never;
|
|
1319
|
-
url: '/organization';
|
|
1320
|
-
};
|
|
1321
|
-
export type CreateOrganizationResponses = {
|
|
1322
|
-
/**
|
|
1323
|
-
* Successfully created a new organization.
|
|
1324
|
-
*/
|
|
1325
|
-
200: unknown;
|
|
1326
|
-
};
|
|
1327
|
-
export type ListTokensData = {
|
|
1328
|
-
body?: never;
|
|
1329
|
-
path?: never;
|
|
1330
|
-
query?: never;
|
|
1331
|
-
url: '/tokens';
|
|
1332
|
-
};
|
|
1333
|
-
export type ListTokensErrors = {
|
|
1334
|
-
/**
|
|
1335
|
-
* Not authenticated
|
|
1336
|
-
*/
|
|
1337
|
-
401: unknown;
|
|
2603
|
+
url: '/clusters/{cluster_id}';
|
|
1338
2604
|
};
|
|
1339
|
-
export type
|
|
2605
|
+
export type DeleteClusterErrors = {
|
|
1340
2606
|
/**
|
|
1341
|
-
*
|
|
1342
|
-
*/
|
|
1343
|
-
|
|
1344
|
-
};
|
|
1345
|
-
export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
|
|
1346
|
-
export type CreateTokenData = {
|
|
1347
|
-
body: TokenCreateInput;
|
|
1348
|
-
path?: never;
|
|
1349
|
-
query?: never;
|
|
1350
|
-
url: '/tokens';
|
|
1351
|
-
};
|
|
1352
|
-
export type CreateTokenErrors = {
|
|
2607
|
+
* Cluster not found; it does not exist or has already been deleted.
|
|
2608
|
+
*/
|
|
2609
|
+
404: unknown;
|
|
1353
2610
|
/**
|
|
1354
|
-
*
|
|
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.
|
|
1355
2612
|
*/
|
|
1356
|
-
|
|
2613
|
+
409: string;
|
|
2614
|
+
/**
|
|
2615
|
+
* Transient failure tearing down the cluster; retry the request.
|
|
2616
|
+
*/
|
|
2617
|
+
503: unknown;
|
|
1357
2618
|
};
|
|
1358
|
-
export type
|
|
2619
|
+
export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
|
|
2620
|
+
export type DeleteClusterResponses = {
|
|
1359
2621
|
/**
|
|
1360
|
-
* Successfully
|
|
2622
|
+
* Successfully deleted. The cluster has been torn down.
|
|
1361
2623
|
*/
|
|
1362
|
-
200:
|
|
2624
|
+
200: string;
|
|
1363
2625
|
};
|
|
1364
|
-
export type
|
|
1365
|
-
export type
|
|
2626
|
+
export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
|
|
2627
|
+
export type GetClusterData = {
|
|
1366
2628
|
body?: never;
|
|
1367
2629
|
path: {
|
|
1368
2630
|
/**
|
|
1369
|
-
*
|
|
2631
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1370
2632
|
*/
|
|
1371
|
-
|
|
2633
|
+
cluster_id: string;
|
|
1372
2634
|
};
|
|
1373
2635
|
query?: never;
|
|
1374
|
-
url: '/
|
|
2636
|
+
url: '/clusters/{cluster_id}';
|
|
1375
2637
|
};
|
|
1376
|
-
export type
|
|
2638
|
+
export type GetClusterResponses = {
|
|
1377
2639
|
/**
|
|
1378
|
-
*
|
|
2640
|
+
* Returns a single object containing cluster details.
|
|
1379
2641
|
*/
|
|
1380
|
-
200:
|
|
2642
|
+
200: Cluster;
|
|
1381
2643
|
};
|
|
1382
|
-
export type
|
|
1383
|
-
|
|
2644
|
+
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
2645
|
+
export type UpdateClusterData = {
|
|
2646
|
+
body: ClusterUpdateInput;
|
|
1384
2647
|
path: {
|
|
1385
2648
|
/**
|
|
1386
|
-
*
|
|
2649
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1387
2650
|
*/
|
|
1388
|
-
|
|
2651
|
+
cluster_id: string;
|
|
1389
2652
|
};
|
|
1390
2653
|
query?: never;
|
|
1391
|
-
url: '/
|
|
2654
|
+
url: '/clusters/{cluster_id}';
|
|
1392
2655
|
};
|
|
1393
|
-
export type
|
|
2656
|
+
export type UpdateClusterErrors = {
|
|
1394
2657
|
/**
|
|
1395
|
-
*
|
|
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.
|
|
1396
2659
|
*/
|
|
1397
|
-
|
|
2660
|
+
409: string;
|
|
1398
2661
|
};
|
|
1399
|
-
export type
|
|
2662
|
+
export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
|
|
2663
|
+
export type UpdateClusterResponses = {
|
|
1400
2664
|
/**
|
|
1401
|
-
* Returns
|
|
2665
|
+
* Successfully updated. Returns updated cluster details.
|
|
1402
2666
|
*/
|
|
1403
|
-
200:
|
|
2667
|
+
200: Cluster;
|
|
1404
2668
|
};
|
|
1405
|
-
export type
|
|
1406
|
-
export type
|
|
1407
|
-
body
|
|
2669
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
2670
|
+
export type GetJoinInformationData = {
|
|
2671
|
+
body?: never;
|
|
1408
2672
|
path: {
|
|
1409
2673
|
/**
|
|
1410
|
-
*
|
|
2674
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1411
2675
|
*/
|
|
1412
|
-
|
|
2676
|
+
cluster_id: string;
|
|
1413
2677
|
};
|
|
1414
2678
|
query?: never;
|
|
1415
|
-
url: '/
|
|
2679
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
1416
2680
|
};
|
|
1417
|
-
export type
|
|
2681
|
+
export type GetJoinInformationErrors = {
|
|
1418
2682
|
/**
|
|
1419
2683
|
* Not authenticated
|
|
1420
2684
|
*/
|
|
1421
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;
|
|
1422
2694
|
};
|
|
1423
|
-
export type
|
|
2695
|
+
export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
|
|
2696
|
+
export type GetJoinInformationResponses = {
|
|
1424
2697
|
/**
|
|
1425
|
-
*
|
|
2698
|
+
* An object of cluster join information
|
|
1426
2699
|
*/
|
|
1427
|
-
200:
|
|
2700
|
+
200: ClusterJoinInformation;
|
|
1428
2701
|
};
|
|
1429
|
-
export type
|
|
1430
|
-
export type
|
|
2702
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
2703
|
+
export type GetUsageData = {
|
|
1431
2704
|
body?: never;
|
|
1432
|
-
path
|
|
2705
|
+
path?: never;
|
|
2706
|
+
query?: {
|
|
1433
2707
|
/**
|
|
1434
|
-
*
|
|
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)
|
|
1435
2709
|
*/
|
|
1436
|
-
|
|
2710
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
1437
2711
|
};
|
|
1438
|
-
|
|
1439
|
-
url: '/tokens/{token_id}/secret';
|
|
2712
|
+
url: '/billing/usage';
|
|
1440
2713
|
};
|
|
1441
|
-
export type
|
|
2714
|
+
export type GetUsageErrors = {
|
|
1442
2715
|
/**
|
|
1443
2716
|
* Not authenticated
|
|
1444
2717
|
*/
|
|
1445
2718
|
401: unknown;
|
|
1446
2719
|
};
|
|
1447
|
-
export type
|
|
2720
|
+
export type GetUsageResponses = {
|
|
1448
2721
|
/**
|
|
1449
|
-
*
|
|
2722
|
+
* Usage data with facets for filtering
|
|
1450
2723
|
*/
|
|
1451
|
-
200:
|
|
2724
|
+
200: UsageResponse;
|
|
1452
2725
|
};
|
|
1453
|
-
export type
|
|
1454
|
-
export type
|
|
2726
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
2727
|
+
export type GetPaymentMethodSecretData = {
|
|
1455
2728
|
body?: never;
|
|
1456
|
-
path
|
|
1457
|
-
/**
|
|
1458
|
-
* User email address.
|
|
1459
|
-
*/
|
|
1460
|
-
email: string;
|
|
1461
|
-
};
|
|
2729
|
+
path?: never;
|
|
1462
2730
|
query?: never;
|
|
1463
|
-
url: '/
|
|
2731
|
+
url: '/billing/payment-method';
|
|
1464
2732
|
};
|
|
1465
|
-
export type
|
|
2733
|
+
export type GetPaymentMethodSecretResponses = {
|
|
1466
2734
|
/**
|
|
1467
|
-
*
|
|
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
|
+
*
|
|
1468
2737
|
*/
|
|
1469
|
-
200:
|
|
1470
|
-
/**
|
|
1471
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
1472
|
-
*/
|
|
1473
|
-
realm?: string;
|
|
2738
|
+
200: {
|
|
1474
2739
|
/**
|
|
1475
|
-
*
|
|
2740
|
+
* The client secret.
|
|
1476
2741
|
*/
|
|
1477
|
-
|
|
1478
|
-
}
|
|
2742
|
+
id?: string;
|
|
2743
|
+
};
|
|
1479
2744
|
};
|
|
1480
|
-
export type
|
|
1481
|
-
export type
|
|
2745
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
2746
|
+
export type ListPaymentMethodsData = {
|
|
1482
2747
|
body?: never;
|
|
1483
2748
|
path?: never;
|
|
1484
2749
|
query?: never;
|
|
1485
|
-
url: '/
|
|
2750
|
+
url: '/billing/payment-methods';
|
|
1486
2751
|
};
|
|
1487
|
-
export type
|
|
2752
|
+
export type ListPaymentMethodsErrors = {
|
|
1488
2753
|
/**
|
|
1489
2754
|
* Not authenticated
|
|
1490
2755
|
*/
|
|
1491
2756
|
401: unknown;
|
|
1492
2757
|
};
|
|
1493
|
-
export type
|
|
2758
|
+
export type ListPaymentMethodsResponses = {
|
|
1494
2759
|
/**
|
|
1495
|
-
* An array of
|
|
2760
|
+
* An array of payment methods.
|
|
1496
2761
|
*/
|
|
1497
|
-
200: Array<
|
|
2762
|
+
200: Array<PaymentMethod>;
|
|
1498
2763
|
};
|
|
1499
|
-
export type
|
|
1500
|
-
export type
|
|
1501
|
-
body
|
|
1502
|
-
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
|
+
};
|
|
1503
2773
|
query?: never;
|
|
1504
|
-
url: '/
|
|
2774
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
1505
2775
|
};
|
|
1506
|
-
export type
|
|
2776
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
1507
2777
|
/**
|
|
1508
|
-
*
|
|
2778
|
+
* The bank transfer payment method cannot be set as the default.
|
|
1509
2779
|
*/
|
|
1510
|
-
|
|
2780
|
+
400: unknown;
|
|
2781
|
+
/**
|
|
2782
|
+
* Not authenticated
|
|
2783
|
+
*/
|
|
2784
|
+
401: unknown;
|
|
2785
|
+
/**
|
|
2786
|
+
* Payment method not found.
|
|
2787
|
+
*/
|
|
2788
|
+
404: unknown;
|
|
1511
2789
|
};
|
|
1512
|
-
export type
|
|
1513
|
-
|
|
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 = {
|
|
1514
2798
|
body?: never;
|
|
1515
2799
|
path: {
|
|
1516
2800
|
/**
|
|
1517
|
-
*
|
|
2801
|
+
* Stripe payment method identifier.
|
|
1518
2802
|
*/
|
|
1519
|
-
|
|
2803
|
+
paymentMethodId: string;
|
|
1520
2804
|
};
|
|
1521
2805
|
query?: never;
|
|
1522
|
-
url: '/
|
|
2806
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
1523
2807
|
};
|
|
1524
|
-
export type
|
|
2808
|
+
export type DeletePaymentMethodErrors = {
|
|
1525
2809
|
/**
|
|
1526
|
-
*
|
|
2810
|
+
* The bank transfer payment method cannot be removed.
|
|
1527
2811
|
*/
|
|
1528
2812
|
400: unknown;
|
|
1529
2813
|
/**
|
|
1530
2814
|
* Not authenticated
|
|
1531
2815
|
*/
|
|
1532
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;
|
|
1533
2825
|
};
|
|
1534
|
-
export type
|
|
2826
|
+
export type DeletePaymentMethodResponses = {
|
|
1535
2827
|
/**
|
|
1536
|
-
*
|
|
2828
|
+
* Payment method deleted.
|
|
1537
2829
|
*/
|
|
1538
|
-
|
|
2830
|
+
204: void;
|
|
1539
2831
|
};
|
|
1540
|
-
export type
|
|
1541
|
-
export type
|
|
2832
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
2833
|
+
export type ListInvoicesData = {
|
|
1542
2834
|
body?: never;
|
|
1543
|
-
path
|
|
1544
|
-
/**
|
|
1545
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
1546
|
-
*/
|
|
1547
|
-
user_id: string;
|
|
1548
|
-
};
|
|
2835
|
+
path?: never;
|
|
1549
2836
|
query?: never;
|
|
1550
|
-
url: '/
|
|
2837
|
+
url: '/billing/invoices';
|
|
1551
2838
|
};
|
|
1552
|
-
export type
|
|
2839
|
+
export type ListInvoicesErrors = {
|
|
1553
2840
|
/**
|
|
1554
2841
|
* Not authenticated
|
|
1555
2842
|
*/
|
|
1556
2843
|
401: unknown;
|
|
1557
2844
|
};
|
|
1558
|
-
export type
|
|
2845
|
+
export type ListInvoicesResponses = {
|
|
1559
2846
|
/**
|
|
1560
|
-
*
|
|
2847
|
+
* An array of usage records.
|
|
1561
2848
|
*/
|
|
1562
|
-
200:
|
|
2849
|
+
200: Array<Invoice>;
|
|
1563
2850
|
};
|
|
1564
|
-
export type
|
|
1565
|
-
export type
|
|
1566
|
-
body
|
|
1567
|
-
path
|
|
1568
|
-
/**
|
|
1569
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
1570
|
-
*/
|
|
1571
|
-
user_id: string;
|
|
1572
|
-
};
|
|
2851
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
2852
|
+
export type GetContactData = {
|
|
2853
|
+
body?: never;
|
|
2854
|
+
path?: never;
|
|
1573
2855
|
query?: never;
|
|
1574
|
-
url: '/
|
|
2856
|
+
url: '/billing/contact';
|
|
1575
2857
|
};
|
|
1576
|
-
export type
|
|
2858
|
+
export type GetContactResponses = {
|
|
1577
2859
|
/**
|
|
1578
|
-
*
|
|
2860
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1579
2861
|
*/
|
|
1580
|
-
200:
|
|
2862
|
+
200: BillingContact;
|
|
1581
2863
|
};
|
|
1582
|
-
export type
|
|
1583
|
-
export type
|
|
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 = {
|
|
1584
2879
|
body?: never;
|
|
1585
|
-
path
|
|
1586
|
-
/**
|
|
1587
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
1588
|
-
*/
|
|
1589
|
-
user_id: string;
|
|
1590
|
-
/**
|
|
1591
|
-
* Unique cluster identifier. UUID v4 string in canonical form
|
|
1592
|
-
*/
|
|
1593
|
-
cluster_id: string;
|
|
1594
|
-
};
|
|
2880
|
+
path?: never;
|
|
1595
2881
|
query?: never;
|
|
1596
|
-
url: '/
|
|
2882
|
+
url: '/billing/credits';
|
|
1597
2883
|
};
|
|
1598
|
-
export type
|
|
2884
|
+
export type GetCreditsErrors = {
|
|
1599
2885
|
/**
|
|
1600
|
-
*
|
|
2886
|
+
* Not authenticated
|
|
1601
2887
|
*/
|
|
1602
|
-
|
|
2888
|
+
401: unknown;
|
|
2889
|
+
};
|
|
2890
|
+
export type GetCreditsResponses = {
|
|
2891
|
+
/**
|
|
2892
|
+
* An array of the applied promotional credits records.
|
|
2893
|
+
*/
|
|
2894
|
+
200: Array<BillingCredits>;
|
|
1603
2895
|
};
|
|
1604
|
-
export type
|
|
1605
|
-
export type
|
|
2896
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
2897
|
+
export type RedeemCreditsData = {
|
|
1606
2898
|
body: {
|
|
1607
2899
|
/**
|
|
1608
|
-
*
|
|
1609
|
-
*/
|
|
1610
|
-
permissions?: 'readwrite' | 'readonly';
|
|
1611
|
-
};
|
|
1612
|
-
path: {
|
|
1613
|
-
/**
|
|
1614
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
1615
|
-
*/
|
|
1616
|
-
user_id: string;
|
|
1617
|
-
/**
|
|
1618
|
-
* Unique cluster identifier. UUID v4 string in canonical form
|
|
2900
|
+
* Promotional code to redeem
|
|
1619
2901
|
*/
|
|
1620
|
-
|
|
2902
|
+
code?: string;
|
|
1621
2903
|
};
|
|
2904
|
+
path?: never;
|
|
1622
2905
|
query?: never;
|
|
1623
|
-
url: '/
|
|
2906
|
+
url: '/billing/credits';
|
|
1624
2907
|
};
|
|
1625
|
-
export type
|
|
2908
|
+
export type RedeemCreditsErrors = {
|
|
1626
2909
|
/**
|
|
1627
|
-
*
|
|
2910
|
+
* Not authenticated
|
|
1628
2911
|
*/
|
|
1629
|
-
|
|
2912
|
+
401: unknown;
|
|
1630
2913
|
};
|
|
1631
|
-
export type
|
|
1632
|
-
|
|
1633
|
-
|
|
2914
|
+
export type RedeemCreditsResponses = {
|
|
2915
|
+
/**
|
|
2916
|
+
* Successfully created a new organization.
|
|
2917
|
+
*/
|
|
2918
|
+
200: unknown;
|
|
1634
2919
|
};
|
|
1635
2920
|
//# sourceMappingURL=types.gen.d.ts.map
|