@cloudfleet/sdk 0.0.1-11060fb → 0.0.1-19f2280

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 (55) hide show
  1. package/dist/client/client.d.ts +3 -0
  2. package/dist/client/client.d.ts.map +1 -0
  3. package/dist/client/client.js +144 -0
  4. package/dist/client/client.js.map +1 -0
  5. package/dist/client/index.d.ts +8 -0
  6. package/dist/client/index.d.ts.map +1 -0
  7. package/dist/client/index.js +5 -0
  8. package/dist/client/index.js.map +1 -0
  9. package/dist/client/types.d.ts +120 -0
  10. package/dist/client/types.d.ts.map +1 -0
  11. package/dist/client/types.js +2 -0
  12. package/dist/client/types.js.map +1 -0
  13. package/dist/client/utils.d.ts +46 -0
  14. package/dist/client/utils.d.ts.map +1 -0
  15. package/dist/client/utils.js +285 -0
  16. package/dist/client/utils.js.map +1 -0
  17. package/dist/client.gen.d.ts +2 -2
  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.d.ts +19 -0
  22. package/dist/core/auth.d.ts.map +1 -0
  23. package/dist/core/auth.js +14 -0
  24. package/dist/core/auth.js.map +1 -0
  25. package/dist/core/bodySerializer.d.ts +18 -0
  26. package/dist/core/bodySerializer.d.ts.map +1 -0
  27. package/dist/core/bodySerializer.js +54 -0
  28. package/dist/core/bodySerializer.js.map +1 -0
  29. package/dist/core/params.d.ts +24 -0
  30. package/dist/core/params.d.ts.map +1 -0
  31. package/dist/core/params.js +88 -0
  32. package/dist/core/params.js.map +1 -0
  33. package/dist/core/pathSerializer.d.ts +34 -0
  34. package/dist/core/pathSerializer.d.ts.map +1 -0
  35. package/dist/core/pathSerializer.js +114 -0
  36. package/dist/core/pathSerializer.js.map +1 -0
  37. package/dist/core/types.d.ts +74 -0
  38. package/dist/core/types.d.ts.map +1 -0
  39. package/dist/core/types.js +2 -0
  40. package/dist/core/types.js.map +1 -0
  41. package/dist/schemas.gen.d.ts +57 -102
  42. package/dist/schemas.gen.d.ts.map +1 -1
  43. package/dist/schemas.gen.js +57 -111
  44. package/dist/schemas.gen.js.map +1 -1
  45. package/dist/sdk.gen.d.ts +56 -63
  46. package/dist/sdk.gen.d.ts.map +1 -1
  47. package/dist/sdk.gen.js +21 -21
  48. package/dist/sdk.gen.js.map +1 -1
  49. package/dist/types.gen.d.ts +24 -32
  50. package/dist/types.gen.d.ts.map +1 -1
  51. package/dist/zod.gen.d.ts +1648 -170
  52. package/dist/zod.gen.d.ts.map +1 -1
  53. package/dist/zod.gen.js +471 -51
  54. package/dist/zod.gen.js.map +1 -1
  55. package/package.json +5 -6
@@ -280,19 +280,19 @@ export declare const ClusterCreateInputSchema: {
280
280
  readonly description: "Name of the cluster.";
281
281
  readonly example: "production-cluster";
282
282
  };
283
- readonly region: {
284
- readonly type: "string";
285
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\". This field can not be updated after creation.";
286
- readonly default: "staging";
287
- readonly example: "northamerica-central-1";
288
- readonly enum: readonly ["staging", "northamerica-central-1"];
289
- };
290
283
  readonly tier: {
291
284
  readonly type: "string";
292
285
  readonly description: "Tier of the cluster.";
293
286
  readonly example: "pro";
294
287
  readonly enum: readonly ["basic", "pro"];
295
288
  };
