@vercel/sdk 1.17.7 → 1.18.0

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 (243) hide show
  1. package/bin/mcp-server.js +1735 -4032
  2. package/bin/mcp-server.js.map +47 -47
  3. package/esm/__tests__/checks.test.js +1 -1
  4. package/esm/__tests__/checks.test.js.map +1 -1
  5. package/esm/__tests__/domains.test.js +3 -4
  6. package/esm/__tests__/domains.test.js.map +1 -1
  7. package/esm/__tests__/edgeconfig.test.js +6 -6
  8. package/esm/__tests__/edgeconfig.test.js.map +1 -1
  9. package/esm/__tests__/rollingrelease.test.js +2 -1
  10. package/esm/__tests__/rollingrelease.test.js.map +1 -1
  11. package/esm/__tests__/security.test.js +1 -11
  12. package/esm/__tests__/security.test.js.map +1 -1
  13. package/esm/lib/config.d.ts +3 -3
  14. package/esm/lib/config.js +3 -3
  15. package/esm/lib/encodings.d.ts +1 -0
  16. package/esm/lib/encodings.d.ts.map +1 -1
  17. package/esm/lib/encodings.js +12 -1
  18. package/esm/lib/encodings.js.map +1 -1
  19. package/esm/mcp-server/mcp-server.js +1 -1
  20. package/esm/mcp-server/server.js +1 -1
  21. package/esm/models/authtoken.d.ts +8 -24
  22. package/esm/models/authtoken.d.ts.map +1 -1
  23. package/esm/models/authtoken.js +8 -23
  24. package/esm/models/authtoken.js.map +1 -1
  25. package/esm/models/buydomainsop.d.ts +6 -2
  26. package/esm/models/buydomainsop.d.ts.map +1 -1
  27. package/esm/models/buydomainsop.js +8 -2
  28. package/esm/models/buydomainsop.js.map +1 -1
  29. package/esm/models/buysingledomainop.d.ts +6 -2
  30. package/esm/models/buysingledomainop.d.ts.map +1 -1
  31. package/esm/models/buysingledomainop.js +8 -2
  32. package/esm/models/buysingledomainop.js.map +1 -1
  33. package/esm/models/canceldeploymentop.d.ts +70 -62
  34. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  35. package/esm/models/canceldeploymentop.js +38 -58
  36. package/esm/models/canceldeploymentop.js.map +1 -1
  37. package/esm/models/createdeploymentop.d.ts +70 -62
  38. package/esm/models/createdeploymentop.d.ts.map +1 -1
  39. package/esm/models/createdeploymentop.js +38 -59
  40. package/esm/models/createdeploymentop.js.map +1 -1
  41. package/esm/models/createdrainop.d.ts +72 -248
  42. package/esm/models/createdrainop.d.ts.map +1 -1
  43. package/esm/models/createdrainop.js +72 -229
  44. package/esm/models/createdrainop.js.map +1 -1
  45. package/esm/models/createedgeconfigop.d.ts +4 -21
  46. package/esm/models/createedgeconfigop.d.ts.map +1 -1
  47. package/esm/models/createedgeconfigop.js +4 -19
  48. package/esm/models/createedgeconfigop.js.map +1 -1
  49. package/esm/models/createeventop.d.ts +8 -25
  50. package/esm/models/createeventop.d.ts.map +1 -1
  51. package/esm/models/createeventop.js +8 -23
  52. package/esm/models/createeventop.js.map +1 -1
  53. package/esm/models/createlogdrainop.d.ts +8 -24
  54. package/esm/models/createlogdrainop.d.ts.map +1 -1
  55. package/esm/models/createlogdrainop.js +8 -22
  56. package/esm/models/createlogdrainop.js.map +1 -1
  57. package/esm/models/createprojectenvop.d.ts +68 -308
  58. package/esm/models/createprojectenvop.d.ts.map +1 -1
  59. package/esm/models/createprojectenvop.js +68 -281
  60. package/esm/models/createprojectenvop.js.map +1 -1
  61. package/esm/models/createprojectop.d.ts +76 -332
  62. package/esm/models/createprojectop.d.ts.map +1 -1
  63. package/esm/models/createprojectop.js +84 -316
  64. package/esm/models/createprojectop.js.map +1 -1
  65. package/esm/models/editprojectenvop.d.ts +34 -154
  66. package/esm/models/editprojectenvop.d.ts.map +1 -1
  67. package/esm/models/editprojectenvop.js +34 -141
  68. package/esm/models/editprojectenvop.js.map +1 -1
  69. package/esm/models/filterprojectenvsop.d.ts +102 -462
  70. package/esm/models/filterprojectenvsop.d.ts.map +1 -1
  71. package/esm/models/filterprojectenvsop.js +102 -419
  72. package/esm/models/filterprojectenvsop.js.map +1 -1
  73. package/esm/models/forbidden.d.ts +3 -12
  74. package/esm/models/forbidden.d.ts.map +1 -1
  75. package/esm/models/forbidden.js +2 -9
  76. package/esm/models/forbidden.js.map +1 -1
  77. package/esm/models/getaliasop.d.ts +12 -44
  78. package/esm/models/getaliasop.d.ts.map +1 -1
  79. package/esm/models/getaliasop.js +16 -46
  80. package/esm/models/getaliasop.js.map +1 -1
  81. package/esm/models/getalllogdrainsop.d.ts +72 -248
  82. package/esm/models/getalllogdrainsop.d.ts.map +1 -1
  83. package/esm/models/getalllogdrainsop.js +72 -236
  84. package/esm/models/getalllogdrainsop.js.map +1 -1
  85. package/esm/models/getconfigurationop.d.ts +4 -20
  86. package/esm/models/getconfigurationop.d.ts.map +1 -1
  87. package/esm/models/getconfigurationop.js +4 -18
  88. package/esm/models/getconfigurationop.js.map +1 -1
  89. package/esm/models/getdeploymentop.d.ts +70 -62
  90. package/esm/models/getdeploymentop.d.ts.map +1 -1
  91. package/esm/models/getdeploymentop.js +38 -58
  92. package/esm/models/getdeploymentop.js.map +1 -1
  93. package/esm/models/getdomainauthcodeop.d.ts +6 -2
  94. package/esm/models/getdomainauthcodeop.d.ts.map +1 -1
  95. package/esm/models/getdomainauthcodeop.js +8 -2
  96. package/esm/models/getdomainauthcodeop.js.map +1 -1
  97. package/esm/models/getdomaintransferinop.d.ts +6 -2
  98. package/esm/models/getdomaintransferinop.d.ts.map +1 -1
  99. package/esm/models/getdomaintransferinop.js +8 -2
  100. package/esm/models/getdomaintransferinop.js.map +1 -1
  101. package/esm/models/getdrainop.d.ts +72 -248
  102. package/esm/models/getdrainop.d.ts.map +1 -1
  103. package/esm/models/getdrainop.js +72 -227
  104. package/esm/models/getdrainop.js.map +1 -1
  105. package/esm/models/getdrainsop.d.ts +72 -248
  106. package/esm/models/getdrainsop.d.ts.map +1 -1
  107. package/esm/models/getdrainsop.js +72 -227
  108. package/esm/models/getdrainsop.js.map +1 -1
  109. package/esm/models/getedgeconfigop.d.ts +4 -21
  110. package/esm/models/getedgeconfigop.d.ts.map +1 -1
  111. package/esm/models/getedgeconfigop.js +4 -18
  112. package/esm/models/getedgeconfigop.js.map +1 -1
  113. package/esm/models/getintegrationlogdrainsop.d.ts +8 -24
  114. package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
  115. package/esm/models/getintegrationlogdrainsop.js +8 -23
  116. package/esm/models/getintegrationlogdrainsop.js.map +1 -1
  117. package/esm/models/getorderop.d.ts +48 -172
  118. package/esm/models/getorderop.d.ts.map +1 -1
  119. package/esm/models/getorderop.js +50 -159
  120. package/esm/models/getorderop.js.map +1 -1
  121. package/esm/models/getprojectenvop.d.ts +102 -462
  122. package/esm/models/getprojectenvop.d.ts.map +1 -1
  123. package/esm/models/getprojectenvop.js +102 -419
  124. package/esm/models/getprojectenvop.js.map +1 -1
  125. package/esm/models/getprojectsop.d.ts +76 -332
  126. package/esm/models/getprojectsop.d.ts.map +1 -1
  127. package/esm/models/getprojectsop.js +84 -313
  128. package/esm/models/getprojectsop.js.map +1 -1
  129. package/esm/models/getrollingreleasebillingstatusop.d.ts +10 -42
  130. package/esm/models/getrollingreleasebillingstatusop.d.ts.map +1 -1
  131. package/esm/models/getrollingreleasebillingstatusop.js +10 -39
  132. package/esm/models/getrollingreleasebillingstatusop.js.map +1 -1
  133. package/esm/models/listaliasesop.d.ts +12 -44
  134. package/esm/models/listaliasesop.d.ts.map +1 -1
  135. package/esm/models/listaliasesop.js +16 -47
  136. package/esm/models/listaliasesop.js.map +1 -1
  137. package/esm/models/listdeploymentaliasesop.d.ts +12 -44
  138. package/esm/models/listdeploymentaliasesop.d.ts.map +1 -1
  139. package/esm/models/listdeploymentaliasesop.js +16 -46
  140. package/esm/models/listdeploymentaliasesop.js.map +1 -1
  141. package/esm/models/removeprojectenvop.d.ts +102 -462
  142. package/esm/models/removeprojectenvop.d.ts.map +1 -1
  143. package/esm/models/removeprojectenvop.js +102 -420
  144. package/esm/models/removeprojectenvop.js.map +1 -1
  145. package/esm/models/renewdomainop.d.ts +6 -2
  146. package/esm/models/renewdomainop.d.ts.map +1 -1
  147. package/esm/models/renewdomainop.js +8 -2
  148. package/esm/models/renewdomainop.js.map +1 -1
  149. package/esm/models/transferindomainop.d.ts +6 -2
  150. package/esm/models/transferindomainop.d.ts.map +1 -1
  151. package/esm/models/transferindomainop.js +8 -2
  152. package/esm/models/transferindomainop.js.map +1 -1
  153. package/esm/models/updatedomainautorenewop.d.ts +6 -2
  154. package/esm/models/updatedomainautorenewop.d.ts.map +1 -1
  155. package/esm/models/updatedomainautorenewop.js +8 -2
  156. package/esm/models/updatedomainautorenewop.js.map +1 -1
  157. package/esm/models/updatedomainnameserversop.d.ts +6 -2
  158. package/esm/models/updatedomainnameserversop.d.ts.map +1 -1
  159. package/esm/models/updatedomainnameserversop.js +8 -2
  160. package/esm/models/updatedomainnameserversop.js.map +1 -1
  161. package/esm/models/updatedrainop.d.ts +72 -248
  162. package/esm/models/updatedrainop.d.ts.map +1 -1
  163. package/esm/models/updatedrainop.js +72 -229
  164. package/esm/models/updatedrainop.js.map +1 -1
  165. package/esm/models/updateedgeconfigop.d.ts +4 -21
  166. package/esm/models/updateedgeconfigop.d.ts.map +1 -1
  167. package/esm/models/updateedgeconfigop.js +4 -18
  168. package/esm/models/updateedgeconfigop.js.map +1 -1
  169. package/esm/models/updateprojectdatacacheop.d.ts +76 -332
  170. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  171. package/esm/models/updateprojectdatacacheop.js +84 -318
  172. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  173. package/esm/models/updateprojectop.d.ts +76 -332
  174. package/esm/models/updateprojectop.d.ts.map +1 -1
  175. package/esm/models/updateprojectop.js +84 -316
  176. package/esm/models/updateprojectop.js.map +1 -1
  177. package/esm/models/updateprojectprotectionbypassop.d.ts +4 -21
  178. package/esm/models/updateprojectprotectionbypassop.d.ts.map +1 -1
  179. package/esm/models/updateprojectprotectionbypassop.js +4 -19
  180. package/esm/models/updateprojectprotectionbypassop.js.map +1 -1
  181. package/esm/models/userevent.d.ts +54 -14
  182. package/esm/models/userevent.d.ts.map +1 -1
  183. package/esm/models/userevent.js +26 -13
  184. package/esm/models/userevent.js.map +1 -1
  185. package/esm/types/unrecognized.d.ts +7 -1
  186. package/esm/types/unrecognized.d.ts.map +1 -1
  187. package/esm/types/unrecognized.js +9 -1
  188. package/esm/types/unrecognized.js.map +1 -1
  189. package/examples/package-lock.json +1 -1
  190. package/jsr.json +1 -1
  191. package/package.json +1 -1
  192. package/src/__tests__/checks.test.ts +1 -1
  193. package/src/__tests__/domains.test.ts +3 -4
  194. package/src/__tests__/edgeconfig.test.ts +6 -6
  195. package/src/__tests__/rollingrelease.test.ts +2 -1
  196. package/src/__tests__/security.test.ts +1 -11
  197. package/src/lib/config.ts +3 -3
  198. package/src/lib/encodings.ts +17 -3
  199. package/src/mcp-server/mcp-server.ts +1 -1
  200. package/src/mcp-server/server.ts +1 -1
  201. package/src/models/authtoken.ts +16 -42
  202. package/src/models/buydomainsop.ts +14 -4
  203. package/src/models/buysingledomainop.ts +14 -4
  204. package/src/models/canceldeploymentop.ts +140 -127
  205. package/src/models/createdeploymentop.ts +149 -118
  206. package/src/models/createdrainop.ts +154 -511
  207. package/src/models/createedgeconfigop.ts +8 -37
  208. package/src/models/createeventop.ts +16 -43
  209. package/src/models/createlogdrainop.ts +18 -50
  210. package/src/models/createprojectenvop.ts +136 -875
  211. package/src/models/createprojectop.ts +172 -803
  212. package/src/models/editprojectenvop.ts +68 -417
  213. package/src/models/filterprojectenvsop.ts +210 -1337
  214. package/src/models/forbidden.ts +5 -20
  215. package/src/models/getaliasop.ts +36 -101
  216. package/src/models/getalllogdrainsop.ts +160 -551
  217. package/src/models/getconfigurationop.ts +8 -38
  218. package/src/models/getdeploymentop.ts +144 -124
  219. package/src/models/getdomainauthcodeop.ts +14 -4
  220. package/src/models/getdomaintransferinop.ts +14 -4
  221. package/src/models/getdrainop.ts +156 -531
  222. package/src/models/getdrainsop.ts +155 -535
  223. package/src/models/getedgeconfigop.ts +8 -41
  224. package/src/models/getintegrationlogdrainsop.ts +19 -44
  225. package/src/models/getorderop.ts +99 -408
  226. package/src/models/getprojectenvop.ts +208 -1337
  227. package/src/models/getprojectsop.ts +172 -802
  228. package/src/models/getrollingreleasebillingstatusop.ts +20 -100
  229. package/src/models/listaliasesop.ts +36 -100
  230. package/src/models/listdeploymentaliasesop.ts +36 -111
  231. package/src/models/removeprojectenvop.ts +208 -1335
  232. package/src/models/renewdomainop.ts +14 -4
  233. package/src/models/transferindomainop.ts +14 -4
  234. package/src/models/updatedomainautorenewop.ts +14 -4
  235. package/src/models/updatedomainnameserversop.ts +14 -4
  236. package/src/models/updatedrainop.ts +162 -542
  237. package/src/models/updateedgeconfigop.ts +8 -42
  238. package/src/models/updateprojectdatacacheop.ts +167 -781
  239. package/src/models/updateprojectop.ts +172 -803
  240. package/src/models/updateprojectprotectionbypassop.ts +8 -44
  241. package/src/models/userevent.ts +111 -29
  242. package/src/types/unrecognized.ts +9 -1
  243. package/tsconfig.json +0 -1
