@cloudfleet/sdk 0.0.1-e9052b2 → 0.0.1-ecad9ab

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 +524 -467
  54. package/dist/schemas.gen.d.ts.map +1 -1
  55. package/dist/schemas.gen.js +539 -501
  56. package/dist/schemas.gen.js.map +1 -1
  57. package/dist/sdk.gen.d.ts +132 -62
  58. package/dist/sdk.gen.d.ts.map +1 -1
  59. package/dist/sdk.gen.js +162 -73
  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 +518 -324
  63. package/dist/types.gen.d.ts.map +1 -1
  64. package/dist/zod.gen.d.ts +1636 -2581
  65. package/dist/zod.gen.d.ts.map +1 -1
  66. package/dist/zod.gen.js +587 -919
  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.
42
+ * Name of the billing contact person.
40
43
  */
41
- first_name: string;
42
- /**
43
- * Last name of the billing contact person.
44
- */
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,9 +169,9 @@ 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
  */
@@ -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,9 +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';
248
+ region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
250
249
  /**
251
250
  * Version of the kubernetes cluster.
252
251
  */
@@ -258,7 +257,7 @@ export type Cluster = {
258
257
  /**
259
258
  * Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
260
259
  */
261
- status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
260
+ status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
262
261
  endpoint?: string | '';
263
262
  /**
264
263
  * Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
@@ -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
622
- */
623
- endDate?: string;
624
- /**
625
- * Amount of the invoice item
626
- */
627
- amount?: number;
628
- /**
629
- * Rate of the invoice item
630
- */
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
503
+ * Application version
642
504
  */
643
- itemDetails?: string;
505
+ appVersion?: string;
644
506
  /**
645
- * Effective date of the catalog
507
+ * Helm API version
646
508
  */
647
- catalogEffectiveDate?: string;
509
+ apiVersion?: string;
648
510
  /**
649
- * Child items of the invoice item
511
+ * Chart keywords
650
512
  */
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
  /**
@@ -814,6 +650,164 @@ export type PaymentMethod = {
814
650
  */
815
651
  brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
816
652
  };
653
+ export type PlatformQuota = {
654
+ /**
655
+ * Maximum number of Basic clusters that can be created.
656
+ */
657
+ basic_clusters_max: number;
658
+ /**
659
+ * Available number of Basic clusters that can be created.
660
+ */
661
+ basic_clusters_available: number;
662
+ /**
663
+ * Maximum number of Pro clusters that can be created.
664
+ */
665
+ pro_clusters_max: number;
666
+ /**
667
+ * Available number of Pro clusters that can be created.
668
+ */
669
+ pro_clusters_available: number;
670
+ /**
671
+ * Maximum number of fleets that can be created per cluster.
672
+ */
673
+ fleets_max: number;
674
+ /**
675
+ * List of Cloudfleet cluster tiers available for the organization.
676
+ */
677
+ cluster_tiers: Array<string>;
678
+ /**
679
+ * List of Cloudfleet control plane regions available for the organization.
680
+ */
681
+ regions: Array<string>;
682
+ /**
683
+ * List of CFKE control plane versions available for the organization.
684
+ */
685
+ versions: Array<{
686
+ /**
687
+ * Id of the control plane version. Used in API calls.
688
+ */
689
+ id: string;
690
+ /**
691
+ * Label of the control plane version. Used in frontent UI.
692
+ */
693
+ label: string;
694
+ }>;
695
+ };
696
+ export type RegistryRepository = {
697
+ /**
698
+ * Repository name.
699
+ */
700
+ name: string;
701
+ /**
702
+ * Registry region.
703
+ */
704
+ region: string;
705
+ /**
706
+ * Full URI of the repository.
707
+ */
708
+ uri: string;
709
+ };
710
+ export type RegistryRepositoryWithTags = {
711
+ /**
712
+ * Repository name.
713
+ */
714
+ name: string;
715
+ /**
716
+ * Registry region.
717
+ */
718
+ region: string;
719
+ /**
720
+ * Full URI of the repository.
721
+ */
722
+ uri: string;
723
+ /**
724
+ * Array of tags in the repository.
725
+ */
726
+ tags: Array<{
727
+ /**
728
+ * Tag name.
729
+ */
730
+ name: string;
731
+ /**
732
+ * Size of the tag in bytes.
733
+ */
734
+ size: number;
735
+ /**
736
+ * Media type of the manifest.
737
+ */
738
+ mediaType?: string;
739
+ }>;
740
+ /**
741
+ * Total size of all tags in the repository in bytes.
742
+ */
743
+ totalSize: number;
744
+ };
745
+ export type RegistryTag = {
746
+ /**
747
+ * Tag name.
748
+ */
749
+ name: string;
750
+ /**
751
+ * Media type of the manifest.
752
+ */
753
+ mediaType?: string;
754
+ /**
755
+ * Manifest config metadata.
756
+ */
757
+ config?: {
758
+ /**
759
+ * Size of the config in bytes.
760
+ */
761
+ size: number;
762
+ };
763
+ /**
764
+ * Array of layer metadata.
765
+ */
766
+ layers?: Array<{
767
+ /**
768
+ * Size of the layer in bytes.
769
+ */
770
+ size: number;
771
+ }>;
772
+ /**
773
+ * Array of manifests for multi-arch images.
774
+ */
775
+ manifests?: Array<{
776
+ /**
777
+ * Digest of the manifest.
778
+ */
779
+ digest: string;
780
+ /**
781
+ * Platform information for the manifest.
782
+ */
783
+ platform?: {
784
+ /**
785
+ * Architecture of the platform.
786
+ */
787
+ architecture: string;
788
+ /**
789
+ * Operating system of the platform.
790
+ */
791
+ os: string;
792
+ };
793
+ }>;
794
+ /**
795
+ * Total size of the tag in bytes.
796
+ */
797
+ size: number;
798
+ /**
799
+ * Registry region.
800
+ */
801
+ region: string;
802
+ /**
803
+ * Repository name.
804
+ */
805
+ repository: string;
806
+ /**
807
+ * Full URI of the tag.
808
+ */
809
+ uri: string;
810
+ };
817
811
  export type TokenCreateInput = {
818
812
  /**
819
813
  * Human readable access token name.
@@ -856,35 +850,85 @@ export type TokenUpdateInput = {
856
850
  */
857
851
  role?: 'Administrator' | 'User';
858
852
  };
