@vercel/sdk 1.10.0 → 1.10.2

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 (290) hide show
  1. package/bin/mcp-server.js +3601 -3879
  2. package/bin/mcp-server.js.map +59 -59
  3. package/docs/sdks/accessgroups/README.md +11 -0
  4. package/docs/sdks/aliases/README.md +7 -1
  5. package/docs/sdks/artifacts/README.md +6 -0
  6. package/docs/sdks/authentication/README.md +5 -0
  7. package/docs/sdks/certs/README.md +4 -0
  8. package/docs/sdks/checks/README.md +5 -0
  9. package/docs/sdks/deployments/README.md +18 -0
  10. package/docs/sdks/dns/README.md +4 -0
  11. package/docs/sdks/domains/README.md +10 -0
  12. package/docs/sdks/edgeconfig/README.md +17 -0
  13. package/docs/sdks/environment/README.md +5 -0
  14. package/docs/sdks/integrations/README.md +4 -0
  15. package/docs/sdks/logdrains/README.md +3 -0
  16. package/docs/sdks/logs/README.md +1 -0
  17. package/docs/sdks/marketplace/README.md +20 -0
  18. package/docs/sdks/projectmembers/README.md +3 -0
  19. package/docs/sdks/projects/README.md +24 -0
  20. package/docs/sdks/rollingrelease/README.md +7 -0
  21. package/docs/sdks/security/README.md +8 -0
  22. package/docs/sdks/teams/README.md +13 -0
  23. package/docs/sdks/user/README.md +3 -0
  24. package/docs/sdks/webhooks/README.md +4 -0
  25. package/esm/__tests__/aliases.test.js +16 -16
  26. package/esm/__tests__/aliases.test.js.map +1 -1
  27. package/esm/__tests__/security.test.js +13 -1
  28. package/esm/__tests__/security.test.js.map +1 -1
  29. package/esm/funcs/aliasesGetAlias.d.ts +2 -2
  30. package/esm/funcs/aliasesGetAlias.d.ts.map +1 -1
  31. package/esm/funcs/aliasesGetAlias.js +3 -2
  32. package/esm/funcs/aliasesGetAlias.js.map +1 -1
  33. package/esm/funcs/checksRerequestCheck.js +1 -0
  34. package/esm/funcs/checksRerequestCheck.js.map +1 -1
  35. package/esm/funcs/domainsBuyDomain.js +2 -2
  36. package/esm/funcs/domainsBuyDomain.js.map +1 -1
  37. package/esm/funcs/domainsGetDomainConfig.js +2 -2
  38. package/esm/funcs/domainsGetDomainConfig.js.map +1 -1
  39. package/esm/funcs/domainsPatchDomain.js +2 -2
  40. package/esm/funcs/domainsPatchDomain.js.map +1 -1
  41. package/esm/funcs/edgeConfigPatchEdgeConfigItems.js +2 -3
  42. package/esm/funcs/edgeConfigPatchEdgeConfigItems.js.map +1 -1
  43. package/esm/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.js +2 -2
  44. package/esm/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.js.map +1 -1
  45. package/esm/funcs/projectsAcceptProjectTransferRequest.js +2 -2
  46. package/esm/funcs/projectsAcceptProjectTransferRequest.js.map +1 -1
  47. package/esm/funcs/projectsCreateProject.js +2 -2
  48. package/esm/funcs/projectsCreateProject.js.map +1 -1
  49. package/esm/funcs/teamsPatchTeam.js +2 -2
  50. package/esm/funcs/teamsPatchTeam.js.map +1 -1
  51. package/esm/lib/config.d.ts +3 -3
  52. package/esm/lib/config.js +3 -3
  53. package/esm/mcp-server/mcp-server.js +1 -1
  54. package/esm/mcp-server/server.js +1 -1
  55. package/esm/models/acceptprojecttransferrequestop.d.ts +176 -2
  56. package/esm/models/acceptprojecttransferrequestop.d.ts.map +1 -1
  57. package/esm/models/acceptprojecttransferrequestop.js +176 -2
  58. package/esm/models/acceptprojecttransferrequestop.js.map +1 -1
  59. package/esm/models/addbypassipop.d.ts +38 -38
  60. package/esm/models/addbypassipop.d.ts.map +1 -1
  61. package/esm/models/addbypassipop.js +44 -42
  62. package/esm/models/addbypassipop.js.map +1 -1
  63. package/esm/models/authtoken.d.ts +10 -4
  64. package/esm/models/authtoken.d.ts.map +1 -1
  65. package/esm/models/authtoken.js +6 -4
  66. package/esm/models/authtoken.js.map +1 -1
  67. package/esm/models/authuser.d.ts +54 -0
  68. package/esm/models/authuser.d.ts.map +1 -1
  69. package/esm/models/authuser.js +34 -0
  70. package/esm/models/authuser.js.map +1 -1
  71. package/esm/models/canceldeploymentop.d.ts +385 -148
  72. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  73. package/esm/models/canceldeploymentop.js +363 -148
  74. package/esm/models/canceldeploymentop.js.map +1 -1
  75. package/esm/models/createcustomenvironmentop.d.ts +3 -3
  76. package/esm/models/createcustomenvironmentop.js +1 -1
  77. package/esm/models/createcustomenvironmentop.js.map +1 -1
  78. package/esm/models/createdeploymentop.d.ts +604 -344
  79. package/esm/models/createdeploymentop.d.ts.map +1 -1
  80. package/esm/models/createdeploymentop.js +501 -274
  81. package/esm/models/createdeploymentop.js.map +1 -1
  82. package/esm/models/createlogdrainop.d.ts +2 -2
  83. package/esm/models/createlogdrainop.d.ts.map +1 -1
  84. package/esm/models/createlogdrainop.js +2 -2
  85. package/esm/models/createlogdrainop.js.map +1 -1
  86. package/esm/models/createprojectenvop.d.ts +6 -6
  87. package/esm/models/createprojectenvop.js +2 -2
  88. package/esm/models/createprojectenvop.js.map +1 -1
  89. package/esm/models/createprojectop.d.ts +378 -797
  90. package/esm/models/createprojectop.d.ts.map +1 -1
  91. package/esm/models/createprojectop.js +344 -718
  92. package/esm/models/createprojectop.js.map +1 -1
  93. package/esm/models/createwebhookop.d.ts +12 -0
  94. package/esm/models/createwebhookop.d.ts.map +1 -1
  95. package/esm/models/createwebhookop.js +4 -0
  96. package/esm/models/createwebhookop.js.map +1 -1
  97. package/esm/models/editprojectenvop.d.ts +3 -3
  98. package/esm/models/editprojectenvop.js +1 -1
  99. package/esm/models/editprojectenvop.js.map +1 -1
  100. package/esm/models/exchangessotokenop.d.ts +4 -4
  101. package/esm/models/exchangessotokenop.d.ts.map +1 -1
  102. package/esm/models/exchangessotokenop.js +4 -4
  103. package/esm/models/exchangessotokenop.js.map +1 -1
  104. package/esm/models/filterprojectenvsop.d.ts +9 -9
  105. package/esm/models/filterprojectenvsop.js +3 -3
  106. package/esm/models/filterprojectenvsop.js.map +1 -1
  107. package/esm/models/getaliasop.d.ts +0 -555
  108. package/esm/models/getaliasop.d.ts.map +1 -1
  109. package/esm/models/getaliasop.js +0 -449
  110. package/esm/models/getaliasop.js.map +1 -1
  111. package/esm/models/getbypassipop.d.ts +55 -179
  112. package/esm/models/getbypassipop.d.ts.map +1 -1
  113. package/esm/models/getbypassipop.js +59 -221
  114. package/esm/models/getbypassipop.js.map +1 -1
  115. package/esm/models/getcustomenvironmentop.d.ts +3 -3
  116. package/esm/models/getcustomenvironmentop.js +1 -1
  117. package/esm/models/getcustomenvironmentop.js.map +1 -1
  118. package/esm/models/getdeploymentop.d.ts +847 -366
  119. package/esm/models/getdeploymentop.d.ts.map +1 -1
  120. package/esm/models/getdeploymentop.js +772 -332
  121. package/esm/models/getdeploymentop.js.map +1 -1
  122. package/esm/models/getdeploymentsop.d.ts +3 -0
  123. package/esm/models/getdeploymentsop.d.ts.map +1 -1
  124. package/esm/models/getdeploymentsop.js +1 -0
  125. package/esm/models/getdeploymentsop.js.map +1 -1
  126. package/esm/models/getfirewallconfigop.d.ts +3 -0
  127. package/esm/models/getfirewallconfigop.d.ts.map +1 -1
  128. package/esm/models/getfirewallconfigop.js +1 -0
  129. package/esm/models/getfirewallconfigop.js.map +1 -1
  130. package/esm/models/getintegrationlogdrainsop.d.ts +2 -2
  131. package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
  132. package/esm/models/getintegrationlogdrainsop.js +4 -2
  133. package/esm/models/getintegrationlogdrainsop.js.map +1 -1
  134. package/esm/models/getprojectmembersop.d.ts +3 -0
  135. package/esm/models/getprojectmembersop.d.ts.map +1 -1
  136. package/esm/models/getprojectmembersop.js +1 -0
  137. package/esm/models/getprojectmembersop.js.map +1 -1
  138. package/esm/models/getprojectsop.d.ts +218 -643
  139. package/esm/models/getprojectsop.d.ts.map +1 -1
  140. package/esm/models/getprojectsop.js +197 -573
  141. package/esm/models/getprojectsop.js.map +1 -1
  142. package/esm/models/getrecordsop.d.ts +8 -0
  143. package/esm/models/getrecordsop.d.ts.map +1 -1
  144. package/esm/models/getrecordsop.js +8 -0
  145. package/esm/models/getrecordsop.js.map +1 -1
  146. package/esm/models/getteammembersop.d.ts +6 -0
  147. package/esm/models/getteammembersop.d.ts.map +1 -1
  148. package/esm/models/getteammembersop.js +2 -0
  149. package/esm/models/getteammembersop.js.map +1 -1
  150. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +3 -3
  151. package/esm/models/getv9projectsidornamecustomenvironmentsop.js +1 -1
  152. package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
  153. package/esm/models/getwebhookop.d.ts +6 -0
  154. package/esm/models/getwebhookop.d.ts.map +1 -1
  155. package/esm/models/getwebhookop.js +2 -0
  156. package/esm/models/getwebhookop.js.map +1 -1
  157. package/esm/models/getwebhooksop.d.ts +15 -0
  158. package/esm/models/getwebhooksop.d.ts.map +1 -1
  159. package/esm/models/getwebhooksop.js +5 -0
  160. package/esm/models/getwebhooksop.js.map +1 -1
  161. package/esm/models/inviteusertoteamop.d.ts +33 -0
  162. package/esm/models/inviteusertoteamop.d.ts.map +1 -1
  163. package/esm/models/inviteusertoteamop.js +11 -0
  164. package/esm/models/inviteusertoteamop.js.map +1 -1
  165. package/esm/models/listaccessgroupmembersop.d.ts +3 -0
  166. package/esm/models/listaccessgroupmembersop.d.ts.map +1 -1
  167. package/esm/models/listaccessgroupmembersop.js +1 -0
  168. package/esm/models/listaccessgroupmembersop.js.map +1 -1
  169. package/esm/models/listaliasesop.d.ts +141 -39
  170. package/esm/models/listaliasesop.d.ts.map +1 -1
  171. package/esm/models/listaliasesop.js +132 -35
  172. package/esm/models/listaliasesop.js.map +1 -1
  173. package/esm/models/listdeploymentaliasesop.d.ts +30 -30
  174. package/esm/models/listdeploymentaliasesop.d.ts.map +1 -1
  175. package/esm/models/listdeploymentaliasesop.js +34 -34
  176. package/esm/models/listdeploymentaliasesop.js.map +1 -1
  177. package/esm/models/patchedgeconfigitemsop.d.ts +0 -4
  178. package/esm/models/patchedgeconfigitemsop.d.ts.map +1 -1
  179. package/esm/models/patchedgeconfigitemsop.js +0 -4
  180. package/esm/models/patchedgeconfigitemsop.js.map +1 -1
  181. package/esm/models/patchteamop.d.ts +185 -0
  182. package/esm/models/patchteamop.d.ts.map +1 -1
  183. package/esm/models/patchteamop.js +132 -0
  184. package/esm/models/patchteamop.js.map +1 -1
  185. package/esm/models/putfirewallconfigop.d.ts +3 -0
  186. package/esm/models/putfirewallconfigop.d.ts.map +1 -1
  187. package/esm/models/putfirewallconfigop.js +1 -0
  188. package/esm/models/putfirewallconfigop.js.map +1 -1
  189. package/esm/models/removecustomenvironmentop.d.ts +3 -3
  190. package/esm/models/removecustomenvironmentop.js +1 -1
  191. package/esm/models/removecustomenvironmentop.js.map +1 -1
  192. package/esm/models/removeprojectenvop.d.ts +9 -9
  193. package/esm/models/removeprojectenvop.js +3 -3
  194. package/esm/models/removeprojectenvop.js.map +1 -1
  195. package/esm/models/rerequestcheckop.d.ts +5 -0
  196. package/esm/models/rerequestcheckop.d.ts.map +1 -1
  197. package/esm/models/rerequestcheckop.js +2 -0
  198. package/esm/models/rerequestcheckop.js.map +1 -1
  199. package/esm/models/team.d.ts +142 -0
  200. package/esm/models/team.d.ts.map +1 -1
  201. package/esm/models/team.js +111 -0
  202. package/esm/models/team.js.map +1 -1
  203. package/esm/models/teamlimited.d.ts +15 -0
  204. package/esm/models/teamlimited.d.ts.map +1 -1
  205. package/esm/models/teamlimited.js +5 -0
  206. package/esm/models/teamlimited.js.map +1 -1
  207. package/esm/models/updatecustomenvironmentop.d.ts +3 -3
  208. package/esm/models/updatecustomenvironmentop.js +1 -1
  209. package/esm/models/updatecustomenvironmentop.js.map +1 -1
  210. package/esm/models/updateprojectdatacacheop.d.ts +226 -651
  211. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  212. package/esm/models/updateprojectdatacacheop.js +209 -604
  213. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  214. package/esm/models/updateprojectop.d.ts +221 -643
  215. package/esm/models/updateprojectop.d.ts.map +1 -1
  216. package/esm/models/updateprojectop.js +198 -573
  217. package/esm/models/updateprojectop.js.map +1 -1
  218. package/esm/models/userevent.d.ts +1629 -1433
  219. package/esm/models/userevent.d.ts.map +1 -1
  220. package/esm/models/userevent.js +2023 -1841
  221. package/esm/models/userevent.js.map +1 -1
  222. package/esm/sdk/aliases.d.ts +2 -2
  223. package/esm/sdk/aliases.d.ts.map +1 -1
  224. package/examples/README.md +5 -0
  225. package/examples/package-lock.json +8 -7
  226. package/examples/projectsUpdateProject.example.ts +2 -0
  227. package/jsr.json +1 -1
  228. package/package.json +6 -8
  229. package/src/__tests__/aliases.test.ts +16 -16
  230. package/src/__tests__/security.test.ts +13 -1
  231. package/src/funcs/aliasesGetAlias.ts +5 -6
  232. package/src/funcs/checksRerequestCheck.ts +1 -0
  233. package/src/funcs/domainsBuyDomain.ts +2 -2
  234. package/src/funcs/domainsGetDomainConfig.ts +2 -2
  235. package/src/funcs/domainsPatchDomain.ts +2 -2
  236. package/src/funcs/edgeConfigPatchEdgeConfigItems.ts +2 -3
  237. package/src/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.ts +2 -2
  238. package/src/funcs/projectsAcceptProjectTransferRequest.ts +2 -2
  239. package/src/funcs/projectsCreateProject.ts +2 -2
  240. package/src/funcs/teamsPatchTeam.ts +2 -2
  241. package/src/lib/config.ts +3 -3
  242. package/src/mcp-server/mcp-server.ts +1 -1
  243. package/src/mcp-server/server.ts +1 -1
  244. package/src/models/acceptprojecttransferrequestop.ts +449 -4
  245. package/src/models/addbypassipop.ts +69 -78
  246. package/src/models/authtoken.ts +10 -8
  247. package/src/models/authuser.ts +93 -0
  248. package/src/models/canceldeploymentop.ts +734 -295
  249. package/src/models/createcustomenvironmentop.ts +1 -1
  250. package/src/models/createdeploymentop.ts +1122 -641
  251. package/src/models/createlogdrainop.ts +4 -4
  252. package/src/models/createprojectenvop.ts +2 -2
  253. package/src/models/createprojectop.ts +734 -1475
  254. package/src/models/createwebhookop.ts +4 -0
  255. package/src/models/editprojectenvop.ts +1 -1
  256. package/src/models/exchangessotokenop.ts +8 -8
  257. package/src/models/filterprojectenvsop.ts +3 -3
  258. package/src/models/getaliasop.ts +0 -1042
  259. package/src/models/getbypassipop.ts +100 -404
  260. package/src/models/getcustomenvironmentop.ts +1 -1
  261. package/src/models/getdeploymentop.ts +1761 -780
  262. package/src/models/getdeploymentsop.ts +1 -0
  263. package/src/models/getfirewallconfigop.ts +1 -0
  264. package/src/models/getintegrationlogdrainsop.ts +6 -4
  265. package/src/models/getprojectmembersop.ts +1 -0
  266. package/src/models/getprojectsop.ts +612 -1335
  267. package/src/models/getrecordsop.ts +16 -0
  268. package/src/models/getteammembersop.ts +2 -0
  269. package/src/models/getv9projectsidornamecustomenvironmentsop.ts +1 -1
  270. package/src/models/getwebhookop.ts +2 -0
  271. package/src/models/getwebhooksop.ts +5 -0
  272. package/src/models/inviteusertoteamop.ts +11 -0
  273. package/src/models/listaccessgroupmembersop.ts +1 -0
  274. package/src/models/listaliasesop.ts +290 -74
  275. package/src/models/listdeploymentaliasesop.ts +58 -70
  276. package/src/models/patchedgeconfigitemsop.ts +0 -8
  277. package/src/models/patchteamop.ts +311 -0
  278. package/src/models/putfirewallconfigop.ts +1 -0
  279. package/src/models/removecustomenvironmentop.ts +1 -1
  280. package/src/models/removeprojectenvop.ts +3 -3
  281. package/src/models/rerequestcheckop.ts +7 -0
  282. package/src/models/team.ts +240 -0
  283. package/src/models/teamlimited.ts +5 -0
  284. package/src/models/updatecustomenvironmentop.ts +1 -1
  285. package/src/models/updateprojectdatacacheop.ts +684 -1411
  286. package/src/models/updateprojectop.ts +601 -1343
  287. package/src/models/userevent.ts +3615 -3202
  288. package/src/sdk/aliases.ts +2 -2
  289. package/temp/example.ts +11 -0
  290. package/vercel-spec.json +2337 -2625
@@ -57,8 +57,8 @@ export type SpeedInsights = {
57
57
  };
58
58
 
59
59
  export const UpdateProjectDataCacheEnvId2 = {
60
- Production: "production",
61
60
  Preview: "preview",
61
+ Production: "production",
62
62
  } as const;
63
63
  export type UpdateProjectDataCacheEnvId2 = ClosedEnum<
64
64
  typeof UpdateProjectDataCacheEnvId2
