@cloudfleet/sdk 0.0.1-8a43c91 → 0.0.1-8c2a1a1

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 (89) 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 +236 -0
  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} +18 -20
  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} +10 -22
  14. package/dist/client/utils.gen.d.ts.map +1 -0
  15. package/dist/client/{utils.js → utils.gen.js} +63 -119
  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 +1 -3
  20. package/dist/client.gen.js.map +1 -1
  21. package/dist/core/{auth.d.ts → auth.gen.d.ts} +1 -1
  22. package/dist/core/auth.gen.d.ts.map +1 -0
  23. package/dist/core/{auth.js → auth.gen.js} +2 -1
  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.js → bodySerializer.gen.js} +6 -2
  28. package/dist/core/bodySerializer.gen.js.map +1 -0
  29. package/dist/core/{params.d.ts → params.gen.d.ts} +11 -1
  30. package/dist/core/params.gen.d.ts.map +1 -0
  31. package/dist/core/{params.js → params.gen.js} +20 -7
  32. package/dist/core/params.gen.js.map +1 -0
  33. package/dist/core/{pathSerializer.d.ts → pathSerializer.gen.d.ts} +1 -1
  34. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  35. package/dist/core/{pathSerializer.js → pathSerializer.gen.js} +5 -12
  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.d.ts → types.gen.d.ts} +16 -16
  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 +605 -481
  54. package/dist/schemas.gen.d.ts.map +1 -1
  55. package/dist/schemas.gen.js +1140 -587
  56. package/dist/schemas.gen.js.map +1 -1
  57. package/dist/sdk.gen.d.ts +92 -20
  58. package/dist/sdk.gen.d.ts.map +1 -1
  59. package/dist/sdk.gen.js +150 -164
  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 +566 -327
  63. package/dist/types.gen.d.ts.map +1 -1
  64. package/dist/zod.gen.d.ts +1463 -3569
  65. package/dist/zod.gen.d.ts.map +1 -1
  66. package/dist/zod.gen.js +312 -1028
  67. package/dist/zod.gen.js.map +1 -1
  68. package/package.json +10 -6
  69. package/dist/client/client.d.ts +0 -3
  70. package/dist/client/client.d.ts.map +0 -1
  71. package/dist/client/client.js +0 -146
  72. package/dist/client/client.js.map +0 -1
  73. package/dist/client/types.d.ts.map +0 -1
  74. package/dist/client/types.js +0 -2
  75. package/dist/client/types.js.map +0 -1
  76. package/dist/client/utils.d.ts.map +0 -1
  77. package/dist/client/utils.js.map +0 -1
  78. package/dist/core/auth.d.ts.map +0 -1
  79. package/dist/core/auth.js.map +0 -1
  80. package/dist/core/bodySerializer.d.ts +0 -18
  81. package/dist/core/bodySerializer.d.ts.map +0 -1
  82. package/dist/core/bodySerializer.js.map +0 -1
  83. package/dist/core/params.d.ts.map +0 -1
  84. package/dist/core/params.js.map +0 -1
  85. package/dist/core/pathSerializer.d.ts.map +0 -1
  86. package/dist/core/pathSerializer.js.map +0 -1
  87. package/dist/core/types.d.ts.map +0 -1
  88. package/dist/core/types.js +0 -2
  89. 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-1a", "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-1a' | '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
  /**
@@ -191,6 +186,10 @@ export type ClusterJoinInformation = {
191
186
  * Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
192
187
  */
193
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;
194
193
  /**
195
194
  * Authentication key for the cluster.
196
195
  */
