@cloudfleet/sdk 0.0.1-af94f78 → 0.0.1-b0946c6

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 (54) hide show
  1. package/dist/client/client.gen.d.ts.map +1 -1
  2. package/dist/client/client.gen.js +39 -8
  3. package/dist/client/client.gen.js.map +1 -1
  4. package/dist/client/index.d.ts +1 -1
  5. package/dist/client/index.d.ts.map +1 -1
  6. package/dist/client/index.js.map +1 -1
  7. package/dist/client/types.gen.d.ts +4 -11
  8. package/dist/client/types.gen.d.ts.map +1 -1
  9. package/dist/client/utils.gen.d.ts +1 -1
  10. package/dist/client/utils.gen.d.ts.map +1 -1
  11. package/dist/client/utils.gen.js +10 -12
  12. package/dist/client/utils.gen.js.map +1 -1
  13. package/dist/client.gen.d.ts.map +1 -1
  14. package/dist/client.gen.js +1 -3
  15. package/dist/client.gen.js.map +1 -1
  16. package/dist/core/auth.gen.d.ts.map +1 -1
  17. package/dist/core/auth.gen.js.map +1 -1
  18. package/dist/core/bodySerializer.gen.d.ts +16 -8
  19. package/dist/core/bodySerializer.gen.d.ts.map +1 -1
  20. package/dist/core/bodySerializer.gen.js +1 -1
  21. package/dist/core/bodySerializer.gen.js.map +1 -1
  22. package/dist/core/params.gen.d.ts +10 -0
  23. package/dist/core/params.gen.d.ts.map +1 -1
  24. package/dist/core/params.gen.js +18 -6
  25. package/dist/core/params.gen.js.map +1 -1
  26. package/dist/core/pathSerializer.gen.d.ts.map +1 -1
  27. package/dist/core/pathSerializer.gen.js +3 -11
  28. package/dist/core/pathSerializer.gen.js.map +1 -1
  29. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -1
  30. package/dist/core/queryKeySerializer.gen.js +4 -11
  31. package/dist/core/queryKeySerializer.gen.js.map +1 -1
  32. package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
  33. package/dist/core/serverSentEvents.gen.js +5 -7
  34. package/dist/core/serverSentEvents.gen.js.map +1 -1
  35. package/dist/core/types.gen.d.ts +1 -1
  36. package/dist/core/types.gen.d.ts.map +1 -1
  37. package/dist/core/utils.gen.d.ts.map +1 -1
  38. package/dist/core/utils.gen.js +1 -1
  39. package/dist/core/utils.gen.js.map +1 -1
  40. package/dist/schemas.gen.d.ts +583 -131
  41. package/dist/schemas.gen.d.ts.map +1 -1
  42. package/dist/schemas.gen.js +1112 -215
  43. package/dist/schemas.gen.js.map +1 -1
  44. package/dist/sdk.gen.d.ts +46 -6
  45. package/dist/sdk.gen.d.ts.map +1 -1
  46. package/dist/sdk.gen.js +91 -127
  47. package/dist/sdk.gen.js.map +1 -1
  48. package/dist/types.gen.d.ts +562 -57
  49. package/dist/types.gen.d.ts.map +1 -1
  50. package/dist/zod.gen.d.ts +583 -607
  51. package/dist/zod.gen.d.ts.map +1 -1
  52. package/dist/zod.gen.js +354 -457
  53. package/dist/zod.gen.js.map +1 -1
  54. package/package.json +8 -4
