@cloudfleet/sdk 0.7.0 → 0.8.7
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.
- package/dist/schemas.gen.d.ts +503 -124
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +516 -144
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +43 -5
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +72 -5
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +509 -53
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +259 -106
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +193 -64
- package/dist/zod.gen.js.map +1 -1
- package/package.json +1 -1
package/dist/schemas.gen.d.ts
CHANGED
|
@@ -285,7 +285,8 @@ export declare const ClusterCreateInputSchema: {
|
|
|
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.
|
|
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"];
|
|
@@ -321,7 +322,7 @@ export declare const ClusterJoinInformationSchema: {
|
|
|
321
322
|
readonly kubernetes: {
|
|
322
323
|
readonly type: "string";
|
|
323
324
|
readonly description: "Kubernetes version of the cluster.";
|
|
324
|
-
readonly example: "1.
|
|
325
|
+
readonly example: "1.33.7";
|
|
325
326
|
};
|
|
326
327
|
readonly tailscale: {
|
|
327
328
|
readonly type: "string";
|
|
@@ -394,13 +395,6 @@ export declare const ClusterSchema: {
|
|
|
394
395
|
readonly example: "northamerica-central-1a";
|
|
395
396
|
readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
|
|
396
397
|
};
|
|
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";
|
|
403
|
-
};
|
|
404
398
|
readonly id: {
|
|
405
399
|
readonly type: "string";
|
|
406
400
|
readonly format: "uuid";
|
|
@@ -432,7 +426,7 @@ export declare const ClusterSchema: {
|
|
|
432
426
|
readonly version_current: {
|
|
433
427
|
readonly type: "string";
|
|
434
428
|
readonly description: "Current version of the cluster.";
|
|
435
|
-
readonly example: "1.
|
|
429
|
+
readonly example: "1.33.7-cfke.264";
|
|
436
430
|
};
|
|
437
431
|
readonly created_at: {
|
|
438
432
|
readonly type: "string";
|
|
@@ -449,6 +443,12 @@ export declare const ClusterSchema: {
|
|
|
449
443
|
readonly description: "Indicates if the cluster is ready to be used.";
|
|
450
444
|
readonly example: true;
|
|
451
445
|
};
|
|
446
|
+
readonly version_channel: {
|
|
447
|
+
readonly type: "string";
|
|
448
|
+
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-]+)*))?$";
|
|
449
|
+
readonly description: "Version of the kubernetes cluster.";
|
|
450
|
+
readonly example: "1.x.x-cfke.x";
|
|
451
|
+
};
|
|
452
452
|
};
|
|
453
453
|
readonly required: readonly ["name", "tier", "id", "status"];
|
|
454
454
|
readonly additionalProperties: false;
|
|
@@ -474,7 +474,7 @@ export declare const ClusterUpdateInputSchema: {
|
|
|
474
474
|
readonly type: "string";
|
|
475
475
|
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
476
|
readonly description: "Version of the kubernetes cluster.";
|
|
477
|
-
readonly example: "1.
|
|
477
|
+
readonly example: "1.x.x-cfke.x";
|
|
478
478
|
};
|
|
479
479
|
};
|
|
480
480
|
readonly required: readonly ["tier"];
|
|
@@ -733,9 +733,8 @@ export declare const InvoiceSchema: {
|
|
|
733
733
|
readonly properties: {
|
|
734
734
|
readonly id: {
|
|
735
735
|
readonly type: "string";
|
|
736
|
-
readonly
|
|
737
|
-
readonly
|
|
738
|
-
readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
|
|
736
|
+
readonly description: "Unique identifier of the invoice.";
|
|
737
|
+
readonly example: "in_1234567890xCrwxghOTj1234";
|
|
739
738
|
};
|
|
740
739
|
readonly number: {
|
|
741
740
|
readonly type: "string";
|
|
@@ -781,86 +780,137 @@ export declare const InvoiceSchema: {
|
|
|
781
780
|
readonly required: readonly ["created", "period_start", "period_end"];
|
|
782
781
|
readonly additionalProperties: false;
|
|
783
782
|
};
|
|
784
|
-
export declare const
|
|
783
|
+
export declare const MarketplaceListingFilesSchema: {
|
|
785
784
|
readonly type: "object";
|
|
786
785
|
readonly properties: {
|
|
787
|
-
readonly
|
|
786
|
+
readonly chartYaml: {
|
|
788
787
|
readonly type: "string";
|
|
789
|
-
readonly
|
|
790
|
-
readonly
|
|
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";
|
|
788
|
+
readonly description: "Raw Chart.yaml content from the Helm chart";
|
|
789
|
+
readonly example: "apiVersion: v2\nname: nginx-ingress\nversion: 1.18.2-cfke.45\nappVersion: 1.9.4";
|
|
794
790
|
};
|
|
795
|
-
readonly
|
|
791
|
+
readonly valuesYaml: {
|
|
796
792
|
readonly type: "string";
|
|
797
|
-
readonly description: "
|
|
798
|
-
readonly example: "
|
|
793
|
+
readonly description: "Raw values.yaml content from the Helm chart";
|
|
794
|
+
readonly example: "replicaCount: 1\nimage:\n repository: nginx\n tag: latest";
|
|
799
795
|
};
|
|
800
|
-
readonly
|
|
796
|
+
readonly valuesSchemaJson: {
|
|
801
797
|
readonly type: "string";
|
|
802
|
-
readonly description: "
|
|
803
|
-
readonly example: "
|
|
798
|
+
readonly description: "JSON schema for values.yaml as a string";
|
|
799
|
+
readonly example: "{\"type\":\"object\",\"properties\":{\"replicaCount\":{\"type\":\"number\"}}}";
|
|
804
800
|
};
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
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: {
|
|
801
|
+
};
|
|
802
|
+
readonly additionalProperties: false;
|
|
803
|
+
};
|
|
804
|
+
export declare const MarketplaceListingSchema: {
|
|
805
|
+
readonly type: "object";
|
|
806
|
+
readonly properties: {
|
|
807
|
+
readonly name: {
|
|
816
808
|
readonly type: "string";
|
|
817
|
-
readonly description: "
|
|
818
|
-
readonly example: "
|
|
809
|
+
readonly description: "Name of the chart";
|
|
810
|
+
readonly example: "nginx-ingress";
|
|
819
811
|
};
|
|
820
|
-
readonly
|
|
812
|
+
readonly versions: {
|
|
821
813
|
readonly type: "array";
|
|
822
814
|
readonly items: {
|
|
823
815
|
readonly type: "string";
|
|
824
|
-
readonly
|
|
816
|
+
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-]+)*))?$";
|
|
817
|
+
readonly description: "Specific version of the chart";
|
|
818
|
+
readonly example: "1.18.2-cfke.45";
|
|
825
819
|
};
|
|
826
|
-
readonly description: "
|
|
820
|
+
readonly description: "Available versions of the chart";
|
|
827
821
|
};
|
|
828
822
|
readonly version_channels: {
|
|
829
823
|
readonly type: "array";
|
|
830
824
|
readonly items: {
|
|
831
825
|
readonly type: "string";
|
|
832
826
|
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
|
|
834
|
-
readonly example: "
|
|
827
|
+
readonly description: "Version channel pattern";
|
|
828
|
+
readonly example: "1.18.x-cfke.x";
|
|
835
829
|
};
|
|
830
|
+
readonly description: "Version channels for the chart";
|
|
836
831
|
};
|
|
837
|
-
readonly
|
|
838
|
-
readonly type: "
|
|
839
|
-
readonly
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
832
|
+
readonly latestVersion: {
|
|
833
|
+
readonly type: "string";
|
|
834
|
+
readonly description: "Latest version of the chart";
|
|
835
|
+
readonly example: "1.18.2-cfke.45";
|
|
836
|
+
};
|
|
837
|
+
readonly metadata: {
|
|
838
|
+
readonly type: "object";
|
|
839
|
+
readonly properties: {
|
|
840
|
+
readonly name: {
|
|
841
|
+
readonly type: "string";
|
|
842
|
+
readonly description: "Chart name from metadata";
|
|
843
|
+
readonly example: "nginx-ingress";
|
|
844
|
+
};
|
|
845
|
+
readonly version: {
|
|
846
|
+
readonly type: "string";
|
|
847
|
+
readonly description: "Chart version from metadata";
|
|
848
|
+
readonly example: "1.18.2-cfke.45";
|
|
849
|
+
};
|
|
850
|
+
readonly description: {
|
|
851
|
+
readonly type: "string";
|
|
852
|
+
readonly description: "Chart description";
|
|
853
|
+
readonly example: "NGINX Ingress Controller for Kubernetes";
|
|
854
|
+
};
|
|
855
|
+
readonly appVersion: {
|
|
856
|
+
readonly type: "string";
|
|
857
|
+
readonly description: "Application version";
|
|
858
|
+
readonly example: "1.9.4";
|
|
859
|
+
};
|
|
860
|
+
readonly apiVersion: {
|
|
861
|
+
readonly type: "string";
|
|
862
|
+
readonly description: "Helm API version";
|
|
863
|
+
readonly example: "v2";
|
|
864
|
+
};
|
|
865
|
+
readonly keywords: {
|
|
866
|
+
readonly type: "array";
|
|
867
|
+
readonly items: {
|
|
843
868
|
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
869
|
};
|
|
848
|
-
readonly
|
|
870
|
+
readonly description: "Chart keywords";
|
|
871
|
+
readonly example: readonly ["ingress", "nginx", "load-balancer"];
|
|
872
|
+
};
|
|
873
|
+
readonly home: {
|
|
874
|
+
readonly type: "string";
|
|
875
|
+
readonly description: "Chart home URL";
|
|
876
|
+
readonly example: "https://kubernetes.github.io/ingress-nginx/";
|
|
877
|
+
};
|
|
878
|
+
readonly sources: {
|
|
879
|
+
readonly type: "array";
|
|
880
|
+
readonly items: {
|
|
849
881
|
readonly type: "string";
|
|
850
|
-
readonly description: "Schema of the chart values. JSON Schema as string";
|
|
851
882
|
};
|
|
852
|
-
readonly
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
883
|
+
readonly description: "Chart source URLs";
|
|
884
|
+
readonly example: readonly ["https://github.com/kubernetes/ingress-nginx"];
|
|
885
|
+
};
|
|
886
|
+
readonly maintainers: {
|
|
887
|
+
readonly type: "array";
|
|
888
|
+
readonly items: {
|
|
889
|
+
readonly type: "object";
|
|
890
|
+
readonly properties: {
|
|
891
|
+
readonly name: {
|
|
892
|
+
readonly type: "string";
|
|
893
|
+
readonly description: "Maintainer name";
|
|
894
|
+
readonly example: "NGINX Team";
|
|
895
|
+
};
|
|
896
|
+
readonly email: {
|
|
897
|
+
readonly type: "string";
|
|
898
|
+
readonly description: "Maintainer email";
|
|
899
|
+
readonly example: "support@nginx.org";
|
|
900
|
+
};
|
|
901
|
+
};
|
|
902
|
+
readonly required: readonly ["name"];
|
|
903
|
+
readonly additionalProperties: false;
|
|
856
904
|
};
|
|
905
|
+
readonly description: "Chart maintainers";
|
|
857
906
|
};
|
|
858
|
-
readonly required: readonly ["version", "schema", "placeholder"];
|
|
859
|
-
readonly additionalProperties: false;
|
|
860
907
|
};
|
|
908
|
+
readonly required: readonly ["name", "version"];
|
|
909
|
+
readonly additionalProperties: false;
|
|
910
|
+
readonly description: "Chart metadata";
|
|
861
911
|
};
|
|
862
912
|
};
|
|
863
|
-
readonly required: readonly ["
|
|
913
|
+
readonly required: readonly ["name", "versions", "version_channels", "latestVersion"];
|
|
864
914
|
readonly additionalProperties: false;
|
|
865
915
|
};
|
|
866
916
|
export declare const OrganizationCreateInputSchema: {
|
|
@@ -978,12 +1028,12 @@ export declare const OrganizationSchema: {
|
|
|
978
1028
|
readonly id: {
|
|
979
1029
|
readonly type: "string";
|
|
980
1030
|
readonly description: "Id of the control plane version. Used in API calls.";
|
|
981
|
-
readonly example: "1.
|
|
1031
|
+
readonly example: "1.33.x-cfke.x";
|
|
982
1032
|
};
|
|
983
1033
|
readonly label: {
|
|
984
1034
|
readonly type: "string";
|
|
985
1035
|
readonly description: "Label of the control plane version. Used in frontent UI.";
|
|
986
|
-
readonly example: "1.
|
|
1036
|
+
readonly example: "1.33.x (Always latest 1.33 patch version)";
|
|
987
1037
|
};
|
|
988
1038
|
};
|
|
989
1039
|
readonly required: readonly ["id", "label"];
|
|
@@ -992,8 +1042,20 @@ export declare const OrganizationSchema: {
|
|
|
992
1042
|
readonly minItems: 1;
|
|
993
1043
|
readonly description: "List of CFKE control plane versions available for the organization.";
|
|
994
1044
|
};
|
|
1045
|
+
readonly copilot_user_hourly_tokens: {
|
|
1046
|
+
readonly type: "integer";
|
|
1047
|
+
readonly minimum: 0;
|
|
1048
|
+
readonly description: "User-level maximum number of tokens Cloudfleet Copilot can process per hour.";
|
|
1049
|
+
readonly example: 42000;
|
|
1050
|
+
};
|
|
1051
|
+
readonly copilot_organization_hourly_tokens: {
|
|
1052
|
+
readonly type: "integer";
|
|
1053
|
+
readonly minimum: 0;
|
|
1054
|
+
readonly description: "Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.";
|
|
1055
|
+
readonly example: 242000;
|
|
1056
|
+
};
|
|
995
1057
|
};
|
|
996
|
-
readonly required: readonly ["basic_clusters_max", "basic_clusters_available", "pro_clusters_max", "pro_clusters_available", "fleets_max", "cluster_tiers", "regions", "versions"];
|
|
1058
|
+
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"];
|
|
997
1059
|
readonly additionalProperties: false;
|
|
998
1060
|
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
1061
|
};
|
|
@@ -1059,6 +1121,273 @@ export declare const PaymentMethodSchema: {
|
|
|
1059
1121
|
readonly required: readonly ["id", "setup", "type", "last4", "exp_month", "exp_year", "brand"];
|
|
1060
1122
|
readonly additionalProperties: false;
|
|
1061
1123
|
};
|
|
1124
|
+
export declare const PlatformQuotaSchema: {
|
|
1125
|
+
readonly type: "object";
|
|
1126
|
+
readonly properties: {
|
|
1127
|
+
readonly basic_clusters_max: {
|
|
1128
|
+
readonly type: "integer";
|
|
1129
|
+
readonly minimum: 0;
|
|
1130
|
+
readonly description: "Maximum number of Basic clusters that can be created.";
|
|
1131
|
+
readonly example: 999;
|
|
1132
|
+
};
|
|
1133
|
+
readonly basic_clusters_available: {
|
|
1134
|
+
readonly type: "integer";
|
|
1135
|
+
readonly description: "Available number of Basic clusters that can be created.";
|
|
1136
|
+
readonly example: 999;
|
|
1137
|
+
};
|
|
1138
|
+
readonly pro_clusters_max: {
|
|
1139
|
+
readonly type: "integer";
|
|
1140
|
+
readonly minimum: 0;
|
|
1141
|
+
readonly description: "Maximum number of Pro clusters that can be created.";
|
|
1142
|
+
readonly example: 999;
|
|
1143
|
+
};
|
|
1144
|
+
readonly pro_clusters_available: {
|
|
1145
|
+
readonly type: "integer";
|
|
1146
|
+
readonly description: "Available number of Pro clusters that can be created.";
|
|
1147
|
+
readonly example: 999;
|
|
1148
|
+
};
|
|
1149
|
+
readonly fleets_max: {
|
|
1150
|
+
readonly type: "integer";
|
|
1151
|
+
readonly minimum: 0;
|
|
1152
|
+
readonly description: "Maximum number of fleets that can be created per cluster.";
|
|
1153
|
+
readonly example: 999;
|
|
1154
|
+
};
|
|
1155
|
+
readonly cluster_tiers: {
|
|
1156
|
+
readonly type: "array";
|
|
1157
|
+
readonly items: {
|
|
1158
|
+
readonly type: "string";
|
|
1159
|
+
readonly example: "basic";
|
|
1160
|
+
};
|
|
1161
|
+
readonly minItems: 0;
|
|
1162
|
+
readonly description: "List of Cloudfleet cluster tiers available for the organization.";
|
|
1163
|
+
};
|
|
1164
|
+
readonly regions: {
|
|
1165
|
+
readonly type: "array";
|
|
1166
|
+
readonly items: {
|
|
1167
|
+
readonly type: "string";
|
|
1168
|
+
readonly example: "northamerica-central-1";
|
|
1169
|
+
};
|
|
1170
|
+
readonly minItems: 1;
|
|
1171
|
+
readonly description: "List of Cloudfleet control plane regions available for the organization.";
|
|
1172
|
+
};
|
|
1173
|
+
readonly versions: {
|
|
1174
|
+
readonly type: "array";
|
|
1175
|
+
readonly items: {
|
|
1176
|
+
readonly type: "object";
|
|
1177
|
+
readonly properties: {
|
|
1178
|
+
readonly id: {
|
|
1179
|
+
readonly type: "string";
|
|
1180
|
+
readonly description: "Id of the control plane version. Used in API calls.";
|
|
1181
|
+
readonly example: "1.33.x-cfke.x";
|
|
1182
|
+
};
|
|
1183
|
+
readonly label: {
|
|
1184
|
+
readonly type: "string";
|
|
1185
|
+
readonly description: "Label of the control plane version. Used in frontent UI.";
|
|
1186
|
+
readonly example: "1.33.x (Always latest 1.33 patch version)";
|
|
1187
|
+
};
|
|
1188
|
+
};
|
|
1189
|
+
readonly required: readonly ["id", "label"];
|
|
1190
|
+
readonly additionalProperties: false;
|
|
1191
|
+
};
|
|
1192
|
+
readonly minItems: 1;
|
|
1193
|
+
readonly description: "List of CFKE control plane versions available for the organization.";
|
|
1194
|
+
};
|
|
1195
|
+
readonly copilot_user_hourly_tokens: {
|
|
1196
|
+
readonly type: "integer";
|
|
1197
|
+
readonly minimum: 0;
|
|
1198
|
+
readonly description: "User-level maximum number of tokens Cloudfleet Copilot can process per hour.";
|
|
1199
|
+
readonly example: 42000;
|
|
1200
|
+
};
|
|
1201
|
+
readonly copilot_organization_hourly_tokens: {
|
|
1202
|
+
readonly type: "integer";
|
|
1203
|
+
readonly minimum: 0;
|
|
1204
|
+
readonly description: "Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.";
|
|
1205
|
+
readonly example: 242000;
|
|
1206
|
+
};
|
|
1207
|
+
};
|
|
1208
|
+
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"];
|
|
1209
|
+
readonly additionalProperties: false;
|
|
1210
|
+
};
|
|
1211
|
+
export declare const RegistryRepositorySchema: {
|
|
1212
|
+
readonly type: "object";
|
|
1213
|
+
readonly properties: {
|
|
1214
|
+
readonly name: {
|
|
1215
|
+
readonly type: "string";
|
|
1216
|
+
readonly description: "Repository name.";
|
|
1217
|
+
readonly example: "my-app";
|
|
1218
|
+
};
|
|
1219
|
+
readonly region: {
|
|
1220
|
+
readonly type: "string";
|
|
1221
|
+
readonly description: "Registry region.";
|
|
1222
|
+
readonly example: "northamerica";
|
|
1223
|
+
};
|
|
1224
|
+
readonly uri: {
|
|
1225
|
+
readonly type: "string";
|
|
1226
|
+
readonly description: "Full URI of the repository.";
|
|
1227
|
+
readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/v2/my-app";
|
|
1228
|
+
};
|
|
1229
|
+
};
|
|
1230
|
+
readonly required: readonly ["name", "region", "uri"];
|
|
1231
|
+
readonly additionalProperties: false;
|
|
1232
|
+
};
|
|
1233
|
+
export declare const RegistryRepositoryWithTagsSchema: {
|
|
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/v2/my-app";
|
|
1250
|
+
};
|
|
1251
|
+
readonly tags: {
|
|
1252
|
+
readonly type: "array";
|
|
1253
|
+
readonly items: {
|
|
1254
|
+
readonly type: "object";
|
|
1255
|
+
readonly properties: {
|
|
1256
|
+
readonly name: {
|
|
1257
|
+
readonly type: "string";
|
|
1258
|
+
readonly description: "Tag name.";
|
|
1259
|
+
readonly example: "latest";
|
|
1260
|
+
};
|
|
1261
|
+
readonly size: {
|
|
1262
|
+
readonly type: "number";
|
|
1263
|
+
readonly format: "float";
|
|
1264
|
+
readonly description: "Size of the tag in bytes.";
|
|
1265
|
+
readonly example: 123456789;
|
|
1266
|
+
};
|
|
1267
|
+
readonly mediaType: {
|
|
1268
|
+
readonly type: "string";
|
|
1269
|
+
readonly description: "Media type of the manifest.";
|
|
1270
|
+
readonly example: "application/vnd.docker.distribution.manifest.v2+json";
|
|
1271
|
+
};
|
|
1272
|
+
};
|
|
1273
|
+
readonly required: readonly ["name", "size"];
|
|
1274
|
+
readonly additionalProperties: false;
|
|
1275
|
+
};
|
|
1276
|
+
readonly description: "Array of tags in the repository.";
|
|
1277
|
+
};
|
|
1278
|
+
readonly totalSize: {
|
|
1279
|
+
readonly type: "number";
|
|
1280
|
+
readonly format: "float";
|
|
1281
|
+
readonly description: "Total size of all tags in the repository in bytes.";
|
|
1282
|
+
readonly example: 987654321;
|
|
1283
|
+
};
|
|
1284
|
+
};
|
|
1285
|
+
readonly required: readonly ["name", "region", "uri", "tags", "totalSize"];
|
|
1286
|
+
readonly additionalProperties: false;
|
|
1287
|
+
};
|
|
1288
|
+
export declare const RegistryTagSchema: {
|
|
1289
|
+
readonly type: "object";
|
|
1290
|
+
readonly properties: {
|
|
1291
|
+
readonly name: {
|
|
1292
|
+
readonly type: "string";
|
|
1293
|
+
readonly description: "Tag name.";
|
|
1294
|
+
readonly example: "latest";
|
|
1295
|
+
};
|
|
1296
|
+
readonly mediaType: {
|
|
1297
|
+
readonly type: "string";
|
|
1298
|
+
readonly description: "Media type of the manifest.";
|
|
1299
|
+
readonly example: "application/vnd.docker.distribution.manifest.v2+json";
|
|
1300
|
+
};
|
|
1301
|
+
readonly config: {
|
|
1302
|
+
readonly type: "object";
|
|
1303
|
+
readonly properties: {
|
|
1304
|
+
readonly size: {
|
|
1305
|
+
readonly type: "number";
|
|
1306
|
+
readonly format: "float";
|
|
1307
|
+
readonly description: "Size of the config in bytes.";
|
|
1308
|
+
readonly example: 1234;
|
|
1309
|
+
};
|
|
1310
|
+
};
|
|
1311
|
+
readonly required: readonly ["size"];
|
|
1312
|
+
readonly additionalProperties: false;
|
|
1313
|
+
readonly description: "Manifest config metadata.";
|
|
1314
|
+
};
|
|
1315
|
+
readonly layers: {
|
|
1316
|
+
readonly type: "array";
|
|
1317
|
+
readonly items: {
|
|
1318
|
+
readonly type: "object";
|
|
1319
|
+
readonly properties: {
|
|
1320
|
+
readonly size: {
|
|
1321
|
+
readonly type: "number";
|
|
1322
|
+
readonly format: "float";
|
|
1323
|
+
readonly description: "Size of the layer in bytes.";
|
|
1324
|
+
readonly example: 5678;
|
|
1325
|
+
};
|
|
1326
|
+
};
|
|
1327
|
+
readonly required: readonly ["size"];
|
|
1328
|
+
readonly additionalProperties: false;
|
|
1329
|
+
};
|
|
1330
|
+
readonly description: "Array of layer metadata.";
|
|
1331
|
+
};
|
|
1332
|
+
readonly manifests: {
|
|
1333
|
+
readonly type: "array";
|
|
1334
|
+
readonly items: {
|
|
1335
|
+
readonly type: "object";
|
|
1336
|
+
readonly properties: {
|
|
1337
|
+
readonly digest: {
|
|
1338
|
+
readonly type: "string";
|
|
1339
|
+
readonly description: "Digest of the manifest.";
|
|
1340
|
+
readonly example: "sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890";
|
|
1341
|
+
};
|
|
1342
|
+
readonly platform: {
|
|
1343
|
+
readonly type: "object";
|
|
1344
|
+
readonly properties: {
|
|
1345
|
+
readonly architecture: {
|
|
1346
|
+
readonly type: "string";
|
|
1347
|
+
readonly description: "Architecture of the platform.";
|
|
1348
|
+
readonly example: "amd64";
|
|
1349
|
+
};
|
|
1350
|
+
readonly os: {
|
|
1351
|
+
readonly type: "string";
|
|
1352
|
+
readonly description: "Operating system of the platform.";
|
|
1353
|
+
readonly example: "linux";
|
|
1354
|
+
};
|
|
1355
|
+
};
|
|
1356
|
+
readonly required: readonly ["architecture", "os"];
|
|
1357
|
+
readonly additionalProperties: false;
|
|
1358
|
+
readonly description: "Platform information for the manifest.";
|
|
1359
|
+
};
|
|
1360
|
+
};
|
|
1361
|
+
readonly required: readonly ["digest"];
|
|
1362
|
+
readonly additionalProperties: false;
|
|
1363
|
+
};
|
|
1364
|
+
readonly description: "Array of manifests for multi-arch images.";
|
|
1365
|
+
};
|
|
1366
|
+
readonly size: {
|
|
1367
|
+
readonly type: "number";
|
|
1368
|
+
readonly format: "float";
|
|
1369
|
+
readonly description: "Total size of the tag in bytes.";
|
|
1370
|
+
readonly example: 123456789;
|
|
1371
|
+
};
|
|
1372
|
+
readonly region: {
|
|
1373
|
+
readonly type: "string";
|
|
1374
|
+
readonly description: "Registry region.";
|
|
1375
|
+
readonly example: "northamerica";
|
|
1376
|
+
};
|
|
1377
|
+
readonly repository: {
|
|
1378
|
+
readonly type: "string";
|
|
1379
|
+
readonly description: "Repository name.";
|
|
1380
|
+
readonly example: "my-app";
|
|
1381
|
+
};
|
|
1382
|
+
readonly uri: {
|
|
1383
|
+
readonly type: "string";
|
|
1384
|
+
readonly description: "Full URI of the tag.";
|
|
1385
|
+
readonly example: "ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest";
|
|
1386
|
+
};
|
|
1387
|
+
};
|
|
1388
|
+
readonly required: readonly ["name", "size", "region", "repository", "uri"];
|
|
1389
|
+
readonly additionalProperties: false;
|
|
1390
|
+
};
|
|
1062
1391
|
export declare const TokenCreateInputSchema: {
|
|
1063
1392
|
readonly type: "object";
|
|
1064
1393
|
readonly properties: {
|
|
@@ -1137,6 +1466,101 @@ export declare const TokenUpdateInputSchema: {
|
|
|
1137
1466
|
};
|
|
1138
1467
|
readonly additionalProperties: false;
|
|
1139
1468
|
};
|
|
1469
|
+
export declare const UsageFacetsSchema: {
|
|
1470
|
+
readonly type: "object";
|
|
1471
|
+
readonly properties: {
|
|
1472
|
+
readonly cluster_id: {
|
|
1473
|
+
readonly type: "array";
|
|
1474
|
+
readonly items: {
|
|
1475
|
+
readonly type: "string";
|
|
1476
|
+
};
|
|
1477
|
+
readonly description: "List of unique cluster IDs";
|
|
1478
|
+
readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
|
|
1479
|
+
};
|
|
1480
|
+
readonly product: {
|
|
1481
|
+
readonly type: "array";
|
|
1482
|
+
readonly items: {
|
|
1483
|
+
readonly type: "string";
|
|
1484
|
+
};
|
|
1485
|
+
readonly description: "List of unique products";
|
|
1486
|
+
readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
|
|
1487
|
+
};
|
|
1488
|
+
};
|
|
1489
|
+
readonly additionalProperties: false;
|
|
1490
|
+
};
|
|
1491
|
+
export declare const UsageResponseSchema: {
|
|
1492
|
+
readonly type: "object";
|
|
1493
|
+
readonly properties: {
|
|
1494
|
+
readonly data: {
|
|
1495
|
+
readonly type: "array";
|
|
1496
|
+
readonly items: {
|
|
1497
|
+
readonly type: "object";
|
|
1498
|
+
readonly properties: {
|
|
1499
|
+
readonly hour: {
|
|
1500
|
+
readonly type: "string";
|
|
1501
|
+
readonly description: "Hour of the usage";
|
|
1502
|
+
readonly example: "2019-01-01T00:00:00.000Z";
|
|
1503
|
+
};
|
|
1504
|
+
readonly cluster_id: {
|
|
1505
|
+
readonly type: "string";
|
|
1506
|
+
readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
|
|
1507
|
+
readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
|
|
1508
|
+
};
|
|
1509
|
+
readonly product: {
|
|
1510
|
+
readonly type: "string";
|
|
1511
|
+
readonly description: "The product the usage is associated with";
|
|
1512
|
+
readonly example: "cfke_controlplane";
|
|
1513
|
+
};
|
|
1514
|
+
readonly value: {
|
|
1515
|
+
readonly type: "number";
|
|
1516
|
+
readonly format: "float";
|
|
1517
|
+
readonly description: "Consumption";
|
|
1518
|
+
readonly example: 4;
|
|
1519
|
+
};
|
|
1520
|
+
readonly price: {
|
|
1521
|
+
readonly type: "number";
|
|
1522
|
+
readonly format: "float";
|
|
1523
|
+
readonly description: "Price per unit";
|
|
1524
|
+
readonly example: 0.01;
|
|
1525
|
+
};
|
|
1526
|
+
readonly total: {
|
|
1527
|
+
readonly type: "number";
|
|
1528
|
+
readonly format: "float";
|
|
1529
|
+
readonly description: "Total cost";
|
|
1530
|
+
};
|
|
1531
|
+
};
|
|
1532
|
+
readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
|
|
1533
|
+
readonly additionalProperties: false;
|
|
1534
|
+
};
|
|
1535
|
+
readonly description: "Usage data";
|
|
1536
|
+
};
|
|
1537
|
+
readonly facets: {
|
|
1538
|
+
readonly type: "object";
|
|
1539
|
+
readonly properties: {
|
|
1540
|
+
readonly cluster_id: {
|
|
1541
|
+
readonly type: "array";
|
|
1542
|
+
readonly items: {
|
|
1543
|
+
readonly type: "string";
|
|
1544
|
+
};
|
|
1545
|
+
readonly description: "List of unique cluster IDs";
|
|
1546
|
+
readonly example: readonly ["6b5439b1-923a-4f2b-a371-d554e5ea23fa"];
|
|
1547
|
+
};
|
|
1548
|
+
readonly product: {
|
|
1549
|
+
readonly type: "array";
|
|
1550
|
+
readonly items: {
|
|
1551
|
+
readonly type: "string";
|
|
1552
|
+
};
|
|
1553
|
+
readonly description: "List of unique products";
|
|
1554
|
+
readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes"];
|
|
1555
|
+
};
|
|
1556
|
+
};
|
|
1557
|
+
readonly additionalProperties: false;
|
|
1558
|
+
readonly description: "Facets for filtering";
|
|
1559
|
+
};
|
|
1560
|
+
};
|
|
1561
|
+
readonly required: readonly ["data", "facets"];
|
|
1562
|
+
readonly additionalProperties: false;
|
|
1563
|
+
};
|
|
1140
1564
|
export declare const UsageSchema: {
|
|
1141
1565
|
readonly type: "object";
|
|
1142
1566
|
readonly properties: {
|
|
@@ -1147,78 +1571,33 @@ export declare const UsageSchema: {
|
|
|
1147
1571
|
};
|
|
1148
1572
|
readonly cluster_id: {
|
|
1149
1573
|
readonly type: "string";
|
|
1150
|
-
readonly format: "uuid";
|
|
1151
1574
|
readonly description: "Unique identifier of the kubernetes cluster. UUID v4 string in canonical form";
|
|
1152
1575
|
readonly example: "6b5439b1-923a-4f2b-a371-d554e5ea23fa";
|
|
1153
1576
|
};
|
|
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
1577
|
readonly product: {
|
|
1161
1578
|
readonly type: "string";
|
|
1162
1579
|
readonly description: "The product the usage is associated with";
|
|
1163
1580
|
readonly example: "cfke_controlplane";
|
|
1164
|
-
readonly enum: readonly ["cfke_controlplane", "cfke_connected_nodes", "infra_compute", "infra_storage", "infra_loadbalancing", "infra_traffic", "cfcr_storage"];
|
|
1165
1581
|
};
|
|
1166
|
-
readonly
|
|
1167
|
-
readonly type: "
|
|
1168
|
-
readonly
|
|
1169
|
-
readonly
|
|
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
|
-
}];
|
|
1582
|
+
readonly value: {
|
|
1583
|
+
readonly type: "number";
|
|
1584
|
+
readonly format: "float";
|
|
1585
|
+
readonly description: "Consumption";
|
|
1586
|
+
readonly example: 4;
|
|
1186
1587
|
};
|
|
1187
1588
|
readonly price: {
|
|
1188
|
-
readonly
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
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
|
-
}];
|
|
1589
|
+
readonly type: "number";
|
|
1590
|
+
readonly format: "float";
|
|
1591
|
+
readonly description: "Price per unit";
|
|
1592
|
+
readonly example: 0.01;
|
|
1208
1593
|
};
|
|
1209
1594
|
readonly total: {
|
|
1210
|
-
readonly
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
readonly description: "Total";
|
|
1214
|
-
readonly example: 4;
|
|
1215
|
-
}, {
|
|
1216
|
-
readonly type: "string";
|
|
1217
|
-
readonly enum: readonly [""];
|
|
1218
|
-
}];
|
|
1595
|
+
readonly type: "number";
|
|
1596
|
+
readonly format: "float";
|
|
1597
|
+
readonly description: "Total cost";
|
|
1219
1598
|
};
|
|
1220
1599
|
};
|
|
1221
|
-
readonly required: readonly ["
|
|
1600
|
+
readonly required: readonly ["hour", "cluster_id", "product", "value", "price", "total"];
|
|
1222
1601
|
readonly additionalProperties: false;
|
|
1223
1602
|
};
|
|
1224
1603
|
export declare const UserCreateInputSchema: {
|