cloudflare 6.0.0 → 6.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (787) hide show
  1. package/CHANGELOG.md +293 -0
  2. package/index.d.mts +6 -0
  3. package/index.d.ts +6 -0
  4. package/index.d.ts.map +1 -1
  5. package/index.js +6 -0
  6. package/index.js.map +1 -1
  7. package/index.mjs +6 -0
  8. package/index.mjs.map +1 -1
  9. package/package.json +1 -1
  10. package/resources/acm/custom-trust-store.d.ts +9 -6
  11. package/resources/acm/custom-trust-store.d.ts.map +1 -1
  12. package/resources/acm/custom-trust-store.js +5 -4
  13. package/resources/acm/custom-trust-store.js.map +1 -1
  14. package/resources/acm/custom-trust-store.mjs +5 -4
  15. package/resources/acm/custom-trust-store.mjs.map +1 -1
  16. package/resources/ai-gateway/ai-gateway.d.ts +241 -0
  17. package/resources/ai-gateway/ai-gateway.d.ts.map +1 -1
  18. package/resources/ai-gateway/ai-gateway.js +4 -0
  19. package/resources/ai-gateway/ai-gateway.js.map +1 -1
  20. package/resources/ai-gateway/ai-gateway.mjs +4 -0
  21. package/resources/ai-gateway/ai-gateway.mjs.map +1 -1
  22. package/resources/ai-gateway/billing/billing.d.ts +202 -0
  23. package/resources/ai-gateway/billing/billing.d.ts.map +1 -0
  24. package/resources/ai-gateway/billing/billing.js +111 -0
  25. package/resources/ai-gateway/billing/billing.js.map +1 -0
  26. package/resources/ai-gateway/billing/billing.mjs +84 -0
  27. package/resources/ai-gateway/billing/billing.mjs.map +1 -0
  28. package/resources/ai-gateway/billing/index.d.ts +4 -0
  29. package/resources/ai-gateway/billing/index.d.ts.map +1 -0
  30. package/resources/ai-gateway/billing/index.js +11 -0
  31. package/resources/ai-gateway/billing/index.js.map +1 -0
  32. package/resources/ai-gateway/billing/index.mjs +5 -0
  33. package/resources/ai-gateway/billing/index.mjs.map +1 -0
  34. package/resources/ai-gateway/billing/spending-limit.d.ts +90 -0
  35. package/resources/ai-gateway/billing/spending-limit.d.ts.map +1 -0
  36. package/resources/ai-gateway/billing/spending-limit.js +60 -0
  37. package/resources/ai-gateway/billing/spending-limit.js.map +1 -0
  38. package/resources/ai-gateway/billing/spending-limit.mjs +56 -0
  39. package/resources/ai-gateway/billing/spending-limit.mjs.map +1 -0
  40. package/resources/ai-gateway/billing/topup/config.d.ts +84 -0
  41. package/resources/ai-gateway/billing/topup/config.d.ts.map +1 -0
  42. package/resources/ai-gateway/billing/topup/config.js +59 -0
  43. package/resources/ai-gateway/billing/topup/config.js.map +1 -0
  44. package/resources/ai-gateway/billing/topup/config.mjs +55 -0
  45. package/resources/ai-gateway/billing/topup/config.mjs.map +1 -0
  46. package/resources/ai-gateway/billing/topup/index.d.ts +3 -0
  47. package/resources/ai-gateway/billing/topup/index.d.ts.map +1 -0
  48. package/resources/ai-gateway/billing/topup/index.js +9 -0
  49. package/resources/ai-gateway/billing/topup/index.js.map +1 -0
  50. package/resources/ai-gateway/billing/topup/index.mjs +4 -0
  51. package/resources/ai-gateway/billing/topup/index.mjs.map +1 -0
  52. package/resources/ai-gateway/billing/topup/topup.d.ts +83 -0
  53. package/resources/ai-gateway/billing/topup/topup.d.ts.map +1 -0
  54. package/resources/ai-gateway/billing/topup/topup.js +76 -0
  55. package/resources/ai-gateway/billing/topup/topup.js.map +1 -0
  56. package/resources/ai-gateway/billing/topup/topup.mjs +49 -0
  57. package/resources/ai-gateway/billing/topup/topup.mjs.map +1 -0
  58. package/resources/ai-gateway/billing/topup.d.ts +2 -0
  59. package/resources/ai-gateway/billing/topup.d.ts.map +1 -0
  60. package/resources/ai-gateway/billing/topup.js +19 -0
  61. package/resources/ai-gateway/billing/topup.js.map +1 -0
  62. package/resources/ai-gateway/billing/topup.mjs +3 -0
  63. package/resources/ai-gateway/billing/topup.mjs.map +1 -0
  64. package/resources/ai-gateway/billing.d.ts +2 -0
  65. package/resources/ai-gateway/billing.d.ts.map +1 -0
  66. package/resources/ai-gateway/billing.js +19 -0
  67. package/resources/ai-gateway/billing.js.map +1 -0
  68. package/resources/ai-gateway/billing.mjs +3 -0
  69. package/resources/ai-gateway/billing.mjs.map +1 -0
  70. package/resources/ai-gateway/dynamic-routing.d.ts +17 -0
  71. package/resources/ai-gateway/dynamic-routing.d.ts.map +1 -1
  72. package/resources/ai-gateway/dynamic-routing.js +5 -2
  73. package/resources/ai-gateway/dynamic-routing.js.map +1 -1
  74. package/resources/ai-gateway/dynamic-routing.mjs +5 -2
  75. package/resources/ai-gateway/dynamic-routing.mjs.map +1 -1
  76. package/resources/ai-gateway/index.d.ts +1 -0
  77. package/resources/ai-gateway/index.d.ts.map +1 -1
  78. package/resources/ai-gateway/index.js +3 -1
  79. package/resources/ai-gateway/index.js.map +1 -1
  80. package/resources/ai-gateway/index.mjs +1 -0
  81. package/resources/ai-gateway/index.mjs.map +1 -1
  82. package/resources/ai-security/ai-security.d.ts +70 -0
  83. package/resources/ai-security/ai-security.d.ts.map +1 -0
  84. package/resources/ai-security/ai-security.js +69 -0
  85. package/resources/ai-security/ai-security.js.map +1 -0
  86. package/resources/ai-security/ai-security.mjs +42 -0
  87. package/resources/ai-security/ai-security.mjs.map +1 -0
  88. package/resources/ai-security/custom-topics.d.ts +105 -0
  89. package/resources/ai-security/custom-topics.d.ts.map +1 -0
  90. package/resources/ai-security/custom-topics.js +48 -0
  91. package/resources/ai-security/custom-topics.js.map +1 -0
  92. package/resources/ai-security/custom-topics.mjs +44 -0
  93. package/resources/ai-security/custom-topics.mjs.map +1 -0
  94. package/resources/ai-security/index.d.ts +3 -0
  95. package/resources/ai-security/index.d.ts.map +1 -0
  96. package/resources/ai-security/index.js +9 -0
  97. package/resources/ai-security/index.js.map +1 -0
  98. package/resources/ai-security/index.mjs +4 -0
  99. package/resources/ai-security/index.mjs.map +1 -0
  100. package/resources/ai-security.d.ts +2 -0
  101. package/resources/ai-security.d.ts.map +1 -0
  102. package/resources/ai-security.js +19 -0
  103. package/resources/ai-security.js.map +1 -0
  104. package/resources/ai-security.mjs +3 -0
  105. package/resources/ai-security.mjs.map +1 -0
  106. package/resources/aisearch/instances/instances.d.ts +112 -21
  107. package/resources/aisearch/instances/instances.d.ts.map +1 -1
  108. package/resources/aisearch/instances/instances.js.map +1 -1
  109. package/resources/aisearch/instances/instances.mjs.map +1 -1
  110. package/resources/aisearch/namespaces/instances/instances.d.ts +112 -21
  111. package/resources/aisearch/namespaces/instances/instances.d.ts.map +1 -1
  112. package/resources/aisearch/namespaces/instances/instances.js.map +1 -1
  113. package/resources/aisearch/namespaces/instances/instances.mjs.map +1 -1
  114. package/resources/billing/usage.d.ts +3 -1
  115. package/resources/billing/usage.d.ts.map +1 -1
  116. package/resources/cloudforce-one/threat-events/threat-events.d.ts +1 -1
  117. package/resources/cloudforce-one/threat-events/threat-events.d.ts.map +1 -1
  118. package/resources/d1/d1.d.ts +3 -3
  119. package/resources/d1/database/database.d.ts +17 -0
  120. package/resources/d1/database/database.d.ts.map +1 -1
  121. package/resources/d1/database/database.js.map +1 -1
  122. package/resources/d1/database/database.mjs.map +1 -1
  123. package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.d.ts +26 -0
  124. package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.d.ts.map +1 -0
  125. package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.js +59 -0
  126. package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.js.map +1 -0
  127. package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.mjs +32 -0
  128. package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.mjs.map +1 -0
  129. package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.d.ts +180 -0
  130. package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.d.ts.map +1 -0
  131. package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.js +99 -0
  132. package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.js.map +1 -0
  133. package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.mjs +71 -0
  134. package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.mjs.map +1 -0
  135. package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.d.ts +3 -0
  136. package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.d.ts.map +1 -0
  137. package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.js +10 -0
  138. package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.js.map +1 -0
  139. package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.mjs +4 -0
  140. package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.mjs.map +1 -0
  141. package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.d.ts +157 -0
  142. package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.d.ts.map +1 -0
  143. package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.js +57 -0
  144. package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.js.map +1 -0
  145. package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.mjs +53 -0
  146. package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.mjs.map +1 -0
  147. package/resources/ddos-protection/advanced-tcp-protection/allowlist.d.ts +2 -0
  148. package/resources/ddos-protection/advanced-tcp-protection/allowlist.d.ts.map +1 -0
  149. package/resources/ddos-protection/advanced-tcp-protection/allowlist.js +19 -0
  150. package/resources/ddos-protection/advanced-tcp-protection/allowlist.js.map +1 -0
  151. package/resources/ddos-protection/advanced-tcp-protection/allowlist.mjs +3 -0
  152. package/resources/ddos-protection/advanced-tcp-protection/allowlist.mjs.map +1 -0
  153. package/resources/ddos-protection/advanced-tcp-protection/index.d.ts +7 -0
  154. package/resources/ddos-protection/advanced-tcp-protection/index.d.ts.map +1 -0
  155. package/resources/ddos-protection/advanced-tcp-protection/index.js +20 -0
  156. package/resources/ddos-protection/advanced-tcp-protection/index.js.map +1 -0
  157. package/resources/ddos-protection/advanced-tcp-protection/index.mjs +8 -0
  158. package/resources/ddos-protection/advanced-tcp-protection/index.mjs.map +1 -0
  159. package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.d.ts +3 -0
  160. package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.d.ts.map +1 -0
  161. package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.js +11 -0
  162. package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.js.map +1 -0
  163. package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.mjs +4 -0
  164. package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.mjs.map +1 -0
  165. package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.d.ts +157 -0
  166. package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.d.ts.map +1 -0
  167. package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.js +57 -0
  168. package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.js.map +1 -0
  169. package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.mjs +53 -0
  170. package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.mjs.map +1 -0
  171. package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.d.ts +257 -0
  172. package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.d.ts.map +1 -0
  173. package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.js +129 -0
  174. package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.js.map +1 -0
  175. package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.mjs +100 -0
  176. package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.mjs.map +1 -0
  177. package/resources/ddos-protection/advanced-tcp-protection/prefixes.d.ts +2 -0
  178. package/resources/ddos-protection/advanced-tcp-protection/prefixes.d.ts.map +1 -0
  179. package/resources/ddos-protection/advanced-tcp-protection/prefixes.js +19 -0
  180. package/resources/ddos-protection/advanced-tcp-protection/prefixes.js.map +1 -0
  181. package/resources/ddos-protection/advanced-tcp-protection/prefixes.mjs +3 -0
  182. package/resources/ddos-protection/advanced-tcp-protection/prefixes.mjs.map +1 -0
  183. package/resources/ddos-protection/advanced-tcp-protection/status.d.ts +57 -0
  184. package/resources/ddos-protection/advanced-tcp-protection/status.d.ts.map +1 -0
  185. package/resources/ddos-protection/advanced-tcp-protection/status.js +42 -0
  186. package/resources/ddos-protection/advanced-tcp-protection/status.js.map +1 -0
  187. package/resources/ddos-protection/advanced-tcp-protection/status.mjs +38 -0
  188. package/resources/ddos-protection/advanced-tcp-protection/status.mjs.map +1 -0
  189. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.d.ts +174 -0
  190. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.d.ts.map +1 -0
  191. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.js +96 -0
  192. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.js.map +1 -0
  193. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.mjs +68 -0
  194. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.mjs.map +1 -0
  195. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.d.ts +3 -0
  196. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.d.ts.map +1 -0
  197. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.js +10 -0
  198. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.js.map +1 -0
  199. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.mjs +4 -0
  200. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.mjs.map +1 -0
  201. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.d.ts +150 -0
  202. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.d.ts.map +1 -0
  203. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.js +57 -0
  204. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.js.map +1 -0
  205. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.mjs +53 -0
  206. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.mjs.map +1 -0
  207. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.d.ts +2 -0
  208. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.d.ts.map +1 -0
  209. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.js +19 -0
  210. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.js.map +1 -0
  211. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.mjs +3 -0
  212. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.mjs.map +1 -0
  213. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.d.ts +4 -0
  214. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.d.ts.map +1 -0
  215. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.js +13 -0
  216. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.js.map +1 -0
  217. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.mjs +5 -0
  218. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.mjs.map +1 -0
  219. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.d.ts +3 -0
  220. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.d.ts.map +1 -0
  221. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.js +10 -0
  222. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.js.map +1 -0
  223. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.mjs +4 -0
  224. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.mjs.map +1 -0
  225. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.d.ts +203 -0
  226. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.d.ts.map +1 -0
  227. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.js +57 -0
  228. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.js.map +1 -0
  229. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.mjs +53 -0
  230. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.mjs.map +1 -0
  231. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.d.ts +234 -0
  232. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.d.ts.map +1 -0
  233. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.js +98 -0
  234. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.js.map +1 -0
  235. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.mjs +70 -0
  236. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.mjs.map +1 -0
  237. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.d.ts +2 -0
  238. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.d.ts.map +1 -0
  239. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.js +19 -0
  240. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.js.map +1 -0
  241. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.mjs +3 -0
  242. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.mjs.map +1 -0
  243. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.d.ts +14 -0
  244. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.d.ts.map +1 -0
  245. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.js +45 -0
  246. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.js.map +1 -0
  247. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.mjs +18 -0
  248. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.mjs.map +1 -0
  249. package/resources/ddos-protection/advanced-tcp-protection/syn-protection.d.ts +2 -0
  250. package/resources/ddos-protection/advanced-tcp-protection/syn-protection.d.ts.map +1 -0
  251. package/resources/ddos-protection/advanced-tcp-protection/syn-protection.js +19 -0
  252. package/resources/ddos-protection/advanced-tcp-protection/syn-protection.js.map +1 -0
  253. package/resources/ddos-protection/advanced-tcp-protection/syn-protection.mjs +3 -0
  254. package/resources/ddos-protection/advanced-tcp-protection/syn-protection.mjs.map +1 -0
  255. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.d.ts +174 -0
  256. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.d.ts.map +1 -0
  257. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.js +96 -0
  258. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.js.map +1 -0
  259. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.mjs +68 -0
  260. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.mjs.map +1 -0
  261. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.d.ts +3 -0
  262. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.d.ts.map +1 -0
  263. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.js +10 -0
  264. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.js.map +1 -0
  265. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.mjs +4 -0
  266. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.mjs.map +1 -0
  267. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.d.ts +150 -0
  268. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.d.ts.map +1 -0
  269. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.js +57 -0
  270. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.js.map +1 -0
  271. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.mjs +53 -0
  272. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.mjs.map +1 -0
  273. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.d.ts +2 -0
  274. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.d.ts.map +1 -0
  275. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.js +19 -0
  276. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.js.map +1 -0
  277. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.mjs +3 -0
  278. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.mjs.map +1 -0
  279. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.d.ts +4 -0
  280. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.d.ts.map +1 -0
  281. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.js +13 -0
  282. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.js.map +1 -0
  283. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.mjs +5 -0
  284. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.mjs.map +1 -0
  285. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.d.ts +3 -0
  286. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.d.ts.map +1 -0
  287. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.js +10 -0
  288. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.js.map +1 -0
  289. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.mjs +4 -0
  290. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.mjs.map +1 -0
  291. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.d.ts +190 -0
  292. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.d.ts.map +1 -0
  293. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.js +57 -0
  294. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.js.map +1 -0
  295. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.mjs +53 -0
  296. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.mjs.map +1 -0
  297. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.d.ts +220 -0
  298. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.d.ts.map +1 -0
  299. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.js +98 -0
  300. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.js.map +1 -0
  301. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.mjs +70 -0
  302. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.mjs.map +1 -0
  303. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.d.ts +2 -0
  304. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.d.ts.map +1 -0
  305. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.js +19 -0
  306. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.js.map +1 -0
  307. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.mjs +3 -0
  308. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.mjs.map +1 -0
  309. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.d.ts +14 -0
  310. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.d.ts.map +1 -0
  311. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.js +45 -0
  312. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.js.map +1 -0
  313. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.mjs +18 -0
  314. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.mjs.map +1 -0
  315. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.d.ts +2 -0
  316. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.d.ts.map +1 -0
  317. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.js +19 -0
  318. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.js.map +1 -0
  319. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.mjs +3 -0
  320. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.mjs.map +1 -0
  321. package/resources/ddos-protection/advanced-tcp-protection.d.ts +2 -0
  322. package/resources/ddos-protection/advanced-tcp-protection.d.ts.map +1 -0
  323. package/resources/ddos-protection/advanced-tcp-protection.js +19 -0
  324. package/resources/ddos-protection/advanced-tcp-protection.js.map +1 -0
  325. package/resources/ddos-protection/advanced-tcp-protection.mjs +3 -0
  326. package/resources/ddos-protection/advanced-tcp-protection.mjs.map +1 -0
  327. package/resources/ddos-protection/ddos-protection.d.ts +10 -0
  328. package/resources/ddos-protection/ddos-protection.d.ts.map +1 -0
  329. package/resources/ddos-protection/ddos-protection.js +39 -0
  330. package/resources/ddos-protection/ddos-protection.js.map +1 -0
  331. package/resources/ddos-protection/ddos-protection.mjs +12 -0
  332. package/resources/ddos-protection/ddos-protection.mjs.map +1 -0
  333. package/resources/ddos-protection/index.d.ts +3 -0
  334. package/resources/ddos-protection/index.d.ts.map +1 -0
  335. package/resources/ddos-protection/index.js +9 -0
  336. package/resources/ddos-protection/index.js.map +1 -0
  337. package/resources/ddos-protection/index.mjs +4 -0
  338. package/resources/ddos-protection/index.mjs.map +1 -0
  339. package/resources/ddos-protection.d.ts +2 -0
  340. package/resources/ddos-protection.d.ts.map +1 -0
  341. package/resources/ddos-protection.js +19 -0
  342. package/resources/ddos-protection.js.map +1 -0
  343. package/resources/ddos-protection.mjs +3 -0
  344. package/resources/ddos-protection.mjs.map +1 -0
  345. package/resources/email-security/investigate/investigate.d.ts +10 -0
  346. package/resources/email-security/investigate/investigate.d.ts.map +1 -1
  347. package/resources/email-security/investigate/investigate.js.map +1 -1
  348. package/resources/email-security/investigate/investigate.mjs.map +1 -1
  349. package/resources/email-security/submissions.d.ts +6 -0
  350. package/resources/email-security/submissions.d.ts.map +1 -1
  351. package/resources/email-security/submissions.js.map +1 -1
  352. package/resources/email-security/submissions.mjs.map +1 -1
  353. package/resources/index.d.ts +2 -0
  354. package/resources/index.d.ts.map +1 -1
  355. package/resources/index.js +7 -3
  356. package/resources/index.js.map +1 -1
  357. package/resources/index.mjs +2 -0
  358. package/resources/index.mjs.map +1 -1
  359. package/resources/intel/indicator-feeds/indicator-feeds.d.ts +101 -1
  360. package/resources/intel/indicator-feeds/indicator-feeds.d.ts.map +1 -1
  361. package/resources/intel/indicator-feeds/indicator-feeds.js.map +1 -1
  362. package/resources/intel/indicator-feeds/indicator-feeds.mjs.map +1 -1
  363. package/resources/intel/miscategorizations.d.ts +5 -0
  364. package/resources/intel/miscategorizations.d.ts.map +1 -1
  365. package/resources/intel/miscategorizations.js +5 -0
  366. package/resources/intel/miscategorizations.js.map +1 -1
  367. package/resources/intel/miscategorizations.mjs +5 -0
  368. package/resources/intel/miscategorizations.mjs.map +1 -1
  369. package/resources/load-balancers/index.d.ts +1 -1
  370. package/resources/load-balancers/index.d.ts.map +1 -1
  371. package/resources/load-balancers/index.js +9 -9
  372. package/resources/load-balancers/index.js.map +1 -1
  373. package/resources/load-balancers/index.mjs +1 -1
  374. package/resources/load-balancers/load-balancers.d.ts +2 -2
  375. package/resources/load-balancers/load-balancers.d.ts.map +1 -1
  376. package/resources/load-balancers/load-balancers.js +2 -2
  377. package/resources/load-balancers/load-balancers.js.map +1 -1
  378. package/resources/load-balancers/load-balancers.mjs +2 -2
  379. package/resources/load-balancers/load-balancers.mjs.map +1 -1
  380. package/resources/load-balancers/monitor-groups/index.d.ts +3 -0
  381. package/resources/load-balancers/monitor-groups/index.d.ts.map +1 -0
  382. package/resources/load-balancers/monitor-groups/index.js +11 -0
  383. package/resources/load-balancers/monitor-groups/index.js.map +1 -0
  384. package/resources/load-balancers/monitor-groups/index.mjs +4 -0
  385. package/resources/load-balancers/monitor-groups/index.mjs.map +1 -0
  386. package/resources/load-balancers/monitor-groups/monitor-groups.d.ts +299 -0
  387. package/resources/load-balancers/monitor-groups/monitor-groups.d.ts.map +1 -0
  388. package/resources/load-balancers/monitor-groups/monitor-groups.js +181 -0
  389. package/resources/load-balancers/monitor-groups/monitor-groups.js.map +1 -0
  390. package/resources/load-balancers/monitor-groups/monitor-groups.mjs +153 -0
  391. package/resources/load-balancers/monitor-groups/monitor-groups.mjs.map +1 -0
  392. package/resources/load-balancers/monitor-groups/references.d.ts +38 -0
  393. package/resources/load-balancers/monitor-groups/references.d.ts.map +1 -0
  394. package/resources/load-balancers/monitor-groups/references.js +32 -0
  395. package/resources/load-balancers/monitor-groups/references.js.map +1 -0
  396. package/resources/load-balancers/monitor-groups/references.mjs +27 -0
  397. package/resources/load-balancers/monitor-groups/references.mjs.map +1 -0
  398. package/resources/load-balancers/monitor-groups.d.ts +1 -312
  399. package/resources/load-balancers/monitor-groups.d.ts.map +1 -1
  400. package/resources/load-balancers/monitor-groups.js +15 -149
  401. package/resources/load-balancers/monitor-groups.js.map +1 -1
  402. package/resources/load-balancers/monitor-groups.mjs +1 -146
  403. package/resources/load-balancers/monitor-groups.mjs.map +1 -1
  404. package/resources/radar/bgp/bgp.d.ts +2 -2
  405. package/resources/radar/bgp/bgp.d.ts.map +1 -1
  406. package/resources/radar/bgp/bgp.js +2 -2
  407. package/resources/radar/bgp/bgp.js.map +1 -1
  408. package/resources/radar/bgp/bgp.mjs +2 -2
  409. package/resources/radar/bgp/bgp.mjs.map +1 -1
  410. package/resources/radar/bgp/index.d.ts +1 -1
  411. package/resources/radar/bgp/index.d.ts.map +1 -1
  412. package/resources/radar/bgp/index.js +8 -8
  413. package/resources/radar/bgp/index.js.map +1 -1
  414. package/resources/radar/bgp/index.mjs +1 -1
  415. package/resources/radar/bgp/ips/index.d.ts +3 -0
  416. package/resources/radar/bgp/ips/index.d.ts.map +1 -0
  417. package/resources/radar/bgp/ips/index.js +9 -0
  418. package/resources/radar/bgp/ips/index.js.map +1 -0
  419. package/resources/radar/bgp/ips/index.mjs +4 -0
  420. package/resources/radar/bgp/ips/index.mjs.map +1 -0
  421. package/resources/radar/bgp/ips/ips.d.ts +187 -0
  422. package/resources/radar/bgp/ips/ips.d.ts.map +1 -0
  423. package/resources/radar/bgp/ips/ips.js +46 -0
  424. package/resources/radar/bgp/ips/ips.js.map +1 -0
  425. package/resources/radar/bgp/ips/ips.mjs +19 -0
  426. package/resources/radar/bgp/ips/ips.mjs.map +1 -0
  427. package/resources/radar/bgp/ips/top.d.ts +55 -0
  428. package/resources/radar/bgp/ips/top.d.ts.map +1 -0
  429. package/resources/radar/bgp/ips/top.js +16 -0
  430. package/resources/radar/bgp/ips/top.js.map +1 -0
  431. package/resources/radar/bgp/ips/top.mjs +12 -0
  432. package/resources/radar/bgp/ips/top.mjs.map +1 -0
  433. package/resources/radar/bgp/ips.d.ts +1 -182
  434. package/resources/radar/bgp/ips.d.ts.map +1 -1
  435. package/resources/radar/bgp/ips.js +15 -12
  436. package/resources/radar/bgp/ips.js.map +1 -1
  437. package/resources/radar/bgp/ips.mjs +1 -10
  438. package/resources/radar/bgp/ips.mjs.map +1 -1
  439. package/resources/radar/bgp/rpki/index.d.ts +1 -0
  440. package/resources/radar/bgp/rpki/index.d.ts.map +1 -1
  441. package/resources/radar/bgp/rpki/index.js +3 -1
  442. package/resources/radar/bgp/rpki/index.js.map +1 -1
  443. package/resources/radar/bgp/rpki/index.mjs +1 -0
  444. package/resources/radar/bgp/rpki/index.mjs.map +1 -1
  445. package/resources/radar/bgp/rpki/roas.d.ts +78 -0
  446. package/resources/radar/bgp/rpki/roas.d.ts.map +1 -0
  447. package/resources/radar/bgp/rpki/roas.js +16 -0
  448. package/resources/radar/bgp/rpki/roas.js.map +1 -0
  449. package/resources/radar/bgp/rpki/roas.mjs +12 -0
  450. package/resources/radar/bgp/rpki/roas.mjs.map +1 -0
  451. package/resources/radar/bgp/rpki/rpki.d.ts +4 -0
  452. package/resources/radar/bgp/rpki/rpki.d.ts.map +1 -1
  453. package/resources/radar/bgp/rpki/rpki.js +4 -0
  454. package/resources/radar/bgp/rpki/rpki.js.map +1 -1
  455. package/resources/radar/bgp/rpki/rpki.mjs +4 -0
  456. package/resources/radar/bgp/rpki/rpki.mjs.map +1 -1
  457. package/resources/radar/dns/dns.d.ts +3 -3
  458. package/resources/radar/dns/dns.d.ts.map +1 -1
  459. package/resources/radar/dns/dns.js.map +1 -1
  460. package/resources/radar/dns/dns.mjs.map +1 -1
  461. package/resources/radar/http/http.d.ts +19 -4
  462. package/resources/radar/http/http.d.ts.map +1 -1
  463. package/resources/radar/http/http.js.map +1 -1
  464. package/resources/radar/http/http.mjs.map +1 -1
  465. package/resources/radar/post-quantum/tls.d.ts +28 -3
  466. package/resources/radar/post-quantum/tls.d.ts.map +1 -1
  467. package/resources/radar/post-quantum/tls.js +3 -2
  468. package/resources/radar/post-quantum/tls.js.map +1 -1
  469. package/resources/radar/post-quantum/tls.mjs +3 -2
  470. package/resources/radar/post-quantum/tls.mjs.map +1 -1
  471. package/resources/radar/quality/iqi.d.ts +1 -3
  472. package/resources/radar/quality/iqi.d.ts.map +1 -1
  473. package/resources/resource-sharing/resource-sharing.d.ts +14 -7
  474. package/resources/resource-sharing/resource-sharing.d.ts.map +1 -1
  475. package/resources/resource-sharing/resource-sharing.js.map +1 -1
  476. package/resources/resource-sharing/resource-sharing.mjs.map +1 -1
  477. package/resources/resource-sharing/resources.d.ts +7 -7
  478. package/resources/resource-sharing/resources.d.ts.map +1 -1
  479. package/resources/resource-sharing/resources.js.map +1 -1
  480. package/resources/resource-sharing/resources.mjs.map +1 -1
  481. package/resources/secrets-store/stores/stores.d.ts +11 -2
  482. package/resources/secrets-store/stores/stores.d.ts.map +1 -1
  483. package/resources/secrets-store/stores/stores.js +9 -3
  484. package/resources/secrets-store/stores/stores.js.map +1 -1
  485. package/resources/secrets-store/stores/stores.mjs +9 -3
  486. package/resources/secrets-store/stores/stores.mjs.map +1 -1
  487. package/resources/security-center/insights/audit-logs.d.ts +192 -0
  488. package/resources/security-center/insights/audit-logs.d.ts.map +1 -0
  489. package/resources/security-center/insights/audit-logs.js +64 -0
  490. package/resources/security-center/insights/audit-logs.js.map +1 -0
  491. package/resources/security-center/insights/audit-logs.mjs +58 -0
  492. package/resources/security-center/insights/audit-logs.mjs.map +1 -0
  493. package/resources/security-center/insights/class.d.ts +8 -0
  494. package/resources/security-center/insights/class.d.ts.map +1 -1
  495. package/resources/security-center/insights/class.js.map +1 -1
  496. package/resources/security-center/insights/class.mjs.map +1 -1
  497. package/resources/security-center/insights/classification.d.ts +77 -0
  498. package/resources/security-center/insights/classification.d.ts.map +1 -0
  499. package/resources/security-center/insights/classification.js +43 -0
  500. package/resources/security-center/insights/classification.js.map +1 -0
  501. package/resources/security-center/insights/classification.mjs +39 -0
  502. package/resources/security-center/insights/classification.mjs.map +1 -0
  503. package/resources/security-center/insights/context.d.ts +31 -0
  504. package/resources/security-center/insights/context.d.ts.map +1 -0
  505. package/resources/security-center/insights/context.js +26 -0
  506. package/resources/security-center/insights/context.js.map +1 -0
  507. package/resources/security-center/insights/context.mjs +22 -0
  508. package/resources/security-center/insights/context.mjs.map +1 -0
  509. package/resources/security-center/insights/index.d.ts +3 -0
  510. package/resources/security-center/insights/index.d.ts.map +1 -1
  511. package/resources/security-center/insights/index.js +9 -1
  512. package/resources/security-center/insights/index.js.map +1 -1
  513. package/resources/security-center/insights/index.mjs +3 -0
  514. package/resources/security-center/insights/index.mjs.map +1 -1
  515. package/resources/security-center/insights/insights.d.ts +30 -0
  516. package/resources/security-center/insights/insights.d.ts.map +1 -1
  517. package/resources/security-center/insights/insights.js +22 -0
  518. package/resources/security-center/insights/insights.js.map +1 -1
  519. package/resources/security-center/insights/insights.mjs +22 -0
  520. package/resources/security-center/insights/insights.mjs.map +1 -1
  521. package/resources/security-center/insights/severity.d.ts +8 -0
  522. package/resources/security-center/insights/severity.d.ts.map +1 -1
  523. package/resources/security-center/insights/severity.js.map +1 -1
  524. package/resources/security-center/insights/severity.mjs.map +1 -1
  525. package/resources/security-center/insights/type.d.ts +7 -0
  526. package/resources/security-center/insights/type.d.ts.map +1 -1
  527. package/resources/security-center/insights/type.js.map +1 -1
  528. package/resources/security-center/insights/type.mjs.map +1 -1
  529. package/resources/url-scanner/scans.d.ts +36 -0
  530. package/resources/url-scanner/scans.d.ts.map +1 -1
  531. package/resources/user/user.d.ts +10 -2
  532. package/resources/user/user.d.ts.map +1 -1
  533. package/resources/user/user.js.map +1 -1
  534. package/resources/user/user.mjs.map +1 -1
  535. package/resources/workflows/instances/instances.d.ts +5 -0
  536. package/resources/workflows/instances/instances.d.ts.map +1 -1
  537. package/resources/workflows/instances/instances.js.map +1 -1
  538. package/resources/workflows/instances/instances.mjs.map +1 -1
  539. package/resources/zero-trust/access/logs/access-requests.d.ts +19 -8
  540. package/resources/zero-trust/access/logs/access-requests.d.ts.map +1 -1
  541. package/resources/zero-trust/access/logs/scim/updates.d.ts +20 -8
  542. package/resources/zero-trust/access/logs/scim/updates.d.ts.map +1 -1
  543. package/resources/zero-trust/access/logs/scim/updates.js.map +1 -1
  544. package/resources/zero-trust/access/logs/scim/updates.mjs.map +1 -1
  545. package/resources/zero-trust/devices/deployment-groups.d.ts +203 -0
  546. package/resources/zero-trust/devices/deployment-groups.d.ts.map +1 -0
  547. package/resources/zero-trust/devices/deployment-groups.js +111 -0
  548. package/resources/zero-trust/devices/deployment-groups.js.map +1 -0
  549. package/resources/zero-trust/devices/deployment-groups.mjs +106 -0
  550. package/resources/zero-trust/devices/deployment-groups.mjs.map +1 -0
  551. package/resources/zero-trust/devices/devices.d.ts +4 -0
  552. package/resources/zero-trust/devices/devices.d.ts.map +1 -1
  553. package/resources/zero-trust/devices/devices.js +5 -0
  554. package/resources/zero-trust/devices/devices.js.map +1 -1
  555. package/resources/zero-trust/devices/devices.mjs +5 -0
  556. package/resources/zero-trust/devices/devices.mjs.map +1 -1
  557. package/resources/zero-trust/devices/fleet-status.d.ts +4 -0
  558. package/resources/zero-trust/devices/fleet-status.d.ts.map +1 -1
  559. package/resources/zero-trust/devices/index.d.ts +1 -0
  560. package/resources/zero-trust/devices/index.d.ts.map +1 -1
  561. package/resources/zero-trust/devices/index.js +4 -1
  562. package/resources/zero-trust/devices/index.js.map +1 -1
  563. package/resources/zero-trust/devices/index.mjs +1 -0
  564. package/resources/zero-trust/devices/index.mjs.map +1 -1
  565. package/resources/zero-trust/dex/fleet-status/devices.d.ts +4 -0
  566. package/resources/zero-trust/dex/fleet-status/devices.d.ts.map +1 -1
  567. package/resources/zero-trust/dex/fleet-status/devices.js.map +1 -1
  568. package/resources/zero-trust/dex/fleet-status/devices.mjs.map +1 -1
  569. package/resources/zero-trust/dlp/entries/custom.d.ts +59 -25
  570. package/resources/zero-trust/dlp/entries/custom.d.ts.map +1 -1
  571. package/resources/zero-trust/dlp/entries/custom.js.map +1 -1
  572. package/resources/zero-trust/dlp/entries/custom.mjs.map +1 -1
  573. package/resources/zero-trust/dlp/entries/entries.d.ts +71 -26
  574. package/resources/zero-trust/dlp/entries/entries.d.ts.map +1 -1
  575. package/resources/zero-trust/dlp/entries/entries.js.map +1 -1
  576. package/resources/zero-trust/dlp/entries/entries.mjs.map +1 -1
  577. package/resources/zero-trust/dlp/entries/integration.d.ts +59 -25
  578. package/resources/zero-trust/dlp/entries/integration.d.ts.map +1 -1
  579. package/resources/zero-trust/dlp/entries/integration.js.map +1 -1
  580. package/resources/zero-trust/dlp/entries/integration.mjs.map +1 -1
  581. package/resources/zero-trust/dlp/entries/predefined.d.ts +59 -25
  582. package/resources/zero-trust/dlp/entries/predefined.d.ts.map +1 -1
  583. package/resources/zero-trust/dlp/entries/predefined.js.map +1 -1
  584. package/resources/zero-trust/dlp/entries/predefined.mjs.map +1 -1
  585. package/resources/zero-trust/dlp/profiles/custom.d.ts +24 -2
  586. package/resources/zero-trust/dlp/profiles/custom.d.ts.map +1 -1
  587. package/resources/zero-trust/dlp/profiles/predefined.d.ts +12 -1
  588. package/resources/zero-trust/dlp/profiles/predefined.d.ts.map +1 -1
  589. package/resources/zero-trust/dlp/profiles/profiles.d.ts +60 -5
  590. package/resources/zero-trust/dlp/profiles/profiles.d.ts.map +1 -1
  591. package/resources/zero-trust/dlp/profiles/profiles.js.map +1 -1
  592. package/resources/zero-trust/dlp/profiles/profiles.mjs.map +1 -1
  593. package/resources/zero-trust/identity-providers/scim/groups.d.ts +10 -4
  594. package/resources/zero-trust/identity-providers/scim/groups.d.ts.map +1 -1
  595. package/resources/zero-trust/identity-providers/scim/groups.js.map +1 -1
  596. package/resources/zero-trust/identity-providers/scim/groups.mjs.map +1 -1
  597. package/resources/zero-trust/identity-providers/scim/users.d.ts +10 -4
  598. package/resources/zero-trust/identity-providers/scim/users.d.ts.map +1 -1
  599. package/resources/zero-trust/identity-providers/scim/users.js.map +1 -1
  600. package/resources/zero-trust/identity-providers/scim/users.mjs.map +1 -1
  601. package/resources/zero-trust/index.d.ts +1 -0
  602. package/resources/zero-trust/index.d.ts.map +1 -1
  603. package/resources/zero-trust/index.js +8 -6
  604. package/resources/zero-trust/index.js.map +1 -1
  605. package/resources/zero-trust/index.mjs +1 -0
  606. package/resources/zero-trust/index.mjs.map +1 -1
  607. package/resources/zero-trust/resource-library/applications.d.ts +238 -0
  608. package/resources/zero-trust/resource-library/applications.d.ts.map +1 -0
  609. package/resources/zero-trust/resource-library/applications.js +47 -0
  610. package/resources/zero-trust/resource-library/applications.js.map +1 -0
  611. package/resources/zero-trust/resource-library/applications.mjs +42 -0
  612. package/resources/zero-trust/resource-library/applications.mjs.map +1 -0
  613. package/resources/zero-trust/resource-library/categories.d.ts +94 -0
  614. package/resources/zero-trust/resource-library/categories.d.ts.map +1 -0
  615. package/resources/zero-trust/resource-library/categories.js +47 -0
  616. package/resources/zero-trust/resource-library/categories.js.map +1 -0
  617. package/resources/zero-trust/resource-library/categories.mjs +42 -0
  618. package/resources/zero-trust/resource-library/categories.mjs.map +1 -0
  619. package/resources/zero-trust/resource-library/index.d.ts +4 -0
  620. package/resources/zero-trust/resource-library/index.d.ts.map +1 -0
  621. package/resources/zero-trust/resource-library/index.js +13 -0
  622. package/resources/zero-trust/resource-library/index.js.map +1 -0
  623. package/resources/zero-trust/resource-library/index.mjs +5 -0
  624. package/resources/zero-trust/resource-library/index.mjs.map +1 -0
  625. package/resources/zero-trust/resource-library/resource-library.d.ts +14 -0
  626. package/resources/zero-trust/resource-library/resource-library.d.ts.map +1 -0
  627. package/resources/zero-trust/resource-library/resource-library.js +45 -0
  628. package/resources/zero-trust/resource-library/resource-library.js.map +1 -0
  629. package/resources/zero-trust/resource-library/resource-library.mjs +18 -0
  630. package/resources/zero-trust/resource-library/resource-library.mjs.map +1 -0
  631. package/resources/zero-trust/resource-library.d.ts +2 -0
  632. package/resources/zero-trust/resource-library.d.ts.map +1 -0
  633. package/resources/zero-trust/resource-library.js +19 -0
  634. package/resources/zero-trust/resource-library.js.map +1 -0
  635. package/resources/zero-trust/resource-library.mjs +3 -0
  636. package/resources/zero-trust/resource-library.mjs.map +1 -0
  637. package/resources/zero-trust/zero-trust.d.ts +4 -0
  638. package/resources/zero-trust/zero-trust.d.ts.map +1 -1
  639. package/resources/zero-trust/zero-trust.js +4 -0
  640. package/resources/zero-trust/zero-trust.js.map +1 -1
  641. package/resources/zero-trust/zero-trust.mjs +4 -0
  642. package/resources/zero-trust/zero-trust.mjs.map +1 -1
  643. package/resources/zones/custom-nameservers.d.ts +4 -0
  644. package/resources/zones/custom-nameservers.d.ts.map +1 -1
  645. package/resources/zones/custom-nameservers.js.map +1 -1
  646. package/resources/zones/custom-nameservers.mjs.map +1 -1
  647. package/resources/zones/settings.d.ts +52 -2
  648. package/resources/zones/settings.d.ts.map +1 -1
  649. package/resources/zones/zones.d.ts +6 -0
  650. package/resources/zones/zones.d.ts.map +1 -1
  651. package/resources/zones/zones.js.map +1 -1
  652. package/resources/zones/zones.mjs.map +1 -1
  653. package/src/index.ts +10 -0
  654. package/src/resources/acm/custom-trust-store.ts +9 -6
  655. package/src/resources/ai-gateway/ai-gateway.ts +449 -0
  656. package/src/resources/ai-gateway/api.md +56 -0
  657. package/src/resources/ai-gateway/billing/billing.ts +363 -0
  658. package/src/resources/ai-gateway/billing/index.ts +29 -0
  659. package/src/resources/ai-gateway/billing/spending-limit.ts +148 -0
  660. package/src/resources/ai-gateway/billing/topup/config.ts +133 -0
  661. package/src/resources/ai-gateway/billing/topup/index.ts +18 -0
  662. package/src/resources/ai-gateway/billing/topup/topup.ts +139 -0
  663. package/src/resources/ai-gateway/billing/topup.ts +3 -0
  664. package/src/resources/ai-gateway/billing.ts +3 -0
  665. package/src/resources/ai-gateway/dynamic-routing.ts +30 -2
  666. package/src/resources/ai-gateway/index.ts +11 -0
  667. package/src/resources/ai-security/ai-security.ts +117 -0
  668. package/src/resources/ai-security/api.md +23 -0
  669. package/src/resources/ai-security/custom-topics.ts +143 -0
  670. package/src/resources/ai-security/index.ts +10 -0
  671. package/src/resources/ai-security.ts +3 -0
  672. package/src/resources/aisearch/instances/instances.ts +119 -21
  673. package/src/resources/aisearch/namespaces/instances/instances.ts +119 -21
  674. package/src/resources/billing/usage.ts +3 -1
  675. package/src/resources/cloudforce-one/threat-events/threat-events.ts +1 -1
  676. package/src/resources/d1/d1.ts +3 -3
  677. package/src/resources/d1/database/database.ts +19 -0
  678. package/src/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.ts +93 -0
  679. package/src/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.ts +277 -0
  680. package/src/resources/ddos-protection/advanced-tcp-protection/allowlist/index.ts +21 -0
  681. package/src/resources/ddos-protection/advanced-tcp-protection/allowlist/items.ts +233 -0
  682. package/src/resources/ddos-protection/advanced-tcp-protection/allowlist.ts +3 -0
  683. package/src/resources/ddos-protection/advanced-tcp-protection/index.ts +35 -0
  684. package/src/resources/ddos-protection/advanced-tcp-protection/prefixes/index.ts +24 -0
  685. package/src/resources/ddos-protection/advanced-tcp-protection/prefixes/items.ts +233 -0
  686. package/src/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.ts +377 -0
  687. package/src/resources/ddos-protection/advanced-tcp-protection/prefixes.ts +3 -0
  688. package/src/resources/ddos-protection/advanced-tcp-protection/status.ts +87 -0
  689. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.ts +266 -0
  690. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.ts +21 -0
  691. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.ts +224 -0
  692. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.ts +3 -0
  693. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.ts +23 -0
  694. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.ts +21 -0
  695. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.ts +287 -0
  696. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.ts +337 -0
  697. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.ts +3 -0
  698. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.ts +59 -0
  699. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection.ts +3 -0
  700. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.ts +266 -0
  701. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.ts +21 -0
  702. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.ts +224 -0
  703. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.ts +3 -0
  704. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.ts +23 -0
  705. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.ts +21 -0
  706. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.ts +271 -0
  707. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.ts +320 -0
  708. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.ts +3 -0
  709. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.ts +59 -0
  710. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.ts +3 -0
  711. package/src/resources/ddos-protection/advanced-tcp-protection.ts +3 -0
  712. package/src/resources/ddos-protection/api.md +189 -0
  713. package/src/resources/ddos-protection/ddos-protection.ts +16 -0
  714. package/src/resources/ddos-protection/index.ts +4 -0
  715. package/src/resources/ddos-protection.ts +3 -0
  716. package/src/resources/email-security/investigate/investigate.ts +17 -0
  717. package/src/resources/email-security/submissions.ts +7 -0
  718. package/src/resources/index.ts +2 -0
  719. package/src/resources/intel/indicator-feeds/indicator-feeds.ts +118 -1
  720. package/src/resources/intel/miscategorizations.ts +5 -0
  721. package/src/resources/load-balancers/api.md +17 -7
  722. package/src/resources/load-balancers/index.ts +1 -1
  723. package/src/resources/load-balancers/load-balancers.ts +12 -12
  724. package/src/resources/load-balancers/monitor-groups/index.ts +19 -0
  725. package/src/resources/load-balancers/monitor-groups/monitor-groups.ts +433 -0
  726. package/src/resources/load-balancers/monitor-groups/references.ts +63 -0
  727. package/src/resources/load-balancers/monitor-groups.ts +1 -434
  728. package/src/resources/radar/api.md +22 -2
  729. package/src/resources/radar/bgp/bgp.ts +2 -2
  730. package/src/resources/radar/bgp/index.ts +1 -1
  731. package/src/resources/radar/bgp/ips/index.ts +4 -0
  732. package/src/resources/radar/bgp/ips/ips.ts +295 -0
  733. package/src/resources/radar/bgp/ips/top.ts +84 -0
  734. package/src/resources/radar/bgp/ips.ts +1 -285
  735. package/src/resources/radar/bgp/rpki/index.ts +1 -0
  736. package/src/resources/radar/bgp/rpki/roas.ts +120 -0
  737. package/src/resources/radar/bgp/rpki/rpki.ts +10 -0
  738. package/src/resources/radar/dns/dns.ts +7 -4
  739. package/src/resources/radar/http/http.ts +24 -0
  740. package/src/resources/radar/post-quantum/tls.ts +32 -3
  741. package/src/resources/radar/quality/iqi.ts +2 -6
  742. package/src/resources/resource-sharing/resource-sharing.ts +21 -6
  743. package/src/resources/resource-sharing/resources.ts +14 -7
  744. package/src/resources/secrets-store/stores/stores.ts +17 -7
  745. package/src/resources/security-center/api.md +32 -0
  746. package/src/resources/security-center/insights/audit-logs.ts +313 -0
  747. package/src/resources/security-center/insights/class.ts +8 -0
  748. package/src/resources/security-center/insights/classification.ts +127 -0
  749. package/src/resources/security-center/insights/context.ts +46 -0
  750. package/src/resources/security-center/insights/index.ts +15 -0
  751. package/src/resources/security-center/insights/insights.ts +62 -0
  752. package/src/resources/security-center/insights/severity.ts +8 -0
  753. package/src/resources/security-center/insights/type.ts +7 -0
  754. package/src/resources/url-scanner/scans.ts +58 -0
  755. package/src/resources/user/user.ts +12 -2
  756. package/src/resources/workflows/instances/instances.ts +6 -0
  757. package/src/resources/zero-trust/access/logs/access-requests.ts +19 -8
  758. package/src/resources/zero-trust/access/logs/scim/updates.ts +20 -8
  759. package/src/resources/zero-trust/api.md +41 -0
  760. package/src/resources/zero-trust/devices/deployment-groups.ts +302 -0
  761. package/src/resources/zero-trust/devices/devices.ts +29 -0
  762. package/src/resources/zero-trust/devices/fleet-status.ts +5 -0
  763. package/src/resources/zero-trust/devices/index.ts +11 -0
  764. package/src/resources/zero-trust/dex/fleet-status/devices.ts +5 -0
  765. package/src/resources/zero-trust/dlp/entries/custom.ts +78 -25
  766. package/src/resources/zero-trust/dlp/entries/entries.ts +96 -25
  767. package/src/resources/zero-trust/dlp/entries/integration.ts +78 -25
  768. package/src/resources/zero-trust/dlp/entries/predefined.ts +78 -25
  769. package/src/resources/zero-trust/dlp/profiles/custom.ts +36 -0
  770. package/src/resources/zero-trust/dlp/profiles/predefined.ts +18 -0
  771. package/src/resources/zero-trust/dlp/profiles/profiles.ts +90 -0
  772. package/src/resources/zero-trust/identity-providers/scim/groups.ts +10 -4
  773. package/src/resources/zero-trust/identity-providers/scim/users.ts +10 -4
  774. package/src/resources/zero-trust/index.ts +1 -0
  775. package/src/resources/zero-trust/resource-library/applications.ts +315 -0
  776. package/src/resources/zero-trust/resource-library/categories.ts +140 -0
  777. package/src/resources/zero-trust/resource-library/index.ts +19 -0
  778. package/src/resources/zero-trust/resource-library/resource-library.ts +51 -0
  779. package/src/resources/zero-trust/resource-library.ts +3 -0
  780. package/src/resources/zero-trust/zero-trust.ts +6 -0
  781. package/src/resources/zones/custom-nameservers.ts +5 -0
  782. package/src/resources/zones/settings.ts +60 -0
  783. package/src/resources/zones/zones.ts +7 -0
  784. package/src/version.ts +1 -1
  785. package/version.d.ts +1 -1
  786. package/version.js +1 -1
  787. package/version.mjs +1 -1