@@ -248,13 +247,9 @@ export type Cluster = {
248
247
  */
249
248
  tier: 'basic' | 'pro';
250
249
  /**
251
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.
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.
252
251
  */
253
- region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
254
- /**
255
- * Version of the kubernetes cluster.
256
- */
257
- version_channel?: string;
252
+ region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
258
253
  /**
259
254
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
260
255
  */
@@ -262,7 +257,7 @@ export type Cluster = {
262
257
  /**
263
258
  * Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
264
259
  */
265
- status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
260
+ status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
266
261
  endpoint?: string | '';
267
262
  /**
268
263
  * Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
@@ -284,6 +279,10 @@ export type Cluster = {
284
279
  * Indicates if the cluster is ready to be used.
285
280
  */
286
281
  ready?: boolean;
282
+ /**
283
+ * Version of the kubernetes cluster.
284
+ */
285
+ version_channel?: string;
287
286
  };
288
287
  export type ClusterUpdateInput = {
289
288
  /**
@@ -427,280 +426,121 @@ export type Invite = {
427
426
  };
428
427
  export type Invoice = {
429
428
  /**
430
- * Unique identifier of the invoice. UUID v4 string in canonical form
429
+ * Unique identifier of the invoice.
431
430
  */
432
431
  id?: string;
433
- /**
434
- * Unique identifier of the organization. UUID v4 string in canonical form
435
- */
436
- organizationId?: string;
432
+ number?: string;
437
433
  /**
438
434
  * Status of the invoice
439
435
  */
440
- status?: 'DRAFT' | 'COMMITTED' | 'VOID';
436
+ status?: string;
441
437
  /**
442
438
  * Total amount of the invoice
443
439
  */
444
- amount?: number;
440
+ total?: number;
445
441
  /**
446
442
  * Currency of the invoice
447
443
  */
448
- 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;
449
445
  /**
450
- * Total amount of credit adjustments
446
+ * Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
451
447
  */
452
- creditAdj?: number;
448
+ created: string;
453
449
  /**
454
- * Total amount of refund adjustments
450
+ * Billing period start timestamp. ISO 8601 date string in the UTC timezone.
455
451
  */
456
- refundAdj?: number;
452
+ period_start: string;
457
453
  /**
458
- * Date of the invoice
454
+ * Billing period end timestamp. ISO 8601 date string in the UTC timezone.
459
455
  */
460
- invoiceDate?: string;
456
+ period_end: string;
457
+ invoice_pdf?: string;
458
+ };
459
+ export type MarketplaceListingFiles = {
461
460
  /**
462
- * Target date of the invoice
461
+ * Raw Chart.yaml content from the Helm chart
463
462
  */
464
- targetDate?: string;
463
+ chartYaml?: string;
465
464
  /**
466
- * Number of the invoice
465
+ * Raw values.yaml content from the Helm chart
467
466
  */
468
- invoiceNumber?: string;
467
+ valuesYaml?: string;
469
468
  /**
470
- * Balance of the invoice
469
+ * JSON schema for values.yaml as a string
471
470
  */
472
- balance?: number;
471
+ valuesSchemaJson?: string;
472
+ };
473
+ export type MarketplaceListing = {
473
474
  /**
474
- * Bundle keys of the invoice
475
+ * Name of the chart
475
476
  */
476
- bundleKeys?: string;
477
+ name: string;
477
478
  /**
478
- * Credits of the invoice
479
+ * Available versions of the chart
479
480
  */
480
- credits?: Array<{
481
- /**
482
- * Unique identifier of the invoice item. UUID v4 string in canonical form
483
- */
484
- id?: string;
485
- /**
486
- * Unique identifier of the linked invoice item. UUID v4 string in canonical form
487
- */
488
- linkedInvoiceItemId?: string;
489
- /**
490
- * Name of the product
491
- */
492
- productName?: string;
493
- /**
494
- * Name of the plan
495
- */
496
- planName?: string;
497
- /**
498
- * Name of the phase
499
- */
500
- phaseName?: string;
501
- /**
502
- * Name of the usage
503
- */
504
- usageName?: string;
505
- /**
506
- * Pretty name of the product
507
- */
508
- prettyProductName?: string;
509
- /**
510
- * Pretty name of the plan
511
- */
512
- prettyPlanName?: string;
513
- /**
514
- * Pretty name of the phase
515
- */
516
- prettyPhaseName?: string;
517
- /**
518
- * Pretty name of the usage
519
- */
520
- prettyUsageName?: string;
521
- /**
522
- * Type of the invoice item
523
- */
524
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
525
- /**
526
- * Description of the invoice item
527
- */
528
- description?: string;
529
- /**
530
- * Start date of the invoice item
531
- */
532
- startDate?: string;
533
- /**
534
- * End date of the invoice item
535
- */
536
- endDate?: string;
537
- /**
538
- * Amount of the invoice item
539
- */
540
- amount?: number;
541
- /**
542
- * Rate of the invoice item
543
- */
544
- rate?: number;
545
- /**
546
- * Currency of the invoice item
547
- */
548
- 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';
549
- /**
550
- * Quantity of the invoice item
551
- */
552
- quantity?: number;
553
- /**
554
- * Details of the invoice item
555
- */
556
- itemDetails?: string;
557
- /**
558
- * Effective date of the catalog
559
- */
560
- catalogEffectiveDate?: string;
561
- /**
562
- * Child items of the invoice item
563
- */
564
- childItems?: Array<Array<unknown> | boolean | number | {
565
- [key: string]: unknown;
566
- } | string>;
567
- }>;
481
+ versions: Array<string>;
568
482
  /**
569
- * Items of the invoice
483
+ * Version channels for the chart
570
484
  */
571
- items?: Array<{
572
- /**
573
- * Unique identifier of the invoice item. UUID v4 string in canonical form
574
- */
575
- id?: string;
576
- /**
577
- * Unique identifier of the linked invoice item. UUID v4 string in canonical form
578
- */
579
- linkedInvoiceItemId?: string;
580
- /**
581
- * Name of the product
582
- */
583
- productName?: string;
584
- /**
585
- * Name of the plan
586
- */
587
- planName?: string;
588
- /**
589
- * Name of the phase
590
- */
591
- phaseName?: string;
592
- /**
593
- * Name of the usage
594
- */
595
- usageName?: string;
596
- /**
597
- * Pretty name of the product
598
- */
599
- prettyProductName?: string;
600
- /**
601
- * Pretty name of the plan
602
- */
603
- prettyPlanName?: string;
604
- /**
605
- * Pretty name of the phase
606
- */
607
- 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?: {
608
494
  /**
609
- * Pretty name of the usage
495
+ * Chart name from metadata
610
496
  */
611
- prettyUsageName?: string;
497
+ name: string;
612
498
  /**
613
- * Type of the invoice item
499
+ * Chart version from metadata
614
500
  */
615
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
501
+ version: string;
616
502
  /**
617
- * Description of the invoice item
503
+ * Chart description
618
504
  */
619
505
  description?: string;
620
506
  /**
621
- * Start date of the invoice item
622
- */
623
- startDate?: string;
624
- /**
625
- * End date of the invoice item
626
- */
627
- endDate?: string;
628
- /**
629
- * Amount of the invoice item
507
+ * Application version
630
508
  */
631
- amount?: number;
509
+ appVersion?: string;
632
510
  /**
633
- * Rate of the invoice item
511
+ * Helm API version
634
512
  */
635
- rate?: number;
513
+ apiVersion?: string;
636
514
  /**
637
- * Currency of the invoice item
515
+ * Chart keywords
638
516
  */
639
- 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
+ keywords?: Array<string>;
640
518
  /**
641
- * Quantity of the invoice item
519
+ * Chart home URL
642
520
  */
643
- quantity?: number;
521
+ home?: string;
644
522
  /**
645
- * Details of the invoice item
523
+ * A URL to an SVG or PNG image to be used as an icon
646
524
  */
647
- itemDetails?: string;
525
+ icon?: string;
648
526
  /**
649
- * Effective date of the catalog
527
+ * Chart source URLs
650
528
  */
651
- catalogEffectiveDate?: string;
529
+ sources?: Array<string>;
652
530
  /**
653
- * Child items of the invoice item
531
+ * Chart maintainers
654
532
  */
655
- childItems?: Array<Array<unknown> | boolean | number | {
656
- [key: string]: unknown;
657
- } | string>;
658
- }>;
659
- };
660
- export type MarketplaceListing = {
661
- /**
662
- * Id of the chart listing
663
- */
664
- id: string;
665
- /**
666
- * Name of the chart listing
667
- */
668
- name: string;
669
- /**
670
- * Author of the chart listing
671
- */
672
- developer: string;
673
- /**
674
- * Short description of the chart listing
675
- */
676
- description: string;
677
- /**
678
- * Logo of the chart listing
679
- */
680
- logoUrl: string;
681
- /**
682
- * Long description of the chart listing
683
- */
684
- longDescription: string;
685
- /**
686
- * Tags of the chart
687
- */
688
- categories: Array<string>;
689
- version_channels: Array<string>;
690
- value_schemas: Array<{
691
- /**
692
- * Version of the chart.
693
- */
694
- version: string;
695
- /**
696
- * Schema of the chart values. JSON Schema as string
697
- */
698
- schema: string;
699
- /**
700
- * Schema of the chart values
701
- */
702
- placeholder: string;
703
- }>;
533
+ maintainers?: Array<{
534
+ /**
535
+ * Maintainer name
536
+ */
537
+ name: string;
538
+ /**
539
+ * Maintainer email
540
+ */
541
+ email?: string;
542
+ }>;
543
+ };
704
544
  };
705
545
  export type OrganizationCreateInput = {
706
546
  /**
@@ -782,6 +622,10 @@ export type Organization = {
782
622
  */
783
623
  label: string;
784
624
  }>;
625
+ /**
626
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
627
+ */
628
+ cfcr_storage_gb: number;
785
629
  };
