@cloudfleet/sdk 0.0.1-f55e163 → 0.0.1-fd8cadf

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.
Files changed (83) hide show
  1. package/dist/client/client.gen.d.ts +3 -0
  2. package/dist/client/client.gen.d.ts.map +1 -0
  3. package/dist/client/client.gen.js +205 -0
  4. package/dist/client/client.gen.js.map +1 -0
  5. package/dist/client/index.d.ts +9 -0
  6. package/dist/client/index.d.ts.map +1 -0
  7. package/dist/client/index.js +7 -0
  8. package/dist/client/index.js.map +1 -0
  9. package/dist/client/types.gen.d.ts +125 -0
  10. package/dist/client/types.gen.d.ts.map +1 -0
  11. package/dist/client/types.gen.js +3 -0
  12. package/dist/client/types.gen.js.map +1 -0
  13. package/dist/client/utils.gen.d.ts +34 -0
  14. package/dist/client/utils.gen.d.ts.map +1 -0
  15. package/dist/client/utils.gen.js +231 -0
  16. package/dist/client/utils.gen.js.map +1 -0
  17. package/dist/client.gen.d.ts +4 -4
  18. package/dist/client.gen.d.ts.map +1 -1
  19. package/dist/client.gen.js +1 -1
  20. package/dist/client.gen.js.map +1 -1
  21. package/dist/core/auth.gen.d.ts +19 -0
  22. package/dist/core/auth.gen.d.ts.map +1 -0
  23. package/dist/core/auth.gen.js +15 -0
  24. package/dist/core/auth.gen.js.map +1 -0
  25. package/dist/core/bodySerializer.gen.d.ts +18 -0
  26. package/dist/core/bodySerializer.gen.d.ts.map +1 -0
  27. package/dist/core/bodySerializer.gen.js +58 -0
  28. package/dist/core/bodySerializer.gen.js.map +1 -0
  29. package/dist/core/params.gen.d.ts +34 -0
  30. package/dist/core/params.gen.d.ts.map +1 -0
  31. package/dist/core/params.gen.js +89 -0
  32. package/dist/core/params.gen.js.map +1 -0
  33. package/dist/core/pathSerializer.gen.d.ts +34 -0
  34. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  35. package/dist/core/pathSerializer.gen.js +115 -0
  36. package/dist/core/pathSerializer.gen.js.map +1 -0
  37. package/dist/core/queryKeySerializer.gen.d.ts +19 -0
  38. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
  39. package/dist/core/queryKeySerializer.gen.js +100 -0
  40. package/dist/core/queryKeySerializer.gen.js.map +1 -0
  41. package/dist/core/serverSentEvents.gen.d.ts +72 -0
  42. package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
  43. package/dist/core/serverSentEvents.gen.js +136 -0
  44. package/dist/core/serverSentEvents.gen.js.map +1 -0
  45. package/dist/core/types.gen.d.ts +79 -0
  46. package/dist/core/types.gen.d.ts.map +1 -0
  47. package/dist/core/types.gen.js +3 -0
  48. package/dist/core/types.gen.js.map +1 -0
  49. package/dist/core/utils.gen.d.ts +20 -0
  50. package/dist/core/utils.gen.d.ts.map +1 -0
  51. package/dist/core/utils.gen.js +88 -0
  52. package/dist/core/utils.gen.js.map +1 -0
  53. package/dist/index.d.ts +2 -0
  54. package/dist/index.d.ts.map +1 -1
  55. package/dist/index.js +2 -0
  56. package/dist/index.js.map +1 -1
  57. package/dist/schemas.gen.d.ts +761 -491
  58. package/dist/schemas.gen.d.ts.map +1 -1
  59. package/dist/schemas.gen.js +772 -529
  60. package/dist/schemas.gen.js.map +1 -1
  61. package/dist/sdk.gen.d.ts +202 -81
  62. package/dist/sdk.gen.d.ts.map +1 -1
  63. package/dist/sdk.gen.js +298 -108
  64. package/dist/sdk.gen.js.map +1 -1
  65. package/dist/services/kubernetes/api.d.ts +196 -0
  66. package/dist/services/kubernetes/api.d.ts.map +1 -0
  67. package/dist/services/kubernetes/api.js +140 -0
  68. package/dist/services/kubernetes/api.js.map +1 -0
  69. package/dist/services/kubernetes/index.d.ts +44 -0
  70. package/dist/services/kubernetes/index.d.ts.map +1 -0
  71. package/dist/services/kubernetes/index.js +68 -0
  72. package/dist/services/kubernetes/index.js.map +1 -0
  73. package/dist/services/kubernetes/types.d.ts +1335 -0
  74. package/dist/services/kubernetes/types.d.ts.map +1 -0
  75. package/dist/services/kubernetes/types.js +2 -0
  76. package/dist/services/kubernetes/types.js.map +1 -0
  77. package/dist/types.gen.d.ts +838 -359
  78. package/dist/types.gen.d.ts.map +1 -1
  79. package/dist/zod.gen.d.ts +1836 -2092
  80. package/dist/zod.gen.d.ts.map +1 -1
  81. package/dist/zod.gen.js +907 -772
  82. package/dist/zod.gen.js.map +1 -1
  83. package/package.json +8 -5
