@vercel/sdk 1.8.4 → 1.8.6

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 (208) hide show
  1. package/README.md +11 -3
  2. package/bin/mcp-server.js +2697 -1100
  3. package/bin/mcp-server.js.map +41 -29
  4. package/docs/sdks/marketplace/README.md +310 -78
  5. package/docs/sdks/rollingrelease/README.md +80 -0
  6. package/esm/__tests__/marketplace.test.js +53 -0
  7. package/esm/__tests__/marketplace.test.js.map +1 -1
  8. package/esm/__tests__/projects.test.js +15 -13
  9. package/esm/__tests__/projects.test.js.map +1 -1
  10. package/esm/__tests__/rollingrelease.test.js +23 -0
  11. package/esm/__tests__/rollingrelease.test.js.map +1 -1
  12. package/esm/funcs/domainsCheckDomainStatus.js +2 -2
  13. package/esm/funcs/domainsCheckDomainStatus.js.map +1 -1
  14. package/esm/funcs/marketplaceDeleteResource.d.ts +20 -0
  15. package/esm/funcs/marketplaceDeleteResource.d.ts.map +1 -0
  16. package/esm/funcs/marketplaceDeleteResource.js +91 -0
  17. package/esm/funcs/marketplaceDeleteResource.js.map +1 -0
  18. package/esm/funcs/marketplaceGetResource.d.ts +20 -0
  19. package/esm/funcs/marketplaceGetResource.d.ts.map +1 -0
  20. package/esm/funcs/marketplaceGetResource.js +90 -0
  21. package/esm/funcs/marketplaceGetResource.js.map +1 -0
  22. package/esm/funcs/marketplaceGetResources.d.ts +20 -0
  23. package/esm/funcs/marketplaceGetResources.d.ts.map +1 -0
  24. package/esm/funcs/marketplaceGetResources.js +86 -0
  25. package/esm/funcs/marketplaceGetResources.js.map +1 -0
  26. package/esm/funcs/rollingReleaseGetRollingReleaseBillingStatus.d.ts +20 -0
  27. package/esm/funcs/rollingReleaseGetRollingReleaseBillingStatus.d.ts.map +1 -0
  28. package/esm/funcs/rollingReleaseGetRollingReleaseBillingStatus.js +94 -0
  29. package/esm/funcs/rollingReleaseGetRollingReleaseBillingStatus.js.map +1 -0
  30. package/esm/lib/config.d.ts +3 -3
  31. package/esm/lib/config.js +3 -3
  32. package/esm/mcp-server/mcp-server.js +1 -1
  33. package/esm/mcp-server/server.d.ts.map +1 -1
  34. package/esm/mcp-server/server.js +10 -2
  35. package/esm/mcp-server/server.js.map +1 -1
  36. package/esm/mcp-server/tools/marketplaceDeleteResource.d.ts +7 -0
  37. package/esm/mcp-server/tools/marketplaceDeleteResource.d.ts.map +1 -0
  38. package/esm/mcp-server/tools/marketplaceDeleteResource.js +27 -0
  39. package/esm/mcp-server/tools/marketplaceDeleteResource.js.map +1 -0
  40. package/esm/mcp-server/tools/marketplaceGetResource.d.ts +7 -0
  41. package/esm/mcp-server/tools/marketplaceGetResource.d.ts.map +1 -0
  42. package/esm/mcp-server/tools/marketplaceGetResource.js +28 -0
  43. package/esm/mcp-server/tools/marketplaceGetResource.js.map +1 -0
  44. package/esm/mcp-server/tools/marketplaceGetResources.d.ts +7 -0
  45. package/esm/mcp-server/tools/marketplaceGetResources.d.ts.map +1 -0
  46. package/esm/mcp-server/tools/marketplaceGetResources.js +28 -0
  47. package/esm/mcp-server/tools/marketplaceGetResources.js.map +1 -0
  48. package/esm/mcp-server/tools/rollingReleaseGetRollingReleaseBillingStatus.d.ts +7 -0
  49. package/esm/mcp-server/tools/rollingReleaseGetRollingReleaseBillingStatus.d.ts.map +1 -0
  50. package/esm/mcp-server/tools/rollingReleaseGetRollingReleaseBillingStatus.js +28 -0
  51. package/esm/mcp-server/tools/rollingReleaseGetRollingReleaseBillingStatus.js.map +1 -0
  52. package/esm/models/canceldeploymentop.d.ts +427 -25
  53. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  54. package/esm/models/canceldeploymentop.js +465 -25
  55. package/esm/models/canceldeploymentop.js.map +1 -1
  56. package/esm/models/createdeploymentop.d.ts +459 -114
  57. package/esm/models/createdeploymentop.d.ts.map +1 -1
  58. package/esm/models/createdeploymentop.js +503 -118
  59. package/esm/models/createdeploymentop.js.map +1 -1
  60. package/esm/models/createprojectenvop.d.ts +6 -6
  61. package/esm/models/createprojectenvop.js +2 -2
  62. package/esm/models/createprojectenvop.js.map +1 -1
  63. package/esm/models/createprojectop.d.ts +139 -137
  64. package/esm/models/createprojectop.d.ts.map +1 -1
  65. package/esm/models/createprojectop.js +137 -135
  66. package/esm/models/createprojectop.js.map +1 -1
  67. package/esm/models/createwebhookop.d.ts +6 -0
  68. package/esm/models/createwebhookop.d.ts.map +1 -1
  69. package/esm/models/createwebhookop.js +2 -0
  70. package/esm/models/createwebhookop.js.map +1 -1
  71. package/esm/models/deleteresourceop.d.ts +31 -0
  72. package/esm/models/deleteresourceop.d.ts.map +1 -0
  73. package/esm/models/deleteresourceop.js +33 -0
  74. package/esm/models/deleteresourceop.js.map +1 -0
  75. package/esm/models/editprojectenvop.d.ts +3 -3
  76. package/esm/models/editprojectenvop.js +1 -1
  77. package/esm/models/editprojectenvop.js.map +1 -1
  78. package/esm/models/getdeploymentop.d.ts +410 -8
  79. package/esm/models/getdeploymentop.d.ts.map +1 -1
  80. package/esm/models/getdeploymentop.js +443 -8
  81. package/esm/models/getdeploymentop.js.map +1 -1
  82. package/esm/models/getedgeconfigbackupop.d.ts +15 -15
  83. package/esm/models/getedgeconfigbackupop.d.ts.map +1 -1
  84. package/esm/models/getedgeconfigbackupop.js +15 -15
  85. package/esm/models/getedgeconfigbackupop.js.map +1 -1
  86. package/esm/models/getfirewallconfigop.d.ts +2 -0
  87. package/esm/models/getfirewallconfigop.d.ts.map +1 -1
  88. package/esm/models/getfirewallconfigop.js +2 -0
  89. package/esm/models/getfirewallconfigop.js.map +1 -1
  90. package/esm/models/getmemberop.d.ts +9 -0
  91. package/esm/models/getmemberop.d.ts.map +1 -1
  92. package/esm/models/getmemberop.js +3 -0
  93. package/esm/models/getmemberop.js.map +1 -1
  94. package/esm/models/getprojectsop.d.ts +2 -0
  95. package/esm/models/getprojectsop.d.ts.map +1 -1
  96. package/esm/models/getprojectsop.js +2 -0
  97. package/esm/models/getprojectsop.js.map +1 -1
  98. package/esm/models/getresourceop.d.ts +293 -0
  99. package/esm/models/getresourceop.d.ts.map +1 -0
  100. package/esm/models/getresourceop.js +250 -0
  101. package/esm/models/getresourceop.js.map +1 -0
  102. package/esm/models/getresourcesop.d.ts +310 -0
  103. package/esm/models/getresourcesop.d.ts.map +1 -0
  104. package/esm/models/getresourcesop.js +278 -0
  105. package/esm/models/getresourcesop.js.map +1 -0
  106. package/esm/models/getrollingreleasebillingstatusop.d.ts +284 -0
  107. package/esm/models/getrollingreleasebillingstatusop.d.ts.map +1 -0
  108. package/esm/models/getrollingreleasebillingstatusop.js +267 -0
  109. package/esm/models/getrollingreleasebillingstatusop.js.map +1 -0
  110. package/esm/models/getwebhookop.d.ts +3 -0
  111. package/esm/models/getwebhookop.d.ts.map +1 -1
  112. package/esm/models/getwebhookop.js +1 -0
  113. package/esm/models/getwebhookop.js.map +1 -1
  114. package/esm/models/getwebhooksop.d.ts +6 -0
  115. package/esm/models/getwebhooksop.d.ts.map +1 -1
  116. package/esm/models/getwebhooksop.js +2 -0
  117. package/esm/models/getwebhooksop.js.map +1 -1
  118. package/esm/models/importresourceop.d.ts +15 -15
  119. package/esm/models/importresourceop.d.ts.map +1 -1
  120. package/esm/models/importresourceop.js +17 -15
  121. package/esm/models/importresourceop.js.map +1 -1
  122. package/esm/models/putfirewallconfigop.d.ts +4 -0
  123. package/esm/models/putfirewallconfigop.d.ts.map +1 -1
  124. package/esm/models/putfirewallconfigop.js +4 -0
  125. package/esm/models/putfirewallconfigop.js.map +1 -1
  126. package/esm/models/removeprojectenvop.d.ts +9 -9
  127. package/esm/models/removeprojectenvop.js +3 -3
  128. package/esm/models/removeprojectenvop.js.map +1 -1
  129. package/esm/models/updatefirewallconfigop.d.ts +36 -4
  130. package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
  131. package/esm/models/updatefirewallconfigop.js +33 -0
  132. package/esm/models/updatefirewallconfigop.js.map +1 -1
  133. package/esm/models/updateintegrationdeploymentactionop.d.ts +2 -0
  134. package/esm/models/updateintegrationdeploymentactionop.d.ts.map +1 -1
  135. package/esm/models/updateintegrationdeploymentactionop.js +2 -0
  136. package/esm/models/updateintegrationdeploymentactionop.js.map +1 -1
  137. package/esm/models/updateprojectdatacacheop.d.ts +2 -0
  138. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  139. package/esm/models/updateprojectdatacacheop.js +2 -0
  140. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  141. package/esm/models/updateprojectop.d.ts +139 -137
  142. package/esm/models/updateprojectop.d.ts.map +1 -1
  143. package/esm/models/updateprojectop.js +137 -135
  144. package/esm/models/updateprojectop.js.map +1 -1
  145. package/esm/models/updateresourcesecretsop.d.ts +15 -15
  146. package/esm/models/updateresourcesecretsop.d.ts.map +1 -1
  147. package/esm/models/updateresourcesecretsop.js +15 -17
  148. package/esm/models/updateresourcesecretsop.js.map +1 -1
  149. package/esm/models/userevent.d.ts +5 -0
  150. package/esm/models/userevent.d.ts.map +1 -1
  151. package/esm/models/userevent.js +2 -0
  152. package/esm/models/userevent.js.map +1 -1
  153. package/esm/sdk/marketplace.d.ts +31 -7
  154. package/esm/sdk/marketplace.d.ts.map +1 -1
  155. package/esm/sdk/marketplace.js +39 -9
  156. package/esm/sdk/marketplace.js.map +1 -1
  157. package/esm/sdk/rollingrelease.d.ts +8 -0
  158. package/esm/sdk/rollingrelease.d.ts.map +1 -1
  159. package/esm/sdk/rollingrelease.js +10 -0
  160. package/esm/sdk/rollingrelease.js.map +1 -1
  161. package/esm/types/constdatetime.js +1 -1
  162. package/jsr.json +1 -1
  163. package/package.json +1 -1
  164. package/src/__tests__/marketplace.test.ts +62 -0
  165. package/src/__tests__/projects.test.ts +15 -13
  166. package/src/__tests__/rollingrelease.test.ts +26 -0
  167. package/src/funcs/domainsCheckDomainStatus.ts +2 -2
  168. package/src/funcs/marketplaceDeleteResource.ts +205 -0
  169. package/src/funcs/marketplaceGetResource.ts +206 -0
  170. package/src/funcs/marketplaceGetResources.ts +202 -0
  171. package/src/funcs/rollingReleaseGetRollingReleaseBillingStatus.ts +208 -0
  172. package/src/lib/config.ts +3 -3
  173. package/src/mcp-server/mcp-server.ts +1 -1
  174. package/src/mcp-server/server.ts +10 -2
  175. package/src/mcp-server/tools/marketplaceDeleteResource.ts +35 -0
  176. package/src/mcp-server/tools/marketplaceGetResource.ts +37 -0
  177. package/src/mcp-server/tools/marketplaceGetResources.ts +37 -0
  178. package/src/mcp-server/tools/rollingReleaseGetRollingReleaseBillingStatus.ts +40 -0
  179. package/src/models/canceldeploymentop.ts +1071 -48
  180. package/src/models/createdeploymentop.ts +1064 -236
  181. package/src/models/createprojectenvop.ts +2 -2
  182. package/src/models/createprojectop.ts +267 -263
  183. package/src/models/createwebhookop.ts +2 -0
  184. package/src/models/deleteresourceop.ts +70 -0
  185. package/src/models/editprojectenvop.ts +1 -1
  186. package/src/models/getdeploymentop.ts +1011 -16
  187. package/src/models/getedgeconfigbackupop.ts +41 -24
  188. package/src/models/getfirewallconfigop.ts +4 -0
  189. package/src/models/getmemberop.ts +9 -0
  190. package/src/models/getprojectsop.ts +4 -0
  191. package/src/models/getresourceop.ts +545 -0
  192. package/src/models/getresourcesop.ts +604 -0
  193. package/src/models/getrollingreleasebillingstatusop.ts +614 -0
  194. package/src/models/getwebhookop.ts +1 -0
  195. package/src/models/getwebhooksop.ts +2 -0
  196. package/src/models/importresourceop.ts +27 -35
  197. package/src/models/putfirewallconfigop.ts +8 -0
  198. package/src/models/removeprojectenvop.ts +3 -3
  199. package/src/models/updatefirewallconfigop.ts +73 -0
  200. package/src/models/updateintegrationdeploymentactionop.ts +4 -0
  201. package/src/models/updateprojectdatacacheop.ts +4 -0
  202. package/src/models/updateprojectop.ts +267 -263
  203. package/src/models/updateresourcesecretsop.ts +49 -33
  204. package/src/models/userevent.ts +7 -0
  205. package/src/sdk/marketplace.ts +80 -17
  206. package/src/sdk/rollingrelease.ts +22 -0
  207. package/src/types/constdatetime.ts +1 -1
  208. package/vercel-spec.json +2321 -931
