@alienplatform/core 3.3.28 → 3.3.30

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/index.js CHANGED
@@ -1,6 +1,62 @@
1
1
  import * as z$2 from "zod";
2
2
  import * as z$1 from "zod/v4";
3
3
  import { serializeError } from "serialize-error";
4
+ //#region src/generated/zod/secret-reference-schema.ts
5
+ /**
6
+ * Generated by Kubb (https://kubb.dev/).
7
+ * Do not edit manually.
8
+ */
9
+ /**
10
+ * @description Reference to a Kubernetes Secret
11
+ */
12
+ const SecretReferenceSchema = z$2.object({
13
+ "key": z$2.string(),
14
+ "name": z$2.string()
15
+ }).describe("Reference to a Kubernetes Secret");
16
+ //#endregion
17
+ //#region src/generated/zod/value-schema.ts
18
+ /**
19
+ * Generated by Kubb (https://kubb.dev/).
20
+ * Do not edit manually.
21
+ */
22
+ const ValueSchema = z$2.json();
23
+ //#endregion
24
+ //#region src/generated/zod/binding-value-string-schema.ts
25
+ /**
26
+ * Generated by Kubb (https://kubb.dev/).
27
+ * Do not edit manually.
28
+ */
29
+ /**
30
+ * @description Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret
31
+ */
32
+ const BindingValueStringSchema = z$2.union([
33
+ z$2.lazy(() => ValueSchema),
34
+ z$2.string(),
35
+ z$2.object({ get "secretRef"() {
36
+ return SecretReferenceSchema.describe("Reference to a Kubernetes Secret");
37
+ } })
38
+ ]).describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
39
+ //#endregion
40
+ //#region src/generated/zod/acr-artifact-registry-binding-schema.ts
41
+ /**
42
+ * Generated by Kubb (https://kubb.dev/).
43
+ * Do not edit manually.
44
+ */
45
+ /**
46
+ * @description Azure Container Registry binding configuration
47
+ */
48
+ const AcrArtifactRegistryBindingSchema = z$2.object({
49
+ get "registryName"() {
50
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
51
+ },
52
+ get "repositoryPrefix"() {
53
+ return z$2.union([BindingValueStringSchema, z$2.null()]).optional();
54
+ },
55
+ get "resourceGroupName"() {
56
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
57
+ }
58
+ }).describe("Azure Container Registry binding configuration");
59
+ //#endregion
4
60
  //#region src/generated/zod/alien-error-schema.ts
5
61
  /**
6
62
  * Generated by Kubb (https://kubb.dev/).
@@ -705,6 +761,94 @@ const AlienEventSchema = z$2.union([
705
761
  */
706
762
  const ArchitectureSchema = z$2.enum(["arm64", "x86_64"]).describe("CPU architecture.");
707
763
  //#endregion
764
+ //#region src/generated/zod/ecr-artifact-registry-binding-schema.ts
765
+ /**
766
+ * Generated by Kubb (https://kubb.dev/).
767
+ * Do not edit manually.
768
+ */
769
+ /**
770
+ * @description AWS ECR (Elastic Container Registry) binding configuration
771
+ */
772
+ const EcrArtifactRegistryBindingSchema = z$2.object({
773
+ get "pullRoleArn"() {
774
+ return z$2.union([BindingValueStringSchema, z$2.null()]).optional();
775
+ },
776
+ get "pushRoleArn"() {
777
+ return z$2.union([BindingValueStringSchema, z$2.null()]).optional();
778
+ },
779
+ get "repositoryPrefix"() {
780
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
781
+ }
782
+ }).describe("AWS ECR (Elastic Container Registry) binding configuration");
783
+ //#endregion
784
+ //#region src/generated/zod/gar-artifact-registry-binding-schema.ts
785
+ /**
786
+ * Generated by Kubb (https://kubb.dev/).
787
+ * Do not edit manually.
788
+ */
789
+ /**
790
+ * @description Google Artifact Registry binding configuration
791
+ */
792
+ const GarArtifactRegistryBindingSchema = z$2.object({
793
+ get "pullServiceAccountEmail"() {
794
+ return z$2.union([BindingValueStringSchema, z$2.null()]).optional();
795
+ },
796
+ get "pushServiceAccountEmail"() {
797
+ return z$2.union([BindingValueStringSchema, z$2.null()]).optional();
798
+ },
799
+ get "repositoryName"() {
800
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
801
+ }
802
+ }).describe("Google Artifact Registry binding configuration");
803
+ //#endregion
804
+ //#region src/generated/zod/binding-value-option-string-schema.ts
805
+ /**
806
+ * Generated by Kubb (https://kubb.dev/).
807
+ * Do not edit manually.
808
+ */
809
+ /**
810
+ * @description Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret
811
+ */
812
+ const BindingValueOptionStringSchema = z$2.union([
813
+ z$2.union([z$2.string(), z$2.null()]),
814
+ z$2.lazy(() => ValueSchema),
815
+ z$2.object({ get "secretRef"() {
816
+ return SecretReferenceSchema.describe("Reference to a Kubernetes Secret");
817
+ } })
818
+ ]).describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
819
+ //#endregion
820
+ //#region src/generated/zod/local-artifact-registry-binding-schema.ts
821
+ /**
822
+ * Generated by Kubb (https://kubb.dev/).
823
+ * Do not edit manually.
824
+ */
825
+ /**
826
+ * @description Local container registry binding configuration.\n\nThe local registry runs on localhost only and does not require authentication.\nSecurity boundary is the OS process isolation on the customer\'s machine.\nExternal image access is secured by the manager\'s registry proxy (deployment tokens).
827
+ */
828
+ const LocalArtifactRegistryBindingSchema = z$2.object({
829
+ get "dataDir"() {
830
+ return BindingValueOptionStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
831
+ },
832
+ get "registryUrl"() {
833
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
834
+ }
835
+ }).describe("Local container registry binding configuration.\n\nThe local registry runs on localhost only and does not require authentication.\nSecurity boundary is the OS process isolation on the customer's machine.\nExternal image access is secured by the manager's registry proxy (deployment tokens).");
836
+ //#endregion
837
+ //#region src/generated/zod/artifact-registry-binding-schema.ts
838
+ /**
839
+ * Generated by Kubb (https://kubb.dev/).
840
+ * Do not edit manually.
841
+ */
842
+ /**
843
+ * @description Service-type based artifact registry binding that supports multiple registry providers
844
+ */
845
+ const ArtifactRegistryBindingSchema = z$2.union([
846
+ z$2.lazy(() => EcrArtifactRegistryBindingSchema).and(z$2.object({ "service": z$2.enum(["ecr"]) })).describe("AWS ECR (Elastic Container Registry) binding configuration"),
847
+ z$2.lazy(() => AcrArtifactRegistryBindingSchema).and(z$2.object({ "service": z$2.enum(["acr"]) })).describe("Azure Container Registry binding configuration"),
848
+ z$2.lazy(() => GarArtifactRegistryBindingSchema).and(z$2.object({ "service": z$2.enum(["gar"]) })).describe("Google Artifact Registry binding configuration"),
849
+ z$2.lazy(() => LocalArtifactRegistryBindingSchema).and(z$2.object({ "service": z$2.enum(["local"]) })).describe("Local container registry binding configuration.\n\nThe local registry runs on localhost only and does not require authentication.\nSecurity boundary is the OS process isolation on the customer's machine.\nExternal image access is secured by the manager's registry proxy (deployment tokens).")
850
+ ]).describe("Service-type based artifact registry binding that supports multiple registry providers");
851
+ //#endregion
708
852
  //#region src/generated/zod/artifact-registry-heartbeat-status-schema.ts
709
853
  /**
710
854
  * Generated by Kubb (https://kubb.dev/).
@@ -885,6 +1029,48 @@ const ArtifactRegistrySchema = z$2.object({
885
1029
  "replicationRegions": z$2.optional(z$2.array(z$2.string()).describe("AWS-only: regions to replicate container images to.\nECR private image replication ensures images pushed in the registry's home region\nare automatically available in these additional regions (required when Lambda or\nother compute runs in a different region from the registry)."))
886
1030
  }).describe("Represents an artifact registry for storing container images and other build artifacts.\nThis is a high-level wrapper resource that provides a cloud-agnostic interface over\nAWS ECR, GCP Artifact Registry, and Azure Container Registry.\n\n# Platform Mapping\n- **AWS**: Implicitly exists as the AWS account and region\n- **GCP**: Explicitly configured per project and location (Artifact Registry API enabled)\n- **Azure**: Explicitly provisioned Azure Container Registry instance\n\nThe actual repository management and permissions are handled through the bindings API.");
887
1031
  //#endregion
1032
+ //#region src/generated/zod/binding-value-u16-schema.ts
1033
+ /**
1034
+ * Generated by Kubb (https://kubb.dev/).
1035
+ * Do not edit manually.
1036
+ */
1037
+ /**
1038
+ * @description Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret
1039
+ */
1040
+ const BindingValueU16Schema = z$2.union([
1041
+ z$2.int(),
1042
+ z$2.lazy(() => ValueSchema),
1043
+ z$2.object({ get "secretRef"() {
1044
+ return SecretReferenceSchema.describe("Reference to a Kubernetes Secret");
1045
+ } })
1046
+ ]).describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
1047
+ //#endregion
1048
+ //#region src/generated/zod/aurora-postgres-binding-schema.ts
1049
+ /**
1050
+ * Generated by Kubb (https://kubb.dev/).
1051
+ * Do not edit manually.
1052
+ */
1053
+ /**
1054
+ * @description AWS Aurora Serverless v2 binding.
1055
+ */
1056
+ const AuroraPostgresBindingSchema = z$2.object({
1057
+ get "clusterEndpoint"() {
1058
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
1059
+ },
1060
+ get "database"() {
1061
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
1062
+ },
1063
+ get "passwordSecretArn"() {
1064
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
1065
+ },
1066
+ get "port"() {
1067
+ return BindingValueU16Schema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
1068
+ },
1069
+ get "username"() {
1070
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
1071
+ }
1072
+ }).describe("AWS Aurora Serverless v2 binding.");
1073
+ //#endregion
888
1074
  //#region src/generated/zod/postgres-heartbeat-status-schema.ts
889
1075
  /**
890
1076
  * Generated by Kubb (https://kubb.dev/).
@@ -1223,6 +1409,7 @@ const AwsComputeClusterHeartbeatDataSchema = z$2.object({
1223
1409
  const AwsComputeClusterImportDataSchema = z$2.object({
1224
1410
  "clusterId": z$2.string().describe("Cluster identifier used by container orchestration."),
1225
1411
  "instanceProfileArn": z$2.string().describe("IAM instance profile ARN for cluster machines."),
1412
+ "isolatedInstanceProfileArn": z$2.string().describe("Optional isolated node instance profile ARN.").nullish(),
1226
1413
  "securityGroupId": z$2.string().describe("Security group ID attached to cluster machines.")
1227
1414
  }).describe("AWS ComputeCluster ImportData.");
1228
1415
  //#endregion
@@ -1233,13 +1420,6 @@ const AwsComputeClusterImportDataSchema = z$2.object({
1233
1420
  */
1234
1421
  const AwsCustomCertificateConfigSchema = z$2.object({ "certificateArn": z$2.string() });
1235
1422
  //#endregion
1236
- //#region src/generated/zod/value-schema.ts
1237
- /**
1238
- * Generated by Kubb (https://kubb.dev/).
1239
- * Do not edit manually.
1240
- */
1241
- const ValueSchema = z$2.any();
1242
- //#endregion
1243
1423
  //#region src/generated/zod/managed-runtime-event-involved-object-schema.ts
1244
1424
  /**
1245
1425
  * Generated by Kubb (https://kubb.dev/).
@@ -2260,6 +2440,9 @@ const AzureComputeClusterImportDataSchema = z$2.object({
2260
2440
  "clusterId": z$2.string().describe("Cluster identifier used by the controller."),
2261
2441
  "clusterIdentityPrincipalId": z$2.string().describe("AKS cluster identity principal id (system-assigned identity)."),
2262
2442
  "identityId": z$2.string().describe("Resource ID of the user-assigned identity attached to cluster VMs."),
2443
+ "isolatedIdentityClientId": z$2.string().describe("Optional isolated node identity client ID.").nullish(),
2444
+ "isolatedIdentityId": z$2.string().describe("Optional isolated node identity resource ID.").nullish(),
2445
+ "isolatedIdentityPrincipalId": z$2.string().describe("Optional isolated node identity principal ID.").nullish(),
2263
2446
  "kubeletIdentityClientId": z$2.string().describe("kubelet UAMI client id used by node pools.")
2264
2447
  }).describe("Azure ComputeCluster ImportData — AKS node pool identity / network.");
2265
2448
  //#endregion
@@ -3083,6 +3266,55 @@ const BindingConfigurationGcpBindingSpecSchema = z$2.object({
3083
3266
  }).describe("GCP-specific binding specification"))
3084
3267
  }).describe("Generic binding configuration for permissions");
3085
3268
  //#endregion
3269
+ //#region src/generated/zod/binding-value-u8-schema.ts
3270
+ /**
3271
+ * Generated by Kubb (https://kubb.dev/).
3272
+ * Do not edit manually.
3273
+ */
3274
+ /**
3275
+ * @description Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret
3276
+ */
3277
+ const BindingValueU8Schema = z$2.union([
3278
+ z$2.int(),
3279
+ z$2.lazy(() => ValueSchema),
3280
+ z$2.object({ get "secretRef"() {
3281
+ return SecretReferenceSchema.describe("Reference to a Kubernetes Secret");
3282
+ } })
3283
+ ]).describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
3284
+ //#endregion
3285
+ //#region src/generated/zod/binding-value-vec-string-schema.ts
3286
+ /**
3287
+ * Generated by Kubb (https://kubb.dev/).
3288
+ * Do not edit manually.
3289
+ */
3290
+ /**
3291
+ * @description Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret
3292
+ */
3293
+ const BindingValueVecStringSchema = z$2.union([
3294
+ z$2.array(z$2.string()),
3295
+ z$2.lazy(() => ValueSchema),
3296
+ z$2.object({ get "secretRef"() {
3297
+ return SecretReferenceSchema.describe("Reference to a Kubernetes Secret");
3298
+ } })
3299
+ ]).describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
3300
+ //#endregion
3301
+ //#region src/generated/zod/blob-storage-binding-schema.ts
3302
+ /**
3303
+ * Generated by Kubb (https://kubb.dev/).
3304
+ * Do not edit manually.
3305
+ */
3306
+ /**
3307
+ * @description Azure Blob Storage binding configuration
3308
+ */
3309
+ const BlobStorageBindingSchema = z$2.object({
3310
+ get "accountName"() {
3311
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
3312
+ },
3313
+ get "containerName"() {
3314
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
3315
+ }
3316
+ }).describe("Azure Blob Storage binding configuration");
3317
+ //#endregion
3086
3318
  //#region src/generated/zod/presigned-operation-schema.ts
3087
3319
  /**
3088
3320
  * Generated by Kubb (https://kubb.dev/).
@@ -3462,6 +3694,35 @@ const CapacityGroupSchema = z$2.object({
3462
3694
  }
3463
3695
  }).describe("Capacity group definition.\n\nA capacity group represents machines with identical hardware profiles.\nEach group becomes a separate Auto Scaling Group (AWS), Managed Instance Group (GCP),\nor VM Scale Set (Azure).");
3464
3696
  //#endregion
3697
+ //#region src/generated/zod/cloud-sql-postgres-binding-schema.ts
3698
+ /**
3699
+ * Generated by Kubb (https://kubb.dev/).
3700
+ * Do not edit manually.
3701
+ */
3702
+ /**
3703
+ * @description GCP Cloud SQL binding.
3704
+ */
3705
+ const CloudSqlPostgresBindingSchema = z$2.object({
3706
+ get "database"() {
3707
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
3708
+ },
3709
+ get "host"() {
3710
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
3711
+ },
3712
+ get "passwordSecretName"() {
3713
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
3714
+ },
3715
+ get "port"() {
3716
+ return BindingValueU16Schema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
3717
+ },
3718
+ get "serverCaCertificates"() {
3719
+ return BindingValueVecStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
3720
+ },
3721
+ get "username"() {
3722
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
3723
+ }
3724
+ }).describe("GCP Cloud SQL binding.");
3725
+ //#endregion
3465
3726
  //#region src/generated/zod/command-delivery-mode-schema.ts
