@cloudfleet/sdk 0.0.1-2791829 → 0.0.1-28564af

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