@cloudfleet/sdk 0.0.1-96d5fec → 0.0.1-9a4447d
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/dist/@tanstack/react-query.gen.d.ts +1139 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1167 -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 +220 -0
- package/dist/client/client.gen.js.map +1 -0
- package/dist/client/index.d.ts +9 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +7 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/types.gen.d.ts +121 -0
- package/dist/client/types.gen.d.ts.map +1 -0
- package/dist/client/types.gen.js +3 -0
- package/dist/client/types.gen.js.map +1 -0
- package/dist/client/utils.gen.d.ts +38 -0
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/utils.gen.js +229 -0
- package/dist/client/utils.gen.js.map +1 -0
- package/dist/client.gen.d.ts +13 -0
- package/dist/client.gen.d.ts.map +1 -0
- package/dist/client.gen.js +4 -0
- package/dist/client.gen.js.map +1 -0
- package/dist/core/auth.gen.d.ts +19 -0
- package/dist/core/auth.gen.d.ts.map +1 -0
- package/dist/core/auth.gen.js +15 -0
- package/dist/core/auth.gen.js.map +1 -0
- package/dist/core/bodySerializer.gen.d.ts +26 -0
- package/dist/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/core/bodySerializer.gen.js +58 -0
- package/dist/core/bodySerializer.gen.js.map +1 -0
- package/dist/core/params.gen.d.ts +44 -0
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/params.gen.js +101 -0
- package/dist/core/params.gen.js.map +1 -0
- package/dist/core/pathSerializer.gen.d.ts +34 -0
- package/dist/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/core/pathSerializer.gen.js +107 -0
- package/dist/core/pathSerializer.gen.js.map +1 -0
- package/dist/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/core/queryKeySerializer.gen.js +93 -0
- package/dist/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/core/serverSentEvents.gen.js +133 -0
- package/dist/core/serverSentEvents.gen.js.map +1 -0
- package/dist/core/types.gen.d.ts +79 -0
- package/dist/core/types.gen.d.ts.map +1 -0
- package/dist/core/types.gen.js +3 -0
- package/dist/core/types.gen.js.map +1 -0
- package/dist/core/utils.gen.d.ts +20 -0
- package/dist/core/utils.gen.d.ts.map +1 -0
- package/dist/core/utils.gen.js +88 -0
- package/dist/core/utils.gen.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas.gen.d.ts +1676 -1084
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +2973 -1138
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +274 -144
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +362 -225
- 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 +1517 -961
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3775 -2857
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1582 -893
- package/dist/zod.gen.js.map +1 -1
- package/package.json +31 -5
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,20 +1,185 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
3
|
+
};
|
|
4
|
+
export type BillingContact = {
|
|
2
5
|
/**
|
|
3
|
-
*
|
|
6
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
7
|
+
*/
|
|
8
|
+
type: 'business' | 'personal';
|
|
9
|
+
/**
|
|
10
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
11
|
+
*/
|
|
12
|
+
company?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Street address, P.O. box, c/o
|
|
15
|
+
*/
|
|
16
|
+
address1?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Apartment, suite, unit, building, floor, etc.
|
|
19
|
+
*/
|
|
20
|
+
address2?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Postal code as a string.
|
|
23
|
+
*/
|
|
24
|
+
postalCode?: string;
|
|
25
|
+
/**
|
|
26
|
+
* City or town name.
|
|
27
|
+
*/
|
|
28
|
+
city?: string;
|
|
29
|
+
/**
|
|
30
|
+
* State, province, or region name.
|
|
31
|
+
*/
|
|
32
|
+
state?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Country as a ISO 3166-1 alpha-2 country code.
|
|
35
|
+
*/
|
|
36
|
+
country?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Phone number as a string.
|
|
39
|
+
*/
|
|
40
|
+
phone?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Email address used for billing as a string.
|
|
43
|
+
*/
|
|
44
|
+
email: string;
|
|
45
|
+
/**
|
|
46
|
+
* Name of the billing contact person.
|
|
47
|
+
*/
|
|
48
|
+
individual_name: string;
|
|
49
|
+
/**
|
|
50
|
+
* Tax ID of the organization.
|
|
51
|
+
*/
|
|
52
|
+
tax_id?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Type of the tax ID.
|
|
55
|
+
*/
|
|
56
|
+
tax_id_type?: 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'at_vat' | 'au_abn' | 'au_arn' | 'ba_tin' | 'bb_tin' | 'be_vat' | 'bg_uic' | 'bg_vat' | 'bh_vat' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'cl_tin' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cy_vat' | 'cz_vat' | 'de_stn' | 'de_vat' | 'dk_vat' | 'do_rcn' | 'ec_ruc' | 'ee_vat' | 'eg_tin' | 'es_cif' | 'es_vat' | 'eu_oss_vat' | 'fi_vat' | 'fr_vat' | 'gb_vat' | 'ge_vat' | 'gn_nif' | 'gr_vat' | 'hk_br' | 'hr_oib' | 'hr_vat' | 'hu_tin' | 'hu_vat' | 'id_npwp' | 'ie_vat' | 'il_vat' | 'in_gst' | 'is_vat' | 'it_vat' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'li_uid' | 'li_vat' | 'lt_vat' | 'lu_vat' | 'lv_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mt_vat' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'nl_vat' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_vat' | 'pt_vat' | 'ro_tin' | 'ro_vat' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'se_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'si_vat' | 'sk_vat' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'xi_vat' | 'za_vat' | 'zm_tin' | 'zw_tin' | '';
|
|
57
|
+
};
|
|
58
|
+
export type BillingCredits = {
|
|
59
|
+
/**
|
|
60
|
+
* Generated unique identifier of the promotional code.
|
|
61
|
+
*/
|
|
62
|
+
id?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Type of the promotional code.
|
|
65
|
+
*/
|
|
66
|
+
type: 'credit' | 'discount';
|
|
67
|
+
/**
|
|
68
|
+
* Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
|
|
69
|
+
*/
|
|
70
|
+
date_start: string;
|
|
71
|
+
/**
|
|
72
|
+
* Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
|
|
73
|
+
*/
|
|
74
|
+
date_end?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Promotional code used by the customer.
|
|
77
|
+
*/
|
|
78
|
+
code: string;
|
|
79
|
+
/**
|
|
80
|
+
* Description of the promotional code.
|
|
81
|
+
*/
|
|
82
|
+
description?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Total value of the promotional code.
|
|
85
|
+
*/
|
|
86
|
+
value_total: number;
|
|
87
|
+
/**
|
|
88
|
+
* Remaining value of the promotional code.
|
|
89
|
+
*/
|
|
90
|
+
value_remaining?: number;
|
|
91
|
+
};
|
|
92
|
+
export type ChartCreateInput = {
|
|
93
|
+
/**
|
|
94
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
95
|
+
*/
|
|
96
|
+
values: string;
|
|
97
|
+
/**
|
|
98
|
+
* Desired version range or channel for the chart.
|
|
99
|
+
*/
|
|
100
|
+
version_channel: string;
|
|
101
|
+
/**
|
|
102
|
+
* Unique identifier of the chart deployment aka name of the helm release.
|
|
103
|
+
*/
|
|
104
|
+
name: string;
|
|
105
|
+
/**
|
|
106
|
+
* Namespace of the chart deployment
|
|
107
|
+
*/
|
|
108
|
+
namespace: string;
|
|
109
|
+
/**
|
|
110
|
+
* Name of the chart listing
|
|
111
|
+
*/
|
|
112
|
+
chart: string;
|
|
113
|
+
};
|
|
114
|
+
export type Chart = {
|
|
115
|
+
/**
|
|
116
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
117
|
+
*/
|
|
118
|
+
values: string;
|
|
119
|
+
/**
|
|
120
|
+
* Desired version range or channel for the chart.
|
|
121
|
+
*/
|
|
122
|
+
version_channel: string;
|
|
123
|
+
/**
|
|
124
|
+
* Unique identifier of the chart deployment aka name of the helm release.
|
|
4
125
|
*/
|
|
5
126
|
name: string;
|
|
6
127
|
/**
|
|
7
|
-
*
|
|
128
|
+
* Namespace of the chart deployment
|
|
129
|
+
*/
|
|
130
|
+
namespace: string;
|
|
131
|
+
/**
|
|
132
|
+
* Name of the chart listing
|
|
133
|
+
*/
|
|
134
|
+
chart: string;
|
|
135
|
+
/**
|
|
136
|
+
* Status of the chart deployment.
|
|
137
|
+
*/
|
|
138
|
+
status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing' | 'SourceNotReady';
|
|
139
|
+
/**
|
|
140
|
+
* Current version of the chart deployment.
|
|
141
|
+
*/
|
|
142
|
+
version_current: string;
|
|
143
|
+
/**
|
|
144
|
+
* Creation date and time of the chart deployment.
|
|
145
|
+
*/
|
|
146
|
+
created_at: string;
|
|
147
|
+
/**
|
|
148
|
+
* Last update date and time of the chart deployment.
|
|
149
|
+
*/
|
|
150
|
+
updated_at: string;
|
|
151
|
+
/**
|
|
152
|
+
* Indicates if the chart deployment is ready to be used.
|
|
153
|
+
*/
|
|
154
|
+
ready: boolean;
|
|
155
|
+
};
|
|
156
|
+
export type ChartUpdateInput = {
|
|
157
|
+
/**
|
|
158
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
159
|
+
*/
|
|
160
|
+
values: string;
|
|
161
|
+
/**
|
|
162
|
+
* Desired version range or channel for the chart.
|
|
163
|
+
*/
|
|
164
|
+
version_channel: string;
|
|
165
|
+
};
|
|
166
|
+
export type ClusterCreateInput = {
|
|
167
|
+
/**
|
|
168
|
+
* Name of the cluster.
|
|
8
169
|
*/
|
|
9
|
-
|
|
170
|
+
name: string;
|
|
10
171
|
/**
|
|
11
172
|
* Tier of the cluster.
|
|
12
173
|
*/
|
|
13
174
|
tier: 'basic' | 'pro';
|
|
175
|
+
/**
|
|
176
|
+
* Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
177
|
+
*/
|
|
178
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
14
179
|
/**
|
|
15
180
|
* Version of the kubernetes cluster.
|
|
16
181
|
*/
|
|
17
|
-
version_channel?:
|
|
182
|
+
version_channel?: '1.x.x-cfke.x' | '1.31.x-cfke.x' | '1.32.x-cfke.x' | '1.33.x-cfke.x';
|
|
18
183
|
};
|
|
19
184
|
export type ClusterJoinInformation = {
|
|
20
185
|
/**
|
|
@@ -25,6 +190,10 @@ export type ClusterJoinInformation = {
|
|
|
25
190
|
* Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
|
|
26
191
|
*/
|
|
27
192
|
endpoint: string;
|
|
193
|
+
/**
|
|
194
|
+
* Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
|
|
195
|
+
*/
|
|
196
|
+
cluster_dns: string;
|
|
28
197
|
/**
|
|
29
198
|
* Authentication key for the cluster.
|
|
30
199
|
*/
|
|
@@ -49,6 +218,27 @@ export type ClusterJoinInformation = {
|
|
|
49
218
|
* Containerd version of the cluster.
|
|
50
219
|
*/
|
|
51
220
|
containerd: string;
|
|
221
|
+
/**
|
|
222
|
+
* NVIDIA driver version of the cluster.
|
|
223
|
+
*/
|
|
224
|
+
nvidia_driver: string;
|
|
225
|
+
};
|
|
226
|
+
/**
|
|
227
|
+
* OIDC Information for hosts to access to third party API's.
|
|
228
|
+
*/
|
|
229
|
+
third_party_api_access_config: {
|
|
230
|
+
/**
|
|
231
|
+
* Kubernetes metadata server.
|
|
232
|
+
*/
|
|
233
|
+
metadata_url: string;
|
|
234
|
+
/**
|
|
235
|
+
* AWS Role ARN.
|
|
236
|
+
*/
|
|
237
|
+
aws_role_arn: string;
|
|
238
|
+
/**
|
|
239
|
+
* GCP Workload Identity provider.
|
|
240
|
+
*/
|
|
241
|
+
gcp_workload_identity_provider: string;
|
|
52
242
|
};
|
|
53
243
|
};
|
|
54
244
|
export type Cluster = {
|
|
@@ -56,18 +246,14 @@ export type Cluster = {
|
|
|
56
246
|
* Name of the cluster.
|
|
57
247
|
*/
|
|
58
248
|
name: string;
|
|
59
|
-
/**
|
|
60
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
|
|
61
|
-
*/
|
|
62
|
-
region?: 'staging' | 'northamerica-central-1';
|
|
63
249
|
/**
|
|
64
250
|
* Tier of the cluster.
|
|
65
251
|
*/
|
|
66
252
|
tier: 'basic' | 'pro';
|
|
67
253
|
/**
|
|
68
|
-
*
|
|
254
|
+
* Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
69
255
|
*/
|
|
70
|
-
|
|
256
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
71
257
|
/**
|
|
72
258
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
73
259
|
*/
|
|
@@ -75,8 +261,9 @@ export type Cluster = {
|
|
|
75
261
|
/**
|
|
76
262
|
* Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
|
|
77
263
|
*/
|
|
78
|
-
status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
264
|
+
status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
79
265
|
endpoint?: string | '';
|
|
266
|
+
endpoint_public?: string | '';
|
|
80
267
|
/**
|
|
81
268
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
82
269
|
*/
|
|
@@ -97,12 +284,20 @@ export type Cluster = {
|
|
|
97
284
|
* Indicates if the cluster is ready to be used.
|
|
98
285
|
*/
|
|
99
286
|
ready?: boolean;
|
|
287
|
+
/**
|
|
288
|
+
* Version of the kubernetes cluster.
|
|
289
|
+
*/
|
|
290
|
+
version_channel?: string;
|
|
100
291
|
};
|
|
101
292
|
export type ClusterUpdateInput = {
|
|
102
293
|
/**
|
|
103
294
|
* Name of the cluster.
|
|
104
295
|
*/
|
|
105
296
|
name?: string;
|
|
297
|
+
/**
|
|
298
|
+
* Tier of the cluster.
|
|
299
|
+
*/
|
|
300
|
+
tier: 'basic' | 'pro';
|
|
106
301
|
/**
|
|
107
302
|
* Version of the kubernetes cluster.
|
|
108
303
|
*/
|
|
@@ -114,39 +309,60 @@ export type FleetCreateInput = {
|
|
|
114
309
|
*/
|
|
115
310
|
limits?: {
|
|
116
311
|
/**
|
|
117
|
-
* CPU limit in cores.
|
|
312
|
+
* CPU limit in cores. Maximum 100,000.
|
|
118
313
|
*/
|
|
119
|
-
cpu
|
|
314
|
+
cpu?: number;
|
|
120
315
|
};
|
|
121
316
|
gcp?: {
|
|
122
|
-
enabled
|
|
317
|
+
enabled: boolean;
|
|
123
318
|
/**
|
|
124
|
-
*
|
|
319
|
+
* 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.
|
|
125
320
|
*/
|
|
126
|
-
project
|
|
321
|
+
project?: string;
|
|
127
322
|
};
|
|
128
323
|
hetzner?: {
|
|
129
|
-
enabled
|
|
130
|
-
|
|
131
|
-
|
|
324
|
+
enabled: boolean;
|
|
325
|
+
/**
|
|
326
|
+
* Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
|
|
327
|
+
*/
|
|
132
328
|
apiKey?: string;
|
|
133
|
-
enabled?: boolean;
|
|
134
329
|
};
|
|
135
330
|
aws?: {
|
|
136
|
-
enabled
|
|
331
|
+
enabled: boolean;
|
|
137
332
|
/**
|
|
138
|
-
*
|
|
333
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
139
334
|
*/
|
|
140
|
-
controllerRoleArn
|
|
335
|
+
controllerRoleArn?: string;
|
|
141
336
|
};
|
|
142
337
|
/**
|
|
143
|
-
*
|
|
338
|
+
* 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. Omit a field to place no restriction on that key.
|
|
144
339
|
*/
|
|
145
|
-
|
|
340
|
+
constraints?: {
|
|
341
|
+
/**
|
|
342
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
343
|
+
*/
|
|
344
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
345
|
+
/**
|
|
346
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
347
|
+
*/
|
|
348
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
349
|
+
/**
|
|
350
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
351
|
+
*/
|
|
352
|
+
'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'>;
|
|
353
|
+
/**
|
|
354
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
355
|
+
*/
|
|
356
|
+
'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'>;
|
|
357
|
+
};
|
|
358
|
+
/**
|
|
359
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
360
|
+
*/
|
|
361
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
146
362
|
/**
|
|
147
|
-
*
|
|
363
|
+
* Unique identifier of the kubernetes fleet.
|
|
148
364
|
*/
|
|
149
|
-
|
|
365
|
+
id: string;
|
|
150
366
|
};
|
|
151
367
|
export type Fleet = {
|
|
152
368
|
/**
|
|
@@ -154,39 +370,60 @@ export type Fleet = {
|
|
|
154
370
|
*/
|
|
155
371
|
limits?: {
|
|
156
372
|
/**
|
|
157
|
-
* CPU limit in cores.
|
|
373
|
+
* CPU limit in cores. Maximum 100,000.
|
|
158
374
|
*/
|
|
159
|
-
cpu
|
|
375
|
+
cpu?: number;
|
|
160
376
|
};
|
|
161
377
|
gcp?: {
|
|
162
|
-
enabled
|
|
378
|
+
enabled: boolean;
|
|
163
379
|
/**
|
|
164
|
-
*
|
|
380
|
+
* 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.
|
|
165
381
|
*/
|
|
166
|
-
project
|
|
382
|
+
project?: string;
|
|
167
383
|
};
|
|
168
384
|
hetzner?: {
|
|
169
|
-
enabled
|
|
170
|
-
|
|
171
|
-
|
|
385
|
+
enabled: boolean;
|
|
386
|
+
/**
|
|
387
|
+
* Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.
|
|
388
|
+
*/
|
|
172
389
|
apiKey?: string;
|
|
173
|
-
enabled?: boolean;
|
|
174
390
|
};
|
|
175
391
|
aws?: {
|
|
176
|
-
enabled
|
|
392
|
+
enabled: boolean;
|
|
177
393
|
/**
|
|
178
|
-
*
|
|
394
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
179
395
|
*/
|
|
180
|
-
controllerRoleArn
|
|
396
|
+
controllerRoleArn?: string;
|
|
181
397
|
};
|
|
182
398
|
/**
|
|
183
|
-
*
|
|
399
|
+
* 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. Omit a field to place no restriction on that key.
|
|
184
400
|
*/
|
|
185
|
-
|
|
401
|
+
constraints?: {
|
|
402
|
+
/**
|
|
403
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
404
|
+
*/
|
|
405
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
406
|
+
/**
|
|
407
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
408
|
+
*/
|
|
409
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
410
|
+
/**
|
|
411
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
412
|
+
*/
|
|
413
|
+
'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'>;
|
|
414
|
+
/**
|
|
415
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
416
|
+
*/
|
|
417
|
+
'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'>;
|
|
418
|
+
};
|
|
419
|
+
/**
|
|
420
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
421
|
+
*/
|
|
422
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
186
423
|
/**
|
|
187
|
-
*
|
|
424
|
+
* Unique identifier of the kubernetes fleet.
|
|
188
425
|
*/
|
|
189
|
-
|
|
426
|
+
id: string;
|
|
190
427
|
};
|
|
191
428
|
export type FleetUpdateInput = {
|
|
192
429
|
/**
|
|
@@ -194,752 +431,793 @@ export type FleetUpdateInput = {
|
|
|
194
431
|
*/
|
|
195
432
|
limits?: {
|
|
196
433
|
/**
|
|
197
|
-
* CPU limit in cores.
|
|
434
|
+
* CPU limit in cores. Maximum 100,000.
|
|
198
435
|
*/
|
|
199
|
-
cpu
|
|
436
|
+
cpu?: number;
|
|
200
437
|
};
|
|
201
438
|
gcp?: {
|
|
202
|
-
enabled
|
|
439
|
+
enabled: boolean;
|
|
203
440
|
/**
|
|
204
|
-
*
|
|
441
|
+
* 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.
|
|
205
442
|
*/
|
|
206
|
-
project
|
|
443
|
+
project?: string;
|
|
207
444
|
};
|
|
208
445
|
hetzner?: {
|
|
209
|
-
enabled
|
|
210
|
-
|
|
211
|
-
|
|
446
|
+
enabled: boolean;
|
|
447
|
+
/**
|
|
448
|
+
* Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
|
|
449
|
+
*/
|
|
212
450
|
apiKey?: string;
|
|
213
|
-
enabled?: boolean;
|
|
214
451
|
};
|
|
215
452
|
aws?: {
|
|
216
|
-
enabled
|
|
453
|
+
enabled: boolean;
|
|
217
454
|
/**
|
|
218
|
-
*
|
|
455
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
219
456
|
*/
|
|
220
|
-
controllerRoleArn
|
|
457
|
+
controllerRoleArn?: string;
|
|
221
458
|
};
|
|
222
|
-
};
|
|
223
|
-
export type InfrastructureFilter = {
|
|
224
459
|
/**
|
|
225
|
-
*
|
|
460
|
+
* 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. Omit a field to place no restriction on that key.
|
|
226
461
|
*/
|
|
227
|
-
|
|
462
|
+
constraints?: {
|
|
463
|
+
/**
|
|
464
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
465
|
+
*/
|
|
466
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
467
|
+
/**
|
|
468
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
469
|
+
*/
|
|
470
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
471
|
+
/**
|
|
472
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
473
|
+
*/
|
|
474
|
+
'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'>;
|
|
475
|
+
/**
|
|
476
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
477
|
+
*/
|
|
478
|
+
'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'>;
|
|
479
|
+
};
|
|
228
480
|
/**
|
|
229
|
-
*
|
|
481
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
230
482
|
*/
|
|
231
|
-
|
|
483
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
484
|
+
};
|
|
485
|
+
export type Invite = {
|
|
232
486
|
/**
|
|
233
|
-
*
|
|
487
|
+
* Unique identifier of the invitation.
|
|
234
488
|
*/
|
|
235
|
-
|
|
489
|
+
id?: string;
|
|
236
490
|
/**
|
|
237
|
-
*
|
|
491
|
+
* Unique identifier of the organization the project belongs to. UUID v4 string in canonical form
|
|
238
492
|
*/
|
|
239
|
-
|
|
493
|
+
organization_id?: string;
|
|
240
494
|
/**
|
|
241
|
-
*
|
|
495
|
+
* Creation date of the project. ISO 8601 date string in UTC timezone
|
|
242
496
|
*/
|
|
243
|
-
|
|
497
|
+
date_created: string;
|
|
244
498
|
/**
|
|
245
|
-
*
|
|
499
|
+
* User email address.
|
|
246
500
|
*/
|
|
247
|
-
|
|
501
|
+
email?: string;
|
|
248
502
|
/**
|
|
249
|
-
*
|
|
503
|
+
* Generated unique invite code.
|
|
250
504
|
*/
|
|
251
|
-
|
|
505
|
+
code?: string;
|
|
506
|
+
};
|
|
507
|
+
export type Invoice = {
|
|
252
508
|
/**
|
|
253
|
-
*
|
|
509
|
+
* Unique identifier of the invoice.
|
|
254
510
|
*/
|
|
255
|
-
|
|
511
|
+
id?: string;
|
|
512
|
+
number?: string;
|
|
256
513
|
/**
|
|
257
|
-
*
|
|
514
|
+
* Status of the invoice
|
|
258
515
|
*/
|
|
259
|
-
|
|
516
|
+
status?: string;
|
|
260
517
|
/**
|
|
261
|
-
*
|
|
518
|
+
* Total amount of the invoice
|
|
262
519
|
*/
|
|
263
|
-
|
|
520
|
+
total?: number;
|
|
264
521
|
/**
|
|
265
|
-
*
|
|
522
|
+
* Currency of the invoice
|
|
266
523
|
*/
|
|
267
|
-
|
|
524
|
+
currency?: string;
|
|
268
525
|
/**
|
|
269
|
-
*
|
|
526
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
270
527
|
*/
|
|
271
|
-
|
|
528
|
+
created: string;
|
|
272
529
|
/**
|
|
273
|
-
*
|
|
530
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
274
531
|
*/
|
|
275
|
-
|
|
532
|
+
period_start: string;
|
|
276
533
|
/**
|
|
277
|
-
*
|
|
534
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
278
535
|
*/
|
|
279
|
-
|
|
536
|
+
period_end: string;
|
|
537
|
+
invoice_pdf?: string;
|
|
538
|
+
};
|
|
539
|
+
export type MarketplaceListingFiles = {
|
|
280
540
|
/**
|
|
281
|
-
*
|
|
541
|
+
* Raw Chart.yaml content from the Helm chart
|
|
282
542
|
*/
|
|
283
|
-
|
|
543
|
+
chartYaml?: string;
|
|
284
544
|
/**
|
|
285
|
-
*
|
|
545
|
+
* Raw values.yaml content from the Helm chart
|
|
286
546
|
*/
|
|
287
|
-
|
|
547
|
+
valuesYaml?: string;
|
|
288
548
|
/**
|
|
289
|
-
*
|
|
549
|
+
* JSON schema for values.yaml as a string
|
|
290
550
|
*/
|
|
291
|
-
|
|
551
|
+
valuesSchemaJson?: string;
|
|
552
|
+
};
|
|
553
|
+
export type MarketplaceListing = {
|
|
292
554
|
/**
|
|
293
|
-
*
|
|
555
|
+
* Name of the chart
|
|
294
556
|
*/
|
|
295
|
-
|
|
557
|
+
name: string;
|
|
296
558
|
/**
|
|
297
|
-
*
|
|
559
|
+
* Available versions of the chart
|
|
298
560
|
*/
|
|
299
|
-
|
|
561
|
+
versions: Array<string>;
|
|
300
562
|
/**
|
|
301
|
-
*
|
|
563
|
+
* Version channels for the chart
|
|
302
564
|
*/
|
|
303
|
-
|
|
565
|
+
version_channels: Array<string>;
|
|
304
566
|
/**
|
|
305
|
-
*
|
|
567
|
+
* Latest version of the chart
|
|
306
568
|
*/
|
|
307
|
-
|
|
569
|
+
latestVersion: string;
|
|
308
570
|
/**
|
|
309
|
-
*
|
|
571
|
+
* Chart metadata
|
|
310
572
|
*/
|
|
311
|
-
|
|
573
|
+
metadata?: {
|
|
574
|
+
/**
|
|
575
|
+
* Chart name from metadata
|
|
576
|
+
*/
|
|
577
|
+
name: string;
|
|
578
|
+
/**
|
|
579
|
+
* Chart version from metadata
|
|
580
|
+
*/
|
|
581
|
+
version: string;
|
|
582
|
+
/**
|
|
583
|
+
* Chart description
|
|
584
|
+
*/
|
|
585
|
+
description?: string;
|
|
586
|
+
/**
|
|
587
|
+
* Application version
|
|
588
|
+
*/
|
|
589
|
+
appVersion?: string;
|
|
590
|
+
/**
|
|
591
|
+
* Helm API version
|
|
592
|
+
*/
|
|
593
|
+
apiVersion?: string;
|
|
594
|
+
/**
|
|
595
|
+
* Chart keywords
|
|
596
|
+
*/
|
|
597
|
+
keywords?: Array<string>;
|
|
598
|
+
/**
|
|
599
|
+
* Chart home URL
|
|
600
|
+
*/
|
|
601
|
+
home?: string;
|
|
602
|
+
/**
|
|
603
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
604
|
+
*/
|
|
605
|
+
icon?: string;
|
|
606
|
+
/**
|
|
607
|
+
* Chart source URLs
|
|
608
|
+
*/
|
|
609
|
+
sources?: Array<string>;
|
|
610
|
+
/**
|
|
611
|
+
* Chart maintainers
|
|
612
|
+
*/
|
|
613
|
+
maintainers?: Array<{
|
|
614
|
+
/**
|
|
615
|
+
* Maintainer name
|
|
616
|
+
*/
|
|
617
|
+
name: string;
|
|
618
|
+
/**
|
|
619
|
+
* Maintainer email
|
|
620
|
+
*/
|
|
621
|
+
email?: string;
|
|
622
|
+
}>;
|
|
623
|
+
};
|
|
312
624
|
};
|
|
313
|
-
export type
|
|
314
|
-
/**
|
|
315
|
-
* Cloudfleet instance SKU. Has a format of <provider>-<csp_region>-<instance_type>.
|
|
316
|
-
*/
|
|
317
|
-
sku: string;
|
|
318
|
-
/**
|
|
319
|
-
* Normalized cloud service provider name. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
320
|
-
*/
|
|
321
|
-
provider: string;
|
|
625
|
+
export type OrganizationCreateInput = {
|
|
322
626
|
/**
|
|
323
|
-
*
|
|
627
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
324
628
|
*/
|
|
325
|
-
|
|
629
|
+
type: 'business' | 'personal';
|
|
326
630
|
/**
|
|
327
|
-
*
|
|
631
|
+
* Email address used for billing as a string.
|
|
328
632
|
*/
|
|
329
|
-
|
|
633
|
+
email: string;
|
|
330
634
|
/**
|
|
331
|
-
*
|
|
635
|
+
* First name of the billing contact person.
|
|
332
636
|
*/
|
|
333
|
-
|
|
637
|
+
first_name: string;
|
|
334
638
|
/**
|
|
335
|
-
*
|
|
639
|
+
* Last name of the billing contact person.
|
|
336
640
|
*/
|
|
337
|
-
|
|
641
|
+
last_name: string;
|
|
338
642
|
/**
|
|
339
|
-
*
|
|
643
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
340
644
|
*/
|
|
341
|
-
|
|
645
|
+
company_name: string;
|
|
342
646
|
/**
|
|
343
|
-
*
|
|
647
|
+
* Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
|
|
344
648
|
*/
|
|
345
|
-
|
|
649
|
+
password: string;
|
|
650
|
+
};
|
|
651
|
+
export type OrganizationCreateOutput = {
|
|
346
652
|
/**
|
|
347
|
-
*
|
|
653
|
+
* Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
|
|
348
654
|
*/
|
|
349
|
-
|
|
655
|
+
id: string;
|
|
656
|
+
};
|
|
657
|
+
export type Organization = {
|
|
350
658
|
/**
|
|
351
|
-
*
|
|
659
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
352
660
|
*/
|
|
353
|
-
|
|
661
|
+
id: string;
|
|
354
662
|
/**
|
|
355
|
-
*
|
|
663
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
356
664
|
*/
|
|
357
|
-
|
|
665
|
+
name?: string;
|
|
358
666
|
/**
|
|
359
|
-
*
|
|
667
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
360
668
|
*/
|
|
361
|
-
|
|
669
|
+
type: 'business' | 'personal';
|
|
362
670
|
/**
|
|
363
|
-
*
|
|
671
|
+
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
364
672
|
*/
|
|
365
|
-
|
|
673
|
+
date_created: string;
|
|
366
674
|
/**
|
|
367
|
-
*
|
|
675
|
+
* For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.
|
|
368
676
|
*/
|
|
369
|
-
|
|
677
|
+
quota: {
|
|
678
|
+
/**
|
|
679
|
+
* Maximum number of Basic clusters that can be created.
|
|
680
|
+
*/
|
|
681
|
+
basic_clusters_max: number;
|
|
682
|
+
/**
|
|
683
|
+
* Available number of Basic clusters that can be created.
|
|
684
|
+
*/
|
|
685
|
+
basic_clusters_available: number;
|
|
686
|
+
/**
|
|
687
|
+
* Maximum number of Pro clusters that can be created.
|
|
688
|
+
*/
|
|
689
|
+
pro_clusters_max: number;
|
|
690
|
+
/**
|
|
691
|
+
* Available number of Pro clusters that can be created.
|
|
692
|
+
*/
|
|
693
|
+
pro_clusters_available: number;
|
|
694
|
+
/**
|
|
695
|
+
* Maximum number of fleets that can be created per cluster.
|
|
696
|
+
*/
|
|
697
|
+
fleets_max: number;
|
|
698
|
+
/**
|
|
699
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
700
|
+
*/
|
|
701
|
+
cluster_tiers: Array<string>;
|
|
702
|
+
/**
|
|
703
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
704
|
+
*/
|
|
705
|
+
regions: Array<string>;
|
|
706
|
+
/**
|
|
707
|
+
* List of CFKE control plane versions available for the organization.
|
|
708
|
+
*/
|
|
709
|
+
versions: Array<{
|
|
710
|
+
/**
|
|
711
|
+
* Id of the control plane version. Used in API calls.
|
|
712
|
+
*/
|
|
713
|
+
id: string;
|
|
714
|
+
/**
|
|
715
|
+
* Label of the control plane version. Used in frontent UI.
|
|
716
|
+
*/
|
|
717
|
+
label: string;
|
|
718
|
+
}>;
|
|
719
|
+
/**
|
|
720
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
721
|
+
*/
|
|
722
|
+
cfcr_storage_gb: number;
|
|
723
|
+
};
|
|
370
724
|
/**
|
|
371
|
-
*
|
|
725
|
+
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
372
726
|
*/
|
|
373
|
-
|
|
727
|
+
status: 'active' | 'closed' | 'suspended';
|
|
374
728
|
/**
|
|
375
|
-
*
|
|
729
|
+
* 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.
|
|
376
730
|
*/
|
|
377
|
-
|
|
731
|
+
verification: 'none' | 'submitted' | 'verified';
|
|
732
|
+
};
|
|
733
|
+
export type PaymentMethod = {
|
|
378
734
|
/**
|
|
379
|
-
*
|
|
735
|
+
* 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.
|
|
380
736
|
*/
|
|
381
|
-
|
|
737
|
+
id: string;
|
|
382
738
|
/**
|
|
383
|
-
*
|
|
739
|
+
* Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
|
|
384
740
|
*/
|
|
385
|
-
|
|
741
|
+
type: 'card' | 'sepa_debit' | 'bank_transfer';
|
|
386
742
|
/**
|
|
387
|
-
*
|
|
743
|
+
* 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.
|
|
388
744
|
*/
|
|
389
|
-
|
|
745
|
+
last4: string;
|
|
390
746
|
/**
|
|
391
|
-
*
|
|
747
|
+
* Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
|
|
392
748
|
*/
|
|
393
|
-
|
|
394
|
-
};
|
|
395
|
-
export type Invite = {
|
|
749
|
+
exp_month: number;
|
|
396
750
|
/**
|
|
397
|
-
*
|
|
751
|
+
* 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.
|
|
398
752
|
*/
|
|
399
|
-
|
|
753
|
+
exp_year: number;
|
|
400
754
|
/**
|
|
401
|
-
*
|
|
755
|
+
* Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
|
|
402
756
|
*/
|
|
403
|
-
|
|
757
|
+
brand: string;
|
|
404
758
|
/**
|
|
405
|
-
*
|
|
759
|
+
* 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.
|
|
406
760
|
*/
|
|
407
|
-
|
|
761
|
+
iban: string;
|
|
408
762
|
/**
|
|
409
|
-
*
|
|
763
|
+
* BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
410
764
|
*/
|
|
411
|
-
|
|
765
|
+
bic: string;
|
|
412
766
|
/**
|
|
413
|
-
*
|
|
767
|
+
* Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
414
768
|
*/
|
|
415
|
-
|
|
769
|
+
account_holder_name: string;
|
|
770
|
+
/**
|
|
771
|
+
* 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).
|
|
772
|
+
*/
|
|
773
|
+
is_default: boolean;
|
|
416
774
|
};
|
|
417
|
-
export type
|
|
775
|
+
export type PlatformQuota = {
|
|
418
776
|
/**
|
|
419
|
-
*
|
|
777
|
+
* Maximum number of Basic clusters that can be created.
|
|
420
778
|
*/
|
|
421
|
-
|
|
779
|
+
basic_clusters_max: number;
|
|
422
780
|
/**
|
|
423
|
-
*
|
|
781
|
+
* Available number of Basic clusters that can be created.
|
|
424
782
|
*/
|
|
425
|
-
|
|
783
|
+
basic_clusters_available: number;
|
|
426
784
|
/**
|
|
427
|
-
*
|
|
785
|
+
* Maximum number of Pro clusters that can be created.
|
|
428
786
|
*/
|
|
429
|
-
|
|
787
|
+
pro_clusters_max: number;
|
|
430
788
|
/**
|
|
431
|
-
*
|
|
789
|
+
* Available number of Pro clusters that can be created.
|
|
432
790
|
*/
|
|
433
|
-
|
|
791
|
+
pro_clusters_available: number;
|
|
434
792
|
/**
|
|
435
|
-
*
|
|
793
|
+
* Maximum number of fleets that can be created per cluster.
|
|
436
794
|
*/
|
|
437
|
-
|
|
795
|
+
fleets_max: number;
|
|
438
796
|
/**
|
|
439
|
-
*
|
|
797
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
440
798
|
*/
|
|
441
|
-
|
|
799
|
+
cluster_tiers: Array<string>;
|
|
442
800
|
/**
|
|
443
|
-
*
|
|
801
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
444
802
|
*/
|
|
445
|
-
|
|
803
|
+
regions: Array<string>;
|
|
446
804
|
/**
|
|
447
|
-
*
|
|
805
|
+
* List of CFKE control plane versions available for the organization.
|
|
448
806
|
*/
|
|
449
|
-
|
|
807
|
+
versions: Array<{
|
|
808
|
+
/**
|
|
809
|
+
* Id of the control plane version. Used in API calls.
|
|
810
|
+
*/
|
|
811
|
+
id: string;
|
|
812
|
+
/**
|
|
813
|
+
* Label of the control plane version. Used in frontent UI.
|
|
814
|
+
*/
|
|
815
|
+
label: string;
|
|
816
|
+
}>;
|
|
450
817
|
/**
|
|
451
|
-
*
|
|
818
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
452
819
|
*/
|
|
453
|
-
|
|
820
|
+
cfcr_storage_gb: number;
|
|
821
|
+
};
|
|
822
|
+
export type RegistryRepository = {
|
|
454
823
|
/**
|
|
455
|
-
*
|
|
824
|
+
* Repository name.
|
|
456
825
|
*/
|
|
457
|
-
|
|
826
|
+
name: string;
|
|
458
827
|
/**
|
|
459
|
-
*
|
|
828
|
+
* Registry region.
|
|
460
829
|
*/
|
|
461
|
-
|
|
830
|
+
region: string;
|
|
462
831
|
/**
|
|
463
|
-
*
|
|
832
|
+
* Full URI of the repository.
|
|
464
833
|
*/
|
|
465
|
-
|
|
834
|
+
uri: string;
|
|
835
|
+
};
|
|
836
|
+
export type RegistryRepositoryWithTags = {
|
|
466
837
|
/**
|
|
467
|
-
*
|
|
838
|
+
* Repository name.
|
|
468
839
|
*/
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
/**
|
|
483
|
-
* Name of the plan
|
|
484
|
-
*/
|
|
485
|
-
planName?: string;
|
|
486
|
-
/**
|
|
487
|
-
* Name of the phase
|
|
488
|
-
*/
|
|
489
|
-
phaseName?: string;
|
|
490
|
-
/**
|
|
491
|
-
* Name of the usage
|
|
492
|
-
*/
|
|
493
|
-
usageName?: string;
|
|
494
|
-
/**
|
|
495
|
-
* Pretty name of the product
|
|
496
|
-
*/
|
|
497
|
-
prettyProductName?: string;
|
|
498
|
-
/**
|
|
499
|
-
* Pretty name of the plan
|
|
500
|
-
*/
|
|
501
|
-
prettyPlanName?: string;
|
|
502
|
-
/**
|
|
503
|
-
* Pretty name of the phase
|
|
504
|
-
*/
|
|
505
|
-
prettyPhaseName?: string;
|
|
506
|
-
/**
|
|
507
|
-
* Pretty name of the usage
|
|
508
|
-
*/
|
|
509
|
-
prettyUsageName?: string;
|
|
510
|
-
/**
|
|
511
|
-
* Type of the invoice item
|
|
512
|
-
*/
|
|
513
|
-
itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
|
|
514
|
-
/**
|
|
515
|
-
* Description of the invoice item
|
|
516
|
-
*/
|
|
517
|
-
description?: string;
|
|
518
|
-
/**
|
|
519
|
-
* Start date of the invoice item
|
|
520
|
-
*/
|
|
521
|
-
startDate?: string;
|
|
522
|
-
/**
|
|
523
|
-
* End date of the invoice item
|
|
524
|
-
*/
|
|
525
|
-
endDate?: string;
|
|
526
|
-
/**
|
|
527
|
-
* Amount of the invoice item
|
|
528
|
-
*/
|
|
529
|
-
amount?: number;
|
|
530
|
-
/**
|
|
531
|
-
* Rate of the invoice item
|
|
532
|
-
*/
|
|
533
|
-
rate?: number;
|
|
534
|
-
/**
|
|
535
|
-
* Currency of the invoice item
|
|
536
|
-
*/
|
|
537
|
-
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';
|
|
840
|
+
name: string;
|
|
841
|
+
/**
|
|
842
|
+
* Registry region.
|
|
843
|
+
*/
|
|
844
|
+
region: string;
|
|
845
|
+
/**
|
|
846
|
+
* Full URI of the repository.
|
|
847
|
+
*/
|
|
848
|
+
uri: string;
|
|
849
|
+
/**
|
|
850
|
+
* Array of tags in the repository.
|
|
851
|
+
*/
|
|
852
|
+
tags: Array<{
|
|
538
853
|
/**
|
|
539
|
-
*
|
|
854
|
+
* Tag name.
|
|
540
855
|
*/
|
|
541
|
-
|
|
856
|
+
name: string;
|
|
542
857
|
/**
|
|
543
|
-
*
|
|
858
|
+
* Size of the tag in bytes.
|
|
544
859
|
*/
|
|
545
|
-
|
|
860
|
+
size: number;
|
|
546
861
|
/**
|
|
547
|
-
*
|
|
862
|
+
* Media type of the manifest.
|
|
548
863
|
*/
|
|
549
|
-
|
|
864
|
+
mediaType?: string;
|
|
550
865
|
/**
|
|
551
|
-
*
|
|
866
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
552
867
|
*/
|
|
553
|
-
|
|
554
|
-
[key: string]: unknown;
|
|
555
|
-
} | string>;
|
|
868
|
+
platforms?: Array<string>;
|
|
556
869
|
}>;
|
|
557
870
|
/**
|
|
558
|
-
*
|
|
871
|
+
* Total size of all tags in the repository in bytes.
|
|
559
872
|
*/
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
*/
|
|
580
|
-
phaseName?: string;
|
|
581
|
-
/**
|
|
582
|
-
* Name of the usage
|
|
583
|
-
*/
|
|
584
|
-
usageName?: string;
|
|
585
|
-
/**
|
|
586
|
-
* Pretty name of the product
|
|
587
|
-
*/
|
|
588
|
-
prettyProductName?: string;
|
|
589
|
-
/**
|
|
590
|
-
* Pretty name of the plan
|
|
591
|
-
*/
|
|
592
|
-
prettyPlanName?: string;
|
|
593
|
-
/**
|
|
594
|
-
* Pretty name of the phase
|
|
595
|
-
*/
|
|
596
|
-
prettyPhaseName?: string;
|
|
597
|
-
/**
|
|
598
|
-
* Pretty name of the usage
|
|
599
|
-
*/
|
|
600
|
-
prettyUsageName?: string;
|
|
601
|
-
/**
|
|
602
|
-
* Type of the invoice item
|
|
603
|
-
*/
|
|
604
|
-
itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
|
|
605
|
-
/**
|
|
606
|
-
* Description of the invoice item
|
|
607
|
-
*/
|
|
608
|
-
description?: string;
|
|
609
|
-
/**
|
|
610
|
-
* Start date of the invoice item
|
|
611
|
-
*/
|
|
612
|
-
startDate?: string;
|
|
613
|
-
/**
|
|
614
|
-
* End date of the invoice item
|
|
615
|
-
*/
|
|
616
|
-
endDate?: string;
|
|
873
|
+
totalSize: number;
|
|
874
|
+
};
|
|
875
|
+
export type RegistryTag = {
|
|
876
|
+
/**
|
|
877
|
+
* Tag name.
|
|
878
|
+
*/
|
|
879
|
+
name: string;
|
|
880
|
+
/**
|
|
881
|
+
* Manifest digest for pulling by digest.
|
|
882
|
+
*/
|
|
883
|
+
digest: string;
|
|
884
|
+
/**
|
|
885
|
+
* Media type of the manifest.
|
|
886
|
+
*/
|
|
887
|
+
mediaType?: string;
|
|
888
|
+
/**
|
|
889
|
+
* Manifest config metadata.
|
|
890
|
+
*/
|
|
891
|
+
config?: {
|
|
617
892
|
/**
|
|
618
|
-
*
|
|
893
|
+
* Size of the config in bytes.
|
|
619
894
|
*/
|
|
620
|
-
|
|
895
|
+
size: number;
|
|
896
|
+
};
|
|
897
|
+
/**
|
|
898
|
+
* Array of layer metadata.
|
|
899
|
+
*/
|
|
900
|
+
layers?: Array<{
|
|
621
901
|
/**
|
|
622
|
-
*
|
|
902
|
+
* Digest of the layer.
|
|
623
903
|
*/
|
|
624
|
-
|
|
904
|
+
digest?: string;
|
|
625
905
|
/**
|
|
626
|
-
*
|
|
906
|
+
* Size of the layer in bytes.
|
|
627
907
|
*/
|
|
628
|
-
|
|
908
|
+
size: number;
|
|
909
|
+
}>;
|
|
910
|
+
/**
|
|
911
|
+
* Array of manifests for multi-arch images.
|
|
912
|
+
*/
|
|
913
|
+
manifests?: Array<{
|
|
629
914
|
/**
|
|
630
|
-
*
|
|
915
|
+
* Digest of the manifest.
|
|
631
916
|
*/
|
|
632
|
-
|
|
917
|
+
digest: string;
|
|
633
918
|
/**
|
|
634
|
-
*
|
|
919
|
+
* Platform information for the manifest.
|
|
635
920
|
*/
|
|
636
|
-
|
|
921
|
+
platform?: {
|
|
922
|
+
/**
|
|
923
|
+
* Architecture of the platform.
|
|
924
|
+
*/
|
|
925
|
+
architecture: string;
|
|
926
|
+
/**
|
|
927
|
+
* Operating system of the platform.
|
|
928
|
+
*/
|
|
929
|
+
os: string;
|
|
930
|
+
/**
|
|
931
|
+
* Variant of the platform (e.g., v7, v8 for ARM).
|
|
932
|
+
*/
|
|
933
|
+
variant?: string;
|
|
934
|
+
};
|
|
637
935
|
/**
|
|
638
|
-
*
|
|
936
|
+
* Layers for this platform.
|
|
639
937
|
*/
|
|
640
|
-
|
|
938
|
+
layers?: Array<{
|
|
939
|
+
/**
|
|
940
|
+
* Digest of the layer.
|
|
941
|
+
*/
|
|
942
|
+
digest?: string;
|
|
943
|
+
/**
|
|
944
|
+
* Size of the layer in bytes.
|
|
945
|
+
*/
|
|
946
|
+
size: number;
|
|
947
|
+
}>;
|
|
641
948
|
/**
|
|
642
|
-
*
|
|
949
|
+
* Total size of this platform manifest in bytes.
|
|
643
950
|
*/
|
|
644
|
-
|
|
645
|
-
[key: string]: unknown;
|
|
646
|
-
} | string>;
|
|
951
|
+
size?: number;
|
|
647
952
|
}>;
|
|
648
|
-
};
|
|
649
|
-
export type OrganizationContactInfo = {
|
|
650
953
|
/**
|
|
651
|
-
*
|
|
954
|
+
* Total size of the tag in bytes.
|
|
652
955
|
*/
|
|
653
|
-
|
|
956
|
+
size: number;
|
|
654
957
|
/**
|
|
655
|
-
*
|
|
958
|
+
* Registry region.
|
|
656
959
|
*/
|
|
657
|
-
|
|
960
|
+
region: string;
|
|
658
961
|
/**
|
|
659
|
-
*
|
|
962
|
+
* Repository name.
|
|
660
963
|
*/
|
|
661
|
-
|
|
964
|
+
repository: string;
|
|
662
965
|
/**
|
|
663
|
-
*
|
|
966
|
+
* Full URI of the tag.
|
|
664
967
|
*/
|
|
665
|
-
|
|
968
|
+
uri: string;
|
|
969
|
+
};
|
|
970
|
+
export type TicketAttachment = {
|
|
666
971
|
/**
|
|
667
|
-
*
|
|
972
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
668
973
|
*/
|
|
669
|
-
|
|
974
|
+
id: string;
|
|
670
975
|
/**
|
|
671
|
-
*
|
|
976
|
+
* Original filename as uploaded.
|
|
672
977
|
*/
|
|
673
|
-
|
|
978
|
+
filename: string;
|
|
674
979
|
/**
|
|
675
|
-
*
|
|
980
|
+
* MIME content type of the attachment.
|
|
676
981
|
*/
|
|
677
|
-
|
|
982
|
+
content_type: string;
|
|
678
983
|
/**
|
|
679
|
-
*
|
|
984
|
+
* Size of the attachment in bytes.
|
|
680
985
|
*/
|
|
681
|
-
|
|
986
|
+
size: number;
|
|
987
|
+
};
|
|
988
|
+
export type TicketCreateInput = {
|
|
682
989
|
/**
|
|
683
|
-
*
|
|
990
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
684
991
|
*/
|
|
685
|
-
|
|
992
|
+
category: 'billing' | 'technical' | 'general';
|
|
686
993
|
/**
|
|
687
|
-
*
|
|
994
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
688
995
|
*/
|
|
689
|
-
|
|
690
|
-
};
|
|
691
|
-
export type OrganizationCreateInput = {
|
|
996
|
+
body: string;
|
|
692
997
|
/**
|
|
693
|
-
*
|
|
998
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
694
999
|
*/
|
|
695
|
-
|
|
1000
|
+
properties?: {
|
|
1001
|
+
[key: string]: unknown;
|
|
1002
|
+
};
|
|
1003
|
+
};
|
|
1004
|
+
export type TicketListResponse = {
|
|
696
1005
|
/**
|
|
697
|
-
*
|
|
1006
|
+
* Tickets for the organization, ordered newest first. Messages are omitted from list responses.
|
|
698
1007
|
*/
|
|
699
|
-
|
|
700
|
-
/**
|
|
701
|
-
* Street address, P.O. box, c/o
|
|
702
|
-
*/
|
|
703
|
-
address1?: string;
|
|
704
|
-
/**
|
|
705
|
-
* Apartment, suite, unit, building, floor, etc.
|
|
706
|
-
*/
|
|
707
|
-
address2?: string;
|
|
1008
|
+
items: Array<{
|
|
708
1009
|
/**
|
|
709
|
-
*
|
|
1010
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
710
1011
|
*/
|
|
711
|
-
|
|
1012
|
+
id: string;
|
|
712
1013
|
/**
|
|
713
|
-
*
|
|
1014
|
+
* Current state of the ticket.
|
|
714
1015
|
*/
|
|
715
|
-
|
|
1016
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
716
1017
|
/**
|
|
717
|
-
*
|
|
1018
|
+
* Ticket category.
|
|
718
1019
|
*/
|
|
719
|
-
|
|
1020
|
+
category: 'billing' | 'technical' | 'general';
|
|
720
1021
|
/**
|
|
721
|
-
*
|
|
1022
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
722
1023
|
*/
|
|
723
|
-
|
|
1024
|
+
summary: string;
|
|
724
1025
|
/**
|
|
725
|
-
*
|
|
1026
|
+
* Closure timestamp. Null while the ticket is open.
|
|
726
1027
|
*/
|
|
727
|
-
|
|
1028
|
+
closed_at?: string;
|
|
728
1029
|
/**
|
|
729
|
-
*
|
|
1030
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
730
1031
|
*/
|
|
731
|
-
|
|
1032
|
+
date_created: string;
|
|
732
1033
|
/**
|
|
733
|
-
*
|
|
1034
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
734
1035
|
*/
|
|
735
|
-
|
|
1036
|
+
date_updated: string;
|
|
736
1037
|
/**
|
|
737
|
-
*
|
|
1038
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
738
1039
|
*/
|
|
739
|
-
|
|
740
|
-
|
|
1040
|
+
messages?: Array<{
|
|
1041
|
+
/**
|
|
1042
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1043
|
+
*/
|
|
1044
|
+
id: string;
|
|
1045
|
+
/**
|
|
1046
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1047
|
+
*/
|
|
1048
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1049
|
+
/**
|
|
1050
|
+
* Message body in markdown.
|
|
1051
|
+
*/
|
|
1052
|
+
body: string;
|
|
1053
|
+
/**
|
|
1054
|
+
* First name of the author. Null when not provided.
|
|
1055
|
+
*/
|
|
1056
|
+
author_first_name?: string;
|
|
1057
|
+
/**
|
|
1058
|
+
* Last name of the author. Null when not provided.
|
|
1059
|
+
*/
|
|
1060
|
+
author_last_name?: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* Attachments associated with this message.
|
|
1063
|
+
*/
|
|
1064
|
+
attachments?: Array<{
|
|
1065
|
+
/**
|
|
1066
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1067
|
+
*/
|
|
1068
|
+
id: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* Original filename as uploaded.
|
|
1071
|
+
*/
|
|
1072
|
+
filename: string;
|
|
1073
|
+
/**
|
|
1074
|
+
* MIME content type of the attachment.
|
|
1075
|
+
*/
|
|
1076
|
+
content_type: string;
|
|
1077
|
+
/**
|
|
1078
|
+
* Size of the attachment in bytes.
|
|
1079
|
+
*/
|
|
1080
|
+
size: number;
|
|
1081
|
+
}>;
|
|
1082
|
+
/**
|
|
1083
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1084
|
+
*/
|
|
1085
|
+
date_created: string;
|
|
1086
|
+
}>;
|
|
1087
|
+
}>;
|
|
1088
|
+
};
|
|
1089
|
+
export type TicketMessageInput = {
|
|
741
1090
|
/**
|
|
742
|
-
*
|
|
1091
|
+
* Reply body in markdown.
|
|
743
1092
|
*/
|
|
744
|
-
|
|
1093
|
+
body: string;
|
|
745
1094
|
};
|
|
746
|
-
export type
|
|
1095
|
+
export type TicketMessage = {
|
|
747
1096
|
/**
|
|
748
|
-
*
|
|
1097
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
749
1098
|
*/
|
|
750
|
-
|
|
1099
|
+
id: string;
|
|
751
1100
|
/**
|
|
752
|
-
*
|
|
1101
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
753
1102
|
*/
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
/**
|
|
772
|
-
* State, province, or region name.
|
|
773
|
-
*/
|
|
774
|
-
state?: string;
|
|
775
|
-
/**
|
|
776
|
-
* Country as a ISO 3166-1 alpha-2 country code.
|
|
777
|
-
*/
|
|
778
|
-
country?: string;
|
|
1103
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1104
|
+
/**
|
|
1105
|
+
* Message body in markdown.
|
|
1106
|
+
*/
|
|
1107
|
+
body: string;
|
|
1108
|
+
/**
|
|
1109
|
+
* First name of the author. Null when not provided.
|
|
1110
|
+
*/
|
|
1111
|
+
author_first_name?: string;
|
|
1112
|
+
/**
|
|
1113
|
+
* Last name of the author. Null when not provided.
|
|
1114
|
+
*/
|
|
1115
|
+
author_last_name?: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* Attachments associated with this message.
|
|
1118
|
+
*/
|
|
1119
|
+
attachments?: Array<{
|
|
779
1120
|
/**
|
|
780
|
-
*
|
|
1121
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
781
1122
|
*/
|
|
782
|
-
|
|
1123
|
+
id: string;
|
|
783
1124
|
/**
|
|
784
|
-
*
|
|
1125
|
+
* Original filename as uploaded.
|
|
785
1126
|
*/
|
|
786
|
-
|
|
1127
|
+
filename: string;
|
|
787
1128
|
/**
|
|
788
|
-
*
|
|
1129
|
+
* MIME content type of the attachment.
|
|
789
1130
|
*/
|
|
790
|
-
|
|
1131
|
+
content_type: string;
|
|
791
1132
|
/**
|
|
792
|
-
*
|
|
1133
|
+
* Size of the attachment in bytes.
|
|
793
1134
|
*/
|
|
794
|
-
|
|
795
|
-
}
|
|
1135
|
+
size: number;
|
|
1136
|
+
}>;
|
|
796
1137
|
/**
|
|
797
|
-
*
|
|
1138
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1139
|
+
*/
|
|
1140
|
+
date_created: string;
|
|
1141
|
+
};
|
|
1142
|
+
export type Ticket = {
|
|
1143
|
+
/**
|
|
1144
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
798
1145
|
*/
|
|
799
1146
|
id: string;
|
|
800
1147
|
/**
|
|
801
|
-
*
|
|
1148
|
+
* Current state of the ticket.
|
|
802
1149
|
*/
|
|
803
|
-
|
|
1150
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
804
1151
|
/**
|
|
805
|
-
*
|
|
1152
|
+
* Ticket category.
|
|
806
1153
|
*/
|
|
807
|
-
|
|
808
|
-
/**
|
|
809
|
-
* Maximum number of Basic clusters that can be created.
|
|
810
|
-
*/
|
|
811
|
-
basic_clusters_max: number;
|
|
812
|
-
/**
|
|
813
|
-
* Available number of Basic clusters that can be created.
|
|
814
|
-
*/
|
|
815
|
-
basic_clusters_available: number;
|
|
816
|
-
/**
|
|
817
|
-
* Maximum number of Pro clusters that can be created.
|
|
818
|
-
*/
|
|
819
|
-
pro_clusters_max: number;
|
|
820
|
-
/**
|
|
821
|
-
* Available number of Pro clusters that can be created.
|
|
822
|
-
*/
|
|
823
|
-
pro_clusters_available: number;
|
|
824
|
-
/**
|
|
825
|
-
* Maximum number of fleets that can be created per cluster.
|
|
826
|
-
*/
|
|
827
|
-
fleets_max: number;
|
|
828
|
-
/**
|
|
829
|
-
* Maximum number of CPU cores per managed fleet.
|
|
830
|
-
*/
|
|
831
|
-
managed_fleets_cpu_max: number;
|
|
832
|
-
/**
|
|
833
|
-
* List of Cloudfleet cluster tiers available for the organization.
|
|
834
|
-
*/
|
|
835
|
-
cluster_tiers: Array<string>;
|
|
836
|
-
/**
|
|
837
|
-
* List of Cloudfleet control plane regions available for the organization.
|
|
838
|
-
*/
|
|
839
|
-
regions: Array<string>;
|
|
840
|
-
/**
|
|
841
|
-
* List of CFKE control plane versions available for the organization.
|
|
842
|
-
*/
|
|
843
|
-
versions: Array<{
|
|
844
|
-
/**
|
|
845
|
-
* Id of the control plane version. Used in API calls.
|
|
846
|
-
*/
|
|
847
|
-
id: string;
|
|
848
|
-
/**
|
|
849
|
-
* Label of the control plane version. Used in frontent UI.
|
|
850
|
-
*/
|
|
851
|
-
label: string;
|
|
852
|
-
}>;
|
|
853
|
-
};
|
|
1154
|
+
category: 'billing' | 'technical' | 'general';
|
|
854
1155
|
/**
|
|
855
|
-
*
|
|
1156
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
856
1157
|
*/
|
|
857
|
-
|
|
1158
|
+
summary: string;
|
|
858
1159
|
/**
|
|
859
|
-
*
|
|
1160
|
+
* Closure timestamp. Null while the ticket is open.
|
|
860
1161
|
*/
|
|
861
|
-
|
|
862
|
-
};
|
|
863
|
-
export type OrganizationUpdateInput = {
|
|
1162
|
+
closed_at?: string;
|
|
864
1163
|
/**
|
|
865
|
-
*
|
|
1164
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
866
1165
|
*/
|
|
867
|
-
|
|
1166
|
+
date_created: string;
|
|
868
1167
|
/**
|
|
869
|
-
*
|
|
1168
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
870
1169
|
*/
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
/**
|
|
877
|
-
* Apartment, suite, unit, building, floor, etc.
|
|
878
|
-
*/
|
|
879
|
-
address2?: string;
|
|
880
|
-
/**
|
|
881
|
-
* Postal code as a string.
|
|
882
|
-
*/
|
|
883
|
-
postalCode?: string;
|
|
1170
|
+
date_updated: string;
|
|
1171
|
+
/**
|
|
1172
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1173
|
+
*/
|
|
1174
|
+
messages?: Array<{
|
|
884
1175
|
/**
|
|
885
|
-
*
|
|
1176
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
886
1177
|
*/
|
|
887
|
-
|
|
1178
|
+
id: string;
|
|
888
1179
|
/**
|
|
889
|
-
*
|
|
1180
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
890
1181
|
*/
|
|
891
|
-
|
|
1182
|
+
type: 'customer_reply' | 'agent_reply';
|
|
892
1183
|
/**
|
|
893
|
-
*
|
|
1184
|
+
* Message body in markdown.
|
|
894
1185
|
*/
|
|
895
|
-
|
|
1186
|
+
body: string;
|
|
896
1187
|
/**
|
|
897
|
-
*
|
|
1188
|
+
* First name of the author. Null when not provided.
|
|
898
1189
|
*/
|
|
899
|
-
|
|
1190
|
+
author_first_name?: string;
|
|
900
1191
|
/**
|
|
901
|
-
*
|
|
1192
|
+
* Last name of the author. Null when not provided.
|
|
902
1193
|
*/
|
|
903
|
-
|
|
1194
|
+
author_last_name?: string;
|
|
904
1195
|
/**
|
|
905
|
-
*
|
|
1196
|
+
* Attachments associated with this message.
|
|
906
1197
|
*/
|
|
907
|
-
|
|
1198
|
+
attachments?: Array<{
|
|
1199
|
+
/**
|
|
1200
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1201
|
+
*/
|
|
1202
|
+
id: string;
|
|
1203
|
+
/**
|
|
1204
|
+
* Original filename as uploaded.
|
|
1205
|
+
*/
|
|
1206
|
+
filename: string;
|
|
1207
|
+
/**
|
|
1208
|
+
* MIME content type of the attachment.
|
|
1209
|
+
*/
|
|
1210
|
+
content_type: string;
|
|
1211
|
+
/**
|
|
1212
|
+
* Size of the attachment in bytes.
|
|
1213
|
+
*/
|
|
1214
|
+
size: number;
|
|
1215
|
+
}>;
|
|
908
1216
|
/**
|
|
909
|
-
*
|
|
1217
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
910
1218
|
*/
|
|
911
|
-
|
|
912
|
-
}
|
|
913
|
-
};
|
|
914
|
-
export type PaymentMethod = {
|
|
915
|
-
/**
|
|
916
|
-
* Unique identifier of the organization. UUID v4 string in canonical form.
|
|
917
|
-
*/
|
|
918
|
-
id: string;
|
|
919
|
-
/**
|
|
920
|
-
* Whether organization payment method was set up and ready to use for payments.
|
|
921
|
-
*/
|
|
922
|
-
setup: boolean;
|
|
923
|
-
/**
|
|
924
|
-
* Payment method type type. Only `card` payments supported at the moment.
|
|
925
|
-
*/
|
|
926
|
-
type: 'card';
|
|
927
|
-
/**
|
|
928
|
-
* Last 4 digits of the payment card number.
|
|
929
|
-
*/
|
|
930
|
-
last4: string;
|
|
931
|
-
/**
|
|
932
|
-
* Two-digit number representing the card's expiration month.
|
|
933
|
-
*/
|
|
934
|
-
exp_month: number;
|
|
935
|
-
/**
|
|
936
|
-
* Four-digit number representing the card's expiration year.
|
|
937
|
-
*/
|
|
938
|
-
exp_year: number;
|
|
939
|
-
/**
|
|
940
|
-
* Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
941
|
-
*/
|
|
942
|
-
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
1219
|
+
date_created: string;
|
|
1220
|
+
}>;
|
|
943
1221
|
};
|
|
944
1222
|
export type TokenCreateInput = {
|
|
945
1223
|
/**
|
|
@@ -983,20 +1261,85 @@ export type TokenUpdateInput = {
|
|
|
983
1261
|
*/
|
|
984
1262
|
role?: 'Administrator' | 'User';
|
|
985
1263
|
};
|
|
1264
|
+
export type UsageFacets = {
|
|
1265
|
+
/**
|
|
1266
|
+
* List of unique cluster IDs
|
|
1267
|
+
*/
|
|
1268
|
+
cluster_id?: Array<string>;
|
|
1269
|
+
/**
|
|
1270
|
+
* List of unique products
|
|
1271
|
+
*/
|
|
1272
|
+
product?: Array<string>;
|
|
1273
|
+
};
|
|
1274
|
+
export type UsageResponse = {
|
|
1275
|
+
/**
|
|
1276
|
+
* Usage data
|
|
1277
|
+
*/
|
|
1278
|
+
data: Array<{
|
|
1279
|
+
/**
|
|
1280
|
+
* Hour of the usage
|
|
1281
|
+
*/
|
|
1282
|
+
hour: string;
|
|
1283
|
+
/**
|
|
1284
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1285
|
+
*/
|
|
1286
|
+
cluster_id: string;
|
|
1287
|
+
/**
|
|
1288
|
+
* The product the usage is associated with
|
|
1289
|
+
*/
|
|
1290
|
+
product: string;
|
|
1291
|
+
/**
|
|
1292
|
+
* Consumption
|
|
1293
|
+
*/
|
|
1294
|
+
value: number;
|
|
1295
|
+
/**
|
|
1296
|
+
* Price per unit
|
|
1297
|
+
*/
|
|
1298
|
+
price: number;
|
|
1299
|
+
/**
|
|
1300
|
+
* Total cost
|
|
1301
|
+
*/
|
|
1302
|
+
total: number;
|
|
1303
|
+
}>;
|
|
1304
|
+
/**
|
|
1305
|
+
* Facets for filtering
|
|
1306
|
+
*/
|
|
1307
|
+
facets: {
|
|
1308
|
+
/**
|
|
1309
|
+
* List of unique cluster IDs
|
|
1310
|
+
*/
|
|
1311
|
+
cluster_id?: Array<string>;
|
|
1312
|
+
/**
|
|
1313
|
+
* List of unique products
|
|
1314
|
+
*/
|
|
1315
|
+
product?: Array<string>;
|
|
1316
|
+
};
|
|
1317
|
+
};
|
|
986
1318
|
export type Usage = {
|
|
987
1319
|
/**
|
|
988
|
-
*
|
|
1320
|
+
* Hour of the usage
|
|
989
1321
|
*/
|
|
990
|
-
|
|
1322
|
+
hour: string;
|
|
1323
|
+
/**
|
|
1324
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1325
|
+
*/
|
|
1326
|
+
cluster_id: string;
|
|
991
1327
|
/**
|
|
992
|
-
*
|
|
1328
|
+
* The product the usage is associated with
|
|
993
1329
|
*/
|
|
994
|
-
|
|
1330
|
+
product: string;
|
|
995
1331
|
/**
|
|
996
|
-
*
|
|
1332
|
+
* Consumption
|
|
997
1333
|
*/
|
|
998
|
-
|
|
999
|
-
|
|
1334
|
+
value: number;
|
|
1335
|
+
/**
|
|
1336
|
+
* Price per unit
|
|
1337
|
+
*/
|
|
1338
|
+
price: number;
|
|
1339
|
+
/**
|
|
1340
|
+
* Total cost
|
|
1341
|
+
*/
|
|
1342
|
+
total: number;
|
|
1000
1343
|
};
|
|
1001
1344
|
export type UserCreateInput = {
|
|
1002
1345
|
/**
|
|
@@ -1016,7 +1359,7 @@ export type UserCreateInput = {
|
|
|
1016
1359
|
*/
|
|
1017
1360
|
code: string;
|
|
1018
1361
|
/**
|
|
1019
|
-
* User password. Must be at least 8 characters long
|
|
1362
|
+
* User password. Must be at least 8 characters long.
|
|
1020
1363
|
*/
|
|
1021
1364
|
password: string;
|
|
1022
1365
|
/**
|
|
@@ -1057,16 +1400,6 @@ export type User = {
|
|
|
1057
1400
|
* Creation date of the user. ISO 8601 date string in UTC timezone
|
|
1058
1401
|
*/
|
|
1059
1402
|
date_created: string;
|
|
1060
|
-
cluster_permissions?: Array<{
|
|
1061
|
-
/**
|
|
1062
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1063
|
-
*/
|
|
1064
|
-
cluster_id: string;
|
|
1065
|
-
/**
|
|
1066
|
-
* User permissions to access the cluster. Can be `readwrite` or `readonly`.
|
|
1067
|
-
*/
|
|
1068
|
-
permissions: 'readwrite' | 'readonly';
|
|
1069
|
-
}>;
|
|
1070
1403
|
};
|
|
1071
1404
|
export type UserUpdateInput = {
|
|
1072
1405
|
/**
|
|
@@ -1093,130 +1426,328 @@ export type UserUpdateInput = {
|
|
|
1093
1426
|
export type GetUsageData = {
|
|
1094
1427
|
body?: never;
|
|
1095
1428
|
path?: never;
|
|
1096
|
-
query
|
|
1429
|
+
query?: {
|
|
1097
1430
|
/**
|
|
1098
|
-
*
|
|
1431
|
+
* 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)
|
|
1099
1432
|
*/
|
|
1100
|
-
|
|
1433
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
1434
|
+
};
|
|
1435
|
+
url: '/billing/usage';
|
|
1436
|
+
};
|
|
1437
|
+
export type GetUsageErrors = {
|
|
1438
|
+
/**
|
|
1439
|
+
* Not authenticated
|
|
1440
|
+
*/
|
|
1441
|
+
401: unknown;
|
|
1442
|
+
};
|
|
1443
|
+
export type GetUsageResponses = {
|
|
1444
|
+
/**
|
|
1445
|
+
* Usage data with facets for filtering
|
|
1446
|
+
*/
|
|
1447
|
+
200: UsageResponse;
|
|
1448
|
+
};
|
|
1449
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
1450
|
+
export type GetPaymentMethodSecretData = {
|
|
1451
|
+
body?: never;
|
|
1452
|
+
path?: never;
|
|
1453
|
+
query?: never;
|
|
1454
|
+
url: '/billing/payment-method';
|
|
1455
|
+
};
|
|
1456
|
+
export type GetPaymentMethodSecretResponses = {
|
|
1457
|
+
/**
|
|
1458
|
+
* 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.
|
|
1459
|
+
*
|
|
1460
|
+
*/
|
|
1461
|
+
200: {
|
|
1101
1462
|
/**
|
|
1102
|
-
*
|
|
1463
|
+
* The client secret.
|
|
1103
1464
|
*/
|
|
1104
|
-
|
|
1465
|
+
id?: string;
|
|
1105
1466
|
};
|
|
1106
|
-
url: '/billing/usage';
|
|
1107
1467
|
};
|
|
1108
|
-
export type
|
|
1468
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
1469
|
+
export type ListPaymentMethodsData = {
|
|
1470
|
+
body?: never;
|
|
1471
|
+
path?: never;
|
|
1472
|
+
query?: never;
|
|
1473
|
+
url: '/billing/payment-methods';
|
|
1474
|
+
};
|
|
1475
|
+
export type ListPaymentMethodsErrors = {
|
|
1476
|
+
/**
|
|
1477
|
+
* Not authenticated
|
|
1478
|
+
*/
|
|
1479
|
+
401: unknown;
|
|
1480
|
+
};
|
|
1481
|
+
export type ListPaymentMethodsResponses = {
|
|
1482
|
+
/**
|
|
1483
|
+
* An array of payment methods.
|
|
1484
|
+
*/
|
|
1485
|
+
200: Array<PaymentMethod>;
|
|
1486
|
+
};
|
|
1487
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
1488
|
+
export type SetDefaultPaymentMethodData = {
|
|
1489
|
+
body?: never;
|
|
1490
|
+
path: {
|
|
1491
|
+
/**
|
|
1492
|
+
* Stripe payment method identifier.
|
|
1493
|
+
*/
|
|
1494
|
+
paymentMethodId: string;
|
|
1495
|
+
};
|
|
1496
|
+
query?: never;
|
|
1497
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
1498
|
+
};
|
|
1499
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
1500
|
+
/**
|
|
1501
|
+
* The bank transfer payment method cannot be set as the default.
|
|
1502
|
+
*/
|
|
1503
|
+
400: unknown;
|
|
1504
|
+
/**
|
|
1505
|
+
* Not authenticated
|
|
1506
|
+
*/
|
|
1507
|
+
401: unknown;
|
|
1508
|
+
/**
|
|
1509
|
+
* Payment method not found.
|
|
1510
|
+
*/
|
|
1511
|
+
404: unknown;
|
|
1512
|
+
};
|
|
1513
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
1514
|
+
/**
|
|
1515
|
+
* Default payment method updated.
|
|
1516
|
+
*/
|
|
1517
|
+
204: void;
|
|
1518
|
+
};
|
|
1519
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
1520
|
+
export type DeletePaymentMethodData = {
|
|
1521
|
+
body?: never;
|
|
1522
|
+
path: {
|
|
1523
|
+
/**
|
|
1524
|
+
* Stripe payment method identifier.
|
|
1525
|
+
*/
|
|
1526
|
+
paymentMethodId: string;
|
|
1527
|
+
};
|
|
1528
|
+
query?: never;
|
|
1529
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
1530
|
+
};
|
|
1531
|
+
export type DeletePaymentMethodErrors = {
|
|
1532
|
+
/**
|
|
1533
|
+
* The bank transfer payment method cannot be removed.
|
|
1534
|
+
*/
|
|
1535
|
+
400: unknown;
|
|
1536
|
+
/**
|
|
1537
|
+
* Not authenticated
|
|
1538
|
+
*/
|
|
1539
|
+
401: unknown;
|
|
1540
|
+
/**
|
|
1541
|
+
* Payment method not found.
|
|
1542
|
+
*/
|
|
1543
|
+
404: unknown;
|
|
1544
|
+
/**
|
|
1545
|
+
* Cannot delete the only remaining payment method.
|
|
1546
|
+
*/
|
|
1547
|
+
409: unknown;
|
|
1548
|
+
};
|
|
1549
|
+
export type DeletePaymentMethodResponses = {
|
|
1550
|
+
/**
|
|
1551
|
+
* Payment method deleted.
|
|
1552
|
+
*/
|
|
1553
|
+
204: void;
|
|
1554
|
+
};
|
|
1555
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
1556
|
+
export type ListInvoicesData = {
|
|
1557
|
+
body?: never;
|
|
1558
|
+
path?: never;
|
|
1559
|
+
query?: never;
|
|
1560
|
+
url: '/billing/invoices';
|
|
1561
|
+
};
|
|
1562
|
+
export type ListInvoicesErrors = {
|
|
1109
1563
|
/**
|
|
1110
1564
|
* Not authenticated
|
|
1111
1565
|
*/
|
|
1112
1566
|
401: unknown;
|
|
1113
1567
|
};
|
|
1114
|
-
export type
|
|
1568
|
+
export type ListInvoicesResponses = {
|
|
1115
1569
|
/**
|
|
1116
1570
|
* An array of usage records.
|
|
1117
1571
|
*/
|
|
1118
|
-
200: Array<
|
|
1572
|
+
200: Array<Invoice>;
|
|
1119
1573
|
};
|
|
1120
|
-
export type
|
|
1121
|
-
export type
|
|
1574
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
1575
|
+
export type GetContactData = {
|
|
1122
1576
|
body?: never;
|
|
1123
1577
|
path?: never;
|
|
1124
1578
|
query?: never;
|
|
1125
|
-
url: '/billing/
|
|
1579
|
+
url: '/billing/contact';
|
|
1580
|
+
};
|
|
1581
|
+
export type GetContactResponses = {
|
|
1582
|
+
/**
|
|
1583
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1584
|
+
*/
|
|
1585
|
+
200: BillingContact;
|
|
1586
|
+
};
|
|
1587
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
1588
|
+
export type UpdateContactData = {
|
|
1589
|
+
body: BillingContact;
|
|
1590
|
+
path?: never;
|
|
1591
|
+
query?: never;
|
|
1592
|
+
url: '/billing/contact';
|
|
1126
1593
|
};
|
|
1127
|
-
export type
|
|
1594
|
+
export type UpdateContactResponses = {
|
|
1128
1595
|
/**
|
|
1129
|
-
*
|
|
1596
|
+
* Successfully updated. Returns updated organization details.
|
|
1130
1597
|
*/
|
|
1131
|
-
200:
|
|
1598
|
+
200: BillingContact;
|
|
1132
1599
|
};
|
|
1133
|
-
export type
|
|
1134
|
-
export type
|
|
1600
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
1601
|
+
export type GetCreditsData = {
|
|
1135
1602
|
body?: never;
|
|
1136
1603
|
path?: never;
|
|
1137
1604
|
query?: never;
|
|
1138
|
-
url: '/billing/
|
|
1605
|
+
url: '/billing/credits';
|
|
1139
1606
|
};
|
|
1140
|
-
export type
|
|
1607
|
+
export type GetCreditsErrors = {
|
|
1141
1608
|
/**
|
|
1142
|
-
*
|
|
1609
|
+
* Not authenticated
|
|
1143
1610
|
*/
|
|
1144
|
-
|
|
1611
|
+
401: unknown;
|
|
1145
1612
|
};
|
|
1146
|
-
export type
|
|
1613
|
+
export type GetCreditsResponses = {
|
|
1147
1614
|
/**
|
|
1148
|
-
*
|
|
1615
|
+
* An array of the applied promotional credits records.
|
|
1149
1616
|
*/
|
|
1150
|
-
200:
|
|
1617
|
+
200: Array<BillingCredits>;
|
|
1151
1618
|
};
|
|
1152
|
-
export type
|
|
1153
|
-
export type
|
|
1154
|
-
body
|
|
1619
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
1620
|
+
export type RedeemCreditsData = {
|
|
1621
|
+
body: {
|
|
1622
|
+
/**
|
|
1623
|
+
* Promotional code to redeem
|
|
1624
|
+
*/
|
|
1625
|
+
code?: string;
|
|
1626
|
+
};
|
|
1155
1627
|
path?: never;
|
|
1156
1628
|
query?: never;
|
|
1157
|
-
url: '/billing/
|
|
1629
|
+
url: '/billing/credits';
|
|
1158
1630
|
};
|
|
1159
|
-
export type
|
|
1631
|
+
export type RedeemCreditsErrors = {
|
|
1160
1632
|
/**
|
|
1161
|
-
*
|
|
1162
|
-
*
|
|
1633
|
+
* Not authenticated
|
|
1163
1634
|
*/
|
|
1164
|
-
|
|
1635
|
+
401: unknown;
|
|
1636
|
+
};
|
|
1637
|
+
export type RedeemCreditsResponses = {
|
|
1638
|
+
/**
|
|
1639
|
+
* Successfully created a new organization.
|
|
1640
|
+
*/
|
|
1641
|
+
200: unknown;
|
|
1642
|
+
};
|
|
1643
|
+
export type ListChartsData = {
|
|
1644
|
+
body?: never;
|
|
1645
|
+
path: {
|
|
1165
1646
|
/**
|
|
1166
|
-
*
|
|
1647
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1167
1648
|
*/
|
|
1168
|
-
|
|
1649
|
+
cluster_id: string;
|
|
1169
1650
|
};
|
|
1651
|
+
query?: never;
|
|
1652
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1170
1653
|
};
|
|
1171
|
-
export type
|
|
1172
|
-
|
|
1654
|
+
export type ListChartsErrors = {
|
|
1655
|
+
/**
|
|
1656
|
+
* Not authenticated
|
|
1657
|
+
*/
|
|
1658
|
+
401: unknown;
|
|
1659
|
+
};
|
|
1660
|
+
export type ListChartsResponses = {
|
|
1661
|
+
/**
|
|
1662
|
+
* An array of charts
|
|
1663
|
+
*/
|
|
1664
|
+
200: Array<Chart>;
|
|
1665
|
+
};
|
|
1666
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
1667
|
+
export type CreateChartData = {
|
|
1668
|
+
body: ChartCreateInput;
|
|
1669
|
+
path: {
|
|
1670
|
+
/**
|
|
1671
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1672
|
+
*/
|
|
1673
|
+
cluster_id: string;
|
|
1674
|
+
};
|
|
1675
|
+
query?: never;
|
|
1676
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1677
|
+
};
|
|
1678
|
+
export type CreateChartResponses = {
|
|
1679
|
+
/**
|
|
1680
|
+
* Successfully created. Returns created Chart ID.
|
|
1681
|
+
*/
|
|
1682
|
+
200: string;
|
|
1683
|
+
};
|
|
1684
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
1685
|
+
export type DeleteChartData = {
|
|
1173
1686
|
body?: never;
|
|
1174
|
-
path
|
|
1175
|
-
query: {
|
|
1687
|
+
path: {
|
|
1176
1688
|
/**
|
|
1177
|
-
*
|
|
1689
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1178
1690
|
*/
|
|
1179
|
-
|
|
1691
|
+
cluster_id: string;
|
|
1180
1692
|
/**
|
|
1181
|
-
*
|
|
1693
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1182
1694
|
*/
|
|
1183
|
-
|
|
1695
|
+
chart_name: string;
|
|
1184
1696
|
};
|
|
1185
|
-
|
|
1697
|
+
query?: never;
|
|
1698
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1186
1699
|
};
|
|
1187
|
-
export type
|
|
1700
|
+
export type DeleteChartResponses = {
|
|
1188
1701
|
/**
|
|
1189
|
-
*
|
|
1702
|
+
* Successfully deleted.
|
|
1190
1703
|
*/
|
|
1191
|
-
|
|
1704
|
+
200: string;
|
|
1192
1705
|
};
|
|
1193
|
-
export type
|
|
1706
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
1707
|
+
export type GetChartData = {
|
|
1708
|
+
body?: never;
|
|
1709
|
+
path: {
|
|
1710
|
+
/**
|
|
1711
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1712
|
+
*/
|
|
1713
|
+
cluster_id: string;
|
|
1714
|
+
/**
|
|
1715
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1716
|
+
*/
|
|
1717
|
+
chart_name: string;
|
|
1718
|
+
};
|
|
1719
|
+
query?: never;
|
|
1720
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1721
|
+
};
|
|
1722
|
+
export type GetChartResponses = {
|
|
1194
1723
|
/**
|
|
1195
|
-
*
|
|
1724
|
+
* Returns a single object containing chart details.
|
|
1196
1725
|
*/
|
|
1197
|
-
200:
|
|
1726
|
+
200: Chart;
|
|
1198
1727
|
};
|
|
1199
|
-
export type
|
|
1200
|
-
export type
|
|
1201
|
-
body
|
|
1728
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
1729
|
+
export type UpdateChartData = {
|
|
1730
|
+
body: ChartUpdateInput;
|
|
1202
1731
|
path: {
|
|
1203
1732
|
/**
|
|
1204
|
-
* Unique
|
|
1733
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1205
1734
|
*/
|
|
1206
|
-
|
|
1735
|
+
cluster_id: string;
|
|
1736
|
+
/**
|
|
1737
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1738
|
+
*/
|
|
1739
|
+
chart_name: string;
|
|
1207
1740
|
};
|
|
1208
1741
|
query?: never;
|
|
1209
|
-
url: '/
|
|
1742
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1210
1743
|
};
|
|
1211
|
-
export type
|
|
1744
|
+
export type UpdateChartResponses = {
|
|
1212
1745
|
/**
|
|
1213
|
-
*
|
|
1746
|
+
* Successfully updated.
|
|
1214
1747
|
*/
|
|
1215
|
-
200:
|
|
1216
|
-
html?: string;
|
|
1217
|
-
};
|
|
1748
|
+
200: string;
|
|
1218
1749
|
};
|
|
1219
|
-
export type
|
|
1750
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
1220
1751
|
export type ListFleetsData = {
|
|
1221
1752
|
body?: never;
|
|
1222
1753
|
path: {
|
|
@@ -1443,288 +1974,42 @@ export type UpdateClusterData = {
|
|
|
1443
1974
|
/**
|
|
1444
1975
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1445
1976
|
*/
|
|
1446
|
-
cluster_id: string;
|
|
1447
|
-
};
|
|
1448
|
-
query?: never;
|
|
1449
|
-
url: '/clusters/{cluster_id}';
|
|
1450
|
-
};
|
|
1451
|
-
export type UpdateClusterResponses = {
|
|
1452
|
-
/**
|
|
1453
|
-
* Successfully updated. Returns updated cluster details.
|
|
1454
|
-
*/
|
|
1455
|
-
200: Cluster;
|
|
1456
|
-
};
|
|
1457
|
-
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
1458
|
-
export type GetJoinInformationData = {
|
|
1459
|
-
body?: never;
|
|
1460
|
-
path: {
|
|
1461
|
-
/**
|
|
1462
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1463
|
-
*/
|
|
1464
|
-
cluster_id: string;
|
|
1465
|
-
};
|
|
1466
|
-
query?: never;
|
|
1467
|
-
url: '/clusters/{cluster_id}/join_information';
|
|
1468
|
-
};
|
|
1469
|
-
export type GetJoinInformationErrors = {
|
|
1470
|
-
/**
|
|
1471
|
-
* Not authenticated
|
|
1472
|
-
*/
|
|
1473
|
-
401: unknown;
|
|
1474
|
-
};
|
|
1475
|
-
export type GetJoinInformationResponses = {
|
|
1476
|
-
/**
|
|
1477
|
-
* An object of cluster join information
|
|
1478
|
-
*/
|
|
1479
|
-
200: Cluster;
|
|
1480
|
-
};
|
|
1481
|
-
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
1482
|
-
export type GetInfrastructureData = {
|
|
1483
|
-
body?: never;
|
|
1484
|
-
path?: never;
|
|
1485
|
-
query?: {
|
|
1486
|
-
/**
|
|
1487
|
-
* Version of the task definition. Currently only version 1 is supported.
|
|
1488
|
-
*/
|
|
1489
|
-
version?: 1;
|
|
1490
|
-
/**
|
|
1491
|
-
* Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
1492
|
-
*/
|
|
1493
|
-
provider?: Array<string>;
|
|
1494
|
-
/**
|
|
1495
|
-
* Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
1496
|
-
*/
|
|
1497
|
-
region?: Array<string>;
|
|
1498
|
-
/**
|
|
1499
|
-
* Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
1500
|
-
*/
|
|
1501
|
-
sub_region?: Array<string>;
|
|
1502
|
-
/**
|
|
1503
|
-
* Limits selection of cloud regions to this list of canonical provider regions
|
|
1504
|
-
*/
|
|
1505
|
-
csp_region?: Array<string>;
|
|
1506
|
-
/**
|
|
1507
|
-
* Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
|
|
1508
|
-
*/
|
|
1509
|
-
instance_type?: Array<string>;
|
|
1510
|
-
/**
|
|
1511
|
-
* List of Normalized accelerator model names. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field
|
|
1512
|
-
*/
|
|
1513
|
-
accelerator_name?: Array<string>;
|
|
1514
|
-
/**
|
|
1515
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1516
|
-
*/
|
|
1517
|
-
accelerator_manufacturer?: Array<string>;
|
|
1518
|
-
/**
|
|
1519
|
-
* Minimum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
|
|
1520
|
-
*/
|
|
1521
|
-
accelerator_count_min?: number;
|
|
1522
|
-
/**
|
|
1523
|
-
* Maximum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
|
|
1524
|
-
*/
|
|
1525
|
-
accelerator_count_max?: number;
|
|
1526
|
-
/**
|
|
1527
|
-
* Minimum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
|
|
1528
|
-
*/
|
|
1529
|
-
accelerator_memory_min?: number;
|
|
1530
|
-
/**
|
|
1531
|
-
* Maximum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
|
|
1532
|
-
*/
|
|
1533
|
-
accelerator_memory_max?: number;
|
|
1534
|
-
/**
|
|
1535
|
-
* Minimum amount of RAM in gibibytes (GiB)
|
|
1536
|
-
*/
|
|
1537
|
-
memory_min?: number;
|
|
1538
|
-
/**
|
|
1539
|
-
* Maximum amount of RAM in gibibytes (GiB)
|
|
1540
|
-
*/
|
|
1541
|
-
memory_max?: number;
|
|
1542
|
-
/**
|
|
1543
|
-
* Minimum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
|
|
1544
|
-
*/
|
|
1545
|
-
vcpu_min?: number;
|
|
1546
|
-
/**
|
|
1547
|
-
* Maximum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
|
|
1548
|
-
*/
|
|
1549
|
-
vcpu_max?: number;
|
|
1550
|
-
/**
|
|
1551
|
-
* Minimum total storage in GiB (attached and local)
|
|
1552
|
-
*/
|
|
1553
|
-
storage_total_min?: number;
|
|
1554
|
-
/**
|
|
1555
|
-
* Maximum total storage in GiB (attached and local)
|
|
1556
|
-
*/
|
|
1557
|
-
storage_total_max?: number;
|
|
1558
|
-
/**
|
|
1559
|
-
* Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1560
|
-
*/
|
|
1561
|
-
storage_local_min?: number;
|
|
1562
|
-
/**
|
|
1563
|
-
* Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1564
|
-
*/
|
|
1565
|
-
storage_local_max?: number;
|
|
1566
|
-
/**
|
|
1567
|
-
* Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1568
|
-
*/
|
|
1569
|
-
price_min?: number;
|
|
1570
|
-
/**
|
|
1571
|
-
* Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1572
|
-
*/
|
|
1573
|
-
price_max?: number;
|
|
1574
|
-
};
|
|
1575
|
-
url: '/infrastructure';
|
|
1576
|
-
};
|
|
1577
|
-
export type GetInfrastructureErrors = {
|
|
1578
|
-
/**
|
|
1579
|
-
* Returns a validation error if any of the search parameters in the request are invalid
|
|
1580
|
-
*/
|
|
1581
|
-
400: Blob | File;
|
|
1582
|
-
};
|
|
1583
|
-
export type GetInfrastructureError = GetInfrastructureErrors[keyof GetInfrastructureErrors];
|
|
1584
|
-
export type GetInfrastructureResponses = {
|
|
1585
|
-
/**
|
|
1586
|
-
* An array of instances returned by the search
|
|
1587
|
-
*/
|
|
1588
|
-
200: Array<InfrastructureInstance>;
|
|
1589
|
-
};
|
|
1590
|
-
export type GetInfrastructureResponse = GetInfrastructureResponses[keyof GetInfrastructureResponses];
|
|
1591
|
-
export type GetFacetsData = {
|
|
1592
|
-
body?: never;
|
|
1593
|
-
path?: never;
|
|
1594
|
-
query?: never;
|
|
1595
|
-
url: '/infrastructure/facets';
|
|
1596
|
-
};
|
|
1597
|
-
export type GetFacetsResponses = {
|
|
1598
|
-
/**
|
|
1599
|
-
* Calculates search facets of the infrastructure catalog
|
|
1600
|
-
*/
|
|
1601
|
-
200: Array<{
|
|
1602
|
-
/**
|
|
1603
|
-
* Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
1604
|
-
*/
|
|
1605
|
-
provider?: Array<string>;
|
|
1606
|
-
/**
|
|
1607
|
-
* Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
1608
|
-
*/
|
|
1609
|
-
region?: Array<string>;
|
|
1610
|
-
/**
|
|
1611
|
-
* Limits selection of cloud sub-regions to this list of Cloudfleet sub-regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
1612
|
-
*/
|
|
1613
|
-
sub_region?: Array<string>;
|
|
1614
|
-
/**
|
|
1615
|
-
* Limits selection of cloud regions to this list of canonical provider regions
|
|
1616
|
-
*/
|
|
1617
|
-
csp_region?: Array<string>;
|
|
1618
|
-
/**
|
|
1619
|
-
* Minimum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
|
|
1620
|
-
*/
|
|
1621
|
-
vcpu_min?: number;
|
|
1622
|
-
/**
|
|
1623
|
-
* Maximum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
|
|
1624
|
-
*/
|
|
1625
|
-
vcpu_max?: number;
|
|
1626
|
-
/**
|
|
1627
|
-
* Minimum amount of RAM in gibibytes (GiB)
|
|
1628
|
-
*/
|
|
1629
|
-
memory_min?: number;
|
|
1630
|
-
/**
|
|
1631
|
-
* Maximum amount of RAM in gibibytes (GiB)
|
|
1632
|
-
*/
|
|
1633
|
-
memory_max?: number;
|
|
1634
|
-
/**
|
|
1635
|
-
* Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1636
|
-
*/
|
|
1637
|
-
storage_local_min?: number;
|
|
1638
|
-
/**
|
|
1639
|
-
* Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1640
|
-
*/
|
|
1641
|
-
storage_local_max?: number;
|
|
1642
|
-
/**
|
|
1643
|
-
* List of Normalized accelerator model names. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field
|
|
1644
|
-
*/
|
|
1645
|
-
accelerator_name?: Array<string>;
|
|
1646
|
-
/**
|
|
1647
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1648
|
-
*/
|
|
1649
|
-
accelerator_manufacturer?: Array<string>;
|
|
1650
|
-
/**
|
|
1651
|
-
* Minimum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
|
|
1652
|
-
*/
|
|
1653
|
-
accelerator_count_min?: number;
|
|
1654
|
-
/**
|
|
1655
|
-
* Maximum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
|
|
1656
|
-
*/
|
|
1657
|
-
accelerator_count_max?: number;
|
|
1658
|
-
/**
|
|
1659
|
-
* Minimum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
|
|
1660
|
-
*/
|
|
1661
|
-
accelerator_memory_min?: number;
|
|
1662
|
-
/**
|
|
1663
|
-
* Maximum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
|
|
1664
|
-
*/
|
|
1665
|
-
accelerator_memory_max?: number;
|
|
1666
|
-
/**
|
|
1667
|
-
* Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1668
|
-
*/
|
|
1669
|
-
price_min?: number;
|
|
1670
|
-
/**
|
|
1671
|
-
* Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1672
|
-
*/
|
|
1673
|
-
price_max?: number;
|
|
1674
|
-
/**
|
|
1675
|
-
* Structured array of regions and sub-regions
|
|
1676
|
-
*/
|
|
1677
|
-
regions_struct?: Array<{
|
|
1678
|
-
/**
|
|
1679
|
-
* Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
1680
|
-
*/
|
|
1681
|
-
region?: string;
|
|
1682
|
-
sub_region?: Array<string>;
|
|
1683
|
-
}>;
|
|
1684
|
-
/**
|
|
1685
|
-
* Structured array of regions and sub-regions
|
|
1686
|
-
*/
|
|
1687
|
-
accelerators_struct?: Array<{
|
|
1688
|
-
/**
|
|
1689
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1690
|
-
*/
|
|
1691
|
-
accelerator_manufacturer?: string;
|
|
1692
|
-
accelerator_name?: Array<string>;
|
|
1693
|
-
}>;
|
|
1694
|
-
/**
|
|
1695
|
-
* Total number of instances in the catalog
|
|
1696
|
-
*/
|
|
1697
|
-
count_total?: number;
|
|
1698
|
-
/**
|
|
1699
|
-
* Total number of instances in the catalog with at least 1 accelerator
|
|
1700
|
-
*/
|
|
1701
|
-
count_accelerators?: number;
|
|
1702
|
-
/**
|
|
1703
|
-
* Total number of unique instances types in the catalog
|
|
1704
|
-
*/
|
|
1705
|
-
count_instance_types?: number;
|
|
1706
|
-
/**
|
|
1707
|
-
* Total number of unique instances types in the catalog with at least 1 accelerator
|
|
1708
|
-
*/
|
|
1709
|
-
count_accelerators_instance_types?: number;
|
|
1710
|
-
}>;
|
|
1977
|
+
cluster_id: string;
|
|
1978
|
+
};
|
|
1979
|
+
query?: never;
|
|
1980
|
+
url: '/clusters/{cluster_id}';
|
|
1981
|
+
};
|
|
1982
|
+
export type UpdateClusterResponses = {
|
|
1983
|
+
/**
|
|
1984
|
+
* Successfully updated. Returns updated cluster details.
|
|
1985
|
+
*/
|
|
1986
|
+
200: Cluster;
|
|
1711
1987
|
};
|
|
1712
|
-
export type
|
|
1713
|
-
export type
|
|
1988
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
1989
|
+
export type GetJoinInformationData = {
|
|
1714
1990
|
body?: never;
|
|
1715
|
-
path
|
|
1991
|
+
path: {
|
|
1992
|
+
/**
|
|
1993
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1994
|
+
*/
|
|
1995
|
+
cluster_id: string;
|
|
1996
|
+
};
|
|
1716
1997
|
query?: never;
|
|
1717
|
-
url: '/
|
|
1998
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
1718
1999
|
};
|
|
1719
|
-
export type
|
|
2000
|
+
export type GetJoinInformationErrors = {
|
|
1720
2001
|
/**
|
|
1721
|
-
*
|
|
2002
|
+
* Not authenticated
|
|
1722
2003
|
*/
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
2004
|
+
401: unknown;
|
|
2005
|
+
};
|
|
2006
|
+
export type GetJoinInformationResponses = {
|
|
2007
|
+
/**
|
|
2008
|
+
* An object of cluster join information
|
|
2009
|
+
*/
|
|
2010
|
+
200: ClusterJoinInformation;
|
|
1726
2011
|
};
|
|
1727
|
-
export type
|
|
2012
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
1728
2013
|
export type ListInvitesData = {
|
|
1729
2014
|
body?: never;
|
|
1730
2015
|
path?: never;
|
|
@@ -1797,6 +2082,95 @@ export type DeleteInviteResponses = {
|
|
|
1797
2082
|
*/
|
|
1798
2083
|
200: unknown;
|
|
1799
2084
|
};
|
|
2085
|
+
export type ListMarketplaceChartsData = {
|
|
2086
|
+
body?: never;
|
|
2087
|
+
path?: never;
|
|
2088
|
+
query?: never;
|
|
2089
|
+
url: '/marketplace';
|
|
2090
|
+
};
|
|
2091
|
+
export type ListMarketplaceChartsErrors = {
|
|
2092
|
+
/**
|
|
2093
|
+
* Not authenticated
|
|
2094
|
+
*/
|
|
2095
|
+
401: unknown;
|
|
2096
|
+
};
|
|
2097
|
+
export type ListMarketplaceChartsResponses = {
|
|
2098
|
+
/**
|
|
2099
|
+
* An array of chart listings in the marketplace.
|
|
2100
|
+
*/
|
|
2101
|
+
200: Array<MarketplaceListing>;
|
|
2102
|
+
};
|
|
2103
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
2104
|
+
export type GetMarketplaceChartFilesData = {
|
|
2105
|
+
body?: never;
|
|
2106
|
+
path: {
|
|
2107
|
+
/**
|
|
2108
|
+
* Name of the chart in the marketplace.
|
|
2109
|
+
*/
|
|
2110
|
+
chart_name: string;
|
|
2111
|
+
/**
|
|
2112
|
+
* 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).
|
|
2113
|
+
*/
|
|
2114
|
+
version_channel: string;
|
|
2115
|
+
};
|
|
2116
|
+
query?: never;
|
|
2117
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
2118
|
+
};
|
|
2119
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
2120
|
+
/**
|
|
2121
|
+
* Chart not found or no version matches the channel
|
|
2122
|
+
*/
|
|
2123
|
+
404: unknown;
|
|
2124
|
+
};
|
|
2125
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
2126
|
+
/**
|
|
2127
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
2128
|
+
*/
|
|
2129
|
+
200: MarketplaceListingFiles;
|
|
2130
|
+
};
|
|
2131
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
2132
|
+
export type PostMcpData = {
|
|
2133
|
+
/**
|
|
2134
|
+
* JSON-RPC 2.0 request payload
|
|
2135
|
+
*/
|
|
2136
|
+
body: {
|
|
2137
|
+
jsonrpc?: string;
|
|
2138
|
+
method?: string;
|
|
2139
|
+
id?: string | number;
|
|
2140
|
+
/**
|
|
2141
|
+
* Method-specific parameters
|
|
2142
|
+
*/
|
|
2143
|
+
params?: {
|
|
2144
|
+
[key: string]: unknown;
|
|
2145
|
+
};
|
|
2146
|
+
};
|
|
2147
|
+
path?: never;
|
|
2148
|
+
query?: never;
|
|
2149
|
+
url: '/mcp';
|
|
2150
|
+
};
|
|
2151
|
+
export type PostMcpErrors = {
|
|
2152
|
+
/**
|
|
2153
|
+
* Not authenticated
|
|
2154
|
+
*/
|
|
2155
|
+
401: unknown;
|
|
2156
|
+
};
|
|
2157
|
+
export type PostMcpResponses = {
|
|
2158
|
+
/**
|
|
2159
|
+
* JSON-RPC 2.0 success or error response
|
|
2160
|
+
*/
|
|
2161
|
+
200: {
|
|
2162
|
+
jsonrpc?: string;
|
|
2163
|
+
id?: string | number;
|
|
2164
|
+
result?: {
|
|
2165
|
+
[key: string]: unknown;
|
|
2166
|
+
};
|
|
2167
|
+
error?: {
|
|
2168
|
+
code?: number;
|
|
2169
|
+
message?: string;
|
|
2170
|
+
};
|
|
2171
|
+
};
|
|
2172
|
+
};
|
|
2173
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
1800
2174
|
export type GetOrganizationData = {
|
|
1801
2175
|
body?: never;
|
|
1802
2176
|
path?: never;
|
|
@@ -1818,24 +2192,255 @@ export type CreateOrganizationData = {
|
|
|
1818
2192
|
};
|
|
1819
2193
|
export type CreateOrganizationResponses = {
|
|
1820
2194
|
/**
|
|
1821
|
-
*
|
|
2195
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2196
|
+
*
|
|
1822
2197
|
*/
|
|
1823
|
-
200:
|
|
2198
|
+
200: OrganizationCreateOutput;
|
|
1824
2199
|
};
|
|
1825
2200
|
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
1826
|
-
export type
|
|
1827
|
-
body
|
|
2201
|
+
export type ListRepositoriesData = {
|
|
2202
|
+
body?: never;
|
|
1828
2203
|
path?: never;
|
|
1829
2204
|
query?: never;
|
|
1830
|
-
url: '/
|
|
2205
|
+
url: '/registry';
|
|
1831
2206
|
};
|
|
1832
|
-
export type
|
|
2207
|
+
export type ListRepositoriesErrors = {
|
|
1833
2208
|
/**
|
|
1834
|
-
*
|
|
2209
|
+
* Not authenticated
|
|
1835
2210
|
*/
|
|
1836
|
-
|
|
2211
|
+
401: unknown;
|
|
2212
|
+
/**
|
|
2213
|
+
* Internal server error
|
|
2214
|
+
*/
|
|
2215
|
+
500: unknown;
|
|
2216
|
+
};
|
|
2217
|
+
export type ListRepositoriesResponses = {
|
|
2218
|
+
/**
|
|
2219
|
+
* List of repositories
|
|
2220
|
+
*/
|
|
2221
|
+
200: Array<RegistryRepository>;
|
|
2222
|
+
};
|
|
2223
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
2224
|
+
export type ListTagsData = {
|
|
2225
|
+
body?: never;
|
|
2226
|
+
path: {
|
|
2227
|
+
/**
|
|
2228
|
+
* Region where the repository is located
|
|
2229
|
+
*/
|
|
2230
|
+
region: string;
|
|
2231
|
+
/**
|
|
2232
|
+
* Name of the repository
|
|
2233
|
+
*/
|
|
2234
|
+
repository: string;
|
|
2235
|
+
};
|
|
2236
|
+
query?: never;
|
|
2237
|
+
url: '/registry/{region}/{repository}';
|
|
2238
|
+
};
|
|
2239
|
+
export type ListTagsErrors = {
|
|
2240
|
+
/**
|
|
2241
|
+
* Not authenticated
|
|
2242
|
+
*/
|
|
2243
|
+
401: unknown;
|
|
2244
|
+
/**
|
|
2245
|
+
* Repository not found
|
|
2246
|
+
*/
|
|
2247
|
+
404: unknown;
|
|
2248
|
+
/**
|
|
2249
|
+
* Internal server error
|
|
2250
|
+
*/
|
|
2251
|
+
500: unknown;
|
|
2252
|
+
};
|
|
2253
|
+
export type ListTagsResponses = {
|
|
2254
|
+
/**
|
|
2255
|
+
* Repository with tags
|
|
2256
|
+
*/
|
|
2257
|
+
200: RegistryRepositoryWithTags;
|
|
2258
|
+
};
|
|
2259
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
2260
|
+
export type DeleteTagData = {
|
|
2261
|
+
body?: never;
|
|
2262
|
+
path: {
|
|
2263
|
+
/**
|
|
2264
|
+
* Region where the repository is located
|
|
2265
|
+
*/
|
|
2266
|
+
region: string;
|
|
2267
|
+
/**
|
|
2268
|
+
* Name of the repository
|
|
2269
|
+
*/
|
|
2270
|
+
repository: string;
|
|
2271
|
+
/**
|
|
2272
|
+
* Name of the tag
|
|
2273
|
+
*/
|
|
2274
|
+
tag: string;
|
|
2275
|
+
};
|
|
2276
|
+
query?: never;
|
|
2277
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2278
|
+
};
|
|
2279
|
+
export type DeleteTagErrors = {
|
|
2280
|
+
/**
|
|
2281
|
+
* Not authenticated
|
|
2282
|
+
*/
|
|
2283
|
+
401: unknown;
|
|
2284
|
+
/**
|
|
2285
|
+
* Tag not found
|
|
2286
|
+
*/
|
|
2287
|
+
404: unknown;
|
|
2288
|
+
/**
|
|
2289
|
+
* Internal server error
|
|
2290
|
+
*/
|
|
2291
|
+
500: unknown;
|
|
2292
|
+
};
|
|
2293
|
+
export type DeleteTagResponses = {
|
|
2294
|
+
/**
|
|
2295
|
+
* Tag successfully deleted
|
|
2296
|
+
*/
|
|
2297
|
+
200: unknown;
|
|
2298
|
+
};
|
|
2299
|
+
export type GetTagData = {
|
|
2300
|
+
body?: never;
|
|
2301
|
+
path: {
|
|
2302
|
+
/**
|
|
2303
|
+
* Region where the repository is located
|
|
2304
|
+
*/
|
|
2305
|
+
region: string;
|
|
2306
|
+
/**
|
|
2307
|
+
* Name of the repository
|
|
2308
|
+
*/
|
|
2309
|
+
repository: string;
|
|
2310
|
+
/**
|
|
2311
|
+
* Name of the tag
|
|
2312
|
+
*/
|
|
2313
|
+
tag: string;
|
|
2314
|
+
};
|
|
2315
|
+
query?: never;
|
|
2316
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2317
|
+
};
|
|
2318
|
+
export type GetTagErrors = {
|
|
2319
|
+
/**
|
|
2320
|
+
* Not authenticated
|
|
2321
|
+
*/
|
|
2322
|
+
401: unknown;
|
|
2323
|
+
/**
|
|
2324
|
+
* Tag not found
|
|
2325
|
+
*/
|
|
2326
|
+
404: unknown;
|
|
2327
|
+
/**
|
|
2328
|
+
* Internal server error
|
|
2329
|
+
*/
|
|
2330
|
+
500: unknown;
|
|
2331
|
+
};
|
|
2332
|
+
export type GetTagResponses = {
|
|
2333
|
+
/**
|
|
2334
|
+
* Tag details
|
|
2335
|
+
*/
|
|
2336
|
+
200: RegistryTag;
|
|
2337
|
+
};
|
|
2338
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2339
|
+
export type ListTicketsData = {
|
|
2340
|
+
body?: never;
|
|
2341
|
+
path?: never;
|
|
2342
|
+
query?: never;
|
|
2343
|
+
url: '/tickets';
|
|
2344
|
+
};
|
|
2345
|
+
export type ListTicketsResponses = {
|
|
2346
|
+
/**
|
|
2347
|
+
* Tickets for the organization.
|
|
2348
|
+
*/
|
|
2349
|
+
200: TicketListResponse;
|
|
2350
|
+
};
|
|
2351
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
2352
|
+
export type CreateTicketData = {
|
|
2353
|
+
body: {
|
|
2354
|
+
/**
|
|
2355
|
+
* JSON-encoded TicketCreateInput.
|
|
2356
|
+
*/
|
|
2357
|
+
payload?: string;
|
|
2358
|
+
attachments?: Array<Blob | File>;
|
|
2359
|
+
};
|
|
2360
|
+
path?: never;
|
|
2361
|
+
query?: never;
|
|
2362
|
+
url: '/tickets';
|
|
2363
|
+
};
|
|
2364
|
+
export type CreateTicketResponses = {
|
|
2365
|
+
/**
|
|
2366
|
+
* Ticket created.
|
|
2367
|
+
*/
|
|
2368
|
+
200: Ticket;
|
|
2369
|
+
};
|
|
2370
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
2371
|
+
export type CloseTicketData = {
|
|
2372
|
+
body?: never;
|
|
2373
|
+
path: {
|
|
2374
|
+
ticket_id: string;
|
|
2375
|
+
};
|
|
2376
|
+
query?: never;
|
|
2377
|
+
url: '/tickets/{ticket_id}';
|
|
2378
|
+
};
|
|
2379
|
+
export type CloseTicketResponses = {
|
|
2380
|
+
/**
|
|
2381
|
+
* Ticket closed.
|
|
2382
|
+
*/
|
|
2383
|
+
200: Ticket;
|
|
2384
|
+
};
|
|
2385
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
2386
|
+
export type GetTicketData = {
|
|
2387
|
+
body?: never;
|
|
2388
|
+
path: {
|
|
2389
|
+
ticket_id: string;
|
|
2390
|
+
};
|
|
2391
|
+
query?: never;
|
|
2392
|
+
url: '/tickets/{ticket_id}';
|
|
2393
|
+
};
|
|
2394
|
+
export type GetTicketResponses = {
|
|
2395
|
+
/**
|
|
2396
|
+
* Ticket with messages (internal notes excluded).
|
|
2397
|
+
*/
|
|
2398
|
+
200: Ticket;
|
|
2399
|
+
};
|
|
2400
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
2401
|
+
export type ReplyTicketData = {
|
|
2402
|
+
body: {
|
|
2403
|
+
/**
|
|
2404
|
+
* JSON-encoded TicketMessageInput.
|
|
2405
|
+
*/
|
|
2406
|
+
payload?: string;
|
|
2407
|
+
attachments?: Array<Blob | File>;
|
|
2408
|
+
};
|
|
2409
|
+
path: {
|
|
2410
|
+
ticket_id: string;
|
|
2411
|
+
};
|
|
2412
|
+
query?: never;
|
|
2413
|
+
url: '/tickets/{ticket_id}/messages';
|
|
2414
|
+
};
|
|
2415
|
+
export type ReplyTicketErrors = {
|
|
2416
|
+
/**
|
|
2417
|
+
* Ticket is closed. Open a new ticket instead.
|
|
2418
|
+
*/
|
|
2419
|
+
409: unknown;
|
|
2420
|
+
};
|
|
2421
|
+
export type ReplyTicketResponses = {
|
|
2422
|
+
/**
|
|
2423
|
+
* Reply appended.
|
|
2424
|
+
*/
|
|
2425
|
+
200: TicketMessage;
|
|
2426
|
+
};
|
|
2427
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
2428
|
+
export type GetTicketAttachmentData = {
|
|
2429
|
+
body?: never;
|
|
2430
|
+
path: {
|
|
2431
|
+
ticket_id: string;
|
|
2432
|
+
attachment_id: string;
|
|
2433
|
+
};
|
|
2434
|
+
query?: never;
|
|
2435
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
2436
|
+
};
|
|
2437
|
+
export type GetTicketAttachmentResponses = {
|
|
2438
|
+
/**
|
|
2439
|
+
* Attachment binary stream.
|
|
2440
|
+
*/
|
|
2441
|
+
200: Blob | File;
|
|
1837
2442
|
};
|
|
1838
|
-
export type
|
|
2443
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1839
2444
|
export type ListTokensData = {
|
|
1840
2445
|
body?: never;
|
|
1841
2446
|
path?: never;
|
|
@@ -2092,53 +2697,4 @@ export type UpdateUserResponses = {
|
|
|
2092
2697
|
200: User;
|
|
2093
2698
|
};
|
|
2094
2699
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
2095
|
-
export type DeleteClusterPermissionsData = {
|
|
2096
|
-
body?: never;
|
|
2097
|
-
path: {
|
|
2098
|
-
/**
|
|
2099
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2100
|
-
*/
|
|
2101
|
-
user_id: string;
|
|
2102
|
-
/**
|
|
2103
|
-
* Unique cluster identifier. UUID v4 string in canonical form
|
|
2104
|
-
*/
|
|
2105
|
-
cluster_id: string;
|
|
2106
|
-
};
|
|
2107
|
-
query?: never;
|
|
2108
|
-
url: '/users/{user_id}/clusters/{cluster_id}';
|
|
2109
|
-
};
|
|
2110
|
-
export type DeleteClusterPermissionsResponses = {
|
|
2111
|
-
/**
|
|
2112
|
-
* Successfully removed user from the cluster. Returns updated user details.
|
|
2113
|
-
*/
|
|
2114
|
-
200: User;
|
|
2115
|
-
};
|
|
2116
|
-
export type DeleteClusterPermissionsResponse = DeleteClusterPermissionsResponses[keyof DeleteClusterPermissionsResponses];
|
|
2117
|
-
export type SetClusterPermissionsData = {
|
|
2118
|
-
body: {
|
|
2119
|
-
/**
|
|
2120
|
-
* Level of permissions for the user to access the cluster
|
|
2121
|
-
*/
|
|
2122
|
-
permissions?: 'readwrite' | 'readonly';
|
|
2123
|
-
};
|
|
2124
|
-
path: {
|
|
2125
|
-
/**
|
|
2126
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2127
|
-
*/
|
|
2128
|
-
user_id: string;
|
|
2129
|
-
/**
|
|
2130
|
-
* Unique cluster identifier. UUID v4 string in canonical form
|
|
2131
|
-
*/
|
|
2132
|
-
cluster_id: string;
|
|
2133
|
-
};
|
|
2134
|
-
query?: never;
|
|
2135
|
-
url: '/users/{user_id}/clusters/{cluster_id}';
|
|
2136
|
-
};
|
|
2137
|
-
export type SetClusterPermissionsResponses = {
|
|
2138
|
-
/**
|
|
2139
|
-
* Successfully created. Returns created user details.
|
|
2140
|
-
*/
|
|
2141
|
-
200: User;
|
|
2142
|
-
};
|
|
2143
|
-
export type SetClusterPermissionsResponse = SetClusterPermissionsResponses[keyof SetClusterPermissionsResponses];
|
|
2144
2700
|
//# sourceMappingURL=types.gen.d.ts.map
|