@@ -121,20 +121,6 @@ export type GitMetadata = {
121
121
  dirty?: boolean | undefined;
122
122
  };
123
123
 
124
- export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType = {
125
- Bitbucket: "bitbucket",
126
- } as const;
127
- export type CreateDeploymentGitSourceDeploymentsRequestRequestBodyType =
128
- ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType>;
129
-
130
- export type GitSource6 = {
131
- owner: string;
132
- ref: string;
133
- sha?: string | undefined;
134
- slug: string;
135
- type: CreateDeploymentGitSourceDeploymentsRequestRequestBodyType;
136
- };
137
-
138
124
  export const CreateDeploymentGitSourceDeploymentsRequestType = {
139
125
  Bitbucket: "bitbucket",
140
126
  } as const;
@@ -143,42 +129,41 @@ export type CreateDeploymentGitSourceDeploymentsRequestType = ClosedEnum<
143
129
  >;
144
130
 
145
131
  export type GitSource5 = {
132
+ owner: string;
146
133
  ref: string;
147
- repoUuid: string;
148
134
  sha?: string | undefined;
135
+ slug: string;
149
136
  type: CreateDeploymentGitSourceDeploymentsRequestType;
150
- workspaceUuid?: string | undefined;
151
137
  };
152
138
 
153
- export type ProjectId = number | string;
154
-
155
139
  export const CreateDeploymentGitSourceDeploymentsType = {
156
- Gitlab: "gitlab",
140
+ Bitbucket: "bitbucket",
157
141
  } as const;
158
142
  export type CreateDeploymentGitSourceDeploymentsType = ClosedEnum<
159
143
  typeof CreateDeploymentGitSourceDeploymentsType
160
144
  >;
161
145
 
162
146
  export type GitSource4 = {
163
- projectId: number | string;
164
147
  ref: string;
148
+ repoUuid: string;
165
149
  sha?: string | undefined;
166
150
  type: CreateDeploymentGitSourceDeploymentsType;
151
+ workspaceUuid?: string | undefined;
167
152
  };
168
153
 
154
+ export type ProjectId = number | string;
155
+
169
156
  export const CreateDeploymentGitSourceType = {
170
- GithubCustomHost: "github-custom-host",
157
+ Gitlab: "gitlab",
171
158
  } as const;
172
159
  export type CreateDeploymentGitSourceType = ClosedEnum<
173
160
  typeof CreateDeploymentGitSourceType
174
161
  >;
175
162
 
176
163
  export type GitSource3 = {
177
- org: string;
164
+ projectId: number | string;
178
165
  ref: string;
179
- repo: string;
180
166
  sha?: string | undefined;
181
- host: string;
182
167
  type: CreateDeploymentGitSourceType;
183
168
  };
184
169
 
