@alienplatform/platform-api 3.3.19 → 3.3.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. package/FUNCTIONS.md +1 -1
  2. package/README.md +4 -0
  3. package/esm/funcs/deploymentGetInfo.js +4 -2
  4. package/esm/funcs/deploymentGetInfo.js.map +1 -1
  5. package/esm/funcs/deploymentPlanCompute.js +2 -2
  6. package/esm/funcs/deploymentPlanCompute.js.map +1 -1
  7. package/esm/funcs/deploymentPrepareStack.js +2 -2
  8. package/esm/funcs/deploymentPrepareStack.js.map +1 -1
  9. package/esm/funcs/deploymentsRetry.js +2 -2
  10. package/esm/funcs/deploymentsRetry.js.map +1 -1
  11. package/esm/funcs/operationsApproveAccessRequest.d.ts +15 -0
  12. package/esm/funcs/operationsApproveAccessRequest.d.ts.map +1 -0
  13. package/esm/funcs/operationsApproveAccessRequest.js +89 -0
  14. package/esm/funcs/operationsApproveAccessRequest.js.map +1 -0
  15. package/esm/funcs/operationsDenyAccessRequest.d.ts +15 -0
  16. package/esm/funcs/operationsDenyAccessRequest.d.ts.map +1 -0
  17. package/esm/funcs/operationsDenyAccessRequest.js +89 -0
  18. package/esm/funcs/operationsDenyAccessRequest.js.map +1 -0
  19. package/esm/lib/config.d.ts +2 -2
  20. package/esm/lib/config.js +2 -2
  21. package/esm/lib/config.js.map +1 -1
  22. package/esm/models/createmanagerresponse.d.ts +0 -63
  23. package/esm/models/createmanagerresponse.d.ts.map +1 -1
  24. package/esm/models/createmanagerresponse.js +0 -39
  25. package/esm/models/createmanagerresponse.js.map +1 -1
  26. package/esm/models/createsetuplinkresponse.d.ts +4 -0
  27. package/esm/models/createsetuplinkresponse.d.ts.map +1 -1
  28. package/esm/models/createsetuplinkresponse.js +1 -0
  29. package/esm/models/createsetuplinkresponse.js.map +1 -1
  30. package/esm/models/createsetupregistrationoperationrequest.d.ts +0 -28
  31. package/esm/models/createsetupregistrationoperationrequest.d.ts.map +1 -1
  32. package/esm/models/createsetupregistrationoperationrequest.js +0 -19
  33. package/esm/models/createsetupregistrationoperationrequest.js.map +1 -1
  34. package/esm/models/deployment.d.ts +0 -21
  35. package/esm/models/deployment.d.ts.map +1 -1
  36. package/esm/models/deployment.js +0 -13
  37. package/esm/models/deployment.js.map +1 -1
  38. package/esm/models/deploymentcomputeplan.d.ts +148 -10
  39. package/esm/models/deploymentcomputeplan.d.ts.map +1 -1
  40. package/esm/models/deploymentcomputeplan.js +83 -10
  41. package/esm/models/deploymentcomputeplan.js.map +1 -1
  42. package/esm/models/deploymentdetailresponse.d.ts +0 -21
  43. package/esm/models/deploymentdetailresponse.d.ts.map +1 -1
  44. package/esm/models/deploymentdetailresponse.js +0 -19
  45. package/esm/models/deploymentdetailresponse.js.map +1 -1
  46. package/esm/models/deploymentinfo.d.ts +1276 -8
  47. package/esm/models/deploymentinfo.d.ts.map +1 -1
  48. package/esm/models/deploymentinfo.js +987 -7
  49. package/esm/models/deploymentinfo.js.map +1 -1
  50. package/esm/models/deploymentsetupstacksettingspolicy.d.ts +0 -34
  51. package/esm/models/deploymentsetupstacksettingspolicy.d.ts.map +1 -1
  52. package/esm/models/deploymentsetupstacksettingspolicy.js +0 -38
  53. package/esm/models/deploymentsetupstacksettingspolicy.js.map +1 -1
  54. package/esm/models/deploymentupdateoperationstatus.d.ts +1 -0
  55. package/esm/models/deploymentupdateoperationstatus.d.ts.map +1 -1
  56. package/esm/models/deploymentupdateoperationstatus.js +1 -0
  57. package/esm/models/deploymentupdateoperationstatus.js.map +1 -1
  58. package/esm/models/deploymentupdateoperationsummary.d.ts +4 -0
  59. package/esm/models/deploymentupdateoperationsummary.d.ts.map +1 -1
  60. package/esm/models/deploymentupdateoperationsummary.js +1 -0
  61. package/esm/models/deploymentupdateoperationsummary.js.map +1 -1
  62. package/esm/models/importsource.d.ts +0 -28
  63. package/esm/models/importsource.d.ts.map +1 -1
  64. package/esm/models/importsource.js +0 -13
  65. package/esm/models/importsource.js.map +1 -1
  66. package/esm/models/managerretryresponse.d.ts +0 -63
  67. package/esm/models/managerretryresponse.d.ts.map +1 -1
  68. package/esm/models/managerretryresponse.js +0 -39
  69. package/esm/models/managerretryresponse.js.map +1 -1
  70. package/esm/models/newdeploymentrequest.d.ts +0 -28
  71. package/esm/models/newdeploymentrequest.d.ts.map +1 -1
  72. package/esm/models/newdeploymentrequest.js +0 -13
  73. package/esm/models/newdeploymentrequest.js.map +1 -1
  74. package/esm/models/operations/approveaccessrequest.d.ts +115 -0
  75. package/esm/models/operations/approveaccessrequest.d.ts.map +1 -0
  76. package/esm/models/operations/approveaccessrequest.js +89 -0
  77. package/esm/models/operations/approveaccessrequest.js.map +1 -0
  78. package/esm/models/operations/denyaccessrequest.d.ts +112 -0
  79. package/esm/models/operations/denyaccessrequest.d.ts.map +1 -0
  80. package/esm/models/operations/denyaccessrequest.js +87 -0
  81. package/esm/models/operations/denyaccessrequest.js.map +1 -0
  82. package/esm/models/operations/getdeploymentinfo.d.ts +4 -0
  83. package/esm/models/operations/getdeploymentinfo.d.ts.map +1 -1
  84. package/esm/models/operations/getdeploymentinfo.js +2 -0
  85. package/esm/models/operations/getdeploymentinfo.js.map +1 -1
  86. package/esm/models/operations/getresourcedeploymentdetail.d.ts +107 -21
  87. package/esm/models/operations/getresourcedeploymentdetail.d.ts.map +1 -1
  88. package/esm/models/operations/getresourcedeploymentdetail.js +86 -13
  89. package/esm/models/operations/getresourcedeploymentdetail.js.map +1 -1
  90. package/esm/models/operations/index.d.ts +2 -0
  91. package/esm/models/operations/index.d.ts.map +1 -1
  92. package/esm/models/operations/index.js +2 -0
  93. package/esm/models/operations/index.js.map +1 -1
  94. package/esm/models/operations/plandeploymentcompute.d.ts +140 -40
  95. package/esm/models/operations/plandeploymentcompute.d.ts.map +1 -1
  96. package/esm/models/operations/plandeploymentcompute.js +67 -19
  97. package/esm/models/operations/plandeploymentcompute.js.map +1 -1
  98. package/esm/models/operations/preparedeploymentstack.d.ts +145 -40
  99. package/esm/models/operations/preparedeploymentstack.d.ts.map +1 -1
  100. package/esm/models/operations/preparedeploymentstack.js +68 -20
  101. package/esm/models/operations/preparedeploymentstack.js.map +1 -1
  102. package/esm/models/operationspluginoperation.d.ts +4 -0
  103. package/esm/models/operationspluginoperation.d.ts.map +1 -1
  104. package/esm/models/operationspluginoperation.js +1 -0
  105. package/esm/models/operationspluginoperation.js.map +1 -1
  106. package/esm/models/package.d.ts +9 -3
  107. package/esm/models/package.d.ts.map +1 -1
  108. package/esm/models/package.js.map +1 -1
  109. package/esm/models/persistimporteddeploymentrequest.d.ts +0 -28
  110. package/esm/models/persistimporteddeploymentrequest.d.ts.map +1 -1
  111. package/esm/models/persistimporteddeploymentrequest.js +0 -19
  112. package/esm/models/persistimporteddeploymentrequest.js.map +1 -1
  113. package/esm/models/prepareddeploymentstack.d.ts +1 -0
  114. package/esm/models/prepareddeploymentstack.d.ts.map +1 -1
  115. package/esm/models/prepareddeploymentstack.js +1 -0
  116. package/esm/models/prepareddeploymentstack.js.map +1 -1
  117. package/esm/models/syncacquirerequest.d.ts +5 -0
  118. package/esm/models/syncacquirerequest.d.ts.map +1 -1
  119. package/esm/models/syncacquirerequest.js +1 -0
  120. package/esm/models/syncacquirerequest.js.map +1 -1
  121. package/esm/models/syncacquireresponsedeployment.d.ts +8 -0
  122. package/esm/models/syncacquireresponsedeployment.d.ts.map +1 -1
  123. package/esm/models/syncacquireresponsedeployment.js +2 -0
  124. package/esm/models/syncacquireresponsedeployment.js.map +1 -1
  125. package/esm/models/synclistresponse.d.ts +0 -21
  126. package/esm/models/synclistresponse.d.ts.map +1 -1
  127. package/esm/models/synclistresponse.js +0 -13
  128. package/esm/models/synclistresponse.js.map +1 -1
  129. package/esm/models/syncreconcilerequest.d.ts +150 -31
  130. package/esm/models/syncreconcilerequest.d.ts.map +1 -1
  131. package/esm/models/syncreconcilerequest.js +86 -12
  132. package/esm/models/syncreconcilerequest.js.map +1 -1
  133. package/esm/models/syncreleaserequest.d.ts +10 -0
  134. package/esm/models/syncreleaserequest.d.ts.map +1 -1
  135. package/esm/models/syncreleaserequest.js +2 -0
  136. package/esm/models/syncreleaserequest.js.map +1 -1
  137. package/esm/models/syncrenewrequest.d.ts +28 -0
  138. package/esm/models/syncrenewrequest.d.ts.map +1 -1
  139. package/esm/models/syncrenewrequest.js +10 -0
  140. package/esm/models/syncrenewrequest.js.map +1 -1
  141. package/esm/sdk/operations.d.ts +8 -0
  142. package/esm/sdk/operations.d.ts.map +1 -1
  143. package/esm/sdk/operations.js +14 -0
  144. package/esm/sdk/operations.js.map +1 -1
  145. package/jsr.json +1 -1
  146. package/package.json +1 -1
  147. package/src/funcs/deploymentGetInfo.ts +4 -2
  148. package/src/funcs/deploymentPlanCompute.ts +2 -2
  149. package/src/funcs/deploymentPrepareStack.ts +2 -2
  150. package/src/funcs/deploymentsRetry.ts +2 -2
  151. package/src/funcs/operationsApproveAccessRequest.ts +179 -0
  152. package/src/funcs/operationsDenyAccessRequest.ts +178 -0
  153. package/src/lib/config.ts +2 -2
  154. package/src/models/createmanagerresponse.ts +0 -162
  155. package/src/models/createsetuplinkresponse.ts +7 -0
  156. package/src/models/createsetupregistrationoperationrequest.ts +0 -83
  157. package/src/models/deployment.ts +0 -52
  158. package/src/models/deploymentcomputeplan.ts +311 -20
  159. package/src/models/deploymentdetailresponse.ts +0 -62
  160. package/src/models/deploymentinfo.ts +3599 -453
  161. package/src/models/deploymentsetupstacksettingspolicy.ts +0 -124
  162. package/src/models/deploymentupdateoperationstatus.ts +1 -0
  163. package/src/models/deploymentupdateoperationsummary.ts +5 -0
  164. package/src/models/importsource.ts +0 -59
  165. package/src/models/managerretryresponse.ts +0 -162
  166. package/src/models/newdeploymentrequest.ts +0 -63
  167. package/src/models/operations/approveaccessrequest.ts +237 -0
  168. package/src/models/operations/denyaccessrequest.ts +228 -0
  169. package/src/models/operations/getdeploymentinfo.ts +6 -0
  170. package/src/models/operations/getresourcedeploymentdetail.ts +203 -36
  171. package/src/models/operations/index.ts +2 -0
  172. package/src/models/operations/plandeploymentcompute.ts +295 -81
  173. package/src/models/operations/preparedeploymentstack.ts +301 -82
  174. package/src/models/operationspluginoperation.ts +5 -0
  175. package/src/models/package.ts +9 -3
  176. package/src/models/persistimporteddeploymentrequest.ts +0 -75
  177. package/src/models/prepareddeploymentstack.ts +2 -0
  178. package/src/models/syncacquirerequest.ts +6 -0
  179. package/src/models/syncacquireresponsedeployment.ts +10 -0
  180. package/src/models/synclistresponse.ts +0 -54
  181. package/src/models/syncreconcilerequest.ts +251 -40
  182. package/src/models/syncreleaserequest.ts +12 -0
  183. package/src/models/syncrenewrequest.ts +39 -0
  184. package/src/sdk/operations.ts +30 -0
