@cloudfleet/sdk 0.0.1-523e444 → 0.0.1-55a31fe

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 +972 -132
  46. package/dist/schemas.gen.d.ts.map +1 -1
  47. package/dist/schemas.gen.js +1633 -262
  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 +904 -57
  55. package/dist/types.gen.d.ts.map +1 -1
  56. package/dist/zod.gen.d.ts +899 -617
  57. package/dist/zod.gen.d.ts.map +1 -1
  58. package/dist/zod.gen.js +495 -457
  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"];
@@ -733,9 +749,8 @@ export declare const InvoiceSchema: {
733
749
  readonly properties: {
734
750
  readonly id: {
735
751
  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";
752
+ readonly description: "Unique identifier of the invoice.";
753
+ readonly example: "in_1234567890xCrwxghOTj1234";
739
754
  };
740
755
  readonly number: {
741
756
  readonly type: "string";
@@ -781,86 +796,142 @@ export declare const InvoiceSchema: {
781
796
  readonly required: readonly ["created", "period_start", "period_end"];
782
797
  readonly additionalProperties: false;
783
798
  };
784
- export declare const MarketplaceListingSchema: {
799
+ export declare const MarketplaceListingFilesSchema: {
785
800
  readonly type: "object";
786
801
  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: {
802
+ readonly chartYaml: {
796
803
  readonly type: "string";
797
- readonly description: "Name of the chart listing";
798
- readonly example: "Portworx Enterprise + Disaster Recovery - Baremetal";
799
- };
800
- readonly developer: {
801
- readonly type: "string";
802
- readonly description: "Author of the chart listing";
803
- readonly example: "Portworx";
804
+ readonly description: "Raw Chart.yaml content from the Helm chart";
805
+ readonly example: "apiVersion: v2\nname: nginx-ingress\nversion: 1.18.2-cfke.45\nappVersion: 1.9.4";
804
806
  };
805
- readonly description: {
807
+ readonly valuesYaml: {
806
808
  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";
809
+ readonly description: "Raw values.yaml content from the Helm chart";
810
+ readonly example: "replicaCount: 1\nimage:\n repository: nginx\n tag: latest";
809
811
  };
810
- readonly logoUrl: {
812
+ readonly valuesSchemaJson: {
811
813
  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";
814
+ readonly description: "JSON schema for values.yaml as a string";
815
+ readonly example: "{\"type\":\"object\",\"properties\":{\"replicaCount\":{\"type\":\"number\"}}}";
814
816
  };
815
- readonly longDescription: {
817
+ };
818
+ readonly additionalProperties: false;
819
+ };
820
+ export declare const MarketplaceListingSchema: {
821
+ readonly type: "object";
822
+ readonly properties: {
823
+ readonly name: {
816
824
  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....";
825
+ readonly description: "Name of the chart";
826
+ readonly example: "nginx-ingress";
819
827
  };
820
- readonly categories: {
828
+ readonly versions: {
821
829
  readonly type: "array";
822
830
  readonly items: {
823
831
  readonly type: "string";
824
- readonly example: "AI & Machine Learning";
832
+ 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-]+)*))?$";
833
+ readonly description: "Specific version of the chart";
834
+ readonly example: "1.18.2-cfke.45";
825
835
  };
826
- readonly description: "Tags of the chart";
836
+ readonly description: "Available versions of the chart";
827
837
  };
828
838
  readonly version_channels: {
829
839
  readonly type: "array";
830
840
  readonly items: {
831
841
  readonly type: "string";
832
842
  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";
843
+ readonly description: "Version channel pattern";
844
+ readonly example: "1.18.x-cfke.x";
835
845
  };
846
+ readonly description: "Version channels for the chart";
836
847
  };
837
- readonly value_schemas: {
838
- readonly type: "array";
839
- readonly items: {
840
- readonly type: "object";
841
- readonly properties: {
842
- readonly version: {
848
+ readonly latestVersion: {
849
+ readonly type: "string";
850
+ readonly description: "Latest version of the chart";
851
+ readonly example: "1.18.2-cfke.45";
852
+ };
853
+ readonly metadata: {
854
+ readonly type: "object";
855
+ readonly properties: {
856
+ readonly name: {
857
+ readonly type: "string";
858
+ readonly description: "Chart name from metadata";
859
+ readonly example: "nginx-ingress";
860
+ };
861
+ readonly version: {
862
+ readonly type: "string";
863
+ readonly description: "Chart version from metadata";
864
+ readonly example: "1.18.2-cfke.45";
865
+ };
866
+ readonly description: {
867
+ readonly type: "string";
868
+ readonly description: "Chart description";
869
+ readonly example: "NGINX Ingress Controller for Kubernetes";
870
+ };
871
+ readonly appVersion: {
872
+ readonly type: "string";
873
+ readonly description: "Application version";
874
+ readonly example: "1.9.4";
875
+ };
876
+ readonly apiVersion: {
877
+ readonly type: "string";
878
+ readonly description: "Helm API version";
879
+ readonly example: "v2";
880
+ };
881
+ readonly keywords: {
882
+ readonly type: "array";
883
+ readonly items: {
843
884
  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
885
  };
848
- readonly schema: {
886
+ readonly description: "Chart keywords";
887
+ readonly example: readonly ["ingress", "nginx", "load-balancer"];
888
+ };
889
+ readonly home: {
890
+ readonly type: "string";
891
+ readonly description: "Chart home URL";
892
+ readonly example: "https://kubernetes.github.io/ingress-nginx/";
893
+ };
894
+ readonly icon: {
895
+ readonly type: "string";
896
+ readonly description: "A URL to an SVG or PNG image to be used as an icon";
897
+ readonly example: "https://cloudfleet.ai/images/marketplace/icons/ingress-nginx.png";
898
+ };
899
+ readonly sources: {
900
+ readonly type: "array";
901
+ readonly items: {
849
902
  readonly type: "string";
850
- readonly description: "Schema of the chart values. JSON Schema as string";
851
903
  };
852
- readonly placeholder: {
853
- readonly type: "string";
854
- readonly description: "Schema of the chart values";
855
- readonly example: "foo: 1\nbar: example";
904
+ readonly description: "Chart source URLs";
905
+ readonly example: readonly ["https://github.com/kubernetes/ingress-nginx"];
906
+ };
907
+ readonly maintainers: {
908
+ readonly type: "array";
909
+ readonly items: {
910
+ readonly type: "object";
911
+ readonly properties: {
912
+ readonly name: {
913
+ readonly type: "string";
914
+ readonly description: "Maintainer name";
915
+ readonly example: "NGINX Team";
916
+ };
917
+ readonly email: {
918
+ readonly type: "string";
919
+ readonly description: "Maintainer email";
920
+ readonly example: "support@nginx.org";
921
+ };
922
+ };
923
+ readonly required: readonly ["name"];
924
+ readonly additionalProperties: false;
856
925
  };
926
+ readonly description: "Chart maintainers";
857
927
  };
858
- readonly required: readonly ["version", "schema", "placeholder"];
859
- readonly additionalProperties: false;
860
928
  };
929
+ readonly required: readonly ["name", "version"];
930
+ readonly additionalProperties: false;
931
+ readonly description: "Chart metadata";
861
932
  };
862
933
  };
863
- readonly required: readonly ["id", "name", "developer", "description", "logoUrl", "longDescription", "categories", "version_channels", "value_schemas"];
934
+ readonly required: readonly ["name", "versions", "version_channels", "latestVersion"];
864
935
  readonly additionalProperties: false;
865
936
  };
866
937
  export declare const OrganizationCreateInputSchema: {
@@ -978,12 +1049,12 @@ export declare const OrganizationSchema: {
978
1049
  readonly id: {
979
1050
  readonly type: "string";
980
1051
  readonly description: "Id of the control plane version. Used in API calls.";
981
- readonly example: "1.29.x-cfke.x";
1052
+ readonly example: "1.33.x-cfke.x";
982
1053
  };
983
1054
  readonly label: {
984
1055
  readonly type: "string";
985
1056
  readonly description: "Label of the control plane version. Used in frontent UI.";
986
- readonly example: "1.29.x (Always latest 1.29 patch version)";
1057
+ readonly example: "1.33.x (Always latest 1.33 patch version)";
987
1058
  };
988
1059
  };
989
1060
  readonly required: readonly ["id", "label"];
@@ -992,8 +1063,14 @@ export declare const OrganizationSchema: {
992
1063
  readonly minItems: 1;
993
1064
  readonly description: "List of CFKE control plane versions available for the organization.";
994
1065
  };
1066
+ readonly cfcr_storage_gb: {
1067
+ readonly type: "integer";
1068
+ readonly minimum: -1;
1069
+ readonly description: "Organization-level maximum CFCR storage volume in GB. -1 means no limit.";
1070
+ readonly example: 500;
1071
+ };
995
1072
  };
996
- readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions"];
1073
+ 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
1074
  readonly additionalProperties: false;
998
1075
  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
1076
  };
@@ -1059,6 +1136,719 @@ export declare const PaymentMethodSchema: {
1059
1136
  readonly required: readonly ["id", "setup", "type", "last4", "exp_month", "exp_year", "brand"];
1060
1137
  readonly additionalProperties: false;
1061
1138
  };
1139
+ export declare const PlatformQuotaSchema: {
1140
+ readonly type: "object";
1141
+ readonly properties: {
1142
+ readonly basic_clusters_max: {
1143
+ readonly type: "integer";
1144
+ readonly minimum: 0;
1145
+ readonly description: "Maximum number of Basic clusters that can be created.";
1146
+ readonly example: 999;
1147
+ };
1148
+ readonly basic_clusters_available: {
1149
+ readonly type: "integer";
1150
+ readonly description: "Available number of Basic clusters that can be created.";
1151
+ readonly example: 999;
1152
+ };
1153
+ readonly pro_clusters_max: {
1154
+ readonly type: "integer";
1155
+ readonly minimum: 0;
1156
+ readonly description: "Maximum number of Pro clusters that can be created.";
1157
+ readonly example: 999;
1158
+ };
1159
+ readonly pro_clusters_available: {
1160
+ readonly type: "integer";
1161
+ readonly description: "Available number of Pro clusters that can be created.";
1162
+ readonly example: 999;
1163
+ };
1164
+ readonly fleets_max: {
1165
+ readonly type: "integer";
1166
+ readonly minimum: 0;
1167
+ readonly description: "Maximum number of fleets that can be created per cluster.";
1168
+ readonly example: 999;
1169
+ };
1170
+ readonly cluster_tiers: {
1171
+ readonly type: "array";
1172
+ readonly items: {
1173
+ readonly type: "string";
1174
+ readonly example: "basic";
1175
+ };
1176
+ readonly minItems: 0;
1177
+ readonly description: "List of Cloudfleet cluster tiers available for the organization.";
1178
+ };
1179
+ readonly regions: {
1180
+ readonly type: "array";
1181
+ readonly items: {
1182
+ readonly type: "string";
1183
+ readonly example: "northamerica-central-1";
1184
+ };
1185
+ readonly minItems: 1;
1186
+ readonly description: "List of Cloudfleet control plane regions available for the organization.";
1187
+ };
1188
+ readonly versions: {
1189
+ readonly type: "array";
1190
+ readonly items: {
1191
+ readonly type: "object";
1192
+ readonly properties: {
1193
+ readonly id: {
1194
+ readonly type: "string";
1195
+ readonly description: "Id of the control plane version. Used in API calls.";
1196
+ readonly example: "1.33.x-cfke.x";
1197
+ };
1198
+ readonly label: {
1199
+ readonly type: "string";
1200
+ readonly description: "Label of the control plane version. Used in frontent UI.";
1201
+ readonly example: "1.33.x (Always latest 1.33 patch version)";
1202
+ };
1203
+ };
1204
+ readonly required: readonly ["id", "label"];
1205
+ readonly additionalProperties: false;
1206
+ };
1207
+ readonly minItems: 1;
1208
+ readonly description: "List of CFKE control plane versions available for the organization.";
1209
+ };
1210
+ readonly cfcr_storage_gb: {
1211
+ readonly type: "integer";
1212
+ readonly minimum: -1;
1213
+ readonly description: "Organization-level maximum CFCR storage volume in GB. -1 means no limit.";
1214
+ readonly example: 500;
1215
+ };
1216
+ };
1217
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "cfcr_storage_gb"];
1218
+ readonly additionalProperties: false;
1219
+ };
1220
+ export declare const RegistryRepositorySchema: {
1221
+ readonly type: "object";
1222
+ readonly properties: {
1223
+ readonly name: {
1224
+ readonly type: "string";
1225
+ readonly description: "Repository name.";
1226
+ readonly example: "my-app";
1227
+ };
1228
+ readonly region: {
1229
+ readonly type: "string";
1230
+ readonly description: "Registry region.";
1231
+ readonly example: "northamerica";
1232
+ };
1233
+ readonly uri: {
1234
+ readonly type: "string";
1235
+ readonly description: "Full URI of the repository.";
1236
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app";
1237
+ };
1238
+ };
1239
+ readonly required: readonly ["name", "region", "uri"];
1240
+ readonly additionalProperties: false;
1241
+ };
1242
+ export declare const RegistryRepositoryWithTagsSchema: {
1243
+ readonly type: "object";
1244
+ readonly properties: {
1245
+ readonly name: {
1246
+ readonly type: "string";
1247
+ readonly description: "Repository name.";
1248
+ readonly example: "my-app";
1249
+ };
1250
+ readonly region: {
1251
+ readonly type: "string";
1252
+ readonly description: "Registry region.";
1253
+ readonly example: "northamerica";
1254
+ };
1255
+ readonly uri: {
1256
+ readonly type: "string";
1257
+ readonly description: "Full URI of the repository.";
1258
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app";
1259
+ };
1260
+ readonly tags: {
1261
+ readonly type: "array";
1262
+ readonly items: {
1263
+ readonly type: "object";
1264
+ readonly properties: {
1265
+ readonly name: {
1266
+ readonly type: "string";
1267
+ readonly description: "Tag name.";
1268
+ readonly example: "latest";
1269
+ };
1270
+ readonly size: {
1271
+ readonly type: "number";
1272
+ readonly format: "float";
1273
+ readonly description: "Size of the tag in bytes.";
1274
+ readonly example: 123456789;
1275
+ };
1276
+ readonly mediaType: {
1277
+ readonly type: "string";
1278
+ readonly description: "Media type of the manifest.";
1279
+ readonly example: "application/vnd.docker.distribution.manifest.v2+json";
1280
+ };
1281
+ readonly platforms: {
1282
+ readonly type: "array";
1283
+ readonly items: {
1284
+ readonly type: "string";
1285
+ };
1286
+ readonly description: "Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).";
1287
+ readonly example: readonly ["linux/amd64", "linux/arm64"];
1288
+ };
1289
+ };
1290
+ readonly required: readonly ["name", "size"];
1291
+ readonly additionalProperties: false;
1292
+ };
1293
+ readonly description: "Array of tags in the repository.";
1294
+ };
1295
+ readonly totalSize: {
1296
+ readonly type: "number";
1297
+ readonly format: "float";
1298
+ readonly description: "Total size of all tags in the repository in bytes.";
1299
+ readonly example: 987654321;
1300
+ };
1301
+ };
1302
+ readonly required: readonly ["name", "region", "uri", "tags", "totalSize"];
1303
+ readonly additionalProperties: false;
1304
+ };
1305
+ export declare const RegistryTagSchema: {
1306
+ readonly type: "object";
1307
+ readonly properties: {
1308
+ readonly name: {
1309
+ readonly type: "string";
1310
+ readonly description: "Tag name.";
1311
+ readonly example: "latest";
1312
+ };
1313
+ readonly digest: {
1314
+ readonly type: "string";
1315
+ readonly description: "Manifest digest for pulling by digest.";
1316
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1317
+ };
1318
+ readonly mediaType: {
1319
+ readonly type: "string";
1320
+ readonly description: "Media type of the manifest.";
1321
+ readonly example: "application/vnd.docker.distribution.manifest.v2+json";
1322
+ };
1323
+ readonly config: {
1324
+ readonly type: "object";
1325
+ readonly properties: {
1326
+ readonly size: {
1327
+ readonly type: "number";
1328
+ readonly format: "float";
1329
+ readonly description: "Size of the config in bytes.";
1330
+ readonly example: 1234;
1331
+ };
1332
+ };
1333
+ readonly required: readonly ["size"];
1334
+ readonly additionalProperties: false;
1335
+ readonly description: "Manifest config metadata.";
1336
+ };
1337
+ readonly layers: {
1338
+ readonly type: "array";
1339
+ readonly items: {
1340
+ readonly type: "object";
1341
+ readonly properties: {
1342
+ readonly digest: {
1343
+ readonly type: "string";
1344
+ readonly description: "Digest of the layer.";
1345
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1346
+ };
1347
+ readonly size: {
1348
+ readonly type: "number";
1349
+ readonly format: "float";
1350
+ readonly description: "Size of the layer in bytes.";
1351
+ readonly example: 5678;
1352
+ };
1353
+ };
1354
+ readonly required: readonly ["size"];
1355
+ readonly additionalProperties: false;
1356
+ };
1357
+ readonly description: "Array of layer metadata.";
1358
+ };
1359
+ readonly manifests: {
1360
+ readonly type: "array";
1361
+ readonly items: {
1362
+ readonly type: "object";
1363
+ readonly properties: {
1364
+ readonly digest: {
1365
+ readonly type: "string";
1366
+ readonly description: "Digest of the manifest.";
1367
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1368
+ };
1369
+ readonly platform: {
1370
+ readonly type: "object";
1371
+ readonly properties: {
1372
+ readonly architecture: {
1373
+ readonly type: "string";
1374
+ readonly description: "Architecture of the platform.";
1375
+ readonly example: "amd64";
1376
+ };
1377
+ readonly os: {
1378
+ readonly type: "string";
1379
+ readonly description: "Operating system of the platform.";
1380
+ readonly example: "linux";
1381
+ };
1382
+ readonly variant: {
1383
+ readonly type: "string";
1384
+ readonly description: "Variant of the platform (e.g., v7, v8 for ARM).";
1385
+ readonly example: "v8";
1386
+ };
1387
+ };
1388
+ readonly required: readonly ["architecture", "os"];
1389
+ readonly additionalProperties: false;
1390
+ readonly description: "Platform information for the manifest.";
1391
+ };
1392
+ readonly layers: {
1393
+ readonly type: "array";
1394
+ readonly items: {
1395
+ readonly type: "object";
1396
+ readonly properties: {
1397
+ readonly digest: {
1398
+ readonly type: "string";
1399
+ readonly description: "Digest of the layer.";
1400
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1401
+ };
1402
+ readonly size: {
1403
+ readonly type: "number";
1404
+ readonly format: "float";
1405
+ readonly description: "Size of the layer in bytes.";
1406
+ readonly example: 5678;
1407
+ };
1408
+ };
1409
+ readonly required: readonly ["size"];
1410
+ readonly additionalProperties: false;
1411
+ };
1412
+ readonly description: "Layers for this platform.";
1413
+ };
1414
+ readonly size: {
1415
+ readonly type: "number";
1416
+ readonly format: "float";
1417
+ readonly description: "Total size of this platform manifest in bytes.";
1418
+ readonly example: 12345678;
1419
+ };
1420
+ };
1421
+ readonly required: readonly ["digest"];
1422
+ readonly additionalProperties: false;
1423
+ };
1424
+ readonly description: "Array of manifests for multi-arch images.";
1425
+ };
1426
+ readonly size: {
1427
+ readonly type: "number";
1428
+ readonly format: "float";
1429
+ readonly description: "Total size of the tag in bytes.";
1430
+ readonly example: 123456789;
1431
+ };
1432
+ readonly region: {
1433
+ readonly type: "string";
1434
+ readonly description: "Registry region.";
1435
+ readonly example: "northamerica";
1436
+ };
1437
+ readonly repository: {
1438
+ readonly type: "string";
1439
+ readonly description: "Repository name.";
1440
+ readonly example: "my-app";
1441
+ };
1442
+ readonly uri: {
1443
+ readonly type: "string";
1444
+ readonly description: "Full URI of the tag.";
1445
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest";
1446
+ };
1447
+ };
1448
+ readonly required: readonly ["name", "digest", "size", "region", "repository", "uri"];
1449
+ readonly additionalProperties: false;
1450
+ };
1451
+ export declare const TicketAttachmentSchema: {
1452
+ readonly type: "object";
1453
+ readonly properties: {
1454
+ readonly id: {
1455
+ readonly type: "string";
1456
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1457
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1458
+ };
1459
+ readonly filename: {
1460
+ readonly type: "string";
1461
+ readonly description: "Original filename as uploaded.";
1462
+ readonly example: "debug.log";
1463
+ };
1464
+ readonly content_type: {
1465
+ readonly type: "string";
1466
+ readonly description: "MIME content type of the attachment.";
1467
+ readonly example: "text/plain";
1468
+ };
1469
+ readonly size: {
1470
+ readonly type: "integer";
1471
+ readonly description: "Size of the attachment in bytes.";
1472
+ readonly example: 12345;
1473
+ };
1474
+ };
1475
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1476
+ readonly additionalProperties: false;
1477
+ };
1478
+ export declare const TicketCreateInputSchema: {
1479
+ readonly type: "object";
1480
+ readonly properties: {
1481
+ readonly category: {
1482
+ readonly type: "string";
1483
+ readonly description: "Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.";
1484
+ readonly example: "technical";
1485
+ readonly enum: readonly ["billing", "technical", "general"];
1486
+ };
1487
+ readonly body: {
1488
+ readonly type: "string";
1489
+ readonly maxLength: 50000;
1490
+ readonly minLength: 1;
1491
+ readonly pattern: "\\S";
1492
+ readonly description: "Initial message body in markdown. There is no separate subject — the first message body is the description.";
1493
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
1494
+ };
1495
+ readonly properties: {
1496
+ readonly type: "object";
1497
+ readonly additionalProperties: true;
1498
+ readonly description: "Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).";
1499
+ readonly example: {
1500
+ readonly subcategory: "cluster-question";
1501
+ readonly cluster_id: "60c72b2f9f1b2c001f8e4d3a";
1502
+ };
1503
+ };
1504
+ };
1505
+ readonly required: readonly ["category", "body"];
1506
+ readonly additionalProperties: false;
1507
+ };
1508
+ export declare const TicketListResponseSchema: {
1509
+ readonly type: "object";
1510
+ readonly properties: {
1511
+ readonly items: {
1512
+ readonly type: "array";
1513
+ readonly items: {
1514
+ readonly type: "object";
1515
+ readonly properties: {
1516
+ readonly id: {
1517
+ readonly type: "string";
1518
+ readonly description: "Unique identifier of the ticket (Mongo ObjectId).";
1519
+ readonly example: "60c72b2f9f1b2c001f8e4d3a";
1520
+ };
1521
+ readonly status: {
1522
+ readonly type: "string";
1523
+ readonly description: "Current state of the ticket.";
1524
+ readonly example: "waiting_on_us";
1525
+ readonly enum: readonly ["waiting_on_us", "waiting_on_user", "closed"];
1526
+ };
1527
+ readonly category: {
1528
+ readonly type: "string";
1529
+ readonly description: "Ticket category.";
1530
+ readonly example: "technical";
1531
+ readonly enum: readonly ["billing", "technical", "general"];
1532
+ };
1533
+ readonly summary: {
1534
+ readonly type: "string";
1535
+ readonly description: "First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.";
1536
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
1537
+ };
1538
+ readonly closed_at: {
1539
+ readonly type: "string";
1540
+ readonly format: "date-time";
1541
+ readonly nullable: true;
1542
+ readonly description: "Closure timestamp. Null while the ticket is open.";
1543
+ readonly example: "2026-05-18T16:08:14.338Z";
1544
+ };
1545
+ readonly date_created: {
1546
+ readonly type: "string";
1547
+ readonly format: "date-time";
1548
+ readonly description: "Creation date of the ticket. ISO 8601 UTC.";
1549
+ readonly example: "2026-05-11T16:08:14.338Z";
1550
+ };
1551
+ readonly date_updated: {
1552
+ readonly type: "string";
1553
+ readonly format: "date-time";
1554
+ readonly description: "Last update date of the ticket. ISO 8601 UTC.";
1555
+ readonly example: "2026-05-11T16:08:14.338Z";
1556
+ };
1557
+ readonly messages: {
1558
+ readonly type: "array";
1559
+ readonly items: {
1560
+ readonly type: "object";
1561
+ readonly properties: {
1562
+ readonly id: {
1563
+ readonly type: "string";
1564
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
1565
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
1566
+ };
1567
+ readonly type: {
1568
+ readonly type: "string";
1569
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
1570
+ readonly example: "customer_reply";
1571
+ readonly enum: readonly ["customer_reply", "agent_reply"];
1572
+ };
1573
+ readonly body: {
1574
+ readonly type: "string";
1575
+ readonly description: "Message body in markdown.";
1576
+ readonly example: "Thanks — that resolved it on my side.";
1577
+ };
1578
+ readonly author_first_name: {
1579
+ readonly type: "string";
1580
+ readonly nullable: true;
1581
+ readonly description: "First name of the author. Null when not provided.";
1582
+ readonly example: "Jane";
1583
+ };
1584
+ readonly author_last_name: {
1585
+ readonly type: "string";
1586
+ readonly nullable: true;
1587
+ readonly description: "Last name of the author. Null when not provided.";
1588
+ readonly example: "Doe";
1589
+ };
1590
+ readonly attachments: {
1591
+ readonly type: "array";
1592
+ readonly items: {
1593
+ readonly type: "object";
1594
+ readonly properties: {
1595
+ readonly id: {
1596
+ readonly type: "string";
1597
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1598
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1599
+ };
1600
+ readonly filename: {
1601
+ readonly type: "string";
1602
+ readonly description: "Original filename as uploaded.";
1603
+ readonly example: "debug.log";
1604
+ };
1605
+ readonly content_type: {
1606
+ readonly type: "string";
1607
+ readonly description: "MIME content type of the attachment.";
1608
+ readonly example: "text/plain";
1609
+ };
1610
+ readonly size: {
1611
+ readonly type: "integer";
1612
+ readonly description: "Size of the attachment in bytes.";
1613
+ readonly example: 12345;
1614
+ };
1615
+ };
1616
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1617
+ readonly additionalProperties: false;
1618
+ };
1619
+ readonly description: "Attachments associated with this message.";
1620
+ readonly example: readonly [];
1621
+ };
1622
+ readonly date_created: {
1623
+ readonly type: "string";
1624
+ readonly format: "date-time";
1625
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
1626
+ readonly example: "2026-05-11T16:08:14.338Z";
1627
+ };
1628
+ };
1629
+ readonly required: readonly ["id", "type", "body", "date_created"];
1630
+ readonly additionalProperties: false;
1631
+ };
1632
+ readonly description: "Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.";
1633
+ };
1634
+ };
1635
+ readonly required: readonly ["id", "status", "category", "summary", "date_created", "date_updated"];
1636
+ readonly additionalProperties: false;
1637
+ };
1638
+ readonly description: "Tickets for the organization, ordered newest first. Messages are omitted from list responses.";
1639
+ };
1640
+ };
1641
+ readonly required: readonly ["items"];
1642
+ readonly additionalProperties: false;
1643
+ };
1644
+ export declare const TicketMessageInputSchema: {
1645
+ readonly type: "object";
1646
+ readonly properties: {
1647
+ readonly body: {
1648
+ readonly type: "string";
1649
+ readonly maxLength: 50000;
1650
+ readonly minLength: 1;
1651
+ readonly pattern: "\\S";
1652
+ readonly description: "Reply body in markdown.";
1653
+ readonly example: "Thanks — that resolved it on my side.";
1654
+ };
1655
+ };
1656
+ readonly required: readonly ["body"];
1657
+ readonly additionalProperties: false;
1658
+ };
1659
+ export declare const TicketMessageSchema: {
1660
+ readonly type: "object";
1661
+ readonly properties: {
1662
+ readonly id: {
1663
+ readonly type: "string";
1664
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
1665
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
1666
+ };
1667
+ readonly type: {
1668
+ readonly type: "string";
1669
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
1670
+ readonly example: "customer_reply";
1671
+ readonly enum: readonly ["customer_reply", "agent_reply"];
1672
+ };
1673
+ readonly body: {
1674
+ readonly type: "string";
1675
+ readonly description: "Message body in markdown.";
1676
+ readonly example: "Thanks — that resolved it on my side.";
1677
+ };
1678
+ readonly author_first_name: {
1679
+ readonly type: "string";
1680
+ readonly description: "First name of the author. Null when not provided.";
1681
+ readonly example: "Jane";
1682
+ };
1683
+ readonly author_last_name: {
1684
+ readonly type: "string";
1685
+ readonly description: "Last name of the author. Null when not provided.";
1686
+ readonly example: "Doe";
1687
+ };
1688
+ readonly attachments: {
1689
+ readonly type: "array";
1690
+ readonly items: {
1691
+ readonly type: "object";
1692
+ readonly properties: {
1693
+ readonly id: {
1694
+ readonly type: "string";
1695
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1696
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1697
+ };
1698
+ readonly filename: {
1699
+ readonly type: "string";
1700
+ readonly description: "Original filename as uploaded.";
1701
+ readonly example: "debug.log";
1702
+ };
1703
+ readonly content_type: {
1704
+ readonly type: "string";
1705
+ readonly description: "MIME content type of the attachment.";
1706
+ readonly example: "text/plain";
1707
+ };
1708
+ readonly size: {
1709
+ readonly type: "integer";
1710
+ readonly description: "Size of the attachment in bytes.";
1711
+ readonly example: 12345;
1712
+ };
1713
+ };
1714
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1715
+ readonly additionalProperties: false;
1716
+ };
1717
+ readonly description: "Attachments associated with this message.";
1718
+ readonly example: readonly [];
1719
+ };
1720
+ readonly date_created: {
1721
+ readonly type: "string";
1722
+ readonly format: "date-time";
1723
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
1724
+ readonly example: "2026-05-11T16:08:14.338Z";
1725
+ };
1726
+ };
1727
+ readonly required: readonly ["id", "type", "body", "date_created"];
1728
+ readonly additionalProperties: false;
1729
+ };
1730
+ export declare const TicketSchema: {
1731
+ readonly type: "object";
1732
+ readonly properties: {
1733
+ readonly id: {
1734
+ readonly type: "string";
1735
+ readonly description: "Unique identifier of the ticket (Mongo ObjectId).";
1736
+ readonly example: "60c72b2f9f1b2c001f8e4d3a";
1737
+ };
1738
+ readonly status: {
1739
+ readonly type: "string";
1740
+ readonly description: "Current state of the ticket.";
1741
+ readonly example: "waiting_on_us";
1742
+ readonly enum: readonly ["waiting_on_us", "waiting_on_user", "closed"];
1743
+ };
1744
+ readonly category: {
1745
+ readonly type: "string";
1746
+ readonly description: "Ticket category.";
1747
+ readonly example: "technical";
1748
+ readonly enum: readonly ["billing", "technical", "general"];
1749
+ };
1750
+ readonly summary: {
1751
+ readonly type: "string";
1752
+ readonly description: "First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.";
1753
+ readonly example: "My cluster cannot reach the registry. Logs attached.";
1754
+ };
1755
+ readonly closed_at: {
1756
+ readonly type: "string";
1757
+ readonly format: "date-time";
1758
+ readonly description: "Closure timestamp. Null while the ticket is open.";
1759
+ readonly example: "2026-05-18T16:08:14.338Z";
1760
+ };
1761
+ readonly date_created: {
1762
+ readonly type: "string";
1763
+ readonly format: "date-time";
1764
+ readonly description: "Creation date of the ticket. ISO 8601 UTC.";
1765
+ readonly example: "2026-05-11T16:08:14.338Z";
1766
+ };
1767
+ readonly date_updated: {
1768
+ readonly type: "string";
1769
+ readonly format: "date-time";
1770
+ readonly description: "Last update date of the ticket. ISO 8601 UTC.";
1771
+ readonly example: "2026-05-11T16:08:14.338Z";
1772
+ };
1773
+ readonly messages: {
1774
+ readonly type: "array";
1775
+ readonly items: {
1776
+ readonly type: "object";
1777
+ readonly properties: {
1778
+ readonly id: {
1779
+ readonly type: "string";
1780
+ readonly description: "Unique identifier of the message (Mongo ObjectId).";
1781
+ readonly example: "60c72b2f9f1b2c001f8e4d3b";
1782
+ };
1783
+ readonly type: {
1784
+ readonly type: "string";
1785
+ readonly description: "Message type. Internal notes are filtered out of customer-facing responses.";
1786
+ readonly example: "customer_reply";
1787
+ readonly enum: readonly ["customer_reply", "agent_reply"];
1788
+ };
1789
+ readonly body: {
1790
+ readonly type: "string";
1791
+ readonly description: "Message body in markdown.";
1792
+ readonly example: "Thanks — that resolved it on my side.";
1793
+ };
1794
+ readonly author_first_name: {
1795
+ readonly type: "string";
1796
+ readonly description: "First name of the author. Null when not provided.";
1797
+ readonly example: "Jane";
1798
+ };
1799
+ readonly author_last_name: {
1800
+ readonly type: "string";
1801
+ readonly description: "Last name of the author. Null when not provided.";
1802
+ readonly example: "Doe";
1803
+ };
1804
+ readonly attachments: {
1805
+ readonly type: "array";
1806
+ readonly items: {
1807
+ readonly type: "object";
1808
+ readonly properties: {
1809
+ readonly id: {
1810
+ readonly type: "string";
1811
+ readonly description: "Unique identifier of the attachment (Mongo ObjectId).";
1812
+ readonly example: "60c72b2f9f1b2c001f8e4d3c";
1813
+ };
1814
+ readonly filename: {
1815
+ readonly type: "string";
1816
+ readonly description: "Original filename as uploaded.";
1817
+ readonly example: "debug.log";
1818
+ };
1819
+ readonly content_type: {
1820
+ readonly type: "string";
1821
+ readonly description: "MIME content type of the attachment.";
1822
+ readonly example: "text/plain";
1823
+ };
1824
+ readonly size: {
1825
+ readonly type: "integer";
1826
+ readonly description: "Size of the attachment in bytes.";
1827
+ readonly example: 12345;
1828
+ };
1829
+ };
1830
+ readonly required: readonly ["id", "filename", "content_type", "size"];
1831
+ readonly additionalProperties: false;
1832
+ };
1833
+ readonly description: "Attachments associated with this message.";
1834
+ readonly example: readonly [];
1835
+ };
1836
+ readonly date_created: {
1837
+ readonly type: "string";
1838
+ readonly format: "date-time";
1839
+ readonly description: "Creation date of the message. ISO 8601 UTC.";
1840
+ readonly example: "2026-05-11T16:08:14.338Z";
1841
+ };
1842
+ };
1843
+ readonly required: readonly ["id", "type", "body", "date_created"];
1844
+ readonly additionalProperties: false;
1845
+ };
1846
+ readonly description: "Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.";
1847
+ };
1848
+ };
1849
+ readonly required: readonly ["id", "status", "category", "summary", "date_created", "date_updated"];
1850
+ readonly additionalProperties: false;
1851
+ };
1062
1852
  export declare const TokenCreateInputSchema: {
1063
1853
  readonly type: "object";
1064
1854
  readonly properties: {
@@ -1137,6 +1927,101 @@ export declare const TokenUpdateInputSchema: {
1137
1927
  };
1138
1928
  readonly additionalProperties: false;
1139
1929
  };
1930
+ export declare const UsageFacetsSchema: {
1931
+ readonly type: "object";
1932
+ readonly properties: {
1933
+ readonly cluster_id: {
1934
+ readonly type: "array";
1935
+ readonly items: {
1936
+ readonly type: "string";
1937
+ };
1938
+ readonly description: "List of unique cluster IDs";
1939
+ readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
1940
+ };
1941
+ readonly product: {
1942
+ readonly type: "array";
1943
+ readonly items: {
1944
+ readonly type: "string";
1945
+ };
1946
+ readonly description: "List of unique products";
1947
+ readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
1948
+ };
1949
+ };
1950
+ readonly additionalProperties: false;
1951
+ };
1952
+ export declare const UsageResponseSchema: {
1953
+ readonly type: "object";
1954
+ readonly properties: {
1955
+ readonly data: {
1956
+ readonly type: "array";
1957
+ readonly items: {
1958
+ readonly type: "object";
1959
+ readonly properties: {
1960
+ readonly hour: {
1961
+ readonly type: "string";
1962
+ readonly description: "Hour of the usage";
1963
+ readonly example: "2019-01-01T00:00:00.000Z";
1964
+ };
1965
+ readonly cluster_id: {
1966
+ readonly type: "string";
1967
+ readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
1968
+ readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
1969
+ };
1970
+ readonly product: {
1971
+ readonly type: "string";
1972
+ readonly description: "The product the usage is associated with";
1973
+ readonly example: "cfke_controlplane";
1974
+ };
1975
+ readonly value: {
1976
+ readonly type: "number";
1977
+ readonly format: "float";
1978
+ readonly description: "Consumption";
1979
+ readonly example: 4;
1980
+ };
1981
+ readonly price: {
1982
+ readonly type: "number";
1983
+ readonly format: "float";
1984
+ readonly description: "Price per unit";
1985
+ readonly example: 0.01;
1986
+ };
1987
+ readonly total: {
1988
+ readonly type: "number";
1989
+ readonly format: "float";
1990
+ readonly description: "Total cost";
1991
+ };
1992
+ };
1993
+ readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
1994
+ readonly additionalProperties: false;
1995
+ };
1996
+ readonly description: "Usage data";
1997
+ };
1998
+ readonly facets: {
1999
+ readonly type: "object";
2000
+ readonly properties: {
2001
+ readonly cluster_id: {
2002
+ readonly type: "array";
2003
+ readonly items: {
2004
+ readonly type: "string";
2005
+ };
2006
+ readonly description: "List of unique cluster IDs";
2007
+ readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
2008
+ };
2009
+ readonly product: {
2010
+ readonly type: "array";
2011
+ readonly items: {
2012
+ readonly type: "string";
2013
+ };
2014
+ readonly description: "List of unique products";
2015
+ readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
2016
+ };
2017
+ };
2018
+ readonly additionalProperties: false;
2019
+ readonly description: "Facets for filtering";
2020
+ };
2021
+ };
2022
+ readonly required: readonly ["data", "facets"];
2023
+ readonly additionalProperties: false;
2024
+ };
1140
2025
  export declare const UsageSchema: {
1141
2026
  readonly type: "object";
1142
2027
  readonly properties: {
@@ -1147,78 +2032,33 @@ export declare const UsageSchema: {
1147
2032
  };
1148
2033
  readonly cluster_id: {
1149
2034
  readonly type: "string";
1150
- readonly format: "uuid";
1151
2035
  readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
1152
2036
  readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
1153
2037
  };
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
2038
  readonly product: {
1161
2039
  readonly type: "string";
1162
2040
  readonly description: "The product the usage is associated with";
1163
2041
  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
2042
  };
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
- }];
2043
+ readonly value: {
2044
+ readonly type: "number";
2045
+ readonly format: "float";
2046
+ readonly description: "Consumption";
2047
+ readonly example: 4;
1186
2048
  };
1187
2049
  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
- }];
2050
+ readonly type: "number";
2051
+ readonly format: "float";
2052
+ readonly description: "Price per unit";
2053
+ readonly example: 0.01;
1208
2054
  };
1209
2055
  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
- }];
2056
+ readonly type: "number";
2057
+ readonly format: "float";
2058
+ readonly description: "Total cost";
1219
2059
  };
1220
2060
  };
1221
- readonly required: readonly ["cluster_id", "cluster_tier", "product", "node_name", "sku", "cpu", "price", "value", "total"];
2061
+ readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
1222
2062
  readonly additionalProperties: false;
1223
2063
  };
1224
2064
  export declare const UserCreateInputSchema: {