@@ -139,51 +139,6 @@ export const CreateProjectProjectsResponseType = {
139
139
  Sensitive: "sensitive",
140
140
  Secret: "secret",
141
141
  };
142
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type = {
143
- FlagsConnectionString: "flags-connection-string",
144
- };
145
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type = {
146
- IntegrationStoreSecret: "integration-store-secret",
147
- };
148
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type = {
149
- PostgresUrlNoSsl: "postgres-url-no-ssl",
150
- };
151
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type = {
152
- PostgresDatabase: "postgres-database",
153
- };
154
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type = {
155
- PostgresPassword: "postgres-password",
156
- };
157
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type = {
158
- PostgresHost: "postgres-host",
159
- };
160
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type = {
161
- PostgresUser: "postgres-user",
162
- };
163
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type = {
164
- PostgresPrismaUrl: "postgres-prisma-url",
165
- };
166
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType = {
167
- PostgresUrlNonPooling: "postgres-url-non-pooling",
168
- };
169
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType = {
170
- PostgresUrl: "postgres-url",
171
- };
172
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONType = {
173
- BlobReadWriteToken: "blob-read-write-token",
174
- };
175
- export const CreateProjectContentHintProjectsResponse200Type = {
176
- RedisRestApiReadOnlyToken: "redis-rest-api-read-only-token",
177
- };
178
- export const CreateProjectContentHintProjectsResponseType = {
179
- RedisRestApiToken: "redis-rest-api-token",
180
- };
181
- export const CreateProjectContentHintProjectsType = {
182
- RedisRestApiUrl: "redis-rest-api-url",
183
- };
184
- export const CreateProjectContentHintType = {
185
- RedisUrl: "redis-url",
186
- };
187
142
  export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType = {
188
143
  FlagsSecret: "flags-secret",
189
144
  };
