@cloudfleet/sdk 0.0.1-a92e617 → 0.0.1-a9e2e9a

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 (86) 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.js → client.gen.js} +86 -25
  4. package/dist/client/client.gen.js.map +1 -0
  5. package/dist/client/index.d.ts +8 -7
  6. package/dist/client/index.d.ts.map +1 -1
  7. package/dist/client/index.js +6 -4
  8. package/dist/client/index.js.map +1 -1
  9. package/dist/client/{types.d.ts → types.gen.d.ts} +19 -14
  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.d.ts → utils.gen.d.ts} +9 -21
  14. package/dist/client/utils.gen.d.ts.map +1 -0
  15. package/dist/client/{utils.js → utils.gen.js} +56 -110
  16. package/dist/client/utils.gen.js.map +1 -0
  17. package/dist/client.gen.d.ts +3 -3
  18. package/dist/client.gen.d.ts.map +1 -1
  19. package/dist/client.gen.js.map +1 -1
  20. package/dist/core/{auth.d.ts → auth.gen.d.ts} +1 -1
  21. package/dist/core/auth.gen.d.ts.map +1 -0
  22. package/dist/core/{auth.js → auth.gen.js} +2 -1
  23. package/dist/core/auth.gen.js.map +1 -0
  24. package/dist/core/{bodySerializer.d.ts → bodySerializer.gen.d.ts} +2 -2
  25. package/dist/core/bodySerializer.gen.d.ts.map +1 -0
  26. package/dist/core/{bodySerializer.js → bodySerializer.gen.js} +5 -1
  27. package/dist/core/bodySerializer.gen.js.map +1 -0
  28. package/dist/core/{params.d.ts → params.gen.d.ts} +11 -1
  29. package/dist/core/params.gen.d.ts.map +1 -0
  30. package/dist/core/{params.js → params.gen.js} +2 -1
  31. package/dist/core/params.gen.js.map +1 -0
  32. package/dist/core/{pathSerializer.d.ts → pathSerializer.gen.d.ts} +1 -1
  33. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  34. package/dist/core/{pathSerializer.js → pathSerializer.gen.js} +2 -1
  35. package/dist/core/pathSerializer.gen.js.map +1 -0
  36. package/dist/core/queryKeySerializer.gen.d.ts +19 -0
  37. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
  38. package/dist/core/queryKeySerializer.gen.js +100 -0
  39. package/dist/core/queryKeySerializer.gen.js.map +1 -0
  40. package/dist/core/serverSentEvents.gen.d.ts +72 -0
  41. package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
  42. package/dist/core/serverSentEvents.gen.js +136 -0
  43. package/dist/core/serverSentEvents.gen.js.map +1 -0
  44. package/dist/core/{types.d.ts → types.gen.d.ts} +20 -15
  45. package/dist/core/types.gen.d.ts.map +1 -0
  46. package/dist/core/types.gen.js +3 -0
  47. package/dist/core/types.gen.js.map +1 -0
  48. package/dist/core/utils.gen.d.ts +20 -0
  49. package/dist/core/utils.gen.d.ts.map +1 -0
  50. package/dist/core/utils.gen.js +88 -0
  51. package/dist/core/utils.gen.js.map +1 -0
  52. package/dist/schemas.gen.d.ts +555 -474
  53. package/dist/schemas.gen.d.ts.map +1 -1
  54. package/dist/schemas.gen.js +572 -510
  55. package/dist/schemas.gen.js.map +1 -1
  56. package/dist/sdk.gen.d.ts +90 -20
  57. package/dist/sdk.gen.d.ts.map +1 -1
  58. package/dist/sdk.gen.js +162 -73
  59. package/dist/sdk.gen.js.map +1 -1
  60. package/dist/services/kubernetes/api.d.ts +12 -12
  61. package/dist/types.gen.d.ts +539 -329
  62. package/dist/types.gen.d.ts.map +1 -1
  63. package/dist/zod.gen.d.ts +1404 -3295
  64. package/dist/zod.gen.d.ts.map +1 -1
  65. package/dist/zod.gen.js +414 -893
  66. package/dist/zod.gen.js.map +1 -1
  67. package/package.json +4 -4
  68. package/dist/client/client.d.ts +0 -3
  69. package/dist/client/client.d.ts.map +0 -1
  70. package/dist/client/client.js.map +0 -1
  71. package/dist/client/types.d.ts.map +0 -1
  72. package/dist/client/types.js +0 -2
  73. package/dist/client/types.js.map +0 -1
  74. package/dist/client/utils.d.ts.map +0 -1
  75. package/dist/client/utils.js.map +0 -1
  76. package/dist/core/auth.d.ts.map +0 -1
  77. package/dist/core/auth.js.map +0 -1
  78. package/dist/core/bodySerializer.d.ts.map +0 -1
  79. package/dist/core/bodySerializer.js.map +0 -1
  80. package/dist/core/params.d.ts.map +0 -1
  81. package/dist/core/params.js.map +0 -1
  82. package/dist/core/pathSerializer.d.ts.map +0 -1
  83. package/dist/core/pathSerializer.js.map +0 -1
  84. package/dist/core/types.d.ts.map +0 -1
  85. package/dist/core/types.js +0 -2
  86. package/dist/core/types.js.map +0 -1
