@cloudfleet/sdk 0.0.1-d36fcac → 0.0.1-d4c7bbc

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 +629 -481
  41. package/dist/schemas.gen.d.ts.map +1 -1
  42. package/dist/schemas.gen.js +1166 -585
  43. package/dist/schemas.gen.js.map +1 -1
  44. package/dist/sdk.gen.d.ts +91 -19
  45. package/dist/sdk.gen.d.ts.map +1 -1
  46. package/dist/sdk.gen.js +135 -149
  47. package/dist/sdk.gen.js.map +1 -1
  48. package/dist/types.gen.d.ts +579 -324
  49. package/dist/types.gen.d.ts.map +1 -1
  50. package/dist/zod.gen.d.ts +616 -1813
  51. package/dist/zod.gen.d.ts.map +1 -1
  52. package/dist/zod.gen.js +361 -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.
42
+ * Name of the billing contact person.
43
43
  */
44
- first_name: string;
45
- /**
46
- * Last name of the billing contact person.
47
- */
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.
255
- */
256
- region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
257
- /**
258
- * Version of the kubernetes cluster.
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.
259
251
  */
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
507
+ * Application version
625
508
  */
626
- startDate?: string;
509
+ appVersion?: string;
627
510
  /**
628
- * End date of the invoice item
511
+ * Helm API version
629
512
  */
630
- endDate?: string;
513
+ apiVersion?: string;
631
514
  /**
632
- * Amount of the invoice item
515
+ * Chart keywords
633
516
  */
634
- amount?: number;
517
+ keywords?: Array<string>;
635
518
  /**
636
- * Rate of the invoice item
519
+ * Chart home URL
637
520
  */
638
- rate?: number;
521
+ home?: string;
639
522
  /**
640
- * Currency of the invoice item
523
+ * A URL to an SVG or PNG image to be used as an icon
641
524
  */
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';
525
+ icon?: string;
643
526
  /**
644
- * Quantity of the invoice item
527
+ * Chart source URLs
645
528
  */
646
- quantity?: number;
529
+ sources?: Array<string>;
647
530
  /**
648
- * Details of the invoice item
531
+ * Chart maintainers
649
532
  */
650
- itemDetails?: string;
651
- /**
652
- * Effective date of the catalog
653
- */
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,18 @@ export type Organization = {
785
622
  */
786
623
  label: string;
787
624
  }>;
625
+ /**
626
+ * User-level maximum number of tokens Cloudfleet Copilot can process per hour.
627
+ */
628
+ copilot_user_hourly_tokens: number;
629
+ /**
630
+ * Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.
631
+ */
632
+ copilot_organization_hourly_tokens: number;
633
+ /**
634
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
635
+ */
636
+ cfcr_storage_gb: number;
788
637
  };
789
638
  /**
790
639
  * Status of the organization. Can be `active` or `closed`, or `suspended`.
@@ -821,6 +670,209 @@ export type PaymentMethod = {
821
670
  */
822
671
  brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
823
672
  };
