@cloudfleet/sdk 0.0.1-0ac9bf0 → 0.0.1-0c62221

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/@tanstack/react-query.gen.d.ts +1125 -0
  2. package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
  3. package/dist/@tanstack/react-query.gen.js +1129 -0
  4. package/dist/@tanstack/react-query.gen.js.map +1 -0
  5. package/dist/client/client.gen.d.ts.map +1 -1
  6. package/dist/client/client.gen.js +113 -98
  7. package/dist/client/client.gen.js.map +1 -1
  8. package/dist/client/index.d.ts +1 -1
  9. package/dist/client/index.d.ts.map +1 -1
  10. package/dist/client/index.js.map +1 -1
  11. package/dist/client/types.gen.d.ts +9 -13
  12. package/dist/client/types.gen.d.ts.map +1 -1
  13. package/dist/client/utils.gen.d.ts +6 -2
  14. package/dist/client/utils.gen.d.ts.map +1 -1
  15. package/dist/client/utils.gen.js +10 -12
  16. package/dist/client/utils.gen.js.map +1 -1
  17. package/dist/client.gen.d.ts.map +1 -1
  18. package/dist/client.gen.js +1 -3
  19. package/dist/client.gen.js.map +1 -1
  20. package/dist/core/auth.gen.d.ts.map +1 -1
  21. package/dist/core/auth.gen.js.map +1 -1
  22. package/dist/core/bodySerializer.gen.d.ts +16 -8
  23. package/dist/core/bodySerializer.gen.d.ts.map +1 -1
  24. package/dist/core/bodySerializer.gen.js +1 -1
  25. package/dist/core/bodySerializer.gen.js.map +1 -1
  26. package/dist/core/params.gen.d.ts +10 -0
  27. package/dist/core/params.gen.d.ts.map +1 -1
  28. package/dist/core/params.gen.js +18 -6
  29. package/dist/core/params.gen.js.map +1 -1
  30. package/dist/core/pathSerializer.gen.d.ts.map +1 -1
  31. package/dist/core/pathSerializer.gen.js +3 -11
  32. package/dist/core/pathSerializer.gen.js.map +1 -1
  33. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -1
  34. package/dist/core/queryKeySerializer.gen.js +4 -11
  35. package/dist/core/queryKeySerializer.gen.js.map +1 -1
  36. package/dist/core/serverSentEvents.gen.d.ts +1 -1
  37. package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
  38. package/dist/core/serverSentEvents.gen.js +6 -9
  39. package/dist/core/serverSentEvents.gen.js.map +1 -1
  40. package/dist/core/types.gen.d.ts +1 -1
  41. package/dist/core/types.gen.d.ts.map +1 -1
  42. package/dist/core/utils.gen.d.ts.map +1 -1
  43. package/dist/core/utils.gen.js +1 -1
  44. package/dist/core/utils.gen.js.map +1 -1
  45. package/dist/schemas.gen.d.ts +1190 -208
  46. package/dist/schemas.gen.d.ts.map +1 -1
  47. package/dist/schemas.gen.js +2431 -243
  48. package/dist/schemas.gen.js.map +1 -1
  49. package/dist/sdk.gen.d.ts +85 -7
  50. package/dist/sdk.gen.d.ts.map +1 -1
  51. package/dist/sdk.gen.js +158 -127
  52. package/dist/sdk.gen.js.map +1 -1
  53. package/dist/services/kubernetes/api.d.ts +8 -8
  54. package/dist/types.gen.d.ts +1016 -94
  55. package/dist/types.gen.d.ts.map +1 -1
  56. package/dist/zod.gen.d.ts +2599 -637
  57. package/dist/zod.gen.d.ts.map +1 -1
  58. package/dist/zod.gen.js +1201 -470
  59. package/dist/zod.gen.js.map +1 -1
  60. package/package.json +28 -5
@@ -275,17 +275,18 @@ export declare const ClusterCreateInputSchema: {
275
275
  };
276
276
  readonly region: {
277
277
  readonly type: "string";
278
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\", \"northamerica-central-1a\". This field can not be updated after creation.";
279
- readonly default: "staging";
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
280
  readonly example: "northamerica-central-1a";
281
- readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
281
+ readonly enum: readonly ["staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
282
282
  };
283
283
  readonly version_channel: {
284
284
  readonly type: "string";
285
285
  readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
286
286
  readonly description: "Version of the kubernetes cluster.";
287
287
  readonly default: "1.x.x-cfke.x";
288
- readonly example: "1.29.x-cfke.x";
288
+ 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"];
289
290
  };
290
291
  };
291
292
  readonly required: readonly ["name", "tier"];
@@ -305,6 +306,11 @@ export declare const ClusterJoinInformationSchema: {
305
306
  readonly description: "Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.";
306
307
  readonly example: "https://10.31.64.7:6443";
307
308
  };
309
+ readonly cluster_dns: {
310
+ readonly type: "string";
311
+ readonly description: "Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.";
312
+ readonly example: "10.96.0.10";
313
+ };
308
314
  readonly auth_key: {
309
315
  readonly type: "string";
310
316
  readonly description: "Authentication key for the cluster.";
@@ -321,7 +327,7 @@ export declare const ClusterJoinInformationSchema: {
321
327
  readonly kubernetes: {
322
328
  readonly type: "string";
323
329
  readonly description: "Kubernetes version of the cluster.";
324
- readonly example: "1.29.3";
330
+ readonly example: "1.33.7";
325
331
  };
326
332
  readonly tailscale: {
327
333
  readonly type: "string";
@@ -367,7 +373,7 @@ export declare const ClusterJoinInformationSchema: {
367
373
  readonly description: "OIDC Information for hosts to access to third party API's.";
368
374
  };
369
375
  };
370
- readonly required: readonly ["certificate_authority", "endpoint", "auth_key", "bootstrap_token", "versions", "third_party_api_access_config"];
376
+ readonly required: readonly ["certificate_authority", "endpoint", "cluster_dns", "auth_key", "bootstrap_token", "versions", "third_party_api_access_config"];
371
377
  readonly additionalProperties: false;
372
378
  };
373
379
  export declare const ClusterSchema: {
@@ -389,17 +395,10 @@ export declare const ClusterSchema: {
389
395
  };
390
396
  readonly region: {
391
397
  readonly type: "string";
392
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\", \"northamerica-central-1a\". This field can not be updated after creation.";
393
- readonly default: "staging";
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";
394
400
  readonly example: "northamerica-central-1a";
395
- readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
396
- };
397
- readonly version_channel: {
398
- readonly type: "string";
399
- readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
400
- readonly description: "Version of the kubernetes cluster.";
401
- readonly default: "1.x.x-cfke.x";
402
- readonly example: "1.29.x-cfke.x";
401
+ readonly enum: readonly ["staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
403
402
  };
404
403
  readonly id: {
405
404
  readonly type: "string";
@@ -417,13 +416,24 @@ export declare const ClusterSchema: {
417
416
  readonly anyOf: readonly [{
418
417
  readonly type: "string";
419
418
  readonly format: "uri";
420
- readonly description: "URL of the Kubernetes cluster control plane. This is the endpoint that kubectl uses to connect to the cluster.";
419
+ 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)";
421
420
  readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.cloudfleet.dev:6443";
422
421
  }, {
423
422
  readonly type: "string";
424
423
  readonly enum: readonly [""];
425
424
  }];
426
425
  };
426
+ readonly endpoint_public: {
427
+ readonly anyOf: readonly [{
428
+ readonly type: "string";
429
+ readonly format: "uri";
430
+ 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.";
431
+ readonly example: "https://2ae6557c-c61f-49c6-b4c1-a65473470a03.staging.cfke.io";
432
+ }, {
433
+ readonly type: "string";
434
+ readonly enum: readonly [""];
435
+ }];
436
+ };
427
437
  readonly certificate_ca: {
428
438
  readonly type: "string";
429
439
  readonly description: "Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.";
@@ -432,7 +442,7 @@ export declare const ClusterSchema: {
432
442
  readonly version_current: {
433
443
  readonly type: "string";
434
444
  readonly description: "Current version of the cluster.";
435
- readonly example: "1.29.3-cfke.52";
445
+ readonly example: "1.33.7-cfke.264";
436
446
  };
437
447
  readonly created_at: {
438
448
  readonly type: "string";
@@ -449,6 +459,12 @@ export declare const ClusterSchema: {
449
459
  readonly description: "Indicates if the cluster is ready to be used.";
450
460
  readonly example: true;
451
461
  };
462
+ readonly version_channel: {
463
+ readonly type: "string";
464
+ readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
465
+ readonly description: "Version of the kubernetes cluster.";
466
+ readonly example: "1.x.x-cfke.x";
467
+ };
452
468
  };
453
469
  readonly required: readonly ["name", "tier", "id", "status"];
454
470
  readonly additionalProperties: false;
@@ -474,7 +490,7 @@ export declare const ClusterUpdateInputSchema: {
474
490
  readonly type: "string";
475
491
  readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
476
492
  readonly description: "Version of the kubernetes cluster.";
477
- readonly example: "1.29.x-cfke.x";
493
+ readonly example: "1.x.x-cfke.x";
478
494
  };
479
495
  };
480
496
  readonly required: readonly ["tier"];
@@ -493,7 +509,6 @@ export declare const FleetCreateInputSchema: {
493
509
  readonly description: "CPU limit in cores.";
494
510
  };
495
511
  };
496
- readonly required: readonly ["cpu"];
497
512
  readonly additionalProperties: false;
498
513
  readonly description: "Limits define a set of bounds for provisioning capacity.";
499
514
  };
@@ -506,10 +521,11 @@ export declare const FleetCreateInputSchema: {
506
521
  };
507
522
  readonly project: {
508
523
  readonly type: "string";
509
- readonly description: "Project GCP Project id to deploy instances into";
524
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
525
+ 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.";
526
+ readonly example: "my-cloudfleet-project";
510
527
  };
511
528
  };
512
- readonly required: readonly ["project"];
513
529
  readonly additionalProperties: false;
514
530
  };