@@ -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
  };
@@ -174,13 +169,13 @@ export type ClusterCreateInput = {
174
169
  */
175
170
  tier: 'basic' | 'pro';
176
171
  /**
177
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.
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.
178
173
  */
179
- region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
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.
@@ -244,13 +243,9 @@ export type Cluster = {
244
243
  */
245
244
  tier: 'basic' | 'pro';
246
245
  /**
247
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.
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.
248
247
  */
249
- region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
250
- /**
251
- * Version of the kubernetes cluster.
252
- */
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,6 +275,10 @@ 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
  /**
@@ -426,277 +425,114 @@ export type Invoice = {
426
425
  * Unique identifier of the invoice. UUID v4 string in canonical form
427
426
  */
428
427
  id?: string;
429
- /**
430
- * Unique identifier of the organization. UUID v4 string in canonical form
431
- */
432
- organizationId?: string;
428
+ number?: string;
433
429
  /**
434
430
  * Status of the invoice
435
431
  */
436
- status?: 'DRAFT' | 'COMMITTED' | 'VOID';
432
+ status?: string;
437
433
  /**
438
434
  * Total amount of the invoice
439
435
  */
440
- amount?: number;
436
+ total?: number;
441
437
  /**
442
438
  * Currency of the invoice
443
439
  */
444
- 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;
445
441
  /**
446
- * Total amount of credit adjustments
442
+ * Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
447
443
  */
448
- creditAdj?: number;
444
+ created: string;
449
445
  /**
450
- * Total amount of refund adjustments
446
+ * Billing period start timestamp. ISO 8601 date string in the UTC timezone.
451
447
  */
452
- refundAdj?: number;
448
+ period_start: string;
453
449
  /**
454
- * Date of the invoice
450
+ * Billing period end timestamp. ISO 8601 date string in the UTC timezone.
455
451
  */
456
- invoiceDate?: string;
452
+ period_end: string;
453
+ invoice_pdf?: string;
454
+ };
455
+ export type MarketplaceListingFiles = {
457
456
  /**
458
- * Target date of the invoice
457
+ * Raw Chart.yaml content from the Helm chart
459
458
  */
460
- targetDate?: string;
459
+ chartYaml?: string;
461
460
  /**
462
- * Number of the invoice
461
+ * Raw values.yaml content from the Helm chart
463
462
  */
464
- invoiceNumber?: string;
463
+ valuesYaml?: string;
465
464
  /**
466
- * Balance of the invoice
465
+ * JSON schema for values.yaml as a string
467
466
  */
468
- balance?: number;
467
+ valuesSchemaJson?: string;
468
+ };
469
+ export type MarketplaceListing = {
469
470
  /**
470
- * Bundle keys of the invoice
471
+ * Name of the chart
471
472
  */
472
- bundleKeys?: string;
473
+ name: string;
473
474
  /**
474
- * Credits of the invoice
475
+ * Available versions of the chart
475
476
  */
476
- credits?: Array<{
477
- /**
478
- * Unique identifier of the invoice item. UUID v4 string in canonical form
479
- */
480
- id?: string;
481
- /**
482
- * Unique identifier of the linked invoice item. UUID v4 string in canonical form
483
- */
484
- linkedInvoiceItemId?: string;
485
- /**
486
- * Name of the product
487
- */
488
- productName?: string;
489
- /**
490
- * Name of the plan
491
- */
492
- planName?: string;
493
- /**
494
- * Name of the phase
495
- */
496
- phaseName?: string;
497
- /**
498
- * Name of the usage
499
- */
500
- usageName?: string;
501
- /**
502
- * Pretty name of the product
503
- */
504
- prettyProductName?: string;
505
- /**
506
- * Pretty name of the plan
507
- */
508
- prettyPlanName?: string;
509
- /**
510
- * Pretty name of the phase
511
- */
512
- prettyPhaseName?: string;
513
- /**
514
- * Pretty name of the usage
515
- */
516
- prettyUsageName?: string;
517
- /**
518
- * Type of the invoice item
519
- */
520
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
521
- /**
522
- * Description of the invoice item
523
- */
524
- description?: string;
525
- /**
526
- * Start date of the invoice item
527
- */
528
- startDate?: string;
529
- /**
530
- * End date of the invoice item
531
- */
532
- endDate?: string;
533
- /**
534
- * Amount of the invoice item
535
- */
536
- amount?: number;
537
- /**
538
- * Rate of the invoice item
539
- */
540
- rate?: number;
541
- /**
542
- * Currency of the invoice item
543
- */
544
- 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';
545
- /**
546
- * Quantity of the invoice item
547
- */
548
- quantity?: number;
549
- /**
550
- * Details of the invoice item
551
- */
552
- itemDetails?: string;
553
- /**
554
- * Effective date of the catalog
555
- */
556
- catalogEffectiveDate?: string;
557
- /**
558
- * Child items of the invoice item
559
- */
560
- childItems?: Array<Array<unknown> | boolean | number | {
561
- [key: string]: unknown;
562
- } | string>;
563
- }>;
477
+ versions: Array<string>;
564
478
  /**
565
- * Items of the invoice
479
+ * Version channels for the chart
566
480
  */
567
- items?: Array<{
568
- /**
569
- * Unique identifier of the invoice item. UUID v4 string in canonical form
570
- */
571
- id?: string;
572
- /**
573
- * Unique identifier of the linked invoice item. UUID v4 string in canonical form
574
- */
575
- linkedInvoiceItemId?: string;
576
- /**
577
- * Name of the product
578
- */
579
- productName?: string;
580
- /**
581
- * Name of the plan
582
- */
583
- planName?: string;
584
- /**
585
- * Name of the phase
586
- */
587
- phaseName?: string;
588
- /**
589
- * Name of the usage
590
- */
591
- usageName?: string;
592
- /**
593
- * Pretty name of the product
594
- */
595
- prettyProductName?: string;
596
- /**
597
- * Pretty name of the plan
598
- */
599
- prettyPlanName?: string;
600
- /**
601
- * Pretty name of the phase
602
- */
603
- 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?: {
604
490
  /**
605
- * Pretty name of the usage
491
+ * Chart name from metadata
606
492
  */
607
- prettyUsageName?: string;
493
+ name: string;
608
494
  /**
609
- * Type of the invoice item
495
+ * Chart version from metadata
610
496
  */
611
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
497
+ version: string;
612
498
  /**
613
- * Description of the invoice item
499
+ * Chart description
614
500
  */
615
501
  description?: string;
616
502
  /**
617
- * Start date of the invoice item
618
- */
619
- startDate?: string;
620
- /**
621
- * End date of the invoice item
503
+ * Application version
622
504
  */
623
- endDate?: string;
505
+ appVersion?: string;
624
506
  /**
625
- * Amount of the invoice item
507
+ * Helm API version
626
508
  */
627
- amount?: number;
509
+ apiVersion?: string;
628
510
  /**
629
- * Rate of the invoice item
511
+ * Chart keywords
630
512
  */
631
- rate?: number;
632
- /**
633
- * Currency of the invoice item
634
- */
635
- 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';
636
- /**
637
- * Quantity of the invoice item
638
- */
639
- quantity?: number;
640
- /**
641
- * Details of the invoice item
642
- */
643
- itemDetails?: string;
644
- /**
645
- * Effective date of the catalog
646
- */
647
- catalogEffectiveDate?: string;
648
- /**
649
- * Child items of the invoice item
650
- */
651
- childItems?: Array<Array<unknown> | boolean | number | {
652
- [key: string]: unknown;
653
- } | string>;
654
- }>;
655
- };
656
- export type MarketplaceListing = {
657
- /**
658
- * Id of the chart listing
659
- */
660
- id: string;
661
- /**
662
- * Name of the chart listing
663
- */
664
- name: string;
665
- /**
666
- * Author of the chart listing
667
- */
668
- developer: string;
669
- /**
670
- * Short description of the chart listing
671
- */
672
- description: string;
673
- /**
674
- * Logo of the chart listing
675
- */
676
- logoUrl: string;
677
- /**
678
- * Long description of the chart listing
679
- */
680
- longDescription: string;
681
- /**
682
- * Tags of the chart
683
- */
684
- categories: Array<string>;
685
- version_channels: Array<string>;
686
- value_schemas: Array<{
513
+ keywords?: Array<string>;
687
514
  /**
688
- * Version of the chart.
515
+ * Chart home URL
689
516
  */
690
- version: string;
517
+ home?: string;
691
518
  /**
692
- * Schema of the chart values. JSON Schema as string
519
+ * Chart source URLs
693
520
  */
694
- schema: string;
521
+ sources?: Array<string>;
695
522
  /**
696
- * Schema of the chart values
523
+ * Chart maintainers
697
524
  */
698
- placeholder: string;
699
- }>;
525
+ maintainers?: Array<{
526
+ /**
527
+ * Maintainer name
528
+ */
529
+ name: string;
530
+ /**
531
+ * Maintainer email
532
+ */
533
+ email?: string;
534
+ }>;
535
+ };
700
536
  };
701
537
  export type OrganizationCreateInput = {
702
538
  /**
@@ -778,6 +614,14 @@ export type Organization = {
778
614
  */
779
615
  label: string;
780
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;
781
625
  };
782
626
  /**
783
627
  * Status of the organization. Can be `active` or `closed`, or `suspended`.
@@ -814,6 +658,172 @@ export type PaymentMethod = {
814
658
  */
815
659
  brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
816
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
+ };
817
827
  export type TokenCreateInput = {
818
828
  /**
819
829
  * Human readable access token name.
@@ -856,35 +866,85 @@ export type TokenUpdateInput = {
856
866
  */
857
867
  role?: 'Administrator' | 'User';
858
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
+ };
859
923
  export type Usage = {
860
924
  /**
861
925
  * Hour of the usage
862
926
  */
863
- hour?: string;
927
+ hour: string;
864
928
  /**
865
929
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
866
930
  */
867
931
  cluster_id: string;
868
932
  /**
869
- * Tier of the cluster.
933
+ * The product the usage is associated with
870
934
  */
871
- cluster_tier: 'basic' | 'pro' | '';
935
+ product: string;
872
936
  /**
873
- * The product the usage is associated with
937
+ * Consumption
874
938
  */
875
- product: 'cfke_controlplane' | 'cfke_connected_nodes' | 'infra_compute' | 'infra_storage' | 'infra_loadbalancing' | 'infra_traffic' | 'cfcr_storage';
939
+ value: number;
876
940
  /**
877
- * Name of the Kubernetes node
941
+ * Price per unit
878
942
  */
879
- node_name: string;
943
+ price: number;
880
944
  /**
881
- * SKU of the Kubernetes node
945
+ * Total cost
882
946
  */
883
- sku: string;
884
- cpu: number | '';
885
- price: number | '';
886
- value: number | '';
887
- total: number | '';
947
+ total: number;
888
948
  };