@@ -197,31 +182,28 @@ export type GitSource2 = {
197
182
 
198
183
  export type RepoId = number | string;
199
184
 
200
- export const CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type = {
185
+ export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType = {
201
186
  Github: "github",
202
187
  } as const;
203
- export type CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type =
204
- ClosedEnum<
205
- typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type
206
- >;
188
+ export type CreateDeploymentGitSourceDeploymentsRequestRequestBodyType =
189
+ ClosedEnum<typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType>;
207
190
 
208
191
  export type GitSource1 = {
209
192
  ref: string;
210
193
  repoId: number | string;
211
194
  sha?: string | undefined;
212
- type: CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type;
195
+ type: CreateDeploymentGitSourceDeploymentsRequestRequestBodyType;
213
196
  };
214
197
 
215
198
  /**
216
199
  * Defines the Git Repository source to be deployed. This property can not be used in combination with `files`.
217
200
  */
218
201
  export type GitSource =
219
- | GitSource3
220
202
  | GitSource2
221
- | GitSource6
203
+ | GitSource5
222
204
  | GitSource1
223
- | GitSource4
224
- | GitSource5;
205
+ | GitSource3
206
+ | GitSource4;
225
207
 
226
208
  /**
227
209
  * The framework that is being used for this project. When `null` is used no framework is selected
@@ -367,12 +349,11 @@ export type CreateDeploymentRequestBody = {
367
349
  * Defines the Git Repository source to be deployed. This property can not be used in combination with `files`.
368
350
  */
369
351
  gitSource?:
370
- | GitSource3
371
352
  | GitSource2
372
- | GitSource6
353
+ | GitSource5
373
354
  | GitSource1
355
+ | GitSource3
374
356
  | GitSource4
375
- | GitSource5
376
357
  | undefined;
377
358
  /**
378
359
  * An object containing the deployment's metadata. Multiple key-value pairs can be attached to a deployment
@@ -1196,10 +1177,30 @@ export type CreateDeploymentHasType = ClosedEnum<
1196
1177
  typeof CreateDeploymentHasType
1197
1178
  >;
1198
1179
 
1180
+ export type ValueEq = string | number;
1181
+
1182
+ export type CreateDeploymentValueDeployments2 = {
1183
+ eq?: string | number | undefined;
1184
+ neq?: string | undefined;
1185
+ inc?: Array<string> | undefined;
1186
+ ninc?: Array<string> | undefined;
1187
+ pre?: string | undefined;
1188
+ suf?: string | undefined;
1189
+ re?: string | undefined;
1190
+ gt?: number | undefined;
1191
+ gte?: number | undefined;
1192
+ lt?: number | undefined;
1193
+ lte?: number | undefined;
1194
+ };
1195
+
1196
+ export type CreateDeploymentHasValue =
1197
+ | CreateDeploymentValueDeployments2
1198
+ | string;
1199
+
1199
1200
  export type Has2 = {
1200
1201
  type: CreateDeploymentHasType;
1201
1202
  key: string;
1202
- value?: string | undefined;
1203
+ value?: CreateDeploymentValueDeployments2 | string | undefined;
1203
1204
  };
1204
1205
 
1205
1206
  export const HasType = {
@@ -1207,9 +1208,27 @@ export const HasType = {
1207
1208
  } as const;
1208
1209
  export type HasType = ClosedEnum<typeof HasType>;
1209
1210
 
1211
+ export type Eq = string | number;
1212
+
1213
+ export type CreateDeploymentValue2 = {
1214
+ eq?: string | number | undefined;
1215
+ neq?: string | undefined;
1216
+ inc?: Array<string> | undefined;
1217
+ ninc?: Array<string> | undefined;
1218
+ pre?: string | undefined;
1219
+ suf?: string | undefined;
1220
+ re?: string | undefined;
1221
+ gt?: number | undefined;
1222
+ gte?: number | undefined;
1223
+ lt?: number | undefined;
1224
+ lte?: number | undefined;
1225
+ };
1226
+
1227
+ export type HasValue = CreateDeploymentValue2 | string;
1228
+
1210
1229
  export type Has1 = {
1211
1230
  type: HasType;
1212
- value: string;
1231
+ value: CreateDeploymentValue2 | string;
1213
1232
  };
1214
1233
 
1215
1234
  export type RoutesHas = Has1 | Has2;
@@ -1223,10 +1242,30 @@ export type CreateDeploymentMissingType = ClosedEnum<
1223
1242
  typeof CreateDeploymentMissingType
1224
1243
  >;
1225
1244
 
1245
+ export type CreateDeploymentValueDeploymentsEq = string | number;
1246
+
1247
+ export type CreateDeploymentValueDeploymentsResponse2002 = {
1248
+ eq?: string | number | undefined;
1249
+ neq?: string | undefined;
1250
+ inc?: Array<string> | undefined;
1251
+ ninc?: Array<string> | undefined;
1252
+ pre?: string | undefined;
1253
+ suf?: string | undefined;
1254
+ re?: string | undefined;
1255
+ gt?: number | undefined;
1256
+ gte?: number | undefined;
1257
+ lt?: number | undefined;
1258
+ lte?: number | undefined;
1259
+ };
1260
+
1261
+ export type CreateDeploymentMissingValue =
1262
+ | CreateDeploymentValueDeploymentsResponse2002
1263
+ | string;
1264
+
1226
1265
  export type Missing2 = {
1227
1266
  type: CreateDeploymentMissingType;
1228
1267
  key: string;
1229
- value?: string | undefined;
1268
+ value?: CreateDeploymentValueDeploymentsResponse2002 | string | undefined;
1230
1269
  };
1231
1270
 
1232
1271
  export const MissingType = {
@@ -1234,13 +1273,41 @@ export const MissingType = {
1234
1273
  } as const;
1235
1274
  export type MissingType = ClosedEnum<typeof MissingType>;
1236
1275
 
1276
+ export type CreateDeploymentValueEq = string | number;
1277
+
1278
+ export type CreateDeploymentValueDeploymentsResponse2 = {
1279
+ eq?: string | number | undefined;
1280
+ neq?: string | undefined;
1281
+ inc?: Array<string> | undefined;
1282
+ ninc?: Array<string> | undefined;
1283
+ pre?: string | undefined;
1284
+ suf?: string | undefined;
1285
+ re?: string | undefined;
1286
+ gt?: number | undefined;
1287
+ gte?: number | undefined;
1288
+ lt?: number | undefined;
1289
+ lte?: number | undefined;
1290
+ };
1291
+
1292
+ export type MissingValue = CreateDeploymentValueDeploymentsResponse2 | string;
1293
+
1237
1294
  export type Missing1 = {
1238
1295
  type: MissingType;
1239
- value: string;
1296
+ value: CreateDeploymentValueDeploymentsResponse2 | string;
1240
1297
  };
1241
1298
 
1242
1299
  export type RoutesMissing = Missing1 | Missing2;
1243
1300
 
1301
+ export const RoutesAction = {
1302
+ Challenge: "challenge",
1303
+ Deny: "deny",
1304
+ } as const;
1305
+ export type RoutesAction = ClosedEnum<typeof RoutesAction>;
1306
+
1307
+ export type RoutesMitigate = {
1308
+ action: RoutesAction;
1309
+ };
1310
+
1244
1311
  export type Locale = {
1245
1312
  redirect?: { [k: string]: string } | undefined;
1246
1313
  cookie?: string | undefined;
@@ -1259,6 +1326,7 @@ export type Routes1 = {
1259
1326
  status?: number | undefined;
1260
1327
  has?: Array<Has1 | Has2> | undefined;
1261
1328
  missing?: Array<Missing1 | Missing2> | undefined;
1329
+ mitigate?: RoutesMitigate | undefined;
1262
1330
  locale?: Locale | undefined;
1263
1331
  /**
1264
1332
  * A middleware key within the `output` key under the build result. Overrides a `middleware` definition.
@@ -1285,6 +1353,7 @@ export type CreateDeploymentCrons = {
1285
1353
  * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment.
1286
1354
  */
1287
1355
  export type CreateDeploymentMicrofrontendsApplications = {
1356
+ isDefaultApp?: boolean | undefined;
1288
1357
  /**
1289
1358
  * This is the production alias, it will always show the most up to date of each application.
1290
1359
  */
@@ -1876,95 +1945,6 @@ export function gitMetadataFromJSON(
1876
1945
  );
1877
1946
  }
1878
1947
 
1879
- /** @internal */
1880
- export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema:
1881
- z.ZodNativeEnum<
1882
- typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType
1883
- > = z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBodyType);
1884
-
1885
- /** @internal */
1886
- export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema:
1887
- z.ZodNativeEnum<
1888
- typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType
1889
- > = CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema;
1890
-
1891
- /**
1892
- * @internal
1893
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1894
- */
1895
- export namespace CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$ {
1896
- /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema` instead. */
1897
- export const inboundSchema =
1898
- CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema;
1899
- /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema` instead. */
1900
- export const outboundSchema =
1901
- CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema;
1902
- }
1903
-
1904
- /** @internal */
1905
- export const GitSource6$inboundSchema: z.ZodType<
1906
- GitSource6,
1907
- z.ZodTypeDef,
1908
- unknown
1909
- > = z.object({
1910
- owner: z.string(),
1911
- ref: z.string(),
1912
- sha: z.string().optional(),
1913
- slug: z.string(),
1914
- type:
1915
- CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema,
1916
- });
1917
-
1918
- /** @internal */
1919
- export type GitSource6$Outbound = {
1920
- owner: string;
1921
- ref: string;
1922
- sha?: string | undefined;
1923
- slug: string;
1924
- type: string;
1925
- };
1926
-
1927
- /** @internal */
1928
- export const GitSource6$outboundSchema: z.ZodType<
1929
- GitSource6$Outbound,
1930
- z.ZodTypeDef,
1931
- GitSource6
1932
- > = z.object({
1933
- owner: z.string(),
1934
- ref: z.string(),
1935
- sha: z.string().optional(),
1936
- slug: z.string(),
1937
- type:
1938
- CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema,
1939
- });
1940
-
1941
- /**
1942
- * @internal
1943
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1944
- */
1945
- export namespace GitSource6$ {
1946
- /** @deprecated use `GitSource6$inboundSchema` instead. */
1947
- export const inboundSchema = GitSource6$inboundSchema;
1948
- /** @deprecated use `GitSource6$outboundSchema` instead. */
1949
- export const outboundSchema = GitSource6$outboundSchema;
1950
- /** @deprecated use `GitSource6$Outbound` instead. */
1951
- export type Outbound = GitSource6$Outbound;
1952
- }
1953
-
1954
- export function gitSource6ToJSON(gitSource6: GitSource6): string {
1955
- return JSON.stringify(GitSource6$outboundSchema.parse(gitSource6));
1956
- }
1957
-
1958
- export function gitSource6FromJSON(
1959
- jsonString: string,
1960
- ): SafeParseResult<GitSource6, SDKValidationError> {
1961
- return safeParse(
1962
- jsonString,
1963
- (x) => GitSource6$inboundSchema.parse(JSON.parse(x)),
1964
- `Failed to parse 'GitSource6' from JSON`,
1965
- );
1966
- }
1967
-
1968
1948
  /** @internal */
1969
1949
  export const CreateDeploymentGitSourceDeploymentsRequestType$inboundSchema:
1970
1950
  z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsRequestType> = z
@@ -1994,20 +1974,20 @@ export const GitSource5$inboundSchema: z.ZodType<
1994
1974
  z.ZodTypeDef,
1995
1975
  unknown
1996
1976
  > = z.object({
1977
+ owner: z.string(),
1997
1978
  ref: z.string(),
1998
- repoUuid: z.string(),
1999
1979
  sha: z.string().optional(),
1980
+ slug: z.string(),
2000
1981
  type: CreateDeploymentGitSourceDeploymentsRequestType$inboundSchema,
2001
- workspaceUuid: z.string().optional(),
2002
1982
  });
2003
1983
 
2004
1984
  /** @internal */
2005
1985
  export type GitSource5$Outbound = {
1986
+ owner: string;
2006
1987
  ref: string;
2007
- repoUuid: string;
2008
1988
  sha?: string | undefined;
1989
+ slug: string;
2009
1990
  type: string;
2010
- workspaceUuid?: string | undefined;
2011
1991
  };
2012
1992
 
2013
1993
  /** @internal */
@@ -2016,11 +1996,11 @@ export const GitSource5$outboundSchema: z.ZodType<
2016
1996
  z.ZodTypeDef,
2017
1997
  GitSource5
2018
1998
  > = z.object({
1999
+ owner: z.string(),
2019
2000
  ref: z.string(),
2020
- repoUuid: z.string(),
2021
2001
  sha: z.string().optional(),
2002
+ slug: z.string(),
2022
2003
  type: CreateDeploymentGitSourceDeploymentsRequestType$outboundSchema,
2023
- workspaceUuid: z.string().optional(),
2024
2004
  });
2025
2005
 
2026
2006
  /**
@@ -2050,50 +2030,6 @@ export function gitSource5FromJSON(
2050
2030
  );
2051
2031
  }
2052
2032
 
2053
- /** @internal */
2054
- export const ProjectId$inboundSchema: z.ZodType<
2055
- ProjectId,
2056
- z.ZodTypeDef,
2057
- unknown
2058
- > = z.union([z.number(), z.string()]);
2059
-
2060
- /** @internal */
2061
- export type ProjectId$Outbound = number | string;
2062
-
2063
- /** @internal */
2064
- export const ProjectId$outboundSchema: z.ZodType<
2065
- ProjectId$Outbound,
2066
- z.ZodTypeDef,
2067
- ProjectId
2068
- > = z.union([z.number(), z.string()]);
2069
-
2070
- /**
2071
- * @internal
2072
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2073
- */
2074
- export namespace ProjectId$ {
2075
- /** @deprecated use `ProjectId$inboundSchema` instead. */
2076
- export const inboundSchema = ProjectId$inboundSchema;
2077
- /** @deprecated use `ProjectId$outboundSchema` instead. */
2078
- export const outboundSchema = ProjectId$outboundSchema;
2079
- /** @deprecated use `ProjectId$Outbound` instead. */
2080
- export type Outbound = ProjectId$Outbound;
2081
- }
2082
-
2083
- export function projectIdToJSON(projectId: ProjectId): string {
2084
- return JSON.stringify(ProjectId$outboundSchema.parse(projectId));
2085
- }
2086
-
2087
- export function projectIdFromJSON(
2088
- jsonString: string,
2089
- ): SafeParseResult<ProjectId, SDKValidationError> {
2090
- return safeParse(
2091
- jsonString,
2092
- (x) => ProjectId$inboundSchema.parse(JSON.parse(x)),
2093
- `Failed to parse 'ProjectId' from JSON`,
2094
- );
2095
- }
2096
-
2097
2033
  /** @internal */
2098
2034
  export const CreateDeploymentGitSourceDeploymentsType$inboundSchema:
2099
2035
  z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsType> = z
@@ -2123,18 +2059,20 @@ export const GitSource4$inboundSchema: z.ZodType<
2123
2059
  z.ZodTypeDef,
2124
2060
  unknown
2125
2061
  > = z.object({
2126
- projectId: z.union([z.number(), z.string()]),
2127
2062
  ref: z.string(),
2063
+ repoUuid: z.string(),
2128
2064
  sha: z.string().optional(),
2129
2065
  type: CreateDeploymentGitSourceDeploymentsType$inboundSchema,
2066
+ workspaceUuid: z.string().optional(),
2130
2067
  });
2131
2068
 
2132
2069
  /** @internal */
2133
2070
  export type GitSource4$Outbound = {
2134
- projectId: number | string;
2135
2071
  ref: string;
2072
+ repoUuid: string;
2136
2073
  sha?: string | undefined;
2137
2074
  type: string;
2075
+ workspaceUuid?: string | undefined;
2138
2076
  };
2139
2077
 
2140
2078
  /** @internal */
@@ -2143,10 +2081,11 @@ export const GitSource4$outboundSchema: z.ZodType<
2143
2081
  z.ZodTypeDef,
2144
2082
  GitSource4
2145
2083
  > = z.object({
2146
- projectId: z.union([z.number(), z.string()]),
2147
2084
  ref: z.string(),
2085
+ repoUuid: z.string(),
2148
2086
  sha: z.string().optional(),
2149
2087
  type: CreateDeploymentGitSourceDeploymentsType$outboundSchema,
2088
+ workspaceUuid: z.string().optional(),
2150
2089
  });
2151
2090
 
2152
2091
  /**
@@ -2176,6 +2115,50 @@ export function gitSource4FromJSON(
2176
2115
  );
2177
2116
  }
2178
2117
 
2118
+ /** @internal */
2119
+ export const ProjectId$inboundSchema: z.ZodType<
2120
+ ProjectId,
2121
+ z.ZodTypeDef,
2122
+ unknown
2123
+ > = z.union([z.number(), z.string()]);
2124
+
2125
+ /** @internal */
2126
+ export type ProjectId$Outbound = number | string;
2127
+
2128
+ /** @internal */
2129
+ export const ProjectId$outboundSchema: z.ZodType<
2130
+ ProjectId$Outbound,
2131
+ z.ZodTypeDef,
2132
+ ProjectId
2133
+ > = z.union([z.number(), z.string()]);
2134
+
2135
+ /**
2136
+ * @internal
2137
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2138
+ */
2139
+ export namespace ProjectId$ {
2140
+ /** @deprecated use `ProjectId$inboundSchema` instead. */
2141
+ export const inboundSchema = ProjectId$inboundSchema;
2142
+ /** @deprecated use `ProjectId$outboundSchema` instead. */
2143
+ export const outboundSchema = ProjectId$outboundSchema;
2144
+ /** @deprecated use `ProjectId$Outbound` instead. */
2145
+ export type Outbound = ProjectId$Outbound;
2146
+ }
2147
+
2148
+ export function projectIdToJSON(projectId: ProjectId): string {
2149
+ return JSON.stringify(ProjectId$outboundSchema.parse(projectId));
2150
+ }
2151
+
2152
+ export function projectIdFromJSON(
2153
+ jsonString: string,
2154
+ ): SafeParseResult<ProjectId, SDKValidationError> {
2155
+ return safeParse(
2156
+ jsonString,
2157
+ (x) => ProjectId$inboundSchema.parse(JSON.parse(x)),
2158
+ `Failed to parse 'ProjectId' from JSON`,
2159
+ );
2160
+ }
2161
+
2179
2162
  /** @internal */
2180
2163
  export const CreateDeploymentGitSourceType$inboundSchema: z.ZodNativeEnum<
2181
2164
  typeof CreateDeploymentGitSourceType
@@ -2203,21 +2186,17 @@ export const GitSource3$inboundSchema: z.ZodType<
2203
2186
  z.ZodTypeDef,
2204
2187
  unknown
2205
2188
  > = z.object({
2206
- org: z.string(),
2189
+ projectId: z.union([z.number(), z.string()]),
2207
2190
  ref: z.string(),
2208
- repo: z.string(),
2209
2191
  sha: z.string().optional(),
2210
- host: z.string(),
2211
2192
  type: CreateDeploymentGitSourceType$inboundSchema,
2212
2193
  });
2213
2194
 
2214
2195
  /** @internal */
2215
2196
  export type GitSource3$Outbound = {
2216
- org: string;
2197
+ projectId: number | string;
2217
2198
  ref: string;
2218
- repo: string;
2219
2199
  sha?: string | undefined;
2220
- host: string;
2221
2200
  type: string;
2222
2201
  };
2223
2202
 
@@ -2227,11 +2206,9 @@ export const GitSource3$outboundSchema: z.ZodType<
2227
2206
  z.ZodTypeDef,
2228
2207
  GitSource3
2229
2208
  > = z.object({
2230
- org: z.string(),
2209
+ projectId: z.union([z.number(), z.string()]),
2231
2210
  ref: z.string(),
2232
- repo: z.string(),
2233
2211
  sha: z.string().optional(),
2234
- host: z.string(),
2235
2212
  type: CreateDeploymentGitSourceType$outboundSchema,
2236
2213
  });
2237
2214
 
@@ -2387,28 +2364,28 @@ export function repoIdFromJSON(
2387
2364
  }
2388
2365
 
2389
2366
  /** @internal */
2390
- export const CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inboundSchema:
2367
+ export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema:
2391
2368
  z.ZodNativeEnum<
2392
- typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type
2393
- > = z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type);
2369
+ typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType
2370
+ > = z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBodyType);
2394
2371
 