673
+ export type PlatformQuota = {
674
+ /**
675
+ * Maximum number of Basic clusters that can be created.
676
+ */
677
+ basic_clusters_max: number;
678
+ /**
679
+ * Available number of Basic clusters that can be created.
680
+ */
681
+ basic_clusters_available: number;
682
+ /**
683
+ * Maximum number of Pro clusters that can be created.
684
+ */
685
+ pro_clusters_max: number;
686
+ /**
687
+ * Available number of Pro clusters that can be created.
688
+ */
689
+ pro_clusters_available: number;
690
+ /**
691
+ * Maximum number of fleets that can be created per cluster.
692
+ */
693
+ fleets_max: number;
694
+ /**
695
+ * List of Cloudfleet cluster tiers available for the organization.
696
+ */
697
+ cluster_tiers: Array<string>;
698
+ /**
699
+ * List of Cloudfleet control plane regions available for the organization.
700
+ */
701
+ regions: Array<string>;
702
+ /**
703
+ * List of CFKE control plane versions available for the organization.
704
+ */
705
+ versions: Array<{
706
+ /**
707
+ * Id of the control plane version. Used in API calls.
708
+ */
709
+ id: string;
710
+ /**
711
+ * Label of the control plane version. Used in frontent UI.
712
+ */
713
+ label: string;
714
+ }>;
715
+ /**
716
+ * User-level maximum number of tokens Cloudfleet Copilot can process per hour.
717
+ */
718
+ copilot_user_hourly_tokens: number;
719
+ /**
720
+ * Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.
721
+ */
722
+ copilot_organization_hourly_tokens: number;
723
+ /**
724
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
725
+ */
726
+ cfcr_storage_gb: number;
727
+ };
728
+ export type RegistryRepository = {
729
+ /**
730
+ * Repository name.
731
+ */
732
+ name: string;
733
+ /**
734
+ * Registry region.
735
+ */
736
+ region: string;
737
+ /**
738
+ * Full URI of the repository.
739
+ */
740
+ uri: string;
741
+ };
742
+ export type RegistryRepositoryWithTags = {
743
+ /**
744
+ * Repository name.
745
+ */
746
+ name: string;
747
+ /**
748
+ * Registry region.
749
+ */
750
+ region: string;
751
+ /**
752
+ * Full URI of the repository.
753
+ */
754
+ uri: string;
755
+ /**
756
+ * Array of tags in the repository.
757
+ */
758
+ tags: Array<{
759
+ /**
760
+ * Tag name.
761
+ */
762
+ name: string;
763
+ /**
764
+ * Size of the tag in bytes.
765
+ */
766
+ size: number;
767
+ /**
768
+ * Media type of the manifest.
769
+ */
770
+ mediaType?: string;
771
+ /**
772
+ * Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
773
+ */
774
+ platforms?: Array<string>;
775
+ }>;
776
+ /**
777
+ * Total size of all tags in the repository in bytes.
778
+ */
779
+ totalSize: number;
780
+ };
781
+ export type RegistryTag = {
782
+ /**
783
+ * Tag name.
784
+ */
785
+ name: string;
786
+ /**
787
+ * Manifest digest for pulling by digest.
788
+ */
789
+ digest: string;
790
+ /**
791
+ * Media type of the manifest.
792
+ */
793
+ mediaType?: string;
794
+ /**
795
+ * Manifest config metadata.
796
+ */
797
+ config?: {
798
+ /**
799
+ * Size of the config in bytes.
800
+ */
801
+ size: number;
802
+ };
803
+ /**
804
+ * Array of layer metadata.
805
+ */
806
+ layers?: Array<{
807
+ /**
808
+ * Digest of the layer.
809
+ */
810
+ digest?: string;
811
+ /**
812
+ * Size of the layer in bytes.
813
+ */
814
+ size: number;
815
+ }>;
816
+ /**
817
+ * Array of manifests for multi-arch images.
818
+ */
819
+ manifests?: Array<{
820
+ /**
821
+ * Digest of the manifest.
822
+ */
823
+ digest: string;
824
+ /**
825
+ * Platform information for the manifest.
826
+ */
827
+ platform?: {
828
+ /**
829
+ * Architecture of the platform.
830
+ */
831
+ architecture: string;
832
+ /**
833
+ * Operating system of the platform.
834
+ */
835
+ os: string;
836
+ /**
837
+ * Variant of the platform (e.g., v7, v8 for ARM).
838
+ */
839
+ variant?: string;
840
+ };
841
+ /**
842
+ * Layers for this platform.
843
+ */
844
+ layers?: Array<{
845
+ /**
846
+ * Digest of the layer.
847
+ */
848
+ digest?: string;
849
+ /**
850
+ * Size of the layer in bytes.
851
+ */
852
+ size: number;
853
+ }>;
854
+ /**
855
+ * Total size of this platform manifest in bytes.
856
+ */
857
+ size?: number;
858
+ }>;
859
+ /**
860
+ * Total size of the tag in bytes.
861
+ */
862
+ size: number;
863
+ /**
864
+ * Registry region.
865
+ */
866
+ region: string;
867
+ /**
868
+ * Repository name.
869
+ */
870
+ repository: string;
871
+ /**
872
+ * Full URI of the tag.
873
+ */
874
+ uri: string;
875
+ };
824
876
  export type TokenCreateInput = {
825
877
  /**
826
878
  * Human readable access token name.
@@ -863,35 +915,85 @@ export type TokenUpdateInput = {
863
915
  */
864
916
  role?: 'Administrator' | 'User';
865
917
  };