515
531
  readonly hetzner: {
@@ -521,10 +537,12 @@ export declare const FleetCreateInputSchema: {
521
537
  };
522
538
  readonly apiKey: {
523
539
  readonly type: "string";
524
- readonly description: "Hetzner Cloud API key with read / write access";
540
+ readonly maxLength: 64;
541
+ readonly minLength: 64;
542
+ readonly pattern: "^[A-Za-z0-9]+$";
543
+ readonly description: "Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.";
525
544
  };
526
545
  };
527
- readonly required: readonly ["apiKey"];
528
546
  readonly additionalProperties: false;
529
547
  };
530
548
  readonly aws: {
@@ -536,11 +554,57 @@ export declare const FleetCreateInputSchema: {
536
554
  };
537
555
  readonly controllerRoleArn: {
538
556
  readonly type: "string";
539
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
557
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
558
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
559
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
560
+ };
561
+ };
562
+ readonly additionalProperties: false;
563
+ };
564
+ readonly constraints: {
565
+ readonly type: "object";
566
+ readonly properties: {
567
+ readonly 'karpenter.sh/capacity-type': {
568
+ readonly type: "array";
569
+ readonly items: {
570
+ readonly type: "string";
571
+ readonly enum: readonly ["on-demand", "spot"];
572
+ };
573
+ readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
574
+ };
575
+ readonly 'kubernetes.io/arch': {
576
+ readonly type: "array";
577
+ readonly items: {
578
+ readonly type: "string";
579
+ readonly enum: readonly ["amd64", "arm64"];
580
+ };
581
+ readonly description: "Allowed values for `kubernetes.io/arch`.";
582
+ };
583
+ readonly 'cfke.io/instance-family': {
584
+ readonly type: "array";
585
+ readonly items: {
586
+ readonly type: "string";
587
+ 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"];
588
+ };
589
+ readonly description: "Allowed values for `cfke.io/instance-family`.";
590
+ };
591
+ readonly 'topology.kubernetes.io/region': {
592
+ readonly type: "array";
593
+ readonly items: {
594
+ readonly type: "string";
595
+ 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"];
596
+ };
597
+ readonly description: "Allowed values for `topology.kubernetes.io/region`.";
540
598
  };
541
599
  };
542
- readonly required: readonly ["controllerRoleArn"];
543
600
  readonly additionalProperties: false;
601
+ 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.";
602
+ };
603
+ readonly scalingProfile: {
604
+ readonly type: "string";
605
+ readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
606
+ readonly example: "conservative";
607
+ readonly enum: readonly ["aggressive", "conservative"];
544
608
  };
545
609
  readonly id: {
546
610
  readonly type: "string";
@@ -567,7 +631,6 @@ export declare const FleetSchema: {
567
631
  readonly description: "CPU limit in cores.";
568
632
  };
569
633
  };
570
- readonly required: readonly ["cpu"];
571
634
  readonly additionalProperties: false;
572
635
  readonly description: "Limits define a set of bounds for provisioning capacity.";
573
636
  };
@@ -580,10 +643,11 @@ export declare const FleetSchema: {
580
643
  };
581
644
  readonly project: {
582
645
  readonly type: "string";
583
- readonly description: "Project GCP Project id to deploy instances into";
646
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
647
+ 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.";
648
+ readonly example: "my-cloudfleet-project";
584
649
  };
585
650
  };
586
- readonly required: readonly ["project"];
587
651
  readonly additionalProperties: false;
588
652
  };
589
653
  readonly hetzner: {
@@ -595,10 +659,10 @@ export declare const FleetSchema: {
595
659
  };
596
660
  readonly apiKey: {
597
661
  readonly type: "string";
598
- readonly description: "Hetzner Cloud API key with read / write access";
662
+ readonly pattern: "^\\*{64}$";
663
+ 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.";
599
664
  };
600
665
  };
601
- readonly required: readonly ["apiKey"];
602
666
  readonly additionalProperties: false;
603
667
  };
604
668
  readonly aws: {
@@ -610,11 +674,57 @@ export declare const FleetSchema: {
610
674
  };
611
675
  readonly controllerRoleArn: {
612
676
  readonly type: "string";
613
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
677
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
678
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
679
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
680
+ };
681
+ };
682
+ readonly additionalProperties: false;
683
+ };
684
+ readonly constraints: {
685
+ readonly type: "object";
686
+ readonly properties: {
687
+ readonly 'karpenter.sh/capacity-type': {
688
+ readonly type: "array";
689
+ readonly items: {
690
+ readonly type: "string";
691
+ readonly enum: readonly ["on-demand", "spot"];
692
+ };
693
+ readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
694
+ };
695
+ readonly 'kubernetes.io/arch': {
696
+ readonly type: "array";
697
+ readonly items: {
698
+ readonly type: "string";
699
+ readonly enum: readonly ["amd64", "arm64"];
700
+ };
701
+ readonly description: "Allowed values for `kubernetes.io/arch`.";
702
+ };
703
+ readonly 'cfke.io/instance-family': {
704
+ readonly type: "array";
705
+ readonly items: {
706
+ readonly type: "string";
707
+ 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"];
708
+ };
709
+ readonly description: "Allowed values for `cfke.io/instance-family`.";
710
+ };
711
+ readonly 'topology.kubernetes.io/region': {
712
+ readonly type: "array";
713
+ readonly items: {
714
+ readonly type: "string";
715
+ 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"];
716
+ };
717
+ readonly description: "Allowed values for `topology.kubernetes.io/region`.";
614
718
  };
615
719
  };
616
- readonly required: readonly ["controllerRoleArn"];
617
720
  readonly additionalProperties: false;
721
+ 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.";
722
+ };
723
+ readonly scalingProfile: {
724
+ readonly type: "string";
725
+ readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
726
+ readonly example: "conservative";
727
+ readonly enum: readonly ["aggressive", "conservative"];
618
728
  };
619
729
  readonly id: {
620
730
  readonly type: "string";
@@ -641,7 +751,6 @@ export declare const FleetUpdateInputSchema: {
641
751
  readonly description: "CPU limit in cores.";
642
752
  };
643
753
  };
644
- readonly required: readonly ["cpu"];
645
754
  readonly additionalProperties: false;
646
755
  readonly description: "Limits define a set of bounds for provisioning capacity.";
647
756
  };
@@ -654,10 +763,11 @@ export declare const FleetUpdateInputSchema: {
654
763
  };
655
764
  readonly project: {
656
765
  readonly type: "string";
657
- readonly description: "Project GCP Project id to deploy instances into";
766
+ readonly pattern: "^[a-z][a-z0-9-]{4,28}[a-z0-9]$";
767
+ 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.";
768
+ readonly example: "my-cloudfleet-project";
658
769
  };
659
770
  };
660
- readonly required: readonly ["project"];
661
771
  readonly additionalProperties: false;
662
772
  };
663
773
  readonly hetzner: {
@@ -669,10 +779,12 @@ export declare const FleetUpdateInputSchema: {
669
779
  };
670
780
  readonly apiKey: {
671
781
  readonly type: "string";
672
- readonly description: "Hetzner Cloud API key with read / write access";
782
+ readonly maxLength: 64;
783
+ readonly minLength: 64;
784
+ readonly pattern: "^[A-Za-z0-9]+$";
785
+ readonly description: "Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.";
673
786
  };
674
787
  };