889
949
  export type UserCreateInput = {
890
950
  /**
@@ -971,7 +1031,12 @@ export type UserUpdateInput = {
971
1031
  export type GetUsageData = {
972
1032
  body?: never;
973
1033
  path?: never;
974
- 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
+ };
975
1040
  url: '/billing/usage';
976
1041
  };
977
1042
  export type GetUsageErrors = {
@@ -982,24 +1047,11 @@ export type GetUsageErrors = {
982
1047
  };
983
1048
  export type GetUsageResponses = {
984
1049
  /**
985
- * An array of usage records.
1050
+ * Usage data with facets for filtering
986
1051
  */
987
- 200: Array<Usage>;
1052
+ 200: UsageResponse;
988
1053
  };
989
1054
  export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
990
- export type GetBalanceData = {
991
- body?: never;
992
- path?: never;
993
- query?: never;
994
- url: '/billing/balance';
995
- };
996
- export type GetBalanceResponses = {
997
- /**
998
- * Current balance of the organization in USD as a floating-point number.
999
- */
1000
- 200: number;
1001
- };
1002
- export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
1003
1055
  export type GetPaymentMethodData = {
1004
1056
  body?: never;
1005
1057
  path?: never;
@@ -1041,16 +1093,7 @@ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[key
1041
1093
  export type ListInvoicesData = {
1042
1094
  body?: never;
1043
1095
  path?: never;
1044
- query: {
1045
- /**
1046
- * Start date for the usage. Date of oldest data point to retrieve.
1047
- */
1048
- start_date: string;
1049
- /**
1050
- * End date for the usage. Date of newest data point to retrieve.
1051
- */
1052
- end_date: string;
1053
- };
1096
+ query?: never;
1054
1097
  url: '/billing/invoices';
1055
1098
  };
1056
1099
  export type ListInvoicesErrors = {
@@ -1066,26 +1109,6 @@ export type ListInvoicesResponses = {
1066
1109
  200: Array<Invoice>;
1067
1110
  };
1068
1111
  export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1069
- export type GetInvoiceData = {
1070
- body?: never;
1071
- path: {
1072
- /**
1073
- * Unique invoice identifier. UUID v4 string in canonical form
1074
- */
1075
- id: string;
1076
- };
1077
- query?: never;
1078
- url: '/billing/invoices/{id}';
1079
- };
1080
- export type GetInvoiceResponses = {
1081
- /**
1082
- * Returns a single Invoice HTML representation under `html` property.
1083
- */
1084
- 200: {
1085
- html?: string;
1086
- };
1087
- };
1088
- export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
1089
1112
  export type GetContactData = {
1090
1113
  body?: never;
1091
1114
  path?: never;
@@ -1521,7 +1544,7 @@ export type GetJoinInformationResponses = {
1521
1544
  /**
1522
1545
  * An object of cluster join information
1523
1546
  */
1524
- 200: Cluster;
1547
+ 200: ClusterJoinInformation;
1525
1548
  };
1526
1549
  export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
1527
1550
  export type ListInvitesData = {
@@ -1615,24 +1638,76 @@ export type ListMarketplaceChartsResponses = {
1615
1638
  200: Array<MarketplaceListing>;
1616
1639
  };
1617
1640
  export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
1618
- export type GetMarketplaceChartData = {
1641
+ export type GetMarketplaceChartFilesData = {
1619
1642
  body?: never;
1620
1643
  path: {
1621
1644
  /**
1622
- * Unique identifier of the chart listing in the marketplace.
1645
+ * Name of the chart in the marketplace.
1646
+ */
1647
+ chart_name: string;
1648
+ /**
1649
+ * Version of the chart.
1650
+ */
1651
+ version: string;
1652
+ };
1653
+ query?: never;
1654
+ url: '/marketplace/{chart_name}/files/{version}';
1655
+ };
1656
+ export type GetMarketplaceChartFilesErrors = {
1657
+ /**
1658
+ * Chart or version not found
1659
+ */
1660
+ 404: unknown;
1661
+ };
1662
+ export type GetMarketplaceChartFilesResponses = {
1663
+ /**
1664
+ * Returns an object containing the chart files.
1665
+ */
1666
+ 200: MarketplaceListingFiles;
1667
+ };
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
1623
1679
  */
1624
- listing_id: string;
1680
+ params?: {
1681
+ [key: string]: unknown;
1682
+ };
1625
1683
  };
1684
+ path?: never;
1626
1685
  query?: never;
1627
- url: '/marketplace/{listing_id}';
1686
+ url: '/mcp';
1628
1687
  };
1629
- export type GetMarketplaceChartResponses = {
1688
+ export type PostMcpErrors = {
1630
1689
  /**
1631
- * Returns an object containing the chart listing details.
1690
+ * Not authenticated
1632
1691
  */
1633
- 200: MarketplaceListing;
1692
+ 401: unknown;
1634
1693
  };
1635
- export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
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];
1636
1711
  export type GetOrganizationData = {
1637
1712
  body?: never;
1638
1713
  path?: never;
@@ -1658,6 +1733,144 @@ export type CreateOrganizationResponses = {
1658
1733
  */
1659
1734
  200: unknown;
1660
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];
1661
1874
  export type ListTokensData = {
1662
1875
  body?: never;
1663
1876
  path?: never;
@@ -1914,7 +2127,4 @@ export type UpdateUserResponses = {
1914
2127
  200: User;
1915
2128
  };
1916
2129
  export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1917
- export type ClientOptions = {
1918
- baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
1919
- };
1920
2130
  //# sourceMappingURL=types.gen.d.ts.map