918
+ export type UsageFacets = {
919
+ /**
920
+ * List of unique cluster IDs
921
+ */
922
+ cluster_id?: Array<string>;
923
+ /**
924
+ * List of unique products
925
+ */
926
+ product?: Array<string>;
927
+ };
928
+ export type UsageResponse = {
929
+ /**
930
+ * Usage data
931
+ */
932
+ data: Array<{
933
+ /**
934
+ * Hour of the usage
935
+ */
936
+ hour: string;
937
+ /**
938
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
939
+ */
940
+ cluster_id: string;
941
+ /**
942
+ * The product the usage is associated with
943
+ */
944
+ product: string;
945
+ /**
946
+ * Consumption
947
+ */
948
+ value: number;
949
+ /**
950
+ * Price per unit
951
+ */
952
+ price: number;
953
+ /**
954
+ * Total cost
955
+ */
956
+ total: number;
957
+ }>;
958
+ /**
959
+ * Facets for filtering
960
+ */
961
+ facets: {
962
+ /**
963
+ * List of unique cluster IDs
964
+ */
965
+ cluster_id?: Array<string>;
966
+ /**
967
+ * List of unique products
968
+ */
969
+ product?: Array<string>;
970
+ };
971
+ };
866
972
  export type Usage = {
867
973
  /**
868
974
  * Hour of the usage
869
975
  */
870
- hour?: string;
976
+ hour: string;
871
977
  /**
872
978
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
873
979
  */
874
980
  cluster_id: string;
875
981
  /**
876
- * Tier of the cluster.
982
+ * The product the usage is associated with
877
983
  */
878
- cluster_tier: 'basic' | 'pro' | '';
984
+ product: string;
879
985
  /**
880
- * The product the usage is associated with
986
+ * Consumption
881
987
  */
882
- product: 'cfke_controlplane' | 'cfke_connected_nodes' | 'infra_compute' | 'infra_storage' | 'infra_loadbalancing' | 'infra_traffic' | 'cfcr_storage';
988
+ value: number;
883
989
  /**
884
- * Name of the Kubernetes node
990
+ * Price per unit
885
991
  */
886
- node_name: string;
992
+ price: number;
887
993
  /**
888
- * SKU of the Kubernetes node
994
+ * Total cost
889
995
  */
890
- sku: string;
891
- cpu: number | '';
892
- price: number | '';
893
- value: number | '';
894
- total: number | '';
996
+ total: number;
895
997
  };
896
998
  export type UserCreateInput = {
897
999
  /**
@@ -978,7 +1080,12 @@ export type UserUpdateInput = {
978
1080
  export type GetUsageData = {
979
1081
  body?: never;
980
1082
  path?: never;
981
- query?: never;
1083
+ query?: {
1084
+ /**
1085
+ * 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)
1086
+ */
1087
+ granularity?: 'hourly' | 'daily' | 'monthly';
1088
+ };
982
1089
  url: '/billing/usage';
983
1090
  };
