@cloudfleet/sdk 0.0.1-2564786 → 0.0.1-2791829
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.gen.d.ts +3 -0
- package/dist/client/client.gen.d.ts.map +1 -0
- package/dist/client/client.gen.js +205 -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 +125 -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 +34 -0
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/utils.gen.js +231 -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 +6 -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 +18 -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 +34 -0
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/params.gen.js +89 -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 +115 -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 +100 -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 +136 -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 +508 -963
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +531 -994
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +183 -145
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +239 -151
- 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 +531 -1001
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1729 -2829
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +798 -867
- package/dist/zod.gen.js.map +1 -1
- package/package.json +8 -5
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,16 +1,177 @@
|
|
|
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.
|
|
4
99
|
*/
|
|
5
100
|
name: string;
|
|
6
101
|
/**
|
|
7
|
-
*
|
|
102
|
+
* Namespace of the chart deployment
|
|
8
103
|
*/
|
|
9
|
-
|
|
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.
|
|
121
|
+
*/
|
|
122
|
+
name: string;
|
|
123
|
+
/**
|
|
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.
|
|
165
|
+
*/
|
|
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", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
173
|
+
*/
|
|
174
|
+
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
14
175
|
/**
|
|
15
176
|
* Version of the kubernetes cluster.
|
|
16
177
|
*/
|
|
@@ -49,6 +210,27 @@ export type ClusterJoinInformation = {
|
|
|
49
210
|
* Containerd version of the cluster.
|
|
50
211
|
*/
|
|
51
212
|
containerd: string;
|
|
213
|
+
/**
|
|
214
|
+
* NVIDIA driver version of the cluster.
|
|
215
|
+
*/
|
|
216
|
+
nvidia_driver: string;
|
|
217
|
+
};
|
|
218
|
+
/**
|
|
219
|
+
* OIDC Information for hosts to access to third party API's.
|
|
220
|
+
*/
|
|
221
|
+
third_party_api_access_config: {
|
|
222
|
+
/**
|
|
223
|
+
* Kubernetes metadata server.
|
|
224
|
+
*/
|
|
225
|
+
metadata_url: string;
|
|
226
|
+
/**
|
|
227
|
+
* AWS Role ARN.
|
|
228
|
+
*/
|
|
229
|
+
aws_role_arn: string;
|
|
230
|
+
/**
|
|
231
|
+
* GCP Workload Identity provider.
|
|
232
|
+
*/
|
|
233
|
+
gcp_workload_identity_provider: string;
|
|
52
234
|
};
|
|
53
235
|
};
|
|
54
236
|
export type Cluster = {
|
|
@@ -56,14 +238,14 @@ export type Cluster = {
|
|
|
56
238
|
* Name of the cluster.
|
|
57
239
|
*/
|
|
58
240
|
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
241
|
/**
|
|
64
242
|
* Tier of the cluster.
|
|
65
243
|
*/
|
|
66
244
|
tier: 'basic' | 'pro';
|
|
245
|
+
/**
|
|
246
|
+
* Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
247
|
+
*/
|
|
248
|
+
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
67
249
|
/**
|
|
68
250
|
* Version of the kubernetes cluster.
|
|
69
251
|
*/
|
|
@@ -75,7 +257,7 @@ export type Cluster = {
|
|
|
75
257
|
/**
|
|
76
258
|
* Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
|
|
77
259
|
*/
|
|
78
|
-
status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
260
|
+
status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
79
261
|
endpoint?: string | '';
|
|
80
262
|
/**
|
|
81
263
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
@@ -103,6 +285,10 @@ export type ClusterUpdateInput = {
|
|
|
103
285
|
* Name of the cluster.
|
|
104
286
|
*/
|
|
105
287
|
name?: string;
|
|
288
|
+
/**
|
|
289
|
+
* Tier of the cluster.
|
|
290
|
+
*/
|
|
291
|
+
tier: 'basic' | 'pro';
|
|
106
292
|
/**
|
|
107
293
|
* Version of the kubernetes cluster.
|
|
108
294
|
*/
|
|
@@ -127,10 +313,10 @@ export type FleetCreateInput = {
|
|
|
127
313
|
};
|
|
128
314
|
hetzner?: {
|
|
129
315
|
enabled?: boolean;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
316
|
+
/**
|
|
317
|
+
* Hetzner Cloud API key with read / write access
|
|
318
|
+
*/
|
|
319
|
+
apiKey: string;
|
|
134
320
|
};
|
|
135
321
|
aws?: {
|
|
136
322
|
enabled?: boolean;
|
|
@@ -143,10 +329,6 @@ export type FleetCreateInput = {
|
|
|
143
329
|
* Unique identifier of the kubernetes fleet.
|
|
144
330
|
*/
|
|
145
331
|
id: string;
|
|
146
|
-
/**
|
|
147
|
-
* Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
|
|
148
|
-
*/
|
|
149
|
-
type: 'managed' | 'connected';
|
|
150
332
|
};
|
|
151
333
|
export type Fleet = {
|
|
152
334
|
/**
|
|
@@ -167,10 +349,10 @@ export type Fleet = {
|
|
|
167
349
|
};
|
|
168
350
|
hetzner?: {
|
|
169
351
|
enabled?: boolean;
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
352
|
+
/**
|
|
353
|
+
* Hetzner Cloud API key with read / write access
|
|
354
|
+
*/
|
|
355
|
+
apiKey: string;
|
|
174
356
|
};
|
|
175
357
|
aws?: {
|
|
176
358
|
enabled?: boolean;
|
|
@@ -183,10 +365,6 @@ export type Fleet = {
|
|
|
183
365
|
* Unique identifier of the kubernetes fleet.
|
|
184
366
|
*/
|
|
185
367
|
id: string;
|
|
186
|
-
/**
|
|
187
|
-
* Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
|
|
188
|
-
*/
|
|
189
|
-
type: 'managed' | 'connected';
|
|
190
368
|
};
|
|
191
369
|
export type FleetUpdateInput = {
|
|
192
370
|
/**
|
|
@@ -207,10 +385,10 @@ export type FleetUpdateInput = {
|
|
|
207
385
|
};
|
|
208
386
|
hetzner?: {
|
|
209
387
|
enabled?: boolean;
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
388
|
+
/**
|
|
389
|
+
* Hetzner Cloud API key with read / write access
|
|
390
|
+
*/
|
|
391
|
+
apiKey: string;
|
|
214
392
|
};
|
|
215
393
|
aws?: {
|
|
216
394
|
enabled?: boolean;
|
|
@@ -220,178 +398,6 @@ export type FleetUpdateInput = {
|
|
|
220
398
|
controllerRoleArn: string;
|
|
221
399
|
};
|
|
222
400
|
};
|
|
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
401
|
export type Invite = {
|
|
396
402
|
/**
|
|
397
403
|
* Unique identifier of the invitation.
|
|
@@ -400,403 +406,128 @@ export type Invite = {
|
|
|
400
406
|
/**
|
|
401
407
|
* Unique identifier of the organization the project belongs to. UUID v4 string in canonical form
|
|
402
408
|
*/
|
|
403
|
-
organization_id?: string;
|
|
404
|
-
/**
|
|
405
|
-
* Creation date of the project. ISO 8601 date string in UTC timezone
|
|
406
|
-
*/
|
|
407
|
-
date_created: string;
|
|
408
|
-
/**
|
|
409
|
-
* User email address.
|
|
410
|
-
*/
|
|
411
|
-
email?: string;
|
|
412
|
-
/**
|
|
413
|
-
* Generated unique invite code.
|
|
414
|
-
*/
|
|
415
|
-
code?: string;
|
|
416
|
-
};
|
|
417
|
-
export type Invoice = {
|
|
418
|
-
/**
|
|
419
|
-
* Unique identifier of the invoice. UUID v4 string in canonical form
|
|
420
|
-
*/
|
|
421
|
-
id?: string;
|
|
422
|
-
/**
|
|
423
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
424
|
-
*/
|
|
425
|
-
organizationId?: string;
|
|
426
|
-
/**
|
|
427
|
-
* Status of the invoice
|
|
428
|
-
*/
|
|
429
|
-
status?: 'DRAFT' | 'COMMITTED' | 'VOID';
|
|
430
|
-
/**
|
|
431
|
-
* Total amount of the invoice
|
|
432
|
-
*/
|
|
433
|
-
amount?: number;
|
|
434
|
-
/**
|
|
435
|
-
* Currency of the invoice
|
|
436
|
-
*/
|
|
437
|
-
currency?: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SPL' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TVD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWD' | 'BTC';
|
|
438
|
-
/**
|
|
439
|
-
* Total amount of credit adjustments
|
|
440
|
-
*/
|
|
441
|
-
creditAdj?: number;
|
|
442
|
-
/**
|
|
443
|
-
* Total amount of refund adjustments
|
|
444
|
-
*/
|
|
445
|
-
refundAdj?: number;
|
|
446
|
-
/**
|
|
447
|
-
* Date of the invoice
|
|
448
|
-
*/
|
|
449
|
-
invoiceDate?: string;
|
|
450
|
-
/**
|
|
451
|
-
* Target date of the invoice
|
|
452
|
-
*/
|
|
453
|
-
targetDate?: string;
|
|
454
|
-
/**
|
|
455
|
-
* Number of the invoice
|
|
456
|
-
*/
|
|
457
|
-
invoiceNumber?: string;
|
|
458
|
-
/**
|
|
459
|
-
* Balance of the invoice
|
|
460
|
-
*/
|
|
461
|
-
balance?: number;
|
|
462
|
-
/**
|
|
463
|
-
* Bundle keys of the invoice
|
|
464
|
-
*/
|
|
465
|
-
bundleKeys?: string;
|
|
466
|
-
/**
|
|
467
|
-
* Credits of the invoice
|
|
468
|
-
*/
|
|
469
|
-
credits?: Array<{
|
|
470
|
-
/**
|
|
471
|
-
* Unique identifier of the invoice item. UUID v4 string in canonical form
|
|
472
|
-
*/
|
|
473
|
-
id?: string;
|
|
474
|
-
/**
|
|
475
|
-
* Unique identifier of the linked invoice item. UUID v4 string in canonical form
|
|
476
|
-
*/
|
|
477
|
-
linkedInvoiceItemId?: string;
|
|
478
|
-
/**
|
|
479
|
-
* Name of the product
|
|
480
|
-
*/
|
|
481
|
-
productName?: string;
|
|
482
|
-
/**
|
|
483
|
-
* Name of the plan
|
|
484
|
-
*/
|
|
485
|
-
planName?: string;
|
|
486
|
-
/**
|
|
487
|
-
* Name of the phase
|
|
488
|
-
*/
|
|
489
|
-
phaseName?: string;
|
|
490
|
-
/**
|
|
491
|
-
* Name of the usage
|
|
492
|
-
*/
|
|
493
|
-
usageName?: string;
|
|
494
|
-
/**
|
|
495
|
-
* Pretty name of the product
|
|
496
|
-
*/
|
|
497
|
-
prettyProductName?: string;
|
|
498
|
-
/**
|
|
499
|
-
* Pretty name of the plan
|
|
500
|
-
*/
|
|
501
|
-
prettyPlanName?: string;
|
|
502
|
-
/**
|
|
503
|
-
* Pretty name of the phase
|
|
504
|
-
*/
|
|
505
|
-
prettyPhaseName?: string;
|
|
506
|
-
/**
|
|
507
|
-
* Pretty name of the usage
|
|
508
|
-
*/
|
|
509
|
-
prettyUsageName?: string;
|
|
510
|
-
/**
|
|
511
|
-
* Type of the invoice item
|
|
512
|
-
*/
|
|
513
|
-
itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
|
|
514
|
-
/**
|
|
515
|
-
* Description of the invoice item
|
|
516
|
-
*/
|
|
517
|
-
description?: string;
|
|
518
|
-
/**
|
|
519
|
-
* Start date of the invoice item
|
|
520
|
-
*/
|
|
521
|
-
startDate?: string;
|
|
522
|
-
/**
|
|
523
|
-
* End date of the invoice item
|
|
524
|
-
*/
|
|
525
|
-
endDate?: string;
|
|
526
|
-
/**
|
|
527
|
-
* Amount of the invoice item
|
|
528
|
-
*/
|
|
529
|
-
amount?: number;
|
|
530
|
-
/**
|
|
531
|
-
* Rate of the invoice item
|
|
532
|
-
*/
|
|
533
|
-
rate?: number;
|
|
534
|
-
/**
|
|
535
|
-
* Currency of the invoice item
|
|
536
|
-
*/
|
|
537
|
-
currency?: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SPL' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TVD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWD' | 'BTC';
|
|
538
|
-
/**
|
|
539
|
-
* Quantity of the invoice item
|
|
540
|
-
*/
|
|
541
|
-
quantity?: number;
|
|
542
|
-
/**
|
|
543
|
-
* Details of the invoice item
|
|
544
|
-
*/
|
|
545
|
-
itemDetails?: string;
|
|
546
|
-
/**
|
|
547
|
-
* Effective date of the catalog
|
|
548
|
-
*/
|
|
549
|
-
catalogEffectiveDate?: string;
|
|
550
|
-
/**
|
|
551
|
-
* Child items of the invoice item
|
|
552
|
-
*/
|
|
553
|
-
childItems?: Array<Array<unknown> | boolean | number | {
|
|
554
|
-
[key: string]: unknown;
|
|
555
|
-
} | string>;
|
|
556
|
-
}>;
|
|
557
|
-
/**
|
|
558
|
-
* Items of the invoice
|
|
559
|
-
*/
|
|
560
|
-
items?: Array<{
|
|
561
|
-
/**
|
|
562
|
-
* Unique identifier of the invoice item. UUID v4 string in canonical form
|
|
563
|
-
*/
|
|
564
|
-
id?: string;
|
|
565
|
-
/**
|
|
566
|
-
* Unique identifier of the linked invoice item. UUID v4 string in canonical form
|
|
567
|
-
*/
|
|
568
|
-
linkedInvoiceItemId?: string;
|
|
569
|
-
/**
|
|
570
|
-
* Name of the product
|
|
571
|
-
*/
|
|
572
|
-
productName?: string;
|
|
573
|
-
/**
|
|
574
|
-
* Name of the plan
|
|
575
|
-
*/
|
|
576
|
-
planName?: string;
|
|
577
|
-
/**
|
|
578
|
-
* Name of the phase
|
|
579
|
-
*/
|
|
580
|
-
phaseName?: string;
|
|
581
|
-
/**
|
|
582
|
-
* Name of the usage
|
|
583
|
-
*/
|
|
584
|
-
usageName?: string;
|
|
585
|
-
/**
|
|
586
|
-
* Pretty name of the product
|
|
587
|
-
*/
|
|
588
|
-
prettyProductName?: string;
|
|
589
|
-
/**
|
|
590
|
-
* Pretty name of the plan
|
|
591
|
-
*/
|
|
592
|
-
prettyPlanName?: string;
|
|
593
|
-
/**
|
|
594
|
-
* Pretty name of the phase
|
|
595
|
-
*/
|
|
596
|
-
prettyPhaseName?: string;
|
|
597
|
-
/**
|
|
598
|
-
* Pretty name of the usage
|
|
599
|
-
*/
|
|
600
|
-
prettyUsageName?: string;
|
|
601
|
-
/**
|
|
602
|
-
* Type of the invoice item
|
|
603
|
-
*/
|
|
604
|
-
itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
|
|
605
|
-
/**
|
|
606
|
-
* Description of the invoice item
|
|
607
|
-
*/
|
|
608
|
-
description?: string;
|
|
609
|
-
/**
|
|
610
|
-
* Start date of the invoice item
|
|
611
|
-
*/
|
|
612
|
-
startDate?: string;
|
|
613
|
-
/**
|
|
614
|
-
* End date of the invoice item
|
|
615
|
-
*/
|
|
616
|
-
endDate?: string;
|
|
617
|
-
/**
|
|
618
|
-
* Amount of the invoice item
|
|
619
|
-
*/
|
|
620
|
-
amount?: number;
|
|
621
|
-
/**
|
|
622
|
-
* Rate of the invoice item
|
|
623
|
-
*/
|
|
624
|
-
rate?: number;
|
|
625
|
-
/**
|
|
626
|
-
* Currency of the invoice item
|
|
627
|
-
*/
|
|
628
|
-
currency?: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SPL' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TVD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWD' | 'BTC';
|
|
629
|
-
/**
|
|
630
|
-
* Quantity of the invoice item
|
|
631
|
-
*/
|
|
632
|
-
quantity?: number;
|
|
633
|
-
/**
|
|
634
|
-
* Details of the invoice item
|
|
635
|
-
*/
|
|
636
|
-
itemDetails?: string;
|
|
637
|
-
/**
|
|
638
|
-
* Effective date of the catalog
|
|
639
|
-
*/
|
|
640
|
-
catalogEffectiveDate?: string;
|
|
641
|
-
/**
|
|
642
|
-
* Child items of the invoice item
|
|
643
|
-
*/
|
|
644
|
-
childItems?: Array<Array<unknown> | boolean | number | {
|
|
645
|
-
[key: string]: unknown;
|
|
646
|
-
} | string>;
|
|
647
|
-
}>;
|
|
648
|
-
};
|
|
649
|
-
export type OrganizationContactInfo = {
|
|
409
|
+
organization_id?: string;
|
|
650
410
|
/**
|
|
651
|
-
*
|
|
411
|
+
* Creation date of the project. ISO 8601 date string in UTC timezone
|
|
652
412
|
*/
|
|
653
|
-
|
|
413
|
+
date_created: string;
|
|
654
414
|
/**
|
|
655
|
-
*
|
|
415
|
+
* User email address.
|
|
656
416
|
*/
|
|
657
|
-
|
|
417
|
+
email?: string;
|
|
658
418
|
/**
|
|
659
|
-
*
|
|
419
|
+
* Generated unique invite code.
|
|
660
420
|
*/
|
|
661
|
-
|
|
421
|
+
code?: string;
|
|
422
|
+
};
|
|
423
|
+
export type Invoice = {
|
|
662
424
|
/**
|
|
663
|
-
*
|
|
425
|
+
* Unique identifier of the invoice. UUID v4 string in canonical form
|
|
664
426
|
*/
|
|
665
|
-
|
|
427
|
+
id?: string;
|
|
428
|
+
number?: string;
|
|
666
429
|
/**
|
|
667
|
-
*
|
|
430
|
+
* Status of the invoice
|
|
668
431
|
*/
|
|
669
|
-
|
|
432
|
+
status?: string;
|
|
670
433
|
/**
|
|
671
|
-
*
|
|
434
|
+
* Total amount of the invoice
|
|
672
435
|
*/
|
|
673
|
-
|
|
436
|
+
total?: number;
|
|
674
437
|
/**
|
|
675
|
-
*
|
|
438
|
+
* Currency of the invoice
|
|
676
439
|
*/
|
|
677
|
-
|
|
440
|
+
currency?: string;
|
|
678
441
|
/**
|
|
679
|
-
*
|
|
442
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
680
443
|
*/
|
|
681
|
-
|
|
444
|
+
created: string;
|
|
682
445
|
/**
|
|
683
|
-
*
|
|
446
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
684
447
|
*/
|
|
685
|
-
|
|
448
|
+
period_start: string;
|
|
686
449
|
/**
|
|
687
|
-
*
|
|
450
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
688
451
|
*/
|
|
689
|
-
|
|
452
|
+
period_end: string;
|
|
453
|
+
invoice_pdf?: string;
|
|
690
454
|
};
|
|
691
|
-
export type
|
|
455
|
+
export type MarketplaceListing = {
|
|
692
456
|
/**
|
|
693
|
-
*
|
|
457
|
+
* Id of the chart listing
|
|
458
|
+
*/
|
|
459
|
+
id: string;
|
|
460
|
+
/**
|
|
461
|
+
* Name of the chart listing
|
|
694
462
|
*/
|
|
695
463
|
name: string;
|
|
696
464
|
/**
|
|
697
|
-
*
|
|
465
|
+
* Author of the chart listing
|
|
698
466
|
*/
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
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;
|
|
467
|
+
developer: string;
|
|
468
|
+
/**
|
|
469
|
+
* Short description of the chart listing
|
|
470
|
+
*/
|
|
471
|
+
description: string;
|
|
472
|
+
/**
|
|
473
|
+
* Logo of the chart listing
|
|
474
|
+
*/
|
|
475
|
+
logoUrl: string;
|
|
476
|
+
/**
|
|
477
|
+
* Long description of the chart listing
|
|
478
|
+
*/
|
|
479
|
+
longDescription: string;
|
|
480
|
+
/**
|
|
481
|
+
* Tags of the chart
|
|
482
|
+
*/
|
|
483
|
+
categories: Array<string>;
|
|
484
|
+
version_channels: Array<string>;
|
|
485
|
+
value_schemas: Array<{
|
|
728
486
|
/**
|
|
729
|
-
*
|
|
487
|
+
* Version of the chart.
|
|
730
488
|
*/
|
|
731
|
-
|
|
489
|
+
version: string;
|
|
732
490
|
/**
|
|
733
|
-
*
|
|
491
|
+
* Schema of the chart values. JSON Schema as string
|
|
734
492
|
*/
|
|
735
|
-
|
|
493
|
+
schema: string;
|
|
736
494
|
/**
|
|
737
|
-
*
|
|
495
|
+
* Schema of the chart values
|
|
738
496
|
*/
|
|
739
|
-
|
|
740
|
-
}
|
|
497
|
+
placeholder: string;
|
|
498
|
+
}>;
|
|
499
|
+
};
|
|
500
|
+
export type OrganizationCreateInput = {
|
|
741
501
|
/**
|
|
742
|
-
*
|
|
502
|
+
* Email address used for billing as a string.
|
|
743
503
|
*/
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
504
|
+
email: string;
|
|
505
|
+
/**
|
|
506
|
+
* First name of the billing contact person.
|
|
507
|
+
*/
|
|
508
|
+
first_name: string;
|
|
509
|
+
/**
|
|
510
|
+
* Last name of the billing contact person.
|
|
511
|
+
*/
|
|
512
|
+
last_name: string;
|
|
747
513
|
/**
|
|
748
514
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
749
515
|
*/
|
|
750
|
-
|
|
516
|
+
company_name: string;
|
|
751
517
|
/**
|
|
752
|
-
*
|
|
518
|
+
* 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.
|
|
753
519
|
*/
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
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
|
-
};
|
|
520
|
+
password: string;
|
|
521
|
+
};
|
|
522
|
+
export type Organization = {
|
|
796
523
|
/**
|
|
797
524
|
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
798
525
|
*/
|
|
799
526
|
id: string;
|
|
527
|
+
/**
|
|
528
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
529
|
+
*/
|
|
530
|
+
name?: string;
|
|
800
531
|
/**
|
|
801
532
|
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
802
533
|
*/
|
|
@@ -825,10 +556,6 @@ export type Organization = {
|
|
|
825
556
|
* Maximum number of fleets that can be created per cluster.
|
|
826
557
|
*/
|
|
827
558
|
fleets_max: number;
|
|
828
|
-
/**
|
|
829
|
-
* Maximum number of CPU cores per managed fleet.
|
|
830
|
-
*/
|
|
831
|
-
managed_fleets_cpu_max: number;
|
|
832
559
|
/**
|
|
833
560
|
* List of Cloudfleet cluster tiers available for the organization.
|
|
834
561
|
*/
|
|
@@ -851,66 +578,11 @@ export type Organization = {
|
|
|
851
578
|
label: string;
|
|
852
579
|
}>;
|
|
853
580
|
};
|
|
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
581
|
/**
|
|
859
582
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
860
583
|
*/
|
|
861
584
|
status: 'active' | 'closed' | 'suspended';
|
|
862
585
|
};
|
|
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
586
|
export type PaymentMethod = {
|
|
915
587
|
/**
|
|
916
588
|
* Unique identifier of the organization. UUID v4 string in canonical form.
|
|
@@ -985,18 +657,33 @@ export type TokenUpdateInput = {
|
|
|
985
657
|
};
|
|
986
658
|
export type Usage = {
|
|
987
659
|
/**
|
|
988
|
-
*
|
|
660
|
+
* Hour of the usage
|
|
989
661
|
*/
|
|
990
|
-
|
|
662
|
+
hour?: string;
|
|
663
|
+
/**
|
|
664
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
665
|
+
*/
|
|
666
|
+
cluster_id: string;
|
|
667
|
+
/**
|
|
668
|
+
* Tier of the cluster.
|
|
669
|
+
*/
|
|
670
|
+
cluster_tier: 'basic' | 'pro' | '';
|
|
671
|
+
/**
|
|
672
|
+
* The product the usage is associated with
|
|
673
|
+
*/
|
|
674
|
+
product: 'cfke_controlplane' | 'cfke_connected_nodes' | 'infra_compute' | 'infra_storage' | 'infra_loadbalancing' | 'infra_traffic' | 'cfcr_storage';
|
|
991
675
|
/**
|
|
992
|
-
*
|
|
676
|
+
* Name of the Kubernetes node
|
|
993
677
|
*/
|
|
994
|
-
|
|
678
|
+
node_name: string;
|
|
995
679
|
/**
|
|
996
|
-
*
|
|
680
|
+
* SKU of the Kubernetes node
|
|
997
681
|
*/
|
|
998
|
-
|
|
999
|
-
|
|
682
|
+
sku: string;
|
|
683
|
+
cpu: number | '';
|
|
684
|
+
price: number | '';
|
|
685
|
+
value: number | '';
|
|
686
|
+
total: number | '';
|
|
1000
687
|
};
|
|
1001
688
|
export type UserCreateInput = {
|
|
1002
689
|
/**
|
|
@@ -1016,7 +703,7 @@ export type UserCreateInput = {
|
|
|
1016
703
|
*/
|
|
1017
704
|
code: string;
|
|
1018
705
|
/**
|
|
1019
|
-
* User password. Must be at least 8 characters long
|
|
706
|
+
* User password. Must be at least 8 characters long.
|
|
1020
707
|
*/
|
|
1021
708
|
password: string;
|
|
1022
709
|
/**
|
|
@@ -1057,16 +744,6 @@ export type User = {
|
|
|
1057
744
|
* Creation date of the user. ISO 8601 date string in UTC timezone
|
|
1058
745
|
*/
|
|
1059
746
|
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
747
|
};
|
|
1071
748
|
export type UserUpdateInput = {
|
|
1072
749
|
/**
|
|
@@ -1093,16 +770,7 @@ export type UserUpdateInput = {
|
|
|
1093
770
|
export type GetUsageData = {
|
|
1094
771
|
body?: never;
|
|
1095
772
|
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
|
-
};
|
|
773
|
+
query?: never;
|
|
1106
774
|
url: '/billing/usage';
|
|
1107
775
|
};
|
|
1108
776
|
export type GetUsageErrors = {
|
|
@@ -1118,19 +786,6 @@ export type GetUsageResponses = {
|
|
|
1118
786
|
200: Array<Usage>;
|
|
1119
787
|
};
|
|
1120
788
|
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
1121
|
-
export type GetBalanceData = {
|
|
1122
|
-
body?: never;
|
|
1123
|
-
path?: never;
|
|
1124
|
-
query?: never;
|
|
1125
|
-
url: '/billing/balance';
|
|
1126
|
-
};
|
|
1127
|
-
export type GetBalanceResponses = {
|
|
1128
|
-
/**
|
|
1129
|
-
* Current balance of the organization in USD as a floating-point number.
|
|
1130
|
-
*/
|
|
1131
|
-
200: number;
|
|
1132
|
-
};
|
|
1133
|
-
export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
|
|
1134
789
|
export type GetPaymentMethodData = {
|
|
1135
790
|
body?: never;
|
|
1136
791
|
path?: never;
|
|
@@ -1154,69 +809,216 @@ export type GetPaymentMethodSecretData = {
|
|
|
1154
809
|
body?: never;
|
|
1155
810
|
path?: never;
|
|
1156
811
|
query?: never;
|
|
1157
|
-
url: '/billing/payment-method';
|
|
812
|
+
url: '/billing/payment-method';
|
|
813
|
+
};
|
|
814
|
+
export type GetPaymentMethodSecretResponses = {
|
|
815
|
+
/**
|
|
816
|
+
* 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.
|
|
817
|
+
*
|
|
818
|
+
*/
|
|
819
|
+
200: {
|
|
820
|
+
/**
|
|
821
|
+
* The client secret.
|
|
822
|
+
*/
|
|
823
|
+
id?: string;
|
|
824
|
+
};
|
|
825
|
+
};
|
|
826
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
827
|
+
export type ListInvoicesData = {
|
|
828
|
+
body?: never;
|
|
829
|
+
path?: never;
|
|
830
|
+
query?: never;
|
|
831
|
+
url: '/billing/invoices';
|
|
832
|
+
};
|
|
833
|
+
export type ListInvoicesErrors = {
|
|
834
|
+
/**
|
|
835
|
+
* Not authenticated
|
|
836
|
+
*/
|
|
837
|
+
401: unknown;
|
|
838
|
+
};
|
|
839
|
+
export type ListInvoicesResponses = {
|
|
840
|
+
/**
|
|
841
|
+
* An array of usage records.
|
|
842
|
+
*/
|
|
843
|
+
200: Array<Invoice>;
|
|
844
|
+
};
|
|
845
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
846
|
+
export type GetContactData = {
|
|
847
|
+
body?: never;
|
|
848
|
+
path?: never;
|
|
849
|
+
query?: never;
|
|
850
|
+
url: '/billing/contact';
|
|
851
|
+
};
|
|
852
|
+
export type GetContactResponses = {
|
|
853
|
+
/**
|
|
854
|
+
* Returns a single object containing organization contact and billing address details.
|
|
855
|
+
*/
|
|
856
|
+
200: BillingContact;
|
|
857
|
+
};
|
|
858
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
859
|
+
export type UpdateContactData = {
|
|
860
|
+
body: BillingContact;
|
|
861
|
+
path?: never;
|
|
862
|
+
query?: never;
|
|
863
|
+
url: '/billing/contact';
|
|
864
|
+
};
|
|
865
|
+
export type UpdateContactResponses = {
|
|
866
|
+
/**
|
|
867
|
+
* Successfully updated. Returns updated organization details.
|
|
868
|
+
*/
|
|
869
|
+
200: BillingContact;
|
|
870
|
+
};
|
|
871
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
872
|
+
export type GetCreditsData = {
|
|
873
|
+
body?: never;
|
|
874
|
+
path?: never;
|
|
875
|
+
query?: never;
|
|
876
|
+
url: '/billing/credits';
|
|
877
|
+
};
|
|
878
|
+
export type GetCreditsErrors = {
|
|
879
|
+
/**
|
|
880
|
+
* Not authenticated
|
|
881
|
+
*/
|
|
882
|
+
401: unknown;
|
|
883
|
+
};
|
|
884
|
+
export type GetCreditsResponses = {
|
|
885
|
+
/**
|
|
886
|
+
* An array of the applied promotional credits records.
|
|
887
|
+
*/
|
|
888
|
+
200: Array<BillingCredits>;
|
|
889
|
+
};
|
|
890
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
891
|
+
export type RedeemCreditsData = {
|
|
892
|
+
body: {
|
|
893
|
+
/**
|
|
894
|
+
* Promotional code to redeem
|
|
895
|
+
*/
|
|
896
|
+
code?: string;
|
|
897
|
+
};
|
|
898
|
+
path?: never;
|
|
899
|
+
query?: never;
|
|
900
|
+
url: '/billing/credits';
|
|
901
|
+
};
|
|
902
|
+
export type RedeemCreditsErrors = {
|
|
903
|
+
/**
|
|
904
|
+
* Not authenticated
|
|
905
|
+
*/
|
|
906
|
+
401: unknown;
|
|
907
|
+
};
|
|
908
|
+
export type RedeemCreditsResponses = {
|
|
909
|
+
/**
|
|
910
|
+
* Successfully created a new organization.
|
|
911
|
+
*/
|
|
912
|
+
200: unknown;
|
|
913
|
+
};
|
|
914
|
+
export type ListChartsData = {
|
|
915
|
+
body?: never;
|
|
916
|
+
path: {
|
|
917
|
+
/**
|
|
918
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
919
|
+
*/
|
|
920
|
+
cluster_id: string;
|
|
921
|
+
};
|
|
922
|
+
query?: never;
|
|
923
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1158
924
|
};
|
|
1159
|
-
export type
|
|
925
|
+
export type ListChartsErrors = {
|
|
1160
926
|
/**
|
|
1161
|
-
*
|
|
1162
|
-
*
|
|
927
|
+
* Not authenticated
|
|
1163
928
|
*/
|
|
1164
|
-
|
|
929
|
+
401: unknown;
|
|
930
|
+
};
|
|
931
|
+
export type ListChartsResponses = {
|
|
932
|
+
/**
|
|
933
|
+
* An array of charts
|
|
934
|
+
*/
|
|
935
|
+
200: Array<Chart>;
|
|
936
|
+
};
|
|
937
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
938
|
+
export type CreateChartData = {
|
|
939
|
+
body: ChartCreateInput;
|
|
940
|
+
path: {
|
|
1165
941
|
/**
|
|
1166
|
-
*
|
|
942
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1167
943
|
*/
|
|
1168
|
-
|
|
944
|
+
cluster_id: string;
|
|
1169
945
|
};
|
|
946
|
+
query?: never;
|
|
947
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1170
948
|
};
|
|
1171
|
-
export type
|
|
1172
|
-
|
|
949
|
+
export type CreateChartResponses = {
|
|
950
|
+
/**
|
|
951
|
+
* Successfully created. Returns created Chart ID.
|
|
952
|
+
*/
|
|
953
|
+
200: string;
|
|
954
|
+
};
|
|
955
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
956
|
+
export type DeleteChartData = {
|
|
1173
957
|
body?: never;
|
|
1174
|
-
path
|
|
1175
|
-
query: {
|
|
958
|
+
path: {
|
|
1176
959
|
/**
|
|
1177
|
-
*
|
|
960
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1178
961
|
*/
|
|
1179
|
-
|
|
962
|
+
cluster_id: string;
|
|
1180
963
|
/**
|
|
1181
|
-
*
|
|
964
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1182
965
|
*/
|
|
1183
|
-
|
|
966
|
+
chart_name: string;
|
|
1184
967
|
};
|
|
1185
|
-
|
|
968
|
+
query?: never;
|
|
969
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1186
970
|
};
|
|
1187
|
-
export type
|
|
971
|
+
export type DeleteChartResponses = {
|
|
1188
972
|
/**
|
|
1189
|
-
*
|
|
973
|
+
* Successfully deleted.
|
|
1190
974
|
*/
|
|
1191
|
-
|
|
975
|
+
200: string;
|
|
1192
976
|
};
|
|
1193
|
-
export type
|
|
977
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
978
|
+
export type GetChartData = {
|
|
979
|
+
body?: never;
|
|
980
|
+
path: {
|
|
981
|
+
/**
|
|
982
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
983
|
+
*/
|
|
984
|
+
cluster_id: string;
|
|
985
|
+
/**
|
|
986
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
987
|
+
*/
|
|
988
|
+
chart_name: string;
|
|
989
|
+
};
|
|
990
|
+
query?: never;
|
|
991
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
992
|
+
};
|
|
993
|
+
export type GetChartResponses = {
|
|
1194
994
|
/**
|
|
1195
|
-
*
|
|
995
|
+
* Returns a single object containing chart details.
|
|
1196
996
|
*/
|
|
1197
|
-
200:
|
|
997
|
+
200: Chart;
|
|
1198
998
|
};
|
|
1199
|
-
export type
|
|
1200
|
-
export type
|
|
1201
|
-
body
|
|
999
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
1000
|
+
export type UpdateChartData = {
|
|
1001
|
+
body: ChartUpdateInput;
|
|
1202
1002
|
path: {
|
|
1203
1003
|
/**
|
|
1204
|
-
* Unique
|
|
1004
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1005
|
+
*/
|
|
1006
|
+
cluster_id: string;
|
|
1007
|
+
/**
|
|
1008
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1205
1009
|
*/
|
|
1206
|
-
|
|
1010
|
+
chart_name: string;
|
|
1207
1011
|
};
|
|
1208
1012
|
query?: never;
|
|
1209
|
-
url: '/
|
|
1013
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1210
1014
|
};
|
|
1211
|
-
export type
|
|
1015
|
+
export type UpdateChartResponses = {
|
|
1212
1016
|
/**
|
|
1213
|
-
*
|
|
1017
|
+
* Successfully updated.
|
|
1214
1018
|
*/
|
|
1215
|
-
200:
|
|
1216
|
-
html?: string;
|
|
1217
|
-
};
|
|
1019
|
+
200: string;
|
|
1218
1020
|
};
|
|
1219
|
-
export type
|
|
1021
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
1220
1022
|
export type ListFleetsData = {
|
|
1221
1023
|
body?: never;
|
|
1222
1024
|
path: {
|
|
@@ -1476,255 +1278,9 @@ export type GetJoinInformationResponses = {
|
|
|
1476
1278
|
/**
|
|
1477
1279
|
* An object of cluster join information
|
|
1478
1280
|
*/
|
|
1479
|
-
200:
|
|
1281
|
+
200: ClusterJoinInformation;
|
|
1480
1282
|
};
|
|
1481
1283
|
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
1284
|
export type ListInvitesData = {
|
|
1729
1285
|
body?: never;
|
|
1730
1286
|
path?: never;
|
|
@@ -1797,6 +1353,43 @@ export type DeleteInviteResponses = {
|
|
|
1797
1353
|
*/
|
|
1798
1354
|
200: unknown;
|
|
1799
1355
|
};
|
|
1356
|
+
export type ListMarketplaceChartsData = {
|
|
1357
|
+
body?: never;
|
|
1358
|
+
path?: never;
|
|
1359
|
+
query?: never;
|
|
1360
|
+
url: '/marketplace';
|
|
1361
|
+
};
|
|
1362
|
+
export type ListMarketplaceChartsErrors = {
|
|
1363
|
+
/**
|
|
1364
|
+
* Not authenticated
|
|
1365
|
+
*/
|
|
1366
|
+
401: unknown;
|
|
1367
|
+
};
|
|
1368
|
+
export type ListMarketplaceChartsResponses = {
|
|
1369
|
+
/**
|
|
1370
|
+
* An array of chart listings in the marketplace.
|
|
1371
|
+
*/
|
|
1372
|
+
200: Array<MarketplaceListing>;
|
|
1373
|
+
};
|
|
1374
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
1375
|
+
export type GetMarketplaceChartData = {
|
|
1376
|
+
body?: never;
|
|
1377
|
+
path: {
|
|
1378
|
+
/**
|
|
1379
|
+
* Unique identifier of the chart listing in the marketplace.
|
|
1380
|
+
*/
|
|
1381
|
+
listing_id: string;
|
|
1382
|
+
};
|
|
1383
|
+
query?: never;
|
|
1384
|
+
url: '/marketplace/{listing_id}';
|
|
1385
|
+
};
|
|
1386
|
+
export type GetMarketplaceChartResponses = {
|
|
1387
|
+
/**
|
|
1388
|
+
* Returns an object containing the chart listing details.
|
|
1389
|
+
*/
|
|
1390
|
+
200: MarketplaceListing;
|
|
1391
|
+
};
|
|
1392
|
+
export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
|
|
1800
1393
|
export type GetOrganizationData = {
|
|
1801
1394
|
body?: never;
|
|
1802
1395
|
path?: never;
|
|
@@ -1818,24 +1411,10 @@ export type CreateOrganizationData = {
|
|
|
1818
1411
|
};
|
|
1819
1412
|
export type CreateOrganizationResponses = {
|
|
1820
1413
|
/**
|
|
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.
|
|
1414
|
+
* Successfully created a new organization.
|
|
1835
1415
|
*/
|
|
1836
|
-
200:
|
|
1416
|
+
200: unknown;
|
|
1837
1417
|
};
|
|
1838
|
-
export type UpdateOrganizationResponse = UpdateOrganizationResponses[keyof UpdateOrganizationResponses];
|
|
1839
1418
|
export type ListTokensData = {
|
|
1840
1419
|
body?: never;
|
|
1841
1420
|
path?: never;
|
|
@@ -2092,53 +1671,4 @@ export type UpdateUserResponses = {
|
|
|
2092
1671
|
200: User;
|
|
2093
1672
|
};
|
|
2094
1673
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
2095
|
-
export type DeleteClusterPermissionsData = {
|
|
2096
|
-
body?: never;
|
|
2097
|
-
path: {
|
|
2098
|
-
/**
|
|
2099
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2100
|
-
*/
|
|
2101
|
-
user_id: string;
|
|
2102
|
-
/**
|
|
2103
|
-
* Unique cluster identifier. UUID v4 string in canonical form
|
|
2104
|
-
*/
|
|
2105
|
-
cluster_id: string;
|
|
2106
|
-
};
|
|
2107
|
-
query?: never;
|
|
2108
|
-
url: '/users/{user_id}/clusters/{cluster_id}';
|
|
2109
|
-
};
|
|
2110
|
-
export type DeleteClusterPermissionsResponses = {
|
|
2111
|
-
/**
|
|
2112
|
-
* Successfully removed user from the cluster. Returns updated user details.
|
|
2113
|
-
*/
|
|
2114
|
-
200: User;
|
|
2115
|
-
};
|
|
2116
|
-
export type DeleteClusterPermissionsResponse = DeleteClusterPermissionsResponses[keyof DeleteClusterPermissionsResponses];
|
|
2117
|
-
export type SetClusterPermissionsData = {
|
|
2118
|
-
body: {
|
|
2119
|
-
/**
|
|
2120
|
-
* Level of permissions for the user to access the cluster
|
|
2121
|
-
*/
|
|
2122
|
-
permissions?: 'readwrite' | 'readonly';
|
|
2123
|
-
};
|
|
2124
|
-
path: {
|
|
2125
|
-
/**
|
|
2126
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2127
|
-
*/
|
|
2128
|
-
user_id: string;
|
|
2129
|
-
/**
|
|
2130
|
-
* Unique cluster identifier. UUID v4 string in canonical form
|
|
2131
|
-
*/
|
|
2132
|
-
cluster_id: string;
|
|
2133
|
-
};
|
|
2134
|
-
query?: never;
|
|
2135
|
-
url: '/users/{user_id}/clusters/{cluster_id}';
|
|
2136
|
-
};
|
|
2137
|
-
export type SetClusterPermissionsResponses = {
|
|
2138
|
-
/**
|
|
2139
|
-
* Successfully created. Returns created user details.
|
|
2140
|
-
*/
|
|
2141
|
-
200: User;
|
|
2142
|
-
};
|
|
2143
|
-
export type SetClusterPermissionsResponse = SetClusterPermissionsResponses[keyof SetClusterPermissionsResponses];
|
|
2144
1674
|
//# sourceMappingURL=types.gen.d.ts.map
|