@cloudfleet/sdk 0.0.1-6a8db0f → 0.0.1-6d7ad01

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 (68) 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/schemas.gen.d.ts +574 -487
  54. package/dist/schemas.gen.d.ts.map +1 -1
  55. package/dist/schemas.gen.js +604 -536
  56. package/dist/schemas.gen.js.map +1 -1
  57. package/dist/sdk.gen.d.ts +134 -69
  58. package/dist/sdk.gen.d.ts.map +1 -1
  59. package/dist/sdk.gen.js +178 -87
  60. package/dist/sdk.gen.js.map +1 -1
  61. package/dist/services/kubernetes/api.d.ts +12 -12
  62. package/dist/types.gen.d.ts +546 -332
  63. package/dist/types.gen.d.ts.map +1 -1
  64. package/dist/zod.gen.d.ts +1785 -2101
  65. package/dist/zod.gen.d.ts.map +1 -1
  66. package/dist/zod.gen.js +728 -760
  67. package/dist/zod.gen.js.map +1 -1
  68. package/package.json +5 -6
@@ -1,3 +1,6 @@
1
+ export type ClientOptions = {
2
+ baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
3
+ };
1
4
  export type BillingContact = {
2
5
  /**
3
6
  * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
@@ -36,13 +39,9 @@ export type BillingContact = {
36
39
  */
37
40
  email: string;
38
41
  /**
39
- * First name of the billing contact person.
40
- */
41
- first_name: string;
42
- /**
43
- * Last name of the billing contact person.
42
+ * Name of the billing contact person.
44
43
  */
45
- last_name: string;
44
+ individual_name: string;
46
45
  /**
47
46
  * Tax ID of the organization.
48
47
  */
@@ -58,35 +57,31 @@ export type BillingCredits = {
58
57
  */
59
58
  id?: string;
60
59
  /**
61
- * Date of the credit application. ISO 8601 date string in the UTC timezone.
62
- */
63
- date_created: string;
64
- /**
65
- * Promotional code used by the customer.
60
+ * Type of the promotional code.
66
61
  */
67
- code: string;
62
+ type: 'credit' | 'discount';
68
63
  /**
69
- * Description of the promotional code.
64
+ * Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
70
65
  */
71
- description?: string;
66
+ date_start: string;
72
67
  /**
73
- * List of product SKUs that the promotional code can be used on.
68
+ * Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
74
69
  */
75
- products?: Array<string>;
70
+ date_end?: string;
76
71
  /**
77
- * Type of the promotional code.
72
+ * Promotional code used by the customer.
78
73
  */
79
- type: 'credit' | 'discount';
74
+ code: string;
80
75
  /**
81
- * Value of the promotional code.
76
+ * Description of the promotional code.
82
77
  */
83
- value: number;
78
+ description?: string;
84
79
  /**
85
- * Date of the billing cycle. An ISO 8601 date string in the UTC timezone.
80
+ * Total value of the promotional code.
86
81
  */
87
- billing_period: string;
82
+ value_total: number;
88
83
  /**
89
- * Value of the promotional code.
84
+ * Remaining value of the promotional code.
90
85
  */
91
86
  value_remaining?: number;
92
87
  };
@@ -169,18 +164,18 @@ export type ClusterCreateInput = {
169
164
  * Name of the cluster.
170
165
  */
171
166
  name: string;
172
- /**
173
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
174
- */
175
- region?: 'staging' | 'northamerica-central-1';
176
167
  /**
177
168
  * Tier of the cluster.
178
169
  */
179
170
  tier: 'basic' | 'pro';
171
+ /**
172
+ * Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
173
+ */
174
+ region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
180
175
  /**
181
176
  * Version of the kubernetes cluster.
182
177
  */
183
- 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';
184
179
  };
185
180
  export type ClusterJoinInformation = {
186
181
  /**
@@ -215,6 +210,10 @@ export type ClusterJoinInformation = {
215
210
  * Containerd version of the cluster.
216
211
  */
217
212
  containerd: string;
213
+ /**
214
+ * NVIDIA driver version of the cluster.
215
+ */
216
+ nvidia_driver: string;
218
217
  };
219
218
  /**
220
219
  * OIDC Information for hosts to access to third party API's.
@@ -239,18 +238,14 @@ export type Cluster = {
239
238
  * Name of the cluster.
240
239
  */
241
240
  name: string;
242
- /**
243
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
244
- */
245
- region?: 'staging' | 'northamerica-central-1';
246
241
  /**
247
242
  * Tier of the cluster.
248
243
  */
249
244
  tier: 'basic' | 'pro';
250
245
  /**
251
- * Version of the kubernetes cluster.
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.
252
247
  */
253
- version_channel?: string;
248
+ region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
254
249
  /**
255
250
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
256
251
  */
@@ -258,7 +253,7 @@ export type Cluster = {
258
253
  /**
259
254
  * Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
260
255
  */
261
- status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
256
+ status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
262
257
  endpoint?: string | '';
263
258
  /**
264
259
  * Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
@@ -280,12 +275,20 @@ export type Cluster = {
280
275
  * Indicates if the cluster is ready to be used.
281
276
  */
282
277
  ready?: boolean;
278
+ /**
279
+ * Version of the kubernetes cluster.
280
+ */
281
+ version_channel?: string;
283
282
  };
284
283
  export type ClusterUpdateInput = {
285
284
  /**
286
285
  * Name of the cluster.
287
286
  */
288
287
  name?: string;
288
+ /**
289
+ * Tier of the cluster.
290
+ */
291
+ tier: 'basic' | 'pro';
289
292
  /**
290
293
  * Version of the kubernetes cluster.
291
294
  */
@@ -419,280 +422,117 @@ export type Invite = {
419
422
  };
420
423
  export type Invoice = {
421
424
  /**
422
- * Unique identifier of the invoice. UUID v4 string in canonical form
425
+ * Unique identifier of the invoice.
423
426
  */
424
427
  id?: string;
425
- /**
426
- * Unique identifier of the organization. UUID v4 string in canonical form
427
- */
428
- organizationId?: string;
428
+ number?: string;
429
429
  /**
430
430
  * Status of the invoice
431
431
  */
432
- status?: 'DRAFT' | 'COMMITTED' | 'VOID';
432
+ status?: string;
433
433
  /**
434
434
  * Total amount of the invoice
435
435
  */
436
- amount?: number;
436
+ total?: number;
437
437
  /**
438
438
  * Currency of the invoice
439
439
  */
440
- 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;
441
441
  /**
442
- * Total amount of credit adjustments
442
+ * Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
443
443
  */
444
- creditAdj?: number;
444
+ created: string;
445
445
  /**
446
- * Total amount of refund adjustments
446
+ * Billing period start timestamp. ISO 8601 date string in the UTC timezone.
447
447
  */
448
- refundAdj?: number;
448
+ period_start: string;
449
449
  /**
450
- * Date of the invoice
450
+ * Billing period end timestamp. ISO 8601 date string in the UTC timezone.
451
451
  */
452
- invoiceDate?: string;
452
+ period_end: string;
453
+ invoice_pdf?: string;
454
+ };
455
+ export type MarketplaceListingFiles = {
453
456
  /**
454
- * Target date of the invoice
457
+ * Raw Chart.yaml content from the Helm chart
455
458
  */
456
- targetDate?: string;
459
+ chartYaml?: string;
457
460
  /**
458
- * Number of the invoice
461
+ * Raw values.yaml content from the Helm chart
459
462
  */
460
- invoiceNumber?: string;
463
+ valuesYaml?: string;
461
464
  /**
462
- * Balance of the invoice
465
+ * JSON schema for values.yaml as a string
463
466
  */
464
- balance?: number;
467
+ valuesSchemaJson?: string;
468
+ };
469
+ export type MarketplaceListing = {
465
470
  /**
466
- * Bundle keys of the invoice
471
+ * Name of the chart
467
472
  */
468
- bundleKeys?: string;
473
+ name: string;
469
474
  /**
470
- * Credits of the invoice
475
+ * Available versions of the chart
471
476
  */
472
- credits?: Array<{
473
- /**
474
- * Unique identifier of the invoice item. UUID v4 string in canonical form
475
- */
476
- id?: string;
477
- /**
478
- * Unique identifier of the linked invoice item. UUID v4 string in canonical form
479
- */
480
- linkedInvoiceItemId?: string;
481
- /**
482
- * Name of the product
483
- */
484
- productName?: string;
485
- /**
486
- * Name of the plan
487
- */
488
- planName?: string;
489
- /**
490
- * Name of the phase
491
- */
492
- phaseName?: string;
493
- /**
494
- * Name of the usage
495
- */
496
- usageName?: string;
497
- /**
498
- * Pretty name of the product
499
- */
500
- prettyProductName?: string;
501
- /**
502
- * Pretty name of the plan
503
- */
504
- prettyPlanName?: string;
505
- /**
506
- * Pretty name of the phase
507
- */
508
- prettyPhaseName?: string;
509
- /**
510
- * Pretty name of the usage
511
- */
512
- prettyUsageName?: string;
513
- /**
514
- * Type of the invoice item
515
- */
516
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
517
- /**
518
- * Description of the invoice item
519
- */
520
- description?: string;
521
- /**
522
- * Start date of the invoice item
523
- */
524
- startDate?: string;
525
- /**
526
- * End date of the invoice item
527
- */
528
- endDate?: string;
529
- /**
530
- * Amount of the invoice item
531
- */
532
- amount?: number;
533
- /**
534
- * Rate of the invoice item
535
- */
536
- rate?: number;
537
- /**
538
- * Currency of the invoice item
539
- */
540
- currency?: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SPL' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TVD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWD' | 'BTC';
541
- /**
542
- * Quantity of the invoice item
543
- */
544
- quantity?: number;
545
- /**
546
- * Details of the invoice item
547
- */
548
- itemDetails?: string;
549
- /**
550
- * Effective date of the catalog
551
- */
552
- catalogEffectiveDate?: string;
553
- /**
554
- * Child items of the invoice item
555
- */
556
- childItems?: Array<Array<unknown> | boolean | number | {
557
- [key: string]: unknown;
558
- } | string>;
559
- }>;
477
+ versions: Array<string>;
560
478
  /**
561
- * Items of the invoice
479
+ * Version channels for the chart
562
480
  */
563
- items?: Array<{
564
- /**
565
- * Unique identifier of the invoice item. UUID v4 string in canonical form
566
- */
567
- id?: string;
568
- /**
569
- * Unique identifier of the linked invoice item. UUID v4 string in canonical form
570
- */
571
- linkedInvoiceItemId?: string;
572
- /**
573
- * Name of the product
574
- */
575
- productName?: string;
576
- /**
577
- * Name of the plan
578
- */
579
- planName?: string;
580
- /**
581
- * Name of the phase
582
- */
583
- phaseName?: string;
584
- /**
585
- * Name of the usage
586
- */
587
- usageName?: string;
588
- /**
589
- * Pretty name of the product
590
- */
591
- prettyProductName?: string;
592
- /**
593
- * Pretty name of the plan
594
- */
595
- prettyPlanName?: string;
596
- /**
597
- * Pretty name of the phase
598
- */
599
- prettyPhaseName?: string;
481
+ version_channels: Array<string>;
482
+ /**
483
+ * Latest version of the chart
484
+ */
485
+ latestVersion: string;
486
+ /**
487
+ * Chart metadata
488
+ */
489
+ metadata?: {
600
490
  /**
601
- * Pretty name of the usage
491
+ * Chart name from metadata
602
492
  */
603
- prettyUsageName?: string;
493
+ name: string;
604
494
  /**
605
- * Type of the invoice item
495
+ * Chart version from metadata
606
496
  */
607
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
497
+ version: string;
608
498
  /**
609
- * Description of the invoice item
499
+ * Chart description
610
500
  */
611
501
  description?: string;
612
502
  /**
613
- * Start date of the invoice item
614
- */
615
- startDate?: string;
616
- /**
617
- * End date of the invoice item
503
+ * Application version
618
504
  */
619
- endDate?: string;
505
+ appVersion?: string;
620
506
  /**
621
- * Amount of the invoice item
507
+ * Helm API version
622
508
  */
623
- amount?: number;
509
+ apiVersion?: string;
624
510
  /**
625
- * Rate of the invoice item
511
+ * Chart keywords
626
512
  */
627
- rate?: number;
513
+ keywords?: Array<string>;
628
514
  /**
629
- * Currency of the invoice item
515
+ * Chart home URL
630
516
  */
631
- 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';
517
+ home?: string;
632
518
  /**
633
- * Quantity of the invoice item
519
+ * Chart source URLs
634
520
  */
635
- quantity?: number;
521
+ sources?: Array<string>;
636
522
  /**
637
- * Details of the invoice item
523
+ * Chart maintainers
638
524
  */
639
- itemDetails?: string;
640
- /**
641
- * Effective date of the catalog
642
- */
643
- catalogEffectiveDate?: string;
644
- /**
645
- * Child items of the invoice item
646
- */
647
- childItems?: Array<Array<unknown> | boolean | number | {
648
- [key: string]: unknown;
649
- } | string>;
650
- }>;
651
- };
652
- export type MarketplaceListing = {
653
- /**
654
- * Id of the chart listing
655
- */
656
- id: string;
657
- /**
658
- * Name of the chart listing
659
- */
660
- name: string;
661
- /**
662
- * Author of the chart listing
663
- */
664
- developer: string;
665
- /**
666
- * Short description of the chart listing
667
- */
668
- description: string;
669
- /**
670
- * Logo of the chart listing
671
- */
672
- logoUrl: string;
673
- /**
674
- * Long description of the chart listing
675
- */
676
- longDescription: string;
677
- /**
678
- * Tags of the chart
679
- */
680
- categories: Array<string>;
681
- version_channels: Array<string>;
682
- value_schemas: Array<{
683
- /**
684
- * Version of the chart.
685
- */
686
- version: string;
687
- /**
688
- * Schema of the chart values. JSON Schema as string
689
- */
690
- schema: string;
691
- /**
692
- * Schema of the chart values
693
- */
694
- placeholder: string;
695
- }>;
525
+ maintainers?: Array<{
526
+ /**
527
+ * Maintainer name
528
+ */
529
+ name: string;
530
+ /**
531
+ * Maintainer email
532
+ */
533
+ email?: string;
534
+ }>;
535
+ };
696
536
  };
697
537
  export type OrganizationCreateInput = {
698
538
  /**
@@ -774,6 +614,14 @@ export type Organization = {
774
614
  */
775
615
  label: string;
776
616
  }>;
617
+ /**
618
+ * User-level maximum number of tokens Cloudfleet Copilot can process per hour.
619
+ */
620
+ copilot_user_hourly_tokens: number;
621
+ /**
622
+ * Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.
623
+ */
624
+ copilot_organization_hourly_tokens: number;
777
625
  };
778
626
  /**
779
627
  * Status of the organization. Can be `active` or `closed`, or `suspended`.
@@ -810,6 +658,172 @@ export type PaymentMethod = {
810
658
  */
811
659
  brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
812
660
  };