@@ -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,27 +39,139 @@ export type BillingContact = {
36
39
  */
37
40
  email: string;
38
41
  /**
39
- * First name of the billing contact person.
42
+ * Name of the billing contact person.
40
43
  */
41
- first_name: string;
44
+ individual_name: string;
42
45
  /**
43
- * Last name of the billing contact person.
46
+ * Tax ID of the organization.
44
47
  */
45
- last_name: string;
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
- export type ClusterCreateInput = {
54
+ export type BillingCredits = {
48
55
  /**
49
- * Name of the cluster.
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.
50
99
  */
51
100
  name: string;
52
101
  /**
53
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
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.
54
113
  */
55
- region?: 'staging' | 'northamerica-central-1';
114
+ values: string;
115
+ /**
116
+ * Desired version range or channel for the chart.
117
+ */
118
+ version_channel: string;
119
+ /**
120
+ * Unique identifier of the chart deployment aka name of the helm release.
121
+ */
122
+ name: string;
123
+ /**
124
+ * Namespace of the chart deployment
125
+ */
126
+ namespace: string;
127
+ /**
128
+ * Name of the chart listing
129
+ */
130
+ chart: string;
131
+ /**
132
+ * Status of the chart deployment.
133
+ */
134
+ status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing' | 'SourceNotReady';
135
+ /**
136
+ * Current version of the chart deployment.
137
+ */
138
+ version_current: string;
139
+ /**
140
+ * Creation date and time of the chart deployment.
141
+ */
142
+ created_at: string;
143
+ /**
144
+ * Last update date and time of the chart deployment.
145
+ */
146
+ updated_at: string;
147
+ /**
148
+ * Indicates if the chart deployment is ready to be used.
149
+ */
150
+ ready: boolean;
151
+ };
152
+ export type ChartUpdateInput = {
153
+ /**
154
+ * Values to be used in the chart encoded as a JSON string.
155
+ */
156
+ values: string;
157
+ /**
158
+ * Desired version range or channel for the chart.
159
+ */
160
+ version_channel: string;
161
+ };
162
+ export type ClusterCreateInput = {
163
+ /**
164
+ * Name of the cluster.
165
+ */
166
+ name: string;
56
167
  /**
57
168
  * Tier of the cluster.
58
169
  */
59
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';
60
175
  /**
61
176
  * Version of the kubernetes cluster.
62
177
  */
@@ -95,6 +210,10 @@ export type ClusterJoinInformation = {
95
210
  * Containerd version of the cluster.
96
211
  */
97
212
  containerd: string;
213
+ /**
214
+ * NVIDIA driver version of the cluster.
215
+ */
216
+ nvidia_driver: string;
98
217
  };
99
218
  /**
100
219
  * OIDC Information for hosts to access to third party API's.
@@ -119,14 +238,14 @@ export type Cluster = {
119
238
  * Name of the cluster.
120
239
  */
121
240
  name: string;
122
- /**
123
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
124
- */
125
- region?: 'staging' | 'northamerica-central-1';
126
241
  /**
127
242
  * Tier of the cluster.
128
243
  */
129
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';
130
249
  /**
131
250
  * Version of the kubernetes cluster.
132
251
  */
@@ -138,7 +257,7 @@ export type Cluster = {
138
257
  /**
139
258
  * Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
140
259
  */
141
- status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
260
+ status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
142
261
  endpoint?: string | '';
143
262
  /**
144
263
  * Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
@@ -166,6 +285,10 @@ export type ClusterUpdateInput = {
166
285
  * Name of the cluster.
167
286
  */
168
287
  name?: string;
288
+ /**
289
+ * Tier of the cluster.
290
+ */
291
+ tier: 'basic' | 'pro';
169
292
  /**
170
293
  * Version of the kubernetes cluster.
171
294
  */
@@ -190,10 +313,10 @@ export type FleetCreateInput = {
190
313
  };
191
314
  hetzner?: {
192
315
  enabled?: boolean;
193
- apiKey?: string;
194
- } | {
195
- apiKey?: string;
196
- enabled?: boolean;
316
+ /**
317
+ * Hetzner Cloud API key with read / write access
318
+ */
319
+ apiKey: string;
197
320
  };
198
321
  aws?: {
199
322
  enabled?: boolean;
@@ -206,10 +329,6 @@ export type FleetCreateInput = {
206
329
  * Unique identifier of the kubernetes fleet.
207
330
  */
208
331
  id: string;
209
- /**
210
- * Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
211
- */
212
- type: 'managed' | 'connected';
213
332
  };
214
333
  export type Fleet = {
215
334
  /**
@@ -230,10 +349,10 @@ export type Fleet = {
230
349
  };
231
350
  hetzner?: {
232
351
  enabled?: boolean;
233
- apiKey?: string;
234
- } | {
235
- apiKey?: string;
236
- enabled?: boolean;
352
+ /**
353
+ * Hetzner Cloud API key with read / write access
354
+ */
355
+ apiKey: string;
237
356
  };
238
357
  aws?: {
239
358
  enabled?: boolean;
@@ -246,10 +365,6 @@ export type Fleet = {
246
365
  * Unique identifier of the kubernetes fleet.
247
366
  */
248
367
  id: string;
249
- /**
250
- * Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
251
- */
252
- type: 'managed' | 'connected';
253
368
  };
254
369
  export type FleetUpdateInput = {
255
370
  /**
@@ -270,10 +385,10 @@ export type FleetUpdateInput = {
270
385
  };
271
386
  hetzner?: {
272
387
  enabled?: boolean;
273
- apiKey?: string;
274
- } | {
275
- apiKey?: string;
276
- enabled?: boolean;
388
+ /**
389
+ * Hetzner Cloud API key with read / write access
390
+ */
391
+ apiKey: string;
277
392
  };
278
393
  aws?: {
279
394
  enabled?: boolean;
@@ -310,232 +425,114 @@ export type Invoice = {
310
425
  * Unique identifier of the invoice. UUID v4 string in canonical form
311
426
  */
312
427
  id?: string;
313
- /**
314
- * Unique identifier of the organization. UUID v4 string in canonical form
315
- */
316
- organizationId?: string;
428
+ number?: string;
317
429
  /**
318
430
  * Status of the invoice
319
431
  */
320
- status?: 'DRAFT' | 'COMMITTED' | 'VOID';
432
+ status?: string;
321
433
  /**
322
434
  * Total amount of the invoice
323
435
  */
324
- amount?: number;
436
+ total?: number;
325
437
  /**
326
438
  * Currency of the invoice
327
439
  */
328
- 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';
440
+ currency?: string;
329
441
  /**
330
- * Total amount of credit adjustments
442
+ * Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
331
443
  */
332
- creditAdj?: number;
444
+ created: string;
333
445
  /**
334
- * Total amount of refund adjustments
446
+ * Billing period start timestamp. ISO 8601 date string in the UTC timezone.
335
447
  */
336
- refundAdj?: number;
448
+ period_start: string;
337
449
  /**
338
- * Date of the invoice
450
+ * Billing period end timestamp. ISO 8601 date string in the UTC timezone.
339
451
  */
340
- invoiceDate?: string;
452
+ period_end: string;
453
+ invoice_pdf?: string;
454
+ };
455
+ export type MarketplaceListingFiles = {
341
456
  /**
342
- * Target date of the invoice
457
+ * Raw Chart.yaml content from the Helm chart
343
458
  */
344
- targetDate?: string;
459
+ chartYaml?: string;
345
460
  /**
346
- * Number of the invoice
461
+ * Raw values.yaml content from the Helm chart
347
462
  */
348
- invoiceNumber?: string;
463
+ valuesYaml?: string;
349
464
  /**
350
- * Balance of the invoice
465
+ * JSON schema for values.yaml as a string
351
466
  */
352
- balance?: number;
467
+ valuesSchemaJson?: string;
468
+ };
469
+ export type MarketplaceListing = {
353
470
  /**
354
- * Bundle keys of the invoice
471
+ * Name of the chart
355
472
  */
356
- bundleKeys?: string;
473
+ name: string;
357
474
  /**
358
- * Credits of the invoice
475
+ * Available versions of the chart
359
476
  */
360
- credits?: Array<{
361
- /**
362
- * Unique identifier of the invoice item. UUID v4 string in canonical form
363
- */
364
- id?: string;
365
- /**
366
- * Unique identifier of the linked invoice item. UUID v4 string in canonical form
367
- */
368
- linkedInvoiceItemId?: string;
369
- /**
370
- * Name of the product
371
- */
372
- productName?: string;
373
- /**
374
- * Name of the plan
375
- */
376
- planName?: string;
377
- /**
378
- * Name of the phase
379
- */
380
- phaseName?: string;
381
- /**
382
- * Name of the usage
383
- */
384
- usageName?: string;
385
- /**
386
- * Pretty name of the product
387
- */
388
- prettyProductName?: string;
389
- /**
390
- * Pretty name of the plan
391
- */
392
- prettyPlanName?: string;
393
- /**
394
- * Pretty name of the phase
395
- */
396
- prettyPhaseName?: string;
397
- /**
398
- * Pretty name of the usage
399
- */
400
- prettyUsageName?: string;
401
- /**
402
- * Type of the invoice item
403
- */
404
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
405
- /**
406
- * Description of the invoice item
407
- */
408
- description?: string;
409
- /**
410
- * Start date of the invoice item
411
- */
412
- startDate?: string;
413
- /**
414
- * End date of the invoice item
415
- */
416
- endDate?: string;
417
- /**
418
- * Amount of the invoice item
419
- */
420
- amount?: number;
421
- /**
422
- * Rate of the invoice item
423
- */
424
- rate?: number;
425
- /**
426
- * Currency of the invoice item
427
- */
428
- 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';
429
- /**
430
- * Quantity of the invoice item
431
- */
432
- quantity?: number;
433
- /**
434
- * Details of the invoice item
435
- */
436
- itemDetails?: string;
437
- /**
438
- * Effective date of the catalog
439
- */
440
- catalogEffectiveDate?: string;
441
- /**
442
- * Child items of the invoice item
443
- */
444
- childItems?: Array<Array<unknown> | boolean | number | {
445
- [key: string]: unknown;
446
- } | string>;
447
- }>;
477
+ versions: Array<string>;
448
478
  /**
449
- * Items of the invoice
479
+ * Version channels for the chart
450
480
  */
451
- items?: Array<{
452
- /**
453
- * Unique identifier of the invoice item. UUID v4 string in canonical form
454
- */
455
- id?: string;
456
- /**
457
- * Unique identifier of the linked invoice item. UUID v4 string in canonical form
458
- */
459
- linkedInvoiceItemId?: string;
460
- /**
461
- * Name of the product
462
- */
463
- productName?: string;
464
- /**
465
- * Name of the plan
466
- */
467
- planName?: string;
468
- /**
469
- * Name of the phase
470
- */
471
- phaseName?: string;
472
- /**
473
- * Name of the usage
474
- */
475
- usageName?: string;
476
- /**
477
- * Pretty name of the product
478
- */
479
- prettyProductName?: string;
480
- /**
481
- * Pretty name of the plan
482
- */
483
- prettyPlanName?: string;
484
- /**
485
- * Pretty name of the phase
486
- */
487
- 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?: {
488
490
  /**
489
- * Pretty name of the usage
491
+ * Chart name from metadata
490
492
  */
491
- prettyUsageName?: string;
493
+ name: string;
492
494
  /**
493
- * Type of the invoice item
495
+ * Chart version from metadata
494
496
  */
495
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
497
+ version: string;
496
498
  /**
497
- * Description of the invoice item
499
+ * Chart description
498
500
  */
499
501
  description?: string;
500
502
  /**
501
- * Start date of the invoice item
502
- */
503
- startDate?: string;
504
- /**
505
- * End date of the invoice item
506
- */
507
- endDate?: string;
508
- /**
509
- * Amount of the invoice item
503
+ * Application version
510
504
  */
511
- amount?: number;
505
+ appVersion?: string;
512
506
  /**
513
- * Rate of the invoice item
507
+ * Helm API version
514
508
  */
515
- rate?: number;
509
+ apiVersion?: string;
516
510
  /**
517
- * Currency of the invoice item
511
+ * Chart keywords
518
512
  */
519
- 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';
513
+ keywords?: Array<string>;
520
514
  /**
521
- * Quantity of the invoice item
515
+ * Chart home URL
522
516
  */
523
- quantity?: number;
517
+ home?: string;
524
518
  /**
525
- * Details of the invoice item
519
+ * Chart source URLs
526
520
  */
527
- itemDetails?: string;
521
+ sources?: Array<string>;
528
522
  /**
529
- * Effective date of the catalog
523
+ * Chart maintainers
530
524
  */
531
- catalogEffectiveDate?: string;
532
- /**
533
- * Child items of the invoice item
534
- */
535
- childItems?: Array<Array<unknown> | boolean | number | {
536
- [key: string]: unknown;
537
- } | string>;
538
- }>;
525
+ maintainers?: Array<{
526
+ /**
527
+ * Maintainer name
528
+ */
529
+ name: string;
530
+ /**
531
+ * Maintainer email
532
+ */
533
+ email?: string;
534
+ }>;
535
+ };
539
536
  };
540
537
  export type OrganizationCreateInput = {
541
538
  /**
@@ -596,10 +593,6 @@ export type Organization = {
596
593
  * Maximum number of fleets that can be created per cluster.
597
594
  */
598
595
  fleets_max: number;
599
- /**
600
- * Maximum number of CPU cores per managed fleet.
601
- */
602
- managed_fleets_cpu_max: number;
603
596
  /**
604
597
  * List of Cloudfleet cluster tiers available for the organization.
605
598
  */
@@ -657,6 +650,164 @@ export type PaymentMethod = {
657
650
  */
658
651
  brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
659
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
+ };
660
811
  export type TokenCreateInput = {
661
812
  /**
662
813
  * Human readable access token name.
@@ -699,35 +850,85 @@ export type TokenUpdateInput = {
699
850
  */
700
851
  role?: 'Administrator' | 'User';
701
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
+ };
702
907
  export type Usage = {
703
908
  /**
704
909
  * Hour of the usage
705
910
  */
706
- hour?: string;
911
+ hour: string;
707
912
  /**
708
913
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
709
914
  */
710
915
  cluster_id: string;
711
916
  /**
712
- * Tier of the cluster.
917
+ * The product the usage is associated with
713
918
  */
714
- cluster_tier: '';
919
+ product: string;
715
920
  /**
716
- * The product the usage is associated with
921
+ * Consumption
717
922
  */
718
- product: 'cfke_infra_compute' | 'cfke_nodes' | 'cfke_controlplane';
923
+ value: number;
719
924
  /**
720
- * Name of the Kubernetes node
925
+ * Price per unit
721
926
  */
722
- node_name: string;
927
+ price: number;
723
928
  /**
724
- * SKU of the Kubernetes node
929
+ * Total cost
725
930
  */
726
- sku: string;
727
- cpu: number | '';
728
- price: number | '';
729
- value: number | '';
730
- total: number | '';
931
+ total: number;
731
932
  };
732
933
  export type UserCreateInput = {
733
934
  /**
@@ -788,16 +989,6 @@ export type User = {
788
989
  * Creation date of the user. ISO 8601 date string in UTC timezone
789
990
  */
790
991
  date_created: string;
791
- cluster_permissions?: Array<{
792
- /**
793
- * Unique identifier of the cluster. UUID v4 string in canonical form
794
- */
795
- cluster_id: string;
796
- /**
797
- * User permissions to access the cluster. Can be `readwrite` or `readonly`.
798
- */
799
- permissions: 'readwrite' | 'readonly';
800
- }>;
801
992
  };
802
993
  export type UserUpdateInput = {
803
994
  /**
@@ -824,7 +1015,12 @@ export type UserUpdateInput = {
824
1015
  export type GetUsageData = {
825
1016
  body?: never;
826
1017
  path?: never;
827
- query?: never;
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
+ };
828
1024
  url: '/billing/usage';
829
1025
  };
830
1026
  export type GetUsageErrors = {
@@ -835,24 +1031,11 @@ export type GetUsageErrors = {
835
1031
  };
836
1032
  export type GetUsageResponses = {
837
1033
  /**
838
- * An array of usage records.
1034
+ * Usage data with facets for filtering
839
1035
  */
840
- 200: Array<Usage>;
1036
+ 200: UsageResponse;
841
1037
  };
842
1038
  export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
843
- export type GetBalanceData = {
844
- body?: never;
845
- path?: never;
846
- query?: never;
847
- url: '/billing/balance';
848
- };
849
- export type GetBalanceResponses = {
850
- /**
851
- * Current balance of the organization in USD as a floating-point number.
852
- */
853
- 200: number;
854
- };
855
- export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
856
1039
  export type GetPaymentMethodData = {
857
1040
  body?: never;
858
1041
  path?: never;
@@ -878,93 +1061,214 @@ export type GetPaymentMethodSecretData = {
878
1061
  query?: never;
879
1062
  url: '/billing/payment-method';
880
1063
  };
881
- export type GetPaymentMethodSecretResponses = {
1064
+ export type GetPaymentMethodSecretResponses = {
1065
+ /**
1066
+ * The client secret. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
1067
+ *
1068
+ */
1069
+ 200: {
1070
+ /**
1071
+ * The client secret.
1072
+ */
1073
+ id?: string;
1074
+ };
1075
+ };
1076
+ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1077
+ export type ListInvoicesData = {
1078
+ body?: never;
1079
+ path?: never;
1080
+ query?: never;
1081
+ url: '/billing/invoices';
1082
+ };
1083
+ export type ListInvoicesErrors = {
1084
+ /**
1085
+ * Not authenticated
1086
+ */
1087
+ 401: unknown;
1088
+ };
1089
+ export type ListInvoicesResponses = {
1090
+ /**
1091
+ * An array of usage records.
1092
+ */
1093
+ 200: Array<Invoice>;
1094
+ };
1095
+ export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1096
+ export type GetContactData = {
1097
+ body?: never;
1098
+ path?: never;
1099
+ query?: never;
1100
+ url: '/billing/contact';
1101
+ };
1102
+ export type GetContactResponses = {
1103
+ /**
1104
+ * Returns a single object containing organization contact and billing address details.
1105
+ */
1106
+ 200: BillingContact;
1107
+ };
1108
+ export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
1109
+ export type UpdateContactData = {
1110
+ body: BillingContact;
1111
+ path?: never;
1112
+ query?: never;
1113
+ url: '/billing/contact';
1114
+ };
1115
+ export type UpdateContactResponses = {
1116
+ /**
1117
+ * Successfully updated. Returns updated organization details.
1118
+ */
1119
+ 200: BillingContact;
1120
+ };
1121
+ export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1122
+ export type GetCreditsData = {
1123
+ body?: never;
1124
+ path?: never;
1125
+ query?: never;
1126
+ url: '/billing/credits';
1127
+ };
1128
+ export type GetCreditsErrors = {
1129
+ /**
1130
+ * Not authenticated
1131
+ */
1132
+ 401: unknown;
1133
+ };
1134
+ export type GetCreditsResponses = {
1135
+ /**
1136
+ * An array of the applied promotional credits records.
1137
+ */
1138
+ 200: Array<BillingCredits>;
1139
+ };
1140
+ export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
1141
+ export type RedeemCreditsData = {
1142
+ body: {
1143
+ /**
1144
+ * Promotional code to redeem
1145
+ */
1146
+ code?: string;
1147
+ };
1148
+ path?: never;
1149
+ query?: never;
1150
+ url: '/billing/credits';
1151
+ };
1152
+ export type RedeemCreditsErrors = {
1153
+ /**
1154
+ * Not authenticated
1155
+ */
1156
+ 401: unknown;
1157
+ };
1158
+ export type RedeemCreditsResponses = {
882
1159
  /**
883
- * The client secret. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
884
- *
1160
+ * Successfully created a new organization.
885
1161
  */
886
- 200: {
887
- /**
888
- * The client secret.
889
- */
890
- id?: string;
891
- };
1162
+ 200: unknown;
892
1163
  };
893
- export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
894
- export type ListInvoicesData = {
1164
+ export type ListChartsData = {
895
1165
  body?: never;
896
- path?: never;
897
- query: {
898
- /**
899
- * Start date for the usage. Date of oldest data point to retrieve.
900
- */
901
- start_date: string;
1166
+ path: {
902
1167
  /**
903
- * End date for the usage. Date of newest data point to retrieve.
1168
+ * Unique identifier of the cluster. UUID v4 string in canonical form
904
1169
  */
905
- end_date: string;
1170
+ cluster_id: string;
906
1171
  };
907
- url: '/billing/invoices';
1172
+ query?: never;
1173
+ url: '/clusters/{cluster_id}/charts';
908
1174
  };
909
- export type ListInvoicesErrors = {
1175
+ export type ListChartsErrors = {
910
1176
  /**
911
1177
  * Not authenticated
912
1178
  */
913
1179
  401: unknown;
914
1180
  };
915
- export type ListInvoicesResponses = {
1181
+ export type ListChartsResponses = {
916
1182
  /**
917
- * An array of usage records.
1183
+ * An array of charts
918
1184
  */
919
- 200: Array<Invoice>;
1185
+ 200: Array<Chart>;
920
1186
  };
921
- export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
922
- export type GetInvoiceData = {
923
- body?: never;
1187
+ export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
1188
+ export type CreateChartData = {
1189
+ body: ChartCreateInput;
924
1190
  path: {
925
1191
  /**
926
- * Unique invoice identifier. UUID v4 string in canonical form
1192
+ * Unique identifier of the cluster. UUID v4 string in canonical form
927
1193
  */
928
- id: string;
1194
+ cluster_id: string;
929
1195
  };
930
1196
  query?: never;
931
- url: '/billing/invoices/{id}';
1197
+ url: '/clusters/{cluster_id}/charts';
932
1198
  };
933
- export type GetInvoiceResponses = {
1199
+ export type CreateChartResponses = {
934
1200
  /**
935
- * Returns a single Invoice HTML representation under `html` property.
1201
+ * Successfully created. Returns created Chart ID.
936
1202
  */
937
- 200: {
938
- html?: string;
1203
+ 200: string;
1204
+ };
1205
+ export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
1206
+ export type DeleteChartData = {
1207
+ body?: never;
1208
+ path: {
1209
+ /**
1210
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1211
+ */
1212
+ cluster_id: string;
1213
+ /**
1214
+ * Chart deployment name as the unique identifier of the chart.
1215
+ */
1216
+ chart_name: string;
939
1217
  };
1218
+ query?: never;
1219
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
940
1220
  };
941
- export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
942
- export type GetContactData = {
1221
+ export type DeleteChartResponses = {
1222
+ /**
1223
+ * Successfully deleted.
1224
+ */
1225
+ 200: string;
1226
+ };
1227
+ export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
1228
+ export type GetChartData = {
943
1229
  body?: never;
944
- path?: never;
1230
+ path: {
1231
+ /**
1232
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1233
+ */
1234
+ cluster_id: string;
1235
+ /**
1236
+ * Chart deployment name as the unique identifier of the chart.
1237
+ */
1238
+ chart_name: string;
1239
+ };
945
1240
  query?: never;
946
- url: '/billing/contact';
1241
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
947
1242
  };
948
- export type GetContactResponses = {
1243
+ export type GetChartResponses = {
949
1244
  /**
950
- * Returns a single object containing organization contact and billing address details.
1245
+ * Returns a single object containing chart details.
951
1246
  */
952
- 200: BillingContact;
1247
+ 200: Chart;
953
1248
  };
954
- export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
955
- export type UpdateContactData = {
956
- body: BillingContact;
957
- path?: never;
1249
+ export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
1250
+ export type UpdateChartData = {
1251
+ body: ChartUpdateInput;
1252
+ path: {
1253
+ /**
1254
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1255
+ */
1256
+ cluster_id: string;
1257
+ /**
1258
+ * Chart deployment name as the unique identifier of the chart.
1259
+ */
1260
+ chart_name: string;
1261
+ };
958
1262
  query?: never;
959
- url: '/billing/contact';
1263
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
960
1264
  };
961
- export type UpdateContactResponses = {
1265
+ export type UpdateChartResponses = {
962
1266
  /**
963
- * Successfully updated. Returns updated organization details.
1267
+ * Successfully updated.
964
1268
  */
965
- 200: BillingContact;
1269
+ 200: string;
966
1270
  };
967
- export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1271
+ export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
968
1272
  export type ListFleetsData = {
969
1273
  body?: never;
970
1274
  path: {
@@ -1224,7 +1528,7 @@ export type GetJoinInformationResponses = {
1224
1528
  /**
1225
1529
  * An object of cluster join information
1226
1530
  */
1227
- 200: Cluster;
1531
+ 200: ClusterJoinInformation;
1228
1532
  };
1229
1533
  export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
1230
1534
  export type ListInvitesData = {
@@ -1299,6 +1603,95 @@ export type DeleteInviteResponses = {
1299
1603
  */
1300
1604
  200: unknown;
1301
1605
  };
1606
+ export type ListMarketplaceChartsData = {
1607
+ body?: never;
1608
+ path?: never;
1609
+ query?: never;
1610
+ url: '/marketplace';
1611
+ };
1612
+ export type ListMarketplaceChartsErrors = {
1613
+ /**
1614
+ * Not authenticated
1615
+ */
1616
+ 401: unknown;
1617
+ };
1618
+ export type ListMarketplaceChartsResponses = {
1619
+ /**
1620
+ * An array of chart listings in the marketplace.
1621
+ */
1622
+ 200: Array<MarketplaceListing>;
1623
+ };
1624
+ export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
1625
+ export type GetMarketplaceChartFilesData = {
1626
+ body?: never;
1627
+ path: {
1628
+ /**
1629
+ * Name of the chart in the marketplace.
1630
+ */
1631
+ chart_name: string;
1632
+ /**
1633
+ * Version of the chart.
1634
+ */
1635
+ version: string;
1636
+ };
1637
+ query?: never;
1638
+ url: '/marketplace/{chart_name}/files/{version}';
1639
+ };
1640
+ export type GetMarketplaceChartFilesErrors = {
1641
+ /**
1642
+ * Chart or version not found
1643
+ */
1644
+ 404: unknown;
1645
+ };
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];
1302
1695
  export type GetOrganizationData = {
1303
1696
  body?: never;
1304
1697
  path?: never;
@@ -1324,6 +1717,144 @@ export type CreateOrganizationResponses = {
1324
1717
  */
1325
1718
  200: unknown;
1326
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];
1327
1858
  export type ListTokensData = {
1328
1859
  body?: never;
1329
1860
  path?: never;
@@ -1580,56 +2111,4 @@ export type UpdateUserResponses = {
1580
2111
  200: User;
1581
2112
  };
1582
2113
  export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1583
- export type DeleteClusterPermissionsData = {
1584
- body?: never;
1585
- path: {
1586
- /**
1587
- * Unique user identifier. UUID v4 string in canonical form
1588
- */
1589
- user_id: string;
1590
- /**
1591
- * Unique cluster identifier. UUID v4 string in canonical form
1592
- */
1593
- cluster_id: string;
1594
- };
1595
- query?: never;
1596
- url: '/users/{user_id}/clusters/{cluster_id}';
1597
- };
1598
- export type DeleteClusterPermissionsResponses = {
1599
- /**
1600
- * Successfully removed user from the cluster. Returns updated user details.
1601
- */
1602
- 200: User;
1603
- };
1604
- export type DeleteClusterPermissionsResponse = DeleteClusterPermissionsResponses[keyof DeleteClusterPermissionsResponses];
1605
- export type SetClusterPermissionsData = {
1606
- body: {
1607
- /**
1608
- * Level of permissions for the user to access the cluster
1609
- */
1610
- permissions?: 'readwrite' | 'readonly';
1611
- };
1612
- path: {
1613
- /**
1614
- * Unique user identifier. UUID v4 string in canonical form
1615
- */
1616
- user_id: string;
1617
- /**
1618
- * Unique cluster identifier. UUID v4 string in canonical form
1619
- */
1620
- cluster_id: string;
1621
- };
1622
- query?: never;
1623
- url: '/users/{user_id}/clusters/{cluster_id}';
1624
- };
1625
- export type SetClusterPermissionsResponses = {
1626
- /**
1627
- * Successfully created. Returns created user details.
1628
- */
1629
- 200: User;
1630
- };
1631
- export type SetClusterPermissionsResponse = SetClusterPermissionsResponses[keyof SetClusterPermissionsResponses];
1632
- export type ClientOptions = {
1633
- baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
1634
- };
1635
2114
  //# sourceMappingURL=types.gen.d.ts.map