675
- readonly required: readonly ["apiKey"];
676
788
  readonly additionalProperties: false;
677
789
  };
678
790
  readonly aws: {
@@ -684,11 +796,57 @@ export declare const FleetUpdateInputSchema: {
684
796
  };
685
797
  readonly controllerRoleArn: {
686
798
  readonly type: "string";
687
- readonly description: "ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.";
799
+ readonly pattern: "^arn:aws(-[a-z]+)*:iam::\\d{12}:role\\/[\\w+=,.@/-]+$";
800
+ readonly description: "AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.";
801
+ readonly example: "arn:aws:iam::123456789012:role/Cloudfleet";
802
+ };
803
+ };
804
+ readonly additionalProperties: false;
805
+ };
806
+ readonly constraints: {
807
+ readonly type: "object";
808
+ readonly properties: {
809
+ readonly 'karpenter.sh/capacity-type': {
810
+ readonly type: "array";
811
+ readonly items: {
812
+ readonly type: "string";
813
+ readonly enum: readonly ["on-demand", "spot"];
814
+ };
815
+ readonly description: "Allowed values for `karpenter.sh/capacity-type`.";
816
+ };
817
+ readonly 'kubernetes.io/arch': {
818
+ readonly type: "array";
819
+ readonly items: {
820
+ readonly type: "string";
821
+ readonly enum: readonly ["amd64", "arm64"];
822
+ };
823
+ readonly description: "Allowed values for `kubernetes.io/arch`.";
824
+ };
825
+ readonly 'cfke.io/instance-family': {
826
+ readonly type: "array";
827
+ readonly items: {
828
+ readonly type: "string";
829
+ 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"];
830
+ };
831
+ readonly description: "Allowed values for `cfke.io/instance-family`.";
832
+ };
833
+ readonly 'topology.kubernetes.io/region': {
834
+ readonly type: "array";
835
+ readonly items: {
836
+ readonly type: "string";
837
+ 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"];
838
+ };
839
+ readonly description: "Allowed values for `topology.kubernetes.io/region`.";
688
840
  };
689
841
  };
690
- readonly required: readonly ["controllerRoleArn"];
691
842
  readonly additionalProperties: false;
843
+ 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.";
844
+ };
845
+ readonly scalingProfile: {
846
+ readonly type: "string";
847
+ readonly description: "Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.";
848
+ readonly example: "conservative";
849
+ readonly enum: readonly ["aggressive", "conservative"];
692
850
  };
693
851
  };
694
852
  readonly additionalProperties: false;
