@cloudfleet/sdk 0.0.1-4ee2c6f → 0.0.1-5175d16

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.
@@ -1,6 +1,12 @@
1
1
  export declare const BillingContactSchema: {
2
2
  readonly type: "object";
3
3
  readonly properties: {
4
+ readonly type: {
5
+ readonly type: "string";
6
+ readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
7
+ readonly example: "business";
8
+ readonly enum: readonly ["business", "personal"];
9
+ };
4
10
  readonly company: {
5
11
  readonly type: "string";
6
12
  readonly maxLength: 120;
@@ -76,7 +82,7 @@ export declare const BillingContactSchema: {
76
82
  readonly enum: readonly ["ad_nrt", "ae_trn", "al_tin", "am_tin", "ao_tin", "ar_cuit", "at_vat", "au_abn", "au_arn", "ba_tin", "bb_tin", "be_vat", "bg_uic", "bg_vat", "bh_vat", "bo_tin", "br_cnpj", "br_cpf", "bs_tin", "by_tin", "ca_bn", "ca_gst_hst", "ca_pst_bc", "ca_pst_mb", "ca_pst_sk", "ca_qst", "cd_nif", "ch_uid", "ch_vat", "cl_tin", "cn_tin", "co_nit", "cr_tin", "cy_vat", "cz_vat", "de_stn", "de_vat", "dk_vat", "do_rcn", "ec_ruc", "ee_vat", "eg_tin", "es_cif", "es_vat", "eu_oss_vat", "fi_vat", "fr_vat", "gb_vat", "ge_vat", "gn_nif", "gr_vat", "hk_br", "hr_oib", "hr_vat", "hu_tin", "hu_vat", "id_npwp", "ie_vat", "il_vat", "in_gst", "is_vat", "it_vat", "jp_cn", "jp_rn", "jp_trn", "ke_pin", "kh_tin", "kr_brn", "kz_bin", "li_uid", "li_vat", "lt_vat", "lu_vat", "lv_vat", "ma_vat", "md_vat", "me_pib", "mk_vat", "mr_nif", "mt_vat", "mx_rfc", "my_frp", "my_itn", "my_sst", "ng_tin", "nl_vat", "no_vat", "no_voec", "np_pan", "nz_gst", "om_vat", "pe_ruc", "ph_tin", "pl_vat", "pt_vat", "ro_tin", "ro_vat", "rs_pib", "ru_inn", "ru_kpp", "sa_vat", "se_vat", "sg_gst", "sg_uen", "si_tin", "si_vat", "sk_vat", "sn_ninea", "sr_fin", "sv_nit", "th_vat", "tj_tin", "tr_tin", "tw_vat", "tz_vat", "ua_vat", "ug_tin", "us_ein", "uy_ruc", "uz_tin", "uz_vat", "ve_rif", "vn_tin", "xi_vat", "za_vat", "zm_tin", "zw_tin", ""];
77
83
  };
78
84
  };
79
- readonly required: readonly ["email", "individual_name"];
85
+ readonly required: readonly ["type", "email", "individual_name"];
80
86
  readonly additionalProperties: false;
81
87
  };
82
88
  export declare const BillingCreditsSchema: {
@@ -211,9 +217,8 @@ export declare const ChartSchema: {
211
217
  };
212
218
  readonly status: {
213
219
  readonly type: "string";
214
- readonly description: "Status of the chart deployment.";
215
- readonly example: "active";
216
- readonly enum: readonly ["InstallSucceeded", "InstallFailed", "UpgradeSucceeded", "UpgradeFailed", "TestSucceeded", "TestFailed", "RollbackSucceeded", "RollbackFailed", "UninstallSucceeded", "UninstallFailed", "ArtifactFailed", "DependencyNotReady", "Progressing", "SourceNotReady"];
220
+ readonly description: "Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).";
221
+ readonly example: "InstallSucceeded";
217
222
  };
218
223
  readonly version_current: {
219
224
  readonly type: "string";
@@ -275,10 +280,8 @@ export declare const ClusterCreateInputSchema: {
275
280
  };
276
281
  readonly region: {
277
282
  readonly type: "string";
278
- readonly description: "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.";
279
- readonly default: "staging-1a";
280
- readonly example: "northamerica-central-1a";
281
- readonly enum: readonly ["staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
283
+ readonly description: "Cloudfleet control plane region. This field can not be updated after creation.";
284
+ readonly example: "europe-central-1a";
282
285
  };
283
286
  readonly version_channel: {
284
287
  readonly type: "string";
@@ -286,10 +289,84 @@ export declare const ClusterCreateInputSchema: {
286
289
  readonly description: "Version of the kubernetes cluster.";
287
290
  readonly default: "1.x.x-cfke.x";
288
291
  readonly example: "1.x.x-cfke.x";
289
- readonly enum: readonly ["1.x.x-cfke.x", "1.31.x-cfke.x", "1.32.x-cfke.x", "1.33.x-cfke.x"];
292
+ };
293
+ readonly release_channel: {
294
+ readonly type: "string";
295
+ readonly description: "Release channel for the cluster's control plane.";
296
+ readonly default: "rapid";
297
+ readonly example: "rapid";
298
+ readonly enum: readonly ["rapid", "stable", "extended"];
299
+ };
300
+ readonly features: {
301
+ readonly type: "object";
302
+ readonly properties: {
303
+ readonly gpu_sharing_strategy: {
304
+ readonly type: "string";
305
+ readonly description: "GPU sharing strategy.";
306
+ readonly example: "none";
307
+ readonly enum: readonly ["none", "mps", "time_slicing"];
308
+ };
309
+ readonly gpu_max_shared_clients_per_gpu: {
310
+ readonly type: "integer";
311
+ readonly minimum: 1;
312
+ readonly maximum: 48;
313
+ readonly description: "Maximum number of pods that may share a single GPU.";
314
+ readonly example: 10;
315
+ };
316
+ readonly cilium_socket_lb_host_namespace_only: {
317
+ readonly type: "boolean";
318
+ readonly description: "Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.";
319
+ readonly example: false;
320
+ };
321
+ };
322
+ readonly required: readonly ["gpu_sharing_strategy", "gpu_max_shared_clients_per_gpu"];
323
+ readonly additionalProperties: false;
324
+ readonly description: "Cluster feature toggles.";
325
+ readonly default: {
326
+ readonly gpu_sharing_strategy: "none";
327
+ readonly gpu_max_shared_clients_per_gpu: 10;
328
+ readonly cilium_socket_lb_host_namespace_only: false;
329
+ };
330
+ };
331
+ readonly networking: {
332
+ readonly type: "object";
333
+ readonly properties: {
334
+ readonly pod_cidr: {
335
+ readonly type: "string";
336
+ readonly description: "CIDR block for pod IPs.";
337
+ readonly example: "10.244.0.0/16";
338
+ };
339
+ readonly service_cidr: {
340
+ readonly type: "string";
341
+ readonly description: "CIDR block for service IPs.";
342
+ readonly example: "10.96.0.0/12";
343
+ };
344
+ readonly cluster_dns: {
345
+ readonly type: "string";
346
+ readonly description: "CoreDNS service IP.";
347
+ readonly example: "10.96.0.10";
348
+ };
349
+ readonly dual_stack: {
350
+ readonly type: "boolean";
351
+ readonly description: "Enable IPv4+IPv6 dual-stack networking.";
352
+ readonly example: false;
353
+ };
354
+ readonly pod_cidr_v6: {
355
+ readonly type: "string";
356
+ readonly description: "IPv6 pod CIDR. Requires dual_stack.";
357
+ readonly example: "fd00:10:244::/56";
358
+ };
359
+ readonly service_cidr_v6: {
360
+ readonly type: "string";
361
+ readonly description: "IPv6 service CIDR. Requires dual_stack.";
362
+ readonly example: "fd00:10:96::/112";
363
+ };
364
+ };
365
+ readonly additionalProperties: false;
366
+ readonly description: "Cluster networking configuration. Immutable after creation.";
290
367
  };
291
368
  };
292
- readonly required: readonly ["name", "tier"];
369
+ readonly required: readonly ["name", "tier", "region"];
293
370
  readonly additionalProperties: false;
294
371
  };
295
372
  export declare const ClusterJoinInformationSchema: {
@@ -311,6 +388,11 @@ export declare const ClusterJoinInformationSchema: {
311
388
  readonly description: "Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.";
312
389
  readonly example: "10.96.0.10";
313
390
  };
391
+ readonly pod_cidr: {
392
+ readonly type: "string";
393
+ readonly description: "Pod CIDR for the cluster. Used to configure iptables rules on nodes to prevent Tailscale routing loops.";
394
+ readonly example: "10.244.0.0/16";
395
+ };
314
396
  readonly auth_key: {
315
397
  readonly type: "string";
316
398
  readonly description: "Authentication key for the cluster.";
@@ -373,7 +455,7 @@ export declare const ClusterJoinInformationSchema: {
373
455
  readonly description: "OIDC Information for hosts to access to third party API's.";
374
456
  };
375
457
  };
376
- readonly required: readonly ["certificate_authority", "endpoint", "cluster_dns", "auth_key", "bootstrap_token", "versions", "third_party_api_access_config"];
458
+ readonly required: readonly ["certificate_authority", "endpoint", "cluster_dns", "pod_cidr", "auth_key", "bootstrap_token", "versions", "third_party_api_access_config"];
377
459
  readonly additionalProperties: false;
378
460
  };
379
461
  export declare const ClusterSchema: {
@@ -395,10 +477,77 @@ export declare const ClusterSchema: {
395
477
  };
396
478
  readonly region: {
397
479
  readonly type: "string";
398
- readonly description: "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.";
399
- readonly default: "staging-1a";
400
- readonly example: "northamerica-central-1a";
401
- readonly enum: readonly ["staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
480
+ readonly description: "Cloudfleet control plane region. This field can not be updated after creation.";
481
+ readonly example: "europe-central-1a";
482
+ };
483
+ readonly networking: {
484
+ readonly type: "object";
485
+ readonly properties: {
486
+ readonly pod_cidr: {
487
+ readonly type: "string";
488
+ readonly description: "CIDR block for pod IPs.";
489
+ readonly example: "10.244.0.0/16";
490
+ };
491
+ readonly service_cidr: {
492
+ readonly type: "string";
493
+ readonly description: "CIDR block for service IPs.";
494
+ readonly example: "10.96.0.0/12";
495
+ };
496
+ readonly cluster_dns: {
497
+ readonly type: "string";
498
+ readonly description: "CoreDNS service IP.";
499
+ readonly example: "10.96.0.10";
500
+ };
501
+ readonly dual_stack: {
502
+ readonly type: "boolean";
503
+ readonly description: "Enable IPv4+IPv6 dual-stack networking.";
504
+ readonly example: false;
505
+ };
506
+ readonly pod_cidr_v6: {
507
+ readonly type: "string";
508
+ readonly description: "IPv6 pod CIDR. Requires dual_stack.";
509
+ readonly example: "fd00:10:244::/56";
510
+ };
511
+ readonly service_cidr_v6: {
512
+ readonly type: "string";
513
+ readonly description: "IPv6 service CIDR. Requires dual_stack.";
514
+ readonly example: "fd00:10:96::/112";
515
+ };
516
+ };
517
+ readonly additionalProperties: false;
518
+ readonly description: "Cluster networking configuration. Immutable after creation.";
519
+ };
520
+ readonly release_channel: {
521
+ readonly type: "string";
522
+ readonly description: "Release channel for the cluster's control plane.";
523
+ readonly example: "rapid";
524
+ readonly enum: readonly ["rapid", "stable", "extended"];
525
+ };
526
+ readonly features: {
527
+ readonly type: "object";
528
+ readonly properties: {
529
+ readonly gpu_sharing_strategy: {
530
+ readonly type: "string";
531
+ readonly description: "GPU sharing strategy.";
532
+ readonly example: "none";
533
+ readonly enum: readonly ["none", "mps", "time_slicing"];
534
+ };
535
+ readonly gpu_max_shared_clients_per_gpu: {
536
+ readonly type: "integer";
537
+ readonly minimum: 1;
538
+ readonly maximum: 48;
539
+ readonly description: "Maximum number of pods that may share a single GPU.";
540
+ readonly example: 10;
541
+ };
542
+ readonly cilium_socket_lb_host_namespace_only: {
543
+ readonly type: "boolean";
544
+ readonly description: "Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.";
545
+ readonly example: false;
546
+ };
547
+ };
548
+ readonly required: readonly ["gpu_sharing_strategy", "gpu_max_shared_clients_per_gpu"];
549
+ readonly additionalProperties: false;
550
+ readonly description: "Cluster feature toggles.";
402
551
  };
403
552
  readonly id: {
404
553
  readonly type: "string";
@@ -408,16 +557,27 @@ export declare const ClusterSchema: {
408
557
  };
409
558
  readonly status: {
410
559
  readonly type: "string";
411
- readonly description: "Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.";
412
- readonly example: "active";
413
- readonly enum: readonly ["active", "disabled", "deleted", "creating", "deployed", "failed", "updating"];
560
+ readonly description: "Status of the cluster.";
561
+ readonly example: "deployed";
562
+ readonly enum: readonly ["creating", "deployed", "updating", "disabled"];
414
563
  };
415
564
  readonly endpoint: {
416
565
  readonly anyOf: readonly [{
417
566
  readonly type: "string";
418
567
  readonly format: "uri";
419
- readonly description: "URL of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster.";
420
- readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.cloudfleet.dev:6443";
568
+ readonly description: "URL signed by a public CA of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster.";
569
+ readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io";
570
+ }, {
571
+ readonly type: "string";
572
+ readonly enum: readonly [""];
573
+ }];
574
+ };
575
+ readonly endpoint_public: {
576
+ readonly anyOf: readonly [{
577
+ readonly type: "string";
578
+ readonly format: "uri";
579
+ readonly description: "Deprecated alias of `endpoint`; retained for backward compatibility.";
580
+ readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io";
421
581
  }, {
422
582
  readonly type: "string";
423
583
  readonly enum: readonly [""];
@@ -455,7 +615,7 @@ export declare const ClusterSchema: {
455
615
  readonly example: "1.x.x-cfke.x";
456
616
  };
457
617
  };
458
- readonly required: readonly ["name", "tier", "id", "status"];
618
+ readonly required: readonly ["name", "tier", "region", "id", "status"];
459
619
  readonly additionalProperties: false;
460
620
  };
461
621
  export declare const ClusterUpdateInputSchema: {
@@ -481,6 +641,38 @@ export declare const ClusterUpdateInputSchema: {
481
641
  readonly description: "Version of the kubernetes cluster.";
482
642
  readonly example: "1.x.x-cfke.x";
483
643
  };
644
+ readonly release_channel: {
645
+ readonly type: "string";
646
+ readonly description: "Release channel for the cluster's control plane.";
647
+ readonly example: "rapid";
648
+ readonly enum: readonly ["rapid", "stable", "extended"];
649
+ };
650
+ readonly features: {
651
+ readonly type: "object";
652
+ readonly properties: {
653
+ readonly gpu_sharing_strategy: {
654
+ readonly type: "string";
655
+ readonly description: "GPU sharing strategy.";
656
+ readonly example: "none";
657
+ readonly enum: readonly ["none", "mps", "time_slicing"];
658
+ };
659
+ readonly gpu_max_shared_clients_per_gpu: {
660
+ readonly type: "integer";
661
+ readonly minimum: 1;
662
+ readonly maximum: 48;
663
+ readonly description: "Maximum number of pods that may share a single GPU.";
664
+ readonly example: 10;
665
+ };
666
+ readonly cilium_socket_lb_host_namespace_only: {
667
+ readonly type: "boolean";
668
+ readonly description: "Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.";
669
+ readonly example: false;
670
+ };
671
+ };
672
+ readonly required: readonly ["gpu_sharing_strategy", "gpu_max_shared_clients_per_gpu"];
673
+ readonly additionalProperties: false;
674
+ readonly description: "Cluster feature toggles.";
675
+ };
484
676
  };
485
677
  readonly required: readonly ["tier"];
486
678
  readonly additionalProperties: false;
@@ -492,10 +684,10 @@ export declare const FleetCreateInputSchema: {
492
684
  readonly type: "object";
493
685
  readonly properties: {
494
686
  readonly cpu: {
495
- readonly type: "number";
496
- readonly format: "float";
497
- readonly minimum: 8;
498
- readonly description: "CPU limit in cores.";
687
+ readonly type: "integer";
688
+ readonly minimum: 0;
689
+ readonly maximum: 100000;
690
+ readonly description: "CPU limit in cores. Maximum 100,000.";
499
691
  };
500
692
  };
501
693
  readonly additionalProperties: false;
@@ -506,14 +698,15 @@ export declare const FleetCreateInputSchema: {
506
698
  readonly properties: {
507
699
  readonly enabled: {
508
700
  readonly type: "boolean";
509
- readonly default: true;
510
701
  };
511
702
  readonly project: {
512
703
  readonly type: "string";
513
- readonly description: "Project GCP Project id to deploy instances into";
704
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
705
+ readonly description: "GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.";
706
+ readonly example: "my-cloudfleet-project";
514
707
  };
515
708
  };
516
- readonly required: readonly ["project"];
709
+ readonly required: readonly ["enabled"];
517
710
  readonly additionalProperties: false;
518
711
  };
519
712
  readonly hetzner: {
@@ -521,13 +714,16 @@ export declare const FleetCreateInputSchema: {
521
714
  readonly properties: {
522
715
  readonly enabled: {
523
716
  readonly type: "boolean";
524
- readonly default: true;
525
717
  };
526
718
  readonly apiKey: {
527
719
  readonly type: "string";
528
- readonly description: "Hetzner Cloud API key with read / write access. On update, omit this field to keep the existing value.";
720
+ readonly maxLength: 64;
721
+ readonly minLength: 64;
722
+ readonly pattern: "^[A-Za-z0-9]+$";
723
+ readonly description: "Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.";
529
724
  };
530
725
  };
726
+ readonly required: readonly ["enabled"];
531
727
  readonly additionalProperties: false;
532
728
  };
533
729
  readonly aws: {
@@ -535,14 +731,15 @@ export declare const FleetCreateInputSchema: {
535
731
  readonly properties: {
536
732
  readonly enabled: {
537
733
  readonly type: "boolean";
538
- readonly default: true;
539
734
  };
540
735
  readonly controllerRoleArn: {
541
736
  readonly type: "string";
542
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
737
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
738
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
739
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
543
740
  };
544
741
  };
545
- readonly required: readonly ["controllerRoleArn"];
742
+ readonly required: readonly ["enabled"];
546
743
  readonly additionalProperties: false;
547
744
  };
548
745
  readonly constraints: {
@@ -554,7 +751,9 @@ export declare const FleetCreateInputSchema: {
554
751
  readonly type: "string";
555
752
  readonly enum: readonly ["on-demand", "spot"];
556
753
  };
754
+ readonly minItems: 1;
557
755
  readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
756
+ readonly default: readonly ["on-demand", "spot"];
558
757
  };
559
758
  readonly 'kubernetes.io/arch': {
560
759
  readonly type: "array";
@@ -562,7 +761,9 @@ export declare const FleetCreateInputSchema: {
562
761
  readonly type: "string";
563
762
  readonly enum: readonly ["amd64", "arm64"];
564
763
  };
764
+ readonly minItems: 1;
565
765
  readonly description: "Allowed values for `kubernetes.io/arch`.";
766
+ readonly default: readonly ["amd64"];
566
767
  };
567
768
  readonly 'cfke.io/instance-family': {
568
769
  readonly type: "array";
@@ -587,6 +788,7 @@ export declare const FleetCreateInputSchema: {
587
788
  readonly scalingProfile: {
588
789
  readonly type: "string";
589
790
  readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
791
+ readonly default: "conservative";
590
792
  readonly example: "conservative";
591
793
  readonly enum: readonly ["aggressive", "conservative"];
592
794
  };
@@ -609,10 +811,10 @@ export declare const FleetSchema: {
609
811
  readonly type: "object";
610
812
  readonly properties: {
611
813
  readonly cpu: {
612
- readonly type: "number";
613
- readonly format: "float";
614
- readonly minimum: 8;
615
- readonly description: "CPU limit in cores.";
814
+ readonly type: "integer";
815
+ readonly minimum: 0;
816
+ readonly maximum: 100000;
817
+ readonly description: "CPU limit in cores. Maximum 100,000.";
616
818
  };
617
819
  };
618
820
  readonly additionalProperties: false;
@@ -623,14 +825,15 @@ export declare const FleetSchema: {
623
825
  readonly properties: {
624
826
  readonly enabled: {
625
827
  readonly type: "boolean";
626
- readonly default: true;
627
828
  };
628
829
  readonly project: {
629
830
  readonly type: "string";
630
- readonly description: "Project GCP Project id to deploy instances into";
831
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
832
+ readonly description: "GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.";
833
+ readonly example: "my-cloudfleet-project";
631
834
  };
632
835
  };
633
- readonly required: readonly ["project"];
836
+ readonly required: readonly ["enabled"];
634
837
  readonly additionalProperties: false;
635
838
  };
636
839
  readonly hetzner: {
@@ -638,13 +841,14 @@ export declare const FleetSchema: {
638
841
  readonly properties: {
639
842
  readonly enabled: {
640
843
  readonly type: "boolean";
641
- readonly default: true;
642
844
  };
643
845
  readonly apiKey: {
644
846
  readonly type: "string";
645
- readonly description: "Hetzner Cloud API key with read / write access. On update, omit this field to keep the existing value.";
847
+ readonly pattern: "^\\*{64}$";
848
+ readonly description: "Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.";
646
849
  };
647
850
  };
851
+ readonly required: readonly ["enabled"];
648
852
  readonly additionalProperties: false;
649
853
  };
650
854
  readonly aws: {
@@ -652,14 +856,15 @@ export declare const FleetSchema: {
652
856
  readonly properties: {
653
857
  readonly enabled: {
654
858
  readonly type: "boolean";
655
- readonly default: true;
656
859
  };
657
860
  readonly controllerRoleArn: {
658
861
  readonly type: "string";
659
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
862
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
863
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
864
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
660
865
  };
661
866
  };
662
- readonly required: readonly ["controllerRoleArn"];
867
+ readonly required: readonly ["enabled"];
663
868
  readonly additionalProperties: false;
664
869
  };
665
870
  readonly constraints: {
@@ -671,7 +876,9 @@ export declare const FleetSchema: {
671
876
  readonly type: "string";
672
877
  readonly enum: readonly ["on-demand", "spot"];
673
878
  };
879
+ readonly minItems: 1;
674
880
  readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
881
+ readonly default: readonly ["on-demand", "spot"];
675
882
  };
676
883
  readonly 'kubernetes.io/arch': {
677
884
  readonly type: "array";
@@ -679,7 +886,9 @@ export declare const FleetSchema: {
679
886
  readonly type: "string";
680
887
  readonly enum: readonly ["amd64", "arm64"];
681
888
  };
889
+ readonly minItems: 1;
682
890
  readonly description: "Allowed values for `kubernetes.io/arch`.";
891
+ readonly default: readonly ["amd64"];
683
892
  };
684
893
  readonly 'cfke.io/instance-family': {
685
894
  readonly type: "array";
@@ -704,6 +913,7 @@ export declare const FleetSchema: {
704
913
  readonly scalingProfile: {
705
914
  readonly type: "string";
706
915
  readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
916
+ readonly default: "conservative";
707
917
  readonly example: "conservative";
708
918
  readonly enum: readonly ["aggressive", "conservative"];
709
919
  };
@@ -715,8 +925,28 @@ export declare const FleetSchema: {
715
925
  readonly description: "Unique identifier of the kubernetes fleet.";
716
926
  readonly example: "new-clouds-fleet";
717
927
  };
928
+ readonly ready: {
929
+ readonly type: "boolean";
930
+ readonly description: "Indicates whether the fleet configuration is healthy.";
931
+ readonly example: true;
932
+ };
933
+ readonly status_message: {
934
+ readonly type: "string";
935
+ readonly description: "Human-readable reason the fleet is not ready. Present only when `ready` is false.";
936
+ readonly example: "Invalid provider permissions.";
937
+ };
938
+ readonly created_at: {
939
+ readonly type: "string";
940
+ readonly description: "Creation date and time of the fleet.";
941
+ readonly example: "2024-09-12T09:11:27Z";
942
+ };
943
+ readonly updated_at: {
944
+ readonly type: "string";
945
+ readonly description: "Date and time the fleet was last updated.";
946
+ readonly example: "2024-09-12T09:11:27Z";
947
+ };
718
948
  };
719
- readonly required: readonly ["id"];
949
+ readonly required: readonly ["scalingProfile", "id", "ready", "created_at", "updated_at"];
720
950
  readonly additionalProperties: false;
721
951
  };
722
952
  export declare const FleetUpdateInputSchema: {
@@ -726,10 +956,10 @@ export declare const FleetUpdateInputSchema: {
726
956
  readonly type: "object";
727
957
  readonly properties: {
728
958
  readonly cpu: {
729
- readonly type: "number";
730
- readonly format: "float";
731
- readonly minimum: 8;
732
- readonly description: "CPU limit in cores.";
959
+ readonly type: "integer";
960
+ readonly minimum: 0;
961
+ readonly maximum: 100000;
962
+ readonly description: "CPU limit in cores. Maximum 100,000.";
733
963
  };
734
964
  };
735
965
  readonly additionalProperties: false;
@@ -740,14 +970,15 @@ export declare const FleetUpdateInputSchema: {
740
970
  readonly properties: {
741
971
  readonly enabled: {
742
972
  readonly type: "boolean";
743
- readonly default: true;
744
973
  };
745
974
  readonly project: {
746
975
  readonly type: "string";
747
- readonly description: "Project GCP Project id to deploy instances into";
976
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
977
+ readonly description: "GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.";
978
+ readonly example: "my-cloudfleet-project";
748
979
  };
749
980
  };
750
- readonly required: readonly ["project"];
981
+ readonly required: readonly ["enabled"];
751
982
  readonly additionalProperties: false;
752
983
  };
753
984
  readonly hetzner: {
@@ -755,13 +986,16 @@ export declare const FleetUpdateInputSchema: {
755
986
  readonly properties: {
756
987
  readonly enabled: {
757
988
  readonly type: "boolean";
758
- readonly default: true;
759
989
  };
760
990
  readonly apiKey: {
761
991
  readonly type: "string";
762
- readonly description: "Hetzner Cloud API key with read / write access. On update, omit this field to keep the existing value.";
992
+ readonly maxLength: 64;
993
+ readonly minLength: 64;
994
+ readonly pattern: "^[A-Za-z0-9]+$";
995
+ readonly description: "Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.";
763
996
  };
764
997
  };
998
+ readonly required: readonly ["enabled"];
765
999
  readonly additionalProperties: false;
766
1000
  };
767
1001
  readonly aws: {
@@ -769,14 +1003,15 @@ export declare const FleetUpdateInputSchema: {
769
1003
  readonly properties: {
770
1004
  readonly enabled: {
771
1005
  readonly type: "boolean";
772
- readonly default: true;
773
1006
  };
774
1007
  readonly controllerRoleArn: {
775
1008
  readonly type: "string";
776
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
1009
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
1010
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
1011
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
777
1012
  };
778
1013
  };
779
- readonly required: readonly ["controllerRoleArn"];
1014
+ readonly required: readonly ["enabled"];
780
1015
  readonly additionalProperties: false;
781
1016
  };
782
1017
  readonly constraints: {
@@ -788,6 +1023,7 @@ export declare const FleetUpdateInputSchema: {
788
1023
  readonly type: "string";
789
1024
  readonly enum: readonly ["on-demand", "spot"];
790
1025
  };
1026
+ readonly minItems: 1;
791
1027
  readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
792
1028
  };
793
1029
  readonly 'kubernetes.io/arch': {
@@ -796,6 +1032,7 @@ export declare const FleetUpdateInputSchema: {
796
1032
  readonly type: "string";
797
1033
  readonly enum: readonly ["amd64", "arm64"];
798
1034
  };
1035
+ readonly minItems: 1;
799
1036
  readonly description: "Allowed values for `kubernetes.io/arch`.";
800
1037
  };
801
1038
  readonly 'cfke.io/instance-family': {
@@ -825,6 +1062,27 @@ export declare const FleetUpdateInputSchema: {
825
1062
  readonly enum: readonly ["aggressive", "conservative"];
826
1063
  };
827
1064
  };
1065
+ readonly required: readonly ["scalingProfile"];
1066
+ readonly additionalProperties: false;
1067
+ };
1068
+ export declare const InviteCreateInputSchema: {
1069
+ readonly type: "object";
1070
+ readonly properties: {
1071
+ readonly email: {
1072
+ readonly type: "string";
1073
+ readonly format: "email";
1074
+ readonly description: "Email address of the user to invite.";
1075
+ readonly example: "email@example.com";
1076
+ };
1077
+ readonly role: {
1078
+ readonly type: "string";
1079
+ readonly description: "Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.";
1080
+ readonly default: "User";
1081
+ readonly example: "User";
1082
+ readonly enum: readonly ["Administrator", "User"];
1083
+ };
1084
+ };
1085
+ readonly required: readonly ["email"];
828
1086
  readonly additionalProperties: false;
829
1087
  };
830
1088
  export declare const InviteSchema: {
@@ -858,6 +1116,13 @@ export declare const InviteSchema: {
858
1116
  readonly description: "Generated unique invite code.";
859
1117
  readonly example: "7kUZnH7nnKUFfvc4NK2KQF";
860
1118
  };
1119
+ readonly role: {
1120
+ readonly type: "string";
1121
+ readonly description: "Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.";
1122
+ readonly default: "User";
1123
+ readonly example: "User";
1124
+ readonly enum: readonly ["Administrator", "User"];
1125
+ };
861
1126
  };
862
1127
  readonly required: readonly ["date_created"];
863
1128
  readonly additionalProperties: false;
@@ -1055,6 +1320,12 @@ export declare const MarketplaceListingSchema: {
1055
1320
  export declare const OrganizationCreateInputSchema: {
1056
1321
  readonly type: "object";
1057
1322
  readonly properties: {
1323
+ readonly type: {
1324
+ readonly type: "string";
1325
+ readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
1326
+ readonly example: "business";
1327
+ readonly enum: readonly ["business", "personal"];
1328
+ };
1058
1329
  readonly email: {
1059
1330
  readonly type: "string";
1060
1331
  readonly format: "email";
@@ -1063,11 +1334,13 @@ export declare const OrganizationCreateInputSchema: {
1063
1334
  };
1064
1335
  readonly first_name: {
1065
1336
  readonly type: "string";
1337
+ readonly minLength: 1;
1066
1338
  readonly description: "First name of the billing contact person.";
1067
1339
  readonly example: "John";
1068
1340
  };
1069
1341
  readonly last_name: {
1070
1342
  readonly type: "string";
1343
+ readonly minLength: 1;
1071
1344
  readonly description: "Last name of the billing contact person.";
1072
1345
  readonly example: "Doe";
1073
1346
  };
@@ -1085,7 +1358,19 @@ export declare const OrganizationCreateInputSchema: {
1085
1358
  readonly description: "Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.";
1086
1359
  };
1087
1360
  };
1088
- readonly required: readonly ["email", "first_name", "last_name", "company_name", "password"];
1361
+ readonly required: readonly ["type", "email", "first_name", "last_name", "company_name", "password"];
1362
+ readonly additionalProperties: false;
1363
+ };
1364
+ export declare const OrganizationCreateOutputSchema: {
1365
+ readonly type: "object";
1366
+ readonly properties: {
1367
+ readonly id: {
1368
+ readonly type: "string";
1369
+ readonly description: "Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.";
1370
+ readonly example: "organization-id";
1371
+ };
1372
+ };
1373
+ readonly required: readonly ["id"];
1089
1374
  readonly additionalProperties: false;
1090
1375
  };
1091
1376
  export declare const OrganizationSchema: {
@@ -1104,6 +1389,12 @@ export declare const OrganizationSchema: {
1104
1389
  readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
1105
1390
  readonly example: "ACME Corp.";
1106
1391
  };
1392
+ readonly type: {
1393
+ readonly type: "string";
1394
+ readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
1395
+ readonly example: "business";
1396
+ readonly enum: readonly ["business", "personal"];
1397
+ };
1107
1398
  readonly date_created: {
1108
1399
  readonly type: "string";
1109
1400
  readonly format: "date-time";
@@ -1154,7 +1445,7 @@ export declare const OrganizationSchema: {
1154
1445
  readonly type: "array";
1155
1446
  readonly items: {
1156
1447
  readonly type: "string";
1157
- readonly example: "northamerica-central-1";
1448
+ readonly example: "northamerica-central-1a";
1158
1449
  };
1159
1450
  readonly minItems: 1;
1160
1451
  readonly description: "List of Cloudfleet control plane regions available for the organization.";
@@ -1197,8 +1488,14 @@ export declare const OrganizationSchema: {
1197
1488
  readonly description: "Status of the organization. Can be `active` or `closed`, or `suspended`.";
1198
1489
  readonly enum: readonly ["active", "closed", "suspended"];
1199
1490
  };
1491
+ readonly verification: {
1492
+ readonly type: "string";
1493
+ readonly description: "Verification status of the organization, which determines the assigned quota. `none` when billing information is incomplete, `submitted` when billing information is complete but the organization is not yet verified, `verified` when the organization is verified.";
1494
+ readonly example: "verified";
1495
+ readonly enum: readonly ["none", "submitted", "verified"];
1496
+ };
1200
1497
  };
1201
- readonly required: readonly ["id", "date_created", "quota", "status"];
1498
+ readonly required: readonly ["id", "type", "date_created", "quota", "status", "verification"];
1202
1499
  readonly additionalProperties: false;
1203
1500
  };
1204
1501
  export declare const PaymentMethodSchema: {
@@ -1206,26 +1503,19 @@ export declare const PaymentMethodSchema: {
1206
1503
  readonly properties: {
1207
1504
  readonly id: {
1208
1505
  readonly type: "string";
1209
- readonly format: "uuid";
1210
- readonly description: "Unique identifier of the organization. UUID v4 string in canonical form.";
1211
- readonly example: "e94d30ec-a2dd-4dcb-832c-ac2be144ba91";
1212
- };
1213
- readonly setup: {
1214
- readonly type: "boolean";
1215
- readonly description: "Whether organization payment method was set up and ready to use for payments.";
1216
- readonly example: true;
1506
+ readonly description: "Payment method identifier. Stripe payment method id for cards/SEPA; the constant `bank_transfer` for the invoice/bank-transfer method. Used to set as default or delete the payment method.";
1507
+ readonly example: "pm_1MtwBwLkdIwHu7ix28a3tqPa";
1217
1508
  };
1218
1509
  readonly type: {
1219
1510
  readonly type: "string";
1220
- readonly nullable: true;
1221
- readonly description: "Payment method type type. Only `card` payments supported at the moment.";
1511
+ readonly description: "Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.";
1222
1512
  readonly example: "card";
1223
- readonly enum: readonly ["card"];
1513
+ readonly enum: readonly ["card", "sepa_debit", "bank_transfer"];
1224
1514
  };
1225
1515
  readonly last4: {
1226
1516
  readonly type: "string";
1227
1517
  readonly nullable: true;
1228
- readonly description: "Last 4 digits of the payment card number.";
1518
+ readonly description: "Last 4 digits of the payment card number, of the bank account (IBAN) for SEPA Direct Debit, or of the destination IBAN for bank transfer.";
1229
1519
  readonly example: "4242";
1230
1520
  };
1231
1521
  readonly exp_month: {
@@ -1233,25 +1523,46 @@ export declare const PaymentMethodSchema: {
1233
1523
  readonly minimum: 1;
1234
1524
  readonly maximum: 12;
1235
1525
  readonly nullable: true;
1236
- readonly description: "Two-digit number representing the card's expiration month.";
1237
- readonly example: "12";
1526
+ readonly description: "Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.";
1527
+ readonly example: 12;
1238
1528
  };
1239
1529
  readonly exp_year: {
1240
1530
  readonly type: "integer";
1241
- readonly minimum: 2024;
1242
1531
  readonly nullable: true;
1243
- readonly description: "Four-digit number representing the card's expiration year.";
1244
- readonly example: "2028";
1532
+ readonly description: "Four-digit number representing the card's expiration year. May be in the past for an expired card still on file. Null for SEPA Direct Debit and bank transfer.";
1533
+ readonly example: 2028;
1245
1534
  };
1246
1535
  readonly brand: {
1247
1536
  readonly type: "string";
1248
1537
  readonly nullable: true;
1249
- readonly description: "Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.";
1538
+ readonly description: "Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.";
1250
1539
  readonly example: "visa";
1251
- readonly enum: readonly ["amex", "diners", "discover", "eftpos_au", "jcb", "mastercard", "unionpay", "visa", "unknown"];
1540
+ };
1541
+ readonly iban: {
1542
+ readonly type: "string";
1543
+ readonly nullable: true;
1544
+ readonly description: "Full destination IBAN to send bank transfers to. Set only for `bank_transfer`; null otherwise. This is Cloudfleet's virtual receiving account, shown in full so the customer can pay into it.";
1545
+ readonly example: "DE11243015658023127510";
1546
+ };
1547
+ readonly bic: {
1548
+ readonly type: "string";
1549
+ readonly nullable: true;
1550
+ readonly description: "BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.";
1551
+ readonly example: "SOGEDEFFXXX";
1552
+ };
1553
+ readonly account_holder_name: {
1554
+ readonly type: "string";
1555
+ readonly nullable: true;
1556
+ readonly description: "Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.";
1557
+ readonly example: "Cloudfleet GmbH";
1558
+ };
1559
+ readonly is_default: {
1560
+ readonly type: "boolean";
1561
+ readonly description: "Whether this payment method is the default used for invoices and active subscriptions. Always false for `bank_transfer` (it cannot be a Stripe default payment method).";
1562
+ readonly example: true;
1252
1563
  };
1253
1564
  };
1254
- readonly required: readonly ["id", "setup", "type", "last4", "exp_month", "exp_year", "brand"];
1565
+ readonly required: readonly ["id", "type", "last4", "exp_month", "exp_year", "brand", "iban", "bic", "account_holder_name", "is_default"];
1255
1566
  readonly additionalProperties: false;
1256
1567
  };
1257
1568
  export declare const PlatformQuotaSchema: {
@@ -1298,7 +1609,7 @@ export declare const PlatformQuotaSchema: {
1298
1609
  readonly type: "array";
1299
1610
  readonly items: {
1300
1611
  readonly type: "string";
1301
- readonly example: "northamerica-central-1";
1612
+ readonly example: "northamerica-central-1a";
1302
1613
  };
1303
1614
  readonly minItems: 1;
1304
1615
  readonly description: "List of Cloudfleet control plane regions available for the organization.";
@@ -2213,18 +2524,6 @@ export declare const UserCreateInputSchema: {
2213
2524
  readonly minLength: 8;
2214
2525
  readonly description: "User password. Must be at least 8 characters long.";
2215
2526
  };
2216
- readonly status: {
2217
- readonly type: "string";
2218
- readonly description: "Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.";
2219
- readonly example: "active";
2220
- readonly enum: readonly ["active", "inactive"];
2221
- };
2222
- readonly role: {
2223
- readonly type: "string";
2224
- readonly description: "User role. Can be 'Administrator', 'User'.";
2225
- readonly example: "User";
2226
- readonly enum: readonly ["Administrator", "User"];
2227
- };
2228
2527
  };
2229
2528
  readonly required: readonly ["email", "first_name", "last_name", "code", "password"];
2230
2529
  readonly additionalProperties: false;