2395
2372
  /** @internal */
2396
- export const CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$outboundSchema:
2373
+ export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema:
2397
2374
  z.ZodNativeEnum<
2398
- typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type
2399
- > = CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inboundSchema;
2375
+ typeof CreateDeploymentGitSourceDeploymentsRequestRequestBodyType
2376
+ > = CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema;
2400
2377
 
2401
2378
  /**
2402
2379
  * @internal
2403
2380
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2404
2381
  */
2405
- export namespace CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$ {
2406
- /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inboundSchema` instead. */
2382
+ export namespace CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$ {
2383
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema` instead. */
2407
2384
  export const inboundSchema =
2408
- CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inboundSchema;
2409
- /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$outboundSchema` instead. */
2385
+ CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema;
2386
+ /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema` instead. */
2410
2387
  export const outboundSchema =
2411
- CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$outboundSchema;
2388
+ CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema;
2412
2389
  }
2413
2390
 
2414
2391
  /** @internal */
@@ -2421,7 +2398,7 @@ export const GitSource1$inboundSchema: z.ZodType<
2421
2398
  repoId: z.union([z.number(), z.string()]),
2422
2399
  sha: z.string().optional(),
2423
2400
  type:
2424
- CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inboundSchema,
2401
+ CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema,
2425
2402
  });
2426
2403
 
2427
2404
  /** @internal */
@@ -2442,7 +2419,7 @@ export const GitSource1$outboundSchema: z.ZodType<
2442
2419
  repoId: z.union([z.number(), z.string()]),
2443
2420
  sha: z.string().optional(),
2444
2421
  type:
2445
- CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$outboundSchema,
2422
+ CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$outboundSchema,
2446
2423
  });
2447
2424
 
2448
2425
  /**
@@ -2478,22 +2455,20 @@ export const GitSource$inboundSchema: z.ZodType<
2478
2455
  z.ZodTypeDef,
2479
2456
  unknown
2480
2457
  > = z.union([
2481
- z.lazy(() => GitSource3$inboundSchema),
2482
2458
  z.lazy(() => GitSource2$inboundSchema),
2483
- z.lazy(() => GitSource6$inboundSchema),
2459
+ z.lazy(() => GitSource5$inboundSchema),
2484
2460
  z.lazy(() => GitSource1$inboundSchema),
2461
+ z.lazy(() => GitSource3$inboundSchema),
2485
2462
  z.lazy(() => GitSource4$inboundSchema),
2486
- z.lazy(() => GitSource5$inboundSchema),
2487
2463
  ]);
2488
2464
 
2489
2465
  /** @internal */
2490
2466
  export type GitSource$Outbound =
2491
- | GitSource3$Outbound
2492
2467
  | GitSource2$Outbound
2493
- | GitSource6$Outbound
2468
+ | GitSource5$Outbound
2494
2469
  | GitSource1$Outbound
2495
- | GitSource4$Outbound
2496
- | GitSource5$Outbound;
2470
+ | GitSource3$Outbound
2471
+ | GitSource4$Outbound;
2497
2472
 
2498
2473
  /** @internal */
2499
2474
  export const GitSource$outboundSchema: z.ZodType<
@@ -2501,12 +2476,11 @@ export const GitSource$outboundSchema: z.ZodType<
2501
2476
  z.ZodTypeDef,
2502
2477
  GitSource
2503
2478
  > = z.union([
2504
- z.lazy(() => GitSource3$outboundSchema),
2505
2479
  z.lazy(() => GitSource2$outboundSchema),
2506
- z.lazy(() => GitSource6$outboundSchema),
2480
+ z.lazy(() => GitSource5$outboundSchema),
2507
2481
  z.lazy(() => GitSource1$outboundSchema),
2482
+ z.lazy(() => GitSource3$outboundSchema),
2508
2483
  z.lazy(() => GitSource4$outboundSchema),
2509
- z.lazy(() => GitSource5$outboundSchema),
2510
2484
  ]);
2511
2485
 