3466
3727
  /**
3467
3728
  * Generated by Kubb (https://kubb.dev/).
@@ -3681,6 +3942,81 @@ const ComputeClusterHeartbeatDataSchema = z$2.union([
3681
3942
  z$2.lazy(() => LocalComputeClusterHeartbeatDataSchema).and(z$2.object({ "backend": z$2.enum(["local"]) }))
3682
3943
  ]);
3683
3944
  //#endregion
3945
+ //#region src/generated/zod/gcp-platform-permission-schema.ts
3946
+ /**
3947
+ * Generated by Kubb (https://kubb.dev/).
3948
+ * Do not edit manually.
3949
+ */
3950
+ /**
3951
+ * @description GCP-specific platform permission configuration
3952
+ */
3953
+ const GcpPlatformPermissionSchema = z$2.object({
3954
+ get "binding"() {
3955
+ return BindingConfigurationGcpBindingSpecSchema.describe("Generic binding configuration for permissions");
3956
+ },
3957
+ "description": z$2.string().describe("Short admin-facing description of why this entry exists.").nullish(),
3958
+ get "grant"() {
3959
+ return PermissionGrantSchema.describe("Grant permissions for a specific cloud platform");
3960
+ },
3961
+ "label": z$2.string().describe("Stable admin-facing label for this permission entry.").nullish()
3962
+ }).describe("GCP-specific platform permission configuration");
3963
+ //#endregion
3964
+ //#region src/generated/zod/platform-permissions-schema.ts
3965
+ /**
3966
+ * Generated by Kubb (https://kubb.dev/).
3967
+ * Do not edit manually.
3968
+ */
3969
+ /**
3970
+ * @description Platform-specific permission configurations
3971
+ */
3972
+ const PlatformPermissionsSchema = z$2.object({
3973
+ get "aws"() {
3974
+ return z$2.array(AwsPlatformPermissionSchema.describe("AWS-specific platform permission configuration")).describe("AWS permission configurations").nullish();
3975
+ },
3976
+ get "azure"() {
3977
+ return z$2.array(AzurePlatformPermissionSchema.describe("Azure-specific platform permission configuration")).describe("Azure permission configurations").nullish();
3978
+ },
3979
+ get "gcp"() {
3980
+ return z$2.array(GcpPlatformPermissionSchema.describe("GCP-specific platform permission configuration")).describe("GCP permission configurations").nullish();
3981
+ }
3982
+ }).describe("Platform-specific permission configurations");
3983
+ //#endregion
3984
+ //#region src/generated/zod/permission-set-schema.ts
3985
+ /**
3986
+ * Generated by Kubb (https://kubb.dev/).
3987
+ * Do not edit manually.
3988
+ */
3989
+ /**
3990
+ * @description A permission set that can be applied across different cloud platforms
3991
+ */
3992
+ const PermissionSetSchema = z$2.object({
3993
+ "description": z$2.string().describe("Human-readable description of what this permission set allows"),
3994
+ "id": z$2.string().describe("Unique identifier for the permission set (e.g., \"storage/data-read\")"),
3995
+ get "platforms"() {
3996
+ return PlatformPermissionsSchema.describe("Platform-specific permission configurations");
3997
+ }
3998
+ }).describe("A permission set that can be applied across different cloud platforms");
3999
+ //#endregion
4000
+ //#region src/generated/zod/permission-set-reference-schema.ts
4001
+ /**
4002
+ * Generated by Kubb (https://kubb.dev/).
4003
+ * Do not edit manually.
4004
+ */
4005
+ /**
4006
+ * @description Reference to a permission set - either by name or inline definition
4007
+ */
4008
+ const PermissionSetReferenceSchema = z$2.union([z$2.lazy(() => PermissionSetSchema), z$2.string()]).describe("Reference to a permission set - either by name or inline definition");
4009
+ //#endregion
4010
+ //#region src/generated/zod/permission-profile-schema.ts
4011
+ /**
4012
+ * Generated by Kubb (https://kubb.dev/).
4013
+ * Do not edit manually.
4014
+ */
4015
+ /**
4016
+ * @description Permission profile that maps resources to permission sets\nKey can be \"*\" for all resources or resource name for specific resource
4017
+ */
4018
+ const PermissionProfileSchema = z$2.object({}).catchall(z$2.array(z$2.lazy(() => PermissionSetReferenceSchema).describe("Reference to a permission set - either by name or inline definition"))).describe("Permission profile that maps resources to permission sets\nKey can be \"*\" for all resources or resource name for specific resource");
4019
+ //#endregion
3684
4020
  //#region src/generated/zod/compute-cluster-schema.ts
3685
4021
  /**
3686
4022
  * Generated by Kubb (https://kubb.dev/).
@@ -3697,6 +4033,12 @@ const ComputeClusterSchema = z$2.object({
3697
4033
  "dynamicContainerPool": z$2.string().describe("Pool reserved for containers created after a deployment is installed.\nIf absent, the runtime uses the `general` pool when it exists.").nullish(),
3698
4034
  "failureDomainSpread": z$2.optional(z$2.object({}).catchall(z$2.int().min(0)).describe("Requested failure-domain spread keyed by capacity group.\nEmpty preserves the existing aggregate layout.")),
3699
4035
  "id": z$2.string().describe("Unique identifier for the container cluster.\nMust contain only alphanumeric characters, hyphens, and underscores."),
4036
+ get "nodePermissions"() {
4037
+ return z$2.union([PermissionProfileSchema, z$2.null()]).optional();
4038
+ },
4039
+ get "nodePermissionsPlatforms"() {
4040
+ return z$2.array(PlatformSchema.describe("Represents the target cloud platform.")).describe("Cloud platforms on which the explicit node grants apply; absent applies everywhere.").nullish();
4041
+ },
3700
4042
  "selectedFailureDomains": z$2.optional(z$2.object({}).catchall(z$2.array(z$2.string())).describe("Concrete provider failure domains selected during setup, keyed by capacity group.\nEmpty preserves the existing aggregate layout when no spread policy is configured."))
3701
4043
  }).describe("ComputeCluster resource for running long-running container workloads.\n\nA ComputeCluster provides the setup-owned machine boundary for containers.\nAlien may manage the worker fleet inside that boundary when setup grants\n`compute-cluster/management`.\n\n## Architecture\n\n- **Setup** creates cloud resources: ASGs/MIGs/VMSSs, IAM roles, security groups\n- **Alien** manages allowed fleet operations: machine count, runtime\n machine image rollout and, on AWS, the machine type within one CPU architecture\n- A node agent runs on each machine from the selected runtime image channel\n\n## Example\n\n```rust\nuse alien_core::{CapacityGroup, ComputeCluster, MachineProfile};\n\nlet cluster = ComputeCluster::new(\"compute\".to_string())\n .capacity_group(CapacityGroup {\n group_id: \"general\".to_string(),\n instance_type: None,\n profile: Some(MachineProfile {\n cpu: \"4.0\".to_string(),\n memory_bytes: 16 * 1024 * 1024 * 1024,\n ephemeral_storage_bytes: 20 * 1024 * 1024 * 1024,\n architecture: None,\n gpu: None,\n }),\n min_size: 1,\n max_size: 5,\n scale_policy: None,\n nested_virtualization: None,\n })\n .build();\n```");
3702
4044
  //#endregion
@@ -3748,6 +4090,32 @@ const ComputePoolSelectionSchema = z$2.union([z$2.object({
3748
4090
  */
3749
4091
  const ComputeSettingsSchema = z$2.object({ "pools": z$2.optional(z$2.object({}).catchall(z$2.lazy(() => ComputePoolSelectionSchema).describe("User-selected deployment settings for one compute pool.")).describe("Selected compute choices keyed by pool ID.")) }).describe("Deployment-time compute choices for Alien-managed compute pools.\n\nApplication source declares portable pool requirements. This settings\nobject stores the concrete choices made for one deployment, such as the\nprovider machine type and selected machine counts.");
3750
4092
  //#endregion
4093
+ //#region src/generated/zod/container-apps-environment-binding-schema.ts
4094
+ /**
4095
+ * Generated by Kubb (https://kubb.dev/).
4096
+ * Do not edit manually.
4097
+ */
4098
+ /**
4099
+ * @description Binding configuration for a pre-existing Azure Container Apps Environment.\n\nUsed when deploying to an existing environment instead of having Alien provision one.\nThis is useful for shared environments (e.g., test infrastructure) or enterprise\nsetups where environments are managed by a separate team.
4100
+ */
4101
+ const ContainerAppsEnvironmentBindingSchema = z$2.object({
4102
+ get "defaultDomain"() {
4103
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
4104
+ },
4105
+ get "environmentName"() {
4106
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
4107
+ },
4108
+ get "resourceGroupName"() {
4109
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
4110
+ },
4111
+ get "resourceId"() {
4112
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
4113
+ },
4114
+ get "staticIp"() {
4115
+ return z$2.union([BindingValueStringSchema, z$2.null()]).optional();
4116
+ }
4117
+ }).describe("Binding configuration for a pre-existing Azure Container Apps Environment.\n\nUsed when deploying to an existing environment instead of having Alien provision one.\nThis is useful for shared environments (e.g., test infrastructure) or enterprise\nsetups where environments are managed by a separate team.");
4118
+ //#endregion
3751
4119
  //#region src/generated/zod/container-autoscaling-schema.ts
3752
4120
  /**
3753
4121
  * Generated by Kubb (https://kubb.dev/).
@@ -4205,6 +4573,69 @@ const ReplicaStatusSchema = z$2.object({
4205
4573
  "replicaId": z$2.string().describe("Replica ID (e.g., \"api-0\", \"api-1\")")
4206
4574
  }).describe("Status of a single container replica.");
4207
4575
  //#endregion
4576
+ //#region src/generated/zod/volume-backups-state-schema.ts
4577
+ /**
4578
+ * Generated by Kubb (https://kubb.dev/).
4579
+ * Do not edit manually.
4580
+ */
4581
+ /**
4582
+ * @description State of a container\'s snapshot schedule.
4583
+ */
4584
+ const VolumeBackupsStateSchema = z$2.enum([
4585
+ "active",
4586
+ "disabled",
4587
+ "setupRequired"
4588
+ ]).describe("State of a container's snapshot schedule.");
4589
+ //#endregion
4590
+ //#region src/generated/zod/volume-backups-status-schema.ts
4591
+ /**
4592
+ * Generated by Kubb (https://kubb.dev/).
4593
+ * Do not edit manually.
4594
+ */
4595
+ /**
4596
+ * @description Whether a container\'s snapshot schedule is in place.
4597
+ */
4598
+ const VolumeBackupsStatusSchema = z$2.object({
4599
+ "message": z$2.string().describe("What is missing when the state is `setupRequired`").nullish(),
4600
+ get "state"() {
4601
+ return VolumeBackupsStateSchema.describe("State of a container's snapshot schedule.");
4602
+ }
4603
+ }).describe("Whether a container's snapshot schedule is in place.");
4604
+ //#endregion
4605
+ //#region src/generated/zod/volume-restore-output-schema.ts
4606
+ /**
4607
+ * Generated by Kubb (https://kubb.dev/).
4608
+ * Do not edit manually.
4609
+ */
4610
+ /**
4611
+ * @description A completed volume restore.
4612
+ */
4613
+ const VolumeRestoreOutputSchema = z$2.object({
4614
+ "completedAt": z$2.string().describe("When the restored volume was put in place (RFC 3339)"),
4615
+ "replacedVolumeSnapshotId": z$2.string().describe("Snapshot of the replaced volume, taken just before it was deleted"),
4616
+ "requestId": z$2.string().describe("ID of the restore request"),
4617
+ "snapshotId": z$2.string().describe("Snapshot the volume was restored from")
4618
+ }).describe("A completed volume restore.");
4619
+ //#endregion
4620
+ //#region src/generated/zod/volume-output-schema.ts
4621
+ /**
4622
+ * Generated by Kubb (https://kubb.dev/).
4623
+ * Do not edit manually.
4624
+ */
4625
+ /**
4626
+ * @description A replica\'s persistent volume and its latest completed snapshot.
4627
+ */
4628
+ const VolumeOutputSchema = z$2.object({
4629
+ get "lastRestore"() {
4630
+ return z$2.union([VolumeRestoreOutputSchema, z$2.null()]).optional();
4631
+ },
4632
+ "lastSnapshotAt": z$2.string().describe("When the latest completed snapshot was started (RFC 3339)").nullish(),
4633
+ "lastSnapshotId": z$2.string().describe("Cloud ID of the latest completed snapshot, if any").nullish(),
4634
+ "ordinal": z$2.int().min(0).describe("Replica ordinal the volume belongs to"),
4635
+ "volumeId": z$2.string().describe("Cloud ID of the volume (EBS volume ID, Persistent Disk name, or Managed Disk ID)"),
4636
+ "zone": z$2.string().describe("Zone the volume lives in")
4637
+ }).describe("A replica's persistent volume and its latest completed snapshot.");
4638
+ //#endregion
4208
4639
  //#region src/generated/zod/container-outputs-schema.ts
4209
4640
  /**
4210
4641
  * Generated by Kubb (https://kubb.dev/).
@@ -4224,6 +4655,12 @@ const ContainerOutputsSchema = z$2.object({
4224
4655
  },
4225
4656
  get "status"() {
4226
4657
  return ContainerStatusSchema.describe("Container status in the managed container backend.");
4658
+ },
4659
+ get "volumeBackups"() {
4660
+ return z$2.union([VolumeBackupsStatusSchema, z$2.null()]).optional();
4661
+ },
4662
+ get "volumes"() {
4663
+ return z$2.array(VolumeOutputSchema.describe("A replica's persistent volume and its latest completed snapshot.")).describe("Persistent volumes, one per replica ordinal, with their latest snapshot.").optional();
4227
4664
  }
4228
4665
  }).describe("Outputs generated by a successfully provisioned Container.");
4229
4666
  //#endregion
@@ -4316,6 +4753,20 @@ const KubernetesSecretMountSchema = z$2.object({
4316
4753
  "secretName": z$2.string().describe("Name of the existing Secret in the deployment namespace.")
4317
4754
  }).describe("Mounts an existing, setup-owned Kubernetes Secret into a Container pod.\nThe Secret must exist in the deployment namespace before the workload starts.");
4318
4755
  //#endregion
4756
+ //#region src/generated/zod/volume-backups-schema.ts
4757
+ /**
4758
+ * Generated by Kubb (https://kubb.dev/).
4759
+ * Do not edit manually.
4760
+ */
4761
+ /**
4762
+ * @description Scheduled snapshots of a persistent volume.\n\nThe cloud\'s own scheduler takes the snapshots (AWS Data Lifecycle Manager,\na Compute Engine snapshot schedule, or Azure Disk Backup), so they keep being\ntaken while the deployment is unreachable. Snapshots are crash-consistent:\nthe volume as it would be after a sudden power loss. When a container is\ndeleted, Alien keeps one final snapshot of each volume.\n\nKubernetes deployments leave volume backups to the cluster\'s own tooling,\nand local deployments don\'t snapshot volumes. Neither reports volumes in\n`ContainerOutputs.volumes` or a `volumeBackups` status.
4763
+ */
4764
+ const VolumeBackupsSchema = z$2.object({
4765
+ "enabled": z$2.optional(z$2.boolean().describe("Whether snapshots are taken. Defaults to true.")),
4766
+ "intervalHours": z$2.optional(z$2.int().min(0).describe("Hours between snapshots: 1, 2, 4, 6, 8, 12 or 24. Defaults to 24.")),
4767
+ "retentionDays": z$2.optional(z$2.int().min(0).describe("Days each snapshot is kept, at most 365. Defaults to 7."))
4768
+ }).describe("Scheduled snapshots of a persistent volume.\n\nThe cloud's own scheduler takes the snapshots (AWS Data Lifecycle Manager,\na Compute Engine snapshot schedule, or Azure Disk Backup), so they keep being\ntaken while the deployment is unreachable. Snapshots are crash-consistent:\nthe volume as it would be after a sudden power loss. When a container is\ndeleted, Alien keeps one final snapshot of each volume.\n\nKubernetes deployments leave volume backups to the cluster's own tooling,\nand local deployments don't snapshot volumes. Neither reports volumes in\n`ContainerOutputs.volumes` or a `volumeBackups` status.");
4769
+ //#endregion
4319
4770
  //#region src/generated/zod/persistent-storage-schema.ts
