@cloudfleet/sdk 0.0.1-11060fb → 0.0.1-13073f9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/dist/client/client.gen.d.ts +3 -0
  2. package/dist/client/client.gen.d.ts.map +1 -0
  3. package/dist/client/client.gen.js +205 -0
  4. package/dist/client/client.gen.js.map +1 -0
  5. package/dist/client/index.d.ts +9 -0
  6. package/dist/client/index.d.ts.map +1 -0
  7. package/dist/client/index.js +7 -0
  8. package/dist/client/index.js.map +1 -0
  9. package/dist/client/types.gen.d.ts +125 -0
  10. package/dist/client/types.gen.d.ts.map +1 -0
  11. package/dist/client/types.gen.js +3 -0
  12. package/dist/client/types.gen.js.map +1 -0
  13. package/dist/client/utils.gen.d.ts +34 -0
  14. package/dist/client/utils.gen.d.ts.map +1 -0
  15. package/dist/client/utils.gen.js +231 -0
  16. package/dist/client/utils.gen.js.map +1 -0
  17. package/dist/client.gen.d.ts +4 -4
  18. package/dist/client.gen.d.ts.map +1 -1
  19. package/dist/client.gen.js +1 -1
  20. package/dist/client.gen.js.map +1 -1
  21. package/dist/core/auth.gen.d.ts +19 -0
  22. package/dist/core/auth.gen.d.ts.map +1 -0
  23. package/dist/core/auth.gen.js +15 -0
  24. package/dist/core/auth.gen.js.map +1 -0
  25. package/dist/core/bodySerializer.gen.d.ts +18 -0
  26. package/dist/core/bodySerializer.gen.d.ts.map +1 -0
  27. package/dist/core/bodySerializer.gen.js +58 -0
  28. package/dist/core/bodySerializer.gen.js.map +1 -0
  29. package/dist/core/params.gen.d.ts +34 -0
  30. package/dist/core/params.gen.d.ts.map +1 -0
  31. package/dist/core/params.gen.js +89 -0
  32. package/dist/core/params.gen.js.map +1 -0
  33. package/dist/core/pathSerializer.gen.d.ts +34 -0
  34. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  35. package/dist/core/pathSerializer.gen.js +115 -0
  36. package/dist/core/pathSerializer.gen.js.map +1 -0
  37. package/dist/core/queryKeySerializer.gen.d.ts +19 -0
  38. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
  39. package/dist/core/queryKeySerializer.gen.js +100 -0
  40. package/dist/core/queryKeySerializer.gen.js.map +1 -0
  41. package/dist/core/serverSentEvents.gen.d.ts +72 -0
  42. package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
  43. package/dist/core/serverSentEvents.gen.js +136 -0
  44. package/dist/core/serverSentEvents.gen.js.map +1 -0
  45. package/dist/core/types.gen.d.ts +79 -0
  46. package/dist/core/types.gen.d.ts.map +1 -0
  47. package/dist/core/types.gen.js +3 -0
  48. package/dist/core/types.gen.js.map +1 -0
  49. package/dist/core/utils.gen.d.ts +20 -0
  50. package/dist/core/utils.gen.d.ts.map +1 -0
  51. package/dist/core/utils.gen.js +88 -0
  52. package/dist/core/utils.gen.js.map +1 -0
  53. package/dist/schemas.gen.d.ts +538 -577
  54. package/dist/schemas.gen.d.ts.map +1 -1
  55. package/dist/schemas.gen.js +478 -550
  56. package/dist/schemas.gen.js.map +1 -1
  57. package/dist/sdk.gen.d.ts +137 -74
  58. package/dist/sdk.gen.d.ts.map +1 -1
  59. package/dist/sdk.gen.js +179 -90
  60. package/dist/sdk.gen.js.map +1 -1
  61. package/dist/services/kubernetes/api.d.ts +12 -12
  62. package/dist/types.gen.d.ts +469 -330
  63. package/dist/types.gen.d.ts.map +1 -1
  64. package/dist/zod.gen.d.ts +1743 -2178
  65. package/dist/zod.gen.d.ts.map +1 -1
  66. package/dist/zod.gen.js +701 -780
  67. package/dist/zod.gen.js.map +1 -1
  68. package/package.json +5 -6