2512
2486
  /**
@@ -2672,12 +2646,11 @@ export const CreateDeploymentRequestBody$inboundSchema: z.ZodType<
2672
2646
  ).optional(),
2673
2647
  gitMetadata: z.lazy(() => GitMetadata$inboundSchema).optional(),
2674
2648
  gitSource: z.union([
2675
- z.lazy(() => GitSource3$inboundSchema),
2676
2649
  z.lazy(() => GitSource2$inboundSchema),
2677
- z.lazy(() => GitSource6$inboundSchema),
2650
+ z.lazy(() => GitSource5$inboundSchema),
2678
2651
  z.lazy(() => GitSource1$inboundSchema),
2652
+ z.lazy(() => GitSource3$inboundSchema),
2679
2653
  z.lazy(() => GitSource4$inboundSchema),
2680
- z.lazy(() => GitSource5$inboundSchema),
2681
2654
  ]).optional(),
2682
2655
  meta: z.record(z.string()).optional(),
2683
2656
  monorepoManager: z.nullable(z.string()).optional(),
@@ -2695,12 +2668,11 @@ export type CreateDeploymentRequestBody$Outbound = {
2695
2668
  files?: Array<InlinedFile$Outbound | UploadedFile$Outbound> | undefined;
2696
2669
  gitMetadata?: GitMetadata$Outbound | undefined;
2697
2670
  gitSource?:
2698
- | GitSource3$Outbound
2699
2671
  | GitSource2$Outbound
2700
- | GitSource6$Outbound
2672
+ | GitSource5$Outbound
2701
2673
  | GitSource1$Outbound
2674
+ | GitSource3$Outbound
2702
2675
  | GitSource4$Outbound
2703
- | GitSource5$Outbound
2704
2676
  | undefined;
2705
2677
  meta?: { [k: string]: string } | undefined;
2706
2678
  monorepoManager?: string | null | undefined;
@@ -2727,12 +2699,11 @@ export const CreateDeploymentRequestBody$outboundSchema: z.ZodType<
2727
2699
  ).optional(),
2728
2700
  gitMetadata: z.lazy(() => GitMetadata$outboundSchema).optional(),
2729
2701
  gitSource: z.union([
2730
- z.lazy(() => GitSource3$outboundSchema),
2731
2702
  z.lazy(() => GitSource2$outboundSchema),
2732
- z.lazy(() => GitSource6$outboundSchema),
2703
+ z.lazy(() => GitSource5$outboundSchema),
2733
2704
  z.lazy(() => GitSource1$outboundSchema),
2705
+ z.lazy(() => GitSource3$outboundSchema),
2734
2706
  z.lazy(() => GitSource4$outboundSchema),
2735
- z.lazy(() => GitSource5$outboundSchema),
2736
2707
  ]).optional(),
2737
2708
  meta: z.record(z.string()).optional(),
2738
2709
  monorepoManager: z.nullable(z.string()).optional(),
@@ -6480,19 +6451,206 @@ export namespace CreateDeploymentHasType$ {
6480
6451
  export const outboundSchema = CreateDeploymentHasType$outboundSchema;
6481
6452
  }
6482
6453
 
6454
+ /** @internal */
6455
+ export const ValueEq$inboundSchema: z.ZodType<ValueEq, z.ZodTypeDef, unknown> =
6456
+ z.union([z.string(), z.number()]);
6457
+
6458
+ /** @internal */
6459
+ export type ValueEq$Outbound = string | number;
6460
+
6461
+ /** @internal */
6462
+ export const ValueEq$outboundSchema: z.ZodType<
6463
+ ValueEq$Outbound,
6464
+ z.ZodTypeDef,
6465
+ ValueEq
6466
+ > = z.union([z.string(), z.number()]);
6467
+
6468
+ /**
6469
+ * @internal
6470
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6471
+ */
6472
+ export namespace ValueEq$ {
6473
+ /** @deprecated use `ValueEq$inboundSchema` instead. */
6474
+ export const inboundSchema = ValueEq$inboundSchema;
6475
+ /** @deprecated use `ValueEq$outboundSchema` instead. */
6476
+ export const outboundSchema = ValueEq$outboundSchema;
6477
+ /** @deprecated use `ValueEq$Outbound` instead. */
6478
+ export type Outbound = ValueEq$Outbound;
6479
+ }
6480
+
6481
+ export function valueEqToJSON(valueEq: ValueEq): string {
6482
+ return JSON.stringify(ValueEq$outboundSchema.parse(valueEq));
6483
+ }
6484
+
6485
+ export function valueEqFromJSON(
6486
+ jsonString: string,
6487
+ ): SafeParseResult<ValueEq, SDKValidationError> {
6488
+ return safeParse(
6489
+ jsonString,
6490
+ (x) => ValueEq$inboundSchema.parse(JSON.parse(x)),
6491
+ `Failed to parse 'ValueEq' from JSON`,
6492
+ );
6493
+ }
6494
+
6495
+ /** @internal */
6496
+ export const CreateDeploymentValueDeployments2$inboundSchema: z.ZodType<
6497
+ CreateDeploymentValueDeployments2,
6498
+ z.ZodTypeDef,
6499
+ unknown
6500
+ > = z.object({
6501
+ eq: z.union([z.string(), z.number()]).optional(),
6502
+ neq: z.string().optional(),
6503
+ inc: z.array(z.string()).optional(),
6504
+ ninc: z.array(z.string()).optional(),
6505
+ pre: z.string().optional(),
6506
+ suf: z.string().optional(),
6507
+ re: z.string().optional(),
6508
+ gt: z.number().optional(),
6509
+ gte: z.number().optional(),
6510
+ lt: z.number().optional(),
6511
+ lte: z.number().optional(),
6512
+ });
6513
+
6514
+ /** @internal */
6515
+ export type CreateDeploymentValueDeployments2$Outbound = {
6516
+ eq?: string | number | undefined;
6517
+ neq?: string | undefined;
6518
+ inc?: Array<string> | undefined;
6519
+ ninc?: Array<string> | undefined;
6520
+ pre?: string | undefined;
6521
+ suf?: string | undefined;
6522
+ re?: string | undefined;
6523
+ gt?: number | undefined;
6524
+ gte?: number | undefined;
6525
+ lt?: number | undefined;
6526
+ lte?: number | undefined;
6527
+ };
6528
+
6529
+ /** @internal */
6530
+ export const CreateDeploymentValueDeployments2$outboundSchema: z.ZodType<
6531
+ CreateDeploymentValueDeployments2$Outbound,
6532
+ z.ZodTypeDef,
6533
+ CreateDeploymentValueDeployments2
6534
+ > = z.object({
6535
+ eq: z.union([z.string(), z.number()]).optional(),
6536
+ neq: z.string().optional(),
6537
+ inc: z.array(z.string()).optional(),
6538
+ ninc: z.array(z.string()).optional(),
6539
+ pre: z.string().optional(),
6540
+ suf: z.string().optional(),
6541
+ re: z.string().optional(),
6542
+ gt: z.number().optional(),
6543
+ gte: z.number().optional(),
6544
+ lt: z.number().optional(),
6545
+ lte: z.number().optional(),
6546
+ });
6547
+
6548
+ /**
6549
+ * @internal
6550
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6551
+ */
6552
+ export namespace CreateDeploymentValueDeployments2$ {
6553
+ /** @deprecated use `CreateDeploymentValueDeployments2$inboundSchema` instead. */
6554
+ export const inboundSchema = CreateDeploymentValueDeployments2$inboundSchema;
6555
+ /** @deprecated use `CreateDeploymentValueDeployments2$outboundSchema` instead. */
6556
+ export const outboundSchema =
6557
+ CreateDeploymentValueDeployments2$outboundSchema;
6558
+ /** @deprecated use `CreateDeploymentValueDeployments2$Outbound` instead. */
6559
+ export type Outbound = CreateDeploymentValueDeployments2$Outbound;
6560
+ }
6561
+
6562
+ export function createDeploymentValueDeployments2ToJSON(
6563
+ createDeploymentValueDeployments2: CreateDeploymentValueDeployments2,
6564
+ ): string {
6565
+ return JSON.stringify(
6566
+ CreateDeploymentValueDeployments2$outboundSchema.parse(
6567
+ createDeploymentValueDeployments2,
6568
+ ),
6569
+ );
6570
+ }
6571
+
6572
+ export function createDeploymentValueDeployments2FromJSON(
6573
+ jsonString: string,
6574
+ ): SafeParseResult<CreateDeploymentValueDeployments2, SDKValidationError> {
6575
+ return safeParse(
6576
+ jsonString,
6577
+ (x) => CreateDeploymentValueDeployments2$inboundSchema.parse(JSON.parse(x)),
6578
+ `Failed to parse 'CreateDeploymentValueDeployments2' from JSON`,
6579
+ );
6580
+ }
6581
+
6582
+ /** @internal */
6583
+ export const CreateDeploymentHasValue$inboundSchema: z.ZodType<
6584
+ CreateDeploymentHasValue,
6585
+ z.ZodTypeDef,
6586
+ unknown
6587
+ > = z.union([
6588
+ z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema),
6589
+ z.string(),
6590
+ ]);
6591
+
6592
+ /** @internal */
6593
+ export type CreateDeploymentHasValue$Outbound =
6594
+ | CreateDeploymentValueDeployments2$Outbound
6595
+ | string;
6596
+
6597
+ /** @internal */
6598
+ export const CreateDeploymentHasValue$outboundSchema: z.ZodType<
6599
+ CreateDeploymentHasValue$Outbound,
6600
+ z.ZodTypeDef,
6601
+ CreateDeploymentHasValue
6602
+ > = z.union([
6603
+ z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema),
6604
+ z.string(),
6605
+ ]);
6606
+
6607
+ /**
6608
+ * @internal
6609
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6610
+ */
6611
+ export namespace CreateDeploymentHasValue$ {
6612
+ /** @deprecated use `CreateDeploymentHasValue$inboundSchema` instead. */
6613
+ export const inboundSchema = CreateDeploymentHasValue$inboundSchema;
6614
+ /** @deprecated use `CreateDeploymentHasValue$outboundSchema` instead. */
6615
+ export const outboundSchema = CreateDeploymentHasValue$outboundSchema;
6616
+ /** @deprecated use `CreateDeploymentHasValue$Outbound` instead. */
6617
+ export type Outbound = CreateDeploymentHasValue$Outbound;
6618
+ }
6619
+
6620
+ export function createDeploymentHasValueToJSON(
6621
+ createDeploymentHasValue: CreateDeploymentHasValue,
6622
+ ): string {
6623
+ return JSON.stringify(
6624
+ CreateDeploymentHasValue$outboundSchema.parse(createDeploymentHasValue),
6625
+ );
6626
+ }
6627
+
6628
+ export function createDeploymentHasValueFromJSON(
6629
+ jsonString: string,
6630
+ ): SafeParseResult<CreateDeploymentHasValue, SDKValidationError> {
6631
+ return safeParse(
6632
+ jsonString,
6633
+ (x) => CreateDeploymentHasValue$inboundSchema.parse(JSON.parse(x)),
6634
+ `Failed to parse 'CreateDeploymentHasValue' from JSON`,
6635
+ );
6636
+ }
6637
+
6483
6638
  /** @internal */
6484
6639
  export const Has2$inboundSchema: z.ZodType<Has2, z.ZodTypeDef, unknown> = z
6485
6640
  .object({
6486
6641
  type: CreateDeploymentHasType$inboundSchema,
6487
6642
  key: z.string(),
6488
- value: z.string().optional(),
6643
+ value: z.union([
6644
+ z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema),
6645
+ z.string(),
6646
+ ]).optional(),
6489
6647
  });
6490
6648
 
6491
6649
  /** @internal */
6492
6650
  export type Has2$Outbound = {
6493
6651
  type: string;
6494
6652
  key: string;
6495
- value?: string | undefined;
6653
+ value?: CreateDeploymentValueDeployments2$Outbound | string | undefined;
6496
6654
  };
6497
6655
 
6498
6656
  /** @internal */
@@ -6500,7 +6658,10 @@ export const Has2$outboundSchema: z.ZodType<Has2$Outbound, z.ZodTypeDef, Has2> =
6500
6658
  z.object({
6501
6659
  type: CreateDeploymentHasType$outboundSchema,
6502
6660
  key: z.string(),
6503
- value: z.string().optional(),
6661
+ value: z.union([
6662
+ z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema),
6663
+ z.string(),
6664
+ ]).optional(),
6504
6665
  });
6505
6666
 