786
630
  /**
787
631
  * Status of the organization. Can be `active` or `closed`, or `suspended`.
@@ -818,6 +662,201 @@ export type PaymentMethod = {
818
662
  */
819
663
  brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
820
664
  };
665
+ export type PlatformQuota = {
666
+ /**
667
+ * Maximum number of Basic clusters that can be created.
668
+ */
669
+ basic_clusters_max: number;
670
+ /**
671
+ * Available number of Basic clusters that can be created.
672
+ */
673
+ basic_clusters_available: number;
674
+ /**
675
+ * Maximum number of Pro clusters that can be created.
676
+ */
677
+ pro_clusters_max: number;
678
+ /**
679
+ * Available number of Pro clusters that can be created.
680
+ */
681
+ pro_clusters_available: number;
682
+ /**
683
+ * Maximum number of fleets that can be created per cluster.
684
+ */
685
+ fleets_max: number;
686
+ /**
687
+ * List of Cloudfleet cluster tiers available for the organization.
688
+ */
689
+ cluster_tiers: Array<string>;
690
+ /**
691
+ * List of Cloudfleet control plane regions available for the organization.
692
+ */
693
+ regions: Array<string>;
694
+ /**
695
+ * List of CFKE control plane versions available for the organization.
696
+ */
697
+ versions: Array<{
698
+ /**
699
+ * Id of the control plane version. Used in API calls.
700
+ */
701
+ id: string;
702
+ /**
703
+ * Label of the control plane version. Used in frontent UI.
704
+ */
705
+ label: string;
706
+ }>;
707
+ /**
708
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
709
+ */
710
+ cfcr_storage_gb: 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
+ * Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
757
+ */
758
+ platforms?: Array<string>;
759
+ }>;
760
+ /**
761
+ * Total size of all tags in the repository in bytes.
762
+ */
763
+ totalSize: number;
764
+ };
765
+ export type RegistryTag = {
766
+ /**
767
+ * Tag name.
768
+ */
769
+ name: string;
770
+ /**
771
+ * Manifest digest for pulling by digest.
772
+ */
773
+ digest: string;
774
+ /**
775
+ * Media type of the manifest.
776
+ */
777
+ mediaType?: string;
778
+ /**
779
+ * Manifest config metadata.
780
+ */
781
+ config?: {
782
+ /**
783
+ * Size of the config in bytes.
784
+ */
785
+ size: number;
786
+ };
787
+ /**
788
+ * Array of layer metadata.
789
+ */
790
+ layers?: Array<{
791
+ /**
792
+ * Digest of the layer.
793
+ */
794
+ digest?: string;
795
+ /**
796
+ * Size of the layer in bytes.
797
+ */
798
+ size: number;
799
+ }>;
800
+ /**
801
+ * Array of manifests for multi-arch images.
802
+ */
803
+ manifests?: Array<{
804
+ /**
805
+ * Digest of the manifest.
806
+ */
807
+ digest: string;
808
+ /**
809
+ * Platform information for the manifest.
810
+ */
811
+ platform?: {
812
+ /**
813
+ * Architecture of the platform.
814
+ */
815
+ architecture: string;
816
+ /**
817
+ * Operating system of the platform.
818
+ */
819
+ os: string;
820
+ /**
821
+ * Variant of the platform (e.g., v7, v8 for ARM).
822
+ */
823
+ variant?: string;
824
+ };
825
+ /**
826
+ * Layers for this platform.
827
+ */
828
+ layers?: Array<{
829
+ /**
830
+ * Digest of the layer.
831
+ */
832
+ digest?: string;
833
+ /**
834
+ * Size of the layer in bytes.
835
+ */
836
+ size: number;
837
+ }>;
838
+ /**
839
+ * Total size of this platform manifest in bytes.
840
+ */
841
+ size?: number;
842
+ }>;
843
+ /**
844
+ * Total size of the tag in bytes.
845
+ */
846
+ size: number;
847
+ /**
848
+ * Registry region.
849
+ */
850
+ region: string;
851
+ /**
852
+ * Repository name.
853
+ */
854
+ repository: string;
855
+ /**
856
+ * Full URI of the tag.
857
+ */
858
+ uri: string;
859
+ };
821
860
  export type TokenCreateInput = {
822
861
  /**
823
862
  * Human readable access token name.
@@ -860,35 +899,85 @@ export type TokenUpdateInput = {
860
899
  */
861
900
  role?: 'Administrator' | 'User';
862
901
  };
