@cloudfleet/sdk 0.0.1-96d5fec → 0.0.1-a92e617
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/client/client.d.ts +3 -0
- package/dist/client/client.d.ts.map +1 -0
- package/dist/client/client.js +144 -0
- package/dist/client/client.js.map +1 -0
- package/dist/client/index.d.ts +8 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +5 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/types.d.ts +120 -0
- package/dist/client/types.d.ts.map +1 -0
- package/dist/client/types.js +2 -0
- package/dist/client/types.js.map +1 -0
- package/dist/client/utils.d.ts +46 -0
- package/dist/client/utils.d.ts.map +1 -0
- package/dist/client/utils.js +285 -0
- package/dist/client/utils.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 +6 -0
- package/dist/client.gen.js.map +1 -0
- package/dist/core/auth.d.ts +19 -0
- package/dist/core/auth.d.ts.map +1 -0
- package/dist/core/auth.js +14 -0
- package/dist/core/auth.js.map +1 -0
- package/dist/core/bodySerializer.d.ts +18 -0
- package/dist/core/bodySerializer.d.ts.map +1 -0
- package/dist/core/bodySerializer.js +54 -0
- package/dist/core/bodySerializer.js.map +1 -0
- package/dist/core/params.d.ts +24 -0
- package/dist/core/params.d.ts.map +1 -0
- package/dist/core/params.js +88 -0
- package/dist/core/params.js.map +1 -0
- package/dist/core/pathSerializer.d.ts +34 -0
- package/dist/core/pathSerializer.d.ts.map +1 -0
- package/dist/core/pathSerializer.js +114 -0
- package/dist/core/pathSerializer.js.map +1 -0
- package/dist/core/types.d.ts +74 -0
- package/dist/core/types.d.ts.map +1 -0
- package/dist/core/types.js +2 -0
- package/dist/core/types.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 +512 -668
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +516 -668
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +146 -140
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +213 -147
- 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 +515 -739
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +2329 -1385
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +747 -208
- package/dist/zod.gen.js.map +1 -1
- package/package.json +8 -5
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,16 +1,182 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type BillingContact = {
|
|
2
2
|
/**
|
|
3
|
-
* Name of the
|
|
3
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
4
|
+
*/
|
|
5
|
+
company?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Street address, P.O. box, c/o
|
|
8
|
+
*/
|
|
9
|
+
address1?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Apartment, suite, unit, building, floor, etc.
|
|
12
|
+
*/
|
|
13
|
+
address2?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Postal code as a string.
|
|
16
|
+
*/
|
|
17
|
+
postalCode?: string;
|
|
18
|
+
/**
|
|
19
|
+
* City or town name.
|
|
20
|
+
*/
|
|
21
|
+
city?: string;
|
|
22
|
+
/**
|
|
23
|
+
* State, province, or region name.
|
|
24
|
+
*/
|
|
25
|
+
state?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Country as a ISO 3166-1 alpha-2 country code.
|
|
28
|
+
*/
|
|
29
|
+
country?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Phone number as a string.
|
|
32
|
+
*/
|
|
33
|
+
phone?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Email address used for billing as a string.
|
|
36
|
+
*/
|
|
37
|
+
email: string;
|
|
38
|
+
/**
|
|
39
|
+
* First name of the billing contact person.
|
|
40
|
+
*/
|
|
41
|
+
first_name: string;
|
|
42
|
+
/**
|
|
43
|
+
* Last name of the billing contact person.
|
|
44
|
+
*/
|
|
45
|
+
last_name: string;
|
|
46
|
+
/**
|
|
47
|
+
* Tax ID of the organization.
|
|
48
|
+
*/
|
|
49
|
+
tax_id?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Type of the tax ID.
|
|
52
|
+
*/
|
|
53
|
+
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' | '';
|
|
54
|
+
};
|
|
55
|
+
export type BillingCredits = {
|
|
56
|
+
/**
|
|
57
|
+
* Generated unique identifier of the promotional code.
|
|
58
|
+
*/
|
|
59
|
+
id?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Date of the credit application. ISO 8601 date string in the UTC timezone.
|
|
62
|
+
*/
|
|
63
|
+
date_created: string;
|
|
64
|
+
/**
|
|
65
|
+
* Promotional code used by the customer.
|
|
66
|
+
*/
|
|
67
|
+
code: string;
|
|
68
|
+
/**
|
|
69
|
+
* Description of the promotional code.
|
|
70
|
+
*/
|
|
71
|
+
description?: string;
|
|
72
|
+
/**
|
|
73
|
+
* List of product SKUs that the promotional code can be used on.
|
|
74
|
+
*/
|
|
75
|
+
products?: Array<string>;
|
|
76
|
+
/**
|
|
77
|
+
* Type of the promotional code.
|
|
78
|
+
*/
|
|
79
|
+
type: 'credit' | 'discount';
|
|
80
|
+
/**
|
|
81
|
+
* Value of the promotional code.
|
|
82
|
+
*/
|
|
83
|
+
value: number;
|
|
84
|
+
/**
|
|
85
|
+
* Date of the billing cycle. An ISO 8601 date string in the UTC timezone.
|
|
86
|
+
*/
|
|
87
|
+
billing_period: string;
|
|
88
|
+
/**
|
|
89
|
+
* Value of the promotional code.
|
|
90
|
+
*/
|
|
91
|
+
value_remaining?: number;
|
|
92
|
+
};
|
|
93
|
+
export type ChartCreateInput = {
|
|
94
|
+
/**
|
|
95
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
96
|
+
*/
|
|
97
|
+
values: string;
|
|
98
|
+
/**
|
|
99
|
+
* Desired version range or channel for the chart.
|
|
100
|
+
*/
|
|
101
|
+
version_channel: string;
|
|
102
|
+
/**
|
|
103
|
+
* Unique identifier of the chart deployment aka name of the helm release.
|
|
4
104
|
*/
|
|
5
105
|
name: string;
|
|
6
106
|
/**
|
|
7
|
-
*
|
|
107
|
+
* Namespace of the chart deployment
|
|
8
108
|
*/
|
|
9
|
-
|
|
109
|
+
namespace: string;
|
|
110
|
+
/**
|
|
111
|
+
* Name of the chart listing
|
|
112
|
+
*/
|
|
113
|
+
chart: string;
|
|
114
|
+
};
|
|
115
|
+
export type Chart = {
|
|
116
|
+
/**
|
|
117
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
118
|
+
*/
|
|
119
|
+
values: string;
|
|
120
|
+
/**
|
|
121
|
+
* Desired version range or channel for the chart.
|
|
122
|
+
*/
|
|
123
|
+
version_channel: string;
|
|
124
|
+
/**
|
|
125
|
+
* Unique identifier of the chart deployment aka name of the helm release.
|
|
126
|
+
*/
|
|
127
|
+
name: string;
|
|
128
|
+
/**
|
|
129
|
+
* Namespace of the chart deployment
|
|
130
|
+
*/
|
|
131
|
+
namespace: string;
|
|
132
|
+
/**
|
|
133
|
+
* Name of the chart listing
|
|
134
|
+
*/
|
|
135
|
+
chart: string;
|
|
136
|
+
/**
|
|
137
|
+
* Status of the chart deployment.
|
|
138
|
+
*/
|
|
139
|
+
status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing' | 'SourceNotReady';
|
|
140
|
+
/**
|
|
141
|
+
* Current version of the chart deployment.
|
|
142
|
+
*/
|
|
143
|
+
version_current: string;
|
|
144
|
+
/**
|
|
145
|
+
* Creation date and time of the chart deployment.
|
|
146
|
+
*/
|
|
147
|
+
created_at: string;
|
|
148
|
+
/**
|
|
149
|
+
* Last update date and time of the chart deployment.
|
|
150
|
+
*/
|
|
151
|
+
updated_at: string;
|
|
152
|
+
/**
|
|
153
|
+
* Indicates if the chart deployment is ready to be used.
|
|
154
|
+
*/
|
|
155
|
+
ready: boolean;
|
|
156
|
+
};
|
|
157
|
+
export type ChartUpdateInput = {
|
|
158
|
+
/**
|
|
159
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
160
|
+
*/
|
|
161
|
+
values: string;
|
|
162
|
+
/**
|
|
163
|
+
* Desired version range or channel for the chart.
|
|
164
|
+
*/
|
|
165
|
+
version_channel: string;
|
|
166
|
+
};
|
|
167
|
+
export type ClusterCreateInput = {
|
|
168
|
+
/**
|
|
169
|
+
* Name of the cluster.
|
|
170
|
+
*/
|
|
171
|
+
name: string;
|
|
10
172
|
/**
|
|
11
173
|
* Tier of the cluster.
|
|
12
174
|
*/
|
|
13
175
|
tier: 'basic' | 'pro';
|
|
176
|
+
/**
|
|
177
|
+
* Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.
|
|
178
|
+
*/
|
|
179
|
+
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
|
|
14
180
|
/**
|
|
15
181
|
* Version of the kubernetes cluster.
|
|
16
182
|
*/
|
|
@@ -50,20 +216,37 @@ export type ClusterJoinInformation = {
|
|
|
50
216
|
*/
|
|
51
217
|
containerd: string;
|
|
52
218
|
};
|
|
219
|
+
/**
|
|
220
|
+
* OIDC Information for hosts to access to third party API's.
|
|
221
|
+
*/
|
|
222
|
+
third_party_api_access_config: {
|
|
223
|
+
/**
|
|
224
|
+
* Kubernetes metadata server.
|
|
225
|
+
*/
|
|
226
|
+
metadata_url: string;
|
|
227
|
+
/**
|
|
228
|
+
* AWS Role ARN.
|
|
229
|
+
*/
|
|
230
|
+
aws_role_arn: string;
|
|
231
|
+
/**
|
|
232
|
+
* GCP Workload Identity provider.
|
|
233
|
+
*/
|
|
234
|
+
gcp_workload_identity_provider: string;
|
|
235
|
+
};
|
|
53
236
|
};
|
|
54
237
|
export type Cluster = {
|
|
55
238
|
/**
|
|
56
239
|
* Name of the cluster.
|
|
57
240
|
*/
|
|
58
241
|
name: string;
|
|
59
|
-
/**
|
|
60
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
|
|
61
|
-
*/
|
|
62
|
-
region?: 'staging' | 'northamerica-central-1';
|
|
63
242
|
/**
|
|
64
243
|
* Tier of the cluster.
|
|
65
244
|
*/
|
|
66
245
|
tier: 'basic' | 'pro';
|
|
246
|
+
/**
|
|
247
|
+
* Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.
|
|
248
|
+
*/
|
|
249
|
+
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
|
|
67
250
|
/**
|
|
68
251
|
* Version of the kubernetes cluster.
|
|
69
252
|
*/
|
|
@@ -103,6 +286,10 @@ export type ClusterUpdateInput = {
|
|
|
103
286
|
* Name of the cluster.
|
|
104
287
|
*/
|
|
105
288
|
name?: string;
|
|
289
|
+
/**
|
|
290
|
+
* Tier of the cluster.
|
|
291
|
+
*/
|
|
292
|
+
tier: 'basic' | 'pro';
|
|
106
293
|
/**
|
|
107
294
|
* Version of the kubernetes cluster.
|
|
108
295
|
*/
|
|
@@ -127,10 +314,10 @@ export type FleetCreateInput = {
|
|
|
127
314
|
};
|
|
128
315
|
hetzner?: {
|
|
129
316
|
enabled?: boolean;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
317
|
+
/**
|
|
318
|
+
* Hetzner Cloud API key with read / write access
|
|
319
|
+
*/
|
|
320
|
+
apiKey: string;
|
|
134
321
|
};
|
|
135
322
|
aws?: {
|
|
136
323
|
enabled?: boolean;
|
|
@@ -143,10 +330,6 @@ export type FleetCreateInput = {
|
|
|
143
330
|
* Unique identifier of the kubernetes fleet.
|
|
144
331
|
*/
|
|
145
332
|
id: string;
|
|
146
|
-
/**
|
|
147
|
-
* Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
|
|
148
|
-
*/
|
|
149
|
-
type: 'managed' | 'connected';
|
|
150
333
|
};
|
|
151
334
|
export type Fleet = {
|
|
152
335
|
/**
|
|
@@ -167,10 +350,10 @@ export type Fleet = {
|
|
|
167
350
|
};
|
|
168
351
|
hetzner?: {
|
|
169
352
|
enabled?: boolean;
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
353
|
+
/**
|
|
354
|
+
* Hetzner Cloud API key with read / write access
|
|
355
|
+
*/
|
|
356
|
+
apiKey: string;
|
|
174
357
|
};
|
|
175
358
|
aws?: {
|
|
176
359
|
enabled?: boolean;
|
|
@@ -183,10 +366,6 @@ export type Fleet = {
|
|
|
183
366
|
* Unique identifier of the kubernetes fleet.
|
|
184
367
|
*/
|
|
185
368
|
id: string;
|
|
186
|
-
/**
|
|
187
|
-
* Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
|
|
188
|
-
*/
|
|
189
|
-
type: 'managed' | 'connected';
|
|
190
369
|
};
|
|
191
370
|
export type FleetUpdateInput = {
|
|
192
371
|
/**
|
|
@@ -207,10 +386,10 @@ export type FleetUpdateInput = {
|
|
|
207
386
|
};
|
|
208
387
|
hetzner?: {
|
|
209
388
|
enabled?: boolean;
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
389
|
+
/**
|
|
390
|
+
* Hetzner Cloud API key with read / write access
|
|
391
|
+
*/
|
|
392
|
+
apiKey: string;
|
|
214
393
|
};
|
|
215
394
|
aws?: {
|
|
216
395
|
enabled?: boolean;
|
|
@@ -220,178 +399,6 @@ export type FleetUpdateInput = {
|
|
|
220
399
|
controllerRoleArn: string;
|
|
221
400
|
};
|
|
222
401
|
};
|
|
223
|
-
export type InfrastructureFilter = {
|
|
224
|
-
/**
|
|
225
|
-
* Version of the infrastructure filter definition. Currently only version 1 is supported.
|
|
226
|
-
*/
|
|
227
|
-
version?: 1;
|
|
228
|
-
/**
|
|
229
|
-
* Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
230
|
-
*/
|
|
231
|
-
provider?: Array<string>;
|
|
232
|
-
/**
|
|
233
|
-
* 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/)
|
|
234
|
-
*/
|
|
235
|
-
region?: Array<string>;
|
|
236
|
-
/**
|
|
237
|
-
* 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/)
|
|
238
|
-
*/
|
|
239
|
-
sub_region?: Array<string>;
|
|
240
|
-
/**
|
|
241
|
-
* Limits selection of cloud regions to this list of canonical provider regions
|
|
242
|
-
*/
|
|
243
|
-
csp_region?: Array<string>;
|
|
244
|
-
/**
|
|
245
|
-
* Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
|
|
246
|
-
*/
|
|
247
|
-
instance_type?: Array<string>;
|
|
248
|
-
/**
|
|
249
|
-
* 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
|
|
250
|
-
*/
|
|
251
|
-
accelerator_name?: Array<string>;
|
|
252
|
-
/**
|
|
253
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
254
|
-
*/
|
|
255
|
-
accelerator_manufacturer?: Array<string>;
|
|
256
|
-
/**
|
|
257
|
-
* 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.
|
|
258
|
-
*/
|
|
259
|
-
accelerator_count_min?: number;
|
|
260
|
-
/**
|
|
261
|
-
* 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.
|
|
262
|
-
*/
|
|
263
|
-
accelerator_count_max?: number;
|
|
264
|
-
/**
|
|
265
|
-
* 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
|
|
266
|
-
*/
|
|
267
|
-
accelerator_memory_min?: number;
|
|
268
|
-
/**
|
|
269
|
-
* 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
|
|
270
|
-
*/
|
|
271
|
-
accelerator_memory_max?: number;
|
|
272
|
-
/**
|
|
273
|
-
* Minimum amount of RAM in gibibytes (GiB)
|
|
274
|
-
*/
|
|
275
|
-
memory_min?: number;
|
|
276
|
-
/**
|
|
277
|
-
* Maximum amount of RAM in gibibytes (GiB)
|
|
278
|
-
*/
|
|
279
|
-
memory_max?: number;
|
|
280
|
-
/**
|
|
281
|
-
* 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.
|
|
282
|
-
*/
|
|
283
|
-
vcpu_min?: number;
|
|
284
|
-
/**
|
|
285
|
-
* 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.
|
|
286
|
-
*/
|
|
287
|
-
vcpu_max?: number;
|
|
288
|
-
/**
|
|
289
|
-
* Minimum total storage in GiB (attached and local)
|
|
290
|
-
*/
|
|
291
|
-
storage_total_min?: number;
|
|
292
|
-
/**
|
|
293
|
-
* Maximum total storage in GiB (attached and local)
|
|
294
|
-
*/
|
|
295
|
-
storage_total_max?: number;
|
|
296
|
-
/**
|
|
297
|
-
* Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
298
|
-
*/
|
|
299
|
-
storage_local_min?: number;
|
|
300
|
-
/**
|
|
301
|
-
* Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
302
|
-
*/
|
|
303
|
-
storage_local_max?: number;
|
|
304
|
-
/**
|
|
305
|
-
* Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
306
|
-
*/
|
|
307
|
-
price_min?: number;
|
|
308
|
-
/**
|
|
309
|
-
* Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
310
|
-
*/
|
|
311
|
-
price_max?: number;
|
|
312
|
-
};
|
|
313
|
-
export type InfrastructureInstance = {
|
|
314
|
-
/**
|
|
315
|
-
* Cloudfleet instance SKU. Has a format of <provider>-<csp_region>-<instance_type>.
|
|
316
|
-
*/
|
|
317
|
-
sku: string;
|
|
318
|
-
/**
|
|
319
|
-
* Normalized cloud service provider name. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
320
|
-
*/
|
|
321
|
-
provider: string;
|
|
322
|
-
/**
|
|
323
|
-
* 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/)
|
|
324
|
-
*/
|
|
325
|
-
region: string;
|
|
326
|
-
/**
|
|
327
|
-
* 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/)
|
|
328
|
-
*/
|
|
329
|
-
sub_region: string;
|
|
330
|
-
/**
|
|
331
|
-
* Region as defined by the cloud service provider
|
|
332
|
-
*/
|
|
333
|
-
csp_region: string;
|
|
334
|
-
/**
|
|
335
|
-
* Availability zone as defined by the cloud service provider
|
|
336
|
-
*/
|
|
337
|
-
csp_zone: string;
|
|
338
|
-
/**
|
|
339
|
-
* Instance / VM type as defined by the cloud service provider
|
|
340
|
-
*/
|
|
341
|
-
instance_type: string;
|
|
342
|
-
/**
|
|
343
|
-
* Instance CPU architecture
|
|
344
|
-
*/
|
|
345
|
-
architecture: string;
|
|
346
|
-
/**
|
|
347
|
-
* Instance operating system
|
|
348
|
-
*/
|
|
349
|
-
os: string;
|
|
350
|
-
/**
|
|
351
|
-
* 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.
|
|
352
|
-
*/
|
|
353
|
-
vcpu: number;
|
|
354
|
-
/**
|
|
355
|
-
* Total amount of RAM in gibibytes (GiB)
|
|
356
|
-
*/
|
|
357
|
-
memory: number;
|
|
358
|
-
/**
|
|
359
|
-
* Volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
360
|
-
*/
|
|
361
|
-
local_storage: number;
|
|
362
|
-
/**
|
|
363
|
-
* 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
|
|
364
|
-
*/
|
|
365
|
-
accelerator_name?: string;
|
|
366
|
-
/**
|
|
367
|
-
* Normalized manufacturer name of accelerator. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
368
|
-
*/
|
|
369
|
-
accelerator_manufacturer?: string;
|
|
370
|
-
/**
|
|
371
|
-
* 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.
|
|
372
|
-
*/
|
|
373
|
-
accelerator_count?: number;
|
|
374
|
-
/**
|
|
375
|
-
* 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
|
|
376
|
-
*/
|
|
377
|
-
accelerator_memory?: number;
|
|
378
|
-
/**
|
|
379
|
-
* Maximum number of pods that can be run on this instance type.
|
|
380
|
-
*/
|
|
381
|
-
pods_capacity?: number;
|
|
382
|
-
/**
|
|
383
|
-
* Capacity type of the instance. E.g. `on-demand`, `spot`.
|
|
384
|
-
*/
|
|
385
|
-
capacity_type?: string;
|
|
386
|
-
/**
|
|
387
|
-
* Price of running the inctance per hour in USD as defined by the cloud service provider
|
|
388
|
-
*/
|
|
389
|
-
price: number;
|
|
390
|
-
/**
|
|
391
|
-
* Whether this instance type is available.
|
|
392
|
-
*/
|
|
393
|
-
available?: boolean;
|
|
394
|
-
};
|
|
395
402
|
export type Invite = {
|
|
396
403
|
/**
|
|
397
404
|
* Unique identifier of the invitation.
|
|
@@ -646,35 +653,52 @@ export type Invoice = {
|
|
|
646
653
|
} | string>;
|
|
647
654
|
}>;
|
|
648
655
|
};
|
|
649
|
-
export type
|
|
656
|
+
export type MarketplaceListing = {
|
|
650
657
|
/**
|
|
651
|
-
*
|
|
658
|
+
* Id of the chart listing
|
|
652
659
|
*/
|
|
653
|
-
|
|
660
|
+
id: string;
|
|
654
661
|
/**
|
|
655
|
-
*
|
|
662
|
+
* Name of the chart listing
|
|
656
663
|
*/
|
|
657
|
-
|
|
664
|
+
name: string;
|
|
658
665
|
/**
|
|
659
|
-
*
|
|
666
|
+
* Author of the chart listing
|
|
660
667
|
*/
|
|
661
|
-
|
|
668
|
+
developer: string;
|
|
662
669
|
/**
|
|
663
|
-
*
|
|
670
|
+
* Short description of the chart listing
|
|
664
671
|
*/
|
|
665
|
-
|
|
672
|
+
description: string;
|
|
666
673
|
/**
|
|
667
|
-
*
|
|
674
|
+
* Logo of the chart listing
|
|
668
675
|
*/
|
|
669
|
-
|
|
676
|
+
logoUrl: string;
|
|
670
677
|
/**
|
|
671
|
-
*
|
|
678
|
+
* Long description of the chart listing
|
|
672
679
|
*/
|
|
673
|
-
|
|
680
|
+
longDescription: string;
|
|
674
681
|
/**
|
|
675
|
-
*
|
|
682
|
+
* Tags of the chart
|
|
676
683
|
*/
|
|
677
|
-
|
|
684
|
+
categories: Array<string>;
|
|
685
|
+
version_channels: Array<string>;
|
|
686
|
+
value_schemas: Array<{
|
|
687
|
+
/**
|
|
688
|
+
* Version of the chart.
|
|
689
|
+
*/
|
|
690
|
+
version: string;
|
|
691
|
+
/**
|
|
692
|
+
* Schema of the chart values. JSON Schema as string
|
|
693
|
+
*/
|
|
694
|
+
schema: string;
|
|
695
|
+
/**
|
|
696
|
+
* Schema of the chart values
|
|
697
|
+
*/
|
|
698
|
+
placeholder: string;
|
|
699
|
+
}>;
|
|
700
|
+
};
|
|
701
|
+
export type OrganizationCreateInput = {
|
|
678
702
|
/**
|
|
679
703
|
* Email address used for billing as a string.
|
|
680
704
|
*/
|
|
@@ -687,116 +711,24 @@ export type OrganizationContactInfo = {
|
|
|
687
711
|
* Last name of the billing contact person.
|
|
688
712
|
*/
|
|
689
713
|
last_name: string;
|
|
690
|
-
};
|
|
691
|
-
export type OrganizationCreateInput = {
|
|
692
714
|
/**
|
|
693
715
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
694
716
|
*/
|
|
695
|
-
|
|
696
|
-
/**
|
|
697
|
-
* Organization contact information and billing address.
|
|
698
|
-
*/
|
|
699
|
-
contactInfo: {
|
|
700
|
-
/**
|
|
701
|
-
* Street address, P.O. box, c/o
|
|
702
|
-
*/
|
|
703
|
-
address1?: string;
|
|
704
|
-
/**
|
|
705
|
-
* Apartment, suite, unit, building, floor, etc.
|
|
706
|
-
*/
|
|
707
|
-
address2?: string;
|
|
708
|
-
/**
|
|
709
|
-
* Postal code as a string.
|
|
710
|
-
*/
|
|
711
|
-
postalCode?: string;
|
|
712
|
-
/**
|
|
713
|
-
* City or town name.
|
|
714
|
-
*/
|
|
715
|
-
city?: string;
|
|
716
|
-
/**
|
|
717
|
-
* State, province, or region name.
|
|
718
|
-
*/
|
|
719
|
-
state?: string;
|
|
720
|
-
/**
|
|
721
|
-
* Country as a ISO 3166-1 alpha-2 country code.
|
|
722
|
-
*/
|
|
723
|
-
country?: string;
|
|
724
|
-
/**
|
|
725
|
-
* Phone number as a string.
|
|
726
|
-
*/
|
|
727
|
-
phone?: string;
|
|
728
|
-
/**
|
|
729
|
-
* Email address used for billing as a string.
|
|
730
|
-
*/
|
|
731
|
-
email: string;
|
|
732
|
-
/**
|
|
733
|
-
* First name of the billing contact person.
|
|
734
|
-
*/
|
|
735
|
-
first_name: string;
|
|
736
|
-
/**
|
|
737
|
-
* Last name of the billing contact person.
|
|
738
|
-
*/
|
|
739
|
-
last_name: string;
|
|
740
|
-
};
|
|
717
|
+
company_name: string;
|
|
741
718
|
/**
|
|
742
719
|
* 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.
|
|
743
720
|
*/
|
|
744
721
|
password: string;
|
|
745
722
|
};
|
|
746
723
|
export type Organization = {
|
|
747
|
-
/**
|
|
748
|
-
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
749
|
-
*/
|
|
750
|
-
name: string;
|
|
751
|
-
/**
|
|
752
|
-
* Organization contact information and billing address.
|
|
753
|
-
*/
|
|
754
|
-
contactInfo: {
|
|
755
|
-
/**
|
|
756
|
-
* Street address, P.O. box, c/o
|
|
757
|
-
*/
|
|
758
|
-
address1?: string;
|
|
759
|
-
/**
|
|
760
|
-
* Apartment, suite, unit, building, floor, etc.
|
|
761
|
-
*/
|
|
762
|
-
address2?: string;
|
|
763
|
-
/**
|
|
764
|
-
* Postal code as a string.
|
|
765
|
-
*/
|
|
766
|
-
postalCode?: string;
|
|
767
|
-
/**
|
|
768
|
-
* City or town name.
|
|
769
|
-
*/
|
|
770
|
-
city?: string;
|
|
771
|
-
/**
|
|
772
|
-
* State, province, or region name.
|
|
773
|
-
*/
|
|
774
|
-
state?: string;
|
|
775
|
-
/**
|
|
776
|
-
* Country as a ISO 3166-1 alpha-2 country code.
|
|
777
|
-
*/
|
|
778
|
-
country?: string;
|
|
779
|
-
/**
|
|
780
|
-
* Phone number as a string.
|
|
781
|
-
*/
|
|
782
|
-
phone?: string;
|
|
783
|
-
/**
|
|
784
|
-
* Email address used for billing as a string.
|
|
785
|
-
*/
|
|
786
|
-
email: string;
|
|
787
|
-
/**
|
|
788
|
-
* First name of the billing contact person.
|
|
789
|
-
*/
|
|
790
|
-
first_name: string;
|
|
791
|
-
/**
|
|
792
|
-
* Last name of the billing contact person.
|
|
793
|
-
*/
|
|
794
|
-
last_name: string;
|
|
795
|
-
};
|
|
796
724
|
/**
|
|
797
725
|
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
798
726
|
*/
|
|
799
727
|
id: string;
|
|
728
|
+
/**
|
|
729
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
730
|
+
*/
|
|
731
|
+
name?: string;
|
|
800
732
|
/**
|
|
801
733
|
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
802
734
|
*/
|
|
@@ -825,10 +757,6 @@ export type Organization = {
|
|
|
825
757
|
* Maximum number of fleets that can be created per cluster.
|
|
826
758
|
*/
|
|
827
759
|
fleets_max: number;
|
|
828
|
-
/**
|
|
829
|
-
* Maximum number of CPU cores per managed fleet.
|
|
830
|
-
*/
|
|
831
|
-
managed_fleets_cpu_max: number;
|
|
832
760
|
/**
|
|
833
761
|
* List of Cloudfleet cluster tiers available for the organization.
|
|
834
762
|
*/
|
|
@@ -851,66 +779,11 @@ export type Organization = {
|
|
|
851
779
|
label: string;
|
|
852
780
|
}>;
|
|
853
781
|
};
|
|
854
|
-
/**
|
|
855
|
-
* List of pending actions that the user needs to complete. Used in Cloudfleet console to guide the user through the onboarding process.
|
|
856
|
-
*/
|
|
857
|
-
pending_actions: Array<'signup-billing-address' | 'signup-payment-method' | 'signup-invite-team' | 'signup-create-cluster'>;
|
|
858
782
|
/**
|
|
859
783
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
860
784
|
*/
|
|
861
785
|
status: 'active' | 'closed' | 'suspended';
|
|
862
786
|
};
|
|
863
|
-
export type OrganizationUpdateInput = {
|
|
864
|
-
/**
|
|
865
|
-
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
866
|
-
*/
|
|
867
|
-
name?: string;
|
|
868
|
-
/**
|
|
869
|
-
* Organization contact information and billing address.
|
|
870
|
-
*/
|
|
871
|
-
contactInfo: {
|
|
872
|
-
/**
|
|
873
|
-
* Street address, P.O. box, c/o
|
|
874
|
-
*/
|
|
875
|
-
address1?: string;
|
|
876
|
-
/**
|
|
877
|
-
* Apartment, suite, unit, building, floor, etc.
|
|
878
|
-
*/
|
|
879
|
-
address2?: string;
|
|
880
|
-
/**
|
|
881
|
-
* Postal code as a string.
|
|
882
|
-
*/
|
|
883
|
-
postalCode?: string;
|
|
884
|
-
/**
|
|
885
|
-
* City or town name.
|
|
886
|
-
*/
|
|
887
|
-
city?: string;
|
|
888
|
-
/**
|
|
889
|
-
* State, province, or region name.
|
|
890
|
-
*/
|
|
891
|
-
state?: string;
|
|
892
|
-
/**
|
|
893
|
-
* Country as a ISO 3166-1 alpha-2 country code.
|
|
894
|
-
*/
|
|
895
|
-
country?: string;
|
|
896
|
-
/**
|
|
897
|
-
* Phone number as a string.
|
|
898
|
-
*/
|
|
899
|
-
phone?: string;
|
|
900
|
-
/**
|
|
901
|
-
* Email address used for billing as a string.
|
|
902
|
-
*/
|
|
903
|
-
email: string;
|
|
904
|
-
/**
|
|
905
|
-
* First name of the billing contact person.
|
|
906
|
-
*/
|
|
907
|
-
first_name: string;
|
|
908
|
-
/**
|
|
909
|
-
* Last name of the billing contact person.
|
|
910
|
-
*/
|
|
911
|
-
last_name: string;
|
|
912
|
-
};
|
|
913
|
-
};
|
|
914
787
|
export type PaymentMethod = {
|
|
915
788
|
/**
|
|
916
789
|
* Unique identifier of the organization. UUID v4 string in canonical form.
|
|
@@ -985,18 +858,33 @@ export type TokenUpdateInput = {
|
|
|
985
858
|
};
|
|
986
859
|
export type Usage = {
|
|
987
860
|
/**
|
|
988
|
-
*
|
|
861
|
+
* Hour of the usage
|
|
989
862
|
*/
|
|
990
|
-
|
|
863
|
+
hour?: string;
|
|
864
|
+
/**
|
|
865
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
866
|
+
*/
|
|
867
|
+
cluster_id: string;
|
|
868
|
+
/**
|
|
869
|
+
* Tier of the cluster.
|
|
870
|
+
*/
|
|
871
|
+
cluster_tier: 'basic' | 'pro' | '';
|
|
872
|
+
/**
|
|
873
|
+
* The product the usage is associated with
|
|
874
|
+
*/
|
|
875
|
+
product: 'cfke_controlplane' | 'cfke_connected_nodes' | 'infra_compute' | 'infra_storage' | 'infra_loadbalancing' | 'infra_traffic' | 'cfcr_storage';
|
|
991
876
|
/**
|
|
992
|
-
*
|
|
877
|
+
* Name of the Kubernetes node
|
|
993
878
|
*/
|
|
994
|
-
|
|
879
|
+
node_name: string;
|
|
995
880
|
/**
|
|
996
|
-
*
|
|
881
|
+
* SKU of the Kubernetes node
|
|
997
882
|
*/
|
|
998
|
-
|
|
999
|
-
|
|
883
|
+
sku: string;
|
|
884
|
+
cpu: number | '';
|
|
885
|
+
price: number | '';
|
|
886
|
+
value: number | '';
|
|
887
|
+
total: number | '';
|
|
1000
888
|
};
|
|
1001
889
|
export type UserCreateInput = {
|
|
1002
890
|
/**
|
|
@@ -1016,7 +904,7 @@ export type UserCreateInput = {
|
|
|
1016
904
|
*/
|
|
1017
905
|
code: string;
|
|
1018
906
|
/**
|
|
1019
|
-
* User password. Must be at least 8 characters long
|
|
907
|
+
* User password. Must be at least 8 characters long.
|
|
1020
908
|
*/
|
|
1021
909
|
password: string;
|
|
1022
910
|
/**
|
|
@@ -1057,16 +945,6 @@ export type User = {
|
|
|
1057
945
|
* Creation date of the user. ISO 8601 date string in UTC timezone
|
|
1058
946
|
*/
|
|
1059
947
|
date_created: string;
|
|
1060
|
-
cluster_permissions?: Array<{
|
|
1061
|
-
/**
|
|
1062
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1063
|
-
*/
|
|
1064
|
-
cluster_id: string;
|
|
1065
|
-
/**
|
|
1066
|
-
* User permissions to access the cluster. Can be `readwrite` or `readonly`.
|
|
1067
|
-
*/
|
|
1068
|
-
permissions: 'readwrite' | 'readonly';
|
|
1069
|
-
}>;
|
|
1070
948
|
};
|
|
1071
949
|
export type UserUpdateInput = {
|
|
1072
950
|
/**
|
|
@@ -1093,16 +971,7 @@ export type UserUpdateInput = {
|
|
|
1093
971
|
export type GetUsageData = {
|
|
1094
972
|
body?: never;
|
|
1095
973
|
path?: never;
|
|
1096
|
-
query
|
|
1097
|
-
/**
|
|
1098
|
-
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1099
|
-
*/
|
|
1100
|
-
start_date: string;
|
|
1101
|
-
/**
|
|
1102
|
-
* End date for the usage. Date of newest data point to retrieve.
|
|
1103
|
-
*/
|
|
1104
|
-
end_date: string;
|
|
1105
|
-
};
|
|
974
|
+
query?: never;
|
|
1106
975
|
url: '/billing/usage';
|
|
1107
976
|
};
|
|
1108
977
|
export type GetUsageErrors = {
|
|
@@ -1161,62 +1030,238 @@ export type GetPaymentMethodSecretResponses = {
|
|
|
1161
1030
|
* 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.
|
|
1162
1031
|
*
|
|
1163
1032
|
*/
|
|
1164
|
-
200: {
|
|
1033
|
+
200: {
|
|
1034
|
+
/**
|
|
1035
|
+
* The client secret.
|
|
1036
|
+
*/
|
|
1037
|
+
id?: string;
|
|
1038
|
+
};
|
|
1039
|
+
};
|
|
1040
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
1041
|
+
export type ListInvoicesData = {
|
|
1042
|
+
body?: never;
|
|
1043
|
+
path?: never;
|
|
1044
|
+
query: {
|
|
1045
|
+
/**
|
|
1046
|
+
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1047
|
+
*/
|
|
1048
|
+
start_date: string;
|
|
1049
|
+
/**
|
|
1050
|
+
* End date for the usage. Date of newest data point to retrieve.
|
|
1051
|
+
*/
|
|
1052
|
+
end_date: string;
|
|
1053
|
+
};
|
|
1054
|
+
url: '/billing/invoices';
|
|
1055
|
+
};
|
|
1056
|
+
export type ListInvoicesErrors = {
|
|
1057
|
+
/**
|
|
1058
|
+
* Not authenticated
|
|
1059
|
+
*/
|
|
1060
|
+
401: unknown;
|
|
1061
|
+
};
|
|
1062
|
+
export type ListInvoicesResponses = {
|
|
1063
|
+
/**
|
|
1064
|
+
* An array of usage records.
|
|
1065
|
+
*/
|
|
1066
|
+
200: Array<Invoice>;
|
|
1067
|
+
};
|
|
1068
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
1069
|
+
export type GetInvoiceData = {
|
|
1070
|
+
body?: never;
|
|
1071
|
+
path: {
|
|
1072
|
+
/**
|
|
1073
|
+
* Unique invoice identifier. UUID v4 string in canonical form
|
|
1074
|
+
*/
|
|
1075
|
+
id: string;
|
|
1076
|
+
};
|
|
1077
|
+
query?: never;
|
|
1078
|
+
url: '/billing/invoices/{id}';
|
|
1079
|
+
};
|
|
1080
|
+
export type GetInvoiceResponses = {
|
|
1081
|
+
/**
|
|
1082
|
+
* Returns a single Invoice HTML representation under `html` property.
|
|
1083
|
+
*/
|
|
1084
|
+
200: {
|
|
1085
|
+
html?: string;
|
|
1086
|
+
};
|
|
1087
|
+
};
|
|
1088
|
+
export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
|
|
1089
|
+
export type GetContactData = {
|
|
1090
|
+
body?: never;
|
|
1091
|
+
path?: never;
|
|
1092
|
+
query?: never;
|
|
1093
|
+
url: '/billing/contact';
|
|
1094
|
+
};
|
|
1095
|
+
export type GetContactResponses = {
|
|
1096
|
+
/**
|
|
1097
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1098
|
+
*/
|
|
1099
|
+
200: BillingContact;
|
|
1100
|
+
};
|
|
1101
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
1102
|
+
export type UpdateContactData = {
|
|
1103
|
+
body: BillingContact;
|
|
1104
|
+
path?: never;
|
|
1105
|
+
query?: never;
|
|
1106
|
+
url: '/billing/contact';
|
|
1107
|
+
};
|
|
1108
|
+
export type UpdateContactResponses = {
|
|
1109
|
+
/**
|
|
1110
|
+
* Successfully updated. Returns updated organization details.
|
|
1111
|
+
*/
|
|
1112
|
+
200: BillingContact;
|
|
1113
|
+
};
|
|
1114
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
1115
|
+
export type GetCreditsData = {
|
|
1116
|
+
body?: never;
|
|
1117
|
+
path?: never;
|
|
1118
|
+
query?: never;
|
|
1119
|
+
url: '/billing/credits';
|
|
1120
|
+
};
|
|
1121
|
+
export type GetCreditsErrors = {
|
|
1122
|
+
/**
|
|
1123
|
+
* Not authenticated
|
|
1124
|
+
*/
|
|
1125
|
+
401: unknown;
|
|
1126
|
+
};
|
|
1127
|
+
export type GetCreditsResponses = {
|
|
1128
|
+
/**
|
|
1129
|
+
* An array of the applied promotional credits records.
|
|
1130
|
+
*/
|
|
1131
|
+
200: Array<BillingCredits>;
|
|
1132
|
+
};
|
|
1133
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
1134
|
+
export type RedeemCreditsData = {
|
|
1135
|
+
body: {
|
|
1136
|
+
/**
|
|
1137
|
+
* Promotional code to redeem
|
|
1138
|
+
*/
|
|
1139
|
+
code?: string;
|
|
1140
|
+
};
|
|
1141
|
+
path?: never;
|
|
1142
|
+
query?: never;
|
|
1143
|
+
url: '/billing/credits';
|
|
1144
|
+
};
|
|
1145
|
+
export type RedeemCreditsErrors = {
|
|
1146
|
+
/**
|
|
1147
|
+
* Not authenticated
|
|
1148
|
+
*/
|
|
1149
|
+
401: unknown;
|
|
1150
|
+
};
|
|
1151
|
+
export type RedeemCreditsResponses = {
|
|
1152
|
+
/**
|
|
1153
|
+
* Successfully created a new organization.
|
|
1154
|
+
*/
|
|
1155
|
+
200: unknown;
|
|
1156
|
+
};
|
|
1157
|
+
export type ListChartsData = {
|
|
1158
|
+
body?: never;
|
|
1159
|
+
path: {
|
|
1160
|
+
/**
|
|
1161
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1162
|
+
*/
|
|
1163
|
+
cluster_id: string;
|
|
1164
|
+
};
|
|
1165
|
+
query?: never;
|
|
1166
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1167
|
+
};
|
|
1168
|
+
export type ListChartsErrors = {
|
|
1169
|
+
/**
|
|
1170
|
+
* Not authenticated
|
|
1171
|
+
*/
|
|
1172
|
+
401: unknown;
|
|
1173
|
+
};
|
|
1174
|
+
export type ListChartsResponses = {
|
|
1175
|
+
/**
|
|
1176
|
+
* An array of charts
|
|
1177
|
+
*/
|
|
1178
|
+
200: Array<Chart>;
|
|
1179
|
+
};
|
|
1180
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
1181
|
+
export type CreateChartData = {
|
|
1182
|
+
body: ChartCreateInput;
|
|
1183
|
+
path: {
|
|
1165
1184
|
/**
|
|
1166
|
-
*
|
|
1185
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1167
1186
|
*/
|
|
1168
|
-
|
|
1187
|
+
cluster_id: string;
|
|
1169
1188
|
};
|
|
1189
|
+
query?: never;
|
|
1190
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1170
1191
|
};
|
|
1171
|
-
export type
|
|
1172
|
-
|
|
1192
|
+
export type CreateChartResponses = {
|
|
1193
|
+
/**
|
|
1194
|
+
* Successfully created. Returns created Chart ID.
|
|
1195
|
+
*/
|
|
1196
|
+
200: string;
|
|
1197
|
+
};
|
|
1198
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
1199
|
+
export type DeleteChartData = {
|
|
1173
1200
|
body?: never;
|
|
1174
|
-
path
|
|
1175
|
-
query: {
|
|
1201
|
+
path: {
|
|
1176
1202
|
/**
|
|
1177
|
-
*
|
|
1203
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1178
1204
|
*/
|
|
1179
|
-
|
|
1205
|
+
cluster_id: string;
|
|
1180
1206
|
/**
|
|
1181
|
-
*
|
|
1207
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1182
1208
|
*/
|
|
1183
|
-
|
|
1209
|
+
chart_name: string;
|
|
1184
1210
|
};
|
|
1185
|
-
|
|
1211
|
+
query?: never;
|
|
1212
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1186
1213
|
};
|
|
1187
|
-
export type
|
|
1214
|
+
export type DeleteChartResponses = {
|
|
1188
1215
|
/**
|
|
1189
|
-
*
|
|
1216
|
+
* Successfully deleted.
|
|
1190
1217
|
*/
|
|
1191
|
-
|
|
1218
|
+
200: string;
|
|
1192
1219
|
};
|
|
1193
|
-
export type
|
|
1220
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
1221
|
+
export type GetChartData = {
|
|
1222
|
+
body?: never;
|
|
1223
|
+
path: {
|
|
1224
|
+
/**
|
|
1225
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1226
|
+
*/
|
|
1227
|
+
cluster_id: string;
|
|
1228
|
+
/**
|
|
1229
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1230
|
+
*/
|
|
1231
|
+
chart_name: string;
|
|
1232
|
+
};
|
|
1233
|
+
query?: never;
|
|
1234
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1235
|
+
};
|
|
1236
|
+
export type GetChartResponses = {
|
|
1194
1237
|
/**
|
|
1195
|
-
*
|
|
1238
|
+
* Returns a single object containing chart details.
|
|
1196
1239
|
*/
|
|
1197
|
-
200:
|
|
1240
|
+
200: Chart;
|
|
1198
1241
|
};
|
|
1199
|
-
export type
|
|
1200
|
-
export type
|
|
1201
|
-
body
|
|
1242
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
1243
|
+
export type UpdateChartData = {
|
|
1244
|
+
body: ChartUpdateInput;
|
|
1202
1245
|
path: {
|
|
1203
1246
|
/**
|
|
1204
|
-
* Unique
|
|
1247
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1205
1248
|
*/
|
|
1206
|
-
|
|
1249
|
+
cluster_id: string;
|
|
1250
|
+
/**
|
|
1251
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1252
|
+
*/
|
|
1253
|
+
chart_name: string;
|
|
1207
1254
|
};
|
|
1208
1255
|
query?: never;
|
|
1209
|
-
url: '/
|
|
1256
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1210
1257
|
};
|
|
1211
|
-
export type
|
|
1258
|
+
export type UpdateChartResponses = {
|
|
1212
1259
|
/**
|
|
1213
|
-
*
|
|
1260
|
+
* Successfully updated.
|
|
1214
1261
|
*/
|
|
1215
|
-
200:
|
|
1216
|
-
html?: string;
|
|
1217
|
-
};
|
|
1262
|
+
200: string;
|
|
1218
1263
|
};
|
|
1219
|
-
export type
|
|
1264
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
1220
1265
|
export type ListFleetsData = {
|
|
1221
1266
|
body?: never;
|
|
1222
1267
|
path: {
|
|
@@ -1479,252 +1524,6 @@ export type GetJoinInformationResponses = {
|
|
|
1479
1524
|
200: Cluster;
|
|
1480
1525
|
};
|
|
1481
1526
|
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
1482
|
-
export type GetInfrastructureData = {
|
|
1483
|
-
body?: never;
|
|
1484
|
-
path?: never;
|
|
1485
|
-
query?: {
|
|
1486
|
-
/**
|
|
1487
|
-
* Version of the task definition. Currently only version 1 is supported.
|
|
1488
|
-
*/
|
|
1489
|
-
version?: 1;
|
|
1490
|
-
/**
|
|
1491
|
-
* Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
1492
|
-
*/
|
|
1493
|
-
provider?: Array<string>;
|
|
1494
|
-
/**
|
|
1495
|
-
* Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
1496
|
-
*/
|
|
1497
|
-
region?: Array<string>;
|
|
1498
|
-
/**
|
|
1499
|
-
* Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
1500
|
-
*/
|
|
1501
|
-
sub_region?: Array<string>;
|
|
1502
|
-
/**
|
|
1503
|
-
* Limits selection of cloud regions to this list of canonical provider regions
|
|
1504
|
-
*/
|
|
1505
|
-
csp_region?: Array<string>;
|
|
1506
|
-
/**
|
|
1507
|
-
* Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
|
|
1508
|
-
*/
|
|
1509
|
-
instance_type?: Array<string>;
|
|
1510
|
-
/**
|
|
1511
|
-
* List of Normalized accelerator model names. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field
|
|
1512
|
-
*/
|
|
1513
|
-
accelerator_name?: Array<string>;
|
|
1514
|
-
/**
|
|
1515
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1516
|
-
*/
|
|
1517
|
-
accelerator_manufacturer?: Array<string>;
|
|
1518
|
-
/**
|
|
1519
|
-
* Minimum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
|
|
1520
|
-
*/
|
|
1521
|
-
accelerator_count_min?: number;
|
|
1522
|
-
/**
|
|
1523
|
-
* Maximum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
|
|
1524
|
-
*/
|
|
1525
|
-
accelerator_count_max?: number;
|
|
1526
|
-
/**
|
|
1527
|
-
* Minimum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
|
|
1528
|
-
*/
|
|
1529
|
-
accelerator_memory_min?: number;
|
|
1530
|
-
/**
|
|
1531
|
-
* Maximum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
|
|
1532
|
-
*/
|
|
1533
|
-
accelerator_memory_max?: number;
|
|
1534
|
-
/**
|
|
1535
|
-
* Minimum amount of RAM in gibibytes (GiB)
|
|
1536
|
-
*/
|
|
1537
|
-
memory_min?: number;
|
|
1538
|
-
/**
|
|
1539
|
-
* Maximum amount of RAM in gibibytes (GiB)
|
|
1540
|
-
*/
|
|
1541
|
-
memory_max?: number;
|
|
1542
|
-
/**
|
|
1543
|
-
* Minimum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
|
|
1544
|
-
*/
|
|
1545
|
-
vcpu_min?: number;
|
|
1546
|
-
/**
|
|
1547
|
-
* Maximum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
|
|
1548
|
-
*/
|
|
1549
|
-
vcpu_max?: number;
|
|
1550
|
-
/**
|
|
1551
|
-
* Minimum total storage in GiB (attached and local)
|
|
1552
|
-
*/
|
|
1553
|
-
storage_total_min?: number;
|
|
1554
|
-
/**
|
|
1555
|
-
* Maximum total storage in GiB (attached and local)
|
|
1556
|
-
*/
|
|
1557
|
-
storage_total_max?: number;
|
|
1558
|
-
/**
|
|
1559
|
-
* Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1560
|
-
*/
|
|
1561
|
-
storage_local_min?: number;
|
|
1562
|
-
/**
|
|
1563
|
-
* Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1564
|
-
*/
|
|
1565
|
-
storage_local_max?: number;
|
|
1566
|
-
/**
|
|
1567
|
-
* Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1568
|
-
*/
|
|
1569
|
-
price_min?: number;
|
|
1570
|
-
/**
|
|
1571
|
-
* Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1572
|
-
*/
|
|
1573
|
-
price_max?: number;
|
|
1574
|
-
};
|
|
1575
|
-
url: '/infrastructure';
|
|
1576
|
-
};
|
|
1577
|
-
export type GetInfrastructureErrors = {
|
|
1578
|
-
/**
|
|
1579
|
-
* Returns a validation error if any of the search parameters in the request are invalid
|
|
1580
|
-
*/
|
|
1581
|
-
400: Blob | File;
|
|
1582
|
-
};
|
|
1583
|
-
export type GetInfrastructureError = GetInfrastructureErrors[keyof GetInfrastructureErrors];
|
|
1584
|
-
export type GetInfrastructureResponses = {
|
|
1585
|
-
/**
|
|
1586
|
-
* An array of instances returned by the search
|
|
1587
|
-
*/
|
|
1588
|
-
200: Array<InfrastructureInstance>;
|
|
1589
|
-
};
|
|
1590
|
-
export type GetInfrastructureResponse = GetInfrastructureResponses[keyof GetInfrastructureResponses];
|
|
1591
|
-
export type GetFacetsData = {
|
|
1592
|
-
body?: never;
|
|
1593
|
-
path?: never;
|
|
1594
|
-
query?: never;
|
|
1595
|
-
url: '/infrastructure/facets';
|
|
1596
|
-
};
|
|
1597
|
-
export type GetFacetsResponses = {
|
|
1598
|
-
/**
|
|
1599
|
-
* Calculates search facets of the infrastructure catalog
|
|
1600
|
-
*/
|
|
1601
|
-
200: Array<{
|
|
1602
|
-
/**
|
|
1603
|
-
* Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
1604
|
-
*/
|
|
1605
|
-
provider?: Array<string>;
|
|
1606
|
-
/**
|
|
1607
|
-
* Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
1608
|
-
*/
|
|
1609
|
-
region?: Array<string>;
|
|
1610
|
-
/**
|
|
1611
|
-
* Limits selection of cloud sub-regions to this list of Cloudfleet sub-regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
1612
|
-
*/
|
|
1613
|
-
sub_region?: Array<string>;
|
|
1614
|
-
/**
|
|
1615
|
-
* Limits selection of cloud regions to this list of canonical provider regions
|
|
1616
|
-
*/
|
|
1617
|
-
csp_region?: Array<string>;
|
|
1618
|
-
/**
|
|
1619
|
-
* Minimum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
|
|
1620
|
-
*/
|
|
1621
|
-
vcpu_min?: number;
|
|
1622
|
-
/**
|
|
1623
|
-
* Maximum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
|
|
1624
|
-
*/
|
|
1625
|
-
vcpu_max?: number;
|
|
1626
|
-
/**
|
|
1627
|
-
* Minimum amount of RAM in gibibytes (GiB)
|
|
1628
|
-
*/
|
|
1629
|
-
memory_min?: number;
|
|
1630
|
-
/**
|
|
1631
|
-
* Maximum amount of RAM in gibibytes (GiB)
|
|
1632
|
-
*/
|
|
1633
|
-
memory_max?: number;
|
|
1634
|
-
/**
|
|
1635
|
-
* Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1636
|
-
*/
|
|
1637
|
-
storage_local_min?: number;
|
|
1638
|
-
/**
|
|
1639
|
-
* Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1640
|
-
*/
|
|
1641
|
-
storage_local_max?: number;
|
|
1642
|
-
/**
|
|
1643
|
-
* List of Normalized accelerator model names. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field
|
|
1644
|
-
*/
|
|
1645
|
-
accelerator_name?: Array<string>;
|
|
1646
|
-
/**
|
|
1647
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1648
|
-
*/
|
|
1649
|
-
accelerator_manufacturer?: Array<string>;
|
|
1650
|
-
/**
|
|
1651
|
-
* Minimum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
|
|
1652
|
-
*/
|
|
1653
|
-
accelerator_count_min?: number;
|
|
1654
|
-
/**
|
|
1655
|
-
* Maximum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
|
|
1656
|
-
*/
|
|
1657
|
-
accelerator_count_max?: number;
|
|
1658
|
-
/**
|
|
1659
|
-
* Minimum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
|
|
1660
|
-
*/
|
|
1661
|
-
accelerator_memory_min?: number;
|
|
1662
|
-
/**
|
|
1663
|
-
* Maximum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
|
|
1664
|
-
*/
|
|
1665
|
-
accelerator_memory_max?: number;
|
|
1666
|
-
/**
|
|
1667
|
-
* Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1668
|
-
*/
|
|
1669
|
-
price_min?: number;
|
|
1670
|
-
/**
|
|
1671
|
-
* Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1672
|
-
*/
|
|
1673
|
-
price_max?: number;
|
|
1674
|
-
/**
|
|
1675
|
-
* Structured array of regions and sub-regions
|
|
1676
|
-
*/
|
|
1677
|
-
regions_struct?: Array<{
|
|
1678
|
-
/**
|
|
1679
|
-
* Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
1680
|
-
*/
|
|
1681
|
-
region?: string;
|
|
1682
|
-
sub_region?: Array<string>;
|
|
1683
|
-
}>;
|
|
1684
|
-
/**
|
|
1685
|
-
* Structured array of regions and sub-regions
|
|
1686
|
-
*/
|
|
1687
|
-
accelerators_struct?: Array<{
|
|
1688
|
-
/**
|
|
1689
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1690
|
-
*/
|
|
1691
|
-
accelerator_manufacturer?: string;
|
|
1692
|
-
accelerator_name?: Array<string>;
|
|
1693
|
-
}>;
|
|
1694
|
-
/**
|
|
1695
|
-
* Total number of instances in the catalog
|
|
1696
|
-
*/
|
|
1697
|
-
count_total?: number;
|
|
1698
|
-
/**
|
|
1699
|
-
* Total number of instances in the catalog with at least 1 accelerator
|
|
1700
|
-
*/
|
|
1701
|
-
count_accelerators?: number;
|
|
1702
|
-
/**
|
|
1703
|
-
* Total number of unique instances types in the catalog
|
|
1704
|
-
*/
|
|
1705
|
-
count_instance_types?: number;
|
|
1706
|
-
/**
|
|
1707
|
-
* Total number of unique instances types in the catalog with at least 1 accelerator
|
|
1708
|
-
*/
|
|
1709
|
-
count_accelerators_instance_types?: number;
|
|
1710
|
-
}>;
|
|
1711
|
-
};
|
|
1712
|
-
export type GetFacetsResponse = GetFacetsResponses[keyof GetFacetsResponses];
|
|
1713
|
-
export type GetRegionsData = {
|
|
1714
|
-
body?: never;
|
|
1715
|
-
path?: never;
|
|
1716
|
-
query?: never;
|
|
1717
|
-
url: '/infrastructure/regions';
|
|
1718
|
-
};
|
|
1719
|
-
export type GetRegionsResponses = {
|
|
1720
|
-
/**
|
|
1721
|
-
* Available Cloudfleet regions and Kubernetes versions.
|
|
1722
|
-
*/
|
|
1723
|
-
200: {
|
|
1724
|
-
[key: string]: unknown;
|
|
1725
|
-
};
|
|
1726
|
-
};
|
|
1727
|
-
export type GetRegionsResponse = GetRegionsResponses[keyof GetRegionsResponses];
|
|
1728
1527
|
export type ListInvitesData = {
|
|
1729
1528
|
body?: never;
|
|
1730
1529
|
path?: never;
|
|
@@ -1797,6 +1596,43 @@ export type DeleteInviteResponses = {
|
|
|
1797
1596
|
*/
|
|
1798
1597
|
200: unknown;
|
|
1799
1598
|
};
|
|
1599
|
+
export type ListMarketplaceChartsData = {
|
|
1600
|
+
body?: never;
|
|
1601
|
+
path?: never;
|
|
1602
|
+
query?: never;
|
|
1603
|
+
url: '/marketplace';
|
|
1604
|
+
};
|
|
1605
|
+
export type ListMarketplaceChartsErrors = {
|
|
1606
|
+
/**
|
|
1607
|
+
* Not authenticated
|
|
1608
|
+
*/
|
|
1609
|
+
401: unknown;
|
|
1610
|
+
};
|
|
1611
|
+
export type ListMarketplaceChartsResponses = {
|
|
1612
|
+
/**
|
|
1613
|
+
* An array of chart listings in the marketplace.
|
|
1614
|
+
*/
|
|
1615
|
+
200: Array<MarketplaceListing>;
|
|
1616
|
+
};
|
|
1617
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
1618
|
+
export type GetMarketplaceChartData = {
|
|
1619
|
+
body?: never;
|
|
1620
|
+
path: {
|
|
1621
|
+
/**
|
|
1622
|
+
* Unique identifier of the chart listing in the marketplace.
|
|
1623
|
+
*/
|
|
1624
|
+
listing_id: string;
|
|
1625
|
+
};
|
|
1626
|
+
query?: never;
|
|
1627
|
+
url: '/marketplace/{listing_id}';
|
|
1628
|
+
};
|
|
1629
|
+
export type GetMarketplaceChartResponses = {
|
|
1630
|
+
/**
|
|
1631
|
+
* Returns an object containing the chart listing details.
|
|
1632
|
+
*/
|
|
1633
|
+
200: MarketplaceListing;
|
|
1634
|
+
};
|
|
1635
|
+
export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
|
|
1800
1636
|
export type GetOrganizationData = {
|
|
1801
1637
|
body?: never;
|
|
1802
1638
|
path?: never;
|
|
@@ -1818,24 +1654,10 @@ export type CreateOrganizationData = {
|
|
|
1818
1654
|
};
|
|
1819
1655
|
export type CreateOrganizationResponses = {
|
|
1820
1656
|
/**
|
|
1821
|
-
* Successfully created a new organization.
|
|
1822
|
-
*/
|
|
1823
|
-
200: Organization;
|
|
1824
|
-
};
|
|
1825
|
-
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
1826
|
-
export type UpdateOrganizationData = {
|
|
1827
|
-
body: OrganizationUpdateInput;
|
|
1828
|
-
path?: never;
|
|
1829
|
-
query?: never;
|
|
1830
|
-
url: '/organization';
|
|
1831
|
-
};
|
|
1832
|
-
export type UpdateOrganizationResponses = {
|
|
1833
|
-
/**
|
|
1834
|
-
* Successfully updated. Returns updated organization details.
|
|
1657
|
+
* Successfully created a new organization.
|
|
1835
1658
|
*/
|
|
1836
|
-
200:
|
|
1659
|
+
200: unknown;
|
|
1837
1660
|
};
|
|
1838
|
-
export type UpdateOrganizationResponse = UpdateOrganizationResponses[keyof UpdateOrganizationResponses];
|
|
1839
1661
|
export type ListTokensData = {
|
|
1840
1662
|
body?: never;
|
|
1841
1663
|
path?: never;
|
|
@@ -2092,53 +1914,7 @@ export type UpdateUserResponses = {
|
|
|
2092
1914
|
200: User;
|
|
2093
1915
|
};
|
|
2094
1916
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
2095
|
-
export type
|
|
2096
|
-
|
|
2097
|
-
path: {
|
|
2098
|
-
/**
|
|
2099
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2100
|
-
*/
|
|
2101
|
-
user_id: string;
|
|
2102
|
-
/**
|
|
2103
|
-
* Unique cluster identifier. UUID v4 string in canonical form
|
|
2104
|
-
*/
|
|
2105
|
-
cluster_id: string;
|
|
2106
|
-
};
|
|
2107
|
-
query?: never;
|
|
2108
|
-
url: '/users/{user_id}/clusters/{cluster_id}';
|
|
2109
|
-
};
|
|
2110
|
-
export type DeleteClusterPermissionsResponses = {
|
|
2111
|
-
/**
|
|
2112
|
-
* Successfully removed user from the cluster. Returns updated user details.
|
|
2113
|
-
*/
|
|
2114
|
-
200: User;
|
|
2115
|
-
};
|
|
2116
|
-
export type DeleteClusterPermissionsResponse = DeleteClusterPermissionsResponses[keyof DeleteClusterPermissionsResponses];
|
|
2117
|
-
export type SetClusterPermissionsData = {
|
|
2118
|
-
body: {
|
|
2119
|
-
/**
|
|
2120
|
-
* Level of permissions for the user to access the cluster
|
|
2121
|
-
*/
|
|
2122
|
-
permissions?: 'readwrite' | 'readonly';
|
|
2123
|
-
};
|
|
2124
|
-
path: {
|
|
2125
|
-
/**
|
|
2126
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2127
|
-
*/
|
|
2128
|
-
user_id: string;
|
|
2129
|
-
/**
|
|
2130
|
-
* Unique cluster identifier. UUID v4 string in canonical form
|
|
2131
|
-
*/
|
|
2132
|
-
cluster_id: string;
|
|
2133
|
-
};
|
|
2134
|
-
query?: never;
|
|
2135
|
-
url: '/users/{user_id}/clusters/{cluster_id}';
|
|
2136
|
-
};
|
|
2137
|
-
export type SetClusterPermissionsResponses = {
|
|
2138
|
-
/**
|
|
2139
|
-
* Successfully created. Returns created user details.
|
|
2140
|
-
*/
|
|
2141
|
-
200: User;
|
|
1917
|
+
export type ClientOptions = {
|
|
1918
|
+
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
2142
1919
|
};
|
|
2143
|
-
export type SetClusterPermissionsResponse = SetClusterPermissionsResponses[keyof SetClusterPermissionsResponses];
|
|
2144
1920
|
//# sourceMappingURL=types.gen.d.ts.map
|