6506
6667
  /**
@@ -6549,24 +6710,198 @@ export namespace HasType$ {
6549
6710
  export const outboundSchema = HasType$outboundSchema;
6550
6711
  }
6551
6712
 
6713
+ /** @internal */
6714
+ export const Eq$inboundSchema: z.ZodType<Eq, z.ZodTypeDef, unknown> = z.union([
6715
+ z.string(),
6716
+ z.number(),
6717
+ ]);
6718
+
6719
+ /** @internal */
6720
+ export type Eq$Outbound = string | number;
6721
+
6722
+ /** @internal */
6723
+ export const Eq$outboundSchema: z.ZodType<Eq$Outbound, z.ZodTypeDef, Eq> = z
6724
+ .union([z.string(), z.number()]);
6725
+
6726
+ /**
6727
+ * @internal
6728
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6729
+ */
6730
+ export namespace Eq$ {
6731
+ /** @deprecated use `Eq$inboundSchema` instead. */
6732
+ export const inboundSchema = Eq$inboundSchema;
6733
+ /** @deprecated use `Eq$outboundSchema` instead. */
6734
+ export const outboundSchema = Eq$outboundSchema;
6735
+ /** @deprecated use `Eq$Outbound` instead. */
6736
+ export type Outbound = Eq$Outbound;
6737
+ }
6738
+
6739
+ export function eqToJSON(eq: Eq): string {
6740
+ return JSON.stringify(Eq$outboundSchema.parse(eq));
6741
+ }
6742
+
6743
+ export function eqFromJSON(
6744
+ jsonString: string,
6745
+ ): SafeParseResult<Eq, SDKValidationError> {
6746
+ return safeParse(
6747
+ jsonString,
6748
+ (x) => Eq$inboundSchema.parse(JSON.parse(x)),
6749
+ `Failed to parse 'Eq' from JSON`,
6750
+ );
6751
+ }
6752
+
6753
+ /** @internal */
6754
+ export const CreateDeploymentValue2$inboundSchema: z.ZodType<
6755
+ CreateDeploymentValue2,
6756
+ z.ZodTypeDef,
6757
+ unknown
6758
+ > = z.object({
6759
+ eq: z.union([z.string(), z.number()]).optional(),
6760
+ neq: z.string().optional(),
6761
+ inc: z.array(z.string()).optional(),
6762
+ ninc: z.array(z.string()).optional(),
6763
+ pre: z.string().optional(),
6764
+ suf: z.string().optional(),
6765
+ re: z.string().optional(),
6766
+ gt: z.number().optional(),
6767
+ gte: z.number().optional(),
6768
+ lt: z.number().optional(),
6769
+ lte: z.number().optional(),
6770
+ });
6771
+
6772
+ /** @internal */
6773
+ export type CreateDeploymentValue2$Outbound = {
6774
+ eq?: string | number | undefined;
6775
+ neq?: string | undefined;
6776
+ inc?: Array<string> | undefined;
6777
+ ninc?: Array<string> | undefined;
6778
+ pre?: string | undefined;
6779
+ suf?: string | undefined;
6780
+ re?: string | undefined;
6781
+ gt?: number | undefined;
6782
+ gte?: number | undefined;
6783
+ lt?: number | undefined;
6784
+ lte?: number | undefined;
6785
+ };
6786
+
6787
+ /** @internal */
6788
+ export const CreateDeploymentValue2$outboundSchema: z.ZodType<
6789
+ CreateDeploymentValue2$Outbound,
6790
+ z.ZodTypeDef,
6791
+ CreateDeploymentValue2
6792
+ > = z.object({
6793
+ eq: z.union([z.string(), z.number()]).optional(),
6794
+ neq: z.string().optional(),
6795
+ inc: z.array(z.string()).optional(),
6796
+ ninc: z.array(z.string()).optional(),
6797
+ pre: z.string().optional(),
6798
+ suf: z.string().optional(),
6799
+ re: z.string().optional(),
6800
+ gt: z.number().optional(),
6801
+ gte: z.number().optional(),
6802
+ lt: z.number().optional(),
6803
+ lte: z.number().optional(),
6804
+ });
6805
+
6806
+ /**
6807
+ * @internal
6808
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6809
+ */
6810
+ export namespace CreateDeploymentValue2$ {
6811
+ /** @deprecated use `CreateDeploymentValue2$inboundSchema` instead. */
6812
+ export const inboundSchema = CreateDeploymentValue2$inboundSchema;
6813
+ /** @deprecated use `CreateDeploymentValue2$outboundSchema` instead. */
6814
+ export const outboundSchema = CreateDeploymentValue2$outboundSchema;
6815
+ /** @deprecated use `CreateDeploymentValue2$Outbound` instead. */
6816
+ export type Outbound = CreateDeploymentValue2$Outbound;
6817
+ }
6818
+
6819
+ export function createDeploymentValue2ToJSON(
6820
+ createDeploymentValue2: CreateDeploymentValue2,
6821
+ ): string {
6822
+ return JSON.stringify(
6823
+ CreateDeploymentValue2$outboundSchema.parse(createDeploymentValue2),
6824
+ );
6825
+ }
6826
+
6827
+ export function createDeploymentValue2FromJSON(
6828
+ jsonString: string,
6829
+ ): SafeParseResult<CreateDeploymentValue2, SDKValidationError> {
6830
+ return safeParse(
6831
+ jsonString,
6832
+ (x) => CreateDeploymentValue2$inboundSchema.parse(JSON.parse(x)),
6833
+ `Failed to parse 'CreateDeploymentValue2' from JSON`,
6834
+ );
6835
+ }
6836
+
6837
+ /** @internal */
6838
+ export const HasValue$inboundSchema: z.ZodType<
6839
+ HasValue,
6840
+ z.ZodTypeDef,
6841
+ unknown
6842
+ > = z.union([z.lazy(() => CreateDeploymentValue2$inboundSchema), z.string()]);
6843
+
6844
+ /** @internal */
6845
+ export type HasValue$Outbound = CreateDeploymentValue2$Outbound | string;
6846
+
6847
+ /** @internal */
6848
+ export const HasValue$outboundSchema: z.ZodType<
6849
+ HasValue$Outbound,
6850
+ z.ZodTypeDef,
6851
+ HasValue
6852
+ > = z.union([z.lazy(() => CreateDeploymentValue2$outboundSchema), z.string()]);
6853
+
6854
+ /**
6855
+ * @internal
6856
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6857
+ */
6858
+ export namespace HasValue$ {
6859
+ /** @deprecated use `HasValue$inboundSchema` instead. */
6860
+ export const inboundSchema = HasValue$inboundSchema;
6861
+ /** @deprecated use `HasValue$outboundSchema` instead. */
6862
+ export const outboundSchema = HasValue$outboundSchema;
6863
+ /** @deprecated use `HasValue$Outbound` instead. */
6864
+ export type Outbound = HasValue$Outbound;
6865
+ }
6866
+
6867
+ export function hasValueToJSON(hasValue: HasValue): string {
6868
+ return JSON.stringify(HasValue$outboundSchema.parse(hasValue));
6869
+ }
6870
+
6871
+ export function hasValueFromJSON(
6872
+ jsonString: string,
6873
+ ): SafeParseResult<HasValue, SDKValidationError> {
6874
+ return safeParse(
6875
+ jsonString,
6876
+ (x) => HasValue$inboundSchema.parse(JSON.parse(x)),
6877
+ `Failed to parse 'HasValue' from JSON`,
6878
+ );
6879
+ }
6880
+
6552
6881
  /** @internal */
6553
6882
  export const Has1$inboundSchema: z.ZodType<Has1, z.ZodTypeDef, unknown> = z
6554
6883
  .object({
6555
6884
  type: HasType$inboundSchema,
6556
- value: z.string(),
6885
+ value: z.union([
6886
+ z.lazy(() => CreateDeploymentValue2$inboundSchema),
6887
+ z.string(),
6888
+ ]),
6557
6889
  });
6558
6890
 
6559
6891
  /** @internal */
6560
6892
  export type Has1$Outbound = {
6561
6893
  type: string;
6562
- value: string;
6894
+ value: CreateDeploymentValue2$Outbound | string;
6563
6895
  };
6564
6896
 
6565
6897
  /** @internal */
6566
6898
  export const Has1$outboundSchema: z.ZodType<Has1$Outbound, z.ZodTypeDef, Has1> =
6567
6899
  z.object({
6568
6900
  type: HasType$outboundSchema,
6569
- value: z.string(),
6901
+ value: z.union([
6902
+ z.lazy(() => CreateDeploymentValue2$outboundSchema),
6903
+ z.string(),
6904
+ ]),
6570
6905
  });
6571
6906
 
