@vercel/sdk 1.18.1 → 1.18.3

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 (343) hide show
  1. package/README.md +75 -80
  2. package/bin/mcp-server.js +4746 -2929
  3. package/bin/mcp-server.js.map +63 -45
  4. package/esm/__tests__/domains.test.js +12 -65
  5. package/esm/__tests__/domains.test.js.map +1 -1
  6. package/esm/__tests__/edgeconfig.test.js +6 -6
  7. package/esm/__tests__/edgeconfig.test.js.map +1 -1
  8. package/esm/__tests__/integrations.test.js +1 -1
  9. package/esm/__tests__/logdrains.test.js +6 -2
  10. package/esm/__tests__/logdrains.test.js.map +1 -1
  11. package/esm/__tests__/security.test.js +20 -35
  12. package/esm/__tests__/security.test.js.map +1 -1
  13. package/esm/__tests__/teams.test.js +16 -0
  14. package/esm/__tests__/teams.test.js.map +1 -1
  15. package/esm/__tests__/vercel.test.js +150 -1
  16. package/esm/__tests__/vercel.test.js.map +1 -1
  17. package/esm/funcs/deleteV1BulkRedirects.d.ts +14 -0
  18. package/esm/funcs/deleteV1BulkRedirects.d.ts.map +1 -0
  19. package/esm/funcs/deleteV1BulkRedirects.js +74 -0
  20. package/esm/funcs/deleteV1BulkRedirects.js.map +1 -0
  21. package/esm/funcs/domainsCreateOrTransferDomain.js +2 -2
  22. package/esm/funcs/domainsCreateOrTransferDomain.js.map +1 -1
  23. package/esm/funcs/getV1BulkRedirects.d.ts +14 -0
  24. package/esm/funcs/getV1BulkRedirects.d.ts.map +1 -0
  25. package/esm/funcs/getV1BulkRedirects.js +80 -0
  26. package/esm/funcs/getV1BulkRedirects.js.map +1 -0
  27. package/esm/funcs/getV1BulkRedirectsVersions.d.ts +14 -0
  28. package/esm/funcs/getV1BulkRedirectsVersions.d.ts.map +1 -0
  29. package/esm/funcs/getV1BulkRedirectsVersions.js +73 -0
  30. package/esm/funcs/getV1BulkRedirectsVersions.js.map +1 -0
  31. package/esm/funcs/integrationsGetBillingPlans.js +1 -0
  32. package/esm/funcs/integrationsGetBillingPlans.js.map +1 -1
  33. package/esm/funcs/patchV1BulkRedirects.d.ts +14 -0
  34. package/esm/funcs/patchV1BulkRedirects.d.ts.map +1 -0
  35. package/esm/funcs/patchV1BulkRedirects.js +74 -0
  36. package/esm/funcs/patchV1BulkRedirects.js.map +1 -0
  37. package/esm/funcs/postV1BulkRedirectsRestore.d.ts +14 -0
  38. package/esm/funcs/postV1BulkRedirectsRestore.d.ts.map +1 -0
  39. package/esm/funcs/postV1BulkRedirectsRestore.js +74 -0
  40. package/esm/funcs/postV1BulkRedirectsRestore.js.map +1 -0
  41. package/esm/funcs/postV1BulkRedirectsVersions.d.ts +14 -0
  42. package/esm/funcs/postV1BulkRedirectsVersions.d.ts.map +1 -0
  43. package/esm/funcs/postV1BulkRedirectsVersions.js +74 -0
  44. package/esm/funcs/postV1BulkRedirectsVersions.js.map +1 -0
  45. package/esm/funcs/putV1BulkRedirects.d.ts +11 -0
  46. package/esm/funcs/putV1BulkRedirects.d.ts.map +1 -0
  47. package/esm/funcs/putV1BulkRedirects.js +69 -0
  48. package/esm/funcs/putV1BulkRedirects.js.map +1 -0
  49. package/esm/funcs/teamsPostTeamDsyncRoles.d.ts +17 -0
  50. package/esm/funcs/teamsPostTeamDsyncRoles.d.ts.map +1 -0
  51. package/esm/funcs/{domainsBuyDomain.js → teamsPostTeamDsyncRoles.js} +17 -12
  52. package/esm/funcs/teamsPostTeamDsyncRoles.js.map +1 -0
  53. package/esm/lib/config.d.ts +3 -3
  54. package/esm/lib/config.js +3 -3
  55. package/esm/mcp-server/mcp-server.js +1 -1
  56. package/esm/mcp-server/server.d.ts.map +1 -1
  57. package/esm/mcp-server/server.js +17 -5
  58. package/esm/mcp-server/server.js.map +1 -1
  59. package/esm/mcp-server/tools/deleteV1BulkRedirects.d.ts +7 -0
  60. package/esm/mcp-server/tools/deleteV1BulkRedirects.d.ts.map +1 -0
  61. package/esm/mcp-server/tools/deleteV1BulkRedirects.js +26 -0
  62. package/esm/mcp-server/tools/deleteV1BulkRedirects.js.map +1 -0
  63. package/esm/mcp-server/tools/getV1BulkRedirects.d.ts +7 -0
  64. package/esm/mcp-server/tools/getV1BulkRedirects.d.ts.map +1 -0
  65. package/esm/mcp-server/tools/getV1BulkRedirects.js +26 -0
  66. package/esm/mcp-server/tools/getV1BulkRedirects.js.map +1 -0
  67. package/esm/mcp-server/tools/getV1BulkRedirectsVersions.d.ts +7 -0
  68. package/esm/mcp-server/tools/getV1BulkRedirectsVersions.d.ts.map +1 -0
  69. package/esm/mcp-server/tools/getV1BulkRedirectsVersions.js +26 -0
  70. package/esm/mcp-server/tools/getV1BulkRedirectsVersions.js.map +1 -0
  71. package/esm/mcp-server/tools/patchV1BulkRedirects.d.ts +7 -0
  72. package/esm/mcp-server/tools/patchV1BulkRedirects.d.ts.map +1 -0
  73. package/esm/mcp-server/tools/patchV1BulkRedirects.js +26 -0
  74. package/esm/mcp-server/tools/patchV1BulkRedirects.js.map +1 -0
  75. package/esm/mcp-server/tools/postV1BulkRedirectsRestore.d.ts +7 -0
  76. package/esm/mcp-server/tools/postV1BulkRedirectsRestore.d.ts.map +1 -0
  77. package/esm/mcp-server/tools/postV1BulkRedirectsRestore.js +26 -0
  78. package/esm/mcp-server/tools/postV1BulkRedirectsRestore.js.map +1 -0
  79. package/esm/mcp-server/tools/postV1BulkRedirectsVersions.d.ts +7 -0
  80. package/esm/mcp-server/tools/postV1BulkRedirectsVersions.d.ts.map +1 -0
  81. package/esm/mcp-server/tools/postV1BulkRedirectsVersions.js +26 -0
  82. package/esm/mcp-server/tools/postV1BulkRedirectsVersions.js.map +1 -0
  83. package/esm/mcp-server/tools/putV1BulkRedirects.d.ts +7 -0
  84. package/esm/mcp-server/tools/putV1BulkRedirects.d.ts.map +1 -0
  85. package/esm/mcp-server/tools/putV1BulkRedirects.js +26 -0
  86. package/esm/mcp-server/tools/putV1BulkRedirects.js.map +1 -0
  87. package/esm/mcp-server/tools/teamsPostTeamDsyncRoles.d.ts +7 -0
  88. package/esm/mcp-server/tools/teamsPostTeamDsyncRoles.d.ts.map +1 -0
  89. package/esm/mcp-server/tools/teamsPostTeamDsyncRoles.js +28 -0
  90. package/esm/mcp-server/tools/teamsPostTeamDsyncRoles.js.map +1 -0
  91. package/esm/models/artifactqueryop.d.ts +8 -8
  92. package/esm/models/artifactqueryop.d.ts.map +1 -1
  93. package/esm/models/artifactqueryop.js +8 -8
  94. package/esm/models/artifactqueryop.js.map +1 -1
  95. package/esm/models/authuser.d.ts +5 -0
  96. package/esm/models/authuser.d.ts.map +1 -1
  97. package/esm/models/authuser.js +2 -0
  98. package/esm/models/authuser.js.map +1 -1
  99. package/esm/models/canceldeploymentop.d.ts +48 -2
  100. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  101. package/esm/models/canceldeploymentop.js +44 -2
  102. package/esm/models/canceldeploymentop.js.map +1 -1
  103. package/esm/models/createdeploymentop.d.ts +48 -2
  104. package/esm/models/createdeploymentop.d.ts.map +1 -1
  105. package/esm/models/createdeploymentop.js +48 -2
  106. package/esm/models/createdeploymentop.js.map +1 -1
  107. package/esm/models/createedgeconfigop.d.ts +5 -0
  108. package/esm/models/createedgeconfigop.d.ts.map +1 -1
  109. package/esm/models/createedgeconfigop.js +2 -0
  110. package/esm/models/createedgeconfigop.js.map +1 -1
  111. package/esm/models/createintegrationstoredirectop.d.ts +222 -152
  112. package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
  113. package/esm/models/createintegrationstoredirectop.js +298 -218
  114. package/esm/models/createintegrationstoredirectop.js.map +1 -1
  115. package/esm/models/createortransferdomainop.d.ts +4 -40
  116. package/esm/models/createortransferdomainop.d.ts.map +1 -1
  117. package/esm/models/createortransferdomainop.js +0 -24
  118. package/esm/models/createortransferdomainop.js.map +1 -1
  119. package/esm/models/createprojectop.d.ts +138 -6
  120. package/esm/models/createprojectop.d.ts.map +1 -1
  121. package/esm/models/createprojectop.js +126 -6
  122. package/esm/models/createprojectop.js.map +1 -1
  123. package/esm/models/createwebhookop.d.ts +4 -2
  124. package/esm/models/createwebhookop.d.ts.map +1 -1
  125. package/esm/models/createwebhookop.js +4 -2
  126. package/esm/models/createwebhookop.js.map +1 -1
  127. package/esm/models/deletev1bulkredirectsop.d.ts +102 -0
  128. package/esm/models/deletev1bulkredirectsop.d.ts.map +1 -0
  129. package/esm/models/deletev1bulkredirectsop.js +95 -0
  130. package/esm/models/deletev1bulkredirectsop.js.map +1 -0
  131. package/esm/models/getbillingplansop.d.ts +2 -0
  132. package/esm/models/getbillingplansop.d.ts.map +1 -1
  133. package/esm/models/getbillingplansop.js +2 -0
  134. package/esm/models/getbillingplansop.js.map +1 -1
  135. package/esm/models/getconfigurationop.d.ts +61 -1
  136. package/esm/models/getconfigurationop.d.ts.map +1 -1
  137. package/esm/models/getconfigurationop.js +44 -1
  138. package/esm/models/getconfigurationop.js.map +1 -1
  139. package/esm/models/getconfigurationproductsop.d.ts +200 -200
  140. package/esm/models/getconfigurationproductsop.js +290 -290
  141. package/esm/models/getconfigurationsop.d.ts +61 -0
  142. package/esm/models/getconfigurationsop.d.ts.map +1 -1
  143. package/esm/models/getconfigurationsop.js +44 -0
  144. package/esm/models/getconfigurationsop.js.map +1 -1
  145. package/esm/models/getdeploymenteventsop.d.ts +6 -6
  146. package/esm/models/getdeploymenteventsop.d.ts.map +1 -1
  147. package/esm/models/getdeploymenteventsop.js +6 -6
  148. package/esm/models/getdeploymenteventsop.js.map +1 -1
  149. package/esm/models/getdeploymentop.d.ts +94 -4
  150. package/esm/models/getdeploymentop.d.ts.map +1 -1
  151. package/esm/models/getdeploymentop.js +86 -4
  152. package/esm/models/getdeploymentop.js.map +1 -1
  153. package/esm/models/getedgeconfigop.d.ts +5 -0
  154. package/esm/models/getedgeconfigop.d.ts.map +1 -1
  155. package/esm/models/getedgeconfigop.js +2 -0
  156. package/esm/models/getedgeconfigop.js.map +1 -1
  157. package/esm/models/getfirewallconfigop.d.ts +336 -103
  158. package/esm/models/getfirewallconfigop.d.ts.map +1 -1
  159. package/esm/models/getfirewallconfigop.js +358 -98
  160. package/esm/models/getfirewallconfigop.js.map +1 -1
  161. package/esm/models/getorderop.d.ts +126 -42
  162. package/esm/models/getorderop.d.ts.map +1 -1
  163. package/esm/models/getorderop.js +138 -24
  164. package/esm/models/getorderop.js.map +1 -1
  165. package/esm/models/getprojectdomainsop.d.ts +5 -5
  166. package/esm/models/getprojectdomainsop.d.ts.map +1 -1
  167. package/esm/models/getprojectdomainsop.js +5 -6
  168. package/esm/models/getprojectdomainsop.js.map +1 -1
  169. package/esm/models/getprojectsop.d.ts +109 -6
  170. package/esm/models/getprojectsop.d.ts.map +1 -1
  171. package/esm/models/getprojectsop.js +97 -6
  172. package/esm/models/getprojectsop.js.map +1 -1
  173. package/esm/models/getv1bulkredirectsop.d.ts +190 -0
  174. package/esm/models/getv1bulkredirectsop.d.ts.map +1 -0
  175. package/esm/models/getv1bulkredirectsop.js +195 -0
  176. package/esm/models/getv1bulkredirectsop.js.map +1 -0
  177. package/esm/models/getv1bulkredirectsversionsop.d.ts +80 -0
  178. package/esm/models/getv1bulkredirectsversionsop.d.ts.map +1 -0
  179. package/esm/models/getv1bulkredirectsversionsop.js +64 -0
  180. package/esm/models/getv1bulkredirectsversionsop.js.map +1 -0
  181. package/esm/models/getwebhookop.d.ts +2 -1
  182. package/esm/models/getwebhookop.d.ts.map +1 -1
  183. package/esm/models/getwebhookop.js +2 -1
  184. package/esm/models/getwebhookop.js.map +1 -1
  185. package/esm/models/getwebhooksop.d.ts +4 -2
  186. package/esm/models/getwebhooksop.d.ts.map +1 -1
  187. package/esm/models/getwebhooksop.js +4 -2
  188. package/esm/models/getwebhooksop.js.map +1 -1
  189. package/esm/models/listaccessgroupsop.d.ts +8 -8
  190. package/esm/models/listaccessgroupsop.d.ts.map +1 -1
  191. package/esm/models/listaccessgroupsop.js +8 -8
  192. package/esm/models/listaccessgroupsop.js.map +1 -1
  193. package/esm/models/patchv1bulkredirectsop.d.ts +133 -0
  194. package/esm/models/patchv1bulkredirectsop.d.ts.map +1 -0
  195. package/esm/models/patchv1bulkredirectsop.js +121 -0
  196. package/esm/models/patchv1bulkredirectsop.js.map +1 -0
  197. package/esm/models/postteamdsyncrolesop.d.ts +98 -0
  198. package/esm/models/postteamdsyncrolesop.d.ts.map +1 -0
  199. package/esm/models/postteamdsyncrolesop.js +113 -0
  200. package/esm/models/postteamdsyncrolesop.js.map +1 -0
  201. package/esm/models/postv1bulkredirectsrestoreop.d.ts +104 -0
  202. package/esm/models/postv1bulkredirectsrestoreop.d.ts.map +1 -0
  203. package/esm/models/postv1bulkredirectsrestoreop.js +96 -0
  204. package/esm/models/postv1bulkredirectsrestoreop.js.map +1 -0
  205. package/esm/models/postv1bulkredirectsversionsop.d.ts +110 -0
  206. package/esm/models/postv1bulkredirectsversionsop.d.ts.map +1 -0
  207. package/esm/models/postv1bulkredirectsversionsop.js +102 -0
  208. package/esm/models/postv1bulkredirectsversionsop.js.map +1 -0
  209. package/esm/models/putfirewallconfigop.d.ts +357 -100
  210. package/esm/models/putfirewallconfigop.d.ts.map +1 -1
  211. package/esm/models/putfirewallconfigop.js +379 -102
  212. package/esm/models/putfirewallconfigop.js.map +1 -1
  213. package/esm/models/putv1bulkredirectsop.d.ts +122 -0
  214. package/esm/models/putv1bulkredirectsop.d.ts.map +1 -0
  215. package/esm/models/putv1bulkredirectsop.js +108 -0
  216. package/esm/models/putv1bulkredirectsop.js.map +1 -0
  217. package/esm/models/updateedgeconfigop.d.ts +5 -0
  218. package/esm/models/updateedgeconfigop.d.ts.map +1 -1
  219. package/esm/models/updateedgeconfigop.js +2 -0
  220. package/esm/models/updateedgeconfigop.js.map +1 -1
  221. package/esm/models/updatefirewallconfigop.d.ts +30 -0
  222. package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
  223. package/esm/models/updatefirewallconfigop.js +32 -0
  224. package/esm/models/updatefirewallconfigop.js.map +1 -1
  225. package/esm/models/updateinstallationop.d.ts +18 -0
  226. package/esm/models/updateinstallationop.d.ts.map +1 -1
  227. package/esm/models/updateinstallationop.js +17 -0
  228. package/esm/models/updateinstallationop.js.map +1 -1
  229. package/esm/models/updateprojectdatacacheop.d.ts +124 -21
  230. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  231. package/esm/models/updateprojectdatacacheop.js +118 -24
  232. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  233. package/esm/models/updateprojectop.d.ts +138 -6
  234. package/esm/models/updateprojectop.d.ts.map +1 -1
  235. package/esm/models/updateprojectop.js +126 -6
  236. package/esm/models/updateprojectop.js.map +1 -1
  237. package/esm/models/updateprojectprotectionbypassop.d.ts +49 -0
  238. package/esm/models/updateprojectprotectionbypassop.d.ts.map +1 -1
  239. package/esm/models/updateprojectprotectionbypassop.js +27 -0
  240. package/esm/models/updateprojectprotectionbypassop.js.map +1 -1
  241. package/esm/models/userevent.d.ts +792 -966
  242. package/esm/models/userevent.d.ts.map +1 -1
  243. package/esm/models/userevent.js +1047 -1248
  244. package/esm/models/userevent.js.map +1 -1
  245. package/esm/sdk/domains.d.ts +0 -16
  246. package/esm/sdk/domains.d.ts.map +1 -1
  247. package/esm/sdk/domains.js +0 -20
  248. package/esm/sdk/domains.js.map +1 -1
  249. package/esm/sdk/sdk.d.ts +33 -1
  250. package/esm/sdk/sdk.d.ts.map +1 -1
  251. package/esm/sdk/sdk.js +47 -0
  252. package/esm/sdk/sdk.js.map +1 -1
  253. package/esm/sdk/teams.d.ts +8 -0
  254. package/esm/sdk/teams.d.ts.map +1 -1
  255. package/esm/sdk/teams.js +10 -0
  256. package/esm/sdk/teams.js.map +1 -1
  257. package/examples/package-lock.json +2 -2
  258. package/jsr.json +1 -1
  259. package/package.json +2 -2
  260. package/src/__tests__/domains.test.ts +16 -70
  261. package/src/__tests__/edgeconfig.test.ts +6 -6
  262. package/src/__tests__/integrations.test.ts +1 -1
  263. package/src/__tests__/logdrains.test.ts +6 -2
  264. package/src/__tests__/security.test.ts +20 -35
  265. package/src/__tests__/teams.test.ts +19 -0
  266. package/src/__tests__/vercel.test.ts +177 -1
  267. package/src/funcs/deleteV1BulkRedirects.ts +161 -0
  268. package/src/funcs/domainsCreateOrTransferDomain.ts +2 -2
  269. package/src/funcs/getV1BulkRedirects.ts +167 -0
  270. package/src/funcs/getV1BulkRedirectsVersions.ts +160 -0
  271. package/src/funcs/integrationsGetBillingPlans.ts +1 -0
  272. package/src/funcs/patchV1BulkRedirects.ts +161 -0
  273. package/src/funcs/postV1BulkRedirectsRestore.ts +161 -0
  274. package/src/funcs/postV1BulkRedirectsVersions.ts +161 -0
  275. package/src/funcs/putV1BulkRedirects.ts +156 -0
  276. package/src/funcs/{domainsBuyDomain.ts → teamsPostTeamDsyncRoles.ts} +29 -24
  277. package/src/lib/config.ts +3 -3
  278. package/src/mcp-server/mcp-server.ts +1 -1
  279. package/src/mcp-server/server.ts +17 -5
  280. package/src/mcp-server/tools/deleteV1BulkRedirects.ts +36 -0
  281. package/src/mcp-server/tools/getV1BulkRedirects.ts +35 -0
  282. package/src/mcp-server/tools/getV1BulkRedirectsVersions.ts +35 -0
  283. package/src/mcp-server/tools/patchV1BulkRedirects.ts +36 -0
  284. package/src/mcp-server/tools/postV1BulkRedirectsRestore.ts +36 -0
  285. package/src/mcp-server/tools/postV1BulkRedirectsVersions.ts +36 -0
  286. package/src/mcp-server/tools/putV1BulkRedirects.ts +35 -0
  287. package/src/mcp-server/tools/teamsPostTeamDsyncRoles.ts +37 -0
  288. package/src/models/artifactqueryop.ts +21 -17
  289. package/src/models/authuser.ts +7 -0
  290. package/src/models/canceldeploymentop.ts +133 -4
  291. package/src/models/createdeploymentop.ts +116 -4
  292. package/src/models/createedgeconfigop.ts +7 -0
  293. package/src/models/createintegrationstoredirectop.ts +708 -471
  294. package/src/models/createortransferdomainop.ts +0 -83
  295. package/src/models/createprojectop.ts +346 -12
  296. package/src/models/createwebhookop.ts +4 -2
  297. package/src/models/deletev1bulkredirectsop.ts +267 -0
  298. package/src/models/getbillingplansop.ts +4 -0
  299. package/src/models/getconfigurationop.ts +87 -1
  300. package/src/models/getconfigurationproductsop.ts +627 -627
  301. package/src/models/getconfigurationsop.ts +87 -0
  302. package/src/models/getdeploymenteventsop.ts +17 -13
  303. package/src/models/getdeploymentop.ts +271 -8
  304. package/src/models/getedgeconfigop.ts +7 -0
  305. package/src/models/getfirewallconfigop.ts +835 -274
  306. package/src/models/getorderop.ts +469 -112
  307. package/src/models/getprojectdomainsop.ts +11 -9
  308. package/src/models/getprojectsop.ts +260 -12
  309. package/src/models/getv1bulkredirectsop.ts +467 -0
  310. package/src/models/getv1bulkredirectsversionsop.ts +192 -0
  311. package/src/models/getwebhookop.ts +2 -1
  312. package/src/models/getwebhooksop.ts +4 -2
  313. package/src/models/listaccessgroupsop.ts +26 -18
  314. package/src/models/patchv1bulkredirectsop.ts +336 -0
  315. package/src/models/postteamdsyncrolesop.ts +291 -0
  316. package/src/models/postv1bulkredirectsrestoreop.ts +275 -0
  317. package/src/models/postv1bulkredirectsversionsop.ts +296 -0
  318. package/src/models/putfirewallconfigop.ts +1025 -284
  319. package/src/models/putv1bulkredirectsop.ts +304 -0
  320. package/src/models/updateedgeconfigop.ts +7 -0
  321. package/src/models/updatefirewallconfigop.ts +107 -0
  322. package/src/models/updateinstallationop.ts +30 -0
  323. package/src/models/updateprojectdatacacheop.ts +322 -63
  324. package/src/models/updateprojectop.ts +346 -12
  325. package/src/models/updateprojectprotectionbypassop.ts +84 -0
  326. package/src/models/userevent.ts +2415 -2887
  327. package/src/sdk/domains.ts +0 -41
  328. package/src/sdk/sdk.ts +132 -1
  329. package/src/sdk/teams.ts +22 -0
  330. package/vercel-spec.json +3260 -1294
  331. package/esm/funcs/domainsBuyDomain.d.ts +0 -17
  332. package/esm/funcs/domainsBuyDomain.d.ts.map +0 -1
  333. package/esm/funcs/domainsBuyDomain.js.map +0 -1
  334. package/esm/mcp-server/tools/domainsBuyDomain.d.ts +0 -7
  335. package/esm/mcp-server/tools/domainsBuyDomain.d.ts.map +0 -1
  336. package/esm/mcp-server/tools/domainsBuyDomain.js +0 -28
  337. package/esm/mcp-server/tools/domainsBuyDomain.js.map +0 -1
  338. package/esm/models/buydomainop.d.ts +0 -180
  339. package/esm/models/buydomainop.d.ts.map +0 -1
  340. package/esm/models/buydomainop.js +0 -159
  341. package/esm/models/buydomainop.js.map +0 -1
  342. package/src/mcp-server/tools/domainsBuyDomain.ts +0 -37
  343. package/src/models/buydomainop.ts +0 -453