@@ -733,9 +891,8 @@ export declare const InvoiceSchema: {
733
891
  readonly properties: {
734
892
  readonly id: {
735
893
  readonly type: "string";
736
- readonly format: "uuid";
737
- readonly description: "Unique identifier of the invoice. UUID v4 string in canonical form";
738
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
894
+ readonly description: "Unique identifier of the invoice.";
895
+ readonly example: "in_1234567890xCrwxghOTj1234";
739
896
  };
740
897
  readonly number: {
741
898
  readonly type: "string";
@@ -781,86 +938,142 @@ export declare const InvoiceSchema: {
781
938
  readonly required: readonly ["created", "period_start", "period_end"];
782
939
  readonly additionalProperties: false;
783
940
  };
784
- export declare const MarketplaceListingSchema: {
941
+ export declare const MarketplaceListingFilesSchema: {
785
942
  readonly type: "object";
786
943
  readonly properties: {
787
- readonly id: {
788
- readonly type: "string";
789
- readonly maxLength: 63;
790
- readonly minLength: 1;
791
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
792
- readonly description: "Id of the chart listing";
793
- readonly example: "portworx-enterprise-disaster-recovery-baremetal";
794
- };
795
- readonly name: {
796
- readonly type: "string";
797
- readonly description: "Name of the chart listing";
798
- readonly example: "Portworx Enterprise + Disaster Recovery - Baremetal";
799
- };
800
- readonly developer: {
944
+ readonly chartYaml: {
801
945
  readonly type: "string";
802
- readonly description: "Author of the chart listing";
803
- readonly example: "Portworx";
946
+ readonly description: "Raw Chart.yaml content from the Helm chart";
947
+ readonly example: "apiVersion: v2\nname: nginx-ingress\nversion: 1.18.2-cfke.45\nappVersion: 1.9.4";
804
948
  };
805
- readonly description: {
949
+ readonly valuesYaml: {
806
950
  readonly type: "string";
807
- readonly description: "Short description of the chart listing";
808
- readonly example: "Run Kubernetes with unmatched scalability, availability, and self-service access to any storage";
951
+ readonly description: "Raw values.yaml content from the Helm chart";
952
+ readonly example: "replicaCount: 1\nimage:\n repository: nginx\n tag: latest";
809
953
  };
810
- readonly logoUrl: {
954
+ readonly valuesSchemaJson: {
811
955
  readonly type: "string";
812
- readonly description: "Logo of the chart listing";
813
- readonly example: "https://portworx.com/wp-content/themes/portworx/assets/images/header/portworx-logo.png";
956
+ readonly description: "JSON schema for values.yaml as a string";
957
+ readonly example: "{\"type\":\"object\",\"properties\":{\"replicaCount\":{\"type\":\"number\"}}}";
814
958
  };
815
- readonly longDescription: {
959
+ };
960
+ readonly additionalProperties: false;
961
+ };
962
+ export declare const MarketplaceListingSchema: {
963
+ readonly type: "object";
964
+ readonly properties: {
965
+ readonly name: {
816
966
  readonly type: "string";
817
- readonly description: "Long description of the chart listing";
818
- readonly example: "Portworx-Enterprise is the complete multi-cloud ready Kubernetes storage platform for running mission-critical apps in production....";
967
+ readonly description: "Name of the chart";
968
+ readonly example: "nginx-ingress";
819
969
  };
820
- readonly categories: {
970
+ readonly versions: {
821
971
  readonly type: "array";
822
972
  readonly items: {
823
973
  readonly type: "string";
824
- readonly example: "AI & Machine Learning";
974
+ readonly pattern: "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
975
+ readonly description: "Specific version of the chart";
976
+ readonly example: "1.18.2-cfke.45";
825
977
  };
826
- readonly description: "Tags of the chart";
978
+ readonly description: "Available versions of the chart";
827
979
  };
828
980
  readonly version_channels: {
829
981
  readonly type: "array";
830
982
  readonly items: {
831
983
  readonly type: "string";
832
984
  readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
833
- readonly description: "Version of the chart.";
834
- readonly example: "2.x.x-cfke.x";
985
+ readonly description: "Version channel pattern";
986
+ readonly example: "1.18.x-cfke.x";
835
987
  };
988
+ readonly description: "Version channels for the chart";
836
989
  };
837
- readonly value_schemas: {
838
- readonly type: "array";
839
- readonly items: {
840
- readonly type: "object";
841
- readonly properties: {
842
- readonly version: {
990
+ readonly latestVersion: {
991
+ readonly type: "string";
992
+ readonly description: "Latest version of the chart";
993
+ readonly example: "1.18.2-cfke.45";
994
+ };
995
+ readonly metadata: {
996
+ readonly type: "object";
997
+ readonly properties: {
998
+ readonly name: {
999
+ readonly type: "string";
1000
+ readonly description: "Chart name from metadata";
1001
+ readonly example: "nginx-ingress";
1002
+ };
1003
+ readonly version: {
1004
+ readonly type: "string";
1005
+ readonly description: "Chart version from metadata";
1006
+ readonly example: "1.18.2-cfke.45";
1007
+ };
1008
+ readonly description: {
1009
+ readonly type: "string";
1010
+ readonly description: "Chart description";
1011
+ readonly example: "NGINX Ingress Controller for Kubernetes";
1012
+ };
1013
+ readonly appVersion: {
1014
+ readonly type: "string";
1015
+ readonly description: "Application version";
1016
+ readonly example: "1.9.4";
1017
+ };
1018
+ readonly apiVersion: {
1019
+ readonly type: "string";
1020
+ readonly description: "Helm API version";
1021
+ readonly example: "v2";
1022
+ };
1023
+ readonly keywords: {
1024
+ readonly type: "array";
1025
+ readonly items: {
843
1026
  readonly type: "string";
844
- readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
845
- readonly description: "Version of the chart.";
846
- readonly example: "2.1.1-cfke.123";
847
1027
  };
848
- readonly schema: {
1028
+ readonly description: "Chart keywords";
1029
+ readonly example: readonly ["ingress", "nginx", "load-balancer"];
1030
+ };
1031
+ readonly home: {
1032
+ readonly type: "string";
1033
+ readonly description: "Chart home URL";
1034
+ readonly example: "https://kubernetes.github.io/ingress-nginx/";
1035
+ };
1036
+ readonly icon: {
1037
+ readonly type: "string";
1038
+ readonly description: "A URL to an SVG or PNG image to be used as an icon";
1039
+ readonly example: "https://cloudfleet.ai/images/marketplace/icons/ingress-nginx.png";
1040
+ };
1041
+ readonly sources: {
1042
+ readonly type: "array";
1043
+ readonly items: {
849
1044
  readonly type: "string";
850
- readonly description: "Schema of the chart values. JSON Schema as string";
851
1045
  };
852
- readonly placeholder: {
853
- readonly type: "string";
854
- readonly description: "Schema of the chart values";
855
- readonly example: "foo: 1\nbar: example";
1046
+ readonly description: "Chart source URLs";
1047
+ readonly example: readonly ["https://github.com/kubernetes/ingress-nginx"];
1048
+ };
1049
+ readonly maintainers: {
1050
+ readonly type: "array";
1051
+ readonly items: {
1052
+ readonly type: "object";
1053
+ readonly properties: {
1054
+ readonly name: {
1055
+ readonly type: "string";
1056
+ readonly description: "Maintainer name";
1057
+ readonly example: "NGINX Team";
1058
+ };
1059
+ readonly email: {
1060
+ readonly type: "string";
1061
+ readonly description: "Maintainer email";
1062
+ readonly example: "support@nginx.org";
1063
+ };
1064
+ };
1065
+ readonly required: readonly ["name"];
1066
+ readonly additionalProperties: false;
856
1067
  };
1068
+ readonly description: "Chart maintainers";
857
1069
  };
858
- readonly required: readonly ["version", "schema", "placeholder"];
859
- readonly additionalProperties: false;
860
1070
  };
1071
+ readonly required: readonly ["name", "version"];
1072
+ readonly additionalProperties: false;
1073
+ readonly description: "Chart metadata";
861
1074
  };
862
1075
  };
863
- readonly required: readonly ["id", "name", "developer", "description", "logoUrl", "longDescription", "categories", "version_channels", "value_schemas"];
1076
+ readonly required: readonly ["name", "versions", "version_channels", "latestVersion"];
864
1077
  readonly additionalProperties: false;
865
1078
  };
866
1079
  export declare const OrganizationCreateInputSchema: {
@@ -978,12 +1191,12 @@ export declare const OrganizationSchema: {
978
1191
  readonly id: {
979
1192
  readonly type: "string";
980
1193
  readonly description: "Id of the control plane version. Used in API calls.";
981
- readonly example: "1.29.x-cfke.x";
1194
+ readonly example: "1.33.x-cfke.x";
982
1195
  };
983
1196
  readonly label: {
984
1197
  readonly type: "string";
985
1198
  readonly description: "Label of the control plane version. Used in frontent UI.";
986
- readonly example: "1.29.x (Always latest 1.29 patch version)";
1199
+ readonly example: "1.33.x (Always latest 1.33 patch version)";
987
1200
  };
988
1201
  };
989
1202
  readonly required: readonly ["id", "label"];
@@ -992,8 +1205,14 @@ export declare const OrganizationSchema: {
992
1205
  readonly minItems: 1;
993
1206
  readonly description: "List of CFKE control plane versions available for the organization.";
994
1207
  };
1208
+ readonly cfcr_storage_gb: {
1209
+ readonly type: "integer";
1210
+ readonly minimum: -1;
1211
+ readonly description: "Organization-level maximum CFCR storage volume in GB. -1 means no limit.";
1212
+ readonly example: 500;
1213
+ };
995
1214
  };
996
- readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions"];
1215
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "cfcr_storage_gb"];
997
1216
  readonly additionalProperties: false;
998
1217
  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.";
999
1218
  };
@@ -1059,166 +1278,929 @@ export declare const PaymentMethodSchema: {
1059
1278
  readonly required: readonly ["id", "setup", "type", "last4", "exp_month", "exp_year", "brand"];
1060
1279
  readonly additionalProperties: false;
1061
1280
  };
1062
- export declare const TokenCreateInputSchema: {
1281
+ export declare const PlatformQuotaSchema: {
1063
1282
  readonly type: "object";
1064
1283
  readonly properties: {
1065
- readonly name: {
1066
- readonly type: "string";
1067
- readonly maxLength: 63;
1068
- readonly minLength: 1;
1069
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
1070
- readonly description: "Human readable access token name.";
1071
- readonly example: "deployment-token";
1284
+ readonly basic_clusters_max: {
1285
+ readonly type: "integer";
1286
+ readonly minimum: 0;
1287
+ readonly description: "Maximum number of Basic clusters that can be created.";
1288
+ readonly example: 999;
1072
1289
  };
1073
- readonly role: {
1074
- readonly type: "string";
1075
- readonly description: "Role assumed by the token.";
1076
- readonly example: "User";
1077
- readonly enum: readonly ["Administrator", "User"];
1290
+ readonly basic_clusters_available: {
1291
+ readonly type: "integer";
1292
+ readonly description: "Available number of Basic clusters that can be created.";
1293
+ readonly example: 999;
1294
+ };
1295
+ readonly pro_clusters_max: {
1296
+ readonly type: "integer";
1297
+ readonly minimum: 0;
1298
+ readonly description: "Maximum number of Pro clusters that can be created.";
1299
+ readonly example: 999;
1300
+ };
1301
+ readonly pro_clusters_available: {
1302
+ readonly type: "integer";
1303
+ readonly description: "Available number of Pro clusters that can be created.";
1304
+ readonly example: 999;
1305
+ };
1306
+ readonly fleets_max: {
1307
+ readonly type: "integer";
1308
+ readonly minimum: 0;
1309
+ readonly description: "Maximum number of fleets that can be created per cluster.";
1310
+ readonly example: 999;
1311
+ };
1312
+ readonly cluster_tiers: {
1313
+ readonly type: "array";
1314
+ readonly items: {
1315
+ readonly type: "string";
1316
+ readonly example: "basic";
1317
+ };
1318
+ readonly minItems: 0;
1319
+ readonly description: "List of Cloudfleet cluster tiers available for the organization.";
1320
+ };
1321
+ readonly regions: {
1322
+ readonly type: "array";
1323
+ readonly items: {
1324
+ readonly type: "string";
1325
+ readonly example: "northamerica-central-1";
1326
+ };
1327
+ readonly minItems: 1;
1328
+ readonly description: "List of Cloudfleet control plane regions available for the organization.";
1329
+ };
1330
+ readonly versions: {
1331
+ readonly type: "array";
1332
+ readonly items: {
1333
+ readonly type: "object";
1334
+ readonly properties: {
1335
+ readonly id: {
1336
+ readonly type: "string";
1337
+ readonly description: "Id of the control plane version. Used in API calls.";
1338
+ readonly example: "1.33.x-cfke.x";
1339
+ };
1340
+ readonly label: {
1341
+ readonly type: "string";
1342
+ readonly description: "Label of the control plane version. Used in frontent UI.";
1343
+ readonly example: "1.33.x (Always latest 1.33 patch version)";
1344
+ };
1345
+ };
1346
+ readonly required: readonly ["id", "label"];
1347
+ readonly additionalProperties: false;
1348
+ };
1349
+ readonly minItems: 1;
1350
+ readonly description: "List of CFKE control plane versions available for the organization.";
1351
+ };
1352
+ readonly cfcr_storage_gb: {
1353
+ readonly type: "integer";
1354
+ readonly minimum: -1;
1355
+ readonly description: "Organization-level maximum CFCR storage volume in GB. -1 means no limit.";
1356
+ readonly example: 500;
1078
1357
  };
1079
1358
  };
1080
- readonly required: readonly ["name", "role"];
1359
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "cfcr_storage_gb"];
1081
1360
  readonly additionalProperties: false;
1082
1361
  };
1083
- export declare const TokenSchema: {
1362
+ export declare const RegistryRepositorySchema: {
1084
1363
  readonly type: "object";
1085
1364
  readonly properties: {
1086
1365
  readonly name: {
1087
1366
  readonly type: "string";
1088
- readonly maxLength: 63;
1089
- readonly minLength: 1;
1090
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
1091
- readonly description: "Human readable access token name.";
1092
- readonly example: "deployment-token";
1093
- };
1094
- readonly role: {
1095
- readonly type: "string";
1096
- readonly description: "Role assumed by the token.";
1097
- readonly example: "User";
1098
- readonly enum: readonly ["Administrator", "User"];
1099
- };
1100
- readonly id: {
1101
- readonly type: "string";
1102
- readonly description: "Generated unique identifier of the access token.";
1103
- readonly example: "7kUZnH7nnKUFfvc4NK2KQF";
1367
+ readonly description: "Repository name.";
1368
+ readonly example: "my-app";
1104
1369
  };
1105
- readonly secret: {
1370
+ readonly region: {
1106
1371
  readonly type: "string";
1107
- readonly description: "Access token secret. Unmasked only during creation.";
1108
- readonly example: "vq4SCMBsrgmBxbax80WDXuXoFNZAckI8";
1372
+ readonly description: "Registry region.";
1373
+ readonly example: "northamerica";
1109
1374
  };
1110
- readonly date_created: {
1375
+ readonly uri: {
1111
1376
  readonly type: "string";
1112
- readonly format: "date-time";
1113
- readonly description: "Creation date of the access token. ISO 8601 date string in UTC timezone";
1114
- readonly example: "2023-12-20T13:53:32.000Z";
1377
+ readonly description: "Full URI of the repository.";
1378
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app";
1115
1379
  };
1116
1380
  };
1117
- readonly required: readonly ["name", "role", "date_created"];
1381
+ readonly required: readonly ["name", "region", "uri"];
1118
1382
  readonly additionalProperties: false;
1119
1383
  };
1120
- export declare const TokenUpdateInputSchema: {
1384
+ export declare const RegistryRepositoryWithTagsSchema: {
1121
1385
  readonly type: "object";
1122
1386
  readonly properties: {
1123
1387
  readonly name: {
1124
1388
  readonly type: "string";
1125
- readonly maxLength: 63;
1126
- readonly minLength: 1;
1127
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
1128
- readonly description: "Human readable access token name.";
1129
- readonly example: "deployment-token";
1389
+ readonly description: "Repository name.";
1390
+ readonly example: "my-app";
1130
1391
  };
1131
- readonly role: {
1392
+ readonly region: {
1132
1393
  readonly type: "string";
1133
- readonly description: "Role assumed by the token.";
1134
- readonly example: "User";
1135
- readonly enum: readonly ["Administrator", "User"];
1394
+ readonly description: "Registry region.";
1395
+ readonly example: "northamerica";
1136
1396
  };
1137
- };
1138
- readonly additionalProperties: false;
1139
- };
1140
- export declare const UsageSchema: {
1141
- readonly type: "object";
1142
- readonly properties: {
1143
- readonly hour: {
1397
+ readonly uri: {
1144
1398
  readonly type: "string";
1145
- readonly description: "Hour of the usage";
1146
- readonly example: "2019-01-01T00:00:00.000Z";
1399
+ readonly description: "Full URI of the repository.";
1400
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app";
1147
1401
  };
1148
- readonly cluster_id: {
1402
+ readonly tags: {
1403
+ readonly type: "array";
1404
+ readonly items: {
1405
+ readonly type: "object";
1406
+ readonly properties: {
1407
+ readonly name: {
1408
+ readonly type: "string";
1409
+ readonly description: "Tag name.";
1410
+ readonly example: "latest";
1411
+ };
1412
+ readonly size: {
1413
+ readonly type: "number";
1414
+ readonly format: "float";
1415
+ readonly description: "Size of the tag in bytes.";
1416
+ readonly example: 123456789;
1417
+ };
1418
+ readonly mediaType: {
1419
+ readonly type: "string";
1420
+ readonly description: "Media type of the manifest.";
1421
+ readonly example: "application/vnd.docker.distribution.manifest.v2+json";
1422
+ };
1423
+ readonly platforms: {
1424
+ readonly type: "array";
1425
+ readonly items: {
1426
+ readonly type: "string";
1427
+ };
1428
+ readonly description: "Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).";
1429
+ readonly example: readonly ["linux/amd64", "linux/arm64"];
1430
+ };
1431
+ };
1432
+ readonly required: readonly ["name", "size"];
1433
+ readonly additionalProperties: false;
1434
+ };
1435
+ readonly description: "Array of tags in the repository.";
1436
+ };
1437
+ readonly totalSize: {
1438
+ readonly type: "number";
1439
+ readonly format: "float";
1440
+ readonly description: "Total size of all tags in the repository in bytes.";
1441
+ readonly example: 987654321;
1442
+ };
1443
+ };
1444
+ readonly required: readonly ["name", "region", "uri", "tags", "totalSize"];
1445
+ readonly additionalProperties: false;
1446
+ };
1447
+ export declare const RegistryTagSchema: {
1448
+ readonly type: "object";
1449
+ readonly properties: {
1450
+ readonly name: {
1149
1451
  readonly type: "string";
1150
- readonly format: "uuid";
1151
- readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
1152
- readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
1452
+ readonly description: "Tag name.";
1453
+ readonly example: "latest";
1153
1454
  };
1154
- readonly cluster_tier: {
1455
+ readonly digest: {
1155
1456
  readonly type: "string";
1156
- readonly description: "Tier of the cluster.";
1157
- readonly example: "pro";
1158
- readonly enum: readonly ["basic", "pro", ""];
1457
+ readonly description: "Manifest digest for pulling by digest.";
1458
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1159
1459
  };
1160
- readonly product: {
1460
+ readonly mediaType: {
1161
1461
  readonly type: "string";
1162
- readonly description: "The product the usage is associated with";
1163
- readonly example: "cfke_controlplane";
1164
- readonly enum: readonly ["cfke_controlplane", "cfke_connected_nodes", "infra_compute", "infra_storage", "infra_loadbalancing", "infra_traffic", "cfcr_storage"];
1462
+ readonly description: "Media type of the manifest.";
1463
+ readonly example: "application/vnd.docker.distribution.manifest.v2+json";
1464
+ };
1465
+ readonly config: {
1466
+ readonly type: "object";
1467
+ readonly properties: {
1468
+ readonly size: {
1469
+ readonly type: "number";
1470
+ readonly format: "float";
1471
+ readonly description: "Size of the config in bytes.";
1472
+ readonly example: 1234;
1473
+ };
1474
+ };
1475
+ readonly required: readonly ["size"];
1476
+ readonly additionalProperties: false;
1477
+ readonly description: "Manifest config metadata.";
1165
1478
  };
1166
- readonly node_name: {
1479
+ readonly layers: {
1480
+ readonly type: "array";
1481
+ readonly items: {
1482
+ readonly type: "object";
1483
+ readonly properties: {
1484
+ readonly digest: {
1485
+ readonly type: "string";
1486
+ readonly description: "Digest of the layer.";
1487
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1488
+ };
1489
+ readonly size: {
1490
+ readonly type: "number";
1491
+ readonly format: "float";
1492
+ readonly description: "Size of the layer in bytes.";
1493
+ readonly example: 5678;
1494
+ };
1495
+ };
1496
+ readonly required: readonly ["size"];
1497
+ readonly additionalProperties: false;
1498
+ };
1499
+ readonly description: "Array of layer metadata.";
1500
+ };
1501
+ readonly manifests: {
1502
+ readonly type: "array";
1503
+ readonly items: {
1504
+ readonly type: "object";
1505
+ readonly properties: {
1506
+ readonly digest: {
1507
+ readonly type: "string";
1508
+ readonly description: "Digest of the manifest.";
1509
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1510
+ };
1511
+ readonly platform: {
1512
+ readonly type: "object";
1513
+ readonly properties: {
1514
+ readonly architecture: {
1515
+ readonly type: "string";
1516
+ readonly description: "Architecture of the platform.";
1517
+ readonly example: "amd64";
1518
+ };
1519
+ readonly os: {
1520
+ readonly type: "string";
1521
+ readonly description: "Operating system of the platform.";
1522
+ readonly example: "linux";
1523
+ };
1524
+ readonly variant: {
1525
+ readonly type: "string";
1526
+ readonly description: "Variant of the platform (e.g., v7, v8 for ARM).";
1527
+ readonly example: "v8";
1528
+ };
1529
+ };
1530
+ readonly required: readonly ["architecture", "os"];
1531
+ readonly additionalProperties: false;
1532
+ readonly description: "Platform information for the manifest.";
1533
+ };
1534
+ readonly layers: {
1535
+ readonly type: "array";
1536
+ readonly items: {
1537
+ readonly type: "object";
1538
+ readonly properties: {
1539
+ readonly digest: {
1540
+ readonly type: "string";
1541
+ readonly description: "Digest of the layer.";
1542
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1543
+ };
1544
+ readonly size: {
1545
+ readonly type: "number";
1546
+ readonly format: "float";
1547
+ readonly description: "Size of the layer in bytes.";
1548
+ readonly example: 5678;
1549
+ };
1550
+ };
1551
+ readonly required: readonly ["size"];
1552
+ readonly additionalProperties: false;
1553
+ };
1554
+ readonly description: "Layers for this platform.";
1555
+ };
1556
+ readonly size: {
1557
+ readonly type: "number";
1558
+ readonly format: "float";
1559
+ readonly description: "Total size of this platform manifest in bytes.";
1560
+ readonly example: 12345678;
1561
+ };
1562
+ };
1563
+ readonly required: readonly ["digest"];
1564
+ readonly additionalProperties: false;
1565
+ };
1566
+ readonly description: "Array of manifests for multi-arch images.";
1567
+ };
1568
+ readonly size: {
1569
+ readonly type: "number";
1570
+ readonly format: "float";
1571
+ readonly description: "Total size of the tag in bytes.";
1572
+ readonly example: 123456789;
1573
+ };
1574
+ readonly region: {
1167
1575
  readonly type: "string";
1168
- readonly description: "Name of the Kubernetes node";
1169
- readonly example: "flexible-moth-956037384";
1576
+ readonly description: "Registry region.";
1577
+ readonly example: "northamerica";
1170
1578
  };
1171
- readonly sku: {
1579
+ readonly repository: {
1172
1580
  readonly type: "string";
1173
- readonly description: "SKU of the Kubernetes node";
1174
- readonly example: "GCP-NORTHAMERICA-NORTHEAST1-A-G1-SMALL-SPOT";
1581
+ readonly description: "Repository name.";
1582
+ readonly example: "my-app";
1175
1583
  };
1176
- readonly cpu: {
1177
- readonly anyOf: readonly [{
1178
- readonly type: "number";
1179
- readonly format: "float";
1180
- readonly description: "CPU core count of the node";
1181
- readonly example: 4;
1182
- }, {
1584
+ readonly uri: {
1585
+ readonly type: "string";
1586
+ readonly description: "Full URI of the tag.";
1587
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest";
1588
+ };
1589
+ };
1590
+ readonly required: readonly ["name", "digest", "size", "region", "repository", "uri"];
1591
+ readonly additionalProperties: false;
1592
+ };
1593
+ export declare const TicketAttachmentSchema: {
1594
+ readonly type: "object";
1595
+ readonly properties: {
1596
+ readonly id: {
1597
+ readonly type: "string";
1598
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1599
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1600
+ };
1601
+ readonly filename: {
1602
+ readonly type: "string";
1603
+ readonly description: "Original filename as uploaded.";
1604
+ readonly example: "debug.log";
1605
+ };
1606
+ readonly content_type: {
1607
+ readonly type: "string";
1608
+ readonly description: "MIME content type of the attachment.";
1609
+ readonly example: "text/plain";
1610
+ };
1611
+ readonly size: {
1612
+ readonly type: "integer";
1613
+ readonly description: "Size of the attachment in bytes.";
1614
+ readonly example: 12345;
1615
+ };
1616
+ };
1617
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1618
+ readonly additionalProperties: false;
1619
+ };
1620
+ export declare const TicketCreateInputSchema: {
1621
+ readonly type: "object";
1622
+ readonly properties: {
1623
+ readonly category: {
1624
+ readonly type: "string";
1625
+ readonly description: "Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.";
1626
+ readonly example: "technical";
1627
+ readonly enum: readonly ["billing", "technical", "general"];
1628
+ };
1629
+ readonly body: {
1630
+ readonly type: "string";
1631
+ readonly maxLength: 50000;
1632
+ readonly minLength: 1;
1633
+ readonly pattern: "\\S";
1634
+ readonly description: "Initial message body in markdown. There is no separate subject — the first message body is the description.";
1635
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
1636
+ };
1637
+ readonly properties: {
1638
+ readonly type: "object";
1639
+ readonly additionalProperties: true;
1640
+ readonly description: "Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).";
1641
+ readonly example: {
1642
+ readonly subcategory: "cluster-question";
1643
+ readonly cluster_id: "60c72b2f9f1b2c001f8e4d3a";
1644
+ };
1645
+ };
1646
+ };
1647
+ readonly required: readonly ["category", "body"];
1648
+ readonly additionalProperties: false;
1649
+ };
1650
+ export declare const TicketListResponseSchema: {
1651
+ readonly type: "object";
1652
+ readonly properties: {
1653
+ readonly items: {
1654
+ readonly type: "array";
1655
+ readonly items: {
1656
+ readonly type: "object";
1657
+ readonly properties: {
1658
+ readonly id: {
1659
+ readonly type: "string";
1660
+ readonly description: "Unique identifier of the ticket (Mongo ObjectId).";
1661
+ readonly example: "60c72b2f9f1b2c001f8e4d3a";
1662
+ };
1663
+ readonly status: {
1664
+ readonly type: "string";
1665
+ readonly description: "Current state of the ticket.";
1666
+ readonly example: "waiting_on_us";
1667
+ readonly enum: readonly ["waiting_on_us", "waiting_on_user", "closed"];
1668
+ };
1669
+ readonly category: {
1670
+ readonly type: "string";
1671
+ readonly description: "Ticket category.";
1672
+ readonly example: "technical";
1673
+ readonly enum: readonly ["billing", "technical", "general"];
1674
+ };
1675
+ readonly summary: {
1676
+ readonly type: "string";
1677
+ readonly description: "First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.";
1678
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
1679
+ };
1680
+ readonly closed_at: {
1681
+ readonly type: "string";
1682
+ readonly format: "date-time";
1683
+ readonly nullable: true;
1684
+ readonly description: "Closure timestamp. Null while the ticket is open.";
1685
+ readonly example: "2026-05-18T16:08:14.338Z";
1686
+ };
1687
+ readonly date_created: {
1688
+ readonly type: "string";
1689
+ readonly format: "date-time";
1690
+ readonly description: "Creation date of the ticket. ISO 8601 UTC.";
1691
+ readonly example: "2026-05-11T16:08:14.338Z";
1692
+ };
1693
+ readonly date_updated: {
1694
+ readonly type: "string";
1695
+ readonly format: "date-time";
1696
+ readonly description: "Last update date of the ticket. ISO 8601 UTC.";
1697
+ readonly example: "2026-05-11T16:08:14.338Z";
1698
+ };
1699
+ readonly messages: {
1700
+ readonly type: "array";
1701
+ readonly items: {
1702
+ readonly type: "object";
1703
+ readonly properties: {
1704
+ readonly id: {
1705
+ readonly type: "string";
1706
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
1707
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
1708
+ };
1709
+ readonly type: {
1710
+ readonly type: "string";
1711
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
1712
+ readonly example: "customer_reply";
1713
+ readonly enum: readonly ["customer_reply", "agent_reply"];
1714
+ };
1715
+ readonly body: {
1716
+ readonly type: "string";
1717
+ readonly description: "Message body in markdown.";
1718
+ readonly example: "Thanks — that resolved it on my side.";
1719
+ };
1720
+ readonly author_first_name: {
1721
+ readonly type: "string";
1722
+ readonly nullable: true;
1723
+ readonly description: "First name of the author. Null when not provided.";
1724
+ readonly example: "Jane";
1725
+ };
1726
+ readonly author_last_name: {
1727
+ readonly type: "string";
1728
+ readonly nullable: true;
1729
+ readonly description: "Last name of the author. Null when not provided.";
1730
+ readonly example: "Doe";
1731
+ };
1732
+ readonly attachments: {
1733
+ readonly type: "array";
1734
+ readonly items: {
1735
+ readonly type: "object";
1736
+ readonly properties: {
1737
+ readonly id: {
1738
+ readonly type: "string";
1739
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1740
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1741
+ };
1742
+ readonly filename: {
1743
+ readonly type: "string";
1744
+ readonly description: "Original filename as uploaded.";
1745
+ readonly example: "debug.log";
1746
+ };
1747
+ readonly content_type: {
1748
+ readonly type: "string";
1749
+ readonly description: "MIME content type of the attachment.";
1750
+ readonly example: "text/plain";
1751
+ };
1752
+ readonly size: {
1753
+ readonly type: "integer";
1754
+ readonly description: "Size of the attachment in bytes.";
1755
+ readonly example: 12345;
1756
+ };
1757
+ };
1758
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1759
+ readonly additionalProperties: false;
1760
+ };
1761
+ readonly description: "Attachments associated with this message.";
1762
+ readonly example: readonly [];
1763
+ };
1764
+ readonly date_created: {
1765
+ readonly type: "string";
1766
+ readonly format: "date-time";
1767
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
1768
+ readonly example: "2026-05-11T16:08:14.338Z";
1769
+ };
1770
+ };
1771
+ readonly required: readonly ["id", "type", "body", "date_created"];
1772
+ readonly additionalProperties: false;
1773
+ };
1774
+ readonly description: "Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.";
1775
+ };
1776
+ };
1777
+ readonly required: readonly ["id", "status", "category", "summary", "date_created", "date_updated"];
1778
+ readonly additionalProperties: false;
1779
+ };
1780
+ readonly description: "Tickets for the organization, ordered newest first. Messages are omitted from list responses.";
1781
+ };
1782
+ };
1783
+ readonly required: readonly ["items"];
1784
+ readonly additionalProperties: false;
1785
+ };
1786
+ export declare const TicketMessageInputSchema: {
1787
+ readonly type: "object";
1788
+ readonly properties: {
1789
+ readonly body: {
1790
+ readonly type: "string";
1791
+ readonly maxLength: 50000;
1792
+ readonly minLength: 1;
1793
+ readonly pattern: "\\S";
1794
+ readonly description: "Reply body in markdown.";
1795
+ readonly example: "Thanks — that resolved it on my side.";
1796
+ };
1797
+ };
1798
+ readonly required: readonly ["body"];
1799
+ readonly additionalProperties: false;
1800
+ };
1801
+ export declare const TicketMessageSchema: {
1802
+ readonly type: "object";
1803
+ readonly properties: {
1804
+ readonly id: {
1805
+ readonly type: "string";
1806
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
1807
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
1808
+ };
1809
+ readonly type: {
1810
+ readonly type: "string";
1811
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
1812
+ readonly example: "customer_reply";
1813
+ readonly enum: readonly ["customer_reply", "agent_reply"];
1814
+ };
1815
+ readonly body: {
1816
+ readonly type: "string";
1817
+ readonly description: "Message body in markdown.";
1818
+ readonly example: "Thanks — that resolved it on my side.";
1819
+ };
1820
+ readonly author_first_name: {
1821
+ readonly type: "string";
1822
+ readonly description: "First name of the author. Null when not provided.";
1823
+ readonly example: "Jane";
1824
+ };
1825
+ readonly author_last_name: {
1826
+ readonly type: "string";
1827
+ readonly description: "Last name of the author. Null when not provided.";
1828
+ readonly example: "Doe";
1829
+ };
1830
+ readonly attachments: {
1831
+ readonly type: "array";
1832
+ readonly items: {
1833
+ readonly type: "object";
1834
+ readonly properties: {
1835
+ readonly id: {
1836
+ readonly type: "string";
1837
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1838
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1839
+ };
1840
+ readonly filename: {
1841
+ readonly type: "string";
1842
+ readonly description: "Original filename as uploaded.";
1843
+ readonly example: "debug.log";
1844
+ };
1845
+ readonly content_type: {
1846
+ readonly type: "string";
1847
+ readonly description: "MIME content type of the attachment.";
1848
+ readonly example: "text/plain";
1849
+ };
1850
+ readonly size: {
1851
+ readonly type: "integer";
1852
+ readonly description: "Size of the attachment in bytes.";
1853
+ readonly example: 12345;
1854
+ };
1855
+ };
1856
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1857
+ readonly additionalProperties: false;
1858
+ };
1859
+ readonly description: "Attachments associated with this message.";
1860
+ readonly example: readonly [];
1861
+ };
1862
+ readonly date_created: {
1863
+ readonly type: "string";
1864
+ readonly format: "date-time";
1865
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
1866
+ readonly example: "2026-05-11T16:08:14.338Z";
1867
+ };
1868
+ };
1869
+ readonly required: readonly ["id", "type", "body", "date_created"];
1870
+ readonly additionalProperties: false;
1871
+ };
1872
+ export declare const TicketSchema: {
1873
+ readonly type: "object";
1874
+ readonly properties: {
1875
+ readonly id: {
1876
+ readonly type: "string";
1877
+ readonly description: "Unique identifier of the ticket (Mongo ObjectId).";
1878
+ readonly example: "60c72b2f9f1b2c001f8e4d3a";
1879
+ };
1880
+ readonly status: {
1881
+ readonly type: "string";
1882
+ readonly description: "Current state of the ticket.";
1883
+ readonly example: "waiting_on_us";
1884
+ readonly enum: readonly ["waiting_on_us", "waiting_on_user", "closed"];
1885
+ };
1886
+ readonly category: {
1887
+ readonly type: "string";
1888
+ readonly description: "Ticket category.";
1889
+ readonly example: "technical";
1890
+ readonly enum: readonly ["billing", "technical", "general"];
1891
+ };
1892
+ readonly summary: {
1893
+ readonly type: "string";
1894
+ readonly description: "First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.";
1895
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
1896
+ };
1897
+ readonly closed_at: {
1898
+ readonly type: "string";
1899
+ readonly format: "date-time";
1900
+ readonly description: "Closure timestamp. Null while the ticket is open.";
1901
+ readonly example: "2026-05-18T16:08:14.338Z";
1902
+ };
1903
+ readonly date_created: {
1904
+ readonly type: "string";
1905
+ readonly format: "date-time";
1906
+ readonly description: "Creation date of the ticket. ISO 8601 UTC.";
1907
+ readonly example: "2026-05-11T16:08:14.338Z";
1908
+ };
1909
+ readonly date_updated: {
1910
+ readonly type: "string";
1911
+ readonly format: "date-time";
1912
+ readonly description: "Last update date of the ticket. ISO 8601 UTC.";
1913
+ readonly example: "2026-05-11T16:08:14.338Z";
1914
+ };
1915
+ readonly messages: {
1916
+ readonly type: "array";
1917
+ readonly items: {
1918
+ readonly type: "object";
1919
+ readonly properties: {
1920
+ readonly id: {
1921
+ readonly type: "string";
1922
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
1923
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
1924
+ };
1925
+ readonly type: {
1926
+ readonly type: "string";
1927
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
1928
+ readonly example: "customer_reply";
1929
+ readonly enum: readonly ["customer_reply", "agent_reply"];
1930
+ };
1931
+ readonly body: {
1932
+ readonly type: "string";
1933
+ readonly description: "Message body in markdown.";
1934
+ readonly example: "Thanks — that resolved it on my side.";
1935
+ };
1936
+ readonly author_first_name: {
1937
+ readonly type: "string";
1938
+ readonly description: "First name of the author. Null when not provided.";
1939
+ readonly example: "Jane";
1940
+ };
1941
+ readonly author_last_name: {
1942
+ readonly type: "string";
1943
+ readonly description: "Last name of the author. Null when not provided.";
1944
+ readonly example: "Doe";
1945
+ };
1946
+ readonly attachments: {
1947
+ readonly type: "array";
1948
+ readonly items: {
1949
+ readonly type: "object";
1950
+ readonly properties: {
1951
+ readonly id: {
1952
+ readonly type: "string";
1953
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1954
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1955
+ };
1956
+ readonly filename: {
1957
+ readonly type: "string";
1958
+ readonly description: "Original filename as uploaded.";
1959
+ readonly example: "debug.log";
1960
+ };
1961
+ readonly content_type: {
1962
+ readonly type: "string";
1963
+ readonly description: "MIME content type of the attachment.";
1964
+ readonly example: "text/plain";
1965
+ };
1966
+ readonly size: {
1967
+ readonly type: "integer";
1968
+ readonly description: "Size of the attachment in bytes.";
1969
+ readonly example: 12345;
1970
+ };
1971
+ };
1972
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1973
+ readonly additionalProperties: false;
1974
+ };
1975
+ readonly description: "Attachments associated with this message.";
1976
+ readonly example: readonly [];
1977
+ };
1978
+ readonly date_created: {
1979
+ readonly type: "string";
1980
+ readonly format: "date-time";
1981
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
1982
+ readonly example: "2026-05-11T16:08:14.338Z";
1983
+ };
1984
+ };
1985
+ readonly required: readonly ["id", "type", "body", "date_created"];
1986
+ readonly additionalProperties: false;
1987
+ };
1988
+ readonly description: "Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.";
1989
+ };
1990
+ };
1991
+ readonly required: readonly ["id", "status", "category", "summary", "date_created", "date_updated"];
1992
+ readonly additionalProperties: false;
1993
+ };
1994
+ export declare const TokenCreateInputSchema: {
1995
+ readonly type: "object";
1996
+ readonly properties: {
1997
+ readonly name: {
1998
+ readonly type: "string";
1999
+ readonly maxLength: 63;
2000
+ readonly minLength: 1;
2001
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
2002
+ readonly description: "Human readable access token name.";
2003
+ readonly example: "deployment-token";
2004
+ };
2005
+ readonly role: {
2006
+ readonly type: "string";
2007
+ readonly description: "Role assumed by the token.";
2008
+ readonly example: "User";
2009
+ readonly enum: readonly ["Administrator", "User"];
2010
+ };
2011
+ };
2012
+ readonly required: readonly ["name", "role"];
2013
+ readonly additionalProperties: false;
2014
+ };
2015
+ export declare const TokenSchema: {
2016
+ readonly type: "object";
2017
+ readonly properties: {
2018
+ readonly name: {
2019
+ readonly type: "string";
2020
+ readonly maxLength: 63;
2021
+ readonly minLength: 1;
2022
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
2023
+ readonly description: "Human readable access token name.";
2024
+ readonly example: "deployment-token";
2025
+ };
2026
+ readonly role: {
2027
+ readonly type: "string";
2028
+ readonly description: "Role assumed by the token.";
2029
+ readonly example: "User";
2030
+ readonly enum: readonly ["Administrator", "User"];
2031
+ };
2032
+ readonly id: {
2033
+ readonly type: "string";
2034
+ readonly description: "Generated unique identifier of the access token.";
2035
+ readonly example: "7kUZnH7nnKUFfvc4NK2KQF";
2036
+ };
2037
+ readonly secret: {
2038
+ readonly type: "string";
2039
+ readonly description: "Access token secret. Unmasked only during creation.";
2040
+ readonly example: "vq4SCMBsrgmBxbax80WDXuXoFNZAckI8";
2041
+ };
2042
+ readonly date_created: {
2043
+ readonly type: "string";
2044
+ readonly format: "date-time";
2045
+ readonly description: "Creation date of the access token. ISO 8601 date string in UTC timezone";
2046
+ readonly example: "2023-12-20T13:53:32.000Z";
2047
+ };
2048
+ };
2049
+ readonly required: readonly ["name", "role", "date_created"];
2050
+ readonly additionalProperties: false;
2051
+ };
2052
+ export declare const TokenUpdateInputSchema: {
2053
+ readonly type: "object";
2054
+ readonly properties: {
2055
+ readonly name: {
2056
+ readonly type: "string";
2057
+ readonly maxLength: 63;
2058
+ readonly minLength: 1;
2059
+ readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
2060
+ readonly description: "Human readable access token name.";
2061
+ readonly example: "deployment-token";
2062
+ };
2063
+ readonly role: {
2064
+ readonly type: "string";
2065
+ readonly description: "Role assumed by the token.";
2066
+ readonly example: "User";
2067
+ readonly enum: readonly ["Administrator", "User"];
2068
+ };
2069
+ };
2070
+ readonly additionalProperties: false;
2071
+ };
2072
+ export declare const UsageFacetsSchema: {
2073
+ readonly type: "object";
2074
+ readonly properties: {
2075
+ readonly cluster_id: {
2076
+ readonly type: "array";
2077
+ readonly items: {
1183
2078
  readonly type: "string";
1184
- readonly enum: readonly [""];
1185
- }];
2079
+ };
2080
+ readonly description: "List of unique cluster IDs";
2081
+ readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
1186
2082
  };
1187
- readonly price: {
1188
- readonly anyOf: readonly [{
1189
- readonly type: "number";
1190
- readonly format: "float";
1191
- readonly description: "Price";
1192
- readonly example: 4;
1193
- }, {
2083
+ readonly product: {
2084
+ readonly type: "array";
2085
+ readonly items: {
1194
2086
  readonly type: "string";
1195
- readonly enum: readonly [""];
1196
- }];
2087
+ };
2088
+ readonly description: "List of unique products";
2089
+ readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
2090
+ };
2091
+ };
2092
+ readonly additionalProperties: false;
2093
+ };
2094
+ export declare const UsageResponseSchema: {
2095
+ readonly type: "object";
2096
+ readonly properties: {
2097
+ readonly data: {
2098
+ readonly type: "array";
2099
+ readonly items: {
2100
+ readonly type: "object";
2101
+ readonly properties: {
2102
+ readonly hour: {
2103
+ readonly type: "string";
2104
+ readonly description: "Hour of the usage";
2105
+ readonly example: "2019-01-01T00:00:00.000Z";
2106
+ };
2107
+ readonly cluster_id: {
2108
+ readonly type: "string";
2109
+ readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
2110
+ readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
2111
+ };
2112
+ readonly product: {
2113
+ readonly type: "string";
2114
+ readonly description: "The product the usage is associated with";
2115
+ readonly example: "cfke_controlplane";
2116
+ };
2117
+ readonly value: {
2118
+ readonly type: "number";
2119
+ readonly format: "float";
2120
+ readonly description: "Consumption";
2121
+ readonly example: 4;
2122
+ };
2123
+ readonly price: {
2124
+ readonly type: "number";
2125
+ readonly format: "float";
2126
+ readonly description: "Price per unit";
2127
+ readonly example: 0.01;
2128
+ };
2129
+ readonly total: {
2130
+ readonly type: "number";
2131
+ readonly format: "float";
2132
+ readonly description: "Total cost";
2133
+ };
2134
+ };
2135
+ readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
2136
+ readonly additionalProperties: false;
2137
+ };
2138
+ readonly description: "Usage data";
2139
+ };
2140
+ readonly facets: {
2141
+ readonly type: "object";
2142
+ readonly properties: {
2143
+ readonly cluster_id: {
2144
+ readonly type: "array";
2145
+ readonly items: {
2146
+ readonly type: "string";
2147
+ };
2148
+ readonly description: "List of unique cluster IDs";
2149
+ readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
2150
+ };
2151
+ readonly product: {
2152
+ readonly type: "array";
2153
+ readonly items: {
2154
+ readonly type: "string";
2155
+ };
2156
+ readonly description: "List of unique products";
2157
+ readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
2158
+ };
2159
+ };
2160
+ readonly additionalProperties: false;
2161
+ readonly description: "Facets for filtering";
2162
+ };
2163
+ };
2164
+ readonly required: readonly ["data", "facets"];
2165
+ readonly additionalProperties: false;
2166
+ };
2167
+ export declare const UsageSchema: {
2168
+ readonly type: "object";
2169
+ readonly properties: {
2170
+ readonly hour: {
2171
+ readonly type: "string";
2172
+ readonly description: "Hour of the usage";
2173
+ readonly example: "2019-01-01T00:00:00.000Z";
2174
+ };
2175
+ readonly cluster_id: {
2176
+ readonly type: "string";
2177
+ readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
2178
+ readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
2179
+ };
2180
+ readonly product: {
2181
+ readonly type: "string";
2182
+ readonly description: "The product the usage is associated with";
2183
+ readonly example: "cfke_controlplane";
1197
2184
  };
1198
2185
  readonly value: {
1199
- readonly anyOf: readonly [{
1200
- readonly type: "number";
1201
- readonly format: "float";
1202
- readonly description: "Value";
1203
- readonly example: 4;
1204
- }, {
1205
- readonly type: "string";
1206
- readonly enum: readonly [""];
1207
- }];
2186
+ readonly type: "number";
2187
+ readonly format: "float";
2188
+ readonly description: "Consumption";
2189
+ readonly example: 4;
2190
+ };
2191
+ readonly price: {
2192
+ readonly type: "number";
2193
+ readonly format: "float";
2194
+ readonly description: "Price per unit";
2195
+ readonly example: 0.01;
1208
2196
  };
1209
2197
  readonly total: {
1210
- readonly anyOf: readonly [{
1211
- readonly type: "number";
1212
- readonly format: "float";
1213
- readonly description: "Total";
1214
- readonly example: 4;
1215
- }, {
1216
- readonly type: "string";
1217
- readonly enum: readonly [""];
1218
- }];
2198
+ readonly type: "number";
2199
+ readonly format: "float";
2200
+ readonly description: "Total cost";
1219
2201
  };
1220
2202
  };
1221
- readonly required: readonly ["cluster_id", "cluster_tier", "product", "node_name", "sku", "cpu", "price", "value", "total"];
2203
+ readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
1222
2204
  readonly additionalProperties: false;
1223
2205
  };
1224
2206
  export declare const UserCreateInputSchema: {