4320
4771
  /**
4321
4772
  * Generated by Kubb (https://kubb.dev/).
@@ -4325,6 +4776,9 @@ const KubernetesSecretMountSchema = z$2.object({
4325
4776
  * @description Persistent storage configuration for stateful containers.
4326
4777
  */
4327
4778
  const PersistentStorageSchema = z$2.object({
4779
+ get "backups"() {
4780
+ return VolumeBackupsSchema.describe("Scheduled snapshots of a persistent volume.\n\nThe cloud's own scheduler takes the snapshots (AWS Data Lifecycle Manager,\na Compute Engine snapshot schedule, or Azure Disk Backup), so they keep being\ntaken while the deployment is unreachable. Snapshots are crash-consistent:\nthe volume as it would be after a sudden power loss. When a container is\ndeleted, Alien keeps one final snapshot of each volume.\n\nKubernetes deployments leave volume backups to the cluster's own tooling,\nand local deployments don't snapshot volumes. Neither reports volumes in\n`ContainerOutputs.volumes` or a `volumeBackups` status.").optional();
4781
+ },
4328
4782
  "mountPath": z$2.string().describe("Mount path inside the container"),
4329
4783
  "size": z$2.string().describe("Storage size (e.g., \"100Gi\", \"500Gi\")")
4330
4784
  }).describe("Persistent storage configuration for stateful containers.");