661
+ export type PlatformQuota = {
662
+ /**
663
+ * Maximum number of Basic clusters that can be created.
664
+ */
665
+ basic_clusters_max: number;
666
+ /**
667
+ * Available number of Basic clusters that can be created.
668
+ */
669
+ basic_clusters_available: number;
670
+ /**
671
+ * Maximum number of Pro clusters that can be created.
672
+ */
673
+ pro_clusters_max: number;
674
+ /**
675
+ * Available number of Pro clusters that can be created.
676
+ */
677
+ pro_clusters_available: number;
678
+ /**
679
+ * Maximum number of fleets that can be created per cluster.
680
+ */
681
+ fleets_max: number;
682
+ /**
683
+ * List of Cloudfleet cluster tiers available for the organization.
684
+ */
685
+ cluster_tiers: Array<string>;
686
+ /**
687
+ * List of Cloudfleet control plane regions available for the organization.
688
+ */
689
+ regions: Array<string>;
690
+ /**
691
+ * List of CFKE control plane versions available for the organization.
692
+ */
693
+ versions: Array<{
694
+ /**
695
+ * Id of the control plane version. Used in API calls.
696
+ */
697
+ id: string;
698
+ /**
699
+ * Label of the control plane version. Used in frontent UI.
700
+ */
701
+ label: string;
702
+ }>;
703
+ /**
704
+ * User-level maximum number of tokens Cloudfleet Copilot can process per hour.
705
+ */
706
+ copilot_user_hourly_tokens: number;
707
+ /**
708
+ * Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.
709
+ */
710
+ copilot_organization_hourly_tokens: number;
711
+ };
712
+ export type RegistryRepository = {
713
+ /**
714
+ * Repository name.
715
+ */
716
+ name: string;
717
+ /**
718
+ * Registry region.
719
+ */
720
+ region: string;
721
+ /**
722
+ * Full URI of the repository.
723
+ */
724
+ uri: string;
725
+ };
726
+ export type RegistryRepositoryWithTags = {
727
+ /**
728
+ * Repository name.
729
+ */
730
+ name: string;
731
+ /**
732
+ * Registry region.
733
+ */
734
+ region: string;
735
+ /**
736
+ * Full URI of the repository.
737
+ */
738
+ uri: string;
739
+ /**
740
+ * Array of tags in the repository.
741
+ */
742
+ tags: Array<{
743
+ /**
744
+ * Tag name.
745
+ */
746
+ name: string;
747
+ /**
748
+ * Size of the tag in bytes.
749
+ */
750
+ size: number;
751
+ /**
752
+ * Media type of the manifest.
753
+ */
754
+ mediaType?: string;
755
+ }>;
756
+ /**
757
+ * Total size of all tags in the repository in bytes.
758
+ */
759
+ totalSize: number;
760
+ };
761
+ export type RegistryTag = {
762
+ /**
763
+ * Tag name.
764
+ */
765
+ name: string;
766
+ /**
767
+ * Media type of the manifest.
768
+ */
769
+ mediaType?: string;
770
+ /**
771
+ * Manifest config metadata.
772
+ */
773
+ config?: {
774
+ /**
775
+ * Size of the config in bytes.
776
+ */
777
+ size: number;
778
+ };
779
+ /**
780
+ * Array of layer metadata.
781
+ */
782
+ layers?: Array<{
783
+ /**
784
+ * Size of the layer in bytes.
785
+ */
786
+ size: number;
787
+ }>;
788
+ /**
789
+ * Array of manifests for multi-arch images.
790
+ */
791
+ manifests?: Array<{
792
+ /**
793
+ * Digest of the manifest.
794
+ */
795
+ digest: string;
796
+ /**
797
+ * Platform information for the manifest.
798
+ */
799
+ platform?: {
800
+ /**
801
+ * Architecture of the platform.
802
+ */
803
+ architecture: string;
804
+ /**
805
+ * Operating system of the platform.
806
+ */
807
+ os: string;
808
+ };
809
+ }>;
810
+ /**
811
+ * Total size of the tag in bytes.
812
+ */
813
+ size: number;
814
+ /**
815
+ * Registry region.
816
+ */
817
+ region: string;
818
+ /**
819
+ * Repository name.
820
+ */
821
+ repository: string;
822
+ /**
823
+ * Full URI of the tag.
824
+ */
825
+ uri: string;
826
+ };
813
827
  export type TokenCreateInput = {
814
828
  /**
815
829
  * Human readable access token name.
@@ -852,35 +866,85 @@ export type TokenUpdateInput = {
852
866
  */
853
867
  role?: 'Administrator' | 'User';
854
868
  };