853
+ export type UsageFacets = {
854
+ /**
855
+ * List of unique cluster IDs
856
+ */
857
+ cluster_id?: Array<string>;
858
+ /**
859
+ * List of unique products
860
+ */
861
+ product?: Array<string>;
862
+ };
863
+ export type UsageResponse = {
864
+ /**
865
+ * Usage data
866
+ */
867
+ data: Array<{
868
+ /**
869
+ * Hour of the usage
870
+ */
871
+ hour: string;
872
+ /**
873
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
874
+ */
875
+ cluster_id: string;
876
+ /**
877
+ * The product the usage is associated with
878
+ */
879
+ product: string;
880
+ /**
881
+ * Consumption
882
+ */
883
+ value: number;
884
+ /**
885
+ * Price per unit
886
+ */
887
+ price: number;
888
+ /**
889
+ * Total cost
890
+ */
891
+ total: number;
892
+ }>;
893
+ /**
894
+ * Facets for filtering
895
+ */
896
+ facets: {
897
+ /**
898
+ * List of unique cluster IDs
899
+ */
900
+ cluster_id?: Array<string>;
901
+ /**
902
+ * List of unique products
903
+ */
904
+ product?: Array<string>;
905
+ };
906
+ };
859
907
  export type Usage = {
860
908
  /**
861
909
  * Hour of the usage
862
910
  */
863
- hour?: string;
911
+ hour: string;
864
912
  /**
865
913
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
866
914
  */
867
915
  cluster_id: string;
868
916
  /**
869
- * Tier of the cluster.
917
+ * The product the usage is associated with
870
918
  */
871
- cluster_tier: 'basic' | 'pro' | '';
919
+ product: string;
872
920
  /**
873
- * The product the usage is associated with
921
+ * Consumption
874
922
  */
875
- product: 'cfke_controlplane' | 'cfke_connected_nodes' | 'infra_compute' | 'infra_storage' | 'infra_loadbalancing' | 'infra_traffic' | 'cfcr_storage';
923
+ value: number;
876
924
  /**
877
- * Name of the Kubernetes node
925
+ * Price per unit
878
926
  */
879
- node_name: string;
927
+ price: number;
880
928
  /**
881
- * SKU of the Kubernetes node
929
+ * Total cost
882
930
  */
883
- sku: string;
884
- cpu: number | '';
885
- price: number | '';
886
- value: number | '';
887
- total: number | '';
931
+ total: number;
888
932
  };