902
+ export type UsageFacets = {
903
+ /**
904
+ * List of unique cluster IDs
905
+ */
906
+ cluster_id?: Array<string>;
907
+ /**
908
+ * List of unique products
909
+ */
910
+ product?: Array<string>;
911
+ };
912
+ export type UsageResponse = {
913
+ /**
914
+ * Usage data
915
+ */
916
+ data: Array<{
917
+ /**
918
+ * Hour of the usage
919
+ */
920
+ hour: string;
921
+ /**
922
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
923
+ */
924
+ cluster_id: string;
925
+ /**
926
+ * The product the usage is associated with
927
+ */
928
+ product: string;
929
+ /**
930
+ * Consumption
931
+ */
932
+ value: number;
933
+ /**
934
+ * Price per unit
935
+ */
936
+ price: number;
937
+ /**
938
+ * Total cost
939
+ */
940
+ total: number;
941
+ }>;
942
+ /**
943
+ * Facets for filtering
944
+ */
945
+ facets: {
946
+ /**
947
+ * List of unique cluster IDs
948
+ */
949
+ cluster_id?: Array<string>;
950
+ /**
951
+ * List of unique products
952
+ */
953
+ product?: Array<string>;
954
+ };
955
+ };
863
956
  export type Usage = {
864
957
  /**
865
958
  * Hour of the usage
866
959
  */
867
- hour?: string;
960
+ hour: string;
868
961
  /**
869
962
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
870
963
  */
871
964
  cluster_id: string;
872
965
  /**
873
- * Tier of the cluster.
966
+ * The product the usage is associated with
874
967
  */
875
- cluster_tier: 'basic' | 'pro' | '';
968
+ product: string;
876
969
  /**
877
- * The product the usage is associated with
970
+ * Consumption
878
971
  */
879
- product: 'cfke_controlplane' | 'cfke_connected_nodes' | 'infra_compute' | 'infra_storage' | 'infra_loadbalancing' | 'infra_traffic' | 'cfcr_storage';
972
+ value: number;
880
973
  /**
881
- * Name of the Kubernetes node
974
+ * Price per unit
882
975
  */
883
- node_name: string;
976
+ price: number;
884
977
  /**
885
- * SKU of the Kubernetes node
978
+ * Total cost
886
979
  */
887
- sku: string;
888
- cpu: number | '';
889
- price: number | '';
890
- value: number | '';
891
- total: number | '';
980
+ total: number;
892
981
  };