@@ -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: {
788
- readonly type: "string";
789
- readonly maxLength: 63;
790
- readonly minLength: 1;
791
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
792
- readonly description: "Id of the chart listing";
793
- readonly example: "portworx-enterprise-disaster-recovery-baremetal";
794
- };
795
- readonly name: {
796
- readonly type: "string";
797
- readonly description: "Name of the chart listing";
798
- readonly example: "Portworx Enterprise + Disaster Recovery - Baremetal";
799
- };
800
- readonly developer: {
791
+ readonly chartYaml: {
801
792
  readonly type: "string";
802
- readonly description: "Author of the chart listing";
803
- readonly example: "Portworx";
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";
804
795
  };
805
- readonly description: {
796
+ readonly valuesYaml: {
806
797
  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";
798
+ readonly description: "Raw values.yaml content from the Helm chart";
799
+ readonly example: "replicaCount: 1\nimage:\n repository: nginx\n tag: latest";
809
800
  };
810
- readonly logoUrl: {
801
+ readonly valuesSchemaJson: {
811
802
  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";
803
+ readonly description: "JSON schema for values.yaml as a string";
804
+ readonly example: "{\"type\":\"object\",\"properties\":{\"replicaCount\":{\"type\":\"number\"}}}";
814
805
  };
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,26 @@ 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 copilot_user_hourly_tokens: {
1056
+ readonly type: "integer";
1057
+ readonly minimum: 0;
1058
+ readonly description: "User-level maximum number of tokens Cloudfleet Copilot can process per hour.";
1059
+ readonly example: 42000;
1060
+ };
1061
+ readonly copilot_organization_hourly_tokens: {
1062
+ readonly type: "integer";
1063
+ readonly minimum: 0;
1064
+ readonly description: "Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.";
1065
+ readonly example: 242000;
1066
+ };
1067
+ readonly cfcr_storage_gb: {
1068
+ readonly type: "integer";
1069
+ readonly minimum: -1;
1070
+ readonly description: "Organization-level maximum CFCR storage volume in GB. -1 means no limit.";
1071
+ readonly example: 500;
1072
+ };
995
1073
  };
996
- readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions"];
1074
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "copilot_user_hourly_tokens", "copilot_organization_hourly_tokens", "cfcr_storage_gb"];
997
1075
  readonly additionalProperties: false;
998
1076
  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
1077
  };
@@ -1059,6 +1137,330 @@ export declare const PaymentMethodSchema: {
1059
1137
  readonly required: readonly ["id", "setup", "type", "last4", "exp_month", "exp_year", "brand"];
1060
1138
  readonly additionalProperties: false;
1061
1139
  };
