@cloudfleet/sdk 0.0.1-a64863e → 0.0.1-a9ac9eb

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: {
@@ -416,13 +422,24 @@ export declare const ClusterSchema: {
416
422
  readonly anyOf: readonly [{
417
423
  readonly type: "string";
418
424
  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.";
425
+ readonly description: "URL signed by the private CA of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster. (Deprecated, use endpoint_public instead)";
420
426
  readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.cloudfleet.dev:6443";
421
427
  }, {
422
428
  readonly type: "string";
423
429
  readonly enum: readonly [""];
424
430
  }];
425
431
  };
432
+ readonly endpoint_public: {
433
+ readonly anyOf: readonly [{
434
+ readonly type: "string";
435
+ readonly format: "uri";
436
+ 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.";
437
+ readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io";
438
+ }, {
439
+ readonly type: "string";
440
+ readonly enum: readonly [""];
441
+ }];
442
+ };
426
443
  readonly certificate_ca: {
427
444
  readonly type: "string";
428
445
  readonly description: "Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.";
@@ -492,13 +509,12 @@ export declare const FleetCreateInputSchema: {
492
509
  readonly type: "object";
493
510
  readonly properties: {
494
511
  readonly cpu: {
495
- readonly type: "number";
496
- readonly format: "float";
512
+ readonly type: "integer";
497
513
  readonly minimum: 0;
498
- readonly description: "CPU limit in cores.";
514
+ readonly maximum: 100000;
515
+ readonly description: "CPU limit in cores. Maximum 100,000.";
499
516
  };
500
517
  };
501
- readonly required: readonly ["cpu"];
502
518
  readonly additionalProperties: false;
503
519
  readonly description: "Limits define a set of bounds for provisioning capacity.";
504
520
  };
@@ -507,14 +523,15 @@ export declare const FleetCreateInputSchema: {
507
523
  readonly properties: {
508
524
  readonly enabled: {
509
525
  readonly type: "boolean";
510
- readonly default: true;
511
526
  };
512
527
  readonly project: {
513
528
  readonly type: "string";
514
- readonly description: "Project GCP Project id to deploy instances into";
529
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
530
+ 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.";
531
+ readonly example: "my-cloudfleet-project";
515
532
  };
516
533
  };
517
- readonly required: readonly ["project"];
534
+ readonly required: readonly ["enabled"];
518
535
  readonly additionalProperties: false;
519
536
  };
520
537
  readonly hetzner: {
@@ -522,14 +539,16 @@ export declare const FleetCreateInputSchema: {
522
539
  readonly properties: {
523
540
  readonly enabled: {
524
541
  readonly type: "boolean";
525
- readonly default: true;
526
542
  };
527
543
  readonly apiKey: {
528
544
  readonly type: "string";
529
- readonly description: "Hetzner Cloud API key with read / write access";
545
+ readonly maxLength: 64;
546
+ readonly minLength: 64;
547
+ readonly pattern: "^[A-Za-z0-9]+$";
548
+ readonly description: "Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.";
530
549
  };
531
550
  };
532
- readonly required: readonly ["apiKey"];
551
+ readonly required: readonly ["enabled"];
533
552
  readonly additionalProperties: false;
534
553
  };
535
554
  readonly aws: {
@@ -537,15 +556,66 @@ export declare const FleetCreateInputSchema: {
537
556
  readonly properties: {
538
557
  readonly enabled: {
539
558
  readonly type: "boolean";
540
- readonly default: true;
541
559
  };
542
560
  readonly controllerRoleArn: {
543
561
  readonly type: "string";
544
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
562
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
563
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
564
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
565
+ };
566
+ };
567
+ readonly required: readonly ["enabled"];
568
+ readonly additionalProperties: false;
569
+ };
570
+ readonly constraints: {
571
+ readonly type: "object";
572
+ readonly properties: {
573
+ readonly 'karpenter.sh/capacity-type': {
574
+ readonly type: "array";
575
+ readonly items: {
576
+ readonly type: "string";
577
+ readonly enum: readonly ["on-demand", "spot"];
578
+ };
579
+ readonly minItems: 1;
580
+ readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
581
+ readonly default: readonly ["on-demand", "spot"];
582
+ };
583
+ readonly 'kubernetes.io/arch': {
584
+ readonly type: "array";
585
+ readonly items: {
586
+ readonly type: "string";
587
+ readonly enum: readonly ["amd64", "arm64"];
588
+ };
589
+ readonly minItems: 1;
590
+ readonly description: "Allowed values for `kubernetes.io/arch`.";
591
+ readonly default: readonly ["amd64"];
592
+ };
593
+ readonly 'cfke.io/instance-family': {
594
+ readonly type: "array";
595
+ readonly items: {
596
+ readonly type: "string";
597
+ readonly enum: readonly ["a1", "a2", "a3", "a4", "c1", "c2", "c2d", "c3", "c3d", "c4", "c4a", "c4d", "c5", "c5a", "c5ad", "c5d", "c5n", "c6a", "c6g", "c6gd", "c6gn", "c6i", "c6id", "c6in", "c7a", "c7g", "c7gd", "c7gn", "c7i", "c7i-flex", "c8g", "c8gd", "cax", "ccx", "cpx", "cx", "d2", "d3", "d3en", "dl1", "dl2q", "e2", "f1", "f2", "g1", "g2", "g4ad", "g4dn", "g5", "g5g", "g6", "g6e", "gr6", "h1", "h3", "hpc6a", "hpc6id", "hpc7a", "hpc7g", "i2", "i3", "i3en", "i4g", "i4i", "i7i", "i7ie", "i8g", "im4gn", "inf1", "inf2", "is4gen", "m1", "m2", "m3", "m4", "m5", "m5a", "m5ad", "m5d", "m5dn", "m5n", "m5zn", "m6a", "m6g", "m6gd", "m6i", "m6id", "m6idn", "m6in", "m7a", "m7g", "m7gd", "m7i", "m7i-flex", "m8g", "m8gd", "n1", "n2", "n2d", "n4", "p3", "p3dn", "p4d", "p4de", "p5", "p5e", "p5en", "p6-b200", "r3", "r4", "r5", "r5a", "r5ad", "r5b", "r5d", "r5dn", "r5n", "r6a", "r6g", "r6gd", "r6i", "r6id", "r6idn", "r6in", "r7a", "r7g", "r7gd", "r7i", "r7iz", "r8g", "r8gd", "t2", "t2a", "t2d", "t3", "t3a", "t4g", "trn1", "trn1n", "u-3tb1", "u-6tb1", "u7i-12tb", "u7i-6tb", "u7i-8tb", "u7in-16tb", "u7in-24tb", "u7in-32tb", "vt1", "x1", "x1e", "x2gd", "x2idn", "x2iedn", "x2iezn", "x4", "x8g", "z1d", "z3"];
598
+ };
599
+ readonly description: "Allowed values for `cfke.io/instance-family`.";
600
+ };
601
+ readonly 'topology.kubernetes.io/region': {
602
+ readonly type: "array";
603
+ readonly items: {
604
+ readonly type: "string";
605
+ readonly enum: readonly ["africa-south1", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ash", "asia-east1", "asia-east2", "asia-northeast1", "asia-northeast2", "asia-northeast3", "asia-south1", "asia-south2", "asia-southeast1", "asia-southeast2", "australia-southeast1", "australia-southeast2", "ca-central-1", "eu-central-1", "eu-central-2", "eu-north-1", "eu-west-1", "eu-west-2", "eu-west-3", "europe-central2", "europe-north1", "europe-southwest1", "europe-west1", "europe-west10", "europe-west12", "europe-west2", "europe-west3", "europe-west4", "europe-west6", "europe-west8", "europe-west9", "fsn1", "hel1", "hil", "me-central1", "me-central2", "me-west1", "nbg1", "northamerica-northeast1", "northamerica-northeast2", "sa-east-1", "sin", "southamerica-east1", "southamerica-west1", "us-central1", "us-east-1", "us-east-2", "us-east1", "us-east4", "us-east5", "us-south1", "us-west-1", "us-west-2", "us-west1", "us-west2", "us-west3", "us-west4"];
606
+ };
607
+ readonly description: "Allowed values for `topology.kubernetes.io/region`.";
545
608
  };
546
609
  };
547
- readonly required: readonly ["controllerRoleArn"];
548
610
  readonly additionalProperties: false;
611
+ readonly description: "Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.";
612
+ };
613
+ readonly scalingProfile: {
614
+ readonly type: "string";
615
+ readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
616
+ readonly default: "conservative";
617
+ readonly example: "conservative";
618
+ readonly enum: readonly ["aggressive", "conservative"];
549
619
  };
550
620
  readonly id: {
551
621
  readonly type: "string";
@@ -566,13 +636,12 @@ export declare const FleetSchema: {
566
636
  readonly type: "object";
567
637
  readonly properties: {
568
638
  readonly cpu: {
569
- readonly type: "number";
570
- readonly format: "float";
639
+ readonly type: "integer";
571
640
  readonly minimum: 0;
572
- readonly description: "CPU limit in cores.";
641
+ readonly maximum: 100000;
642
+ readonly description: "CPU limit in cores. Maximum 100,000.";
573
643
  };
574
644
  };
575
- readonly required: readonly ["cpu"];
576
645
  readonly additionalProperties: false;
577
646
  readonly description: "Limits define a set of bounds for provisioning capacity.";
578
647
  };
@@ -581,14 +650,15 @@ export declare const FleetSchema: {
581
650
  readonly properties: {
582
651
  readonly enabled: {
583
652
  readonly type: "boolean";
584
- readonly default: true;
585
653
  };
586
654
  readonly project: {
587
655
  readonly type: "string";
588
- readonly description: "Project GCP Project id to deploy instances into";
656
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
657
+ 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.";
658
+ readonly example: "my-cloudfleet-project";
589
659
  };
590
660
  };
591
- readonly required: readonly ["project"];
661
+ readonly required: readonly ["enabled"];
592
662
  readonly additionalProperties: false;
593
663
  };
594
664
  readonly hetzner: {
@@ -596,14 +666,14 @@ export declare const FleetSchema: {
596
666
  readonly properties: {
597
667
  readonly enabled: {
598
668
  readonly type: "boolean";
599
- readonly default: true;
600
669
  };
601
670
  readonly apiKey: {
602
671
  readonly type: "string";
603
- readonly description: "Hetzner Cloud API key with read / write access";
672
+ readonly pattern: "^\\*{64}$";
673
+ 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.";
604
674
  };
605
675
  };
606
- readonly required: readonly ["apiKey"];
676
+ readonly required: readonly ["enabled"];
607
677
  readonly additionalProperties: false;
608
678
  };
609
679
  readonly aws: {
@@ -611,16 +681,67 @@ export declare const FleetSchema: {
611
681
  readonly properties: {
612
682
  readonly enabled: {
613
683
  readonly type: "boolean";
614
- readonly default: true;
615
684
  };
616
685
  readonly controllerRoleArn: {
617
686
  readonly type: "string";
618
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
687
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
688
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
689
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
619
690
  };
620
691
  };
621
- readonly required: readonly ["controllerRoleArn"];
692
+ readonly required: readonly ["enabled"];
622
693
  readonly additionalProperties: false;
623
694
  };
695
+ readonly constraints: {
696
+ readonly type: "object";
697
+ readonly properties: {
698
+ readonly 'karpenter.sh/capacity-type': {
699
+ readonly type: "array";
700
+ readonly items: {
701
+ readonly type: "string";
702
+ readonly enum: readonly ["on-demand", "spot"];
703
+ };
704
+ readonly minItems: 1;
705
+ readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
706
+ readonly default: readonly ["on-demand", "spot"];
707
+ };
708
+ readonly 'kubernetes.io/arch': {
709
+ readonly type: "array";
710
+ readonly items: {
711
+ readonly type: "string";
712
+ readonly enum: readonly ["amd64", "arm64"];
713
+ };
714
+ readonly minItems: 1;
715
+ readonly description: "Allowed values for `kubernetes.io/arch`.";
716
+ readonly default: readonly ["amd64"];
717
+ };
718
+ readonly 'cfke.io/instance-family': {
719
+ readonly type: "array";
720
+ readonly items: {
721
+ readonly type: "string";
722
+ readonly enum: readonly ["a1", "a2", "a3", "a4", "c1", "c2", "c2d", "c3", "c3d", "c4", "c4a", "c4d", "c5", "c5a", "c5ad", "c5d", "c5n", "c6a", "c6g", "c6gd", "c6gn", "c6i", "c6id", "c6in", "c7a", "c7g", "c7gd", "c7gn", "c7i", "c7i-flex", "c8g", "c8gd", "cax", "ccx", "cpx", "cx", "d2", "d3", "d3en", "dl1", "dl2q", "e2", "f1", "f2", "g1", "g2", "g4ad", "g4dn", "g5", "g5g", "g6", "g6e", "gr6", "h1", "h3", "hpc6a", "hpc6id", "hpc7a", "hpc7g", "i2", "i3", "i3en", "i4g", "i4i", "i7i", "i7ie", "i8g", "im4gn", "inf1", "inf2", "is4gen", "m1", "m2", "m3", "m4", "m5", "m5a", "m5ad", "m5d", "m5dn", "m5n", "m5zn", "m6a", "m6g", "m6gd", "m6i", "m6id", "m6idn", "m6in", "m7a", "m7g", "m7gd", "m7i", "m7i-flex", "m8g", "m8gd", "n1", "n2", "n2d", "n4", "p3", "p3dn", "p4d", "p4de", "p5", "p5e", "p5en", "p6-b200", "r3", "r4", "r5", "r5a", "r5ad", "r5b", "r5d", "r5dn", "r5n", "r6a", "r6g", "r6gd", "r6i", "r6id", "r6idn", "r6in", "r7a", "r7g", "r7gd", "r7i", "r7iz", "r8g", "r8gd", "t2", "t2a", "t2d", "t3", "t3a", "t4g", "trn1", "trn1n", "u-3tb1", "u-6tb1", "u7i-12tb", "u7i-6tb", "u7i-8tb", "u7in-16tb", "u7in-24tb", "u7in-32tb", "vt1", "x1", "x1e", "x2gd", "x2idn", "x2iedn", "x2iezn", "x4", "x8g", "z1d", "z3"];
723
+ };
724
+ readonly description: "Allowed values for `cfke.io/instance-family`.";
725
+ };
726
+ readonly 'topology.kubernetes.io/region': {
727
+ readonly type: "array";
728
+ readonly items: {
729
+ readonly type: "string";
730
+ readonly enum: readonly ["africa-south1", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ash", "asia-east1", "asia-east2", "asia-northeast1", "asia-northeast2", "asia-northeast3", "asia-south1", "asia-south2", "asia-southeast1", "asia-southeast2", "australia-southeast1", "australia-southeast2", "ca-central-1", "eu-central-1", "eu-central-2", "eu-north-1", "eu-west-1", "eu-west-2", "eu-west-3", "europe-central2", "europe-north1", "europe-southwest1", "europe-west1", "europe-west10", "europe-west12", "europe-west2", "europe-west3", "europe-west4", "europe-west6", "europe-west8", "europe-west9", "fsn1", "hel1", "hil", "me-central1", "me-central2", "me-west1", "nbg1", "northamerica-northeast1", "northamerica-northeast2", "sa-east-1", "sin", "southamerica-east1", "southamerica-west1", "us-central1", "us-east-1", "us-east-2", "us-east1", "us-east4", "us-east5", "us-south1", "us-west-1", "us-west-2", "us-west1", "us-west2", "us-west3", "us-west4"];
731
+ };
732
+ readonly description: "Allowed values for `topology.kubernetes.io/region`.";
733
+ };
734
+ };
735
+ readonly additionalProperties: false;
736
+ readonly description: "Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.";
737
+ };
738
+ readonly scalingProfile: {
739
+ readonly type: "string";
740
+ readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
741
+ readonly default: "conservative";
742
+ readonly example: "conservative";
743
+ readonly enum: readonly ["aggressive", "conservative"];
744
+ };
624
745
  readonly id: {
625
746
  readonly type: "string";
626
747
  readonly maxLength: 63;
@@ -630,7 +751,7 @@ export declare const FleetSchema: {
630
751
  readonly example: "new-clouds-fleet";
631
752
  };
632
753
  };
633
- readonly required: readonly ["id"];
754
+ readonly required: readonly ["scalingProfile", "id"];
634
755
  readonly additionalProperties: false;
635
756
  };
636
757
  export declare const FleetUpdateInputSchema: {
@@ -640,13 +761,12 @@ export declare const FleetUpdateInputSchema: {
640
761
  readonly type: "object";
641
762
  readonly properties: {
642
763
  readonly cpu: {
643
- readonly type: "number";
644
- readonly format: "float";
764
+ readonly type: "integer";
645
765
  readonly minimum: 0;
646
- readonly description: "CPU limit in cores.";
766
+ readonly maximum: 100000;
767
+ readonly description: "CPU limit in cores. Maximum 100,000.";
647
768
  };
648
769
  };
649
- readonly required: readonly ["cpu"];
650
770
  readonly additionalProperties: false;
651
771
  readonly description: "Limits define a set of bounds for provisioning capacity.";
652
772
  };
@@ -655,14 +775,15 @@ export declare const FleetUpdateInputSchema: {
655
775
  readonly properties: {
656
776
  readonly enabled: {
657
777
  readonly type: "boolean";
658
- readonly default: true;
659
778
  };
660
779
  readonly project: {
661
780
  readonly type: "string";
662
- readonly description: "Project GCP Project id to deploy instances into";
781
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
782
+ 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.";
783
+ readonly example: "my-cloudfleet-project";
663
784
  };
664
785
  };
665
- readonly required: readonly ["project"];
786
+ readonly required: readonly ["enabled"];
666
787
  readonly additionalProperties: false;
667
788
  };
668
789
  readonly hetzner: {
@@ -670,14 +791,16 @@ export declare const FleetUpdateInputSchema: {
670
791
  readonly properties: {
671
792
  readonly enabled: {
672
793
  readonly type: "boolean";
673
- readonly default: true;
674
794
  };
675
795
  readonly apiKey: {
676
796
  readonly type: "string";
677
- readonly description: "Hetzner Cloud API key with read / write access";
797
+ readonly maxLength: 64;
798
+ readonly minLength: 64;
799
+ readonly pattern: "^[A-Za-z0-9]+$";
800
+ readonly description: "Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.";
678
801
  };
679
802
  };
680
- readonly required: readonly ["apiKey"];
803
+ readonly required: readonly ["enabled"];
681
804
  readonly additionalProperties: false;
682
805
  };
683
806
  readonly aws: {
@@ -685,17 +808,66 @@ export declare const FleetUpdateInputSchema: {
685
808
  readonly properties: {
686
809
  readonly enabled: {
687
810
  readonly type: "boolean";
688
- readonly default: true;
689
811
  };
690
812
  readonly controllerRoleArn: {
691
813
  readonly type: "string";
692
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
814
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
815
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
816
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
693
817
  };
694
818
  };
695
- readonly required: readonly ["controllerRoleArn"];
819
+ readonly required: readonly ["enabled"];
696
820
  readonly additionalProperties: false;
697
821
  };
822
+ readonly constraints: {
823
+ readonly type: "object";
824
+ readonly properties: {
825
+ readonly 'karpenter.sh/capacity-type': {
826
+ readonly type: "array";
827
+ readonly items: {
828
+ readonly type: "string";
829
+ readonly enum: readonly ["on-demand", "spot"];
830
+ };
831
+ readonly minItems: 1;
832
+ readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
833
+ };
834
+ readonly 'kubernetes.io/arch': {
835
+ readonly type: "array";
836
+ readonly items: {
837
+ readonly type: "string";
838
+ readonly enum: readonly ["amd64", "arm64"];
839
+ };
840
+ readonly minItems: 1;
841
+ readonly description: "Allowed values for `kubernetes.io/arch`.";
842
+ };
843
+ readonly 'cfke.io/instance-family': {
844
+ readonly type: "array";
845
+ readonly items: {
846
+ readonly type: "string";
847
+ readonly enum: readonly ["a1", "a2", "a3", "a4", "c1", "c2", "c2d", "c3", "c3d", "c4", "c4a", "c4d", "c5", "c5a", "c5ad", "c5d", "c5n", "c6a", "c6g", "c6gd", "c6gn", "c6i", "c6id", "c6in", "c7a", "c7g", "c7gd", "c7gn", "c7i", "c7i-flex", "c8g", "c8gd", "cax", "ccx", "cpx", "cx", "d2", "d3", "d3en", "dl1", "dl2q", "e2", "f1", "f2", "g1", "g2", "g4ad", "g4dn", "g5", "g5g", "g6", "g6e", "gr6", "h1", "h3", "hpc6a", "hpc6id", "hpc7a", "hpc7g", "i2", "i3", "i3en", "i4g", "i4i", "i7i", "i7ie", "i8g", "im4gn", "inf1", "inf2", "is4gen", "m1", "m2", "m3", "m4", "m5", "m5a", "m5ad", "m5d", "m5dn", "m5n", "m5zn", "m6a", "m6g", "m6gd", "m6i", "m6id", "m6idn", "m6in", "m7a", "m7g", "m7gd", "m7i", "m7i-flex", "m8g", "m8gd", "n1", "n2", "n2d", "n4", "p3", "p3dn", "p4d", "p4de", "p5", "p5e", "p5en", "p6-b200", "r3", "r4", "r5", "r5a", "r5ad", "r5b", "r5d", "r5dn", "r5n", "r6a", "r6g", "r6gd", "r6i", "r6id", "r6idn", "r6in", "r7a", "r7g", "r7gd", "r7i", "r7iz", "r8g", "r8gd", "t2", "t2a", "t2d", "t3", "t3a", "t4g", "trn1", "trn1n", "u-3tb1", "u-6tb1", "u7i-12tb", "u7i-6tb", "u7i-8tb", "u7in-16tb", "u7in-24tb", "u7in-32tb", "vt1", "x1", "x1e", "x2gd", "x2idn", "x2iedn", "x2iezn", "x4", "x8g", "z1d", "z3"];
848
+ };
849
+ readonly description: "Allowed values for `cfke.io/instance-family`.";
850
+ };
851
+ readonly 'topology.kubernetes.io/region': {
852
+ readonly type: "array";
853
+ readonly items: {
854
+ readonly type: "string";
855
+ readonly enum: readonly ["africa-south1", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ash", "asia-east1", "asia-east2", "asia-northeast1", "asia-northeast2", "asia-northeast3", "asia-south1", "asia-south2", "asia-southeast1", "asia-southeast2", "australia-southeast1", "australia-southeast2", "ca-central-1", "eu-central-1", "eu-central-2", "eu-north-1", "eu-west-1", "eu-west-2", "eu-west-3", "europe-central2", "europe-north1", "europe-southwest1", "europe-west1", "europe-west10", "europe-west12", "europe-west2", "europe-west3", "europe-west4", "europe-west6", "europe-west8", "europe-west9", "fsn1", "hel1", "hil", "me-central1", "me-central2", "me-west1", "nbg1", "northamerica-northeast1", "northamerica-northeast2", "sa-east-1", "sin", "southamerica-east1", "southamerica-west1", "us-central1", "us-east-1", "us-east-2", "us-east1", "us-east4", "us-east5", "us-south1", "us-west-1", "us-west-2", "us-west1", "us-west2", "us-west3", "us-west4"];
856
+ };
857
+ readonly description: "Allowed values for `topology.kubernetes.io/region`.";
858
+ };
859
+ };
860
+ readonly additionalProperties: false;
861
+ readonly description: "Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.";
862
+ };
863
+ readonly scalingProfile: {
864
+ readonly type: "string";
865
+ readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
866
+ readonly example: "conservative";
867
+ readonly enum: readonly ["aggressive", "conservative"];
868
+ };
698
869
  };
870
+ readonly required: readonly ["scalingProfile"];
699
871
  readonly additionalProperties: false;
700
872
  };
701
873
  export declare const InviteSchema: {
@@ -926,6 +1098,12 @@ export declare const MarketplaceListingSchema: {
926
1098
  export declare const OrganizationCreateInputSchema: {
927
1099
  readonly type: "object";
928
1100
  readonly properties: {
1101
+ readonly type: {
1102
+ readonly type: "string";
1103
+ readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
1104
+ readonly example: "business";
1105
+ readonly enum: readonly ["business", "personal"];
1106
+ };
929
1107
  readonly email: {
930
1108
  readonly type: "string";
931
1109
  readonly format: "email";
@@ -934,11 +1112,13 @@ export declare const OrganizationCreateInputSchema: {
934
1112
  };
935
1113
  readonly first_name: {
936
1114
  readonly type: "string";
1115
+ readonly minLength: 1;
937
1116
  readonly description: "First name of the billing contact person.";
938
1117
  readonly example: "John";
939
1118
  };
940
1119
  readonly last_name: {
941
1120
  readonly type: "string";
1121
+ readonly minLength: 1;
942
1122
  readonly description: "Last name of the billing contact person.";
943
1123
  readonly example: "Doe";
944
1124
  };
@@ -956,7 +1136,19 @@ export declare const OrganizationCreateInputSchema: {
956
1136
  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.";
957
1137
  };
958
1138
  };
959
- readonly required: readonly ["email", "first_name", "last_name", "company_name", "password"];
1139
+ readonly required: readonly ["type", "email", "first_name", "last_name", "company_name", "password"];
1140
+ readonly additionalProperties: false;
1141
+ };
1142
+ export declare const OrganizationCreateOutputSchema: {
1143
+ readonly type: "object";
1144
+ readonly properties: {
1145
+ readonly id: {
1146
+ readonly type: "string";
1147
+ readonly description: "Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.";
1148
+ readonly example: "organization-id";
1149
+ };
1150
+ };
1151
+ readonly required: readonly ["id"];
960
1152
  readonly additionalProperties: false;
961
1153
  };
962
1154
  export declare const OrganizationSchema: {
@@ -975,6 +1167,12 @@ export declare const OrganizationSchema: {
975
1167
  readonly description: "Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.";
976
1168
  readonly example: "ACME Corp.";
977
1169
  };
1170
+ readonly type: {
1171
+ readonly type: "string";
1172
+ readonly description: "Type of the organization. `business` for legal entities, `personal` for individuals.";
1173
+ readonly example: "business";
1174
+ readonly enum: readonly ["business", "personal"];
1175
+ };
978
1176
  readonly date_created: {
979
1177
  readonly type: "string";
980
1178
  readonly format: "date-time";
@@ -1052,18 +1250,6 @@ export declare const OrganizationSchema: {
1052
1250
  readonly minItems: 1;
1053
1251
  readonly description: "List of CFKE control plane versions available for the organization.";
1054
1252
  };
1055
- readonly copilot_user_hourly_tokens: {
1056
- readonly type: "integer";
1057
- readonly minimum: 0;
1058
- readonly description: "User-level maximum number of tokens Cloudfleet Copilot can process per hour.";
1059
- readonly example: 42000;
1060
- };
1061
- readonly copilot_organization_hourly_tokens: {
1062
- readonly type: "integer";
1063
- readonly minimum: 0;
1064
- readonly description: "Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.";
1065
- readonly example: 242000;
1066
- };
1067
1253
  readonly cfcr_storage_gb: {
1068
1254
  readonly type: "integer";
1069
1255
  readonly minimum: -1;
@@ -1071,7 +1257,7 @@ export declare const OrganizationSchema: {
1071
1257
  readonly example: 500;
1072
1258
  };
1073
1259
  };
1074
- readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "copilot_user_hourly_tokens", "copilot_organization_hourly_tokens", "cfcr_storage_gb"];
1260
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "cfcr_storage_gb"];
1075
1261
  readonly additionalProperties: false;
1076
1262
  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 you need to change the platform quota.";
1077
1263
  };
@@ -1080,8 +1266,14 @@ export declare const OrganizationSchema: {
1080
1266
  readonly description: "Status of the organization. Can be `active` or `closed`, or `suspended`.";
1081
1267
  readonly enum: readonly ["active", "closed", "suspended"];
1082
1268
  };
1269
+ readonly verification: {
1270
+ readonly type: "string";
1271
+ 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.";
1272
+ readonly example: "verified";
1273
+ readonly enum: readonly ["none", "submitted", "verified"];
1274
+ };
1083
1275
  };
1084
- readonly required: readonly ["id", "date_created", "quota", "status"];
1276
+ readonly required: readonly ["id", "type", "date_created", "quota", "status", "verification"];
1085
1277
  readonly additionalProperties: false;
1086
1278
  };
1087
1279
  export declare const PaymentMethodSchema: {
@@ -1208,18 +1400,6 @@ export declare const PlatformQuotaSchema: {
1208
1400
  readonly minItems: 1;
1209
1401
  readonly description: "List of CFKE control plane versions available for the organization.";
1210
1402
  };
1211
- readonly copilot_user_hourly_tokens: {
1212
- readonly type: "integer";
1213
- readonly minimum: 0;
1214
- readonly description: "User-level maximum number of tokens Cloudfleet Copilot can process per hour.";
1215
- readonly example: 42000;
1216
- };
1217
- readonly copilot_organization_hourly_tokens: {
1218
- readonly type: "integer";
1219
- readonly minimum: 0;
1220
- readonly description: "Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.";
1221
- readonly example: 242000;
1222
- };
1223
1403
  readonly cfcr_storage_gb: {
1224
1404
  readonly type: "integer";
1225
1405
  readonly minimum: -1;
@@ -1227,7 +1407,7 @@ export declare const PlatformQuotaSchema: {
1227
1407
  readonly example: 500;
1228
1408
  };
1229
1409
  };
1230
- readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "copilot_user_hourly_tokens", "copilot_organization_hourly_tokens", "cfcr_storage_gb"];
1410
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "cfcr_storage_gb"];
1231
1411
  readonly additionalProperties: false;
1232
1412
  };
1233
1413
  export declare const RegistryRepositorySchema: {
@@ -1461,6 +1641,407 @@ export declare const RegistryTagSchema: {
1461
1641
  readonly required: readonly ["name", "digest", "size", "region", "repository", "uri"];
1462
1642
  readonly additionalProperties: false;
1463
1643
  };
1644
+ export declare const TicketAttachmentSchema: {
1645
+ readonly type: "object";
1646
+ readonly properties: {
1647
+ readonly id: {
1648
+ readonly type: "string";
1649
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1650
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1651
+ };
1652
+ readonly filename: {
1653
+ readonly type: "string";
1654
+ readonly description: "Original filename as uploaded.";
1655
+ readonly example: "debug.log";
1656
+ };
1657
+ readonly content_type: {
1658
+ readonly type: "string";
1659
+ readonly description: "MIME content type of the attachment.";
1660
+ readonly example: "text/plain";
1661
+ };
1662
+ readonly size: {
1663
+ readonly type: "integer";
1664
+ readonly description: "Size of the attachment in bytes.";
1665
+ readonly example: 12345;
1666
+ };
1667
+ };
1668
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1669
+ readonly additionalProperties: false;
1670
+ };
1671
+ export declare const TicketCreateInputSchema: {
1672
+ readonly type: "object";
1673
+ readonly properties: {
1674
+ readonly category: {
1675
+ readonly type: "string";
1676
+ readonly description: "Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.";
1677
+ readonly example: "technical";
1678
+ readonly enum: readonly ["billing", "technical", "general"];
1679
+ };
1680
+ readonly body: {
1681
+ readonly type: "string";
1682
+ readonly maxLength: 50000;
1683
+ readonly minLength: 1;
1684
+ readonly pattern: "\\S";
1685
+ readonly description: "Initial message body in markdown. There is no separate subject — the first message body is the description.";
1686
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
1687
+ };
1688
+ readonly properties: {
1689
+ readonly type: "object";
1690
+ readonly additionalProperties: true;
1691
+ readonly description: "Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).";
1692
+ readonly example: {
1693
+ readonly subcategory: "cluster-question";
1694
+ readonly cluster_id: "60c72b2f9f1b2c001f8e4d3a";
1695
+ };
1696
+ };
1697
+ };
1698
+ readonly required: readonly ["category", "body"];
1699
+ readonly additionalProperties: false;
1700
+ };
1701
+ export declare const TicketListResponseSchema: {
1702
+ readonly type: "object";
1703
+ readonly properties: {
1704
+ readonly items: {
1705
+ readonly type: "array";
1706
+ readonly items: {
1707
+ readonly type: "object";
1708
+ readonly properties: {
1709
+ readonly id: {
1710
+ readonly type: "string";
1711
+ readonly description: "Unique identifier of the ticket (Mongo ObjectId).";
1712
+ readonly example: "60c72b2f9f1b2c001f8e4d3a";
1713
+ };
1714
+ readonly status: {
1715
+ readonly type: "string";
1716
+ readonly description: "Current state of the ticket.";
1717
+ readonly example: "waiting_on_us";
1718
+ readonly enum: readonly ["waiting_on_us", "waiting_on_user", "closed"];
1719
+ };
1720
+ readonly category: {
1721
+ readonly type: "string";
1722
+ readonly description: "Ticket category.";
1723
+ readonly example: "technical";
1724
+ readonly enum: readonly ["billing", "technical", "general"];
1725
+ };
1726
+ readonly summary: {
1727
+ readonly type: "string";
1728
+ readonly description: "First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.";
1729
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
1730
+ };
1731
+ readonly closed_at: {
1732
+ readonly type: "string";
1733
+ readonly format: "date-time";
1734
+ readonly nullable: true;
1735
+ readonly description: "Closure timestamp. Null while the ticket is open.";
1736
+ readonly example: "2026-05-18T16:08:14.338Z";
1737
+ };
1738
+ readonly date_created: {
1739
+ readonly type: "string";
1740
+ readonly format: "date-time";
1741
+ readonly description: "Creation date of the ticket. ISO 8601 UTC.";
1742
+ readonly example: "2026-05-11T16:08:14.338Z";
1743
+ };
1744
+ readonly date_updated: {
1745
+ readonly type: "string";
1746
+ readonly format: "date-time";
1747
+ readonly description: "Last update date of the ticket. ISO 8601 UTC.";
1748
+ readonly example: "2026-05-11T16:08:14.338Z";
1749
+ };
1750
+ readonly messages: {
1751
+ readonly type: "array";
1752
+ readonly items: {
1753
+ readonly type: "object";
1754
+ readonly properties: {
1755
+ readonly id: {
1756
+ readonly type: "string";
1757
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
1758
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
1759
+ };
1760
+ readonly type: {
1761
+ readonly type: "string";
1762
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
1763
+ readonly example: "customer_reply";
1764
+ readonly enum: readonly ["customer_reply", "agent_reply"];
1765
+ };
1766
+ readonly body: {
1767
+ readonly type: "string";
1768
+ readonly description: "Message body in markdown.";
1769
+ readonly example: "Thanks — that resolved it on my side.";
1770
+ };
1771
+ readonly author_first_name: {
1772
+ readonly type: "string";
1773
+ readonly nullable: true;
1774
+ readonly description: "First name of the author. Null when not provided.";
1775
+ readonly example: "Jane";
1776
+ };
1777
+ readonly author_last_name: {
1778
+ readonly type: "string";
1779
+ readonly nullable: true;
1780
+ readonly description: "Last name of the author. Null when not provided.";
1781
+ readonly example: "Doe";
1782
+ };
1783
+ readonly attachments: {
1784
+ readonly type: "array";
1785
+ readonly items: {
1786
+ readonly type: "object";
1787
+ readonly properties: {
1788
+ readonly id: {
1789
+ readonly type: "string";
1790
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1791
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1792
+ };
1793
+ readonly filename: {
1794
+ readonly type: "string";
1795
+ readonly description: "Original filename as uploaded.";
1796
+ readonly example: "debug.log";
1797
+ };
1798
+ readonly content_type: {
1799
+ readonly type: "string";
1800
+ readonly description: "MIME content type of the attachment.";
1801
+ readonly example: "text/plain";
1802
+ };
1803
+ readonly size: {
1804
+ readonly type: "integer";
1805
+ readonly description: "Size of the attachment in bytes.";
1806
+ readonly example: 12345;
1807
+ };
1808
+ };
1809
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1810
+ readonly additionalProperties: false;
1811
+ };
1812
+ readonly description: "Attachments associated with this message.";
1813
+ readonly example: readonly [];
1814
+ };
1815
+ readonly date_created: {
1816
+ readonly type: "string";
1817
+ readonly format: "date-time";
1818
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
1819
+ readonly example: "2026-05-11T16:08:14.338Z";
1820
+ };
1821
+ };
1822
+ readonly required: readonly ["id", "type", "body", "date_created"];
1823
+ readonly additionalProperties: false;
1824
+ };
1825
+ readonly description: "Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.";
1826
+ };
1827
+ };
1828
+ readonly required: readonly ["id", "status", "category", "summary", "date_created", "date_updated"];
1829
+ readonly additionalProperties: false;
1830
+ };
1831
+ readonly description: "Tickets for the organization, ordered newest first. Messages are omitted from list responses.";
1832
+ };
1833
+ };
1834
+ readonly required: readonly ["items"];
1835
+ readonly additionalProperties: false;
1836
+ };
1837
+ export declare const TicketMessageInputSchema: {
1838
+ readonly type: "object";
1839
+ readonly properties: {
1840
+ readonly body: {
1841
+ readonly type: "string";
1842
+ readonly maxLength: 50000;
1843
+ readonly minLength: 1;
1844
+ readonly pattern: "\\S";
1845
+ readonly description: "Reply body in markdown.";
1846
+ readonly example: "Thanks — that resolved it on my side.";
1847
+ };
1848
+ };
1849
+ readonly required: readonly ["body"];
1850
+ readonly additionalProperties: false;
1851
+ };
1852
+ export declare const TicketMessageSchema: {
1853
+ readonly type: "object";
1854
+ readonly properties: {
1855
+ readonly id: {
1856
+ readonly type: "string";
1857
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
1858
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
1859
+ };
1860
+ readonly type: {
1861
+ readonly type: "string";
1862
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
1863
+ readonly example: "customer_reply";
1864
+ readonly enum: readonly ["customer_reply", "agent_reply"];
1865
+ };
1866
+ readonly body: {
1867
+ readonly type: "string";
1868
+ readonly description: "Message body in markdown.";
1869
+ readonly example: "Thanks — that resolved it on my side.";
1870
+ };
1871
+ readonly author_first_name: {
1872
+ readonly type: "string";
1873
+ readonly description: "First name of the author. Null when not provided.";
1874
+ readonly example: "Jane";
1875
+ };
1876
+ readonly author_last_name: {
1877
+ readonly type: "string";
1878
+ readonly description: "Last name of the author. Null when not provided.";
1879
+ readonly example: "Doe";
1880
+ };
1881
+ readonly attachments: {
1882
+ readonly type: "array";
1883
+ readonly items: {
1884
+ readonly type: "object";
1885
+ readonly properties: {
1886
+ readonly id: {
1887
+ readonly type: "string";
1888
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1889
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1890
+ };
1891
+ readonly filename: {
1892
+ readonly type: "string";
1893
+ readonly description: "Original filename as uploaded.";
1894
+ readonly example: "debug.log";
1895
+ };
1896
+ readonly content_type: {
1897
+ readonly type: "string";
1898
+ readonly description: "MIME content type of the attachment.";
1899
+ readonly example: "text/plain";
1900
+ };
1901
+ readonly size: {
1902
+ readonly type: "integer";
1903
+ readonly description: "Size of the attachment in bytes.";
1904
+ readonly example: 12345;
1905
+ };
1906
+ };
1907
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1908
+ readonly additionalProperties: false;
1909
+ };
1910
+ readonly description: "Attachments associated with this message.";
1911
+ readonly example: readonly [];
1912
+ };
1913
+ readonly date_created: {
1914
+ readonly type: "string";
1915
+ readonly format: "date-time";
1916
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
1917
+ readonly example: "2026-05-11T16:08:14.338Z";
1918
+ };
1919
+ };
1920
+ readonly required: readonly ["id", "type", "body", "date_created"];
1921
+ readonly additionalProperties: false;
1922
+ };
1923
+ export declare const TicketSchema: {
1924
+ readonly type: "object";
1925
+ readonly properties: {
1926
+ readonly id: {
1927
+ readonly type: "string";
1928
+ readonly description: "Unique identifier of the ticket (Mongo ObjectId).";
1929
+ readonly example: "60c72b2f9f1b2c001f8e4d3a";
1930
+ };
1931
+ readonly status: {
1932
+ readonly type: "string";
1933
+ readonly description: "Current state of the ticket.";
1934
+ readonly example: "waiting_on_us";
1935
+ readonly enum: readonly ["waiting_on_us", "waiting_on_user", "closed"];
1936
+ };
1937
+ readonly category: {
1938
+ readonly type: "string";
1939
+ readonly description: "Ticket category.";
1940
+ readonly example: "technical";
1941
+ readonly enum: readonly ["billing", "technical", "general"];
1942
+ };
1943
+ readonly summary: {
1944
+ readonly type: "string";
1945
+ readonly description: "First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.";
1946
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
1947
+ };
1948
+ readonly closed_at: {
1949
+ readonly type: "string";
1950
+ readonly format: "date-time";
1951
+ readonly description: "Closure timestamp. Null while the ticket is open.";
1952
+ readonly example: "2026-05-18T16:08:14.338Z";
1953
+ };
1954
+ readonly date_created: {
1955
+ readonly type: "string";
1956
+ readonly format: "date-time";
1957
+ readonly description: "Creation date of the ticket. ISO 8601 UTC.";
1958
+ readonly example: "2026-05-11T16:08:14.338Z";
1959
+ };
1960
+ readonly date_updated: {
1961
+ readonly type: "string";
1962
+ readonly format: "date-time";
1963
+ readonly description: "Last update date of the ticket. ISO 8601 UTC.";
1964
+ readonly example: "2026-05-11T16:08:14.338Z";
1965
+ };
1966
+ readonly messages: {
1967
+ readonly type: "array";
1968
+ readonly items: {
1969
+ readonly type: "object";
1970
+ readonly properties: {
1971
+ readonly id: {
1972
+ readonly type: "string";
1973
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
1974
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
1975
+ };
1976
+ readonly type: {
1977
+ readonly type: "string";
1978
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
1979
+ readonly example: "customer_reply";
1980
+ readonly enum: readonly ["customer_reply", "agent_reply"];
1981
+ };
1982
+ readonly body: {
1983
+ readonly type: "string";
1984
+ readonly description: "Message body in markdown.";
1985
+ readonly example: "Thanks — that resolved it on my side.";
1986
+ };
1987
+ readonly author_first_name: {
1988
+ readonly type: "string";
1989
+ readonly description: "First name of the author. Null when not provided.";
1990
+ readonly example: "Jane";
1991
+ };
1992
+ readonly author_last_name: {
1993
+ readonly type: "string";
1994
+ readonly description: "Last name of the author. Null when not provided.";
1995
+ readonly example: "Doe";
1996
+ };
1997
+ readonly attachments: {
1998
+ readonly type: "array";
1999
+ readonly items: {
2000
+ readonly type: "object";
2001
+ readonly properties: {
2002
+ readonly id: {
2003
+ readonly type: "string";
2004
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
2005
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
2006
+ };
2007
+ readonly filename: {
2008
+ readonly type: "string";
2009
+ readonly description: "Original filename as uploaded.";
2010
+ readonly example: "debug.log";
2011
+ };
2012
+ readonly content_type: {
2013
+ readonly type: "string";
2014
+ readonly description: "MIME content type of the attachment.";
2015
+ readonly example: "text/plain";
2016
+ };
2017
+ readonly size: {
2018
+ readonly type: "integer";
2019
+ readonly description: "Size of the attachment in bytes.";
2020
+ readonly example: 12345;
2021
+ };
2022
+ };
2023
+ readonly required: readonly ["id", "filename", "content_type", "size"];
2024
+ readonly additionalProperties: false;
2025
+ };
2026
+ readonly description: "Attachments associated with this message.";
2027
+ readonly example: readonly [];
2028
+ };
2029
+ readonly date_created: {
2030
+ readonly type: "string";
2031
+ readonly format: "date-time";
2032
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
2033
+ readonly example: "2026-05-11T16:08:14.338Z";
2034
+ };
2035
+ };
2036
+ readonly required: readonly ["id", "type", "body", "date_created"];
2037
+ readonly additionalProperties: false;
2038
+ };
2039
+ readonly description: "Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.";
2040
+ };
2041
+ };
2042
+ readonly required: readonly ["id", "status", "category", "summary", "date_created", "date_updated"];
2043
+ readonly additionalProperties: false;
2044
+ };
1464
2045
  export declare const TokenCreateInputSchema: {
1465
2046
  readonly type: "object";
1466
2047
  readonly properties: {