@cloudfleet/sdk 0.0.1-6ee63f5 → 0.0.1-713251e

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 (49) hide show
  1. package/dist/client/client.gen.d.ts.map +1 -1
  2. package/dist/client/client.gen.js +77 -21
  3. package/dist/client/client.gen.js.map +1 -1
  4. package/dist/client/index.d.ts +1 -0
  5. package/dist/client/index.d.ts.map +1 -1
  6. package/dist/client/index.js +1 -0
  7. package/dist/client/index.js.map +1 -1
  8. package/dist/client/types.gen.d.ts +12 -10
  9. package/dist/client/types.gen.d.ts.map +1 -1
  10. package/dist/client/utils.gen.d.ts +7 -19
  11. package/dist/client/utils.gen.d.ts.map +1 -1
  12. package/dist/client/utils.gen.js +51 -106
  13. package/dist/client/utils.gen.js.map +1 -1
  14. package/dist/client.gen.d.ts +3 -3
  15. package/dist/client.gen.d.ts.map +1 -1
  16. package/dist/client.gen.js.map +1 -1
  17. package/dist/core/bodySerializer.gen.d.ts.map +1 -1
  18. package/dist/core/bodySerializer.gen.js +3 -0
  19. package/dist/core/bodySerializer.gen.js.map +1 -1
  20. package/dist/core/queryKeySerializer.gen.d.ts +19 -0
  21. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
  22. package/dist/core/queryKeySerializer.gen.js +100 -0
  23. package/dist/core/queryKeySerializer.gen.js.map +1 -0
  24. package/dist/core/serverSentEvents.gen.d.ts +72 -0
  25. package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
  26. package/dist/core/serverSentEvents.gen.js +136 -0
  27. package/dist/core/serverSentEvents.gen.js.map +1 -0
  28. package/dist/core/types.gen.d.ts +12 -12
  29. package/dist/core/types.gen.d.ts.map +1 -1
  30. package/dist/core/utils.gen.d.ts +20 -0
  31. package/dist/core/utils.gen.d.ts.map +1 -0
  32. package/dist/core/utils.gen.js +88 -0
  33. package/dist/core/utils.gen.js.map +1 -0
  34. package/dist/schemas.gen.d.ts +543 -467
  35. package/dist/schemas.gen.d.ts.map +1 -1
  36. package/dist/schemas.gen.js +558 -501
  37. package/dist/schemas.gen.js.map +1 -1
  38. package/dist/sdk.gen.d.ts +90 -20
  39. package/dist/sdk.gen.d.ts.map +1 -1
  40. package/dist/sdk.gen.js +162 -73
  41. package/dist/sdk.gen.js.map +1 -1
  42. package/dist/services/kubernetes/api.d.ts +12 -12
  43. package/dist/types.gen.d.ts +529 -323
  44. package/dist/types.gen.d.ts.map +1 -1
  45. package/dist/zod.gen.d.ts +281 -1305
  46. package/dist/zod.gen.d.ts.map +1 -1
  47. package/dist/zod.gen.js +204 -689
  48. package/dist/zod.gen.js.map +1 -1
  49. package/package.json +4 -4
@@ -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,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
  */