@@ -0,0 +1,37 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { teamsPostTeamDsyncRoles } from "../../funcs/teamsPostTeamDsyncRoles.js";
6
+ import { PostTeamDsyncRolesRequest$inboundSchema } from "../../models/postteamdsyncrolesop.js";
7
+ import { formatResult, ToolDefinition } from "../tools.js";
8
+
9
+ const args = {
10
+ request: PostTeamDsyncRolesRequest$inboundSchema,
11
+ };
12
+
13
+ export const tool$teamsPostTeamDsyncRoles: ToolDefinition<typeof args> = {
14
+ name: "teams-post-team-dsync-roles",
15
+ description: `Update Team Directory Sync Role Mappings
16
+
17
+ Update the Directory Sync role mappings for a Team. This endpoint allows updating the mapping between directory groups and team roles or access groups.`,
18
+ args,
19
+ tool: async (client, args, ctx) => {
20
+ const [result, apiCall] = await teamsPostTeamDsyncRoles(
21
+ client,
22
+ args.request,
23
+ { fetchOptions: { signal: ctx.signal } },
24
+ ).$inspect();
25
+
26
+ if (!result.ok) {
27
+ return {
28
+ content: [{ type: "text", text: result.error.message }],
29
+ isError: true,
30
+ };
31
+ }
32
+
33
+ const value = result.value;
34
+
35
+ return formatResult(value, apiCall);
36
+ },
37
+ };
@@ -31,7 +31,7 @@ export type ResponseBodyError = {
31
31
  message: string;
32
32
  };
