@cloudfleet/sdk 0.0.1-4ffe368 → 0.0.1-5753ad1
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 +619 -1028
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +640 -1081
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +191 -145
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +253 -148
- 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 +682 -1035
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1742 -2884
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +823 -900
- 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.
|
|
99
|
+
*/
|
|
100
|
+
name: string;
|
|
101
|
+
/**
|
|
102
|
+
* Namespace of the chart deployment
|
|
103
|
+
*/
|
|
104
|
+
namespace: string;
|
|
105
|
+
/**
|
|
106
|
+
* Name of the chart listing
|
|
107
|
+
*/
|
|
108
|
+
chart: string;
|
|
109
|
+
};
|
|
110
|
+
export type Chart = {
|
|
111
|
+
/**
|
|
112
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
113
|
+
*/
|
|
114
|
+
values: string;
|
|
115
|
+
/**
|
|
116
|
+
* Desired version range or channel for the chart.
|
|
117
|
+
*/
|
|
118
|
+
version_channel: string;
|
|
119
|
+
/**
|
|
120
|
+
* Unique identifier of the chart deployment aka name of the helm release.
|
|
4
121
|
*/
|
|
5
122
|
name: string;
|
|
6
123
|
/**
|
|
7
|
-
*
|
|
124
|
+
* Namespace of the chart deployment
|
|
125
|
+
*/
|
|
126
|
+
namespace: string;
|
|
127
|
+
/**
|
|
128
|
+
* Name of the chart listing
|
|
129
|
+
*/
|
|
130
|
+
chart: string;
|
|
131
|
+
/**
|
|
132
|
+
* Status of the chart deployment.
|
|
133
|
+
*/
|
|
134
|
+
status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing' | 'SourceNotReady';
|
|
135
|
+
/**
|
|
136
|
+
* Current version of the chart deployment.
|
|
137
|
+
*/
|
|
138
|
+
version_current: string;
|
|
139
|
+
/**
|
|
140
|
+
* Creation date and time of the chart deployment.
|
|
141
|
+
*/
|
|
142
|
+
created_at: string;
|
|
143
|
+
/**
|
|
144
|
+
* Last update date and time of the chart deployment.
|
|
145
|
+
*/
|
|
146
|
+
updated_at: string;
|
|
147
|
+
/**
|
|
148
|
+
* Indicates if the chart deployment is ready to be used.
|
|
149
|
+
*/
|
|
150
|
+
ready: boolean;
|
|
151
|
+
};
|
|
152
|
+
export type ChartUpdateInput = {
|
|
153
|
+
/**
|
|
154
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
155
|
+
*/
|
|
156
|
+
values: string;
|
|
157
|
+
/**
|
|
158
|
+
* Desired version range or channel for the chart.
|
|
159
|
+
*/
|
|
160
|
+
version_channel: string;
|
|
161
|
+
};
|
|
162
|
+
export type ClusterCreateInput = {
|
|
163
|
+
/**
|
|
164
|
+
* Name of the cluster.
|
|
8
165
|
*/
|
|
9
|
-
|
|
166
|
+
name: string;
|
|
10
167
|
/**
|
|
11
168
|
* Tier of the cluster.
|
|
12
169
|
*/
|
|
13
170
|
tier: 'basic' | 'pro';
|
|
171
|
+
/**
|
|
172
|
+
* Cloudfleet control plane region. One of "staging", "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,10 @@ 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;
|
|
52
217
|
};
|
|
53
218
|
/**
|
|
54
219
|
* OIDC Information for hosts to access to third party API's.
|
|
@@ -73,14 +238,14 @@ export type Cluster = {
|
|
|
73
238
|
* Name of the cluster.
|
|
74
239
|
*/
|
|
75
240
|
name: string;
|
|
76
|
-
/**
|
|
77
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
|
|
78
|
-
*/
|
|
79
|
-
region?: 'staging' | 'northamerica-central-1';
|
|
80
241
|
/**
|
|
81
242
|
* Tier of the cluster.
|
|
82
243
|
*/
|
|
83
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';
|
|
84
249
|
/**
|
|
85
250
|
* Version of the kubernetes cluster.
|
|
86
251
|
*/
|
|
@@ -92,7 +257,7 @@ export type Cluster = {
|
|
|
92
257
|
/**
|
|
93
258
|
* Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
|
|
94
259
|
*/
|
|
95
|
-
status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
260
|
+
status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
96
261
|
endpoint?: string | '';
|
|
97
262
|
/**
|
|
98
263
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
@@ -120,6 +285,10 @@ export type ClusterUpdateInput = {
|
|
|
120
285
|
* Name of the cluster.
|
|
121
286
|
*/
|
|
122
287
|
name?: string;
|
|
288
|
+
/**
|
|
289
|
+
* Tier of the cluster.
|
|
290
|
+
*/
|
|
291
|
+
tier: 'basic' | 'pro';
|
|
123
292
|
/**
|
|
124
293
|
* Version of the kubernetes cluster.
|
|
125
294
|
*/
|
|
@@ -144,10 +313,10 @@ export type FleetCreateInput = {
|
|
|
144
313
|
};
|
|
145
314
|
hetzner?: {
|
|
146
315
|
enabled?: boolean;
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
316
|
+
/**
|
|
317
|
+
* Hetzner Cloud API key with read / write access
|
|
318
|
+
*/
|
|
319
|
+
apiKey: string;
|
|
151
320
|
};
|
|
152
321
|
aws?: {
|
|
153
322
|
enabled?: boolean;
|
|
@@ -160,10 +329,6 @@ export type FleetCreateInput = {
|
|
|
160
329
|
* Unique identifier of the kubernetes fleet.
|
|
161
330
|
*/
|
|
162
331
|
id: string;
|
|
163
|
-
/**
|
|
164
|
-
* Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
|
|
165
|
-
*/
|
|
166
|
-
type: 'managed' | 'connected';
|
|
167
332
|
};
|
|
168
333
|
export type Fleet = {
|
|
169
334
|
/**
|
|
@@ -184,10 +349,10 @@ export type Fleet = {
|
|
|
184
349
|
};
|
|
185
350
|
hetzner?: {
|
|
186
351
|
enabled?: boolean;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
352
|
+
/**
|
|
353
|
+
* Hetzner Cloud API key with read / write access
|
|
354
|
+
*/
|
|
355
|
+
apiKey: string;
|
|
191
356
|
};
|
|
192
357
|
aws?: {
|
|
193
358
|
enabled?: boolean;
|
|
@@ -200,10 +365,6 @@ export type Fleet = {
|
|
|
200
365
|
* Unique identifier of the kubernetes fleet.
|
|
201
366
|
*/
|
|
202
367
|
id: string;
|
|
203
|
-
/**
|
|
204
|
-
* Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
|
|
205
|
-
*/
|
|
206
|
-
type: 'managed' | 'connected';
|
|
207
368
|
};
|
|
208
369
|
export type FleetUpdateInput = {
|
|
209
370
|
/**
|
|
@@ -224,10 +385,10 @@ export type FleetUpdateInput = {
|
|
|
224
385
|
};
|
|
225
386
|
hetzner?: {
|
|
226
387
|
enabled?: boolean;
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
388
|
+
/**
|
|
389
|
+
* Hetzner Cloud API key with read / write access
|
|
390
|
+
*/
|
|
391
|
+
apiKey: string;
|
|
231
392
|
};
|
|
232
393
|
aws?: {
|
|
233
394
|
enabled?: boolean;
|
|
@@ -237,798 +398,385 @@ export type FleetUpdateInput = {
|
|
|
237
398
|
controllerRoleArn: string;
|
|
238
399
|
};
|
|
239
400
|
};
|
|
240
|
-
export type
|
|
401
|
+
export type Invite = {
|
|
241
402
|
/**
|
|
242
|
-
*
|
|
403
|
+
* Unique identifier of the invitation.
|
|
243
404
|
*/
|
|
244
|
-
|
|
405
|
+
id?: string;
|
|
245
406
|
/**
|
|
246
|
-
*
|
|
407
|
+
* Unique identifier of the organization the project belongs to. UUID v4 string in canonical form
|
|
247
408
|
*/
|
|
248
|
-
|
|
409
|
+
organization_id?: string;
|
|
249
410
|
/**
|
|
250
|
-
*
|
|
411
|
+
* Creation date of the project. ISO 8601 date string in UTC timezone
|
|
251
412
|
*/
|
|
252
|
-
|
|
413
|
+
date_created: string;
|
|
253
414
|
/**
|
|
254
|
-
*
|
|
415
|
+
* User email address.
|
|
255
416
|
*/
|
|
256
|
-
|
|
417
|
+
email?: string;
|
|
257
418
|
/**
|
|
258
|
-
*
|
|
419
|
+
* Generated unique invite code.
|
|
259
420
|
*/
|
|
260
|
-
|
|
421
|
+
code?: string;
|
|
422
|
+
};
|
|
423
|
+
export type Invoice = {
|
|
261
424
|
/**
|
|
262
|
-
*
|
|
425
|
+
* Unique identifier of the invoice. UUID v4 string in canonical form
|
|
263
426
|
*/
|
|
264
|
-
|
|
427
|
+
id?: string;
|
|
428
|
+
number?: string;
|
|
265
429
|
/**
|
|
266
|
-
*
|
|
430
|
+
* Status of the invoice
|
|
267
431
|
*/
|
|
268
|
-
|
|
432
|
+
status?: string;
|
|
269
433
|
/**
|
|
270
|
-
*
|
|
434
|
+
* Total amount of the invoice
|
|
271
435
|
*/
|
|
272
|
-
|
|
436
|
+
total?: number;
|
|
273
437
|
/**
|
|
274
|
-
*
|
|
438
|
+
* Currency of the invoice
|
|
275
439
|
*/
|
|
276
|
-
|
|
440
|
+
currency?: string;
|
|
277
441
|
/**
|
|
278
|
-
*
|
|
442
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
279
443
|
*/
|
|
280
|
-
|
|
444
|
+
created: string;
|
|
281
445
|
/**
|
|
282
|
-
*
|
|
446
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
283
447
|
*/
|
|
284
|
-
|
|
448
|
+
period_start: string;
|
|
285
449
|
/**
|
|
286
|
-
*
|
|
450
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
287
451
|
*/
|
|
288
|
-
|
|
452
|
+
period_end: string;
|
|
453
|
+
invoice_pdf?: string;
|
|
454
|
+
};
|
|
455
|
+
export type MarketplaceListing = {
|
|
289
456
|
/**
|
|
290
|
-
*
|
|
457
|
+
* Id of the chart listing
|
|
291
458
|
*/
|
|
292
|
-
|
|
459
|
+
id: string;
|
|
293
460
|
/**
|
|
294
|
-
*
|
|
461
|
+
* Name of the chart listing
|
|
295
462
|
*/
|
|
296
|
-
|
|
463
|
+
name: string;
|
|
297
464
|
/**
|
|
298
|
-
*
|
|
465
|
+
* Author of the chart listing
|
|
299
466
|
*/
|
|
300
|
-
|
|
467
|
+
developer: string;
|
|
301
468
|
/**
|
|
302
|
-
*
|
|
469
|
+
* Short description of the chart listing
|
|
303
470
|
*/
|
|
304
|
-
|
|
471
|
+
description: string;
|
|
305
472
|
/**
|
|
306
|
-
*
|
|
473
|
+
* Logo of the chart listing
|
|
307
474
|
*/
|
|
308
|
-
|
|
475
|
+
logoUrl: string;
|
|
309
476
|
/**
|
|
310
|
-
*
|
|
477
|
+
* Long description of the chart listing
|
|
311
478
|
*/
|
|
312
|
-
|
|
479
|
+
longDescription: string;
|
|
313
480
|
/**
|
|
314
|
-
*
|
|
481
|
+
* Tags of the chart
|
|
315
482
|
*/
|
|
316
|
-
|
|
483
|
+
categories: Array<string>;
|
|
484
|
+
version_channels: Array<string>;
|
|
485
|
+
value_schemas: Array<{
|
|
486
|
+
/**
|
|
487
|
+
* Version of the chart.
|
|
488
|
+
*/
|
|
489
|
+
version: string;
|
|
490
|
+
/**
|
|
491
|
+
* Schema of the chart values. JSON Schema as string
|
|
492
|
+
*/
|
|
493
|
+
schema: string;
|
|
494
|
+
/**
|
|
495
|
+
* Schema of the chart values
|
|
496
|
+
*/
|
|
497
|
+
placeholder: string;
|
|
498
|
+
}>;
|
|
499
|
+
};
|
|
500
|
+
export type OrganizationCreateInput = {
|
|
317
501
|
/**
|
|
318
|
-
*
|
|
502
|
+
* Email address used for billing as a string.
|
|
319
503
|
*/
|
|
320
|
-
|
|
504
|
+
email: string;
|
|
321
505
|
/**
|
|
322
|
-
*
|
|
506
|
+
* First name of the billing contact person.
|
|
323
507
|
*/
|
|
324
|
-
|
|
508
|
+
first_name: string;
|
|
325
509
|
/**
|
|
326
|
-
*
|
|
510
|
+
* Last name of the billing contact person.
|
|
327
511
|
*/
|
|
328
|
-
|
|
329
|
-
};
|
|
330
|
-
export type InfrastructureInstance = {
|
|
512
|
+
last_name: string;
|
|
331
513
|
/**
|
|
332
|
-
*
|
|
514
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
333
515
|
*/
|
|
334
|
-
|
|
516
|
+
company_name: string;
|
|
335
517
|
/**
|
|
336
|
-
*
|
|
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.
|
|
337
519
|
*/
|
|
338
|
-
|
|
520
|
+
password: string;
|
|
521
|
+
};
|
|
522
|
+
export type Organization = {
|
|
339
523
|
/**
|
|
340
|
-
*
|
|
524
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
341
525
|
*/
|
|
342
|
-
|
|
526
|
+
id: string;
|
|
343
527
|
/**
|
|
344
|
-
*
|
|
528
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
345
529
|
*/
|
|
346
|
-
|
|
530
|
+
name?: string;
|
|
347
531
|
/**
|
|
348
|
-
*
|
|
532
|
+
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
349
533
|
*/
|
|
350
|
-
|
|
534
|
+
date_created: string;
|
|
351
535
|
/**
|
|
352
|
-
*
|
|
536
|
+
* For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.
|
|
353
537
|
*/
|
|
354
|
-
|
|
538
|
+
quota: {
|
|
539
|
+
/**
|
|
540
|
+
* Maximum number of Basic clusters that can be created.
|
|
541
|
+
*/
|
|
542
|
+
basic_clusters_max: number;
|
|
543
|
+
/**
|
|
544
|
+
* Available number of Basic clusters that can be created.
|
|
545
|
+
*/
|
|
546
|
+
basic_clusters_available: number;
|
|
547
|
+
/**
|
|
548
|
+
* Maximum number of Pro clusters that can be created.
|
|
549
|
+
*/
|
|
550
|
+
pro_clusters_max: number;
|
|
551
|
+
/**
|
|
552
|
+
* Available number of Pro clusters that can be created.
|
|
553
|
+
*/
|
|
554
|
+
pro_clusters_available: number;
|
|
555
|
+
/**
|
|
556
|
+
* Maximum number of fleets that can be created per cluster.
|
|
557
|
+
*/
|
|
558
|
+
fleets_max: number;
|
|
559
|
+
/**
|
|
560
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
561
|
+
*/
|
|
562
|
+
cluster_tiers: Array<string>;
|
|
563
|
+
/**
|
|
564
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
565
|
+
*/
|
|
566
|
+
regions: Array<string>;
|
|
567
|
+
/**
|
|
568
|
+
* List of CFKE control plane versions available for the organization.
|
|
569
|
+
*/
|
|
570
|
+
versions: Array<{
|
|
571
|
+
/**
|
|
572
|
+
* Id of the control plane version. Used in API calls.
|
|
573
|
+
*/
|
|
574
|
+
id: string;
|
|
575
|
+
/**
|
|
576
|
+
* Label of the control plane version. Used in frontent UI.
|
|
577
|
+
*/
|
|
578
|
+
label: string;
|
|
579
|
+
}>;
|
|
580
|
+
};
|
|
355
581
|
/**
|
|
356
|
-
*
|
|
582
|
+
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
357
583
|
*/
|
|
358
|
-
|
|
584
|
+
status: 'active' | 'closed' | 'suspended';
|
|
585
|
+
};
|
|
586
|
+
export type PaymentMethod = {
|
|
359
587
|
/**
|
|
360
|
-
*
|
|
588
|
+
* Unique identifier of the organization. UUID v4 string in canonical form.
|
|
361
589
|
*/
|
|
362
|
-
|
|
590
|
+
id: string;
|
|
363
591
|
/**
|
|
364
|
-
*
|
|
592
|
+
* Whether organization payment method was set up and ready to use for payments.
|
|
365
593
|
*/
|
|
366
|
-
|
|
594
|
+
setup: boolean;
|
|
367
595
|
/**
|
|
368
|
-
*
|
|
596
|
+
* Payment method type type. Only `card` payments supported at the moment.
|
|
369
597
|
*/
|
|
370
|
-
|
|
598
|
+
type: 'card';
|
|
371
599
|
/**
|
|
372
|
-
*
|
|
600
|
+
* Last 4 digits of the payment card number.
|
|
373
601
|
*/
|
|
374
|
-
|
|
602
|
+
last4: string;
|
|
375
603
|
/**
|
|
376
|
-
*
|
|
604
|
+
* Two-digit number representing the card's expiration month.
|
|
377
605
|
*/
|
|
378
|
-
|
|
606
|
+
exp_month: number;
|
|
379
607
|
/**
|
|
380
|
-
*
|
|
608
|
+
* Four-digit number representing the card's expiration year.
|
|
381
609
|
*/
|
|
382
|
-
|
|
610
|
+
exp_year: number;
|
|
383
611
|
/**
|
|
384
|
-
*
|
|
612
|
+
* Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
385
613
|
*/
|
|
386
|
-
|
|
614
|
+
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
615
|
+
};
|
|
616
|
+
export type PlatformQuota = {
|
|
387
617
|
/**
|
|
388
|
-
*
|
|
618
|
+
* Maximum number of Basic clusters that can be created.
|
|
389
619
|
*/
|
|
390
|
-
|
|
620
|
+
basic_clusters_max: number;
|
|
391
621
|
/**
|
|
392
|
-
*
|
|
622
|
+
* Available number of Basic clusters that can be created.
|
|
393
623
|
*/
|
|
394
|
-
|
|
624
|
+
basic_clusters_available: number;
|
|
395
625
|
/**
|
|
396
|
-
* Maximum number of
|
|
626
|
+
* Maximum number of Pro clusters that can be created.
|
|
397
627
|
*/
|
|
398
|
-
|
|
628
|
+
pro_clusters_max: number;
|
|
399
629
|
/**
|
|
400
|
-
*
|
|
630
|
+
* Available number of Pro clusters that can be created.
|
|
401
631
|
*/
|
|
402
|
-
|
|
632
|
+
pro_clusters_available: number;
|
|
403
633
|
/**
|
|
404
|
-
*
|
|
634
|
+
* Maximum number of fleets that can be created per cluster.
|
|
405
635
|
*/
|
|
406
|
-
|
|
636
|
+
fleets_max: number;
|
|
407
637
|
/**
|
|
408
|
-
*
|
|
638
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
409
639
|
*/
|
|
410
|
-
|
|
411
|
-
};
|
|
412
|
-
export type Invite = {
|
|
640
|
+
cluster_tiers: Array<string>;
|
|
413
641
|
/**
|
|
414
|
-
*
|
|
642
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
415
643
|
*/
|
|
416
|
-
|
|
644
|
+
regions: Array<string>;
|
|
417
645
|
/**
|
|
418
|
-
*
|
|
646
|
+
* List of CFKE control plane versions available for the organization.
|
|
419
647
|
*/
|
|
420
|
-
|
|
648
|
+
versions: Array<{
|
|
649
|
+
/**
|
|
650
|
+
* Id of the control plane version. Used in API calls.
|
|
651
|
+
*/
|
|
652
|
+
id: string;
|
|
653
|
+
/**
|
|
654
|
+
* Label of the control plane version. Used in frontent UI.
|
|
655
|
+
*/
|
|
656
|
+
label: string;
|
|
657
|
+
}>;
|
|
658
|
+
};
|
|
659
|
+
export type TokenCreateInput = {
|
|
421
660
|
/**
|
|
422
|
-
*
|
|
661
|
+
* Human readable access token name.
|
|
423
662
|
*/
|
|
424
|
-
|
|
425
|
-
/**
|
|
426
|
-
* User email address.
|
|
427
|
-
*/
|
|
428
|
-
email?: string;
|
|
663
|
+
name: string;
|
|
429
664
|
/**
|
|
430
|
-
*
|
|
665
|
+
* Role assumed by the token.
|
|
431
666
|
*/
|
|
432
|
-
|
|
667
|
+
role: 'Administrator' | 'User';
|
|
433
668
|
};
|
|
434
|
-
export type
|
|
435
|
-
/**
|
|
436
|
-
* Unique identifier of the invoice. UUID v4 string in canonical form
|
|
437
|
-
*/
|
|
438
|
-
id?: string;
|
|
439
|
-
/**
|
|
440
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
441
|
-
*/
|
|
442
|
-
organizationId?: string;
|
|
443
|
-
/**
|
|
444
|
-
* Status of the invoice
|
|
445
|
-
*/
|
|
446
|
-
status?: 'DRAFT' | 'COMMITTED' | 'VOID';
|
|
447
|
-
/**
|
|
448
|
-
* Total amount of the invoice
|
|
449
|
-
*/
|
|
450
|
-
amount?: number;
|
|
451
|
-
/**
|
|
452
|
-
* Currency of the invoice
|
|
453
|
-
*/
|
|
454
|
-
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';
|
|
455
|
-
/**
|
|
456
|
-
* Total amount of credit adjustments
|
|
457
|
-
*/
|
|
458
|
-
creditAdj?: number;
|
|
459
|
-
/**
|
|
460
|
-
* Total amount of refund adjustments
|
|
461
|
-
*/
|
|
462
|
-
refundAdj?: number;
|
|
463
|
-
/**
|
|
464
|
-
* Date of the invoice
|
|
465
|
-
*/
|
|
466
|
-
invoiceDate?: string;
|
|
467
|
-
/**
|
|
468
|
-
* Target date of the invoice
|
|
469
|
-
*/
|
|
470
|
-
targetDate?: string;
|
|
669
|
+
export type Token = {
|
|
471
670
|
/**
|
|
472
|
-
*
|
|
671
|
+
* Human readable access token name.
|
|
473
672
|
*/
|
|
474
|
-
|
|
673
|
+
name: string;
|
|
475
674
|
/**
|
|
476
|
-
*
|
|
675
|
+
* Role assumed by the token.
|
|
477
676
|
*/
|
|
478
|
-
|
|
677
|
+
role: 'Administrator' | 'User';
|
|
479
678
|
/**
|
|
480
|
-
*
|
|
679
|
+
* Generated unique identifier of the access token.
|
|
481
680
|
*/
|
|
482
|
-
|
|
681
|
+
id?: string;
|
|
483
682
|
/**
|
|
484
|
-
*
|
|
683
|
+
* Access token secret. Unmasked only during creation.
|
|
485
684
|
*/
|
|
486
|
-
|
|
487
|
-
/**
|
|
488
|
-
* Unique identifier of the invoice item. UUID v4 string in canonical form
|
|
489
|
-
*/
|
|
490
|
-
id?: string;
|
|
491
|
-
/**
|
|
492
|
-
* Unique identifier of the linked invoice item. UUID v4 string in canonical form
|
|
493
|
-
*/
|
|
494
|
-
linkedInvoiceItemId?: string;
|
|
495
|
-
/**
|
|
496
|
-
* Name of the product
|
|
497
|
-
*/
|
|
498
|
-
productName?: string;
|
|
499
|
-
/**
|
|
500
|
-
* Name of the plan
|
|
501
|
-
*/
|
|
502
|
-
planName?: string;
|
|
503
|
-
/**
|
|
504
|
-
* Name of the phase
|
|
505
|
-
*/
|
|
506
|
-
phaseName?: string;
|
|
507
|
-
/**
|
|
508
|
-
* Name of the usage
|
|
509
|
-
*/
|
|
510
|
-
usageName?: string;
|
|
511
|
-
/**
|
|
512
|
-
* Pretty name of the product
|
|
513
|
-
*/
|
|
514
|
-
prettyProductName?: string;
|
|
515
|
-
/**
|
|
516
|
-
* Pretty name of the plan
|
|
517
|
-
*/
|
|
518
|
-
prettyPlanName?: string;
|
|
519
|
-
/**
|
|
520
|
-
* Pretty name of the phase
|
|
521
|
-
*/
|
|
522
|
-
prettyPhaseName?: string;
|
|
523
|
-
/**
|
|
524
|
-
* Pretty name of the usage
|
|
525
|
-
*/
|
|
526
|
-
prettyUsageName?: string;
|
|
527
|
-
/**
|
|
528
|
-
* Type of the invoice item
|
|
529
|
-
*/
|
|
530
|
-
itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
|
|
531
|
-
/**
|
|
532
|
-
* Description of the invoice item
|
|
533
|
-
*/
|
|
534
|
-
description?: string;
|
|
535
|
-
/**
|
|
536
|
-
* Start date of the invoice item
|
|
537
|
-
*/
|
|
538
|
-
startDate?: string;
|
|
539
|
-
/**
|
|
540
|
-
* End date of the invoice item
|
|
541
|
-
*/
|
|
542
|
-
endDate?: string;
|
|
543
|
-
/**
|
|
544
|
-
* Amount of the invoice item
|
|
545
|
-
*/
|
|
546
|
-
amount?: number;
|
|
547
|
-
/**
|
|
548
|
-
* Rate of the invoice item
|
|
549
|
-
*/
|
|
550
|
-
rate?: number;
|
|
551
|
-
/**
|
|
552
|
-
* Currency of the invoice item
|
|
553
|
-
*/
|
|
554
|
-
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';
|
|
555
|
-
/**
|
|
556
|
-
* Quantity of the invoice item
|
|
557
|
-
*/
|
|
558
|
-
quantity?: number;
|
|
559
|
-
/**
|
|
560
|
-
* Details of the invoice item
|
|
561
|
-
*/
|
|
562
|
-
itemDetails?: string;
|
|
563
|
-
/**
|
|
564
|
-
* Effective date of the catalog
|
|
565
|
-
*/
|
|
566
|
-
catalogEffectiveDate?: string;
|
|
567
|
-
/**
|
|
568
|
-
* Child items of the invoice item
|
|
569
|
-
*/
|
|
570
|
-
childItems?: Array<Array<unknown> | boolean | number | {
|
|
571
|
-
[key: string]: unknown;
|
|
572
|
-
} | string>;
|
|
573
|
-
}>;
|
|
685
|
+
secret?: string;
|
|
574
686
|
/**
|
|
575
|
-
*
|
|
687
|
+
* Creation date of the access token. ISO 8601 date string in UTC timezone
|
|
576
688
|
*/
|
|
577
|
-
|
|
578
|
-
/**
|
|
579
|
-
* Unique identifier of the invoice item. UUID v4 string in canonical form
|
|
580
|
-
*/
|
|
581
|
-
id?: string;
|
|
582
|
-
/**
|
|
583
|
-
* Unique identifier of the linked invoice item. UUID v4 string in canonical form
|
|
584
|
-
*/
|
|
585
|
-
linkedInvoiceItemId?: string;
|
|
586
|
-
/**
|
|
587
|
-
* Name of the product
|
|
588
|
-
*/
|
|
589
|
-
productName?: string;
|
|
590
|
-
/**
|
|
591
|
-
* Name of the plan
|
|
592
|
-
*/
|
|
593
|
-
planName?: string;
|
|
594
|
-
/**
|
|
595
|
-
* Name of the phase
|
|
596
|
-
*/
|
|
597
|
-
phaseName?: string;
|
|
598
|
-
/**
|
|
599
|
-
* Name of the usage
|
|
600
|
-
*/
|
|
601
|
-
usageName?: string;
|
|
602
|
-
/**
|
|
603
|
-
* Pretty name of the product
|
|
604
|
-
*/
|
|
605
|
-
prettyProductName?: string;
|
|
606
|
-
/**
|
|
607
|
-
* Pretty name of the plan
|
|
608
|
-
*/
|
|
609
|
-
prettyPlanName?: string;
|
|
610
|
-
/**
|
|
611
|
-
* Pretty name of the phase
|
|
612
|
-
*/
|
|
613
|
-
prettyPhaseName?: string;
|
|
614
|
-
/**
|
|
615
|
-
* Pretty name of the usage
|
|
616
|
-
*/
|
|
617
|
-
prettyUsageName?: string;
|
|
618
|
-
/**
|
|
619
|
-
* Type of the invoice item
|
|
620
|
-
*/
|
|
621
|
-
itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
|
|
622
|
-
/**
|
|
623
|
-
* Description of the invoice item
|
|
624
|
-
*/
|
|
625
|
-
description?: string;
|
|
626
|
-
/**
|
|
627
|
-
* Start date of the invoice item
|
|
628
|
-
*/
|
|
629
|
-
startDate?: string;
|
|
630
|
-
/**
|
|
631
|
-
* End date of the invoice item
|
|
632
|
-
*/
|
|
633
|
-
endDate?: string;
|
|
634
|
-
/**
|
|
635
|
-
* Amount of the invoice item
|
|
636
|
-
*/
|
|
637
|
-
amount?: number;
|
|
638
|
-
/**
|
|
639
|
-
* Rate of the invoice item
|
|
640
|
-
*/
|
|
641
|
-
rate?: number;
|
|
642
|
-
/**
|
|
643
|
-
* Currency of the invoice item
|
|
644
|
-
*/
|
|
645
|
-
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';
|
|
646
|
-
/**
|
|
647
|
-
* Quantity of the invoice item
|
|
648
|
-
*/
|
|
649
|
-
quantity?: number;
|
|
650
|
-
/**
|
|
651
|
-
* Details of the invoice item
|
|
652
|
-
*/
|
|
653
|
-
itemDetails?: string;
|
|
654
|
-
/**
|
|
655
|
-
* Effective date of the catalog
|
|
656
|
-
*/
|
|
657
|
-
catalogEffectiveDate?: string;
|
|
658
|
-
/**
|
|
659
|
-
* Child items of the invoice item
|
|
660
|
-
*/
|
|
661
|
-
childItems?: Array<Array<unknown> | boolean | number | {
|
|
662
|
-
[key: string]: unknown;
|
|
663
|
-
} | string>;
|
|
664
|
-
}>;
|
|
689
|
+
date_created: string;
|
|
665
690
|
};
|
|
666
|
-
export type
|
|
667
|
-
/**
|
|
668
|
-
* Street address, P.O. box, c/o
|
|
669
|
-
*/
|
|
670
|
-
address1?: string;
|
|
671
|
-
/**
|
|
672
|
-
* Apartment, suite, unit, building, floor, etc.
|
|
673
|
-
*/
|
|
674
|
-
address2?: string;
|
|
675
|
-
/**
|
|
676
|
-
* Postal code as a string.
|
|
677
|
-
*/
|
|
678
|
-
postalCode?: string;
|
|
679
|
-
/**
|
|
680
|
-
* City or town name.
|
|
681
|
-
*/
|
|
682
|
-
city?: string;
|
|
683
|
-
/**
|
|
684
|
-
* State, province, or region name.
|
|
685
|
-
*/
|
|
686
|
-
state?: string;
|
|
687
|
-
/**
|
|
688
|
-
* Country as a ISO 3166-1 alpha-2 country code.
|
|
689
|
-
*/
|
|
690
|
-
country?: string;
|
|
691
|
-
/**
|
|
692
|
-
* Phone number as a string.
|
|
693
|
-
*/
|
|
694
|
-
phone?: string;
|
|
695
|
-
/**
|
|
696
|
-
* Email address used for billing as a string.
|
|
697
|
-
*/
|
|
698
|
-
email: string;
|
|
691
|
+
export type TokenUpdateInput = {
|
|
699
692
|
/**
|
|
700
|
-
*
|
|
693
|
+
* Human readable access token name.
|
|
701
694
|
*/
|
|
702
|
-
|
|
695
|
+
name?: string;
|
|
703
696
|
/**
|
|
704
|
-
*
|
|
697
|
+
* Role assumed by the token.
|
|
705
698
|
*/
|
|
706
|
-
|
|
699
|
+
role?: 'Administrator' | 'User';
|
|
707
700
|
};
|
|
708
|
-
export type
|
|
701
|
+
export type UsageFacets = {
|
|
709
702
|
/**
|
|
710
|
-
*
|
|
703
|
+
* List of unique cluster IDs
|
|
711
704
|
*/
|
|
712
|
-
|
|
705
|
+
cluster_id?: Array<string>;
|
|
713
706
|
/**
|
|
714
|
-
*
|
|
707
|
+
* List of unique products
|
|
715
708
|
*/
|
|
716
|
-
|
|
717
|
-
/**
|
|
718
|
-
* Street address, P.O. box, c/o
|
|
719
|
-
*/
|
|
720
|
-
address1?: string;
|
|
721
|
-
/**
|
|
722
|
-
* Apartment, suite, unit, building, floor, etc.
|
|
723
|
-
*/
|
|
724
|
-
address2?: string;
|
|
725
|
-
/**
|
|
726
|
-
* Postal code as a string.
|
|
727
|
-
*/
|
|
728
|
-
postalCode?: string;
|
|
729
|
-
/**
|
|
730
|
-
* City or town name.
|
|
731
|
-
*/
|
|
732
|
-
city?: string;
|
|
733
|
-
/**
|
|
734
|
-
* State, province, or region name.
|
|
735
|
-
*/
|
|
736
|
-
state?: string;
|
|
737
|
-
/**
|
|
738
|
-
* Country as a ISO 3166-1 alpha-2 country code.
|
|
739
|
-
*/
|
|
740
|
-
country?: string;
|
|
741
|
-
/**
|
|
742
|
-
* Phone number as a string.
|
|
743
|
-
*/
|
|
744
|
-
phone?: string;
|
|
745
|
-
/**
|
|
746
|
-
* Email address used for billing as a string.
|
|
747
|
-
*/
|
|
748
|
-
email: string;
|
|
749
|
-
/**
|
|
750
|
-
* First name of the billing contact person.
|
|
751
|
-
*/
|
|
752
|
-
first_name: string;
|
|
753
|
-
/**
|
|
754
|
-
* Last name of the billing contact person.
|
|
755
|
-
*/
|
|
756
|
-
last_name: string;
|
|
757
|
-
};
|
|
758
|
-
/**
|
|
759
|
-
* 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.
|
|
760
|
-
*/
|
|
761
|
-
password: string;
|
|
709
|
+
product?: Array<string>;
|
|
762
710
|
};
|
|
763
|
-
export type
|
|
711
|
+
export type UsageResponse = {
|
|
764
712
|
/**
|
|
765
|
-
*
|
|
713
|
+
* Usage data
|
|
766
714
|
*/
|
|
767
|
-
|
|
768
|
-
/**
|
|
769
|
-
* Organization contact information and billing address.
|
|
770
|
-
*/
|
|
771
|
-
contactInfo: {
|
|
772
|
-
/**
|
|
773
|
-
* Street address, P.O. box, c/o
|
|
774
|
-
*/
|
|
775
|
-
address1?: string;
|
|
776
|
-
/**
|
|
777
|
-
* Apartment, suite, unit, building, floor, etc.
|
|
778
|
-
*/
|
|
779
|
-
address2?: string;
|
|
780
|
-
/**
|
|
781
|
-
* Postal code as a string.
|
|
782
|
-
*/
|
|
783
|
-
postalCode?: string;
|
|
784
|
-
/**
|
|
785
|
-
* City or town name.
|
|
786
|
-
*/
|
|
787
|
-
city?: string;
|
|
788
|
-
/**
|
|
789
|
-
* State, province, or region name.
|
|
790
|
-
*/
|
|
791
|
-
state?: string;
|
|
792
|
-
/**
|
|
793
|
-
* Country as a ISO 3166-1 alpha-2 country code.
|
|
794
|
-
*/
|
|
795
|
-
country?: string;
|
|
796
|
-
/**
|
|
797
|
-
* Phone number as a string.
|
|
798
|
-
*/
|
|
799
|
-
phone?: string;
|
|
800
|
-
/**
|
|
801
|
-
* Email address used for billing as a string.
|
|
802
|
-
*/
|
|
803
|
-
email: string;
|
|
804
|
-
/**
|
|
805
|
-
* First name of the billing contact person.
|
|
806
|
-
*/
|
|
807
|
-
first_name: string;
|
|
808
|
-
/**
|
|
809
|
-
* Last name of the billing contact person.
|
|
810
|
-
*/
|
|
811
|
-
last_name: string;
|
|
812
|
-
};
|
|
813
|
-
/**
|
|
814
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
815
|
-
*/
|
|
816
|
-
id: string;
|
|
817
|
-
/**
|
|
818
|
-
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
819
|
-
*/
|
|
820
|
-
date_created: string;
|
|
821
|
-
/**
|
|
822
|
-
* For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.
|
|
823
|
-
*/
|
|
824
|
-
quota: {
|
|
825
|
-
/**
|
|
826
|
-
* Maximum number of Basic clusters that can be created.
|
|
827
|
-
*/
|
|
828
|
-
basic_clusters_max: number;
|
|
829
|
-
/**
|
|
830
|
-
* Available number of Basic clusters that can be created.
|
|
831
|
-
*/
|
|
832
|
-
basic_clusters_available: number;
|
|
715
|
+
data: Array<{
|
|
833
716
|
/**
|
|
834
|
-
*
|
|
717
|
+
* Hour of the usage
|
|
835
718
|
*/
|
|
836
|
-
|
|
719
|
+
hour: string;
|
|
837
720
|
/**
|
|
838
|
-
*
|
|
721
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
839
722
|
*/
|
|
840
|
-
|
|
723
|
+
cluster_id: string;
|
|
841
724
|
/**
|
|
842
|
-
*
|
|
725
|
+
* The product the usage is associated with
|
|
843
726
|
*/
|
|
844
|
-
|
|
727
|
+
product: string;
|
|
845
728
|
/**
|
|
846
|
-
*
|
|
729
|
+
* Consumption
|
|
847
730
|
*/
|
|
848
|
-
|
|
731
|
+
value: number;
|
|
849
732
|
/**
|
|
850
|
-
*
|
|
733
|
+
* Price per unit
|
|
851
734
|
*/
|
|
852
|
-
|
|
735
|
+
price: number;
|
|
853
736
|
/**
|
|
854
|
-
*
|
|
737
|
+
* Total cost
|
|
855
738
|
*/
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
* List of CFKE control plane versions available for the organization.
|
|
859
|
-
*/
|
|
860
|
-
versions: Array<{
|
|
861
|
-
/**
|
|
862
|
-
* Id of the control plane version. Used in API calls.
|
|
863
|
-
*/
|
|
864
|
-
id: string;
|
|
865
|
-
/**
|
|
866
|
-
* Label of the control plane version. Used in frontent UI.
|
|
867
|
-
*/
|
|
868
|
-
label: string;
|
|
869
|
-
}>;
|
|
870
|
-
};
|
|
871
|
-
/**
|
|
872
|
-
* List of pending actions that the user needs to complete. Used in Cloudfleet console to guide the user through the onboarding process.
|
|
873
|
-
*/
|
|
874
|
-
pending_actions: Array<'signup-billing-address' | 'signup-payment-method' | 'signup-invite-team' | 'signup-create-cluster'>;
|
|
875
|
-
/**
|
|
876
|
-
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
877
|
-
*/
|
|
878
|
-
status: 'active' | 'closed' | 'suspended';
|
|
879
|
-
};
|
|
880
|
-
export type OrganizationUpdateInput = {
|
|
881
|
-
/**
|
|
882
|
-
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
883
|
-
*/
|
|
884
|
-
name?: string;
|
|
739
|
+
total: number;
|
|
740
|
+
}>;
|
|
885
741
|
/**
|
|
886
|
-
*
|
|
742
|
+
* Facets for filtering
|
|
887
743
|
*/
|
|
888
|
-
|
|
889
|
-
/**
|
|
890
|
-
* Street address, P.O. box, c/o
|
|
891
|
-
*/
|
|
892
|
-
address1?: string;
|
|
893
|
-
/**
|
|
894
|
-
* Apartment, suite, unit, building, floor, etc.
|
|
895
|
-
*/
|
|
896
|
-
address2?: string;
|
|
744
|
+
facets: {
|
|
897
745
|
/**
|
|
898
|
-
*
|
|
746
|
+
* List of unique cluster IDs
|
|
899
747
|
*/
|
|
900
|
-
|
|
748
|
+
cluster_id?: Array<string>;
|
|
901
749
|
/**
|
|
902
|
-
*
|
|
750
|
+
* List of unique products
|
|
903
751
|
*/
|
|
904
|
-
|
|
905
|
-
/**
|
|
906
|
-
* State, province, or region name.
|
|
907
|
-
*/
|
|
908
|
-
state?: string;
|
|
909
|
-
/**
|
|
910
|
-
* Country as a ISO 3166-1 alpha-2 country code.
|
|
911
|
-
*/
|
|
912
|
-
country?: string;
|
|
913
|
-
/**
|
|
914
|
-
* Phone number as a string.
|
|
915
|
-
*/
|
|
916
|
-
phone?: string;
|
|
917
|
-
/**
|
|
918
|
-
* Email address used for billing as a string.
|
|
919
|
-
*/
|
|
920
|
-
email: string;
|
|
921
|
-
/**
|
|
922
|
-
* First name of the billing contact person.
|
|
923
|
-
*/
|
|
924
|
-
first_name: string;
|
|
925
|
-
/**
|
|
926
|
-
* Last name of the billing contact person.
|
|
927
|
-
*/
|
|
928
|
-
last_name: string;
|
|
752
|
+
product?: Array<string>;
|
|
929
753
|
};
|
|
930
754
|
};
|
|
931
|
-
export type PaymentMethod = {
|
|
932
|
-
/**
|
|
933
|
-
* Unique identifier of the organization. UUID v4 string in canonical form.
|
|
934
|
-
*/
|
|
935
|
-
id: string;
|
|
936
|
-
/**
|
|
937
|
-
* Whether organization payment method was set up and ready to use for payments.
|
|
938
|
-
*/
|
|
939
|
-
setup: boolean;
|
|
940
|
-
/**
|
|
941
|
-
* Payment method type type. Only `card` payments supported at the moment.
|
|
942
|
-
*/
|
|
943
|
-
type: 'card';
|
|
944
|
-
/**
|
|
945
|
-
* Last 4 digits of the payment card number.
|
|
946
|
-
*/
|
|
947
|
-
last4: string;
|
|
948
|
-
/**
|
|
949
|
-
* Two-digit number representing the card's expiration month.
|
|
950
|
-
*/
|
|
951
|
-
exp_month: number;
|
|
952
|
-
/**
|
|
953
|
-
* Four-digit number representing the card's expiration year.
|
|
954
|
-
*/
|
|
955
|
-
exp_year: number;
|
|
956
|
-
/**
|
|
957
|
-
* Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
958
|
-
*/
|
|
959
|
-
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
960
|
-
};
|
|
961
|
-
export type TokenCreateInput = {
|
|
962
|
-
/**
|
|
963
|
-
* Human readable access token name.
|
|
964
|
-
*/
|
|
965
|
-
name: string;
|
|
966
|
-
/**
|
|
967
|
-
* Role assumed by the token.
|
|
968
|
-
*/
|
|
969
|
-
role: 'Administrator' | 'User';
|
|
970
|
-
};
|
|
971
|
-
export type Token = {
|
|
972
|
-
/**
|
|
973
|
-
* Human readable access token name.
|
|
974
|
-
*/
|
|
975
|
-
name: string;
|
|
976
|
-
/**
|
|
977
|
-
* Role assumed by the token.
|
|
978
|
-
*/
|
|
979
|
-
role: 'Administrator' | 'User';
|
|
980
|
-
/**
|
|
981
|
-
* Generated unique identifier of the access token.
|
|
982
|
-
*/
|
|
983
|
-
id?: string;
|
|
984
|
-
/**
|
|
985
|
-
* Access token secret. Unmasked only during creation.
|
|
986
|
-
*/
|
|
987
|
-
secret?: string;
|
|
988
|
-
/**
|
|
989
|
-
* Creation date of the access token. ISO 8601 date string in UTC timezone
|
|
990
|
-
*/
|
|
991
|
-
date_created: string;
|
|
992
|
-
};
|
|
993
|
-
export type TokenUpdateInput = {
|
|
994
|
-
/**
|
|
995
|
-
* Human readable access token name.
|
|
996
|
-
*/
|
|
997
|
-
name?: string;
|
|
998
|
-
/**
|
|
999
|
-
* Role assumed by the token.
|
|
1000
|
-
*/
|
|
1001
|
-
role?: 'Administrator' | 'User';
|
|
1002
|
-
};
|
|
1003
755
|
export type Usage = {
|
|
1004
756
|
/**
|
|
1005
757
|
* Hour of the usage
|
|
1006
758
|
*/
|
|
1007
|
-
hour
|
|
759
|
+
hour: string;
|
|
1008
760
|
/**
|
|
1009
761
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1010
762
|
*/
|
|
1011
763
|
cluster_id: string;
|
|
1012
764
|
/**
|
|
1013
|
-
*
|
|
765
|
+
* The product the usage is associated with
|
|
1014
766
|
*/
|
|
1015
|
-
|
|
767
|
+
product: string;
|
|
1016
768
|
/**
|
|
1017
|
-
*
|
|
769
|
+
* Consumption
|
|
1018
770
|
*/
|
|
1019
|
-
|
|
771
|
+
value: number;
|
|
1020
772
|
/**
|
|
1021
|
-
*
|
|
773
|
+
* Price per unit
|
|
1022
774
|
*/
|
|
1023
|
-
|
|
775
|
+
price: number;
|
|
1024
776
|
/**
|
|
1025
|
-
*
|
|
777
|
+
* Total cost
|
|
1026
778
|
*/
|
|
1027
|
-
|
|
1028
|
-
cpu: number | '';
|
|
1029
|
-
price: number | '';
|
|
1030
|
-
value: number | '';
|
|
1031
|
-
total: number | '';
|
|
779
|
+
total: number;
|
|
1032
780
|
};
|
|
1033
781
|
export type UserCreateInput = {
|
|
1034
782
|
/**
|
|
@@ -1048,7 +796,7 @@ export type UserCreateInput = {
|
|
|
1048
796
|
*/
|
|
1049
797
|
code: string;
|
|
1050
798
|
/**
|
|
1051
|
-
* User password. Must be at least 8 characters long
|
|
799
|
+
* User password. Must be at least 8 characters long.
|
|
1052
800
|
*/
|
|
1053
801
|
password: string;
|
|
1054
802
|
/**
|
|
@@ -1089,16 +837,6 @@ export type User = {
|
|
|
1089
837
|
* Creation date of the user. ISO 8601 date string in UTC timezone
|
|
1090
838
|
*/
|
|
1091
839
|
date_created: string;
|
|
1092
|
-
cluster_permissions?: Array<{
|
|
1093
|
-
/**
|
|
1094
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1095
|
-
*/
|
|
1096
|
-
cluster_id: string;
|
|
1097
|
-
/**
|
|
1098
|
-
* User permissions to access the cluster. Can be `readwrite` or `readonly`.
|
|
1099
|
-
*/
|
|
1100
|
-
permissions: 'readwrite' | 'readonly';
|
|
1101
|
-
}>;
|
|
1102
840
|
};
|
|
1103
841
|
export type UserUpdateInput = {
|
|
1104
842
|
/**
|
|
@@ -1125,7 +863,12 @@ export type UserUpdateInput = {
|
|
|
1125
863
|
export type GetUsageData = {
|
|
1126
864
|
body?: never;
|
|
1127
865
|
path?: never;
|
|
1128
|
-
query?:
|
|
866
|
+
query?: {
|
|
867
|
+
/**
|
|
868
|
+
* Time granularity for usage aggregation - hourly (Past 48 hours aggregated by hour), daily (Past 30 days aggregated by day), monthly (Past 12 months aggregated by month)
|
|
869
|
+
*/
|
|
870
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
871
|
+
};
|
|
1129
872
|
url: '/billing/usage';
|
|
1130
873
|
};
|
|
1131
874
|
export type GetUsageErrors = {
|
|
@@ -1136,24 +879,11 @@ export type GetUsageErrors = {
|
|
|
1136
879
|
};
|
|
1137
880
|
export type GetUsageResponses = {
|
|
1138
881
|
/**
|
|
1139
|
-
*
|
|
882
|
+
* Usage data with facets for filtering
|
|
1140
883
|
*/
|
|
1141
|
-
200:
|
|
884
|
+
200: UsageResponse;
|
|
1142
885
|
};
|
|
1143
886
|
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
1144
|
-
export type GetBalanceData = {
|
|
1145
|
-
body?: never;
|
|
1146
|
-
path?: never;
|
|
1147
|
-
query?: never;
|
|
1148
|
-
url: '/billing/balance';
|
|
1149
|
-
};
|
|
1150
|
-
export type GetBalanceResponses = {
|
|
1151
|
-
/**
|
|
1152
|
-
* Current balance of the organization in USD as a floating-point number.
|
|
1153
|
-
*/
|
|
1154
|
-
200: number;
|
|
1155
|
-
};
|
|
1156
|
-
export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
|
|
1157
887
|
export type GetPaymentMethodData = {
|
|
1158
888
|
body?: never;
|
|
1159
889
|
path?: never;
|
|
@@ -1191,55 +921,202 @@ export type GetPaymentMethodSecretResponses = {
|
|
|
1191
921
|
id?: string;
|
|
1192
922
|
};
|
|
1193
923
|
};
|
|
1194
|
-
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
1195
|
-
export type ListInvoicesData = {
|
|
924
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
925
|
+
export type ListInvoicesData = {
|
|
926
|
+
body?: never;
|
|
927
|
+
path?: never;
|
|
928
|
+
query?: never;
|
|
929
|
+
url: '/billing/invoices';
|
|
930
|
+
};
|
|
931
|
+
export type ListInvoicesErrors = {
|
|
932
|
+
/**
|
|
933
|
+
* Not authenticated
|
|
934
|
+
*/
|
|
935
|
+
401: unknown;
|
|
936
|
+
};
|
|
937
|
+
export type ListInvoicesResponses = {
|
|
938
|
+
/**
|
|
939
|
+
* An array of usage records.
|
|
940
|
+
*/
|
|
941
|
+
200: Array<Invoice>;
|
|
942
|
+
};
|
|
943
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
944
|
+
export type GetContactData = {
|
|
945
|
+
body?: never;
|
|
946
|
+
path?: never;
|
|
947
|
+
query?: never;
|
|
948
|
+
url: '/billing/contact';
|
|
949
|
+
};
|
|
950
|
+
export type GetContactResponses = {
|
|
951
|
+
/**
|
|
952
|
+
* Returns a single object containing organization contact and billing address details.
|
|
953
|
+
*/
|
|
954
|
+
200: BillingContact;
|
|
955
|
+
};
|
|
956
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
957
|
+
export type UpdateContactData = {
|
|
958
|
+
body: BillingContact;
|
|
959
|
+
path?: never;
|
|
960
|
+
query?: never;
|
|
961
|
+
url: '/billing/contact';
|
|
962
|
+
};
|
|
963
|
+
export type UpdateContactResponses = {
|
|
964
|
+
/**
|
|
965
|
+
* Successfully updated. Returns updated organization details.
|
|
966
|
+
*/
|
|
967
|
+
200: BillingContact;
|
|
968
|
+
};
|
|
969
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
970
|
+
export type GetCreditsData = {
|
|
971
|
+
body?: never;
|
|
972
|
+
path?: never;
|
|
973
|
+
query?: never;
|
|
974
|
+
url: '/billing/credits';
|
|
975
|
+
};
|
|
976
|
+
export type GetCreditsErrors = {
|
|
977
|
+
/**
|
|
978
|
+
* Not authenticated
|
|
979
|
+
*/
|
|
980
|
+
401: unknown;
|
|
981
|
+
};
|
|
982
|
+
export type GetCreditsResponses = {
|
|
983
|
+
/**
|
|
984
|
+
* An array of the applied promotional credits records.
|
|
985
|
+
*/
|
|
986
|
+
200: Array<BillingCredits>;
|
|
987
|
+
};
|
|
988
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
989
|
+
export type RedeemCreditsData = {
|
|
990
|
+
body: {
|
|
991
|
+
/**
|
|
992
|
+
* Promotional code to redeem
|
|
993
|
+
*/
|
|
994
|
+
code?: string;
|
|
995
|
+
};
|
|
996
|
+
path?: never;
|
|
997
|
+
query?: never;
|
|
998
|
+
url: '/billing/credits';
|
|
999
|
+
};
|
|
1000
|
+
export type RedeemCreditsErrors = {
|
|
1001
|
+
/**
|
|
1002
|
+
* Not authenticated
|
|
1003
|
+
*/
|
|
1004
|
+
401: unknown;
|
|
1005
|
+
};
|
|
1006
|
+
export type RedeemCreditsResponses = {
|
|
1007
|
+
/**
|
|
1008
|
+
* Successfully created a new organization.
|
|
1009
|
+
*/
|
|
1010
|
+
200: unknown;
|
|
1011
|
+
};
|
|
1012
|
+
export type ListChartsData = {
|
|
1013
|
+
body?: never;
|
|
1014
|
+
path: {
|
|
1015
|
+
/**
|
|
1016
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1017
|
+
*/
|
|
1018
|
+
cluster_id: string;
|
|
1019
|
+
};
|
|
1020
|
+
query?: never;
|
|
1021
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1022
|
+
};
|
|
1023
|
+
export type ListChartsErrors = {
|
|
1024
|
+
/**
|
|
1025
|
+
* Not authenticated
|
|
1026
|
+
*/
|
|
1027
|
+
401: unknown;
|
|
1028
|
+
};
|
|
1029
|
+
export type ListChartsResponses = {
|
|
1030
|
+
/**
|
|
1031
|
+
* An array of charts
|
|
1032
|
+
*/
|
|
1033
|
+
200: Array<Chart>;
|
|
1034
|
+
};
|
|
1035
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
1036
|
+
export type CreateChartData = {
|
|
1037
|
+
body: ChartCreateInput;
|
|
1038
|
+
path: {
|
|
1039
|
+
/**
|
|
1040
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1041
|
+
*/
|
|
1042
|
+
cluster_id: string;
|
|
1043
|
+
};
|
|
1044
|
+
query?: never;
|
|
1045
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1046
|
+
};
|
|
1047
|
+
export type CreateChartResponses = {
|
|
1048
|
+
/**
|
|
1049
|
+
* Successfully created. Returns created Chart ID.
|
|
1050
|
+
*/
|
|
1051
|
+
200: string;
|
|
1052
|
+
};
|
|
1053
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
1054
|
+
export type DeleteChartData = {
|
|
1196
1055
|
body?: never;
|
|
1197
|
-
path
|
|
1198
|
-
query: {
|
|
1056
|
+
path: {
|
|
1199
1057
|
/**
|
|
1200
|
-
*
|
|
1058
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1201
1059
|
*/
|
|
1202
|
-
|
|
1060
|
+
cluster_id: string;
|
|
1203
1061
|
/**
|
|
1204
|
-
*
|
|
1062
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1205
1063
|
*/
|
|
1206
|
-
|
|
1064
|
+
chart_name: string;
|
|
1207
1065
|
};
|
|
1208
|
-
|
|
1066
|
+
query?: never;
|
|
1067
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1209
1068
|
};
|
|
1210
|
-
export type
|
|
1069
|
+
export type DeleteChartResponses = {
|
|
1211
1070
|
/**
|
|
1212
|
-
*
|
|
1071
|
+
* Successfully deleted.
|
|
1213
1072
|
*/
|
|
1214
|
-
|
|
1073
|
+
200: string;
|
|
1215
1074
|
};
|
|
1216
|
-
export type
|
|
1075
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
1076
|
+
export type GetChartData = {
|
|
1077
|
+
body?: never;
|
|
1078
|
+
path: {
|
|
1079
|
+
/**
|
|
1080
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1081
|
+
*/
|
|
1082
|
+
cluster_id: string;
|
|
1083
|
+
/**
|
|
1084
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1085
|
+
*/
|
|
1086
|
+
chart_name: string;
|
|
1087
|
+
};
|
|
1088
|
+
query?: never;
|
|
1089
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1090
|
+
};
|
|
1091
|
+
export type GetChartResponses = {
|
|
1217
1092
|
/**
|
|
1218
|
-
*
|
|
1093
|
+
* Returns a single object containing chart details.
|
|
1219
1094
|
*/
|
|
1220
|
-
200:
|
|
1095
|
+
200: Chart;
|
|
1221
1096
|
};
|
|
1222
|
-
export type
|
|
1223
|
-
export type
|
|
1224
|
-
body
|
|
1097
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
1098
|
+
export type UpdateChartData = {
|
|
1099
|
+
body: ChartUpdateInput;
|
|
1225
1100
|
path: {
|
|
1226
1101
|
/**
|
|
1227
|
-
* Unique
|
|
1102
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1228
1103
|
*/
|
|
1229
|
-
|
|
1104
|
+
cluster_id: string;
|
|
1105
|
+
/**
|
|
1106
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1107
|
+
*/
|
|
1108
|
+
chart_name: string;
|
|
1230
1109
|
};
|
|
1231
1110
|
query?: never;
|
|
1232
|
-
url: '/
|
|
1111
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1233
1112
|
};
|
|
1234
|
-
export type
|
|
1113
|
+
export type UpdateChartResponses = {
|
|
1235
1114
|
/**
|
|
1236
|
-
*
|
|
1115
|
+
* Successfully updated.
|
|
1237
1116
|
*/
|
|
1238
|
-
200:
|
|
1239
|
-
html?: string;
|
|
1240
|
-
};
|
|
1117
|
+
200: string;
|
|
1241
1118
|
};
|
|
1242
|
-
export type
|
|
1119
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
1243
1120
|
export type ListFleetsData = {
|
|
1244
1121
|
body?: never;
|
|
1245
1122
|
path: {
|
|
@@ -1499,255 +1376,9 @@ export type GetJoinInformationResponses = {
|
|
|
1499
1376
|
/**
|
|
1500
1377
|
* An object of cluster join information
|
|
1501
1378
|
*/
|
|
1502
|
-
200:
|
|
1379
|
+
200: ClusterJoinInformation;
|
|
1503
1380
|
};
|
|
1504
1381
|
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
1505
|
-
export type GetInfrastructureData = {
|
|
1506
|
-
body?: never;
|
|
1507
|
-
path?: never;
|
|
1508
|
-
query?: {
|
|
1509
|
-
/**
|
|
1510
|
-
* Version of the task definition. Currently only version 1 is supported.
|
|
1511
|
-
*/
|
|
1512
|
-
version?: 1;
|
|
1513
|
-
/**
|
|
1514
|
-
* Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
1515
|
-
*/
|
|
1516
|
-
provider?: Array<string>;
|
|
1517
|
-
/**
|
|
1518
|
-
* Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
1519
|
-
*/
|
|
1520
|
-
region?: Array<string>;
|
|
1521
|
-
/**
|
|
1522
|
-
* Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
1523
|
-
*/
|
|
1524
|
-
sub_region?: Array<string>;
|
|
1525
|
-
/**
|
|
1526
|
-
* Limits selection of cloud regions to this list of canonical provider regions
|
|
1527
|
-
*/
|
|
1528
|
-
csp_region?: Array<string>;
|
|
1529
|
-
/**
|
|
1530
|
-
* Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
|
|
1531
|
-
*/
|
|
1532
|
-
instance_type?: Array<string>;
|
|
1533
|
-
/**
|
|
1534
|
-
* List of Normalized accelerator model names. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field
|
|
1535
|
-
*/
|
|
1536
|
-
accelerator_name?: Array<string>;
|
|
1537
|
-
/**
|
|
1538
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1539
|
-
*/
|
|
1540
|
-
accelerator_manufacturer?: Array<string>;
|
|
1541
|
-
/**
|
|
1542
|
-
* Minimum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
|
|
1543
|
-
*/
|
|
1544
|
-
accelerator_count_min?: number;
|
|
1545
|
-
/**
|
|
1546
|
-
* Maximum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
|
|
1547
|
-
*/
|
|
1548
|
-
accelerator_count_max?: number;
|
|
1549
|
-
/**
|
|
1550
|
-
* Minimum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
|
|
1551
|
-
*/
|
|
1552
|
-
accelerator_memory_min?: number;
|
|
1553
|
-
/**
|
|
1554
|
-
* Maximum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
|
|
1555
|
-
*/
|
|
1556
|
-
accelerator_memory_max?: number;
|
|
1557
|
-
/**
|
|
1558
|
-
* Minimum amount of RAM in gibibytes (GiB)
|
|
1559
|
-
*/
|
|
1560
|
-
memory_min?: number;
|
|
1561
|
-
/**
|
|
1562
|
-
* Maximum amount of RAM in gibibytes (GiB)
|
|
1563
|
-
*/
|
|
1564
|
-
memory_max?: number;
|
|
1565
|
-
/**
|
|
1566
|
-
* Minimum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
|
|
1567
|
-
*/
|
|
1568
|
-
vcpu_min?: number;
|
|
1569
|
-
/**
|
|
1570
|
-
* Maximum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
|
|
1571
|
-
*/
|
|
1572
|
-
vcpu_max?: number;
|
|
1573
|
-
/**
|
|
1574
|
-
* Minimum total storage in GiB (attached and local)
|
|
1575
|
-
*/
|
|
1576
|
-
storage_total_min?: number;
|
|
1577
|
-
/**
|
|
1578
|
-
* Maximum total storage in GiB (attached and local)
|
|
1579
|
-
*/
|
|
1580
|
-
storage_total_max?: number;
|
|
1581
|
-
/**
|
|
1582
|
-
* Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1583
|
-
*/
|
|
1584
|
-
storage_local_min?: number;
|
|
1585
|
-
/**
|
|
1586
|
-
* Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1587
|
-
*/
|
|
1588
|
-
storage_local_max?: number;
|
|
1589
|
-
/**
|
|
1590
|
-
* Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1591
|
-
*/
|
|
1592
|
-
price_min?: number;
|
|
1593
|
-
/**
|
|
1594
|
-
* Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1595
|
-
*/
|
|
1596
|
-
price_max?: number;
|
|
1597
|
-
};
|
|
1598
|
-
url: '/infrastructure';
|
|
1599
|
-
};
|
|
1600
|
-
export type GetInfrastructureErrors = {
|
|
1601
|
-
/**
|
|
1602
|
-
* Returns a validation error if any of the search parameters in the request are invalid
|
|
1603
|
-
*/
|
|
1604
|
-
400: Blob | File;
|
|
1605
|
-
};
|
|
1606
|
-
export type GetInfrastructureError = GetInfrastructureErrors[keyof GetInfrastructureErrors];
|
|
1607
|
-
export type GetInfrastructureResponses = {
|
|
1608
|
-
/**
|
|
1609
|
-
* An array of instances returned by the search
|
|
1610
|
-
*/
|
|
1611
|
-
200: Array<InfrastructureInstance>;
|
|
1612
|
-
};
|
|
1613
|
-
export type GetInfrastructureResponse = GetInfrastructureResponses[keyof GetInfrastructureResponses];
|
|
1614
|
-
export type GetFacetsData = {
|
|
1615
|
-
body?: never;
|
|
1616
|
-
path?: never;
|
|
1617
|
-
query?: never;
|
|
1618
|
-
url: '/infrastructure/facets';
|
|
1619
|
-
};
|
|
1620
|
-
export type GetFacetsResponses = {
|
|
1621
|
-
/**
|
|
1622
|
-
* Calculates search facets of the infrastructure catalog
|
|
1623
|
-
*/
|
|
1624
|
-
200: Array<{
|
|
1625
|
-
/**
|
|
1626
|
-
* Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
1627
|
-
*/
|
|
1628
|
-
provider?: Array<string>;
|
|
1629
|
-
/**
|
|
1630
|
-
* Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
1631
|
-
*/
|
|
1632
|
-
region?: Array<string>;
|
|
1633
|
-
/**
|
|
1634
|
-
* Limits selection of cloud sub-regions to this list of Cloudfleet sub-regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
1635
|
-
*/
|
|
1636
|
-
sub_region?: Array<string>;
|
|
1637
|
-
/**
|
|
1638
|
-
* Limits selection of cloud regions to this list of canonical provider regions
|
|
1639
|
-
*/
|
|
1640
|
-
csp_region?: Array<string>;
|
|
1641
|
-
/**
|
|
1642
|
-
* Minimum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
|
|
1643
|
-
*/
|
|
1644
|
-
vcpu_min?: number;
|
|
1645
|
-
/**
|
|
1646
|
-
* Maximum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
|
|
1647
|
-
*/
|
|
1648
|
-
vcpu_max?: number;
|
|
1649
|
-
/**
|
|
1650
|
-
* Minimum amount of RAM in gibibytes (GiB)
|
|
1651
|
-
*/
|
|
1652
|
-
memory_min?: number;
|
|
1653
|
-
/**
|
|
1654
|
-
* Maximum amount of RAM in gibibytes (GiB)
|
|
1655
|
-
*/
|
|
1656
|
-
memory_max?: number;
|
|
1657
|
-
/**
|
|
1658
|
-
* Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1659
|
-
*/
|
|
1660
|
-
storage_local_min?: number;
|
|
1661
|
-
/**
|
|
1662
|
-
* Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
1663
|
-
*/
|
|
1664
|
-
storage_local_max?: number;
|
|
1665
|
-
/**
|
|
1666
|
-
* List of Normalized accelerator model names. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field
|
|
1667
|
-
*/
|
|
1668
|
-
accelerator_name?: Array<string>;
|
|
1669
|
-
/**
|
|
1670
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1671
|
-
*/
|
|
1672
|
-
accelerator_manufacturer?: Array<string>;
|
|
1673
|
-
/**
|
|
1674
|
-
* Minimum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
|
|
1675
|
-
*/
|
|
1676
|
-
accelerator_count_min?: number;
|
|
1677
|
-
/**
|
|
1678
|
-
* Maximum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
|
|
1679
|
-
*/
|
|
1680
|
-
accelerator_count_max?: number;
|
|
1681
|
-
/**
|
|
1682
|
-
* Minimum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
|
|
1683
|
-
*/
|
|
1684
|
-
accelerator_memory_min?: number;
|
|
1685
|
-
/**
|
|
1686
|
-
* Maximum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
|
|
1687
|
-
*/
|
|
1688
|
-
accelerator_memory_max?: number;
|
|
1689
|
-
/**
|
|
1690
|
-
* Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1691
|
-
*/
|
|
1692
|
-
price_min?: number;
|
|
1693
|
-
/**
|
|
1694
|
-
* Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
1695
|
-
*/
|
|
1696
|
-
price_max?: number;
|
|
1697
|
-
/**
|
|
1698
|
-
* Structured array of regions and sub-regions
|
|
1699
|
-
*/
|
|
1700
|
-
regions_struct?: Array<{
|
|
1701
|
-
/**
|
|
1702
|
-
* Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
1703
|
-
*/
|
|
1704
|
-
region?: string;
|
|
1705
|
-
sub_region?: Array<string>;
|
|
1706
|
-
}>;
|
|
1707
|
-
/**
|
|
1708
|
-
* Structured array of regions and sub-regions
|
|
1709
|
-
*/
|
|
1710
|
-
accelerators_struct?: Array<{
|
|
1711
|
-
/**
|
|
1712
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
1713
|
-
*/
|
|
1714
|
-
accelerator_manufacturer?: string;
|
|
1715
|
-
accelerator_name?: Array<string>;
|
|
1716
|
-
}>;
|
|
1717
|
-
/**
|
|
1718
|
-
* Total number of instances in the catalog
|
|
1719
|
-
*/
|
|
1720
|
-
count_total?: number;
|
|
1721
|
-
/**
|
|
1722
|
-
* Total number of instances in the catalog with at least 1 accelerator
|
|
1723
|
-
*/
|
|
1724
|
-
count_accelerators?: number;
|
|
1725
|
-
/**
|
|
1726
|
-
* Total number of unique instances types in the catalog
|
|
1727
|
-
*/
|
|
1728
|
-
count_instance_types?: number;
|
|
1729
|
-
/**
|
|
1730
|
-
* Total number of unique instances types in the catalog with at least 1 accelerator
|
|
1731
|
-
*/
|
|
1732
|
-
count_accelerators_instance_types?: number;
|
|
1733
|
-
}>;
|
|
1734
|
-
};
|
|
1735
|
-
export type GetFacetsResponse = GetFacetsResponses[keyof GetFacetsResponses];
|
|
1736
|
-
export type GetRegionsData = {
|
|
1737
|
-
body?: never;
|
|
1738
|
-
path?: never;
|
|
1739
|
-
query?: never;
|
|
1740
|
-
url: '/infrastructure/regions';
|
|
1741
|
-
};
|
|
1742
|
-
export type GetRegionsResponses = {
|
|
1743
|
-
/**
|
|
1744
|
-
* Available Cloudfleet regions and Kubernetes versions.
|
|
1745
|
-
*/
|
|
1746
|
-
200: {
|
|
1747
|
-
[key: string]: unknown;
|
|
1748
|
-
};
|
|
1749
|
-
};
|
|
1750
|
-
export type GetRegionsResponse = GetRegionsResponses[keyof GetRegionsResponses];
|
|
1751
1382
|
export type ListInvitesData = {
|
|
1752
1383
|
body?: never;
|
|
1753
1384
|
path?: never;
|
|
@@ -1820,6 +1451,85 @@ export type DeleteInviteResponses = {
|
|
|
1820
1451
|
*/
|
|
1821
1452
|
200: unknown;
|
|
1822
1453
|
};
|
|
1454
|
+
export type ListMarketplaceChartsData = {
|
|
1455
|
+
body?: never;
|
|
1456
|
+
path?: never;
|
|
1457
|
+
query?: never;
|
|
1458
|
+
url: '/marketplace';
|
|
1459
|
+
};
|
|
1460
|
+
export type ListMarketplaceChartsErrors = {
|
|
1461
|
+
/**
|
|
1462
|
+
* Not authenticated
|
|
1463
|
+
*/
|
|
1464
|
+
401: unknown;
|
|
1465
|
+
};
|
|
1466
|
+
export type ListMarketplaceChartsResponses = {
|
|
1467
|
+
/**
|
|
1468
|
+
* An array of chart listings in the marketplace.
|
|
1469
|
+
*/
|
|
1470
|
+
200: Array<MarketplaceListing>;
|
|
1471
|
+
};
|
|
1472
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
1473
|
+
export type GetMarketplaceChartData = {
|
|
1474
|
+
body?: never;
|
|
1475
|
+
path: {
|
|
1476
|
+
/**
|
|
1477
|
+
* Unique identifier of the chart listing in the marketplace.
|
|
1478
|
+
*/
|
|
1479
|
+
listing_id: string;
|
|
1480
|
+
};
|
|
1481
|
+
query?: never;
|
|
1482
|
+
url: '/marketplace/{listing_id}';
|
|
1483
|
+
};
|
|
1484
|
+
export type GetMarketplaceChartResponses = {
|
|
1485
|
+
/**
|
|
1486
|
+
* Returns an object containing the chart listing details.
|
|
1487
|
+
*/
|
|
1488
|
+
200: MarketplaceListing;
|
|
1489
|
+
};
|
|
1490
|
+
export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
|
|
1491
|
+
export type PostMcpData = {
|
|
1492
|
+
/**
|
|
1493
|
+
* JSON-RPC 2.0 request payload
|
|
1494
|
+
*/
|
|
1495
|
+
body: {
|
|
1496
|
+
jsonrpc?: string;
|
|
1497
|
+
method?: string;
|
|
1498
|
+
id?: string | number;
|
|
1499
|
+
/**
|
|
1500
|
+
* Method-specific parameters
|
|
1501
|
+
*/
|
|
1502
|
+
params?: {
|
|
1503
|
+
[key: string]: unknown;
|
|
1504
|
+
};
|
|
1505
|
+
};
|
|
1506
|
+
path?: never;
|
|
1507
|
+
query?: never;
|
|
1508
|
+
url: '/mcp';
|
|
1509
|
+
};
|
|
1510
|
+
export type PostMcpErrors = {
|
|
1511
|
+
/**
|
|
1512
|
+
* Not authenticated
|
|
1513
|
+
*/
|
|
1514
|
+
401: unknown;
|
|
1515
|
+
};
|
|
1516
|
+
export type PostMcpResponses = {
|
|
1517
|
+
/**
|
|
1518
|
+
* JSON-RPC 2.0 success or error response
|
|
1519
|
+
*/
|
|
1520
|
+
200: {
|
|
1521
|
+
jsonrpc?: string;
|
|
1522
|
+
id?: string | number;
|
|
1523
|
+
result?: {
|
|
1524
|
+
[key: string]: unknown;
|
|
1525
|
+
};
|
|
1526
|
+
error?: {
|
|
1527
|
+
code?: number;
|
|
1528
|
+
message?: string;
|
|
1529
|
+
};
|
|
1530
|
+
};
|
|
1531
|
+
};
|
|
1532
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
1823
1533
|
export type GetOrganizationData = {
|
|
1824
1534
|
body?: never;
|
|
1825
1535
|
path?: never;
|
|
@@ -1841,24 +1551,10 @@ export type CreateOrganizationData = {
|
|
|
1841
1551
|
};
|
|
1842
1552
|
export type CreateOrganizationResponses = {
|
|
1843
1553
|
/**
|
|
1844
|
-
* Successfully created a new organization.
|
|
1845
|
-
*/
|
|
1846
|
-
200: Organization;
|
|
1847
|
-
};
|
|
1848
|
-
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
1849
|
-
export type UpdateOrganizationData = {
|
|
1850
|
-
body: OrganizationUpdateInput;
|
|
1851
|
-
path?: never;
|
|
1852
|
-
query?: never;
|
|
1853
|
-
url: '/organization';
|
|
1854
|
-
};
|
|
1855
|
-
export type UpdateOrganizationResponses = {
|
|
1856
|
-
/**
|
|
1857
|
-
* Successfully updated. Returns updated organization details.
|
|
1554
|
+
* Successfully created a new organization.
|
|
1858
1555
|
*/
|
|
1859
|
-
200:
|
|
1556
|
+
200: unknown;
|
|
1860
1557
|
};
|
|
1861
|
-
export type UpdateOrganizationResponse = UpdateOrganizationResponses[keyof UpdateOrganizationResponses];
|
|
1862
1558
|
export type ListTokensData = {
|
|
1863
1559
|
body?: never;
|
|
1864
1560
|
path?: never;
|
|
@@ -2115,53 +1811,4 @@ export type UpdateUserResponses = {
|
|
|
2115
1811
|
200: User;
|
|
2116
1812
|
};
|
|
2117
1813
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
2118
|
-
export type DeleteClusterPermissionsData = {
|
|
2119
|
-
body?: never;
|
|
2120
|
-
path: {
|
|
2121
|
-
/**
|
|
2122
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2123
|
-
*/
|
|
2124
|
-
user_id: string;
|
|
2125
|
-
/**
|
|
2126
|
-
* Unique cluster identifier. UUID v4 string in canonical form
|
|
2127
|
-
*/
|
|
2128
|
-
cluster_id: string;
|
|
2129
|
-
};
|
|
2130
|
-
query?: never;
|
|
2131
|
-
url: '/users/{user_id}/clusters/{cluster_id}';
|
|
2132
|
-
};
|
|
2133
|
-
export type DeleteClusterPermissionsResponses = {
|
|
2134
|
-
/**
|
|
2135
|
-
* Successfully removed user from the cluster. Returns updated user details.
|
|
2136
|
-
*/
|
|
2137
|
-
200: User;
|
|
2138
|
-
};
|
|
2139
|
-
export type DeleteClusterPermissionsResponse = DeleteClusterPermissionsResponses[keyof DeleteClusterPermissionsResponses];
|
|
2140
|
-
export type SetClusterPermissionsData = {
|
|
2141
|
-
body: {
|
|
2142
|
-
/**
|
|
2143
|
-
* Level of permissions for the user to access the cluster
|
|
2144
|
-
*/
|
|
2145
|
-
permissions?: 'readwrite' | 'readonly';
|
|
2146
|
-
};
|
|
2147
|
-
path: {
|
|
2148
|
-
/**
|
|
2149
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2150
|
-
*/
|
|
2151
|
-
user_id: string;
|
|
2152
|
-
/**
|
|
2153
|
-
* Unique cluster identifier. UUID v4 string in canonical form
|
|
2154
|
-
*/
|
|
2155
|
-
cluster_id: string;
|
|
2156
|
-
};
|
|
2157
|
-
query?: never;
|
|
2158
|
-
url: '/users/{user_id}/clusters/{cluster_id}';
|
|
2159
|
-
};
|
|
2160
|
-
export type SetClusterPermissionsResponses = {
|
|
2161
|
-
/**
|
|
2162
|
-
* Successfully created. Returns created user details.
|
|
2163
|
-
*/
|
|
2164
|
-
200: User;
|
|
2165
|
-
};
|
|
2166
|
-
export type SetClusterPermissionsResponse = SetClusterPermissionsResponses[keyof SetClusterPermissionsResponses];
|
|
2167
1814
|
//# sourceMappingURL=types.gen.d.ts.map
|