984
1091
  export type GetUsageErrors = {
@@ -989,24 +1096,11 @@ export type GetUsageErrors = {
989
1096
  };
990
1097
  export type GetUsageResponses = {
991
1098
  /**
992
- * An array of usage records.
1099
+ * Usage data with facets for filtering
993
1100
  */
994
- 200: Array<Usage>;
1101
+ 200: UsageResponse;
995
1102
  };
996
1103
  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
1104
  export type GetPaymentMethodData = {
1011
1105
  body?: never;
1012
1106
  path?: never;
@@ -1048,16 +1142,7 @@ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[key
1048
1142
  export type ListInvoicesData = {
1049
1143
  body?: never;
1050
1144
  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
- };
1145
+ query?: never;
1061
1146
  url: '/billing/invoices';
1062
1147
  };
1063
1148
  export type ListInvoicesErrors = {
@@ -1073,26 +1158,6 @@ export type ListInvoicesResponses = {
1073
1158
  200: Array<Invoice>;
1074
1159
  };
1075
1160
  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
1161
  export type GetContactData = {
1097
1162
  body?: never;
1098
1163
  path?: never;
@@ -1622,24 +1687,76 @@ export type ListMarketplaceChartsResponses = {
1622
1687
  200: Array<MarketplaceListing>;
1623
1688
  };
1624
1689
  export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
1625
- export type GetMarketplaceChartData = {
1690
+ export type GetMarketplaceChartFilesData = {
1626
1691
  body?: never;
1627
1692
  path: {
1628
1693
  /**
1629
- * Unique identifier of the chart listing in the marketplace.
1694
+ * Name of the chart in the marketplace.
1695
+ */
1696
+ chart_name: string;
1697
+ /**
1698
+ * 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).
1630
1699
  */
1631
- listing_id: string;
1700
+ version_channel: string;
1632
1701
  };
1633
1702
  query?: never;
1634
- url: '/marketplace/{listing_id}';
1703
+ url: '/marketplace/{chart_name}/files/{version_channel}';
1635
1704
  };
1636
- export type GetMarketplaceChartResponses = {
1705
+ export type GetMarketplaceChartFilesErrors = {
1637
1706
  /**
1638
- * Returns an object containing the chart listing details.
1707
+ * Chart not found or no version matches the channel
1639
1708
  */
1640
- 200: MarketplaceListing;
1709
+ 404: unknown;
1710
+ };
1711
+ export type GetMarketplaceChartFilesResponses = {
1712
+ /**
1713
+ * Returns an object containing the chart files for the latest matching version.
1714
+ */
1715
+ 200: MarketplaceListingFiles;
1716
+ };
1717
+ export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
1718
+ export type PostMcpData = {
1719
+ /**
1720
+ * JSON-RPC 2.0 request payload
1721
+ */
1722
+ body: {
1723
+ jsonrpc?: string;
1724
+ method?: string;
1725
+ id?: string | number;
1726
+ /**
1727
+ * Method-specific parameters
1728
+ */
1729
+ params?: {
1730
+ [key: string]: unknown;
1731
+ };
1732
+ };
1733
+ path?: never;
1734
+ query?: never;
1735
+ url: '/mcp';
1641
1736
  };
1642
- export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
1737
+ export type PostMcpErrors = {
1738
+ /**
1739
+ * Not authenticated
1740
+ */
1741
+ 401: unknown;
1742
+ };
1743
+ export type PostMcpResponses = {
1744
+ /**
1745
+ * JSON-RPC 2.0 success or error response
1746
+ */
1747
+ 200: {
1748
+ jsonrpc?: string;
1749
+ id?: string | number;
1750
+ result?: {
1751
+ [key: string]: unknown;
1752
+ };
1753
+ error?: {
1754
+ code?: number;
1755
+ message?: string;
1756
+ };
1757
+ };
1758
+ };
1759
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
1643
1760
  export type GetOrganizationData = {
1644
1761
  body?: never;
1645
1762
  path?: never;
@@ -1665,6 +1782,144 @@ export type CreateOrganizationResponses = {
1665
1782
  */
1666
1783
  200: unknown;
1667
1784
  };
1785
+ export type ListRepositoriesData = {
1786
+ body?: never;
1787
+ path?: never;
1788
+ query?: never;
1789
+ url: '/registry';
1790
+ };
1791
+ export type ListRepositoriesErrors = {
1792
+ /**
1793
+ * Not authenticated
1794
+ */
1795
+ 401: unknown;
1796
+ /**
1797
+ * Internal server error
1798
+ */
1799
+ 500: unknown;
1800
+ };
1801
+ export type ListRepositoriesResponses = {
1802
+ /**
1803
+ * List of repositories
1804
+ */
1805
+ 200: Array<RegistryRepository>;
1806
+ };
1807
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
1808
+ export type ListTagsData = {
1809
+ body?: never;
1810
+ path: {
1811
+ /**
1812
+ * Region where the repository is located
1813
+ */
1814
+ region: string;
1815
+ /**
1816
+ * Name of the repository
1817
+ */
1818
+ repository: string;
1819
+ };
1820
+ query?: never;
1821
+ url: '/registry/{region}/{repository}';
1822
+ };
1823
+ export type ListTagsErrors = {
1824
+ /**
1825
+ * Not authenticated
1826
+ */
1827
+ 401: unknown;
1828
+ /**
1829
+ * Repository not found
1830
+ */
1831
+ 404: unknown;
1832
+ /**
1833
+ * Internal server error
1834
+ */
1835
+ 500: unknown;
1836
+ };
1837
+ export type ListTagsResponses = {
1838
+ /**
1839
+ * Repository with tags
1840
+ */
1841
+ 200: RegistryRepositoryWithTags;
1842
+ };
1843
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
1844
+ export type DeleteTagData = {
1845
+ body?: never;
1846
+ path: {
1847
+ /**
1848
+ * Region where the repository is located
1849
+ */
1850
+ region: string;
1851
+ /**
1852
+ * Name of the repository
1853
+ */
1854
+ repository: string;
1855
+ /**
1856
+ * Name of the tag
1857
+ */
1858
+ tag: string;
1859
+ };
1860
+ query?: never;
1861
+ url: '/registry/{region}/{repository}/{tag}';
1862
+ };
1863
+ export type DeleteTagErrors = {
1864
+ /**
1865
+ * Not authenticated
1866
+ */
1867
+ 401: unknown;
1868
+ /**
1869
+ * Tag not found
1870
+ */
1871
+ 404: unknown;
1872
+ /**
1873
+ * Internal server error
1874
+ */
1875
+ 500: unknown;
1876
+ };
1877
+ export type DeleteTagResponses = {
1878
+ /**
1879
+ * Tag successfully deleted
1880
+ */
1881
+ 200: unknown;
1882
+ };
1883
+ export type GetTagData = {
1884
+ body?: never;
1885
+ path: {
1886
+ /**
1887
+ * Region where the repository is located
1888
+ */
1889
+ region: string;
1890
+ /**
1891
+ * Name of the repository
1892
+ */
1893
+ repository: string;
1894
+ /**
1895
+ * Name of the tag
1896
+ */
1897
+ tag: string;
1898
+ };
1899
+ query?: never;
1900
+ url: '/registry/{region}/{repository}/{tag}';
1901
+ };
1902
+ export type GetTagErrors = {
1903
+ /**
1904
+ * Not authenticated
1905
+ */
1906
+ 401: unknown;
1907
+ /**
1908
+ * Tag not found
1909
+ */
1910
+ 404: unknown;
1911
+ /**
1912
+ * Internal server error
1913
+ */
1914
+ 500: unknown;
1915
+ };
1916
+ export type GetTagResponses = {
1917
+ /**
1918
+ * Tag details
1919
+ */
1920
+ 200: RegistryTag;
1921
+ };
1922
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
1668
1923
  export type ListTokensData = {
1669
1924
  body?: never;
1670
1925
  path?: never;