@cloudfleet/sdk 0.0.1-523e444 → 0.0.1-53d3d1d

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