@cloudfleet/sdk 0.0.1-23a36bd → 0.0.1-25cee56

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 +235 -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 +118 -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 +229 -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 +2 -4
  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 +26 -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 +44 -0
  30. package/dist/core/params.gen.d.ts.map +1 -0
  31. package/dist/core/params.gen.js +101 -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 +107 -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 +93 -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 +134 -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 +865 -477
  58. package/dist/schemas.gen.d.ts.map +1 -1
  59. package/dist/schemas.gen.js +1377 -564
  60. package/dist/schemas.gen.js.map +1 -1
  61. package/dist/sdk.gen.d.ts +200 -65
  62. package/dist/sdk.gen.d.ts.map +1 -1
  63. package/dist/sdk.gen.js +265 -152
  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 +913 -310
  78. package/dist/types.gen.d.ts.map +1 -1
  79. package/dist/zod.gen.d.ts +1881 -1902
  80. package/dist/zod.gen.d.ts.map +1 -1
  81. package/dist/zod.gen.js +872 -749
  82. package/dist/zod.gen.js.map +1 -1
  83. package/package.json +12 -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,31 +39,143 @@ 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.
113
+ */
114
+ values: string;
115
+ /**
116
+ * Desired version range or channel for the chart.
117
+ */
118
+ version_channel: string;
119
+ /**
120
+ * Unique identifier of the chart deployment aka name of the helm release.
121
+ */
122
+ name: string;
123
+ /**
124
+ * Namespace of the chart deployment
125
+ */
126
+ namespace: string;
127
+ /**
128
+ * Name of the chart listing
129
+ */
130
+ chart: string;
131
+ /**
132
+ * Status of the chart deployment.
133
+ */
134
+ status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing' | 'SourceNotReady';
135
+ /**
136
+ * Current version of the chart deployment.
137
+ */
138
+ version_current: string;
139
+ /**
140
+ * Creation date and time of the chart deployment.
141
+ */
142
+ created_at: string;
143
+ /**
144
+ * Last update date and time of the chart deployment.
145
+ */
146
+ updated_at: string;
147
+ /**
148
+ * Indicates if the chart deployment is ready to be used.
149
+ */
150
+ ready: boolean;
151
+ };
152
+ export type ChartUpdateInput = {
153
+ /**
154
+ * Values to be used in the chart encoded as a JSON string.
155
+ */
156
+ values: string;
157
+ /**
158
+ * Desired version range or channel for the chart.
159
+ */
160
+ version_channel: string;
161
+ };
162
+ export type ClusterCreateInput = {
163
+ /**
164
+ * Name of the cluster.
54
165
  */
55
- region?: 'staging' | 'northamerica-central-1';
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-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';
60
175
  /**
61
176
  * Version of the kubernetes cluster.
62
177
  */
63
- version_channel?: string;
178
+ version_channel?: '1.x.x-cfke.x' | '1.31.x-cfke.x' | '1.32.x-cfke.x' | '1.33.x-cfke.x';
64
179
  };