@@ -302,21 +257,6 @@ export const CreateProjectReadySubstate = {
302
257
  export const CreateProjectProjectsResponse200ApplicationJSONType = {
303
258
  Lambdas: "LAMBDAS",
304
259
  };
305
- export const CreateProjectLinkProjectsResponse200ApplicationJSONType = {
306
- Bitbucket: "bitbucket",
307
- };
308
- export const CreateProjectLinkProjectsResponse200Type = {
309
- Gitlab: "gitlab",
310
- };
311
- export const CreateProjectLinkProjectsResponseType = {
312
- GithubCustomHost: "github-custom-host",
313
- };
314
- export const CreateProjectLinkProjectsType = {
315
- GithubLimited: "github-limited",
316
- };
317
- export const CreateProjectLinkType = {
318
- Github: "github",
319
- };
320
260
  export const CreateProjectNodeVersion = {
321
261
  TwentyFourDotX: "24.x",
322
262
  TwentyTwoDotX: "22.x",
@@ -403,12 +343,6 @@ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAlia
403
343
  Promote: "promote",
404
344
  Rollback: "rollback",
405
345
  };
406
- export const CreateProjectProtectionBypassProjectsScope = {
407
- AutomationBypass: "automation-bypass",
408
- };
409
- export const CreateProjectProtectionBypassScope = {
410
- IntegrationAutomationBypass: "integration-automation-bypass",
411
- };
412
346
  export const CreateProjectTrustedIpsProjectsDeploymentType = {
413
347
  Preview: "preview",
414
348
  Production: "production",
@@ -464,48 +398,18 @@ export const CreateProjectTier = {
464
398
  export const CreateProjectProjectsAction = {
465
399
  Blocked: "blocked",
466
400
  };
467
- export const CreateProjectBlockHistoryProjectsResponse200Action = {
468
- RouteUnblocked: "route-unblocked",
469
- };
470
- export const CreateProjectHasProjectsResponse200Type = {
471
- Host: "host",
472
- };
473
- export const CreateProjectHasProjectsResponseType = {
474
- Header: "header",
475
- };
476
401
  export const CreateProjectHasProjectsKey = {
477
402
  XVercelIpCountry: "x-vercel-ip-country",
478
403
  };
479
404
  export const CreateProjectRouteProjectsAction = {
480
405
  BlockLegalCwc: "block_legal_cwc",
481
406
  };
482
- export const CreateProjectBlockHistoryProjectsResponseAction = {
483
- RouteBlocked: "route-blocked",
484
- };
485
- export const CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType = {
486
- Host: "host",
487
- };
488
- export const CreateProjectHasProjectsResponse200ApplicationJSONType = {
489
- Header: "header",
490
- };
491
407
  export const CreateProjectHasKey = {
492
408
  XVercelIpCountry: "x-vercel-ip-country",
493
409
  };
494
410
  export const CreateProjectRouteAction = {
495
411
  BlockLegalCwc: "block_legal_cwc",
496
412
  };
497
- export const CreateProjectBlockHistoryProjectsAction = {
498
- Unblocked: "unblocked",
499
- };
500
- export const CreateProjectBlockHistoryAction = {
501
- Blocked: "blocked",
502
- };
503
- export const CreateProjectHasProjectsType = {
504
- Host: "host",
505
- };
506
- export const CreateProjectHasType = {
507
- Header: "header",
508
- };
509
413
  export const HasKey = {
510
414
  XVercelIpCountry: "x-vercel-ip-country",
511
415
  };
@@ -962,17 +866,13 @@ export const CreateProjectProjectsResponseType$inboundSchema = z.nativeEnum(Crea
962
866
  /** @internal */
963
867
  export const CreateProjectProjectsResponseType$outboundSchema = CreateProjectProjectsResponseType$inboundSchema;
964
868
  /** @internal */
965
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema = z.nativeEnum(CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type);
966
- /** @internal */
967
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema = CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema;
968
- /** @internal */
969
869
  export const CreateProjectContentHint15$inboundSchema = z.object({
970
- type: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema,
870
+ type: z.literal("flags-connection-string"),
971
871
  projectId: z.string(),
972
872
  });
973
873
  /** @internal */
974
874
  export const CreateProjectContentHint15$outboundSchema = z.object({
975
- type: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema,
875
+ type: z.literal("flags-connection-string"),
976
876
  projectId: z.string(),
977
877
  });
978
878
  export function createProjectContentHint15ToJSON(createProjectContentHint15) {
@@ -982,12 +882,8 @@ export function createProjectContentHint15FromJSON(jsonString) {
982
882
  return safeParse(jsonString, (x) => CreateProjectContentHint15$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectContentHint15' from JSON`);
983
883
  }
984
884
  /** @internal */
985
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema = z.nativeEnum(CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type);
986
- /** @internal */
987
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema = CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema;
988
- /** @internal */
989
885
  export const CreateProjectContentHint14$inboundSchema = z.object({
990
- type: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$inboundSchema,
886
+ type: z.literal("integration-store-secret"),
991
887
  storeId: z.string(),
992
888
  integrationId: z.string(),
993
889
  integrationProductId: z.string(),
@@ -995,7 +891,7 @@ export const CreateProjectContentHint14$inboundSchema = z.object({
995
891
  });
996
892
  /** @internal */
997
893
  export const CreateProjectContentHint14$outboundSchema = z.object({
998
- type: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema,
894
+ type: z.literal("integration-store-secret"),
999
895
  storeId: z.string(),
1000
896
  integrationId: z.string(),
1001
897
  integrationProductId: z.string(),
@@ -1008,17 +904,13 @@ export function createProjectContentHint14FromJSON(jsonString) {
1008
904
  return safeParse(jsonString, (x) => CreateProjectContentHint14$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectContentHint14' from JSON`);
1009
905
  }
1010
906
  /** @internal */
1011
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema = z.nativeEnum(CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type);
1012
- /** @internal */
1013
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema = CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema;
1014
- /** @internal */
1015
907
  export const CreateProjectContentHint13$inboundSchema = z.object({
1016
- type: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema,
908
+ type: z.literal("postgres-url-no-ssl"),
1017
909
  storeId: z.string(),
1018
910
  });
1019
911
  /** @internal */
1020
912
  export const CreateProjectContentHint13$outboundSchema = z.object({
1021
- type: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema,
913
+ type: z.literal("postgres-url-no-ssl"),
1022
914
  storeId: z.string(),
1023
915
  });
1024
916
  export function createProjectContentHint13ToJSON(createProjectContentHint13) {
@@ -1028,17 +920,13 @@ export function createProjectContentHint13FromJSON(jsonString) {
1028
920
  return safeParse(jsonString, (x) => CreateProjectContentHint13$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectContentHint13' from JSON`);
1029
921
  }
1030
922
  /** @internal */
1031
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema = z.nativeEnum(CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type);
1032
- /** @internal */
1033
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema = CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema;
1034
- /** @internal */
1035
923
  export const CreateProjectContentHint12$inboundSchema = z.object({
1036
- type: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema,
924
+ type: z.literal("postgres-database"),
1037
925
  storeId: z.string(),
1038
926
  });
1039
927
  /** @internal */
1040
928
  export const CreateProjectContentHint12$outboundSchema = z.object({
1041
- type: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema,
929
+ type: z.literal("postgres-database"),
1042
930
  storeId: z.string(),
1043
931
  });
1044
932
  export function createProjectContentHint12ToJSON(createProjectContentHint12) {
@@ -1048,17 +936,13 @@ export function createProjectContentHint12FromJSON(jsonString) {
1048
936
  return safeParse(jsonString, (x) => CreateProjectContentHint12$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectContentHint12' from JSON`);
1049
937
  }
1050
938
  /** @internal */
1051
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema = z.nativeEnum(CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type);
1052
- /** @internal */
1053
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema = CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema;
1054
- /** @internal */
1055
939
  export const CreateProjectContentHint11$inboundSchema = z.object({
1056
- type: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema,
940
+ type: z.literal("postgres-password"),
1057
941
  storeId: z.string(),
1058
942
  });
1059
943
  /** @internal */
1060
944
  export const CreateProjectContentHint11$outboundSchema = z.object({
1061
- type: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema,
945
+ type: z.literal("postgres-password"),
1062
946
  storeId: z.string(),
1063
947
  });
1064
948
  export function createProjectContentHint11ToJSON(createProjectContentHint11) {
@@ -1068,17 +952,13 @@ export function createProjectContentHint11FromJSON(jsonString) {
1068
952
  return safeParse(jsonString, (x) => CreateProjectContentHint11$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectContentHint11' from JSON`);
1069
953
  }
1070
954
  /** @internal */
1071
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema = z.nativeEnum(CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type);
1072
- /** @internal */
1073
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema = CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema;
1074
- /** @internal */
1075
955
  export const CreateProjectContentHint10$inboundSchema = z.object({
1076
- type: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema,
956
+ type: z.literal("postgres-host"),
1077
957
  storeId: z.string(),
1078
958
  });
1079
959
  /** @internal */
1080
960
  export const CreateProjectContentHint10$outboundSchema = z.object({
1081
- type: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema,
961
+ type: z.literal("postgres-host"),
1082
962
  storeId: z.string(),
1083
963
  });
1084
964
  export function createProjectContentHint10ToJSON(createProjectContentHint10) {
@@ -1088,17 +968,13 @@ export function createProjectContentHint10FromJSON(jsonString) {
1088
968
  return safeParse(jsonString, (x) => CreateProjectContentHint10$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectContentHint10' from JSON`);
1089
969
  }
1090
970
  /** @internal */
1091
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema = z.nativeEnum(CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type);
1092
- /** @internal */
1093
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema = CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema;
1094
- /** @internal */
1095
971
  export const CreateProjectContentHint9$inboundSchema = z.object({
1096
- type: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema,
972
+ type: z.literal("postgres-user"),
1097
973
  storeId: z.string(),
1098
974
  });
1099
975
  /** @internal */
1100
976
  export const CreateProjectContentHint9$outboundSchema = z.object({
1101
- type: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema,
977
+ type: z.literal("postgres-user"),
1102
978
  storeId: z.string(),
1103
979
  });
1104
980
  export function createProjectContentHint9ToJSON(createProjectContentHint9) {
@@ -1108,17 +984,13 @@ export function createProjectContentHint9FromJSON(jsonString) {
1108
984
  return safeParse(jsonString, (x) => CreateProjectContentHint9$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectContentHint9' from JSON`);
1109
985
  }
1110
986
  /** @internal */
1111
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema = z.nativeEnum(CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type);
1112
- /** @internal */
1113
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$outboundSchema = CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema;
1114
- /** @internal */
1115
987
  export const CreateProjectContentHint8$inboundSchema = z.object({
1116
- type: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema,
988
+ type: z.literal("postgres-prisma-url"),
1117
989
  storeId: z.string(),
1118
990
  });
1119
991
  /** @internal */
1120
992
  export const CreateProjectContentHint8$outboundSchema = z.object({
1121
- type: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$outboundSchema,
993
+ type: z.literal("postgres-prisma-url"),
1122
994
  storeId: z.string(),
1123
995
  });
1124
996
  export function createProjectContentHint8ToJSON(createProjectContentHint8) {
@@ -1128,17 +1000,13 @@ export function createProjectContentHint8FromJSON(jsonString) {
1128
1000
  return safeParse(jsonString, (x) => CreateProjectContentHint8$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectContentHint8' from JSON`);
1129
1001
  }
1130
1002
  /** @internal */
1131
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema = z.nativeEnum(CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType);
1132
- /** @internal */
1133
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema = CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema;
1134
- /** @internal */
1135
1003
  export const CreateProjectContentHint7$inboundSchema = z.object({
1136
- type: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema,
1004
+ type: z.literal("postgres-url-non-pooling"),
1137
1005
  storeId: z.string(),
1138
1006
  });
1139
1007
  /** @internal */
1140
1008
  export const CreateProjectContentHint7$outboundSchema = z.object({
1141
- type: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema,
1009
+ type: z.literal("postgres-url-non-pooling"),
1142
1010
  storeId: z.string(),
1143
1011
  });
1144
1012
  export function createProjectContentHint7ToJSON(createProjectContentHint7) {
@@ -1148,17 +1016,13 @@ export function createProjectContentHint7FromJSON(jsonString) {
1148
1016
  return safeParse(jsonString, (x) => CreateProjectContentHint7$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectContentHint7' from JSON`);
1149
1017
  }
1150
1018
  /** @internal */
1151
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema = z.nativeEnum(CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType);
1152
- /** @internal */
1153
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema = CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
1154
- /** @internal */
1155
1019
  export const CreateProjectContentHint6$inboundSchema = z.object({
1156
- type: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema,
1020
+ type: z.literal("postgres-url"),
1157
1021
  storeId: z.string(),
1158
1022
  });
1159
1023
  /** @internal */
1160
1024
  export const CreateProjectContentHint6$outboundSchema = z.object({
1161
- type: CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema,
1025
+ type: z.literal("postgres-url"),
1162
1026
  storeId: z.string(),
1163
1027
  });
1164
1028
  export function createProjectContentHint6ToJSON(createProjectContentHint6) {
@@ -1168,17 +1032,13 @@ export function createProjectContentHint6FromJSON(jsonString) {
1168
1032
  return safeParse(jsonString, (x) => CreateProjectContentHint6$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectContentHint6' from JSON`);
1169
1033
  }
1170
1034
  /** @internal */
1171
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema = z.nativeEnum(CreateProjectContentHintProjectsResponse200ApplicationJSONType);
1172
- /** @internal */
1173
- export const CreateProjectContentHintProjectsResponse200ApplicationJSONType$outboundSchema = CreateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema;
1174
- /** @internal */
1175
1035
  export const CreateProjectContentHint5$inboundSchema = z.object({
1176
- type: CreateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema,
1036
+ type: z.literal("blob-read-write-token"),
1177
1037
  storeId: z.string(),
1178
1038
  });
1179
1039
  /** @internal */
1180
1040
  export const CreateProjectContentHint5$outboundSchema = z.object({
1181
- type: CreateProjectContentHintProjectsResponse200ApplicationJSONType$outboundSchema,
1041
+ type: z.literal("blob-read-write-token"),
1182
1042
  storeId: z.string(),
1183
1043
  });
1184
1044
  export function createProjectContentHint5ToJSON(createProjectContentHint5) {
@@ -1188,18 +1048,13 @@ export function createProjectContentHint5FromJSON(jsonString) {
1188
1048
  return safeParse(jsonString, (x) => CreateProjectContentHint5$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectContentHint5' from JSON`);
1189
1049
  }
1190
1050
  /** @internal */
1191
- export const CreateProjectContentHintProjectsResponse200Type$inboundSchema = z
1192
- .nativeEnum(CreateProjectContentHintProjectsResponse200Type);
1193
- /** @internal */
1194
- export const CreateProjectContentHintProjectsResponse200Type$outboundSchema = CreateProjectContentHintProjectsResponse200Type$inboundSchema;
1195
- /** @internal */
1196
1051
  export const CreateProjectContentHint4$inboundSchema = z.object({
1197
- type: CreateProjectContentHintProjectsResponse200Type$inboundSchema,
1052
+ type: z.literal("redis-rest-api-read-only-token"),
1198
1053
  storeId: z.string(),
1199
1054
  });
1200
1055
  /** @internal */
1201
1056
  export const CreateProjectContentHint4$outboundSchema = z.object({
1202
- type: CreateProjectContentHintProjectsResponse200Type$outboundSchema,
1057
+ type: z.literal("redis-rest-api-read-only-token"),
1203
1058
  storeId: z.string(),
1204
1059
  });
1205
1060
  export function createProjectContentHint4ToJSON(createProjectContentHint4) {
@@ -1209,18 +1064,13 @@ export function createProjectContentHint4FromJSON(jsonString) {
1209
1064
  return safeParse(jsonString, (x) => CreateProjectContentHint4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectContentHint4' from JSON`);
1210
1065
  }
1211
1066
  /** @internal */
1212
- export const CreateProjectContentHintProjectsResponseType$inboundSchema = z
1213
- .nativeEnum(CreateProjectContentHintProjectsResponseType);
1214
- /** @internal */
1215
- export const CreateProjectContentHintProjectsResponseType$outboundSchema = CreateProjectContentHintProjectsResponseType$inboundSchema;
1216
- /** @internal */
1217
1067
  export const CreateProjectContentHint3$inboundSchema = z.object({
1218
- type: CreateProjectContentHintProjectsResponseType$inboundSchema,
1068
+ type: z.literal("redis-rest-api-token"),
1219
1069
  storeId: z.string(),
1220
1070
  });
1221
1071
  /** @internal */
1222
1072
  export const CreateProjectContentHint3$outboundSchema = z.object({
1223
- type: CreateProjectContentHintProjectsResponseType$outboundSchema,
1073
+ type: z.literal("redis-rest-api-token"),
1224
1074
  storeId: z.string(),
1225
1075
  });
1226
1076
  export function createProjectContentHint3ToJSON(createProjectContentHint3) {
@@ -1230,17 +1080,13 @@ export function createProjectContentHint3FromJSON(jsonString) {
1230
1080
  return safeParse(jsonString, (x) => CreateProjectContentHint3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectContentHint3' from JSON`);
1231
1081
  }
1232
1082
  /** @internal */
1233
- export const CreateProjectContentHintProjectsType$inboundSchema = z.nativeEnum(CreateProjectContentHintProjectsType);
1234
- /** @internal */
1235
- export const CreateProjectContentHintProjectsType$outboundSchema = CreateProjectContentHintProjectsType$inboundSchema;
1236
- /** @internal */
1237
1083
  export const CreateProjectContentHint2$inboundSchema = z.object({
1238
- type: CreateProjectContentHintProjectsType$inboundSchema,
1084
+ type: z.literal("redis-rest-api-url"),
1239
1085
  storeId: z.string(),
1240
1086
  });
1241
1087
  /** @internal */
1242
1088
  export const CreateProjectContentHint2$outboundSchema = z.object({
1243
- type: CreateProjectContentHintProjectsType$outboundSchema,
1089
+ type: z.literal("redis-rest-api-url"),
1244
1090
  storeId: z.string(),
1245
1091
  });
1246
1092
  export function createProjectContentHint2ToJSON(createProjectContentHint2) {
@@ -1250,17 +1096,13 @@ export function createProjectContentHint2FromJSON(jsonString) {
1250
1096
  return safeParse(jsonString, (x) => CreateProjectContentHint2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectContentHint2' from JSON`);
1251
1097
  }
1252
1098
  /** @internal */
1253
- export const CreateProjectContentHintType$inboundSchema = z.nativeEnum(CreateProjectContentHintType);
1254
- /** @internal */
1255
- export const CreateProjectContentHintType$outboundSchema = CreateProjectContentHintType$inboundSchema;
1256
- /** @internal */
1257
1099
  export const CreateProjectContentHint1$inboundSchema = z.object({
1258
- type: CreateProjectContentHintType$inboundSchema,
1100
+ type: z.literal("redis-url"),
1259
1101
  storeId: z.string(),
1260
1102
  });
1261
1103
  /** @internal */
1262
1104
  export const CreateProjectContentHint1$outboundSchema = z.object({
1263
- type: CreateProjectContentHintType$outboundSchema,
1105
+ type: z.literal("redis-url"),
1264
1106
  storeId: z.string(),
1265
1107
  });
1266
1108
  export function createProjectContentHint1ToJSON(createProjectContentHint1) {
@@ -1271,7 +1113,6 @@ export function createProjectContentHint1FromJSON(jsonString) {
1271
1113
  }
1272
1114
  /** @internal */
1273
1115
  export const CreateProjectContentHint$inboundSchema = z.union([
1274
- z.lazy(() => CreateProjectContentHint14$inboundSchema),
1275
1116
  z.lazy(() => CreateProjectContentHint1$inboundSchema),
1276
1117
  z.lazy(() => CreateProjectContentHint2$inboundSchema),
1277
1118
  z.lazy(() => CreateProjectContentHint3$inboundSchema),
@@ -1285,11 +1126,11 @@ export const CreateProjectContentHint$inboundSchema = z.union([
1285
1126
  z.lazy(() => CreateProjectContentHint11$inboundSchema),
1286
1127
  z.lazy(() => CreateProjectContentHint12$inboundSchema),
1287
1128
  z.lazy(() => CreateProjectContentHint13$inboundSchema),
1129
+ z.lazy(() => CreateProjectContentHint14$inboundSchema),
1288
1130
  z.lazy(() => CreateProjectContentHint15$inboundSchema),
1289
1131
  ]);
1290
1132
  /** @internal */
1291
1133
  export const CreateProjectContentHint$outboundSchema = z.union([
1292
- z.lazy(() => CreateProjectContentHint14$outboundSchema),
1293
1134
  z.lazy(() => CreateProjectContentHint1$outboundSchema),
1294
1135
  z.lazy(() => CreateProjectContentHint2$outboundSchema),
1295
1136
  z.lazy(() => CreateProjectContentHint3$outboundSchema),
@@ -1303,6 +1144,7 @@ export const CreateProjectContentHint$outboundSchema = z.union([
1303
1144
  z.lazy(() => CreateProjectContentHint11$outboundSchema),
1304
1145
  z.lazy(() => CreateProjectContentHint12$outboundSchema),
1305
1146
  z.lazy(() => CreateProjectContentHint13$outboundSchema),
1147
+ z.lazy(() => CreateProjectContentHint14$outboundSchema),
1306
1148
  z.lazy(() => CreateProjectContentHint15$outboundSchema),
1307
1149
  ]);
1308
1150
  export function createProjectContentHintToJSON(createProjectContentHint) {
@@ -1353,7 +1195,6 @@ export const CreateProjectEnv$inboundSchema = z.object({
1353
1195
  edgeConfigId: z.nullable(z.string()).optional(),
1354
1196
  edgeConfigTokenId: z.nullable(z.string()).optional(),
1355
1197
  contentHint: z.nullable(z.union([
1356
- z.lazy(() => CreateProjectContentHint14$inboundSchema),
1357
1198
  z.lazy(() => CreateProjectContentHint1$inboundSchema),
1358
1199
  z.lazy(() => CreateProjectContentHint2$inboundSchema),
1359
1200
  z.lazy(() => CreateProjectContentHint3$inboundSchema),
@@ -1367,6 +1208,7 @@ export const CreateProjectEnv$inboundSchema = z.object({
1367
1208
  z.lazy(() => CreateProjectContentHint11$inboundSchema),
1368
1209
  z.lazy(() => CreateProjectContentHint12$inboundSchema),
1369
1210
  z.lazy(() => CreateProjectContentHint13$inboundSchema),
1211
+ z.lazy(() => CreateProjectContentHint14$inboundSchema),
1370
1212
  z.lazy(() => CreateProjectContentHint15$inboundSchema),
1371
1213
  ])).optional(),
1372
1214
  internalContentHint: z.nullable(z.lazy(() => CreateProjectInternalContentHint$inboundSchema)).optional(),
@@ -1395,7 +1237,6 @@ export const CreateProjectEnv$outboundSchema = z.object({
1395
1237
  edgeConfigId: z.nullable(z.string()).optional(),
1396
1238
  edgeConfigTokenId: z.nullable(z.string()).optional(),
1397
1239
  contentHint: z.nullable(z.union([
1398
- z.lazy(() => CreateProjectContentHint14$outboundSchema),
1399
1240
  z.lazy(() => CreateProjectContentHint1$outboundSchema),
1400
1241
  z.lazy(() => CreateProjectContentHint2$outboundSchema),
1401
1242
  z.lazy(() => CreateProjectContentHint3$outboundSchema),
@@ -1409,6 +1250,7 @@ export const CreateProjectEnv$outboundSchema = z.object({
1409
1250
  z.lazy(() => CreateProjectContentHint11$outboundSchema),
1410
1251
  z.lazy(() => CreateProjectContentHint12$outboundSchema),
1411
1252
  z.lazy(() => CreateProjectContentHint13$outboundSchema),
1253
+ z.lazy(() => CreateProjectContentHint14$outboundSchema),
1412
1254
  z.lazy(() => CreateProjectContentHint15$outboundSchema),
1413
1255
  ])).optional(),
1414
1256
  internalContentHint: z.nullable(z.lazy(() => CreateProjectInternalContentHint$outboundSchema)).optional(),
@@ -1797,10 +1639,6 @@ export function createProjectLatestDeploymentsFromJSON(jsonString) {
1797
1639
  return safeParse(jsonString, (x) => CreateProjectLatestDeployments$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectLatestDeployments' from JSON`);
1798
1640
  }
1799
1641
  /** @internal */
1800
- export const CreateProjectLinkProjectsResponse200ApplicationJSONType$inboundSchema = z.nativeEnum(CreateProjectLinkProjectsResponse200ApplicationJSONType);
1801
- /** @internal */
1802
- export const CreateProjectLinkProjectsResponse200ApplicationJSONType$outboundSchema = CreateProjectLinkProjectsResponse200ApplicationJSONType$inboundSchema;
1803
- /** @internal */
1804
1642
  export const CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$inboundSchema = z.object({
1805
1643
  createdAt: z.number().optional(),
1806
1644
  id: z.string(),
@@ -1829,7 +1667,7 @@ export const CreateProjectLink5$inboundSchema = z.object({
1829
1667
  name: z.string(),
1830
1668
  slug: z.string(),
1831
1669
  owner: z.string(),
1832
- type: CreateProjectLinkProjectsResponse200ApplicationJSONType$inboundSchema,
1670
+ type: z.literal("bitbucket"),
1833
1671
  uuid: z.string(),
1834
1672
  workspaceUuid: z.string(),
1835
1673
  createdAt: z.number().optional(),
@@ -1844,7 +1682,7 @@ export const CreateProjectLink5$outboundSchema = z.object({
1844
1682
  name: z.string(),
1845
1683
  slug: z.string(),
1846
1684
  owner: z.string(),
1847
- type: CreateProjectLinkProjectsResponse200ApplicationJSONType$outboundSchema,
1685
+ type: z.literal("bitbucket"),
1848
1686
  uuid: z.string(),
1849
1687
  workspaceUuid: z.string(),
1850
1688
  createdAt: z.number().optional(),
@@ -1861,11 +1699,6 @@ export function createProjectLink5FromJSON(jsonString) {
1861
1699
  return safeParse(jsonString, (x) => CreateProjectLink5$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectLink5' from JSON`);
1862
1700
  }
1863
1701
  /** @internal */
1864
- export const CreateProjectLinkProjectsResponse200Type$inboundSchema = z
1865
- .nativeEnum(CreateProjectLinkProjectsResponse200Type);
1866
- /** @internal */
1867
- export const CreateProjectLinkProjectsResponse200Type$outboundSchema = CreateProjectLinkProjectsResponse200Type$inboundSchema;
1868
- /** @internal */
1869
1702
  export const CreateProjectLinkProjectsResponse200DeployHooks$inboundSchema = z.object({
1870
1703
  createdAt: z.number().optional(),
1871
1704
  id: z.string(),
@@ -1895,7 +1728,7 @@ export const CreateProjectLink4$inboundSchema = z.object({
1895
1728
  projectNamespace: z.string(),
1896
1729
  projectOwnerId: z.number().optional(),
1897
1730
  projectUrl: z.string(),
1898
- type: CreateProjectLinkProjectsResponse200Type$inboundSchema,
1731
+ type: z.literal("gitlab"),
1899
1732
  createdAt: z.number().optional(),
1900
1733
  deployHooks: z.array(z.lazy(() => CreateProjectLinkProjectsResponse200DeployHooks$inboundSchema)),
1901
1734
  gitCredentialId: z.string(),
@@ -1911,7 +1744,7 @@ export const CreateProjectLink4$outboundSchema = z.object({
1911
1744
  projectNamespace: z.string(),
1912
1745
  projectOwnerId: z.number().optional(),
1913
1746
  projectUrl: z.string(),
1914
- type: CreateProjectLinkProjectsResponse200Type$outboundSchema,
1747
+ type: z.literal("gitlab"),
1915
1748
  createdAt: z.number().optional(),
1916
1749
  deployHooks: z.array(z.lazy(() => CreateProjectLinkProjectsResponse200DeployHooks$outboundSchema)),
1917
1750
  gitCredentialId: z.string(),
@@ -1926,10 +1759,6 @@ export function createProjectLink4FromJSON(jsonString) {
1926
1759
  return safeParse(jsonString, (x) => CreateProjectLink4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectLink4' from JSON`);
1927
1760
  }
1928
1761
  /** @internal */
1929
- export const CreateProjectLinkProjectsResponseType$inboundSchema = z.nativeEnum(CreateProjectLinkProjectsResponseType);
1930
- /** @internal */
1931
- export const CreateProjectLinkProjectsResponseType$outboundSchema = CreateProjectLinkProjectsResponseType$inboundSchema;
1932
- /** @internal */
1933
1762
  export const CreateProjectLinkProjectsResponseDeployHooks$inboundSchema = z.object({
1934
1763
  createdAt: z.number().optional(),
1935
1764
  id: z.string(),
@@ -1957,7 +1786,7 @@ export const CreateProjectLink3$inboundSchema = z.object({
1957
1786
  repoOwnerId: z.number().optional(),
1958
1787
  repo: z.string().optional(),
1959
1788
  repoId: z.number().optional(),
1960
- type: CreateProjectLinkProjectsResponseType$inboundSchema,
1789
+ type: z.literal("github-custom-host"),
1961
1790
  host: z.string(),
1962
1791
  createdAt: z.number().optional(),
1963
1792
  deployHooks: z.array(z.lazy(() => CreateProjectLinkProjectsResponseDeployHooks$inboundSchema)),
@@ -1972,7 +1801,7 @@ export const CreateProjectLink3$outboundSchema = z.object({
1972
1801
  repoOwnerId: z.number().optional(),
1973
1802
  repo: z.string().optional(),
1974
1803
  repoId: z.number().optional(),
1975
- type: CreateProjectLinkProjectsResponseType$outboundSchema,
1804
+ type: z.literal("github-custom-host"),
1976
1805
  host: z.string(),
1977
1806
  createdAt: z.number().optional(),
1978
1807
  deployHooks: z.array(z.lazy(() => CreateProjectLinkProjectsResponseDeployHooks$outboundSchema)),
@@ -1988,10 +1817,6 @@ export function createProjectLink3FromJSON(jsonString) {
1988
1817
  return safeParse(jsonString, (x) => CreateProjectLink3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectLink3' from JSON`);
1989
1818
  }
1990
1819
  /** @internal */
1991
- export const CreateProjectLinkProjectsType$inboundSchema = z.nativeEnum(CreateProjectLinkProjectsType);
1992
- /** @internal */
1993
- export const CreateProjectLinkProjectsType$outboundSchema = CreateProjectLinkProjectsType$inboundSchema;
1994
- /** @internal */
1995
1820
  export const CreateProjectLinkProjectsDeployHooks$inboundSchema = z.object({
1996
1821
  createdAt: z.number().optional(),
1997
1822
  id: z.string(),
@@ -2015,7 +1840,7 @@ export function createProjectLinkProjectsDeployHooksFromJSON(jsonString) {
2015
1840
  }
2016
1841
  /** @internal */
2017
1842
  export const CreateProjectLink2$inboundSchema = z.object({
2018
- type: CreateProjectLinkProjectsType$inboundSchema,
1843
+ type: z.literal("github-limited"),
2019
1844
  repo: z.string().optional(),
2020
1845
  repoId: z.number().optional(),
2021
1846
  createdAt: z.number().optional(),
@@ -2029,7 +1854,7 @@ export const CreateProjectLink2$inboundSchema = z.object({
2029
1854
  });
2030
1855
  /** @internal */
2031
1856
  export const CreateProjectLink2$outboundSchema = z.object({
2032
- type: CreateProjectLinkProjectsType$outboundSchema,
1857
+ type: z.literal("github-limited"),
2033
1858
  repo: z.string().optional(),
2034
1859
  repoId: z.number().optional(),
2035
1860
  createdAt: z.number().optional(),
@@ -2048,10 +1873,6 @@ export function createProjectLink2FromJSON(jsonString) {
2048
1873
  return safeParse(jsonString, (x) => CreateProjectLink2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectLink2' from JSON`);
2049
1874
  }
2050
1875
  /** @internal */
2051
- export const CreateProjectLinkType$inboundSchema = z.nativeEnum(CreateProjectLinkType);
2052
- /** @internal */
2053
- export const CreateProjectLinkType$outboundSchema = CreateProjectLinkType$inboundSchema;
2054
- /** @internal */
2055
1876
  export const CreateProjectLinkDeployHooks$inboundSchema = z.object({
2056
1877
  createdAt: z.number().optional(),
2057
1878
  id: z.string(),
@@ -2079,7 +1900,7 @@ export const CreateProjectLink1$inboundSchema = z.object({
2079
1900
  repoOwnerId: z.number().optional(),
2080
1901
  repo: z.string().optional(),
2081
1902
  repoId: z.number().optional(),
2082
- type: CreateProjectLinkType$inboundSchema,
1903
+ type: z.literal("github"),
2083
1904
  createdAt: z.number().optional(),
2084
1905
  deployHooks: z.array(z.lazy(() => CreateProjectLinkDeployHooks$inboundSchema)),
2085
1906
  gitCredentialId: z.string(),
@@ -2093,7 +1914,7 @@ export const CreateProjectLink1$outboundSchema = z.object({
2093
1914
  repoOwnerId: z.number().optional(),
2094
1915
  repo: z.string().optional(),
2095
1916
  repoId: z.number().optional(),
2096
- type: CreateProjectLinkType$outboundSchema,
1917
+ type: z.literal("github"),
2097
1918
  createdAt: z.number().optional(),
2098
1919
  deployHooks: z.array(z.lazy(() => CreateProjectLinkDeployHooks$outboundSchema)),
2099
1920
  gitCredentialId: z.string(),
@@ -2109,19 +1930,19 @@ export function createProjectLink1FromJSON(jsonString) {
2109
1930
  }
2110
1931
  /** @internal */
2111
1932
  export const CreateProjectLink$inboundSchema = z.union([
2112
- z.lazy(() => CreateProjectLink4$inboundSchema),
2113
- z.lazy(() => CreateProjectLink5$inboundSchema),
2114
- z.lazy(() => CreateProjectLink3$inboundSchema),
2115
1933
  z.lazy(() => CreateProjectLink1$inboundSchema),
2116
1934
  z.lazy(() => CreateProjectLink2$inboundSchema),
1935
+ z.lazy(() => CreateProjectLink3$inboundSchema),
1936
+ z.lazy(() => CreateProjectLink4$inboundSchema),
1937
+ z.lazy(() => CreateProjectLink5$inboundSchema),
2117
1938
  ]);
2118
1939
  /** @internal */
2119
1940
  export const CreateProjectLink$outboundSchema = z.union([
2120
- z.lazy(() => CreateProjectLink4$outboundSchema),
2121
- z.lazy(() => CreateProjectLink5$outboundSchema),
2122
- z.lazy(() => CreateProjectLink3$outboundSchema),
2123
1941
  z.lazy(() => CreateProjectLink1$outboundSchema),
2124
1942
  z.lazy(() => CreateProjectLink2$outboundSchema),
1943
+ z.lazy(() => CreateProjectLink3$outboundSchema),
1944
+ z.lazy(() => CreateProjectLink4$outboundSchema),
1945
+ z.lazy(() => CreateProjectLink5$outboundSchema),
2125
1946
  ]);
2126
1947
  export function createProjectLinkToJSON(createProjectLink) {
2127
1948
  return JSON.stringify(CreateProjectLink$outboundSchema.parse(createProjectLink));
@@ -3189,21 +3010,16 @@ export function createProjectLastAliasRequestFromJSON(jsonString) {
3189
3010
  return safeParse(jsonString, (x) => CreateProjectLastAliasRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectLastAliasRequest' from JSON`);
3190
3011
  }
3191
3012
  /** @internal */
3192
- export const CreateProjectProtectionBypassProjectsScope$inboundSchema = z
3193
- .nativeEnum(CreateProjectProtectionBypassProjectsScope);
3194
- /** @internal */
3195
- export const CreateProjectProtectionBypassProjectsScope$outboundSchema = CreateProjectProtectionBypassProjectsScope$inboundSchema;
3196
- /** @internal */
3197
3013
  export const CreateProjectProtectionBypass2$inboundSchema = z.object({
3198
3014
  createdAt: z.number(),
3199
3015
  createdBy: z.string(),
3200
- scope: CreateProjectProtectionBypassProjectsScope$inboundSchema,
3016
+ scope: z.literal("automation-bypass"),
3201
3017
  });
3202
3018
  /** @internal */
3203
3019
  export const CreateProjectProtectionBypass2$outboundSchema = z.object({
3204
3020
  createdAt: z.number(),
3205
3021
  createdBy: z.string(),
3206
- scope: CreateProjectProtectionBypassProjectsScope$outboundSchema,
3022
+ scope: z.literal("automation-bypass"),
3207
3023
  });
3208
3024
  export function createProjectProtectionBypass2ToJSON(createProjectProtectionBypass2) {
3209
3025
  return JSON.stringify(CreateProjectProtectionBypass2$outboundSchema.parse(createProjectProtectionBypass2));
@@ -3212,14 +3028,10 @@ export function createProjectProtectionBypass2FromJSON(jsonString) {
3212
3028
  return safeParse(jsonString, (x) => CreateProjectProtectionBypass2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectProtectionBypass2' from JSON`);
3213
3029
  }
3214
3030
  /** @internal */
3215
- export const CreateProjectProtectionBypassScope$inboundSchema = z.nativeEnum(CreateProjectProtectionBypassScope);
3216
- /** @internal */
3217
- export const CreateProjectProtectionBypassScope$outboundSchema = CreateProjectProtectionBypassScope$inboundSchema;
3218
- /** @internal */
3219
3031
  export const CreateProjectProtectionBypass1$inboundSchema = z.object({
3220
3032
  createdAt: z.number(),
3221
3033
  createdBy: z.string(),
3222
- scope: CreateProjectProtectionBypassScope$inboundSchema,
3034
+ scope: z.literal("integration-automation-bypass"),
3223
3035
  integrationId: z.string(),
3224
3036
  configurationId: z.string(),
3225
3037
  });
@@ -3227,7 +3039,7 @@ export const CreateProjectProtectionBypass1$inboundSchema = z.object({
3227
3039
  export const CreateProjectProtectionBypass1$outboundSchema = z.object({
3228
3040
  createdAt: z.number(),
3229
3041
  createdBy: z.string(),
3230
- scope: CreateProjectProtectionBypassScope$outboundSchema,
3042
+ scope: z.literal("integration-automation-bypass"),
3231
3043
  integrationId: z.string(),
3232
3044
  configurationId: z.string(),
3233
3045
  });
@@ -3609,16 +3421,6 @@ export function createProjectBlockFromJSON(jsonString) {
3609
3421
  return safeParse(jsonString, (x) => CreateProjectBlock$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectBlock' from JSON`);
3610
3422
  }
3611
3423
  /** @internal */
3612
- export const CreateProjectBlockHistoryProjectsResponse200Action$inboundSchema = z
3613
- .nativeEnum(CreateProjectBlockHistoryProjectsResponse200Action);
3614
- /** @internal */
3615
- export const CreateProjectBlockHistoryProjectsResponse200Action$outboundSchema = CreateProjectBlockHistoryProjectsResponse200Action$inboundSchema;
3616
- /** @internal */
3617
- export const CreateProjectHasProjectsResponse200Type$inboundSchema = z
3618
- .nativeEnum(CreateProjectHasProjectsResponse200Type);
3619
- /** @internal */
3620
- export const CreateProjectHasProjectsResponse200Type$outboundSchema = CreateProjectHasProjectsResponse200Type$inboundSchema;
3621
- /** @internal */
3622
3424
  export const CreateProjectHasProjectsResponse200Value$inboundSchema = z.object({
3623
3425
  eq: z.string(),
3624
3426
  });
@@ -3634,12 +3436,12 @@ export function createProjectHasProjectsResponse200ValueFromJSON(jsonString) {
3634
3436
  }
3635
3437
  /** @internal */
3636
3438
  export const CreateProjectHasProjects2$inboundSchema = z.object({
3637
- type: CreateProjectHasProjectsResponse200Type$inboundSchema,
3439
+ type: z.literal("host"),
3638
3440
  value: z.lazy(() => CreateProjectHasProjectsResponse200Value$inboundSchema),
3639
3441
  });
3640
3442
  /** @internal */
3641
3443
  export const CreateProjectHasProjects2$outboundSchema = z.object({
3642
- type: CreateProjectHasProjectsResponse200Type$outboundSchema,
3444
+ type: z.literal("host"),
3643
3445
  value: z.lazy(() => CreateProjectHasProjectsResponse200Value$outboundSchema),
3644
3446
  });
3645
3447
  export function createProjectHasProjects2ToJSON(createProjectHasProjects2) {
@@ -3649,10 +3451,6 @@ export function createProjectHasProjects2FromJSON(jsonString) {
3649
3451
  return safeParse(jsonString, (x) => CreateProjectHasProjects2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectHasProjects2' from JSON`);
3650
3452
  }
3651
3453
  /** @internal */
3652
- export const CreateProjectHasProjectsResponseType$inboundSchema = z.nativeEnum(CreateProjectHasProjectsResponseType);
3653
- /** @internal */
3654
- export const CreateProjectHasProjectsResponseType$outboundSchema = CreateProjectHasProjectsResponseType$inboundSchema;
3655
- /** @internal */
3656
3454
  export const CreateProjectHasProjectsKey$inboundSchema = z.nativeEnum(CreateProjectHasProjectsKey);
3657
3455
  /** @internal */
3658
3456
  export const CreateProjectHasProjectsKey$outboundSchema = CreateProjectHasProjectsKey$inboundSchema;
@@ -3672,13 +3470,13 @@ export function createProjectHasProjectsResponseValueFromJSON(jsonString) {
3672
3470
  }
3673
3471
  /** @internal */
3674
3472
  export const CreateProjectHasProjects1$inboundSchema = z.object({
3675
- type: CreateProjectHasProjectsResponseType$inboundSchema,
3473
+ type: z.literal("header"),
3676
3474
  key: CreateProjectHasProjectsKey$inboundSchema,
3677
3475
  value: z.lazy(() => CreateProjectHasProjectsResponseValue$inboundSchema),
3678
3476
  });
3679
3477
  /** @internal */
3680
3478
  export const CreateProjectHasProjects1$outboundSchema = z.object({
3681
- type: CreateProjectHasProjectsResponseType$outboundSchema,
3479
+ type: z.literal("header"),
3682
3480
  key: CreateProjectHasProjectsKey$outboundSchema,
3683
3481
  value: z.lazy(() => CreateProjectHasProjectsResponseValue$outboundSchema),
3684
3482
  });
@@ -3780,7 +3578,7 @@ export function createProjectBlockHistoryProjectsRouteFromJSON(jsonString) {
3780
3578
  }
3781
3579
  /** @internal */
3782
3580
  export const CreateProjectBlockHistory4$inboundSchema = z.object({
3783
- action: CreateProjectBlockHistoryProjectsResponse200Action$inboundSchema,
3581
+ action: z.literal("route-unblocked"),
3784
3582
  route: z.union([
3785
3583
  z.lazy(() => CreateProjectRouteProjects1$inboundSchema),
3786
3584
  z.lazy(() => CreateProjectRouteProjects2$inboundSchema),
@@ -3794,7 +3592,7 @@ export const CreateProjectBlockHistory4$inboundSchema = z.object({
3794
3592
  });
3795
3593
  /** @internal */
3796
3594
  export const CreateProjectBlockHistory4$outboundSchema = z.object({
3797
- action: CreateProjectBlockHistoryProjectsResponse200Action$outboundSchema,
3595
+ action: z.literal("route-unblocked"),
3798
3596
  route: z.union([
3799
3597
  z.lazy(() => CreateProjectRouteProjects1$outboundSchema),
3800
3598
  z.lazy(() => CreateProjectRouteProjects2$outboundSchema),
@@ -3813,15 +3611,6 @@ export function createProjectBlockHistory4FromJSON(jsonString) {
3813
3611
  return safeParse(jsonString, (x) => CreateProjectBlockHistory4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectBlockHistory4' from JSON`);
3814
3612
  }
3815
3613
  /** @internal */
3816
- export const CreateProjectBlockHistoryProjectsResponseAction$inboundSchema = z
3817
- .nativeEnum(CreateProjectBlockHistoryProjectsResponseAction);
3818
- /** @internal */
3819
- export const CreateProjectBlockHistoryProjectsResponseAction$outboundSchema = CreateProjectBlockHistoryProjectsResponseAction$inboundSchema;
3820
- /** @internal */
3821
- export const CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema = z.nativeEnum(CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType);
3822
- /** @internal */
3823
- export const CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema = CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema;
3824
- /** @internal */
3825
3614
  export const CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema = z.object({
3826
3615
  eq: z.string(),
3827
3616
  });
@@ -3839,12 +3628,12 @@ export function createProjectHasProjectsResponse200ApplicationJSONResponseBodyVa
3839
3628
  }
3840
3629
  /** @internal */
3841
3630
  export const CreateProjectHasProjectsResponse2$inboundSchema = z.object({
3842
- type: CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema,
3631
+ type: z.literal("host"),
3843
3632
  value: z.lazy(() => CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema),
3844
3633
  });
3845
3634
  /** @internal */
3846
3635
  export const CreateProjectHasProjectsResponse2$outboundSchema = z.object({
3847
- type: CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema,
3636
+ type: z.literal("host"),
3848
3637
  value: z.lazy(() => CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$outboundSchema),
3849
3638
  });
3850
3639
  export function createProjectHasProjectsResponse2ToJSON(createProjectHasProjectsResponse2) {
@@ -3854,10 +3643,6 @@ export function createProjectHasProjectsResponse2FromJSON(jsonString) {
3854
3643
  return safeParse(jsonString, (x) => CreateProjectHasProjectsResponse2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectHasProjectsResponse2' from JSON`);
3855
3644
  }
3856
3645
  /** @internal */
3857
- export const CreateProjectHasProjectsResponse200ApplicationJSONType$inboundSchema = z.nativeEnum(CreateProjectHasProjectsResponse200ApplicationJSONType);
3858
- /** @internal */
3859
- export const CreateProjectHasProjectsResponse200ApplicationJSONType$outboundSchema = CreateProjectHasProjectsResponse200ApplicationJSONType$inboundSchema;
3860
- /** @internal */
3861
3646
  export const CreateProjectHasKey$inboundSchema = z.nativeEnum(CreateProjectHasKey);
3862
3647
  /** @internal */
3863
3648
  export const CreateProjectHasKey$outboundSchema = CreateProjectHasKey$inboundSchema;
@@ -3879,13 +3664,13 @@ export function createProjectHasProjectsResponse200ApplicationJSONValueFromJSON(
3879
3664
  }
3880
3665
  /** @internal */
3881
3666
  export const CreateProjectHasProjectsResponse1$inboundSchema = z.object({
3882
- type: CreateProjectHasProjectsResponse200ApplicationJSONType$inboundSchema,
3667
+ type: z.literal("header"),
3883
3668
  key: CreateProjectHasKey$inboundSchema,
3884
3669
  value: z.lazy(() => CreateProjectHasProjectsResponse200ApplicationJSONValue$inboundSchema),
3885
3670
  });
3886
3671
  /** @internal */
3887
3672
  export const CreateProjectHasProjectsResponse1$outboundSchema = z.object({
3888
- type: CreateProjectHasProjectsResponse200ApplicationJSONType$outboundSchema,
3673
+ type: z.literal("header"),
3889
3674
  key: CreateProjectHasKey$outboundSchema,
3890
3675
  value: z.lazy(() => CreateProjectHasProjectsResponse200ApplicationJSONValue$outboundSchema),
3891
3676
  });
@@ -3987,7 +3772,7 @@ export function createProjectBlockHistoryRouteFromJSON(jsonString) {
3987
3772
  }
3988
3773
  /** @internal */
3989
3774
  export const CreateProjectBlockHistory3$inboundSchema = z.object({
3990
- action: CreateProjectBlockHistoryProjectsResponseAction$inboundSchema,
3775
+ action: z.literal("route-blocked"),
3991
3776
  route: z.union([
3992
3777
  z.lazy(() => CreateProjectRoute1$inboundSchema),
3993
3778
  z.lazy(() => CreateProjectRoute2$inboundSchema),
@@ -4001,7 +3786,7 @@ export const CreateProjectBlockHistory3$inboundSchema = z.object({
4001
3786
  });
4002
3787
  /** @internal */
4003
3788
  export const CreateProjectBlockHistory3$outboundSchema = z.object({
4004
- action: CreateProjectBlockHistoryProjectsResponseAction$outboundSchema,
3789
+ action: z.literal("route-blocked"),
4005
3790
  route: z.union([
4006
3791
  z.lazy(() => CreateProjectRoute1$outboundSchema),
4007
3792
  z.lazy(() => CreateProjectRoute2$outboundSchema),
@@ -4020,13 +3805,8 @@ export function createProjectBlockHistory3FromJSON(jsonString) {
4020
3805
  return safeParse(jsonString, (x) => CreateProjectBlockHistory3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectBlockHistory3' from JSON`);
4021
3806
  }
4022
3807
  /** @internal */
4023
- export const CreateProjectBlockHistoryProjectsAction$inboundSchema = z
4024
- .nativeEnum(CreateProjectBlockHistoryProjectsAction);
4025
- /** @internal */
4026
- export const CreateProjectBlockHistoryProjectsAction$outboundSchema = CreateProjectBlockHistoryProjectsAction$inboundSchema;
4027
- /** @internal */
4028
3808
  export const CreateProjectBlockHistory2$inboundSchema = z.object({
4029
- action: CreateProjectBlockHistoryProjectsAction$inboundSchema,
3809
+ action: z.literal("unblocked"),
4030
3810
  createdAt: z.number(),
4031
3811
  caseId: z.string().optional(),
4032
3812
  actor: z.string().optional(),
@@ -4035,7 +3815,7 @@ export const CreateProjectBlockHistory2$inboundSchema = z.object({
4035
3815
  });
4036
3816
  /** @internal */
4037
3817
  export const CreateProjectBlockHistory2$outboundSchema = z.object({
4038
- action: CreateProjectBlockHistoryProjectsAction$outboundSchema,
3818
+ action: z.literal("unblocked"),
4039
3819
  createdAt: z.number(),
4040
3820
  caseId: z.string().optional(),
4041
3821
  actor: z.string().optional(),
@@ -4049,12 +3829,8 @@ export function createProjectBlockHistory2FromJSON(jsonString) {
4049
3829
  return safeParse(jsonString, (x) => CreateProjectBlockHistory2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectBlockHistory2' from JSON`);
4050
3830
  }
4051
3831
  /** @internal */
4052
- export const CreateProjectBlockHistoryAction$inboundSchema = z.nativeEnum(CreateProjectBlockHistoryAction);
4053
- /** @internal */
4054
- export const CreateProjectBlockHistoryAction$outboundSchema = CreateProjectBlockHistoryAction$inboundSchema;
4055
- /** @internal */
4056
3832
  export const CreateProjectBlockHistory1$inboundSchema = z.object({
4057
- action: CreateProjectBlockHistoryAction$inboundSchema,
3833
+ action: z.literal("blocked"),
4058
3834
  reason: z.string(),
4059
3835
  statusCode: z.number(),
4060
3836
  createdAt: z.number(),
@@ -4065,7 +3841,7 @@ export const CreateProjectBlockHistory1$inboundSchema = z.object({
4065
3841
  });
4066
3842
  /** @internal */
4067
3843
  export const CreateProjectBlockHistory1$outboundSchema = z.object({
4068
- action: CreateProjectBlockHistoryAction$outboundSchema,
3844
+ action: z.literal("blocked"),
4069
3845
  reason: z.string(),
4070
3846
  statusCode: z.number(),
4071
3847
  createdAt: z.number(),
@@ -4083,16 +3859,16 @@ export function createProjectBlockHistory1FromJSON(jsonString) {
4083
3859
  /** @internal */
4084
3860
  export const CreateProjectBlockHistory$inboundSchema = z.union([
4085
3861
  z.lazy(() => CreateProjectBlockHistory1$inboundSchema),
3862
+ z.lazy(() => CreateProjectBlockHistory2$inboundSchema),
4086
3863
  z.lazy(() => CreateProjectBlockHistory3$inboundSchema),
4087
3864
  z.lazy(() => CreateProjectBlockHistory4$inboundSchema),
4088
- z.lazy(() => CreateProjectBlockHistory2$inboundSchema),
4089
3865
  ]);
4090
3866
  /** @internal */
4091
3867
  export const CreateProjectBlockHistory$outboundSchema = z.union([
4092
3868
  z.lazy(() => CreateProjectBlockHistory1$outboundSchema),
3869
+ z.lazy(() => CreateProjectBlockHistory2$outboundSchema),
4093
3870
  z.lazy(() => CreateProjectBlockHistory3$outboundSchema),
4094
3871
  z.lazy(() => CreateProjectBlockHistory4$outboundSchema),
4095
- z.lazy(() => CreateProjectBlockHistory2$outboundSchema),
4096
3872
  ]);
4097
3873
  export function createProjectBlockHistoryToJSON(createProjectBlockHistory) {
4098
3874
  return JSON.stringify(CreateProjectBlockHistory$outboundSchema.parse(createProjectBlockHistory));
@@ -4108,9 +3884,9 @@ export const CreateProjectAbuse$inboundSchema = z.object({
4108
3884
  block: z.lazy(() => CreateProjectBlock$inboundSchema).optional(),
4109
3885
  blockHistory: z.array(z.union([
4110
3886
  z.lazy(() => CreateProjectBlockHistory1$inboundSchema),
3887
+ z.lazy(() => CreateProjectBlockHistory2$inboundSchema),
4111
3888
  z.lazy(() => CreateProjectBlockHistory3$inboundSchema),
4112
3889
  z.lazy(() => CreateProjectBlockHistory4$inboundSchema),
4113
- z.lazy(() => CreateProjectBlockHistory2$inboundSchema),
4114
3890
  ])).optional(),
4115
3891
  interstitial: z.boolean().optional(),
4116
3892
  });
@@ -4122,9 +3898,9 @@ export const CreateProjectAbuse$outboundSchema = z.object({
4122
3898
  block: z.lazy(() => CreateProjectBlock$outboundSchema).optional(),
4123
3899
  blockHistory: z.array(z.union([
4124
3900
  z.lazy(() => CreateProjectBlockHistory1$outboundSchema),
3901
+ z.lazy(() => CreateProjectBlockHistory2$outboundSchema),
4125
3902
  z.lazy(() => CreateProjectBlockHistory3$outboundSchema),
4126
3903
  z.lazy(() => CreateProjectBlockHistory4$outboundSchema),
4127
- z.lazy(() => CreateProjectBlockHistory2$outboundSchema),
4128
3904
  ])).optional(),
4129
3905
  interstitial: z.boolean().optional(),
4130
3906
  });
@@ -4135,10 +3911,6 @@ export function createProjectAbuseFromJSON(jsonString) {
4135
3911
  return safeParse(jsonString, (x) => CreateProjectAbuse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectAbuse' from JSON`);
4136
3912
  }
4137
3913
  /** @internal */
4138
- export const CreateProjectHasProjectsType$inboundSchema = z.nativeEnum(CreateProjectHasProjectsType);
4139
- /** @internal */
4140
- export const CreateProjectHasProjectsType$outboundSchema = CreateProjectHasProjectsType$inboundSchema;
4141
- /** @internal */
4142
3914
  export const CreateProjectHasProjectsValue$inboundSchema = z.object({
4143
3915
  eq: z.string(),
4144
3916
  });
@@ -4154,12 +3926,12 @@ export function createProjectHasProjectsValueFromJSON(jsonString) {
4154
3926
  }
4155
3927
  /** @internal */
4156
3928
  export const CreateProjectHas2$inboundSchema = z.object({
4157
- type: CreateProjectHasProjectsType$inboundSchema,
3929
+ type: z.literal("host"),
4158
3930
  value: z.lazy(() => CreateProjectHasProjectsValue$inboundSchema),
4159
3931
  });
4160
3932
  /** @internal */
4161
3933
  export const CreateProjectHas2$outboundSchema = z.object({
4162
- type: CreateProjectHasProjectsType$outboundSchema,
3934
+ type: z.literal("host"),
4163
3935
  value: z.lazy(() => CreateProjectHasProjectsValue$outboundSchema),
4164
3936
  });
4165
3937
  export function createProjectHas2ToJSON(createProjectHas2) {
@@ -4169,10 +3941,6 @@ export function createProjectHas2FromJSON(jsonString) {
4169
3941
  return safeParse(jsonString, (x) => CreateProjectHas2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProjectHas2' from JSON`);
4170
3942
  }
4171
3943
  /** @internal */
4172
- export const CreateProjectHasType$inboundSchema = z.nativeEnum(CreateProjectHasType);
4173
- /** @internal */
4174
- export const CreateProjectHasType$outboundSchema = CreateProjectHasType$inboundSchema;
4175
- /** @internal */
4176
3944
  export const HasKey$inboundSchema = z
4177
3945
  .nativeEnum(HasKey);
4178
3946
  /** @internal */
@@ -4193,13 +3961,13 @@ export function createProjectHasValueFromJSON(jsonString) {
4193
3961
  }
4194
3962
  /** @internal */
4195
3963
  export const CreateProjectHas1$inboundSchema = z.object({
4196
- type: CreateProjectHasType$inboundSchema,
3964
+ type: z.literal("header"),
4197
3965
  key: HasKey$inboundSchema,
4198
3966
  value: z.lazy(() => CreateProjectHasValue$inboundSchema),
4199
3967
  });
4200
3968
  /** @internal */
4201
3969
  export const CreateProjectHas1$outboundSchema = z.object({
4202
- type: CreateProjectHasType$outboundSchema,
3970
+ type: z.literal("header"),
4203
3971
  key: HasKey$outboundSchema,
4204
3972
  value: z.lazy(() => CreateProjectHasValue$outboundSchema),
4205
3973
  });
@@ -4423,11 +4191,11 @@ export const CreateProjectResponseBody$inboundSchema = z.object({
4423
4191
  .optional(),
4424
4192
  latestDeployments: z.array(z.lazy(() => CreateProjectLatestDeployments$inboundSchema)).optional(),
4425
4193
  link: z.union([
4426
- z.lazy(() => CreateProjectLink4$inboundSchema),
4427
- z.lazy(() => CreateProjectLink5$inboundSchema),
4428
- z.lazy(() => CreateProjectLink3$inboundSchema),
4429
4194
  z.lazy(() => CreateProjectLink1$inboundSchema),
4430
4195
  z.lazy(() => CreateProjectLink2$inboundSchema),
4196
+ z.lazy(() => CreateProjectLink3$inboundSchema),
4197
+ z.lazy(() => CreateProjectLink4$inboundSchema),
4198
+ z.lazy(() => CreateProjectLink5$inboundSchema),
4431
4199
  ]).optional(),
4432
4200
  microfrontends: z.union([
4433
4201
  z.lazy(() => CreateProjectMicrofrontends1$inboundSchema),
@@ -4529,11 +4297,11 @@ export const CreateProjectResponseBody$outboundSchema = z.object({
4529
4297
  .optional(),
4530
4298
  latestDeployments: z.array(z.lazy(() => CreateProjectLatestDeployments$outboundSchema)).optional(),
4531
4299
  link: z.union([
4532
- z.lazy(() => CreateProjectLink4$outboundSchema),
4533
- z.lazy(() => CreateProjectLink5$outboundSchema),
4534
- z.lazy(() => CreateProjectLink3$outboundSchema),
4535
4300
  z.lazy(() => CreateProjectLink1$outboundSchema),
4536
4301
  z.lazy(() => CreateProjectLink2$outboundSchema),
4302
+ z.lazy(() => CreateProjectLink3$outboundSchema),
4303
+ z.lazy(() => CreateProjectLink4$outboundSchema),
4304
+ z.lazy(() => CreateProjectLink5$outboundSchema),
4537
4305
  ]).optional(),
4538
4306
  microfrontends: z.union([
4539
4307
  z.lazy(() => CreateProjectMicrofrontends1$outboundSchema),