1140
+ export declare const PlatformQuotaSchema: {
1141
+ readonly type: "object";
1142
+ readonly properties: {
1143
+ readonly basic_clusters_max: {
1144
+ readonly type: "integer";
1145
+ readonly minimum: 0;
1146
+ readonly description: "Maximum number of Basic clusters that can be created.";
1147
+ readonly example: 999;
1148
+ };
1149
+ readonly basic_clusters_available: {
1150
+ readonly type: "integer";
1151
+ readonly description: "Available number of Basic clusters that can be created.";
1152
+ readonly example: 999;
1153
+ };
1154
+ readonly pro_clusters_max: {
1155
+ readonly type: "integer";
1156
+ readonly minimum: 0;
1157
+ readonly description: "Maximum number of Pro clusters that can be created.";
1158
+ readonly example: 999;
1159
+ };
1160
+ readonly pro_clusters_available: {
1161
+ readonly type: "integer";
1162
+ readonly description: "Available number of Pro clusters that can be created.";
1163
+ readonly example: 999;
1164
+ };
1165
+ readonly fleets_max: {
1166
+ readonly type: "integer";
1167
+ readonly minimum: 0;
1168
+ readonly description: "Maximum number of fleets that can be created per cluster.";
1169
+ readonly example: 999;
1170
+ };
1171
+ readonly cluster_tiers: {
1172
+ readonly type: "array";
1173
+ readonly items: {
1174
+ readonly type: "string";
1175
+ readonly example: "basic";
1176
+ };
1177
+ readonly minItems: 0;
1178
+ readonly description: "List of Cloudfleet cluster tiers available for the organization.";
1179
+ };
1180
+ readonly regions: {
1181
+ readonly type: "array";
1182
+ readonly items: {
1183
+ readonly type: "string";
1184
+ readonly example: "northamerica-central-1";
1185
+ };
1186
+ readonly minItems: 1;
1187
+ readonly description: "List of Cloudfleet control plane regions available for the organization.";
1188
+ };
1189
+ readonly versions: {
1190
+ readonly type: "array";
1191
+ readonly items: {
1192
+ readonly type: "object";
1193
+ readonly properties: {
1194
+ readonly id: {
1195
+ readonly type: "string";
1196
+ readonly description: "Id of the control plane version. Used in API calls.";
1197
+ readonly example: "1.33.x-cfke.x";
1198
+ };
1199
+ readonly label: {
1200
+ readonly type: "string";
1201
+ readonly description: "Label of the control plane version. Used in frontent UI.";
1202
+ readonly example: "1.33.x (Always latest 1.33 patch version)";
1203
+ };
1204
+ };
1205
+ readonly required: readonly ["id", "label"];
1206
+ readonly additionalProperties: false;
1207
+ };
1208
+ readonly minItems: 1;
1209
+ readonly description: "List of CFKE control plane versions available for the organization.";
1210
+ };
1211
+ readonly copilot_user_hourly_tokens: {
1212
+ readonly type: "integer";
1213
+ readonly minimum: 0;
1214
+ readonly description: "User-level maximum number of tokens Cloudfleet Copilot can process per hour.";
1215
+ readonly example: 42000;
1216
+ };
1217
+ readonly copilot_organization_hourly_tokens: {
1218
+ readonly type: "integer";
1219
+ readonly minimum: 0;
1220
+ readonly description: "Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.";
1221
+ readonly example: 242000;
1222
+ };
1223
+ readonly cfcr_storage_gb: {
1224
+ readonly type: "integer";
1225
+ readonly minimum: -1;
1226
+ readonly description: "Organization-level maximum CFCR storage volume in GB. -1 means no limit.";
1227
+ readonly example: 500;
1228
+ };
1229
+ };
1230
+ readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions", "copilot_user_hourly_tokens", "copilot_organization_hourly_tokens", "cfcr_storage_gb"];
1231
+ readonly additionalProperties: false;
1232
+ };
1233
+ export declare const RegistryRepositorySchema: {
1234
+ readonly type: "object";
1235
+ readonly properties: {
1236
+ readonly name: {
1237
+ readonly type: "string";
1238
+ readonly description: "Repository name.";
1239
+ readonly example: "my-app";
1240
+ };
1241
+ readonly region: {
1242
+ readonly type: "string";
1243
+ readonly description: "Registry region.";
1244
+ readonly example: "northamerica";
1245
+ };
1246
+ readonly uri: {
1247
+ readonly type: "string";
1248
+ readonly description: "Full URI of the repository.";
1249
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app";
1250
+ };
1251
+ };
1252
+ readonly required: readonly ["name", "region", "uri"];
1253
+ readonly additionalProperties: false;
1254
+ };
1255
+ export declare const RegistryRepositoryWithTagsSchema: {
1256
+ readonly type: "object";
1257
+ readonly properties: {
1258
+ readonly name: {
1259
+ readonly type: "string";
1260
+ readonly description: "Repository name.";
1261
+ readonly example: "my-app";
1262
+ };
1263
+ readonly region: {
1264
+ readonly type: "string";
1265
+ readonly description: "Registry region.";
1266
+ readonly example: "northamerica";
1267
+ };
1268
+ readonly uri: {
1269
+ readonly type: "string";
1270
+ readonly description: "Full URI of the repository.";
1271
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app";
1272
+ };
1273
+ readonly tags: {
1274
+ readonly type: "array";
1275
+ readonly items: {
1276
+ readonly type: "object";
1277
+ readonly properties: {
1278
+ readonly name: {
1279
+ readonly type: "string";
1280
+ readonly description: "Tag name.";
1281
+ readonly example: "latest";
1282
+ };
1283
+ readonly size: {
1284
+ readonly type: "number";
1285
+ readonly format: "float";
1286
+ readonly description: "Size of the tag in bytes.";
1287
+ readonly example: 123456789;
1288
+ };
1289
+ readonly mediaType: {
1290
+ readonly type: "string";
1291
+ readonly description: "Media type of the manifest.";
1292
+ readonly example: "application/vnd.docker.distribution.manifest.v2+json";
1293
+ };
1294
+ readonly platforms: {
1295
+ readonly type: "array";
1296
+ readonly items: {
1297
+ readonly type: "string";
1298
+ };
1299
+ readonly description: "Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).";
1300
+ readonly example: readonly ["linux/amd64", "linux/arm64"];
1301
+ };
1302
+ };
1303
+ readonly required: readonly ["name", "size"];
1304
+ readonly additionalProperties: false;
1305
+ };
1306
+ readonly description: "Array of tags in the repository.";
1307
+ };
1308
+ readonly totalSize: {
1309
+ readonly type: "number";
1310
+ readonly format: "float";
1311
+ readonly description: "Total size of all tags in the repository in bytes.";
1312
+ readonly example: 987654321;
1313
+ };
1314
+ };
1315
+ readonly required: readonly ["name", "region", "uri", "tags", "totalSize"];
1316
+ readonly additionalProperties: false;
1317
+ };
1318
+ export declare const RegistryTagSchema: {
1319
+ readonly type: "object";
1320
+ readonly properties: {
1321
+ readonly name: {
1322
+ readonly type: "string";
1323
+ readonly description: "Tag name.";
1324
+ readonly example: "latest";
1325
+ };
1326
+ readonly digest: {
1327
+ readonly type: "string";
1328
+ readonly description: "Manifest digest for pulling by digest.";
1329
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1330
+ };
1331
+ readonly mediaType: {
1332
+ readonly type: "string";
1333
+ readonly description: "Media type of the manifest.";
1334
+ readonly example: "application/vnd.docker.distribution.manifest.v2+json";
1335
+ };
1336
+ readonly config: {
1337
+ readonly type: "object";
1338
+ readonly properties: {
1339
+ readonly size: {
1340
+ readonly type: "number";
1341
+ readonly format: "float";
1342
+ readonly description: "Size of the config in bytes.";
1343
+ readonly example: 1234;
1344
+ };
1345
+ };
1346
+ readonly required: readonly ["size"];
1347
+ readonly additionalProperties: false;
1348
+ readonly description: "Manifest config metadata.";
1349
+ };
1350
+ readonly layers: {
1351
+ readonly type: "array";
1352
+ readonly items: {
1353
+ readonly type: "object";
1354
+ readonly properties: {
1355
+ readonly digest: {
1356
+ readonly type: "string";
1357
+ readonly description: "Digest of the layer.";
1358
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1359
+ };
1360
+ readonly size: {
1361
+ readonly type: "number";
1362
+ readonly format: "float";
1363
+ readonly description: "Size of the layer in bytes.";
1364
+ readonly example: 5678;
1365
+ };
1366
+ };
1367
+ readonly required: readonly ["size"];
1368
+ readonly additionalProperties: false;
1369
+ };
1370
+ readonly description: "Array of layer metadata.";
1371
+ };
1372
+ readonly manifests: {
1373
+ readonly type: "array";
1374
+ readonly items: {
1375
+ readonly type: "object";
1376
+ readonly properties: {
1377
+ readonly digest: {
1378
+ readonly type: "string";
1379
+ readonly description: "Digest of the manifest.";
1380
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1381
+ };
1382
+ readonly platform: {
1383
+ readonly type: "object";
1384
+ readonly properties: {
1385
+ readonly architecture: {
1386
+ readonly type: "string";
1387
+ readonly description: "Architecture of the platform.";
1388
+ readonly example: "amd64";
1389
+ };
1390
+ readonly os: {
1391
+ readonly type: "string";
1392
+ readonly description: "Operating system of the platform.";
1393
+ readonly example: "linux";
1394
+ };
1395
+ readonly variant: {
1396
+ readonly type: "string";
1397
+ readonly description: "Variant of the platform (e.g., v7, v8 for ARM).";
1398
+ readonly example: "v8";
1399
+ };
1400
+ };
1401
+ readonly required: readonly ["architecture", "os"];
1402
+ readonly additionalProperties: false;
1403
+ readonly description: "Platform information for the manifest.";
1404
+ };
1405
+ readonly layers: {
1406
+ readonly type: "array";
1407
+ readonly items: {
1408
+ readonly type: "object";
1409
+ readonly properties: {
1410
+ readonly digest: {
1411
+ readonly type: "string";
1412
+ readonly description: "Digest of the layer.";
1413
+ readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
1414
+ };
1415
+ readonly size: {
1416
+ readonly type: "number";
1417
+ readonly format: "float";
1418
+ readonly description: "Size of the layer in bytes.";
1419
+ readonly example: 5678;
1420
+ };
1421
+ };
1422
+ readonly required: readonly ["size"];
1423
+ readonly additionalProperties: false;
1424
+ };
1425
+ readonly description: "Layers for this platform.";
1426
+ };
1427
+ readonly size: {
1428
+ readonly type: "number";
1429
+ readonly format: "float";
1430
+ readonly description: "Total size of this platform manifest in bytes.";
1431
+ readonly example: 12345678;
1432
+ };
1433
+ };
1434
+ readonly required: readonly ["digest"];
1435
+ readonly additionalProperties: false;
1436
+ };
1437
+ readonly description: "Array of manifests for multi-arch images.";
1438
+ };
1439
+ readonly size: {
1440
+ readonly type: "number";
1441
+ readonly format: "float";
1442
+ readonly description: "Total size of the tag in bytes.";
1443
+ readonly example: 123456789;
1444
+ };
1445
+ readonly region: {
1446
+ readonly type: "string";
1447
+ readonly description: "Registry region.";
1448
+ readonly example: "northamerica";
1449
+ };
1450
+ readonly repository: {
1451
+ readonly type: "string";
1452
+ readonly description: "Repository name.";
1453
+ readonly example: "my-app";
1454
+ };
1455
+ readonly uri: {
1456
+ readonly type: "string";
1457
+ readonly description: "Full URI of the tag.";
1458
+ readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest";
1459
+ };
1460
+ };
1461
+ readonly required: readonly ["name", "digest", "size", "region", "repository", "uri"];
1462
+ readonly additionalProperties: false;
1463
+ };
1062
1464
  export declare const TokenCreateInputSchema: {
1063
1465
  readonly type: "object";
1064
1466
  readonly properties: {
@@ -1137,6 +1539,101 @@ export declare const TokenUpdateInputSchema: {
1137
1539
  };
1138
1540
  readonly additionalProperties: false;
1139
1541
  };
1542
+ export declare const UsageFacetsSchema: {
1543
+ readonly type: "object";
1544
+ readonly properties: {
1545
+ readonly cluster_id: {
1546
+ readonly type: "array";
1547
+ readonly items: {
1548
+ readonly type: "string";
1549
+ };
1550
+ readonly description: "List of unique cluster IDs";
1551
+ readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
1552
+ };
1553
+ readonly product: {
1554
+ readonly type: "array";
1555
+ readonly items: {
1556
+ readonly type: "string";
1557
+ };
1558
+ readonly description: "List of unique products";
1559
+ readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
1560
+ };
1561
+ };
1562
+ readonly additionalProperties: false;
1563
+ };
1564
+ export declare const UsageResponseSchema: {
1565
+ readonly type: "object";
1566
+ readonly properties: {
1567
+ readonly data: {
1568
+ readonly type: "array";
1569
+ readonly items: {
1570
+ readonly type: "object";
1571
+ readonly properties: {
1572
+ readonly hour: {
1573
+ readonly type: "string";
1574
+ readonly description: "Hour of the usage";
1575
+ readonly example: "2019-01-01T00:00:00.000Z";
1576
+ };
1577
+ readonly cluster_id: {
1578
+ readonly type: "string";
1579
+ readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
1580
+ readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
1581
+ };
1582
+ readonly product: {
1583
+ readonly type: "string";
1584
+ readonly description: "The product the usage is associated with";
1585
+ readonly example: "cfke_controlplane";
1586
+ };
1587
+ readonly value: {
1588
+ readonly type: "number";
1589
+ readonly format: "float";
1590
+ readonly description: "Consumption";
1591
+ readonly example: 4;
1592
+ };
1593
+ readonly price: {
1594
+ readonly type: "number";
1595
+ readonly format: "float";
1596
+ readonly description: "Price per unit";
1597
+ readonly example: 0.01;
1598
+ };
1599
+ readonly total: {
1600
+ readonly type: "number";
1601
+ readonly format: "float";
1602
+ readonly description: "Total cost";
1603
+ };
1604
+ };
1605
+ readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
1606
+ readonly additionalProperties: false;
1607
+ };
1608
+ readonly description: "Usage data";
1609
+ };
1610
+ readonly facets: {
1611
+ readonly type: "object";
1612
+ readonly properties: {
1613
+ readonly cluster_id: {
1614
+ readonly type: "array";
1615
+ readonly items: {
1616
+ readonly type: "string";
1617
+ };
1618
+ readonly description: "List of unique cluster IDs";
1619
+ readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
1620
+ };
1621
+ readonly product: {
1622
+ readonly type: "array";
1623
+ readonly items: {
1624
+ readonly type: "string";
1625
+ };
1626
+ readonly description: "List of unique products";
1627
+ readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
1628
+ };
1629
+ };
1630
+ readonly additionalProperties: false;
1631
+ readonly description: "Facets for filtering";
1632
+ };
1633
+ };
1634
+ readonly required: readonly ["data", "facets"];
1635
+ readonly additionalProperties: false;
1636
+ };
1140
1637
  export declare const UsageSchema: {
1141
1638
  readonly type: "object";
1142
1639
  readonly properties: {
@@ -1147,78 +1644,33 @@ export declare const UsageSchema: {
1147
1644
  };
1148
1645
  readonly cluster_id: {
1149
1646
  readonly type: "string";
1150
- readonly format: "uuid";
1151
1647
  readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
1152
1648
  readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
1153
1649
  };
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
1650
  readonly product: {
1161
1651
  readonly type: "string";
1162
1652
  readonly description: "The product the usage is associated with";
1163
1653
  readonly example: "cfke_controlplane";
1164
- readonly enum: readonly ["cfke_controlplane", "cfke_connected_nodes", "infra_compute", "infra_storage", "infra_loadbalancing", "infra_traffic", "cfcr_storage"];
1165
1654
  };
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
- };
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
- }];
1655
+ readonly value: {
1656
+ readonly type: "number";
1657
+ readonly format: "float";
1658
+ readonly description: "Consumption";
1659
+ readonly example: 4;
1186
1660
  };
1187
1661
  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
- }];
1662
+ readonly type: "number";
1663
+ readonly format: "float";
1664
+ readonly description: "Price per unit";
1665
+ readonly example: 0.01;
1208
1666
  };
1209
1667
  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
- }];
1668
+ readonly type: "number";
1669
+ readonly format: "float";
1670
+ readonly description: "Total cost";
1219
1671
  };
1220
1672
  };
1221
- readonly required: readonly ["cluster_id", "cluster_tier", "product", "node_name", "sku", "cpu", "price", "value", "total"];
1673
+ readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
1222
1674
  readonly additionalProperties: false;
1223
1675
  };
1224
1676
  export declare const UserCreateInputSchema: {