@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
@@ -29,17 +29,17 @@ export type GetFirewallConfigSd = {
29
29
  active: boolean;
30
30
  action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction;
31
31
  };
32
- export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction: {
32
+ export declare const GetFirewallConfigSecurityAction: {
33
33
  readonly Deny: "deny";
34
34
  readonly Log: "log";
35
35
  };
36
- export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction = ClosedEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction>;
36
+ export type GetFirewallConfigSecurityAction = ClosedEnum<typeof GetFirewallConfigSecurityAction>;
37
37
  /**
38
38
  * Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding.
39
39
  */
40
40
  export type GetFirewallConfigMa = {
41
41
  active: boolean;
42
- action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction;
42
+ action: GetFirewallConfigSecurityAction;
43
43
  };
44
44
  export declare const GetFirewallConfigSecurityResponseAction: {
45
45
  readonly Deny: "deny";
@@ -198,10 +198,7 @@ export type GetFirewallConfigCrs = {
198
198
  */
199
199
  java: GetFirewallConfigJava;
200
200
  };
201
- /**
202
- * [Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic.
203
- */
204
- export declare const GetFirewallConfigType: {
201
+ export declare const GetFirewallConfigRulesType: {
205
202
  readonly Host: "host";
206
203
  readonly Path: "path";
207
204
  readonly Method: "method";
@@ -226,12 +223,11 @@ export declare const GetFirewallConfigType: {
226
223
  readonly Ja3Digest: "ja3_digest";
227
224
  readonly RateLimitApiId: "rate_limit_api_id";
228
225
  readonly ServerAction: "server_action";
226
+ readonly BotName: "bot_name";
227
+ readonly BotCategory: "bot_category";
229
228
  };
230
- /**
231
- * [Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic.
232
- */
233
- export type GetFirewallConfigType = ClosedEnum<typeof GetFirewallConfigType>;
234
- export declare const GetFirewallConfigOp: {
229
+ export type GetFirewallConfigRulesType = ClosedEnum<typeof GetFirewallConfigRulesType>;
230
+ export declare const GetFirewallConfigRulesOp: {
235
231
  readonly Re: "re";
236
232
  readonly Eq: "eq";
237
233
  readonly Ex: "ex";
@@ -247,22 +243,19 @@ export declare const GetFirewallConfigOp: {
247
243
  readonly Ninc: "ninc";
248
244
  readonly Neq: "neq";
249
245
  };
250
- export type GetFirewallConfigOp = ClosedEnum<typeof GetFirewallConfigOp>;
251
- export type GetFirewallConfigValue = string | number | Array<string>;
252
- export type GetFirewallConfigConditions = {
253
- /**
254
- * [Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic.
255
- */
256
- type: GetFirewallConfigType;
257
- op: GetFirewallConfigOp;
246
+ export type GetFirewallConfigRulesOp = ClosedEnum<typeof GetFirewallConfigRulesOp>;
247
+ export type GetFirewallConfigRulesValue = string | number | Array<string>;
248
+ export type GetFirewallConfigRulesConditions = {
249
+ type: GetFirewallConfigRulesType;
250
+ op: GetFirewallConfigRulesOp;
258
251
  neg?: boolean | undefined;
259
252
  key?: string | undefined;
260
253
  value?: string | number | Array<string> | undefined;
261
254
  };
262
- export type GetFirewallConfigConditionGroup = {
263
- conditions: Array<GetFirewallConfigConditions>;
255
+ export type GetFirewallConfigRulesConditionGroup = {
256
+ conditions: Array<GetFirewallConfigRulesConditions>;
264
257
  };
265
- export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction: {
258
+ export declare const GetFirewallConfigRulesSecurityAction: {
266
259
  readonly Deny: "deny";
267
260
  readonly Log: "log";
268
261
  readonly Challenge: "challenge";
@@ -270,61 +263,173 @@ export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponse
270
263
  readonly RateLimit: "rate_limit";
271
264
  readonly Redirect: "redirect";
272
265
  };
273
- export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction = ClosedEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction>;
274
- export declare const GetFirewallConfigAlgo: {
266
+ export type GetFirewallConfigRulesSecurityAction = ClosedEnum<typeof GetFirewallConfigRulesSecurityAction>;
267
+ export declare const GetFirewallConfigRulesAlgo: {
275
268
  readonly FixedWindow: "fixed_window";
276
269
  readonly TokenBucket: "token_bucket";
277
270
  };
278
- export type GetFirewallConfigAlgo = ClosedEnum<typeof GetFirewallConfigAlgo>;
279
- export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction: {
271
+ export type GetFirewallConfigRulesAlgo = ClosedEnum<typeof GetFirewallConfigRulesAlgo>;
272
+ export declare const GetFirewallConfigRulesSecurityResponse200Action: {
280
273
  readonly Deny: "deny";
281
274
  readonly Log: "log";
282
275
  readonly Challenge: "challenge";
283
276
  readonly RateLimit: "rate_limit";
284
277
  };
285
- export type GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction = ClosedEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction>;
286
- export type GetFirewallConfigRateLimit = {
287
- algo: GetFirewallConfigAlgo;
278
+ export type GetFirewallConfigRulesSecurityResponse200Action = ClosedEnum<typeof GetFirewallConfigRulesSecurityResponse200Action>;
279
+ export type GetFirewallConfigRulesRateLimit = {
280
+ algo: GetFirewallConfigRulesAlgo;
288
281
  window: number;
289
282
  limit: number;
290
283
  keys: Array<string>;
291
- action?: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction | null | undefined;
284
+ action?: GetFirewallConfigRulesSecurityResponse200Action | null | undefined;
292
285
  };
293
- export type GetFirewallConfigRedirect = {
286
+ export type GetFirewallConfigRulesRedirect = {
294
287
  location: string;
295
288
  permanent: boolean;
296
289
  };
297
- export type GetFirewallConfigMitigate = {
298
- action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction;
299
- rateLimit?: GetFirewallConfigRateLimit | null | undefined;
300
- redirect?: GetFirewallConfigRedirect | null | undefined;
290
+ export type GetFirewallConfigRulesMitigate = {
291
+ action: GetFirewallConfigRulesSecurityAction;
292
+ rateLimit?: GetFirewallConfigRulesRateLimit | null | undefined;
293
+ redirect?: GetFirewallConfigRulesRedirect | null | undefined;
301
294
  actionDuration?: string | null | undefined;
302
295
  bypassSystem?: boolean | null | undefined;
303
296
  };
304
- export type GetFirewallConfigAction = {
305
- mitigate?: GetFirewallConfigMitigate | undefined;
297
+ export type GetFirewallConfigRulesAction = {
298
+ mitigate?: GetFirewallConfigRulesMitigate | undefined;
306
299
  };
307
- export type GetFirewallConfigRules = {
300
+ export type Rules2 = {
308
301
  id: string;
309
302
  name: string;
310
303
  description?: string | undefined;
311
304
  active: boolean;
312
- conditionGroup: Array<GetFirewallConfigConditionGroup>;
313
- action: GetFirewallConfigAction;
305
+ conditionGroup: Array<GetFirewallConfigRulesConditionGroup>;
306
+ action: GetFirewallConfigRulesAction;
307
+ valid: boolean;
308
+ validationErrors: Array<string>;
314
309
  };
315
- export declare const GetFirewallConfigSecurityAction: {
310
+ export declare const RulesType: {
311
+ readonly Host: "host";
312
+ readonly Path: "path";
313
+ readonly Method: "method";
314
+ readonly Header: "header";
315
+ readonly Query: "query";
316
+ readonly Cookie: "cookie";
317
+ readonly TargetPath: "target_path";
318
+ readonly Route: "route";
319
+ readonly RawPath: "raw_path";
320
+ readonly IpAddress: "ip_address";
321
+ readonly Protocol: "protocol";
322
+ readonly Region: "region";
323
+ readonly Scheme: "scheme";
324
+ readonly Environment: "environment";
325
+ readonly UserAgent: "user_agent";
326
+ readonly GeoContinent: "geo_continent";
327
+ readonly GeoCountry: "geo_country";
328
+ readonly GeoCountryRegion: "geo_country_region";
329
+ readonly GeoCity: "geo_city";
330
+ readonly GeoAsNumber: "geo_as_number";
331
+ readonly Ja4Digest: "ja4_digest";
332
+ readonly Ja3Digest: "ja3_digest";
333
+ readonly RateLimitApiId: "rate_limit_api_id";
334
+ readonly ServerAction: "server_action";
335
+ readonly BotName: "bot_name";
336
+ readonly BotCategory: "bot_category";
337
+ };
338
+ export type RulesType = ClosedEnum<typeof RulesType>;
339
+ export declare const RulesOp: {
340
+ readonly Re: "re";
341
+ readonly Eq: "eq";
342
+ readonly Ex: "ex";
343
+ readonly Inc: "inc";
344
+ readonly Pre: "pre";
345
+ readonly Suf: "suf";
346
+ readonly Sub: "sub";
347
+ readonly Gt: "gt";
348
+ readonly Gte: "gte";
349
+ readonly Lt: "lt";
350
+ readonly Lte: "lte";
351
+ readonly Nex: "nex";
352
+ readonly Ninc: "ninc";
353
+ readonly Neq: "neq";
354
+ };
355
+ export type RulesOp = ClosedEnum<typeof RulesOp>;
356
+ export type RulesValue = string | number | Array<string>;
357
+ export type RulesConditions = {
358
+ type: RulesType;
359
+ op: RulesOp;
360
+ neg?: boolean | undefined;
361
+ key?: string | undefined;
362
+ value?: string | number | Array<string> | undefined;
363
+ };
364
+ export type RulesConditionGroup = {
365
+ conditions: Array<RulesConditions>;
366
+ };
367
+ export declare const GetFirewallConfigRulesSecurityResponseAction: {
316
368
  readonly Deny: "deny";
317
369
  readonly Log: "log";
318
370
  readonly Challenge: "challenge";
319
371
  readonly Bypass: "bypass";
372
+ readonly RateLimit: "rate_limit";
373
+ readonly Redirect: "redirect";
320
374
  };
321
- export type GetFirewallConfigSecurityAction = ClosedEnum<typeof GetFirewallConfigSecurityAction>;
375
+ export type GetFirewallConfigRulesSecurityResponseAction = ClosedEnum<typeof GetFirewallConfigRulesSecurityResponseAction>;
376
+ export declare const RulesAlgo: {
377
+ readonly FixedWindow: "fixed_window";
378
+ readonly TokenBucket: "token_bucket";
379
+ };
380
+ export type RulesAlgo = ClosedEnum<typeof RulesAlgo>;
381
+ export declare const GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction: {
382
+ readonly Deny: "deny";
383
+ readonly Log: "log";
384
+ readonly Challenge: "challenge";
385
+ readonly RateLimit: "rate_limit";
386
+ };
387
+ export type GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction = ClosedEnum<typeof GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction>;
388
+ export type RulesRateLimit = {
389
+ algo: RulesAlgo;
390
+ window: number;
391
+ limit: number;
392
+ keys: Array<string>;
393
+ action?: GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction | null | undefined;
394
+ };
395
+ export type RulesRedirect = {
396
+ location: string;
397
+ permanent: boolean;
398
+ };
399
+ export type RulesMitigate = {
400
+ action: GetFirewallConfigRulesSecurityResponseAction;
401
+ rateLimit?: RulesRateLimit | null | undefined;
402
+ redirect?: RulesRedirect | null | undefined;
403
+ actionDuration?: string | null | undefined;
404
+ bypassSystem?: boolean | null | undefined;
405
+ };
406
+ export type RulesAction = {
407
+ mitigate?: RulesMitigate | undefined;
408
+ };
409
+ export type Rules1 = {
410
+ id: string;
411
+ name: string;
412
+ description?: string | undefined;
413
+ active: boolean;
414
+ conditionGroup: Array<RulesConditionGroup>;
415
+ action: RulesAction;
416
+ valid: boolean;
417
+ validationErrors?: any | null | undefined;
418
+ };
419
+ export type GetFirewallConfigRules = Rules1 | Rules2;
420
+ export declare const GetFirewallConfigAction: {
421
+ readonly Deny: "deny";
422
+ readonly Log: "log";
423
+ readonly Challenge: "challenge";
424
+ readonly Bypass: "bypass";
425
+ };
426
+ export type GetFirewallConfigAction = ClosedEnum<typeof GetFirewallConfigAction>;
322
427
  export type GetFirewallConfigIps = {
323
428
  id: string;
324
429
  hostname: string;
325
430
  ip: string;
326
431
  notes?: string | undefined;
327
- action: GetFirewallConfigSecurityAction;
432
+ action: GetFirewallConfigAction;
328
433
  };
329
434
  export type Changes = {};
330
435
  export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction: {
@@ -385,7 +490,7 @@ export type GetFirewallConfigResponseBody = {
385
490
  * Custom Ruleset
386
491
  */
387
492
  crs: GetFirewallConfigCrs;
388
- rules: Array<GetFirewallConfigRules>;
493
+ rules: Array<Rules1 | Rules2>;
389
494
  ips: Array<GetFirewallConfigIps>;
390
495
  changes: Array<Changes>;
391
496
  managedRules?: ManagedRules | undefined;
@@ -420,9 +525,9 @@ export declare const GetFirewallConfigSd$outboundSchema: z.ZodType<GetFirewallCo
420
525
  export declare function getFirewallConfigSdToJSON(getFirewallConfigSd: GetFirewallConfigSd): string;
421
526
  export declare function getFirewallConfigSdFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigSd, SDKValidationError>;
422
527
  /** @internal */
423
- export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction>;
528
+ export declare const GetFirewallConfigSecurityAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityAction>;
424
529
  /** @internal */
425
- export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction>;
530
+ export declare const GetFirewallConfigSecurityAction$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityAction>;
426
531
  /** @internal */
427
532
  export declare const GetFirewallConfigMa$inboundSchema: z.ZodType<GetFirewallConfigMa, z.ZodTypeDef, unknown>;
428
533
  /** @internal */
@@ -590,25 +695,25 @@ export declare const GetFirewallConfigCrs$outboundSchema: z.ZodType<GetFirewallC
590
695
  export declare function getFirewallConfigCrsToJSON(getFirewallConfigCrs: GetFirewallConfigCrs): string;
591
696
  export declare function getFirewallConfigCrsFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigCrs, SDKValidationError>;
592
697
  /** @internal */
593
- export declare const GetFirewallConfigType$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigType>;
698
+ export declare const GetFirewallConfigRulesType$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesType>;
594
699
  /** @internal */
595
- export declare const GetFirewallConfigType$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigType>;
700
+ export declare const GetFirewallConfigRulesType$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesType>;
596
701
  /** @internal */
597
- export declare const GetFirewallConfigOp$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigOp>;
702
+ export declare const GetFirewallConfigRulesOp$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesOp>;
598
703
  /** @internal */
599
- export declare const GetFirewallConfigOp$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigOp>;
704
+ export declare const GetFirewallConfigRulesOp$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesOp>;
600
705
  /** @internal */
601
- export declare const GetFirewallConfigValue$inboundSchema: z.ZodType<GetFirewallConfigValue, z.ZodTypeDef, unknown>;
706
+ export declare const GetFirewallConfigRulesValue$inboundSchema: z.ZodType<GetFirewallConfigRulesValue, z.ZodTypeDef, unknown>;
602
707
  /** @internal */
603
- export type GetFirewallConfigValue$Outbound = string | number | Array<string>;
708
+ export type GetFirewallConfigRulesValue$Outbound = string | number | Array<string>;
604
709
  /** @internal */
605
- export declare const GetFirewallConfigValue$outboundSchema: z.ZodType<GetFirewallConfigValue$Outbound, z.ZodTypeDef, GetFirewallConfigValue>;
606
- export declare function getFirewallConfigValueToJSON(getFirewallConfigValue: GetFirewallConfigValue): string;
607
- export declare function getFirewallConfigValueFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigValue, SDKValidationError>;
710
+ export declare const GetFirewallConfigRulesValue$outboundSchema: z.ZodType<GetFirewallConfigRulesValue$Outbound, z.ZodTypeDef, GetFirewallConfigRulesValue>;
711
+ export declare function getFirewallConfigRulesValueToJSON(getFirewallConfigRulesValue: GetFirewallConfigRulesValue): string;
712
+ export declare function getFirewallConfigRulesValueFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesValue, SDKValidationError>;
608
713
  /** @internal */
609
- export declare const GetFirewallConfigConditions$inboundSchema: z.ZodType<GetFirewallConfigConditions, z.ZodTypeDef, unknown>;
714
+ export declare const GetFirewallConfigRulesConditions$inboundSchema: z.ZodType<GetFirewallConfigRulesConditions, z.ZodTypeDef, unknown>;
610
715
  /** @internal */
611
- export type GetFirewallConfigConditions$Outbound = {
716
+ export type GetFirewallConfigRulesConditions$Outbound = {
612
717
  type: string;
613
718
  op: string;
614
719
  neg?: boolean | undefined;
@@ -616,35 +721,35 @@ export type GetFirewallConfigConditions$Outbound = {
616
721
  value?: string | number | Array<string> | undefined;
617
722
  };
618
723
  /** @internal */
619
- export declare const GetFirewallConfigConditions$outboundSchema: z.ZodType<GetFirewallConfigConditions$Outbound, z.ZodTypeDef, GetFirewallConfigConditions>;
620
- export declare function getFirewallConfigConditionsToJSON(getFirewallConfigConditions: GetFirewallConfigConditions): string;
621
- export declare function getFirewallConfigConditionsFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigConditions, SDKValidationError>;
724
+ export declare const GetFirewallConfigRulesConditions$outboundSchema: z.ZodType<GetFirewallConfigRulesConditions$Outbound, z.ZodTypeDef, GetFirewallConfigRulesConditions>;
725
+ export declare function getFirewallConfigRulesConditionsToJSON(getFirewallConfigRulesConditions: GetFirewallConfigRulesConditions): string;
726
+ export declare function getFirewallConfigRulesConditionsFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesConditions, SDKValidationError>;
622
727
  /** @internal */
623
- export declare const GetFirewallConfigConditionGroup$inboundSchema: z.ZodType<GetFirewallConfigConditionGroup, z.ZodTypeDef, unknown>;
728
+ export declare const GetFirewallConfigRulesConditionGroup$inboundSchema: z.ZodType<GetFirewallConfigRulesConditionGroup, z.ZodTypeDef, unknown>;
624
729
  /** @internal */
625
- export type GetFirewallConfigConditionGroup$Outbound = {
626
- conditions: Array<GetFirewallConfigConditions$Outbound>;
730
+ export type GetFirewallConfigRulesConditionGroup$Outbound = {
731
+ conditions: Array<GetFirewallConfigRulesConditions$Outbound>;
627
732
  };
628
733
  /** @internal */
629
- export declare const GetFirewallConfigConditionGroup$outboundSchema: z.ZodType<GetFirewallConfigConditionGroup$Outbound, z.ZodTypeDef, GetFirewallConfigConditionGroup>;
630
- export declare function getFirewallConfigConditionGroupToJSON(getFirewallConfigConditionGroup: GetFirewallConfigConditionGroup): string;
631
- export declare function getFirewallConfigConditionGroupFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigConditionGroup, SDKValidationError>;
734
+ export declare const GetFirewallConfigRulesConditionGroup$outboundSchema: z.ZodType<GetFirewallConfigRulesConditionGroup$Outbound, z.ZodTypeDef, GetFirewallConfigRulesConditionGroup>;
735
+ export declare function getFirewallConfigRulesConditionGroupToJSON(getFirewallConfigRulesConditionGroup: GetFirewallConfigRulesConditionGroup): string;
736
+ export declare function getFirewallConfigRulesConditionGroupFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesConditionGroup, SDKValidationError>;
632
737
  /** @internal */
633
- export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction>;
738
+ export declare const GetFirewallConfigRulesSecurityAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesSecurityAction>;
634
739
  /** @internal */
635
- export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction>;
740
+ export declare const GetFirewallConfigRulesSecurityAction$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesSecurityAction>;
636
741
  /** @internal */
637
- export declare const GetFirewallConfigAlgo$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigAlgo>;
742
+ export declare const GetFirewallConfigRulesAlgo$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesAlgo>;
638
743
  /** @internal */
639
- export declare const GetFirewallConfigAlgo$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigAlgo>;
744
+ export declare const GetFirewallConfigRulesAlgo$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesAlgo>;
640
745
  /** @internal */
641
- export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction>;
746
+ export declare const GetFirewallConfigRulesSecurityResponse200Action$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesSecurityResponse200Action>;
642
747
  /** @internal */
643
- export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction>;
748
+ export declare const GetFirewallConfigRulesSecurityResponse200Action$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesSecurityResponse200Action>;
644
749
  /** @internal */
645
- export declare const GetFirewallConfigRateLimit$inboundSchema: z.ZodType<GetFirewallConfigRateLimit, z.ZodTypeDef, unknown>;
750
+ export declare const GetFirewallConfigRulesRateLimit$inboundSchema: z.ZodType<GetFirewallConfigRulesRateLimit, z.ZodTypeDef, unknown>;
646
751
  /** @internal */
647
- export type GetFirewallConfigRateLimit$Outbound = {
752
+ export type GetFirewallConfigRulesRateLimit$Outbound = {
648
753
  algo: string;
649
754
  window: number;
650
755
  limit: number;
@@ -652,63 +757,191 @@ export type GetFirewallConfigRateLimit$Outbound = {
652
757
  action?: string | null | undefined;
653
758
  };
654
759
  /** @internal */
655
- export declare const GetFirewallConfigRateLimit$outboundSchema: z.ZodType<GetFirewallConfigRateLimit$Outbound, z.ZodTypeDef, GetFirewallConfigRateLimit>;
656
- export declare function getFirewallConfigRateLimitToJSON(getFirewallConfigRateLimit: GetFirewallConfigRateLimit): string;
657
- export declare function getFirewallConfigRateLimitFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRateLimit, SDKValidationError>;
760
+ export declare const GetFirewallConfigRulesRateLimit$outboundSchema: z.ZodType<GetFirewallConfigRulesRateLimit$Outbound, z.ZodTypeDef, GetFirewallConfigRulesRateLimit>;
761
+ export declare function getFirewallConfigRulesRateLimitToJSON(getFirewallConfigRulesRateLimit: GetFirewallConfigRulesRateLimit): string;
762
+ export declare function getFirewallConfigRulesRateLimitFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesRateLimit, SDKValidationError>;
658
763
  /** @internal */
659
- export declare const GetFirewallConfigRedirect$inboundSchema: z.ZodType<GetFirewallConfigRedirect, z.ZodTypeDef, unknown>;
764
+ export declare const GetFirewallConfigRulesRedirect$inboundSchema: z.ZodType<GetFirewallConfigRulesRedirect, z.ZodTypeDef, unknown>;
660
765
  /** @internal */
661
- export type GetFirewallConfigRedirect$Outbound = {
766
+ export type GetFirewallConfigRulesRedirect$Outbound = {
662
767
  location: string;
663
768
  permanent: boolean;
664
769
  };
665
770
  /** @internal */
666
- export declare const GetFirewallConfigRedirect$outboundSchema: z.ZodType<GetFirewallConfigRedirect$Outbound, z.ZodTypeDef, GetFirewallConfigRedirect>;
667
- export declare function getFirewallConfigRedirectToJSON(getFirewallConfigRedirect: GetFirewallConfigRedirect): string;
668
- export declare function getFirewallConfigRedirectFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRedirect, SDKValidationError>;
771
+ export declare const GetFirewallConfigRulesRedirect$outboundSchema: z.ZodType<GetFirewallConfigRulesRedirect$Outbound, z.ZodTypeDef, GetFirewallConfigRulesRedirect>;
772
+ export declare function getFirewallConfigRulesRedirectToJSON(getFirewallConfigRulesRedirect: GetFirewallConfigRulesRedirect): string;
773
+ export declare function getFirewallConfigRulesRedirectFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesRedirect, SDKValidationError>;
669
774
  /** @internal */
670
- export declare const GetFirewallConfigMitigate$inboundSchema: z.ZodType<GetFirewallConfigMitigate, z.ZodTypeDef, unknown>;
775
+ export declare const GetFirewallConfigRulesMitigate$inboundSchema: z.ZodType<GetFirewallConfigRulesMitigate, z.ZodTypeDef, unknown>;
671
776
  /** @internal */
672
- export type GetFirewallConfigMitigate$Outbound = {
777
+ export type GetFirewallConfigRulesMitigate$Outbound = {
673
778
  action: string;
674
- rateLimit?: GetFirewallConfigRateLimit$Outbound | null | undefined;
675
- redirect?: GetFirewallConfigRedirect$Outbound | null | undefined;
779
+ rateLimit?: GetFirewallConfigRulesRateLimit$Outbound | null | undefined;
780
+ redirect?: GetFirewallConfigRulesRedirect$Outbound | null | undefined;
676
781
  actionDuration?: string | null | undefined;
677
782
  bypassSystem?: boolean | null | undefined;
678
783
  };
679
784
  /** @internal */
680
- export declare const GetFirewallConfigMitigate$outboundSchema: z.ZodType<GetFirewallConfigMitigate$Outbound, z.ZodTypeDef, GetFirewallConfigMitigate>;
681
- export declare function getFirewallConfigMitigateToJSON(getFirewallConfigMitigate: GetFirewallConfigMitigate): string;
682
- export declare function getFirewallConfigMitigateFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigMitigate, SDKValidationError>;
785
+ export declare const GetFirewallConfigRulesMitigate$outboundSchema: z.ZodType<GetFirewallConfigRulesMitigate$Outbound, z.ZodTypeDef, GetFirewallConfigRulesMitigate>;
786
+ export declare function getFirewallConfigRulesMitigateToJSON(getFirewallConfigRulesMitigate: GetFirewallConfigRulesMitigate): string;
787
+ export declare function getFirewallConfigRulesMitigateFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesMitigate, SDKValidationError>;
683
788
  /** @internal */
684
- export declare const GetFirewallConfigAction$inboundSchema: z.ZodType<GetFirewallConfigAction, z.ZodTypeDef, unknown>;
789
+ export declare const GetFirewallConfigRulesAction$inboundSchema: z.ZodType<GetFirewallConfigRulesAction, z.ZodTypeDef, unknown>;
685
790
  /** @internal */
686
- export type GetFirewallConfigAction$Outbound = {
687
- mitigate?: GetFirewallConfigMitigate$Outbound | undefined;
791
+ export type GetFirewallConfigRulesAction$Outbound = {
792
+ mitigate?: GetFirewallConfigRulesMitigate$Outbound | undefined;
688
793
  };
689
794
  /** @internal */
690
- export declare const GetFirewallConfigAction$outboundSchema: z.ZodType<GetFirewallConfigAction$Outbound, z.ZodTypeDef, GetFirewallConfigAction>;
691
- export declare function getFirewallConfigActionToJSON(getFirewallConfigAction: GetFirewallConfigAction): string;
692
- export declare function getFirewallConfigActionFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigAction, SDKValidationError>;
795
+ export declare const GetFirewallConfigRulesAction$outboundSchema: z.ZodType<GetFirewallConfigRulesAction$Outbound, z.ZodTypeDef, GetFirewallConfigRulesAction>;
796
+ export declare function getFirewallConfigRulesActionToJSON(getFirewallConfigRulesAction: GetFirewallConfigRulesAction): string;
797
+ export declare function getFirewallConfigRulesActionFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesAction, SDKValidationError>;
693
798
  /** @internal */
694
- export declare const GetFirewallConfigRules$inboundSchema: z.ZodType<GetFirewallConfigRules, z.ZodTypeDef, unknown>;
799
+ export declare const Rules2$inboundSchema: z.ZodType<Rules2, z.ZodTypeDef, unknown>;
695
800
  /** @internal */
696
- export type GetFirewallConfigRules$Outbound = {
801
+ export type Rules2$Outbound = {
697
802
  id: string;
698
803
  name: string;
699
804
  description?: string | undefined;
700
805
  active: boolean;
701
- conditionGroup: Array<GetFirewallConfigConditionGroup$Outbound>;
702
- action: GetFirewallConfigAction$Outbound;
806
+ conditionGroup: Array<GetFirewallConfigRulesConditionGroup$Outbound>;
807
+ action: GetFirewallConfigRulesAction$Outbound;
808
+ valid: boolean;
809
+ validationErrors: Array<string>;
810
+ };
811
+ /** @internal */
812
+ export declare const Rules2$outboundSchema: z.ZodType<Rules2$Outbound, z.ZodTypeDef, Rules2>;
813
+ export declare function rules2ToJSON(rules2: Rules2): string;
814
+ export declare function rules2FromJSON(jsonString: string): SafeParseResult<Rules2, SDKValidationError>;
815
+ /** @internal */
816
+ export declare const RulesType$inboundSchema: z.ZodNativeEnum<typeof RulesType>;
817
+ /** @internal */
818
+ export declare const RulesType$outboundSchema: z.ZodNativeEnum<typeof RulesType>;
819
+ /** @internal */
820
+ export declare const RulesOp$inboundSchema: z.ZodNativeEnum<typeof RulesOp>;
821
+ /** @internal */
822
+ export declare const RulesOp$outboundSchema: z.ZodNativeEnum<typeof RulesOp>;
823
+ /** @internal */
824
+ export declare const RulesValue$inboundSchema: z.ZodType<RulesValue, z.ZodTypeDef, unknown>;
825
+ /** @internal */
826
+ export type RulesValue$Outbound = string | number | Array<string>;
827
+ /** @internal */
828
+ export declare const RulesValue$outboundSchema: z.ZodType<RulesValue$Outbound, z.ZodTypeDef, RulesValue>;
829
+ export declare function rulesValueToJSON(rulesValue: RulesValue): string;
830
+ export declare function rulesValueFromJSON(jsonString: string): SafeParseResult<RulesValue, SDKValidationError>;
831
+ /** @internal */
832
+ export declare const RulesConditions$inboundSchema: z.ZodType<RulesConditions, z.ZodTypeDef, unknown>;
833
+ /** @internal */
834
+ export type RulesConditions$Outbound = {
835
+ type: string;
836
+ op: string;
837
+ neg?: boolean | undefined;
838
+ key?: string | undefined;
839
+ value?: string | number | Array<string> | undefined;
840
+ };
841
+ /** @internal */
842
+ export declare const RulesConditions$outboundSchema: z.ZodType<RulesConditions$Outbound, z.ZodTypeDef, RulesConditions>;
843
+ export declare function rulesConditionsToJSON(rulesConditions: RulesConditions): string;
844
+ export declare function rulesConditionsFromJSON(jsonString: string): SafeParseResult<RulesConditions, SDKValidationError>;
845
+ /** @internal */
846
+ export declare const RulesConditionGroup$inboundSchema: z.ZodType<RulesConditionGroup, z.ZodTypeDef, unknown>;
847
+ /** @internal */
848
+ export type RulesConditionGroup$Outbound = {
849
+ conditions: Array<RulesConditions$Outbound>;
703
850
  };
704
851
  /** @internal */
852
+ export declare const RulesConditionGroup$outboundSchema: z.ZodType<RulesConditionGroup$Outbound, z.ZodTypeDef, RulesConditionGroup>;
853
+ export declare function rulesConditionGroupToJSON(rulesConditionGroup: RulesConditionGroup): string;
854
+ export declare function rulesConditionGroupFromJSON(jsonString: string): SafeParseResult<RulesConditionGroup, SDKValidationError>;
855
+ /** @internal */
856
+ export declare const GetFirewallConfigRulesSecurityResponseAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesSecurityResponseAction>;
857
+ /** @internal */
858
+ export declare const GetFirewallConfigRulesSecurityResponseAction$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesSecurityResponseAction>;
859
+ /** @internal */
860
+ export declare const RulesAlgo$inboundSchema: z.ZodNativeEnum<typeof RulesAlgo>;
861
+ /** @internal */
862
+ export declare const RulesAlgo$outboundSchema: z.ZodNativeEnum<typeof RulesAlgo>;
863
+ /** @internal */
864
+ export declare const GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction>;
865
+ /** @internal */
866
+ export declare const GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction>;
867
+ /** @internal */
868
+ export declare const RulesRateLimit$inboundSchema: z.ZodType<RulesRateLimit, z.ZodTypeDef, unknown>;
869
+ /** @internal */
870
+ export type RulesRateLimit$Outbound = {
871
+ algo: string;
872
+ window: number;
873
+ limit: number;
874
+ keys: Array<string>;
875
+ action?: string | null | undefined;
876
+ };
877
+ /** @internal */
878
+ export declare const RulesRateLimit$outboundSchema: z.ZodType<RulesRateLimit$Outbound, z.ZodTypeDef, RulesRateLimit>;
879
+ export declare function rulesRateLimitToJSON(rulesRateLimit: RulesRateLimit): string;
880
+ export declare function rulesRateLimitFromJSON(jsonString: string): SafeParseResult<RulesRateLimit, SDKValidationError>;
881
+ /** @internal */
882
+ export declare const RulesRedirect$inboundSchema: z.ZodType<RulesRedirect, z.ZodTypeDef, unknown>;
883
+ /** @internal */
884
+ export type RulesRedirect$Outbound = {
885
+ location: string;
886
+ permanent: boolean;
887
+ };
888
+ /** @internal */
889
+ export declare const RulesRedirect$outboundSchema: z.ZodType<RulesRedirect$Outbound, z.ZodTypeDef, RulesRedirect>;
890
+ export declare function rulesRedirectToJSON(rulesRedirect: RulesRedirect): string;
891
+ export declare function rulesRedirectFromJSON(jsonString: string): SafeParseResult<RulesRedirect, SDKValidationError>;
892
+ /** @internal */
893
+ export declare const RulesMitigate$inboundSchema: z.ZodType<RulesMitigate, z.ZodTypeDef, unknown>;
894
+ /** @internal */
895
+ export type RulesMitigate$Outbound = {
896
+ action: string;
897
+ rateLimit?: RulesRateLimit$Outbound | null | undefined;
898
+ redirect?: RulesRedirect$Outbound | null | undefined;
899
+ actionDuration?: string | null | undefined;
900
+ bypassSystem?: boolean | null | undefined;
901
+ };
902
+ /** @internal */
903
+ export declare const RulesMitigate$outboundSchema: z.ZodType<RulesMitigate$Outbound, z.ZodTypeDef, RulesMitigate>;
904
+ export declare function rulesMitigateToJSON(rulesMitigate: RulesMitigate): string;
905
+ export declare function rulesMitigateFromJSON(jsonString: string): SafeParseResult<RulesMitigate, SDKValidationError>;
906
+ /** @internal */
907
+ export declare const RulesAction$inboundSchema: z.ZodType<RulesAction, z.ZodTypeDef, unknown>;
908
+ /** @internal */
909
+ export type RulesAction$Outbound = {
910
+ mitigate?: RulesMitigate$Outbound | undefined;
911
+ };
912
+ /** @internal */
913
+ export declare const RulesAction$outboundSchema: z.ZodType<RulesAction$Outbound, z.ZodTypeDef, RulesAction>;
914
+ export declare function rulesActionToJSON(rulesAction: RulesAction): string;
915
+ export declare function rulesActionFromJSON(jsonString: string): SafeParseResult<RulesAction, SDKValidationError>;
916
+ /** @internal */
917
+ export declare const Rules1$inboundSchema: z.ZodType<Rules1, z.ZodTypeDef, unknown>;
918
+ /** @internal */
919
+ export type Rules1$Outbound = {
920
+ id: string;
921
+ name: string;
922
+ description?: string | undefined;
923
+ active: boolean;
924
+ conditionGroup: Array<RulesConditionGroup$Outbound>;
925
+ action: RulesAction$Outbound;
926
+ valid: boolean;
927
+ validationErrors?: any | null | undefined;
928
+ };
929
+ /** @internal */
930
+ export declare const Rules1$outboundSchema: z.ZodType<Rules1$Outbound, z.ZodTypeDef, Rules1>;
931
+ export declare function rules1ToJSON(rules1: Rules1): string;
932
+ export declare function rules1FromJSON(jsonString: string): SafeParseResult<Rules1, SDKValidationError>;
933
+ /** @internal */
934
+ export declare const GetFirewallConfigRules$inboundSchema: z.ZodType<GetFirewallConfigRules, z.ZodTypeDef, unknown>;
935
+ /** @internal */
936
+ export type GetFirewallConfigRules$Outbound = Rules1$Outbound | Rules2$Outbound;
937
+ /** @internal */
705
938
  export declare const GetFirewallConfigRules$outboundSchema: z.ZodType<GetFirewallConfigRules$Outbound, z.ZodTypeDef, GetFirewallConfigRules>;
706
939
  export declare function getFirewallConfigRulesToJSON(getFirewallConfigRules: GetFirewallConfigRules): string;
707
940
  export declare function getFirewallConfigRulesFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRules, SDKValidationError>;
708
941
  /** @internal */
709
- export declare const GetFirewallConfigSecurityAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityAction>;
942
+ export declare const GetFirewallConfigAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigAction>;
710
943
  /** @internal */
711
- export declare const GetFirewallConfigSecurityAction$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityAction>;
944
+ export declare const GetFirewallConfigAction$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigAction>;
712
945
  /** @internal */
713
946
  export declare const GetFirewallConfigIps$inboundSchema: z.ZodType<GetFirewallConfigIps, z.ZodTypeDef, unknown>;
714
947
  /** @internal */
@@ -808,7 +1041,7 @@ export type GetFirewallConfigResponseBody$Outbound = {
808
1041
  updatedAt: string;
809
1042
  firewallEnabled: boolean;
810
1043
  crs: GetFirewallConfigCrs$Outbound;
811
- rules: Array<GetFirewallConfigRules$Outbound>;
1044
+ rules: Array<Rules1$Outbound | Rules2$Outbound>;
812
1045
  ips: Array<GetFirewallConfigIps$Outbound>;
813
1046
  changes: Array<Changes$Outbound>;
814
1047
  managedRules?: ManagedRules$Outbound | undefined;