@@ -0,0 +1,287 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../../../../resource';
4
+ import * as Core from '../../../../../core';
5
+
6
+ export class Items extends APIResource {
7
+ /**
8
+ * Delete a SYN Protection rule specified by the given UUID.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const item =
13
+ * await client.DDoSProtection.advancedTCPProtection.synProtection.rules.items.delete(
14
+ * 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415',
15
+ * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
16
+ * );
17
+ * ```
18
+ */
19
+ delete(
20
+ ruleId: string,
21
+ params: ItemDeleteParams,
22
+ options?: Core.RequestOptions,
23
+ ): Core.APIPromise<ItemDeleteResponse> {
24
+ const { account_id } = params;
25
+ return this._client.delete(
26
+ `/accounts/${account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules/${ruleId}`,
27
+ options,
28
+ );
29
+ }
30
+
31
+ /**
32
+ * Update a SYN Protection rule specified by the given UUID.
33
+ *
34
+ * @example
35
+ * ```ts
36
+ * const response =
37
+ * await client.DDoSProtection.advancedTCPProtection.synProtection.rules.items.edit(
38
+ * 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415',
39
+ * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
40
+ * );
41
+ * ```
42
+ */
43
+ edit(
44
+ ruleId: string,
45
+ params: ItemEditParams,
46
+ options?: Core.RequestOptions,
47
+ ): Core.APIPromise<ItemEditResponse> {
48
+ const { account_id, ...body } = params;
49
+ return (
50
+ this._client.patch(
51
+ `/accounts/${account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules/${ruleId}`,
52
+ { body, ...options },
53
+ ) as Core.APIPromise<{ result: ItemEditResponse }>
54
+ )._thenUnwrap((obj) => obj.result);
55
+ }
56
+
57
+ /**
58
+ * Get a SYN Protection rule specified by the given UUID.
59
+ *
60
+ * @example
61
+ * ```ts
62
+ * const item =
63
+ * await client.DDoSProtection.advancedTCPProtection.synProtection.rules.items.get(
64
+ * 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415',
65
+ * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
66
+ * );
67
+ * ```
68
+ */
69
+ get(
70
+ ruleId: string,
71
+ params: ItemGetParams,
72
+ options?: Core.RequestOptions,
73
+ ): Core.APIPromise<ItemGetResponse> {
74
+ const { account_id } = params;
75
+ return (
76
+ this._client.get(
77
+ `/accounts/${account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules/${ruleId}`,
78
+ options,
79
+ ) as Core.APIPromise<{ result: ItemGetResponse }>
80
+ )._thenUnwrap((obj) => obj.result);
81
+ }
82
+ }
83
+
84
+ export interface ItemDeleteResponse {
85
+ errors: Array<ItemDeleteResponse.Error>;
86
+
87
+ messages: Array<ItemDeleteResponse.Message>;
88
+
89
+ /**
90
+ * Whether the API call was successful.
91
+ */
92
+ success: true;
93
+ }
94
+
95
+ export namespace ItemDeleteResponse {
96
+ export interface Error {
97
+ code: number;
98
+
99
+ message: string;
100
+
101
+ documentation_url?: string;
102
+
103
+ source?: Error.Source;
104
+ }
105
+
106
+ export namespace Error {
107
+ export interface Source {
108
+ pointer?: string;
109
+ }
110
+ }
111
+
112
+ export interface Message {
113
+ code: number;
114
+
115
+ message: string;
116
+
117
+ documentation_url?: string;
118
+
119
+ source?: Message.Source;
120
+ }
121
+
122
+ export namespace Message {
123
+ export interface Source {
124
+ pointer?: string;
125
+ }
126
+ }
127
+ }
128
+
129
+ export interface ItemEditResponse {
130
+ /**
131
+ * The unique ID of the SYN Protection rule.
132
+ */
133
+ id: string;
134
+
135
+ /**
136
+ * The burst sensitivity. Must be one of 'low', 'medium', 'high'.
137
+ */
138
+ burst_sensitivity: string;
139
+
140
+ /**
141
+ * The creation timestamp of the SYN Protection rule.
142
+ */
143
+ created_on: string;
144
+
145
+ /**
146
+ * The type of mitigation for SYN Protection. Must be one of 'challenge' or
147
+ * 'retransmit'.
148
+ */
149
+ mitigation_type: string;
150
+
151
+ /**
152
+ * The mode for SYN Protection. Must be one of 'enabled', 'disabled', 'monitoring'.
153
+ */
154
+ mode: string;
155
+
156
+ /**
157
+ * The last modification timestamp of the SYN Protection rule.
158
+ */
159
+ modified_on: string;
160
+
161
+ /**
162
+ * The name of the SYN Protection rule. Value is relative to the 'scope' setting.
163
+ * For 'global' scope, name should be 'global'. For either the 'region' or
164
+ * 'datacenter' scope, name should be the actual name of the region or datacenter,
165
+ * e.g., 'wnam' or 'lax'.
166
+ */
167
+ name: string;
168
+
169
+ /**
170
+ * The rate sensitivity. Must be one of 'low', 'medium', 'high'.
171
+ */
172
+ rate_sensitivity: string;
173
+
174
+ /**
175
+ * The scope for the SYN Protection rule. Must be one of 'global', 'region', or
176
+ * 'datacenter'.
177
+ */
178
+ scope: string;
179
+ }
180
+
181
+ export interface ItemGetResponse {
182
+ /**
183
+ * The unique ID of the SYN Protection rule.
184
+ */
185
+ id: string;
186
+
187
+ /**
188
+ * The burst sensitivity. Must be one of 'low', 'medium', 'high'.
189
+ */
190
+ burst_sensitivity: string;
191
+
192
+ /**
193
+ * The creation timestamp of the SYN Protection rule.
194
+ */
195
+ created_on: string;
196
+
197
+ /**
198
+ * The type of mitigation for SYN Protection. Must be one of 'challenge' or
199
+ * 'retransmit'.
200
+ */
201
+ mitigation_type: string;
202
+
203
+ /**
204
+ * The mode for SYN Protection. Must be one of 'enabled', 'disabled', 'monitoring'.
205
+ */
206
+ mode: string;
207
+
208
+ /**
209
+ * The last modification timestamp of the SYN Protection rule.
210
+ */
211
+ modified_on: string;
212
+
213
+ /**
214
+ * The name of the SYN Protection rule. Value is relative to the 'scope' setting.
215
+ * For 'global' scope, name should be 'global'. For either the 'region' or
216
+ * 'datacenter' scope, name should be the actual name of the region or datacenter,
217
+ * e.g., 'wnam' or 'lax'.
218
+ */
219
+ name: string;
220
+
221
+ /**
222
+ * The rate sensitivity. Must be one of 'low', 'medium', 'high'.
223
+ */
224
+ rate_sensitivity: string;
225
+
226
+ /**
227
+ * The scope for the SYN Protection rule. Must be one of 'global', 'region', or
228
+ * 'datacenter'.
229
+ */
230
+ scope: string;
231
+ }
232
+
233
+ export interface ItemDeleteParams {
234
+ /**
235
+ * Identifier.
236
+ */
237
+ account_id: string;
238
+ }
239
+
240
+ export interface ItemEditParams {
241
+ /**
242
+ * Path param: Identifier.
243
+ */
244
+ account_id: string;
245
+
246
+ /**
247
+ * Body param: The new burst sensitivity. Optional. Must be one of 'low', 'medium',
248
+ * 'high'.
249
+ */
250
+ burst_sensitivity?: string;
251
+
252
+ /**
253
+ * Body param: The new mitigation type. Optional. Must be one of 'challenge' or
254
+ * 'retransmit'.
255
+ */
256
+ mitigation_type?: string;
257
+
258
+ /**
259
+ * Body param: The new mode for SYN Protection. Optional. Must be one of 'enabled',
260
+ * 'disabled', 'monitoring'.
261
+ */
262
+ mode?: string;
263
+
264
+ /**
265
+ * Body param: The new rate sensitivity. Optional. Must be one of 'low', 'medium',
266
+ * 'high'.
267
+ */
268
+ rate_sensitivity?: string;
269
+ }
270
+
271
+ export interface ItemGetParams {
272
+ /**
273
+ * Identifier.
274
+ */
275
+ account_id: string;
276
+ }
277
+
278
+ export declare namespace Items {
279
+ export {
280
+ type ItemDeleteResponse as ItemDeleteResponse,
281
+ type ItemEditResponse as ItemEditResponse,
282
+ type ItemGetResponse as ItemGetResponse,
283
+ type ItemDeleteParams as ItemDeleteParams,
284
+ type ItemEditParams as ItemEditParams,
285
+ type ItemGetParams as ItemGetParams,
286
+ };
287
+ }
@@ -0,0 +1,337 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../../../../resource';
4
+ import * as Core from '../../../../../core';
5
+ import * as ItemsAPI from './items';
6
+ import {
7
+ ItemDeleteParams,
8
+ ItemDeleteResponse,
9
+ ItemEditParams,
10
+ ItemEditResponse,
11
+ ItemGetParams,
12
+ ItemGetResponse,
13
+ Items,
14
+ } from './items';
15
+ import { V4PagePaginationArray, type V4PagePaginationArrayParams } from '../../../../../pagination';
16
+
17
+ export class Rules extends APIResource {
18
+ items: ItemsAPI.Items = new ItemsAPI.Items(this._client);
19
+
20
+ /**
21
+ * Create a SYN Protection rule for an account.
22
+ *
23
+ * @example
24
+ * ```ts
25
+ * const rule =
26
+ * await client.DDoSProtection.advancedTCPProtection.synProtection.rules.create(
27
+ * {
28
+ * account_id: '023e105f4ecef8ad9ca31a8372d0c353',
29
+ * burst_sensitivity: 'burst_sensitivity',
30
+ * mode: 'mode',
31
+ * name: 'name',
32
+ * rate_sensitivity: 'rate_sensitivity',
33
+ * scope: 'scope',
34
+ * },
35
+ * );
36
+ * ```
37
+ */
38
+ create(params: RuleCreateParams, options?: Core.RequestOptions): Core.APIPromise<RuleCreateResponse> {
39
+ const { account_id, ...body } = params;
40
+ return (
41
+ this._client.post(
42
+ `/accounts/${account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules`,
43
+ { body, ...options },
44
+ ) as Core.APIPromise<{ result: RuleCreateResponse }>
45
+ )._thenUnwrap((obj) => obj.result);
46
+ }
47
+
48
+ /**
49
+ * List all SYN Protection rules for an account.
50
+ *
51
+ * @example
52
+ * ```ts
53
+ * // Automatically fetches more pages as needed.
54
+ * for await (const ruleListResponse of client.DDoSProtection.advancedTCPProtection.synProtection.rules.list(
55
+ * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
56
+ * )) {
57
+ * // ...
58
+ * }
59
+ * ```
60
+ */
61
+ list(
62
+ params: RuleListParams,
63
+ options?: Core.RequestOptions,
64
+ ): Core.PagePromise<RuleListResponsesV4PagePaginationArray, RuleListResponse> {
65
+ const { account_id, ...query } = params;
66
+ return this._client.getAPIList(
67
+ `/accounts/${account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules`,
68
+ RuleListResponsesV4PagePaginationArray,
69
+ { query, ...options },
70
+ );
71
+ }
72
+
73
+ /**
74
+ * Delete all SYN Protection rules for an account.
75
+ *
76
+ * @example
77
+ * ```ts
78
+ * const response =
79
+ * await client.DDoSProtection.advancedTCPProtection.synProtection.rules.bulkDelete(
80
+ * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
81
+ * );
82
+ * ```
83
+ */
84
+ bulkDelete(
85
+ params: RuleBulkDeleteParams,
86
+ options?: Core.RequestOptions,
87
+ ): Core.APIPromise<RuleBulkDeleteResponse> {
88
+ const { account_id } = params;
89
+ return this._client.delete(
90
+ `/accounts/${account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules`,
91
+ options,
92
+ );
93
+ }
94
+ }
95
+
96
+ export class RuleListResponsesV4PagePaginationArray extends V4PagePaginationArray<RuleListResponse> {}
97
+
98
+ export interface RuleCreateResponse {
99
+ /**
100
+ * The unique ID of the SYN Protection rule.
101
+ */
102
+ id: string;
103
+
104
+ /**
105
+ * The burst sensitivity. Must be one of 'low', 'medium', 'high'.
106
+ */
107
+ burst_sensitivity: string;
108
+
109
+ /**
110
+ * The creation timestamp of the SYN Protection rule.
111
+ */
112
+ created_on: string;
113
+
114
+ /**
115
+ * The type of mitigation for SYN Protection. Must be one of 'challenge' or
116
+ * 'retransmit'.
117
+ */
118
+ mitigation_type: string;
119
+
120
+ /**
121
+ * The mode for SYN Protection. Must be one of 'enabled', 'disabled', 'monitoring'.
122
+ */
123
+ mode: string;
124
+
125
+ /**
126
+ * The last modification timestamp of the SYN Protection rule.
127
+ */
128
+ modified_on: string;
129
+
130
+ /**
131
+ * The name of the SYN Protection rule. Value is relative to the 'scope' setting.
132
+ * For 'global' scope, name should be 'global'. For either the 'region' or
133
+ * 'datacenter' scope, name should be the actual name of the region or datacenter,
134
+ * e.g., 'wnam' or 'lax'.
135
+ */
136
+ name: string;
137
+
138
+ /**
139
+ * The rate sensitivity. Must be one of 'low', 'medium', 'high'.
140
+ */
141
+ rate_sensitivity: string;
142
+
143
+ /**
144
+ * The scope for the SYN Protection rule. Must be one of 'global', 'region', or
145
+ * 'datacenter'.
146
+ */
147
+ scope: string;
148
+ }
149
+
150
+ export interface RuleListResponse {
151
+ /**
152
+ * The unique ID of the SYN Protection rule.
153
+ */
154
+ id: string;
155
+
156
+ /**
157
+ * The burst sensitivity. Must be one of 'low', 'medium', 'high'.
158
+ */
159
+ burst_sensitivity: string;
160
+
161
+ /**
162
+ * The creation timestamp of the SYN Protection rule.
163
+ */
164
+ created_on: string;
165
+
166
+ /**
167
+ * The type of mitigation for SYN Protection. Must be one of 'challenge' or
168
+ * 'retransmit'.
169
+ */
170
+ mitigation_type: string;
171
+
172
+ /**
173
+ * The mode for SYN Protection. Must be one of 'enabled', 'disabled', 'monitoring'.
174
+ */
175
+ mode: string;
176
+
177
+ /**
178
+ * The last modification timestamp of the SYN Protection rule.
179
+ */
180
+ modified_on: string;
181
+
182
+ /**
183
+ * The name of the SYN Protection rule. Value is relative to the 'scope' setting.
184
+ * For 'global' scope, name should be 'global'. For either the 'region' or
185
+ * 'datacenter' scope, name should be the actual name of the region or datacenter,
186
+ * e.g., 'wnam' or 'lax'.
187
+ */
188
+ name: string;
189
+
190
+ /**
191
+ * The rate sensitivity. Must be one of 'low', 'medium', 'high'.
192
+ */
193
+ rate_sensitivity: string;
194
+
195
+ /**
196
+ * The scope for the SYN Protection rule. Must be one of 'global', 'region', or
197
+ * 'datacenter'.
198
+ */
199
+ scope: string;
200
+ }
201
+
202
+ export interface RuleBulkDeleteResponse {
203
+ errors: Array<RuleBulkDeleteResponse.Error>;
204
+
205
+ messages: Array<RuleBulkDeleteResponse.Message>;
206
+
207
+ /**
208
+ * Whether the API call was successful.
209
+ */
210
+ success: true;
211
+ }
212
+
213
+ export namespace RuleBulkDeleteResponse {
214
+ export interface Error {
215
+ code: number;
216
+
217
+ message: string;
218
+
219
+ documentation_url?: string;
220
+
221
+ source?: Error.Source;
222
+ }
223
+
224
+ export namespace Error {
225
+ export interface Source {
226
+ pointer?: string;
227
+ }
228
+ }
229
+
230
+ export interface Message {
231
+ code: number;
232
+
233
+ message: string;
234
+
235
+ documentation_url?: string;
236
+
237
+ source?: Message.Source;
238
+ }
239
+
240
+ export namespace Message {
241
+ export interface Source {
242
+ pointer?: string;
243
+ }
244
+ }
245
+ }
246
+
247
+ export interface RuleCreateParams {
248
+ /**
249
+ * Path param: Identifier.
250
+ */
251
+ account_id: string;
252
+
253
+ /**
254
+ * Body param: The burst sensitivity. Must be one of 'low', 'medium', 'high'.
255
+ */
256
+ burst_sensitivity: string;
257
+
258
+ /**
259
+ * Body param: The mode for SYN Protection. Must be one of 'enabled', 'disabled',
260
+ * 'monitoring'.
261
+ */
262
+ mode: string;
263
+
264
+ /**
265
+ * Body param: The name of the SYN Protection rule. Value is relative to the
266
+ * 'scope' setting. For 'global' scope, name should be 'global'. For either the
267
+ * 'region' or 'datacenter' scope, name should be the actual name of the region or
268
+ * datacenter, e.g., 'wnam' or 'lax'.
269
+ */
270
+ name: string;
271
+
272
+ /**
273
+ * Body param: The rate sensitivity. Must be one of 'low', 'medium', 'high'.
274
+ */
275
+ rate_sensitivity: string;
276
+
277
+ /**
278
+ * Body param: The scope for the SYN Protection rule. Must be one of 'global',
279
+ * 'region', or 'datacenter'.
280
+ */
281
+ scope: string;
282
+
283
+ /**
284
+ * Body param: The type of mitigation. Must be one of 'challenge' or 'retransmit'.
285
+ * Optional. Defaults to 'challenge'.
286
+ */
287
+ mitigation_type?: string;
288
+ }
289
+
290
+ export interface RuleListParams extends V4PagePaginationArrayParams {
291
+ /**
292
+ * Path param: Identifier.
293
+ */
294
+ account_id: string;
295
+
296
+ /**
297
+ * Query param: The direction of ordering (ASC or DESC). Defaults to 'ASC'.
298
+ */
299
+ direction?: string;
300
+
301
+ /**
302
+ * Query param: The field to order by. Defaults to 'prefix'.
303
+ */
304
+ order?: string;
305
+ }
306
+
307
+ export interface RuleBulkDeleteParams {
308
+ /**
309
+ * Identifier.
310
+ */
311
+ account_id: string;
312
+ }
313
+
314
+ Rules.RuleListResponsesV4PagePaginationArray = RuleListResponsesV4PagePaginationArray;
315
+ Rules.Items = Items;
316
+
317
+ export declare namespace Rules {
318
+ export {
319
+ type RuleCreateResponse as RuleCreateResponse,
320
+ type RuleListResponse as RuleListResponse,
321
+ type RuleBulkDeleteResponse as RuleBulkDeleteResponse,
322
+ RuleListResponsesV4PagePaginationArray as RuleListResponsesV4PagePaginationArray,
323
+ type RuleCreateParams as RuleCreateParams,
324
+ type RuleListParams as RuleListParams,
325
+ type RuleBulkDeleteParams as RuleBulkDeleteParams,
326
+ };
327
+
328
+ export {
329
+ Items as Items,
330
+ type ItemDeleteResponse as ItemDeleteResponse,
331
+ type ItemEditResponse as ItemEditResponse,
332
+ type ItemGetResponse as ItemGetResponse,
333
+ type ItemDeleteParams as ItemDeleteParams,
334
+ type ItemEditParams as ItemEditParams,
335
+ type ItemGetParams as ItemGetParams,
336
+ };
337
+ }
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export * from './rules/index';
@@ -0,0 +1,59 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../../../resource';
4
+ import * as FiltersAPI from './filters/filters';
5
+ import {
6
+ FilterBulkDeleteParams,
7
+ FilterBulkDeleteResponse,
8
+ FilterCreateParams,
9
+ FilterCreateResponse,
10
+ FilterListParams,
11
+ FilterListResponse,
12
+ FilterListResponsesV4PagePaginationArray,
13
+ Filters,
14
+ } from './filters/filters';
15
+ import * as RulesAPI from './rules/rules';
16
+ import {
17
+ RuleBulkDeleteParams,
18
+ RuleBulkDeleteResponse,
19
+ RuleCreateParams,
20
+ RuleCreateResponse,
21
+ RuleListParams,
22
+ RuleListResponse,
23
+ RuleListResponsesV4PagePaginationArray,
24
+ Rules,
25
+ } from './rules/rules';
26
+
27
+ export class SynProtection extends APIResource {
28
+ filters: FiltersAPI.Filters = new FiltersAPI.Filters(this._client);
29
+ rules: RulesAPI.Rules = new RulesAPI.Rules(this._client);
30
+ }
31
+
32
+ SynProtection.Filters = Filters;
33
+ SynProtection.FilterListResponsesV4PagePaginationArray = FilterListResponsesV4PagePaginationArray;
34
+ SynProtection.Rules = Rules;
35
+ SynProtection.RuleListResponsesV4PagePaginationArray = RuleListResponsesV4PagePaginationArray;
36
+
37
+ export declare namespace SynProtection {
38
+ export {
39
+ Filters as Filters,
40
+ type FilterCreateResponse as FilterCreateResponse,
41
+ type FilterListResponse as FilterListResponse,
42
+ type FilterBulkDeleteResponse as FilterBulkDeleteResponse,
43
+ FilterListResponsesV4PagePaginationArray as FilterListResponsesV4PagePaginationArray,
44
+ type FilterCreateParams as FilterCreateParams,
45
+ type FilterListParams as FilterListParams,
46
+ type FilterBulkDeleteParams as FilterBulkDeleteParams,
47
+ };
48
+
49
+ export {
50
+ Rules as Rules,
51
+ type RuleCreateResponse as RuleCreateResponse,
52
+ type RuleListResponse as RuleListResponse,
53
+ type RuleBulkDeleteResponse as RuleBulkDeleteResponse,
54
+ RuleListResponsesV4PagePaginationArray as RuleListResponsesV4PagePaginationArray,
55
+ type RuleCreateParams as RuleCreateParams,
56
+ type RuleListParams as RuleListParams,
57
+ type RuleBulkDeleteParams as RuleBulkDeleteParams,
58
+ };
59
+ }
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export * from './syn-protection/index';