@@ -4760,7 +5214,7 @@ const DaemonSchema = z$2.object({
4760
5214
  get "memory"() {
4761
5215
  return ResourceSpecSchema.describe("Resource specification with min/desired values.").optional();
4762
5216
  },
4763
- "permissions": z$2.string(),
5217
+ "permissions": z$2.string().describe("Named workload permission profile. Absent means no workload cloud identity.").nullish(),
4764
5218
  "pool": z$2.string().describe("Capacity group/pool to run on for backends that expose machine pools.").nullish(),
4765
5219
  get "publicEndpoints"() {
4766
5220
  return z$2.array(PublicEndpointSchema.describe("Public endpoint configuration for port-backed workload resources.")).describe("Public endpoints exposed by the daemon.").optional();
@@ -4798,6 +5252,7 @@ const DeployerSecretStoreSchema = z$2.enum([
4798
5252
  const DeployerSecretLocationSchema = z$2.object({
4799
5253
  "cliCommand": z$2.string().describe("Command that writes the value, with `<VALUE>` in place of the secret."),
4800
5254
  "consoleUrl": z$2.string().describe("Cloud console page where the secret is created, when the store has one.").nullish(),
5255
+ "deleteCommand": z$2.string().describe("Command that deletes the secret. Deleting a deployment keeps the\nsecrets the deployer wrote, since Alien never owned their values.").nullish(),
4801
5256
  "name": z$2.string().describe("Full name of the secret in that store."),
4802
5257
  get "store"() {
4803
5258
  return DeployerSecretStoreSchema.describe("The secret store a deployer writes a vault-native secret into.");
@@ -4837,7 +5292,8 @@ const DeployerSecretReportSchema = z$2.object({
4837
5292
  "required": z$2.boolean().describe("Whether the workload cannot start without it."),
4838
5293
  get "status"() {
4839
5294
  return DeployerSecretStatusSchema.describe("Whether a deployer secret slot holds a usable value. Alien learns this from\nmetadata only and never reads the value.");
4840
- }
5295
+ },
5296
+ "version": z$2.string().describe("The secret store's version of the present value (never the value or a\nhash of it). A new version reaches workloads with the next update.").nullish()
4841
5297
  }).describe("The state of one deployer secret slot, reported with the deployment.");
4842
5298
  //#endregion
4843
5299
  //#region src/generated/zod/deployment-model-schema.ts
@@ -4879,271 +5335,754 @@ const DevStatusSchema = z$2.object({
4879
5335
  get "error"() {
4880
5336
  return z$2.union([AlienErrorSchema, z$2.null()]).optional();
4881
5337
  },
4882
- "lastUpdated": z$2.string().describe("ISO 8601 timestamp of last status update"),
4883
- "pid": z$2.int().min(0).describe("Dev server process ID"),
4884
- "platform": z$2.string().describe("Platform (always \"local\" for dev server)"),
4885
- "stackId": z$2.string().describe("Stack ID (always \"dev\" for dev server)"),
4886
- "startedAt": z$2.string().describe("ISO 8601 timestamp when dev server started"),
4887
- "stateDir": z$2.string().describe("Path to state directory"),
4888
- get "status"() {
4889
- return DevStatusStateSchema.describe("Overall dev server status");
5338
+ "lastUpdated": z$2.string().describe("ISO 8601 timestamp of last status update"),
5339
+ "pid": z$2.int().min(0).describe("Dev server process ID"),
5340
+ "platform": z$2.string().describe("Platform (always \"local\" for dev server)"),
5341
+ "stackId": z$2.string().describe("Stack ID (always \"dev\" for dev server)"),
5342
+ "startedAt": z$2.string().describe("ISO 8601 timestamp when dev server started"),
5343
+ "stateDir": z$2.string().describe("Path to state directory"),
5344
+ get "status"() {
5345
+ return DevStatusStateSchema.describe("Overall dev server status");
5346
+ }
5347
+ }).describe("Overall status of the dev server");
5348
+ //#endregion
5349
+ //#region src/generated/zod/public-endpoint-target-settings-schema.ts
5350
+ /**
5351
+ * Generated by Kubb (https://kubb.dev/).
5352
+ * Do not edit manually.
5353
+ */
5354
+ /**
5355
+ * @description DNS target mode for public endpoints.
5356
+ */
5357
+ const PublicEndpointTargetSettingsSchema = z$2.union([z$2.object({ "mode": z$2.enum(["machineAddresses"]) }), z$2.object({
5358
+ "cnameTarget": z$2.string().describe("DNS name or URL for the external load balancer."),
5359
+ "mode": z$2.enum(["loadBalancer"])
5360
+ })]).describe("DNS target mode for public endpoints.");
5361
+ //#endregion
5362
+ //#region src/generated/zod/domain-settings-schema.ts
5363
+ /**
5364
+ * Generated by Kubb (https://kubb.dev/).
5365
+ * Do not edit manually.
5366
+ */
5367
+ /**
5368
+ * @description Domain configuration for the stack.\n\nWhen `custom_domains` is set, the specified resources use customer-provided\ndomains and certificates. Otherwise, Alien auto-generates domains.
5369
+ */
5370
+ const DomainSettingsSchema = z$2.object({
5371
+ "customDomains": z$2.object({}).catchall(z$2.lazy(() => CustomDomainConfigSchema).describe("Custom domain configuration for a single resource.")).describe("Custom domain configuration per resource ID.").nullish(),
5372
+ get "publicEndpointTarget"() {
5373
+ return z$2.union([PublicEndpointTargetSettingsSchema, z$2.null()]).optional();
5374
+ }
5375
+ }).describe("Domain configuration for the stack.\n\nWhen `custom_domains` is set, the specified resources use customer-provided\ndomains and certificates. Otherwise, Alien auto-generates domains.");
5376
+ //#endregion
5377
+ //#region src/generated/zod/dynamic-container-health-check-schema.ts
5378
+ /**
5379
+ * Generated by Kubb (https://kubb.dev/).
5380
+ * Do not edit manually.
5381
+ */
5382
+ const DynamicContainerHealthCheckSchema = z$2.object({
5383
+ "path": z$2.string(),
5384
+ "port": z$2.int().min(0)
5385
+ });
5386
+ //#endregion
5387
+ //#region src/generated/zod/dynamic-container-status-schema.ts
5388
+ /**
5389
+ * Generated by Kubb (https://kubb.dev/).
5390
+ * Do not edit manually.
5391
+ */
5392
+ const DynamicContainerStatusSchema = z$2.enum([
5393
+ "pending",
5394
+ "running",
5395
+ "failing",
5396
+ "stopped"
5397
+ ]);
5398
+ z$2.object({
5399
+ "generation": z$2.int().min(0),
5400
+ "message": z$2.string().nullish(),
5401
+ "name": z$2.string(),
5402
+ get "status"() {
5403
+ return DynamicContainerStatusSchema;
5404
+ }
5405
+ }).describe("What the Operator observed after applying one target generation.");
5406
+ //#endregion
5407
+ //#region src/generated/zod/dynamodb-kv-binding-schema.ts
5408
+ /**
5409
+ * Generated by Kubb (https://kubb.dev/).
5410
+ * Do not edit manually.
5411
+ */
5412
+ /**
5413
+ * @description AWS DynamoDB KV binding configuration
5414
+ */
5415
+ const DynamodbKvBindingSchema = z$2.object({
5416
+ get "endpointUrl"() {
5417
+ return z$2.union([BindingValueStringSchema, z$2.null()]).optional();
5418
+ },
5419
+ get "region"() {
5420
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5421
+ },
5422
+ get "tableName"() {
5423
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5424
+ }
5425
+ }).describe("AWS DynamoDB KV binding configuration");
5426
+ //#endregion
5427
+ //#region src/generated/zod/email-dkim-token-schema.ts
5428
+ /**
5429
+ * Generated by Kubb (https://kubb.dev/).
5430
+ * Do not edit manually.
5431
+ */
5432
+ /**
5433
+ * @description A single DKIM CNAME record the operator must create in DNS.
5434
+ */
5435
+ const EmailDkimTokenSchema = z$2.object({
5436
+ "name": z$2.string().describe("CNAME record host name."),
5437
+ "value": z$2.string().describe("CNAME record value.")
5438
+ }).describe("A single DKIM CNAME record the operator must create in DNS.");
5439
+ //#endregion
5440
+ //#region src/generated/zod/email-domain-outputs-schema.ts
5441
+ /**
5442
+ * Generated by Kubb (https://kubb.dev/).
5443
+ * Do not edit manually.
5444
+ */
5445
+ /**
5446
+ * @description Per-domain DNS records the operator must create.
5447
+ */
5448
+ const EmailDomainOutputsSchema = z$2.object({ get "dkimTokens"() {
5449
+ return z$2.array(EmailDkimTokenSchema.describe("A single DKIM CNAME record the operator must create in DNS.")).describe("Easy-DKIM CNAME tokens (three per domain). The domain is verified once\nthese records exist in its DNS configuration.");
5450
+ } }).describe("Per-domain DNS records the operator must create.");
5451
+ //#endregion
5452
+ //#region src/generated/zod/email-events-schema.ts
5453
+ /**
5454
+ * Generated by Kubb (https://kubb.dev/).
5455
+ * Do not edit manually.
5456
+ */
5457
+ /**
5458
+ * @description Event configuration for an [`Email`] resource.
5459
+ */
5460
+ const EmailEventsSchema = z$2.object({ get "queue"() {
5461
+ return ResourceRefSchema.describe("Reference to a resource by its stable id and resource type.");
5462
+ } }).describe("Event configuration for an [`Email`] resource.");
5463
+ //#endregion
5464
+ //#region src/generated/zod/email-inbound-schema.ts
5465
+ /**
5466
+ * Generated by Kubb (https://kubb.dev/).
5467
+ * Do not edit manually.
5468
+ */
5469
+ /**
5470
+ * @description Inbound-mail configuration for an [`Email`] resource.
5471
+ */
5472
+ const EmailInboundSchema = z$2.object({ get "storage"() {
5473
+ return ResourceRefSchema.describe("Reference to a resource by its stable id and resource type.");
5474
+ } }).describe("Inbound-mail configuration for an [`Email`] resource.");
5475
+ z$2.object({
5476
+ "configurationSet": z$2.string().describe("The provisioned configuration set name (used when sending)."),
5477
+ "domains": z$2.object({}).catchall(z$2.lazy(() => EmailDomainOutputsSchema).describe("Per-domain DNS records the operator must create.")).describe("DNS records per mail domain."),
5478
+ "ruleSetName": z$2.string().describe("The inbound receipt rule set name, when `inbound` is configured.").nullish()
5479
+ }).describe("Outputs generated by a successfully provisioned Email resource.\n\nDomain verification status cannot be known at provisioning time — SES\nverifies a domain asynchronously once its DKIM records exist in DNS — so\nthe outputs carry the records the operator must create rather than a\nverification result.");
5480
+ //#endregion
5481
+ //#region src/generated/zod/email-schema.ts
5482
+ /**
5483
+ * Generated by Kubb (https://kubb.dev/).
5484
+ * Do not edit manually.
5485
+ */
5486
+ /**
5487
+ * @description Email infrastructure for sending and receiving mail on customer-owned\ndomains. On AWS this is backed by SES: a shared configuration set, optional\ninbound/event wiring, and one email identity (Easy DKIM) per seed domain.\n\n# Infrastructure vs runtime data\n\nThis resource owns the email *infrastructure* and the capability to use it,\nnot the domain lifecycle. Deployment manages the configuration set, the\nevent topology, the inbound receipt topology, and any seed identities\nlisted in `domains`. Email identities created at runtime through the\n`email/manage-identities` grant are application data: they are not tracked\nby the deployment, are not removed when the stack is deleted, and their\nlifecycle — including deletion — belongs to the application.\n\nThe operator (or the application, for runtime-created identities) owns DNS:\nthe per-domain DKIM CNAME records surfaced in [`EmailOutputs`] must be\ncreated before SES verifies a domain and allows sending from it.\n\n# Inbound mail (AWS)\n\nWhen `inbound` is set, a SES receipt rule set is provisioned that writes\nraw incoming mail into the linked Storage bucket. The receipt rule is a\ncatch-all (no recipient filter), so mail for identities verified at runtime\nlands in the bucket without any infrastructure change.\n\nAlien activates the provisioned receipt rule set as part of setup. Because\nSES permits only one active receipt rule set per AWS account and region, an\nAWS stack may contain only one email resource with inbound delivery. The\nresource requires exclusive ownership of SES receiving in its account and\nregion: setup refuses to replace an active rule set it does not own. Choose\nan unused region when the account already receives email through SES. SES email\nreceiving is available only in a subset of AWS regions; deploying `inbound`\nto an unsupported region fails during setup.\n\n# Update semantics\n\n`domains` is append-friendly: adding a domain provisions a new identity,\nremoving a domain deletes its identity (and its DKIM verification state).\nThe list may be empty. `inbound` and `events` may be added, removed, or\nrepointed; removing them tears down the corresponding receipt rule set /\nevent destination wiring.
5488
+ */
5489
+ const EmailSchema = z$2.object({
5490
+ "domains": z$2.optional(z$2.array(z$2.string()).describe("Seed mail domains provisioned at deploy time (one SES identity each).\nUseful for day-0 bootstrap and products with a static domain set.\nMay be empty (the default): products that create and verify domains\ndynamically should manage identities at runtime through the\n`email/manage-identities` grant instead of listing them here.")),
5491
+ get "events"() {
5492
+ return z$2.union([EmailEventsSchema, z$2.null()]).optional();
5493
+ },
5494
+ "id": z$2.string().describe("Identifier for the email resource. Must contain only alphanumeric\ncharacters, hyphens, and underscores ([A-Za-z0-9-_]). Maximum 64 characters."),
5495
+ get "inbound"() {
5496
+ return z$2.union([EmailInboundSchema, z$2.null()]).optional();
5497
+ }
5498
+ }).describe("Email infrastructure for sending and receiving mail on customer-owned\ndomains. On AWS this is backed by SES: a shared configuration set, optional\ninbound/event wiring, and one email identity (Easy DKIM) per seed domain.\n\n# Infrastructure vs runtime data\n\nThis resource owns the email *infrastructure* and the capability to use it,\nnot the domain lifecycle. Deployment manages the configuration set, the\nevent topology, the inbound receipt topology, and any seed identities\nlisted in `domains`. Email identities created at runtime through the\n`email/manage-identities` grant are application data: they are not tracked\nby the deployment, are not removed when the stack is deleted, and their\nlifecycle — including deletion — belongs to the application.\n\nThe operator (or the application, for runtime-created identities) owns DNS:\nthe per-domain DKIM CNAME records surfaced in [`EmailOutputs`] must be\ncreated before SES verifies a domain and allows sending from it.\n\n# Inbound mail (AWS)\n\nWhen `inbound` is set, a SES receipt rule set is provisioned that writes\nraw incoming mail into the linked Storage bucket. The receipt rule is a\ncatch-all (no recipient filter), so mail for identities verified at runtime\nlands in the bucket without any infrastructure change.\n\nAlien activates the provisioned receipt rule set as part of setup. Because\nSES permits only one active receipt rule set per AWS account and region, an\nAWS stack may contain only one email resource with inbound delivery. The\nresource requires exclusive ownership of SES receiving in its account and\nregion: setup refuses to replace an active rule set it does not own. Choose\nan unused region when the account already receives email through SES. SES email\nreceiving is available only in a subset of AWS regions; deploying `inbound`\nto an unsupported region fails during setup.\n\n# Update semantics\n\n`domains` is append-friendly: adding a domain provisions a new identity,\nremoving a domain deletes its identity (and its DKIM verification state).\nThe list may be empty. `inbound` and `events` may be added, removed, or\nrepointed; removing them tears down the corresponding receipt rule set /\nevent destination wiring.");
5499
+ //#endregion
5500
+ //#region src/generated/zod/endpoint-access-schema.ts
5501
+ /**
5502
+ * Generated by Kubb (https://kubb.dev/).
5503
+ * Do not edit manually.
5504
+ */
5505
+ /**
5506
+ * @description Reachability of the deployment\'s public endpoints, fixed at setup.
5507
+ */
5508
+ const EndpointAccessSchema = z$2.enum(["internet", "private"]).describe("Reachability of the deployment's public endpoints, fixed at setup.");
5509
+ //#endregion
5510
+ //#region src/generated/zod/response-handling-schema.ts
5511
+ /**
5512
+ * Generated by Kubb (https://kubb.dev/).
5513
+ * Do not edit manually.
5514
+ */
5515
+ /**
5516
+ * @description Response handling configuration for deployments
5517
+ */
5518
+ const ResponseHandlingSchema = z$2.object({
5519
+ "maxInlineBytes": z$2.int().min(0).describe("Maximum response body size that can be submitted inline"),
5520
+ get "storageUploadRequest"() {
5521
+ return PresignedRequestSchema.describe("A presigned request that can be serialized, stored, and executed later.\nHides implementation details for different storage backends.");
5522
+ },
5523
+ "submitResponseUrl": z$2.string().describe("URL where deployments submit responses")
5524
+ }).describe("Response handling configuration for deployments");
5525
+ //#endregion
5526
+ //#region src/generated/zod/trace-context-schema.ts
5527
+ /**
5528
+ * Generated by Kubb (https://kubb.dev/).
5529
+ * Do not edit manually.
5530
+ */
5531
+ /**
5532
+ * @description W3C Trace Context propagated with a command lease.\n\nThe values are kept in their standard wire form so receivers can attach\nthem to handler telemetry without inventing separate trace/span fields.
5533
+ */
5534
+ const TraceContextSchema = z$2.object({
5535
+ "traceparent": z$2.string().describe("W3C `traceparent` header value."),
5536
+ "tracestate": z$2.string().describe("Optional W3C `tracestate` header value.").nullish()
5537
+ }).describe("W3C Trace Context propagated with a command lease.\n\nThe values are kept in their standard wire form so receivers can attach\nthem to handler telemetry without inventing separate trace/span fields.");
5538
+ //#endregion
5539
+ //#region src/generated/zod/envelope-schema.ts
5540
+ /**
5541
+ * Generated by Kubb (https://kubb.dev/).
5542
+ * Do not edit manually.
5543
+ */
5544
+ /**
5545
+ * @description Commands envelope sent to deployments
5546
+ */
5547
+ const EnvelopeSchema = z$2.object({
5548
+ "attempt": z$2.int().min(0).describe("Attempt number (starts at 1)"),
5549
+ "command": z$2.string().describe("Command name (e.g., \"generate-report\", \"sync-data\")"),
5550
+ "commandId": z$2.string().describe("Unique command identifier"),
5551
+ "deadline": z$2.iso.datetime().describe("Command deadline").nullish(),
5552
+ "deploymentId": z$2.string().describe("Target deployment identifier"),
5553
+ get "params"() {
5554
+ return BodySpecSchema.describe("Body specification supporting inline and storage modes");
5555
+ },
5556
+ "protocol": z$2.string().describe("Protocol version identifier"),
5557
+ get "responseHandling"() {
5558
+ return ResponseHandlingSchema.describe("Response handling configuration for deployments");
5559
+ },
5560
+ get "target"() {
5561
+ return CommandTargetSchema.describe("Identifies the specific resource a command is addressed to.");
5562
+ },
5563
+ get "traceContext"() {
5564
+ return z$2.union([TraceContextSchema, z$2.null()]).optional();
5565
+ }
5566
+ }).describe("Commands envelope sent to deployments");
5567
+ //#endregion
5568
+ //#region src/generated/zod/event-state-schema.ts
5569
+ /**
5570
+ * Generated by Kubb (https://kubb.dev/).
5571
+ * Do not edit manually.
5572
+ */
5573
+ /**
5574
+ * @description Represents the state of an event
5575
+ */
5576
+ const EventStateSchema = z$2.union([
5577
+ z$2.object({ "failed": z$2.object({ get "error"() {
5578
+ return z$2.union([AlienErrorSchema, z$2.null()]).optional();
5579
+ } }).describe("Event failed with an error") }),
5580
+ z$2.enum(["none"]),
5581
+ z$2.enum(["started"]),
5582
+ z$2.enum(["success"])
5583
+ ]).describe("Represents the state of an event");
5584
+ //#endregion
5585
+ //#region src/generated/zod/event-change-schema.ts
5586
+ /**
5587
+ * Generated by Kubb (https://kubb.dev/).
5588
+ * Do not edit manually.
5589
+ */
5590
+ /**
5591
+ * @description Represents a change to an event
5592
+ */
5593
+ const EventChangeSchema = z$2.union([
5594
+ z$2.object({
5595
+ "createdAt": z$2.iso.datetime().describe("Timestamp when the event was created"),
5596
+ get "event"() {
5597
+ return AlienEventSchema.describe("Represents all possible events in the Alien system");
5598
+ },
5599
+ "id": z$2.string().describe("Unique identifier for the event"),
5600
+ "parentId": z$2.string().describe("Parent event ID if this is a child event").nullish(),
5601
+ get "state"() {
5602
+ return EventStateSchema.describe("Represents the state of an event");
5603
+ },
5604
+ "type": z$2.enum(["created"])
5605
+ }),
5606
+ z$2.object({
5607
+ get "event"() {
5608
+ return AlienEventSchema.describe("Represents all possible events in the Alien system");
5609
+ },
5610
+ "id": z$2.string().describe("Unique identifier for the event"),
5611
+ "type": z$2.enum(["updated"]),
5612
+ "updatedAt": z$2.iso.datetime().describe("Timestamp when the event was updated")
5613
+ }),
5614
+ z$2.object({
5615
+ "id": z$2.string().describe("Unique identifier for the event"),
5616
+ get "newState"() {
5617
+ return EventStateSchema.describe("Represents the state of an event");
5618
+ },
5619
+ "type": z$2.enum(["stateChanged"]),
5620
+ "updatedAt": z$2.iso.datetime().describe("Timestamp when the state changed")
5621
+ })
5622
+ ]).describe("Represents a change to an event");
5623
+ //#endregion
5624
+ //#region src/generated/zod/external-ai-binding-schema.ts
5625
+ /**
5626
+ * Generated by Kubb (https://kubb.dev/).
5627
+ * Do not edit manually.
5628
+ */
5629
+ /**
5630
+ * @description External AI provider binding configuration (BYO-key).\n\nThe operator-supplied secret rides inside the binding via\n`BindingValue<String>`, so it is a literal on cloud platforms and gains\nKubernetes SecretRef resolution for free (`extract_binding_secrets` walks\nthe binding JSON for `secretRef`).
5631
+ */
5632
+ const ExternalAiBindingSchema = z$2.object({
5633
+ get "apiKey"() {
5634
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5635
+ },
5636
+ "provider": z$2.string().describe("The external AI provider name (e.g., \"openai\", \"anthropic\")")
5637
+ }).describe("External AI provider binding configuration (BYO-key).\n\nThe operator-supplied secret rides inside the binding via\n`BindingValue<String>`, so it is a literal on cloud platforms and gains\nKubernetes SecretRef resolution for free (`extract_binding_secrets` walks\nthe binding JSON for `secretRef`).");
5638
+ //#endregion
5639
+ //#region src/generated/zod/firestore-kv-binding-schema.ts
5640
+ /**
5641
+ * Generated by Kubb (https://kubb.dev/).
5642
+ * Do not edit manually.
5643
+ */
5644
+ /**
5645
+ * @description GCP Firestore KV binding configuration
5646
+ */
5647
+ const FirestoreKvBindingSchema = z$2.object({
5648
+ get "collectionName"() {
5649
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5650
+ },
5651
+ get "databaseId"() {
5652
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5653
+ },
5654
+ get "projectId"() {
5655
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5656
+ }
5657
+ }).describe("GCP Firestore KV binding configuration");
5658
+ //#endregion
5659
+ //#region src/generated/zod/local-kv-binding-schema.ts
5660
+ /**
5661
+ * Generated by Kubb (https://kubb.dev/).
5662
+ * Do not edit manually.
5663
+ */
5664
+ /**
5665
+ * @description Local development KV binding configuration
5666
+ */
5667
+ const LocalKvBindingSchema = z$2.object({
5668
+ get "dataDir"() {
5669
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5670
+ },
5671
+ get "keyPrefix"() {
5672
+ return z$2.union([BindingValueStringSchema, z$2.null()]).optional();
5673
+ }
5674
+ }).describe("Local development KV binding configuration");
5675
+ //#endregion
5676
+ //#region src/generated/zod/redis-kv-binding-schema.ts
5677
+ /**
5678
+ * Generated by Kubb (https://kubb.dev/).
5679
+ * Do not edit manually.
5680
+ */
5681
+ /**
5682
+ * @description Redis KV binding configuration
5683
+ */
5684
+ const RedisKvBindingSchema = z$2.object({
5685
+ get "connectionUrl"() {
5686
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5687
+ },
5688
+ get "database"() {
5689
+ return z$2.union([BindingValueU8Schema, z$2.null()]).optional();
5690
+ },
5691
+ get "keyPrefix"() {
5692
+ return z$2.union([BindingValueStringSchema, z$2.null()]).optional();
5693
+ }
5694
+ }).describe("Redis KV binding configuration");
5695
+ //#endregion
5696
+ //#region src/generated/zod/table-storage-kv-binding-schema.ts
5697
+ /**
5698
+ * Generated by Kubb (https://kubb.dev/).
5699
+ * Do not edit manually.
5700
+ */
5701
+ /**
5702
+ * @description Azure Table Storage KV binding configuration
5703
+ */
5704
+ const TableStorageKvBindingSchema = z$2.object({
5705
+ get "accountName"() {
5706
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5707
+ },
5708
+ get "resourceGroupName"() {
5709
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5710
+ },
5711
+ get "tableName"() {
5712
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5713
+ }
5714
+ }).describe("Azure Table Storage KV binding configuration");
5715
+ //#endregion
5716
+ //#region src/generated/zod/kv-binding-schema.ts
5717
+ /**
5718
+ * Generated by Kubb (https://kubb.dev/).
5719
+ * Do not edit manually.
5720
+ */
5721
+ /**
5722
+ * @description Represents a KV binding for key-value storage across platforms
5723
+ */
5724
+ const KvBindingSchema = z$2.union([
5725
+ z$2.lazy(() => DynamodbKvBindingSchema).and(z$2.object({ "service": z$2.enum(["dynamodb"]) })).describe("AWS DynamoDB KV binding configuration"),
5726
+ z$2.lazy(() => FirestoreKvBindingSchema).and(z$2.object({ "service": z$2.enum(["firestore"]) })).describe("GCP Firestore KV binding configuration"),
5727
+ z$2.lazy(() => TableStorageKvBindingSchema).and(z$2.object({ "service": z$2.enum(["tablestorage"]) })).describe("Azure Table Storage KV binding configuration"),
5728
+ z$2.lazy(() => RedisKvBindingSchema).and(z$2.object({ "service": z$2.enum(["redis"]) })).describe("Redis KV binding configuration"),
5729
+ z$2.lazy(() => LocalKvBindingSchema).and(z$2.object({ "service": z$2.enum(["local-kv"]) })).describe("Local development KV binding configuration")
5730
+ ]).describe("Represents a KV binding for key-value storage across platforms");
5731
+ //#endregion
5732
+ //#region src/generated/zod/external-postgres-ssl-mode-schema.ts
5733
+ /**
5734
+ * Generated by Kubb (https://kubb.dev/).
5735
+ * Do not edit manually.
5736
+ */
5737
+ /**
5738
+ * @description TLS policy for an operator-provided / BYO Postgres database.\n\nUnlike libpq\'s ambiguous `prefer` mode, both choices map exactly to the\nconnection settings exposed by every supported SDK.
5739
+ */
5740
+ const ExternalPostgresSslModeSchema = z$2.enum(["verify-full", "disable"]).describe("TLS policy for an operator-provided / BYO Postgres database.\n\nUnlike libpq's ambiguous `prefer` mode, both choices map exactly to the\nconnection settings exposed by every supported SDK.");
5741
+ //#endregion
5742
+ //#region src/generated/zod/external-postgres-binding-schema.ts
5743
+ /**
5744
+ * Generated by Kubb (https://kubb.dev/).
5745
+ * Do not edit manually.
5746
+ */
5747
+ /**
5748
+ * @description Operator-provided / BYO database binding.
5749
+ */
5750
+ const ExternalPostgresBindingSchema = z$2.object({
5751
+ get "database"() {
5752
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5753
+ },
5754
+ get "host"() {
5755
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5756
+ },
5757
+ "password": z$2.string().describe("Connection password as a concrete value, never an unresolved `SecretRef`: the platform\nmaterializes the Kubernetes secret into the pod env. The cloud variants carry a secret\nlocator instead."),
5758
+ get "port"() {
5759
+ return BindingValueU16Schema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5760
+ },
5761
+ get "sslMode"() {
5762
+ return ExternalPostgresSslModeSchema.describe("TLS policy for an operator-provided / BYO Postgres database.\n\nUnlike libpq's ambiguous `prefer` mode, both choices map exactly to the\nconnection settings exposed by every supported SDK.").optional();
5763
+ },
5764
+ get "username"() {
5765
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5766
+ }
5767
+ }).describe("Operator-provided / BYO database binding.");
5768
+ //#endregion
5769
+ //#region src/generated/zod/flexible-server-postgres-binding-schema.ts
5770
+ /**
5771
+ * Generated by Kubb (https://kubb.dev/).
5772
+ * Do not edit manually.
5773
+ */
5774
+ /**
5775
+ * @description Azure Flexible Server binding.
5776
+ */
5777
+ const FlexibleServerPostgresBindingSchema = z$2.object({
5778
+ get "database"() {
5779
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5780
+ },
5781
+ get "host"() {
5782
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5783
+ },
5784
+ get "passwordSecretUri"() {
5785
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5786
+ },
5787
+ get "port"() {
5788
+ return BindingValueU16Schema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5789
+ },
5790
+ get "username"() {
5791
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5792
+ }
5793
+ }).describe("Azure Flexible Server binding.");
5794
+ //#endregion
5795
+ //#region src/generated/zod/local-postgres-binding-schema.ts
5796
+ /**
5797
+ * Generated by Kubb (https://kubb.dev/).
5798
+ * Do not edit manually.
5799
+ */
5800
+ /**
5801
+ * @description Local embedded Postgres binding.
5802
+ */
5803
+ const LocalPostgresBindingSchema = z$2.object({
5804
+ get "database"() {
5805
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5806
+ },
5807
+ get "host"() {
5808
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5809
+ },
5810
+ "password": z$2.string(),
5811
+ get "port"() {
5812
+ return BindingValueU16Schema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5813
+ },
5814
+ get "username"() {
5815
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5816
+ }
5817
+ }).describe("Local embedded Postgres binding.");
5818
+ //#endregion
5819
+ //#region src/generated/zod/postgres-binding-schema.ts
5820
+ /**
5821
+ * Generated by Kubb (https://kubb.dev/).
5822
+ * Do not edit manually.
5823
+ */
5824
+ /**
5825
+ * @description Connection details for a Postgres database, one variant per backend.
5826
+ */
5827
+ const PostgresBindingSchema = z$2.union([
5828
+ z$2.lazy(() => AuroraPostgresBindingSchema).and(z$2.object({ "service": z$2.enum(["aurora"]) })).describe("AWS Aurora Serverless v2 binding."),
5829
+ z$2.lazy(() => CloudSqlPostgresBindingSchema).and(z$2.object({ "service": z$2.enum(["cloud-sql"]) })).describe("GCP Cloud SQL binding."),
5830
+ z$2.lazy(() => FlexibleServerPostgresBindingSchema).and(z$2.object({ "service": z$2.enum(["flexible-server"]) })).describe("Azure Flexible Server binding."),
5831
+ z$2.lazy(() => ExternalPostgresBindingSchema).and(z$2.object({ "service": z$2.enum(["external"]) })).describe("Operator-provided / BYO database binding."),
5832
+ z$2.lazy(() => LocalPostgresBindingSchema).and(z$2.object({ "service": z$2.enum(["local-postgres"]) })).describe("Local embedded Postgres binding.")
5833
+ ]).describe("Connection details for a Postgres database, one variant per backend.");
5834
+ //#endregion
5835
+ //#region src/generated/zod/local-queue-binding-schema.ts
5836
+ /**
5837
+ * Generated by Kubb (https://kubb.dev/).
5838
+ * Do not edit manually.
5839
+ */
5840
+ /**
5841
+ * @description Local queue parameters
5842
+ */
5843
+ const LocalQueueBindingSchema = z$2.object({ get "queuePath"() {
5844
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5845
+ } }).describe("Local queue parameters");
5846
+ //#endregion
5847
+ //#region src/generated/zod/pub-sub-queue-binding-schema.ts
5848
+ /**
5849
+ * Generated by Kubb (https://kubb.dev/).
5850
+ * Do not edit manually.
5851
+ */
5852
+ /**
5853
+ * @description GCP Pub/Sub parameters
5854
+ */
5855
+ const PubSubQueueBindingSchema = z$2.object({
5856
+ get "subscription"() {
5857
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5858
+ },
5859
+ get "topic"() {
5860
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
4890
5861
  }
4891
- }).describe("Overall status of the dev server");
5862
+ }).describe("GCP Pub/Sub parameters");
4892
5863
  //#endregion
4893
- //#region src/generated/zod/public-endpoint-target-settings-schema.ts
5864
+ //#region src/generated/zod/service-bus-queue-binding-schema.ts
4894
5865
  /**
4895
5866
  * Generated by Kubb (https://kubb.dev/).
4896
5867
  * Do not edit manually.
4897
5868
  */
4898
5869
  /**
4899
- * @description DNS target mode for public endpoints.
5870
+ * @description Azure Service Bus parameters
4900
5871
  */
4901
- const PublicEndpointTargetSettingsSchema = z$2.union([z$2.object({ "mode": z$2.enum(["machineAddresses"]) }), z$2.object({
4902
- "cnameTarget": z$2.string().describe("DNS name or URL for the external load balancer."),
4903
- "mode": z$2.enum(["loadBalancer"])
4904
- })]).describe("DNS target mode for public endpoints.");
5872
+ const ServiceBusQueueBindingSchema = z$2.object({
5873
+ get "namespace"() {
5874
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5875
+ },
5876
+ get "queueName"() {
5877
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5878
+ }
5879
+ }).describe("Azure Service Bus parameters");
4905
5880
  //#endregion
4906
- //#region src/generated/zod/domain-settings-schema.ts
5881
+ //#region src/generated/zod/sqs-queue-binding-schema.ts
4907
5882
  /**
4908
5883
  * Generated by Kubb (https://kubb.dev/).
4909
5884
  * Do not edit manually.
4910
5885
  */
4911
5886
  /**
4912
- * @description Domain configuration for the stack.\n\nWhen `custom_domains` is set, the specified resources use customer-provided\ndomains and certificates. Otherwise, Alien auto-generates domains.
5887
+ * @description AWS SQS queue parameters
4913
5888
  */
4914
- const DomainSettingsSchema = z$2.object({
4915
- "customDomains": z$2.object({}).catchall(z$2.lazy(() => CustomDomainConfigSchema).describe("Custom domain configuration for a single resource.")).describe("Custom domain configuration per resource ID.").nullish(),
4916
- get "publicEndpointTarget"() {
4917
- return z$2.union([PublicEndpointTargetSettingsSchema, z$2.null()]).optional();
4918
- }
4919
- }).describe("Domain configuration for the stack.\n\nWhen `custom_domains` is set, the specified resources use customer-provided\ndomains and certificates. Otherwise, Alien auto-generates domains.");
5889
+ const SqsQueueBindingSchema = z$2.object({ get "queueUrl"() {
5890
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5891
+ } }).describe("AWS SQS queue parameters");
4920
5892
  //#endregion
4921
- //#region src/generated/zod/dynamic-container-health-check-schema.ts
5893
+ //#region src/generated/zod/queue-binding-schema.ts
4922
5894
  /**
4923
5895
  * Generated by Kubb (https://kubb.dev/).
4924
5896
  * Do not edit manually.
4925
5897
  */
4926
- const DynamicContainerHealthCheckSchema = z$2.object({
4927
- "path": z$2.string(),
4928
- "port": z$2.int().min(0)
4929
- });
5898
+ /**
5899
+ * @description Binding parameters for Queue at runtime or in templates.
5900
+ */
5901
+ const QueueBindingSchema = z$2.union([
5902
+ z$2.lazy(() => SqsQueueBindingSchema).and(z$2.object({ "service": z$2.enum(["sqs"]) })).describe("AWS SQS queue parameters"),
5903
+ z$2.lazy(() => PubSubQueueBindingSchema).and(z$2.object({ "service": z$2.enum(["pubsub"]) })).describe("GCP Pub/Sub parameters"),
5904
+ z$2.lazy(() => ServiceBusQueueBindingSchema).and(z$2.object({ "service": z$2.enum(["servicebus"]) })).describe("Azure Service Bus parameters"),
5905
+ z$2.lazy(() => LocalQueueBindingSchema).and(z$2.object({ "service": z$2.enum(["local-queue"]) })).describe("Local queue parameters")
5906
+ ]).describe("Binding parameters for Queue at runtime or in templates.");
4930
5907
  //#endregion
4931
- //#region src/generated/zod/dynamic-container-status-schema.ts
5908
+ //#region src/generated/zod/gcs-storage-binding-schema.ts
4932
5909
  /**
4933
5910
  * Generated by Kubb (https://kubb.dev/).
4934
5911
  * Do not edit manually.
4935
5912
  */
4936
- const DynamicContainerStatusSchema = z$2.enum([
4937
- "pending",
4938
- "running",
4939
- "failing",
4940
- "stopped"
4941
- ]);
4942
- z$2.object({
4943
- "generation": z$2.int().min(0),
4944
- "message": z$2.string().nullish(),
4945
- "name": z$2.string(),
4946
- get "status"() {
4947
- return DynamicContainerStatusSchema;
4948
- }
4949
- }).describe("What the Operator observed after applying one target generation.");
5913
+ /**
5914
+ * @description Google Cloud Storage binding configuration
5915
+ */
5916
+ const GcsStorageBindingSchema = z$2.object({ get "bucketName"() {
5917
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5918
+ } }).describe("Google Cloud Storage binding configuration");
4950
5919
  //#endregion
4951
- //#region src/generated/zod/email-dkim-token-schema.ts
5920
+ //#region src/generated/zod/local-storage-binding-schema.ts
4952
5921
  /**
4953
5922
  * Generated by Kubb (https://kubb.dev/).
4954
5923
  * Do not edit manually.
4955
5924
  */
4956
5925
  /**
4957
- * @description A single DKIM CNAME record the operator must create in DNS.
5926
+ * @description Local filesystem storage binding configuration
4958
5927
  */
4959
- const EmailDkimTokenSchema = z$2.object({
4960
- "name": z$2.string().describe("CNAME record host name."),
4961
- "value": z$2.string().describe("CNAME record value.")
4962
- }).describe("A single DKIM CNAME record the operator must create in DNS.");
5928
+ const LocalStorageBindingSchema = z$2.object({ get "storagePath"() {
5929
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5930
+ } }).describe("Local filesystem storage binding configuration");
4963
5931
  //#endregion
4964
- //#region src/generated/zod/email-domain-outputs-schema.ts
5932
+ //#region src/generated/zod/s3-storage-binding-schema.ts
4965
5933
  /**
4966
5934
  * Generated by Kubb (https://kubb.dev/).
4967
5935
  * Do not edit manually.
4968
5936
  */
4969
5937
  /**
4970
- * @description Per-domain DNS records the operator must create.
5938
+ * @description S3 storage binding configuration.\n\nTargets AWS S3 by default. Setting `endpoint` targets any S3-compatible\nstore instead (MinIO, Ceph RGW, NetApp StorageGRID, Cloudflare R2, ...),\nwhich is how Kubernetes deployments outside a cloud account attach the\ncustomer\'s existing object storage.
4971
5939
  */
4972
- const EmailDomainOutputsSchema = z$2.object({ get "dkimTokens"() {
4973
- return z$2.array(EmailDkimTokenSchema.describe("A single DKIM CNAME record the operator must create in DNS.")).describe("Easy-DKIM CNAME tokens (three per domain). The domain is verified once\nthese records exist in its DNS configuration.");
4974
- } }).describe("Per-domain DNS records the operator must create.");
5940
+ const S3StorageBindingSchema = z$2.object({
5941
+ get "accessKeyId"() {
5942
+ return z$2.union([BindingValueStringSchema, z$2.null()]).optional();
5943
+ },
5944
+ get "bucketName"() {
5945
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5946
+ },
5947
+ get "endpoint"() {
5948
+ return z$2.union([BindingValueStringSchema, z$2.null()]).optional();
5949
+ },
5950
+ "forcePathStyle": z$2.boolean().describe("Use path-style URLs (`endpoint/bucket/key`) instead of virtual-hosted\nones (`bucket.endpoint/key`). Defaults to `true` when `endpoint` is\nset, since most S3-compatible stores require it.").nullish(),
5951
+ get "region"() {
5952
+ return z$2.union([BindingValueStringSchema, z$2.null()]).optional();
5953
+ },
5954
+ get "secretAccessKey"() {
5955
+ return z$2.union([BindingValueStringSchema, z$2.null()]).optional();
5956
+ }
5957
+ }).describe("S3 storage binding configuration.\n\nTargets AWS S3 by default. Setting `endpoint` targets any S3-compatible\nstore instead (MinIO, Ceph RGW, NetApp StorageGRID, Cloudflare R2, ...),\nwhich is how Kubernetes deployments outside a cloud account attach the\ncustomer's existing object storage.");
4975
5958
  //#endregion
4976
- //#region src/generated/zod/email-events-schema.ts
5959
+ //#region src/generated/zod/storage-binding-schema.ts
4977
5960
  /**
4978
5961
  * Generated by Kubb (https://kubb.dev/).
4979
5962
  * Do not edit manually.
4980
5963
  */
4981
5964
  /**
4982
- * @description Event configuration for an [`Email`] resource.
5965
+ * @description Service-type based storage binding that supports multiple storage providers
4983
5966
  */
4984
- const EmailEventsSchema = z$2.object({ get "queue"() {
4985
- return ResourceRefSchema.describe("Reference to a resource by its stable id and resource type.");
4986
- } }).describe("Event configuration for an [`Email`] resource.");
5967
+ const StorageBindingSchema = z$2.union([
5968
+ z$2.lazy(() => S3StorageBindingSchema).and(z$2.object({ "service": z$2.enum(["s3"]) })).describe("S3 storage binding configuration.\n\nTargets AWS S3 by default. Setting `endpoint` targets any S3-compatible\nstore instead (MinIO, Ceph RGW, NetApp StorageGRID, Cloudflare R2, ...),\nwhich is how Kubernetes deployments outside a cloud account attach the\ncustomer's existing object storage."),
5969
+ z$2.lazy(() => BlobStorageBindingSchema).and(z$2.object({ "service": z$2.enum(["blob"]) })).describe("Azure Blob Storage binding configuration"),
5970
+ z$2.lazy(() => GcsStorageBindingSchema).and(z$2.object({ "service": z$2.enum(["gcs"]) })).describe("Google Cloud Storage binding configuration"),
5971
+ z$2.lazy(() => LocalStorageBindingSchema).and(z$2.object({ "service": z$2.enum(["local-storage"]) })).describe("Local filesystem storage binding configuration")
5972
+ ]).describe("Service-type based storage binding that supports multiple storage providers");
4987
5973
  //#endregion
4988
- //#region src/generated/zod/email-inbound-schema.ts
5974
+ //#region src/generated/zod/key-vault-binding-schema.ts
4989
5975
  /**
4990
5976
  * Generated by Kubb (https://kubb.dev/).
4991
5977
  * Do not edit manually.
4992
5978
  */
4993
5979
  /**
4994
- * @description Inbound-mail configuration for an [`Email`] resource.
5980
+ * @description Azure Key Vault binding configuration
4995
5981
  */
4996
- const EmailInboundSchema = z$2.object({ get "storage"() {
4997
- return ResourceRefSchema.describe("Reference to a resource by its stable id and resource type.");
4998
- } }).describe("Inbound-mail configuration for an [`Email`] resource.");
4999
- z$2.object({
5000
- "configurationSet": z$2.string().describe("The provisioned configuration set name (used when sending)."),
5001
- "domains": z$2.object({}).catchall(z$2.lazy(() => EmailDomainOutputsSchema).describe("Per-domain DNS records the operator must create.")).describe("DNS records per mail domain."),
5002
- "ruleSetName": z$2.string().describe("The inbound receipt rule set name, when `inbound` is configured.").nullish()
5003
- }).describe("Outputs generated by a successfully provisioned Email resource.\n\nDomain verification status cannot be known at provisioning time — SES\nverifies a domain asynchronously once its DKIM records exist in DNS — so\nthe outputs carry the records the operator must create rather than a\nverification result.");
5982
+ const KeyVaultBindingSchema = z$2.object({ get "vaultName"() {
5983
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5984
+ } }).describe("Azure Key Vault binding configuration");
5004
5985
  //#endregion
5005
- //#region src/generated/zod/email-schema.ts
5986
+ //#region src/generated/zod/kubernetes-secret-vault-binding-schema.ts
5006
5987
  /**
5007
5988
  * Generated by Kubb (https://kubb.dev/).
5008
5989
  * Do not edit manually.
5009
5990
  */
5010
5991
  /**
5011
- * @description Email infrastructure for sending and receiving mail on customer-owned\ndomains. On AWS this is backed by SES: a shared configuration set, optional\ninbound/event wiring, and one email identity (Easy DKIM) per seed domain.\n\n# Infrastructure vs runtime data\n\nThis resource owns the email *infrastructure* and the capability to use it,\nnot the domain lifecycle. Deployment manages the configuration set, the\nevent topology, the inbound receipt topology, and any seed identities\nlisted in `domains`. Email identities created at runtime through the\n`email/manage-identities` grant are application data: they are not tracked\nby the deployment, are not removed when the stack is deleted, and their\nlifecycle — including deletion — belongs to the application.\n\nThe operator (or the application, for runtime-created identities) owns DNS:\nthe per-domain DKIM CNAME records surfaced in [`EmailOutputs`] must be\ncreated before SES verifies a domain and allows sending from it.\n\n# Inbound mail (AWS)\n\nWhen `inbound` is set, a SES receipt rule set is provisioned that writes\nraw incoming mail into the linked Storage bucket. The receipt rule is a\ncatch-all (no recipient filter), so mail for identities verified at runtime\nlands in the bucket without any infrastructure change.\n\nAlien activates the provisioned receipt rule set as part of setup. Because\nSES permits only one active receipt rule set per AWS account and region, an\nAWS stack may contain only one email resource with inbound delivery. The\nresource requires exclusive ownership of SES receiving in its account and\nregion: setup refuses to replace an active rule set it does not own. Choose\nan unused region when the account already receives email through SES. SES email\nreceiving is available only in a subset of AWS regions; deploying `inbound`\nto an unsupported region fails during setup.\n\n# Update semantics\n\n`domains` is append-friendly: adding a domain provisions a new identity,\nremoving a domain deletes its identity (and its DKIM verification state).\nThe list may be empty. `inbound` and `events` may be added, removed, or\nrepointed; removing them tears down the corresponding receipt rule set /\nevent destination wiring.
5992
+ * @description Kubernetes Secrets vault binding configuration
5012
5993
  */
5013
- const EmailSchema = z$2.object({
5014
- "domains": z$2.optional(z$2.array(z$2.string()).describe("Seed mail domains provisioned at deploy time (one SES identity each).\nUseful for day-0 bootstrap and products with a static domain set.\nMay be empty (the default): products that create and verify domains\ndynamically should manage identities at runtime through the\n`email/manage-identities` grant instead of listing them here.")),
5015
- get "events"() {
5016
- return z$2.union([EmailEventsSchema, z$2.null()]).optional();
5994
+ const KubernetesSecretVaultBindingSchema = z$2.object({
5995
+ get "namespace"() {
5996
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5017
5997
  },
5018
- "id": z$2.string().describe("Identifier for the email resource. Must contain only alphanumeric\ncharacters, hyphens, and underscores ([A-Za-z0-9-_]). Maximum 64 characters."),
5019
- get "inbound"() {
5020
- return z$2.union([EmailInboundSchema, z$2.null()]).optional();
5998
+ get "vaultPrefix"() {
5999
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
5021
6000
  }
5022
- }).describe("Email infrastructure for sending and receiving mail on customer-owned\ndomains. On AWS this is backed by SES: a shared configuration set, optional\ninbound/event wiring, and one email identity (Easy DKIM) per seed domain.\n\n# Infrastructure vs runtime data\n\nThis resource owns the email *infrastructure* and the capability to use it,\nnot the domain lifecycle. Deployment manages the configuration set, the\nevent topology, the inbound receipt topology, and any seed identities\nlisted in `domains`. Email identities created at runtime through the\n`email/manage-identities` grant are application data: they are not tracked\nby the deployment, are not removed when the stack is deleted, and their\nlifecycle — including deletion — belongs to the application.\n\nThe operator (or the application, for runtime-created identities) owns DNS:\nthe per-domain DKIM CNAME records surfaced in [`EmailOutputs`] must be\ncreated before SES verifies a domain and allows sending from it.\n\n# Inbound mail (AWS)\n\nWhen `inbound` is set, a SES receipt rule set is provisioned that writes\nraw incoming mail into the linked Storage bucket. The receipt rule is a\ncatch-all (no recipient filter), so mail for identities verified at runtime\nlands in the bucket without any infrastructure change.\n\nAlien activates the provisioned receipt rule set as part of setup. Because\nSES permits only one active receipt rule set per AWS account and region, an\nAWS stack may contain only one email resource with inbound delivery. The\nresource requires exclusive ownership of SES receiving in its account and\nregion: setup refuses to replace an active rule set it does not own. Choose\nan unused region when the account already receives email through SES. SES email\nreceiving is available only in a subset of AWS regions; deploying `inbound`\nto an unsupported region fails during setup.\n\n# Update semantics\n\n`domains` is append-friendly: adding a domain provisions a new identity,\nremoving a domain deletes its identity (and its DKIM verification state).\nThe list may be empty. `inbound` and `events` may be added, removed, or\nrepointed; removing them tears down the corresponding receipt rule set /\nevent destination wiring.");
6001
+ }).describe("Kubernetes Secrets vault binding configuration");
5023
6002
  //#endregion
5024
- //#region src/generated/zod/endpoint-access-schema.ts
6003
+ //#region src/generated/zod/local-vault-binding-schema.ts
5025
6004
  /**
5026
6005
  * Generated by Kubb (https://kubb.dev/).
5027
6006
  * Do not edit manually.
5028
6007
  */
5029
6008
  /**
5030
- * @description Reachability of the deployment\'s public endpoints, fixed at setup.
6009
+ * @description Local development vault binding (for testing/development)
5031
6010
  */
5032
- const EndpointAccessSchema = z$2.enum(["internet", "private"]).describe("Reachability of the deployment's public endpoints, fixed at setup.");
6011
+ const LocalVaultBindingSchema = z$2.object({
6012
+ get "dataDir"() {
6013
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
6014
+ },
6015
+ "vaultName": z$2.string().describe("The vault name for local storage")
6016
+ }).describe("Local development vault binding (for testing/development)");
5033
6017
  //#endregion
5034
- //#region src/generated/zod/response-handling-schema.ts
6018
+ //#region src/generated/zod/parameter-store-vault-binding-schema.ts
5035
6019
  /**
5036
6020
  * Generated by Kubb (https://kubb.dev/).
5037
6021
  * Do not edit manually.
5038
6022
  */
5039
6023
  /**
5040
- * @description Response handling configuration for deployments
6024
+ * @description AWS SSM Parameter Store vault binding configuration
5041
6025
  */
5042
- const ResponseHandlingSchema = z$2.object({
5043
- "maxInlineBytes": z$2.int().min(0).describe("Maximum response body size that can be submitted inline"),
5044
- get "storageUploadRequest"() {
5045
- return PresignedRequestSchema.describe("A presigned request that can be serialized, stored, and executed later.\nHides implementation details for different storage backends.");
5046
- },
5047
- "submitResponseUrl": z$2.string().describe("URL where deployments submit responses")
5048
- }).describe("Response handling configuration for deployments");
6026
+ const ParameterStoreVaultBindingSchema = z$2.object({ get "vaultPrefix"() {
6027
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
6028
+ } }).describe("AWS SSM Parameter Store vault binding configuration");
5049
6029
  //#endregion
5050
- //#region src/generated/zod/trace-context-schema.ts
6030
+ //#region src/generated/zod/secret-manager-vault-binding-schema.ts
5051
6031
  /**
5052
6032
  * Generated by Kubb (https://kubb.dev/).
5053
6033
  * Do not edit manually.
5054
6034
  */
5055
6035
  /**
5056
- * @description W3C Trace Context propagated with a command lease.\n\nThe values are kept in their standard wire form so receivers can attach\nthem to handler telemetry without inventing separate trace/span fields.
6036
+ * @description GCP Secret Manager vault binding configuration
5057
6037
  */
5058
- const TraceContextSchema = z$2.object({
5059
- "traceparent": z$2.string().describe("W3C `traceparent` header value."),
5060
- "tracestate": z$2.string().describe("Optional W3C `tracestate` header value.").nullish()
5061
- }).describe("W3C Trace Context propagated with a command lease.\n\nThe values are kept in their standard wire form so receivers can attach\nthem to handler telemetry without inventing separate trace/span fields.");
6038
+ const SecretManagerVaultBindingSchema = z$2.object({ get "vaultPrefix"() {
6039
+ return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
6040
+ } }).describe("GCP Secret Manager vault binding configuration");
5062
6041
  //#endregion
5063
- //#region src/generated/zod/envelope-schema.ts
6042
+ //#region src/generated/zod/vault-binding-schema.ts
5064
6043
  /**
5065
6044
  * Generated by Kubb (https://kubb.dev/).
5066
6045
  * Do not edit manually.
5067
6046
  */
5068
6047
  /**
5069
- * @description Commands envelope sent to deployments
6048
+ * @description Represents a vault binding for secure secret management
5070
6049
  */
5071
- const EnvelopeSchema = z$2.object({
5072
- "attempt": z$2.int().min(0).describe("Attempt number (starts at 1)"),
5073
- "command": z$2.string().describe("Command name (e.g., \"generate-report\", \"sync-data\")"),
5074
- "commandId": z$2.string().describe("Unique command identifier"),
5075
- "deadline": z$2.iso.datetime().describe("Command deadline").nullish(),
5076
- "deploymentId": z$2.string().describe("Target deployment identifier"),
5077
- get "params"() {
5078
- return BodySpecSchema.describe("Body specification supporting inline and storage modes");
5079
- },
5080
- "protocol": z$2.string().describe("Protocol version identifier"),
5081
- get "responseHandling"() {
5082
- return ResponseHandlingSchema.describe("Response handling configuration for deployments");
5083
- },
5084
- get "target"() {
5085
- return CommandTargetSchema.describe("Identifies the specific resource a command is addressed to.");
5086
- },
5087
- get "traceContext"() {
5088
- return z$2.union([TraceContextSchema, z$2.null()]).optional();
5089
- }
5090
- }).describe("Commands envelope sent to deployments");
6050
+ const VaultBindingSchema = z$2.union([
6051
+ z$2.lazy(() => ParameterStoreVaultBindingSchema).and(z$2.object({ "service": z$2.enum(["parameter-store"]) })).describe("AWS SSM Parameter Store vault binding configuration"),
6052
+ z$2.lazy(() => SecretManagerVaultBindingSchema).and(z$2.object({ "service": z$2.enum(["secret-manager"]) })).describe("GCP Secret Manager vault binding configuration"),
6053
+ z$2.lazy(() => KeyVaultBindingSchema).and(z$2.object({ "service": z$2.enum(["key-vault"]) })).describe("Azure Key Vault binding configuration"),
6054
+ z$2.lazy(() => KubernetesSecretVaultBindingSchema).and(z$2.object({ "service": z$2.enum(["kubernetes-secret"]) })).describe("Kubernetes Secrets vault binding configuration"),
6055
+ z$2.lazy(() => LocalVaultBindingSchema).and(z$2.object({ "service": z$2.enum(["local-vault"]) })).describe("Local development vault binding (for testing/development)")
6056
+ ]).describe("Represents a vault binding for secure secret management");
5091
6057
  //#endregion
5092
- //#region src/generated/zod/event-state-schema.ts
6058
+ //#region src/generated/zod/external-binding-schema.ts
5093
6059
  /**
5094
6060
  * Generated by Kubb (https://kubb.dev/).
5095
6061
  * Do not edit manually.
5096
6062
  */
5097
6063
  /**
5098
- * @description Represents the state of an event
6064
+ * @description Represents a binding to pre-existing infrastructure.\n\nThe binding type must match the resource type it\'s applied to.\nValidated at runtime by the executor.
5099
6065
  */
5100
- const EventStateSchema = z$2.union([
5101
- z$2.object({ "failed": z$2.object({ get "error"() {
5102
- return z$2.union([AlienErrorSchema, z$2.null()]).optional();
5103
- } }).describe("Event failed with an error") }),
5104
- z$2.enum(["none"]),
5105
- z$2.enum(["started"]),
5106
- z$2.enum(["success"])
5107
- ]).describe("Represents the state of an event");
6066
+ const ExternalBindingSchema = z$2.union([
6067
+ z$2.lazy(() => StorageBindingSchema).and(z$2.object({ "type": z$2.enum(["storage"]) })).describe("Service-type based storage binding that supports multiple storage providers"),
6068
+ z$2.lazy(() => QueueBindingSchema).and(z$2.object({ "type": z$2.enum(["queue"]) })).describe("Binding parameters for Queue at runtime or in templates."),
6069
+ z$2.lazy(() => KvBindingSchema).and(z$2.object({ "type": z$2.enum(["kv"]) })).describe("Represents a KV binding for key-value storage across platforms"),
6070
+ z$2.lazy(() => ArtifactRegistryBindingSchema).and(z$2.object({ "type": z$2.enum(["artifact_registry"]) })).describe("Service-type based artifact registry binding that supports multiple registry providers"),
6071
+ z$2.lazy(() => VaultBindingSchema).and(z$2.object({ "type": z$2.enum(["vault"]) })).describe("Represents a vault binding for secure secret management"),
6072
+ z$2.lazy(() => ContainerAppsEnvironmentBindingSchema).and(z$2.object({ "type": z$2.enum(["container_apps_environment"]) })).describe("Binding configuration for a pre-existing Azure Container Apps Environment.\n\nUsed when deploying to an existing environment instead of having Alien provision one.\nThis is useful for shared environments (e.g., test infrastructure) or enterprise\nsetups where environments are managed by a separate team."),
6073
+ z$2.lazy(() => PostgresBindingSchema).and(z$2.object({ "type": z$2.enum(["postgres"]) })).describe("Connection details for a Postgres database, one variant per backend."),
6074
+ z$2.lazy(() => ExternalAiBindingSchema).and(z$2.object({ "type": z$2.enum(["ai"]) })).describe("External AI provider binding configuration (BYO-key).\n\nThe operator-supplied secret rides inside the binding via\n`BindingValue<String>`, so it is a literal on cloud platforms and gains\nKubernetes SecretRef resolution for free (`extract_binding_secrets` walks\nthe binding JSON for `secretRef`).")
6075
+ ]).describe("Represents a binding to pre-existing infrastructure.\n\nThe binding type must match the resource type it's applied to.\nValidated at runtime by the executor.");
5108
6076
  //#endregion
5109
- //#region src/generated/zod/event-change-schema.ts
6077
+ //#region src/generated/zod/external-bindings-schema.ts
5110
6078
  /**
5111
6079
  * Generated by Kubb (https://kubb.dev/).
5112
6080
  * Do not edit manually.
5113
6081
  */
5114
6082
  /**
5115
- * @description Represents a change to an event
6083
+ * @description Map from resource ID to external binding.\n\nValidated at runtime: binding type must match resource type.
5116
6084
  */
5117
- const EventChangeSchema = z$2.union([
5118
- z$2.object({
5119
- "createdAt": z$2.iso.datetime().describe("Timestamp when the event was created"),
5120
- get "event"() {
5121
- return AlienEventSchema.describe("Represents all possible events in the Alien system");
5122
- },
5123
- "id": z$2.string().describe("Unique identifier for the event"),
5124
- "parentId": z$2.string().describe("Parent event ID if this is a child event").nullish(),
5125
- get "state"() {
5126
- return EventStateSchema.describe("Represents the state of an event");
5127
- },
5128
- "type": z$2.enum(["created"])
5129
- }),
5130
- z$2.object({
5131
- get "event"() {
5132
- return AlienEventSchema.describe("Represents all possible events in the Alien system");
5133
- },
5134
- "id": z$2.string().describe("Unique identifier for the event"),
5135
- "type": z$2.enum(["updated"]),
5136
- "updatedAt": z$2.iso.datetime().describe("Timestamp when the event was updated")
5137
- }),
5138
- z$2.object({
5139
- "id": z$2.string().describe("Unique identifier for the event"),
5140
- get "newState"() {
5141
- return EventStateSchema.describe("Represents the state of an event");
5142
- },
5143
- "type": z$2.enum(["stateChanged"]),
5144
- "updatedAt": z$2.iso.datetime().describe("Timestamp when the state changed")
5145
- })
5146
- ]).describe("Represents a change to an event");
6085
+ const ExternalBindingsSchema = z$2.object({}).catchall(z$2.lazy(() => ExternalBindingSchema).describe("Represents a binding to pre-existing infrastructure.\n\nThe binding type must match the resource type it's applied to.\nValidated at runtime by the executor.")).describe("Map from resource ID to external binding.\n\nValidated at runtime: binding type must match resource type.");
5147
6086
  z$2.object({ "engineId": z$2.string().describe("The engine's resource name, or the bare id it ends with.") }).describe("GCP Agent Platform reasoning-engine ImportData.\n\nEmitted only for a Frozen engine, which the setup stack creates. Vertex assigns the id, so it\nis read off the created resource rather than derived: the controller and the template beneath\nit address the engine by exactly this segment.");
5148
6087
  //#endregion
5149
6088
  //#region src/generated/zod/gcp-agent-platform-sandbox-heartbeat-data-schema.ts
@@ -5369,25 +6308,6 @@ const GcpNetworkImportDataSchema = z$2.object({
5369
6308
  "vpcName": z$2.string().describe("VPC short name.").nullish(),
5370
6309
  "vpcSelfLink": z$2.string().describe("VPC self-link. Absent when the controller will look up the\ndefault network at runtime.").nullish()
5371
6310
  }).describe("GCP Network ImportData — VPC + subnetwork + Cloud NAT topology.");
5372
- //#endregion
5373
- //#region src/generated/zod/gcp-platform-permission-schema.ts
5374
- /**
5375
- * Generated by Kubb (https://kubb.dev/).
5376
- * Do not edit manually.
5377
- */
5378
- /**
5379
- * @description GCP-specific platform permission configuration
5380
- */
5381
- const GcpPlatformPermissionSchema = z$2.object({
5382
- get "binding"() {
5383
- return BindingConfigurationGcpBindingSpecSchema.describe("Generic binding configuration for permissions");
5384
- },
5385
- "description": z$2.string().describe("Short admin-facing description of why this entry exists.").nullish(),
5386
- get "grant"() {
5387
- return PermissionGrantSchema.describe("Grant permissions for a specific cloud platform");
5388
- },
5389
- "label": z$2.string().describe("Stable admin-facing label for this permission entry.").nullish()
5390
- }).describe("GCP-specific platform permission configuration");
5391
6311
  z$2.object({
5392
6312
  "database": z$2.string().describe("Default database name."),
5393
6313
  "databaseVersion": z$2.string().describe("Engine version the instance reports."),
@@ -6406,62 +7326,6 @@ const ManagementConfigSchema = z$2.union([
6406
7326
  z$2.object({ "platform": z$2.enum(["kubernetes"]) })
6407
7327
  ]).describe("Management configuration for different cloud platforms.\n\nPlatform-derived configuration for cross-account/cross-tenant access.\nThis is NOT user-specified - it's derived from the Manager's ServiceAccount.");
6408
7328
  //#endregion
6409
- //#region src/generated/zod/platform-permissions-schema.ts
6410
- /**
6411
- * Generated by Kubb (https://kubb.dev/).
6412
- * Do not edit manually.
6413
- */
6414
- /**
6415
- * @description Platform-specific permission configurations
6416
- */
6417
- const PlatformPermissionsSchema = z$2.object({
6418
- get "aws"() {
6419
- return z$2.array(AwsPlatformPermissionSchema.describe("AWS-specific platform permission configuration")).describe("AWS permission configurations").nullish();
6420
- },
6421
- get "azure"() {
6422
- return z$2.array(AzurePlatformPermissionSchema.describe("Azure-specific platform permission configuration")).describe("Azure permission configurations").nullish();
6423
- },
6424
- get "gcp"() {
6425
- return z$2.array(GcpPlatformPermissionSchema.describe("GCP-specific platform permission configuration")).describe("GCP permission configurations").nullish();
6426
- }
6427
- }).describe("Platform-specific permission configurations");
6428
- //#endregion
6429
- //#region src/generated/zod/permission-set-schema.ts
6430
- /**
6431
- * Generated by Kubb (https://kubb.dev/).
6432
- * Do not edit manually.
6433
- */
6434
- /**
6435
- * @description A permission set that can be applied across different cloud platforms
6436
- */
6437
- const PermissionSetSchema = z$2.object({
6438
- "description": z$2.string().describe("Human-readable description of what this permission set allows"),
6439
- "id": z$2.string().describe("Unique identifier for the permission set (e.g., \"storage/data-read\")"),
6440
- get "platforms"() {
6441
- return PlatformPermissionsSchema.describe("Platform-specific permission configurations");
6442
- }
6443
- }).describe("A permission set that can be applied across different cloud platforms");
6444
- //#endregion
6445
- //#region src/generated/zod/permission-set-reference-schema.ts
6446
- /**
6447
- * Generated by Kubb (https://kubb.dev/).
6448
- * Do not edit manually.
6449
- */
6450
- /**
6451
- * @description Reference to a permission set - either by name or inline definition
6452
- */
6453
- const PermissionSetReferenceSchema = z$2.union([z$2.lazy(() => PermissionSetSchema), z$2.string()]).describe("Reference to a permission set - either by name or inline definition");
6454
- //#endregion
6455
- //#region src/generated/zod/permission-profile-schema.ts
6456
- /**
6457
- * Generated by Kubb (https://kubb.dev/).
6458
- * Do not edit manually.
6459
- */
6460
- /**
6461
- * @description Permission profile that maps resources to permission sets\nKey can be \"*\" for all resources or resource name for specific resource
6462
- */
6463
- const PermissionProfileSchema = z$2.object({}).catchall(z$2.array(z$2.lazy(() => PermissionSetReferenceSchema).describe("Reference to a permission set - either by name or inline definition"))).describe("Permission profile that maps resources to permission sets\nKey can be \"*\" for all resources or resource name for specific resource");
6464
- //#endregion
6465
7329
  //#region src/generated/zod/management-permissions-schema.ts
6466
7330
  /**
6467
7331
  * Generated by Kubb (https://kubb.dev/).
@@ -7369,6 +8233,7 @@ const ServiceAccountOutputsSchema = z$2.object({
7369
8233
  */
7370
8234
  const ServiceAccountSchema = z$2.object({
7371
8235
  "id": z$2.string().describe("Identifier for the service account. Must contain only alphanumeric characters, hyphens, and underscores ([A-Za-z0-9-_]).\nMaximum 64 characters."),
8236
+ "resourcePermissionSets": z$2.optional(z$2.object({}).catchall(z$2.array(z$2.lazy(() => PermissionSetSchema).describe("A permission set that can be applied across different cloud platforms"))).describe("Resolved grants for concrete resource IDs, captured for setup comparison.")),
7372
8237
  get "stackPermissionSets"() {
7373
8238
  return z$2.array(PermissionSetSchema.describe("A permission set that can be applied across different cloud platforms")).describe("Stack-level permission sets that apply to all resources in the stack.\nThese are derived from the \"*\" scope in the permission profile.\nResource-scoped permissions are handled by individual resource controllers.");
7374
8239
  }
@@ -7419,7 +8284,9 @@ const StackSettingsSchema = z$2.object({
7419
8284
  get "endpointAccess"() {
7420
8285
  return EndpointAccessSchema.describe("Reachability of the deployment's public endpoints, fixed at setup.").optional();
7421
8286
  },
7422
- "externalBindings": z$2.object({}).describe("External bindings for pre-existing infrastructure.\nAllows using existing resources (MinIO, Redis, shared Container Apps\nEnvironment, etc.) instead of having Alien provision them.\nRequired for Kubernetes platform, optional for cloud platforms.").nullish(),
8287
+ get "externalBindings"() {
8288
+ return z$2.union([ExternalBindingsSchema, z$2.null()]).optional();
8289
+ },
7423
8290
  get "heartbeats"() {
7424
8291
  return HeartbeatsModeSchema.describe("How heartbeat health checks are handled.").optional();
7425
8292
  },
@@ -8345,8 +9212,10 @@ var AlienError = class AlienError extends Error {
8345
9212
  context: contextData
8346
9213
  };
8347
9214
  } else options = input;
9215
+ const sourceOptions = options.source;
9216
+ const source = sourceOptions && typeof sourceOptions === "object" && "code" in sourceOptions && "message" in sourceOptions && "retryable" in sourceOptions && "internal" in sourceOptions ? new AlienError(sourceOptions) : void 0;
8348
9217
  const message = options.message;
8349
- super(message, { cause: options.source });
9218
+ super(message, { cause: source });
8350
9219
  this.name = "AlienError";
8351
9220
  this.code = options.code;
8352
9221
  this.retryable = options.retryable;
@@ -8354,10 +9223,7 @@ var AlienError = class AlienError extends Error {
8354
9223
  this.httpStatusCode = options.httpStatusCode ?? 500;
8355
9224
  this.context = options.context;
8356
9225
  this.hint = options.hint;
8357
- this.source = void 0;
8358
- if (options.source && typeof options.source === "object") {
8359
- if ("code" in options.source && "message" in options.source && "retryable" in options.source && "internal" in options.source) this.source = new AlienError(options.source);
8360
- }
9226
+ this.source = source;
8361
9227
  }
8362
9228
  /**
8363
9229
  * Create an AlienError from a type-safe error definition.
@@ -8795,6 +9661,12 @@ var ComputeCluster = class {
8795
9661
  static any() {
8796
9662
  return "compute-cluster";
8797
9663
  }
9664
+ /** Grants the node identity access to explicitly named resources only. */
9665
+ nodePermissions(permissions, options) {
9666
+ this._config.nodePermissions = permissions;
9667
+ this._config.nodePermissionsPlatforms = options?.platforms;
9668
+ return this;
9669
+ }
8798
9670
  pool(groupId, config) {
8799
9671
  if (config.dynamicContainers) {
8800
9672
  if (this._config.dynamicContainerPool !== void 0) throw new Error("Only one compute pool may accept dynamic containers");
@@ -9137,7 +10009,7 @@ var Container = class extends ResourceBuilder {
9137
10009
  * Configures persistent storage and marks the container stateful.
9138
10010
  * Data survives container restarts.
9139
10011
  * @param size Storage size (e.g., "100Gi", "500Gi", "1Ti").
9140
- * @param options Optional mount path.
10012
+ * @param options Optional mount path and backup schedule.
9141
10013
  * @returns The Container builder instance.
9142
10014
  */
9143
10015
  persistentStorage(size, options = {}) {
@@ -9145,6 +10017,15 @@ var Container = class extends ResourceBuilder {
9145
10017
  size,
9146
10018
  mountPath: options.mountPath ?? "/data"
9147
10019
  };
10020
+ if (options.backups !== void 0) persistentStorage.backups = options.backups === false ? {
10021
+ enabled: false,
10022
+ intervalHours: 24,
10023
+ retentionDays: 7
10024
+ } : {
10025
+ enabled: true,
10026
+ intervalHours: options.backups.intervalHours ?? 24,
10027
+ retentionDays: options.backups.retentionDays ?? 7
10028
+ };
9148
10029
  this._config.persistentStorage = persistentStorage;
9149
10030
  this._config.stateful = true;
9150
10031
  return this;
@@ -9432,7 +10313,7 @@ var Daemon = class extends ResourceBuilder {
9432
10313
  /**
9433
10314
  * Links another resource to this daemon.
9434
10315
  * This makes the linked resource accessible to the daemon, often by injecting
9435
- * environment variables or granting permissions.
10316
+ * environment variables. Permission grants require an explicit workload profile.
9436
10317
  * @param resource The resource to link.
9437
10318
  * @returns The Daemon builder instance.
9438
10319
  */
@@ -9442,7 +10323,7 @@ var Daemon = class extends ResourceBuilder {
9442
10323
  return this;
9443
10324
  }
9444
10325
  /**
9445
- * Assigns a permission profile to this daemon.
10326
+ * Assigns a permission profile to this daemon. Without one, no workload cloud identity is created.
9446
10327
  * The profile defines the permissions granted to this daemon when interacting
9447
10328
  * with other cloud resources.
9448
10329
  * @param permissions The permission profile name.
@@ -10759,6 +11640,6 @@ function validateOcu(field, value, allowZero) {
10759
11640
  //#region src/index.ts
10760
11641
  const experimental = { AwsOpenSearch };
10761
11642
  //#endregion
10762
- export { AI, AgentStatusSchema, AiSchema as AiConfigSchema, AlienError, AlienErrorSchema as AlienErrorOptionsSchema, AlienEventSchema, ArtifactRegistry, ArtifactRegistrySchema as ArtifactRegistryConfigSchema, ArtifactRegistryHeartbeatDataSchema, ArtifactRegistryHeartbeatStatusSchema, AwsArtifactRegistryImportDataSchema, AwsBuildImportDataSchema, AwsCodeBuildHeartbeatDataSchema, AwsComputeClusterHeartbeatDataSchema, AwsComputeClusterImportDataSchema, AwsDynamoDbKeySchemaElementSchema, AwsDynamoDbKvHeartbeatDataSchema, AwsEcrArtifactRegistryHeartbeatDataSchema, AwsEcrRepositoryHeartbeatDataSchema, AwsIamRoleServiceAccountHeartbeatDataSchema, AwsKvImportDataSchema, AwsLambdaWorkerHeartbeatDataSchema, AwsNetworkImportDataSchema, AwsParameterStoreVaultHeartbeatDataSchema, AwsQueueImportDataSchema, AwsRemoteStackManagementHeartbeatDataSchema, AwsRemoteStackManagementImportDataSchema, AwsS3StorageHeartbeatDataSchema, AwsServiceAccountImportDataSchema, AwsSqsQueueHeartbeatDataSchema, AwsStorageImportDataSchema, AwsVaultImportDataSchema, AwsVpcNetworkHeartbeatDataSchema, AwsWorkerImportDataSchema, AzureArtifactRegistryImportDataSchema, AzureBlobStorageHeartbeatDataSchema, AzureBuildImportDataSchema, AzureComputeClusterHeartbeatDataSchema, AzureComputeClusterImportDataSchema, AzureContainerAppsBuildHeartbeatDataSchema, AzureContainerAppsEnvironmentHeartbeatDataSchema, AzureContainerAppsEnvironmentHeartbeatStatusSchema, AzureContainerAppsEnvironmentImportDataSchema, AzureContainerAppsEnvironmentWorkloadProfileSchema, AzureContainerAppsWorkerHeartbeatDataSchema, AzureContainerRegistryHeartbeatDataSchema, AzureKeyVaultHeartbeatDataSchema, AzureKvImportDataSchema, AzureManagedIdentityServiceAccountHeartbeatDataSchema, AzureNetworkImportDataSchema, AzureQueueImportDataSchema, AzureRemoteStackManagementHeartbeatDataSchema, AzureRemoteStackManagementImportDataSchema, AzureResourceGroupHeartbeatDataSchema, AzureResourceGroupHeartbeatStatusSchema, AzureResourceGroupImportDataSchema, AzureResourceProviderActivationHeartbeatDataSchema, AzureServiceAccountImportDataSchema, AzureServiceActivationImportDataSchema, AzureServiceBusNamespaceHeartbeatDataSchema, AzureServiceBusNamespaceImportDataSchema, AzureServiceBusQueueHeartbeatDataSchema, AzureStorageAccountEndpointsSchema, AzureStorageAccountHeartbeatDataSchema, AzureStorageAccountImportDataSchema, AzureStorageImportDataSchema, AzureTableKvHeartbeatDataSchema, AzureVaultImportDataSchema, AzureVnetNetworkHeartbeatDataSchema, AzureWorkerImportDataSchema, BindingNotFoundError, BodySpecSchema, Build, BuildConfigSchema, BuildHeartbeatDataSchema, BuildHeartbeatStatusSchema, BuildOutputsSchema, BuildStatusSchema, CapacityGroupScalePolicySchema, CapacityGroupSchema, CommandDeliveryModeSchema, CommandResponseSchema, CommandStateSchema, CommandStatusResponseSchema, CommandTargetSchema, CommandTargetTypeSchema, ComputeCapacityGroupStatusSchema, ComputeCapacityRecommendationSchema, ComputeChoiceRangeSchema, ComputeCluster, ComputeClusterSchema as ComputeClusterConfigSchema, ComputeClusterHeartbeatDataSchema, ComputeClusterHeartbeatStatusSchema, ComputePoolSelectionSchema, ComputeSettingsSchema, ComputeTypeSchema, Container, ContainerAutoscalingSchema, ContainerCodeSchema, ContainerSchema as ContainerConfigSchema, ContainerHeartbeatDataSchema, ContainerImageIdentitySchema, ContainerPortSchema, CreateCommandRequestSchema, CreateCommandResponseSchema, Daemon, DaemonCodeSchema, DaemonSchema as DaemonConfigSchema, DaemonHeartbeatDataSchema, DaemonOutputsSchema, DeployerSecretLocationSchema, DeployerSecretReportSchema, DeployerSecretStatusSchema, DeployerSecretStoreSchema, DeploymentModelSchema, DevResourceInfoSchema, DevStatusSchema, DevStatusStateSchema, Email, EmailSchema as EmailConfigSchema, EndpointAccessSchema, EnvelopeSchema, EventChangeSchema, EventStateSchema, ExposeProtocolSchema, FailureDomainSelectionSchema, GcpArtifactRegistryHeartbeatDataSchema, GcpArtifactRegistryImportDataSchema, GcpBuildImportDataSchema, GcpCloudBuildHeartbeatDataSchema, GcpCloudRunWorkerHeartbeatDataSchema, GcpCloudStorageHeartbeatDataSchema, GcpComputeClusterHeartbeatDataSchema, GcpComputeClusterImportDataSchema, GcpFirestoreKvHeartbeatDataSchema, GcpKvImportDataSchema, GcpNetworkImportDataSchema, GcpPubSubQueueHeartbeatDataSchema, GcpQueueImportDataSchema, GcpRemoteStackManagementHeartbeatDataSchema, GcpRemoteStackManagementImportDataSchema, GcpSecretManagerVaultHeartbeatDataSchema, GcpServiceAccountHeartbeatDataSchema, GcpServiceAccountImportDataSchema, GcpServiceActivationImportDataSchema, GcpServiceUsageActivationHeartbeatDataSchema, GcpStorageImportDataSchema, GcpVaultImportDataSchema, GcpVpcNetworkHeartbeatDataSchema, GcpWorkerImportDataSchema, HeartbeatBackendSchema, HeartbeatIssueSeveritySchema, HeartbeatsModeSchema, HorizonContainerHeartbeatDataSchema, HttpMethodSchema, InvalidBindingConfigError, Key, KeySchema as KeyConfigSchema, KubernetesBuildHeartbeatDataSchema, KubernetesClusterNodeStatusSchema, KubernetesContainerHeartbeatDataSchema, KubernetesDaemonHeartbeatDataSchema, KubernetesEventInvolvedObjectSchema, KubernetesEventSnapshotSchema, KubernetesEventSourceSchema, KubernetesNodeConditionStatusSchema, KubernetesNodeResourcesSchema, KubernetesNodeUsageSchema, KubernetesPodRuntimeUnitStatusSchema, KubernetesSecretVaultHeartbeatDataSchema, KubernetesWorkerHeartbeatDataSchema, Kv, KvSchema as KvConfigSchema, KvHeartbeatDataSchema, KvHeartbeatStatusSchema, LeaseInfoSchema, LeaseRequestSchema, LeaseResponseSchema, LocalArtifactRegistryHeartbeatDataSchema, LocalComputeClusterHeartbeatDataSchema, LocalContainerHeartbeatDataSchema, LocalDaemonHeartbeatDataSchema, LocalKvHeartbeatDataSchema, LocalQueueHeartbeatDataSchema, LocalRuntimeEventSnapshotSchema, LocalRuntimeEventSubjectSchema, LocalRuntimeUnitKindSchema, LocalRuntimeUnitStatusSchema, LocalServiceAccountHeartbeatDataSchema, LocalStorageHeartbeatDataSchema, LocalVaultHeartbeatDataSchema, LocalWorkerHeartbeatDataSchema, MachineProfileSchema, ManagedRuntimeEventInvolvedObjectSchema, ManagedRuntimeEventSnapshotSchema, ManagedRuntimeEventSourceSchema, ManagedRuntimeUnitStatusSchema, MessagePayloadSchema, MetricSampleSchema, NetworkHeartbeatDataSchema, NetworkHeartbeatStatusSchema, ObservedApplicationImageSchema, ObservedApplicationReportSchema, ObservedApplicationSourceSchema, ObservedCountsSchema, ObservedHealthSchema, ObservedInventoryBatchSchema, ObservedResourceSampleSchema, OperatorImageReportSchema, OperatorImageSourceSchema, PermissionSetSchema, PlatformSchema, Postgres, PostgresSchema as PostgresConfigSchema, PresignedRequestBackendSchema, PresignedRequestSchema, ProviderFleetStatusSchema, ProviderLifecycleStateSchema, PublicEndpointSchema, PublicEndpointTargetSettingsSchema, Queue, QueueSchema as QueueConfigSchema, QueueHeartbeatDataSchema, QueueHeartbeatStatusSchema, QueueMessageSchema, ReadinessProbeSchema, ReleaseRequestSchema, RemoteStackManagementHeartbeatDataSchema, RemoteStackManagementHeartbeatStatusSchema, Resource, ResourceHeartbeatDataSchema, ResourceHeartbeatSchema, ResourceLifecycleSchema, ResourceNotFoundError, ResourceOutputsParseError, ResourceRefSchema, ResourceSchemaMapping, ResourceStatusSchema, ResourceTypeSchema, ResponseHandlingSchema, STACK_INPUT_GENERATE_MAX_LENGTH, STACK_INPUT_GENERATE_MIN_LENGTH, Sandbox, SandboxSchema as SandboxConfigSchema, ScheduledEventSchema, ServiceAccount, ServiceAccountSchema as ServiceAccountConfigSchema, ServiceAccountHeartbeatDataSchema, ServiceAccountHeartbeatStatusSchema, ServiceAccountOutputsSchema, ServiceActivationHeartbeatDataSchema, ServiceActivationHeartbeatStatusSchema, Stack, StackInputDefaultValueSchema, StackInputDefinitionSchema, StackInputEnvironmentMappingSchema, StackInputEnvironmentVariableTypeSchema, StackInputKindSchema, StackInputProviderSchema, StackInputValidationSchema, StackResourceStateSchema, StackSchema, StackSettingsSchema, StackStateSchema, StackStatusSchema, Storage, StorageSchema as StorageConfigSchema, StorageEventSchema, StorageEventTypeSchema, StorageEventsSchema, StorageHeartbeatDataSchema, StorageHeartbeatStatusSchema, StorageUploadSchema, SubmitResponseRequestSchema, TelemetryModeSchema, TraceContextSchema, UnexpectedResourceTypeError, UpdatesModeSchema, UploadCompleteRequestSchema, UploadCompleteResponseSchema, Vault, VaultSchema as VaultConfigSchema, VaultHeartbeatDataSchema, VaultHeartbeatStatusSchema, Worker, WorkerSchema as WorkerConfigSchema, WorkerHeartbeatDataSchema, WorkerOutputsSchema, WorkerPublicEndpointSchema, WorkerTriggerSchema, WorkloadHeartbeatStatusSchema, WorkloadReplicaStatusSchema, defineBooleanInput as boolean, defineError, defineEnumInput as enum, experimental, getResourceOutputs, getStackInputDefinitions, inputs, defineIntegerInput as integer, isDeployerSecretInput, defineNumberInput as number, defineSecretInput as secret, defineStringInput as string, defineStringListInput as stringList };
11643
+ export { AI, AgentStatusSchema, AiSchema as AiConfigSchema, AlienError, AlienErrorSchema as AlienErrorOptionsSchema, AlienEventSchema, ArtifactRegistry, ArtifactRegistrySchema as ArtifactRegistryConfigSchema, ArtifactRegistryHeartbeatDataSchema, ArtifactRegistryHeartbeatStatusSchema, AwsArtifactRegistryImportDataSchema, AwsBuildImportDataSchema, AwsCodeBuildHeartbeatDataSchema, AwsComputeClusterHeartbeatDataSchema, AwsComputeClusterImportDataSchema, AwsDynamoDbKeySchemaElementSchema, AwsDynamoDbKvHeartbeatDataSchema, AwsEcrArtifactRegistryHeartbeatDataSchema, AwsEcrRepositoryHeartbeatDataSchema, AwsIamRoleServiceAccountHeartbeatDataSchema, AwsKvImportDataSchema, AwsLambdaWorkerHeartbeatDataSchema, AwsNetworkImportDataSchema, AwsParameterStoreVaultHeartbeatDataSchema, AwsQueueImportDataSchema, AwsRemoteStackManagementHeartbeatDataSchema, AwsRemoteStackManagementImportDataSchema, AwsS3StorageHeartbeatDataSchema, AwsServiceAccountImportDataSchema, AwsSqsQueueHeartbeatDataSchema, AwsStorageImportDataSchema, AwsVaultImportDataSchema, AwsVpcNetworkHeartbeatDataSchema, AwsWorkerImportDataSchema, AzureArtifactRegistryImportDataSchema, AzureBlobStorageHeartbeatDataSchema, AzureBuildImportDataSchema, AzureComputeClusterHeartbeatDataSchema, AzureComputeClusterImportDataSchema, AzureContainerAppsBuildHeartbeatDataSchema, AzureContainerAppsEnvironmentHeartbeatDataSchema, AzureContainerAppsEnvironmentHeartbeatStatusSchema, AzureContainerAppsEnvironmentImportDataSchema, AzureContainerAppsEnvironmentWorkloadProfileSchema, AzureContainerAppsWorkerHeartbeatDataSchema, AzureContainerRegistryHeartbeatDataSchema, AzureKeyVaultHeartbeatDataSchema, AzureKvImportDataSchema, AzureManagedIdentityServiceAccountHeartbeatDataSchema, AzureNetworkImportDataSchema, AzureQueueImportDataSchema, AzureRemoteStackManagementHeartbeatDataSchema, AzureRemoteStackManagementImportDataSchema, AzureResourceGroupHeartbeatDataSchema, AzureResourceGroupHeartbeatStatusSchema, AzureResourceGroupImportDataSchema, AzureResourceProviderActivationHeartbeatDataSchema, AzureServiceAccountImportDataSchema, AzureServiceActivationImportDataSchema, AzureServiceBusNamespaceHeartbeatDataSchema, AzureServiceBusNamespaceImportDataSchema, AzureServiceBusQueueHeartbeatDataSchema, AzureStorageAccountEndpointsSchema, AzureStorageAccountHeartbeatDataSchema, AzureStorageAccountImportDataSchema, AzureStorageImportDataSchema, AzureTableKvHeartbeatDataSchema, AzureVaultImportDataSchema, AzureVnetNetworkHeartbeatDataSchema, AzureWorkerImportDataSchema, BindingNotFoundError, BodySpecSchema, Build, BuildConfigSchema, BuildHeartbeatDataSchema, BuildHeartbeatStatusSchema, BuildOutputsSchema, BuildStatusSchema, CapacityGroupScalePolicySchema, CapacityGroupSchema, CommandDeliveryModeSchema, CommandResponseSchema, CommandStateSchema, CommandStatusResponseSchema, CommandTargetSchema, CommandTargetTypeSchema, ComputeCapacityGroupStatusSchema, ComputeCapacityRecommendationSchema, ComputeChoiceRangeSchema, ComputeCluster, ComputeClusterSchema as ComputeClusterConfigSchema, ComputeClusterHeartbeatDataSchema, ComputeClusterHeartbeatStatusSchema, ComputePoolSelectionSchema, ComputeSettingsSchema, ComputeTypeSchema, Container, ContainerAutoscalingSchema, ContainerCodeSchema, ContainerSchema as ContainerConfigSchema, ContainerHeartbeatDataSchema, ContainerImageIdentitySchema, ContainerPortSchema, CreateCommandRequestSchema, CreateCommandResponseSchema, Daemon, DaemonCodeSchema, DaemonSchema as DaemonConfigSchema, DaemonHeartbeatDataSchema, DaemonOutputsSchema, DeployerSecretLocationSchema, DeployerSecretReportSchema, DeployerSecretStatusSchema, DeployerSecretStoreSchema, DeploymentModelSchema, DevResourceInfoSchema, DevStatusSchema, DevStatusStateSchema, Email, EmailSchema as EmailConfigSchema, EndpointAccessSchema, EnvelopeSchema, EventChangeSchema, EventStateSchema, ExposeProtocolSchema, ExternalBindingSchema, ExternalBindingsSchema, FailureDomainSelectionSchema, GcpArtifactRegistryHeartbeatDataSchema, GcpArtifactRegistryImportDataSchema, GcpBuildImportDataSchema, GcpCloudBuildHeartbeatDataSchema, GcpCloudRunWorkerHeartbeatDataSchema, GcpCloudStorageHeartbeatDataSchema, GcpComputeClusterHeartbeatDataSchema, GcpComputeClusterImportDataSchema, GcpFirestoreKvHeartbeatDataSchema, GcpKvImportDataSchema, GcpNetworkImportDataSchema, GcpPubSubQueueHeartbeatDataSchema, GcpQueueImportDataSchema, GcpRemoteStackManagementHeartbeatDataSchema, GcpRemoteStackManagementImportDataSchema, GcpSecretManagerVaultHeartbeatDataSchema, GcpServiceAccountHeartbeatDataSchema, GcpServiceAccountImportDataSchema, GcpServiceActivationImportDataSchema, GcpServiceUsageActivationHeartbeatDataSchema, GcpStorageImportDataSchema, GcpVaultImportDataSchema, GcpVpcNetworkHeartbeatDataSchema, GcpWorkerImportDataSchema, HeartbeatBackendSchema, HeartbeatIssueSeveritySchema, HeartbeatsModeSchema, HorizonContainerHeartbeatDataSchema, HttpMethodSchema, InvalidBindingConfigError, Key, KeySchema as KeyConfigSchema, KubernetesBuildHeartbeatDataSchema, KubernetesClusterNodeStatusSchema, KubernetesContainerHeartbeatDataSchema, KubernetesDaemonHeartbeatDataSchema, KubernetesEventInvolvedObjectSchema, KubernetesEventSnapshotSchema, KubernetesEventSourceSchema, KubernetesNodeConditionStatusSchema, KubernetesNodeResourcesSchema, KubernetesNodeUsageSchema, KubernetesPodRuntimeUnitStatusSchema, KubernetesSecretVaultHeartbeatDataSchema, KubernetesWorkerHeartbeatDataSchema, Kv, KvSchema as KvConfigSchema, KvHeartbeatDataSchema, KvHeartbeatStatusSchema, LeaseInfoSchema, LeaseRequestSchema, LeaseResponseSchema, LocalArtifactRegistryHeartbeatDataSchema, LocalComputeClusterHeartbeatDataSchema, LocalContainerHeartbeatDataSchema, LocalDaemonHeartbeatDataSchema, LocalKvHeartbeatDataSchema, LocalQueueHeartbeatDataSchema, LocalRuntimeEventSnapshotSchema, LocalRuntimeEventSubjectSchema, LocalRuntimeUnitKindSchema, LocalRuntimeUnitStatusSchema, LocalServiceAccountHeartbeatDataSchema, LocalStorageHeartbeatDataSchema, LocalVaultHeartbeatDataSchema, LocalWorkerHeartbeatDataSchema, MachineProfileSchema, ManagedRuntimeEventInvolvedObjectSchema, ManagedRuntimeEventSnapshotSchema, ManagedRuntimeEventSourceSchema, ManagedRuntimeUnitStatusSchema, MessagePayloadSchema, MetricSampleSchema, NetworkHeartbeatDataSchema, NetworkHeartbeatStatusSchema, ObservedApplicationImageSchema, ObservedApplicationReportSchema, ObservedApplicationSourceSchema, ObservedCountsSchema, ObservedHealthSchema, ObservedInventoryBatchSchema, ObservedResourceSampleSchema, OperatorImageReportSchema, OperatorImageSourceSchema, PermissionSetSchema, PlatformSchema, Postgres, PostgresSchema as PostgresConfigSchema, PresignedRequestBackendSchema, PresignedRequestSchema, ProviderFleetStatusSchema, ProviderLifecycleStateSchema, PublicEndpointSchema, PublicEndpointTargetSettingsSchema, Queue, QueueSchema as QueueConfigSchema, QueueHeartbeatDataSchema, QueueHeartbeatStatusSchema, QueueMessageSchema, ReadinessProbeSchema, ReleaseRequestSchema, RemoteStackManagementHeartbeatDataSchema, RemoteStackManagementHeartbeatStatusSchema, Resource, ResourceHeartbeatDataSchema, ResourceHeartbeatSchema, ResourceLifecycleSchema, ResourceNotFoundError, ResourceOutputsParseError, ResourceRefSchema, ResourceSchemaMapping, ResourceStatusSchema, ResourceTypeSchema, ResponseHandlingSchema, STACK_INPUT_GENERATE_MAX_LENGTH, STACK_INPUT_GENERATE_MIN_LENGTH, Sandbox, SandboxSchema as SandboxConfigSchema, ScheduledEventSchema, ServiceAccount, ServiceAccountSchema as ServiceAccountConfigSchema, ServiceAccountHeartbeatDataSchema, ServiceAccountHeartbeatStatusSchema, ServiceAccountOutputsSchema, ServiceActivationHeartbeatDataSchema, ServiceActivationHeartbeatStatusSchema, Stack, StackInputDefaultValueSchema, StackInputDefinitionSchema, StackInputEnvironmentMappingSchema, StackInputEnvironmentVariableTypeSchema, StackInputKindSchema, StackInputProviderSchema, StackInputValidationSchema, StackResourceStateSchema, StackSchema, StackSettingsSchema, StackStateSchema, StackStatusSchema, Storage, StorageSchema as StorageConfigSchema, StorageEventSchema, StorageEventTypeSchema, StorageEventsSchema, StorageHeartbeatDataSchema, StorageHeartbeatStatusSchema, StorageUploadSchema, SubmitResponseRequestSchema, TelemetryModeSchema, TraceContextSchema, UnexpectedResourceTypeError, UpdatesModeSchema, UploadCompleteRequestSchema, UploadCompleteResponseSchema, ValueSchema, Vault, VaultSchema as VaultConfigSchema, VaultHeartbeatDataSchema, VaultHeartbeatStatusSchema, Worker, WorkerSchema as WorkerConfigSchema, WorkerHeartbeatDataSchema, WorkerOutputsSchema, WorkerPublicEndpointSchema, WorkerTriggerSchema, WorkloadHeartbeatStatusSchema, WorkloadReplicaStatusSchema, defineBooleanInput as boolean, defineError, defineEnumInput as enum, experimental, getResourceOutputs, getStackInputDefinitions, inputs, defineIntegerInput as integer, isDeployerSecretInput, defineNumberInput as number, defineSecretInput as secret, defineStringInput as string, defineStringListInput as stringList };
10763
11644
 
10764
11645
  //# sourceMappingURL=index.js.map