@cloudfleet/sdk 0.0.1-7f36848 → 0.0.1-80ccdf7
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 +236 -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 +118 -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 +229 -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 +2 -4
- 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 +26 -0
- package/dist/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/core/bodySerializer.gen.js +58 -0
- package/dist/core/bodySerializer.gen.js.map +1 -0
- package/dist/core/params.gen.d.ts +44 -0
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/params.gen.js +101 -0
- package/dist/core/params.gen.js.map +1 -0
- package/dist/core/pathSerializer.gen.d.ts +34 -0
- package/dist/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/core/pathSerializer.gen.js +107 -0
- package/dist/core/pathSerializer.gen.js.map +1 -0
- package/dist/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/core/queryKeySerializer.gen.js +93 -0
- package/dist/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/core/serverSentEvents.gen.js +134 -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 +712 -557
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +1226 -646
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +141 -76
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +171 -185
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +12 -12
- package/dist/types.gen.d.ts +618 -344
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1623 -2117
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +620 -766
- package/dist/zod.gen.js.map +1 -1
- package/package.json +10 -7
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,17 @@ export type BillingContact = {
|
|
|
36
39
|
*/
|
|
37
40
|
email: string;
|
|
38
41
|
/**
|
|
39
|
-
*
|
|
42
|
+
* Name of the billing contact person.
|
|
40
43
|
*/
|
|
41
|
-
|
|
44
|
+
individual_name: string;
|
|
42
45
|
/**
|
|
43
|
-
*
|
|
46
|
+
* Tax ID of the organization.
|
|
44
47
|
*/
|
|
45
|
-
|
|
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' | '';
|
|
46
53
|
};
|
|
47
54
|
export type BillingCredits = {
|
|
48
55
|
/**
|
|
@@ -50,45 +57,41 @@ export type BillingCredits = {
|
|
|
50
57
|
*/
|
|
51
58
|
id?: string;
|
|
52
59
|
/**
|
|
53
|
-
*
|
|
54
|
-
*/
|
|
55
|
-
date_created: string;
|
|
56
|
-
/**
|
|
57
|
-
* Promotional code used by the customer.
|
|
60
|
+
* Type of the promotional code.
|
|
58
61
|
*/
|
|
59
|
-
|
|
62
|
+
type: 'credit' | 'discount';
|
|
60
63
|
/**
|
|
61
|
-
*
|
|
64
|
+
* Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
|
|
62
65
|
*/
|
|
63
|
-
|
|
66
|
+
date_start: string;
|
|
64
67
|
/**
|
|
65
|
-
*
|
|
68
|
+
* Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
|
|
66
69
|
*/
|
|
67
|
-
|
|
70
|
+
date_end?: string;
|
|
68
71
|
/**
|
|
69
|
-
*
|
|
72
|
+
* Promotional code used by the customer.
|
|
70
73
|
*/
|
|
71
|
-
|
|
74
|
+
code: string;
|
|
72
75
|
/**
|
|
73
|
-
*
|
|
76
|
+
* Description of the promotional code.
|
|
74
77
|
*/
|
|
75
|
-
|
|
78
|
+
description?: string;
|
|
76
79
|
/**
|
|
77
|
-
*
|
|
80
|
+
* Total value of the promotional code.
|
|
78
81
|
*/
|
|
79
|
-
|
|
82
|
+
value_total: number;
|
|
80
83
|
/**
|
|
81
|
-
*
|
|
84
|
+
* Remaining value of the promotional code.
|
|
82
85
|
*/
|
|
83
86
|
value_remaining?: number;
|
|
84
87
|
};
|
|
85
88
|
export type ChartCreateInput = {
|
|
86
89
|
/**
|
|
87
|
-
* Values to be used in the chart.
|
|
90
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
88
91
|
*/
|
|
89
92
|
values: string;
|
|
90
93
|
/**
|
|
91
|
-
*
|
|
94
|
+
* Desired version range or channel for the chart.
|
|
92
95
|
*/
|
|
93
96
|
version_channel: string;
|
|
94
97
|
/**
|
|
@@ -106,11 +109,11 @@ export type ChartCreateInput = {
|
|
|
106
109
|
};
|
|
107
110
|
export type Chart = {
|
|
108
111
|
/**
|
|
109
|
-
* Values to be used in the chart.
|
|
112
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
110
113
|
*/
|
|
111
114
|
values: string;
|
|
112
115
|
/**
|
|
113
|
-
*
|
|
116
|
+
* Desired version range or channel for the chart.
|
|
114
117
|
*/
|
|
115
118
|
version_channel: string;
|
|
116
119
|
/**
|
|
@@ -128,7 +131,7 @@ export type Chart = {
|
|
|
128
131
|
/**
|
|
129
132
|
* Status of the chart deployment.
|
|
130
133
|
*/
|
|
131
|
-
status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady';
|
|
134
|
+
status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing' | 'SourceNotReady';
|
|
132
135
|
/**
|
|
133
136
|
* Current version of the chart deployment.
|
|
134
137
|
*/
|
|
@@ -148,11 +151,11 @@ export type Chart = {
|
|
|
148
151
|
};
|
|
149
152
|
export type ChartUpdateInput = {
|
|
150
153
|
/**
|
|
151
|
-
* Values to be used in the chart.
|
|
154
|
+
* Values to be used in the chart encoded as a JSON string.
|
|
152
155
|
*/
|
|
153
156
|
values: string;
|
|
154
157
|
/**
|
|
155
|
-
*
|
|
158
|
+
* Desired version range or channel for the chart.
|
|
156
159
|
*/
|
|
157
160
|
version_channel: string;
|
|
158
161
|
};
|
|
@@ -161,18 +164,18 @@ export type ClusterCreateInput = {
|
|
|
161
164
|
* Name of the cluster.
|
|
162
165
|
*/
|
|
163
166
|
name: string;
|
|
164
|
-
/**
|
|
165
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
|
|
166
|
-
*/
|
|
167
|
-
region?: 'staging' | 'northamerica-central-1';
|
|
168
167
|
/**
|
|
169
168
|
* Tier of the cluster.
|
|
170
169
|
*/
|
|
171
170
|
tier: 'basic' | 'pro';
|
|
171
|
+
/**
|
|
172
|
+
* Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
173
|
+
*/
|
|
174
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
172
175
|
/**
|
|
173
176
|
* Version of the kubernetes cluster.
|
|
174
177
|
*/
|
|
175
|
-
version_channel?:
|
|
178
|
+
version_channel?: '1.x.x-cfke.x' | '1.31.x-cfke.x' | '1.32.x-cfke.x' | '1.33.x-cfke.x';
|
|
176
179
|
};
|
|
177
180
|
export type ClusterJoinInformation = {
|
|
178
181
|
/**
|
|
@@ -183,6 +186,10 @@ export type ClusterJoinInformation = {
|
|
|
183
186
|
* Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
|
|
184
187
|
*/
|
|
185
188
|
endpoint: string;
|
|
189
|
+
/**
|
|
190
|
+
* Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
|
|
191
|
+
*/
|
|
192
|
+
cluster_dns: string;
|
|
186
193
|
/**
|
|
187
194
|
* Authentication key for the cluster.
|
|
188
195
|
*/
|
|
@@ -207,6 +214,10 @@ export type ClusterJoinInformation = {
|
|
|
207
214
|
* Containerd version of the cluster.
|
|
208
215
|
*/
|
|
209
216
|
containerd: string;
|
|
217
|
+
/**
|
|
218
|
+
* NVIDIA driver version of the cluster.
|
|
219
|
+
*/
|
|
220
|
+
nvidia_driver: string;
|
|
210
221
|
};
|
|
211
222
|
/**
|
|
212
223
|
* OIDC Information for hosts to access to third party API's.
|
|
@@ -231,18 +242,14 @@ export type Cluster = {
|
|
|
231
242
|
* Name of the cluster.
|
|
232
243
|
*/
|
|
233
244
|
name: string;
|
|
234
|
-
/**
|
|
235
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
|
|
236
|
-
*/
|
|
237
|
-
region?: 'staging' | 'northamerica-central-1';
|
|
238
245
|
/**
|
|
239
246
|
* Tier of the cluster.
|
|
240
247
|
*/
|
|
241
248
|
tier: 'basic' | 'pro';
|
|
242
249
|
/**
|
|
243
|
-
*
|
|
250
|
+
* Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
244
251
|
*/
|
|
245
|
-
|
|
252
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
246
253
|
/**
|
|
247
254
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
248
255
|
*/
|
|
@@ -250,7 +257,7 @@ export type Cluster = {
|
|
|
250
257
|
/**
|
|
251
258
|
* Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
|
|
252
259
|
*/
|
|
253
|
-
status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
260
|
+
status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
254
261
|
endpoint?: string | '';
|
|
255
262
|
/**
|
|
256
263
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
@@ -272,12 +279,20 @@ export type Cluster = {
|
|
|
272
279
|
* Indicates if the cluster is ready to be used.
|
|
273
280
|
*/
|
|
274
281
|
ready?: boolean;
|
|
282
|
+
/**
|
|
283
|
+
* Version of the kubernetes cluster.
|
|
284
|
+
*/
|
|
285
|
+
version_channel?: string;
|
|
275
286
|
};
|
|
276
287
|
export type ClusterUpdateInput = {
|
|
277
288
|
/**
|
|
278
289
|
* Name of the cluster.
|
|
279
290
|
*/
|
|
280
291
|
name?: string;
|
|
292
|
+
/**
|
|
293
|
+
* Tier of the cluster.
|
|
294
|
+
*/
|
|
295
|
+
tier: 'basic' | 'pro';
|
|
281
296
|
/**
|
|
282
297
|
* Version of the kubernetes cluster.
|
|
283
298
|
*/
|
|
@@ -302,10 +317,10 @@ export type FleetCreateInput = {
|
|
|
302
317
|
};
|
|
303
318
|
hetzner?: {
|
|
304
319
|
enabled?: boolean;
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
320
|
+
/**
|
|
321
|
+
* Hetzner Cloud API key with read / write access
|
|
322
|
+
*/
|
|
323
|
+
apiKey: string;
|
|
309
324
|
};
|
|
310
325
|
aws?: {
|
|
311
326
|
enabled?: boolean;
|
|
@@ -318,10 +333,6 @@ export type FleetCreateInput = {
|
|
|
318
333
|
* Unique identifier of the kubernetes fleet.
|
|
319
334
|
*/
|
|
320
335
|
id: string;
|
|
321
|
-
/**
|
|
322
|
-
* Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
|
|
323
|
-
*/
|
|
324
|
-
type: 'managed' | 'connected';
|
|
325
336
|
};
|
|
326
337
|
export type Fleet = {
|
|
327
338
|
/**
|
|
@@ -342,10 +353,10 @@ export type Fleet = {
|
|
|
342
353
|
};
|
|
343
354
|
hetzner?: {
|
|
344
355
|
enabled?: boolean;
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
356
|
+
/**
|
|
357
|
+
* Hetzner Cloud API key with read / write access
|
|
358
|
+
*/
|
|
359
|
+
apiKey: string;
|
|
349
360
|
};
|
|
350
361
|
aws?: {
|
|
351
362
|
enabled?: boolean;
|
|
@@ -358,10 +369,6 @@ export type Fleet = {
|
|
|
358
369
|
* Unique identifier of the kubernetes fleet.
|
|
359
370
|
*/
|
|
360
371
|
id: string;
|
|
361
|
-
/**
|
|
362
|
-
* Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
|
|
363
|
-
*/
|
|
364
|
-
type: 'managed' | 'connected';
|
|
365
372
|
};
|
|
366
373
|
export type FleetUpdateInput = {
|
|
367
374
|
/**
|
|
@@ -382,10 +389,10 @@ export type FleetUpdateInput = {
|
|
|
382
389
|
};
|
|
383
390
|
hetzner?: {
|
|
384
391
|
enabled?: boolean;
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
392
|
+
/**
|
|
393
|
+
* Hetzner Cloud API key with read / write access
|
|
394
|
+
*/
|
|
395
|
+
apiKey: string;
|
|
389
396
|
};
|
|
390
397
|
aws?: {
|
|
391
398
|
enabled?: boolean;
|
|
@@ -419,265 +426,121 @@ export type Invite = {
|
|
|
419
426
|
};
|
|
420
427
|
export type Invoice = {
|
|
421
428
|
/**
|
|
422
|
-
* Unique identifier of the invoice.
|
|
429
|
+
* Unique identifier of the invoice.
|
|
423
430
|
*/
|
|
424
431
|
id?: string;
|
|
425
|
-
|
|
426
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
427
|
-
*/
|
|
428
|
-
organizationId?: string;
|
|
432
|
+
number?: string;
|
|
429
433
|
/**
|
|
430
434
|
* Status of the invoice
|
|
431
435
|
*/
|
|
432
|
-
status?:
|
|
436
|
+
status?: string;
|
|
433
437
|
/**
|
|
434
438
|
* Total amount of the invoice
|
|
435
439
|
*/
|
|
436
|
-
|
|
440
|
+
total?: number;
|
|
437
441
|
/**
|
|
438
442
|
* Currency of the invoice
|
|
439
443
|
*/
|
|
440
|
-
currency?:
|
|
444
|
+
currency?: string;
|
|
441
445
|
/**
|
|
442
|
-
*
|
|
446
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
443
447
|
*/
|
|
444
|
-
|
|
448
|
+
created: string;
|
|
445
449
|
/**
|
|
446
|
-
*
|
|
450
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
447
451
|
*/
|
|
448
|
-
|
|
452
|
+
period_start: string;
|
|
449
453
|
/**
|
|
450
|
-
*
|
|
454
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
451
455
|
*/
|
|
452
|
-
|
|
456
|
+
period_end: string;
|
|
457
|
+
invoice_pdf?: string;
|
|
458
|
+
};
|
|
459
|
+
export type MarketplaceListingFiles = {
|
|
453
460
|
/**
|
|
454
|
-
*
|
|
461
|
+
* Raw Chart.yaml content from the Helm chart
|
|
455
462
|
*/
|
|
456
|
-
|
|
463
|
+
chartYaml?: string;
|
|
457
464
|
/**
|
|
458
|
-
*
|
|
465
|
+
* Raw values.yaml content from the Helm chart
|
|
459
466
|
*/
|
|
460
|
-
|
|
467
|
+
valuesYaml?: string;
|
|
461
468
|
/**
|
|
462
|
-
*
|
|
469
|
+
* JSON schema for values.yaml as a string
|
|
463
470
|
*/
|
|
464
|
-
|
|
471
|
+
valuesSchemaJson?: string;
|
|
472
|
+
};
|
|
473
|
+
export type MarketplaceListing = {
|
|
465
474
|
/**
|
|
466
|
-
*
|
|
475
|
+
* Name of the chart
|
|
467
476
|
*/
|
|
468
|
-
|
|
477
|
+
name: string;
|
|
469
478
|
/**
|
|
470
|
-
*
|
|
479
|
+
* Available versions of the chart
|
|
471
480
|
*/
|
|
472
|
-
|
|
473
|
-
/**
|
|
474
|
-
* Unique identifier of the invoice item. UUID v4 string in canonical form
|
|
475
|
-
*/
|
|
476
|
-
id?: string;
|
|
477
|
-
/**
|
|
478
|
-
* Unique identifier of the linked invoice item. UUID v4 string in canonical form
|
|
479
|
-
*/
|
|
480
|
-
linkedInvoiceItemId?: string;
|
|
481
|
-
/**
|
|
482
|
-
* Name of the product
|
|
483
|
-
*/
|
|
484
|
-
productName?: string;
|
|
485
|
-
/**
|
|
486
|
-
* Name of the plan
|
|
487
|
-
*/
|
|
488
|
-
planName?: string;
|
|
489
|
-
/**
|
|
490
|
-
* Name of the phase
|
|
491
|
-
*/
|
|
492
|
-
phaseName?: string;
|
|
493
|
-
/**
|
|
494
|
-
* Name of the usage
|
|
495
|
-
*/
|
|
496
|
-
usageName?: string;
|
|
497
|
-
/**
|
|
498
|
-
* Pretty name of the product
|
|
499
|
-
*/
|
|
500
|
-
prettyProductName?: string;
|
|
501
|
-
/**
|
|
502
|
-
* Pretty name of the plan
|
|
503
|
-
*/
|
|
504
|
-
prettyPlanName?: string;
|
|
505
|
-
/**
|
|
506
|
-
* Pretty name of the phase
|
|
507
|
-
*/
|
|
508
|
-
prettyPhaseName?: string;
|
|
509
|
-
/**
|
|
510
|
-
* Pretty name of the usage
|
|
511
|
-
*/
|
|
512
|
-
prettyUsageName?: string;
|
|
513
|
-
/**
|
|
514
|
-
* Type of the invoice item
|
|
515
|
-
*/
|
|
516
|
-
itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
|
|
517
|
-
/**
|
|
518
|
-
* Description of the invoice item
|
|
519
|
-
*/
|
|
520
|
-
description?: string;
|
|
521
|
-
/**
|
|
522
|
-
* Start date of the invoice item
|
|
523
|
-
*/
|
|
524
|
-
startDate?: string;
|
|
525
|
-
/**
|
|
526
|
-
* End date of the invoice item
|
|
527
|
-
*/
|
|
528
|
-
endDate?: string;
|
|
529
|
-
/**
|
|
530
|
-
* Amount of the invoice item
|
|
531
|
-
*/
|
|
532
|
-
amount?: number;
|
|
533
|
-
/**
|
|
534
|
-
* Rate of the invoice item
|
|
535
|
-
*/
|
|
536
|
-
rate?: number;
|
|
537
|
-
/**
|
|
538
|
-
* Currency of the invoice item
|
|
539
|
-
*/
|
|
540
|
-
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';
|
|
541
|
-
/**
|
|
542
|
-
* Quantity of the invoice item
|
|
543
|
-
*/
|
|
544
|
-
quantity?: number;
|
|
545
|
-
/**
|
|
546
|
-
* Details of the invoice item
|
|
547
|
-
*/
|
|
548
|
-
itemDetails?: string;
|
|
549
|
-
/**
|
|
550
|
-
* Effective date of the catalog
|
|
551
|
-
*/
|
|
552
|
-
catalogEffectiveDate?: string;
|
|
553
|
-
/**
|
|
554
|
-
* Child items of the invoice item
|
|
555
|
-
*/
|
|
556
|
-
childItems?: Array<Array<unknown> | boolean | number | {
|
|
557
|
-
[key: string]: unknown;
|
|
558
|
-
} | string>;
|
|
559
|
-
}>;
|
|
481
|
+
versions: Array<string>;
|
|
560
482
|
/**
|
|
561
|
-
*
|
|
483
|
+
* Version channels for the chart
|
|
562
484
|
*/
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
/**
|
|
573
|
-
* Name of the product
|
|
574
|
-
*/
|
|
575
|
-
productName?: string;
|
|
576
|
-
/**
|
|
577
|
-
* Name of the plan
|
|
578
|
-
*/
|
|
579
|
-
planName?: string;
|
|
580
|
-
/**
|
|
581
|
-
* Name of the phase
|
|
582
|
-
*/
|
|
583
|
-
phaseName?: string;
|
|
584
|
-
/**
|
|
585
|
-
* Name of the usage
|
|
586
|
-
*/
|
|
587
|
-
usageName?: string;
|
|
588
|
-
/**
|
|
589
|
-
* Pretty name of the product
|
|
590
|
-
*/
|
|
591
|
-
prettyProductName?: string;
|
|
592
|
-
/**
|
|
593
|
-
* Pretty name of the plan
|
|
594
|
-
*/
|
|
595
|
-
prettyPlanName?: string;
|
|
596
|
-
/**
|
|
597
|
-
* Pretty name of the phase
|
|
598
|
-
*/
|
|
599
|
-
prettyPhaseName?: string;
|
|
485
|
+
version_channels: Array<string>;
|
|
486
|
+
/**
|
|
487
|
+
* Latest version of the chart
|
|
488
|
+
*/
|
|
489
|
+
latestVersion: string;
|
|
490
|
+
/**
|
|
491
|
+
* Chart metadata
|
|
492
|
+
*/
|
|
493
|
+
metadata?: {
|
|
600
494
|
/**
|
|
601
|
-
*
|
|
495
|
+
* Chart name from metadata
|
|
602
496
|
*/
|
|
603
|
-
|
|
497
|
+
name: string;
|
|
604
498
|
/**
|
|
605
|
-
*
|
|
499
|
+
* Chart version from metadata
|
|
606
500
|
*/
|
|
607
|
-
|
|
501
|
+
version: string;
|
|
608
502
|
/**
|
|
609
|
-
*
|
|
503
|
+
* Chart description
|
|
610
504
|
*/
|
|
611
505
|
description?: string;
|
|
612
506
|
/**
|
|
613
|
-
*
|
|
614
|
-
*/
|
|
615
|
-
startDate?: string;
|
|
616
|
-
/**
|
|
617
|
-
* End date of the invoice item
|
|
618
|
-
*/
|
|
619
|
-
endDate?: string;
|
|
620
|
-
/**
|
|
621
|
-
* Amount of the invoice item
|
|
507
|
+
* Application version
|
|
622
508
|
*/
|
|
623
|
-
|
|
509
|
+
appVersion?: string;
|
|
624
510
|
/**
|
|
625
|
-
*
|
|
511
|
+
* Helm API version
|
|
626
512
|
*/
|
|
627
|
-
|
|
513
|
+
apiVersion?: string;
|
|
628
514
|
/**
|
|
629
|
-
*
|
|
515
|
+
* Chart keywords
|
|
630
516
|
*/
|
|
631
|
-
|
|
517
|
+
keywords?: Array<string>;
|
|
632
518
|
/**
|
|
633
|
-
*
|
|
519
|
+
* Chart home URL
|
|
634
520
|
*/
|
|
635
|
-
|
|
521
|
+
home?: string;
|
|
636
522
|
/**
|
|
637
|
-
*
|
|
523
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
638
524
|
*/
|
|
639
|
-
|
|
525
|
+
icon?: string;
|
|
640
526
|
/**
|
|
641
|
-
*
|
|
527
|
+
* Chart source URLs
|
|
642
528
|
*/
|
|
643
|
-
|
|
529
|
+
sources?: Array<string>;
|
|
644
530
|
/**
|
|
645
|
-
*
|
|
531
|
+
* Chart maintainers
|
|
646
532
|
*/
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
* Name of the chart listing
|
|
659
|
-
*/
|
|
660
|
-
name: string;
|
|
661
|
-
/**
|
|
662
|
-
* Author of the chart listing
|
|
663
|
-
*/
|
|
664
|
-
developer: string;
|
|
665
|
-
/**
|
|
666
|
-
* Short description of the chart listing
|
|
667
|
-
*/
|
|
668
|
-
description: string;
|
|
669
|
-
/**
|
|
670
|
-
* Logo of the chart listing
|
|
671
|
-
*/
|
|
672
|
-
logoUrl: string;
|
|
673
|
-
/**
|
|
674
|
-
* Long description of the chart listing
|
|
675
|
-
*/
|
|
676
|
-
longDescription: string;
|
|
677
|
-
/**
|
|
678
|
-
* Tags of the chart
|
|
679
|
-
*/
|
|
680
|
-
categories?: Array<string>;
|
|
533
|
+
maintainers?: Array<{
|
|
534
|
+
/**
|
|
535
|
+
* Maintainer name
|
|
536
|
+
*/
|
|
537
|
+
name: string;
|
|
538
|
+
/**
|
|
539
|
+
* Maintainer email
|
|
540
|
+
*/
|
|
541
|
+
email?: string;
|
|
542
|
+
}>;
|
|
543
|
+
};
|
|
681
544
|
};
|
|
682
545
|
export type OrganizationCreateInput = {
|
|
683
546
|
/**
|
|
@@ -738,10 +601,6 @@ export type Organization = {
|
|
|
738
601
|
* Maximum number of fleets that can be created per cluster.
|
|
739
602
|
*/
|
|
740
603
|
fleets_max: number;
|
|
741
|
-
/**
|
|
742
|
-
* Maximum number of CPU cores per managed fleet.
|
|
743
|
-
*/
|
|
744
|
-
managed_fleets_cpu_max: number;
|
|
745
604
|
/**
|
|
746
605
|
* List of Cloudfleet cluster tiers available for the organization.
|
|
747
606
|
*/
|
|
@@ -763,6 +622,18 @@ export type Organization = {
|
|
|
763
622
|
*/
|
|
764
623
|
label: string;
|
|
765
624
|
}>;
|
|
625
|
+
/**
|
|
626
|
+
* User-level maximum number of tokens Cloudfleet Copilot can process per hour.
|
|
627
|
+
*/
|
|
628
|
+
copilot_user_hourly_tokens: number;
|
|
629
|
+
/**
|
|
630
|
+
* Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.
|
|
631
|
+
*/
|
|
632
|
+
copilot_organization_hourly_tokens: number;
|
|
633
|
+
/**
|
|
634
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
635
|
+
*/
|
|
636
|
+
cfcr_storage_gb: number;
|
|
766
637
|
};
|
|
767
638
|
/**
|
|
768
639
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
@@ -799,6 +670,209 @@ export type PaymentMethod = {
|
|
|
799
670
|
*/
|
|
800
671
|
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
801
672
|
};
|
|
673
|
+
export type PlatformQuota = {
|
|
674
|
+
/**
|
|
675
|
+
* Maximum number of Basic clusters that can be created.
|
|
676
|
+
*/
|
|
677
|
+
basic_clusters_max: number;
|
|
678
|
+
/**
|
|
679
|
+
* Available number of Basic clusters that can be created.
|
|
680
|
+
*/
|
|
681
|
+
basic_clusters_available: number;
|
|
682
|
+
/**
|
|
683
|
+
* Maximum number of Pro clusters that can be created.
|
|
684
|
+
*/
|
|
685
|
+
pro_clusters_max: number;
|
|
686
|
+
/**
|
|
687
|
+
* Available number of Pro clusters that can be created.
|
|
688
|
+
*/
|
|
689
|
+
pro_clusters_available: number;
|
|
690
|
+
/**
|
|
691
|
+
* Maximum number of fleets that can be created per cluster.
|
|
692
|
+
*/
|
|
693
|
+
fleets_max: number;
|
|
694
|
+
/**
|
|
695
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
696
|
+
*/
|
|
697
|
+
cluster_tiers: Array<string>;
|
|
698
|
+
/**
|
|
699
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
700
|
+
*/
|
|
701
|
+
regions: Array<string>;
|
|
702
|
+
/**
|
|
703
|
+
* List of CFKE control plane versions available for the organization.
|
|
704
|
+
*/
|
|
705
|
+
versions: Array<{
|
|
706
|
+
/**
|
|
707
|
+
* Id of the control plane version. Used in API calls.
|
|
708
|
+
*/
|
|
709
|
+
id: string;
|
|
710
|
+
/**
|
|
711
|
+
* Label of the control plane version. Used in frontent UI.
|
|
712
|
+
*/
|
|
713
|
+
label: string;
|
|
714
|
+
}>;
|
|
715
|
+
/**
|
|
716
|
+
* User-level maximum number of tokens Cloudfleet Copilot can process per hour.
|
|
717
|
+
*/
|
|
718
|
+
copilot_user_hourly_tokens: number;
|
|
719
|
+
/**
|
|
720
|
+
* Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.
|
|
721
|
+
*/
|
|
722
|
+
copilot_organization_hourly_tokens: number;
|
|
723
|
+
/**
|
|
724
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
725
|
+
*/
|
|
726
|
+
cfcr_storage_gb: number;
|
|
727
|
+
};
|
|
728
|
+
export type RegistryRepository = {
|
|
729
|
+
/**
|
|
730
|
+
* Repository name.
|
|
731
|
+
*/
|
|
732
|
+
name: string;
|
|
733
|
+
/**
|
|
734
|
+
* Registry region.
|
|
735
|
+
*/
|
|
736
|
+
region: string;
|
|
737
|
+
/**
|
|
738
|
+
* Full URI of the repository.
|
|
739
|
+
*/
|
|
740
|
+
uri: string;
|
|
741
|
+
};
|
|
742
|
+
export type RegistryRepositoryWithTags = {
|
|
743
|
+
/**
|
|
744
|
+
* Repository name.
|
|
745
|
+
*/
|
|
746
|
+
name: string;
|
|
747
|
+
/**
|
|
748
|
+
* Registry region.
|
|
749
|
+
*/
|
|
750
|
+
region: string;
|
|
751
|
+
/**
|
|
752
|
+
* Full URI of the repository.
|
|
753
|
+
*/
|
|
754
|
+
uri: string;
|
|
755
|
+
/**
|
|
756
|
+
* Array of tags in the repository.
|
|
757
|
+
*/
|
|
758
|
+
tags: Array<{
|
|
759
|
+
/**
|
|
760
|
+
* Tag name.
|
|
761
|
+
*/
|
|
762
|
+
name: string;
|
|
763
|
+
/**
|
|
764
|
+
* Size of the tag in bytes.
|
|
765
|
+
*/
|
|
766
|
+
size: number;
|
|
767
|
+
/**
|
|
768
|
+
* Media type of the manifest.
|
|
769
|
+
*/
|
|
770
|
+
mediaType?: string;
|
|
771
|
+
/**
|
|
772
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
773
|
+
*/
|
|
774
|
+
platforms?: Array<string>;
|
|
775
|
+
}>;
|
|
776
|
+
/**
|
|
777
|
+
* Total size of all tags in the repository in bytes.
|
|
778
|
+
*/
|
|
779
|
+
totalSize: number;
|
|
780
|
+
};
|
|
781
|
+
export type RegistryTag = {
|
|
782
|
+
/**
|
|
783
|
+
* Tag name.
|
|
784
|
+
*/
|
|
785
|
+
name: string;
|
|
786
|
+
/**
|
|
787
|
+
* Manifest digest for pulling by digest.
|
|
788
|
+
*/
|
|
789
|
+
digest: string;
|
|
790
|
+
/**
|
|
791
|
+
* Media type of the manifest.
|
|
792
|
+
*/
|
|
793
|
+
mediaType?: string;
|
|
794
|
+
/**
|
|
795
|
+
* Manifest config metadata.
|
|
796
|
+
*/
|
|
797
|
+
config?: {
|
|
798
|
+
/**
|
|
799
|
+
* Size of the config in bytes.
|
|
800
|
+
*/
|
|
801
|
+
size: number;
|
|
802
|
+
};
|
|
803
|
+
/**
|
|
804
|
+
* Array of layer metadata.
|
|
805
|
+
*/
|
|
806
|
+
layers?: Array<{
|
|
807
|
+
/**
|
|
808
|
+
* Digest of the layer.
|
|
809
|
+
*/
|
|
810
|
+
digest?: string;
|
|
811
|
+
/**
|
|
812
|
+
* Size of the layer in bytes.
|
|
813
|
+
*/
|
|
814
|
+
size: number;
|
|
815
|
+
}>;
|
|
816
|
+
/**
|
|
817
|
+
* Array of manifests for multi-arch images.
|
|
818
|
+
*/
|
|
819
|
+
manifests?: Array<{
|
|
820
|
+
/**
|
|
821
|
+
* Digest of the manifest.
|
|
822
|
+
*/
|
|
823
|
+
digest: string;
|
|
824
|
+
/**
|
|
825
|
+
* Platform information for the manifest.
|
|
826
|
+
*/
|
|
827
|
+
platform?: {
|
|
828
|
+
/**
|
|
829
|
+
* Architecture of the platform.
|
|
830
|
+
*/
|
|
831
|
+
architecture: string;
|
|
832
|
+
/**
|
|
833
|
+
* Operating system of the platform.
|
|
834
|
+
*/
|
|
835
|
+
os: string;
|
|
836
|
+
/**
|
|
837
|
+
* Variant of the platform (e.g., v7, v8 for ARM).
|
|
838
|
+
*/
|
|
839
|
+
variant?: string;
|
|
840
|
+
};
|
|
841
|
+
/**
|
|
842
|
+
* Layers for this platform.
|
|
843
|
+
*/
|
|
844
|
+
layers?: Array<{
|
|
845
|
+
/**
|
|
846
|
+
* Digest of the layer.
|
|
847
|
+
*/
|
|
848
|
+
digest?: string;
|
|
849
|
+
/**
|
|
850
|
+
* Size of the layer in bytes.
|
|
851
|
+
*/
|
|
852
|
+
size: number;
|
|
853
|
+
}>;
|
|
854
|
+
/**
|
|
855
|
+
* Total size of this platform manifest in bytes.
|
|
856
|
+
*/
|
|
857
|
+
size?: number;
|
|
858
|
+
}>;
|
|
859
|
+
/**
|
|
860
|
+
* Total size of the tag in bytes.
|
|
861
|
+
*/
|
|
862
|
+
size: number;
|
|
863
|
+
/**
|
|
864
|
+
* Registry region.
|
|
865
|
+
*/
|
|
866
|
+
region: string;
|
|
867
|
+
/**
|
|
868
|
+
* Repository name.
|
|
869
|
+
*/
|
|
870
|
+
repository: string;
|
|
871
|
+
/**
|
|
872
|
+
* Full URI of the tag.
|
|
873
|
+
*/
|
|
874
|
+
uri: string;
|
|
875
|
+
};
|
|
802
876
|
export type TokenCreateInput = {
|
|
803
877
|
/**
|
|
804
878
|
* Human readable access token name.
|
|
@@ -841,35 +915,85 @@ export type TokenUpdateInput = {
|
|
|
841
915
|
*/
|
|
842
916
|
role?: 'Administrator' | 'User';
|
|
843
917
|
};
|
|
918
|
+
export type UsageFacets = {
|
|
919
|
+
/**
|
|
920
|
+
* List of unique cluster IDs
|
|
921
|
+
*/
|
|
922
|
+
cluster_id?: Array<string>;
|
|
923
|
+
/**
|
|
924
|
+
* List of unique products
|
|
925
|
+
*/
|
|
926
|
+
product?: Array<string>;
|
|
927
|
+
};
|
|
928
|
+
export type UsageResponse = {
|
|
929
|
+
/**
|
|
930
|
+
* Usage data
|
|
931
|
+
*/
|
|
932
|
+
data: Array<{
|
|
933
|
+
/**
|
|
934
|
+
* Hour of the usage
|
|
935
|
+
*/
|
|
936
|
+
hour: string;
|
|
937
|
+
/**
|
|
938
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
939
|
+
*/
|
|
940
|
+
cluster_id: string;
|
|
941
|
+
/**
|
|
942
|
+
* The product the usage is associated with
|
|
943
|
+
*/
|
|
944
|
+
product: string;
|
|
945
|
+
/**
|
|
946
|
+
* Consumption
|
|
947
|
+
*/
|
|
948
|
+
value: number;
|
|
949
|
+
/**
|
|
950
|
+
* Price per unit
|
|
951
|
+
*/
|
|
952
|
+
price: number;
|
|
953
|
+
/**
|
|
954
|
+
* Total cost
|
|
955
|
+
*/
|
|
956
|
+
total: number;
|
|
957
|
+
}>;
|
|
958
|
+
/**
|
|
959
|
+
* Facets for filtering
|
|
960
|
+
*/
|
|
961
|
+
facets: {
|
|
962
|
+
/**
|
|
963
|
+
* List of unique cluster IDs
|
|
964
|
+
*/
|
|
965
|
+
cluster_id?: Array<string>;
|
|
966
|
+
/**
|
|
967
|
+
* List of unique products
|
|
968
|
+
*/
|
|
969
|
+
product?: Array<string>;
|
|
970
|
+
};
|
|
971
|
+
};
|
|
844
972
|
export type Usage = {
|
|
845
973
|
/**
|
|
846
974
|
* Hour of the usage
|
|
847
975
|
*/
|
|
848
|
-
hour
|
|
976
|
+
hour: string;
|
|
849
977
|
/**
|
|
850
978
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
851
979
|
*/
|
|
852
980
|
cluster_id: string;
|
|
853
981
|
/**
|
|
854
|
-
*
|
|
982
|
+
* The product the usage is associated with
|
|
855
983
|
*/
|
|
856
|
-
|
|
984
|
+
product: string;
|
|
857
985
|
/**
|
|
858
|
-
*
|
|
986
|
+
* Consumption
|
|
859
987
|
*/
|
|
860
|
-
|
|
988
|
+
value: number;
|
|
861
989
|
/**
|
|
862
|
-
*
|
|
990
|
+
* Price per unit
|
|
863
991
|
*/
|
|
864
|
-
|
|
992
|
+
price: number;
|
|
865
993
|
/**
|
|
866
|
-
*
|
|
994
|
+
* Total cost
|
|
867
995
|
*/
|
|
868
|
-
|
|
869
|
-
cpu: number | '';
|
|
870
|
-
price: number | '';
|
|
871
|
-
value: number | '';
|
|
872
|
-
total: number | '';
|
|
996
|
+
total: number;
|
|
873
997
|
};
|
|
874
998
|
export type UserCreateInput = {
|
|
875
999
|
/**
|
|
@@ -956,7 +1080,12 @@ export type UserUpdateInput = {
|
|
|
956
1080
|
export type GetUsageData = {
|
|
957
1081
|
body?: never;
|
|
958
1082
|
path?: never;
|
|
959
|
-
query?:
|
|
1083
|
+
query?: {
|
|
1084
|
+
/**
|
|
1085
|
+
* 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)
|
|
1086
|
+
*/
|
|
1087
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
1088
|
+
};
|
|
960
1089
|
url: '/billing/usage';
|
|
961
1090
|
};
|
|
962
1091
|
export type GetUsageErrors = {
|
|
@@ -967,24 +1096,11 @@ export type GetUsageErrors = {
|
|
|
967
1096
|
};
|
|
968
1097
|
export type GetUsageResponses = {
|
|
969
1098
|
/**
|
|
970
|
-
*
|
|
1099
|
+
* Usage data with facets for filtering
|
|
971
1100
|
*/
|
|
972
|
-
200:
|
|
1101
|
+
200: UsageResponse;
|
|
973
1102
|
};
|
|
974
1103
|
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
975
|
-
export type GetBalanceData = {
|
|
976
|
-
body?: never;
|
|
977
|
-
path?: never;
|
|
978
|
-
query?: never;
|
|
979
|
-
url: '/billing/balance';
|
|
980
|
-
};
|
|
981
|
-
export type GetBalanceResponses = {
|
|
982
|
-
/**
|
|
983
|
-
* Current balance of the organization in USD as a floating-point number.
|
|
984
|
-
*/
|
|
985
|
-
200: number;
|
|
986
|
-
};
|
|
987
|
-
export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
|
|
988
1104
|
export type GetPaymentMethodData = {
|
|
989
1105
|
body?: never;
|
|
990
1106
|
path?: never;
|
|
@@ -1026,16 +1142,7 @@ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[key
|
|
|
1026
1142
|
export type ListInvoicesData = {
|
|
1027
1143
|
body?: never;
|
|
1028
1144
|
path?: never;
|
|
1029
|
-
query
|
|
1030
|
-
/**
|
|
1031
|
-
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1032
|
-
*/
|
|
1033
|
-
start_date: string;
|
|
1034
|
-
/**
|
|
1035
|
-
* End date for the usage. Date of newest data point to retrieve.
|
|
1036
|
-
*/
|
|
1037
|
-
end_date: string;
|
|
1038
|
-
};
|
|
1145
|
+
query?: never;
|
|
1039
1146
|
url: '/billing/invoices';
|
|
1040
1147
|
};
|
|
1041
1148
|
export type ListInvoicesErrors = {
|
|
@@ -1051,26 +1158,6 @@ export type ListInvoicesResponses = {
|
|
|
1051
1158
|
200: Array<Invoice>;
|
|
1052
1159
|
};
|
|
1053
1160
|
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
1054
|
-
export type GetInvoiceData = {
|
|
1055
|
-
body?: never;
|
|
1056
|
-
path: {
|
|
1057
|
-
/**
|
|
1058
|
-
* Unique invoice identifier. UUID v4 string in canonical form
|
|
1059
|
-
*/
|
|
1060
|
-
id: string;
|
|
1061
|
-
};
|
|
1062
|
-
query?: never;
|
|
1063
|
-
url: '/billing/invoices/{id}';
|
|
1064
|
-
};
|
|
1065
|
-
export type GetInvoiceResponses = {
|
|
1066
|
-
/**
|
|
1067
|
-
* Returns a single Invoice HTML representation under `html` property.
|
|
1068
|
-
*/
|
|
1069
|
-
200: {
|
|
1070
|
-
html?: string;
|
|
1071
|
-
};
|
|
1072
|
-
};
|
|
1073
|
-
export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
|
|
1074
1161
|
export type GetContactData = {
|
|
1075
1162
|
body?: never;
|
|
1076
1163
|
path?: never;
|
|
@@ -1506,7 +1593,7 @@ export type GetJoinInformationResponses = {
|
|
|
1506
1593
|
/**
|
|
1507
1594
|
* An object of cluster join information
|
|
1508
1595
|
*/
|
|
1509
|
-
200:
|
|
1596
|
+
200: ClusterJoinInformation;
|
|
1510
1597
|
};
|
|
1511
1598
|
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
1512
1599
|
export type ListInvitesData = {
|
|
@@ -1600,24 +1687,76 @@ export type ListMarketplaceChartsResponses = {
|
|
|
1600
1687
|
200: Array<MarketplaceListing>;
|
|
1601
1688
|
};
|
|
1602
1689
|
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
1603
|
-
export type
|
|
1690
|
+
export type GetMarketplaceChartFilesData = {
|
|
1604
1691
|
body?: never;
|
|
1605
1692
|
path: {
|
|
1606
1693
|
/**
|
|
1607
|
-
*
|
|
1694
|
+
* Name of the chart in the marketplace.
|
|
1608
1695
|
*/
|
|
1609
|
-
|
|
1696
|
+
chart_name: string;
|
|
1697
|
+
/**
|
|
1698
|
+
* Version channel pattern to match (e.g., "1.31.x-cfke.x" for latest 1.31 patch, "1.x.x-cfke.x" for latest 1.x minor).
|
|
1699
|
+
*/
|
|
1700
|
+
version_channel: string;
|
|
1610
1701
|
};
|
|
1611
1702
|
query?: never;
|
|
1612
|
-
url: '/marketplace/{
|
|
1703
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
1704
|
+
};
|
|
1705
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
1706
|
+
/**
|
|
1707
|
+
* Chart not found or no version matches the channel
|
|
1708
|
+
*/
|
|
1709
|
+
404: unknown;
|
|
1613
1710
|
};
|
|
1614
|
-
export type
|
|
1711
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
1615
1712
|
/**
|
|
1616
|
-
* Returns an object containing the chart
|
|
1713
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
1617
1714
|
*/
|
|
1618
|
-
200:
|
|
1715
|
+
200: MarketplaceListingFiles;
|
|
1619
1716
|
};
|
|
1620
|
-
export type
|
|
1717
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
1718
|
+
export type PostMcpData = {
|
|
1719
|
+
/**
|
|
1720
|
+
* JSON-RPC 2.0 request payload
|
|
1721
|
+
*/
|
|
1722
|
+
body: {
|
|
1723
|
+
jsonrpc?: string;
|
|
1724
|
+
method?: string;
|
|
1725
|
+
id?: string | number;
|
|
1726
|
+
/**
|
|
1727
|
+
* Method-specific parameters
|
|
1728
|
+
*/
|
|
1729
|
+
params?: {
|
|
1730
|
+
[key: string]: unknown;
|
|
1731
|
+
};
|
|
1732
|
+
};
|
|
1733
|
+
path?: never;
|
|
1734
|
+
query?: never;
|
|
1735
|
+
url: '/mcp';
|
|
1736
|
+
};
|
|
1737
|
+
export type PostMcpErrors = {
|
|
1738
|
+
/**
|
|
1739
|
+
* Not authenticated
|
|
1740
|
+
*/
|
|
1741
|
+
401: unknown;
|
|
1742
|
+
};
|
|
1743
|
+
export type PostMcpResponses = {
|
|
1744
|
+
/**
|
|
1745
|
+
* JSON-RPC 2.0 success or error response
|
|
1746
|
+
*/
|
|
1747
|
+
200: {
|
|
1748
|
+
jsonrpc?: string;
|
|
1749
|
+
id?: string | number;
|
|
1750
|
+
result?: {
|
|
1751
|
+
[key: string]: unknown;
|
|
1752
|
+
};
|
|
1753
|
+
error?: {
|
|
1754
|
+
code?: number;
|
|
1755
|
+
message?: string;
|
|
1756
|
+
};
|
|
1757
|
+
};
|
|
1758
|
+
};
|
|
1759
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
1621
1760
|
export type GetOrganizationData = {
|
|
1622
1761
|
body?: never;
|
|
1623
1762
|
path?: never;
|
|
@@ -1643,6 +1782,144 @@ export type CreateOrganizationResponses = {
|
|
|
1643
1782
|
*/
|
|
1644
1783
|
200: unknown;
|
|
1645
1784
|
};
|
|
1785
|
+
export type ListRepositoriesData = {
|
|
1786
|
+
body?: never;
|
|
1787
|
+
path?: never;
|
|
1788
|
+
query?: never;
|
|
1789
|
+
url: '/registry';
|
|
1790
|
+
};
|
|
1791
|
+
export type ListRepositoriesErrors = {
|
|
1792
|
+
/**
|
|
1793
|
+
* Not authenticated
|
|
1794
|
+
*/
|
|
1795
|
+
401: unknown;
|
|
1796
|
+
/**
|
|
1797
|
+
* Internal server error
|
|
1798
|
+
*/
|
|
1799
|
+
500: unknown;
|
|
1800
|
+
};
|
|
1801
|
+
export type ListRepositoriesResponses = {
|
|
1802
|
+
/**
|
|
1803
|
+
* List of repositories
|
|
1804
|
+
*/
|
|
1805
|
+
200: Array<RegistryRepository>;
|
|
1806
|
+
};
|
|
1807
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
1808
|
+
export type ListTagsData = {
|
|
1809
|
+
body?: never;
|
|
1810
|
+
path: {
|
|
1811
|
+
/**
|
|
1812
|
+
* Region where the repository is located
|
|
1813
|
+
*/
|
|
1814
|
+
region: string;
|
|
1815
|
+
/**
|
|
1816
|
+
* Name of the repository
|
|
1817
|
+
*/
|
|
1818
|
+
repository: string;
|
|
1819
|
+
};
|
|
1820
|
+
query?: never;
|
|
1821
|
+
url: '/registry/{region}/{repository}';
|
|
1822
|
+
};
|
|
1823
|
+
export type ListTagsErrors = {
|
|
1824
|
+
/**
|
|
1825
|
+
* Not authenticated
|
|
1826
|
+
*/
|
|
1827
|
+
401: unknown;
|
|
1828
|
+
/**
|
|
1829
|
+
* Repository not found
|
|
1830
|
+
*/
|
|
1831
|
+
404: unknown;
|
|
1832
|
+
/**
|
|
1833
|
+
* Internal server error
|
|
1834
|
+
*/
|
|
1835
|
+
500: unknown;
|
|
1836
|
+
};
|
|
1837
|
+
export type ListTagsResponses = {
|
|
1838
|
+
/**
|
|
1839
|
+
* Repository with tags
|
|
1840
|
+
*/
|
|
1841
|
+
200: RegistryRepositoryWithTags;
|
|
1842
|
+
};
|
|
1843
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
1844
|
+
export type DeleteTagData = {
|
|
1845
|
+
body?: never;
|
|
1846
|
+
path: {
|
|
1847
|
+
/**
|
|
1848
|
+
* Region where the repository is located
|
|
1849
|
+
*/
|
|
1850
|
+
region: string;
|
|
1851
|
+
/**
|
|
1852
|
+
* Name of the repository
|
|
1853
|
+
*/
|
|
1854
|
+
repository: string;
|
|
1855
|
+
/**
|
|
1856
|
+
* Name of the tag
|
|
1857
|
+
*/
|
|
1858
|
+
tag: string;
|
|
1859
|
+
};
|
|
1860
|
+
query?: never;
|
|
1861
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1862
|
+
};
|
|
1863
|
+
export type DeleteTagErrors = {
|
|
1864
|
+
/**
|
|
1865
|
+
* Not authenticated
|
|
1866
|
+
*/
|
|
1867
|
+
401: unknown;
|
|
1868
|
+
/**
|
|
1869
|
+
* Tag not found
|
|
1870
|
+
*/
|
|
1871
|
+
404: unknown;
|
|
1872
|
+
/**
|
|
1873
|
+
* Internal server error
|
|
1874
|
+
*/
|
|
1875
|
+
500: unknown;
|
|
1876
|
+
};
|
|
1877
|
+
export type DeleteTagResponses = {
|
|
1878
|
+
/**
|
|
1879
|
+
* Tag successfully deleted
|
|
1880
|
+
*/
|
|
1881
|
+
200: unknown;
|
|
1882
|
+
};
|
|
1883
|
+
export type GetTagData = {
|
|
1884
|
+
body?: never;
|
|
1885
|
+
path: {
|
|
1886
|
+
/**
|
|
1887
|
+
* Region where the repository is located
|
|
1888
|
+
*/
|
|
1889
|
+
region: string;
|
|
1890
|
+
/**
|
|
1891
|
+
* Name of the repository
|
|
1892
|
+
*/
|
|
1893
|
+
repository: string;
|
|
1894
|
+
/**
|
|
1895
|
+
* Name of the tag
|
|
1896
|
+
*/
|
|
1897
|
+
tag: string;
|
|
1898
|
+
};
|
|
1899
|
+
query?: never;
|
|
1900
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1901
|
+
};
|
|
1902
|
+
export type GetTagErrors = {
|
|
1903
|
+
/**
|
|
1904
|
+
* Not authenticated
|
|
1905
|
+
*/
|
|
1906
|
+
401: unknown;
|
|
1907
|
+
/**
|
|
1908
|
+
* Tag not found
|
|
1909
|
+
*/
|
|
1910
|
+
404: unknown;
|
|
1911
|
+
/**
|
|
1912
|
+
* Internal server error
|
|
1913
|
+
*/
|
|
1914
|
+
500: unknown;
|
|
1915
|
+
};
|
|
1916
|
+
export type GetTagResponses = {
|
|
1917
|
+
/**
|
|
1918
|
+
* Tag details
|
|
1919
|
+
*/
|
|
1920
|
+
200: RegistryTag;
|
|
1921
|
+
};
|
|
1922
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
1646
1923
|
export type ListTokensData = {
|
|
1647
1924
|
body?: never;
|
|
1648
1925
|
path?: never;
|
|
@@ -1899,7 +2176,4 @@ export type UpdateUserResponses = {
|
|
|
1899
2176
|
200: User;
|
|
1900
2177
|
};
|
|
1901
2178
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1902
|
-
export type ClientOptions = {
|
|
1903
|
-
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
1904
|
-
};
|
|
1905
2179
|
//# sourceMappingURL=types.gen.d.ts.map
|