6572
6907
  /**
@@ -6667,6 +7002,213 @@ export namespace CreateDeploymentMissingType$ {
6667
7002
  export const outboundSchema = CreateDeploymentMissingType$outboundSchema;
6668
7003
  }
6669
7004
 
7005
+ /** @internal */
7006
+ export const CreateDeploymentValueDeploymentsEq$inboundSchema: z.ZodType<
7007
+ CreateDeploymentValueDeploymentsEq,
7008
+ z.ZodTypeDef,
7009
+ unknown
7010
+ > = z.union([z.string(), z.number()]);
7011
+
7012
+ /** @internal */
7013
+ export type CreateDeploymentValueDeploymentsEq$Outbound = string | number;
7014
+
7015
+ /** @internal */
7016
+ export const CreateDeploymentValueDeploymentsEq$outboundSchema: z.ZodType<
7017
+ CreateDeploymentValueDeploymentsEq$Outbound,
7018
+ z.ZodTypeDef,
7019
+ CreateDeploymentValueDeploymentsEq
7020
+ > = z.union([z.string(), z.number()]);
7021
+
7022
+ /**
7023
+ * @internal
7024
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7025
+ */
7026
+ export namespace CreateDeploymentValueDeploymentsEq$ {
7027
+ /** @deprecated use `CreateDeploymentValueDeploymentsEq$inboundSchema` instead. */
7028
+ export const inboundSchema = CreateDeploymentValueDeploymentsEq$inboundSchema;
7029
+ /** @deprecated use `CreateDeploymentValueDeploymentsEq$outboundSchema` instead. */
7030
+ export const outboundSchema =
7031
+ CreateDeploymentValueDeploymentsEq$outboundSchema;
7032
+ /** @deprecated use `CreateDeploymentValueDeploymentsEq$Outbound` instead. */
7033
+ export type Outbound = CreateDeploymentValueDeploymentsEq$Outbound;
7034
+ }
7035
+
7036
+ export function createDeploymentValueDeploymentsEqToJSON(
7037
+ createDeploymentValueDeploymentsEq: CreateDeploymentValueDeploymentsEq,
7038
+ ): string {
7039
+ return JSON.stringify(
7040
+ CreateDeploymentValueDeploymentsEq$outboundSchema.parse(
7041
+ createDeploymentValueDeploymentsEq,
7042
+ ),
7043
+ );
7044
+ }
7045
+
7046
+ export function createDeploymentValueDeploymentsEqFromJSON(
7047
+ jsonString: string,
7048
+ ): SafeParseResult<CreateDeploymentValueDeploymentsEq, SDKValidationError> {
7049
+ return safeParse(
7050
+ jsonString,
7051
+ (x) =>
7052
+ CreateDeploymentValueDeploymentsEq$inboundSchema.parse(JSON.parse(x)),
7053
+ `Failed to parse 'CreateDeploymentValueDeploymentsEq' from JSON`,
7054
+ );
7055
+ }
7056
+
7057
+ /** @internal */
7058
+ export const CreateDeploymentValueDeploymentsResponse2002$inboundSchema:
7059
+ z.ZodType<
7060
+ CreateDeploymentValueDeploymentsResponse2002,
7061
+ z.ZodTypeDef,
7062
+ unknown
7063
+ > = z.object({
7064
+ eq: z.union([z.string(), z.number()]).optional(),
7065
+ neq: z.string().optional(),
7066
+ inc: z.array(z.string()).optional(),
7067
+ ninc: z.array(z.string()).optional(),
7068
+ pre: z.string().optional(),
7069
+ suf: z.string().optional(),
7070
+ re: z.string().optional(),
7071
+ gt: z.number().optional(),
7072
+ gte: z.number().optional(),
7073
+ lt: z.number().optional(),
7074
+ lte: z.number().optional(),
7075
+ });
7076
+
7077
+ /** @internal */
7078
+ export type CreateDeploymentValueDeploymentsResponse2002$Outbound = {
7079
+ eq?: string | number | undefined;
7080
+ neq?: string | undefined;
7081
+ inc?: Array<string> | undefined;
7082
+ ninc?: Array<string> | undefined;
7083
+ pre?: string | undefined;
7084
+ suf?: string | undefined;
7085
+ re?: string | undefined;
7086
+ gt?: number | undefined;
7087
+ gte?: number | undefined;
7088
+ lt?: number | undefined;
7089
+ lte?: number | undefined;
7090
+ };
7091
+
7092
+ /** @internal */
7093
+ export const CreateDeploymentValueDeploymentsResponse2002$outboundSchema:
7094
+ z.ZodType<
7095
+ CreateDeploymentValueDeploymentsResponse2002$Outbound,
7096
+ z.ZodTypeDef,
7097
+ CreateDeploymentValueDeploymentsResponse2002
7098
+ > = z.object({
7099
+ eq: z.union([z.string(), z.number()]).optional(),
7100
+ neq: z.string().optional(),
7101
+ inc: z.array(z.string()).optional(),
7102
+ ninc: z.array(z.string()).optional(),
7103
+ pre: z.string().optional(),
7104
+ suf: z.string().optional(),
7105
+ re: z.string().optional(),
7106
+ gt: z.number().optional(),
7107
+ gte: z.number().optional(),
7108
+ lt: z.number().optional(),
7109
+ lte: z.number().optional(),
7110
+ });
7111
+
7112
+ /**
7113
+ * @internal
7114
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7115
+ */
7116
+ export namespace CreateDeploymentValueDeploymentsResponse2002$ {
7117
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$inboundSchema` instead. */
7118
+ export const inboundSchema =
7119
+ CreateDeploymentValueDeploymentsResponse2002$inboundSchema;
7120
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$outboundSchema` instead. */
7121
+ export const outboundSchema =
7122
+ CreateDeploymentValueDeploymentsResponse2002$outboundSchema;
7123
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$Outbound` instead. */
7124
+ export type Outbound = CreateDeploymentValueDeploymentsResponse2002$Outbound;
7125
+ }
7126
+
7127
+ export function createDeploymentValueDeploymentsResponse2002ToJSON(
7128
+ createDeploymentValueDeploymentsResponse2002:
7129
+ CreateDeploymentValueDeploymentsResponse2002,
7130
+ ): string {
7131
+ return JSON.stringify(
7132
+ CreateDeploymentValueDeploymentsResponse2002$outboundSchema.parse(
7133
+ createDeploymentValueDeploymentsResponse2002,
7134
+ ),
7135
+ );
7136
+ }
7137
+
7138
+ export function createDeploymentValueDeploymentsResponse2002FromJSON(
7139
+ jsonString: string,
7140
+ ): SafeParseResult<
7141
+ CreateDeploymentValueDeploymentsResponse2002,
7142
+ SDKValidationError
7143
+ > {
7144
+ return safeParse(
7145
+ jsonString,
7146
+ (x) =>
7147
+ CreateDeploymentValueDeploymentsResponse2002$inboundSchema.parse(
7148
+ JSON.parse(x),
7149
+ ),
7150
+ `Failed to parse 'CreateDeploymentValueDeploymentsResponse2002' from JSON`,
7151
+ );
7152
+ }
7153
+
7154
+ /** @internal */
7155
+ export const CreateDeploymentMissingValue$inboundSchema: z.ZodType<
7156
+ CreateDeploymentMissingValue,
7157
+ z.ZodTypeDef,
7158
+ unknown
7159
+ > = z.union([
7160
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
7161
+ z.string(),
7162
+ ]);
7163
+
7164
+ /** @internal */
7165
+ export type CreateDeploymentMissingValue$Outbound =
7166
+ | CreateDeploymentValueDeploymentsResponse2002$Outbound
7167
+ | string;
7168
+
7169
+ /** @internal */
7170
+ export const CreateDeploymentMissingValue$outboundSchema: z.ZodType<
7171
+ CreateDeploymentMissingValue$Outbound,
7172
+ z.ZodTypeDef,
7173
+ CreateDeploymentMissingValue
7174
+ > = z.union([
7175
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
7176
+ z.string(),
7177
+ ]);
7178
+
7179
+ /**
7180
+ * @internal
7181
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7182
+ */
7183
+ export namespace CreateDeploymentMissingValue$ {
7184
+ /** @deprecated use `CreateDeploymentMissingValue$inboundSchema` instead. */
7185
+ export const inboundSchema = CreateDeploymentMissingValue$inboundSchema;
7186
+ /** @deprecated use `CreateDeploymentMissingValue$outboundSchema` instead. */
7187
+ export const outboundSchema = CreateDeploymentMissingValue$outboundSchema;
7188
+ /** @deprecated use `CreateDeploymentMissingValue$Outbound` instead. */
7189
+ export type Outbound = CreateDeploymentMissingValue$Outbound;
7190
+ }
7191
+
7192
+ export function createDeploymentMissingValueToJSON(
7193
+ createDeploymentMissingValue: CreateDeploymentMissingValue,
7194
+ ): string {
7195
+ return JSON.stringify(
7196
+ CreateDeploymentMissingValue$outboundSchema.parse(
7197
+ createDeploymentMissingValue,
7198
+ ),
7199
+ );
7200
+ }
7201
+
7202
+ export function createDeploymentMissingValueFromJSON(
7203
+ jsonString: string,
7204
+ ): SafeParseResult<CreateDeploymentMissingValue, SDKValidationError> {
7205
+ return safeParse(
7206
+ jsonString,
7207
+ (x) => CreateDeploymentMissingValue$inboundSchema.parse(JSON.parse(x)),
7208
+ `Failed to parse 'CreateDeploymentMissingValue' from JSON`,
7209
+ );
7210
+ }
7211
+
6670
7212
  /** @internal */
6671
7213
  export const Missing2$inboundSchema: z.ZodType<
6672
7214
  Missing2,
@@ -6675,14 +7217,20 @@ export const Missing2$inboundSchema: z.ZodType<
6675
7217
  > = z.object({
6676
7218
  type: CreateDeploymentMissingType$inboundSchema,
6677
7219
  key: z.string(),
6678
- value: z.string().optional(),
7220
+ value: z.union([
7221
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema),
7222
+ z.string(),
7223
+ ]).optional(),
6679
7224
  });
6680
7225
 
6681
7226
  /** @internal */
6682
7227
  export type Missing2$Outbound = {
6683
7228
  type: string;
6684
7229
  key: string;
6685
- value?: string | undefined;
7230
+ value?:
7231
+ | CreateDeploymentValueDeploymentsResponse2002$Outbound
7232
+ | string
7233
+ | undefined;
6686
7234
  };
6687
7235
 
6688
7236
  /** @internal */
@@ -6693,7 +7241,10 @@ export const Missing2$outboundSchema: z.ZodType<
6693
7241
  > = z.object({
6694
7242
  type: CreateDeploymentMissingType$outboundSchema,
6695
7243
  key: z.string(),
6696
- value: z.string().optional(),
7244
+ value: z.union([
7245
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema),
7246
+ z.string(),
7247
+ ]).optional(),
6697
7248
  });
6698
7249
 
6699
7250
  /**
@@ -6742,6 +7293,202 @@ export namespace MissingType$ {
6742
7293
  export const outboundSchema = MissingType$outboundSchema;
6743
7294
  }
6744
7295
 
7296
+ /** @internal */
7297
+ export const CreateDeploymentValueEq$inboundSchema: z.ZodType<
7298
+ CreateDeploymentValueEq,
7299
+ z.ZodTypeDef,
7300
+ unknown
7301
+ > = z.union([z.string(), z.number()]);
7302
+
7303
+ /** @internal */
7304
+ export type CreateDeploymentValueEq$Outbound = string | number;
7305
+
7306
+ /** @internal */
7307
+ export const CreateDeploymentValueEq$outboundSchema: z.ZodType<
7308
+ CreateDeploymentValueEq$Outbound,
7309
+ z.ZodTypeDef,
7310
+ CreateDeploymentValueEq
7311
+ > = z.union([z.string(), z.number()]);
7312
+
7313
+ /**
7314
+ * @internal
7315
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7316
+ */
7317
+ export namespace CreateDeploymentValueEq$ {
7318
+ /** @deprecated use `CreateDeploymentValueEq$inboundSchema` instead. */
7319
+ export const inboundSchema = CreateDeploymentValueEq$inboundSchema;
7320
+ /** @deprecated use `CreateDeploymentValueEq$outboundSchema` instead. */
7321
+ export const outboundSchema = CreateDeploymentValueEq$outboundSchema;
7322
+ /** @deprecated use `CreateDeploymentValueEq$Outbound` instead. */
7323
+ export type Outbound = CreateDeploymentValueEq$Outbound;
7324
+ }
7325
+
7326
+ export function createDeploymentValueEqToJSON(
7327
+ createDeploymentValueEq: CreateDeploymentValueEq,
7328
+ ): string {
7329
+ return JSON.stringify(
7330
+ CreateDeploymentValueEq$outboundSchema.parse(createDeploymentValueEq),
7331
+ );
7332
+ }
7333
+
7334
+ export function createDeploymentValueEqFromJSON(
7335
+ jsonString: string,
7336
+ ): SafeParseResult<CreateDeploymentValueEq, SDKValidationError> {
7337
+ return safeParse(
7338
+ jsonString,
7339
+ (x) => CreateDeploymentValueEq$inboundSchema.parse(JSON.parse(x)),
7340
+ `Failed to parse 'CreateDeploymentValueEq' from JSON`,
7341
+ );
7342
+ }
7343
+
7344
+ /** @internal */
7345
+ export const CreateDeploymentValueDeploymentsResponse2$inboundSchema: z.ZodType<
7346
+ CreateDeploymentValueDeploymentsResponse2,
7347
+ z.ZodTypeDef,
7348
+ unknown
7349
+ > = z.object({
7350
+ eq: z.union([z.string(), z.number()]).optional(),
7351
+ neq: z.string().optional(),
7352
+ inc: z.array(z.string()).optional(),
7353
+ ninc: z.array(z.string()).optional(),
7354
+ pre: z.string().optional(),
7355
+ suf: z.string().optional(),
7356
+ re: z.string().optional(),
7357
+ gt: z.number().optional(),
7358
+ gte: z.number().optional(),
7359
+ lt: z.number().optional(),
7360
+ lte: z.number().optional(),
7361
+ });
7362
+
7363
+ /** @internal */
7364
+ export type CreateDeploymentValueDeploymentsResponse2$Outbound = {
7365
+ eq?: string | number | undefined;
7366
+ neq?: string | undefined;
7367
+ inc?: Array<string> | undefined;
7368
+ ninc?: Array<string> | undefined;
7369
+ pre?: string | undefined;
7370
+ suf?: string | undefined;
7371
+ re?: string | undefined;
7372
+ gt?: number | undefined;
7373
+ gte?: number | undefined;
7374
+ lt?: number | undefined;
7375
+ lte?: number | undefined;
7376
+ };
7377
+
7378
+ /** @internal */
7379
+ export const CreateDeploymentValueDeploymentsResponse2$outboundSchema:
7380
+ z.ZodType<
7381
+ CreateDeploymentValueDeploymentsResponse2$Outbound,
7382
+ z.ZodTypeDef,
7383
+ CreateDeploymentValueDeploymentsResponse2
7384
+ > = z.object({
7385
+ eq: z.union([z.string(), z.number()]).optional(),
7386
+ neq: z.string().optional(),
7387
+ inc: z.array(z.string()).optional(),
7388
+ ninc: z.array(z.string()).optional(),
7389
+ pre: z.string().optional(),
7390
+ suf: z.string().optional(),
7391
+ re: z.string().optional(),
7392
+ gt: z.number().optional(),
7393
+ gte: z.number().optional(),
7394
+ lt: z.number().optional(),
7395
+ lte: z.number().optional(),
7396
+ });
7397
+
7398
+ /**
7399
+ * @internal
7400
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7401
+ */
7402
+ export namespace CreateDeploymentValueDeploymentsResponse2$ {
7403
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$inboundSchema` instead. */
7404
+ export const inboundSchema =
7405
+ CreateDeploymentValueDeploymentsResponse2$inboundSchema;
7406
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$outboundSchema` instead. */
7407
+ export const outboundSchema =
7408
+ CreateDeploymentValueDeploymentsResponse2$outboundSchema;
7409
+ /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$Outbound` instead. */
7410
+ export type Outbound = CreateDeploymentValueDeploymentsResponse2$Outbound;
7411
+ }
7412
+
7413
+ export function createDeploymentValueDeploymentsResponse2ToJSON(
7414
+ createDeploymentValueDeploymentsResponse2:
7415
+ CreateDeploymentValueDeploymentsResponse2,
7416
+ ): string {
7417
+ return JSON.stringify(
7418
+ CreateDeploymentValueDeploymentsResponse2$outboundSchema.parse(
7419
+ createDeploymentValueDeploymentsResponse2,
7420
+ ),
7421
+ );
7422
+ }
7423
+
7424
+ export function createDeploymentValueDeploymentsResponse2FromJSON(
7425
+ jsonString: string,
7426
+ ): SafeParseResult<
7427
+ CreateDeploymentValueDeploymentsResponse2,
7428
+ SDKValidationError
7429
+ > {
7430
+ return safeParse(
7431
+ jsonString,
7432
+ (x) =>
7433
+ CreateDeploymentValueDeploymentsResponse2$inboundSchema.parse(
7434
+ JSON.parse(x),
7435
+ ),
7436
+ `Failed to parse 'CreateDeploymentValueDeploymentsResponse2' from JSON`,
7437
+ );
7438
+ }
7439
+
7440
+ /** @internal */
7441
+ export const MissingValue$inboundSchema: z.ZodType<
7442
+ MissingValue,
7443
+ z.ZodTypeDef,
7444
+ unknown
7445
+ > = z.union([
7446
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema),
7447
+ z.string(),
7448
+ ]);
7449
+
7450
+ /** @internal */
7451
+ export type MissingValue$Outbound =
7452
+ | CreateDeploymentValueDeploymentsResponse2$Outbound
7453
+ | string;
7454
+
7455
+ /** @internal */
7456
+ export const MissingValue$outboundSchema: z.ZodType<
7457
+ MissingValue$Outbound,
7458
+ z.ZodTypeDef,
7459
+ MissingValue
7460
+ > = z.union([
7461
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema),
7462
+ z.string(),
7463
+ ]);
7464
+
7465
+ /**
7466
+ * @internal
7467
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7468
+ */
7469
+ export namespace MissingValue$ {
7470
+ /** @deprecated use `MissingValue$inboundSchema` instead. */
7471
+ export const inboundSchema = MissingValue$inboundSchema;
7472
+ /** @deprecated use `MissingValue$outboundSchema` instead. */
7473
+ export const outboundSchema = MissingValue$outboundSchema;
7474
+ /** @deprecated use `MissingValue$Outbound` instead. */
7475
+ export type Outbound = MissingValue$Outbound;
7476
+ }
7477
+
7478
+ export function missingValueToJSON(missingValue: MissingValue): string {
7479
+ return JSON.stringify(MissingValue$outboundSchema.parse(missingValue));
7480
+ }
7481
+
7482
+ export function missingValueFromJSON(
7483
+ jsonString: string,
7484
+ ): SafeParseResult<MissingValue, SDKValidationError> {
7485
+ return safeParse(
7486
+ jsonString,
7487
+ (x) => MissingValue$inboundSchema.parse(JSON.parse(x)),
7488
+ `Failed to parse 'MissingValue' from JSON`,
7489
+ );
7490
+ }
7491
+
6745
7492
  /** @internal */
