@cloudfleet/sdk 0.0.1-2bdeb58 → 0.0.1-32a25f1
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 +4 -4
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +1 -1
- package/dist/client.gen.js.map +1 -1
- 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/schemas.gen.d.ts +603 -590
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +612 -627
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +139 -76
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +183 -94
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +12 -12
- package/dist/types.gen.d.ts +546 -360
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1775 -2204
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +755 -788
- package/dist/zod.gen.js.map +1 -1
- package/package.json +5 -6
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
3
|
+
};
|
|
1
4
|
export type BillingContact = {
|
|
2
5
|
/**
|
|
3
6
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
@@ -36,13 +39,9 @@ export type BillingContact = {
|
|
|
36
39
|
*/
|
|
37
40
|
email: string;
|
|
38
41
|
/**
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
first_name: string;
|
|
42
|
-
/**
|
|
43
|
-
* Last name of the billing contact person.
|
|
42
|
+
* Name of the billing contact person.
|
|
44
43
|
*/
|
|
45
|
-
|
|
44
|
+
individual_name: string;
|
|
46
45
|
/**
|
|
47
46
|
* Tax ID of the organization.
|
|
48
47
|
*/
|
|
@@ -50,7 +49,7 @@ export type BillingContact = {
|
|
|
50
49
|
/**
|
|
51
50
|
* Type of the tax ID.
|
|
52
51
|
*/
|
|
53
|
-
tax_id_type?: 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'au_abn' | 'au_arn' | 'ba_tin' | 'bb_tin' | 'bg_uic' | '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' | 'de_stn' | 'do_rcn' | 'ec_ruc' | 'eg_tin' | 'es_cif' | 'eu_oss_vat' | '
|
|
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' | '';
|
|
54
53
|
};
|
|
55
54
|
export type BillingCredits = {
|
|
56
55
|
/**
|
|
@@ -58,45 +57,41 @@ export type BillingCredits = {
|
|
|
58
57
|
*/
|
|
59
58
|
id?: string;
|
|
60
59
|
/**
|
|
61
|
-
*
|
|
62
|
-
*/
|
|
63
|
-
date_created: string;
|
|
64
|
-
/**
|
|
65
|
-
* Promotional code used by the customer.
|
|
60
|
+
* Type of the promotional code.
|
|
66
61
|
*/
|
|
67
|
-
|
|
62
|
+
type: 'credit' | 'discount';
|
|
68
63
|
/**
|
|
69
|
-
*
|
|
64
|
+
* Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
|
|
70
65
|
*/
|
|
71
|
-
|
|
66
|
+
date_start: string;
|
|
72
67
|
/**
|
|
73
|
-
*
|
|
68
|
+
* Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
|
|
74
69
|
*/
|
|
75
|
-
|
|
70
|
+
date_end?: string;
|
|
76
71
|
/**
|
|
77
|
-
*
|
|
72
|
+
* Promotional code used by the customer.
|
|
78
73
|
*/
|
|
79
|
-
|
|
74
|
+
code: string;
|
|
80
75
|
/**
|
|
81
|
-
*
|
|
76
|
+
* Description of the promotional code.
|
|
82
77
|
*/
|
|
83
|
-
|
|
78
|
+
description?: string;
|
|
84
79
|
/**
|
|
85
|
-
*
|
|
80
|
+
* Total value of the promotional code.
|
|
86
81
|
*/
|
|
87
|
-
|
|
82
|
+
value_total: number;
|
|
88
83
|
/**
|
|
89
|
-
*
|
|
84
|
+
* Remaining value of the promotional code.
|
|
90
85
|
*/
|
|
91
86
|
value_remaining?: number;
|
|
92
87
|
};
|
|
93
88
|
export type ChartCreateInput = {
|
|
94
89
|
/**
|
|
95
|
-
* Values to be used in the chart.
|
|
90
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
96
91
|
*/
|
|
97
92
|
values: string;
|
|
98
93
|
/**
|
|
99
|
-
*
|
|
94
|
+
* Desired version range or channel for the chart.
|
|
100
95
|
*/
|
|
101
96
|
version_channel: string;
|
|
102
97
|
/**
|
|
@@ -114,11 +109,11 @@ export type ChartCreateInput = {
|
|
|
114
109
|
};
|
|
115
110
|
export type Chart = {
|
|
116
111
|
/**
|
|
117
|
-
* Values to be used in the chart.
|
|
112
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
118
113
|
*/
|
|
119
114
|
values: string;
|
|
120
115
|
/**
|
|
121
|
-
*
|
|
116
|
+
* Desired version range or channel for the chart.
|
|
122
117
|
*/
|
|
123
118
|
version_channel: string;
|
|
124
119
|
/**
|
|
@@ -136,7 +131,7 @@ export type Chart = {
|
|
|
136
131
|
/**
|
|
137
132
|
* Status of the chart deployment.
|
|
138
133
|
*/
|
|
139
|
-
status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing';
|
|
134
|
+
status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing' | 'SourceNotReady';
|
|
140
135
|
/**
|
|
141
136
|
* Current version of the chart deployment.
|
|
142
137
|
*/
|
|
@@ -156,11 +151,11 @@ export type Chart = {
|
|
|
156
151
|
};
|
|
157
152
|
export type ChartUpdateInput = {
|
|
158
153
|
/**
|
|
159
|
-
* Values to be used in the chart.
|
|
154
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
160
155
|
*/
|
|
161
156
|
values: string;
|
|
162
157
|
/**
|
|
163
|
-
*
|
|
158
|
+
* Desired version range or channel for the chart.
|
|
164
159
|
*/
|
|
165
160
|
version_channel: string;
|
|
166
161
|
};
|
|
@@ -169,14 +164,14 @@ export type ClusterCreateInput = {
|
|
|
169
164
|
* Name of the cluster.
|
|
170
165
|
*/
|
|
171
166
|
name: string;
|
|
172
|
-
/**
|
|
173
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
|
|
174
|
-
*/
|
|
175
|
-
region?: 'staging' | 'northamerica-central-1';
|
|
176
167
|
/**
|
|
177
168
|
* Tier of the cluster.
|
|
178
169
|
*/
|
|
179
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';
|
|
180
175
|
/**
|
|
181
176
|
* Version of the kubernetes cluster.
|
|
182
177
|
*/
|
|
@@ -215,6 +210,10 @@ export type ClusterJoinInformation = {
|
|
|
215
210
|
* Containerd version of the cluster.
|
|
216
211
|
*/
|
|
217
212
|
containerd: string;
|
|
213
|
+
/**
|
|
214
|
+
* NVIDIA driver version of the cluster.
|
|
215
|
+
*/
|
|
216
|
+
nvidia_driver: string;
|
|
218
217
|
};
|
|
219
218
|
/**
|
|
220
219
|
* OIDC Information for hosts to access to third party API's.
|
|
@@ -239,14 +238,14 @@ export type Cluster = {
|
|
|
239
238
|
* Name of the cluster.
|
|
240
239
|
*/
|
|
241
240
|
name: string;
|
|
242
|
-
/**
|
|
243
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
|
|
244
|
-
*/
|
|
245
|
-
region?: 'staging' | 'northamerica-central-1';
|
|
246
241
|
/**
|
|
247
242
|
* Tier of the cluster.
|
|
248
243
|
*/
|
|
249
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';
|
|
250
249
|
/**
|
|
251
250
|
* Version of the kubernetes cluster.
|
|
252
251
|
*/
|
|
@@ -258,7 +257,7 @@ export type Cluster = {
|
|
|
258
257
|
/**
|
|
259
258
|
* Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
|
|
260
259
|
*/
|
|
261
|
-
status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
260
|
+
status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
262
261
|
endpoint?: string | '';
|
|
263
262
|
/**
|
|
264
263
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
@@ -286,6 +285,10 @@ export type ClusterUpdateInput = {
|
|
|
286
285
|
* Name of the cluster.
|
|
287
286
|
*/
|
|
288
287
|
name?: string;
|
|
288
|
+
/**
|
|
289
|
+
* Tier of the cluster.
|
|
290
|
+
*/
|
|
291
|
+
tier: 'basic' | 'pro';
|
|
289
292
|
/**
|
|
290
293
|
* Version of the kubernetes cluster.
|
|
291
294
|
*/
|
|
@@ -310,10 +313,10 @@ export type FleetCreateInput = {
|
|
|
310
313
|
};
|
|
311
314
|
hetzner?: {
|
|
312
315
|
enabled?: boolean;
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
316
|
+
/**
|
|
317
|
+
* Hetzner Cloud API key with read / write access
|
|
318
|
+
*/
|
|
319
|
+
apiKey: string;
|
|
317
320
|
};
|
|
318
321
|
aws?: {
|
|
319
322
|
enabled?: boolean;
|
|
@@ -326,10 +329,6 @@ export type FleetCreateInput = {
|
|
|
326
329
|
* Unique identifier of the kubernetes fleet.
|
|
327
330
|
*/
|
|
328
331
|
id: string;
|
|
329
|
-
/**
|
|
330
|
-
* Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
|
|
331
|
-
*/
|
|
332
|
-
type: 'managed' | 'connected';
|
|
333
332
|
};
|
|
334
333
|
export type Fleet = {
|
|
335
334
|
/**
|
|
@@ -350,10 +349,10 @@ export type Fleet = {
|
|
|
350
349
|
};
|
|
351
350
|
hetzner?: {
|
|
352
351
|
enabled?: boolean;
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
352
|
+
/**
|
|
353
|
+
* Hetzner Cloud API key with read / write access
|
|
354
|
+
*/
|
|
355
|
+
apiKey: string;
|
|
357
356
|
};
|
|
358
357
|
aws?: {
|
|
359
358
|
enabled?: boolean;
|
|
@@ -366,10 +365,6 @@ export type Fleet = {
|
|
|
366
365
|
* Unique identifier of the kubernetes fleet.
|
|
367
366
|
*/
|
|
368
367
|
id: string;
|
|
369
|
-
/**
|
|
370
|
-
* Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
|
|
371
|
-
*/
|
|
372
|
-
type: 'managed' | 'connected';
|
|
373
368
|
};
|
|
374
369
|
export type FleetUpdateInput = {
|
|
375
370
|
/**
|
|
@@ -390,10 +385,10 @@ export type FleetUpdateInput = {
|
|
|
390
385
|
};
|
|
391
386
|
hetzner?: {
|
|
392
387
|
enabled?: boolean;
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
388
|
+
/**
|
|
389
|
+
* Hetzner Cloud API key with read / write access
|
|
390
|
+
*/
|
|
391
|
+
apiKey: string;
|
|
397
392
|
};
|
|
398
393
|
aws?: {
|
|
399
394
|
enabled?: boolean;
|
|
@@ -430,277 +425,114 @@ export type Invoice = {
|
|
|
430
425
|
* Unique identifier of the invoice. UUID v4 string in canonical form
|
|
431
426
|
*/
|
|
432
427
|
id?: string;
|
|
433
|
-
|
|
434
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
435
|
-
*/
|
|
436
|
-
organizationId?: string;
|
|
428
|
+
number?: string;
|
|
437
429
|
/**
|
|
438
430
|
* Status of the invoice
|
|
439
431
|
*/
|
|
440
|
-
status?:
|
|
432
|
+
status?: string;
|
|
441
433
|
/**
|
|
442
434
|
* Total amount of the invoice
|
|
443
435
|
*/
|
|
444
|
-
|
|
436
|
+
total?: number;
|
|
445
437
|
/**
|
|
446
438
|
* Currency of the invoice
|
|
447
439
|
*/
|
|
448
|
-
currency?:
|
|
440
|
+
currency?: string;
|
|
449
441
|
/**
|
|
450
|
-
*
|
|
442
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
451
443
|
*/
|
|
452
|
-
|
|
444
|
+
created: string;
|
|
453
445
|
/**
|
|
454
|
-
*
|
|
446
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
455
447
|
*/
|
|
456
|
-
|
|
448
|
+
period_start: string;
|
|
457
449
|
/**
|
|
458
|
-
*
|
|
450
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
459
451
|
*/
|
|
460
|
-
|
|
452
|
+
period_end: string;
|
|
453
|
+
invoice_pdf?: string;
|
|
454
|
+
};
|
|
455
|
+
export type MarketplaceListingFiles = {
|
|
461
456
|
/**
|
|
462
|
-
*
|
|
457
|
+
* Raw Chart.yaml content from the Helm chart
|
|
463
458
|
*/
|
|
464
|
-
|
|
459
|
+
chartYaml?: string;
|
|
465
460
|
/**
|
|
466
|
-
*
|
|
461
|
+
* Raw values.yaml content from the Helm chart
|
|
467
462
|
*/
|
|
468
|
-
|
|
463
|
+
valuesYaml?: string;
|
|
469
464
|
/**
|
|
470
|
-
*
|
|
465
|
+
* JSON schema for values.yaml as a string
|
|
471
466
|
*/
|
|
472
|
-
|
|
467
|
+
valuesSchemaJson?: string;
|
|
468
|
+
};
|
|
469
|
+
export type MarketplaceListing = {
|
|
473
470
|
/**
|
|
474
|
-
*
|
|
471
|
+
* Name of the chart
|
|
475
472
|
*/
|
|
476
|
-
|
|
473
|
+
name: string;
|
|
477
474
|
/**
|
|
478
|
-
*
|
|
475
|
+
* Available versions of the chart
|
|
479
476
|
*/
|
|
480
|
-
|
|
481
|
-
/**
|
|
482
|
-
* Unique identifier of the invoice item. UUID v4 string in canonical form
|
|
483
|
-
*/
|
|
484
|
-
id?: string;
|
|
485
|
-
/**
|
|
486
|
-
* Unique identifier of the linked invoice item. UUID v4 string in canonical form
|
|
487
|
-
*/
|
|
488
|
-
linkedInvoiceItemId?: string;
|
|
489
|
-
/**
|
|
490
|
-
* Name of the product
|
|
491
|
-
*/
|
|
492
|
-
productName?: string;
|
|
493
|
-
/**
|
|
494
|
-
* Name of the plan
|
|
495
|
-
*/
|
|
496
|
-
planName?: string;
|
|
497
|
-
/**
|
|
498
|
-
* Name of the phase
|
|
499
|
-
*/
|
|
500
|
-
phaseName?: string;
|
|
501
|
-
/**
|
|
502
|
-
* Name of the usage
|
|
503
|
-
*/
|
|
504
|
-
usageName?: string;
|
|
505
|
-
/**
|
|
506
|
-
* Pretty name of the product
|
|
507
|
-
*/
|
|
508
|
-
prettyProductName?: string;
|
|
509
|
-
/**
|
|
510
|
-
* Pretty name of the plan
|
|
511
|
-
*/
|
|
512
|
-
prettyPlanName?: string;
|
|
513
|
-
/**
|
|
514
|
-
* Pretty name of the phase
|
|
515
|
-
*/
|
|
516
|
-
prettyPhaseName?: string;
|
|
517
|
-
/**
|
|
518
|
-
* Pretty name of the usage
|
|
519
|
-
*/
|
|
520
|
-
prettyUsageName?: string;
|
|
521
|
-
/**
|
|
522
|
-
* Type of the invoice item
|
|
523
|
-
*/
|
|
524
|
-
itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
|
|
525
|
-
/**
|
|
526
|
-
* Description of the invoice item
|
|
527
|
-
*/
|
|
528
|
-
description?: string;
|
|
529
|
-
/**
|
|
530
|
-
* Start date of the invoice item
|
|
531
|
-
*/
|
|
532
|
-
startDate?: string;
|
|
533
|
-
/**
|
|
534
|
-
* End date of the invoice item
|
|
535
|
-
*/
|
|
536
|
-
endDate?: string;
|
|
537
|
-
/**
|
|
538
|
-
* Amount of the invoice item
|
|
539
|
-
*/
|
|
540
|
-
amount?: number;
|
|
541
|
-
/**
|
|
542
|
-
* Rate of the invoice item
|
|
543
|
-
*/
|
|
544
|
-
rate?: number;
|
|
545
|
-
/**
|
|
546
|
-
* Currency of the invoice item
|
|
547
|
-
*/
|
|
548
|
-
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';
|
|
549
|
-
/**
|
|
550
|
-
* Quantity of the invoice item
|
|
551
|
-
*/
|
|
552
|
-
quantity?: number;
|
|
553
|
-
/**
|
|
554
|
-
* Details of the invoice item
|
|
555
|
-
*/
|
|
556
|
-
itemDetails?: string;
|
|
557
|
-
/**
|
|
558
|
-
* Effective date of the catalog
|
|
559
|
-
*/
|
|
560
|
-
catalogEffectiveDate?: string;
|
|
561
|
-
/**
|
|
562
|
-
* Child items of the invoice item
|
|
563
|
-
*/
|
|
564
|
-
childItems?: Array<Array<unknown> | boolean | number | {
|
|
565
|
-
[key: string]: unknown;
|
|
566
|
-
} | string>;
|
|
567
|
-
}>;
|
|
477
|
+
versions: Array<string>;
|
|
568
478
|
/**
|
|
569
|
-
*
|
|
479
|
+
* Version channels for the chart
|
|
570
480
|
*/
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
/**
|
|
581
|
-
* Name of the product
|
|
582
|
-
*/
|
|
583
|
-
productName?: string;
|
|
584
|
-
/**
|
|
585
|
-
* Name of the plan
|
|
586
|
-
*/
|
|
587
|
-
planName?: string;
|
|
588
|
-
/**
|
|
589
|
-
* Name of the phase
|
|
590
|
-
*/
|
|
591
|
-
phaseName?: string;
|
|
592
|
-
/**
|
|
593
|
-
* Name of the usage
|
|
594
|
-
*/
|
|
595
|
-
usageName?: string;
|
|
596
|
-
/**
|
|
597
|
-
* Pretty name of the product
|
|
598
|
-
*/
|
|
599
|
-
prettyProductName?: string;
|
|
600
|
-
/**
|
|
601
|
-
* Pretty name of the plan
|
|
602
|
-
*/
|
|
603
|
-
prettyPlanName?: string;
|
|
604
|
-
/**
|
|
605
|
-
* Pretty name of the phase
|
|
606
|
-
*/
|
|
607
|
-
prettyPhaseName?: string;
|
|
481
|
+
version_channels: Array<string>;
|
|
482
|
+
/**
|
|
483
|
+
* Latest version of the chart
|
|
484
|
+
*/
|
|
485
|
+
latestVersion: string;
|
|
486
|
+
/**
|
|
487
|
+
* Chart metadata
|
|
488
|
+
*/
|
|
489
|
+
metadata?: {
|
|
608
490
|
/**
|
|
609
|
-
*
|
|
491
|
+
* Chart name from metadata
|
|
610
492
|
*/
|
|
611
|
-
|
|
493
|
+
name: string;
|
|
612
494
|
/**
|
|
613
|
-
*
|
|
495
|
+
* Chart version from metadata
|
|
614
496
|
*/
|
|
615
|
-
|
|
497
|
+
version: string;
|
|
616
498
|
/**
|
|
617
|
-
*
|
|
499
|
+
* Chart description
|
|
618
500
|
*/
|
|
619
501
|
description?: string;
|
|
620
502
|
/**
|
|
621
|
-
*
|
|
622
|
-
*/
|
|
623
|
-
startDate?: string;
|
|
624
|
-
/**
|
|
625
|
-
* End date of the invoice item
|
|
626
|
-
*/
|
|
627
|
-
endDate?: string;
|
|
628
|
-
/**
|
|
629
|
-
* Amount of the invoice item
|
|
630
|
-
*/
|
|
631
|
-
amount?: number;
|
|
632
|
-
/**
|
|
633
|
-
* Rate of the invoice item
|
|
634
|
-
*/
|
|
635
|
-
rate?: number;
|
|
636
|
-
/**
|
|
637
|
-
* Currency of the invoice item
|
|
638
|
-
*/
|
|
639
|
-
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';
|
|
640
|
-
/**
|
|
641
|
-
* Quantity of the invoice item
|
|
642
|
-
*/
|
|
643
|
-
quantity?: number;
|
|
644
|
-
/**
|
|
645
|
-
* Details of the invoice item
|
|
503
|
+
* Application version
|
|
646
504
|
*/
|
|
647
|
-
|
|
505
|
+
appVersion?: string;
|
|
648
506
|
/**
|
|
649
|
-
*
|
|
507
|
+
* Helm API version
|
|
650
508
|
*/
|
|
651
|
-
|
|
509
|
+
apiVersion?: string;
|
|
652
510
|
/**
|
|
653
|
-
*
|
|
511
|
+
* Chart keywords
|
|
654
512
|
*/
|
|
655
|
-
|
|
656
|
-
[key: string]: unknown;
|
|
657
|
-
} | string>;
|
|
658
|
-
}>;
|
|
659
|
-
};
|
|
660
|
-
export type MarketplaceListing = {
|
|
661
|
-
/**
|
|
662
|
-
* Id of the chart listing
|
|
663
|
-
*/
|
|
664
|
-
id: string;
|
|
665
|
-
/**
|
|
666
|
-
* Name of the chart listing
|
|
667
|
-
*/
|
|
668
|
-
name: string;
|
|
669
|
-
/**
|
|
670
|
-
* Author of the chart listing
|
|
671
|
-
*/
|
|
672
|
-
developer: string;
|
|
673
|
-
/**
|
|
674
|
-
* Short description of the chart listing
|
|
675
|
-
*/
|
|
676
|
-
description: string;
|
|
677
|
-
/**
|
|
678
|
-
* Logo of the chart listing
|
|
679
|
-
*/
|
|
680
|
-
logoUrl: string;
|
|
681
|
-
/**
|
|
682
|
-
* Long description of the chart listing
|
|
683
|
-
*/
|
|
684
|
-
longDescription: string;
|
|
685
|
-
/**
|
|
686
|
-
* Tags of the chart
|
|
687
|
-
*/
|
|
688
|
-
categories: Array<string>;
|
|
689
|
-
version_channels: Array<string>;
|
|
690
|
-
value_schemas: Array<{
|
|
513
|
+
keywords?: Array<string>;
|
|
691
514
|
/**
|
|
692
|
-
*
|
|
515
|
+
* Chart home URL
|
|
693
516
|
*/
|
|
694
|
-
|
|
517
|
+
home?: string;
|
|
695
518
|
/**
|
|
696
|
-
*
|
|
519
|
+
* Chart source URLs
|
|
697
520
|
*/
|
|
698
|
-
|
|
521
|
+
sources?: Array<string>;
|
|
699
522
|
/**
|
|
700
|
-
*
|
|
523
|
+
* Chart maintainers
|
|
701
524
|
*/
|
|
702
|
-
|
|
703
|
-
|
|
525
|
+
maintainers?: Array<{
|
|
526
|
+
/**
|
|
527
|
+
* Maintainer name
|
|
528
|
+
*/
|
|
529
|
+
name: string;
|
|
530
|
+
/**
|
|
531
|
+
* Maintainer email
|
|
532
|
+
*/
|
|
533
|
+
email?: string;
|
|
534
|
+
}>;
|
|
535
|
+
};
|
|
704
536
|
};
|
|
705
537
|
export type OrganizationCreateInput = {
|
|
706
538
|
/**
|
|
@@ -761,10 +593,6 @@ export type Organization = {
|
|
|
761
593
|
* Maximum number of fleets that can be created per cluster.
|
|
762
594
|
*/
|
|
763
595
|
fleets_max: number;
|
|
764
|
-
/**
|
|
765
|
-
* Maximum number of CPU cores per managed fleet.
|
|
766
|
-
*/
|
|
767
|
-
managed_fleets_cpu_max: number;
|
|
768
596
|
/**
|
|
769
597
|
* List of Cloudfleet cluster tiers available for the organization.
|
|
770
598
|
*/
|
|
@@ -822,6 +650,164 @@ export type PaymentMethod = {
|
|
|
822
650
|
*/
|
|
823
651
|
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
824
652
|
};
|
|
653
|
+
export type PlatformQuota = {
|
|
654
|
+
/**
|
|
655
|
+
* Maximum number of Basic clusters that can be created.
|
|
656
|
+
*/
|
|
657
|
+
basic_clusters_max: number;
|
|
658
|
+
/**
|
|
659
|
+
* Available number of Basic clusters that can be created.
|
|
660
|
+
*/
|
|
661
|
+
basic_clusters_available: number;
|
|
662
|
+
/**
|
|
663
|
+
* Maximum number of Pro clusters that can be created.
|
|
664
|
+
*/
|
|
665
|
+
pro_clusters_max: number;
|
|
666
|
+
/**
|
|
667
|
+
* Available number of Pro clusters that can be created.
|
|
668
|
+
*/
|
|
669
|
+
pro_clusters_available: number;
|
|
670
|
+
/**
|
|
671
|
+
* Maximum number of fleets that can be created per cluster.
|
|
672
|
+
*/
|
|
673
|
+
fleets_max: number;
|
|
674
|
+
/**
|
|
675
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
676
|
+
*/
|
|
677
|
+
cluster_tiers: Array<string>;
|
|
678
|
+
/**
|
|
679
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
680
|
+
*/
|
|
681
|
+
regions: Array<string>;
|
|
682
|
+
/**
|
|
683
|
+
* List of CFKE control plane versions available for the organization.
|
|
684
|
+
*/
|
|
685
|
+
versions: Array<{
|
|
686
|
+
/**
|
|
687
|
+
* Id of the control plane version. Used in API calls.
|
|
688
|
+
*/
|
|
689
|
+
id: string;
|
|
690
|
+
/**
|
|
691
|
+
* Label of the control plane version. Used in frontent UI.
|
|
692
|
+
*/
|
|
693
|
+
label: string;
|
|
694
|
+
}>;
|
|
695
|
+
};
|
|
696
|
+
export type RegistryRepository = {
|
|
697
|
+
/**
|
|
698
|
+
* Repository name.
|
|
699
|
+
*/
|
|
700
|
+
name: string;
|
|
701
|
+
/**
|
|
702
|
+
* Registry region.
|
|
703
|
+
*/
|
|
704
|
+
region: string;
|
|
705
|
+
/**
|
|
706
|
+
* Full URI of the repository.
|
|
707
|
+
*/
|
|
708
|
+
uri: string;
|
|
709
|
+
};
|
|
710
|
+
export type RegistryRepositoryWithTags = {
|
|
711
|
+
/**
|
|
712
|
+
* Repository name.
|
|
713
|
+
*/
|
|
714
|
+
name: string;
|
|
715
|
+
/**
|
|
716
|
+
* Registry region.
|
|
717
|
+
*/
|
|
718
|
+
region: string;
|
|
719
|
+
/**
|
|
720
|
+
* Full URI of the repository.
|
|
721
|
+
*/
|
|
722
|
+
uri: string;
|
|
723
|
+
/**
|
|
724
|
+
* Array of tags in the repository.
|
|
725
|
+
*/
|
|
726
|
+
tags: Array<{
|
|
727
|
+
/**
|
|
728
|
+
* Tag name.
|
|
729
|
+
*/
|
|
730
|
+
name: string;
|
|
731
|
+
/**
|
|
732
|
+
* Size of the tag in bytes.
|
|
733
|
+
*/
|
|
734
|
+
size: number;
|
|
735
|
+
/**
|
|
736
|
+
* Media type of the manifest.
|
|
737
|
+
*/
|
|
738
|
+
mediaType?: string;
|
|
739
|
+
}>;
|
|
740
|
+
/**
|
|
741
|
+
* Total size of all tags in the repository in bytes.
|
|
742
|
+
*/
|
|
743
|
+
totalSize: number;
|
|
744
|
+
};
|
|
745
|
+
export type RegistryTag = {
|
|
746
|
+
/**
|
|
747
|
+
* Tag name.
|
|
748
|
+
*/
|
|
749
|
+
name: string;
|
|
750
|
+
/**
|
|
751
|
+
* Media type of the manifest.
|
|
752
|
+
*/
|
|
753
|
+
mediaType?: string;
|
|
754
|
+
/**
|
|
755
|
+
* Manifest config metadata.
|
|
756
|
+
*/
|
|
757
|
+
config?: {
|
|
758
|
+
/**
|
|
759
|
+
* Size of the config in bytes.
|
|
760
|
+
*/
|
|
761
|
+
size: number;
|
|
762
|
+
};
|
|
763
|
+
/**
|
|
764
|
+
* Array of layer metadata.
|
|
765
|
+
*/
|
|
766
|
+
layers?: Array<{
|
|
767
|
+
/**
|
|
768
|
+
* Size of the layer in bytes.
|
|
769
|
+
*/
|
|
770
|
+
size: number;
|
|
771
|
+
}>;
|
|
772
|
+
/**
|
|
773
|
+
* Array of manifests for multi-arch images.
|
|
774
|
+
*/
|
|
775
|
+
manifests?: Array<{
|
|
776
|
+
/**
|
|
777
|
+
* Digest of the manifest.
|
|
778
|
+
*/
|
|
779
|
+
digest: string;
|
|
780
|
+
/**
|
|
781
|
+
* Platform information for the manifest.
|
|
782
|
+
*/
|
|
783
|
+
platform?: {
|
|
784
|
+
/**
|
|
785
|
+
* Architecture of the platform.
|
|
786
|
+
*/
|
|
787
|
+
architecture: string;
|
|
788
|
+
/**
|
|
789
|
+
* Operating system of the platform.
|
|
790
|
+
*/
|
|
791
|
+
os: string;
|
|
792
|
+
};
|
|
793
|
+
}>;
|
|
794
|
+
/**
|
|
795
|
+
* Total size of the tag in bytes.
|
|
796
|
+
*/
|
|
797
|
+
size: number;
|
|
798
|
+
/**
|
|
799
|
+
* Registry region.
|
|
800
|
+
*/
|
|
801
|
+
region: string;
|
|
802
|
+
/**
|
|
803
|
+
* Repository name.
|
|
804
|
+
*/
|
|
805
|
+
repository: string;
|
|
806
|
+
/**
|
|
807
|
+
* Full URI of the tag.
|
|
808
|
+
*/
|
|
809
|
+
uri: string;
|
|
810
|
+
};
|
|
825
811
|
export type TokenCreateInput = {
|
|
826
812
|
/**
|
|
827
813
|
* Human readable access token name.
|
|
@@ -864,35 +850,85 @@ export type TokenUpdateInput = {
|
|
|
864
850
|
*/
|
|
865
851
|
role?: 'Administrator' | 'User';
|
|
866
852
|
};
|
|
853
|
+
export type UsageFacets = {
|
|
854
|
+
/**
|
|
855
|
+
* List of unique cluster IDs
|
|
856
|
+
*/
|
|
857
|
+
cluster_id?: Array<string>;
|
|
858
|
+
/**
|
|
859
|
+
* List of unique products
|
|
860
|
+
*/
|
|
861
|
+
product?: Array<string>;
|
|
862
|
+
};
|
|
863
|
+
export type UsageResponse = {
|
|
864
|
+
/**
|
|
865
|
+
* Usage data
|
|
866
|
+
*/
|
|
867
|
+
data: Array<{
|
|
868
|
+
/**
|
|
869
|
+
* Hour of the usage
|
|
870
|
+
*/
|
|
871
|
+
hour: string;
|
|
872
|
+
/**
|
|
873
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
874
|
+
*/
|
|
875
|
+
cluster_id: string;
|
|
876
|
+
/**
|
|
877
|
+
* The product the usage is associated with
|
|
878
|
+
*/
|
|
879
|
+
product: string;
|
|
880
|
+
/**
|
|
881
|
+
* Consumption
|
|
882
|
+
*/
|
|
883
|
+
value: number;
|
|
884
|
+
/**
|
|
885
|
+
* Price per unit
|
|
886
|
+
*/
|
|
887
|
+
price: number;
|
|
888
|
+
/**
|
|
889
|
+
* Total cost
|
|
890
|
+
*/
|
|
891
|
+
total: number;
|
|
892
|
+
}>;
|
|
893
|
+
/**
|
|
894
|
+
* Facets for filtering
|
|
895
|
+
*/
|
|
896
|
+
facets: {
|
|
897
|
+
/**
|
|
898
|
+
* List of unique cluster IDs
|
|
899
|
+
*/
|
|
900
|
+
cluster_id?: Array<string>;
|
|
901
|
+
/**
|
|
902
|
+
* List of unique products
|
|
903
|
+
*/
|
|
904
|
+
product?: Array<string>;
|
|
905
|
+
};
|
|
906
|
+
};
|
|
867
907
|
export type Usage = {
|
|
868
908
|
/**
|
|
869
909
|
* Hour of the usage
|
|
870
910
|
*/
|
|
871
|
-
hour
|
|
911
|
+
hour: string;
|
|
872
912
|
/**
|
|
873
913
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
874
914
|
*/
|
|
875
915
|
cluster_id: string;
|
|
876
916
|
/**
|
|
877
|
-
*
|
|
917
|
+
* The product the usage is associated with
|
|
878
918
|
*/
|
|
879
|
-
|
|
919
|
+
product: string;
|
|
880
920
|
/**
|
|
881
|
-
*
|
|
921
|
+
* Consumption
|
|
882
922
|
*/
|
|
883
|
-
|
|
923
|
+
value: number;
|
|
884
924
|
/**
|
|
885
|
-
*
|
|
925
|
+
* Price per unit
|
|
886
926
|
*/
|
|
887
|
-
|
|
927
|
+
price: number;
|
|
888
928
|
/**
|
|
889
|
-
*
|
|
929
|
+
* Total cost
|
|
890
930
|
*/
|
|
891
|
-
|
|
892
|
-
cpu: number | '';
|
|
893
|
-
price: number | '';
|
|
894
|
-
value: number | '';
|
|
895
|
-
total: number | '';
|
|
931
|
+
total: number;
|
|
896
932
|
};
|
|
897
933
|
export type UserCreateInput = {
|
|
898
934
|
/**
|
|
@@ -979,7 +1015,12 @@ export type UserUpdateInput = {
|
|
|
979
1015
|
export type GetUsageData = {
|
|
980
1016
|
body?: never;
|
|
981
1017
|
path?: never;
|
|
982
|
-
query?:
|
|
1018
|
+
query?: {
|
|
1019
|
+
/**
|
|
1020
|
+
* 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)
|
|
1021
|
+
*/
|
|
1022
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
1023
|
+
};
|
|
983
1024
|
url: '/billing/usage';
|
|
984
1025
|
};
|
|
985
1026
|
export type GetUsageErrors = {
|
|
@@ -990,24 +1031,11 @@ export type GetUsageErrors = {
|
|
|
990
1031
|
};
|
|
991
1032
|
export type GetUsageResponses = {
|
|
992
1033
|
/**
|
|
993
|
-
*
|
|
1034
|
+
* Usage data with facets for filtering
|
|
994
1035
|
*/
|
|
995
|
-
200:
|
|
1036
|
+
200: UsageResponse;
|
|
996
1037
|
};
|
|
997
1038
|
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
998
|
-
export type GetBalanceData = {
|
|
999
|
-
body?: never;
|
|
1000
|
-
path?: never;
|
|
1001
|
-
query?: never;
|
|
1002
|
-
url: '/billing/balance';
|
|
1003
|
-
};
|
|
1004
|
-
export type GetBalanceResponses = {
|
|
1005
|
-
/**
|
|
1006
|
-
* Current balance of the organization in USD as a floating-point number.
|
|
1007
|
-
*/
|
|
1008
|
-
200: number;
|
|
1009
|
-
};
|
|
1010
|
-
export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
|
|
1011
1039
|
export type GetPaymentMethodData = {
|
|
1012
1040
|
body?: never;
|
|
1013
1041
|
path?: never;
|
|
@@ -1049,16 +1077,7 @@ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[key
|
|
|
1049
1077
|
export type ListInvoicesData = {
|
|
1050
1078
|
body?: never;
|
|
1051
1079
|
path?: never;
|
|
1052
|
-
query
|
|
1053
|
-
/**
|
|
1054
|
-
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1055
|
-
*/
|
|
1056
|
-
start_date: string;
|
|
1057
|
-
/**
|
|
1058
|
-
* End date for the usage. Date of newest data point to retrieve.
|
|
1059
|
-
*/
|
|
1060
|
-
end_date: string;
|
|
1061
|
-
};
|
|
1080
|
+
query?: never;
|
|
1062
1081
|
url: '/billing/invoices';
|
|
1063
1082
|
};
|
|
1064
1083
|
export type ListInvoicesErrors = {
|
|
@@ -1074,26 +1093,6 @@ export type ListInvoicesResponses = {
|
|
|
1074
1093
|
200: Array<Invoice>;
|
|
1075
1094
|
};
|
|
1076
1095
|
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
1077
|
-
export type GetInvoiceData = {
|
|
1078
|
-
body?: never;
|
|
1079
|
-
path: {
|
|
1080
|
-
/**
|
|
1081
|
-
* Unique invoice identifier. UUID v4 string in canonical form
|
|
1082
|
-
*/
|
|
1083
|
-
id: string;
|
|
1084
|
-
};
|
|
1085
|
-
query?: never;
|
|
1086
|
-
url: '/billing/invoices/{id}';
|
|
1087
|
-
};
|
|
1088
|
-
export type GetInvoiceResponses = {
|
|
1089
|
-
/**
|
|
1090
|
-
* Returns a single Invoice HTML representation under `html` property.
|
|
1091
|
-
*/
|
|
1092
|
-
200: {
|
|
1093
|
-
html?: string;
|
|
1094
|
-
};
|
|
1095
|
-
};
|
|
1096
|
-
export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
|
|
1097
1096
|
export type GetContactData = {
|
|
1098
1097
|
body?: never;
|
|
1099
1098
|
path?: never;
|
|
@@ -1529,7 +1528,7 @@ export type GetJoinInformationResponses = {
|
|
|
1529
1528
|
/**
|
|
1530
1529
|
* An object of cluster join information
|
|
1531
1530
|
*/
|
|
1532
|
-
200:
|
|
1531
|
+
200: ClusterJoinInformation;
|
|
1533
1532
|
};
|
|
1534
1533
|
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
1535
1534
|
export type ListInvitesData = {
|
|
@@ -1623,24 +1622,76 @@ export type ListMarketplaceChartsResponses = {
|
|
|
1623
1622
|
200: Array<MarketplaceListing>;
|
|
1624
1623
|
};
|
|
1625
1624
|
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
1626
|
-
export type
|
|
1625
|
+
export type GetMarketplaceChartFilesData = {
|
|
1627
1626
|
body?: never;
|
|
1628
1627
|
path: {
|
|
1629
1628
|
/**
|
|
1630
|
-
*
|
|
1629
|
+
* Name of the chart in the marketplace.
|
|
1631
1630
|
*/
|
|
1632
|
-
|
|
1631
|
+
chart_name: string;
|
|
1632
|
+
/**
|
|
1633
|
+
* Version of the chart.
|
|
1634
|
+
*/
|
|
1635
|
+
version: string;
|
|
1633
1636
|
};
|
|
1634
1637
|
query?: never;
|
|
1635
|
-
url: '/marketplace/{
|
|
1638
|
+
url: '/marketplace/{chart_name}/files/{version}';
|
|
1636
1639
|
};
|
|
1637
|
-
export type
|
|
1640
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
1638
1641
|
/**
|
|
1639
|
-
*
|
|
1642
|
+
* Chart or version not found
|
|
1640
1643
|
*/
|
|
1641
|
-
|
|
1644
|
+
404: unknown;
|
|
1642
1645
|
};
|
|
1643
|
-
export type
|
|
1646
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
1647
|
+
/**
|
|
1648
|
+
* Returns an object containing the chart files.
|
|
1649
|
+
*/
|
|
1650
|
+
200: MarketplaceListingFiles;
|
|
1651
|
+
};
|
|
1652
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
1653
|
+
export type PostMcpData = {
|
|
1654
|
+
/**
|
|
1655
|
+
* JSON-RPC 2.0 request payload
|
|
1656
|
+
*/
|
|
1657
|
+
body: {
|
|
1658
|
+
jsonrpc?: string;
|
|
1659
|
+
method?: string;
|
|
1660
|
+
id?: string | number;
|
|
1661
|
+
/**
|
|
1662
|
+
* Method-specific parameters
|
|
1663
|
+
*/
|
|
1664
|
+
params?: {
|
|
1665
|
+
[key: string]: unknown;
|
|
1666
|
+
};
|
|
1667
|
+
};
|
|
1668
|
+
path?: never;
|
|
1669
|
+
query?: never;
|
|
1670
|
+
url: '/mcp';
|
|
1671
|
+
};
|
|
1672
|
+
export type PostMcpErrors = {
|
|
1673
|
+
/**
|
|
1674
|
+
* Not authenticated
|
|
1675
|
+
*/
|
|
1676
|
+
401: unknown;
|
|
1677
|
+
};
|
|
1678
|
+
export type PostMcpResponses = {
|
|
1679
|
+
/**
|
|
1680
|
+
* JSON-RPC 2.0 success or error response
|
|
1681
|
+
*/
|
|
1682
|
+
200: {
|
|
1683
|
+
jsonrpc?: string;
|
|
1684
|
+
id?: string | number;
|
|
1685
|
+
result?: {
|
|
1686
|
+
[key: string]: unknown;
|
|
1687
|
+
};
|
|
1688
|
+
error?: {
|
|
1689
|
+
code?: number;
|
|
1690
|
+
message?: string;
|
|
1691
|
+
};
|
|
1692
|
+
};
|
|
1693
|
+
};
|
|
1694
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
1644
1695
|
export type GetOrganizationData = {
|
|
1645
1696
|
body?: never;
|
|
1646
1697
|
path?: never;
|
|
@@ -1666,6 +1717,144 @@ export type CreateOrganizationResponses = {
|
|
|
1666
1717
|
*/
|
|
1667
1718
|
200: unknown;
|
|
1668
1719
|
};
|
|
1720
|
+
export type ListRepositoriesData = {
|
|
1721
|
+
body?: never;
|
|
1722
|
+
path?: never;
|
|
1723
|
+
query?: never;
|
|
1724
|
+
url: '/registry';
|
|
1725
|
+
};
|
|
1726
|
+
export type ListRepositoriesErrors = {
|
|
1727
|
+
/**
|
|
1728
|
+
* Not authenticated
|
|
1729
|
+
*/
|
|
1730
|
+
401: unknown;
|
|
1731
|
+
/**
|
|
1732
|
+
* Internal server error
|
|
1733
|
+
*/
|
|
1734
|
+
500: unknown;
|
|
1735
|
+
};
|
|
1736
|
+
export type ListRepositoriesResponses = {
|
|
1737
|
+
/**
|
|
1738
|
+
* List of repositories
|
|
1739
|
+
*/
|
|
1740
|
+
200: Array<RegistryRepository>;
|
|
1741
|
+
};
|
|
1742
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
1743
|
+
export type ListTagsData = {
|
|
1744
|
+
body?: never;
|
|
1745
|
+
path: {
|
|
1746
|
+
/**
|
|
1747
|
+
* Region where the repository is located
|
|
1748
|
+
*/
|
|
1749
|
+
region: string;
|
|
1750
|
+
/**
|
|
1751
|
+
* Name of the repository
|
|
1752
|
+
*/
|
|
1753
|
+
repository: string;
|
|
1754
|
+
};
|
|
1755
|
+
query?: never;
|
|
1756
|
+
url: '/registry/{region}/{repository}';
|
|
1757
|
+
};
|
|
1758
|
+
export type ListTagsErrors = {
|
|
1759
|
+
/**
|
|
1760
|
+
* Not authenticated
|
|
1761
|
+
*/
|
|
1762
|
+
401: unknown;
|
|
1763
|
+
/**
|
|
1764
|
+
* Repository not found
|
|
1765
|
+
*/
|
|
1766
|
+
404: unknown;
|
|
1767
|
+
/**
|
|
1768
|
+
* Internal server error
|
|
1769
|
+
*/
|
|
1770
|
+
500: unknown;
|
|
1771
|
+
};
|
|
1772
|
+
export type ListTagsResponses = {
|
|
1773
|
+
/**
|
|
1774
|
+
* Repository with tags
|
|
1775
|
+
*/
|
|
1776
|
+
200: RegistryRepositoryWithTags;
|
|
1777
|
+
};
|
|
1778
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
1779
|
+
export type DeleteTagData = {
|
|
1780
|
+
body?: never;
|
|
1781
|
+
path: {
|
|
1782
|
+
/**
|
|
1783
|
+
* Region where the repository is located
|
|
1784
|
+
*/
|
|
1785
|
+
region: string;
|
|
1786
|
+
/**
|
|
1787
|
+
* Name of the repository
|
|
1788
|
+
*/
|
|
1789
|
+
repository: string;
|
|
1790
|
+
/**
|
|
1791
|
+
* Name of the tag
|
|
1792
|
+
*/
|
|
1793
|
+
tag: string;
|
|
1794
|
+
};
|
|
1795
|
+
query?: never;
|
|
1796
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1797
|
+
};
|
|
1798
|
+
export type DeleteTagErrors = {
|
|
1799
|
+
/**
|
|
1800
|
+
* Not authenticated
|
|
1801
|
+
*/
|
|
1802
|
+
401: unknown;
|
|
1803
|
+
/**
|
|
1804
|
+
* Tag not found
|
|
1805
|
+
*/
|
|
1806
|
+
404: unknown;
|
|
1807
|
+
/**
|
|
1808
|
+
* Internal server error
|
|
1809
|
+
*/
|
|
1810
|
+
500: unknown;
|
|
1811
|
+
};
|
|
1812
|
+
export type DeleteTagResponses = {
|
|
1813
|
+
/**
|
|
1814
|
+
* Tag successfully deleted
|
|
1815
|
+
*/
|
|
1816
|
+
200: unknown;
|
|
1817
|
+
};
|
|
1818
|
+
export type GetTagData = {
|
|
1819
|
+
body?: never;
|
|
1820
|
+
path: {
|
|
1821
|
+
/**
|
|
1822
|
+
* Region where the repository is located
|
|
1823
|
+
*/
|
|
1824
|
+
region: string;
|
|
1825
|
+
/**
|
|
1826
|
+
* Name of the repository
|
|
1827
|
+
*/
|
|
1828
|
+
repository: string;
|
|
1829
|
+
/**
|
|
1830
|
+
* Name of the tag
|
|
1831
|
+
*/
|
|
1832
|
+
tag: string;
|
|
1833
|
+
};
|
|
1834
|
+
query?: never;
|
|
1835
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1836
|
+
};
|
|
1837
|
+
export type GetTagErrors = {
|
|
1838
|
+
/**
|
|
1839
|
+
* Not authenticated
|
|
1840
|
+
*/
|
|
1841
|
+
401: unknown;
|
|
1842
|
+
/**
|
|
1843
|
+
* Tag not found
|
|
1844
|
+
*/
|
|
1845
|
+
404: unknown;
|
|
1846
|
+
/**
|
|
1847
|
+
* Internal server error
|
|
1848
|
+
*/
|
|
1849
|
+
500: unknown;
|
|
1850
|
+
};
|
|
1851
|
+
export type GetTagResponses = {
|
|
1852
|
+
/**
|
|
1853
|
+
* Tag details
|
|
1854
|
+
*/
|
|
1855
|
+
200: RegistryTag;
|
|
1856
|
+
};
|
|
1857
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
1669
1858
|
export type ListTokensData = {
|
|
1670
1859
|
body?: never;
|
|
1671
1860
|
path?: never;
|
|
@@ -1922,7 +2111,4 @@ export type UpdateUserResponses = {
|
|
|
1922
2111
|
200: User;
|
|
1923
2112
|
};
|
|
1924
2113
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1925
|
-
export type ClientOptions = {
|
|
1926
|
-
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
1927
|
-
};
|
|
1928
2114
|
//# sourceMappingURL=types.gen.d.ts.map
|