@@ -1,3 +1,6 @@
1
+ export type ClientOptions = {
2
+ baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
3
+ };
1
4
  export type BillingContact = {
2
5
  /**
3
6
  * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
@@ -36,13 +39,9 @@ export type BillingContact = {
36
39
  */
37
40
  email: string;
38
41
  /**
39
- * First name of the billing contact person.
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
  };
@@ -169,14 +164,14 @@ export type ClusterCreateInput = {
169
164
  * Name of the cluster.
170
165
  */
171
166
  name: string;
172
- /**
173
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
174
- */
175
- region?: 'staging' | 'northamerica-central-1';
176
167
  /**
177
168
  * Tier of the cluster.
178
169
  */
179
170
  tier: 'basic' | 'pro';
171
+ /**
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.
173
+ */
174
+ region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
180
175
  /**
181
176
  * Version of the kubernetes cluster.
182
177
  */
@@ -215,6 +210,10 @@ export type ClusterJoinInformation = {
215
210
  * Containerd version of the cluster.
216
211
  */
217
212
  containerd: string;
213
+ /**
214
+ * NVIDIA driver version of the cluster.
215
+ */
216
+ nvidia_driver: string;
218
217
  };
219
218
  /**
220
219
  * OIDC Information for hosts to access to third party API's.
@@ -239,14 +238,14 @@ export type Cluster = {
239
238
  * Name of the cluster.
240
239
  */
241
240
  name: string;
242
- /**
243
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
244
- */
245
- region?: 'staging' | 'northamerica-central-1';
246
241
  /**
247
242
  * Tier of the cluster.
248
243
  */
249
244
  tier: 'basic' | 'pro';
245
+ /**
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.
247
+ */
248
+ region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
250
249
  /**
251
250
  * Version of the kubernetes cluster.
252
251
  */
@@ -258,7 +257,7 @@ export type Cluster = {
258
257
  /**
259
258
  * Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
260
259
  */
261
- status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
260
+ status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
262
261
  endpoint?: string | '';
263
262
  /**
264
263
  * Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
@@ -286,6 +285,10 @@ export type ClusterUpdateInput = {
286
285
  * Name of the cluster.
287
286
  */
288
287
  name?: string;
288
+ /**
289
+ * Tier of the cluster.
290
+ */
291
+ tier: 'basic' | 'pro';
289
292
  /**
290
293
  * Version of the kubernetes cluster.
291
294
  */
@@ -310,10 +313,10 @@ export type FleetCreateInput = {
310
313
  };
311
314
  hetzner?: {
312
315
  enabled?: boolean;
313
- apiKey?: string;
314
- } | {
315
- apiKey?: string;
316
- enabled?: boolean;
316
+ /**
317
+ * Hetzner Cloud API key with read / write access
318
+ */
319
+ apiKey: string;
317
320
  };
318
321
  aws?: {
319
322
  enabled?: boolean;
@@ -326,10 +329,6 @@ export type FleetCreateInput = {
326
329
  * Unique identifier of the kubernetes fleet.
327
330
  */
328
331
  id: string;
329
- /**
330
- * Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
331
- */
332
- type: 'managed' | 'connected';
333
332
  };
334
333
  export type Fleet = {
335
334
  /**
@@ -350,10 +349,10 @@ export type Fleet = {
350
349
  };
351
350
  hetzner?: {
352
351
  enabled?: boolean;
353
- apiKey?: string;
354
- } | {
355
- apiKey?: string;
356
- enabled?: boolean;
352
+ /**
353
+ * Hetzner Cloud API key with read / write access
354
+ */
355
+ apiKey: string;
357
356
  };
358
357
  aws?: {
359
358
  enabled?: boolean;
@@ -366,10 +365,6 @@ export type Fleet = {
366
365
  * Unique identifier of the kubernetes fleet.
367
366
  */
368
367
  id: string;
369
- /**
370
- * Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
371
- */
372
- type: 'managed' | 'connected';
373
368
  };
374
369
  export type FleetUpdateInput = {
375
370
  /**
@@ -390,10 +385,10 @@ export type FleetUpdateInput = {
390
385
  };
391
386
  hetzner?: {
392
387
  enabled?: boolean;
393
- apiKey?: string;
394
- } | {
395
- apiKey?: string;
396
- enabled?: boolean;
388
+ /**
389
+ * Hetzner Cloud API key with read / write access
390
+ */
391
+ apiKey: string;
397
392
  };
398
393
  aws?: {
399
394
  enabled?: boolean;
@@ -430,232 +425,32 @@ 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';
449
- /**
450
- * Total amount of credit adjustments
451
- */
452
- creditAdj?: number;
440
+ currency?: string;
453
441
  /**
454
- * Total amount of refund adjustments
442
+ * Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
455
443
  */
456
- refundAdj?: number;
444
+ created: string;
457
445
  /**
458
- * Date of the invoice
446
+ * Billing period start timestamp. ISO 8601 date string in the UTC timezone.
459
447
  */
460
- invoiceDate?: string;
448
+ period_start: string;
461
449
  /**
462
- * Target date of the invoice
450
+ * Billing period end timestamp. ISO 8601 date string in the UTC timezone.
463
451
  */
464
- targetDate?: string;
465
- /**
466
- * Number of the invoice
467
- */
468
- invoiceNumber?: string;
469
- /**
470
- * Balance of the invoice
471
- */
472
- balance?: number;
473
- /**
474
- * Bundle keys of the invoice
475
- */
476
- bundleKeys?: string;
477
- /**
478
- * Credits of the invoice
479
- */
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
- }>;
568
- /**
569
- * Items of the invoice
570
- */
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;
608
- /**
609
- * Pretty name of the usage
610
- */
611
- prettyUsageName?: string;
612
- /**
613
- * Type of the invoice item
614
- */
615
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
616
- /**
617
- * Description of the invoice item
618
- */
619
- description?: string;
620
- /**
621
- * Start date of the invoice item
622
- */
623
- startDate?: string;
624
- /**
625
- * End date of the invoice item
626
- */
627
- endDate?: string;
628
- /**
629
- * Amount of the invoice item
630
- */
631
- amount?: number;
632
- /**
633
- * Rate of the invoice item
634
- */
635
- rate?: number;
636
- /**
637
- * Currency of the invoice item
638
- */
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';
640
- /**
641
- * Quantity of the invoice item
642
- */
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
- }>;
452
+ period_end: string;
453
+ invoice_pdf?: string;
659
454
  };
660
455
  export type MarketplaceListing = {
661
456
  /**
@@ -761,10 +556,6 @@ export type Organization = {
761
556
  * Maximum number of fleets that can be created per cluster.
762
557
  */
763
558
  fleets_max: number;
764
- /**
765
- * Maximum number of CPU cores per managed fleet.
766
- */
767
- managed_fleets_cpu_max: number;
768
559
  /**
769
560
  * List of Cloudfleet cluster tiers available for the organization.
770
561
  */
@@ -822,6 +613,164 @@ export type PaymentMethod = {
822
613
  */
823
614
  brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
824
615
  };
616
+ export type PlatformQuota = {
617
+ /**
618
+ * Maximum number of Basic clusters that can be created.
619
+ */
620
+ basic_clusters_max: number;
621
+ /**
622
+ * Available number of Basic clusters that can be created.
623
+ */
624
+ basic_clusters_available: number;
625
+ /**
626
+ * Maximum number of Pro clusters that can be created.
627
+ */
628
+ pro_clusters_max: number;
629
+ /**
630
+ * Available number of Pro clusters that can be created.
631
+ */
632
+ pro_clusters_available: number;
633
+ /**
634
+ * Maximum number of fleets that can be created per cluster.
635
+ */
636
+ fleets_max: number;
637
+ /**
638
+ * List of Cloudfleet cluster tiers available for the organization.
639
+ */
640
+ cluster_tiers: Array<string>;
641
+ /**
642
+ * List of Cloudfleet control plane regions available for the organization.
643
+ */
644
+ regions: Array<string>;
645
+ /**
646
+ * List of CFKE control plane versions available for the organization.
647
+ */
648
+ versions: Array<{
649
+ /**
650
+ * Id of the control plane version. Used in API calls.
651
+ */
652
+ id: string;
653
+ /**
654
+ * Label of the control plane version. Used in frontent UI.
655
+ */
656
+ label: string;
657
+ }>;
658
+ };
659
+ export type RegistryRepository = {
660
+ /**
661
+ * Repository name.
662
+ */
663
+ name: string;
664
+ /**
665
+ * Registry region.
666
+ */
667
+ region: string;
668
+ /**
669
+ * Full URI of the repository.
670
+ */
671
+ uri: string;
672
+ };
673
+ export type RegistryRepositoryWithTags = {
674
+ /**
675
+ * Repository name.
676
+ */
677
+ name: string;
678
+ /**
679
+ * Registry region.
680
+ */
681
+ region: string;
682
+ /**
683
+ * Full URI of the repository.
684
+ */
685
+ uri: string;
686
+ /**
687
+ * Array of tags in the repository.
688
+ */
689
+ tags: Array<{
690
+ /**
691
+ * Tag name.
692
+ */
693
+ name: string;
694
+ /**
695
+ * Size of the tag in bytes.
696
+ */
697
+ size: number;
698
+ /**
699
+ * Media type of the manifest.
700
+ */
701
+ mediaType?: string;
702
+ }>;
703
+ /**
704
+ * Total size of all tags in the repository in bytes.
705
+ */
706
+ totalSize: number;
707
+ };
708
+ export type RegistryTag = {
709
+ /**
710
+ * Tag name.
711
+ */
712
+ name: string;
713
+ /**
714
+ * Media type of the manifest.
715
+ */
716
+ mediaType?: string;
717
+ /**
718
+ * Manifest config metadata.
719
+ */
720
+ config?: {
721
+ /**
722
+ * Size of the config in bytes.
723
+ */
724
+ size: number;
725
+ };
726
+ /**
727
+ * Array of layer metadata.
728
+ */
729
+ layers?: Array<{
730
+ /**
731
+ * Size of the layer in bytes.
732
+ */
733
+ size: number;
734
+ }>;
735
+ /**
736
+ * Array of manifests for multi-arch images.
737
+ */
738
+ manifests?: Array<{
739
+ /**
740
+ * Digest of the manifest.
741
+ */
742
+ digest: string;
743
+ /**
744
+ * Platform information for the manifest.
745
+ */
746
+ platform?: {
747
+ /**
748
+ * Architecture of the platform.
749
+ */
750
+ architecture: string;
751
+ /**
752
+ * Operating system of the platform.
753
+ */
754
+ os: string;
755
+ };
756
+ }>;
757
+ /**
758
+ * Total size of the tag in bytes.
759
+ */
760
+ size: number;
761
+ /**
762
+ * Registry region.
763
+ */
764
+ region: string;
765
+ /**
766
+ * Repository name.
767
+ */
768
+ repository: string;
769
+ /**
770
+ * Full URI of the tag.
771
+ */
772
+ uri: string;
773
+ };
825
774
  export type TokenCreateInput = {
826
775
  /**
827
776
  * Human readable access token name.
@@ -864,35 +813,85 @@ export type TokenUpdateInput = {
864
813
  */
865
814
  role?: 'Administrator' | 'User';
866
815
  };
816
+ export type UsageFacets = {
817
+ /**
818
+ * List of unique cluster IDs
819
+ */
820
+ cluster_id?: Array<string>;
821
+ /**
822
+ * List of unique products
823
+ */
824
+ product?: Array<string>;
825
+ };
826
+ export type UsageResponse = {
827
+ /**
828
+ * Usage data
829
+ */
830
+ data: Array<{
831
+ /**
832
+ * Hour of the usage
833
+ */
834
+ hour: string;
835
+ /**
836
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
837
+ */
838
+ cluster_id: string;
839
+ /**
840
+ * The product the usage is associated with
841
+ */
842
+ product: string;
843
+ /**
844
+ * Consumption
845
+ */
846
+ value: number;
847
+ /**
848
+ * Price per unit
849
+ */
850
+ price: number;
851
+ /**
852
+ * Total cost
853
+ */
854
+ total: number;
855
+ }>;
856
+ /**
857
+ * Facets for filtering
858
+ */
859
+ facets: {
860
+ /**
861
+ * List of unique cluster IDs
862
+ */
863
+ cluster_id?: Array<string>;
864
+ /**
865
+ * List of unique products
866
+ */
867
+ product?: Array<string>;
868
+ };
869
+ };
867
870
  export type Usage = {
868
871
  /**
869
872
  * Hour of the usage
870
873
  */
871
- hour?: string;
874
+ hour: string;
872
875
  /**
873
876
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
874
877
  */
875
878
  cluster_id: string;
876
879
  /**
877
- * Tier of the cluster.
880
+ * The product the usage is associated with
878
881
  */
879
- cluster_tier: 'basic' | 'pro' | '';
882
+ product: string;
880
883
  /**
881
- * The product the usage is associated with
884
+ * Consumption
882
885
  */
883
- product: 'cfke_controlplane' | 'cfke_connected_nodes' | 'infra_compute' | 'infra_storage' | 'infra_loadbalancing' | 'infra_traffic' | 'cfcr_storage';
886
+ value: number;
884
887
  /**
885
- * Name of the Kubernetes node
888
+ * Price per unit
886
889
  */
887
- node_name: string;
890
+ price: number;
888
891
  /**
889
- * SKU of the Kubernetes node
892
+ * Total cost
890
893
  */
891
- sku: string;
892
- cpu: number | '';
893
- price: number | '';
894
- value: number | '';
895
- total: number | '';
894
+ total: number;
896
895
  };
897
896
  export type UserCreateInput = {
898
897
  /**
@@ -979,7 +978,12 @@ export type UserUpdateInput = {
979
978
  export type GetUsageData = {
980
979
  body?: never;
981
980
  path?: never;
982
- query?: never;
981
+ query?: {
982
+ /**
983
+ * 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)
984
+ */
985
+ granularity?: 'hourly' | 'daily' | 'monthly';
986
+ };
983
987
  url: '/billing/usage';
984
988
  };
985
989
  export type GetUsageErrors = {
@@ -990,24 +994,11 @@ export type GetUsageErrors = {
990
994
  };
991
995
  export type GetUsageResponses = {
992
996
  /**
993
- * An array of usage records.
997
+ * Usage data with facets for filtering
994
998
  */
995
- 200: Array<Usage>;
999
+ 200: UsageResponse;
996
1000
  };
997
1001
  export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
998
- export type GetBalanceData = {
999
- body?: never;
1000
- path?: never;
1001
- query?: never;
1002
- url: '/billing/balance';
1003
- };
1004
- export type GetBalanceResponses = {
1005
- /**
1006
- * Current balance of the organization in USD as a floating-point number.
1007
- */
1008
- 200: number;
1009
- };
1010
- export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
1011
1002
  export type GetPaymentMethodData = {
1012
1003
  body?: never;
1013
1004
  path?: never;
@@ -1049,16 +1040,7 @@ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[key
1049
1040
  export type ListInvoicesData = {
1050
1041
  body?: never;
1051
1042
  path?: never;
1052
- query: {
1053
- /**
1054
- * Start date for the usage. Date of oldest data point to retrieve.
1055
- */
1056
- start_date: string;
1057
- /**
1058
- * End date for the usage. Date of newest data point to retrieve.
1059
- */
1060
- end_date: string;
1061
- };
1043
+ query?: never;
1062
1044
  url: '/billing/invoices';
1063
1045
  };
1064
1046
  export type ListInvoicesErrors = {
@@ -1074,26 +1056,6 @@ export type ListInvoicesResponses = {
1074
1056
  200: Array<Invoice>;
1075
1057
  };
1076
1058
  export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1077
- export type GetInvoiceData = {
1078
- body?: never;
1079
- path: {
1080
- /**
1081
- * Unique invoice identifier. UUID v4 string in canonical form
1082
- */
1083
- id: string;
1084
- };
1085
- query?: never;
1086
- url: '/billing/invoices/{id}';
1087
- };
1088
- export type GetInvoiceResponses = {
1089
- /**
1090
- * Returns a single Invoice HTML representation under `html` property.
1091
- */
1092
- 200: {
1093
- html?: string;
1094
- };
1095
- };
1096
- export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
1097
1059
  export type GetContactData = {
1098
1060
  body?: never;
1099
1061
  path?: never;
@@ -1529,7 +1491,7 @@ export type GetJoinInformationResponses = {
1529
1491
  /**
1530
1492
  * An object of cluster join information
1531
1493
  */
1532
- 200: Cluster;
1494
+ 200: ClusterJoinInformation;
1533
1495
  };
1534
1496
  export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
1535
1497
  export type ListInvitesData = {
@@ -1641,6 +1603,48 @@ export type GetMarketplaceChartResponses = {
1641
1603
  200: MarketplaceListing;
1642
1604
  };
1643
1605
  export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
1606
+ export type PostMcpData = {
1607
+ /**
1608
+ * JSON-RPC 2.0 request payload
1609
+ */
1610
+ body: {
1611
+ jsonrpc?: string;
1612
+ method?: string;
1613
+ id?: string | number;
1614
+ /**
1615
+ * Method-specific parameters
1616
+ */
1617
+ params?: {
1618
+ [key: string]: unknown;
1619
+ };
1620
+ };
1621
+ path?: never;
1622
+ query?: never;
1623
+ url: '/mcp';
1624
+ };
1625
+ export type PostMcpErrors = {
1626
+ /**
1627
+ * Not authenticated
1628
+ */
1629
+ 401: unknown;
1630
+ };
1631
+ export type PostMcpResponses = {
1632
+ /**
1633
+ * JSON-RPC 2.0 success or error response
1634
+ */
1635
+ 200: {
1636
+ jsonrpc?: string;
1637
+ id?: string | number;
1638
+ result?: {
1639
+ [key: string]: unknown;
1640
+ };
1641
+ error?: {
1642
+ code?: number;
1643
+ message?: string;
1644
+ };
1645
+ };
1646
+ };
1647
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
1644
1648
  export type GetOrganizationData = {
1645
1649
  body?: never;
1646
1650
  path?: never;
@@ -1666,6 +1670,144 @@ export type CreateOrganizationResponses = {
1666
1670
  */
1667
1671
  200: unknown;
1668
1672
  };
1673
+ export type ListRepositoriesData = {
1674
+ body?: never;
1675
+ path?: never;
1676
+ query?: never;
1677
+ url: '/registry';
1678
+ };
1679
+ export type ListRepositoriesErrors = {
1680
+ /**
1681
+ * Not authenticated
1682
+ */
1683
+ 401: unknown;
1684
+ /**
1685
+ * Internal server error
1686
+ */
1687
+ 500: unknown;
1688
+ };
1689
+ export type ListRepositoriesResponses = {
1690
+ /**
1691
+ * List of repositories
1692
+ */
1693
+ 200: Array<RegistryRepository>;
1694
+ };
1695
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
1696
+ export type ListTagsData = {
1697
+ body?: never;
1698
+ path: {
1699
+ /**
1700
+ * Region where the repository is located
1701
+ */
1702
+ region: string;
1703
+ /**
1704
+ * Name of the repository
1705
+ */
1706
+ repository: string;
1707
+ };
1708
+ query?: never;
1709
+ url: '/registry/{region}/{repository}';
1710
+ };
1711
+ export type ListTagsErrors = {
1712
+ /**
1713
+ * Not authenticated
1714
+ */
1715
+ 401: unknown;
1716
+ /**
1717
+ * Repository not found
1718
+ */
1719
+ 404: unknown;
1720
+ /**
1721
+ * Internal server error
1722
+ */
1723
+ 500: unknown;
1724
+ };
1725
+ export type ListTagsResponses = {
1726
+ /**
1727
+ * Repository with tags
1728
+ */
1729
+ 200: RegistryRepositoryWithTags;
1730
+ };
1731
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
1732
+ export type DeleteTagData = {
1733
+ body?: never;
1734
+ path: {
1735
+ /**
1736
+ * Region where the repository is located
1737
+ */
1738
+ region: string;
1739
+ /**
1740
+ * Name of the repository
1741
+ */
1742
+ repository: string;
1743
+ /**
1744
+ * Name of the tag
1745
+ */
1746
+ tag: string;
1747
+ };
1748
+ query?: never;
1749
+ url: '/registry/{region}/{repository}/{tag}';
1750
+ };
1751
+ export type DeleteTagErrors = {
1752
+ /**
1753
+ * Not authenticated
1754
+ */
1755
+ 401: unknown;
1756
+ /**
1757
+ * Tag not found
1758
+ */
1759
+ 404: unknown;
1760
+ /**
1761
+ * Internal server error
1762
+ */
1763
+ 500: unknown;
1764
+ };
1765
+ export type DeleteTagResponses = {
1766
+ /**
1767
+ * Tag successfully deleted
1768
+ */
1769
+ 200: unknown;
1770
+ };
1771
+ export type GetTagData = {
1772
+ body?: never;
1773
+ path: {
1774
+ /**
1775
+ * Region where the repository is located
1776
+ */
1777
+ region: string;
1778
+ /**
1779
+ * Name of the repository
1780
+ */
1781
+ repository: string;
1782
+ /**
1783
+ * Name of the tag
1784
+ */
1785
+ tag: string;
1786
+ };
1787
+ query?: never;
1788
+ url: '/registry/{region}/{repository}/{tag}';
1789
+ };
1790
+ export type GetTagErrors = {
1791
+ /**
1792
+ * Not authenticated
1793
+ */
1794
+ 401: unknown;
1795
+ /**
1796
+ * Tag not found
1797
+ */
1798
+ 404: unknown;
1799
+ /**
1800
+ * Internal server error
1801
+ */
1802
+ 500: unknown;
1803
+ };
1804
+ export type GetTagResponses = {
1805
+ /**
1806
+ * Tag details
1807
+ */
1808
+ 200: RegistryTag;
1809
+ };
1810
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
1669
1811
  export type ListTokensData = {
1670
1812
  body?: never;
1671
1813
  path?: never;
@@ -1922,7 +2064,4 @@ export type UpdateUserResponses = {
1922
2064
  200: User;
1923
2065
  };
1924
2066
  export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1925
- export type ClientOptions = {
1926
- baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
1927
- };
1928
2067
  //# sourceMappingURL=types.gen.d.ts.map