65
180
  export type ClusterJoinInformation = {
66
181
  /**
@@ -71,6 +186,10 @@ export type ClusterJoinInformation = {
71
186
  * Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
72
187
  */
73
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;
74
193
  /**
75
194
  * Authentication key for the cluster.
76
195
  */
@@ -95,6 +214,10 @@ export type ClusterJoinInformation = {
95
214
  * Containerd version of the cluster.
96
215
  */
97
216
  containerd: string;
217
+ /**
218
+ * NVIDIA driver version of the cluster.
219
+ */
220
+ nvidia_driver: string;
98
221
  };
99
222
  /**
100
223
  * OIDC Information for hosts to access to third party API's.
@@ -119,18 +242,14 @@ export type Cluster = {
119
242
  * Name of the cluster.
120
243
  */
121
244
  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
245
  /**
127
246
  * Tier of the cluster.
128
247
  */
129
248
  tier: 'basic' | 'pro';
130
249
  /**
131
- * Version of the kubernetes cluster.
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.
132
251
  */
133
- version_channel?: string;
252
+ region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
134
253
  /**
135
254
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
136
255
  */
@@ -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.
@@ -160,12 +279,20 @@ export type Cluster = {
160
279
  * Indicates if the cluster is ready to be used.
161
280
  */
162
281
  ready?: boolean;
282
+ /**
283
+ * Version of the kubernetes cluster.
284
+ */
285
+ version_channel?: string;
163
286
  };
164
287
  export type ClusterUpdateInput = {
165
288
  /**
166
289
  * Name of the cluster.
167
290
  */
168
291
  name?: string;
292
+ /**
293
+ * Tier of the cluster.
294
+ */
295
+ tier: 'basic' | 'pro';
169
296
  /**
170
297
  * Version of the kubernetes cluster.
171
298
  */
@@ -190,10 +317,10 @@ export type FleetCreateInput = {
190
317
  };
191
318
  hetzner?: {
192
319
  enabled?: boolean;
193
- apiKey?: string;
194
- } | {
195
- apiKey?: string;
196
- enabled?: boolean;
320
+ /**
321
+ * Hetzner Cloud API key with read / write access
322
+ */
323
+ apiKey: string;
197
324
  };
198
325
  aws?: {
199
326
  enabled?: boolean;
@@ -206,10 +333,6 @@ export type FleetCreateInput = {
206
333
  * Unique identifier of the kubernetes fleet.
207
334
  */
208
335
  id: string;
209
- /**
210
- * Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
211
- */
212
- type: 'managed' | 'connected';
213
336
  };
214
337
  export type Fleet = {
215
338
  /**
@@ -230,10 +353,10 @@ export type Fleet = {
230
353
  };
231
354
  hetzner?: {
232
355
  enabled?: boolean;
233
- apiKey?: string;
234
- } | {
235
- apiKey?: string;
236
- enabled?: boolean;
356
+ /**
357
+ * Hetzner Cloud API key with read / write access
358
+ */
359
+ apiKey: string;
237
360
  };
238
361
  aws?: {
239
362
  enabled?: boolean;
@@ -246,10 +369,6 @@ export type Fleet = {
246
369
  * Unique identifier of the kubernetes fleet.
247
370
  */
248
371
  id: string;
249
- /**
250
- * Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
251
- */
252
- type: 'managed' | 'connected';
253
372
  };
254
373
  export type FleetUpdateInput = {
255
374
  /**
@@ -270,10 +389,10 @@ export type FleetUpdateInput = {
270
389
  };
271
390
  hetzner?: {
272
391
  enabled?: boolean;
273
- apiKey?: string;
274
- } | {
275
- apiKey?: string;
276
- enabled?: boolean;
392
+ /**
393
+ * Hetzner Cloud API key with read / write access
394
+ */
395
+ apiKey: string;
277
396
  };
278
397
  aws?: {
279
398
  enabled?: boolean;
@@ -307,235 +426,121 @@ export type Invite = {
307
426
  };
308
427
  export type Invoice = {
309
428
  /**
310
- * Unique identifier of the invoice. UUID v4 string in canonical form
429
+ * Unique identifier of the invoice.
311
430
  */
312
431
  id?: string;
313
- /**
314
- * Unique identifier of the organization. UUID v4 string in canonical form
315
- */
316
- organizationId?: string;
432
+ number?: string;
317
433
  /**
318
434
  * Status of the invoice
319
435
  */
320
- status?: 'DRAFT' | 'COMMITTED' | 'VOID';
436
+ status?: string;
321
437
  /**
322
438
  * Total amount of the invoice
323
439
  */
324
- amount?: number;
440
+ total?: number;
325
441
  /**
326
442
  * Currency of the invoice
327
443
  */
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';
444
+ currency?: string;
329
445
  /**
330
- * Total amount of credit adjustments
446
+ * Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
331
447
  */
332
- creditAdj?: number;
448
+ created: string;
333
449
  /**
334
- * Total amount of refund adjustments
450
+ * Billing period start timestamp. ISO 8601 date string in the UTC timezone.
335
451
  */
336
- refundAdj?: number;
452
+ period_start: string;
337
453
  /**
338
- * Date of the invoice
454
+ * Billing period end timestamp. ISO 8601 date string in the UTC timezone.
339
455
  */
340
- invoiceDate?: string;
456
+ period_end: string;
457
+ invoice_pdf?: string;
458
+ };
459
+ export type MarketplaceListingFiles = {
341
460
  /**
342
- * Target date of the invoice
461
+ * Raw Chart.yaml content from the Helm chart
343
462
  */
344
- targetDate?: string;
463
+ chartYaml?: string;
345
464
  /**
346
- * Number of the invoice
465
+ * Raw values.yaml content from the Helm chart
347
466
  */
348
- invoiceNumber?: string;
467
+ valuesYaml?: string;
349
468
  /**
350
- * Balance of the invoice
469
+ * JSON schema for values.yaml as a string
351
470
  */
352
- balance?: number;
471
+ valuesSchemaJson?: string;
472
+ };
473
+ export type MarketplaceListing = {
353
474
  /**
354
- * Bundle keys of the invoice
475
+ * Name of the chart
355
476
  */
356
- bundleKeys?: string;
477
+ name: string;
357
478
  /**
358
- * Credits of the invoice
479
+ * Available versions of the chart
359
480
  */
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
- }>;
481
+ versions: Array<string>;
448
482
  /**
449
- * Items of the invoice
483
+ * Version channels for the chart
450
484
  */
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;
485
+ version_channels: Array<string>;
486
+ /**
487
+ * Latest version of the chart
488
+ */
489
+ latestVersion: string;
490
+ /**
491
+ * Chart metadata
492
+ */
493
+ metadata?: {
488
494
  /**
489
- * Pretty name of the usage
495
+ * Chart name from metadata
490
496
  */
491
- prettyUsageName?: string;
497
+ name: string;
492
498
  /**
493
- * Type of the invoice item
499
+ * Chart version from metadata
494
500
  */
495
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
501
+ version: string;
496
502
  /**
497
- * Description of the invoice item
503
+ * Chart description
498
504
  */
499
505
  description?: string;
500
506
  /**
501
- * Start date of the invoice item
507
+ * Application version
502
508
  */
503
- startDate?: string;
509
+ appVersion?: string;
504
510
  /**
505
- * End date of the invoice item
511
+ * Helm API version
506
512
  */
507
- endDate?: string;
513
+ apiVersion?: string;
508
514
  /**
509
- * Amount of the invoice item
515
+ * Chart keywords
510
516
  */
511
- amount?: number;
517
+ keywords?: Array<string>;
512
518
  /**
513
- * Rate of the invoice item
519
+ * Chart home URL
514
520
  */
515
- rate?: number;
521
+ home?: string;
516
522
  /**
517
- * Currency of the invoice item
523
+ * A URL to an SVG or PNG image to be used as an icon
518
524
  */
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';
525
+ icon?: string;
520
526
  /**
521
- * Quantity of the invoice item
527
+ * Chart source URLs
522
528
  */
523
- quantity?: number;
529
+ sources?: Array<string>;
524
530
  /**
525
- * Details of the invoice item
531
+ * Chart maintainers
526
532
  */
527
- itemDetails?: string;
528
- /**
529
- * Effective date of the catalog
530
- */
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
- }>;
533
+ maintainers?: Array<{
534
+ /**
535
+ * Maintainer name
536
+ */
537
+ name: string;
538
+ /**
539
+ * Maintainer email
540
+ */
541
+ email?: string;
542
+ }>;
543
+ };
539
544
  };
540
545
  export type OrganizationCreateInput = {
541
546
  /**
@@ -596,10 +601,6 @@ export type Organization = {
596
601
  * Maximum number of fleets that can be created per cluster.
597
602
  */
598
603
  fleets_max: number;
599
- /**
600
- * Maximum number of CPU cores per managed fleet.
601
- */
602
- managed_fleets_cpu_max: number;
603
604
  /**
604
605
  * List of Cloudfleet cluster tiers available for the organization.
605
606
  */
@@ -621,6 +622,18 @@ export type Organization = {
621
622
  */
622
623
  label: string;
623
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;
624
637
  };
625
638
  /**
626
639
  * Status of the organization. Can be `active` or `closed`, or `suspended`.
@@ -657,6 +670,209 @@ export type PaymentMethod = {
657
670
  */
658
671
  brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
659
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
+ };
660
876
  export type TokenCreateInput = {
661
877
  /**
662
878
  * Human readable access token name.
@@ -699,35 +915,85 @@ export type TokenUpdateInput = {
699
915
  */
700
916
  role?: 'Administrator' | 'User';
701
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
+ };
702
972
  export type Usage = {
703
973
  /**
704
974
  * Hour of the usage
705
975
  */
706
- hour?: string;
976
+ hour: string;
707
977
  /**
708
978
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
709
979
  */
710
980
  cluster_id: string;
711
981
  /**
712
- * Tier of the cluster.
982
+ * The product the usage is associated with
713
983
  */
714
- cluster_tier: '';
984
+ product: string;
715
985
  /**
716
- * The product the usage is associated with
986
+ * Consumption
717
987
  */
718
- product: 'cfke_infra_compute' | 'cfke_nodes' | 'cfke_controlplane';
988
+ value: number;
719
989
  /**
720
- * Name of the Kubernetes node
990
+ * Price per unit
721
991
  */
722
- node_name: string;
992
+ price: number;
723
993
  /**
724
- * SKU of the Kubernetes node
994
+ * Total cost
725
995
  */
726
- sku: string;
727
- cpu: number | '';
728
- price: number | '';
729
- value: number | '';
730
- total: number | '';
996
+ total: number;
731
997
  };
732
998
  export type UserCreateInput = {
733
999
  /**
@@ -814,7 +1080,12 @@ export type UserUpdateInput = {
814
1080
  export type GetUsageData = {
815
1081
  body?: never;
816
1082
  path?: never;
817
- query?: never;
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
+ };
818
1089
  url: '/billing/usage';
819
1090
  };
820
1091
  export type GetUsageErrors = {
@@ -823,138 +1094,246 @@ export type GetUsageErrors = {
823
1094
  */
824
1095
  401: unknown;
825
1096
  };
826
- export type GetUsageResponses = {
1097
+ export type GetUsageResponses = {
1098
+ /**
1099
+ * Usage data with facets for filtering
1100
+ */
1101
+ 200: UsageResponse;
1102
+ };
1103
+ export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
1104
+ export type GetPaymentMethodData = {
1105
+ body?: never;
1106
+ path?: never;
1107
+ query?: never;
1108
+ url: '/billing/payment-method';
1109
+ };
1110
+ export type GetPaymentMethodErrors = {
1111
+ /**
1112
+ * Returns 404 Not Found if the organization does not have a payment method set up.
1113
+ */
1114
+ 404: unknown;
1115
+ };
1116
+ export type GetPaymentMethodResponses = {
1117
+ /**
1118
+ * Redacted payment card information.
1119
+ */
1120
+ 200: PaymentMethod;
1121
+ };
1122
+ export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
1123
+ export type GetPaymentMethodSecretData = {
1124
+ body?: never;
1125
+ path?: never;
1126
+ query?: never;
1127
+ url: '/billing/payment-method';
1128
+ };
1129
+ export type GetPaymentMethodSecretResponses = {
1130
+ /**
1131
+ * 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.
1132
+ *
1133
+ */
1134
+ 200: {
1135
+ /**
1136
+ * The client secret.
1137
+ */
1138
+ id?: string;
1139
+ };
1140
+ };
1141
+ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1142
+ export type ListInvoicesData = {
1143
+ body?: never;
1144
+ path?: never;
1145
+ query?: never;
1146
+ url: '/billing/invoices';
1147
+ };
1148
+ export type ListInvoicesErrors = {
1149
+ /**
1150
+ * Not authenticated
1151
+ */
1152
+ 401: unknown;
1153
+ };
1154
+ export type ListInvoicesResponses = {
1155
+ /**
1156
+ * An array of usage records.
1157
+ */
1158
+ 200: Array<Invoice>;
1159
+ };
1160
+ export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1161
+ export type GetContactData = {
1162
+ body?: never;
1163
+ path?: never;
1164
+ query?: never;
1165
+ url: '/billing/contact';
1166
+ };
1167
+ export type GetContactResponses = {
827
1168
  /**
828
- * An array of usage records.
1169
+ * Returns a single object containing organization contact and billing address details.
829
1170
  */
830
- 200: Array<Usage>;
1171
+ 200: BillingContact;
831
1172
  };
832
- export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
833
- export type GetBalanceData = {
834
- body?: never;
1173
+ export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
1174
+ export type UpdateContactData = {
1175
+ body: BillingContact;
835
1176
  path?: never;
836
1177
  query?: never;
837
- url: '/billing/balance';
1178
+ url: '/billing/contact';
838
1179
  };
839
- export type GetBalanceResponses = {
1180
+ export type UpdateContactResponses = {
840
1181
  /**
841
- * Current balance of the organization in USD as a floating-point number.
1182
+ * Successfully updated. Returns updated organization details.
842
1183
  */
843
- 200: number;
1184
+ 200: BillingContact;
844
1185
  };
845
- export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
846
- export type GetPaymentMethodData = {
1186
+ export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1187
+ export type GetCreditsData = {
847
1188
  body?: never;
848
1189
  path?: never;
849
1190
  query?: never;
850
- url: '/billing/payment-method';
1191
+ url: '/billing/credits';
851
1192
  };
852
- export type GetPaymentMethodErrors = {
1193
+ export type GetCreditsErrors = {
853
1194
  /**
854
- * Returns 404 Not Found if the organization does not have a payment method set up.
1195
+ * Not authenticated
855
1196
  */
856
- 404: unknown;
1197
+ 401: unknown;
857
1198
  };
858
- export type GetPaymentMethodResponses = {
1199
+ export type GetCreditsResponses = {
859
1200
  /**
860
- * Redacted payment card information.
1201
+ * An array of the applied promotional credits records.
861
1202
  */
862
- 200: PaymentMethod;
1203
+ 200: Array<BillingCredits>;
863
1204
  };
864
- export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
865
- export type GetPaymentMethodSecretData = {
866
- body?: never;
1205
+ export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
1206
+ export type RedeemCreditsData = {
1207
+ body: {
1208
+ /**
1209
+ * Promotional code to redeem
1210
+ */
1211
+ code?: string;
1212
+ };
867
1213
  path?: never;
868
1214
  query?: never;
869
- url: '/billing/payment-method';
1215
+ url: '/billing/credits';
870
1216
  };
871
- export type GetPaymentMethodSecretResponses = {
1217
+ export type RedeemCreditsErrors = {
872
1218
  /**
873
- * 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.
874
- *
1219
+ * Not authenticated
875
1220
  */
876
- 200: {
877
- /**
878
- * The client secret.
879
- */
880
- id?: string;
881
- };
1221
+ 401: unknown;
882
1222
  };
883
- export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
884
- export type ListInvoicesData = {
1223
+ export type RedeemCreditsResponses = {
1224
+ /**
1225
+ * Successfully created a new organization.
1226
+ */
1227
+ 200: unknown;
1228
+ };
1229
+ export type ListChartsData = {
885
1230
  body?: never;
886
- path?: never;
887
- query: {
888
- /**
889
- * Start date for the usage. Date of oldest data point to retrieve.
890
- */
891
- start_date: string;
1231
+ path: {
892
1232
  /**
893
- * End date for the usage. Date of newest data point to retrieve.
1233
+ * Unique identifier of the cluster. UUID v4 string in canonical form
894
1234
  */
895
- end_date: string;
1235
+ cluster_id: string;
896
1236
  };
897
- url: '/billing/invoices';
1237
+ query?: never;
1238
+ url: '/clusters/{cluster_id}/charts';
898
1239
  };
899
- export type ListInvoicesErrors = {
1240
+ export type ListChartsErrors = {
900
1241
  /**
901
1242
  * Not authenticated
902
1243
  */
903
1244
  401: unknown;
904
1245
  };
905
- export type ListInvoicesResponses = {
1246
+ export type ListChartsResponses = {
906
1247
  /**
907
- * An array of usage records.
1248
+ * An array of charts
908
1249
  */
909
- 200: Array<Invoice>;
1250
+ 200: Array<Chart>;
910
1251
  };
911
- export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
912
- export type GetInvoiceData = {
913
- body?: never;
1252
+ export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
1253
+ export type CreateChartData = {
1254
+ body: ChartCreateInput;
914
1255
  path: {
915
1256
  /**
916
- * Unique invoice identifier. UUID v4 string in canonical form
1257
+ * Unique identifier of the cluster. UUID v4 string in canonical form
917
1258
  */
918
- id: string;
1259
+ cluster_id: string;
919
1260
  };
920
1261
  query?: never;
921
- url: '/billing/invoices/{id}';
1262
+ url: '/clusters/{cluster_id}/charts';
922
1263
  };
923
- export type GetInvoiceResponses = {
1264
+ export type CreateChartResponses = {
924
1265
  /**
925
- * Returns a single Invoice HTML representation under `html` property.
1266
+ * Successfully created. Returns created Chart ID.
926
1267
  */
927
- 200: {
928
- html?: string;
1268
+ 200: string;
1269
+ };
1270
+ export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
1271
+ export type DeleteChartData = {
1272
+ body?: never;
1273
+ path: {
1274
+ /**
1275
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1276
+ */
1277
+ cluster_id: string;
1278
+ /**
1279
+ * Chart deployment name as the unique identifier of the chart.
1280
+ */
1281
+ chart_name: string;
929
1282
  };
1283
+ query?: never;
1284
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
930
1285
  };
931
- export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
932
- export type GetContactData = {
1286
+ export type DeleteChartResponses = {
1287
+ /**
1288
+ * Successfully deleted.
1289
+ */
1290
+ 200: string;
1291
+ };
1292
+ export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
1293
+ export type GetChartData = {
933
1294
  body?: never;
934
- path?: never;
1295
+ path: {
1296
+ /**
1297
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1298
+ */
1299
+ cluster_id: string;
1300
+ /**
1301
+ * Chart deployment name as the unique identifier of the chart.
1302
+ */
1303
+ chart_name: string;
1304
+ };
935
1305
  query?: never;
936
- url: '/billing/contact';
1306
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
937
1307
  };
938
- export type GetContactResponses = {
1308
+ export type GetChartResponses = {
939
1309
  /**
940
- * Returns a single object containing organization contact and billing address details.
1310
+ * Returns a single object containing chart details.
941
1311
  */
942
- 200: BillingContact;
1312
+ 200: Chart;
943
1313
  };
944
- export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
945
- export type UpdateContactData = {
946
- body: BillingContact;
947
- path?: never;
1314
+ export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
1315
+ export type UpdateChartData = {
1316
+ body: ChartUpdateInput;
1317
+ path: {
1318
+ /**
1319
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1320
+ */
1321
+ cluster_id: string;
1322
+ /**
1323
+ * Chart deployment name as the unique identifier of the chart.
1324
+ */
1325
+ chart_name: string;
1326
+ };
948
1327
  query?: never;
949
- url: '/billing/contact';
1328
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
950
1329
  };
951
- export type UpdateContactResponses = {
1330
+ export type UpdateChartResponses = {
952
1331
  /**
953
- * Successfully updated. Returns updated organization details.
1332
+ * Successfully updated.
954
1333
  */
955
- 200: BillingContact;
1334
+ 200: string;
956
1335
  };
957
- export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1336
+ export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
958
1337
  export type ListFleetsData = {
959
1338
  body?: never;
960
1339
  path: {
@@ -1214,7 +1593,7 @@ export type GetJoinInformationResponses = {
1214
1593
  /**
1215
1594
  * An object of cluster join information
1216
1595
  */
1217
- 200: Cluster;
1596
+ 200: ClusterJoinInformation;
1218
1597
  };
1219
1598
  export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
1220
1599
  export type ListInvitesData = {
@@ -1289,6 +1668,95 @@ export type DeleteInviteResponses = {
1289
1668
  */
1290
1669
  200: unknown;
1291
1670
  };
1671
+ export type ListMarketplaceChartsData = {
1672
+ body?: never;
1673
+ path?: never;
1674
+ query?: never;
1675
+ url: '/marketplace';
1676
+ };
1677
+ export type ListMarketplaceChartsErrors = {
1678
+ /**
1679
+ * Not authenticated
1680
+ */
1681
+ 401: unknown;
1682
+ };
1683
+ export type ListMarketplaceChartsResponses = {
1684
+ /**
1685
+ * An array of chart listings in the marketplace.
1686
+ */
1687
+ 200: Array<MarketplaceListing>;
1688
+ };
1689
+ export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
1690
+ export type GetMarketplaceChartFilesData = {
1691
+ body?: never;
1692
+ path: {
1693
+ /**
1694
+ * Name of the chart in the marketplace.
1695
+ */
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;
1701
+ };
1702
+ query?: never;
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;
1710
+ };
1711
+ export type GetMarketplaceChartFilesResponses = {
1712
+ /**
1713
+ * Returns an object containing the chart files for the latest matching version.
1714
+ */
1715
+ 200: MarketplaceListingFiles;
1716
+ };
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];
1292
1760
  export type GetOrganizationData = {
1293
1761
  body?: never;
1294
1762
  path?: never;
@@ -1314,6 +1782,144 @@ export type CreateOrganizationResponses = {
1314
1782
  */
1315
1783
  200: unknown;
1316
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];
1317
1923
  export type ListTokensData = {
1318
1924
  body?: never;
1319
1925
  path?: never;
@@ -1570,7 +2176,4 @@ export type UpdateUserResponses = {
1570
2176
  200: User;
1571
2177
  };
1572
2178
  export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1573
- export type ClientOptions = {
1574
- baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
1575
- };
1576
2179
  //# sourceMappingURL=types.gen.d.ts.map