@cloudfleet/sdk 0.0.1-1fe7a9b → 0.0.1-200be61
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 +1125 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1129 -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 +1364 -1058
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +1949 -1132
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +258 -142
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +342 -223
- 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 +1319 -964
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +2010 -2736
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +830 -897
- package/dist/zod.gen.js.map +1 -1
- package/package.json +31 -5
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,20 +1,181 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
3
|
+
};
|
|
4
|
+
export type BillingContact = {
|
|
2
5
|
/**
|
|
3
|
-
* Name of the
|
|
6
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
7
|
+
*/
|
|
8
|
+
company?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Street address, P.O. box, c/o
|
|
11
|
+
*/
|
|
12
|
+
address1?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Apartment, suite, unit, building, floor, etc.
|
|
15
|
+
*/
|
|
16
|
+
address2?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Postal code as a string.
|
|
19
|
+
*/
|
|
20
|
+
postalCode?: string;
|
|
21
|
+
/**
|
|
22
|
+
* City or town name.
|
|
23
|
+
*/
|
|
24
|
+
city?: string;
|
|
25
|
+
/**
|
|
26
|
+
* State, province, or region name.
|
|
27
|
+
*/
|
|
28
|
+
state?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Country as a ISO 3166-1 alpha-2 country code.
|
|
31
|
+
*/
|
|
32
|
+
country?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Phone number as a string.
|
|
35
|
+
*/
|
|
36
|
+
phone?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Email address used for billing as a string.
|
|
39
|
+
*/
|
|
40
|
+
email: string;
|
|
41
|
+
/**
|
|
42
|
+
* Name of the billing contact person.
|
|
43
|
+
*/
|
|
44
|
+
individual_name: string;
|
|
45
|
+
/**
|
|
46
|
+
* Tax ID of the organization.
|
|
47
|
+
*/
|
|
48
|
+
tax_id?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Type of the tax ID.
|
|
51
|
+
*/
|
|
52
|
+
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' | '';
|
|
53
|
+
};
|
|
54
|
+
export type BillingCredits = {
|
|
55
|
+
/**
|
|
56
|
+
* Generated unique identifier of the promotional code.
|
|
57
|
+
*/
|
|
58
|
+
id?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Type of the promotional code.
|
|
61
|
+
*/
|
|
62
|
+
type: 'credit' | 'discount';
|
|
63
|
+
/**
|
|
64
|
+
* Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
|
|
65
|
+
*/
|
|
66
|
+
date_start: string;
|
|
67
|
+
/**
|
|
68
|
+
* Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
|
|
69
|
+
*/
|
|
70
|
+
date_end?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Promotional code used by the customer.
|
|
73
|
+
*/
|
|
74
|
+
code: string;
|
|
75
|
+
/**
|
|
76
|
+
* Description of the promotional code.
|
|
77
|
+
*/
|
|
78
|
+
description?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Total value of the promotional code.
|
|
81
|
+
*/
|
|
82
|
+
value_total: number;
|
|
83
|
+
/**
|
|
84
|
+
* Remaining value of the promotional code.
|
|
85
|
+
*/
|
|
86
|
+
value_remaining?: number;
|
|
87
|
+
};
|
|
88
|
+
export type ChartCreateInput = {
|
|
89
|
+
/**
|
|
90
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
91
|
+
*/
|
|
92
|
+
values: string;
|
|
93
|
+
/**
|
|
94
|
+
* Desired version range or channel for the chart.
|
|
95
|
+
*/
|
|
96
|
+
version_channel: string;
|
|
97
|
+
/**
|
|
98
|
+
* Unique identifier of the chart deployment aka name of the helm release.
|
|
99
|
+
*/
|
|
100
|
+
name: string;
|
|
101
|
+
/**
|
|
102
|
+
* Namespace of the chart deployment
|
|
103
|
+
*/
|
|
104
|
+
namespace: string;
|
|
105
|
+
/**
|
|
106
|
+
* Name of the chart listing
|
|
107
|
+
*/
|
|
108
|
+
chart: string;
|
|
109
|
+
};
|
|
110
|
+
export type Chart = {
|
|
111
|
+
/**
|
|
112
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
113
|
+
*/
|
|
114
|
+
values: string;
|
|
115
|
+
/**
|
|
116
|
+
* Desired version range or channel for the chart.
|
|
117
|
+
*/
|
|
118
|
+
version_channel: string;
|
|
119
|
+
/**
|
|
120
|
+
* Unique identifier of the chart deployment aka name of the helm release.
|
|
4
121
|
*/
|
|
5
122
|
name: string;
|
|
6
123
|
/**
|
|
7
|
-
*
|
|
124
|
+
* Namespace of the chart deployment
|
|
125
|
+
*/
|
|
126
|
+
namespace: string;
|
|
127
|
+
/**
|
|
128
|
+
* Name of the chart listing
|
|
129
|
+
*/
|
|
130
|
+
chart: string;
|
|
131
|
+
/**
|
|
132
|
+
* Status of the chart deployment.
|
|
133
|
+
*/
|
|
134
|
+
status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing' | 'SourceNotReady';
|
|
135
|
+
/**
|
|
136
|
+
* Current version of the chart deployment.
|
|
137
|
+
*/
|
|
138
|
+
version_current: string;
|
|
139
|
+
/**
|
|
140
|
+
* Creation date and time of the chart deployment.
|
|
141
|
+
*/
|
|
142
|
+
created_at: string;
|
|
143
|
+
/**
|
|
144
|
+
* Last update date and time of the chart deployment.
|
|
145
|
+
*/
|
|
146
|
+
updated_at: string;
|
|
147
|
+
/**
|
|
148
|
+
* Indicates if the chart deployment is ready to be used.
|
|
149
|
+
*/
|
|
150
|
+
ready: boolean;
|
|
151
|
+
};
|
|
152
|
+
export type ChartUpdateInput = {
|
|
153
|
+
/**
|
|
154
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
155
|
+
*/
|
|
156
|
+
values: string;
|
|
157
|
+
/**
|
|
158
|
+
* Desired version range or channel for the chart.
|
|
159
|
+
*/
|
|
160
|
+
version_channel: string;
|
|
161
|
+
};
|
|
162
|
+
export type ClusterCreateInput = {
|
|
163
|
+
/**
|
|
164
|
+
* Name of the cluster.
|
|
8
165
|
*/
|
|
9
|
-
|
|
166
|
+
name: string;
|
|
10
167
|
/**
|
|
11
168
|
* Tier of the cluster.
|
|
12
169
|
*/
|
|
13
170
|
tier: 'basic' | 'pro';
|
|
171
|
+
/**
|
|
172
|
+
* 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.
|
|
173
|
+
*/
|
|
174
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
14
175
|
/**
|
|
15
176
|
* Version of the kubernetes cluster.
|
|
16
177
|
*/
|
|
17
|
-
version_channel?:
|
|
178
|
+
version_channel?: '1.x.x-cfke.x' | '1.31.x-cfke.x' | '1.32.x-cfke.x' | '1.33.x-cfke.x';
|
|
18
179
|
};
|
|
19
180
|
export type ClusterJoinInformation = {
|
|
20
181
|
/**
|
|
@@ -25,6 +186,10 @@ export type ClusterJoinInformation = {
|
|
|
25
186
|
* Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
|
|
26
187
|
*/
|
|
27
188
|
endpoint: string;
|
|
189
|
+
/**
|
|
190
|
+
* Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
|
|
191
|
+
*/
|
|
192
|
+
cluster_dns: string;
|
|
28
193
|
/**
|
|
29
194
|
* Authentication key for the cluster.
|
|
30
195
|
*/
|
|
@@ -49,6 +214,10 @@ export type ClusterJoinInformation = {
|
|
|
49
214
|
* Containerd version of the cluster.
|
|
50
215
|
*/
|
|
51
216
|
containerd: string;
|
|
217
|
+
/**
|
|
218
|
+
* NVIDIA driver version of the cluster.
|
|
219
|
+
*/
|
|
220
|
+
nvidia_driver: string;
|
|
52
221
|
};
|
|
53
222
|
/**
|
|
54
223
|
* OIDC Information for hosts to access to third party API's.
|
|
@@ -73,18 +242,14 @@ export type Cluster = {
|
|
|
73
242
|
* Name of the cluster.
|
|
74
243
|
*/
|
|
75
244
|
name: string;
|
|
76
|
-
/**
|
|
77
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
|
|
78
|
-
*/
|
|
79
|
-
region?: 'staging' | 'northamerica-central-1';
|
|
80
245
|
/**
|
|
81
246
|
* Tier of the cluster.
|
|
82
247
|
*/
|
|
83
248
|
tier: 'basic' | 'pro';
|
|
84
249
|
/**
|
|
85
|
-
*
|
|
250
|
+
* 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.
|
|
86
251
|
*/
|
|
87
|
-
|
|
252
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
88
253
|
/**
|
|
89
254
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
90
255
|
*/
|
|
@@ -92,8 +257,9 @@ export type Cluster = {
|
|
|
92
257
|
/**
|
|
93
258
|
* Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
|
|
94
259
|
*/
|
|
95
|
-
status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
260
|
+
status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
96
261
|
endpoint?: string | '';
|
|
262
|
+
endpoint_public?: string | '';
|
|
97
263
|
/**
|
|
98
264
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
99
265
|
*/
|
|
@@ -114,12 +280,20 @@ export type Cluster = {
|
|
|
114
280
|
* Indicates if the cluster is ready to be used.
|
|
115
281
|
*/
|
|
116
282
|
ready?: boolean;
|
|
283
|
+
/**
|
|
284
|
+
* Version of the kubernetes cluster.
|
|
285
|
+
*/
|
|
286
|
+
version_channel?: string;
|
|
117
287
|
};
|
|
118
288
|
export type ClusterUpdateInput = {
|
|
119
289
|
/**
|
|
120
290
|
* Name of the cluster.
|
|
121
291
|
*/
|
|
122
292
|
name?: string;
|
|
293
|
+
/**
|
|
294
|
+
* Tier of the cluster.
|
|
295
|
+
*/
|
|
296
|
+
tier: 'basic' | 'pro';
|
|
123
297
|
/**
|
|
124
298
|
* Version of the kubernetes cluster.
|
|
125
299
|
*/
|
|
@@ -144,10 +318,10 @@ export type FleetCreateInput = {
|
|
|
144
318
|
};
|
|
145
319
|
hetzner?: {
|
|
146
320
|
enabled?: boolean;
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
321
|
+
/**
|
|
322
|
+
* Hetzner Cloud API key with read / write access
|
|
323
|
+
*/
|
|
324
|
+
apiKey: string;
|
|
151
325
|
};
|
|
152
326
|
aws?: {
|
|
153
327
|
enabled?: boolean;
|
|
@@ -160,10 +334,6 @@ export type FleetCreateInput = {
|
|
|
160
334
|
* Unique identifier of the kubernetes fleet.
|
|
161
335
|
*/
|
|
162
336
|
id: string;
|
|
163
|
-
/**
|
|
164
|
-
* Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
|
|
165
|
-
*/
|
|
166
|
-
type: 'managed' | 'connected';
|
|
167
337
|
};
|
|
168
338
|
export type Fleet = {
|
|
169
339
|
/**
|
|
@@ -184,10 +354,10 @@ export type Fleet = {
|
|
|
184
354
|
};
|
|
185
355
|
hetzner?: {
|
|
186
356
|
enabled?: boolean;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
357
|
+
/**
|
|
358
|
+
* Hetzner Cloud API key with read / write access
|
|
359
|
+
*/
|
|
360
|
+
apiKey: string;
|
|
191
361
|
};
|
|
192
362
|
aws?: {
|
|
193
363
|
enabled?: boolean;
|
|
@@ -200,10 +370,6 @@ export type Fleet = {
|
|
|
200
370
|
* Unique identifier of the kubernetes fleet.
|
|
201
371
|
*/
|
|
202
372
|
id: string;
|
|
203
|
-
/**
|
|
204
|
-
* Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
|
|
205
|
-
*/
|
|
206
|
-
type: 'managed' | 'connected';
|
|
207
373
|
};
|
|
208
374
|
export type FleetUpdateInput = {
|
|
209
375
|
/**
|
|
@@ -224,10 +390,10 @@ export type FleetUpdateInput = {
|
|
|
224
390
|
};
|
|
225
391
|
hetzner?: {
|
|
226
392
|
enabled?: boolean;
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
393
|
+
/**
|
|
394
|
+
* Hetzner Cloud API key with read / write access
|
|
395
|
+
*/
|
|
396
|
+
apiKey: string;
|
|
231
397
|
};
|
|
232
398
|
aws?: {
|
|
233
399
|
enabled?: boolean;
|
|
@@ -237,178 +403,6 @@ export type FleetUpdateInput = {
|
|
|
237
403
|
controllerRoleArn: string;
|
|
238
404
|
};
|
|
239
405
|
};
|
|
240
|
-
export type InfrastructureFilter = {
|
|
241
|
-
/**
|
|
242
|
-
* Version of the infrastructure filter definition. Currently only version 1 is supported.
|
|
243
|
-
*/
|
|
244
|
-
version?: 1;
|
|
245
|
-
/**
|
|
246
|
-
* Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
247
|
-
*/
|
|
248
|
-
provider?: Array<string>;
|
|
249
|
-
/**
|
|
250
|
-
* 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/)
|
|
251
|
-
*/
|
|
252
|
-
region?: Array<string>;
|
|
253
|
-
/**
|
|
254
|
-
* 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/)
|
|
255
|
-
*/
|
|
256
|
-
sub_region?: Array<string>;
|
|
257
|
-
/**
|
|
258
|
-
* Limits selection of cloud regions to this list of canonical provider regions
|
|
259
|
-
*/
|
|
260
|
-
csp_region?: Array<string>;
|
|
261
|
-
/**
|
|
262
|
-
* Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
|
|
263
|
-
*/
|
|
264
|
-
instance_type?: Array<string>;
|
|
265
|
-
/**
|
|
266
|
-
* 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
|
|
267
|
-
*/
|
|
268
|
-
accelerator_name?: Array<string>;
|
|
269
|
-
/**
|
|
270
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
271
|
-
*/
|
|
272
|
-
accelerator_manufacturer?: Array<string>;
|
|
273
|
-
/**
|
|
274
|
-
* 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.
|
|
275
|
-
*/
|
|
276
|
-
accelerator_count_min?: number;
|
|
277
|
-
/**
|
|
278
|
-
* 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.
|
|
279
|
-
*/
|
|
280
|
-
accelerator_count_max?: number;
|
|
281
|
-
/**
|
|
282
|
-
* 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
|
|
283
|
-
*/
|
|
284
|
-
accelerator_memory_min?: number;
|
|
285
|
-
/**
|
|
286
|
-
* 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
|
|
287
|
-
*/
|
|
288
|
-
accelerator_memory_max?: number;
|
|
289
|
-
/**
|
|
290
|
-
* Minimum amount of RAM in gibibytes (GiB)
|
|
291
|
-
*/
|
|
292
|
-
memory_min?: number;
|
|
293
|
-
/**
|
|
294
|
-
* Maximum amount of RAM in gibibytes (GiB)
|
|
295
|
-
*/
|
|
296
|
-
memory_max?: number;
|
|
297
|
-
/**
|
|
298
|
-
* 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.
|
|
299
|
-
*/
|
|
300
|
-
vcpu_min?: number;
|
|
301
|
-
/**
|
|
302
|
-
* 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.
|
|
303
|
-
*/
|
|
304
|
-
vcpu_max?: number;
|
|
305
|
-
/**
|
|
306
|
-
* Minimum total storage in GiB (attached and local)
|
|
307
|
-
*/
|
|
308
|
-
storage_total_min?: number;
|
|
309
|
-
/**
|
|
310
|
-
* Maximum total storage in GiB (attached and local)
|
|
311
|
-
*/
|
|
312
|
-
storage_total_max?: number;
|
|
313
|
-
/**
|
|
314
|
-
* Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
315
|
-
*/
|
|
316
|
-
storage_local_min?: number;
|
|
317
|
-
/**
|
|
318
|
-
* Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
319
|
-
*/
|
|
320
|
-
storage_local_max?: number;
|
|
321
|
-
/**
|
|
322
|
-
* Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
323
|
-
*/
|
|
324
|
-
price_min?: number;
|
|
325
|
-
/**
|
|
326
|
-
* Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
327
|
-
*/
|
|
328
|
-
price_max?: number;
|
|
329
|
-
};
|
|
330
|
-
export type InfrastructureInstance = {
|
|
331
|
-
/**
|
|
332
|
-
* Cloudfleet instance SKU. Has a format of <provider>-<csp_region>-<instance_type>.
|
|
333
|
-
*/
|
|
334
|
-
sku: string;
|
|
335
|
-
/**
|
|
336
|
-
* Normalized cloud service provider name. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
337
|
-
*/
|
|
338
|
-
provider: string;
|
|
339
|
-
/**
|
|
340
|
-
* Normalized region. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
341
|
-
*/
|
|
342
|
-
region: string;
|
|
343
|
-
/**
|
|
344
|
-
* Normalized sub-region. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
345
|
-
*/
|
|
346
|
-
sub_region: string;
|
|
347
|
-
/**
|
|
348
|
-
* Region as defined by the cloud service provider
|
|
349
|
-
*/
|
|
350
|
-
csp_region: string;
|
|
351
|
-
/**
|
|
352
|
-
* Availability zone as defined by the cloud service provider
|
|
353
|
-
*/
|
|
354
|
-
csp_zone: string;
|
|
355
|
-
/**
|
|
356
|
-
* Instance / VM type as defined by the cloud service provider
|
|
357
|
-
*/
|
|
358
|
-
instance_type: string;
|
|
359
|
-
/**
|
|
360
|
-
* Instance CPU architecture
|
|
361
|
-
*/
|
|
362
|
-
architecture: string;
|
|
363
|
-
/**
|
|
364
|
-
* Instance operating system
|
|
365
|
-
*/
|
|
366
|
-
os: string;
|
|
367
|
-
/**
|
|
368
|
-
* CPU count 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.
|
|
369
|
-
*/
|
|
370
|
-
vcpu: number;
|
|
371
|
-
/**
|
|
372
|
-
* Total amount of RAM in gibibytes (GiB)
|
|
373
|
-
*/
|
|
374
|
-
memory: number;
|
|
375
|
-
/**
|
|
376
|
-
* Volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
377
|
-
*/
|
|
378
|
-
local_storage: number;
|
|
379
|
-
/**
|
|
380
|
-
* Normalized model name of accelerator. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field
|
|
381
|
-
*/
|
|
382
|
-
accelerator_name?: string;
|
|
383
|
-
/**
|
|
384
|
-
* Normalized manufacturer name of accelerator. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
385
|
-
*/
|
|
386
|
-
accelerator_manufacturer?: string;
|
|
387
|
-
/**
|
|
388
|
-
* 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.
|
|
389
|
-
*/
|
|
390
|
-
accelerator_count?: number;
|
|
391
|
-
/**
|
|
392
|
-
* Ammount 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
|
|
393
|
-
*/
|
|
394
|
-
accelerator_memory?: number;
|
|
395
|
-
/**
|
|
396
|
-
* Maximum number of pods that can be run on this instance type.
|
|
397
|
-
*/
|
|
398
|
-
pods_capacity?: number;
|
|
399
|
-
/**
|
|
400
|
-
* Capacity type of the instance. E.g. `on-demand`, `spot`.
|
|
401
|
-
*/
|
|
402
|
-
capacity_type?: string;
|
|
403
|
-
/**
|
|
404
|
-
* Price of running the inctance per hour in USD as defined by the cloud service provider
|
|
405
|
-
*/
|
|
406
|
-
price: number;
|
|
407
|
-
/**
|
|
408
|
-
* Whether this instance type is available.
|
|
409
|
-
*/
|
|
410
|
-
available?: boolean;
|
|
411
|
-
};
|
|
412
406
|
export type Invite = {
|
|
413
407
|
/**
|
|
414
408
|
* Unique identifier of the invitation.
|
|
@@ -433,530 +427,688 @@ export type Invite = {
|
|
|
433
427
|
};
|
|
434
428
|
export type Invoice = {
|
|
435
429
|
/**
|
|
436
|
-
* Unique identifier of the invoice.
|
|
430
|
+
* Unique identifier of the invoice.
|
|
437
431
|
*/
|
|
438
432
|
id?: string;
|
|
439
|
-
|
|
440
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
441
|
-
*/
|
|
442
|
-
organizationId?: string;
|
|
433
|
+
number?: string;
|
|
443
434
|
/**
|
|
444
435
|
* Status of the invoice
|
|
445
436
|
*/
|
|
446
|
-
status?:
|
|
437
|
+
status?: string;
|
|
447
438
|
/**
|
|
448
439
|
* Total amount of the invoice
|
|
449
440
|
*/
|
|
450
|
-
|
|
441
|
+
total?: number;
|
|
451
442
|
/**
|
|
452
443
|
* Currency of the invoice
|
|
453
444
|
*/
|
|
454
|
-
currency?:
|
|
445
|
+
currency?: string;
|
|
455
446
|
/**
|
|
456
|
-
*
|
|
447
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
457
448
|
*/
|
|
458
|
-
|
|
449
|
+
created: string;
|
|
459
450
|
/**
|
|
460
|
-
*
|
|
451
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
461
452
|
*/
|
|
462
|
-
|
|
453
|
+
period_start: string;
|
|
463
454
|
/**
|
|
464
|
-
*
|
|
455
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
465
456
|
*/
|
|
466
|
-
|
|
457
|
+
period_end: string;
|
|
458
|
+
invoice_pdf?: string;
|
|
459
|
+
};
|
|
460
|
+
export type MarketplaceListingFiles = {
|
|
467
461
|
/**
|
|
468
|
-
*
|
|
462
|
+
* Raw Chart.yaml content from the Helm chart
|
|
469
463
|
*/
|
|
470
|
-
|
|
464
|
+
chartYaml?: string;
|
|
471
465
|
/**
|
|
472
|
-
*
|
|
466
|
+
* Raw values.yaml content from the Helm chart
|
|
473
467
|
*/
|
|
474
|
-
|
|
468
|
+
valuesYaml?: string;
|
|
475
469
|
/**
|
|
476
|
-
*
|
|
470
|
+
* JSON schema for values.yaml as a string
|
|
477
471
|
*/
|
|
478
|
-
|
|
472
|
+
valuesSchemaJson?: string;
|
|
473
|
+
};
|
|
474
|
+
export type MarketplaceListing = {
|
|
479
475
|
/**
|
|
480
|
-
*
|
|
476
|
+
* Name of the chart
|
|
481
477
|
*/
|
|
482
|
-
|
|
478
|
+
name: string;
|
|
483
479
|
/**
|
|
484
|
-
*
|
|
480
|
+
* Available versions of the chart
|
|
485
481
|
*/
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
/**
|
|
500
|
-
* Name of the plan
|
|
501
|
-
*/
|
|
502
|
-
planName?: string;
|
|
503
|
-
/**
|
|
504
|
-
* Name of the phase
|
|
505
|
-
*/
|
|
506
|
-
phaseName?: string;
|
|
507
|
-
/**
|
|
508
|
-
* Name of the usage
|
|
509
|
-
*/
|
|
510
|
-
usageName?: string;
|
|
511
|
-
/**
|
|
512
|
-
* Pretty name of the product
|
|
513
|
-
*/
|
|
514
|
-
prettyProductName?: string;
|
|
515
|
-
/**
|
|
516
|
-
* Pretty name of the plan
|
|
517
|
-
*/
|
|
518
|
-
prettyPlanName?: string;
|
|
519
|
-
/**
|
|
520
|
-
* Pretty name of the phase
|
|
521
|
-
*/
|
|
522
|
-
prettyPhaseName?: string;
|
|
482
|
+
versions: Array<string>;
|
|
483
|
+
/**
|
|
484
|
+
* Version channels for the chart
|
|
485
|
+
*/
|
|
486
|
+
version_channels: Array<string>;
|
|
487
|
+
/**
|
|
488
|
+
* Latest version of the chart
|
|
489
|
+
*/
|
|
490
|
+
latestVersion: string;
|
|
491
|
+
/**
|
|
492
|
+
* Chart metadata
|
|
493
|
+
*/
|
|
494
|
+
metadata?: {
|
|
523
495
|
/**
|
|
524
|
-
*
|
|
496
|
+
* Chart name from metadata
|
|
525
497
|
*/
|
|
526
|
-
|
|
498
|
+
name: string;
|
|
527
499
|
/**
|
|
528
|
-
*
|
|
500
|
+
* Chart version from metadata
|
|
529
501
|
*/
|
|
530
|
-
|
|
502
|
+
version: string;
|
|
531
503
|
/**
|
|
532
|
-
*
|
|
504
|
+
* Chart description
|
|
533
505
|
*/
|
|
534
506
|
description?: string;
|
|
535
507
|
/**
|
|
536
|
-
*
|
|
537
|
-
*/
|
|
538
|
-
startDate?: string;
|
|
539
|
-
/**
|
|
540
|
-
* End date of the invoice item
|
|
508
|
+
* Application version
|
|
541
509
|
*/
|
|
542
|
-
|
|
510
|
+
appVersion?: string;
|
|
543
511
|
/**
|
|
544
|
-
*
|
|
512
|
+
* Helm API version
|
|
545
513
|
*/
|
|
546
|
-
|
|
514
|
+
apiVersion?: string;
|
|
547
515
|
/**
|
|
548
|
-
*
|
|
516
|
+
* Chart keywords
|
|
549
517
|
*/
|
|
550
|
-
|
|
518
|
+
keywords?: Array<string>;
|
|
551
519
|
/**
|
|
552
|
-
*
|
|
520
|
+
* Chart home URL
|
|
553
521
|
*/
|
|
554
|
-
|
|
522
|
+
home?: string;
|
|
555
523
|
/**
|
|
556
|
-
*
|
|
524
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
557
525
|
*/
|
|
558
|
-
|
|
526
|
+
icon?: string;
|
|
559
527
|
/**
|
|
560
|
-
*
|
|
528
|
+
* Chart source URLs
|
|
561
529
|
*/
|
|
562
|
-
|
|
530
|
+
sources?: Array<string>;
|
|
563
531
|
/**
|
|
564
|
-
*
|
|
532
|
+
* Chart maintainers
|
|
565
533
|
*/
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
534
|
+
maintainers?: Array<{
|
|
535
|
+
/**
|
|
536
|
+
* Maintainer name
|
|
537
|
+
*/
|
|
538
|
+
name: string;
|
|
539
|
+
/**
|
|
540
|
+
* Maintainer email
|
|
541
|
+
*/
|
|
542
|
+
email?: string;
|
|
543
|
+
}>;
|
|
544
|
+
};
|
|
545
|
+
};
|
|
546
|
+
export type OrganizationCreateInput = {
|
|
574
547
|
/**
|
|
575
|
-
*
|
|
548
|
+
* Email address used for billing as a string.
|
|
576
549
|
*/
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
*/
|
|
613
|
-
prettyPhaseName?: string;
|
|
614
|
-
/**
|
|
615
|
-
* Pretty name of the usage
|
|
616
|
-
*/
|
|
617
|
-
prettyUsageName?: string;
|
|
618
|
-
/**
|
|
619
|
-
* Type of the invoice item
|
|
620
|
-
*/
|
|
621
|
-
itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
|
|
622
|
-
/**
|
|
623
|
-
* Description of the invoice item
|
|
624
|
-
*/
|
|
625
|
-
description?: string;
|
|
550
|
+
email: string;
|
|
551
|
+
/**
|
|
552
|
+
* First name of the billing contact person.
|
|
553
|
+
*/
|
|
554
|
+
first_name: string;
|
|
555
|
+
/**
|
|
556
|
+
* Last name of the billing contact person.
|
|
557
|
+
*/
|
|
558
|
+
last_name: string;
|
|
559
|
+
/**
|
|
560
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
561
|
+
*/
|
|
562
|
+
company_name: string;
|
|
563
|
+
/**
|
|
564
|
+
* 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.
|
|
565
|
+
*/
|
|
566
|
+
password: string;
|
|
567
|
+
};
|
|
568
|
+
export type Organization = {
|
|
569
|
+
/**
|
|
570
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
571
|
+
*/
|
|
572
|
+
id: string;
|
|
573
|
+
/**
|
|
574
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
575
|
+
*/
|
|
576
|
+
name?: string;
|
|
577
|
+
/**
|
|
578
|
+
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
579
|
+
*/
|
|
580
|
+
date_created: string;
|
|
581
|
+
/**
|
|
582
|
+
* 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.
|
|
583
|
+
*/
|
|
584
|
+
quota: {
|
|
626
585
|
/**
|
|
627
|
-
*
|
|
586
|
+
* Maximum number of Basic clusters that can be created.
|
|
628
587
|
*/
|
|
629
|
-
|
|
588
|
+
basic_clusters_max: number;
|
|
630
589
|
/**
|
|
631
|
-
*
|
|
590
|
+
* Available number of Basic clusters that can be created.
|
|
632
591
|
*/
|
|
633
|
-
|
|
592
|
+
basic_clusters_available: number;
|
|
634
593
|
/**
|
|
635
|
-
*
|
|
594
|
+
* Maximum number of Pro clusters that can be created.
|
|
636
595
|
*/
|
|
637
|
-
|
|
596
|
+
pro_clusters_max: number;
|
|
638
597
|
/**
|
|
639
|
-
*
|
|
598
|
+
* Available number of Pro clusters that can be created.
|
|
640
599
|
*/
|
|
641
|
-
|
|
600
|
+
pro_clusters_available: number;
|
|
642
601
|
/**
|
|
643
|
-
*
|
|
602
|
+
* Maximum number of fleets that can be created per cluster.
|
|
644
603
|
*/
|
|
645
|
-
|
|
604
|
+
fleets_max: number;
|
|
646
605
|
/**
|
|
647
|
-
*
|
|
606
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
648
607
|
*/
|
|
649
|
-
|
|
608
|
+
cluster_tiers: Array<string>;
|
|
650
609
|
/**
|
|
651
|
-
*
|
|
610
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
652
611
|
*/
|
|
653
|
-
|
|
612
|
+
regions: Array<string>;
|
|
654
613
|
/**
|
|
655
|
-
*
|
|
614
|
+
* List of CFKE control plane versions available for the organization.
|
|
656
615
|
*/
|
|
657
|
-
|
|
616
|
+
versions: Array<{
|
|
617
|
+
/**
|
|
618
|
+
* Id of the control plane version. Used in API calls.
|
|
619
|
+
*/
|
|
620
|
+
id: string;
|
|
621
|
+
/**
|
|
622
|
+
* Label of the control plane version. Used in frontent UI.
|
|
623
|
+
*/
|
|
624
|
+
label: string;
|
|
625
|
+
}>;
|
|
658
626
|
/**
|
|
659
|
-
*
|
|
627
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
660
628
|
*/
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
629
|
+
cfcr_storage_gb: number;
|
|
630
|
+
};
|
|
631
|
+
/**
|
|
632
|
+
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
633
|
+
*/
|
|
634
|
+
status: 'active' | 'closed' | 'suspended';
|
|
665
635
|
};
|
|
666
|
-
export type
|
|
636
|
+
export type PaymentMethod = {
|
|
667
637
|
/**
|
|
668
|
-
*
|
|
638
|
+
* Unique identifier of the organization. UUID v4 string in canonical form.
|
|
669
639
|
*/
|
|
670
|
-
|
|
640
|
+
id: string;
|
|
671
641
|
/**
|
|
672
|
-
*
|
|
642
|
+
* Whether organization payment method was set up and ready to use for payments.
|
|
673
643
|
*/
|
|
674
|
-
|
|
644
|
+
setup: boolean;
|
|
675
645
|
/**
|
|
676
|
-
*
|
|
646
|
+
* Payment method type type. Only `card` payments supported at the moment.
|
|
677
647
|
*/
|
|
678
|
-
|
|
648
|
+
type: 'card';
|
|
679
649
|
/**
|
|
680
|
-
*
|
|
650
|
+
* Last 4 digits of the payment card number.
|
|
681
651
|
*/
|
|
682
|
-
|
|
652
|
+
last4: string;
|
|
683
653
|
/**
|
|
684
|
-
*
|
|
654
|
+
* Two-digit number representing the card's expiration month.
|
|
685
655
|
*/
|
|
686
|
-
|
|
656
|
+
exp_month: number;
|
|
687
657
|
/**
|
|
688
|
-
*
|
|
658
|
+
* Four-digit number representing the card's expiration year.
|
|
689
659
|
*/
|
|
690
|
-
|
|
660
|
+
exp_year: number;
|
|
691
661
|
/**
|
|
692
|
-
*
|
|
662
|
+
* Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
693
663
|
*/
|
|
694
|
-
|
|
664
|
+
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
665
|
+
};
|
|
666
|
+
export type PlatformQuota = {
|
|
695
667
|
/**
|
|
696
|
-
*
|
|
668
|
+
* Maximum number of Basic clusters that can be created.
|
|
697
669
|
*/
|
|
698
|
-
|
|
670
|
+
basic_clusters_max: number;
|
|
699
671
|
/**
|
|
700
|
-
*
|
|
672
|
+
* Available number of Basic clusters that can be created.
|
|
701
673
|
*/
|
|
702
|
-
|
|
674
|
+
basic_clusters_available: number;
|
|
703
675
|
/**
|
|
704
|
-
*
|
|
676
|
+
* Maximum number of Pro clusters that can be created.
|
|
705
677
|
*/
|
|
706
|
-
|
|
707
|
-
};
|
|
708
|
-
export type OrganizationCreateInput = {
|
|
678
|
+
pro_clusters_max: number;
|
|
709
679
|
/**
|
|
710
|
-
*
|
|
680
|
+
* Available number of Pro clusters that can be created.
|
|
711
681
|
*/
|
|
712
|
-
|
|
682
|
+
pro_clusters_available: number;
|
|
713
683
|
/**
|
|
714
|
-
*
|
|
684
|
+
* Maximum number of fleets that can be created per cluster.
|
|
715
685
|
*/
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
/**
|
|
730
|
-
* City or town name.
|
|
731
|
-
*/
|
|
732
|
-
city?: string;
|
|
686
|
+
fleets_max: number;
|
|
687
|
+
/**
|
|
688
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
689
|
+
*/
|
|
690
|
+
cluster_tiers: Array<string>;
|
|
691
|
+
/**
|
|
692
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
693
|
+
*/
|
|
694
|
+
regions: Array<string>;
|
|
695
|
+
/**
|
|
696
|
+
* List of CFKE control plane versions available for the organization.
|
|
697
|
+
*/
|
|
698
|
+
versions: Array<{
|
|
733
699
|
/**
|
|
734
|
-
*
|
|
700
|
+
* Id of the control plane version. Used in API calls.
|
|
735
701
|
*/
|
|
736
|
-
|
|
702
|
+
id: string;
|
|
737
703
|
/**
|
|
738
|
-
*
|
|
704
|
+
* Label of the control plane version. Used in frontent UI.
|
|
739
705
|
*/
|
|
740
|
-
|
|
706
|
+
label: string;
|
|
707
|
+
}>;
|
|
708
|
+
/**
|
|
709
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
710
|
+
*/
|
|
711
|
+
cfcr_storage_gb: number;
|
|
712
|
+
};
|
|
713
|
+
export type RegistryRepository = {
|
|
714
|
+
/**
|
|
715
|
+
* Repository name.
|
|
716
|
+
*/
|
|
717
|
+
name: string;
|
|
718
|
+
/**
|
|
719
|
+
* Registry region.
|
|
720
|
+
*/
|
|
721
|
+
region: string;
|
|
722
|
+
/**
|
|
723
|
+
* Full URI of the repository.
|
|
724
|
+
*/
|
|
725
|
+
uri: string;
|
|
726
|
+
};
|
|
727
|
+
export type RegistryRepositoryWithTags = {
|
|
728
|
+
/**
|
|
729
|
+
* Repository name.
|
|
730
|
+
*/
|
|
731
|
+
name: string;
|
|
732
|
+
/**
|
|
733
|
+
* Registry region.
|
|
734
|
+
*/
|
|
735
|
+
region: string;
|
|
736
|
+
/**
|
|
737
|
+
* Full URI of the repository.
|
|
738
|
+
*/
|
|
739
|
+
uri: string;
|
|
740
|
+
/**
|
|
741
|
+
* Array of tags in the repository.
|
|
742
|
+
*/
|
|
743
|
+
tags: Array<{
|
|
741
744
|
/**
|
|
742
|
-
*
|
|
745
|
+
* Tag name.
|
|
743
746
|
*/
|
|
744
|
-
|
|
747
|
+
name: string;
|
|
745
748
|
/**
|
|
746
|
-
*
|
|
749
|
+
* Size of the tag in bytes.
|
|
747
750
|
*/
|
|
748
|
-
|
|
751
|
+
size: number;
|
|
749
752
|
/**
|
|
750
|
-
*
|
|
753
|
+
* Media type of the manifest.
|
|
751
754
|
*/
|
|
752
|
-
|
|
755
|
+
mediaType?: string;
|
|
753
756
|
/**
|
|
754
|
-
*
|
|
757
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
755
758
|
*/
|
|
756
|
-
|
|
757
|
-
}
|
|
759
|
+
platforms?: Array<string>;
|
|
760
|
+
}>;
|
|
758
761
|
/**
|
|
759
|
-
*
|
|
762
|
+
* Total size of all tags in the repository in bytes.
|
|
760
763
|
*/
|
|
761
|
-
|
|
764
|
+
totalSize: number;
|
|
762
765
|
};
|
|
763
|
-
export type
|
|
766
|
+
export type RegistryTag = {
|
|
764
767
|
/**
|
|
765
|
-
*
|
|
768
|
+
* Tag name.
|
|
766
769
|
*/
|
|
767
770
|
name: string;
|
|
768
771
|
/**
|
|
769
|
-
*
|
|
772
|
+
* Manifest digest for pulling by digest.
|
|
770
773
|
*/
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
/**
|
|
781
|
-
* Postal code as a string.
|
|
782
|
-
*/
|
|
783
|
-
postalCode?: string;
|
|
774
|
+
digest: string;
|
|
775
|
+
/**
|
|
776
|
+
* Media type of the manifest.
|
|
777
|
+
*/
|
|
778
|
+
mediaType?: string;
|
|
779
|
+
/**
|
|
780
|
+
* Manifest config metadata.
|
|
781
|
+
*/
|
|
782
|
+
config?: {
|
|
784
783
|
/**
|
|
785
|
-
*
|
|
784
|
+
* Size of the config in bytes.
|
|
786
785
|
*/
|
|
787
|
-
|
|
786
|
+
size: number;
|
|
787
|
+
};
|
|
788
|
+
/**
|
|
789
|
+
* Array of layer metadata.
|
|
790
|
+
*/
|
|
791
|
+
layers?: Array<{
|
|
788
792
|
/**
|
|
789
|
-
*
|
|
793
|
+
* Digest of the layer.
|
|
790
794
|
*/
|
|
791
|
-
|
|
795
|
+
digest?: string;
|
|
792
796
|
/**
|
|
793
|
-
*
|
|
797
|
+
* Size of the layer in bytes.
|
|
794
798
|
*/
|
|
795
|
-
|
|
799
|
+
size: number;
|
|
800
|
+
}>;
|
|
801
|
+
/**
|
|
802
|
+
* Array of manifests for multi-arch images.
|
|
803
|
+
*/
|
|
804
|
+
manifests?: Array<{
|
|
796
805
|
/**
|
|
797
|
-
*
|
|
806
|
+
* Digest of the manifest.
|
|
798
807
|
*/
|
|
799
|
-
|
|
808
|
+
digest: string;
|
|
800
809
|
/**
|
|
801
|
-
*
|
|
810
|
+
* Platform information for the manifest.
|
|
802
811
|
*/
|
|
803
|
-
|
|
812
|
+
platform?: {
|
|
813
|
+
/**
|
|
814
|
+
* Architecture of the platform.
|
|
815
|
+
*/
|
|
816
|
+
architecture: string;
|
|
817
|
+
/**
|
|
818
|
+
* Operating system of the platform.
|
|
819
|
+
*/
|
|
820
|
+
os: string;
|
|
821
|
+
/**
|
|
822
|
+
* Variant of the platform (e.g., v7, v8 for ARM).
|
|
823
|
+
*/
|
|
824
|
+
variant?: string;
|
|
825
|
+
};
|
|
804
826
|
/**
|
|
805
|
-
*
|
|
827
|
+
* Layers for this platform.
|
|
806
828
|
*/
|
|
807
|
-
|
|
829
|
+
layers?: Array<{
|
|
830
|
+
/**
|
|
831
|
+
* Digest of the layer.
|
|
832
|
+
*/
|
|
833
|
+
digest?: string;
|
|
834
|
+
/**
|
|
835
|
+
* Size of the layer in bytes.
|
|
836
|
+
*/
|
|
837
|
+
size: number;
|
|
838
|
+
}>;
|
|
808
839
|
/**
|
|
809
|
-
*
|
|
840
|
+
* Total size of this platform manifest in bytes.
|
|
810
841
|
*/
|
|
811
|
-
|
|
812
|
-
}
|
|
842
|
+
size?: number;
|
|
843
|
+
}>;
|
|
813
844
|
/**
|
|
814
|
-
*
|
|
845
|
+
* Total size of the tag in bytes.
|
|
846
|
+
*/
|
|
847
|
+
size: number;
|
|
848
|
+
/**
|
|
849
|
+
* Registry region.
|
|
850
|
+
*/
|
|
851
|
+
region: string;
|
|
852
|
+
/**
|
|
853
|
+
* Repository name.
|
|
854
|
+
*/
|
|
855
|
+
repository: string;
|
|
856
|
+
/**
|
|
857
|
+
* Full URI of the tag.
|
|
858
|
+
*/
|
|
859
|
+
uri: string;
|
|
860
|
+
};
|
|
861
|
+
export type TicketAttachment = {
|
|
862
|
+
/**
|
|
863
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
815
864
|
*/
|
|
816
865
|
id: string;
|
|
817
866
|
/**
|
|
818
|
-
*
|
|
867
|
+
* Original filename as uploaded.
|
|
819
868
|
*/
|
|
820
|
-
|
|
869
|
+
filename: string;
|
|
821
870
|
/**
|
|
822
|
-
*
|
|
871
|
+
* MIME content type of the attachment.
|
|
823
872
|
*/
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
873
|
+
content_type: string;
|
|
874
|
+
/**
|
|
875
|
+
* Size of the attachment in bytes.
|
|
876
|
+
*/
|
|
877
|
+
size: number;
|
|
878
|
+
};
|
|
879
|
+
export type TicketCreateInput = {
|
|
880
|
+
/**
|
|
881
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
882
|
+
*/
|
|
883
|
+
category: 'billing' | 'technical' | 'general';
|
|
884
|
+
/**
|
|
885
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
886
|
+
*/
|
|
887
|
+
body: string;
|
|
888
|
+
/**
|
|
889
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
890
|
+
*/
|
|
891
|
+
properties?: {
|
|
892
|
+
[key: string]: unknown;
|
|
893
|
+
};
|
|
894
|
+
};
|
|
895
|
+
export type TicketListResponse = {
|
|
896
|
+
/**
|
|
897
|
+
* Tickets for the organization, ordered newest first. Messages are omitted from list responses.
|
|
898
|
+
*/
|
|
899
|
+
items: Array<{
|
|
829
900
|
/**
|
|
830
|
-
*
|
|
901
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
831
902
|
*/
|
|
832
|
-
|
|
903
|
+
id: string;
|
|
833
904
|
/**
|
|
834
|
-
*
|
|
905
|
+
* Current state of the ticket.
|
|
835
906
|
*/
|
|
836
|
-
|
|
907
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
837
908
|
/**
|
|
838
|
-
*
|
|
909
|
+
* Ticket category.
|
|
839
910
|
*/
|
|
840
|
-
|
|
911
|
+
category: 'billing' | 'technical' | 'general';
|
|
841
912
|
/**
|
|
842
|
-
*
|
|
913
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
843
914
|
*/
|
|
844
|
-
|
|
915
|
+
summary: string;
|
|
845
916
|
/**
|
|
846
|
-
*
|
|
917
|
+
* Closure timestamp. Null while the ticket is open.
|
|
847
918
|
*/
|
|
848
|
-
|
|
919
|
+
closed_at?: string;
|
|
849
920
|
/**
|
|
850
|
-
*
|
|
921
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
851
922
|
*/
|
|
852
|
-
|
|
923
|
+
date_created: string;
|
|
853
924
|
/**
|
|
854
|
-
*
|
|
925
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
855
926
|
*/
|
|
856
|
-
|
|
927
|
+
date_updated: string;
|
|
857
928
|
/**
|
|
858
|
-
*
|
|
929
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
859
930
|
*/
|
|
860
|
-
|
|
931
|
+
messages?: Array<{
|
|
861
932
|
/**
|
|
862
|
-
*
|
|
933
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
863
934
|
*/
|
|
864
935
|
id: string;
|
|
865
936
|
/**
|
|
866
|
-
*
|
|
937
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
867
938
|
*/
|
|
868
|
-
|
|
939
|
+
type: 'customer_reply' | 'agent_reply';
|
|
940
|
+
/**
|
|
941
|
+
* Message body in markdown.
|
|
942
|
+
*/
|
|
943
|
+
body: string;
|
|
944
|
+
/**
|
|
945
|
+
* First name of the author. Null when not provided.
|
|
946
|
+
*/
|
|
947
|
+
author_first_name?: string;
|
|
948
|
+
/**
|
|
949
|
+
* Last name of the author. Null when not provided.
|
|
950
|
+
*/
|
|
951
|
+
author_last_name?: string;
|
|
952
|
+
/**
|
|
953
|
+
* Attachments associated with this message.
|
|
954
|
+
*/
|
|
955
|
+
attachments?: Array<{
|
|
956
|
+
/**
|
|
957
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
958
|
+
*/
|
|
959
|
+
id: string;
|
|
960
|
+
/**
|
|
961
|
+
* Original filename as uploaded.
|
|
962
|
+
*/
|
|
963
|
+
filename: string;
|
|
964
|
+
/**
|
|
965
|
+
* MIME content type of the attachment.
|
|
966
|
+
*/
|
|
967
|
+
content_type: string;
|
|
968
|
+
/**
|
|
969
|
+
* Size of the attachment in bytes.
|
|
970
|
+
*/
|
|
971
|
+
size: number;
|
|
972
|
+
}>;
|
|
973
|
+
/**
|
|
974
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
975
|
+
*/
|
|
976
|
+
date_created: string;
|
|
869
977
|
}>;
|
|
870
|
-
}
|
|
978
|
+
}>;
|
|
979
|
+
};
|
|
980
|
+
export type TicketMessageInput = {
|
|
871
981
|
/**
|
|
872
|
-
*
|
|
982
|
+
* Reply body in markdown.
|
|
873
983
|
*/
|
|
874
|
-
|
|
984
|
+
body: string;
|
|
985
|
+
};
|
|
986
|
+
export type TicketMessage = {
|
|
875
987
|
/**
|
|
876
|
-
*
|
|
988
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
877
989
|
*/
|
|
878
|
-
|
|
879
|
-
};
|
|
880
|
-
export type OrganizationUpdateInput = {
|
|
990
|
+
id: string;
|
|
881
991
|
/**
|
|
882
|
-
*
|
|
992
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
883
993
|
*/
|
|
884
|
-
|
|
994
|
+
type: 'customer_reply' | 'agent_reply';
|
|
885
995
|
/**
|
|
886
|
-
*
|
|
996
|
+
* Message body in markdown.
|
|
887
997
|
*/
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
/**
|
|
902
|
-
* City or town name.
|
|
903
|
-
*/
|
|
904
|
-
city?: string;
|
|
905
|
-
/**
|
|
906
|
-
* State, province, or region name.
|
|
907
|
-
*/
|
|
908
|
-
state?: string;
|
|
909
|
-
/**
|
|
910
|
-
* Country as a ISO 3166-1 alpha-2 country code.
|
|
911
|
-
*/
|
|
912
|
-
country?: string;
|
|
998
|
+
body: string;
|
|
999
|
+
/**
|
|
1000
|
+
* First name of the author. Null when not provided.
|
|
1001
|
+
*/
|
|
1002
|
+
author_first_name?: string;
|
|
1003
|
+
/**
|
|
1004
|
+
* Last name of the author. Null when not provided.
|
|
1005
|
+
*/
|
|
1006
|
+
author_last_name?: string;
|
|
1007
|
+
/**
|
|
1008
|
+
* Attachments associated with this message.
|
|
1009
|
+
*/
|
|
1010
|
+
attachments?: Array<{
|
|
913
1011
|
/**
|
|
914
|
-
*
|
|
1012
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
915
1013
|
*/
|
|
916
|
-
|
|
1014
|
+
id: string;
|
|
917
1015
|
/**
|
|
918
|
-
*
|
|
1016
|
+
* Original filename as uploaded.
|
|
919
1017
|
*/
|
|
920
|
-
|
|
1018
|
+
filename: string;
|
|
921
1019
|
/**
|
|
922
|
-
*
|
|
1020
|
+
* MIME content type of the attachment.
|
|
923
1021
|
*/
|
|
924
|
-
|
|
1022
|
+
content_type: string;
|
|
925
1023
|
/**
|
|
926
|
-
*
|
|
1024
|
+
* Size of the attachment in bytes.
|
|
927
1025
|
*/
|
|
928
|
-
|
|
929
|
-
}
|
|
1026
|
+
size: number;
|
|
1027
|
+
}>;
|
|
1028
|
+
/**
|
|
1029
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1030
|
+
*/
|
|
1031
|
+
date_created: string;
|
|
930
1032
|
};
|
|
931
|
-
export type
|
|
1033
|
+
export type Ticket = {
|
|
932
1034
|
/**
|
|
933
|
-
* Unique identifier of the
|
|
1035
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
934
1036
|
*/
|
|
935
1037
|
id: string;
|
|
936
1038
|
/**
|
|
937
|
-
*
|
|
1039
|
+
* Current state of the ticket.
|
|
938
1040
|
*/
|
|
939
|
-
|
|
1041
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
940
1042
|
/**
|
|
941
|
-
*
|
|
1043
|
+
* Ticket category.
|
|
942
1044
|
*/
|
|
943
|
-
|
|
1045
|
+
category: 'billing' | 'technical' | 'general';
|
|
944
1046
|
/**
|
|
945
|
-
*
|
|
1047
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
946
1048
|
*/
|
|
947
|
-
|
|
1049
|
+
summary: string;
|
|
948
1050
|
/**
|
|
949
|
-
*
|
|
1051
|
+
* Closure timestamp. Null while the ticket is open.
|
|
950
1052
|
*/
|
|
951
|
-
|
|
1053
|
+
closed_at?: string;
|
|
952
1054
|
/**
|
|
953
|
-
*
|
|
1055
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
954
1056
|
*/
|
|
955
|
-
|
|
1057
|
+
date_created: string;
|
|
956
1058
|
/**
|
|
957
|
-
*
|
|
1059
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
958
1060
|
*/
|
|
959
|
-
|
|
1061
|
+
date_updated: string;
|
|
1062
|
+
/**
|
|
1063
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1064
|
+
*/
|
|
1065
|
+
messages?: Array<{
|
|
1066
|
+
/**
|
|
1067
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1068
|
+
*/
|
|
1069
|
+
id: string;
|
|
1070
|
+
/**
|
|
1071
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1072
|
+
*/
|
|
1073
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1074
|
+
/**
|
|
1075
|
+
* Message body in markdown.
|
|
1076
|
+
*/
|
|
1077
|
+
body: string;
|
|
1078
|
+
/**
|
|
1079
|
+
* First name of the author. Null when not provided.
|
|
1080
|
+
*/
|
|
1081
|
+
author_first_name?: string;
|
|
1082
|
+
/**
|
|
1083
|
+
* Last name of the author. Null when not provided.
|
|
1084
|
+
*/
|
|
1085
|
+
author_last_name?: string;
|
|
1086
|
+
/**
|
|
1087
|
+
* Attachments associated with this message.
|
|
1088
|
+
*/
|
|
1089
|
+
attachments?: Array<{
|
|
1090
|
+
/**
|
|
1091
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1092
|
+
*/
|
|
1093
|
+
id: string;
|
|
1094
|
+
/**
|
|
1095
|
+
* Original filename as uploaded.
|
|
1096
|
+
*/
|
|
1097
|
+
filename: string;
|
|
1098
|
+
/**
|
|
1099
|
+
* MIME content type of the attachment.
|
|
1100
|
+
*/
|
|
1101
|
+
content_type: string;
|
|
1102
|
+
/**
|
|
1103
|
+
* Size of the attachment in bytes.
|
|
1104
|
+
*/
|
|
1105
|
+
size: number;
|
|
1106
|
+
}>;
|
|
1107
|
+
/**
|
|
1108
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1109
|
+
*/
|
|
1110
|
+
date_created: string;
|
|
1111
|
+
}>;
|
|
960
1112
|
};
|
|
961
1113
|
export type TokenCreateInput = {
|
|
962
1114
|
/**
|
|
@@ -1000,35 +1152,85 @@ export type TokenUpdateInput = {
|
|
|
1000
1152
|
*/
|
|
1001
1153
|
role?: 'Administrator' | 'User';
|
|
1002
1154
|
};
|
|
1155
|
+
export type UsageFacets = {
|
|
1156
|
+
/**
|
|
1157
|
+
* List of unique cluster IDs
|
|
1158
|
+
*/
|
|
1159
|
+
cluster_id?: Array<string>;
|
|
1160
|
+
/**
|
|
1161
|
+
* List of unique products
|
|
1162
|
+
*/
|
|
1163
|
+
product?: Array<string>;
|
|
1164
|
+
};
|
|
1165
|
+
export type UsageResponse = {
|
|
1166
|
+
/**
|
|
1167
|
+
* Usage data
|
|
1168
|
+
*/
|
|
1169
|
+
data: Array<{
|
|
1170
|
+
/**
|
|
1171
|
+
* Hour of the usage
|
|
1172
|
+
*/
|
|
1173
|
+
hour: string;
|
|
1174
|
+
/**
|
|
1175
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1176
|
+
*/
|
|
1177
|
+
cluster_id: string;
|
|
1178
|
+
/**
|
|
1179
|
+
* The product the usage is associated with
|
|
1180
|
+
*/
|
|
1181
|
+
product: string;
|
|
1182
|
+
/**
|
|
1183
|
+
* Consumption
|
|
1184
|
+
*/
|
|
1185
|
+
value: number;
|
|
1186
|
+
/**
|
|
1187
|
+
* Price per unit
|
|
1188
|
+
*/
|
|
1189
|
+
price: number;
|
|
1190
|
+
/**
|
|
1191
|
+
* Total cost
|
|
1192
|
+
*/
|
|
1193
|
+
total: number;
|
|
1194
|
+
}>;
|
|
1195
|
+
/**
|
|
1196
|
+
* Facets for filtering
|
|
1197
|
+
*/
|
|
1198
|
+
facets: {
|
|
1199
|
+
/**
|
|
1200
|
+
* List of unique cluster IDs
|
|
1201
|
+
*/
|
|
1202
|
+
cluster_id?: Array<string>;
|
|
1203
|
+
/**
|
|
1204
|
+
* List of unique products
|
|
1205
|
+
*/
|
|
1206
|
+
product?: Array<string>;
|
|
1207
|
+
};
|
|
1208
|
+
};
|
|
1003
1209
|
export type Usage = {
|
|
1004
1210
|
/**
|
|
1005
1211
|
* Hour of the usage
|
|
1006
1212
|
*/
|
|
1007
|
-
hour
|
|
1213
|
+
hour: string;
|
|
1008
1214
|
/**
|
|
1009
1215
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1010
1216
|
*/
|
|
1011
1217
|
cluster_id: string;
|
|
1012
1218
|
/**
|
|
1013
|
-
*
|
|
1219
|
+
* The product the usage is associated with
|
|
1014
1220
|
*/
|
|
1015
|
-
|
|
1221
|
+
product: string;
|
|
1016
1222
|
/**
|
|
1017
|
-
*
|
|
1223
|
+
* Consumption
|
|
1018
1224
|
*/
|
|
1019
|
-
|
|
1225
|
+
value: number;
|
|
1020
1226
|
/**
|
|
1021
|
-
*
|
|
1227
|
+
* Price per unit
|
|
1022
1228
|
*/
|
|
1023
|
-
|
|
1229
|
+
price: number;
|
|
1024
1230
|
/**
|
|
1025
|
-
*
|
|
1231
|
+
* Total cost
|
|
1026
1232
|
*/
|
|
1027
|
-
|
|
1028
|
-
cpu: number | '';
|
|
1029
|
-
price: number | '';
|
|
1030
|
-
value: number | '';
|
|
1031
|
-
total: number | '';
|
|
1233
|
+
total: number;
|
|
1032
1234
|
};
|
|
1033
1235
|
export type UserCreateInput = {
|
|
1034
1236
|
/**
|
|
@@ -1048,7 +1250,7 @@ export type UserCreateInput = {
|
|
|
1048
1250
|
*/
|
|
1049
1251
|
code: string;
|
|
1050
1252
|
/**
|
|
1051
|
-
* User password. Must be at least 8 characters long
|
|
1253
|
+
* User password. Must be at least 8 characters long.
|
|
1052
1254
|
*/
|
|
1053
1255
|
password: string;
|
|
1054
1256
|
/**
|
|
@@ -1089,16 +1291,6 @@ export type User = {
|
|
|
1089
1291
|
* Creation date of the user. ISO 8601 date string in UTC timezone
|
|
1090
1292
|
*/
|
|
1091
1293
|
date_created: string;
|
|
1092
|
-
cluster_permissions?: Array<{
|
|
1093
|
-
/**
|
|
1094
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1095
|
-
*/
|
|
1096
|
-
cluster_id: string;
|
|
1097
|
-
/**
|
|
1098
|
-
* User permissions to access the cluster. Can be `readwrite` or `readonly`.
|
|
1099
|
-
*/
|
|
1100
|
-
permissions: 'readwrite' | 'readonly';
|
|
1101
|
-
}>;
|
|
1102
1294
|
};
|
|
1103
1295
|
export type UserUpdateInput = {
|
|
1104
1296
|
/**
|
|
@@ -1114,132 +1306,271 @@ export type UserUpdateInput = {
|
|
|
1114
1306
|
*/
|
|
1115
1307
|
last_name?: string;
|
|
1116
1308
|
/**
|
|
1117
|
-
* User role. Can be 'Administrator', 'User'.
|
|
1309
|
+
* User role. Can be 'Administrator', 'User'.
|
|
1310
|
+
*/
|
|
1311
|
+
role?: 'Administrator' | 'User';
|
|
1312
|
+
/**
|
|
1313
|
+
* Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
|
|
1314
|
+
*/
|
|
1315
|
+
status?: 'active' | 'inactive';
|
|
1316
|
+
};
|
|
1317
|
+
export type GetUsageData = {
|
|
1318
|
+
body?: never;
|
|
1319
|
+
path?: never;
|
|
1320
|
+
query?: {
|
|
1321
|
+
/**
|
|
1322
|
+
* 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)
|
|
1323
|
+
*/
|
|
1324
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
1325
|
+
};
|
|
1326
|
+
url: '/billing/usage';
|
|
1327
|
+
};
|
|
1328
|
+
export type GetUsageErrors = {
|
|
1329
|
+
/**
|
|
1330
|
+
* Not authenticated
|
|
1331
|
+
*/
|
|
1332
|
+
401: unknown;
|
|
1333
|
+
};
|
|
1334
|
+
export type GetUsageResponses = {
|
|
1335
|
+
/**
|
|
1336
|
+
* Usage data with facets for filtering
|
|
1337
|
+
*/
|
|
1338
|
+
200: UsageResponse;
|
|
1339
|
+
};
|
|
1340
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
1341
|
+
export type GetPaymentMethodData = {
|
|
1342
|
+
body?: never;
|
|
1343
|
+
path?: never;
|
|
1344
|
+
query?: never;
|
|
1345
|
+
url: '/billing/payment-method';
|
|
1346
|
+
};
|
|
1347
|
+
export type GetPaymentMethodErrors = {
|
|
1348
|
+
/**
|
|
1349
|
+
* Returns 404 Not Found if the organization does not have a payment method set up.
|
|
1350
|
+
*/
|
|
1351
|
+
404: unknown;
|
|
1352
|
+
};
|
|
1353
|
+
export type GetPaymentMethodResponses = {
|
|
1354
|
+
/**
|
|
1355
|
+
* Redacted payment card information.
|
|
1356
|
+
*/
|
|
1357
|
+
200: PaymentMethod;
|
|
1358
|
+
};
|
|
1359
|
+
export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
|
|
1360
|
+
export type GetPaymentMethodSecretData = {
|
|
1361
|
+
body?: never;
|
|
1362
|
+
path?: never;
|
|
1363
|
+
query?: never;
|
|
1364
|
+
url: '/billing/payment-method';
|
|
1365
|
+
};
|
|
1366
|
+
export type GetPaymentMethodSecretResponses = {
|
|
1367
|
+
/**
|
|
1368
|
+
* 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.
|
|
1369
|
+
*
|
|
1370
|
+
*/
|
|
1371
|
+
200: {
|
|
1372
|
+
/**
|
|
1373
|
+
* The client secret.
|
|
1374
|
+
*/
|
|
1375
|
+
id?: string;
|
|
1376
|
+
};
|
|
1377
|
+
};
|
|
1378
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
1379
|
+
export type ListInvoicesData = {
|
|
1380
|
+
body?: never;
|
|
1381
|
+
path?: never;
|
|
1382
|
+
query?: never;
|
|
1383
|
+
url: '/billing/invoices';
|
|
1384
|
+
};
|
|
1385
|
+
export type ListInvoicesErrors = {
|
|
1386
|
+
/**
|
|
1387
|
+
* Not authenticated
|
|
1388
|
+
*/
|
|
1389
|
+
401: unknown;
|
|
1390
|
+
};
|
|
1391
|
+
export type ListInvoicesResponses = {
|
|
1392
|
+
/**
|
|
1393
|
+
* An array of usage records.
|
|
1394
|
+
*/
|
|
1395
|
+
200: Array<Invoice>;
|
|
1396
|
+
};
|
|
1397
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
1398
|
+
export type GetContactData = {
|
|
1399
|
+
body?: never;
|
|
1400
|
+
path?: never;
|
|
1401
|
+
query?: never;
|
|
1402
|
+
url: '/billing/contact';
|
|
1403
|
+
};
|
|
1404
|
+
export type GetContactResponses = {
|
|
1405
|
+
/**
|
|
1406
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1118
1407
|
*/
|
|
1119
|
-
|
|
1408
|
+
200: BillingContact;
|
|
1409
|
+
};
|
|
1410
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
1411
|
+
export type UpdateContactData = {
|
|
1412
|
+
body: BillingContact;
|
|
1413
|
+
path?: never;
|
|
1414
|
+
query?: never;
|
|
1415
|
+
url: '/billing/contact';
|
|
1416
|
+
};
|
|
1417
|
+
export type UpdateContactResponses = {
|
|
1120
1418
|
/**
|
|
1121
|
-
*
|
|
1419
|
+
* Successfully updated. Returns updated organization details.
|
|
1122
1420
|
*/
|
|
1123
|
-
|
|
1421
|
+
200: BillingContact;
|
|
1124
1422
|
};
|
|
1125
|
-
export type
|
|
1423
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
1424
|
+
export type GetCreditsData = {
|
|
1126
1425
|
body?: never;
|
|
1127
1426
|
path?: never;
|
|
1128
1427
|
query?: never;
|
|
1129
|
-
url: '/billing/
|
|
1428
|
+
url: '/billing/credits';
|
|
1130
1429
|
};
|
|
1131
|
-
export type
|
|
1430
|
+
export type GetCreditsErrors = {
|
|
1132
1431
|
/**
|
|
1133
1432
|
* Not authenticated
|
|
1134
1433
|
*/
|
|
1135
1434
|
401: unknown;
|
|
1136
1435
|
};
|
|
1137
|
-
export type
|
|
1436
|
+
export type GetCreditsResponses = {
|
|
1138
1437
|
/**
|
|
1139
|
-
* An array of
|
|
1438
|
+
* An array of the applied promotional credits records.
|
|
1140
1439
|
*/
|
|
1141
|
-
200: Array<
|
|
1440
|
+
200: Array<BillingCredits>;
|
|
1142
1441
|
};
|
|
1143
|
-
export type
|
|
1144
|
-
export type
|
|
1145
|
-
body
|
|
1442
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
1443
|
+
export type RedeemCreditsData = {
|
|
1444
|
+
body: {
|
|
1445
|
+
/**
|
|
1446
|
+
* Promotional code to redeem
|
|
1447
|
+
*/
|
|
1448
|
+
code?: string;
|
|
1449
|
+
};
|
|
1146
1450
|
path?: never;
|
|
1147
1451
|
query?: never;
|
|
1148
|
-
url: '/billing/
|
|
1452
|
+
url: '/billing/credits';
|
|
1149
1453
|
};
|
|
1150
|
-
export type
|
|
1454
|
+
export type RedeemCreditsErrors = {
|
|
1151
1455
|
/**
|
|
1152
|
-
*
|
|
1456
|
+
* Not authenticated
|
|
1153
1457
|
*/
|
|
1154
|
-
|
|
1458
|
+
401: unknown;
|
|
1155
1459
|
};
|
|
1156
|
-
export type
|
|
1157
|
-
|
|
1460
|
+
export type RedeemCreditsResponses = {
|
|
1461
|
+
/**
|
|
1462
|
+
* Successfully created a new organization.
|
|
1463
|
+
*/
|
|
1464
|
+
200: unknown;
|
|
1465
|
+
};
|
|
1466
|
+
export type ListChartsData = {
|
|
1158
1467
|
body?: never;
|
|
1159
|
-
path
|
|
1468
|
+
path: {
|
|
1469
|
+
/**
|
|
1470
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1471
|
+
*/
|
|
1472
|
+
cluster_id: string;
|
|
1473
|
+
};
|
|
1160
1474
|
query?: never;
|
|
1161
|
-
url: '/
|
|
1475
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1162
1476
|
};
|
|
1163
|
-
export type
|
|
1477
|
+
export type ListChartsErrors = {
|
|
1164
1478
|
/**
|
|
1165
|
-
*
|
|
1479
|
+
* Not authenticated
|
|
1166
1480
|
*/
|
|
1167
|
-
|
|
1481
|
+
401: unknown;
|
|
1168
1482
|
};
|
|
1169
|
-
export type
|
|
1483
|
+
export type ListChartsResponses = {
|
|
1170
1484
|
/**
|
|
1171
|
-
*
|
|
1485
|
+
* An array of charts
|
|
1172
1486
|
*/
|
|
1173
|
-
200:
|
|
1487
|
+
200: Array<Chart>;
|
|
1174
1488
|
};
|
|
1175
|
-
export type
|
|
1176
|
-
export type
|
|
1177
|
-
body
|
|
1178
|
-
path
|
|
1489
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
1490
|
+
export type CreateChartData = {
|
|
1491
|
+
body: ChartCreateInput;
|
|
1492
|
+
path: {
|
|
1493
|
+
/**
|
|
1494
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1495
|
+
*/
|
|
1496
|
+
cluster_id: string;
|
|
1497
|
+
};
|
|
1179
1498
|
query?: never;
|
|
1180
|
-
url: '/
|
|
1499
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1181
1500
|
};
|
|
1182
|
-
export type
|
|
1501
|
+
export type CreateChartResponses = {
|
|
1183
1502
|
/**
|
|
1184
|
-
*
|
|
1185
|
-
*
|
|
1503
|
+
* Successfully created. Returns created Chart ID.
|
|
1186
1504
|
*/
|
|
1187
|
-
200:
|
|
1188
|
-
/**
|
|
1189
|
-
* The client secret.
|
|
1190
|
-
*/
|
|
1191
|
-
id?: string;
|
|
1192
|
-
};
|
|
1505
|
+
200: string;
|
|
1193
1506
|
};
|
|
1194
|
-
export type
|
|
1195
|
-
export type
|
|
1507
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
1508
|
+
export type DeleteChartData = {
|
|
1196
1509
|
body?: never;
|
|
1197
|
-
path
|
|
1198
|
-
query: {
|
|
1510
|
+
path: {
|
|
1199
1511
|
/**
|
|
1200
|
-
*
|
|
1512
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1201
1513
|
*/
|
|
1202
|
-
|
|
1514
|
+
cluster_id: string;
|
|
1203
1515
|
/**
|
|
1204
|
-
*
|
|
1516
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1205
1517
|
*/
|
|
1206
|
-
|
|
1518
|
+
chart_name: string;
|
|
1207
1519
|
};
|
|
1208
|
-
|
|
1520
|
+
query?: never;
|
|
1521
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1209
1522
|
};
|
|
1210
|
-
export type
|
|
1523
|
+
export type DeleteChartResponses = {
|
|
1211
1524
|
/**
|
|
1212
|
-
*
|
|
1525
|
+
* Successfully deleted.
|
|
1213
1526
|
*/
|
|
1214
|
-
|
|
1527
|
+
200: string;
|
|
1215
1528
|
};
|
|
1216
|
-
export type
|
|
1529
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
1530
|
+
export type GetChartData = {
|
|
1531
|
+
body?: never;
|
|
1532
|
+
path: {
|
|
1533
|
+
/**
|
|
1534
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1535
|
+
*/
|
|
1536
|
+
cluster_id: string;
|
|
1537
|
+
/**
|
|
1538
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1539
|
+
*/
|
|
1540
|
+
chart_name: string;
|
|
1541
|
+
};
|
|
1542
|
+
query?: never;
|
|
1543
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1544
|
+
};
|
|
1545
|
+
export type GetChartResponses = {
|
|
1217
1546
|
/**
|
|
1218
|
-
*
|
|
1547
|
+
* Returns a single object containing chart details.
|
|
1219
1548
|
*/
|
|
1220
|
-
200:
|
|
1549
|
+
200: Chart;
|
|
1221
1550
|
};
|
|
1222
|
-
export type
|
|
1223
|
-
export type
|
|
1224
|
-
body
|
|
1551
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
1552
|
+
export type UpdateChartData = {
|
|
1553
|
+
body: ChartUpdateInput;
|
|
1225
1554
|
path: {
|
|
1226
1555
|
/**
|
|
1227
|
-
* Unique
|
|
1556
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1228
1557
|
*/
|
|
1229
|
-
|
|
1558
|
+
cluster_id: string;
|
|
1559
|
+
/**
|
|
1560
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1561
|
+
*/
|
|
1562
|
+
chart_name: string;
|
|
1230
1563
|
};
|
|
1231
1564
|
query?: never;
|
|
1232
|
-
url: '/
|
|
1565
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1233
1566
|
};
|
|
1234
|
-
export type
|
|
1567
|
+
export type UpdateChartResponses = {
|
|
1235
1568
|
/**
|
|
1236
|
-
*
|
|
1569
|
+
* Successfully updated.
|
|
1237
1570
|
*/
|
|
1238
|
-
200:
|
|
1239
|
-
html?: string;
|
|
1240
|
-
};
|
|
1571
|
+
200: string;
|
|
1241
1572
|
};
|
|
1242
|
-
export type
|
|
1573
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
1243
1574
|
export type ListFleetsData = {
|
|
1244
1575
|
body?: never;
|
|
1245
1576
|
path: {
|
|
@@ -1464,290 +1795,44 @@ export type UpdateClusterData = {
|
|
|
1464
1795
|
body: ClusterUpdateInput;
|
|
1465
1796
|
path: {
|
|
1466
1797
|
/**
|
|
1467
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1468
|
-
*/
|
|
1469
|
-
cluster_id: string;
|
|
1470
|
-
};
|
|
1471
|
-
query?: never;
|
|
1472
|
-
url: '/clusters/{cluster_id}';
|
|
1473
|
-
};
|
|
1474
|
-
export type UpdateClusterResponses = {
|
|
1475
|
-
/**
|
|
1476
|
-
* Successfully updated. Returns updated cluster details.
|
|
1477
|
-
*/
|
|
1478
|
-
200: Cluster;
|
|
1479
|
-
};
|
|
1480
|
-
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
1481
|
-
export type GetJoinInformationData = {
|
|
1482
|
-
body?: never;
|
|
1483
|
-
path: {
|
|
1484
|
-
/**
|
|
1485
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1486
|
-
*/
|
|
1487
|
-
cluster_id: string;
|
|
1488
|
-
};
|
|
1489
|
-
query?: never;
|
|
1490
|
-
url: '/clusters/{cluster_id}/join_information';
|
|
1491
|
-
};
|
|
1492
|
-
export type GetJoinInformationErrors = {
|
|
1493
|
-
/**
|
|
1494
|
-
* Not authenticated
|
|
1495
|
-
*/
|
|
1496
|
-
401: unknown;
|
|
1497
|
-
};
|
|
1498
|
-
export type GetJoinInformationResponses = {
|
|
1499
|
-
/**
|
|
1500
|
-
* An object of cluster join information
|
|
1501
|
-
*/
|
|
1502
|
-
200: Cluster;
|
|
1503
|
-
};
|
|
1504
|
-
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
1505
|
-
export type GetInfrastructureData = {
|
|
1506
|
-
body?: never;
|
|
1507
|
-
path?: never;
|
|
1508
|
-
query?: {
|
|
1509
|
-
/**
|
|
1510
|
-
* Version of the task definition. Currently only version 1 is supported.
|
|
1511
|
-
*/
|
|
1512
|
-
version?: 1;
|
|
1513
|
-
/**
|
|
1514
|
-
* Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
1515
|
-
*/
|
|
1516
|
-
provider?: Array<string>;
|
|
1517
|
-
/**
|
|
1518
|
-
* 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/)
|
|
1519
|
-
*/
|
|
1520
|
-
region?: Array<string>;
|
|
1521
|
-
/**
|
|
1522
|
-
* 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/)
|
|
1523
|
-
*/
|
|
1524
|
-
sub_region?: Array<string>;
|
|
1525
|
-
/**
|
|
1526
|
-
* Limits selection of cloud regions to this list of canonical provider regions
|
|
1527
|
-
*/
|
|
1528
|
-
csp_region?: Array<string>;
|
|
1529
|
-
/**
|
|
1530
|
-
* Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
|
|
1531
|
-
*/
|
|
1532
|
-
instance_type?: Array<string>;
|
|
1533
|
-
/**
|
|
1534
|
-
* 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
|
|
1535
|
-
*/
|
|
1536
|
-
accelerator_name?: Array<string>;
|
|
1537
|
-
/**
|
|
1538
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1539
|
-
*/
|
|
1540
|
-
accelerator_manufacturer?: Array<string>;
|
|
1541
|
-
/**
|
|
1542
|
-
* 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.
|
|
1543
|
-
*/
|
|
1544
|
-
accelerator_count_min?: number;
|
|
1545
|
-
/**
|
|
1546
|
-
* 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.
|
|
1547
|
-
*/
|
|
1548
|
-
accelerator_count_max?: number;
|
|
1549
|
-
/**
|
|
1550
|
-
* 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
|
|
1551
|
-
*/
|
|
1552
|
-
accelerator_memory_min?: number;
|
|
1553
|
-
/**
|
|
1554
|
-
* 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
|
|
1555
|
-
*/
|
|
1556
|
-
accelerator_memory_max?: number;
|
|
1557
|
-
/**
|
|
1558
|
-
* Minimum amount of RAM in gibibytes (GiB)
|
|
1559
|
-
*/
|
|
1560
|
-
memory_min?: number;
|
|
1561
|
-
/**
|
|
1562
|
-
* Maximum amount of RAM in gibibytes (GiB)
|
|
1563
|
-
*/
|
|
1564
|
-
memory_max?: number;
|
|
1565
|
-
/**
|
|
1566
|
-
* 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.
|
|
1567
|
-
*/
|
|
1568
|
-
vcpu_min?: number;
|
|
1569
|
-
/**
|
|
1570
|
-
* 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.
|
|
1571
|
-
*/
|
|
1572
|
-
vcpu_max?: number;
|
|
1573
|
-
/**
|
|
1574
|
-
* Minimum total storage in GiB (attached and local)
|
|
1575
|
-
*/
|
|
1576
|
-
storage_total_min?: number;
|
|
1577
|
-
/**
|
|
1578
|
-
* Maximum total storage in GiB (attached and local)
|
|
1579
|
-
*/
|
|
1580
|
-
storage_total_max?: number;
|
|
1581
|
-
/**
|
|
1582
|
-
* Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1583
|
-
*/
|
|
1584
|
-
storage_local_min?: number;
|
|
1585
|
-
/**
|
|
1586
|
-
* Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1587
|
-
*/
|
|
1588
|
-
storage_local_max?: number;
|
|
1589
|
-
/**
|
|
1590
|
-
* Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1591
|
-
*/
|
|
1592
|
-
price_min?: number;
|
|
1593
|
-
/**
|
|
1594
|
-
* Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1595
|
-
*/
|
|
1596
|
-
price_max?: number;
|
|
1597
|
-
};
|
|
1598
|
-
url: '/infrastructure';
|
|
1599
|
-
};
|
|
1600
|
-
export type GetInfrastructureErrors = {
|
|
1601
|
-
/**
|
|
1602
|
-
* Returns a validation error if any of the search parameters in the request are invalid
|
|
1603
|
-
*/
|
|
1604
|
-
400: Blob | File;
|
|
1605
|
-
};
|
|
1606
|
-
export type GetInfrastructureError = GetInfrastructureErrors[keyof GetInfrastructureErrors];
|
|
1607
|
-
export type GetInfrastructureResponses = {
|
|
1608
|
-
/**
|
|
1609
|
-
* An array of instances returned by the search
|
|
1610
|
-
*/
|
|
1611
|
-
200: Array<InfrastructureInstance>;
|
|
1612
|
-
};
|
|
1613
|
-
export type GetInfrastructureResponse = GetInfrastructureResponses[keyof GetInfrastructureResponses];
|
|
1614
|
-
export type GetFacetsData = {
|
|
1615
|
-
body?: never;
|
|
1616
|
-
path?: never;
|
|
1617
|
-
query?: never;
|
|
1618
|
-
url: '/infrastructure/facets';
|
|
1619
|
-
};
|
|
1620
|
-
export type GetFacetsResponses = {
|
|
1621
|
-
/**
|
|
1622
|
-
* Calculates search facets of the infrastructure catalog
|
|
1623
|
-
*/
|
|
1624
|
-
200: Array<{
|
|
1625
|
-
/**
|
|
1626
|
-
* Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
1627
|
-
*/
|
|
1628
|
-
provider?: Array<string>;
|
|
1629
|
-
/**
|
|
1630
|
-
* 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/)
|
|
1631
|
-
*/
|
|
1632
|
-
region?: Array<string>;
|
|
1633
|
-
/**
|
|
1634
|
-
* 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/)
|
|
1635
|
-
*/
|
|
1636
|
-
sub_region?: Array<string>;
|
|
1637
|
-
/**
|
|
1638
|
-
* Limits selection of cloud regions to this list of canonical provider regions
|
|
1639
|
-
*/
|
|
1640
|
-
csp_region?: Array<string>;
|
|
1641
|
-
/**
|
|
1642
|
-
* 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.
|
|
1643
|
-
*/
|
|
1644
|
-
vcpu_min?: number;
|
|
1645
|
-
/**
|
|
1646
|
-
* 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.
|
|
1647
|
-
*/
|
|
1648
|
-
vcpu_max?: number;
|
|
1649
|
-
/**
|
|
1650
|
-
* Minimum amount of RAM in gibibytes (GiB)
|
|
1651
|
-
*/
|
|
1652
|
-
memory_min?: number;
|
|
1653
|
-
/**
|
|
1654
|
-
* Maximum amount of RAM in gibibytes (GiB)
|
|
1655
|
-
*/
|
|
1656
|
-
memory_max?: number;
|
|
1657
|
-
/**
|
|
1658
|
-
* Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1659
|
-
*/
|
|
1660
|
-
storage_local_min?: number;
|
|
1661
|
-
/**
|
|
1662
|
-
* Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1663
|
-
*/
|
|
1664
|
-
storage_local_max?: number;
|
|
1665
|
-
/**
|
|
1666
|
-
* 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
|
|
1667
|
-
*/
|
|
1668
|
-
accelerator_name?: Array<string>;
|
|
1669
|
-
/**
|
|
1670
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1671
|
-
*/
|
|
1672
|
-
accelerator_manufacturer?: Array<string>;
|
|
1673
|
-
/**
|
|
1674
|
-
* 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.
|
|
1675
|
-
*/
|
|
1676
|
-
accelerator_count_min?: number;
|
|
1677
|
-
/**
|
|
1678
|
-
* 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.
|
|
1679
|
-
*/
|
|
1680
|
-
accelerator_count_max?: number;
|
|
1681
|
-
/**
|
|
1682
|
-
* 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
|
|
1683
|
-
*/
|
|
1684
|
-
accelerator_memory_min?: number;
|
|
1685
|
-
/**
|
|
1686
|
-
* 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
|
|
1687
|
-
*/
|
|
1688
|
-
accelerator_memory_max?: number;
|
|
1689
|
-
/**
|
|
1690
|
-
* Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1691
|
-
*/
|
|
1692
|
-
price_min?: number;
|
|
1693
|
-
/**
|
|
1694
|
-
* Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1695
|
-
*/
|
|
1696
|
-
price_max?: number;
|
|
1697
|
-
/**
|
|
1698
|
-
* Structured array of regions and sub-regions
|
|
1699
|
-
*/
|
|
1700
|
-
regions_struct?: Array<{
|
|
1701
|
-
/**
|
|
1702
|
-
* 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/)
|
|
1703
|
-
*/
|
|
1704
|
-
region?: string;
|
|
1705
|
-
sub_region?: Array<string>;
|
|
1706
|
-
}>;
|
|
1707
|
-
/**
|
|
1708
|
-
* Structured array of regions and sub-regions
|
|
1709
|
-
*/
|
|
1710
|
-
accelerators_struct?: Array<{
|
|
1711
|
-
/**
|
|
1712
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1713
|
-
*/
|
|
1714
|
-
accelerator_manufacturer?: string;
|
|
1715
|
-
accelerator_name?: Array<string>;
|
|
1716
|
-
}>;
|
|
1717
|
-
/**
|
|
1718
|
-
* Total number of instances in the catalog
|
|
1719
|
-
*/
|
|
1720
|
-
count_total?: number;
|
|
1721
|
-
/**
|
|
1722
|
-
* Total number of instances in the catalog with at least 1 accelerator
|
|
1723
|
-
*/
|
|
1724
|
-
count_accelerators?: number;
|
|
1725
|
-
/**
|
|
1726
|
-
* Total number of unique instances types in the catalog
|
|
1727
|
-
*/
|
|
1728
|
-
count_instance_types?: number;
|
|
1729
|
-
/**
|
|
1730
|
-
* Total number of unique instances types in the catalog with at least 1 accelerator
|
|
1798
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1731
1799
|
*/
|
|
1732
|
-
|
|
1733
|
-
}
|
|
1800
|
+
cluster_id: string;
|
|
1801
|
+
};
|
|
1802
|
+
query?: never;
|
|
1803
|
+
url: '/clusters/{cluster_id}';
|
|
1804
|
+
};
|
|
1805
|
+
export type UpdateClusterResponses = {
|
|
1806
|
+
/**
|
|
1807
|
+
* Successfully updated. Returns updated cluster details.
|
|
1808
|
+
*/
|
|
1809
|
+
200: Cluster;
|
|
1734
1810
|
};
|
|
1735
|
-
export type
|
|
1736
|
-
export type
|
|
1811
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
1812
|
+
export type GetJoinInformationData = {
|
|
1737
1813
|
body?: never;
|
|
1738
|
-
path
|
|
1814
|
+
path: {
|
|
1815
|
+
/**
|
|
1816
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1817
|
+
*/
|
|
1818
|
+
cluster_id: string;
|
|
1819
|
+
};
|
|
1739
1820
|
query?: never;
|
|
1740
|
-
url: '/
|
|
1821
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
1741
1822
|
};
|
|
1742
|
-
export type
|
|
1823
|
+
export type GetJoinInformationErrors = {
|
|
1743
1824
|
/**
|
|
1744
|
-
*
|
|
1825
|
+
* Not authenticated
|
|
1745
1826
|
*/
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1827
|
+
401: unknown;
|
|
1828
|
+
};
|
|
1829
|
+
export type GetJoinInformationResponses = {
|
|
1830
|
+
/**
|
|
1831
|
+
* An object of cluster join information
|
|
1832
|
+
*/
|
|
1833
|
+
200: ClusterJoinInformation;
|
|
1749
1834
|
};
|
|
1750
|
-
export type
|
|
1835
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
1751
1836
|
export type ListInvitesData = {
|
|
1752
1837
|
body?: never;
|
|
1753
1838
|
path?: never;
|
|
@@ -1820,6 +1905,95 @@ export type DeleteInviteResponses = {
|
|
|
1820
1905
|
*/
|
|
1821
1906
|
200: unknown;
|
|
1822
1907
|
};
|
|
1908
|
+
export type ListMarketplaceChartsData = {
|
|
1909
|
+
body?: never;
|
|
1910
|
+
path?: never;
|
|
1911
|
+
query?: never;
|
|
1912
|
+
url: '/marketplace';
|
|
1913
|
+
};
|
|
1914
|
+
export type ListMarketplaceChartsErrors = {
|
|
1915
|
+
/**
|
|
1916
|
+
* Not authenticated
|
|
1917
|
+
*/
|
|
1918
|
+
401: unknown;
|
|
1919
|
+
};
|
|
1920
|
+
export type ListMarketplaceChartsResponses = {
|
|
1921
|
+
/**
|
|
1922
|
+
* An array of chart listings in the marketplace.
|
|
1923
|
+
*/
|
|
1924
|
+
200: Array<MarketplaceListing>;
|
|
1925
|
+
};
|
|
1926
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
1927
|
+
export type GetMarketplaceChartFilesData = {
|
|
1928
|
+
body?: never;
|
|
1929
|
+
path: {
|
|
1930
|
+
/**
|
|
1931
|
+
* Name of the chart in the marketplace.
|
|
1932
|
+
*/
|
|
1933
|
+
chart_name: string;
|
|
1934
|
+
/**
|
|
1935
|
+
* 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).
|
|
1936
|
+
*/
|
|
1937
|
+
version_channel: string;
|
|
1938
|
+
};
|
|
1939
|
+
query?: never;
|
|
1940
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
1941
|
+
};
|
|
1942
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
1943
|
+
/**
|
|
1944
|
+
* Chart not found or no version matches the channel
|
|
1945
|
+
*/
|
|
1946
|
+
404: unknown;
|
|
1947
|
+
};
|
|
1948
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
1949
|
+
/**
|
|
1950
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
1951
|
+
*/
|
|
1952
|
+
200: MarketplaceListingFiles;
|
|
1953
|
+
};
|
|
1954
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
1955
|
+
export type PostMcpData = {
|
|
1956
|
+
/**
|
|
1957
|
+
* JSON-RPC 2.0 request payload
|
|
1958
|
+
*/
|
|
1959
|
+
body: {
|
|
1960
|
+
jsonrpc?: string;
|
|
1961
|
+
method?: string;
|
|
1962
|
+
id?: string | number;
|
|
1963
|
+
/**
|
|
1964
|
+
* Method-specific parameters
|
|
1965
|
+
*/
|
|
1966
|
+
params?: {
|
|
1967
|
+
[key: string]: unknown;
|
|
1968
|
+
};
|
|
1969
|
+
};
|
|
1970
|
+
path?: never;
|
|
1971
|
+
query?: never;
|
|
1972
|
+
url: '/mcp';
|
|
1973
|
+
};
|
|
1974
|
+
export type PostMcpErrors = {
|
|
1975
|
+
/**
|
|
1976
|
+
* Not authenticated
|
|
1977
|
+
*/
|
|
1978
|
+
401: unknown;
|
|
1979
|
+
};
|
|
1980
|
+
export type PostMcpResponses = {
|
|
1981
|
+
/**
|
|
1982
|
+
* JSON-RPC 2.0 success or error response
|
|
1983
|
+
*/
|
|
1984
|
+
200: {
|
|
1985
|
+
jsonrpc?: string;
|
|
1986
|
+
id?: string | number;
|
|
1987
|
+
result?: {
|
|
1988
|
+
[key: string]: unknown;
|
|
1989
|
+
};
|
|
1990
|
+
error?: {
|
|
1991
|
+
code?: number;
|
|
1992
|
+
message?: string;
|
|
1993
|
+
};
|
|
1994
|
+
};
|
|
1995
|
+
};
|
|
1996
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
1823
1997
|
export type GetOrganizationData = {
|
|
1824
1998
|
body?: never;
|
|
1825
1999
|
path?: never;
|
|
@@ -1845,19 +2019,249 @@ export type CreateOrganizationResponses = {
|
|
|
1845
2019
|
*/
|
|
1846
2020
|
200: unknown;
|
|
1847
2021
|
};
|
|
1848
|
-
export type
|
|
1849
|
-
body
|
|
2022
|
+
export type ListRepositoriesData = {
|
|
2023
|
+
body?: never;
|
|
1850
2024
|
path?: never;
|
|
1851
2025
|
query?: never;
|
|
1852
|
-
url: '/
|
|
2026
|
+
url: '/registry';
|
|
1853
2027
|
};
|
|
1854
|
-
export type
|
|
2028
|
+
export type ListRepositoriesErrors = {
|
|
1855
2029
|
/**
|
|
1856
|
-
*
|
|
2030
|
+
* Not authenticated
|
|
1857
2031
|
*/
|
|
1858
|
-
|
|
2032
|
+
401: unknown;
|
|
2033
|
+
/**
|
|
2034
|
+
* Internal server error
|
|
2035
|
+
*/
|
|
2036
|
+
500: unknown;
|
|
2037
|
+
};
|
|
2038
|
+
export type ListRepositoriesResponses = {
|
|
2039
|
+
/**
|
|
2040
|
+
* List of repositories
|
|
2041
|
+
*/
|
|
2042
|
+
200: Array<RegistryRepository>;
|
|
2043
|
+
};
|
|
2044
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
2045
|
+
export type ListTagsData = {
|
|
2046
|
+
body?: never;
|
|
2047
|
+
path: {
|
|
2048
|
+
/**
|
|
2049
|
+
* Region where the repository is located
|
|
2050
|
+
*/
|
|
2051
|
+
region: string;
|
|
2052
|
+
/**
|
|
2053
|
+
* Name of the repository
|
|
2054
|
+
*/
|
|
2055
|
+
repository: string;
|
|
2056
|
+
};
|
|
2057
|
+
query?: never;
|
|
2058
|
+
url: '/registry/{region}/{repository}';
|
|
2059
|
+
};
|
|
2060
|
+
export type ListTagsErrors = {
|
|
2061
|
+
/**
|
|
2062
|
+
* Not authenticated
|
|
2063
|
+
*/
|
|
2064
|
+
401: unknown;
|
|
2065
|
+
/**
|
|
2066
|
+
* Repository not found
|
|
2067
|
+
*/
|
|
2068
|
+
404: unknown;
|
|
2069
|
+
/**
|
|
2070
|
+
* Internal server error
|
|
2071
|
+
*/
|
|
2072
|
+
500: unknown;
|
|
2073
|
+
};
|
|
2074
|
+
export type ListTagsResponses = {
|
|
2075
|
+
/**
|
|
2076
|
+
* Repository with tags
|
|
2077
|
+
*/
|
|
2078
|
+
200: RegistryRepositoryWithTags;
|
|
2079
|
+
};
|
|
2080
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
2081
|
+
export type DeleteTagData = {
|
|
2082
|
+
body?: never;
|
|
2083
|
+
path: {
|
|
2084
|
+
/**
|
|
2085
|
+
* Region where the repository is located
|
|
2086
|
+
*/
|
|
2087
|
+
region: string;
|
|
2088
|
+
/**
|
|
2089
|
+
* Name of the repository
|
|
2090
|
+
*/
|
|
2091
|
+
repository: string;
|
|
2092
|
+
/**
|
|
2093
|
+
* Name of the tag
|
|
2094
|
+
*/
|
|
2095
|
+
tag: string;
|
|
2096
|
+
};
|
|
2097
|
+
query?: never;
|
|
2098
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2099
|
+
};
|
|
2100
|
+
export type DeleteTagErrors = {
|
|
2101
|
+
/**
|
|
2102
|
+
* Not authenticated
|
|
2103
|
+
*/
|
|
2104
|
+
401: unknown;
|
|
2105
|
+
/**
|
|
2106
|
+
* Tag not found
|
|
2107
|
+
*/
|
|
2108
|
+
404: unknown;
|
|
2109
|
+
/**
|
|
2110
|
+
* Internal server error
|
|
2111
|
+
*/
|
|
2112
|
+
500: unknown;
|
|
2113
|
+
};
|
|
2114
|
+
export type DeleteTagResponses = {
|
|
2115
|
+
/**
|
|
2116
|
+
* Tag successfully deleted
|
|
2117
|
+
*/
|
|
2118
|
+
200: unknown;
|
|
2119
|
+
};
|
|
2120
|
+
export type GetTagData = {
|
|
2121
|
+
body?: never;
|
|
2122
|
+
path: {
|
|
2123
|
+
/**
|
|
2124
|
+
* Region where the repository is located
|
|
2125
|
+
*/
|
|
2126
|
+
region: string;
|
|
2127
|
+
/**
|
|
2128
|
+
* Name of the repository
|
|
2129
|
+
*/
|
|
2130
|
+
repository: string;
|
|
2131
|
+
/**
|
|
2132
|
+
* Name of the tag
|
|
2133
|
+
*/
|
|
2134
|
+
tag: string;
|
|
2135
|
+
};
|
|
2136
|
+
query?: never;
|
|
2137
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2138
|
+
};
|
|
2139
|
+
export type GetTagErrors = {
|
|
2140
|
+
/**
|
|
2141
|
+
* Not authenticated
|
|
2142
|
+
*/
|
|
2143
|
+
401: unknown;
|
|
2144
|
+
/**
|
|
2145
|
+
* Tag not found
|
|
2146
|
+
*/
|
|
2147
|
+
404: unknown;
|
|
2148
|
+
/**
|
|
2149
|
+
* Internal server error
|
|
2150
|
+
*/
|
|
2151
|
+
500: unknown;
|
|
2152
|
+
};
|
|
2153
|
+
export type GetTagResponses = {
|
|
2154
|
+
/**
|
|
2155
|
+
* Tag details
|
|
2156
|
+
*/
|
|
2157
|
+
200: RegistryTag;
|
|
2158
|
+
};
|
|
2159
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2160
|
+
export type ListTicketsData = {
|
|
2161
|
+
body?: never;
|
|
2162
|
+
path?: never;
|
|
2163
|
+
query?: never;
|
|
2164
|
+
url: '/tickets';
|
|
2165
|
+
};
|
|
2166
|
+
export type ListTicketsResponses = {
|
|
2167
|
+
/**
|
|
2168
|
+
* Tickets for the organization.
|
|
2169
|
+
*/
|
|
2170
|
+
200: TicketListResponse;
|
|
2171
|
+
};
|
|
2172
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
2173
|
+
export type CreateTicketData = {
|
|
2174
|
+
body: {
|
|
2175
|
+
/**
|
|
2176
|
+
* JSON-encoded TicketCreateInput.
|
|
2177
|
+
*/
|
|
2178
|
+
payload?: string;
|
|
2179
|
+
attachments?: Array<Blob | File>;
|
|
2180
|
+
};
|
|
2181
|
+
path?: never;
|
|
2182
|
+
query?: never;
|
|
2183
|
+
url: '/tickets';
|
|
2184
|
+
};
|
|
2185
|
+
export type CreateTicketResponses = {
|
|
2186
|
+
/**
|
|
2187
|
+
* Ticket created.
|
|
2188
|
+
*/
|
|
2189
|
+
200: Ticket;
|
|
2190
|
+
};
|
|
2191
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
2192
|
+
export type CloseTicketData = {
|
|
2193
|
+
body?: never;
|
|
2194
|
+
path: {
|
|
2195
|
+
ticket_id: string;
|
|
2196
|
+
};
|
|
2197
|
+
query?: never;
|
|
2198
|
+
url: '/tickets/{ticket_id}';
|
|
2199
|
+
};
|
|
2200
|
+
export type CloseTicketResponses = {
|
|
2201
|
+
/**
|
|
2202
|
+
* Ticket closed.
|
|
2203
|
+
*/
|
|
2204
|
+
200: Ticket;
|
|
2205
|
+
};
|
|
2206
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
2207
|
+
export type GetTicketData = {
|
|
2208
|
+
body?: never;
|
|
2209
|
+
path: {
|
|
2210
|
+
ticket_id: string;
|
|
2211
|
+
};
|
|
2212
|
+
query?: never;
|
|
2213
|
+
url: '/tickets/{ticket_id}';
|
|
2214
|
+
};
|
|
2215
|
+
export type GetTicketResponses = {
|
|
2216
|
+
/**
|
|
2217
|
+
* Ticket with messages (internal notes excluded).
|
|
2218
|
+
*/
|
|
2219
|
+
200: Ticket;
|
|
2220
|
+
};
|
|
2221
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
2222
|
+
export type ReplyTicketData = {
|
|
2223
|
+
body: {
|
|
2224
|
+
/**
|
|
2225
|
+
* JSON-encoded TicketMessageInput.
|
|
2226
|
+
*/
|
|
2227
|
+
payload?: string;
|
|
2228
|
+
attachments?: Array<Blob | File>;
|
|
2229
|
+
};
|
|
2230
|
+
path: {
|
|
2231
|
+
ticket_id: string;
|
|
2232
|
+
};
|
|
2233
|
+
query?: never;
|
|
2234
|
+
url: '/tickets/{ticket_id}/messages';
|
|
2235
|
+
};
|
|
2236
|
+
export type ReplyTicketErrors = {
|
|
2237
|
+
/**
|
|
2238
|
+
* Ticket is closed. Open a new ticket instead.
|
|
2239
|
+
*/
|
|
2240
|
+
409: unknown;
|
|
2241
|
+
};
|
|
2242
|
+
export type ReplyTicketResponses = {
|
|
2243
|
+
/**
|
|
2244
|
+
* Reply appended.
|
|
2245
|
+
*/
|
|
2246
|
+
200: TicketMessage;
|
|
2247
|
+
};
|
|
2248
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
2249
|
+
export type GetTicketAttachmentData = {
|
|
2250
|
+
body?: never;
|
|
2251
|
+
path: {
|
|
2252
|
+
ticket_id: string;
|
|
2253
|
+
attachment_id: string;
|
|
2254
|
+
};
|
|
2255
|
+
query?: never;
|
|
2256
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
2257
|
+
};
|
|
2258
|
+
export type GetTicketAttachmentResponses = {
|
|
2259
|
+
/**
|
|
2260
|
+
* Attachment binary stream.
|
|
2261
|
+
*/
|
|
2262
|
+
200: Blob | File;
|
|
1859
2263
|
};
|
|
1860
|
-
export type
|
|
2264
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1861
2265
|
export type ListTokensData = {
|
|
1862
2266
|
body?: never;
|
|
1863
2267
|
path?: never;
|
|
@@ -2114,53 +2518,4 @@ export type UpdateUserResponses = {
|
|
|
2114
2518
|
200: User;
|
|
2115
2519
|
};
|
|
2116
2520
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
2117
|
-
export type DeleteClusterPermissionsData = {
|
|
2118
|
-
body?: never;
|
|
2119
|
-
path: {
|
|
2120
|
-
/**
|
|
2121
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2122
|
-
*/
|
|
2123
|
-
user_id: string;
|
|
2124
|
-
/**
|
|
2125
|
-
* Unique cluster identifier. UUID v4 string in canonical form
|
|
2126
|
-
*/
|
|
2127
|
-
cluster_id: string;
|
|
2128
|
-
};
|
|
2129
|
-
query?: never;
|
|
2130
|
-
url: '/users/{user_id}/clusters/{cluster_id}';
|
|
2131
|
-
};
|
|
2132
|
-
export type DeleteClusterPermissionsResponses = {
|
|
2133
|
-
/**
|
|
2134
|
-
* Successfully removed user from the cluster. Returns updated user details.
|
|
2135
|
-
*/
|
|
2136
|
-
200: User;
|
|
2137
|
-
};
|
|
2138
|
-
export type DeleteClusterPermissionsResponse = DeleteClusterPermissionsResponses[keyof DeleteClusterPermissionsResponses];
|
|
2139
|
-
export type SetClusterPermissionsData = {
|
|
2140
|
-
body: {
|
|
2141
|
-
/**
|
|
2142
|
-
* Level of permissions for the user to access the cluster
|
|
2143
|
-
*/
|
|
2144
|
-
permissions?: 'readwrite' | 'readonly';
|
|
2145
|
-
};
|
|
2146
|
-
path: {
|
|
2147
|
-
/**
|
|
2148
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2149
|
-
*/
|
|
2150
|
-
user_id: string;
|
|
2151
|
-
/**
|
|
2152
|
-
* Unique cluster identifier. UUID v4 string in canonical form
|
|
2153
|
-
*/
|
|
2154
|
-
cluster_id: string;
|
|
2155
|
-
};
|
|
2156
|
-
query?: never;
|
|
2157
|
-
url: '/users/{user_id}/clusters/{cluster_id}';
|
|
2158
|
-
};
|
|
2159
|
-
export type SetClusterPermissionsResponses = {
|
|
2160
|
-
/**
|
|
2161
|
-
* Successfully created. Returns created user details.
|
|
2162
|
-
*/
|
|
2163
|
-
200: User;
|
|
2164
|
-
};
|
|
2165
|
-
export type SetClusterPermissionsResponse = SetClusterPermissionsResponses[keyof SetClusterPermissionsResponses];
|
|
2166
2521
|
//# sourceMappingURL=types.gen.d.ts.map
|