889
933
  export type UserCreateInput = {
890
934
  /**
@@ -971,7 +1015,12 @@ export type UserUpdateInput = {
971
1015
  export type GetUsageData = {
972
1016
  body?: never;
973
1017
  path?: never;
974
- query?: never;
1018
+ query?: {
1019
+ /**
1020
+ * Time granularity for usage aggregation - hourly (Past 48 hours aggregated by hour), daily (Past 30 days aggregated by day), monthly (Past 12 months aggregated by month)
1021
+ */
1022
+ granularity?: 'hourly' | 'daily' | 'monthly';
1023
+ };
975
1024
  url: '/billing/usage';
976
1025
  };
977
1026
  export type GetUsageErrors = {
@@ -982,24 +1031,11 @@ export type GetUsageErrors = {
982
1031
  };
983
1032
  export type GetUsageResponses = {
984
1033
  /**
985
- * An array of usage records.
1034
+ * Usage data with facets for filtering
986
1035
  */
987
- 200: Array<Usage>;
1036
+ 200: UsageResponse;
988
1037
  };
989
1038
  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
1039
  export type GetPaymentMethodData = {
1004
1040
  body?: never;
1005
1041
  path?: never;
@@ -1041,16 +1077,7 @@ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[key
1041
1077
  export type ListInvoicesData = {
1042
1078
  body?: never;
1043
1079
  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
- };
1080
+ query?: never;
1054
1081
  url: '/billing/invoices';
1055
1082
  };
1056
1083
  export type ListInvoicesErrors = {
@@ -1066,26 +1093,6 @@ export type ListInvoicesResponses = {
1066
1093
  200: Array<Invoice>;
1067
1094
  };
1068
1095
  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
1096
  export type GetContactData = {
1090
1097
  body?: never;
1091
1098
  path?: never;
@@ -1521,7 +1528,7 @@ export type GetJoinInformationResponses = {
1521
1528
  /**
1522
1529
  * An object of cluster join information
1523
1530
  */
1524
- 200: Cluster;
1531
+ 200: ClusterJoinInformation;
1525
1532
  };
1526
1533
  export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
1527
1534
  export type ListInvitesData = {
@@ -1615,24 +1622,76 @@ export type ListMarketplaceChartsResponses = {
1615
1622
  200: Array<MarketplaceListing>;
1616
1623
  };
1617
1624
  export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
1618
- export type GetMarketplaceChartData = {
1625
+ export type GetMarketplaceChartFilesData = {
1619
1626
  body?: never;
1620
1627
  path: {
1621
1628
  /**
1622
- * Unique identifier of the chart listing in the marketplace.
1629
+ * Name of the chart in the marketplace.
1630
+ */
1631
+ chart_name: string;
1632
+ /**
1633
+ * Version of the chart.
1634
+ */
1635
+ version: string;
1636
+ };
1637
+ query?: never;
1638
+ url: '/marketplace/{chart_name}/files/{version}';
1639
+ };
1640
+ export type GetMarketplaceChartFilesErrors = {
1641
+ /**
1642
+ * Chart or version not found
1643
+ */
1644
+ 404: unknown;
1645
+ };
1646
+ export type GetMarketplaceChartFilesResponses = {
1647
+ /**
1648
+ * Returns an object containing the chart files.
1649
+ */
1650
+ 200: MarketplaceListingFiles;
1651
+ };
1652
+ export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
1653
+ export type PostMcpData = {
1654
+ /**
1655
+ * JSON-RPC 2.0 request payload
1656
+ */
1657
+ body: {
1658
+ jsonrpc?: string;
1659
+ method?: string;
1660
+ id?: string | number;
1661
+ /**
1662
+ * Method-specific parameters
1623
1663
  */
1624
- listing_id: string;
1664
+ params?: {
1665
+ [key: string]: unknown;
1666
+ };
1625
1667
  };
1668
+ path?: never;
1626
1669
  query?: never;
1627
- url: '/marketplace/{listing_id}';
1670
+ url: '/mcp';
1671
+ };
1672
+ export type PostMcpErrors = {
1673
+ /**
1674
+ * Not authenticated
1675
+ */
1676
+ 401: unknown;
1628
1677
  };
1629
- export type GetMarketplaceChartResponses = {
1678
+ export type PostMcpResponses = {
1630
1679
  /**
1631
- * Returns an object containing the chart listing details.
1680
+ * JSON-RPC 2.0 success or error response
1632
1681
  */
1633
- 200: MarketplaceListing;
1682
+ 200: {
1683
+ jsonrpc?: string;
1684
+ id?: string | number;
1685
+ result?: {
1686
+ [key: string]: unknown;
1687
+ };
1688
+ error?: {
1689
+ code?: number;
1690
+ message?: string;
1691
+ };
1692
+ };
1634
1693
  };
1635
- export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
1694
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
1636
1695
  export type GetOrganizationData = {
1637
1696
  body?: never;
1638
1697
  path?: never;
@@ -1658,6 +1717,144 @@ export type CreateOrganizationResponses = {
1658
1717
  */
1659
1718
  200: unknown;
1660
1719
  };
1720
+ export type ListRepositoriesData = {
1721
+ body?: never;
1722
+ path?: never;
1723
+ query?: never;
1724
+ url: '/registry';
1725
+ };
1726
+ export type ListRepositoriesErrors = {
1727
+ /**
1728
+ * Not authenticated
1729
+ */
1730
+ 401: unknown;
1731
+ /**
1732
+ * Internal server error
1733
+ */
1734
+ 500: unknown;
1735
+ };
1736
+ export type ListRepositoriesResponses = {
1737
+ /**
1738
+ * List of repositories
1739
+ */
1740
+ 200: Array<RegistryRepository>;
1741
+ };
1742
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
1743
+ export type ListTagsData = {
1744
+ body?: never;
1745
+ path: {
1746
+ /**
1747
+ * Region where the repository is located
1748
+ */
1749
+ region: string;
1750
+ /**
1751
+ * Name of the repository
1752
+ */
1753
+ repository: string;
1754
+ };
1755
+ query?: never;
1756
+ url: '/registry/{region}/{repository}';
1757
+ };
1758
+ export type ListTagsErrors = {
1759
+ /**
1760
+ * Not authenticated
1761
+ */
1762
+ 401: unknown;
1763
+ /**
1764
+ * Repository not found
1765
+ */
1766
+ 404: unknown;
1767
+ /**
1768
+ * Internal server error
1769
+ */
1770
+ 500: unknown;
1771
+ };
1772
+ export type ListTagsResponses = {
1773
+ /**
1774
+ * Repository with tags
1775
+ */
1776
+ 200: RegistryRepositoryWithTags;
1777
+ };
1778
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
1779
+ export type DeleteTagData = {
1780
+ body?: never;
1781
+ path: {
1782
+ /**
1783
+ * Region where the repository is located
1784
+ */
1785
+ region: string;
1786
+ /**
1787
+ * Name of the repository
1788
+ */
1789
+ repository: string;
1790
+ /**
1791
+ * Name of the tag
1792
+ */
1793
+ tag: string;
1794
+ };
1795
+ query?: never;
1796
+ url: '/registry/{region}/{repository}/{tag}';
1797
+ };
1798
+ export type DeleteTagErrors = {
1799
+ /**
1800
+ * Not authenticated
1801
+ */
1802
+ 401: unknown;
1803
+ /**
1804
+ * Tag not found
1805
+ */
1806
+ 404: unknown;
1807
+ /**
1808
+ * Internal server error
1809
+ */
1810
+ 500: unknown;
1811
+ };
1812
+ export type DeleteTagResponses = {
1813
+ /**
1814
+ * Tag successfully deleted
1815
+ */
1816
+ 200: unknown;
1817
+ };
1818
+ export type GetTagData = {
1819
+ body?: never;
1820
+ path: {
1821
+ /**
1822
+ * Region where the repository is located
1823
+ */
1824
+ region: string;
1825
+ /**
1826
+ * Name of the repository
1827
+ */
1828
+ repository: string;
1829
+ /**
1830
+ * Name of the tag
1831
+ */
1832
+ tag: string;
1833
+ };
1834
+ query?: never;
1835
+ url: '/registry/{region}/{repository}/{tag}';
1836
+ };
1837
+ export type GetTagErrors = {
1838
+ /**
1839
+ * Not authenticated
1840
+ */
1841
+ 401: unknown;
1842
+ /**
1843
+ * Tag not found
1844
+ */
1845
+ 404: unknown;
1846
+ /**
1847
+ * Internal server error
1848
+ */
1849
+ 500: unknown;
1850
+ };
1851
+ export type GetTagResponses = {
1852
+ /**
1853
+ * Tag details
1854
+ */
1855
+ 200: RegistryTag;
1856
+ };
1857
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
1661
1858
  export type ListTokensData = {
1662
1859
  body?: never;
1663
1860
  path?: never;
@@ -1914,7 +2111,4 @@ export type UpdateUserResponses = {
1914
2111
  200: User;
1915
2112
  };
1916
2113
  export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1917
- export type ClientOptions = {
1918
- baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
1919
- };
1920
2114
  //# sourceMappingURL=types.gen.d.ts.map