@cloudfleet/sdk 0.0.1-768ab1e → 0.0.1-7a6b7de

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 (54) hide show
  1. package/dist/client/client.gen.d.ts.map +1 -1
  2. package/dist/client/client.gen.js +39 -8
  3. package/dist/client/client.gen.js.map +1 -1
  4. package/dist/client/index.d.ts +1 -1
  5. package/dist/client/index.d.ts.map +1 -1
  6. package/dist/client/index.js.map +1 -1
  7. package/dist/client/types.gen.d.ts +4 -11
  8. package/dist/client/types.gen.d.ts.map +1 -1
  9. package/dist/client/utils.gen.d.ts +1 -1
  10. package/dist/client/utils.gen.d.ts.map +1 -1
  11. package/dist/client/utils.gen.js +10 -12
  12. package/dist/client/utils.gen.js.map +1 -1
  13. package/dist/client.gen.d.ts.map +1 -1
  14. package/dist/client.gen.js +1 -3
  15. package/dist/client.gen.js.map +1 -1
  16. package/dist/core/auth.gen.d.ts.map +1 -1
  17. package/dist/core/auth.gen.js.map +1 -1
  18. package/dist/core/bodySerializer.gen.d.ts +16 -8
  19. package/dist/core/bodySerializer.gen.d.ts.map +1 -1
  20. package/dist/core/bodySerializer.gen.js +1 -1
  21. package/dist/core/bodySerializer.gen.js.map +1 -1
  22. package/dist/core/params.gen.d.ts +10 -0
  23. package/dist/core/params.gen.d.ts.map +1 -1
  24. package/dist/core/params.gen.js +18 -6
  25. package/dist/core/params.gen.js.map +1 -1
  26. package/dist/core/pathSerializer.gen.d.ts.map +1 -1
  27. package/dist/core/pathSerializer.gen.js +3 -11
  28. package/dist/core/pathSerializer.gen.js.map +1 -1
  29. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -1
  30. package/dist/core/queryKeySerializer.gen.js +4 -11
  31. package/dist/core/queryKeySerializer.gen.js.map +1 -1
  32. package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
  33. package/dist/core/serverSentEvents.gen.js +5 -7
  34. package/dist/core/serverSentEvents.gen.js.map +1 -1
  35. package/dist/core/types.gen.d.ts +1 -1
  36. package/dist/core/types.gen.d.ts.map +1 -1
  37. package/dist/core/utils.gen.d.ts.map +1 -1
  38. package/dist/core/utils.gen.js +1 -1
  39. package/dist/core/utils.gen.js.map +1 -1
  40. package/dist/schemas.gen.d.ts +603 -479
  41. package/dist/schemas.gen.d.ts.map +1 -1
  42. package/dist/schemas.gen.js +1138 -585
  43. package/dist/schemas.gen.js.map +1 -1
  44. package/dist/sdk.gen.d.ts +98 -19
  45. package/dist/sdk.gen.d.ts.map +1 -1
  46. package/dist/sdk.gen.js +144 -149
  47. package/dist/sdk.gen.js.map +1 -1
  48. package/dist/types.gen.d.ts +587 -324
  49. package/dist/types.gen.d.ts.map +1 -1
  50. package/dist/zod.gen.d.ts +617 -1813
  51. package/dist/zod.gen.d.ts.map +1 -1
  52. package/dist/zod.gen.js +364 -1075
  53. package/dist/zod.gen.js.map +1 -1
  54. package/package.json +9 -5