869
+ export type UsageFacets = {
870
+ /**
871
+ * List of unique cluster IDs
872
+ */
873
+ cluster_id?: Array<string>;
874
+ /**
875
+ * List of unique products
876
+ */
877
+ product?: Array<string>;
878
+ };
879
+ export type UsageResponse = {
880
+ /**
881
+ * Usage data
882
+ */
883
+ data: Array<{
884
+ /**
885
+ * Hour of the usage
886
+ */
887
+ hour: string;
888
+ /**
889
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
890
+ */
891
+ cluster_id: string;
892
+ /**
893
+ * The product the usage is associated with
894
+ */
895
+ product: string;
896
+ /**
897
+ * Consumption
898
+ */
899
+ value: number;
900
+ /**
901
+ * Price per unit
902
+ */
903
+ price: number;
904
+ /**
905
+ * Total cost
906
+ */
907
+ total: number;
908
+ }>;
909
+ /**
910
+ * Facets for filtering
911
+ */
912
+ facets: {
913
+ /**
914
+ * List of unique cluster IDs
915
+ */
916
+ cluster_id?: Array<string>;
917
+ /**
918
+ * List of unique products
919
+ */
920
+ product?: Array<string>;
921
+ };
922
+ };
855
923
  export type Usage = {
856
924
  /**
857
925
  * Hour of the usage
858
926
  */
859
- hour?: string;
927
+ hour: string;
860
928
  /**
861
929
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
862
930
  */
863
931
  cluster_id: string;
864
932
  /**
865
- * Tier of the cluster.
933
+ * The product the usage is associated with
866
934
  */
867
- cluster_tier: 'basic' | 'pro' | '';
935
+ product: string;
868
936
  /**
869
- * The product the usage is associated with
937
+ * Consumption
870
938
  */
871
- product: 'cfke_controlplane' | 'cfke_connected_nodes' | 'infra_compute' | 'infra_storage' | 'infra_loadbalancing' | 'infra_traffic' | 'cfcr_storage';
939
+ value: number;
872
940
  /**
873
- * Name of the Kubernetes node
941
+ * Price per unit
874
942
  */
875
- node_name: string;
943
+ price: number;
876
944
  /**
877
- * SKU of the Kubernetes node
945
+ * Total cost
878
946
  */
879
- sku: string;
880
- cpu: number | '';
881
- price: number | '';
882
- value: number | '';
883
- total: number | '';
947
+ total: number;
884
948
  };