@@ -248,9 +243,9 @@ export type Cluster = {
248
243
  */
249
244
  tier: 'basic' | 'pro';
250
245
  /**
251
- * 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.
252
247
  */
253
- region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
248
+ region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
254
249
  /**
255
250
  * Version of the kubernetes cluster.
256
251
  */
@@ -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.
@@ -430,277 +425,114 @@ export type Invoice = {
430
425
  * Unique identifier of the invoice. UUID v4 string in canonical form
431
426
  */
432
427
  id?: string;
433
- /**
434
- * Unique identifier of the organization. UUID v4 string in canonical form
435
- */
436
- organizationId?: string;
428
+ number?: string;
437
429
  /**
438
430
  * Status of the invoice
439
431
  */
440
- status?: 'DRAFT' | 'COMMITTED' | 'VOID';
432
+ status?: string;
441
433
  /**
442
434
  * Total amount of the invoice
443
435
  */
444
- amount?: number;
436
+ total?: number;
445
437
  /**
446
438
  * Currency of the invoice
447
439
  */
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';
440
+ currency?: string;
449
441
  /**
450
- * Total amount of credit adjustments
442
+ * Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
451
443
  */
452
- creditAdj?: number;
444
+ created: string;
453
445
  /**
454
- * Total amount of refund adjustments
446
+ * Billing period start timestamp. ISO 8601 date string in the UTC timezone.
455
447
  */
456
- refundAdj?: number;
448
+ period_start: string;
457
449
  /**
458
- * Date of the invoice
450
+ * Billing period end timestamp. ISO 8601 date string in the UTC timezone.
459
451
  */
460
- invoiceDate?: string;
452
+ period_end: string;
453
+ invoice_pdf?: string;
454
+ };
455
+ export type MarketplaceListingFiles = {
461
456
  /**
462
- * Target date of the invoice
457
+ * Raw Chart.yaml content from the Helm chart
463
458
  */
464
- targetDate?: string;
459
+ chartYaml?: string;
465
460
  /**
466
- * Number of the invoice
461
+ * Raw values.yaml content from the Helm chart
467
462
  */
468
- invoiceNumber?: string;
463
+ valuesYaml?: string;
469
464
  /**
470
- * Balance of the invoice
465
+ * JSON schema for values.yaml as a string
471
466
  */
472
- balance?: number;
467
+ valuesSchemaJson?: string;
468
+ };
469
+ export type MarketplaceListing = {
473
470
  /**
474
- * Bundle keys of the invoice
471
+ * Name of the chart
475
472
  */
476
- bundleKeys?: string;
473
+ name: string;
477
474
  /**
478
- * Credits of the invoice
475
+ * Available versions of the chart
479
476
  */
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
- }>;
477
+ versions: Array<string>;
568
478
  /**
569
- * Items of the invoice
479
+ * Version channels for the chart
570
480
  */
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;
481
+ version_channels: Array<string>;
482
+ /**
483
+ * Latest version of the chart
484
+ */
485
+ latestVersion: string;
486
+ /**
487
+ * Chart metadata
488
+ */
489
+ metadata?: {
608
490
  /**
609
- * Pretty name of the usage
491
+ * Chart name from metadata
610
492
  */
611
- prettyUsageName?: string;
493
+ name: string;
612
494
  /**
613
- * Type of the invoice item
495
+ * Chart version from metadata
614
496
  */
615
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
497
+ version: string;
616
498
  /**
617
- * Description of the invoice item
499
+ * Chart description
618
500
  */
619
501
  description?: string;
620
502
  /**
621
- * Start date of the invoice item
503
+ * Application version
622
504
  */
623
- startDate?: string;
505
+ appVersion?: string;
624
506
  /**
625
- * End date of the invoice item
507
+ * Helm API version
626
508
  */
627
- endDate?: string;
509
+ apiVersion?: string;
628
510
  /**
629
- * Amount of the invoice item
511
+ * Chart keywords
630
512
  */
631
- amount?: number;
513
+ keywords?: Array<string>;
632
514
  /**
633
- * Rate of the invoice item
515
+ * Chart home URL
634
516
  */
635
- rate?: number;
517
+ home?: string;
636
518
  /**
637
- * Currency of the invoice item
519
+ * Chart source URLs
638
520
  */
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';
521
+ sources?: Array<string>;
640
522
  /**
641
- * Quantity of the invoice item
523
+ * Chart maintainers
642
524
  */
643
- quantity?: number;
644
- /**
645
- * Details of the invoice item
646
- */
647
- itemDetails?: string;
648
- /**
649
- * Effective date of the catalog
650
- */
651
- catalogEffectiveDate?: string;
652
- /**
653
- * Child items of the invoice item
654
- */
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
- }>;
525
+ maintainers?: Array<{
526
+ /**
527
+ * Maintainer name
528
+ */
529
+ name: string;
530
+ /**
531
+ * Maintainer email
532
+ */
533
+ email?: string;
534
+ }>;
535
+ };
704
536
  };
705
537
  export type OrganizationCreateInput = {
706
538
  /**
@@ -782,6 +614,14 @@ export type Organization = {
782
614
  */
783
615
  label: string;
784
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;
785
625
  };
786
626
  /**
787
627
  * Status of the organization. Can be `active` or `closed`, or `suspended`.
@@ -818,6 +658,172 @@ export type PaymentMethod = {
818
658
  */
819
659
  brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