33
33
 
34
- export type ResponseBody2 = {
34
+ export type ArtifactQueryResponseBody2 = {
35
35
  error: ResponseBodyError;
36
36
  };
37
37
 
@@ -41,7 +41,7 @@ export type ResponseBody1 = {
41
41
  tag?: string | undefined;
42
42
  };
43
43
 
44
- export type ResponseBody = ResponseBody1 | ResponseBody2;
44
+ export type ResponseBody = ResponseBody1 | ArtifactQueryResponseBody2;
45
45
 
46
46
  /** @internal */
47
47
  export const ArtifactQueryRequestBody$inboundSchema: z.ZodType<
@@ -175,37 +175,41 @@ export function responseBodyErrorFromJSON(
175
175
  }
176
176
 
177
177
  /** @internal */
178
- export const ResponseBody2$inboundSchema: z.ZodType<
179
- ResponseBody2,
178
+ export const ArtifactQueryResponseBody2$inboundSchema: z.ZodType<
179
+ ArtifactQueryResponseBody2,
180
180
  z.ZodTypeDef,
181
181
  unknown
182
182
  > = z.object({
183
183
  error: z.lazy(() => ResponseBodyError$inboundSchema),
184
184
  });
185
185
  /** @internal */
186
- export type ResponseBody2$Outbound = {
186
+ export type ArtifactQueryResponseBody2$Outbound = {
187
187
  error: ResponseBodyError$Outbound;
188
188
  };
189
189
 
190
190
  /** @internal */
191
- export const ResponseBody2$outboundSchema: z.ZodType<
192
- ResponseBody2$Outbound,
191
+ export const ArtifactQueryResponseBody2$outboundSchema: z.ZodType<
192
+ ArtifactQueryResponseBody2$Outbound,
193
193
  z.ZodTypeDef,
194
- ResponseBody2
194
+ ArtifactQueryResponseBody2
195
195
  > = z.object({
196
196
  error: z.lazy(() => ResponseBodyError$outboundSchema),
197
197
  });
198
198
 
199
- export function responseBody2ToJSON(responseBody2: ResponseBody2): string {
200
- return JSON.stringify(ResponseBody2$outboundSchema.parse(responseBody2));
199
+ export function artifactQueryResponseBody2ToJSON(
200
+ artifactQueryResponseBody2: ArtifactQueryResponseBody2,
201
+ ): string {
202
+ return JSON.stringify(
203
+ ArtifactQueryResponseBody2$outboundSchema.parse(artifactQueryResponseBody2),
204
+ );
201
205
  }
202
- export function responseBody2FromJSON(
206
+ export function artifactQueryResponseBody2FromJSON(
203
207
  jsonString: string,
204
- ): SafeParseResult<ResponseBody2, SDKValidationError> {
208
+ ): SafeParseResult<ArtifactQueryResponseBody2, SDKValidationError> {
205
209
  return safeParse(
206
210
  jsonString,
207
- (x) => ResponseBody2$inboundSchema.parse(JSON.parse(x)),
208
- `Failed to parse 'ResponseBody2' from JSON`,
211
+ (x) => ArtifactQueryResponseBody2$inboundSchema.parse(JSON.parse(x)),
212
+ `Failed to parse 'ArtifactQueryResponseBody2' from JSON`,
209
213
  );
210
214
  }
211
215
 
@@ -257,12 +261,12 @@ export const ResponseBody$inboundSchema: z.ZodType<
257
261
  unknown
258
262
  > = z.union([
259
263
  z.lazy(() => ResponseBody1$inboundSchema),
260
- z.lazy(() => ResponseBody2$inboundSchema),
264
+ z.lazy(() => ArtifactQueryResponseBody2$inboundSchema),
261
265
  ]);
262
266
  /** @internal */
263
267
  export type ResponseBody$Outbound =
264
268
  | ResponseBody1$Outbound
265
- | ResponseBody2$Outbound;
269
+ | ArtifactQueryResponseBody2$Outbound;
266
270
 
267
271
  /** @internal */
268
272
  export const ResponseBody$outboundSchema: z.ZodType<
@@ -271,7 +275,7 @@ export const ResponseBody$outboundSchema: z.ZodType<
271
275
  ResponseBody
272
276
  > = z.union([
273
277
  z.lazy(() => ResponseBody1$outboundSchema),
274
- z.lazy(() => ResponseBody2$outboundSchema),
278
+ z.lazy(() => ArtifactQueryResponseBody2$outboundSchema),
275
279
  ]);
276
280
 
277
281
  export function responseBodyToJSON(responseBody: ResponseBody): string {
@@ -278,6 +278,10 @@ export type AuthUserResourceConfig = {
278
278
  * An object containing infomation related to the amount of platform resources may be allocated to the User account.
279
279
  */
280
280
  security?: AuthUserSecurity | undefined;
281
+ /**
282
+ * An object containing infomation related to the amount of platform resources may be allocated to the User account.
283
+ */
284
+ bulkRedirectsFreeLimitOverride?: number | undefined;
281
285
  };
282
286
 
283
287
  export const ViewPreference = {
@@ -761,6 +765,7 @@ export const AuthUserResourceConfig$inboundSchema: z.ZodType<
761
765
  customEnvironmentsPerProject: z.number().optional(),
762
766
  buildMachine: z.lazy(() => BuildMachine$inboundSchema).optional(),
763
767
  security: z.lazy(() => AuthUserSecurity$inboundSchema).optional(),
768
+ bulkRedirectsFreeLimitOverride: z.number().optional(),
764
769
  });
765
770
  /** @internal */
766
771
  export type AuthUserResourceConfig$Outbound = {
@@ -791,6 +796,7 @@ export type AuthUserResourceConfig$Outbound = {
791
796
  customEnvironmentsPerProject?: number | undefined;
792
797
  buildMachine?: BuildMachine$Outbound | undefined;
793
798
  security?: AuthUserSecurity$Outbound | undefined;
799
+ bulkRedirectsFreeLimitOverride?: number | undefined;
794
800
  };
795
801
 
796
802
  /** @internal */
@@ -827,6 +833,7 @@ export const AuthUserResourceConfig$outboundSchema: z.ZodType<
827
833
  customEnvironmentsPerProject: z.number().optional(),
828
834
  buildMachine: z.lazy(() => BuildMachine$outboundSchema).optional(),
829
835
  security: z.lazy(() => AuthUserSecurity$outboundSchema).optional(),
836
+ bulkRedirectsFreeLimitOverride: z.number().optional(),
830
837
  });
831
838
 
832
839
  export function authUserResourceConfigToJSON(
@@ -483,6 +483,22 @@ export type CancelDeploymentChecksConclusion = ClosedEnum<
483
483
  typeof CancelDeploymentChecksConclusion
484
484
  >;
485
485
 
486
+ export type CancelDeploymentCve = {
487
+ id: string;
488
+ score: number;
489
+ description?: string | undefined;
490
+ link?: string | undefined;
491
+ };
492
+
493
+ /**
494
+ * Since December 2025 - Temporary for Christmas hackathon 2025 CVE vulnerabilities found during build, only populated when CVE Shield is enabled and vulnerabilities are detected. Only accessible when CveShieldEnabled feature flag is enabled
495
+ */
496
+ export type CancelDeploymentCveVulnerabilities = {
497
+ packageName: string;
498
+ packageVersion: string;
499
+ cve: CancelDeploymentCve;
500
+ };
501
+
486
502
  export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type =
487
503
  {
488
504
  Bitbucket: "bitbucket",
@@ -889,7 +905,7 @@ export type CancelDeploymentOidcTokenClaims = {
889
905
  project: string;
890
906
  projectId: string;
891
907
  environment: string;
892
- plan: string;
908
+ plan?: string | undefined;
893
909
  };
894
910
 
895
911
  export type CancelDeploymentCrons = {
@@ -1214,6 +1230,7 @@ export type CancelDeploymentRoutes1 = {
1214
1230
  | undefined;
1215
1231
  mitigate?: CancelDeploymentRoutesMitigate | undefined;
1216
1232
  transforms?: Array<RoutesTransforms> | undefined;
1233
+ env?: Array<string> | undefined;
1217
1234
  locale?: RoutesLocale | undefined;
1218
1235
  /**
1219
1236
  * A middleware key within the `output` key under the build result. Overrides a `middleware` definition.
@@ -1530,6 +1547,10 @@ export type CancelDeploymentResponseBody = {
1530
1547
  */
1531
1548
  defaultRoute?: string | undefined;
1532
1549
  canceledAt?: number | undefined;
1550
+ /**
1551
+ * Since December 2025 - Temporary for Christmas hackathon 2025 CVE vulnerabilities found during build, only populated when CVE Shield is enabled and vulnerabilities are detected. Only accessible when CveShieldEnabled feature flag is enabled
1552
+ */
1553
+ cveVulnerabilities?: Array<CancelDeploymentCveVulnerabilities> | undefined;
1533
1554
  errorCode?: string | undefined;
1534
1555
  errorLink?: string | undefined;
1535
1556
  errorMessage?: string | null | undefined;
@@ -2975,6 +2996,102 @@ export const CancelDeploymentChecksConclusion$outboundSchema: z.ZodNativeEnum<
2975
2996
  typeof CancelDeploymentChecksConclusion
2976
2997
  > = CancelDeploymentChecksConclusion$inboundSchema;
2977
2998
 
2999
+ /** @internal */
3000
+ export const CancelDeploymentCve$inboundSchema: z.ZodType<
3001
+ CancelDeploymentCve,
3002
+ z.ZodTypeDef,
3003
+ unknown
3004
+ > = z.object({
3005
+ id: z.string(),
3006
+ score: z.number(),
3007
+ description: z.string().optional(),
3008
+ link: z.string().optional(),
3009
+ });
3010
+ /** @internal */
3011
+ export type CancelDeploymentCve$Outbound = {
3012
+ id: string;
3013
+ score: number;
3014
+ description?: string | undefined;
3015
+ link?: string | undefined;
3016
+ };
3017
+
3018
+ /** @internal */
3019
+ export const CancelDeploymentCve$outboundSchema: z.ZodType<
3020
+ CancelDeploymentCve$Outbound,
3021
+ z.ZodTypeDef,
3022
+ CancelDeploymentCve
3023
+ > = z.object({
3024
+ id: z.string(),
3025
+ score: z.number(),
3026
+ description: z.string().optional(),
3027
+ link: z.string().optional(),
3028
+ });
3029
+
3030
+ export function cancelDeploymentCveToJSON(
3031
+ cancelDeploymentCve: CancelDeploymentCve,
3032
+ ): string {
3033
+ return JSON.stringify(
3034
+ CancelDeploymentCve$outboundSchema.parse(cancelDeploymentCve),
3035
+ );
3036
+ }
3037
+ export function cancelDeploymentCveFromJSON(
3038
+ jsonString: string,
3039
+ ): SafeParseResult<CancelDeploymentCve, SDKValidationError> {
3040
+ return safeParse(
3041
+ jsonString,
3042
+ (x) => CancelDeploymentCve$inboundSchema.parse(JSON.parse(x)),
3043
+ `Failed to parse 'CancelDeploymentCve' from JSON`,
3044
+ );
3045
+ }
3046
+
3047
+ /** @internal */
3048
+ export const CancelDeploymentCveVulnerabilities$inboundSchema: z.ZodType<
3049
+ CancelDeploymentCveVulnerabilities,
3050
+ z.ZodTypeDef,
3051
+ unknown
3052
+ > = z.object({
3053
+ packageName: z.string(),
3054
+ packageVersion: z.string(),
3055
+ cve: z.lazy(() => CancelDeploymentCve$inboundSchema),
3056
+ });
3057
+ /** @internal */
3058
+ export type CancelDeploymentCveVulnerabilities$Outbound = {
3059
+ packageName: string;
3060
+ packageVersion: string;
3061
+ cve: CancelDeploymentCve$Outbound;
3062
+ };
3063
+
3064
+ /** @internal */
3065
+ export const CancelDeploymentCveVulnerabilities$outboundSchema: z.ZodType<
3066
+ CancelDeploymentCveVulnerabilities$Outbound,
3067
+ z.ZodTypeDef,
3068
+ CancelDeploymentCveVulnerabilities
3069
+ > = z.object({
3070
+ packageName: z.string(),
3071
+ packageVersion: z.string(),
3072
+ cve: z.lazy(() => CancelDeploymentCve$outboundSchema),
3073
+ });
3074
+
3075
+ export function cancelDeploymentCveVulnerabilitiesToJSON(
3076
+ cancelDeploymentCveVulnerabilities: CancelDeploymentCveVulnerabilities,
3077
+ ): string {
3078
+ return JSON.stringify(
3079
+ CancelDeploymentCveVulnerabilities$outboundSchema.parse(
3080
+ cancelDeploymentCveVulnerabilities,
3081
+ ),
3082
+ );
3083
+ }
3084
+ export function cancelDeploymentCveVulnerabilitiesFromJSON(
3085
+ jsonString: string,
3086
+ ): SafeParseResult<CancelDeploymentCveVulnerabilities, SDKValidationError> {
3087
+ return safeParse(
3088
+ jsonString,
3089
+ (x) =>
3090
+ CancelDeploymentCveVulnerabilities$inboundSchema.parse(JSON.parse(x)),
3091
+ `Failed to parse 'CancelDeploymentCveVulnerabilities' from JSON`,
3092
+ );
3093
+ }
3094
+
2978
3095
  /** @internal */
2979
3096
  export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema:
2980
3097
  z.ZodNativeEnum<
@@ -4307,7 +4424,7 @@ export const CancelDeploymentOidcTokenClaims$inboundSchema: z.ZodType<
4307
4424
  project: z.string(),
4308
4425
  project_id: z.string(),
4309
4426
  environment: z.string(),
4310
- plan: z.string(),
4427
+ plan: z.string().optional(),
4311
4428
  }).transform((v) => {
4312
4429
  return remap$(v, {
4313
4430
  "owner_id": "ownerId",
@@ -4325,7 +4442,7 @@ export type CancelDeploymentOidcTokenClaims$Outbound = {
4325
4442
  project: string;
4326
4443
  project_id: string;
4327
4444
  environment: string;
4328
- plan: string;
4445
+ plan?: string | undefined;
4329
4446
  };
4330
4447
 
4331
4448
  /** @internal */
@@ -4343,7 +4460,7 @@ export const CancelDeploymentOidcTokenClaims$outboundSchema: z.ZodType<
4343
4460
  project: z.string(),
4344
4461
  projectId: z.string(),
4345
4462
  environment: z.string(),
4346
- plan: z.string(),
4463
+ plan: z.string().optional(),
4347
4464
  }).transform((v) => {
4348
4465
  return remap$(v, {
4349
4466
  ownerId: "owner_id",
@@ -6031,6 +6148,7 @@ export const CancelDeploymentRoutes1$inboundSchema: z.ZodType<
6031
6148
  mitigate: z.lazy(() => CancelDeploymentRoutesMitigate$inboundSchema)
6032
6149
  .optional(),
6033
6150
  transforms: z.array(z.lazy(() => RoutesTransforms$inboundSchema)).optional(),
6151
+ env: z.array(z.string()).optional(),
6034
6152
  locale: z.lazy(() => RoutesLocale$inboundSchema).optional(),
6035
6153
  middlewarePath: z.string().optional(),
6036
6154
  middlewareRawSrc: z.array(z.string()).optional(),
@@ -6066,6 +6184,7 @@ export type CancelDeploymentRoutes1$Outbound = {
6066
6184
  | undefined;
6067
6185
  mitigate?: CancelDeploymentRoutesMitigate$Outbound | undefined;
6068
6186
  transforms?: Array<RoutesTransforms$Outbound> | undefined;
6187
+ env?: Array<string> | undefined;
6069
6188
  locale?: RoutesLocale$Outbound | undefined;
6070
6189
  middlewarePath?: string | undefined;
6071
6190
  middlewareRawSrc?: Array<string> | undefined;
@@ -6119,6 +6238,7 @@ export const CancelDeploymentRoutes1$outboundSchema: z.ZodType<
6119
6238
  mitigate: z.lazy(() => CancelDeploymentRoutesMitigate$outboundSchema)
6120
6239
  .optional(),
6121
6240
  transforms: z.array(z.lazy(() => RoutesTransforms$outboundSchema)).optional(),
6241
+ env: z.array(z.string()).optional(),
6122
6242
  locale: z.lazy(() => RoutesLocale$outboundSchema).optional(),
6123
6243
  middlewarePath: z.string().optional(),
6124
6244
  middlewareRawSrc: z.array(z.string()).optional(),
@@ -7051,6 +7171,9 @@ export const CancelDeploymentResponseBody$inboundSchema: z.ZodType<
7051
7171
  deletedAt: z.nullable(z.number()).optional(),
7052
7172
  defaultRoute: z.string().optional(),
7053
7173
  canceledAt: z.number().optional(),
7174
+ cveVulnerabilities: z.array(
7175
+ z.lazy(() => CancelDeploymentCveVulnerabilities$inboundSchema),
7176
+ ).optional(),
7054
7177
  errorCode: z.string().optional(),
7055
7178
  errorLink: z.string().optional(),
7056
7179
  errorMessage: z.nullable(z.string()).optional(),
@@ -7180,6 +7303,9 @@ export type CancelDeploymentResponseBody$Outbound = {
7180
7303
  deletedAt?: number | null | undefined;
7181
7304
  defaultRoute?: string | undefined;
7182
7305
  canceledAt?: number | undefined;
7306
+ cveVulnerabilities?:
7307
+ | Array<CancelDeploymentCveVulnerabilities$Outbound>
7308
+ | undefined;
7183
7309
  errorCode?: string | undefined;
7184
7310
  errorLink?: string | undefined;
7185
7311
  errorMessage?: string | null | undefined;
@@ -7318,6 +7444,9 @@ export const CancelDeploymentResponseBody$outboundSchema: z.ZodType<
7318
7444
  deletedAt: z.nullable(z.number()).optional(),
7319
7445
  defaultRoute: z.string().optional(),
7320
7446
  canceledAt: z.number().optional(),
7447
+ cveVulnerabilities: z.array(
7448
+ z.lazy(() => CancelDeploymentCveVulnerabilities$outboundSchema),
7449
+ ).optional(),
7321
7450
  errorCode: z.string().optional(),
7322
7451
  errorLink: z.string().optional(),
7323
7452
  errorMessage: z.nullable(z.string()).optional(),
@@ -930,6 +930,22 @@ export const ChecksConclusion = {
930
930
  } as const;
931
931
  export type ChecksConclusion = ClosedEnum<typeof ChecksConclusion>;
932
932
 
933
+ export type Cve = {
934
+ id: string;
935
+ score: number;
936
+ description?: string | undefined;
937
+ link?: string | undefined;
938
+ };
939
+
940
+ /**
941
+ * Since December 2025 - Temporary for Christmas hackathon 2025 CVE vulnerabilities found during build, only populated when CVE Shield is enabled and vulnerabilities are detected. Only accessible when CveShieldEnabled feature flag is enabled
942
+ */
943
+ export type CveVulnerabilities = {
944
+ packageName: string;
945
+ packageVersion: string;
946
+ cve: Cve;
947
+ };
948
+
933
949
  export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type =
934
950
  {
935
951
  Bitbucket: "bitbucket",
@@ -1317,7 +1333,7 @@ export type OidcTokenClaims = {
1317
1333
  project: string;
1318
1334
  projectId: string;
1319
1335
  environment: string;
1320
- plan: string;
1336
+ plan?: string | undefined;
1321
1337
  };
1322
1338
 
1323
1339
  export const CreateDeploymentPlan = {
@@ -1636,6 +1652,7 @@ export type Routes1 = {
1636
1652
  | undefined;
1637
1653
  mitigate?: RoutesMitigate | undefined;
1638
1654
  transforms?: Array<CreateDeploymentRoutesTransforms> | undefined;
1655
+ env?: Array<string> | undefined;
1639
1656
  locale?: Locale | undefined;
1640
1657
  /**
1641
1658
  * A middleware key within the `output` key under the build result. Overrides a `middleware` definition.
@@ -1940,6 +1957,10 @@ export type CreateDeploymentResponseBody = {
1940
1957
  */
1941
1958
  defaultRoute?: string | undefined;
1942
1959
  canceledAt?: number | undefined;
1960
+ /**
1961
+ * Since December 2025 - Temporary for Christmas hackathon 2025 CVE vulnerabilities found during build, only populated when CVE Shield is enabled and vulnerabilities are detected. Only accessible when CveShieldEnabled feature flag is enabled
1962
+ */
1963
+ cveVulnerabilities?: Array<CveVulnerabilities> | undefined;
1943
1964
  errorCode?: string | undefined;
1944
1965
  errorLink?: string | undefined;
1945
1966
  errorMessage?: string | null | undefined;
@@ -4192,6 +4213,89 @@ export const ChecksConclusion$outboundSchema: z.ZodNativeEnum<
4192
4213
  typeof ChecksConclusion
4193
4214
  > = ChecksConclusion$inboundSchema;
4194
4215
 
4216
+ /** @internal */
4217
+ export const Cve$inboundSchema: z.ZodType<Cve, z.ZodTypeDef, unknown> = z
4218
+ .object({
4219
+ id: z.string(),
4220
+ score: z.number(),
4221
+ description: z.string().optional(),
4222
+ link: z.string().optional(),
4223
+ });
4224
+ /** @internal */
4225
+ export type Cve$Outbound = {
4226
+ id: string;
4227
+ score: number;
4228
+ description?: string | undefined;
4229
+ link?: string | undefined;
4230
+ };
4231
+
4232
+ /** @internal */
4233
+ export const Cve$outboundSchema: z.ZodType<Cve$Outbound, z.ZodTypeDef, Cve> = z
4234
+ .object({
4235
+ id: z.string(),
4236
+ score: z.number(),
4237
+ description: z.string().optional(),
4238
+ link: z.string().optional(),
4239
+ });
4240
+
4241
+ export function cveToJSON(cve: Cve): string {
4242
+ return JSON.stringify(Cve$outboundSchema.parse(cve));
4243
+ }
4244
+ export function cveFromJSON(
4245
+ jsonString: string,
4246
+ ): SafeParseResult<Cve, SDKValidationError> {
4247
+ return safeParse(
4248
+ jsonString,
4249
+ (x) => Cve$inboundSchema.parse(JSON.parse(x)),
4250
+ `Failed to parse 'Cve' from JSON`,
4251
+ );
4252
+ }
4253
+
4254
+ /** @internal */
4255
+ export const CveVulnerabilities$inboundSchema: z.ZodType<
4256
+ CveVulnerabilities,
4257
+ z.ZodTypeDef,
4258
+ unknown
4259
+ > = z.object({
4260
+ packageName: z.string(),
4261
+ packageVersion: z.string(),
4262
+ cve: z.lazy(() => Cve$inboundSchema),
4263
+ });
4264
+ /** @internal */
4265
+ export type CveVulnerabilities$Outbound = {
4266
+ packageName: string;
4267
+ packageVersion: string;
4268
+ cve: Cve$Outbound;
4269
+ };
4270
+
4271
+ /** @internal */
4272
+ export const CveVulnerabilities$outboundSchema: z.ZodType<
4273
+ CveVulnerabilities$Outbound,
4274
+ z.ZodTypeDef,
4275
+ CveVulnerabilities
4276
+ > = z.object({
4277
+ packageName: z.string(),
4278
+ packageVersion: z.string(),
4279
+ cve: z.lazy(() => Cve$outboundSchema),
4280
+ });
4281
+
4282
+ export function cveVulnerabilitiesToJSON(
4283
+ cveVulnerabilities: CveVulnerabilities,
4284
+ ): string {
4285
+ return JSON.stringify(
4286
+ CveVulnerabilities$outboundSchema.parse(cveVulnerabilities),
4287
+ );
4288
+ }
4289
+ export function cveVulnerabilitiesFromJSON(
4290
+ jsonString: string,
4291
+ ): SafeParseResult<CveVulnerabilities, SDKValidationError> {
4292
+ return safeParse(
4293
+ jsonString,
4294
+ (x) => CveVulnerabilities$inboundSchema.parse(JSON.parse(x)),
4295
+ `Failed to parse 'CveVulnerabilities' from JSON`,
4296
+ );
4297
+ }
4298
+
4195
4299
  /** @internal */
4196
4300
  export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema:
4197
4301
  z.ZodNativeEnum<
@@ -5561,7 +5665,7 @@ export const OidcTokenClaims$inboundSchema: z.ZodType<
5561
5665
  project: z.string(),
5562
5666
  project_id: z.string(),
5563
5667
  environment: z.string(),
5564
- plan: z.string(),
5668
+ plan: z.string().optional(),
5565
5669
  }).transform((v) => {
5566
5670
  return remap$(v, {
5567
5671
  "owner_id": "ownerId",
@@ -5579,7 +5683,7 @@ export type OidcTokenClaims$Outbound = {
5579
5683
  project: string;
5580
5684
  project_id: string;
5581
5685
  environment: string;
5582
- plan: string;
5686
+ plan?: string | undefined;
5583
5687
  };
5584
5688
 
5585
5689
  /** @internal */
@@ -5597,7 +5701,7 @@ export const OidcTokenClaims$outboundSchema: z.ZodType<
5597
5701
  project: z.string(),
5598
5702
  projectId: z.string(),
5599
5703
  environment: z.string(),
5600
- plan: z.string(),
5704
+ plan: z.string().optional(),
5601
5705
  }).transform((v) => {
5602
5706
  return remap$(v, {
5603
5707
  ownerId: "owner_id",
@@ -7143,6 +7247,7 @@ export const Routes1$inboundSchema: z.ZodType<Routes1, z.ZodTypeDef, unknown> =
7143
7247
  transforms: z.array(
7144
7248
  z.lazy(() => CreateDeploymentRoutesTransforms$inboundSchema),
7145
7249
  ).optional(),
7250
+ env: z.array(z.string()).optional(),
7146
7251
  locale: z.lazy(() => Locale$inboundSchema).optional(),
7147
7252
  middlewarePath: z.string().optional(),
7148
7253
  middlewareRawSrc: z.array(z.string()).optional(),
@@ -7178,6 +7283,7 @@ export type Routes1$Outbound = {
7178
7283
  | undefined;
7179
7284
  mitigate?: RoutesMitigate$Outbound | undefined;
7180
7285
  transforms?: Array<CreateDeploymentRoutesTransforms$Outbound> | undefined;
7286
+ env?: Array<string> | undefined;
7181
7287
  locale?: Locale$Outbound | undefined;
7182
7288
  middlewarePath?: string | undefined;
7183
7289
  middlewareRawSrc?: Array<string> | undefined;
@@ -7232,6 +7338,7 @@ export const Routes1$outboundSchema: z.ZodType<
7232
7338
  transforms: z.array(
7233
7339
  z.lazy(() => CreateDeploymentRoutesTransforms$outboundSchema),
7234
7340
  ).optional(),
7341
+ env: z.array(z.string()).optional(),
7235
7342
  locale: z.lazy(() => Locale$outboundSchema).optional(),
7236
7343
  middlewarePath: z.string().optional(),
7237
7344
  middlewareRawSrc: z.array(z.string()).optional(),
@@ -8080,6 +8187,8 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
8080
8187
  deletedAt: z.nullable(z.number()).optional(),
8081
8188
  defaultRoute: z.string().optional(),
8082
8189
  canceledAt: z.number().optional(),
8190
+ cveVulnerabilities: z.array(z.lazy(() => CveVulnerabilities$inboundSchema))
8191
+ .optional(),
8083
8192
  errorCode: z.string().optional(),
8084
8193
  errorLink: z.string().optional(),
8085
8194
  errorMessage: z.nullable(z.string()).optional(),
@@ -8207,6 +8316,7 @@ export type CreateDeploymentResponseBody$Outbound = {
8207
8316
  deletedAt?: number | null | undefined;
8208
8317
  defaultRoute?: string | undefined;
8209
8318
  canceledAt?: number | undefined;
8319
+ cveVulnerabilities?: Array<CveVulnerabilities$Outbound> | undefined;
8210
8320
  errorCode?: string | undefined;
8211
8321
  errorLink?: string | undefined;
8212
8322
  errorMessage?: string | null | undefined;
@@ -8327,6 +8437,8 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
8327
8437
  deletedAt: z.nullable(z.number()).optional(),
8328
8438
  defaultRoute: z.string().optional(),
8329
8439
  canceledAt: z.number().optional(),
8440
+ cveVulnerabilities: z.array(z.lazy(() => CveVulnerabilities$outboundSchema))
8441
+ .optional(),
8330
8442
  errorCode: z.string().optional(),
8331
8443
  errorLink: z.string().optional(),
8332
8444
  errorMessage: z.nullable(z.string()).optional(),
@@ -55,6 +55,10 @@ export type CreateEdgeConfigResponseBody = {
55
55
  createdAt: number;
56
56
  updatedAt: number;
57
57
  deletedAt?: number | null | undefined;
58
+ /**
59
+ * The ID of the user who created the Edge Config, optional because it is not always set.
60
+ */
61
+ createdBy?: string | undefined;
58
62
  id: string;
59
63
  /**
60
64
  * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores).
@@ -377,6 +381,7 @@ export const CreateEdgeConfigResponseBody$inboundSchema: z.ZodType<
377
381
  createdAt: z.number(),
378
382
  updatedAt: z.number(),
379
383
  deletedAt: z.nullable(z.number()).optional(),
384
+ createdBy: z.string().optional(),
380
385
  id: z.string(),
381
386
  slug: z.string(),
382
387
  ownerId: z.string(),
@@ -396,6 +401,7 @@ export type CreateEdgeConfigResponseBody$Outbound = {
396
401
  createdAt: number;
397
402
  updatedAt: number;
398
403
  deletedAt?: number | null | undefined;
404
+ createdBy?: string | undefined;
399
405
  id: string;
400
406
  slug: string;
401
407
  ownerId: string;
@@ -417,6 +423,7 @@ export const CreateEdgeConfigResponseBody$outboundSchema: z.ZodType<
417
423
  createdAt: z.number(),
418
424
  updatedAt: z.number(),
419
425
  deletedAt: z.nullable(z.number()).optional(),
426
+ createdBy: z.string().optional(),
420
427
  id: z.string(),
421
428
  slug: z.string(),
422
429
  ownerId: z.string(),