893
982
  export type UserCreateInput = {
894
983
  /**
@@ -975,7 +1064,12 @@ export type UserUpdateInput = {
975
1064
  export type GetUsageData = {
976
1065
  body?: never;
977
1066
  path?: never;
978
- query?: never;
1067
+ query?: {
1068
+ /**
1069
+ * 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)
1070
+ */
1071
+ granularity?: 'hourly' | 'daily' | 'monthly';
1072
+ };
979
1073
  url: '/billing/usage';
980
1074
  };
981
1075
  export type GetUsageErrors = {
@@ -986,24 +1080,11 @@ export type GetUsageErrors = {
986
1080
  };
987
1081
  export type GetUsageResponses = {
988
1082
  /**
989
- * An array of usage records.
1083
+ * Usage data with facets for filtering
990
1084
  */
991
- 200: Array<Usage>;
1085
+ 200: UsageResponse;
992
1086
  };
993
1087
  export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
994
- export type GetBalanceData = {
995
- body?: never;
996
- path?: never;
997
- query?: never;
998
- url: '/billing/balance';
999
- };
1000
- export type GetBalanceResponses = {
1001
- /**
1002
- * Current balance of the organization in USD as a floating-point number.
1003
- */
1004
- 200: number;
1005
- };
1006
- export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
1007
1088
  export type GetPaymentMethodData = {
1008
1089
  body?: never;
1009
1090
  path?: never;
@@ -1045,16 +1126,7 @@ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[key
1045
1126
  export type ListInvoicesData = {
1046
1127
  body?: never;
1047
1128
  path?: never;
1048
- query: {
1049
- /**
1050
- * Start date for the usage. Date of oldest data point to retrieve.
1051
- */
1052
- start_date: string;
1053
- /**
1054
- * End date for the usage. Date of newest data point to retrieve.
1055
- */
1056
- end_date: string;
1057
- };
1129
+ query?: never;
1058
1130
  url: '/billing/invoices';
1059
1131
  };
1060
1132
  export type ListInvoicesErrors = {
@@ -1070,26 +1142,6 @@ export type ListInvoicesResponses = {
1070
1142
  200: Array<Invoice>;
1071
1143
  };
1072
1144
  export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1073
- export type GetInvoiceData = {
1074
- body?: never;
1075
- path: {
1076
- /**
1077
- * Unique invoice identifier. UUID v4 string in canonical form
1078
- */
1079
- id: string;
1080
- };
1081
- query?: never;
1082
- url: '/billing/invoices/{id}';
1083
- };
1084
- export type GetInvoiceResponses = {
1085
- /**
1086
- * Returns a single Invoice HTML representation under `html` property.
1087
- */
1088
- 200: {
1089
- html?: string;
1090
- };
1091
- };
1092
- export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
1093
1145
  export type GetContactData = {
1094
1146
  body?: never;
1095
1147
  path?: never;
@@ -1619,24 +1671,76 @@ export type ListMarketplaceChartsResponses = {
1619
1671
  200: Array<MarketplaceListing>;
1620
1672
  };
1621
1673
  export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
1622
- export type GetMarketplaceChartData = {
1674
+ export type GetMarketplaceChartFilesData = {
1623
1675
  body?: never;
1624
1676
  path: {
1625
1677
  /**
1626
- * Unique identifier of the chart listing in the marketplace.
1678
+ * Name of the chart in the marketplace.
1679
+ */
1680
+ chart_name: string;
1681
+ /**
1682
+ * 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).
1683
+ */
1684
+ version_channel: string;
1685
+ };
1686
+ query?: never;
1687
+ url: '/marketplace/{chart_name}/files/{version_channel}';
1688
+ };
1689
+ export type GetMarketplaceChartFilesErrors = {
1690
+ /**
1691
+ * Chart not found or no version matches the channel
1692
+ */
1693
+ 404: unknown;
1694
+ };
1695
+ export type GetMarketplaceChartFilesResponses = {
1696
+ /**
1697
+ * Returns an object containing the chart files for the latest matching version.
1698
+ */
1699
+ 200: MarketplaceListingFiles;
1700
+ };
1701
+ export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
1702
+ export type PostMcpData = {
1703
+ /**
1704
+ * JSON-RPC 2.0 request payload
1705
+ */
1706
+ body: {
1707
+ jsonrpc?: string;
1708
+ method?: string;
1709
+ id?: string | number;
1710
+ /**
1711
+ * Method-specific parameters
1627
1712
  */
1628
- listing_id: string;
1713
+ params?: {
1714
+ [key: string]: unknown;
1715
+ };
1629
1716
  };
1717
+ path?: never;
1630
1718
  query?: never;
1631
- url: '/marketplace/{listing_id}';
1719
+ url: '/mcp';
1632
1720
  };
1633
- export type GetMarketplaceChartResponses = {
1721
+ export type PostMcpErrors = {
1634
1722
  /**
1635
- * Returns an object containing the chart listing details.
1723
+ * Not authenticated
1636
1724
  */
1637
- 200: MarketplaceListing;
1725
+ 401: unknown;
1726
+ };
1727
+ export type PostMcpResponses = {
1728
+ /**
1729
+ * JSON-RPC 2.0 success or error response
1730
+ */
1731
+ 200: {
1732
+ jsonrpc?: string;
1733
+ id?: string | number;
1734
+ result?: {
1735
+ [key: string]: unknown;
1736
+ };
1737
+ error?: {
1738
+ code?: number;
1739
+ message?: string;
1740
+ };
1741
+ };
1638
1742
  };
1639
- export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
1743
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
1640
1744
  export type GetOrganizationData = {
1641
1745
  body?: never;
1642
1746
  path?: never;
@@ -1662,6 +1766,144 @@ export type CreateOrganizationResponses = {
1662
1766
  */
1663
1767
  200: unknown;
1664
1768
  };
1769
+ export type ListRepositoriesData = {
1770
+ body?: never;
1771
+ path?: never;
1772
+ query?: never;
1773
+ url: '/registry';
1774
+ };
1775
+ export type ListRepositoriesErrors = {
1776
+ /**
1777
+ * Not authenticated
1778
+ */
1779
+ 401: unknown;
1780
+ /**
1781
+ * Internal server error
1782
+ */
1783
+ 500: unknown;
1784
+ };
1785
+ export type ListRepositoriesResponses = {
1786
+ /**
1787
+ * List of repositories
1788
+ */
1789
+ 200: Array<RegistryRepository>;
1790
+ };
1791
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
1792
+ export type ListTagsData = {
1793
+ body?: never;
1794
+ path: {
1795
+ /**
1796
+ * Region where the repository is located
1797
+ */
1798
+ region: string;
1799
+ /**
1800
+ * Name of the repository
1801
+ */
1802
+ repository: string;
1803
+ };
1804
+ query?: never;
1805
+ url: '/registry/{region}/{repository}';
1806
+ };
1807
+ export type ListTagsErrors = {
1808
+ /**
1809
+ * Not authenticated
1810
+ */
1811
+ 401: unknown;
1812
+ /**
1813
+ * Repository not found
1814
+ */
1815
+ 404: unknown;
1816
+ /**
1817
+ * Internal server error
1818
+ */
1819
+ 500: unknown;
1820
+ };
1821
+ export type ListTagsResponses = {
1822
+ /**
1823
+ * Repository with tags
1824
+ */
1825
+ 200: RegistryRepositoryWithTags;
1826
+ };
1827
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
1828
+ export type DeleteTagData = {
1829
+ body?: never;
1830
+ path: {
1831
+ /**
1832
+ * Region where the repository is located
1833
+ */
1834
+ region: string;
1835
+ /**
1836
+ * Name of the repository
1837
+ */
1838
+ repository: string;
1839
+ /**
1840
+ * Name of the tag
1841
+ */
1842
+ tag: string;
1843
+ };
1844
+ query?: never;
1845
+ url: '/registry/{region}/{repository}/{tag}';
1846
+ };
1847
+ export type DeleteTagErrors = {
1848
+ /**
1849
+ * Not authenticated
1850
+ */
1851
+ 401: unknown;
1852
+ /**
1853
+ * Tag not found
1854
+ */
1855
+ 404: unknown;
1856
+ /**
1857
+ * Internal server error
1858
+ */
1859
+ 500: unknown;
1860
+ };
1861
+ export type DeleteTagResponses = {
1862
+ /**
1863
+ * Tag successfully deleted
1864
+ */
1865
+ 200: unknown;
1866
+ };
1867
+ export type GetTagData = {
1868
+ body?: never;
1869
+ path: {
1870
+ /**
1871
+ * Region where the repository is located
1872
+ */
1873
+ region: string;
1874
+ /**
1875
+ * Name of the repository
1876
+ */
1877
+ repository: string;
1878
+ /**
1879
+ * Name of the tag
1880
+ */
1881
+ tag: string;
1882
+ };
1883
+ query?: never;
1884
+ url: '/registry/{region}/{repository}/{tag}';
1885
+ };
1886
+ export type GetTagErrors = {
1887
+ /**
1888
+ * Not authenticated
1889
+ */
1890
+ 401: unknown;
1891
+ /**
1892
+ * Tag not found
1893
+ */
1894
+ 404: unknown;
1895
+ /**
1896
+ * Internal server error
1897
+ */
1898
+ 500: unknown;
1899
+ };
1900
+ export type GetTagResponses = {
1901
+ /**
1902
+ * Tag details
1903
+ */
1904
+ 200: RegistryTag;
1905
+ };
1906
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
1665
1907
  export type ListTokensData = {
1666
1908
  body?: never;
1667
1909
  path?: never;
@@ -1918,7 +2160,4 @@ export type UpdateUserResponses = {
1918
2160
  200: User;
1919
2161
  };
1920
2162
  export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1921
- export type ClientOptions = {
1922
- baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
1923
- };
1924
2163
  //# sourceMappingURL=types.gen.d.ts.map