@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,467 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../lib/primitives.js";
7
+ import { safeParse } from "../lib/schemas.js";
8
+ import { ClosedEnum } from "../types/enums.js";
9
+ import { Result as SafeParseResult } from "../types/fp.js";
10
+ import { SDKValidationError } from "./sdkvalidationerror.js";
11
+
12
+ export const QueryParam2 = {
13
+ Only: "only",
14
+ } as const;
15
+ export type QueryParam2 = ClosedEnum<typeof QueryParam2>;
16
+
17
+ export type Diff = boolean | QueryParam2;
18
+
19
+ export const SortBy = {
20
+ Source: "source",
21
+ Destination: "destination",
22
+ StatusCode: "statusCode",
23
+ } as const;
24
+ export type SortBy = ClosedEnum<typeof SortBy>;
25
+
26
+ export const SortOrder = {
27
+ Asc: "asc",
28
+ Desc: "desc",
29
+ } as const;
30
+ export type SortOrder = ClosedEnum<typeof SortOrder>;
31
+
32
+ export type GetV1BulkRedirectsRequest = {
33
+ projectId: string;
34
+ versionId?: string | undefined;
35
+ q?: string | undefined;
36
+ diff?: boolean | QueryParam2 | undefined;
37
+ page?: number | undefined;
38
+ perPage?: number | undefined;
39
+ sortBy?: SortBy | undefined;
40
+ sortOrder?: SortOrder | undefined;
41
+ };
42
+
43
+ export type ResponseBodyRedirects = {
44
+ statusCode?: number | undefined;
45
+ permanent?: boolean | undefined;
46
+ sensitive?: boolean | undefined;
47
+ caseSensitive?: boolean | undefined;
48
+ query?: boolean | undefined;
49
+ destination: string;
50
+ source: string;
51
+ };
52
+
53
+ export type ResponseBodyVersion = {
54
+ /**
55
+ * The unique identifier for the version.
56
+ */
57
+ id: string;
58
+ /**
59
+ * The key of the version. The key may be duplicated across versions if the contents are the same as a different version.
60
+ */
61
+ key: string;
62
+ lastModified: number;
63
+ createdBy: string;
64
+ /**
65
+ * Optional name for the version. If not provided, defaults to an ISO timestamp string.
66
+ */
67
+ name?: string | undefined;
68
+ /**
69
+ * Whether this version has not been promoted to production yet and is not serving end users.
70
+ */
71
+ isStaging?: boolean | undefined;
72
+ /**
73
+ * Whether this version is currently live in production.
74
+ */
75
+ isLive?: boolean | undefined;
76
+ /**
77
+ * The number of redirects in this version.
78
+ */
79
+ redirectCount?: number | undefined;
80
+ /**
81
+ * The staging link for previewing redirects in this version.
82
+ */
83
+ alias?: string | undefined;
84
+ };
85
+
86
+ export type ResponseBodyPagination = {
87
+ page: number;
88
+ perPage: number;
89
+ numPages: number;
90
+ };
91
+
92
+ export type ResponseBody2 = {
93
+ redirects: Array<ResponseBodyRedirects>;
94
+ version?: ResponseBodyVersion | undefined;
95
+ pagination: ResponseBodyPagination;
96
+ };
97
+
98
+ export type GetV1BulkRedirectsResponseBody = ResponseBody2 | {
99
+ [k: string]: any;
100
+ };
101
+
102
+ /** @internal */
103
+ export const QueryParam2$inboundSchema: z.ZodNativeEnum<typeof QueryParam2> = z
104
+ .nativeEnum(QueryParam2);
105
+ /** @internal */
106
+ export const QueryParam2$outboundSchema: z.ZodNativeEnum<typeof QueryParam2> =
107
+ QueryParam2$inboundSchema;
108
+
109
+ /** @internal */
110
+ export const Diff$inboundSchema: z.ZodType<Diff, z.ZodTypeDef, unknown> = z
111
+ .union([z.boolean(), QueryParam2$inboundSchema]);
112
+ /** @internal */
113
+ export type Diff$Outbound = boolean | string;
114
+
115
+ /** @internal */
116
+ export const Diff$outboundSchema: z.ZodType<Diff$Outbound, z.ZodTypeDef, Diff> =
117
+ z.union([z.boolean(), QueryParam2$outboundSchema]);
118
+
119
+ export function diffToJSON(diff: Diff): string {
120
+ return JSON.stringify(Diff$outboundSchema.parse(diff));
121
+ }
122
+ export function diffFromJSON(
123
+ jsonString: string,
124
+ ): SafeParseResult<Diff, SDKValidationError> {
125
+ return safeParse(
126
+ jsonString,
127
+ (x) => Diff$inboundSchema.parse(JSON.parse(x)),
128
+ `Failed to parse 'Diff' from JSON`,
129
+ );
130
+ }
131
+
132
+ /** @internal */
133
+ export const SortBy$inboundSchema: z.ZodNativeEnum<typeof SortBy> = z
134
+ .nativeEnum(SortBy);
135
+ /** @internal */
136
+ export const SortBy$outboundSchema: z.ZodNativeEnum<typeof SortBy> =
137
+ SortBy$inboundSchema;
138
+
139
+ /** @internal */
140
+ export const SortOrder$inboundSchema: z.ZodNativeEnum<typeof SortOrder> = z
141
+ .nativeEnum(SortOrder);
142
+ /** @internal */
143
+ export const SortOrder$outboundSchema: z.ZodNativeEnum<typeof SortOrder> =
144
+ SortOrder$inboundSchema;
145
+
146
+ /** @internal */
147
+ export const GetV1BulkRedirectsRequest$inboundSchema: z.ZodType<
148
+ GetV1BulkRedirectsRequest,
149
+ z.ZodTypeDef,
150
+ unknown
151
+ > = z.object({
152
+ projectId: z.string(),
153
+ versionId: z.string().optional(),
154
+ q: z.string().optional(),
155
+ diff: z.union([z.boolean(), QueryParam2$inboundSchema]).optional(),
156
+ page: z.number().int().optional(),
157
+ per_page: z.number().int().optional(),
158
+ sort_by: SortBy$inboundSchema.optional(),
159
+ sort_order: SortOrder$inboundSchema.optional(),
160
+ }).transform((v) => {
161
+ return remap$(v, {
162
+ "per_page": "perPage",
163
+ "sort_by": "sortBy",
164
+ "sort_order": "sortOrder",
165
+ });
166
+ });
167
+ /** @internal */
168
+ export type GetV1BulkRedirectsRequest$Outbound = {
169
+ projectId: string;
170
+ versionId?: string | undefined;
171
+ q?: string | undefined;
172
+ diff?: boolean | string | undefined;
173
+ page?: number | undefined;
174
+ per_page?: number | undefined;
175
+ sort_by?: string | undefined;
176
+ sort_order?: string | undefined;
177
+ };
178
+
179
+ /** @internal */
180
+ export const GetV1BulkRedirectsRequest$outboundSchema: z.ZodType<
181
+ GetV1BulkRedirectsRequest$Outbound,
182
+ z.ZodTypeDef,
183
+ GetV1BulkRedirectsRequest
184
+ > = z.object({
185
+ projectId: z.string(),
186
+ versionId: z.string().optional(),
187
+ q: z.string().optional(),
188
+ diff: z.union([z.boolean(), QueryParam2$outboundSchema]).optional(),
189
+ page: z.number().int().optional(),
190
+ perPage: z.number().int().optional(),
191
+ sortBy: SortBy$outboundSchema.optional(),
192
+ sortOrder: SortOrder$outboundSchema.optional(),
193
+ }).transform((v) => {
194
+ return remap$(v, {
195
+ perPage: "per_page",
196
+ sortBy: "sort_by",
197
+ sortOrder: "sort_order",
198
+ });
199
+ });
200
+
201
+ export function getV1BulkRedirectsRequestToJSON(
202
+ getV1BulkRedirectsRequest: GetV1BulkRedirectsRequest,
203
+ ): string {
204
+ return JSON.stringify(
205
+ GetV1BulkRedirectsRequest$outboundSchema.parse(getV1BulkRedirectsRequest),
206
+ );
207
+ }
208
+ export function getV1BulkRedirectsRequestFromJSON(
209
+ jsonString: string,
210
+ ): SafeParseResult<GetV1BulkRedirectsRequest, SDKValidationError> {
211
+ return safeParse(
212
+ jsonString,
213
+ (x) => GetV1BulkRedirectsRequest$inboundSchema.parse(JSON.parse(x)),
214
+ `Failed to parse 'GetV1BulkRedirectsRequest' from JSON`,
215
+ );
216
+ }
217
+
218
+ /** @internal */
219
+ export const ResponseBodyRedirects$inboundSchema: z.ZodType<
220
+ ResponseBodyRedirects,
221
+ z.ZodTypeDef,
222
+ unknown
223
+ > = z.object({
224
+ statusCode: z.number().optional(),
225
+ permanent: z.boolean().optional(),
226
+ sensitive: z.boolean().optional(),
227
+ caseSensitive: z.boolean().optional(),
228
+ query: z.boolean().optional(),
229
+ destination: z.string(),
230
+ source: z.string(),
231
+ });
232
+ /** @internal */
233
+ export type ResponseBodyRedirects$Outbound = {
234
+ statusCode?: number | undefined;
235
+ permanent?: boolean | undefined;
236
+ sensitive?: boolean | undefined;
237
+ caseSensitive?: boolean | undefined;
238
+ query?: boolean | undefined;
239
+ destination: string;
240
+ source: string;
241
+ };
242
+
243
+ /** @internal */
244
+ export const ResponseBodyRedirects$outboundSchema: z.ZodType<
245
+ ResponseBodyRedirects$Outbound,
246
+ z.ZodTypeDef,
247
+ ResponseBodyRedirects
248
+ > = z.object({
249
+ statusCode: z.number().optional(),
250
+ permanent: z.boolean().optional(),
251
+ sensitive: z.boolean().optional(),
252
+ caseSensitive: z.boolean().optional(),
253
+ query: z.boolean().optional(),
254
+ destination: z.string(),
255
+ source: z.string(),
256
+ });
257
+
258
+ export function responseBodyRedirectsToJSON(
259
+ responseBodyRedirects: ResponseBodyRedirects,
260
+ ): string {
261
+ return JSON.stringify(
262
+ ResponseBodyRedirects$outboundSchema.parse(responseBodyRedirects),
263
+ );
264
+ }
265
+ export function responseBodyRedirectsFromJSON(
266
+ jsonString: string,
267
+ ): SafeParseResult<ResponseBodyRedirects, SDKValidationError> {
268
+ return safeParse(
269
+ jsonString,
270
+ (x) => ResponseBodyRedirects$inboundSchema.parse(JSON.parse(x)),
271
+ `Failed to parse 'ResponseBodyRedirects' from JSON`,
272
+ );
273
+ }
274
+
275
+ /** @internal */
276
+ export const ResponseBodyVersion$inboundSchema: z.ZodType<
277
+ ResponseBodyVersion,
278
+ z.ZodTypeDef,
279
+ unknown
280
+ > = z.object({
281
+ id: z.string(),
282
+ key: z.string(),
283
+ lastModified: z.number(),
284
+ createdBy: z.string(),
285
+ name: z.string().optional(),
286
+ isStaging: z.boolean().optional(),
287
+ isLive: z.boolean().optional(),
288
+ redirectCount: z.number().optional(),
289
+ alias: z.string().optional(),
290
+ });
291
+ /** @internal */
292
+ export type ResponseBodyVersion$Outbound = {
293
+ id: string;
294
+ key: string;
295
+ lastModified: number;
296
+ createdBy: string;
297
+ name?: string | undefined;
298
+ isStaging?: boolean | undefined;
299
+ isLive?: boolean | undefined;
300
+ redirectCount?: number | undefined;
301
+ alias?: string | undefined;
302
+ };
303
+
304
+ /** @internal */
305
+ export const ResponseBodyVersion$outboundSchema: z.ZodType<
306
+ ResponseBodyVersion$Outbound,
307
+ z.ZodTypeDef,
308
+ ResponseBodyVersion
309
+ > = z.object({
310
+ id: z.string(),
311
+ key: z.string(),
312
+ lastModified: z.number(),
313
+ createdBy: z.string(),
314
+ name: z.string().optional(),
315
+ isStaging: z.boolean().optional(),
316
+ isLive: z.boolean().optional(),
317
+ redirectCount: z.number().optional(),
318
+ alias: z.string().optional(),
319
+ });
320
+
321
+ export function responseBodyVersionToJSON(
322
+ responseBodyVersion: ResponseBodyVersion,
323
+ ): string {
324
+ return JSON.stringify(
325
+ ResponseBodyVersion$outboundSchema.parse(responseBodyVersion),
326
+ );
327
+ }
328
+ export function responseBodyVersionFromJSON(
329
+ jsonString: string,
330
+ ): SafeParseResult<ResponseBodyVersion, SDKValidationError> {
331
+ return safeParse(
332
+ jsonString,
333
+ (x) => ResponseBodyVersion$inboundSchema.parse(JSON.parse(x)),
334
+ `Failed to parse 'ResponseBodyVersion' from JSON`,
335
+ );
336
+ }
337
+
338
+ /** @internal */
339
+ export const ResponseBodyPagination$inboundSchema: z.ZodType<
340
+ ResponseBodyPagination,
341
+ z.ZodTypeDef,
342
+ unknown
343
+ > = z.object({
344
+ page: z.number(),
345
+ per_page: z.number(),
346
+ numPages: z.number(),
347
+ }).transform((v) => {
348
+ return remap$(v, {
349
+ "per_page": "perPage",
350
+ });
351
+ });
352
+ /** @internal */
353
+ export type ResponseBodyPagination$Outbound = {
354
+ page: number;
355
+ per_page: number;
356
+ numPages: number;
357
+ };
358
+
359
+ /** @internal */
360
+ export const ResponseBodyPagination$outboundSchema: z.ZodType<
361
+ ResponseBodyPagination$Outbound,
362
+ z.ZodTypeDef,
363
+ ResponseBodyPagination
364
+ > = z.object({
365
+ page: z.number(),
366
+ perPage: z.number(),
367
+ numPages: z.number(),
368
+ }).transform((v) => {
369
+ return remap$(v, {
370
+ perPage: "per_page",
371
+ });
372
+ });
373
+
374
+ export function responseBodyPaginationToJSON(
375
+ responseBodyPagination: ResponseBodyPagination,
376
+ ): string {
377
+ return JSON.stringify(
378
+ ResponseBodyPagination$outboundSchema.parse(responseBodyPagination),
379
+ );
380
+ }
381
+ export function responseBodyPaginationFromJSON(
382
+ jsonString: string,
383
+ ): SafeParseResult<ResponseBodyPagination, SDKValidationError> {
384
+ return safeParse(
385
+ jsonString,
386
+ (x) => ResponseBodyPagination$inboundSchema.parse(JSON.parse(x)),
387
+ `Failed to parse 'ResponseBodyPagination' from JSON`,
388
+ );
389
+ }
390
+
391
+ /** @internal */
392
+ export const ResponseBody2$inboundSchema: z.ZodType<
393
+ ResponseBody2,
394
+ z.ZodTypeDef,
395
+ unknown
396
+ > = z.object({
397
+ redirects: z.array(z.lazy(() => ResponseBodyRedirects$inboundSchema)),
398
+ version: z.lazy(() => ResponseBodyVersion$inboundSchema).optional(),
399
+ pagination: z.lazy(() => ResponseBodyPagination$inboundSchema),
400
+ });
401
+ /** @internal */
402
+ export type ResponseBody2$Outbound = {
403
+ redirects: Array<ResponseBodyRedirects$Outbound>;
404
+ version?: ResponseBodyVersion$Outbound | undefined;
405
+ pagination: ResponseBodyPagination$Outbound;
406
+ };
407
+
408
+ /** @internal */
409
+ export const ResponseBody2$outboundSchema: z.ZodType<
410
+ ResponseBody2$Outbound,
411
+ z.ZodTypeDef,
412
+ ResponseBody2
413
+ > = z.object({
414
+ redirects: z.array(z.lazy(() => ResponseBodyRedirects$outboundSchema)),
415
+ version: z.lazy(() => ResponseBodyVersion$outboundSchema).optional(),
416
+ pagination: z.lazy(() => ResponseBodyPagination$outboundSchema),
417
+ });
418
+
419
+ export function responseBody2ToJSON(responseBody2: ResponseBody2): string {
420
+ return JSON.stringify(ResponseBody2$outboundSchema.parse(responseBody2));
421
+ }
422
+ export function responseBody2FromJSON(
423
+ jsonString: string,
424
+ ): SafeParseResult<ResponseBody2, SDKValidationError> {
425
+ return safeParse(
426
+ jsonString,
427
+ (x) => ResponseBody2$inboundSchema.parse(JSON.parse(x)),
428
+ `Failed to parse 'ResponseBody2' from JSON`,
429
+ );
430
+ }
431
+
432
+ /** @internal */
433
+ export const GetV1BulkRedirectsResponseBody$inboundSchema: z.ZodType<
434
+ GetV1BulkRedirectsResponseBody,
435
+ z.ZodTypeDef,
436
+ unknown
437
+ > = z.union([z.lazy(() => ResponseBody2$inboundSchema), z.record(z.any())]);
438
+ /** @internal */
439
+ export type GetV1BulkRedirectsResponseBody$Outbound = ResponseBody2$Outbound | {
440
+ [k: string]: any;
441
+ };
442
+
443
+ /** @internal */
444
+ export const GetV1BulkRedirectsResponseBody$outboundSchema: z.ZodType<
445
+ GetV1BulkRedirectsResponseBody$Outbound,
446
+ z.ZodTypeDef,
447
+ GetV1BulkRedirectsResponseBody
448
+ > = z.union([z.lazy(() => ResponseBody2$outboundSchema), z.record(z.any())]);
449
+
450
+ export function getV1BulkRedirectsResponseBodyToJSON(
451
+ getV1BulkRedirectsResponseBody: GetV1BulkRedirectsResponseBody,
452
+ ): string {
453
+ return JSON.stringify(
454
+ GetV1BulkRedirectsResponseBody$outboundSchema.parse(
455
+ getV1BulkRedirectsResponseBody,
456
+ ),
457
+ );
458
+ }
459
+ export function getV1BulkRedirectsResponseBodyFromJSON(
460
+ jsonString: string,
461
+ ): SafeParseResult<GetV1BulkRedirectsResponseBody, SDKValidationError> {
462
+ return safeParse(
463
+ jsonString,
464
+ (x) => GetV1BulkRedirectsResponseBody$inboundSchema.parse(JSON.parse(x)),
465
+ `Failed to parse 'GetV1BulkRedirectsResponseBody' from JSON`,
466
+ );
467
+ }
@@ -0,0 +1,192 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../types/fp.js";
8
+ import { SDKValidationError } from "./sdkvalidationerror.js";
9
+
10
+ export type GetV1BulkRedirectsVersionsRequest = {
11
+ projectId: string;
12
+ };
13
+
14
+ export type Versions = {
15
+ /**
16
+ * The unique identifier for the version.
17
+ */
18
+ id: string;
19
+ /**
20
+ * The key of the version. The key may be duplicated across versions if the contents are the same as a different version.
21
+ */
22
+ key: string;
23
+ lastModified: number;
24
+ createdBy: string;
25
+ /**
26
+ * Optional name for the version. If not provided, defaults to an ISO timestamp string.
27
+ */
28
+ name?: string | undefined;
29
+ /**
30
+ * Whether this version has not been promoted to production yet and is not serving end users.
31
+ */
32
+ isStaging?: boolean | undefined;
33
+ /**
34
+ * Whether this version is currently live in production.
35
+ */
36
+ isLive?: boolean | undefined;
37
+ /**
38
+ * The number of redirects in this version.
39
+ */
40
+ redirectCount?: number | undefined;
41
+ /**
42
+ * The staging link for previewing redirects in this version.
43
+ */
44
+ alias?: string | undefined;
45
+ };
46
+
47
+ export type GetV1BulkRedirectsVersionsResponseBody = {
48
+ versions: Array<Versions>;
49
+ };
50
+
51
+ /** @internal */
52
+ export const GetV1BulkRedirectsVersionsRequest$inboundSchema: z.ZodType<
53
+ GetV1BulkRedirectsVersionsRequest,
54
+ z.ZodTypeDef,
55
+ unknown
56
+ > = z.object({
57
+ projectId: z.string(),
58
+ });
59
+ /** @internal */
60
+ export type GetV1BulkRedirectsVersionsRequest$Outbound = {
61
+ projectId: string;
62
+ };
63
+
64
+ /** @internal */
65
+ export const GetV1BulkRedirectsVersionsRequest$outboundSchema: z.ZodType<
66
+ GetV1BulkRedirectsVersionsRequest$Outbound,
67
+ z.ZodTypeDef,
68
+ GetV1BulkRedirectsVersionsRequest
69
+ > = z.object({
70
+ projectId: z.string(),
71
+ });
72
+
73
+ export function getV1BulkRedirectsVersionsRequestToJSON(
74
+ getV1BulkRedirectsVersionsRequest: GetV1BulkRedirectsVersionsRequest,
75
+ ): string {
76
+ return JSON.stringify(
77
+ GetV1BulkRedirectsVersionsRequest$outboundSchema.parse(
78
+ getV1BulkRedirectsVersionsRequest,
79
+ ),
80
+ );
81
+ }
82
+ export function getV1BulkRedirectsVersionsRequestFromJSON(
83
+ jsonString: string,
84
+ ): SafeParseResult<GetV1BulkRedirectsVersionsRequest, SDKValidationError> {
85
+ return safeParse(
86
+ jsonString,
87
+ (x) => GetV1BulkRedirectsVersionsRequest$inboundSchema.parse(JSON.parse(x)),
88
+ `Failed to parse 'GetV1BulkRedirectsVersionsRequest' from JSON`,
89
+ );
90
+ }
91
+
92
+ /** @internal */
93
+ export const Versions$inboundSchema: z.ZodType<
94
+ Versions,
95
+ z.ZodTypeDef,
96
+ unknown
97
+ > = z.object({
98
+ id: z.string(),
99
+ key: z.string(),
100
+ lastModified: z.number(),
101
+ createdBy: z.string(),
102
+ name: z.string().optional(),
103
+ isStaging: z.boolean().optional(),
104
+ isLive: z.boolean().optional(),
105
+ redirectCount: z.number().optional(),
106
+ alias: z.string().optional(),
107
+ });
108
+ /** @internal */
109
+ export type Versions$Outbound = {
110
+ id: string;
111
+ key: string;
112
+ lastModified: number;
113
+ createdBy: string;
114
+ name?: string | undefined;
115
+ isStaging?: boolean | undefined;
116
+ isLive?: boolean | undefined;
117
+ redirectCount?: number | undefined;
118
+ alias?: string | undefined;
119
+ };
120
+
121
+ /** @internal */
122
+ export const Versions$outboundSchema: z.ZodType<
123
+ Versions$Outbound,
124
+ z.ZodTypeDef,
125
+ Versions
126
+ > = z.object({
127
+ id: z.string(),
128
+ key: z.string(),
129
+ lastModified: z.number(),
130
+ createdBy: z.string(),
131
+ name: z.string().optional(),
132
+ isStaging: z.boolean().optional(),
133
+ isLive: z.boolean().optional(),
134
+ redirectCount: z.number().optional(),
135
+ alias: z.string().optional(),
136
+ });
137
+
138
+ export function versionsToJSON(versions: Versions): string {
139
+ return JSON.stringify(Versions$outboundSchema.parse(versions));
140
+ }
141
+ export function versionsFromJSON(
142
+ jsonString: string,
143
+ ): SafeParseResult<Versions, SDKValidationError> {
144
+ return safeParse(
145
+ jsonString,
146
+ (x) => Versions$inboundSchema.parse(JSON.parse(x)),
147
+ `Failed to parse 'Versions' from JSON`,
148
+ );
149
+ }
150
+
151
+ /** @internal */
152
+ export const GetV1BulkRedirectsVersionsResponseBody$inboundSchema: z.ZodType<
153
+ GetV1BulkRedirectsVersionsResponseBody,
154
+ z.ZodTypeDef,
155
+ unknown
156
+ > = z.object({
157
+ versions: z.array(z.lazy(() => Versions$inboundSchema)),
158
+ });
159
+ /** @internal */
160
+ export type GetV1BulkRedirectsVersionsResponseBody$Outbound = {
161
+ versions: Array<Versions$Outbound>;
162
+ };
163
+
164
+ /** @internal */
165
+ export const GetV1BulkRedirectsVersionsResponseBody$outboundSchema: z.ZodType<
166
+ GetV1BulkRedirectsVersionsResponseBody$Outbound,
167
+ z.ZodTypeDef,
168
+ GetV1BulkRedirectsVersionsResponseBody
169
+ > = z.object({
170
+ versions: z.array(z.lazy(() => Versions$outboundSchema)),
171
+ });
172
+
173
+ export function getV1BulkRedirectsVersionsResponseBodyToJSON(
174
+ getV1BulkRedirectsVersionsResponseBody:
175
+ GetV1BulkRedirectsVersionsResponseBody,
176
+ ): string {
177
+ return JSON.stringify(
178
+ GetV1BulkRedirectsVersionsResponseBody$outboundSchema.parse(
179
+ getV1BulkRedirectsVersionsResponseBody,
180
+ ),
181
+ );
182
+ }
183
+ export function getV1BulkRedirectsVersionsResponseBodyFromJSON(
184
+ jsonString: string,
185
+ ): SafeParseResult<GetV1BulkRedirectsVersionsResponseBody, SDKValidationError> {
186
+ return safeParse(
187
+ jsonString,
188
+ (x) =>
189
+ GetV1BulkRedirectsVersionsResponseBody$inboundSchema.parse(JSON.parse(x)),
190
+ `Failed to parse 'GetV1BulkRedirectsVersionsResponseBody' from JSON`,
191
+ );
192
+ }
@@ -58,6 +58,7 @@ export const GetWebhookEvents = {
58
58
  FirewallAttack: "firewall.attack",
59
59
  FirewallSystemRuleAnomaly: "firewall.system-rule-anomaly",
60
60
  FirewallCustomRuleAnomaly: "firewall.custom-rule-anomaly",
61
+ AlertsTriggered: "alerts.triggered",
61
62
  IntegrationConfigurationPermissionUpgraded:
62
63
  "integration-configuration.permission-upgraded",
63
64
  IntegrationConfigurationRemoved: "integration-configuration.removed",
@@ -105,7 +106,7 @@ export const GetWebhookEvents = {
105
106
  ObservabilityAnomalyError: "observability.anomaly-error",
106
107
  ObservabilityUsageAnomaly: "observability.usage-anomaly",
107
108
  ObservabilityErrorAnomaly: "observability.error-anomaly",
108
- ObservabilityAnomalyBotId: "observability.anomaly-botId",
109
+ BotidAnomaly: "botid.anomaly",
109
110
  TestWebhook: "test-webhook",
110
111
  } as const;
111
112
  /**
@@ -58,6 +58,7 @@ export const GetWebhooksResponseBodyEvents = {
58
58
  FirewallAttack: "firewall.attack",
59
59
  FirewallSystemRuleAnomaly: "firewall.system-rule-anomaly",
60
60
  FirewallCustomRuleAnomaly: "firewall.custom-rule-anomaly",
61
+ AlertsTriggered: "alerts.triggered",
61
62
  IntegrationConfigurationPermissionUpgraded:
62
63
  "integration-configuration.permission-upgraded",
63
64
  IntegrationConfigurationRemoved: "integration-configuration.removed",
@@ -105,7 +106,7 @@ export const GetWebhooksResponseBodyEvents = {
105
106
  ObservabilityAnomalyError: "observability.anomaly-error",
106
107
  ObservabilityUsageAnomaly: "observability.usage-anomaly",
107
108
  ObservabilityErrorAnomaly: "observability.error-anomaly",
108
- ObservabilityAnomalyBotId: "observability.anomaly-botId",
109
+ BotidAnomaly: "botid.anomaly",
109
110
  TestWebhook: "test-webhook",
110
111
  } as const;
111
112
  /**
@@ -254,6 +255,7 @@ export const ResponseBodyEvents = {
254
255
  FirewallAttack: "firewall.attack",
255
256
  FirewallSystemRuleAnomaly: "firewall.system-rule-anomaly",
256
257
  FirewallCustomRuleAnomaly: "firewall.custom-rule-anomaly",
258
+ AlertsTriggered: "alerts.triggered",
257
259
  IntegrationConfigurationPermissionUpgraded:
258
260
  "integration-configuration.permission-upgraded",
259
261
  IntegrationConfigurationRemoved: "integration-configuration.removed",
@@ -301,7 +303,7 @@ export const ResponseBodyEvents = {
301
303
  ObservabilityAnomalyError: "observability.anomaly-error",
302
304
  ObservabilityUsageAnomaly: "observability.usage-anomaly",
303
305
  ObservabilityErrorAnomaly: "observability.error-anomaly",
304
- ObservabilityAnomalyBotId: "observability.anomaly-botId",
306
+ BotidAnomaly: "botid.anomaly",
305
307
  TestWebhook: "test-webhook",
306
308
  } as const;
307
309
  /**