@@ -39,13 +39,9 @@ export type BillingContact = {
39
39
  */
40
40
  email: string;
41
41
  /**
42
- * First name of the billing contact person.
43
- */
44
- first_name: string;
45
- /**
46
- * Last name of the billing contact person.
42
+ * Name of the billing contact person.
47
43
  */
48
- last_name: string;
44
+ individual_name: string;
49
45
  /**
50
46
  * Tax ID of the organization.
51
47
  */
@@ -61,35 +57,31 @@ export type BillingCredits = {
61
57
  */
62
58
  id?: string;
63
59
  /**
64
- * Date of the credit application. ISO 8601 date string in the UTC timezone.
65
- */
66
- date_created: string;
67
- /**
68
- * Promotional code used by the customer.
60
+ * Type of the promotional code.
69
61
  */
70
- code: string;
62
+ type: 'credit' | 'discount';
71
63
  /**
72
- * Description of the promotional code.
64
+ * Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
73
65
  */
74
- description?: string;
66
+ date_start: string;
75
67
  /**
76
- * 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.
77
69
  */
78
- products?: Array<string>;
70
+ date_end?: string;
79
71
  /**
80
- * Type of the promotional code.
72
+ * Promotional code used by the customer.
81
73
  */
82
- type: 'credit' | 'discount';
74
+ code: string;
83
75
  /**
84
- * Value of the promotional code.
76
+ * Description of the promotional code.
85
77
  */
86
- value: number;
78
+ description?: string;
87
79
  /**
88
- * Date of the billing cycle. An ISO 8601 date string in the UTC timezone.
80
+ * Total value of the promotional code.
89
81
  */
90
- billing_period: string;
82
+ value_total: number;
91
83
  /**
92
- * Value of the promotional code.
84
+ * Remaining value of the promotional code.
93
85
  */
94
86
  value_remaining?: number;
95
87
  };
@@ -177,13 +169,13 @@ export type ClusterCreateInput = {
177
169
  */
178
170
  tier: 'basic' | 'pro';
179
171
  /**
180
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-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.
181
173
  */
182
- region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
174
+ region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
183
175
  /**
184
176
  * Version of the kubernetes cluster.
185
177
  */
186
- 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';
187
179
  };
188
180
  export type ClusterJoinInformation = {
189
181
  /**
@@ -194,6 +186,10 @@ export type ClusterJoinInformation = {
194
186
  * Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
195
187
  */
196
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;
197
193
  /**
198
194
  * Authentication key for the cluster.
199
195
  */
@@ -251,13 +247,9 @@ export type Cluster = {
251
247
  */
252
248
  tier: 'basic' | 'pro';
253
249
  /**
254
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-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.
255
251
  */
256
- region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
257
- /**
258
- * Version of the kubernetes cluster.
259
- */
260
- version_channel?: string;
252
+ region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
261
253
  /**
262
254
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
263
255
  */
@@ -265,7 +257,7 @@ export type Cluster = {
265
257
  /**
266
258
  * Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
267
259
  */
268
- status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
260
+ status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
269
261
  endpoint?: string | '';
270
262
  /**
271
263
  * Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
@@ -287,6 +279,10 @@ export type Cluster = {
287
279
  * Indicates if the cluster is ready to be used.
288
280
  */
289
281
  ready?: boolean;
282
+ /**
283
+ * Version of the kubernetes cluster.
284
+ */
285
+ version_channel?: string;
290
286
  };
291
287
  export type ClusterUpdateInput = {
292
288
  /**
@@ -430,280 +426,121 @@ export type Invite = {
430
426
  };
431
427
  export type Invoice = {
432
428
  /**
433
- * Unique identifier of the invoice. UUID v4 string in canonical form
429
+ * Unique identifier of the invoice.
434
430
  */
435
431
  id?: string;
436
- /**
437
- * Unique identifier of the organization. UUID v4 string in canonical form
438
- */
439
- organizationId?: string;
432
+ number?: string;
440
433
  /**
441
434
  * Status of the invoice
442
435
  */
443
- status?: 'DRAFT' | 'COMMITTED' | 'VOID';
436
+ status?: string;
444
437
  /**
445
438
  * Total amount of the invoice
446
439
  */
447
- amount?: number;
440
+ total?: number;
448
441
  /**
449
442
  * Currency of the invoice
450
443
  */
451
- 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;
452
445
  /**
453
- * Total amount of credit adjustments
446
+ * Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
454
447
  */
455
- creditAdj?: number;
448
+ created: string;
456
449
  /**
457
- * Total amount of refund adjustments
450
+ * Billing period start timestamp. ISO 8601 date string in the UTC timezone.
458
451
  */
459
- refundAdj?: number;
452
+ period_start: string;
460
453
  /**
461
- * Date of the invoice
454
+ * Billing period end timestamp. ISO 8601 date string in the UTC timezone.
462
455
  */
463
- invoiceDate?: string;
456
+ period_end: string;
457
+ invoice_pdf?: string;
458
+ };
459
+ export type MarketplaceListingFiles = {
464
460
  /**
465
- * Target date of the invoice
461
+ * Raw Chart.yaml content from the Helm chart
466
462
  */
467
- targetDate?: string;
463
+ chartYaml?: string;
468
464
  /**
469
- * Number of the invoice
465
+ * Raw values.yaml content from the Helm chart
470
466
  */
471
- invoiceNumber?: string;
467
+ valuesYaml?: string;
472
468
  /**
473
- * Balance of the invoice
469
+ * JSON schema for values.yaml as a string
474
470
  */
475
- balance?: number;
471
+ valuesSchemaJson?: string;
472
+ };
473
+ export type MarketplaceListing = {
476
474
  /**
477
- * Bundle keys of the invoice
475
+ * Name of the chart
478
476
  */
479
- bundleKeys?: string;
477
+ name: string;
480
478
  /**
481
- * Credits of the invoice
479
+ * Available versions of the chart
482
480
  */
483
- credits?: Array<{
484
- /**
485
- * Unique identifier of the invoice item. UUID v4 string in canonical form
486
- */
487
- id?: string;
488
- /**
489
- * Unique identifier of the linked invoice item. UUID v4 string in canonical form
490
- */
491
- linkedInvoiceItemId?: string;
492
- /**
493
- * Name of the product
494
- */
495
- productName?: string;
496
- /**
497
- * Name of the plan
498
- */
499
- planName?: string;
500
- /**
501
- * Name of the phase
502
- */
503
- phaseName?: string;
504
- /**
505
- * Name of the usage
506
- */
507
- usageName?: string;
508
- /**
509
- * Pretty name of the product
510
- */
511
- prettyProductName?: string;
512
- /**
513
- * Pretty name of the plan
514
- */
515
- prettyPlanName?: string;
516
- /**
517
- * Pretty name of the phase
518
- */
519
- prettyPhaseName?: string;
520
- /**
521
- * Pretty name of the usage
522
- */
523
- prettyUsageName?: string;
524
- /**
525
- * Type of the invoice item
526
- */
527
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
528
- /**
529
- * Description of the invoice item
530
- */
531
- description?: string;
532
- /**
533
- * Start date of the invoice item
534
- */
535
- startDate?: string;
536
- /**
537
- * End date of the invoice item
538
- */
539
- endDate?: string;
540
- /**
541
- * Amount of the invoice item
542
- */
543
- amount?: number;
544
- /**
545
- * Rate of the invoice item
546
- */
547
- rate?: number;
548
- /**
549
- * Currency of the invoice item
550
- */
551
- 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';
552
- /**
553
- * Quantity of the invoice item
554
- */
555
- quantity?: number;
556
- /**
557
- * Details of the invoice item
558
- */
559
- itemDetails?: string;
560
- /**
561
- * Effective date of the catalog
562
- */
563
- catalogEffectiveDate?: string;
564
- /**
565
- * Child items of the invoice item
566
- */
567
- childItems?: Array<Array<unknown> | boolean | number | {
568
- [key: string]: unknown;
569
- } | string>;
570
- }>;
481
+ versions: Array<string>;
571
482
  /**
572
- * Items of the invoice
483
+ * Version channels for the chart
573
484
  */
574
- items?: Array<{
575
- /**
576
- * Unique identifier of the invoice item. UUID v4 string in canonical form
577
- */
578
- id?: string;
579
- /**
580
- * Unique identifier of the linked invoice item. UUID v4 string in canonical form
581
- */
582
- linkedInvoiceItemId?: string;
583
- /**
584
- * Name of the product
585
- */
586
- productName?: string;
587
- /**
588
- * Name of the plan
589
- */
590
- planName?: string;
591
- /**
592
- * Name of the phase
593
- */
594
- phaseName?: string;
595
- /**
596
- * Name of the usage
597
- */
598
- usageName?: string;
599
- /**
600
- * Pretty name of the product
601
- */
602
- prettyProductName?: string;
603
- /**
604
- * Pretty name of the plan
605
- */
606
- prettyPlanName?: string;
607
- /**
608
- * Pretty name of the phase
609
- */
610
- 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?: {
611
494
  /**
612
- * Pretty name of the usage
495
+ * Chart name from metadata
613
496
  */
614
- prettyUsageName?: string;
497
+ name: string;
615
498
  /**
616
- * Type of the invoice item
499
+ * Chart version from metadata
617
500
  */
618
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
501
+ version: string;
619
502
  /**
620
- * Description of the invoice item
503
+ * Chart description
621
504
  */
622
505
  description?: string;
623
506
  /**
624
- * Start date of the invoice item
625
- */
626
- startDate?: string;
627
- /**
628
- * End date of the invoice item
507
+ * Application version
629
508
  */
630
- endDate?: string;
509
+ appVersion?: string;
631
510
  /**
632
- * Amount of the invoice item
511
+ * Helm API version
633
512
  */
634
- amount?: number;
513
+ apiVersion?: string;
635
514
  /**
636
- * Rate of the invoice item
515
+ * Chart keywords
637
516
  */
638
- rate?: number;
517
+ keywords?: Array<string>;
639
518
  /**
640
- * Currency of the invoice item
519
+ * Chart home URL
641
520
  */
642
- 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
+ home?: string;
643
522
  /**
644
- * Quantity of the invoice item
523
+ * A URL to an SVG or PNG image to be used as an icon
645
524
  */
646
- quantity?: number;
525
+ icon?: string;
647
526
  /**
648
- * Details of the invoice item
527
+ * Chart source URLs
649
528
  */
650
- itemDetails?: string;
529
+ sources?: Array<string>;
651
530
  /**
652
- * Effective date of the catalog
531
+ * Chart maintainers
653
532
  */
654
- catalogEffectiveDate?: string;
655
- /**
656
- * Child items of the invoice item
657
- */
658
- childItems?: Array<Array<unknown> | boolean | number | {
659
- [key: string]: unknown;
660
- } | string>;
661
- }>;
662
- };
663
- export type MarketplaceListing = {
664
- /**
665
- * Id of the chart listing
666
- */
667
- id: string;
668
- /**
669
- * Name of the chart listing
670
- */
671
- name: string;
672
- /**
673
- * Author of the chart listing
674
- */
675
- developer: string;
676
- /**
677
- * Short description of the chart listing
678
- */
679
- description: string;
680
- /**
681
- * Logo of the chart listing
682
- */
683
- logoUrl: string;
684
- /**
685
- * Long description of the chart listing
686
- */
687
- longDescription: string;
688
- /**
689
- * Tags of the chart
690
- */
691
- categories: Array<string>;
692
- version_channels: Array<string>;
693
- value_schemas: Array<{
694
- /**
695
- * Version of the chart.
696
- */
697
- version: string;
698
- /**
699
- * Schema of the chart values. JSON Schema as string
700
- */
701
- schema: string;
702
- /**
703
- * Schema of the chart values
704
- */
705
- placeholder: string;
706
- }>;
533
+ maintainers?: Array<{
534
+ /**
535
+ * Maintainer name
536
+ */
537
+ name: string;
538
+ /**
539
+ * Maintainer email
540
+ */
541
+ email?: string;
542
+ }>;
543
+ };
707
544
  };
708
545
  export type OrganizationCreateInput = {
709
546
  /**
@@ -785,6 +622,10 @@ export type Organization = {
785
622
  */
786
623
  label: string;
787
624
  }>;
625
+ /**
626
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
627
+ */
628
+ cfcr_storage_gb: number;
788
629
  };
789
630
  /**
790
631
  * Status of the organization. Can be `active` or `closed`, or `suspended`.
@@ -821,6 +662,201 @@ export type PaymentMethod = {
821
662
  */
822
663
  brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
823
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
+ };
824
860
  export type TokenCreateInput = {
825
861
  /**
826
862
  * Human readable access token name.
@@ -863,35 +899,85 @@ export type TokenUpdateInput = {
863
899
  */
864
900
  role?: 'Administrator' | 'User';
865
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
+ };
866
956
  export type Usage = {
867
957
  /**
868
958
  * Hour of the usage
869
959
  */
870
- hour?: string;
960
+ hour: string;
871
961
  /**
872
962
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
873
963
  */
874
964
  cluster_id: string;
875
965
  /**
876
- * Tier of the cluster.
966
+ * The product the usage is associated with
877
967
  */
878
- cluster_tier: 'basic' | 'pro' | '';
968
+ product: string;
879
969
  /**
880
- * The product the usage is associated with
970
+ * Consumption
881
971
  */
882
- product: 'cfke_controlplane' | 'cfke_connected_nodes' | 'infra_compute' | 'infra_storage' | 'infra_loadbalancing' | 'infra_traffic' | 'cfcr_storage';
972
+ value: number;
883
973
  /**
884
- * Name of the Kubernetes node
974
+ * Price per unit
885
975
  */
886
- node_name: string;
976
+ price: number;
887
977
  /**
888
- * SKU of the Kubernetes node
978
+ * Total cost
889
979
  */
890
- sku: string;
891
- cpu: number | '';
892
- price: number | '';
893
- value: number | '';
894
- total: number | '';
980
+ total: number;
895
981
  };
896
982
  export type UserCreateInput = {
897
983
  /**
@@ -978,7 +1064,12 @@ export type UserUpdateInput = {
978
1064
  export type GetUsageData = {
979
1065
  body?: never;
980
1066
  path?: never;
981
- 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
+ };
982
1073
  url: '/billing/usage';
983
1074
  };
984
1075
  export type GetUsageErrors = {
@@ -989,24 +1080,11 @@ export type GetUsageErrors = {
989
1080
  };
990
1081
  export type GetUsageResponses = {
991
1082
  /**
992
- * An array of usage records.
1083
+ * Usage data with facets for filtering
993
1084
  */
994
- 200: Array<Usage>;
1085
+ 200: UsageResponse;
995
1086
  };
996
1087
  export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
997
- export type GetBalanceData = {
998
- body?: never;
999
- path?: never;
1000
- query?: never;
1001
- url: '/billing/balance';
1002
- };
1003
- export type GetBalanceResponses = {
1004
- /**
1005
- * Current balance of the organization in USD as a floating-point number.
1006
- */
1007
- 200: number;
1008
- };
1009
- export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
1010
1088
  export type GetPaymentMethodData = {
1011
1089
  body?: never;
1012
1090
  path?: never;
@@ -1048,16 +1126,7 @@ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[key
1048
1126
  export type ListInvoicesData = {
1049
1127
  body?: never;
1050
1128
  path?: never;
1051
- query: {
1052
- /**
1053
- * Start date for the usage. Date of oldest data point to retrieve.
1054
- */
1055
- start_date: string;
1056
- /**
1057
- * End date for the usage. Date of newest data point to retrieve.
1058
- */
1059
- end_date: string;
1060
- };
1129
+ query?: never;
1061
1130
  url: '/billing/invoices';
1062
1131
  };
1063
1132
  export type ListInvoicesErrors = {
@@ -1073,26 +1142,6 @@ export type ListInvoicesResponses = {
1073
1142
  200: Array<Invoice>;
1074
1143
  };
1075
1144
  export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1076
- export type GetInvoiceData = {
1077
- body?: never;
1078
- path: {
1079
- /**
1080
- * Unique invoice identifier. UUID v4 string in canonical form
1081
- */
1082
- id: string;
1083
- };
1084
- query?: never;
1085
- url: '/billing/invoices/{id}';
1086
- };
1087
- export type GetInvoiceResponses = {
1088
- /**
1089
- * Returns a single Invoice HTML representation under `html` property.
1090
- */
1091
- 200: {
1092
- html?: string;
1093
- };
1094
- };
1095
- export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
1096
1145
  export type GetContactData = {
1097
1146
  body?: never;
1098
1147
  path?: never;
@@ -1507,6 +1556,30 @@ export type UpdateClusterResponses = {
1507
1556
  200: Cluster;
1508
1557
  };
1509
1558
  export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
1559
+ export type GetClusterCaData = {
1560
+ body?: never;
1561
+ path: {
1562
+ /**
1563
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1564
+ */
1565
+ cluster_id: string;
1566
+ };
1567
+ query?: never;
1568
+ url: '/clusters/{cluster_id}/ca';
1569
+ };
1570
+ export type GetClusterCaErrors = {
1571
+ /**
1572
+ * Cluster not found, or its certificate authority is not available yet.
1573
+ */
1574
+ 404: unknown;
1575
+ };
1576
+ export type GetClusterCaResponses = {
1577
+ /**
1578
+ * PEM-encoded certificate authority of the cluster.
1579
+ */
1580
+ 200: string;
1581
+ };
1582
+ export type GetClusterCaResponse = GetClusterCaResponses[keyof GetClusterCaResponses];
1510
1583
  export type GetJoinInformationData = {
1511
1584
  body?: never;
1512
1585
  path: {
@@ -1622,24 +1695,76 @@ export type ListMarketplaceChartsResponses = {
1622
1695
  200: Array<MarketplaceListing>;
1623
1696
  };
1624
1697
  export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
1625
- export type GetMarketplaceChartData = {
1698
+ export type GetMarketplaceChartFilesData = {
1626
1699
  body?: never;
1627
1700
  path: {
1628
1701
  /**
1629
- * Unique identifier of the chart listing in the marketplace.
1702
+ * Name of the chart in the marketplace.
1630
1703
  */
1631
- listing_id: string;
1704
+ chart_name: string;
1705
+ /**
1706
+ * 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).
1707
+ */
1708
+ version_channel: string;
1709
+ };
1710
+ query?: never;
1711
+ url: '/marketplace/{chart_name}/files/{version_channel}';
1712
+ };
1713
+ export type GetMarketplaceChartFilesErrors = {
1714
+ /**
1715
+ * Chart not found or no version matches the channel
1716
+ */
1717
+ 404: unknown;
1718
+ };
1719
+ export type GetMarketplaceChartFilesResponses = {
1720
+ /**
1721
+ * Returns an object containing the chart files for the latest matching version.
1722
+ */
1723
+ 200: MarketplaceListingFiles;
1724
+ };
1725
+ export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
1726
+ export type PostMcpData = {
1727
+ /**
1728
+ * JSON-RPC 2.0 request payload
1729
+ */
1730
+ body: {
1731
+ jsonrpc?: string;
1732
+ method?: string;
1733
+ id?: string | number;
1734
+ /**
1735
+ * Method-specific parameters
1736
+ */
1737
+ params?: {
1738
+ [key: string]: unknown;
1739
+ };
1632
1740
  };
1741
+ path?: never;
1633
1742
  query?: never;
1634
- url: '/marketplace/{listing_id}';
1743
+ url: '/mcp';
1744
+ };
1745
+ export type PostMcpErrors = {
1746
+ /**
1747
+ * Not authenticated
1748
+ */
1749
+ 401: unknown;
1635
1750
  };
1636
- export type GetMarketplaceChartResponses = {
1751
+ export type PostMcpResponses = {
1637
1752
  /**
1638
- * Returns an object containing the chart listing details.
1753
+ * JSON-RPC 2.0 success or error response
1639
1754
  */
1640
- 200: MarketplaceListing;
1755
+ 200: {
1756
+ jsonrpc?: string;
1757
+ id?: string | number;
1758
+ result?: {
1759
+ [key: string]: unknown;
1760
+ };
1761
+ error?: {
1762
+ code?: number;
1763
+ message?: string;
1764
+ };
1765
+ };
1641
1766
  };
1642
- export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
1767
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
1643
1768
  export type GetOrganizationData = {
1644
1769
  body?: never;
1645
1770
  path?: never;
@@ -1665,6 +1790,144 @@ export type CreateOrganizationResponses = {
1665
1790
  */
1666
1791
  200: unknown;
1667
1792
  };
1793
+ export type ListRepositoriesData = {
1794
+ body?: never;
1795
+ path?: never;
1796
+ query?: never;
1797
+ url: '/registry';
1798
+ };
1799
+ export type ListRepositoriesErrors = {
1800
+ /**
1801
+ * Not authenticated
1802
+ */
1803
+ 401: unknown;
1804
+ /**
1805
+ * Internal server error
1806
+ */
1807
+ 500: unknown;
1808
+ };
1809
+ export type ListRepositoriesResponses = {
1810
+ /**
1811
+ * List of repositories
1812
+ */
1813
+ 200: Array<RegistryRepository>;
1814
+ };
1815
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
1816
+ export type ListTagsData = {
1817
+ body?: never;
1818
+ path: {
1819
+ /**
1820
+ * Region where the repository is located
1821
+ */
1822
+ region: string;
1823
+ /**
1824
+ * Name of the repository
1825
+ */
1826
+ repository: string;
1827
+ };
1828
+ query?: never;
1829
+ url: '/registry/{region}/{repository}';
1830
+ };
1831
+ export type ListTagsErrors = {
1832
+ /**
1833
+ * Not authenticated
1834
+ */
1835
+ 401: unknown;
1836
+ /**
1837
+ * Repository not found
1838
+ */
1839
+ 404: unknown;
1840
+ /**
1841
+ * Internal server error
1842
+ */
1843
+ 500: unknown;
1844
+ };
1845
+ export type ListTagsResponses = {
1846
+ /**
1847
+ * Repository with tags
1848
+ */
1849
+ 200: RegistryRepositoryWithTags;
1850
+ };
1851
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
1852
+ export type DeleteTagData = {
1853
+ body?: never;
1854
+ path: {
1855
+ /**
1856
+ * Region where the repository is located
1857
+ */
1858
+ region: string;
1859
+ /**
1860
+ * Name of the repository
1861
+ */
1862
+ repository: string;
1863
+ /**
1864
+ * Name of the tag
1865
+ */
1866
+ tag: string;
1867
+ };
1868
+ query?: never;
1869
+ url: '/registry/{region}/{repository}/{tag}';
1870
+ };
1871
+ export type DeleteTagErrors = {
1872
+ /**
1873
+ * Not authenticated
1874
+ */
1875
+ 401: unknown;
1876
+ /**
1877
+ * Tag not found
1878
+ */
1879
+ 404: unknown;
1880
+ /**
1881
+ * Internal server error
1882
+ */
1883
+ 500: unknown;
1884
+ };
1885
+ export type DeleteTagResponses = {
1886
+ /**
1887
+ * Tag successfully deleted
1888
+ */
1889
+ 200: unknown;
1890
+ };
1891
+ export type GetTagData = {
1892
+ body?: never;
1893
+ path: {
1894
+ /**
1895
+ * Region where the repository is located
1896
+ */
1897
+ region: string;
1898
+ /**
1899
+ * Name of the repository
1900
+ */
1901
+ repository: string;
1902
+ /**
1903
+ * Name of the tag
1904
+ */
1905
+ tag: string;
1906
+ };
1907
+ query?: never;
1908
+ url: '/registry/{region}/{repository}/{tag}';
1909
+ };
1910
+ export type GetTagErrors = {
1911
+ /**
1912
+ * Not authenticated
1913
+ */
1914
+ 401: unknown;
1915
+ /**
1916
+ * Tag not found
1917
+ */
1918
+ 404: unknown;
1919
+ /**
1920
+ * Internal server error
1921
+ */
1922
+ 500: unknown;
1923
+ };
1924
+ export type GetTagResponses = {
1925
+ /**
1926
+ * Tag details
1927
+ */
1928
+ 200: RegistryTag;
1929
+ };
1930
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
1668
1931
  export type ListTokensData = {
1669
1932
  body?: never;
1670
1933
  path?: never;