885
949
  export type UserCreateInput = {
886
950
  /**
@@ -967,7 +1031,12 @@ export type UserUpdateInput = {
967
1031
  export type GetUsageData = {
968
1032
  body?: never;
969
1033
  path?: never;
970
- query?: never;
1034
+ query?: {
1035
+ /**
1036
+ * 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)
1037
+ */
1038
+ granularity?: 'hourly' | 'daily' | 'monthly';
1039
+ };
971
1040
  url: '/billing/usage';
972
1041
  };
973
1042
  export type GetUsageErrors = {
@@ -978,24 +1047,11 @@ export type GetUsageErrors = {
978
1047
  };
979
1048
  export type GetUsageResponses = {
980
1049
  /**
981
- * An array of usage records.
1050
+ * Usage data with facets for filtering
982
1051
  */
983
- 200: Array<Usage>;
1052
+ 200: UsageResponse;
984
1053
  };
985
1054
  export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
986
- export type GetBalanceData = {
987
- body?: never;
988
- path?: never;
989
- query?: never;
990
- url: '/billing/balance';
991
- };
992
- export type GetBalanceResponses = {
993
- /**
994
- * Current balance of the organization in USD as a floating-point number.
995
- */
996
- 200: number;
997
- };
998
- export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
999
1055
  export type GetPaymentMethodData = {
1000
1056
  body?: never;
1001
1057
  path?: never;
@@ -1037,16 +1093,7 @@ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[key
1037
1093
  export type ListInvoicesData = {
1038
1094
  body?: never;
1039
1095
  path?: never;
1040
- query: {
1041
- /**
1042
- * Start date for the usage. Date of oldest data point to retrieve.
1043
- */
1044
- start_date: string;
1045
- /**
1046
- * End date for the usage. Date of newest data point to retrieve.
1047
- */
1048
- end_date: string;
1049
- };
1096
+ query?: never;
1050
1097
  url: '/billing/invoices';
1051
1098
  };
1052
1099
  export type ListInvoicesErrors = {
@@ -1062,26 +1109,6 @@ export type ListInvoicesResponses = {
1062
1109
  200: Array<Invoice>;
1063
1110
  };
1064
1111
  export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1065
- export type GetInvoiceData = {
1066
- body?: never;
1067
- path: {
1068
- /**
1069
- * Unique invoice identifier. UUID v4 string in canonical form
1070
- */
1071
- id: string;
1072
- };
1073
- query?: never;
1074
- url: '/billing/invoices/{id}';
1075
- };
1076
- export type GetInvoiceResponses = {
1077
- /**
1078
- * Returns a single Invoice HTML representation under `html` property.
1079
- */
1080
- 200: {
1081
- html?: string;
1082
- };
1083
- };
1084
- export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
1085
1112
  export type GetContactData = {
1086
1113
  body?: never;
1087
1114
  path?: never;
@@ -1517,7 +1544,7 @@ export type GetJoinInformationResponses = {
1517
1544
  /**
1518
1545
  * An object of cluster join information
1519
1546
  */
1520
- 200: Cluster;
1547
+ 200: ClusterJoinInformation;
1521
1548
  };
1522
1549
  export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
1523
1550
  export type ListInvitesData = {
@@ -1611,24 +1638,76 @@ export type ListMarketplaceChartsResponses = {
1611
1638
  200: Array<MarketplaceListing>;
1612
1639
  };
1613
1640
  export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
1614
- export type GetMarketplaceChartData = {
1641
+ export type GetMarketplaceChartFilesData = {
1615
1642
  body?: never;
1616
1643
  path: {
1617
1644
  /**
1618
- * Unique identifier of the chart listing in the marketplace.
1645
+ * Name of the chart in the marketplace.
1619
1646
  */
1620
- listing_id: string;
1647
+ chart_name: string;
1648
+ /**
1649
+ * 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).
1650
+ */
1651
+ version_channel: string;
1621
1652
  };
1622
1653
  query?: never;
1623
- url: '/marketplace/{listing_id}';
1654
+ url: '/marketplace/{chart_name}/files/{version_channel}';
1655
+ };
1656
+ export type GetMarketplaceChartFilesErrors = {
1657
+ /**
1658
+ * Chart not found or no version matches the channel
1659
+ */
1660
+ 404: unknown;
1624
1661
  };
1625
- export type GetMarketplaceChartResponses = {
1662
+ export type GetMarketplaceChartFilesResponses = {
1626
1663
  /**
1627
- * Returns an object containing the chart listing details.
1664
+ * Returns an object containing the chart files for the latest matching version.
1628
1665
  */
1629
- 200: MarketplaceListing;
1666
+ 200: MarketplaceListingFiles;
1630
1667
  };
1631
- export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
1668
+ export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
1669
+ export type PostMcpData = {
1670
+ /**
1671
+ * JSON-RPC 2.0 request payload
1672
+ */
1673
+ body: {
1674
+ jsonrpc?: string;
1675
+ method?: string;
1676
+ id?: string | number;
1677
+ /**
1678
+ * Method-specific parameters
1679
+ */
1680
+ params?: {
1681
+ [key: string]: unknown;
1682
+ };
1683
+ };
1684
+ path?: never;
1685
+ query?: never;
1686
+ url: '/mcp';
1687
+ };
1688
+ export type PostMcpErrors = {
1689
+ /**
1690
+ * Not authenticated
1691
+ */
1692
+ 401: unknown;
1693
+ };
1694
+ export type PostMcpResponses = {
1695
+ /**
1696
+ * JSON-RPC 2.0 success or error response
1697
+ */
1698
+ 200: {
1699
+ jsonrpc?: string;
1700
+ id?: string | number;
1701
+ result?: {
1702
+ [key: string]: unknown;
1703
+ };
1704
+ error?: {
1705
+ code?: number;
1706
+ message?: string;
1707
+ };
1708
+ };
1709
+ };
1710
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
1632
1711
  export type GetOrganizationData = {
1633
1712
  body?: never;
1634
1713
  path?: never;
@@ -1654,6 +1733,144 @@ export type CreateOrganizationResponses = {
1654
1733
  */
1655
1734
  200: unknown;
1656
1735
  };
1736
+ export type ListRepositoriesData = {
1737
+ body?: never;
1738
+ path?: never;
1739
+ query?: never;
1740
+ url: '/registry';
1741
+ };
1742
+ export type ListRepositoriesErrors = {
1743
+ /**
1744
+ * Not authenticated
1745
+ */
1746
+ 401: unknown;
1747
+ /**
1748
+ * Internal server error
1749
+ */
1750
+ 500: unknown;
1751
+ };
1752
+ export type ListRepositoriesResponses = {
1753
+ /**
1754
+ * List of repositories
1755
+ */
1756
+ 200: Array<RegistryRepository>;
1757
+ };
1758
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
1759
+ export type ListTagsData = {
1760
+ body?: never;
1761
+ path: {
1762
+ /**
1763
+ * Region where the repository is located
1764
+ */
1765
+ region: string;
1766
+ /**
1767
+ * Name of the repository
1768
+ */
1769
+ repository: string;
1770
+ };
1771
+ query?: never;
1772
+ url: '/registry/{region}/{repository}';
1773
+ };
1774
+ export type ListTagsErrors = {
1775
+ /**
1776
+ * Not authenticated
1777
+ */
1778
+ 401: unknown;
1779
+ /**
1780
+ * Repository not found
1781
+ */
1782
+ 404: unknown;
1783
+ /**
1784
+ * Internal server error
1785
+ */
1786
+ 500: unknown;
1787
+ };
1788
+ export type ListTagsResponses = {
1789
+ /**
1790
+ * Repository with tags
1791
+ */
1792
+ 200: RegistryRepositoryWithTags;
1793
+ };
1794
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
1795
+ export type DeleteTagData = {
1796
+ body?: never;
1797
+ path: {
1798
+ /**
1799
+ * Region where the repository is located
1800
+ */
1801
+ region: string;
1802
+ /**
1803
+ * Name of the repository
1804
+ */
1805
+ repository: string;
1806
+ /**
1807
+ * Name of the tag
1808
+ */
1809
+ tag: string;
1810
+ };
1811
+ query?: never;
1812
+ url: '/registry/{region}/{repository}/{tag}';
1813
+ };
1814
+ export type DeleteTagErrors = {
1815
+ /**
1816
+ * Not authenticated
1817
+ */
1818
+ 401: unknown;
1819
+ /**
1820
+ * Tag not found
1821
+ */
1822
+ 404: unknown;
1823
+ /**
1824
+ * Internal server error
1825
+ */
1826
+ 500: unknown;
1827
+ };
1828
+ export type DeleteTagResponses = {
1829
+ /**
1830
+ * Tag successfully deleted
1831
+ */
1832
+ 200: unknown;
1833
+ };
1834
+ export type GetTagData = {
1835
+ body?: never;
1836
+ path: {
1837
+ /**
1838
+ * Region where the repository is located
1839
+ */
1840
+ region: string;
1841
+ /**
1842
+ * Name of the repository
1843
+ */
1844
+ repository: string;
1845
+ /**
1846
+ * Name of the tag
1847
+ */
1848
+ tag: string;
1849
+ };
1850
+ query?: never;
1851
+ url: '/registry/{region}/{repository}/{tag}';
1852
+ };
1853
+ export type GetTagErrors = {
1854
+ /**
1855
+ * Not authenticated
1856
+ */
1857
+ 401: unknown;
1858
+ /**
1859
+ * Tag not found
1860
+ */
1861
+ 404: unknown;
1862
+ /**
1863
+ * Internal server error
1864
+ */
1865
+ 500: unknown;
1866
+ };
1867
+ export type GetTagResponses = {
1868
+ /**
1869
+ * Tag details
1870
+ */
1871
+ 200: RegistryTag;
1872
+ };
1873
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
1657
1874
  export type ListTokensData = {
1658
1875
  body?: never;
1659
1876
  path?: never;
@@ -1910,7 +2127,4 @@ export type UpdateUserResponses = {
1910
2127
  200: User;
1911
2128
  };
1912
2129
  export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1913
- export type ClientOptions = {
1914
- baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
1915
- };
1916
2130
  //# sourceMappingURL=types.gen.d.ts.map