@@ -2,12 +2,136 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
  import * as z from "zod/v4";
5
+ import { remap as remap$ } from "../lib/primitives.js";
5
6
  import { safeParse } from "../lib/schemas.js";
6
7
  import { AiAvailabilityObservation$inboundSchema, } from "./aiavailabilityobservation.js";
7
8
  import { DeploymentInfoSetupConfig$inboundSchema, } from "./deploymentinfosetupconfig.js";
8
9
  import { DeploymentPortalAppearance$inboundSchema, } from "./deploymentportalappearance.js";
9
10
  import { SetupItemStatus$inboundSchema, } from "./setupitemstatus.js";
10
11
  import { SupportedCloudRegions$inboundSchema, } from "./supportedcloudregions.js";
12
+ /**
13
+ * Represents the target cloud platform.
14
+ */
15
+ export const SetupUpdatePlatform = {
16
+ Aws: "aws",
17
+ Gcp: "gcp",
18
+ Azure: "azure",
19
+ Kubernetes: "kubernetes",
20
+ Machines: "machines",
21
+ Local: "local",
22
+ Test: "test",
23
+ };
24
+ export const DeploymentInfoSetupMethod = {
25
+ Cloudformation: "cloudformation",
26
+ GoogleOauth: "google-oauth",
27
+ Terraform: "terraform",
28
+ Helm: "helm",
29
+ Cli: "cli",
30
+ Manual: "manual",
31
+ };
32
+ /**
33
+ * Deployment model: how updates are delivered to the remote environment.
34
+ */
35
+ export const DeploymentInfoDeploymentModel = {
36
+ Push: "push",
37
+ Pull: "pull",
38
+ };
39
+ export const SetupUpdateModeLoadBalancer = {
40
+ LoadBalancer: "loadBalancer",
41
+ };
42
+ export const SetupUpdateModeMachineAddresses = {
43
+ MachineAddresses: "machineAddresses",
44
+ };
45
+ /**
46
+ * How heartbeat health checks are handled.
47
+ */
48
+ export const DeploymentInfoHeartbeats = {
49
+ Off: "off",
50
+ On: "on",
51
+ };
52
+ /**
53
+ * Ownership model for the Kubernetes cluster.
54
+ */
55
+ export const DeploymentInfoOwnership = {
56
+ Managed: "managed",
57
+ Existing: "existing",
58
+ External: "external",
59
+ };
60
+ export const SetupUpdateModeCustom = {
61
+ Custom: "custom",
62
+ };
63
+ export const SetupUpdateProviderAzureApplicationGatewayForContainersEnum4 = {
64
+ AzureApplicationGatewayForContainers: "azureApplicationGatewayForContainers",
65
+ };
66
+ export const SetupUpdateProviderGkeGatewayEnum4 = {
67
+ GkeGateway: "gkeGateway",
68
+ };
69
+ export const SetupUpdateProviderAwsAlbEnum4 = {
70
+ AwsAlb: "awsAlb",
71
+ };
72
+ export const SetupUpdateProviderAzureApplicationGatewayForContainersEnum3 = {
73
+ AzureApplicationGatewayForContainers: "azureApplicationGatewayForContainers",
74
+ };
75
+ export const SetupUpdateProviderGkeGatewayEnum3 = {
76
+ GkeGateway: "gkeGateway",
77
+ };
78
+ export const SetupUpdateProviderAwsAlbEnum3 = {
79
+ AwsAlb: "awsAlb",
80
+ };
81
+ export const SetupUpdateModeGenerated = {
82
+ Generated: "generated",
83
+ };
84
+ export const SetupUpdateProviderAzureApplicationGatewayForContainersEnum2 = {
85
+ AzureApplicationGatewayForContainers: "azureApplicationGatewayForContainers",
86
+ };
87
+ export const SetupUpdateProviderGkeGatewayEnum2 = {
88
+ GkeGateway: "gkeGateway",
89
+ };
90
+ export const SetupUpdateProviderAwsAlbEnum2 = {
91
+ AwsAlb: "awsAlb",
92
+ };
93
+ export const SetupUpdateProviderAzureApplicationGatewayForContainersEnum1 = {
94
+ AzureApplicationGatewayForContainers: "azureApplicationGatewayForContainers",
95
+ };
96
+ export const SetupUpdateProviderGkeGatewayEnum1 = {
97
+ GkeGateway: "gkeGateway",
98
+ };
99
+ export const SetupUpdateProviderAwsAlbEnum1 = {
100
+ AwsAlb: "awsAlb",
101
+ };
102
+ export const SetupUpdateModeDisabled = {
103
+ Disabled: "disabled",
104
+ };
105
+ export const DeploymentInfoTypeByoVnetAzure = {
106
+ ByoVnetAzure: "byo-vnet-azure",
107
+ };
108
+ export const DeploymentInfoTypeByoVpcGcp = {
109
+ ByoVpcGcp: "byo-vpc-gcp",
110
+ };
111
+ export const DeploymentInfoTypeByoVpcAws = {
112
+ ByoVpcAws: "byo-vpc-aws",
113
+ };
114
+ export const DeploymentInfoTypeCreate = {
115
+ Create: "create",
116
+ };
117
+ export const DeploymentInfoTypeUseDefault = {
118
+ UseDefault: "use-default",
119
+ };
120
+ /**
121
+ * How telemetry (logs, metrics, traces) is handled.
122
+ */
123
+ export const DeploymentInfoTelemetry = {
124
+ Off: "off",
125
+ Auto: "auto",
126
+ ApprovalRequired: "approval-required",
127
+ };
128
+ /**
129
+ * How updates are delivered to the deployment.
130
+ */
131
+ export const DeploymentInfoUpdates = {
132
+ Auto: "auto",
133
+ ApprovalRequired: "approval-required",
134
+ };
11
135
  /**
12
136
  * Type of token used to authenticate this request
13
137
  */
@@ -59,7 +183,7 @@ export const CloudformationStatus = {
59
183
  Failed: "failed",
60
184
  Canceled: "canceled",
61
185
  };