820
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
+ };
821
827
  export type TokenCreateInput = {
822
828
  /**
823
829
  * Human readable access token name.
@@ -860,35 +866,85 @@ export type TokenUpdateInput = {
860
866
  */
861
867
  role?: 'Administrator' | 'User';
862
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
+ };
863
923
  export type Usage = {
864
924
  /**
865
925
  * Hour of the usage
866
926
  */
867
- hour?: string;
927
+ hour: string;
868
928
  /**
869
929
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
870
930
  */
871
931
  cluster_id: string;
872
932
  /**
873
- * Tier of the cluster.
933
+ * The product the usage is associated with
874
934
  */
875
- cluster_tier: 'basic' | 'pro' | '';
935
+ product: string;
876
936
  /**
877
- * The product the usage is associated with
937
+ * Consumption
878
938
  */
879
- product: 'cfke_controlplane' | 'cfke_connected_nodes' | 'infra_compute' | 'infra_storage' | 'infra_loadbalancing' | 'infra_traffic' | 'cfcr_storage';
939
+ value: number;
880
940
  /**
881
- * Name of the Kubernetes node
941
+ * Price per unit
882
942
  */
883
- node_name: string;
943
+ price: number;
884
944
  /**
885
- * SKU of the Kubernetes node
945
+ * Total cost
886
946
  */
887
- sku: string;
888
- cpu: number | '';
889
- price: number | '';
890
- value: number | '';
891
- total: number | '';
947
+ total: number;
892
948
  };
893
949
  export type UserCreateInput = {
894
950
  /**
@@ -975,7 +1031,12 @@ export type UserUpdateInput = {
975
1031
  export type GetUsageData = {
976
1032
  body?: never;
977
1033
  path?: never;
978
- 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
+ };
979
1040
  url: '/billing/usage';
980
1041
  };
981
1042
  export type GetUsageErrors = {
@@ -986,24 +1047,11 @@ export type GetUsageErrors = {
986
1047
  };
987
1048
  export type GetUsageResponses = {
988
1049
  /**
989
- * An array of usage records.
1050
+ * Usage data with facets for filtering
990
1051
  */
991
- 200: Array<Usage>;
1052
+ 200: UsageResponse;
992
1053
  };
993
1054
  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
1055
  export type GetPaymentMethodData = {
1008
1056
  body?: never;
1009
1057
  path?: never;
@@ -1045,16 +1093,7 @@ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[key
1045
1093
  export type ListInvoicesData = {
1046
1094
  body?: never;
1047
1095
  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
- };
1096
+ query?: never;
1058
1097
  url: '/billing/invoices';
1059
1098
  };
1060
1099
  export type ListInvoicesErrors = {
@@ -1070,26 +1109,6 @@ export type ListInvoicesResponses = {
1070
1109
  200: Array<Invoice>;
1071
1110
  };
1072
1111
  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
1112
  export type GetContactData = {
1094
1113
  body?: never;
1095
1114
  path?: never;
@@ -1619,24 +1638,76 @@ export type ListMarketplaceChartsResponses = {
1619
1638
  200: Array<MarketplaceListing>;
1620
1639
  };
1621
1640
  export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
1622
- export type GetMarketplaceChartData = {
1641
+ export type GetMarketplaceChartFilesData = {
1623
1642
  body?: never;
1624
1643
  path: {
1625
1644
  /**
1626
- * 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
1627
1679
  */
1628
- listing_id: string;
1680
+ params?: {
1681
+ [key: string]: unknown;
1682
+ };
1629
1683
  };
1684
+ path?: never;
1630
1685
  query?: never;
1631
- url: '/marketplace/{listing_id}';
1686
+ url: '/mcp';
1632
1687
  };
1633
- export type GetMarketplaceChartResponses = {
1688
+ export type PostMcpErrors = {
1634
1689
  /**
1635
- * Returns an object containing the chart listing details.
1690
+ * Not authenticated
1636
1691
  */
1637
- 200: MarketplaceListing;
1692
+ 401: unknown;
1638
1693
  };
1639
- 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];
1640
1711
  export type GetOrganizationData = {
1641
1712
  body?: never;
1642
1713
  path?: never;
@@ -1662,6 +1733,144 @@ export type CreateOrganizationResponses = {
1662
1733
  */
1663
1734
  200: unknown;
1664
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];
1665
1874
  export type ListTokensData = {
1666
1875
  body?: never;
1667
1876
  path?: never;
@@ -1918,7 +2127,4 @@ export type UpdateUserResponses = {
1918
2127
  200: User;
1919
2128
  };
1920
2129
  export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1921
- export type ClientOptions = {
1922
- baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
1923
- };
1924
2130
  //# sourceMappingURL=types.gen.d.ts.map