6746
7493
  export const Missing1$inboundSchema: z.ZodType<
6747
7494
  Missing1,
@@ -6749,13 +7496,16 @@ export const Missing1$inboundSchema: z.ZodType<
6749
7496
  unknown
6750
7497
  > = z.object({
6751
7498
  type: MissingType$inboundSchema,
6752
- value: z.string(),
7499
+ value: z.union([
7500
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema),
7501
+ z.string(),
7502
+ ]),
6753
7503
  });
6754
7504
 
6755
7505
  /** @internal */
6756
7506
  export type Missing1$Outbound = {
6757
7507
  type: string;
6758
- value: string;
7508
+ value: CreateDeploymentValueDeploymentsResponse2$Outbound | string;
6759
7509
  };
6760
7510
 
6761
7511
  /** @internal */
@@ -6765,7 +7515,10 @@ export const Missing1$outboundSchema: z.ZodType<
6765
7515
  Missing1
6766
7516
  > = z.object({
6767
7517
  type: MissingType$outboundSchema,
6768
- value: z.string(),
7518
+ value: z.union([
7519
+ z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema),
7520
+ z.string(),
7521
+ ]),
6769
7522
  });
6770
7523
 
6771
7524
  /**
@@ -6845,6 +7598,75 @@ export function routesMissingFromJSON(
6845
7598
  );
6846
7599
  }
6847
7600
 
7601
+ /** @internal */
7602
+ export const RoutesAction$inboundSchema: z.ZodNativeEnum<typeof RoutesAction> =
7603
+ z.nativeEnum(RoutesAction);
7604
+
7605
+ /** @internal */
7606
+ export const RoutesAction$outboundSchema: z.ZodNativeEnum<typeof RoutesAction> =
7607
+ RoutesAction$inboundSchema;
7608
+
7609
+ /**
7610
+ * @internal
7611
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7612
+ */
7613
+ export namespace RoutesAction$ {
7614
+ /** @deprecated use `RoutesAction$inboundSchema` instead. */
7615
+ export const inboundSchema = RoutesAction$inboundSchema;
7616
+ /** @deprecated use `RoutesAction$outboundSchema` instead. */
7617
+ export const outboundSchema = RoutesAction$outboundSchema;
7618
+ }
7619
+
7620
+ /** @internal */
7621
+ export const RoutesMitigate$inboundSchema: z.ZodType<
7622
+ RoutesMitigate,
7623
+ z.ZodTypeDef,
7624
+ unknown
7625
+ > = z.object({
7626
+ action: RoutesAction$inboundSchema,
7627
+ });
7628
+
7629
+ /** @internal */
7630
+ export type RoutesMitigate$Outbound = {
7631
+ action: string;
7632
+ };
7633
+
7634
+ /** @internal */
7635
+ export const RoutesMitigate$outboundSchema: z.ZodType<
7636
+ RoutesMitigate$Outbound,
7637
+ z.ZodTypeDef,
7638
+ RoutesMitigate
7639
+ > = z.object({
7640
+ action: RoutesAction$outboundSchema,
7641
+ });
7642
+
7643
+ /**
7644
+ * @internal
7645
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
7646
+ */
7647
+ export namespace RoutesMitigate$ {
7648
+ /** @deprecated use `RoutesMitigate$inboundSchema` instead. */
7649
+ export const inboundSchema = RoutesMitigate$inboundSchema;
7650
+ /** @deprecated use `RoutesMitigate$outboundSchema` instead. */
7651
+ export const outboundSchema = RoutesMitigate$outboundSchema;
7652
+ /** @deprecated use `RoutesMitigate$Outbound` instead. */
7653
+ export type Outbound = RoutesMitigate$Outbound;
7654
+ }
7655
+
7656
+ export function routesMitigateToJSON(routesMitigate: RoutesMitigate): string {
7657
+ return JSON.stringify(RoutesMitigate$outboundSchema.parse(routesMitigate));
7658
+ }
7659
+
7660
+ export function routesMitigateFromJSON(
7661
+ jsonString: string,
7662
+ ): SafeParseResult<RoutesMitigate, SDKValidationError> {
7663
+ return safeParse(
7664
+ jsonString,
7665
+ (x) => RoutesMitigate$inboundSchema.parse(JSON.parse(x)),
7666
+ `Failed to parse 'RoutesMitigate' from JSON`,
7667
+ );
7668
+ }
7669
+
6848
7670
  /** @internal */
6849
7671
  export const Locale$inboundSchema: z.ZodType<Locale, z.ZodTypeDef, unknown> = z
6850
7672
  .object({
@@ -6920,6 +7742,7 @@ export const Routes1$inboundSchema: z.ZodType<Routes1, z.ZodTypeDef, unknown> =
6920
7742
  z.lazy(() => Missing2$inboundSchema),
6921
7743
  ]),
6922
7744
  ).optional(),
7745
+ mitigate: z.lazy(() => RoutesMitigate$inboundSchema).optional(),
6923
7746
  locale: z.lazy(() => Locale$inboundSchema).optional(),
6924
7747
  middlewarePath: z.string().optional(),
6925
7748
  middlewareRawSrc: z.array(z.string()).optional(),
@@ -6940,6 +7763,7 @@ export type Routes1$Outbound = {
6940
7763
  status?: number | undefined;
6941
7764
  has?: Array<Has1$Outbound | Has2$Outbound> | undefined;
6942
7765
  missing?: Array<Missing1$Outbound | Missing2$Outbound> | undefined;
7766
+ mitigate?: RoutesMitigate$Outbound | undefined;
6943
7767
  locale?: Locale$Outbound | undefined;
6944
7768
  middlewarePath?: string | undefined;
6945
7769
  middlewareRawSrc?: Array<string> | undefined;
@@ -6974,6 +7798,7 @@ export const Routes1$outboundSchema: z.ZodType<
6974
7798
  z.lazy(() => Missing2$outboundSchema),
6975
7799
  ]),
6976
7800
  ).optional(),
7801
+ mitigate: z.lazy(() => RoutesMitigate$outboundSchema).optional(),
6977
7802
  locale: z.lazy(() => Locale$outboundSchema).optional(),
6978
7803
  middlewarePath: z.string().optional(),
6979
7804
  middlewareRawSrc: z.array(z.string()).optional(),
@@ -7120,6 +7945,7 @@ export function createDeploymentCronsFromJSON(
7120
7945
  export const CreateDeploymentMicrofrontendsApplications$inboundSchema:
7121
7946
  z.ZodType<CreateDeploymentMicrofrontendsApplications, z.ZodTypeDef, unknown> =
7122
7947
  z.object({
7948
+ isDefaultApp: z.boolean().optional(),
7123
7949
  productionHost: z.string(),
7124
7950
  deploymentAlias: z.string().optional(),
7125
7951
  deploymentHost: z.string().optional(),
@@ -7127,6 +7953,7 @@ export const CreateDeploymentMicrofrontendsApplications$inboundSchema:
7127
7953
 
7128
7954
  /** @internal */
7129
7955
  export type CreateDeploymentMicrofrontendsApplications$Outbound = {
7956
+ isDefaultApp?: boolean | undefined;
7130
7957
  productionHost: string;
7131
7958
  deploymentAlias?: string | undefined;
7132
7959
  deploymentHost?: string | undefined;
@@ -7139,6 +7966,7 @@ export const CreateDeploymentMicrofrontendsApplications$outboundSchema:
7139
7966
  z.ZodTypeDef,
7140
7967
  CreateDeploymentMicrofrontendsApplications
7141
7968
  > = z.object({
7969
+ isDefaultApp: z.boolean().optional(),
7142
7970
  productionHost: z.string(),
7143
7971
  deploymentAlias: z.string().optional(),
7144
7972
  deploymentHost: z.string().optional(),