@@ -74,6 +74,7 @@ export type UpdateProjectDataCacheAws = {
74
74
  export type UpdateProjectDataCacheConnectConfigurations = {
75
75
  envId: string | UpdateProjectDataCacheEnvId2;
76
76
  connectConfigurationId: string;
77
+ dc?: string | undefined;
77
78
  passive: boolean;
78
79
  buildsEnabled: boolean;
79
80
  aws?: UpdateProjectDataCacheAws | undefined;
@@ -461,8 +462,8 @@ export type Env = {
461
462
  * The type of environment (production, preview, or development)
462
463
  */
463
464
  export const UpdateProjectDataCacheType = {
464
- Production: "production",
465
465
  Preview: "preview",
466
+ Production: "production",
466
467
  Development: "development",
467
468
  } as const;
468
469
  /**
@@ -629,6 +630,7 @@ export const UpdateProjectDataCacheFramework = {
629
630
  Sanity: "sanity",
630
631
  Storybook: "storybook",
631
632
  Nitro: "nitro",
633
+ Hono: "hono",
632
634
  } as const;
633
635
  export type UpdateProjectDataCacheFramework = ClosedEnum<
634
636
  typeof UpdateProjectDataCacheFramework
@@ -799,14 +801,14 @@ export type LatestDeployments = {
799
801
  withCache?: boolean | undefined;
800
802
  };
801
803
 
802
- export const UpdateProjectDataCacheLinkProjectsResponseType = {
804
+ export const UpdateProjectDataCacheLinkProjectsResponse200Type = {
803
805
  GithubCustomHost: "github-custom-host",
804
806
  } as const;
805
- export type UpdateProjectDataCacheLinkProjectsResponseType = ClosedEnum<
806
- typeof UpdateProjectDataCacheLinkProjectsResponseType
807
+ export type UpdateProjectDataCacheLinkProjectsResponse200Type = ClosedEnum<
808
+ typeof UpdateProjectDataCacheLinkProjectsResponse200Type
807
809
  >;
808
810
 
809
- export type UpdateProjectDataCacheLinkProjectsDeployHooks = {
811
+ export type UpdateProjectDataCacheLinkProjectsResponseDeployHooks = {
810
812
  createdAt?: number | undefined;
811
813
  id: string;
812
814
  name: string;
@@ -814,7 +816,7 @@ export type UpdateProjectDataCacheLinkProjectsDeployHooks = {
814
816
  url: string;
815
817
  };
816
818
 
817
- export type Link4 = {
819
+ export type Link5 = {
818
820
  org?: string | undefined;
819
821
  /**
820
822
  * A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes.
@@ -822,24 +824,24 @@ export type Link4 = {
822
824
  repoOwnerId?: number | undefined;
823
825
  repo?: string | undefined;
824
826
  repoId?: number | undefined;
825
- type?: UpdateProjectDataCacheLinkProjectsResponseType | undefined;
827
+ type?: UpdateProjectDataCacheLinkProjectsResponse200Type | undefined;
826
828
  host?: string | undefined;
827
829
  createdAt?: number | undefined;
828
- deployHooks: Array<UpdateProjectDataCacheLinkProjectsDeployHooks>;
830
+ deployHooks: Array<UpdateProjectDataCacheLinkProjectsResponseDeployHooks>;
829
831
  gitCredentialId?: string | undefined;
830
832
  updatedAt?: number | undefined;
831
833
  sourceless?: boolean | undefined;
832
834
  productionBranch?: string | undefined;
833
835
  };
834
836
 
835
- export const UpdateProjectDataCacheLinkProjectsType = {
837
+ export const UpdateProjectDataCacheLinkProjectsResponseType = {
836
838
  Bitbucket: "bitbucket",
837
839
  } as const;
838
- export type UpdateProjectDataCacheLinkProjectsType = ClosedEnum<
839
- typeof UpdateProjectDataCacheLinkProjectsType
840
+ export type UpdateProjectDataCacheLinkProjectsResponseType = ClosedEnum<
841
+ typeof UpdateProjectDataCacheLinkProjectsResponseType
840
842
  >;
841
843
 
842
- export type UpdateProjectDataCacheLinkDeployHooks = {
844
+ export type UpdateProjectDataCacheLinkProjectsDeployHooks = {
843
845
  createdAt?: number | undefined;
844
846
  id: string;
845
847
  name: string;
@@ -847,29 +849,29 @@ export type UpdateProjectDataCacheLinkDeployHooks = {
847
849
  url: string;
848
850
  };
849
851
 
850
- export type Link3 = {
852
+ export type Link4 = {
851
853
  name?: string | undefined;
852
854
  slug?: string | undefined;
853
855
  owner?: string | undefined;
854
- type?: UpdateProjectDataCacheLinkProjectsType | undefined;
856
+ type?: UpdateProjectDataCacheLinkProjectsResponseType | undefined;
855
857
  uuid?: string | undefined;
856
858
  workspaceUuid?: string | undefined;
857
859
  createdAt?: number | undefined;
858
- deployHooks: Array<UpdateProjectDataCacheLinkDeployHooks>;
860
+ deployHooks: Array<UpdateProjectDataCacheLinkProjectsDeployHooks>;
859
861
  gitCredentialId?: string | undefined;
860
862
  updatedAt?: number | undefined;
861
863
  sourceless?: boolean | undefined;
862
864
  productionBranch?: string | undefined;
863
865
  };
864
866
 
865
- export const UpdateProjectDataCacheLinkType = {
867
+ export const UpdateProjectDataCacheLinkProjectsType = {
866
868
  Gitlab: "gitlab",
867
869
  } as const;
868
- export type UpdateProjectDataCacheLinkType = ClosedEnum<
869
- typeof UpdateProjectDataCacheLinkType
870
+ export type UpdateProjectDataCacheLinkProjectsType = ClosedEnum<
871
+ typeof UpdateProjectDataCacheLinkProjectsType
870
872
  >;
871
873
 
872
- export type LinkDeployHooks = {
874
+ export type UpdateProjectDataCacheLinkDeployHooks = {
873
875
  createdAt?: number | undefined;
874
876
  id: string;
875
877
  name: string;
@@ -877,7 +879,7 @@ export type LinkDeployHooks = {
877
879
  url: string;
878
880
  };
879
881
 
880
- export type Link2 = {
882
+ export type Link3 = {
881
883
  projectId?: string | undefined;
882
884
  projectName?: string | undefined;
883
885
  projectNameWithNamespace?: string | undefined;
@@ -887,11 +889,43 @@ export type Link2 = {
887
889
  */
888
890
  projectOwnerId?: number | undefined;
889
891
  projectUrl?: string | undefined;
892
+ type?: UpdateProjectDataCacheLinkProjectsType | undefined;
893
+ createdAt?: number | undefined;
894
+ deployHooks: Array<UpdateProjectDataCacheLinkDeployHooks>;
895
+ gitCredentialId?: string | undefined;
896
+ updatedAt?: number | undefined;
897
+ sourceless?: boolean | undefined;
898
+ productionBranch?: string | undefined;
899
+ };
900
+
901
+ export const UpdateProjectDataCacheLinkType = {
902
+ GithubLimited: "github-limited",
903
+ } as const;
904
+ export type UpdateProjectDataCacheLinkType = ClosedEnum<
905
+ typeof UpdateProjectDataCacheLinkType
906
+ >;
907
+
908
+ export type LinkDeployHooks = {
909
+ createdAt?: number | undefined;
910
+ id: string;
911
+ name: string;
912
+ ref: string;
913
+ url: string;
914
+ };
915
+
916
+ export type Link2 = {
890
917
  type?: UpdateProjectDataCacheLinkType | undefined;
891
918
  createdAt?: number | undefined;
919
+ updatedAt?: number | undefined;
920
+ org?: string | undefined;
921
+ /**
922
+ * A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes.
923
+ */
924
+ repoOwnerId?: number | undefined;
925
+ repo?: string | undefined;
926
+ repoId?: number | undefined;
892
927
  deployHooks: Array<LinkDeployHooks>;
893
928
  gitCredentialId?: string | undefined;
894
- updatedAt?: number | undefined;
895
929
  sourceless?: boolean | undefined;
896
930
  productionBranch?: string | undefined;
897
931
  };
@@ -926,7 +960,7 @@ export type Link1 = {
926
960
  productionBranch?: string | undefined;
927
961
  };
928
962
 
929
- export type Link = Link1 | Link2 | Link3 | Link4;
963
+ export type Link = Link1 | Link2 | Link3 | Link4 | Link5;
930
964
 
931
965
  export type UpdateProjectDataCacheMicrofrontends2 = {
932
966
  updatedAt: number;
@@ -1279,11 +1313,11 @@ export type Targets = {
1279
1313
  };
1280
1314
 
1281
1315
  export type Permissions = {
1316
+ oauth2Connection?: Array<ACLAction> | undefined;
1282
1317
  user?: Array<ACLAction> | undefined;
1283
1318
  userConnection?: Array<ACLAction> | undefined;
1284
1319
  userSudo?: Array<ACLAction> | undefined;
1285
1320
  webAuthn?: Array<ACLAction> | undefined;
1286
- oauth2Connection?: Array<ACLAction> | undefined;
1287
1321
  accessGroup?: Array<ACLAction> | undefined;
1288
1322
  aliasGlobal?: Array<ACLAction> | undefined;
1289
1323
  analyticsSampling?: Array<ACLAction> | undefined;
@@ -1296,6 +1330,7 @@ export type Permissions = {
1296
1330
  billingInvoiceLanguage?: Array<ACLAction> | undefined;
1297
1331
  billingPlan?: Array<ACLAction> | undefined;
1298
1332
  billingPurchaseOrder?: Array<ACLAction> | undefined;
1333
+ billingRefund?: Array<ACLAction> | undefined;
1299
1334
  billingTaxId?: Array<ACLAction> | undefined;
1300
1335
  blob?: Array<ACLAction> | undefined;
1301
1336
  budget?: Array<ACLAction> | undefined;
@@ -1305,6 +1340,7 @@ export type Permissions = {
1305
1340
  concurrentBuilds?: Array<ACLAction> | undefined;
1306
1341
  connect?: Array<ACLAction> | undefined;
1307
1342
  connectConfiguration?: Array<ACLAction> | undefined;
1343
+ defaultDeploymentProtection?: Array<ACLAction> | undefined;
1308
1344
  domain?: Array<ACLAction> | undefined;
1309
1345
  domainAcceptDelegation?: Array<ACLAction> | undefined;
1310
1346
  domainAuthCodes?: Array<ACLAction> | undefined;
@@ -1337,6 +1373,7 @@ export type Permissions = {
1337
1373
  marketplaceInstallationMember?: Array<ACLAction> | undefined;
1338
1374
  marketplaceBillingData?: Array<ACLAction> | undefined;
1339
1375
  marketplaceInvoice?: Array<ACLAction> | undefined;
1376
+ marketplaceSettings?: Array<ACLAction> | undefined;
1340
1377
  marketplaceExperimentationItem?: Array<ACLAction> | undefined;
1341
1378
  marketplaceExperimentationEdgeConfigData?: Array<ACLAction> | undefined;
1342
1379
  jobGlobal?: Array<ACLAction> | undefined;
@@ -1363,8 +1400,10 @@ export type Permissions = {
1363
1400
  notificationStatementOfReasons?: Array<ACLAction> | undefined;
1364
1401
  observabilityConfiguration?: Array<ACLAction> | undefined;
1365
1402
  observabilityNotebook?: Array<ACLAction> | undefined;
1403
+ observabilityFunnel?: Array<ACLAction> | undefined;
1366
1404
  openTelemetryEndpoint?: Array<ACLAction> | undefined;
1367
1405
  vercelAppInstallation?: Array<ACLAction> | undefined;
1406
+ vercelAppInstallationRequest?: Array<ACLAction> | undefined;
1368
1407
  paymentMethod?: Array<ACLAction> | undefined;
1369
1408
  permissions?: Array<ACLAction> | undefined;
1370
1409
  postgres?: Array<ACLAction> | undefined;
@@ -1426,6 +1465,7 @@ export type Permissions = {
1426
1465
  connectConfigurationLink?: Array<ACLAction> | undefined;
1427
1466
  dataCacheNamespace?: Array<ACLAction> | undefined;
1428
1467
  deployment?: Array<ACLAction> | undefined;
1468
+ deploymentBuildLogs?: Array<ACLAction> | undefined;
1429
1469
  deploymentCheck?: Array<ACLAction> | undefined;
1430
1470
  deploymentCheckPreview?: Array<ACLAction> | undefined;
1431
1471
  deploymentCheckReRunFromProductionBranch?: Array<ACLAction> | undefined;
@@ -1476,6 +1516,7 @@ export type Permissions = {
1476
1516
  projectDeploymentExpiration?: Array<ACLAction> | undefined;
1477
1517
  projectRollingRelease?: Array<ACLAction> | undefined;
1478
1518
  projectTier?: Array<ACLAction> | undefined;
1519
+ projectOIDCToken?: Array<ACLAction> | undefined;
1479
1520
  seawallConfig?: Array<ACLAction> | undefined;
1480
1521
  skewProtection?: Array<ACLAction> | undefined;
1481
1522
  analytics?: Array<ACLAction> | undefined;
@@ -1545,8 +1586,8 @@ export type ProtectionBypass1 = {
1545
1586
  export type ProtectionBypass = ProtectionBypass1 | ProtectionBypass2;
1546
1587
 
1547
1588
  export const UpdateProjectDataCacheTrustedIpsDeploymentType = {
1548
- Production: "production",
1549
1589
  Preview: "preview",
1590
+ Production: "production",
1550
1591
  All: "all",
1551
1592
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
1552
1593
  AllExceptCustomDomains: "all_except_custom_domains",
@@ -1560,8 +1601,8 @@ export type TrustedIps2 = {
1560
1601
  };
1561
1602
 
1562
1603
  export const TrustedIpsDeploymentType = {
1563
- Production: "production",
1564
1604
  Preview: "preview",
1605
+ Production: "production",
1565
1606
  All: "all",
1566
1607
  ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
1567
1608
  AllExceptCustomDomains: "all_except_custom_domains",
@@ -1619,6 +1660,10 @@ export type GitProviderOptions = {
1619
1660
  * Whether the Vercel bot should automatically create GitHub deployments https://docs.github.com/en/rest/deployments/deployments#about-deployments NOTE: repository-dispatch events should be used instead
1620
1661
  */
1621
1662
  createDeployments: CreateDeployments;
1663
+ /**
1664
+ * Whether the Vercel bot should not automatically create GitHub repository-dispatch events on deployment events. https://vercel.com/docs/git/vercel-for-github#repository-dispatch-events
1665
+ */
1666
+ disableRepositoryDispatchEvents?: boolean | undefined;
1622
1667
  };
1623
1668
 
1624
1669
  export type UpdateProjectDataCacheWebAnalytics = {
@@ -1629,200 +1674,46 @@ export type UpdateProjectDataCacheWebAnalytics = {
1629
1674
  hasData?: boolean | undefined;
1630
1675
  };
1631
1676
 
1632
- export type Src2 = {
1633
- re?: string | undefined;
1634
- eq?: string | undefined;
1635
- neq?: string | undefined;
1636
- inc?: Array<string> | undefined;
1637
- ninc?: Array<string> | undefined;
1638
- pre?: string | undefined;
1639
- suf?: string | undefined;
1640
- gt?: number | undefined;
1641
- gte?: number | undefined;
1642
- lt?: number | undefined;
1643
- lte?: number | undefined;
1644
- };
1645
-
1646
- export type Src = Src2 | string;
1647
-
1648
- export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType =
1649
- {
1650
- Path: "path",
1651
- Host: "host",
1652
- Method: "method",
1653
- Header: "header",
1654
- Cookie: "cookie",
1655
- Query: "query",
1656
- IpAddress: "ip_address",
1657
- Protocol: "protocol",
1658
- Scheme: "scheme",
1659
- Environment: "environment",
1660
- Region: "region",
1661
- InitialRequestPath: "initial_request_path",
1662
- } as const;
1663
- export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType =
1664
- ClosedEnum<
1665
- typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType
1666
- >;
1667
-
1668
- export type UpdateProjectDataCacheValueProjects2 = {
1669
- re?: string | undefined;
1670
- eq?: string | undefined;
1671
- neq?: string | undefined;
1672
- inc?: Array<string> | undefined;
1673
- ninc?: Array<string> | undefined;
1674
- pre?: string | undefined;
1675
- suf?: string | undefined;
1676
- gt?: number | undefined;
1677
- gte?: number | undefined;
1678
- lt?: number | undefined;
1679
- lte?: number | undefined;
1680
- };
1681
-
1682
- export type UpdateProjectDataCacheProjectsValue =
1683
- | UpdateProjectDataCacheValueProjects2
1684
- | string;
1685
-
1686
- export type Has = {
1687
- type:
1688
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType;
1689
- key?: string | undefined;
1690
- value?: UpdateProjectDataCacheValueProjects2 | string | undefined;
1691
- };
1692
-
1693
- export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType =
1694
- {
1695
- Path: "path",
1696
- Host: "host",
1697
- Method: "method",
1698
- Header: "header",
1699
- Cookie: "cookie",
1700
- Query: "query",
1701
- IpAddress: "ip_address",
1702
- Protocol: "protocol",
1703
- Scheme: "scheme",
1704
- Environment: "environment",
1705
- Region: "region",
1706
- InitialRequestPath: "initial_request_path",
1707
- } as const;
1708
- export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType =
1709
- ClosedEnum<
1710
- typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType
1711
- >;
1712
-
1713
- export type UpdateProjectDataCacheValue2 = {
1714
- re?: string | undefined;
1715
- eq?: string | undefined;
1716
- neq?: string | undefined;
1717
- inc?: Array<string> | undefined;
1718
- ninc?: Array<string> | undefined;
1719
- pre?: string | undefined;
1720
- suf?: string | undefined;
1721
- gt?: number | undefined;
1722
- gte?: number | undefined;
1723
- lt?: number | undefined;
1724
- lte?: number | undefined;
1725
- };
1726
-
1727
- export type UpdateProjectDataCacheValue = UpdateProjectDataCacheValue2 | string;
1728
-
1729
- export type Missing = {
1730
- type:
1731
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType;
1732
- key?: string | undefined;
1733
- value?: UpdateProjectDataCacheValue2 | string | undefined;
1734
- };
1735
-
1736
- export const Handle = {
1737
- Init: "init",
1738
- Finalize: "finalize",
1739
- } as const;
1740
- export type Handle = ClosedEnum<typeof Handle>;
1741
-
1742
- export const UpdateProjectDataCacheProjectsResponse200Action = {
1743
- Deny: "deny",
1744
- Challenge: "challenge",
1677
+ export const UpdateProjectDataCacheProjectsResponseAction = {
1745
1678
  Log: "log",
1746
- Bypass: "bypass",
1747
- RateLimit: "rate_limit",
1748
- Redirect: "redirect",
1749
- } as const;
1750
- export type UpdateProjectDataCacheProjectsResponse200Action = ClosedEnum<
1751
- typeof UpdateProjectDataCacheProjectsResponse200Action
1752
- >;
1753
-
1754
- export const UpdateProjectDataCacheAlgo = {
1755
- FixedWindow: "fixed_window",
1756
- TokenBucket: "token_bucket",
1679
+ Challenge: "challenge",
1680
+ Deny: "deny",
1757
1681
  } as const;
1758
- export type UpdateProjectDataCacheAlgo = ClosedEnum<
1759
- typeof UpdateProjectDataCacheAlgo
1682
+ export type UpdateProjectDataCacheProjectsResponseAction = ClosedEnum<
1683
+ typeof UpdateProjectDataCacheProjectsResponseAction
1760
1684
  >;
1761
1685
 
1762
- export type Erl = {
1763
- algo: UpdateProjectDataCacheAlgo;
1764
- window: number;
1765
- limit: number;
1766
- keys: Array<string>;
1767
- };
1768
-
1769
- export type UpdateProjectDataCacheMitigate = {
1770
- action: UpdateProjectDataCacheProjectsResponse200Action;
1771
- ruleId: string;
1772
- ttl?: number | undefined;
1773
- erl?: Erl | undefined;
1774
- };
1775
-
1776
- export type FirewallRoutes = {
1777
- src?: Src2 | string | undefined;
1778
- has?: Array<Has> | undefined;
1779
- missing?: Array<Missing> | undefined;
1780
- dest?: string | undefined;
1781
- status?: number | undefined;
1782
- handle?: Handle | undefined;
1783
- mitigate?: UpdateProjectDataCacheMitigate | undefined;
1686
+ export type BotFilter = {
1687
+ active: boolean;
1688
+ action?: UpdateProjectDataCacheProjectsResponseAction | undefined;
1784
1689
  };
1785
1690
 
1786
1691
  export const UpdateProjectDataCacheAction = {
1787
- Deny: "deny",
1788
- Challenge: "challenge",
1789
1692
  Log: "log",
1693
+ Challenge: "challenge",
1694
+ Deny: "deny",
1790
1695
  } as const;
1791
1696
  export type UpdateProjectDataCacheAction = ClosedEnum<
1792
1697
  typeof UpdateProjectDataCacheAction
1793
1698
  >;
1794
1699
 
1795
- export type BotFilter = {
1700
+ export type UpdateProjectDataCacheAiBots = {
1796
1701
  active: boolean;
1797
1702
  action?: UpdateProjectDataCacheAction | undefined;
1798
1703
  };
1799
1704
 
1800
1705
  export const UpdateProjectDataCacheProjectsAction = {
1801
- Deny: "deny",
1802
- Challenge: "challenge",
1803
1706
  Log: "log",
1707
+ Challenge: "challenge",
1708
+ Deny: "deny",
1804
1709
  } as const;
1805
1710
  export type UpdateProjectDataCacheProjectsAction = ClosedEnum<
1806
1711
  typeof UpdateProjectDataCacheProjectsAction
1807
1712
  >;
1808
1713
 
1809
- export type UpdateProjectDataCacheAiBots = {
1810
- active: boolean;
1811
- action?: UpdateProjectDataCacheProjectsAction | undefined;
1812
- };
1813
-
1814
- export const UpdateProjectDataCacheProjectsResponseAction = {
1815
- Deny: "deny",
1816
- Challenge: "challenge",
1817
- Log: "log",
1818
- } as const;
1819
- export type UpdateProjectDataCacheProjectsResponseAction = ClosedEnum<
1820
- typeof UpdateProjectDataCacheProjectsResponseAction
1821
- >;
1822
-
1823
1714
  export type UpdateProjectDataCacheOwasp = {
1824
1715
  active: boolean;
1825
- action?: UpdateProjectDataCacheProjectsResponseAction | undefined;
1716
+ action?: UpdateProjectDataCacheProjectsAction | undefined;
1826
1717
  };
1827
1718
 
1828
1719
  export type UpdateProjectDataCacheManagedRules = {
@@ -1838,7 +1729,6 @@ export type UpdateProjectDataCacheSecurity = {
1838
1729
  firewallUpdatedAt?: number | undefined;
1839
1730
  attackModeActiveUntil?: number | null | undefined;
1840
1731
  firewallConfigVersion?: number | undefined;
1841
- firewallRoutes?: Array<FirewallRoutes> | undefined;
1842
1732
  firewallSeawallEnabled?: boolean | undefined;
1843
1733
  ja3Enabled?: boolean | undefined;
1844
1734
  ja4Enabled?: boolean | undefined;
@@ -1917,7 +1807,7 @@ export type UpdateProjectDataCacheResponseBody = {
1917
1807
  id: string;
1918
1808
  ipBuckets?: Array<UpdateProjectDataCacheIpBuckets> | undefined;
1919
1809
  latestDeployments?: Array<LatestDeployments> | undefined;
1920
- link?: Link1 | Link2 | Link3 | Link4 | undefined;
1810
+ link?: Link1 | Link2 | Link3 | Link4 | Link5 | undefined;
1921
1811
  microfrontends?:
1922
1812
  | UpdateProjectDataCacheMicrofrontends1
1923
1813
  | UpdateProjectDataCacheMicrofrontends2
@@ -1976,6 +1866,7 @@ export type UpdateProjectDataCacheResponseBody = {
1976
1866
  oidcTokenConfig?: UpdateProjectDataCacheOidcTokenConfig | undefined;
1977
1867
  tier?: UpdateProjectDataCacheTier | undefined;
1978
1868
  features?: Features | undefined;
1869
+ v0?: boolean | undefined;
1979
1870
  };
1980
1871
 
1981
1872
  /** @internal */
@@ -2378,6 +2269,7 @@ export const UpdateProjectDataCacheConnectConfigurations$inboundSchema:
2378
2269
  > = z.object({
2379
2270
  envId: z.union([z.string(), UpdateProjectDataCacheEnvId2$inboundSchema]),
2380
2271
  connectConfigurationId: z.string(),
2272
+ dc: z.string().optional(),
2381
2273
  passive: z.boolean(),
2382
2274
  buildsEnabled: z.boolean(),
2383
2275
  aws: z.lazy(() => UpdateProjectDataCacheAws$inboundSchema).optional(),
@@ -2389,6 +2281,7 @@ export const UpdateProjectDataCacheConnectConfigurations$inboundSchema:
2389
2281
  export type UpdateProjectDataCacheConnectConfigurations$Outbound = {
2390
2282
  envId: string | string;
2391
2283
  connectConfigurationId: string;
2284
+ dc?: string | undefined;
2392
2285
  passive: boolean;
2393
2286
  buildsEnabled: boolean;
2394
2287
  aws?: UpdateProjectDataCacheAws$Outbound | undefined;
@@ -2405,6 +2298,7 @@ export const UpdateProjectDataCacheConnectConfigurations$outboundSchema:
2405
2298
  > = z.object({
2406
2299
  envId: z.union([z.string(), UpdateProjectDataCacheEnvId2$outboundSchema]),
2407
2300
  connectConfigurationId: z.string(),
2301
+ dc: z.string().optional(),
2408
2302
  passive: z.boolean(),
2409
2303
  buildsEnabled: z.boolean(),
2410
2304
  aws: z.lazy(() => UpdateProjectDataCacheAws$outboundSchema).optional(),
@@ -5601,32 +5495,32 @@ export function latestDeploymentsFromJSON(
5601
5495
  }
5602
5496
 
5603
5497
  /** @internal */
5604
- export const UpdateProjectDataCacheLinkProjectsResponseType$inboundSchema:
5605
- z.ZodNativeEnum<typeof UpdateProjectDataCacheLinkProjectsResponseType> = z
5606
- .nativeEnum(UpdateProjectDataCacheLinkProjectsResponseType);
5498
+ export const UpdateProjectDataCacheLinkProjectsResponse200Type$inboundSchema:
5499
+ z.ZodNativeEnum<typeof UpdateProjectDataCacheLinkProjectsResponse200Type> = z
5500
+ .nativeEnum(UpdateProjectDataCacheLinkProjectsResponse200Type);
5607
5501
 
5608
5502
  /** @internal */
5609
- export const UpdateProjectDataCacheLinkProjectsResponseType$outboundSchema:
5610
- z.ZodNativeEnum<typeof UpdateProjectDataCacheLinkProjectsResponseType> =
5611
- UpdateProjectDataCacheLinkProjectsResponseType$inboundSchema;
5503
+ export const UpdateProjectDataCacheLinkProjectsResponse200Type$outboundSchema:
5504
+ z.ZodNativeEnum<typeof UpdateProjectDataCacheLinkProjectsResponse200Type> =
5505
+ UpdateProjectDataCacheLinkProjectsResponse200Type$inboundSchema;
5612
5506
 
5613
5507
  /**
5614
5508
  * @internal
5615
5509
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5616
5510
  */
5617
- export namespace UpdateProjectDataCacheLinkProjectsResponseType$ {
5618
- /** @deprecated use `UpdateProjectDataCacheLinkProjectsResponseType$inboundSchema` instead. */
5511
+ export namespace UpdateProjectDataCacheLinkProjectsResponse200Type$ {
5512
+ /** @deprecated use `UpdateProjectDataCacheLinkProjectsResponse200Type$inboundSchema` instead. */
5619
5513
  export const inboundSchema =
5620
- UpdateProjectDataCacheLinkProjectsResponseType$inboundSchema;
5621
- /** @deprecated use `UpdateProjectDataCacheLinkProjectsResponseType$outboundSchema` instead. */
5514
+ UpdateProjectDataCacheLinkProjectsResponse200Type$inboundSchema;
5515
+ /** @deprecated use `UpdateProjectDataCacheLinkProjectsResponse200Type$outboundSchema` instead. */
5622
5516
  export const outboundSchema =
5623
- UpdateProjectDataCacheLinkProjectsResponseType$outboundSchema;
5517
+ UpdateProjectDataCacheLinkProjectsResponse200Type$outboundSchema;
5624
5518
  }
5625
5519
 
5626
5520
  /** @internal */
5627
- export const UpdateProjectDataCacheLinkProjectsDeployHooks$inboundSchema:
5521
+ export const UpdateProjectDataCacheLinkProjectsResponseDeployHooks$inboundSchema:
5628
5522
  z.ZodType<
5629
- UpdateProjectDataCacheLinkProjectsDeployHooks,
5523
+ UpdateProjectDataCacheLinkProjectsResponseDeployHooks,
5630
5524
  z.ZodTypeDef,
5631
5525
  unknown
5632
5526
  > = z.object({
@@ -5638,7 +5532,7 @@ export const UpdateProjectDataCacheLinkProjectsDeployHooks$inboundSchema:
5638
5532
  });
5639
5533
 
5640
5534
  /** @internal */
5641
- export type UpdateProjectDataCacheLinkProjectsDeployHooks$Outbound = {
5535
+ export type UpdateProjectDataCacheLinkProjectsResponseDeployHooks$Outbound = {
5642
5536
  createdAt?: number | undefined;
5643
5537
  id: string;
5644
5538
  name: string;
@@ -5647,11 +5541,11 @@ export type UpdateProjectDataCacheLinkProjectsDeployHooks$Outbound = {
5647
5541
  };
5648
5542
 
5649
5543
  /** @internal */
5650
- export const UpdateProjectDataCacheLinkProjectsDeployHooks$outboundSchema:
5544
+ export const UpdateProjectDataCacheLinkProjectsResponseDeployHooks$outboundSchema:
5651
5545
  z.ZodType<
5652
- UpdateProjectDataCacheLinkProjectsDeployHooks$Outbound,
5546
+ UpdateProjectDataCacheLinkProjectsResponseDeployHooks$Outbound,
5653
5547
  z.ZodTypeDef,
5654
- UpdateProjectDataCacheLinkProjectsDeployHooks
5548
+ UpdateProjectDataCacheLinkProjectsResponseDeployHooks
5655
5549
  > = z.object({
5656
5550
  createdAt: z.number().optional(),
5657
5551
  id: z.string(),
@@ -5664,57 +5558,60 @@ export const UpdateProjectDataCacheLinkProjectsDeployHooks$outboundSchema:
5664
5558
  * @internal
5665
5559
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5666
5560
  */
5667
- export namespace UpdateProjectDataCacheLinkProjectsDeployHooks$ {
5668
- /** @deprecated use `UpdateProjectDataCacheLinkProjectsDeployHooks$inboundSchema` instead. */
5561
+ export namespace UpdateProjectDataCacheLinkProjectsResponseDeployHooks$ {
5562
+ /** @deprecated use `UpdateProjectDataCacheLinkProjectsResponseDeployHooks$inboundSchema` instead. */
5669
5563
  export const inboundSchema =
5670
- UpdateProjectDataCacheLinkProjectsDeployHooks$inboundSchema;
5671
- /** @deprecated use `UpdateProjectDataCacheLinkProjectsDeployHooks$outboundSchema` instead. */
5564
+ UpdateProjectDataCacheLinkProjectsResponseDeployHooks$inboundSchema;
5565
+ /** @deprecated use `UpdateProjectDataCacheLinkProjectsResponseDeployHooks$outboundSchema` instead. */
5672
5566
  export const outboundSchema =
5673
- UpdateProjectDataCacheLinkProjectsDeployHooks$outboundSchema;
5674
- /** @deprecated use `UpdateProjectDataCacheLinkProjectsDeployHooks$Outbound` instead. */
5675
- export type Outbound = UpdateProjectDataCacheLinkProjectsDeployHooks$Outbound;
5567
+ UpdateProjectDataCacheLinkProjectsResponseDeployHooks$outboundSchema;
5568
+ /** @deprecated use `UpdateProjectDataCacheLinkProjectsResponseDeployHooks$Outbound` instead. */
5569
+ export type Outbound =
5570
+ UpdateProjectDataCacheLinkProjectsResponseDeployHooks$Outbound;
5676
5571
  }
5677
5572
 
5678
- export function updateProjectDataCacheLinkProjectsDeployHooksToJSON(
5679
- updateProjectDataCacheLinkProjectsDeployHooks:
5680
- UpdateProjectDataCacheLinkProjectsDeployHooks,
5573
+ export function updateProjectDataCacheLinkProjectsResponseDeployHooksToJSON(
5574
+ updateProjectDataCacheLinkProjectsResponseDeployHooks:
5575
+ UpdateProjectDataCacheLinkProjectsResponseDeployHooks,
5681
5576
  ): string {
5682
5577
  return JSON.stringify(
5683
- UpdateProjectDataCacheLinkProjectsDeployHooks$outboundSchema.parse(
5684
- updateProjectDataCacheLinkProjectsDeployHooks,
5578
+ UpdateProjectDataCacheLinkProjectsResponseDeployHooks$outboundSchema.parse(
5579
+ updateProjectDataCacheLinkProjectsResponseDeployHooks,
5685
5580
  ),
5686
5581
  );
5687
5582
  }
5688
5583
 
5689
- export function updateProjectDataCacheLinkProjectsDeployHooksFromJSON(
5584
+ export function updateProjectDataCacheLinkProjectsResponseDeployHooksFromJSON(
5690
5585
  jsonString: string,
5691
5586
  ): SafeParseResult<
5692
- UpdateProjectDataCacheLinkProjectsDeployHooks,
5587
+ UpdateProjectDataCacheLinkProjectsResponseDeployHooks,
5693
5588
  SDKValidationError
5694
5589
  > {
5695
5590
  return safeParse(
5696
5591
  jsonString,
5697
5592
  (x) =>
5698
- UpdateProjectDataCacheLinkProjectsDeployHooks$inboundSchema.parse(
5593
+ UpdateProjectDataCacheLinkProjectsResponseDeployHooks$inboundSchema.parse(
5699
5594
  JSON.parse(x),
5700
5595
  ),
5701
- `Failed to parse 'UpdateProjectDataCacheLinkProjectsDeployHooks' from JSON`,
5596
+ `Failed to parse 'UpdateProjectDataCacheLinkProjectsResponseDeployHooks' from JSON`,
5702
5597
  );
5703
5598
  }
5704
5599
 
5705
5600
  /** @internal */
5706
- export const Link4$inboundSchema: z.ZodType<Link4, z.ZodTypeDef, unknown> = z
5601
+ export const Link5$inboundSchema: z.ZodType<Link5, z.ZodTypeDef, unknown> = z
5707
5602
  .object({
5708
5603
  org: z.string().optional(),
5709
5604
  repoOwnerId: z.number().optional(),
5710
5605
  repo: z.string().optional(),
5711
5606
  repoId: z.number().optional(),
5712
- type: UpdateProjectDataCacheLinkProjectsResponseType$inboundSchema
5607
+ type: UpdateProjectDataCacheLinkProjectsResponse200Type$inboundSchema
5713
5608
  .optional(),
5714
5609
  host: z.string().optional(),
5715
5610
  createdAt: z.number().optional(),
5716
5611
  deployHooks: z.array(
5717
- z.lazy(() => UpdateProjectDataCacheLinkProjectsDeployHooks$inboundSchema),
5612
+ z.lazy(() =>
5613
+ UpdateProjectDataCacheLinkProjectsResponseDeployHooks$inboundSchema
5614
+ ),
5718
5615
  ),
5719
5616
  gitCredentialId: z.string().optional(),
5720
5617
  updatedAt: z.number().optional(),
@@ -5723,7 +5620,7 @@ export const Link4$inboundSchema: z.ZodType<Link4, z.ZodTypeDef, unknown> = z
5723
5620
  });
5724
5621
 
5725
5622
  /** @internal */
5726
- export type Link4$Outbound = {
5623
+ export type Link5$Outbound = {
5727
5624
  org?: string | undefined;
5728
5625
  repoOwnerId?: number | undefined;
5729
5626
  repo?: string | undefined;
@@ -5731,7 +5628,9 @@ export type Link4$Outbound = {
5731
5628
  type?: string | undefined;
5732
5629
  host?: string | undefined;
5733
5630
  createdAt?: number | undefined;
5734
- deployHooks: Array<UpdateProjectDataCacheLinkProjectsDeployHooks$Outbound>;
5631
+ deployHooks: Array<
5632
+ UpdateProjectDataCacheLinkProjectsResponseDeployHooks$Outbound
5633
+ >;
5735
5634
  gitCredentialId?: string | undefined;
5736
5635
  updatedAt?: number | undefined;
5737
5636
  sourceless?: boolean | undefined;
@@ -5739,21 +5638,23 @@ export type Link4$Outbound = {
5739
5638
  };
5740
5639
 
5741
5640
  /** @internal */
5742
- export const Link4$outboundSchema: z.ZodType<
5743
- Link4$Outbound,
5641
+ export const Link5$outboundSchema: z.ZodType<
5642
+ Link5$Outbound,
5744
5643
  z.ZodTypeDef,
5745
- Link4
5644
+ Link5
5746
5645
  > = z.object({
5747
5646
  org: z.string().optional(),
5748
5647
  repoOwnerId: z.number().optional(),
5749
5648
  repo: z.string().optional(),
5750
5649
  repoId: z.number().optional(),
5751
- type: UpdateProjectDataCacheLinkProjectsResponseType$outboundSchema
5650
+ type: UpdateProjectDataCacheLinkProjectsResponse200Type$outboundSchema
5752
5651
  .optional(),
5753
5652
  host: z.string().optional(),
5754
5653
  createdAt: z.number().optional(),
5755
5654
  deployHooks: z.array(
5756
- z.lazy(() => UpdateProjectDataCacheLinkProjectsDeployHooks$outboundSchema),
5655
+ z.lazy(() =>
5656
+ UpdateProjectDataCacheLinkProjectsResponseDeployHooks$outboundSchema
5657
+ ),
5757
5658
  ),
5758
5659
  gitCredentialId: z.string().optional(),
5759
5660
  updatedAt: z.number().optional(),
@@ -5765,68 +5666,68 @@ export const Link4$outboundSchema: z.ZodType<
5765
5666
  * @internal
5766
5667
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5767
5668
  */
5768
- export namespace Link4$ {
5769
- /** @deprecated use `Link4$inboundSchema` instead. */
5770
- export const inboundSchema = Link4$inboundSchema;
5771
- /** @deprecated use `Link4$outboundSchema` instead. */
5772
- export const outboundSchema = Link4$outboundSchema;
5773
- /** @deprecated use `Link4$Outbound` instead. */
5774
- export type Outbound = Link4$Outbound;
5669
+ export namespace Link5$ {
5670
+ /** @deprecated use `Link5$inboundSchema` instead. */
5671
+ export const inboundSchema = Link5$inboundSchema;
5672
+ /** @deprecated use `Link5$outboundSchema` instead. */
5673
+ export const outboundSchema = Link5$outboundSchema;
5674
+ /** @deprecated use `Link5$Outbound` instead. */
5675
+ export type Outbound = Link5$Outbound;
5775
5676
  }
5776
5677
 
5777
- export function link4ToJSON(link4: Link4): string {
5778
- return JSON.stringify(Link4$outboundSchema.parse(link4));
5678
+ export function link5ToJSON(link5: Link5): string {
5679
+ return JSON.stringify(Link5$outboundSchema.parse(link5));
5779
5680
  }
5780
5681
 
5781
- export function link4FromJSON(
5682
+ export function link5FromJSON(
5782
5683
  jsonString: string,
5783
- ): SafeParseResult<Link4, SDKValidationError> {
5684
+ ): SafeParseResult<Link5, SDKValidationError> {
5784
5685
  return safeParse(
5785
5686
  jsonString,
5786
- (x) => Link4$inboundSchema.parse(JSON.parse(x)),
5787
- `Failed to parse 'Link4' from JSON`,
5687
+ (x) => Link5$inboundSchema.parse(JSON.parse(x)),
5688
+ `Failed to parse 'Link5' from JSON`,
5788
5689
  );
5789
5690
  }
5790
5691
 
5791
5692
  /** @internal */
5792
- export const UpdateProjectDataCacheLinkProjectsType$inboundSchema:
5793
- z.ZodNativeEnum<typeof UpdateProjectDataCacheLinkProjectsType> = z.nativeEnum(
5794
- UpdateProjectDataCacheLinkProjectsType,
5795
- );
5693
+ export const UpdateProjectDataCacheLinkProjectsResponseType$inboundSchema:
5694
+ z.ZodNativeEnum<typeof UpdateProjectDataCacheLinkProjectsResponseType> = z
5695
+ .nativeEnum(UpdateProjectDataCacheLinkProjectsResponseType);
5796
5696
 
5797
5697
  /** @internal */
5798
- export const UpdateProjectDataCacheLinkProjectsType$outboundSchema:
5799
- z.ZodNativeEnum<typeof UpdateProjectDataCacheLinkProjectsType> =
5800
- UpdateProjectDataCacheLinkProjectsType$inboundSchema;
5698
+ export const UpdateProjectDataCacheLinkProjectsResponseType$outboundSchema:
5699
+ z.ZodNativeEnum<typeof UpdateProjectDataCacheLinkProjectsResponseType> =
5700
+ UpdateProjectDataCacheLinkProjectsResponseType$inboundSchema;
5801
5701
 
5802
5702
  /**
5803
5703
  * @internal
5804
5704
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5805
5705
  */
5806
- export namespace UpdateProjectDataCacheLinkProjectsType$ {
5807
- /** @deprecated use `UpdateProjectDataCacheLinkProjectsType$inboundSchema` instead. */
5706
+ export namespace UpdateProjectDataCacheLinkProjectsResponseType$ {
5707
+ /** @deprecated use `UpdateProjectDataCacheLinkProjectsResponseType$inboundSchema` instead. */
5808
5708
  export const inboundSchema =
5809
- UpdateProjectDataCacheLinkProjectsType$inboundSchema;
5810
- /** @deprecated use `UpdateProjectDataCacheLinkProjectsType$outboundSchema` instead. */
5709
+ UpdateProjectDataCacheLinkProjectsResponseType$inboundSchema;
5710
+ /** @deprecated use `UpdateProjectDataCacheLinkProjectsResponseType$outboundSchema` instead. */
5811
5711
  export const outboundSchema =
5812
- UpdateProjectDataCacheLinkProjectsType$outboundSchema;
5712
+ UpdateProjectDataCacheLinkProjectsResponseType$outboundSchema;
5813
5713
  }
5814
5714
 
5815
5715
  /** @internal */
5816
- export const UpdateProjectDataCacheLinkDeployHooks$inboundSchema: z.ZodType<
5817
- UpdateProjectDataCacheLinkDeployHooks,
5818
- z.ZodTypeDef,
5819
- unknown
5820
- > = z.object({
5821
- createdAt: z.number().optional(),
5822
- id: z.string(),
5823
- name: z.string(),
5824
- ref: z.string(),
5825
- url: z.string(),
5826
- });
5716
+ export const UpdateProjectDataCacheLinkProjectsDeployHooks$inboundSchema:
5717
+ z.ZodType<
5718
+ UpdateProjectDataCacheLinkProjectsDeployHooks,
5719
+ z.ZodTypeDef,
5720
+ unknown
5721
+ > = z.object({
5722
+ createdAt: z.number().optional(),
5723
+ id: z.string(),
5724
+ name: z.string(),
5725
+ ref: z.string(),
5726
+ url: z.string(),
5727
+ });
5827
5728
 
5828
5729
  /** @internal */
5829
- export type UpdateProjectDataCacheLinkDeployHooks$Outbound = {
5730
+ export type UpdateProjectDataCacheLinkProjectsDeployHooks$Outbound = {
5830
5731
  createdAt?: number | undefined;
5831
5732
  id: string;
5832
5733
  name: string;
@@ -5835,66 +5736,74 @@ export type UpdateProjectDataCacheLinkDeployHooks$Outbound = {
5835
5736
  };
5836
5737
 
5837
5738
  /** @internal */
5838
- export const UpdateProjectDataCacheLinkDeployHooks$outboundSchema: z.ZodType<
5839
- UpdateProjectDataCacheLinkDeployHooks$Outbound,
5840
- z.ZodTypeDef,
5841
- UpdateProjectDataCacheLinkDeployHooks
5842
- > = z.object({
5843
- createdAt: z.number().optional(),
5844
- id: z.string(),
5845
- name: z.string(),
5846
- ref: z.string(),
5847
- url: z.string(),
5848
- });
5739
+ export const UpdateProjectDataCacheLinkProjectsDeployHooks$outboundSchema:
5740
+ z.ZodType<
5741
+ UpdateProjectDataCacheLinkProjectsDeployHooks$Outbound,
5742
+ z.ZodTypeDef,
5743
+ UpdateProjectDataCacheLinkProjectsDeployHooks
5744
+ > = z.object({
5745
+ createdAt: z.number().optional(),
5746
+ id: z.string(),
5747
+ name: z.string(),
5748
+ ref: z.string(),
5749
+ url: z.string(),
5750
+ });
5849
5751
 
5850
5752
  /**
5851
5753
  * @internal
5852
5754
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5853
5755
  */
5854
- export namespace UpdateProjectDataCacheLinkDeployHooks$ {
5855
- /** @deprecated use `UpdateProjectDataCacheLinkDeployHooks$inboundSchema` instead. */
5756
+ export namespace UpdateProjectDataCacheLinkProjectsDeployHooks$ {
5757
+ /** @deprecated use `UpdateProjectDataCacheLinkProjectsDeployHooks$inboundSchema` instead. */
5856
5758
  export const inboundSchema =
5857
- UpdateProjectDataCacheLinkDeployHooks$inboundSchema;
5858
- /** @deprecated use `UpdateProjectDataCacheLinkDeployHooks$outboundSchema` instead. */
5759
+ UpdateProjectDataCacheLinkProjectsDeployHooks$inboundSchema;
5760
+ /** @deprecated use `UpdateProjectDataCacheLinkProjectsDeployHooks$outboundSchema` instead. */
5859
5761
  export const outboundSchema =
5860
- UpdateProjectDataCacheLinkDeployHooks$outboundSchema;
5861
- /** @deprecated use `UpdateProjectDataCacheLinkDeployHooks$Outbound` instead. */
5862
- export type Outbound = UpdateProjectDataCacheLinkDeployHooks$Outbound;
5762
+ UpdateProjectDataCacheLinkProjectsDeployHooks$outboundSchema;
5763
+ /** @deprecated use `UpdateProjectDataCacheLinkProjectsDeployHooks$Outbound` instead. */
5764
+ export type Outbound = UpdateProjectDataCacheLinkProjectsDeployHooks$Outbound;
5863
5765
  }
5864
5766
 
5865
- export function updateProjectDataCacheLinkDeployHooksToJSON(
5866
- updateProjectDataCacheLinkDeployHooks: UpdateProjectDataCacheLinkDeployHooks,
5767
+ export function updateProjectDataCacheLinkProjectsDeployHooksToJSON(
5768
+ updateProjectDataCacheLinkProjectsDeployHooks:
5769
+ UpdateProjectDataCacheLinkProjectsDeployHooks,
5867
5770
  ): string {
5868
5771
  return JSON.stringify(
5869
- UpdateProjectDataCacheLinkDeployHooks$outboundSchema.parse(
5870
- updateProjectDataCacheLinkDeployHooks,
5772
+ UpdateProjectDataCacheLinkProjectsDeployHooks$outboundSchema.parse(
5773
+ updateProjectDataCacheLinkProjectsDeployHooks,
5871
5774
  ),
5872
5775
  );
5873
5776
  }
5874
5777
 
5875
- export function updateProjectDataCacheLinkDeployHooksFromJSON(
5778
+ export function updateProjectDataCacheLinkProjectsDeployHooksFromJSON(
5876
5779
  jsonString: string,
5877
- ): SafeParseResult<UpdateProjectDataCacheLinkDeployHooks, SDKValidationError> {
5780
+ ): SafeParseResult<
5781
+ UpdateProjectDataCacheLinkProjectsDeployHooks,
5782
+ SDKValidationError
5783
+ > {
5878
5784
  return safeParse(
5879
5785
  jsonString,
5880
5786
  (x) =>
5881
- UpdateProjectDataCacheLinkDeployHooks$inboundSchema.parse(JSON.parse(x)),
5882
- `Failed to parse 'UpdateProjectDataCacheLinkDeployHooks' from JSON`,
5787
+ UpdateProjectDataCacheLinkProjectsDeployHooks$inboundSchema.parse(
5788
+ JSON.parse(x),
5789
+ ),
5790
+ `Failed to parse 'UpdateProjectDataCacheLinkProjectsDeployHooks' from JSON`,
5883
5791
  );
5884
5792
  }
5885
5793
 
5886
5794
  /** @internal */
5887
- export const Link3$inboundSchema: z.ZodType<Link3, z.ZodTypeDef, unknown> = z
5795
+ export const Link4$inboundSchema: z.ZodType<Link4, z.ZodTypeDef, unknown> = z
5888
5796
  .object({
5889
5797
  name: z.string().optional(),
5890
5798
  slug: z.string().optional(),
5891
5799
  owner: z.string().optional(),
5892
- type: UpdateProjectDataCacheLinkProjectsType$inboundSchema.optional(),
5800
+ type: UpdateProjectDataCacheLinkProjectsResponseType$inboundSchema
5801
+ .optional(),
5893
5802
  uuid: z.string().optional(),
5894
5803
  workspaceUuid: z.string().optional(),
5895
5804
  createdAt: z.number().optional(),
5896
5805
  deployHooks: z.array(
5897
- z.lazy(() => UpdateProjectDataCacheLinkDeployHooks$inboundSchema),
5806
+ z.lazy(() => UpdateProjectDataCacheLinkProjectsDeployHooks$inboundSchema),
5898
5807
  ),
5899
5808
  gitCredentialId: z.string().optional(),
5900
5809
  updatedAt: z.number().optional(),
@@ -5903,7 +5812,7 @@ export const Link3$inboundSchema: z.ZodType<Link3, z.ZodTypeDef, unknown> = z
5903
5812
  });
5904
5813
 
5905
5814
  /** @internal */
5906
- export type Link3$Outbound = {
5815
+ export type Link4$Outbound = {
5907
5816
  name?: string | undefined;
5908
5817
  slug?: string | undefined;
5909
5818
  owner?: string | undefined;
@@ -5911,7 +5820,7 @@ export type Link3$Outbound = {
5911
5820
  uuid?: string | undefined;
5912
5821
  workspaceUuid?: string | undefined;
5913
5822
  createdAt?: number | undefined;
5914
- deployHooks: Array<UpdateProjectDataCacheLinkDeployHooks$Outbound>;
5823
+ deployHooks: Array<UpdateProjectDataCacheLinkProjectsDeployHooks$Outbound>;
5915
5824
  gitCredentialId?: string | undefined;
5916
5825
  updatedAt?: number | undefined;
5917
5826
  sourceless?: boolean | undefined;
@@ -5919,20 +5828,21 @@ export type Link3$Outbound = {
5919
5828
  };
5920
5829
 
5921
5830
  /** @internal */
5922
- export const Link3$outboundSchema: z.ZodType<
5923
- Link3$Outbound,
5831
+ export const Link4$outboundSchema: z.ZodType<
5832
+ Link4$Outbound,
5924
5833
  z.ZodTypeDef,
5925
- Link3
5834
+ Link4
5926
5835
  > = z.object({
5927
5836
  name: z.string().optional(),
5928
5837
  slug: z.string().optional(),
5929
5838
  owner: z.string().optional(),
5930
- type: UpdateProjectDataCacheLinkProjectsType$outboundSchema.optional(),
5839
+ type: UpdateProjectDataCacheLinkProjectsResponseType$outboundSchema
5840
+ .optional(),
5931
5841
  uuid: z.string().optional(),
5932
5842
  workspaceUuid: z.string().optional(),
5933
5843
  createdAt: z.number().optional(),
5934
5844
  deployHooks: z.array(
5935
- z.lazy(() => UpdateProjectDataCacheLinkDeployHooks$outboundSchema),
5845
+ z.lazy(() => UpdateProjectDataCacheLinkProjectsDeployHooks$outboundSchema),
5936
5846
  ),
5937
5847
  gitCredentialId: z.string().optional(),
5938
5848
  updatedAt: z.number().optional(),
@@ -5944,53 +5854,56 @@ export const Link3$outboundSchema: z.ZodType<
5944
5854
  * @internal
5945
5855
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5946
5856
  */
5947
- export namespace Link3$ {
5948
- /** @deprecated use `Link3$inboundSchema` instead. */
5949
- export const inboundSchema = Link3$inboundSchema;
5950
- /** @deprecated use `Link3$outboundSchema` instead. */
5951
- export const outboundSchema = Link3$outboundSchema;
5952
- /** @deprecated use `Link3$Outbound` instead. */
5953
- export type Outbound = Link3$Outbound;
5857
+ export namespace Link4$ {
5858
+ /** @deprecated use `Link4$inboundSchema` instead. */
5859
+ export const inboundSchema = Link4$inboundSchema;
5860
+ /** @deprecated use `Link4$outboundSchema` instead. */
5861
+ export const outboundSchema = Link4$outboundSchema;
5862
+ /** @deprecated use `Link4$Outbound` instead. */
5863
+ export type Outbound = Link4$Outbound;
5954
5864
  }
5955
5865
 
5956
- export function link3ToJSON(link3: Link3): string {
5957
- return JSON.stringify(Link3$outboundSchema.parse(link3));
5866
+ export function link4ToJSON(link4: Link4): string {
5867
+ return JSON.stringify(Link4$outboundSchema.parse(link4));
5958
5868
  }
5959
5869
 
5960
- export function link3FromJSON(
5870
+ export function link4FromJSON(
5961
5871
  jsonString: string,
5962
- ): SafeParseResult<Link3, SDKValidationError> {
5872
+ ): SafeParseResult<Link4, SDKValidationError> {
5963
5873
  return safeParse(
5964
5874
  jsonString,
5965
- (x) => Link3$inboundSchema.parse(JSON.parse(x)),
5966
- `Failed to parse 'Link3' from JSON`,
5875
+ (x) => Link4$inboundSchema.parse(JSON.parse(x)),
5876
+ `Failed to parse 'Link4' from JSON`,
5967
5877
  );
5968
5878
  }
5969
5879
 
5970
5880
  /** @internal */
5971
- export const UpdateProjectDataCacheLinkType$inboundSchema: z.ZodNativeEnum<
5972
- typeof UpdateProjectDataCacheLinkType
5973
- > = z.nativeEnum(UpdateProjectDataCacheLinkType);
5881
+ export const UpdateProjectDataCacheLinkProjectsType$inboundSchema:
5882
+ z.ZodNativeEnum<typeof UpdateProjectDataCacheLinkProjectsType> = z.nativeEnum(
5883
+ UpdateProjectDataCacheLinkProjectsType,
5884
+ );
5974
5885
 
5975
5886
  /** @internal */
5976
- export const UpdateProjectDataCacheLinkType$outboundSchema: z.ZodNativeEnum<
5977
- typeof UpdateProjectDataCacheLinkType
5978
- > = UpdateProjectDataCacheLinkType$inboundSchema;
5887
+ export const UpdateProjectDataCacheLinkProjectsType$outboundSchema:
5888
+ z.ZodNativeEnum<typeof UpdateProjectDataCacheLinkProjectsType> =
5889
+ UpdateProjectDataCacheLinkProjectsType$inboundSchema;
5979
5890
 
5980
5891
  /**
5981
5892
  * @internal
5982
5893
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
5983
5894
  */
5984
- export namespace UpdateProjectDataCacheLinkType$ {
5985
- /** @deprecated use `UpdateProjectDataCacheLinkType$inboundSchema` instead. */
5986
- export const inboundSchema = UpdateProjectDataCacheLinkType$inboundSchema;
5987
- /** @deprecated use `UpdateProjectDataCacheLinkType$outboundSchema` instead. */
5988
- export const outboundSchema = UpdateProjectDataCacheLinkType$outboundSchema;
5895
+ export namespace UpdateProjectDataCacheLinkProjectsType$ {
5896
+ /** @deprecated use `UpdateProjectDataCacheLinkProjectsType$inboundSchema` instead. */
5897
+ export const inboundSchema =
5898
+ UpdateProjectDataCacheLinkProjectsType$inboundSchema;
5899
+ /** @deprecated use `UpdateProjectDataCacheLinkProjectsType$outboundSchema` instead. */
5900
+ export const outboundSchema =
5901
+ UpdateProjectDataCacheLinkProjectsType$outboundSchema;
5989
5902
  }
5990
5903
 
5991
5904
  /** @internal */
5992
- export const LinkDeployHooks$inboundSchema: z.ZodType<
5993
- LinkDeployHooks,
5905
+ export const UpdateProjectDataCacheLinkDeployHooks$inboundSchema: z.ZodType<
5906
+ UpdateProjectDataCacheLinkDeployHooks,
5994
5907
  z.ZodTypeDef,
5995
5908
  unknown
5996
5909
  > = z.object({
@@ -6002,7 +5915,7 @@ export const LinkDeployHooks$inboundSchema: z.ZodType<
6002
5915
  });
6003
5916
 
6004
5917
  /** @internal */
6005
- export type LinkDeployHooks$Outbound = {
5918
+ export type UpdateProjectDataCacheLinkDeployHooks$Outbound = {
6006
5919
  createdAt?: number | undefined;
6007
5920
  id: string;
6008
5921
  name: string;
@@ -6011,10 +5924,10 @@ export type LinkDeployHooks$Outbound = {
6011
5924
  };
6012
5925
 
6013
5926
  /** @internal */
6014
- export const LinkDeployHooks$outboundSchema: z.ZodType<
6015
- LinkDeployHooks$Outbound,
5927
+ export const UpdateProjectDataCacheLinkDeployHooks$outboundSchema: z.ZodType<
5928
+ UpdateProjectDataCacheLinkDeployHooks$Outbound,
6016
5929
  z.ZodTypeDef,
6017
- LinkDeployHooks
5930
+ UpdateProjectDataCacheLinkDeployHooks
6018
5931
  > = z.object({
6019
5932
  createdAt: z.number().optional(),
6020
5933
  id: z.string(),
@@ -6027,33 +5940,40 @@ export const LinkDeployHooks$outboundSchema: z.ZodType<
6027
5940
  * @internal
6028
5941
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6029
5942
  */
6030
- export namespace LinkDeployHooks$ {
6031
- /** @deprecated use `LinkDeployHooks$inboundSchema` instead. */
6032
- export const inboundSchema = LinkDeployHooks$inboundSchema;
6033
- /** @deprecated use `LinkDeployHooks$outboundSchema` instead. */
6034
- export const outboundSchema = LinkDeployHooks$outboundSchema;
6035
- /** @deprecated use `LinkDeployHooks$Outbound` instead. */
6036
- export type Outbound = LinkDeployHooks$Outbound;
5943
+ export namespace UpdateProjectDataCacheLinkDeployHooks$ {
5944
+ /** @deprecated use `UpdateProjectDataCacheLinkDeployHooks$inboundSchema` instead. */
5945
+ export const inboundSchema =
5946
+ UpdateProjectDataCacheLinkDeployHooks$inboundSchema;
5947
+ /** @deprecated use `UpdateProjectDataCacheLinkDeployHooks$outboundSchema` instead. */
5948
+ export const outboundSchema =
5949
+ UpdateProjectDataCacheLinkDeployHooks$outboundSchema;
5950
+ /** @deprecated use `UpdateProjectDataCacheLinkDeployHooks$Outbound` instead. */
5951
+ export type Outbound = UpdateProjectDataCacheLinkDeployHooks$Outbound;
6037
5952
  }
6038
5953
 
6039
- export function linkDeployHooksToJSON(
6040
- linkDeployHooks: LinkDeployHooks,
5954
+ export function updateProjectDataCacheLinkDeployHooksToJSON(
5955
+ updateProjectDataCacheLinkDeployHooks: UpdateProjectDataCacheLinkDeployHooks,
6041
5956
  ): string {
6042
- return JSON.stringify(LinkDeployHooks$outboundSchema.parse(linkDeployHooks));
5957
+ return JSON.stringify(
5958
+ UpdateProjectDataCacheLinkDeployHooks$outboundSchema.parse(
5959
+ updateProjectDataCacheLinkDeployHooks,
5960
+ ),
5961
+ );
6043
5962
  }
6044
5963
 
6045
- export function linkDeployHooksFromJSON(
5964
+ export function updateProjectDataCacheLinkDeployHooksFromJSON(
6046
5965
  jsonString: string,
6047
- ): SafeParseResult<LinkDeployHooks, SDKValidationError> {
5966
+ ): SafeParseResult<UpdateProjectDataCacheLinkDeployHooks, SDKValidationError> {
6048
5967
  return safeParse(
6049
5968
  jsonString,
6050
- (x) => LinkDeployHooks$inboundSchema.parse(JSON.parse(x)),
6051
- `Failed to parse 'LinkDeployHooks' from JSON`,
5969
+ (x) =>
5970
+ UpdateProjectDataCacheLinkDeployHooks$inboundSchema.parse(JSON.parse(x)),
5971
+ `Failed to parse 'UpdateProjectDataCacheLinkDeployHooks' from JSON`,
6052
5972
  );
6053
5973
  }
6054
5974
 
6055
5975
  /** @internal */
6056
- export const Link2$inboundSchema: z.ZodType<Link2, z.ZodTypeDef, unknown> = z
5976
+ export const Link3$inboundSchema: z.ZodType<Link3, z.ZodTypeDef, unknown> = z
6057
5977
  .object({
6058
5978
  projectId: z.string().optional(),
6059
5979
  projectName: z.string().optional(),
@@ -6061,9 +5981,11 @@ export const Link2$inboundSchema: z.ZodType<Link2, z.ZodTypeDef, unknown> = z
6061
5981
  projectNamespace: z.string().optional(),
6062
5982
  projectOwnerId: z.number().optional(),
6063
5983
  projectUrl: z.string().optional(),
6064
- type: UpdateProjectDataCacheLinkType$inboundSchema.optional(),
5984
+ type: UpdateProjectDataCacheLinkProjectsType$inboundSchema.optional(),
6065
5985
  createdAt: z.number().optional(),
6066
- deployHooks: z.array(z.lazy(() => LinkDeployHooks$inboundSchema)),
5986
+ deployHooks: z.array(
5987
+ z.lazy(() => UpdateProjectDataCacheLinkDeployHooks$inboundSchema),
5988
+ ),
6067
5989
  gitCredentialId: z.string().optional(),
6068
5990
  updatedAt: z.number().optional(),
6069
5991
  sourceless: z.boolean().optional(),
@@ -6071,7 +5993,7 @@ export const Link2$inboundSchema: z.ZodType<Link2, z.ZodTypeDef, unknown> = z
6071
5993
  });
6072
5994
 
6073
5995
  /** @internal */
6074
- export type Link2$Outbound = {
5996
+ export type Link3$Outbound = {
6075
5997
  projectId?: string | undefined;
6076
5998
  projectName?: string | undefined;
6077
5999
  projectNameWithNamespace?: string | undefined;
@@ -6080,7 +6002,7 @@ export type Link2$Outbound = {
6080
6002
  projectUrl?: string | undefined;
6081
6003
  type?: string | undefined;
6082
6004
  createdAt?: number | undefined;
6083
- deployHooks: Array<LinkDeployHooks$Outbound>;
6005
+ deployHooks: Array<UpdateProjectDataCacheLinkDeployHooks$Outbound>;
6084
6006
  gitCredentialId?: string | undefined;
6085
6007
  updatedAt?: number | undefined;
6086
6008
  sourceless?: boolean | undefined;
@@ -6088,10 +6010,10 @@ export type Link2$Outbound = {
6088
6010
  };
6089
6011
 
6090
6012
  /** @internal */
6091
- export const Link2$outboundSchema: z.ZodType<
6092
- Link2$Outbound,
6013
+ export const Link3$outboundSchema: z.ZodType<
6014
+ Link3$Outbound,
6093
6015
  z.ZodTypeDef,
6094
- Link2
6016
+ Link3
6095
6017
  > = z.object({
6096
6018
  projectId: z.string().optional(),
6097
6019
  projectName: z.string().optional(),
@@ -6099,9 +6021,11 @@ export const Link2$outboundSchema: z.ZodType<
6099
6021
  projectNamespace: z.string().optional(),
6100
6022
  projectOwnerId: z.number().optional(),
6101
6023
  projectUrl: z.string().optional(),
6102
- type: UpdateProjectDataCacheLinkType$outboundSchema.optional(),
6024
+ type: UpdateProjectDataCacheLinkProjectsType$outboundSchema.optional(),
6103
6025
  createdAt: z.number().optional(),
6104
- deployHooks: z.array(z.lazy(() => LinkDeployHooks$outboundSchema)),
6026
+ deployHooks: z.array(
6027
+ z.lazy(() => UpdateProjectDataCacheLinkDeployHooks$outboundSchema),
6028
+ ),
6105
6029
  gitCredentialId: z.string().optional(),
6106
6030
  updatedAt: z.number().optional(),
6107
6031
  sourceless: z.boolean().optional(),
@@ -6112,51 +6036,53 @@ export const Link2$outboundSchema: z.ZodType<
6112
6036
  * @internal
6113
6037
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6114
6038
  */
6115
- export namespace Link2$ {
6116
- /** @deprecated use `Link2$inboundSchema` instead. */
6117
- export const inboundSchema = Link2$inboundSchema;
6118
- /** @deprecated use `Link2$outboundSchema` instead. */
6119
- export const outboundSchema = Link2$outboundSchema;
6120
- /** @deprecated use `Link2$Outbound` instead. */
6121
- export type Outbound = Link2$Outbound;
6039
+ export namespace Link3$ {
6040
+ /** @deprecated use `Link3$inboundSchema` instead. */
6041
+ export const inboundSchema = Link3$inboundSchema;
6042
+ /** @deprecated use `Link3$outboundSchema` instead. */
6043
+ export const outboundSchema = Link3$outboundSchema;
6044
+ /** @deprecated use `Link3$Outbound` instead. */
6045
+ export type Outbound = Link3$Outbound;
6122
6046
  }
6123
6047
 
6124
- export function link2ToJSON(link2: Link2): string {
6125
- return JSON.stringify(Link2$outboundSchema.parse(link2));
6048
+ export function link3ToJSON(link3: Link3): string {
6049
+ return JSON.stringify(Link3$outboundSchema.parse(link3));
6126
6050
  }
6127
6051
 
6128
- export function link2FromJSON(
6052
+ export function link3FromJSON(
6129
6053
  jsonString: string,
6130
- ): SafeParseResult<Link2, SDKValidationError> {
6054
+ ): SafeParseResult<Link3, SDKValidationError> {
6131
6055
  return safeParse(
6132
6056
  jsonString,
6133
- (x) => Link2$inboundSchema.parse(JSON.parse(x)),
6134
- `Failed to parse 'Link2' from JSON`,
6057
+ (x) => Link3$inboundSchema.parse(JSON.parse(x)),
6058
+ `Failed to parse 'Link3' from JSON`,
6135
6059
  );
6136
6060
  }
6137
6061
 
6138
6062
  /** @internal */
6139
- export const LinkType$inboundSchema: z.ZodNativeEnum<typeof LinkType> = z
6140
- .nativeEnum(LinkType);
6063
+ export const UpdateProjectDataCacheLinkType$inboundSchema: z.ZodNativeEnum<
6064
+ typeof UpdateProjectDataCacheLinkType
6065
+ > = z.nativeEnum(UpdateProjectDataCacheLinkType);
6141
6066
 
6142
6067
  /** @internal */
6143
- export const LinkType$outboundSchema: z.ZodNativeEnum<typeof LinkType> =
6144
- LinkType$inboundSchema;
6068
+ export const UpdateProjectDataCacheLinkType$outboundSchema: z.ZodNativeEnum<
6069
+ typeof UpdateProjectDataCacheLinkType
6070
+ > = UpdateProjectDataCacheLinkType$inboundSchema;
6145
6071
 
6146
6072
  /**
6147
6073
  * @internal
6148
6074
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6149
6075
  */
6150
- export namespace LinkType$ {
6151
- /** @deprecated use `LinkType$inboundSchema` instead. */
6152
- export const inboundSchema = LinkType$inboundSchema;
6153
- /** @deprecated use `LinkType$outboundSchema` instead. */
6154
- export const outboundSchema = LinkType$outboundSchema;
6076
+ export namespace UpdateProjectDataCacheLinkType$ {
6077
+ /** @deprecated use `UpdateProjectDataCacheLinkType$inboundSchema` instead. */
6078
+ export const inboundSchema = UpdateProjectDataCacheLinkType$inboundSchema;
6079
+ /** @deprecated use `UpdateProjectDataCacheLinkType$outboundSchema` instead. */
6080
+ export const outboundSchema = UpdateProjectDataCacheLinkType$outboundSchema;
6155
6081
  }
6156
6082
 
6157
6083
  /** @internal */
6158
- export const DeployHooks$inboundSchema: z.ZodType<
6159
- DeployHooks,
6084
+ export const LinkDeployHooks$inboundSchema: z.ZodType<
6085
+ LinkDeployHooks,
6160
6086
  z.ZodTypeDef,
6161
6087
  unknown
6162
6088
  > = z.object({
@@ -6168,7 +6094,7 @@ export const DeployHooks$inboundSchema: z.ZodType<
6168
6094
  });
6169
6095
 
6170
6096
  /** @internal */
6171
- export type DeployHooks$Outbound = {
6097
+ export type LinkDeployHooks$Outbound = {
6172
6098
  createdAt?: number | undefined;
6173
6099
  id: string;
6174
6100
  name: string;
@@ -6177,10 +6103,170 @@ export type DeployHooks$Outbound = {
6177
6103
  };
6178
6104
 
6179
6105
  /** @internal */
6180
- export const DeployHooks$outboundSchema: z.ZodType<
6181
- DeployHooks$Outbound,
6106
+ export const LinkDeployHooks$outboundSchema: z.ZodType<
6107
+ LinkDeployHooks$Outbound,
6182
6108
  z.ZodTypeDef,
6183
- DeployHooks
6109
+ LinkDeployHooks
6110
+ > = z.object({
6111
+ createdAt: z.number().optional(),
6112
+ id: z.string(),
6113
+ name: z.string(),
6114
+ ref: z.string(),
6115
+ url: z.string(),
6116
+ });
6117
+
6118
+ /**
6119
+ * @internal
6120
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6121
+ */
6122
+ export namespace LinkDeployHooks$ {
6123
+ /** @deprecated use `LinkDeployHooks$inboundSchema` instead. */
6124
+ export const inboundSchema = LinkDeployHooks$inboundSchema;
6125
+ /** @deprecated use `LinkDeployHooks$outboundSchema` instead. */
6126
+ export const outboundSchema = LinkDeployHooks$outboundSchema;
6127
+ /** @deprecated use `LinkDeployHooks$Outbound` instead. */
6128
+ export type Outbound = LinkDeployHooks$Outbound;
6129
+ }
6130
+
6131
+ export function linkDeployHooksToJSON(
6132
+ linkDeployHooks: LinkDeployHooks,
6133
+ ): string {
6134
+ return JSON.stringify(LinkDeployHooks$outboundSchema.parse(linkDeployHooks));
6135
+ }
6136
+
6137
+ export function linkDeployHooksFromJSON(
6138
+ jsonString: string,
6139
+ ): SafeParseResult<LinkDeployHooks, SDKValidationError> {
6140
+ return safeParse(
6141
+ jsonString,
6142
+ (x) => LinkDeployHooks$inboundSchema.parse(JSON.parse(x)),
6143
+ `Failed to parse 'LinkDeployHooks' from JSON`,
6144
+ );
6145
+ }
6146
+
6147
+ /** @internal */
6148
+ export const Link2$inboundSchema: z.ZodType<Link2, z.ZodTypeDef, unknown> = z
6149
+ .object({
6150
+ type: UpdateProjectDataCacheLinkType$inboundSchema.optional(),
6151
+ createdAt: z.number().optional(),
6152
+ updatedAt: z.number().optional(),
6153
+ org: z.string().optional(),
6154
+ repoOwnerId: z.number().optional(),
6155
+ repo: z.string().optional(),
6156
+ repoId: z.number().optional(),
6157
+ deployHooks: z.array(z.lazy(() => LinkDeployHooks$inboundSchema)),
6158
+ gitCredentialId: z.string().optional(),
6159
+ sourceless: z.boolean().optional(),
6160
+ productionBranch: z.string().optional(),
6161
+ });
6162
+
6163
+ /** @internal */
6164
+ export type Link2$Outbound = {
6165
+ type?: string | undefined;
6166
+ createdAt?: number | undefined;
6167
+ updatedAt?: number | undefined;
6168
+ org?: string | undefined;
6169
+ repoOwnerId?: number | undefined;
6170
+ repo?: string | undefined;
6171
+ repoId?: number | undefined;
6172
+ deployHooks: Array<LinkDeployHooks$Outbound>;
6173
+ gitCredentialId?: string | undefined;
6174
+ sourceless?: boolean | undefined;
6175
+ productionBranch?: string | undefined;
6176
+ };
6177
+
6178
+ /** @internal */
6179
+ export const Link2$outboundSchema: z.ZodType<
6180
+ Link2$Outbound,
6181
+ z.ZodTypeDef,
6182
+ Link2
6183
+ > = z.object({
6184
+ type: UpdateProjectDataCacheLinkType$outboundSchema.optional(),
6185
+ createdAt: z.number().optional(),
6186
+ updatedAt: z.number().optional(),
6187
+ org: z.string().optional(),
6188
+ repoOwnerId: z.number().optional(),
6189
+ repo: z.string().optional(),
6190
+ repoId: z.number().optional(),
6191
+ deployHooks: z.array(z.lazy(() => LinkDeployHooks$outboundSchema)),
6192
+ gitCredentialId: z.string().optional(),
6193
+ sourceless: z.boolean().optional(),
6194
+ productionBranch: z.string().optional(),
6195
+ });
6196
+
6197
+ /**
6198
+ * @internal
6199
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6200
+ */
6201
+ export namespace Link2$ {
6202
+ /** @deprecated use `Link2$inboundSchema` instead. */
6203
+ export const inboundSchema = Link2$inboundSchema;
6204
+ /** @deprecated use `Link2$outboundSchema` instead. */
6205
+ export const outboundSchema = Link2$outboundSchema;
6206
+ /** @deprecated use `Link2$Outbound` instead. */
6207
+ export type Outbound = Link2$Outbound;
6208
+ }
6209
+
6210
+ export function link2ToJSON(link2: Link2): string {
6211
+ return JSON.stringify(Link2$outboundSchema.parse(link2));
6212
+ }
6213
+
6214
+ export function link2FromJSON(
6215
+ jsonString: string,
6216
+ ): SafeParseResult<Link2, SDKValidationError> {
6217
+ return safeParse(
6218
+ jsonString,
6219
+ (x) => Link2$inboundSchema.parse(JSON.parse(x)),
6220
+ `Failed to parse 'Link2' from JSON`,
6221
+ );
6222
+ }
6223
+
6224
+ /** @internal */
6225
+ export const LinkType$inboundSchema: z.ZodNativeEnum<typeof LinkType> = z
6226
+ .nativeEnum(LinkType);
6227
+
6228
+ /** @internal */
6229
+ export const LinkType$outboundSchema: z.ZodNativeEnum<typeof LinkType> =
6230
+ LinkType$inboundSchema;
6231
+
6232
+ /**
6233
+ * @internal
6234
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6235
+ */
6236
+ export namespace LinkType$ {
6237
+ /** @deprecated use `LinkType$inboundSchema` instead. */
6238
+ export const inboundSchema = LinkType$inboundSchema;
6239
+ /** @deprecated use `LinkType$outboundSchema` instead. */
6240
+ export const outboundSchema = LinkType$outboundSchema;
6241
+ }
6242
+
6243
+ /** @internal */
6244
+ export const DeployHooks$inboundSchema: z.ZodType<
6245
+ DeployHooks,
6246
+ z.ZodTypeDef,
6247
+ unknown
6248
+ > = z.object({
6249
+ createdAt: z.number().optional(),
6250
+ id: z.string(),
6251
+ name: z.string(),
6252
+ ref: z.string(),
6253
+ url: z.string(),
6254
+ });
6255
+
6256
+ /** @internal */
6257
+ export type DeployHooks$Outbound = {
6258
+ createdAt?: number | undefined;
6259
+ id: string;
6260
+ name: string;
6261
+ ref: string;
6262
+ url: string;
6263
+ };
6264
+
6265
+ /** @internal */
6266
+ export const DeployHooks$outboundSchema: z.ZodType<
6267
+ DeployHooks$Outbound,
6268
+ z.ZodTypeDef,
6269
+ DeployHooks
6184
6270
  > = z.object({
6185
6271
  createdAt: z.number().optional(),
6186
6272
  id: z.string(),
@@ -6300,6 +6386,7 @@ export const Link$inboundSchema: z.ZodType<Link, z.ZodTypeDef, unknown> = z
6300
6386
  z.lazy(() => Link2$inboundSchema),
6301
6387
  z.lazy(() => Link3$inboundSchema),
6302
6388
  z.lazy(() => Link4$inboundSchema),
6389
+ z.lazy(() => Link5$inboundSchema),
6303
6390
  ]);
6304
6391
 
6305
6392
  /** @internal */
@@ -6307,7 +6394,8 @@ export type Link$Outbound =
6307
6394
  | Link1$Outbound
6308
6395
  | Link2$Outbound
6309
6396
  | Link3$Outbound
6310
- | Link4$Outbound;
6397
+ | Link4$Outbound
6398
+ | Link5$Outbound;
6311
6399
 
6312
6400
  /** @internal */
6313
6401
  export const Link$outboundSchema: z.ZodType<Link$Outbound, z.ZodTypeDef, Link> =
@@ -6316,6 +6404,7 @@ export const Link$outboundSchema: z.ZodType<Link$Outbound, z.ZodTypeDef, Link> =
6316
6404
  z.lazy(() => Link2$outboundSchema),
6317
6405
  z.lazy(() => Link3$outboundSchema),
6318
6406
  z.lazy(() => Link4$outboundSchema),
6407
+ z.lazy(() => Link5$outboundSchema),
6319
6408
  ]);
6320
6409
 
6321
6410
  /**
@@ -8000,11 +8089,11 @@ export const Permissions$inboundSchema: z.ZodType<
8000
8089
  z.ZodTypeDef,
8001
8090
  unknown
8002
8091
  > = z.object({
8092
+ oauth2Connection: z.array(ACLAction$inboundSchema).optional(),
8003
8093
  user: z.array(ACLAction$inboundSchema).optional(),
8004
8094
  userConnection: z.array(ACLAction$inboundSchema).optional(),
8005
8095
  userSudo: z.array(ACLAction$inboundSchema).optional(),
8006
8096
  webAuthn: z.array(ACLAction$inboundSchema).optional(),
8007
- oauth2Connection: z.array(ACLAction$inboundSchema).optional(),
8008
8097
  accessGroup: z.array(ACLAction$inboundSchema).optional(),
8009
8098
  aliasGlobal: z.array(ACLAction$inboundSchema).optional(),
8010
8099
  analyticsSampling: z.array(ACLAction$inboundSchema).optional(),
@@ -8017,6 +8106,7 @@ export const Permissions$inboundSchema: z.ZodType<
8017
8106
  billingInvoiceLanguage: z.array(ACLAction$inboundSchema).optional(),
8018
8107
  billingPlan: z.array(ACLAction$inboundSchema).optional(),
8019
8108
  billingPurchaseOrder: z.array(ACLAction$inboundSchema).optional(),
8109
+ billingRefund: z.array(ACLAction$inboundSchema).optional(),
8020
8110
  billingTaxId: z.array(ACLAction$inboundSchema).optional(),
8021
8111
  blob: z.array(ACLAction$inboundSchema).optional(),
8022
8112
  budget: z.array(ACLAction$inboundSchema).optional(),
@@ -8026,6 +8116,7 @@ export const Permissions$inboundSchema: z.ZodType<
8026
8116
  concurrentBuilds: z.array(ACLAction$inboundSchema).optional(),
8027
8117
  connect: z.array(ACLAction$inboundSchema).optional(),
8028
8118
  connectConfiguration: z.array(ACLAction$inboundSchema).optional(),
8119
+ defaultDeploymentProtection: z.array(ACLAction$inboundSchema).optional(),
8029
8120
  domain: z.array(ACLAction$inboundSchema).optional(),
8030
8121
  domainAcceptDelegation: z.array(ACLAction$inboundSchema).optional(),
8031
8122
  domainAuthCodes: z.array(ACLAction$inboundSchema).optional(),
@@ -8060,6 +8151,7 @@ export const Permissions$inboundSchema: z.ZodType<
8060
8151
  marketplaceInstallationMember: z.array(ACLAction$inboundSchema).optional(),
8061
8152
  marketplaceBillingData: z.array(ACLAction$inboundSchema).optional(),
8062
8153
  marketplaceInvoice: z.array(ACLAction$inboundSchema).optional(),
8154
+ marketplaceSettings: z.array(ACLAction$inboundSchema).optional(),
8063
8155
  marketplaceExperimentationItem: z.array(ACLAction$inboundSchema).optional(),
8064
8156
  marketplaceExperimentationEdgeConfigData: z.array(ACLAction$inboundSchema)
8065
8157
  .optional(),
@@ -8087,8 +8179,10 @@ export const Permissions$inboundSchema: z.ZodType<
8087
8179
  notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(),
8088
8180
  observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(),
8089
8181
  observabilityNotebook: z.array(ACLAction$inboundSchema).optional(),
8182
+ observabilityFunnel: z.array(ACLAction$inboundSchema).optional(),
8090
8183
  openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(),
8091
8184
  vercelAppInstallation: z.array(ACLAction$inboundSchema).optional(),
8185
+ vercelAppInstallationRequest: z.array(ACLAction$inboundSchema).optional(),
8092
8186
  paymentMethod: z.array(ACLAction$inboundSchema).optional(),
8093
8187
  permissions: z.array(ACLAction$inboundSchema).optional(),
8094
8188
  postgres: z.array(ACLAction$inboundSchema).optional(),
@@ -8150,6 +8244,7 @@ export const Permissions$inboundSchema: z.ZodType<
8150
8244
  connectConfigurationLink: z.array(ACLAction$inboundSchema).optional(),
8151
8245
  dataCacheNamespace: z.array(ACLAction$inboundSchema).optional(),
8152
8246
  deployment: z.array(ACLAction$inboundSchema).optional(),
8247
+ deploymentBuildLogs: z.array(ACLAction$inboundSchema).optional(),
8153
8248
  deploymentCheck: z.array(ACLAction$inboundSchema).optional(),
8154
8249
  deploymentCheckPreview: z.array(ACLAction$inboundSchema).optional(),
8155
8250
  deploymentCheckReRunFromProductionBranch: z.array(ACLAction$inboundSchema)
@@ -8202,6 +8297,7 @@ export const Permissions$inboundSchema: z.ZodType<
8202
8297
  projectDeploymentExpiration: z.array(ACLAction$inboundSchema).optional(),
8203
8298
  projectRollingRelease: z.array(ACLAction$inboundSchema).optional(),
8204
8299
  projectTier: z.array(ACLAction$inboundSchema).optional(),
8300
+ projectOIDCToken: z.array(ACLAction$inboundSchema).optional(),
8205
8301
  seawallConfig: z.array(ACLAction$inboundSchema).optional(),
8206
8302
  skewProtection: z.array(ACLAction$inboundSchema).optional(),
8207
8303
  analytics: z.array(ACLAction$inboundSchema).optional(),
@@ -8219,11 +8315,11 @@ export const Permissions$inboundSchema: z.ZodType<
8219
8315
 
8220
8316
  /** @internal */
8221
8317
  export type Permissions$Outbound = {
8318
+ oauth2Connection?: Array<string> | undefined;
8222
8319
  user?: Array<string> | undefined;
8223
8320
  userConnection?: Array<string> | undefined;
8224
8321
  userSudo?: Array<string> | undefined;
8225
8322
  webAuthn?: Array<string> | undefined;
8226
- oauth2Connection?: Array<string> | undefined;
8227
8323
  accessGroup?: Array<string> | undefined;
8228
8324
  aliasGlobal?: Array<string> | undefined;
8229
8325
  analyticsSampling?: Array<string> | undefined;
@@ -8236,6 +8332,7 @@ export type Permissions$Outbound = {
8236
8332
  billingInvoiceLanguage?: Array<string> | undefined;
8237
8333
  billingPlan?: Array<string> | undefined;
8238
8334
  billingPurchaseOrder?: Array<string> | undefined;
8335
+ billingRefund?: Array<string> | undefined;
8239
8336
  billingTaxId?: Array<string> | undefined;
8240
8337
  blob?: Array<string> | undefined;
8241
8338
  budget?: Array<string> | undefined;
@@ -8245,6 +8342,7 @@ export type Permissions$Outbound = {
8245
8342
  concurrentBuilds?: Array<string> | undefined;
8246
8343
  connect?: Array<string> | undefined;
8247
8344
  connectConfiguration?: Array<string> | undefined;
8345
+ defaultDeploymentProtection?: Array<string> | undefined;
8248
8346
  domain?: Array<string> | undefined;
8249
8347
  domainAcceptDelegation?: Array<string> | undefined;
8250
8348
  domainAuthCodes?: Array<string> | undefined;
@@ -8277,6 +8375,7 @@ export type Permissions$Outbound = {
8277
8375
  marketplaceInstallationMember?: Array<string> | undefined;
8278
8376
  marketplaceBillingData?: Array<string> | undefined;
8279
8377
  marketplaceInvoice?: Array<string> | undefined;
8378
+ marketplaceSettings?: Array<string> | undefined;
8280
8379
  marketplaceExperimentationItem?: Array<string> | undefined;
8281
8380
  marketplaceExperimentationEdgeConfigData?: Array<string> | undefined;
8282
8381
  jobGlobal?: Array<string> | undefined;
@@ -8303,8 +8402,10 @@ export type Permissions$Outbound = {
8303
8402
  notificationStatementOfReasons?: Array<string> | undefined;
8304
8403
  observabilityConfiguration?: Array<string> | undefined;
8305
8404
  observabilityNotebook?: Array<string> | undefined;
8405
+ observabilityFunnel?: Array<string> | undefined;
8306
8406
  openTelemetryEndpoint?: Array<string> | undefined;
8307
8407
  vercelAppInstallation?: Array<string> | undefined;
8408
+ vercelAppInstallationRequest?: Array<string> | undefined;
8308
8409
  paymentMethod?: Array<string> | undefined;
8309
8410
  permissions?: Array<string> | undefined;
8310
8411
  postgres?: Array<string> | undefined;
@@ -8366,6 +8467,7 @@ export type Permissions$Outbound = {
8366
8467
  connectConfigurationLink?: Array<string> | undefined;
8367
8468
  dataCacheNamespace?: Array<string> | undefined;
8368
8469
  deployment?: Array<string> | undefined;
8470
+ deploymentBuildLogs?: Array<string> | undefined;
8369
8471
  deploymentCheck?: Array<string> | undefined;
8370
8472
  deploymentCheckPreview?: Array<string> | undefined;
8371
8473
  deploymentCheckReRunFromProductionBranch?: Array<string> | undefined;
@@ -8416,6 +8518,7 @@ export type Permissions$Outbound = {
8416
8518
  projectDeploymentExpiration?: Array<string> | undefined;
8417
8519
  projectRollingRelease?: Array<string> | undefined;
8418
8520
  projectTier?: Array<string> | undefined;
8521
+ projectOIDCToken?: Array<string> | undefined;
8419
8522
  seawallConfig?: Array<string> | undefined;
8420
8523
  skewProtection?: Array<string> | undefined;
8421
8524
  analytics?: Array<string> | undefined;
@@ -8431,11 +8534,11 @@ export const Permissions$outboundSchema: z.ZodType<
8431
8534
  z.ZodTypeDef,
8432
8535
  Permissions
8433
8536
  > = z.object({
8537
+ oauth2Connection: z.array(ACLAction$outboundSchema).optional(),
8434
8538
  user: z.array(ACLAction$outboundSchema).optional(),
8435
8539
  userConnection: z.array(ACLAction$outboundSchema).optional(),
8436
8540
  userSudo: z.array(ACLAction$outboundSchema).optional(),
8437
8541
  webAuthn: z.array(ACLAction$outboundSchema).optional(),
8438
- oauth2Connection: z.array(ACLAction$outboundSchema).optional(),
8439
8542
  accessGroup: z.array(ACLAction$outboundSchema).optional(),
8440
8543
  aliasGlobal: z.array(ACLAction$outboundSchema).optional(),
8441
8544
  analyticsSampling: z.array(ACLAction$outboundSchema).optional(),
@@ -8448,6 +8551,7 @@ export const Permissions$outboundSchema: z.ZodType<
8448
8551
  billingInvoiceLanguage: z.array(ACLAction$outboundSchema).optional(),
8449
8552
  billingPlan: z.array(ACLAction$outboundSchema).optional(),
8450
8553
  billingPurchaseOrder: z.array(ACLAction$outboundSchema).optional(),
8554
+ billingRefund: z.array(ACLAction$outboundSchema).optional(),
8451
8555
  billingTaxId: z.array(ACLAction$outboundSchema).optional(),
8452
8556
  blob: z.array(ACLAction$outboundSchema).optional(),
8453
8557
  budget: z.array(ACLAction$outboundSchema).optional(),
@@ -8457,6 +8561,7 @@ export const Permissions$outboundSchema: z.ZodType<
8457
8561
  concurrentBuilds: z.array(ACLAction$outboundSchema).optional(),
8458
8562
  connect: z.array(ACLAction$outboundSchema).optional(),
8459
8563
  connectConfiguration: z.array(ACLAction$outboundSchema).optional(),
8564
+ defaultDeploymentProtection: z.array(ACLAction$outboundSchema).optional(),
8460
8565
  domain: z.array(ACLAction$outboundSchema).optional(),
8461
8566
  domainAcceptDelegation: z.array(ACLAction$outboundSchema).optional(),
8462
8567
  domainAuthCodes: z.array(ACLAction$outboundSchema).optional(),
@@ -8493,6 +8598,7 @@ export const Permissions$outboundSchema: z.ZodType<
8493
8598
  marketplaceInstallationMember: z.array(ACLAction$outboundSchema).optional(),
8494
8599
  marketplaceBillingData: z.array(ACLAction$outboundSchema).optional(),
8495
8600
  marketplaceInvoice: z.array(ACLAction$outboundSchema).optional(),
8601
+ marketplaceSettings: z.array(ACLAction$outboundSchema).optional(),
8496
8602
  marketplaceExperimentationItem: z.array(ACLAction$outboundSchema).optional(),
8497
8603
  marketplaceExperimentationEdgeConfigData: z.array(ACLAction$outboundSchema)
8498
8604
  .optional(),
@@ -8520,8 +8626,10 @@ export const Permissions$outboundSchema: z.ZodType<
8520
8626
  notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(),
8521
8627
  observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(),
8522
8628
  observabilityNotebook: z.array(ACLAction$outboundSchema).optional(),
8629
+ observabilityFunnel: z.array(ACLAction$outboundSchema).optional(),
8523
8630
  openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(),
8524
8631
  vercelAppInstallation: z.array(ACLAction$outboundSchema).optional(),
8632
+ vercelAppInstallationRequest: z.array(ACLAction$outboundSchema).optional(),
8525
8633
  paymentMethod: z.array(ACLAction$outboundSchema).optional(),
8526
8634
  permissions: z.array(ACLAction$outboundSchema).optional(),
8527
8635
  postgres: z.array(ACLAction$outboundSchema).optional(),
@@ -8583,6 +8691,7 @@ export const Permissions$outboundSchema: z.ZodType<
8583
8691
  connectConfigurationLink: z.array(ACLAction$outboundSchema).optional(),
8584
8692
  dataCacheNamespace: z.array(ACLAction$outboundSchema).optional(),
8585
8693
  deployment: z.array(ACLAction$outboundSchema).optional(),
8694
+ deploymentBuildLogs: z.array(ACLAction$outboundSchema).optional(),
8586
8695
  deploymentCheck: z.array(ACLAction$outboundSchema).optional(),
8587
8696
  deploymentCheckPreview: z.array(ACLAction$outboundSchema).optional(),
8588
8697
  deploymentCheckReRunFromProductionBranch: z.array(ACLAction$outboundSchema)
@@ -8635,6 +8744,7 @@ export const Permissions$outboundSchema: z.ZodType<
8635
8744
  projectDeploymentExpiration: z.array(ACLAction$outboundSchema).optional(),
8636
8745
  projectRollingRelease: z.array(ACLAction$outboundSchema).optional(),
8637
8746
  projectTier: z.array(ACLAction$outboundSchema).optional(),
8747
+ projectOIDCToken: z.array(ACLAction$outboundSchema).optional(),
8638
8748
  seawallConfig: z.array(ACLAction$outboundSchema).optional(),
8639
8749
  skewProtection: z.array(ACLAction$outboundSchema).optional(),
8640
8750
  analytics: z.array(ACLAction$outboundSchema).optional(),
@@ -9348,1082 +9458,246 @@ export namespace UpdateProjectDataCacheTrustedIps$ {
9348
9458
 
9349
9459
  export function updateProjectDataCacheTrustedIpsToJSON(
9350
9460
  updateProjectDataCacheTrustedIps: UpdateProjectDataCacheTrustedIps,
9351
- ): string {
9352
- return JSON.stringify(
9353
- UpdateProjectDataCacheTrustedIps$outboundSchema.parse(
9354
- updateProjectDataCacheTrustedIps,
9355
- ),
9356
- );
9357
- }
9358
-
9359
- export function updateProjectDataCacheTrustedIpsFromJSON(
9360
- jsonString: string,
9361
- ): SafeParseResult<UpdateProjectDataCacheTrustedIps, SDKValidationError> {
9362
- return safeParse(
9363
- jsonString,
9364
- (x) => UpdateProjectDataCacheTrustedIps$inboundSchema.parse(JSON.parse(x)),
9365
- `Failed to parse 'UpdateProjectDataCacheTrustedIps' from JSON`,
9366
- );
9367
- }
9368
-
9369
- /** @internal */
9370
- export const GitComments$inboundSchema: z.ZodType<
9371
- GitComments,
9372
- z.ZodTypeDef,
9373
- unknown
9374
- > = z.object({
9375
- onPullRequest: z.boolean(),
9376
- onCommit: z.boolean(),
9377
- });
9378
-
9379
- /** @internal */
9380
- export type GitComments$Outbound = {
9381
- onPullRequest: boolean;
9382
- onCommit: boolean;
9383
- };
9384
-
9385
- /** @internal */
9386
- export const GitComments$outboundSchema: z.ZodType<
9387
- GitComments$Outbound,
9388
- z.ZodTypeDef,
9389
- GitComments
9390
- > = z.object({
9391
- onPullRequest: z.boolean(),
9392
- onCommit: z.boolean(),
9393
- });
9394
-
9395
- /**
9396
- * @internal
9397
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
9398
- */
9399
- export namespace GitComments$ {
9400
- /** @deprecated use `GitComments$inboundSchema` instead. */
9401
- export const inboundSchema = GitComments$inboundSchema;
9402
- /** @deprecated use `GitComments$outboundSchema` instead. */
9403
- export const outboundSchema = GitComments$outboundSchema;
9404
- /** @deprecated use `GitComments$Outbound` instead. */
9405
- export type Outbound = GitComments$Outbound;
9406
- }
9407
-
9408
- export function gitCommentsToJSON(gitComments: GitComments): string {
9409
- return JSON.stringify(GitComments$outboundSchema.parse(gitComments));
9410
- }
9411
-
9412
- export function gitCommentsFromJSON(
9413
- jsonString: string,
9414
- ): SafeParseResult<GitComments, SDKValidationError> {
9415
- return safeParse(
9416
- jsonString,
9417
- (x) => GitComments$inboundSchema.parse(JSON.parse(x)),
9418
- `Failed to parse 'GitComments' from JSON`,
9419
- );
9420
- }
9421
-
9422
- /** @internal */
9423
- export const CreateDeployments$inboundSchema: z.ZodNativeEnum<
9424
- typeof CreateDeployments
9425
- > = z.nativeEnum(CreateDeployments);
9426
-
9427
- /** @internal */
9428
- export const CreateDeployments$outboundSchema: z.ZodNativeEnum<
9429
- typeof CreateDeployments
9430
- > = CreateDeployments$inboundSchema;
9431
-
9432
- /**
9433
- * @internal
9434
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
9435
- */
9436
- export namespace CreateDeployments$ {
9437
- /** @deprecated use `CreateDeployments$inboundSchema` instead. */
9438
- export const inboundSchema = CreateDeployments$inboundSchema;
9439
- /** @deprecated use `CreateDeployments$outboundSchema` instead. */
9440
- export const outboundSchema = CreateDeployments$outboundSchema;
9441
- }
9442
-
9443
- /** @internal */
9444
- export const GitProviderOptions$inboundSchema: z.ZodType<
9445
- GitProviderOptions,
9446
- z.ZodTypeDef,
9447
- unknown
9448
- > = z.object({
9449
- createDeployments: CreateDeployments$inboundSchema,
9450
- });
9451
-
9452
- /** @internal */
9453
- export type GitProviderOptions$Outbound = {
9454
- createDeployments: string;
9455
- };
9456
-
9457
- /** @internal */
9458
- export const GitProviderOptions$outboundSchema: z.ZodType<
9459
- GitProviderOptions$Outbound,
9460
- z.ZodTypeDef,
9461
- GitProviderOptions
9462
- > = z.object({
9463
- createDeployments: CreateDeployments$outboundSchema,
9464
- });
9465
-
9466
- /**
9467
- * @internal
9468
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
9469
- */
9470
- export namespace GitProviderOptions$ {
9471
- /** @deprecated use `GitProviderOptions$inboundSchema` instead. */
9472
- export const inboundSchema = GitProviderOptions$inboundSchema;
9473
- /** @deprecated use `GitProviderOptions$outboundSchema` instead. */
9474
- export const outboundSchema = GitProviderOptions$outboundSchema;
9475
- /** @deprecated use `GitProviderOptions$Outbound` instead. */
9476
- export type Outbound = GitProviderOptions$Outbound;
9477
- }
9478
-
9479
- export function gitProviderOptionsToJSON(
9480
- gitProviderOptions: GitProviderOptions,
9481
- ): string {
9482
- return JSON.stringify(
9483
- GitProviderOptions$outboundSchema.parse(gitProviderOptions),
9484
- );
9485
- }
9486
-
9487
- export function gitProviderOptionsFromJSON(
9488
- jsonString: string,
9489
- ): SafeParseResult<GitProviderOptions, SDKValidationError> {
9490
- return safeParse(
9491
- jsonString,
9492
- (x) => GitProviderOptions$inboundSchema.parse(JSON.parse(x)),
9493
- `Failed to parse 'GitProviderOptions' from JSON`,
9494
- );
9495
- }
9496
-
9497
- /** @internal */
9498
- export const UpdateProjectDataCacheWebAnalytics$inboundSchema: z.ZodType<
9499
- UpdateProjectDataCacheWebAnalytics,
9500
- z.ZodTypeDef,
9501
- unknown
9502
- > = z.object({
9503
- id: z.string(),
9504
- disabledAt: z.number().optional(),
9505
- canceledAt: z.number().optional(),
9506
- enabledAt: z.number().optional(),
9507
- hasData: z.boolean().optional(),
9508
- });
9509
-
9510
- /** @internal */
9511
- export type UpdateProjectDataCacheWebAnalytics$Outbound = {
9512
- id: string;
9513
- disabledAt?: number | undefined;
9514
- canceledAt?: number | undefined;
9515
- enabledAt?: number | undefined;
9516
- hasData?: boolean | undefined;
9517
- };
9518
-
9519
- /** @internal */
9520
- export const UpdateProjectDataCacheWebAnalytics$outboundSchema: z.ZodType<
9521
- UpdateProjectDataCacheWebAnalytics$Outbound,
9522
- z.ZodTypeDef,
9523
- UpdateProjectDataCacheWebAnalytics
9524
- > = z.object({
9525
- id: z.string(),
9526
- disabledAt: z.number().optional(),
9527
- canceledAt: z.number().optional(),
9528
- enabledAt: z.number().optional(),
9529
- hasData: z.boolean().optional(),
9530
- });
9531
-
9532
- /**
9533
- * @internal
9534
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
9535
- */
9536
- export namespace UpdateProjectDataCacheWebAnalytics$ {
9537
- /** @deprecated use `UpdateProjectDataCacheWebAnalytics$inboundSchema` instead. */
9538
- export const inboundSchema = UpdateProjectDataCacheWebAnalytics$inboundSchema;
9539
- /** @deprecated use `UpdateProjectDataCacheWebAnalytics$outboundSchema` instead. */
9540
- export const outboundSchema =
9541
- UpdateProjectDataCacheWebAnalytics$outboundSchema;
9542
- /** @deprecated use `UpdateProjectDataCacheWebAnalytics$Outbound` instead. */
9543
- export type Outbound = UpdateProjectDataCacheWebAnalytics$Outbound;
9544
- }
9545
-
9546
- export function updateProjectDataCacheWebAnalyticsToJSON(
9547
- updateProjectDataCacheWebAnalytics: UpdateProjectDataCacheWebAnalytics,
9548
- ): string {
9549
- return JSON.stringify(
9550
- UpdateProjectDataCacheWebAnalytics$outboundSchema.parse(
9551
- updateProjectDataCacheWebAnalytics,
9552
- ),
9553
- );
9554
- }
9555
-
9556
- export function updateProjectDataCacheWebAnalyticsFromJSON(
9557
- jsonString: string,
9558
- ): SafeParseResult<UpdateProjectDataCacheWebAnalytics, SDKValidationError> {
9559
- return safeParse(
9560
- jsonString,
9561
- (x) =>
9562
- UpdateProjectDataCacheWebAnalytics$inboundSchema.parse(JSON.parse(x)),
9563
- `Failed to parse 'UpdateProjectDataCacheWebAnalytics' from JSON`,
9564
- );
9565
- }
9566
-
9567
- /** @internal */
9568
- export const Src2$inboundSchema: z.ZodType<Src2, z.ZodTypeDef, unknown> = z
9569
- .object({
9570
- re: z.string().optional(),
9571
- eq: z.string().optional(),
9572
- neq: z.string().optional(),
9573
- inc: z.array(z.string()).optional(),
9574
- ninc: z.array(z.string()).optional(),
9575
- pre: z.string().optional(),
9576
- suf: z.string().optional(),
9577
- gt: z.number().optional(),
9578
- gte: z.number().optional(),
9579
- lt: z.number().optional(),
9580
- lte: z.number().optional(),
9581
- });
9582
-
9583
- /** @internal */
9584
- export type Src2$Outbound = {
9585
- re?: string | undefined;
9586
- eq?: string | undefined;
9587
- neq?: string | undefined;
9588
- inc?: Array<string> | undefined;
9589
- ninc?: Array<string> | undefined;
9590
- pre?: string | undefined;
9591
- suf?: string | undefined;
9592
- gt?: number | undefined;
9593
- gte?: number | undefined;
9594
- lt?: number | undefined;
9595
- lte?: number | undefined;
9596
- };
9597
-
9598
- /** @internal */
9599
- export const Src2$outboundSchema: z.ZodType<Src2$Outbound, z.ZodTypeDef, Src2> =
9600
- z.object({
9601
- re: z.string().optional(),
9602
- eq: z.string().optional(),
9603
- neq: z.string().optional(),
9604
- inc: z.array(z.string()).optional(),
9605
- ninc: z.array(z.string()).optional(),
9606
- pre: z.string().optional(),
9607
- suf: z.string().optional(),
9608
- gt: z.number().optional(),
9609
- gte: z.number().optional(),
9610
- lt: z.number().optional(),
9611
- lte: z.number().optional(),
9612
- });
9613
-
9614
- /**
9615
- * @internal
9616
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
9617
- */
9618
- export namespace Src2$ {
9619
- /** @deprecated use `Src2$inboundSchema` instead. */
9620
- export const inboundSchema = Src2$inboundSchema;
9621
- /** @deprecated use `Src2$outboundSchema` instead. */
9622
- export const outboundSchema = Src2$outboundSchema;
9623
- /** @deprecated use `Src2$Outbound` instead. */
9624
- export type Outbound = Src2$Outbound;
9625
- }
9626
-
9627
- export function src2ToJSON(src2: Src2): string {
9628
- return JSON.stringify(Src2$outboundSchema.parse(src2));
9629
- }
9630
-
9631
- export function src2FromJSON(
9632
- jsonString: string,
9633
- ): SafeParseResult<Src2, SDKValidationError> {
9634
- return safeParse(
9635
- jsonString,
9636
- (x) => Src2$inboundSchema.parse(JSON.parse(x)),
9637
- `Failed to parse 'Src2' from JSON`,
9638
- );
9639
- }
9640
-
9641
- /** @internal */
9642
- export const Src$inboundSchema: z.ZodType<Src, z.ZodTypeDef, unknown> = z.union(
9643
- [z.lazy(() => Src2$inboundSchema), z.string()],
9644
- );
9645
-
9646
- /** @internal */
9647
- export type Src$Outbound = Src2$Outbound | string;
9648
-
9649
- /** @internal */
9650
- export const Src$outboundSchema: z.ZodType<Src$Outbound, z.ZodTypeDef, Src> = z
9651
- .union([z.lazy(() => Src2$outboundSchema), z.string()]);
9652
-
9653
- /**
9654
- * @internal
9655
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
9656
- */
9657
- export namespace Src$ {
9658
- /** @deprecated use `Src$inboundSchema` instead. */
9659
- export const inboundSchema = Src$inboundSchema;
9660
- /** @deprecated use `Src$outboundSchema` instead. */
9661
- export const outboundSchema = Src$outboundSchema;
9662
- /** @deprecated use `Src$Outbound` instead. */
9663
- export type Outbound = Src$Outbound;
9664
- }
9665
-
9666
- export function srcToJSON(src: Src): string {
9667
- return JSON.stringify(Src$outboundSchema.parse(src));
9668
- }
9669
-
9670
- export function srcFromJSON(
9671
- jsonString: string,
9672
- ): SafeParseResult<Src, SDKValidationError> {
9673
- return safeParse(
9674
- jsonString,
9675
- (x) => Src$inboundSchema.parse(JSON.parse(x)),
9676
- `Failed to parse 'Src' from JSON`,
9677
- );
9678
- }
9679
-
9680
- /** @internal */
9681
- export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema:
9682
- z.ZodNativeEnum<
9683
- typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType
9684
- > = z.nativeEnum(
9685
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType,
9686
- );
9687
-
9688
- /** @internal */
9689
- export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema:
9690
- z.ZodNativeEnum<
9691
- typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType
9692
- > =
9693
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema;
9694
-
9695
- /**
9696
- * @internal
9697
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
9698
- */
9699
- export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$ {
9700
- /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema` instead. */
9701
- export const inboundSchema =
9702
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema;
9703
- /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema` instead. */
9704
- export const outboundSchema =
9705
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema;
9706
- }
9707
-
9708
- /** @internal */
9709
- export const UpdateProjectDataCacheValueProjects2$inboundSchema: z.ZodType<
9710
- UpdateProjectDataCacheValueProjects2,
9711
- z.ZodTypeDef,
9712
- unknown
9713
- > = z.object({
9714
- re: z.string().optional(),
9715
- eq: z.string().optional(),
9716
- neq: z.string().optional(),
9717
- inc: z.array(z.string()).optional(),
9718
- ninc: z.array(z.string()).optional(),
9719
- pre: z.string().optional(),
9720
- suf: z.string().optional(),
9721
- gt: z.number().optional(),
9722
- gte: z.number().optional(),
9723
- lt: z.number().optional(),
9724
- lte: z.number().optional(),
9725
- });
9726
-
9727
- /** @internal */
9728
- export type UpdateProjectDataCacheValueProjects2$Outbound = {
9729
- re?: string | undefined;
9730
- eq?: string | undefined;
9731
- neq?: string | undefined;
9732
- inc?: Array<string> | undefined;
9733
- ninc?: Array<string> | undefined;
9734
- pre?: string | undefined;
9735
- suf?: string | undefined;
9736
- gt?: number | undefined;
9737
- gte?: number | undefined;
9738
- lt?: number | undefined;
9739
- lte?: number | undefined;
9740
- };
9741
-
9742
- /** @internal */
9743
- export const UpdateProjectDataCacheValueProjects2$outboundSchema: z.ZodType<
9744
- UpdateProjectDataCacheValueProjects2$Outbound,
9745
- z.ZodTypeDef,
9746
- UpdateProjectDataCacheValueProjects2
9747
- > = z.object({
9748
- re: z.string().optional(),
9749
- eq: z.string().optional(),
9750
- neq: z.string().optional(),
9751
- inc: z.array(z.string()).optional(),
9752
- ninc: z.array(z.string()).optional(),
9753
- pre: z.string().optional(),
9754
- suf: z.string().optional(),
9755
- gt: z.number().optional(),
9756
- gte: z.number().optional(),
9757
- lt: z.number().optional(),
9758
- lte: z.number().optional(),
9759
- });
9760
-
9761
- /**
9762
- * @internal
9763
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
9764
- */
9765
- export namespace UpdateProjectDataCacheValueProjects2$ {
9766
- /** @deprecated use `UpdateProjectDataCacheValueProjects2$inboundSchema` instead. */
9767
- export const inboundSchema =
9768
- UpdateProjectDataCacheValueProjects2$inboundSchema;
9769
- /** @deprecated use `UpdateProjectDataCacheValueProjects2$outboundSchema` instead. */
9770
- export const outboundSchema =
9771
- UpdateProjectDataCacheValueProjects2$outboundSchema;
9772
- /** @deprecated use `UpdateProjectDataCacheValueProjects2$Outbound` instead. */
9773
- export type Outbound = UpdateProjectDataCacheValueProjects2$Outbound;
9774
- }
9775
-
9776
- export function updateProjectDataCacheValueProjects2ToJSON(
9777
- updateProjectDataCacheValueProjects2: UpdateProjectDataCacheValueProjects2,
9778
- ): string {
9779
- return JSON.stringify(
9780
- UpdateProjectDataCacheValueProjects2$outboundSchema.parse(
9781
- updateProjectDataCacheValueProjects2,
9782
- ),
9783
- );
9784
- }
9785
-
9786
- export function updateProjectDataCacheValueProjects2FromJSON(
9787
- jsonString: string,
9788
- ): SafeParseResult<UpdateProjectDataCacheValueProjects2, SDKValidationError> {
9789
- return safeParse(
9790
- jsonString,
9791
- (x) =>
9792
- UpdateProjectDataCacheValueProjects2$inboundSchema.parse(JSON.parse(x)),
9793
- `Failed to parse 'UpdateProjectDataCacheValueProjects2' from JSON`,
9794
- );
9795
- }
9796
-
9797
- /** @internal */
9798
- export const UpdateProjectDataCacheProjectsValue$inboundSchema: z.ZodType<
9799
- UpdateProjectDataCacheProjectsValue,
9800
- z.ZodTypeDef,
9801
- unknown
9802
- > = z.union([
9803
- z.lazy(() => UpdateProjectDataCacheValueProjects2$inboundSchema),
9804
- z.string(),
9805
- ]);
9806
-
9807
- /** @internal */
9808
- export type UpdateProjectDataCacheProjectsValue$Outbound =
9809
- | UpdateProjectDataCacheValueProjects2$Outbound
9810
- | string;
9811
-
9812
- /** @internal */
9813
- export const UpdateProjectDataCacheProjectsValue$outboundSchema: z.ZodType<
9814
- UpdateProjectDataCacheProjectsValue$Outbound,
9815
- z.ZodTypeDef,
9816
- UpdateProjectDataCacheProjectsValue
9817
- > = z.union([
9818
- z.lazy(() => UpdateProjectDataCacheValueProjects2$outboundSchema),
9819
- z.string(),
9820
- ]);
9821
-
9822
- /**
9823
- * @internal
9824
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
9825
- */
9826
- export namespace UpdateProjectDataCacheProjectsValue$ {
9827
- /** @deprecated use `UpdateProjectDataCacheProjectsValue$inboundSchema` instead. */
9828
- export const inboundSchema =
9829
- UpdateProjectDataCacheProjectsValue$inboundSchema;
9830
- /** @deprecated use `UpdateProjectDataCacheProjectsValue$outboundSchema` instead. */
9831
- export const outboundSchema =
9832
- UpdateProjectDataCacheProjectsValue$outboundSchema;
9833
- /** @deprecated use `UpdateProjectDataCacheProjectsValue$Outbound` instead. */
9834
- export type Outbound = UpdateProjectDataCacheProjectsValue$Outbound;
9835
- }
9836
-
9837
- export function updateProjectDataCacheProjectsValueToJSON(
9838
- updateProjectDataCacheProjectsValue: UpdateProjectDataCacheProjectsValue,
9839
- ): string {
9840
- return JSON.stringify(
9841
- UpdateProjectDataCacheProjectsValue$outboundSchema.parse(
9842
- updateProjectDataCacheProjectsValue,
9843
- ),
9844
- );
9845
- }
9846
-
9847
- export function updateProjectDataCacheProjectsValueFromJSON(
9848
- jsonString: string,
9849
- ): SafeParseResult<UpdateProjectDataCacheProjectsValue, SDKValidationError> {
9850
- return safeParse(
9851
- jsonString,
9852
- (x) =>
9853
- UpdateProjectDataCacheProjectsValue$inboundSchema.parse(JSON.parse(x)),
9854
- `Failed to parse 'UpdateProjectDataCacheProjectsValue' from JSON`,
9855
- );
9856
- }
9857
-
9858
- /** @internal */
9859
- export const Has$inboundSchema: z.ZodType<Has, z.ZodTypeDef, unknown> = z
9860
- .object({
9861
- type:
9862
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$inboundSchema,
9863
- key: z.string().optional(),
9864
- value: z.union([
9865
- z.lazy(() => UpdateProjectDataCacheValueProjects2$inboundSchema),
9866
- z.string(),
9867
- ]).optional(),
9868
- });
9869
-
9870
- /** @internal */
9871
- export type Has$Outbound = {
9872
- type: string;
9873
- key?: string | undefined;
9874
- value?: UpdateProjectDataCacheValueProjects2$Outbound | string | undefined;
9875
- };
9876
-
9877
- /** @internal */
9878
- export const Has$outboundSchema: z.ZodType<Has$Outbound, z.ZodTypeDef, Has> = z
9879
- .object({
9880
- type:
9881
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityType$outboundSchema,
9882
- key: z.string().optional(),
9883
- value: z.union([
9884
- z.lazy(() => UpdateProjectDataCacheValueProjects2$outboundSchema),
9885
- z.string(),
9886
- ]).optional(),
9887
- });
9888
-
9889
- /**
9890
- * @internal
9891
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
9892
- */
9893
- export namespace Has$ {
9894
- /** @deprecated use `Has$inboundSchema` instead. */
9895
- export const inboundSchema = Has$inboundSchema;
9896
- /** @deprecated use `Has$outboundSchema` instead. */
9897
- export const outboundSchema = Has$outboundSchema;
9898
- /** @deprecated use `Has$Outbound` instead. */
9899
- export type Outbound = Has$Outbound;
9900
- }
9901
-
9902
- export function hasToJSON(has: Has): string {
9903
- return JSON.stringify(Has$outboundSchema.parse(has));
9904
- }
9905
-
9906
- export function hasFromJSON(
9907
- jsonString: string,
9908
- ): SafeParseResult<Has, SDKValidationError> {
9909
- return safeParse(
9910
- jsonString,
9911
- (x) => Has$inboundSchema.parse(JSON.parse(x)),
9912
- `Failed to parse 'Has' from JSON`,
9913
- );
9914
- }
9915
-
9916
- /** @internal */
9917
- export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema:
9918
- z.ZodNativeEnum<
9919
- typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType
9920
- > = z.nativeEnum(
9921
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType,
9922
- );
9923
-
9924
- /** @internal */
9925
- export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema:
9926
- z.ZodNativeEnum<
9927
- typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType
9928
- > =
9929
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema;
9930
-
9931
- /**
9932
- * @internal
9933
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
9934
- */
9935
- export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$ {
9936
- /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema` instead. */
9937
- export const inboundSchema =
9938
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema;
9939
- /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema` instead. */
9940
- export const outboundSchema =
9941
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema;
9942
- }
9943
-
9944
- /** @internal */
9945
- export const UpdateProjectDataCacheValue2$inboundSchema: z.ZodType<
9946
- UpdateProjectDataCacheValue2,
9947
- z.ZodTypeDef,
9948
- unknown
9949
- > = z.object({
9950
- re: z.string().optional(),
9951
- eq: z.string().optional(),
9952
- neq: z.string().optional(),
9953
- inc: z.array(z.string()).optional(),
9954
- ninc: z.array(z.string()).optional(),
9955
- pre: z.string().optional(),
9956
- suf: z.string().optional(),
9957
- gt: z.number().optional(),
9958
- gte: z.number().optional(),
9959
- lt: z.number().optional(),
9960
- lte: z.number().optional(),
9961
- });
9962
-
9963
- /** @internal */
9964
- export type UpdateProjectDataCacheValue2$Outbound = {
9965
- re?: string | undefined;
9966
- eq?: string | undefined;
9967
- neq?: string | undefined;
9968
- inc?: Array<string> | undefined;
9969
- ninc?: Array<string> | undefined;
9970
- pre?: string | undefined;
9971
- suf?: string | undefined;
9972
- gt?: number | undefined;
9973
- gte?: number | undefined;
9974
- lt?: number | undefined;
9975
- lte?: number | undefined;
9976
- };
9977
-
9978
- /** @internal */
9979
- export const UpdateProjectDataCacheValue2$outboundSchema: z.ZodType<
9980
- UpdateProjectDataCacheValue2$Outbound,
9981
- z.ZodTypeDef,
9982
- UpdateProjectDataCacheValue2
9983
- > = z.object({
9984
- re: z.string().optional(),
9985
- eq: z.string().optional(),
9986
- neq: z.string().optional(),
9987
- inc: z.array(z.string()).optional(),
9988
- ninc: z.array(z.string()).optional(),
9989
- pre: z.string().optional(),
9990
- suf: z.string().optional(),
9991
- gt: z.number().optional(),
9992
- gte: z.number().optional(),
9993
- lt: z.number().optional(),
9994
- lte: z.number().optional(),
9995
- });
9996
-
9997
- /**
9998
- * @internal
9999
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10000
- */
10001
- export namespace UpdateProjectDataCacheValue2$ {
10002
- /** @deprecated use `UpdateProjectDataCacheValue2$inboundSchema` instead. */
10003
- export const inboundSchema = UpdateProjectDataCacheValue2$inboundSchema;
10004
- /** @deprecated use `UpdateProjectDataCacheValue2$outboundSchema` instead. */
10005
- export const outboundSchema = UpdateProjectDataCacheValue2$outboundSchema;
10006
- /** @deprecated use `UpdateProjectDataCacheValue2$Outbound` instead. */
10007
- export type Outbound = UpdateProjectDataCacheValue2$Outbound;
10008
- }
10009
-
10010
- export function updateProjectDataCacheValue2ToJSON(
10011
- updateProjectDataCacheValue2: UpdateProjectDataCacheValue2,
10012
- ): string {
10013
- return JSON.stringify(
10014
- UpdateProjectDataCacheValue2$outboundSchema.parse(
10015
- updateProjectDataCacheValue2,
10016
- ),
10017
- );
10018
- }
10019
-
10020
- export function updateProjectDataCacheValue2FromJSON(
10021
- jsonString: string,
10022
- ): SafeParseResult<UpdateProjectDataCacheValue2, SDKValidationError> {
10023
- return safeParse(
10024
- jsonString,
10025
- (x) => UpdateProjectDataCacheValue2$inboundSchema.parse(JSON.parse(x)),
10026
- `Failed to parse 'UpdateProjectDataCacheValue2' from JSON`,
10027
- );
10028
- }
10029
-
10030
- /** @internal */
10031
- export const UpdateProjectDataCacheValue$inboundSchema: z.ZodType<
10032
- UpdateProjectDataCacheValue,
10033
- z.ZodTypeDef,
10034
- unknown
10035
- > = z.union([
10036
- z.lazy(() => UpdateProjectDataCacheValue2$inboundSchema),
10037
- z.string(),
10038
- ]);
10039
-
10040
- /** @internal */
10041
- export type UpdateProjectDataCacheValue$Outbound =
10042
- | UpdateProjectDataCacheValue2$Outbound
10043
- | string;
10044
-
10045
- /** @internal */
10046
- export const UpdateProjectDataCacheValue$outboundSchema: z.ZodType<
10047
- UpdateProjectDataCacheValue$Outbound,
10048
- z.ZodTypeDef,
10049
- UpdateProjectDataCacheValue
10050
- > = z.union([
10051
- z.lazy(() => UpdateProjectDataCacheValue2$outboundSchema),
10052
- z.string(),
10053
- ]);
10054
-
10055
- /**
10056
- * @internal
10057
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10058
- */
10059
- export namespace UpdateProjectDataCacheValue$ {
10060
- /** @deprecated use `UpdateProjectDataCacheValue$inboundSchema` instead. */
10061
- export const inboundSchema = UpdateProjectDataCacheValue$inboundSchema;
10062
- /** @deprecated use `UpdateProjectDataCacheValue$outboundSchema` instead. */
10063
- export const outboundSchema = UpdateProjectDataCacheValue$outboundSchema;
10064
- /** @deprecated use `UpdateProjectDataCacheValue$Outbound` instead. */
10065
- export type Outbound = UpdateProjectDataCacheValue$Outbound;
10066
- }
10067
-
10068
- export function updateProjectDataCacheValueToJSON(
10069
- updateProjectDataCacheValue: UpdateProjectDataCacheValue,
10070
- ): string {
10071
- return JSON.stringify(
10072
- UpdateProjectDataCacheValue$outboundSchema.parse(
10073
- updateProjectDataCacheValue,
10074
- ),
10075
- );
10076
- }
10077
-
10078
- export function updateProjectDataCacheValueFromJSON(
10079
- jsonString: string,
10080
- ): SafeParseResult<UpdateProjectDataCacheValue, SDKValidationError> {
10081
- return safeParse(
10082
- jsonString,
10083
- (x) => UpdateProjectDataCacheValue$inboundSchema.parse(JSON.parse(x)),
10084
- `Failed to parse 'UpdateProjectDataCacheValue' from JSON`,
10085
- );
10086
- }
10087
-
10088
- /** @internal */
10089
- export const Missing$inboundSchema: z.ZodType<Missing, z.ZodTypeDef, unknown> =
10090
- z.object({
10091
- type:
10092
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$inboundSchema,
10093
- key: z.string().optional(),
10094
- value: z.union([
10095
- z.lazy(() => UpdateProjectDataCacheValue2$inboundSchema),
10096
- z.string(),
10097
- ]).optional(),
10098
- });
10099
-
10100
- /** @internal */
10101
- export type Missing$Outbound = {
10102
- type: string;
10103
- key?: string | undefined;
10104
- value?: UpdateProjectDataCacheValue2$Outbound | string | undefined;
10105
- };
10106
-
10107
- /** @internal */
10108
- export const Missing$outboundSchema: z.ZodType<
10109
- Missing$Outbound,
10110
- z.ZodTypeDef,
10111
- Missing
10112
- > = z.object({
10113
- type:
10114
- UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodySecurityFirewallRoutesType$outboundSchema,
10115
- key: z.string().optional(),
10116
- value: z.union([
10117
- z.lazy(() => UpdateProjectDataCacheValue2$outboundSchema),
10118
- z.string(),
10119
- ]).optional(),
10120
- });
10121
-
10122
- /**
10123
- * @internal
10124
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10125
- */
10126
- export namespace Missing$ {
10127
- /** @deprecated use `Missing$inboundSchema` instead. */
10128
- export const inboundSchema = Missing$inboundSchema;
10129
- /** @deprecated use `Missing$outboundSchema` instead. */
10130
- export const outboundSchema = Missing$outboundSchema;
10131
- /** @deprecated use `Missing$Outbound` instead. */
10132
- export type Outbound = Missing$Outbound;
10133
- }
10134
-
10135
- export function missingToJSON(missing: Missing): string {
10136
- return JSON.stringify(Missing$outboundSchema.parse(missing));
9461
+ ): string {
9462
+ return JSON.stringify(
9463
+ UpdateProjectDataCacheTrustedIps$outboundSchema.parse(
9464
+ updateProjectDataCacheTrustedIps,
9465
+ ),
9466
+ );
10137
9467
  }
10138
9468
 
10139
- export function missingFromJSON(
9469
+ export function updateProjectDataCacheTrustedIpsFromJSON(
10140
9470
  jsonString: string,
10141
- ): SafeParseResult<Missing, SDKValidationError> {
9471
+ ): SafeParseResult<UpdateProjectDataCacheTrustedIps, SDKValidationError> {
10142
9472
  return safeParse(
10143
9473
  jsonString,
10144
- (x) => Missing$inboundSchema.parse(JSON.parse(x)),
10145
- `Failed to parse 'Missing' from JSON`,
9474
+ (x) => UpdateProjectDataCacheTrustedIps$inboundSchema.parse(JSON.parse(x)),
9475
+ `Failed to parse 'UpdateProjectDataCacheTrustedIps' from JSON`,
10146
9476
  );
10147
9477
  }
10148
9478
 
10149
9479
  /** @internal */
10150
- export const Handle$inboundSchema: z.ZodNativeEnum<typeof Handle> = z
10151
- .nativeEnum(Handle);
10152
-
10153
- /** @internal */
10154
- export const Handle$outboundSchema: z.ZodNativeEnum<typeof Handle> =
10155
- Handle$inboundSchema;
10156
-
10157
- /**
10158
- * @internal
10159
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10160
- */
10161
- export namespace Handle$ {
10162
- /** @deprecated use `Handle$inboundSchema` instead. */
10163
- export const inboundSchema = Handle$inboundSchema;
10164
- /** @deprecated use `Handle$outboundSchema` instead. */
10165
- export const outboundSchema = Handle$outboundSchema;
10166
- }
9480
+ export const GitComments$inboundSchema: z.ZodType<
9481
+ GitComments,
9482
+ z.ZodTypeDef,
9483
+ unknown
9484
+ > = z.object({
9485
+ onPullRequest: z.boolean(),
9486
+ onCommit: z.boolean(),
9487
+ });
10167
9488
 
10168
9489
  /** @internal */
10169
- export const UpdateProjectDataCacheProjectsResponse200Action$inboundSchema:
10170
- z.ZodNativeEnum<typeof UpdateProjectDataCacheProjectsResponse200Action> = z
10171
- .nativeEnum(UpdateProjectDataCacheProjectsResponse200Action);
9490
+ export type GitComments$Outbound = {
9491
+ onPullRequest: boolean;
9492
+ onCommit: boolean;
9493
+ };
10172
9494
 
10173
9495
  /** @internal */
10174
- export const UpdateProjectDataCacheProjectsResponse200Action$outboundSchema:
10175
- z.ZodNativeEnum<typeof UpdateProjectDataCacheProjectsResponse200Action> =
10176
- UpdateProjectDataCacheProjectsResponse200Action$inboundSchema;
9496
+ export const GitComments$outboundSchema: z.ZodType<
9497
+ GitComments$Outbound,
9498
+ z.ZodTypeDef,
9499
+ GitComments
9500
+ > = z.object({
9501
+ onPullRequest: z.boolean(),
9502
+ onCommit: z.boolean(),
9503
+ });
10177
9504
 
10178
9505
  /**
10179
9506
  * @internal
10180
9507
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10181
9508
  */
10182
- export namespace UpdateProjectDataCacheProjectsResponse200Action$ {
10183
- /** @deprecated use `UpdateProjectDataCacheProjectsResponse200Action$inboundSchema` instead. */
10184
- export const inboundSchema =
10185
- UpdateProjectDataCacheProjectsResponse200Action$inboundSchema;
10186
- /** @deprecated use `UpdateProjectDataCacheProjectsResponse200Action$outboundSchema` instead. */
10187
- export const outboundSchema =
10188
- UpdateProjectDataCacheProjectsResponse200Action$outboundSchema;
9509
+ export namespace GitComments$ {
9510
+ /** @deprecated use `GitComments$inboundSchema` instead. */
9511
+ export const inboundSchema = GitComments$inboundSchema;
9512
+ /** @deprecated use `GitComments$outboundSchema` instead. */
9513
+ export const outboundSchema = GitComments$outboundSchema;
9514
+ /** @deprecated use `GitComments$Outbound` instead. */
9515
+ export type Outbound = GitComments$Outbound;
10189
9516
  }
10190
9517
 
10191
- /** @internal */
10192
- export const UpdateProjectDataCacheAlgo$inboundSchema: z.ZodNativeEnum<
10193
- typeof UpdateProjectDataCacheAlgo
10194
- > = z.nativeEnum(UpdateProjectDataCacheAlgo);
10195
-
10196
- /** @internal */
10197
- export const UpdateProjectDataCacheAlgo$outboundSchema: z.ZodNativeEnum<
10198
- typeof UpdateProjectDataCacheAlgo
10199
- > = UpdateProjectDataCacheAlgo$inboundSchema;
10200
-
10201
- /**
10202
- * @internal
10203
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10204
- */
10205
- export namespace UpdateProjectDataCacheAlgo$ {
10206
- /** @deprecated use `UpdateProjectDataCacheAlgo$inboundSchema` instead. */
10207
- export const inboundSchema = UpdateProjectDataCacheAlgo$inboundSchema;
10208
- /** @deprecated use `UpdateProjectDataCacheAlgo$outboundSchema` instead. */
10209
- export const outboundSchema = UpdateProjectDataCacheAlgo$outboundSchema;
9518
+ export function gitCommentsToJSON(gitComments: GitComments): string {
9519
+ return JSON.stringify(GitComments$outboundSchema.parse(gitComments));
10210
9520
  }
10211
9521
 
10212
- /** @internal */
10213
- export const Erl$inboundSchema: z.ZodType<Erl, z.ZodTypeDef, unknown> = z
10214
- .object({
10215
- algo: UpdateProjectDataCacheAlgo$inboundSchema,
10216
- window: z.number(),
10217
- limit: z.number(),
10218
- keys: z.array(z.string()),
10219
- });
9522
+ export function gitCommentsFromJSON(
9523
+ jsonString: string,
9524
+ ): SafeParseResult<GitComments, SDKValidationError> {
9525
+ return safeParse(
9526
+ jsonString,
9527
+ (x) => GitComments$inboundSchema.parse(JSON.parse(x)),
9528
+ `Failed to parse 'GitComments' from JSON`,
9529
+ );
9530
+ }
10220
9531
 
10221
9532
  /** @internal */
10222
- export type Erl$Outbound = {
10223
- algo: string;
10224
- window: number;
10225
- limit: number;
10226
- keys: Array<string>;
10227
- };
9533
+ export const CreateDeployments$inboundSchema: z.ZodNativeEnum<
9534
+ typeof CreateDeployments
9535
+ > = z.nativeEnum(CreateDeployments);
10228
9536
 
10229
9537
  /** @internal */
10230
- export const Erl$outboundSchema: z.ZodType<Erl$Outbound, z.ZodTypeDef, Erl> = z
10231
- .object({
10232
- algo: UpdateProjectDataCacheAlgo$outboundSchema,
10233
- window: z.number(),
10234
- limit: z.number(),
10235
- keys: z.array(z.string()),
10236
- });
9538
+ export const CreateDeployments$outboundSchema: z.ZodNativeEnum<
9539
+ typeof CreateDeployments
9540
+ > = CreateDeployments$inboundSchema;
10237
9541
 
10238
9542
  /**
10239
9543
  * @internal
10240
9544
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10241
9545
  */
10242
- export namespace Erl$ {
10243
- /** @deprecated use `Erl$inboundSchema` instead. */
10244
- export const inboundSchema = Erl$inboundSchema;
10245
- /** @deprecated use `Erl$outboundSchema` instead. */
10246
- export const outboundSchema = Erl$outboundSchema;
10247
- /** @deprecated use `Erl$Outbound` instead. */
10248
- export type Outbound = Erl$Outbound;
10249
- }
10250
-
10251
- export function erlToJSON(erl: Erl): string {
10252
- return JSON.stringify(Erl$outboundSchema.parse(erl));
10253
- }
10254
-
10255
- export function erlFromJSON(
10256
- jsonString: string,
10257
- ): SafeParseResult<Erl, SDKValidationError> {
10258
- return safeParse(
10259
- jsonString,
10260
- (x) => Erl$inboundSchema.parse(JSON.parse(x)),
10261
- `Failed to parse 'Erl' from JSON`,
10262
- );
9546
+ export namespace CreateDeployments$ {
9547
+ /** @deprecated use `CreateDeployments$inboundSchema` instead. */
9548
+ export const inboundSchema = CreateDeployments$inboundSchema;
9549
+ /** @deprecated use `CreateDeployments$outboundSchema` instead. */
9550
+ export const outboundSchema = CreateDeployments$outboundSchema;
10263
9551
  }
10264
9552
 
10265
9553
  /** @internal */
10266
- export const UpdateProjectDataCacheMitigate$inboundSchema: z.ZodType<
10267
- UpdateProjectDataCacheMitigate,
9554
+ export const GitProviderOptions$inboundSchema: z.ZodType<
9555
+ GitProviderOptions,
10268
9556
  z.ZodTypeDef,
10269
9557
  unknown
10270
9558
  > = z.object({
10271
- action: UpdateProjectDataCacheProjectsResponse200Action$inboundSchema,
10272
- rule_id: z.string(),
10273
- ttl: z.number().optional(),
10274
- erl: z.lazy(() => Erl$inboundSchema).optional(),
10275
- }).transform((v) => {
10276
- return remap$(v, {
10277
- "rule_id": "ruleId",
10278
- });
9559
+ createDeployments: CreateDeployments$inboundSchema,
9560
+ disableRepositoryDispatchEvents: z.boolean().optional(),
10279
9561
  });
10280
9562
 
10281
9563
  /** @internal */
10282
- export type UpdateProjectDataCacheMitigate$Outbound = {
10283
- action: string;
10284
- rule_id: string;
10285
- ttl?: number | undefined;
10286
- erl?: Erl$Outbound | undefined;
9564
+ export type GitProviderOptions$Outbound = {
9565
+ createDeployments: string;
9566
+ disableRepositoryDispatchEvents?: boolean | undefined;
10287
9567
  };
10288
9568
 
10289
9569
  /** @internal */
10290
- export const UpdateProjectDataCacheMitigate$outboundSchema: z.ZodType<
10291
- UpdateProjectDataCacheMitigate$Outbound,
9570
+ export const GitProviderOptions$outboundSchema: z.ZodType<
9571
+ GitProviderOptions$Outbound,
10292
9572
  z.ZodTypeDef,
10293
- UpdateProjectDataCacheMitigate
9573
+ GitProviderOptions
10294
9574
  > = z.object({
10295
- action: UpdateProjectDataCacheProjectsResponse200Action$outboundSchema,
10296
- ruleId: z.string(),
10297
- ttl: z.number().optional(),
10298
- erl: z.lazy(() => Erl$outboundSchema).optional(),
10299
- }).transform((v) => {
10300
- return remap$(v, {
10301
- ruleId: "rule_id",
10302
- });
9575
+ createDeployments: CreateDeployments$outboundSchema,
9576
+ disableRepositoryDispatchEvents: z.boolean().optional(),
10303
9577
  });
10304
9578
 
10305
9579
  /**
10306
9580
  * @internal
10307
9581
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10308
9582
  */
10309
- export namespace UpdateProjectDataCacheMitigate$ {
10310
- /** @deprecated use `UpdateProjectDataCacheMitigate$inboundSchema` instead. */
10311
- export const inboundSchema = UpdateProjectDataCacheMitigate$inboundSchema;
10312
- /** @deprecated use `UpdateProjectDataCacheMitigate$outboundSchema` instead. */
10313
- export const outboundSchema = UpdateProjectDataCacheMitigate$outboundSchema;
10314
- /** @deprecated use `UpdateProjectDataCacheMitigate$Outbound` instead. */
10315
- export type Outbound = UpdateProjectDataCacheMitigate$Outbound;
9583
+ export namespace GitProviderOptions$ {
9584
+ /** @deprecated use `GitProviderOptions$inboundSchema` instead. */
9585
+ export const inboundSchema = GitProviderOptions$inboundSchema;
9586
+ /** @deprecated use `GitProviderOptions$outboundSchema` instead. */
9587
+ export const outboundSchema = GitProviderOptions$outboundSchema;
9588
+ /** @deprecated use `GitProviderOptions$Outbound` instead. */
9589
+ export type Outbound = GitProviderOptions$Outbound;
10316
9590
  }
10317
9591
 
10318
- export function updateProjectDataCacheMitigateToJSON(
10319
- updateProjectDataCacheMitigate: UpdateProjectDataCacheMitigate,
9592
+ export function gitProviderOptionsToJSON(
9593
+ gitProviderOptions: GitProviderOptions,
10320
9594
  ): string {
10321
9595
  return JSON.stringify(
10322
- UpdateProjectDataCacheMitigate$outboundSchema.parse(
10323
- updateProjectDataCacheMitigate,
10324
- ),
9596
+ GitProviderOptions$outboundSchema.parse(gitProviderOptions),
10325
9597
  );
10326
9598
  }
10327
9599
 
10328
- export function updateProjectDataCacheMitigateFromJSON(
9600
+ export function gitProviderOptionsFromJSON(
10329
9601
  jsonString: string,
10330
- ): SafeParseResult<UpdateProjectDataCacheMitigate, SDKValidationError> {
9602
+ ): SafeParseResult<GitProviderOptions, SDKValidationError> {
10331
9603
  return safeParse(
10332
9604
  jsonString,
10333
- (x) => UpdateProjectDataCacheMitigate$inboundSchema.parse(JSON.parse(x)),
10334
- `Failed to parse 'UpdateProjectDataCacheMitigate' from JSON`,
9605
+ (x) => GitProviderOptions$inboundSchema.parse(JSON.parse(x)),
9606
+ `Failed to parse 'GitProviderOptions' from JSON`,
10335
9607
  );
10336
9608
  }
10337
9609
 
10338
9610
  /** @internal */
10339
- export const FirewallRoutes$inboundSchema: z.ZodType<
10340
- FirewallRoutes,
9611
+ export const UpdateProjectDataCacheWebAnalytics$inboundSchema: z.ZodType<
9612
+ UpdateProjectDataCacheWebAnalytics,
10341
9613
  z.ZodTypeDef,
10342
9614
  unknown
10343
9615
  > = z.object({
10344
- src: z.union([z.lazy(() => Src2$inboundSchema), z.string()]).optional(),
10345
- has: z.array(z.lazy(() => Has$inboundSchema)).optional(),
10346
- missing: z.array(z.lazy(() => Missing$inboundSchema)).optional(),
10347
- dest: z.string().optional(),
10348
- status: z.number().optional(),
10349
- handle: Handle$inboundSchema.optional(),
10350
- mitigate: z.lazy(() => UpdateProjectDataCacheMitigate$inboundSchema)
10351
- .optional(),
9616
+ id: z.string(),
9617
+ disabledAt: z.number().optional(),
9618
+ canceledAt: z.number().optional(),
9619
+ enabledAt: z.number().optional(),
9620
+ hasData: z.boolean().optional(),
10352
9621
  });
10353
9622
 
10354
9623
  /** @internal */
10355
- export type FirewallRoutes$Outbound = {
10356
- src?: Src2$Outbound | string | undefined;
10357
- has?: Array<Has$Outbound> | undefined;
10358
- missing?: Array<Missing$Outbound> | undefined;
10359
- dest?: string | undefined;
10360
- status?: number | undefined;
10361
- handle?: string | undefined;
10362
- mitigate?: UpdateProjectDataCacheMitigate$Outbound | undefined;
9624
+ export type UpdateProjectDataCacheWebAnalytics$Outbound = {
9625
+ id: string;
9626
+ disabledAt?: number | undefined;
9627
+ canceledAt?: number | undefined;
9628
+ enabledAt?: number | undefined;
9629
+ hasData?: boolean | undefined;
10363
9630
  };
10364
9631
 
10365
9632
  /** @internal */
10366
- export const FirewallRoutes$outboundSchema: z.ZodType<
10367
- FirewallRoutes$Outbound,
9633
+ export const UpdateProjectDataCacheWebAnalytics$outboundSchema: z.ZodType<
9634
+ UpdateProjectDataCacheWebAnalytics$Outbound,
10368
9635
  z.ZodTypeDef,
10369
- FirewallRoutes
9636
+ UpdateProjectDataCacheWebAnalytics
10370
9637
  > = z.object({
10371
- src: z.union([z.lazy(() => Src2$outboundSchema), z.string()]).optional(),
10372
- has: z.array(z.lazy(() => Has$outboundSchema)).optional(),
10373
- missing: z.array(z.lazy(() => Missing$outboundSchema)).optional(),
10374
- dest: z.string().optional(),
10375
- status: z.number().optional(),
10376
- handle: Handle$outboundSchema.optional(),
10377
- mitigate: z.lazy(() => UpdateProjectDataCacheMitigate$outboundSchema)
10378
- .optional(),
9638
+ id: z.string(),
9639
+ disabledAt: z.number().optional(),
9640
+ canceledAt: z.number().optional(),
9641
+ enabledAt: z.number().optional(),
9642
+ hasData: z.boolean().optional(),
10379
9643
  });
10380
9644
 
10381
9645
  /**
10382
9646
  * @internal
10383
9647
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10384
9648
  */
10385
- export namespace FirewallRoutes$ {
10386
- /** @deprecated use `FirewallRoutes$inboundSchema` instead. */
10387
- export const inboundSchema = FirewallRoutes$inboundSchema;
10388
- /** @deprecated use `FirewallRoutes$outboundSchema` instead. */
10389
- export const outboundSchema = FirewallRoutes$outboundSchema;
10390
- /** @deprecated use `FirewallRoutes$Outbound` instead. */
10391
- export type Outbound = FirewallRoutes$Outbound;
9649
+ export namespace UpdateProjectDataCacheWebAnalytics$ {
9650
+ /** @deprecated use `UpdateProjectDataCacheWebAnalytics$inboundSchema` instead. */
9651
+ export const inboundSchema = UpdateProjectDataCacheWebAnalytics$inboundSchema;
9652
+ /** @deprecated use `UpdateProjectDataCacheWebAnalytics$outboundSchema` instead. */
9653
+ export const outboundSchema =
9654
+ UpdateProjectDataCacheWebAnalytics$outboundSchema;
9655
+ /** @deprecated use `UpdateProjectDataCacheWebAnalytics$Outbound` instead. */
9656
+ export type Outbound = UpdateProjectDataCacheWebAnalytics$Outbound;
10392
9657
  }
10393
9658
 
10394
- export function firewallRoutesToJSON(firewallRoutes: FirewallRoutes): string {
10395
- return JSON.stringify(FirewallRoutes$outboundSchema.parse(firewallRoutes));
9659
+ export function updateProjectDataCacheWebAnalyticsToJSON(
9660
+ updateProjectDataCacheWebAnalytics: UpdateProjectDataCacheWebAnalytics,
9661
+ ): string {
9662
+ return JSON.stringify(
9663
+ UpdateProjectDataCacheWebAnalytics$outboundSchema.parse(
9664
+ updateProjectDataCacheWebAnalytics,
9665
+ ),
9666
+ );
10396
9667
  }
10397
9668
 
10398
- export function firewallRoutesFromJSON(
9669
+ export function updateProjectDataCacheWebAnalyticsFromJSON(
10399
9670
  jsonString: string,
10400
- ): SafeParseResult<FirewallRoutes, SDKValidationError> {
9671
+ ): SafeParseResult<UpdateProjectDataCacheWebAnalytics, SDKValidationError> {
10401
9672
  return safeParse(
10402
9673
  jsonString,
10403
- (x) => FirewallRoutes$inboundSchema.parse(JSON.parse(x)),
10404
- `Failed to parse 'FirewallRoutes' from JSON`,
9674
+ (x) =>
9675
+ UpdateProjectDataCacheWebAnalytics$inboundSchema.parse(JSON.parse(x)),
9676
+ `Failed to parse 'UpdateProjectDataCacheWebAnalytics' from JSON`,
10405
9677
  );
10406
9678
  }
10407
9679
 
10408
9680
  /** @internal */
10409
- export const UpdateProjectDataCacheAction$inboundSchema: z.ZodNativeEnum<
10410
- typeof UpdateProjectDataCacheAction
10411
- > = z.nativeEnum(UpdateProjectDataCacheAction);
9681
+ export const UpdateProjectDataCacheProjectsResponseAction$inboundSchema:
9682
+ z.ZodNativeEnum<typeof UpdateProjectDataCacheProjectsResponseAction> = z
9683
+ .nativeEnum(UpdateProjectDataCacheProjectsResponseAction);
10412
9684
 
10413
9685
  /** @internal */
10414
- export const UpdateProjectDataCacheAction$outboundSchema: z.ZodNativeEnum<
10415
- typeof UpdateProjectDataCacheAction
10416
- > = UpdateProjectDataCacheAction$inboundSchema;
9686
+ export const UpdateProjectDataCacheProjectsResponseAction$outboundSchema:
9687
+ z.ZodNativeEnum<typeof UpdateProjectDataCacheProjectsResponseAction> =
9688
+ UpdateProjectDataCacheProjectsResponseAction$inboundSchema;
10417
9689
 
10418
9690
  /**
10419
9691
  * @internal
10420
9692
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10421
9693
  */
10422
- export namespace UpdateProjectDataCacheAction$ {
10423
- /** @deprecated use `UpdateProjectDataCacheAction$inboundSchema` instead. */
10424
- export const inboundSchema = UpdateProjectDataCacheAction$inboundSchema;
10425
- /** @deprecated use `UpdateProjectDataCacheAction$outboundSchema` instead. */
10426
- export const outboundSchema = UpdateProjectDataCacheAction$outboundSchema;
9694
+ export namespace UpdateProjectDataCacheProjectsResponseAction$ {
9695
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponseAction$inboundSchema` instead. */
9696
+ export const inboundSchema =
9697
+ UpdateProjectDataCacheProjectsResponseAction$inboundSchema;
9698
+ /** @deprecated use `UpdateProjectDataCacheProjectsResponseAction$outboundSchema` instead. */
9699
+ export const outboundSchema =
9700
+ UpdateProjectDataCacheProjectsResponseAction$outboundSchema;
10427
9701
  }
10428
9702
 
10429
9703
  /** @internal */
@@ -10433,7 +9707,7 @@ export const BotFilter$inboundSchema: z.ZodType<
10433
9707
  unknown
10434
9708
  > = z.object({
10435
9709
  active: z.boolean(),
10436
- action: UpdateProjectDataCacheAction$inboundSchema.optional(),
9710
+ action: UpdateProjectDataCacheProjectsResponseAction$inboundSchema.optional(),
10437
9711
  });
10438
9712
 
10439
9713
  /** @internal */
@@ -10449,7 +9723,8 @@ export const BotFilter$outboundSchema: z.ZodType<
10449
9723
  BotFilter
10450
9724
  > = z.object({
10451
9725
  active: z.boolean(),
10452
- action: UpdateProjectDataCacheAction$outboundSchema.optional(),
9726
+ action: UpdateProjectDataCacheProjectsResponseAction$outboundSchema
9727
+ .optional(),
10453
9728
  });
10454
9729
 
10455
9730
  /**
@@ -10480,27 +9755,24 @@ export function botFilterFromJSON(
10480
9755
  }
10481
9756
 
10482
9757
  /** @internal */
10483
- export const UpdateProjectDataCacheProjectsAction$inboundSchema:
10484
- z.ZodNativeEnum<typeof UpdateProjectDataCacheProjectsAction> = z.nativeEnum(
10485
- UpdateProjectDataCacheProjectsAction,
10486
- );
9758
+ export const UpdateProjectDataCacheAction$inboundSchema: z.ZodNativeEnum<
9759
+ typeof UpdateProjectDataCacheAction
9760
+ > = z.nativeEnum(UpdateProjectDataCacheAction);
10487
9761
 
10488
9762
  /** @internal */
10489
- export const UpdateProjectDataCacheProjectsAction$outboundSchema:
10490
- z.ZodNativeEnum<typeof UpdateProjectDataCacheProjectsAction> =
10491
- UpdateProjectDataCacheProjectsAction$inboundSchema;
9763
+ export const UpdateProjectDataCacheAction$outboundSchema: z.ZodNativeEnum<
9764
+ typeof UpdateProjectDataCacheAction
9765
+ > = UpdateProjectDataCacheAction$inboundSchema;
10492
9766
 
10493
9767
  /**
10494
9768
  * @internal
10495
9769
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10496
9770
  */
10497
- export namespace UpdateProjectDataCacheProjectsAction$ {
10498
- /** @deprecated use `UpdateProjectDataCacheProjectsAction$inboundSchema` instead. */
10499
- export const inboundSchema =
10500
- UpdateProjectDataCacheProjectsAction$inboundSchema;
10501
- /** @deprecated use `UpdateProjectDataCacheProjectsAction$outboundSchema` instead. */
10502
- export const outboundSchema =
10503
- UpdateProjectDataCacheProjectsAction$outboundSchema;
9771
+ export namespace UpdateProjectDataCacheAction$ {
9772
+ /** @deprecated use `UpdateProjectDataCacheAction$inboundSchema` instead. */
9773
+ export const inboundSchema = UpdateProjectDataCacheAction$inboundSchema;
9774
+ /** @deprecated use `UpdateProjectDataCacheAction$outboundSchema` instead. */
9775
+ export const outboundSchema = UpdateProjectDataCacheAction$outboundSchema;
10504
9776
  }
10505
9777
 
10506
9778
  /** @internal */
@@ -10510,7 +9782,7 @@ export const UpdateProjectDataCacheAiBots$inboundSchema: z.ZodType<
10510
9782
  unknown
10511
9783
  > = z.object({
10512
9784
  active: z.boolean(),
10513
- action: UpdateProjectDataCacheProjectsAction$inboundSchema.optional(),
9785
+ action: UpdateProjectDataCacheAction$inboundSchema.optional(),
10514
9786
  });
10515
9787
 
10516
9788
  /** @internal */
@@ -10526,7 +9798,7 @@ export const UpdateProjectDataCacheAiBots$outboundSchema: z.ZodType<
10526
9798
  UpdateProjectDataCacheAiBots
10527
9799
  > = z.object({
10528
9800
  active: z.boolean(),
10529
- action: UpdateProjectDataCacheProjectsAction$outboundSchema.optional(),
9801
+ action: UpdateProjectDataCacheAction$outboundSchema.optional(),
10530
9802
  });
10531
9803
 
10532
9804
  /**
@@ -10563,26 +9835,27 @@ export function updateProjectDataCacheAiBotsFromJSON(
10563
9835
  }
10564
9836
 
10565
9837
  /** @internal */
10566
- export const UpdateProjectDataCacheProjectsResponseAction$inboundSchema:
10567
- z.ZodNativeEnum<typeof UpdateProjectDataCacheProjectsResponseAction> = z
10568
- .nativeEnum(UpdateProjectDataCacheProjectsResponseAction);
9838
+ export const UpdateProjectDataCacheProjectsAction$inboundSchema:
9839
+ z.ZodNativeEnum<typeof UpdateProjectDataCacheProjectsAction> = z.nativeEnum(
9840
+ UpdateProjectDataCacheProjectsAction,
9841
+ );
10569
9842
 
10570
9843
  /** @internal */
10571
- export const UpdateProjectDataCacheProjectsResponseAction$outboundSchema:
10572
- z.ZodNativeEnum<typeof UpdateProjectDataCacheProjectsResponseAction> =
10573
- UpdateProjectDataCacheProjectsResponseAction$inboundSchema;
9844
+ export const UpdateProjectDataCacheProjectsAction$outboundSchema:
9845
+ z.ZodNativeEnum<typeof UpdateProjectDataCacheProjectsAction> =
9846
+ UpdateProjectDataCacheProjectsAction$inboundSchema;
10574
9847
 
10575
9848
  /**
10576
9849
  * @internal
10577
9850
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
10578
9851
  */
10579
- export namespace UpdateProjectDataCacheProjectsResponseAction$ {
10580
- /** @deprecated use `UpdateProjectDataCacheProjectsResponseAction$inboundSchema` instead. */
9852
+ export namespace UpdateProjectDataCacheProjectsAction$ {
9853
+ /** @deprecated use `UpdateProjectDataCacheProjectsAction$inboundSchema` instead. */
10581
9854
  export const inboundSchema =
10582
- UpdateProjectDataCacheProjectsResponseAction$inboundSchema;
10583
- /** @deprecated use `UpdateProjectDataCacheProjectsResponseAction$outboundSchema` instead. */
9855
+ UpdateProjectDataCacheProjectsAction$inboundSchema;
9856
+ /** @deprecated use `UpdateProjectDataCacheProjectsAction$outboundSchema` instead. */
10584
9857
  export const outboundSchema =
10585
- UpdateProjectDataCacheProjectsResponseAction$outboundSchema;
9858
+ UpdateProjectDataCacheProjectsAction$outboundSchema;
10586
9859
  }
10587
9860
 
10588
9861
  /** @internal */
@@ -10592,7 +9865,7 @@ export const UpdateProjectDataCacheOwasp$inboundSchema: z.ZodType<
10592
9865
  unknown
10593
9866
  > = z.object({
10594
9867
  active: z.boolean(),
10595
- action: UpdateProjectDataCacheProjectsResponseAction$inboundSchema.optional(),
9868
+ action: UpdateProjectDataCacheProjectsAction$inboundSchema.optional(),
10596
9869
  });
10597
9870
 
10598
9871
  /** @internal */
@@ -10608,8 +9881,7 @@ export const UpdateProjectDataCacheOwasp$outboundSchema: z.ZodType<
10608
9881
  UpdateProjectDataCacheOwasp
10609
9882
  > = z.object({
10610
9883
  active: z.boolean(),
10611
- action: UpdateProjectDataCacheProjectsResponseAction$outboundSchema
10612
- .optional(),
9884
+ action: UpdateProjectDataCacheProjectsAction$outboundSchema.optional(),
10613
9885
  });
10614
9886
 
10615
9887
  /**
@@ -10731,8 +10003,6 @@ export const UpdateProjectDataCacheSecurity$inboundSchema: z.ZodType<
10731
10003
  firewallUpdatedAt: z.number().optional(),
10732
10004
  attackModeActiveUntil: z.nullable(z.number()).optional(),
10733
10005
  firewallConfigVersion: z.number().optional(),
10734
- firewallRoutes: z.array(z.lazy(() => FirewallRoutes$inboundSchema))
10735
- .optional(),
10736
10006
  firewallSeawallEnabled: z.boolean().optional(),
10737
10007
  ja3Enabled: z.boolean().optional(),
10738
10008
  ja4Enabled: z.boolean().optional(),
@@ -10751,7 +10021,6 @@ export type UpdateProjectDataCacheSecurity$Outbound = {
10751
10021
  firewallUpdatedAt?: number | undefined;
10752
10022
  attackModeActiveUntil?: number | null | undefined;
10753
10023
  firewallConfigVersion?: number | undefined;
10754
- firewallRoutes?: Array<FirewallRoutes$Outbound> | undefined;
10755
10024
  firewallSeawallEnabled?: boolean | undefined;
10756
10025
  ja3Enabled?: boolean | undefined;
10757
10026
  ja4Enabled?: boolean | undefined;
@@ -10772,8 +10041,6 @@ export const UpdateProjectDataCacheSecurity$outboundSchema: z.ZodType<
10772
10041
  firewallUpdatedAt: z.number().optional(),
10773
10042
  attackModeActiveUntil: z.nullable(z.number()).optional(),
10774
10043
  firewallConfigVersion: z.number().optional(),
10775
- firewallRoutes: z.array(z.lazy(() => FirewallRoutes$outboundSchema))
10776
- .optional(),
10777
10044
  firewallSeawallEnabled: z.boolean().optional(),
10778
10045
  ja3Enabled: z.boolean().optional(),
10779
10046
  ja4Enabled: z.boolean().optional(),
@@ -11022,6 +10289,7 @@ export const UpdateProjectDataCacheResponseBody$inboundSchema: z.ZodType<
11022
10289
  z.lazy(() => Link2$inboundSchema),
11023
10290
  z.lazy(() => Link3$inboundSchema),
11024
10291
  z.lazy(() => Link4$inboundSchema),
10292
+ z.lazy(() => Link5$inboundSchema),
11025
10293
  ]).optional(),
11026
10294
  microfrontends: z.union([
11027
10295
  z.lazy(() => UpdateProjectDataCacheMicrofrontends1$inboundSchema),
@@ -11096,6 +10364,7 @@ export const UpdateProjectDataCacheResponseBody$inboundSchema: z.ZodType<
11096
10364
  ).optional(),
11097
10365
  tier: UpdateProjectDataCacheTier$inboundSchema.optional(),
11098
10366
  features: z.lazy(() => Features$inboundSchema).optional(),
10367
+ v0: z.boolean().optional(),
11099
10368
  });
11100
10369
 
11101
10370
  /** @internal */
@@ -11136,6 +10405,7 @@ export type UpdateProjectDataCacheResponseBody$Outbound = {
11136
10405
  | Link2$Outbound
11137
10406
  | Link3$Outbound
11138
10407
  | Link4$Outbound
10408
+ | Link5$Outbound
11139
10409
  | undefined;
11140
10410
  microfrontends?:
11141
10411
  | UpdateProjectDataCacheMicrofrontends1$Outbound
@@ -11195,6 +10465,7 @@ export type UpdateProjectDataCacheResponseBody$Outbound = {
11195
10465
  oidcTokenConfig?: UpdateProjectDataCacheOidcTokenConfig$Outbound | undefined;
11196
10466
  tier?: string | undefined;
11197
10467
  features?: Features$Outbound | undefined;
10468
+ v0?: boolean | undefined;
11198
10469
  };
11199
10470
 
11200
10471
  /** @internal */
@@ -11248,6 +10519,7 @@ export const UpdateProjectDataCacheResponseBody$outboundSchema: z.ZodType<
11248
10519
  z.lazy(() => Link2$outboundSchema),
11249
10520
  z.lazy(() => Link3$outboundSchema),
11250
10521
  z.lazy(() => Link4$outboundSchema),
10522
+ z.lazy(() => Link5$outboundSchema),
11251
10523
  ]).optional(),
11252
10524
  microfrontends: z.union([
11253
10525
  z.lazy(() => UpdateProjectDataCacheMicrofrontends1$outboundSchema),
@@ -11325,6 +10597,7 @@ export const UpdateProjectDataCacheResponseBody$outboundSchema: z.ZodType<
11325
10597
  ).optional(),
11326
10598
  tier: UpdateProjectDataCacheTier$outboundSchema.optional(),
11327
10599
  features: z.lazy(() => Features$outboundSchema).optional(),
10600
+ v0: z.boolean().optional(),
11328
10601
  });
11329
10602
 
11330
10603
  /**