62
- export const DeploymentInfoMode = {
186
+ export const CloudformationMode = {
63
187
  Auto: "auto",
64
188
  Outputs: "outputs",
65
189
  };
@@ -124,6 +248,861 @@ export const CheckStatus = {
124
248
  Unknown: "unknown",
125
249
  };
126
250
  /** @internal */
251
+ export const SetupUpdatePlatform$inboundSchema = z.enum(SetupUpdatePlatform);
252
+ /** @internal */
253
+ export const DeploymentInfoSetupMethod$inboundSchema = z.enum(DeploymentInfoSetupMethod);
254
+ /** @internal */
255
+ export const DeploymentInfoFailureDomains2$inboundSchema = z.object({
256
+ selectedFailureDomains: z.array(z.string()).optional(),
257
+ spread: z.int(),
258
+ });
259
+ export function deploymentInfoFailureDomains2FromJSON(jsonString) {
260
+ return safeParse(jsonString, (x) => DeploymentInfoFailureDomains2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoFailureDomains2' from JSON`);
261
+ }
262
+ /** @internal */
263
+ export const DeploymentInfoFailureDomainsUnion2$inboundSchema = z.union([
264
+ z.lazy(() => DeploymentInfoFailureDomains2$inboundSchema),
265
+ z.any(),
266
+ ]);
267
+ export function deploymentInfoFailureDomainsUnion2FromJSON(jsonString) {
268
+ return safeParse(jsonString, (x) => DeploymentInfoFailureDomainsUnion2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoFailureDomainsUnion2' from JSON`);
269
+ }
270
+ /** @internal */
271
+ export const DeploymentInfoPoolsAutoscale$inboundSchema = z.object({
272
+ failure_domains: z.nullable(z.union([
273
+ z.lazy(() => DeploymentInfoFailureDomains2$inboundSchema),
274
+ z.any(),
275
+ ])).optional(),
276
+ machine: z.nullable(z.string()).optional(),
277
+ max: z.int(),
278
+ min: z.int(),
279
+ mode: z.literal("autoscale"),
280
+ }).transform((v) => {
281
+ return remap$(v, {
282
+ "failure_domains": "failureDomains",
283
+ });
284
+ });
285
+ export function deploymentInfoPoolsAutoscaleFromJSON(jsonString) {
286
+ return safeParse(jsonString, (x) => DeploymentInfoPoolsAutoscale$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoPoolsAutoscale' from JSON`);
287
+ }
288
+ /** @internal */
289
+ export const DeploymentInfoFailureDomains1$inboundSchema = z.object({
290
+ selectedFailureDomains: z.array(z.string()).optional(),
291
+ spread: z.int(),
292
+ });
293
+ export function deploymentInfoFailureDomains1FromJSON(jsonString) {
294
+ return safeParse(jsonString, (x) => DeploymentInfoFailureDomains1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoFailureDomains1' from JSON`);
295
+ }
296
+ /** @internal */
297
+ export const DeploymentInfoFailureDomainsUnion1$inboundSchema = z.union([
298
+ z.lazy(() => DeploymentInfoFailureDomains1$inboundSchema),
299
+ z.any(),
300
+ ]);
301
+ export function deploymentInfoFailureDomainsUnion1FromJSON(jsonString) {
302
+ return safeParse(jsonString, (x) => DeploymentInfoFailureDomainsUnion1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoFailureDomainsUnion1' from JSON`);
303
+ }
304
+ /** @internal */
305
+ export const DeploymentInfoPoolsFixed$inboundSchema = z.object({
306
+ failure_domains: z.nullable(z.union([
307
+ z.lazy(() => DeploymentInfoFailureDomains1$inboundSchema),
308
+ z.any(),
309
+ ])).optional(),
310
+ machine: z.nullable(z.string()).optional(),
311
+ machines: z.int(),
312
+ mode: z.literal("fixed"),
313
+ }).transform((v) => {
314
+ return remap$(v, {
315
+ "failure_domains": "failureDomains",
316
+ });
317
+ });
318
+ export function deploymentInfoPoolsFixedFromJSON(jsonString) {
319
+ return safeParse(jsonString, (x) => DeploymentInfoPoolsFixed$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoPoolsFixed' from JSON`);
320
+ }
321
+ /** @internal */
322
+ export const DeploymentInfoPoolsUnion$inboundSchema = z.union([
323
+ z.lazy(() => DeploymentInfoPoolsFixed$inboundSchema),
324
+ z.lazy(() => DeploymentInfoPoolsAutoscale$inboundSchema),
325
+ ]);
326
+ export function deploymentInfoPoolsUnionFromJSON(jsonString) {
327
+ return safeParse(jsonString, (x) => DeploymentInfoPoolsUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoPoolsUnion' from JSON`);
328
+ }
329
+ /** @internal */
330
+ export const DeploymentInfoCompute$inboundSchema = z.object({
331
+ pools: z.record(z.string(), z.union([
332
+ z.lazy(() => DeploymentInfoPoolsFixed$inboundSchema),
333
+ z.lazy(() => DeploymentInfoPoolsAutoscale$inboundSchema),
334
+ ])).optional(),
335
+ });
336
+ export function deploymentInfoComputeFromJSON(jsonString) {
337
+ return safeParse(jsonString, (x) => DeploymentInfoCompute$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoCompute' from JSON`);
338
+ }
339
+ /** @internal */
340
+ export const DeploymentInfoComputeUnion$inboundSchema = z.union([z.lazy(() => DeploymentInfoCompute$inboundSchema), z.any()]);
341
+ export function deploymentInfoComputeUnionFromJSON(jsonString) {
342
+ return safeParse(jsonString, (x) => DeploymentInfoComputeUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoComputeUnion' from JSON`);
343
+ }
344
+ /** @internal */
345
+ export const DeploymentInfoDeploymentModel$inboundSchema = z.enum(DeploymentInfoDeploymentModel);
346
+ /** @internal */
347
+ export const DeploymentInfoAws$inboundSchema = z.object({
348
+ certificateArn: z.string(),
349
+ });
350
+ export function deploymentInfoAwsFromJSON(jsonString) {
351
+ return safeParse(jsonString, (x) => DeploymentInfoAws$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoAws' from JSON`);
352
+ }
353
+ /** @internal */
354
+ export const DeploymentInfoAwsUnion$inboundSchema = z.union([z.lazy(() => DeploymentInfoAws$inboundSchema), z.any()]);
355
+ export function deploymentInfoAwsUnionFromJSON(jsonString) {
356
+ return safeParse(jsonString, (x) => DeploymentInfoAwsUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoAwsUnion' from JSON`);
357
+ }
358
+ /** @internal */
359
+ export const DeploymentInfoAzure$inboundSchema = z.object({
360
+ keyVaultCertificateId: z.string(),
361
+ keyVaultResourceId: z.nullable(z.string()).optional(),
362
+ });
363
+ export function deploymentInfoAzureFromJSON(jsonString) {
364
+ return safeParse(jsonString, (x) => DeploymentInfoAzure$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoAzure' from JSON`);
365
+ }
366
+ /** @internal */
367
+ export const DeploymentInfoAzureUnion$inboundSchema = z.union([z.lazy(() => DeploymentInfoAzure$inboundSchema), z.any()]);
368
+ export function deploymentInfoAzureUnionFromJSON(jsonString) {
369
+ return safeParse(jsonString, (x) => DeploymentInfoAzureUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoAzureUnion' from JSON`);
370
+ }
371
+ /** @internal */
372
+ export const DeploymentInfoGcp$inboundSchema = z.object({
373
+ certificateName: z.string(),
374
+ });
375
+ export function deploymentInfoGcpFromJSON(jsonString) {
376
+ return safeParse(jsonString, (x) => DeploymentInfoGcp$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoGcp' from JSON`);
377
+ }
378
+ /** @internal */
379
+ export const DeploymentInfoGcpUnion$inboundSchema = z.union([z.lazy(() => DeploymentInfoGcp$inboundSchema), z.any()]);
380
+ export function deploymentInfoGcpUnionFromJSON(jsonString) {
381
+ return safeParse(jsonString, (x) => DeploymentInfoGcpUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoGcpUnion' from JSON`);
382
+ }
383
+ /** @internal */
384
+ export const DeploymentInfoTlsSecretRef$inboundSchema = z.object({
385
+ namespace: z.nullable(z.string()).optional(),
386
+ secretName: z.string(),
387
+ });
388
+ export function deploymentInfoTlsSecretRefFromJSON(jsonString) {
389
+ return safeParse(jsonString, (x) => DeploymentInfoTlsSecretRef$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoTlsSecretRef' from JSON`);
390
+ }
391
+ /** @internal */
392
+ export const DeploymentInfoDomainsKubernetes$inboundSchema = z.object({
393
+ tlsSecretRef: z.lazy(() => DeploymentInfoTlsSecretRef$inboundSchema),
394
+ });
395
+ export function deploymentInfoDomainsKubernetesFromJSON(jsonString) {
396
+ return safeParse(jsonString, (x) => DeploymentInfoDomainsKubernetes$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoDomainsKubernetes' from JSON`);
397
+ }
398
+ /** @internal */
399
+ export const DeploymentInfoDomainsKubernetesUnion$inboundSchema = z.union([
400
+ z.lazy(() => DeploymentInfoDomainsKubernetes$inboundSchema),
401
+ z.any(),
402
+ ]);
403
+ export function deploymentInfoDomainsKubernetesUnionFromJSON(jsonString) {
404
+ return safeParse(jsonString, (x) => DeploymentInfoDomainsKubernetesUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoDomainsKubernetesUnion' from JSON`);
405
+ }
406
+ /** @internal */
407
+ export const DeploymentInfoDomainsCertificate$inboundSchema = z.object({
408
+ aws: z.nullable(z.union([z.lazy(() => DeploymentInfoAws$inboundSchema), z.any()])).optional(),
409
+ azure: z.nullable(z.union([z.lazy(() => DeploymentInfoAzure$inboundSchema), z.any()])).optional(),
410
+ gcp: z.nullable(z.union([z.lazy(() => DeploymentInfoGcp$inboundSchema), z.any()])).optional(),
411
+ kubernetes: z.nullable(z.union([
412
+ z.lazy(() => DeploymentInfoDomainsKubernetes$inboundSchema),
413
+ z.any(),
414
+ ])).optional(),
415
+ });
416
+ export function deploymentInfoDomainsCertificateFromJSON(jsonString) {
417
+ return safeParse(jsonString, (x) => DeploymentInfoDomainsCertificate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoDomainsCertificate' from JSON`);
418
+ }
419
+ /** @internal */
420
+ export const DeploymentInfoCustomDomains$inboundSchema = z.object({
421
+ certificate: z.lazy(() => DeploymentInfoDomainsCertificate$inboundSchema),
422
+ domain: z.string(),
423
+ });
424
+ export function deploymentInfoCustomDomainsFromJSON(jsonString) {
425
+ return safeParse(jsonString, (x) => DeploymentInfoCustomDomains$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoCustomDomains' from JSON`);
426
+ }
427
+ /** @internal */
428
+ export const SetupUpdateModeLoadBalancer$inboundSchema = z.enum(SetupUpdateModeLoadBalancer);
429
+ /** @internal */
430
+ export const DeploymentInfoPublicEndpointTargetLoadBalancer$inboundSchema = z.object({
431
+ cnameTarget: z.string(),
432
+ mode: SetupUpdateModeLoadBalancer$inboundSchema,
433
+ });
434
+ export function deploymentInfoPublicEndpointTargetLoadBalancerFromJSON(jsonString) {
435
+ return safeParse(jsonString, (x) => DeploymentInfoPublicEndpointTargetLoadBalancer$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoPublicEndpointTargetLoadBalancer' from JSON`);
436
+ }
437
+ /** @internal */
438
+ export const SetupUpdateModeMachineAddresses$inboundSchema = z.enum(SetupUpdateModeMachineAddresses);
439
+ /** @internal */
440
+ export const DeploymentInfoPublicEndpointTargetMachineAddresses$inboundSchema = z
441
+ .object({
442
+ mode: SetupUpdateModeMachineAddresses$inboundSchema,
443
+ });
444
+ export function deploymentInfoPublicEndpointTargetMachineAddressesFromJSON(jsonString) {
445
+ return safeParse(jsonString, (x) => DeploymentInfoPublicEndpointTargetMachineAddresses$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoPublicEndpointTargetMachineAddresses' from JSON`);
446
+ }
447
+ /** @internal */
448
+ export const DeploymentInfoPublicEndpointTargetUnion$inboundSchema = z.union([
449
+ z.lazy(() => DeploymentInfoPublicEndpointTargetLoadBalancer$inboundSchema),
450
+ z.lazy(() => DeploymentInfoPublicEndpointTargetMachineAddresses$inboundSchema),
451
+ z.any(),
452
+ ]);
453
+ export function deploymentInfoPublicEndpointTargetUnionFromJSON(jsonString) {
454
+ return safeParse(jsonString, (x) => DeploymentInfoPublicEndpointTargetUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoPublicEndpointTargetUnion' from JSON`);
455
+ }
456
+ /** @internal */
457
+ export const DeploymentInfoDomains$inboundSchema = z.object({
458
+ customDomains: z.nullable(z.record(z.string(), z.lazy(() => DeploymentInfoCustomDomains$inboundSchema))).optional(),
459
+ publicEndpointTarget: z.nullable(z.union([
460
+ z.lazy(() => DeploymentInfoPublicEndpointTargetLoadBalancer$inboundSchema),
461
+ z.lazy(() => DeploymentInfoPublicEndpointTargetMachineAddresses$inboundSchema),
462
+ z.any(),
463
+ ])).optional(),
464
+ });
465
+ export function deploymentInfoDomainsFromJSON(jsonString) {
466
+ return safeParse(jsonString, (x) => DeploymentInfoDomains$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoDomains' from JSON`);
467
+ }
468
+ /** @internal */
469
+ export const DeploymentInfoDomainsUnion$inboundSchema = z.union([z.lazy(() => DeploymentInfoDomains$inboundSchema), z.any()]);
470
+ export function deploymentInfoDomainsUnionFromJSON(jsonString) {
471
+ return safeParse(jsonString, (x) => DeploymentInfoDomainsUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoDomainsUnion' from JSON`);
472
+ }
473
+ /** @internal */
474
+ export const DeploymentInfoExternalBindings$inboundSchema = z.object({});
475
+ export function deploymentInfoExternalBindingsFromJSON(jsonString) {
476
+ return safeParse(jsonString, (x) => DeploymentInfoExternalBindings$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoExternalBindings' from JSON`);
477
+ }
478
+ /** @internal */
479
+ export const DeploymentInfoHeartbeats$inboundSchema = z.enum(DeploymentInfoHeartbeats);
480
+ /** @internal */
481
+ export const DeploymentInfoCloud$inboundSchema = z.object({
482
+ accountId: z.nullable(z.string()).optional(),
483
+ clusterId: z.nullable(z.string()).optional(),
484
+ clusterName: z.nullable(z.string()).optional(),
485
+ projectId: z.nullable(z.string()).optional(),
486
+ region: z.nullable(z.string()).optional(),
487
+ resourceGroup: z.nullable(z.string()).optional(),
488
+ subscriptionId: z.nullable(z.string()).optional(),
489
+ });
490
+ export function deploymentInfoCloudFromJSON(jsonString) {
491
+ return safeParse(jsonString, (x) => DeploymentInfoCloud$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoCloud' from JSON`);
492
+ }
493
+ /** @internal */
494
+ export const DeploymentInfoCloudUnion$inboundSchema = z.union([z.lazy(() => DeploymentInfoCloud$inboundSchema), z.any()]);
495
+ export function deploymentInfoCloudUnionFromJSON(jsonString) {
496
+ return safeParse(jsonString, (x) => DeploymentInfoCloudUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoCloudUnion' from JSON`);
497
+ }
498
+ /** @internal */
499
+ export const DeploymentInfoOwnership$inboundSchema = z.enum(DeploymentInfoOwnership);
500
+ /** @internal */
501
+ export const DeploymentInfoCluster$inboundSchema = z.object({
502
+ cloud: z.nullable(z.union([z.lazy(() => DeploymentInfoCloud$inboundSchema), z.any()])).optional(),
503
+ namespace: z.nullable(z.string()).optional(),
504
+ ownership: DeploymentInfoOwnership$inboundSchema,
505
+ });
506
+ export function deploymentInfoClusterFromJSON(jsonString) {
507
+ return safeParse(jsonString, (x) => DeploymentInfoCluster$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoCluster' from JSON`);
508
+ }
509
+ /** @internal */
510
+ export const DeploymentInfoClusterUnion$inboundSchema = z.union([z.lazy(() => DeploymentInfoCluster$inboundSchema), z.any()]);
511
+ export function deploymentInfoClusterUnionFromJSON(jsonString) {
512
+ return safeParse(jsonString, (x) => DeploymentInfoClusterUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoClusterUnion' from JSON`);
513
+ }
514
+ /** @internal */
515
+ export const DeploymentInfoCertificateNone2$inboundSchema = z.object({
516
+ mode: z.literal("none"),
517
+ });
518
+ export function deploymentInfoCertificateNone2FromJSON(jsonString) {
519
+ return safeParse(jsonString, (x) => DeploymentInfoCertificateNone2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoCertificateNone2' from JSON`);
520
+ }
521
+ /** @internal */
522
+ export const DeploymentInfoCertificateManagedTLSSecret2$inboundSchema = z.object({
523
+ mode: z.literal("managedTlsSecret"),
524
+ secretNameTemplate: z.string(),
525
+ });
526
+ export function deploymentInfoCertificateManagedTLSSecret2FromJSON(jsonString) {
527
+ return safeParse(jsonString, (x) => DeploymentInfoCertificateManagedTLSSecret2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoCertificateManagedTLSSecret2' from JSON`);
528
+ }
529
+ /** @internal */
530
+ export const DeploymentInfoCertificateAwsAcmArn2$inboundSchema = z.object({
531
+ certificateArn: z.string(),
532
+ mode: z.literal("awsAcmArn"),
533
+ });
534
+ export function deploymentInfoCertificateAwsAcmArn2FromJSON(jsonString) {
535
+ return safeParse(jsonString, (x) => DeploymentInfoCertificateAwsAcmArn2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoCertificateAwsAcmArn2' from JSON`);
536
+ }
537
+ /** @internal */
538
+ export const DeploymentInfoCertificateManagedAcmImport2$inboundSchema = z.object({
539
+ mode: z.literal("managedAcmImport"),
540
+ region: z.nullable(z.string()).optional(),
541
+ tags: z.record(z.string(), z.string()).optional(),
542
+ });
543
+ export function deploymentInfoCertificateManagedAcmImport2FromJSON(jsonString) {
544
+ return safeParse(jsonString, (x) => DeploymentInfoCertificateManagedAcmImport2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoCertificateManagedAcmImport2' from JSON`);
545
+ }
546
+ /** @internal */
547
+ export const DeploymentInfoCertificateTLSSecretRef2$inboundSchema = z.object({
548
+ namespace: z.nullable(z.string()).optional(),
549
+ secretName: z.string(),
550
+ mode: z.literal("tlsSecretRef"),
551
+ });
552
+ export function deploymentInfoCertificateTLSSecretRef2FromJSON(jsonString) {
553
+ return safeParse(jsonString, (x) => DeploymentInfoCertificateTLSSecretRef2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoCertificateTLSSecretRef2' from JSON`);
554
+ }
555
+ /** @internal */
556
+ export const DeploymentInfoCertificateUnion2$inboundSchema = z.union([
557
+ z.lazy(() => DeploymentInfoCertificateTLSSecretRef2$inboundSchema),
558
+ z.lazy(() => DeploymentInfoCertificateManagedAcmImport2$inboundSchema),
559
+ z.lazy(() => DeploymentInfoCertificateAwsAcmArn2$inboundSchema),
560
+ z.lazy(() => DeploymentInfoCertificateManagedTLSSecret2$inboundSchema),
561
+ z.lazy(() => DeploymentInfoCertificateNone2$inboundSchema),
562
+ ]);
563
+ export function deploymentInfoCertificateUnion2FromJSON(jsonString) {
564
+ return safeParse(jsonString, (x) => DeploymentInfoCertificateUnion2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoCertificateUnion2' from JSON`);
565
+ }
566
+ /** @internal */
567
+ export const SetupUpdateModeCustom$inboundSchema = z.enum(SetupUpdateModeCustom);
568
+ /** @internal */
569
+ export const SetupUpdateProviderAzureApplicationGatewayForContainersEnum4$inboundSchema = z.enum(SetupUpdateProviderAzureApplicationGatewayForContainersEnum4);
570
+ /** @internal */
571
+ export const ProviderSetupUpdateAzureApplicationGatewayForContainers4$inboundSchema = z.object({
572
+ albName: z.nullable(z.string()).optional(),
573
+ albNamespace: z.nullable(z.string()).optional(),
574
+ frontend: z.string(),
575
+ provider: SetupUpdateProviderAzureApplicationGatewayForContainersEnum4$inboundSchema,
576
+ });
577
+ export function providerSetupUpdateAzureApplicationGatewayForContainers4FromJSON(jsonString) {
578
+ return safeParse(jsonString, (x) => ProviderSetupUpdateAzureApplicationGatewayForContainers4$inboundSchema
579
+ .parse(JSON.parse(x)), `Failed to parse 'ProviderSetupUpdateAzureApplicationGatewayForContainers4' from JSON`);
580
+ }
581
+ /** @internal */
582
+ export const SetupUpdateProviderGkeGatewayEnum4$inboundSchema = z.enum(SetupUpdateProviderGkeGatewayEnum4);
583
+ /** @internal */
584
+ export const ProviderSetupUpdateGkeGateway4$inboundSchema = z.object({
585
+ provider: SetupUpdateProviderGkeGatewayEnum4$inboundSchema,
586
+ staticAddressName: z.nullable(z.string()).optional(),
587
+ });
588
+ export function providerSetupUpdateGkeGateway4FromJSON(jsonString) {
589
+ return safeParse(jsonString, (x) => ProviderSetupUpdateGkeGateway4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProviderSetupUpdateGkeGateway4' from JSON`);
590
+ }
591
+ /** @internal */
592
+ export const SetupUpdateProviderAwsAlbEnum4$inboundSchema = z.enum(SetupUpdateProviderAwsAlbEnum4);
593
+ /** @internal */
594
+ export const ProviderSetupUpdateAwsAlb4$inboundSchema = z.object({
595
+ ipAddressType: z.nullable(z.string()).optional(),
596
+ provider: SetupUpdateProviderAwsAlbEnum4$inboundSchema,
597
+ scheme: z.string(),
598
+ subnetIds: z.array(z.string()).optional(),
599
+ targetType: z.string(),
600
+ });
601
+ export function providerSetupUpdateAwsAlb4FromJSON(jsonString) {
602
+ return safeParse(jsonString, (x) => ProviderSetupUpdateAwsAlb4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProviderSetupUpdateAwsAlb4' from JSON`);
603
+ }
604
+ /** @internal */
605
+ export const SetupUpdateProviderUnion4$inboundSchema = z.union([
606
+ z.lazy(() => ProviderSetupUpdateAwsAlb4$inboundSchema),
607
+ z.lazy(() => ProviderSetupUpdateAzureApplicationGatewayForContainers4$inboundSchema),
608
+ z.lazy(() => ProviderSetupUpdateGkeGateway4$inboundSchema),
609
+ z.any(),
610
+ ]);
611
+ export function setupUpdateProviderUnion4FromJSON(jsonString) {
612
+ return safeParse(jsonString, (x) => SetupUpdateProviderUnion4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SetupUpdateProviderUnion4' from JSON`);
613
+ }
614
+ /** @internal */
615
+ export const DeploymentInfoRouteGateway2$inboundSchema = z.object({
616
+ annotations: z.record(z.string(), z.string()).optional(),
617
+ controller: z.nullable(z.string()).optional(),
618
+ gatewayClassName: z.string(),
619
+ labels: z.record(z.string(), z.string()).optional(),
620
+ listenerPort: z.int(),
621
+ provider: z.nullable(z.union([
622
+ z.lazy(() => ProviderSetupUpdateAwsAlb4$inboundSchema),
623
+ z.lazy(() => ProviderSetupUpdateAzureApplicationGatewayForContainers4$inboundSchema),
624
+ z.lazy(() => ProviderSetupUpdateGkeGateway4$inboundSchema),
625
+ z.any(),
626
+ ])).optional(),
627
+ routeApi: z.literal("gateway"),
628
+ });
629
+ export function deploymentInfoRouteGateway2FromJSON(jsonString) {
630
+ return safeParse(jsonString, (x) => DeploymentInfoRouteGateway2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoRouteGateway2' from JSON`);
631
+ }
632
+ /** @internal */
633
+ export const SetupUpdateProviderAzureApplicationGatewayForContainersEnum3$inboundSchema = z.enum(SetupUpdateProviderAzureApplicationGatewayForContainersEnum3);
634
+ /** @internal */
635
+ export const ProviderSetupUpdateAzureApplicationGatewayForContainers3$inboundSchema = z.object({
636
+ albName: z.nullable(z.string()).optional(),
637
+ albNamespace: z.nullable(z.string()).optional(),
638
+ frontend: z.string(),
639
+ provider: SetupUpdateProviderAzureApplicationGatewayForContainersEnum3$inboundSchema,
640
+ });
641
+ export function providerSetupUpdateAzureApplicationGatewayForContainers3FromJSON(jsonString) {
642
+ return safeParse(jsonString, (x) => ProviderSetupUpdateAzureApplicationGatewayForContainers3$inboundSchema
643
+ .parse(JSON.parse(x)), `Failed to parse 'ProviderSetupUpdateAzureApplicationGatewayForContainers3' from JSON`);
644
+ }
645
+ /** @internal */
646
+ export const SetupUpdateProviderGkeGatewayEnum3$inboundSchema = z.enum(SetupUpdateProviderGkeGatewayEnum3);
647
+ /** @internal */
648
+ export const ProviderSetupUpdateGkeGateway3$inboundSchema = z.object({
649
+ provider: SetupUpdateProviderGkeGatewayEnum3$inboundSchema,
650
+ staticAddressName: z.nullable(z.string()).optional(),
651
+ });
652
+ export function providerSetupUpdateGkeGateway3FromJSON(jsonString) {
653
+ return safeParse(jsonString, (x) => ProviderSetupUpdateGkeGateway3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProviderSetupUpdateGkeGateway3' from JSON`);
654
+ }
655
+ /** @internal */
656
+ export const SetupUpdateProviderAwsAlbEnum3$inboundSchema = z.enum(SetupUpdateProviderAwsAlbEnum3);
657
+ /** @internal */
658
+ export const ProviderSetupUpdateAwsAlb3$inboundSchema = z.object({
659
+ ipAddressType: z.nullable(z.string()).optional(),
660
+ provider: SetupUpdateProviderAwsAlbEnum3$inboundSchema,
661
+ scheme: z.string(),
662
+ subnetIds: z.array(z.string()).optional(),
663
+ targetType: z.string(),
664
+ });
665
+ export function providerSetupUpdateAwsAlb3FromJSON(jsonString) {
666
+ return safeParse(jsonString, (x) => ProviderSetupUpdateAwsAlb3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProviderSetupUpdateAwsAlb3' from JSON`);
667
+ }
668
+ /** @internal */
669
+ export const SetupUpdateProviderUnion3$inboundSchema = z.union([
670
+ z.lazy(() => ProviderSetupUpdateAwsAlb3$inboundSchema),
671
+ z.lazy(() => ProviderSetupUpdateAzureApplicationGatewayForContainers3$inboundSchema),
672
+ z.lazy(() => ProviderSetupUpdateGkeGateway3$inboundSchema),
673
+ z.any(),
674
+ ]);
675
+ export function setupUpdateProviderUnion3FromJSON(jsonString) {
676
+ return safeParse(jsonString, (x) => SetupUpdateProviderUnion3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SetupUpdateProviderUnion3' from JSON`);
677
+ }
678
+ /** @internal */
679
+ export const DeploymentInfoRouteIngress2$inboundSchema = z.object({
680
+ annotations: z.record(z.string(), z.string()).optional(),
681
+ controller: z.nullable(z.string()).optional(),
682
+ ingressClassName: z.string(),
683
+ labels: z.record(z.string(), z.string()).optional(),
684
+ provider: z.nullable(z.union([
685
+ z.lazy(() => ProviderSetupUpdateAwsAlb3$inboundSchema),
686
+ z.lazy(() => ProviderSetupUpdateAzureApplicationGatewayForContainers3$inboundSchema),
687
+ z.lazy(() => ProviderSetupUpdateGkeGateway3$inboundSchema),
688
+ z.any(),
689
+ ])).optional(),
690
+ routeApi: z.literal("ingress"),
691
+ });
692
+ export function deploymentInfoRouteIngress2FromJSON(jsonString) {
693
+ return safeParse(jsonString, (x) => DeploymentInfoRouteIngress2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoRouteIngress2' from JSON`);
694
+ }
695
+ /** @internal */
696
+ export const DeploymentInfoRouteUnion2$inboundSchema = z.union([
697
+ z.lazy(() => DeploymentInfoRouteIngress2$inboundSchema),
698
+ z.lazy(() => DeploymentInfoRouteGateway2$inboundSchema),
699
+ ]);
700
+ export function deploymentInfoRouteUnion2FromJSON(jsonString) {
701
+ return safeParse(jsonString, (x) => DeploymentInfoRouteUnion2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoRouteUnion2' from JSON`);
702
+ }
703
+ /** @internal */
704
+ export const DeploymentInfoExposureCustom$inboundSchema = z.object({
705
+ certificate: z.union([
706
+ z.lazy(() => DeploymentInfoCertificateTLSSecretRef2$inboundSchema),
707
+ z.lazy(() => DeploymentInfoCertificateManagedAcmImport2$inboundSchema),
708
+ z.lazy(() => DeploymentInfoCertificateAwsAcmArn2$inboundSchema),
709
+ z.lazy(() => DeploymentInfoCertificateManagedTLSSecret2$inboundSchema),
710
+ z.lazy(() => DeploymentInfoCertificateNone2$inboundSchema),
711
+ ]),
712
+ domain: z.string(),
713
+ mode: SetupUpdateModeCustom$inboundSchema,
714
+ route: z.union([
715
+ z.lazy(() => DeploymentInfoRouteIngress2$inboundSchema),
716
+ z.lazy(() => DeploymentInfoRouteGateway2$inboundSchema),
717
+ ]),
718
+ });
719
+ export function deploymentInfoExposureCustomFromJSON(jsonString) {
720
+ return safeParse(jsonString, (x) => DeploymentInfoExposureCustom$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoExposureCustom' from JSON`);
721
+ }
722
+ /** @internal */
723
+ export const DeploymentInfoCertificateNone1$inboundSchema = z.object({
724
+ mode: z.literal("none"),
725
+ });
726
+ export function deploymentInfoCertificateNone1FromJSON(jsonString) {
727
+ return safeParse(jsonString, (x) => DeploymentInfoCertificateNone1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoCertificateNone1' from JSON`);
728
+ }
729
+ /** @internal */
730
+ export const DeploymentInfoCertificateManagedTLSSecret1$inboundSchema = z.object({
731
+ mode: z.literal("managedTlsSecret"),
732
+ secretNameTemplate: z.string(),
733
+ });
734
+ export function deploymentInfoCertificateManagedTLSSecret1FromJSON(jsonString) {
735
+ return safeParse(jsonString, (x) => DeploymentInfoCertificateManagedTLSSecret1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoCertificateManagedTLSSecret1' from JSON`);
736
+ }
737
+ /** @internal */
738
+ export const DeploymentInfoCertificateAwsAcmArn1$inboundSchema = z.object({
739
+ certificateArn: z.string(),
740
+ mode: z.literal("awsAcmArn"),
741
+ });
742
+ export function deploymentInfoCertificateAwsAcmArn1FromJSON(jsonString) {
743
+ return safeParse(jsonString, (x) => DeploymentInfoCertificateAwsAcmArn1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoCertificateAwsAcmArn1' from JSON`);
744
+ }
745
+ /** @internal */
746
+ export const DeploymentInfoCertificateManagedAcmImport1$inboundSchema = z.object({
747
+ mode: z.literal("managedAcmImport"),
748
+ region: z.nullable(z.string()).optional(),
749
+ tags: z.record(z.string(), z.string()).optional(),
750
+ });
751
+ export function deploymentInfoCertificateManagedAcmImport1FromJSON(jsonString) {
752
+ return safeParse(jsonString, (x) => DeploymentInfoCertificateManagedAcmImport1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoCertificateManagedAcmImport1' from JSON`);
753
+ }
754
+ /** @internal */
755
+ export const DeploymentInfoCertificateTLSSecretRef1$inboundSchema = z.object({
756
+ namespace: z.nullable(z.string()).optional(),
757
+ secretName: z.string(),
758
+ mode: z.literal("tlsSecretRef"),
759
+ });
760
+ export function deploymentInfoCertificateTLSSecretRef1FromJSON(jsonString) {
761
+ return safeParse(jsonString, (x) => DeploymentInfoCertificateTLSSecretRef1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoCertificateTLSSecretRef1' from JSON`);
762
+ }
763
+ /** @internal */
764
+ export const DeploymentInfoCertificateUnion1$inboundSchema = z.union([
765
+ z.lazy(() => DeploymentInfoCertificateTLSSecretRef1$inboundSchema),
766
+ z.lazy(() => DeploymentInfoCertificateManagedAcmImport1$inboundSchema),
767
+ z.lazy(() => DeploymentInfoCertificateAwsAcmArn1$inboundSchema),
768
+ z.lazy(() => DeploymentInfoCertificateManagedTLSSecret1$inboundSchema),
769
+ z.lazy(() => DeploymentInfoCertificateNone1$inboundSchema),
770
+ ]);
771
+ export function deploymentInfoCertificateUnion1FromJSON(jsonString) {
772
+ return safeParse(jsonString, (x) => DeploymentInfoCertificateUnion1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoCertificateUnion1' from JSON`);
773
+ }
774
+ /** @internal */
775
+ export const SetupUpdateModeGenerated$inboundSchema = z.enum(SetupUpdateModeGenerated);
776
+ /** @internal */
777
+ export const SetupUpdateProviderAzureApplicationGatewayForContainersEnum2$inboundSchema = z.enum(SetupUpdateProviderAzureApplicationGatewayForContainersEnum2);
778
+ /** @internal */
779
+ export const ProviderSetupUpdateAzureApplicationGatewayForContainers2$inboundSchema = z.object({
780
+ albName: z.nullable(z.string()).optional(),
781
+ albNamespace: z.nullable(z.string()).optional(),
782
+ frontend: z.string(),
783
+ provider: SetupUpdateProviderAzureApplicationGatewayForContainersEnum2$inboundSchema,
784
+ });
785
+ export function providerSetupUpdateAzureApplicationGatewayForContainers2FromJSON(jsonString) {
786
+ return safeParse(jsonString, (x) => ProviderSetupUpdateAzureApplicationGatewayForContainers2$inboundSchema
787
+ .parse(JSON.parse(x)), `Failed to parse 'ProviderSetupUpdateAzureApplicationGatewayForContainers2' from JSON`);
788
+ }
789
+ /** @internal */
790
+ export const SetupUpdateProviderGkeGatewayEnum2$inboundSchema = z.enum(SetupUpdateProviderGkeGatewayEnum2);
791
+ /** @internal */
792
+ export const ProviderSetupUpdateGkeGateway2$inboundSchema = z.object({
793
+ provider: SetupUpdateProviderGkeGatewayEnum2$inboundSchema,
794
+ staticAddressName: z.nullable(z.string()).optional(),
795
+ });
796
+ export function providerSetupUpdateGkeGateway2FromJSON(jsonString) {
797
+ return safeParse(jsonString, (x) => ProviderSetupUpdateGkeGateway2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProviderSetupUpdateGkeGateway2' from JSON`);
798
+ }
799
+ /** @internal */
800
+ export const SetupUpdateProviderAwsAlbEnum2$inboundSchema = z.enum(SetupUpdateProviderAwsAlbEnum2);
801
+ /** @internal */
802
+ export const ProviderSetupUpdateAwsAlb2$inboundSchema = z.object({
803
+ ipAddressType: z.nullable(z.string()).optional(),
804
+ provider: SetupUpdateProviderAwsAlbEnum2$inboundSchema,
805
+ scheme: z.string(),
806
+ subnetIds: z.array(z.string()).optional(),
807
+ targetType: z.string(),
808
+ });
809
+ export function providerSetupUpdateAwsAlb2FromJSON(jsonString) {
810
+ return safeParse(jsonString, (x) => ProviderSetupUpdateAwsAlb2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProviderSetupUpdateAwsAlb2' from JSON`);
811
+ }
812
+ /** @internal */
813
+ export const SetupUpdateProviderUnion2$inboundSchema = z.union([
814
+ z.lazy(() => ProviderSetupUpdateAwsAlb2$inboundSchema),
815
+ z.lazy(() => ProviderSetupUpdateAzureApplicationGatewayForContainers2$inboundSchema),
816
+ z.lazy(() => ProviderSetupUpdateGkeGateway2$inboundSchema),
817
+ z.any(),
818
+ ]);
819
+ export function setupUpdateProviderUnion2FromJSON(jsonString) {
820
+ return safeParse(jsonString, (x) => SetupUpdateProviderUnion2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SetupUpdateProviderUnion2' from JSON`);
821
+ }
822
+ /** @internal */
823
+ export const DeploymentInfoRouteGateway1$inboundSchema = z.object({
824
+ annotations: z.record(z.string(), z.string()).optional(),
825
+ controller: z.nullable(z.string()).optional(),
826
+ gatewayClassName: z.string(),
827
+ labels: z.record(z.string(), z.string()).optional(),
828
+ listenerPort: z.int(),
829
+ provider: z.nullable(z.union([
830
+ z.lazy(() => ProviderSetupUpdateAwsAlb2$inboundSchema),
831
+ z.lazy(() => ProviderSetupUpdateAzureApplicationGatewayForContainers2$inboundSchema),
832
+ z.lazy(() => ProviderSetupUpdateGkeGateway2$inboundSchema),
833
+ z.any(),
834
+ ])).optional(),
835
+ routeApi: z.literal("gateway"),
836
+ });
837
+ export function deploymentInfoRouteGateway1FromJSON(jsonString) {
838
+ return safeParse(jsonString, (x) => DeploymentInfoRouteGateway1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoRouteGateway1' from JSON`);
839
+ }
840
+ /** @internal */
841
+ export const SetupUpdateProviderAzureApplicationGatewayForContainersEnum1$inboundSchema = z.enum(SetupUpdateProviderAzureApplicationGatewayForContainersEnum1);
842
+ /** @internal */
843
+ export const ProviderSetupUpdateAzureApplicationGatewayForContainers1$inboundSchema = z.object({
844
+ albName: z.nullable(z.string()).optional(),
845
+ albNamespace: z.nullable(z.string()).optional(),
846
+ frontend: z.string(),
847
+ provider: SetupUpdateProviderAzureApplicationGatewayForContainersEnum1$inboundSchema,
848
+ });
849
+ export function providerSetupUpdateAzureApplicationGatewayForContainers1FromJSON(jsonString) {
850
+ return safeParse(jsonString, (x) => ProviderSetupUpdateAzureApplicationGatewayForContainers1$inboundSchema
851
+ .parse(JSON.parse(x)), `Failed to parse 'ProviderSetupUpdateAzureApplicationGatewayForContainers1' from JSON`);
852
+ }
853
+ /** @internal */
854
+ export const SetupUpdateProviderGkeGatewayEnum1$inboundSchema = z.enum(SetupUpdateProviderGkeGatewayEnum1);
855
+ /** @internal */
856
+ export const ProviderSetupUpdateGkeGateway1$inboundSchema = z.object({
857
+ provider: SetupUpdateProviderGkeGatewayEnum1$inboundSchema,
858
+ staticAddressName: z.nullable(z.string()).optional(),
859
+ });
860
+ export function providerSetupUpdateGkeGateway1FromJSON(jsonString) {
861
+ return safeParse(jsonString, (x) => ProviderSetupUpdateGkeGateway1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProviderSetupUpdateGkeGateway1' from JSON`);
862
+ }
863
+ /** @internal */
864
+ export const SetupUpdateProviderAwsAlbEnum1$inboundSchema = z.enum(SetupUpdateProviderAwsAlbEnum1);
865
+ /** @internal */
866
+ export const ProviderSetupUpdateAwsAlb1$inboundSchema = z.object({
867
+ ipAddressType: z.nullable(z.string()).optional(),
868
+ provider: SetupUpdateProviderAwsAlbEnum1$inboundSchema,
869
+ scheme: z.string(),
870
+ subnetIds: z.array(z.string()).optional(),
871
+ targetType: z.string(),
872
+ });
873
+ export function providerSetupUpdateAwsAlb1FromJSON(jsonString) {
874
+ return safeParse(jsonString, (x) => ProviderSetupUpdateAwsAlb1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProviderSetupUpdateAwsAlb1' from JSON`);
875
+ }
876
+ /** @internal */
877
+ export const SetupUpdateProviderUnion1$inboundSchema = z.union([
878
+ z.lazy(() => ProviderSetupUpdateAwsAlb1$inboundSchema),
879
+ z.lazy(() => ProviderSetupUpdateAzureApplicationGatewayForContainers1$inboundSchema),
880
+ z.lazy(() => ProviderSetupUpdateGkeGateway1$inboundSchema),
881
+ z.any(),
882
+ ]);
883
+ export function setupUpdateProviderUnion1FromJSON(jsonString) {
884
+ return safeParse(jsonString, (x) => SetupUpdateProviderUnion1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SetupUpdateProviderUnion1' from JSON`);
885
+ }
886
+ /** @internal */
887
+ export const DeploymentInfoRouteIngress1$inboundSchema = z.object({
888
+ annotations: z.record(z.string(), z.string()).optional(),
889
+ controller: z.nullable(z.string()).optional(),
890
+ ingressClassName: z.string(),
891
+ labels: z.record(z.string(), z.string()).optional(),
892
+ provider: z.nullable(z.union([
893
+ z.lazy(() => ProviderSetupUpdateAwsAlb1$inboundSchema),
894
+ z.lazy(() => ProviderSetupUpdateAzureApplicationGatewayForContainers1$inboundSchema),
895
+ z.lazy(() => ProviderSetupUpdateGkeGateway1$inboundSchema),
896
+ z.any(),
897
+ ])).optional(),
898
+ routeApi: z.literal("ingress"),
899
+ });
900
+ export function deploymentInfoRouteIngress1FromJSON(jsonString) {
901
+ return safeParse(jsonString, (x) => DeploymentInfoRouteIngress1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoRouteIngress1' from JSON`);
902
+ }
903
+ /** @internal */
904
+ export const DeploymentInfoRouteUnion1$inboundSchema = z.union([
905
+ z.lazy(() => DeploymentInfoRouteIngress1$inboundSchema),
906
+ z.lazy(() => DeploymentInfoRouteGateway1$inboundSchema),
907
+ ]);
908
+ export function deploymentInfoRouteUnion1FromJSON(jsonString) {
909
+ return safeParse(jsonString, (x) => DeploymentInfoRouteUnion1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoRouteUnion1' from JSON`);
910
+ }
911
+ /** @internal */
912
+ export const DeploymentInfoExposureGenerated$inboundSchema = z.object({
913
+ certificate: z.union([
914
+ z.lazy(() => DeploymentInfoCertificateTLSSecretRef1$inboundSchema),
915
+ z.lazy(() => DeploymentInfoCertificateManagedAcmImport1$inboundSchema),
916
+ z.lazy(() => DeploymentInfoCertificateAwsAcmArn1$inboundSchema),
917
+ z.lazy(() => DeploymentInfoCertificateManagedTLSSecret1$inboundSchema),
918
+ z.lazy(() => DeploymentInfoCertificateNone1$inboundSchema),
919
+ ]),
920
+ mode: SetupUpdateModeGenerated$inboundSchema,
921
+ route: z.union([
922
+ z.lazy(() => DeploymentInfoRouteIngress1$inboundSchema),
923
+ z.lazy(() => DeploymentInfoRouteGateway1$inboundSchema),
924
+ ]),
925
+ });
926
+ export function deploymentInfoExposureGeneratedFromJSON(jsonString) {
927
+ return safeParse(jsonString, (x) => DeploymentInfoExposureGenerated$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoExposureGenerated' from JSON`);
928
+ }
929
+ /** @internal */
930
+ export const SetupUpdateModeDisabled$inboundSchema = z.enum(SetupUpdateModeDisabled);
931
+ /** @internal */
932
+ export const DeploymentInfoExposureDisabled$inboundSchema = z.object({
933
+ mode: SetupUpdateModeDisabled$inboundSchema,
934
+ });
935
+ export function deploymentInfoExposureDisabledFromJSON(jsonString) {
936
+ return safeParse(jsonString, (x) => DeploymentInfoExposureDisabled$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoExposureDisabled' from JSON`);
937
+ }
938
+ /** @internal */
939
+ export const DeploymentInfoExposureUnion$inboundSchema = z.union([
940
+ z.lazy(() => DeploymentInfoExposureCustom$inboundSchema),
941
+ z.lazy(() => DeploymentInfoExposureGenerated$inboundSchema),
942
+ z.lazy(() => DeploymentInfoExposureDisabled$inboundSchema),
943
+ z.any(),
944
+ ]);
945
+ export function deploymentInfoExposureUnionFromJSON(jsonString) {
946
+ return safeParse(jsonString, (x) => DeploymentInfoExposureUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoExposureUnion' from JSON`);
947
+ }
948
+ /** @internal */
949
+ export const DeploymentInfoKubernetes$inboundSchema = z.object({
950
+ cluster: z.nullable(z.union([z.lazy(() => DeploymentInfoCluster$inboundSchema), z.any()])).optional(),
951
+ exposure: z.nullable(z.union([
952
+ z.lazy(() => DeploymentInfoExposureCustom$inboundSchema),
953
+ z.lazy(() => DeploymentInfoExposureGenerated$inboundSchema),
954
+ z.lazy(() => DeploymentInfoExposureDisabled$inboundSchema),
955
+ z.any(),
956
+ ])).optional(),
957
+ });
958
+ export function deploymentInfoKubernetesFromJSON(jsonString) {
959
+ return safeParse(jsonString, (x) => DeploymentInfoKubernetes$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoKubernetes' from JSON`);
960
+ }
961
+ /** @internal */
962
+ export const DeploymentInfoKubernetesUnion$inboundSchema = z.union([z.lazy(() => DeploymentInfoKubernetes$inboundSchema), z.any()]);
963
+ export function deploymentInfoKubernetesUnionFromJSON(jsonString) {
964
+ return safeParse(jsonString, (x) => DeploymentInfoKubernetesUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoKubernetesUnion' from JSON`);
965
+ }
966
+ /** @internal */
967
+ export const DeploymentInfoTypeByoVnetAzure$inboundSchema = z.enum(DeploymentInfoTypeByoVnetAzure);
968
+ /** @internal */
969
+ export const DeploymentInfoNetworkByoVnetAzure$inboundSchema = z.object({
970
+ application_gateway_subnet_name: z.nullable(z.string()).optional(),
971
+ private_endpoint_subnet_name: z.nullable(z.string()).optional(),
972
+ private_subnet_name: z.string(),
973
+ public_subnet_name: z.string(),
974
+ type: DeploymentInfoTypeByoVnetAzure$inboundSchema,
975
+ vnet_resource_id: z.string(),
976
+ }).transform((v) => {
977
+ return remap$(v, {
978
+ "application_gateway_subnet_name": "applicationGatewaySubnetName",
979
+ "private_endpoint_subnet_name": "privateEndpointSubnetName",
980
+ "private_subnet_name": "privateSubnetName",
981
+ "public_subnet_name": "publicSubnetName",
982
+ "vnet_resource_id": "vnetResourceId",
983
+ });
984
+ });
985
+ export function deploymentInfoNetworkByoVnetAzureFromJSON(jsonString) {
986
+ return safeParse(jsonString, (x) => DeploymentInfoNetworkByoVnetAzure$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoNetworkByoVnetAzure' from JSON`);
987
+ }
988
+ /** @internal */
989
+ export const DeploymentInfoTypeByoVpcGcp$inboundSchema = z.enum(DeploymentInfoTypeByoVpcGcp);
990
+ /** @internal */
991
+ export const DeploymentInfoNetworkByoVpcGcp$inboundSchema = z.object({
992
+ network_name: z.string(),
993
+ region: z.string(),
994
+ subnet_name: z.string(),
995
+ type: DeploymentInfoTypeByoVpcGcp$inboundSchema,
996
+ }).transform((v) => {
997
+ return remap$(v, {
998
+ "network_name": "networkName",
999
+ "subnet_name": "subnetName",
1000
+ });
1001
+ });
1002
+ export function deploymentInfoNetworkByoVpcGcpFromJSON(jsonString) {
1003
+ return safeParse(jsonString, (x) => DeploymentInfoNetworkByoVpcGcp$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoNetworkByoVpcGcp' from JSON`);
1004
+ }
1005
+ /** @internal */
1006
+ export const DeploymentInfoTypeByoVpcAws$inboundSchema = z.enum(DeploymentInfoTypeByoVpcAws);
1007
+ /** @internal */
1008
+ export const DeploymentInfoNetworkByoVpcAws$inboundSchema = z.object({
1009
+ private_subnet_ids: z.array(z.string()),
1010
+ public_subnet_ids: z.array(z.string()),
1011
+ security_group_ids: z.array(z.string()).optional(),
1012
+ type: DeploymentInfoTypeByoVpcAws$inboundSchema,
1013
+ vpc_id: z.string(),
1014
+ }).transform((v) => {
1015
+ return remap$(v, {
1016
+ "private_subnet_ids": "privateSubnetIds",
1017
+ "public_subnet_ids": "publicSubnetIds",
1018
+ "security_group_ids": "securityGroupIds",
1019
+ "vpc_id": "vpcId",
1020
+ });
1021
+ });
1022
+ export function deploymentInfoNetworkByoVpcAwsFromJSON(jsonString) {
1023
+ return safeParse(jsonString, (x) => DeploymentInfoNetworkByoVpcAws$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoNetworkByoVpcAws' from JSON`);
1024
+ }
1025
+ /** @internal */
1026
+ export const DeploymentInfoTypeCreate$inboundSchema = z.enum(DeploymentInfoTypeCreate);
1027
+ /** @internal */
1028
+ export const DeploymentInfoNetworkCreate$inboundSchema = z.object({
1029
+ availability_zones: z.int().optional(),
1030
+ cidr: z.nullable(z.string()).optional(),
1031
+ type: DeploymentInfoTypeCreate$inboundSchema,
1032
+ }).transform((v) => {
1033
+ return remap$(v, {
1034
+ "availability_zones": "availabilityZones",
1035
+ });
1036
+ });
1037
+ export function deploymentInfoNetworkCreateFromJSON(jsonString) {
1038
+ return safeParse(jsonString, (x) => DeploymentInfoNetworkCreate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoNetworkCreate' from JSON`);
1039
+ }
1040
+ /** @internal */
1041
+ export const DeploymentInfoTypeUseDefault$inboundSchema = z.enum(DeploymentInfoTypeUseDefault);
1042
+ /** @internal */
1043
+ export const DeploymentInfoNetworkUseDefault$inboundSchema = z.object({
1044
+ type: DeploymentInfoTypeUseDefault$inboundSchema,
1045
+ });
1046
+ export function deploymentInfoNetworkUseDefaultFromJSON(jsonString) {
1047
+ return safeParse(jsonString, (x) => DeploymentInfoNetworkUseDefault$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoNetworkUseDefault' from JSON`);
1048
+ }
1049
+ /** @internal */
1050
+ export const DeploymentInfoNetworkUnion$inboundSchema = z.union([
1051
+ z.lazy(() => DeploymentInfoNetworkByoVpcAws$inboundSchema),
1052
+ z.lazy(() => DeploymentInfoNetworkByoVpcGcp$inboundSchema),
1053
+ z.lazy(() => DeploymentInfoNetworkByoVnetAzure$inboundSchema),
1054
+ z.lazy(() => DeploymentInfoNetworkUseDefault$inboundSchema),
1055
+ z.lazy(() => DeploymentInfoNetworkCreate$inboundSchema),
1056
+ z.any(),
1057
+ ]);
1058
+ export function deploymentInfoNetworkUnionFromJSON(jsonString) {
1059
+ return safeParse(jsonString, (x) => DeploymentInfoNetworkUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoNetworkUnion' from JSON`);
1060
+ }
1061
+ /** @internal */
1062
+ export const DeploymentInfoTelemetry$inboundSchema = z.enum(DeploymentInfoTelemetry);
1063
+ /** @internal */
1064
+ export const DeploymentInfoUpdates$inboundSchema = z.enum(DeploymentInfoUpdates);
1065
+ /** @internal */
1066
+ export const DeploymentInfoStackSettings$inboundSchema = z.object({
1067
+ compute: z.nullable(z.union([z.lazy(() => DeploymentInfoCompute$inboundSchema), z.any()])).optional(),
1068
+ deploymentModel: DeploymentInfoDeploymentModel$inboundSchema.optional(),
1069
+ domains: z.nullable(z.union([z.lazy(() => DeploymentInfoDomains$inboundSchema), z.any()])).optional(),
1070
+ externalBindings: z.nullable(z.lazy(() => DeploymentInfoExternalBindings$inboundSchema)).optional(),
1071
+ heartbeats: DeploymentInfoHeartbeats$inboundSchema.optional(),
1072
+ kubernetes: z.nullable(z.union([z.lazy(() => DeploymentInfoKubernetes$inboundSchema), z.any()])).optional(),
1073
+ network: z.nullable(z.union([
1074
+ z.lazy(() => DeploymentInfoNetworkByoVpcAws$inboundSchema),
1075
+ z.lazy(() => DeploymentInfoNetworkByoVpcGcp$inboundSchema),
1076
+ z.lazy(() => DeploymentInfoNetworkByoVnetAzure$inboundSchema),
1077
+ z.lazy(() => DeploymentInfoNetworkUseDefault$inboundSchema),
1078
+ z.lazy(() => DeploymentInfoNetworkCreate$inboundSchema),
1079
+ z.any(),
1080
+ ])).optional(),
1081
+ publicEndpoints: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
1082
+ telemetry: DeploymentInfoTelemetry$inboundSchema.optional(),
1083
+ updates: DeploymentInfoUpdates$inboundSchema.optional(),
1084
+ });
1085
+ export function deploymentInfoStackSettingsFromJSON(jsonString) {
1086
+ return safeParse(jsonString, (x) => DeploymentInfoStackSettings$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoStackSettings' from JSON`);
1087
+ }
1088
+ /** @internal */
1089
+ export const SetupUpdate$inboundSchema = z
1090
+ .object({
1091
+ deploymentId: z.string(),
1092
+ updateOperationId: z.string(),
1093
+ releaseId: z.string(),
1094
+ name: z.string(),
1095
+ platform: SetupUpdatePlatform$inboundSchema,
1096
+ setupMethod: z.nullable(DeploymentInfoSetupMethod$inboundSchema),
1097
+ setupMetadata: z.nullable(z.record(z.string(), z.nullable(z.any()))),
1098
+ setupTarget: z.nullable(z.string()),
1099
+ resourcePrefix: z.nullable(z.string()),
1100
+ stackSettings: z.lazy(() => DeploymentInfoStackSettings$inboundSchema),
1101
+ });
1102
+ export function setupUpdateFromJSON(jsonString) {
1103
+ return safeParse(jsonString, (x) => SetupUpdate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SetupUpdate' from JSON`);
1104
+ }
1105
+ /** @internal */
127
1106
  export const DeploymentInfoTokenType$inboundSchema = z.enum(DeploymentInfoTokenType);
128
1107
  /** @internal */
129
1108
  export const DeploymentInfoDeploymentPlatform$inboundSchema = z.enum(DeploymentInfoDeploymentPlatform);
@@ -290,14 +1269,14 @@ export function cloudformationOutputsFromJSON(jsonString) {
290
1269
  return safeParse(jsonString, (x) => CloudformationOutputs$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CloudformationOutputs' from JSON`);
291
1270
  }
292
1271
  /** @internal */
293
- export const DeploymentInfoMode$inboundSchema = z.enum(DeploymentInfoMode);
1272
+ export const CloudformationMode$inboundSchema = z.enum(CloudformationMode);
294
1273
  /** @internal */
295
1274
  export const DeploymentInfoCloudformation$inboundSchema = z.object({
296
1275
  status: CloudformationStatus$inboundSchema,
297
1276
  version: z.string().optional(),
298
1277
  outputs: z.lazy(() => CloudformationOutputs$inboundSchema).optional(),
299
1278
  error: z.nullable(z.any()).optional(),
300
- mode: DeploymentInfoMode$inboundSchema,
1279
+ mode: CloudformationMode$inboundSchema,
301
1280
  launchUrl: z.string(),
302
1281
  outputsSchema: z.nullable(z.any()).optional(),
303
1282
  });
@@ -340,18 +1319,18 @@ export function deploymentInfoPlatformsFromJSON(jsonString) {
340
1319
  return safeParse(jsonString, (x) => DeploymentInfoPlatforms$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoPlatforms' from JSON`);
341
1320
  }
342
1321
  /** @internal */
343
- export const DeploymentInfoProvider$inboundSchema = z.object({
1322
+ export const TerraformProvider$inboundSchema = z.object({
344
1323
  gpgPublicKey: z.lazy(() => DeploymentInfoGpgPublicKey$inboundSchema),
345
1324
  platforms: z.record(z.string(), z.lazy(() => DeploymentInfoPlatforms$inboundSchema)),
346
1325
  source: z.string(),
347
1326
  });
348
- export function deploymentInfoProviderFromJSON(jsonString) {
349
- return safeParse(jsonString, (x) => DeploymentInfoProvider$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentInfoProvider' from JSON`);
1327
+ export function terraformProviderFromJSON(jsonString) {
1328
+ return safeParse(jsonString, (x) => TerraformProvider$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TerraformProvider' from JSON`);
350
1329
  }
351
1330
  /** @internal */
352
1331
  export const TerraformOutputs$inboundSchema = z.object({
353
1332
  modules: z.record(z.string(), z.lazy(() => DeploymentInfoModules$inboundSchema)),
354
- provider: z.lazy(() => DeploymentInfoProvider$inboundSchema),
1333
+ provider: z.lazy(() => TerraformProvider$inboundSchema),
355
1334
  });
356
1335
  export function terraformOutputsFromJSON(jsonString) {
357
1336
  return safeParse(jsonString, (x) => TerraformOutputs$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TerraformOutputs' from JSON`);
@@ -520,6 +1499,7 @@ export function readinessFromJSON(jsonString) {
520
1499
  }
521
1500
  /** @internal */
522
1501
  export const DeploymentInfo$inboundSchema = z.object({
1502
+ setupUpdate: z.lazy(() => SetupUpdate$inboundSchema).optional(),
523
1503
  tokenType: DeploymentInfoTokenType$inboundSchema,
524
1504
  deployment: z.lazy(() => DeploymentInfoDeployment$inboundSchema).optional(),
525
1505
  deploymentGroup: z.lazy(() => DeploymentInfoDeploymentGroup$inboundSchema)