289
+ readonly region: {
290
+ readonly type: "string";
291
+ readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\". This field can not be updated after creation.";
292
+ readonly default: "staging";
293
+ readonly example: "northamerica-central-1";
294
+ readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a"];
295
+ };
296
296
  readonly version_channel: {
297
297
  readonly type: "string";
298
298
  readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
@@ -389,19 +389,19 @@ export declare const ClusterSchema: {
389
389
  readonly description: "Name of the cluster.";
390
390
  readonly example: "production-cluster";
391
391
  };
392
- readonly region: {
393
- readonly type: "string";
394
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\". This field can not be updated after creation.";
395
- readonly default: "staging";
396
- readonly example: "northamerica-central-1";
397
- readonly enum: readonly ["staging", "northamerica-central-1"];
398
- };
399
392
  readonly tier: {
400
393
  readonly type: "string";
401
394
  readonly description: "Tier of the cluster.";
402
395
  readonly example: "pro";
403
396
  readonly enum: readonly ["basic", "pro"];
404
397
  };
398
+ readonly region: {
399
+ readonly type: "string";
400
+ readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\". This field can not be updated after creation.";
401
+ readonly default: "staging";
402
+ readonly example: "northamerica-central-1";
403
+ readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a"];
404
+ };
405
405
  readonly version_channel: {
406
406
  readonly type: "string";
407
407
  readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
@@ -472,6 +472,12 @@ export declare const ClusterUpdateInputSchema: {
472
472
  readonly description: "Name of the cluster.";
473
473
  readonly example: "production-cluster";
474
474
  };
475
+ readonly tier: {
476
+ readonly type: "string";
477
+ readonly description: "Tier of the cluster.";
478
+ readonly example: "pro";
479
+ readonly enum: readonly ["basic", "pro"];
480
+ };
475
481
  readonly version_channel: {
476
482
  readonly type: "string";
477
483
  readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
@@ -479,6 +485,7 @@ export declare const ClusterUpdateInputSchema: {
479
485
  readonly example: "1.29.x-cfke.x";
480
486
  };
481
487
  };
488
+ readonly required: readonly ["tier"];
482
489
  readonly additionalProperties: false;
483
490
  };
484
491
  export declare const FleetCreateInputSchema: {
@@ -514,31 +521,19 @@ export declare const FleetCreateInputSchema: {
514
521
  readonly additionalProperties: false;
515
522
  };
516
523
  readonly hetzner: {
517
- readonly oneOf: readonly [{
518
- readonly type: "object";
519
- readonly properties: {
520
- readonly enabled: {
521
- readonly type: "boolean";
522
- readonly default: true;
523
- };
524
- readonly apiKey: {
525
- readonly type: "string";
526
- };
524
+ readonly type: "object";
525
+ readonly properties: {
526
+ readonly enabled: {
527
+ readonly type: "boolean";
528
+ readonly default: true;
527
529
  };
528
- readonly additionalProperties: false;
529
- }, {
530
- readonly type: "object";
531
- readonly properties: {
532
- readonly apiKey: {
533
- readonly type: "string";
534
- };
535
- readonly enabled: {
536
- readonly type: "boolean";
537
- readonly default: true;
538
- };
530
+ readonly apiKey: {
531
+ readonly type: "string";
532
+ readonly description: "Hetzner Cloud API key with read / write access";
539
533
  };
540
- readonly additionalProperties: false;
541
- }];
534
+ };
535
+ readonly required: readonly ["apiKey"];
536
+ readonly additionalProperties: false;
542
537
  };
543
538
  readonly aws: {
544
539
  readonly type: "object";
@@ -563,13 +558,8 @@ export declare const FleetCreateInputSchema: {
563
558
  readonly description: "Unique identifier of the kubernetes fleet.";
564
559
  readonly example: "new-clouds-fleet";
565
560
  };
566
- readonly type: {
567
- readonly type: "string";
568
- readonly description: "Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.";
569
- readonly enum: readonly ["managed", "connected"];
570
- };
571
561
  };
572
- readonly required: readonly ["id", "type"];
562
+ readonly required: readonly ["id"];
573
563
  readonly additionalProperties: false;
574
564
  };
575
565
  export declare const FleetSchema: {
@@ -605,31 +595,19 @@ export declare const FleetSchema: {
605
595
  readonly additionalProperties: false;
606
596
  };
607
597
  readonly hetzner: {
608
- readonly oneOf: readonly [{
609
- readonly type: "object";
610
- readonly properties: {
611
- readonly enabled: {
612
- readonly type: "boolean";
613
- readonly default: true;
614
- };
615
- readonly apiKey: {
616
- readonly type: "string";
617
- };
598
+ readonly type: "object";
599
+ readonly properties: {
600
+ readonly enabled: {
601
+ readonly type: "boolean";
602
+ readonly default: true;
618
603
  };
619
- readonly additionalProperties: false;
620
- }, {
621
- readonly type: "object";
622
- readonly properties: {
623
- readonly apiKey: {
624
- readonly type: "string";
625
- };
626
- readonly enabled: {
627
- readonly type: "boolean";
628
- readonly default: true;
629
- };
604
+ readonly apiKey: {
605
+ readonly type: "string";
606
+ readonly description: "Hetzner Cloud API key with read / write access";
630
607
  };
631
- readonly additionalProperties: false;
632
- }];
608
+ };
609
+ readonly required: readonly ["apiKey"];
610
+ readonly additionalProperties: false;
633
611
  };
634
612
  readonly aws: {
635
613
  readonly type: "object";
@@ -654,13 +632,8 @@ export declare const FleetSchema: {
654
632
  readonly description: "Unique identifier of the kubernetes fleet.";
655
633
  readonly example: "new-clouds-fleet";
656
634
  };
657
- readonly type: {
658
- readonly type: "string";
659
- readonly description: "Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.";
660
- readonly enum: readonly ["managed", "connected"];
661
- };
662
635
  };
663
- readonly required: readonly ["id", "type"];
636
+ readonly required: readonly ["id"];
664
637
  readonly additionalProperties: false;
665
638
  };
666
639
  export declare const FleetUpdateInputSchema: {
@@ -696,31 +669,19 @@ export declare const FleetUpdateInputSchema: {
696
669
  readonly additionalProperties: false;
697
670
  };
698
671
  readonly hetzner: {
699
- readonly oneOf: readonly [{
700
- readonly type: "object";
701
- readonly properties: {
702
- readonly enabled: {
703
- readonly type: "boolean";
704
- readonly default: true;
705
- };
706
- readonly apiKey: {
707
- readonly type: "string";
708
- };
672
+ readonly type: "object";
673
+ readonly properties: {
674
+ readonly enabled: {
675
+ readonly type: "boolean";
676
+ readonly default: true;
709
677
  };
710
- readonly additionalProperties: false;
711
- }, {
712
- readonly type: "object";
713
- readonly properties: {
714
- readonly apiKey: {
715
- readonly type: "string";
716
- };
717
- readonly enabled: {
718
- readonly type: "boolean";
719
- readonly default: true;
720
- };
678
+ readonly apiKey: {
679
+ readonly type: "string";
680
+ readonly description: "Hetzner Cloud API key with read / write access";
721
681
  };
722
- readonly additionalProperties: false;
723
- }];
682
+ };
683
+ readonly required: readonly ["apiKey"];
684
+ readonly additionalProperties: false;
724
685
  };
725
686
  readonly aws: {
726
687
  readonly type: "object";
@@ -1290,12 +1251,6 @@ export declare const OrganizationSchema: {
1290
1251
  readonly description: "Maximum number of fleets that can be created per cluster.";
1291
1252
  readonly example: 999;
1292
1253
  };
1293
- readonly managed_fleets_cpu_max: {
1294
- readonly type: "integer";
1295
- readonly minimum: 0;
1296
- readonly description: "Maximum number of CPU cores per managed fleet.";
1297
- readonly example: 999;
1298
- };
1299
1254
  readonly cluster_tiers: {
1300
1255
  readonly type: "array";
1301
1256
  readonly items: {
@@ -1337,7 +1292,7 @@ export declare const OrganizationSchema: {
1337
1292
  readonly description: "List of CFKE control plane versions available for the organization.";
1338
1293
  };
1339
1294
  };
1340
- readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "managed_fleets_cpu_max", "cluster_tiers", "regions", "versions"];
1295
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions"];
1341
1296
  readonly additionalProperties: false;
1342
1297
  readonly description: "For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if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
281
281
  description: 'Name of the cluster.',
282
282
  example: 'production-cluster'
283
283
  },
284
- region: {
285
- type: 'string',
286
- description: 'Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.',
287
- default: 'staging',
288
- example: 'northamerica-central-1',
289
- enum: ['staging', 'northamerica-central-1']
290
- },
291
284
  tier: {
292
285
  type: 'string',
293
286
  description: 'Tier of the cluster.',
294
287
  example: 'pro',
295
288
  enum: ['basic', 'pro']
296
289
  },
290
+ region: {
291
+ type: 'string',
292
+ description: 'Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.',
293
+ default: 'staging',
294
+ example: 'northamerica-central-1',
295
+ enum: ['staging', 'northamerica-central-1', 'europe-central-1a']
296
+ },
297
297
  version_channel: {
298
298
  type: 'string',
299
299
  pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
@@ -391,19 +391,19 @@ export const ClusterSchema = {
391
391
  description: 'Name of the cluster.',
392
392
  example: 'production-cluster'
393
393
  },
394
- region: {
395
- type: 'string',
396
- description: 'Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.',
397
- default: 'staging',
398
- example: 'northamerica-central-1',
399
- enum: ['staging', 'northamerica-central-1']
400
- },
401
394
  tier: {
402
395
  type: 'string',
403
396
  description: 'Tier of the cluster.',
404
397
  example: 'pro',
405
398
  enum: ['basic', 'pro']
406
399
  },
400
+ region: {
401
+ type: 'string',
402
+ description: 'Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.',
403
+ default: 'staging',
404
+ example: 'northamerica-central-1',
405
+ enum: ['staging', 'northamerica-central-1', 'europe-central-1a']
406
+ },
407
407
  version_channel: {
408
408
  type: 'string',
409
409
  pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
@@ -478,6 +478,12 @@ export const ClusterUpdateInputSchema = {
478
478
  description: 'Name of the cluster.',
479
479
  example: 'production-cluster'
480
480
  },
481
+ tier: {
482
+ type: 'string',
483
+ description: 'Tier of the cluster.',
484
+ example: 'pro',
485
+ enum: ['basic', 'pro']
486
+ },
481
487
  version_channel: {
482
488
  type: 'string',
483
489
  pattern: '^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$',
@@ -485,6 +491,7 @@ export const ClusterUpdateInputSchema = {
485
491
  example: '1.29.x-cfke.x'
486
492
  }
487
493
  },
494
+ required: ['tier'],
488
495
  additionalProperties: false
489
496
  };
490
497
  export const FleetCreateInputSchema = {
@@ -520,34 +527,19 @@ export const FleetCreateInputSchema = {
520
527
  additionalProperties: false
521
528
  },
522
529
  hetzner: {
523
- oneOf: [
524
- {
525
- type: 'object',
526
- properties: {
527
- enabled: {
528
- type: 'boolean',
529
- default: true
530
- },
531
- apiKey: {
532
- type: 'string'
533
- }
534
- },
535
- additionalProperties: false
530
+ type: 'object',
531
+ properties: {
532
+ enabled: {
533
+ type: 'boolean',
534
+ default: true
536
535
  },
537
- {
538
- type: 'object',
539
- properties: {
540
- apiKey: {
541
- type: 'string'
542
- },
543
- enabled: {
544
- type: 'boolean',
545
- default: true
546
- }
547
- },
548
- additionalProperties: false
536
+ apiKey: {
537
+ type: 'string',
538
+ description: 'Hetzner Cloud API key with read / write access'
549
539
  }
550
- ]
540
+ },
541
+ required: ['apiKey'],
542
+ additionalProperties: false
551
543
  },
552
544
  aws: {
553
545
  type: 'object',
@@ -571,14 +563,9 @@ export const FleetCreateInputSchema = {
571
563
  pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
572
564
  description: 'Unique identifier of the kubernetes fleet.',
573
565
  example: 'new-clouds-fleet'
574
- },
575
- type: {
576
- type: 'string',
577
- description: 'Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.',
578
- enum: ['managed', 'connected']
579
566
  }
580
567
  },
581
- required: ['id', 'type'],
568
+ required: ['id'],
582
569
  additionalProperties: false
583
570
  };
584
571
  export const FleetSchema = {
@@ -614,34 +601,19 @@ export const FleetSchema = {
614
601
  additionalProperties: false
615
602
  },
616
603
  hetzner: {
617
- oneOf: [
618
- {
619
- type: 'object',
620
- properties: {
621
- enabled: {
622
- type: 'boolean',
623
- default: true
624
- },
625
- apiKey: {
626
- type: 'string'
627
- }
628
- },
629
- additionalProperties: false
604
+ type: 'object',
605
+ properties: {
606
+ enabled: {
607
+ type: 'boolean',
608
+ default: true
630
609
  },
631
- {
632
- type: 'object',
633
- properties: {
634
- apiKey: {
635
- type: 'string'
636
- },
637
- enabled: {
638
- type: 'boolean',
639
- default: true
640
- }
641
- },
642
- additionalProperties: false
610
+ apiKey: {
611
+ type: 'string',
612
+ description: 'Hetzner Cloud API key with read / write access'
643
613
  }
644
- ]
614
+ },
615
+ required: ['apiKey'],
616
+ additionalProperties: false
645
617
  },
646
618
  aws: {
647
619
  type: 'object',
@@ -665,14 +637,9 @@ export const FleetSchema = {
665
637
  pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
666
638
  description: 'Unique identifier of the kubernetes fleet.',
667
639
  example: 'new-clouds-fleet'
668
- },
669
- type: {
670
- type: 'string',
671
- description: 'Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.',
672
- enum: ['managed', 'connected']
673
640
  }
674
641
  },
675
- required: ['id', 'type'],
642
+ required: ['id'],
676
643
  additionalProperties: false
677
644
  };
678
645
  export const FleetUpdateInputSchema = {
@@ -708,34 +675,19 @@ export const FleetUpdateInputSchema = {
708
675
  additionalProperties: false
709
676
  },
710
677
  hetzner: {
711
- oneOf: [
712
- {
713
- type: 'object',
714
- properties: {
715
- enabled: {
716
- type: 'boolean',
717
- default: true
718
- },
719
- apiKey: {
720
- type: 'string'
721
- }
722
- },
723
- additionalProperties: false
678
+ type: 'object',
679
+ properties: {
680
+ enabled: {
681
+ type: 'boolean',
682
+ default: true
724
683
  },
725
- {
726
- type: 'object',
727
- properties: {
728
- apiKey: {
729
- type: 'string'
730
- },
731
- enabled: {
732
- type: 'boolean',
733
- default: true
734
- }
735
- },
736
- additionalProperties: false
684
+ apiKey: {
685
+ type: 'string',
686
+ description: 'Hetzner Cloud API key with read / write access'
737
687
  }
738
- ]
688
+ },
689
+ required: ['apiKey'],
690
+ additionalProperties: false
739
691
  },
740
692
  aws: {
741
693
  type: 'object',
@@ -1318,12 +1270,6 @@ export const OrganizationSchema = {
1318
1270
  description: 'Maximum number of fleets that can be created per cluster.',
1319
1271
  example: 999
1320
1272
  },
1321
- managed_fleets_cpu_max: {
1322
- type: 'integer',
1323
- minimum: 0,
1324
- description: 'Maximum number of CPU cores per managed fleet.',
1325
- example: 999
1326
- },
1327
1273
  cluster_tiers: {
1328
1274
  type: 'array',
1329
1275
  items: {
@@ -1365,7 +1311,7 @@ export const OrganizationSchema = {
1365
1311
  description: 'List of CFKE control plane versions available for the organization.'
1366
1312
  }
1367
1313
  },
1368
- required: ['basic_clusters_max', 'basic_clusters_available', 'pro_clusters_max', 'pro_clusters_available', 'fleets_max', 'managed_fleets_cpu_max', 'cluster_tiers', 'regions', 'versions'],
1314
+ required: ['basic_clusters_max', 'basic_clusters_available', 'pro_clusters_max', 'pro_clusters_available', 'fleets_max', 'cluster_tiers', 'regions', 'versions'],
1369
1315
  additionalProperties: false,
1370
1316
  description: 'For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.'
1371
1317
  },