cloudflare 6.1.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 (676) hide show
  1. package/CHANGELOG.md +274 -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 +70 -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 +70 -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/cloudforce-one/threat-events/threat-events.d.ts +1 -1
  115. package/resources/cloudforce-one/threat-events/threat-events.d.ts.map +1 -1
  116. package/resources/d1/d1.d.ts +3 -3
  117. package/resources/d1/database/database.d.ts +17 -0
  118. package/resources/d1/database/database.d.ts.map +1 -1
  119. package/resources/d1/database/database.js.map +1 -1
  120. package/resources/d1/database/database.mjs.map +1 -1
  121. package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.d.ts +26 -0
  122. package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.d.ts.map +1 -0
  123. package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.js +59 -0
  124. package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.js.map +1 -0
  125. package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.mjs +32 -0
  126. package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.mjs.map +1 -0
  127. package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.d.ts +180 -0
  128. package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.d.ts.map +1 -0
  129. package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.js +99 -0
  130. package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.js.map +1 -0
  131. package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.mjs +71 -0
  132. package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.mjs.map +1 -0
  133. package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.d.ts +3 -0
  134. package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.d.ts.map +1 -0
  135. package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.js +10 -0
  136. package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.js.map +1 -0
  137. package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.mjs +4 -0
  138. package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.mjs.map +1 -0
  139. package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.d.ts +157 -0
  140. package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.d.ts.map +1 -0
  141. package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.js +57 -0
  142. package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.js.map +1 -0
  143. package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.mjs +53 -0
  144. package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.mjs.map +1 -0
  145. package/resources/ddos-protection/advanced-tcp-protection/allowlist.d.ts +2 -0
  146. package/resources/ddos-protection/advanced-tcp-protection/allowlist.d.ts.map +1 -0
  147. package/resources/ddos-protection/advanced-tcp-protection/allowlist.js +19 -0
  148. package/resources/ddos-protection/advanced-tcp-protection/allowlist.js.map +1 -0
  149. package/resources/ddos-protection/advanced-tcp-protection/allowlist.mjs +3 -0
  150. package/resources/ddos-protection/advanced-tcp-protection/allowlist.mjs.map +1 -0
  151. package/resources/ddos-protection/advanced-tcp-protection/index.d.ts +7 -0
  152. package/resources/ddos-protection/advanced-tcp-protection/index.d.ts.map +1 -0
  153. package/resources/ddos-protection/advanced-tcp-protection/index.js +20 -0
  154. package/resources/ddos-protection/advanced-tcp-protection/index.js.map +1 -0
  155. package/resources/ddos-protection/advanced-tcp-protection/index.mjs +8 -0
  156. package/resources/ddos-protection/advanced-tcp-protection/index.mjs.map +1 -0
  157. package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.d.ts +3 -0
  158. package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.d.ts.map +1 -0
  159. package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.js +11 -0
  160. package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.js.map +1 -0
  161. package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.mjs +4 -0
  162. package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.mjs.map +1 -0
  163. package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.d.ts +157 -0
  164. package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.d.ts.map +1 -0
  165. package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.js +57 -0
  166. package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.js.map +1 -0
  167. package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.mjs +53 -0
  168. package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.mjs.map +1 -0
  169. package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.d.ts +257 -0
  170. package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.d.ts.map +1 -0
  171. package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.js +129 -0
  172. package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.js.map +1 -0
  173. package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.mjs +100 -0
  174. package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.mjs.map +1 -0
  175. package/resources/ddos-protection/advanced-tcp-protection/prefixes.d.ts +2 -0
  176. package/resources/ddos-protection/advanced-tcp-protection/prefixes.d.ts.map +1 -0
  177. package/resources/ddos-protection/advanced-tcp-protection/prefixes.js +19 -0
  178. package/resources/ddos-protection/advanced-tcp-protection/prefixes.js.map +1 -0
  179. package/resources/ddos-protection/advanced-tcp-protection/prefixes.mjs +3 -0
  180. package/resources/ddos-protection/advanced-tcp-protection/prefixes.mjs.map +1 -0
  181. package/resources/ddos-protection/advanced-tcp-protection/status.d.ts +57 -0
  182. package/resources/ddos-protection/advanced-tcp-protection/status.d.ts.map +1 -0
  183. package/resources/ddos-protection/advanced-tcp-protection/status.js +42 -0
  184. package/resources/ddos-protection/advanced-tcp-protection/status.js.map +1 -0
  185. package/resources/ddos-protection/advanced-tcp-protection/status.mjs +38 -0
  186. package/resources/ddos-protection/advanced-tcp-protection/status.mjs.map +1 -0
  187. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.d.ts +174 -0
  188. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.d.ts.map +1 -0
  189. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.js +96 -0
  190. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.js.map +1 -0
  191. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.mjs +68 -0
  192. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.mjs.map +1 -0
  193. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.d.ts +3 -0
  194. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.d.ts.map +1 -0
  195. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.js +10 -0
  196. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.js.map +1 -0
  197. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.mjs +4 -0
  198. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.mjs.map +1 -0
  199. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.d.ts +150 -0
  200. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.d.ts.map +1 -0
  201. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.js +57 -0
  202. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.js.map +1 -0
  203. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.mjs +53 -0
  204. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.mjs.map +1 -0
  205. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.d.ts +2 -0
  206. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.d.ts.map +1 -0
  207. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.js +19 -0
  208. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.js.map +1 -0
  209. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.mjs +3 -0
  210. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.mjs.map +1 -0
  211. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.d.ts +4 -0
  212. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.d.ts.map +1 -0
  213. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.js +13 -0
  214. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.js.map +1 -0
  215. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.mjs +5 -0
  216. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.mjs.map +1 -0
  217. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.d.ts +3 -0
  218. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.d.ts.map +1 -0
  219. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.js +10 -0
  220. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.js.map +1 -0
  221. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.mjs +4 -0
  222. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.mjs.map +1 -0
  223. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.d.ts +203 -0
  224. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.d.ts.map +1 -0
  225. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.js +57 -0
  226. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.js.map +1 -0
  227. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.mjs +53 -0
  228. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.mjs.map +1 -0
  229. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.d.ts +234 -0
  230. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.d.ts.map +1 -0
  231. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.js +98 -0
  232. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.js.map +1 -0
  233. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.mjs +70 -0
  234. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.mjs.map +1 -0
  235. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.d.ts +2 -0
  236. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.d.ts.map +1 -0
  237. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.js +19 -0
  238. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.js.map +1 -0
  239. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.mjs +3 -0
  240. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.mjs.map +1 -0
  241. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.d.ts +14 -0
  242. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.d.ts.map +1 -0
  243. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.js +45 -0
  244. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.js.map +1 -0
  245. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.mjs +18 -0
  246. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.mjs.map +1 -0
  247. package/resources/ddos-protection/advanced-tcp-protection/syn-protection.d.ts +2 -0
  248. package/resources/ddos-protection/advanced-tcp-protection/syn-protection.d.ts.map +1 -0
  249. package/resources/ddos-protection/advanced-tcp-protection/syn-protection.js +19 -0
  250. package/resources/ddos-protection/advanced-tcp-protection/syn-protection.js.map +1 -0
  251. package/resources/ddos-protection/advanced-tcp-protection/syn-protection.mjs +3 -0
  252. package/resources/ddos-protection/advanced-tcp-protection/syn-protection.mjs.map +1 -0
  253. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.d.ts +174 -0
  254. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.d.ts.map +1 -0
  255. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.js +96 -0
  256. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.js.map +1 -0
  257. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.mjs +68 -0
  258. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.mjs.map +1 -0
  259. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.d.ts +3 -0
  260. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.d.ts.map +1 -0
  261. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.js +10 -0
  262. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.js.map +1 -0
  263. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.mjs +4 -0
  264. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.mjs.map +1 -0
  265. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.d.ts +150 -0
  266. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.d.ts.map +1 -0
  267. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.js +57 -0
  268. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.js.map +1 -0
  269. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.mjs +53 -0
  270. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.mjs.map +1 -0
  271. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.d.ts +2 -0
  272. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.d.ts.map +1 -0
  273. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.js +19 -0
  274. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.js.map +1 -0
  275. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.mjs +3 -0
  276. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.mjs.map +1 -0
  277. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.d.ts +4 -0
  278. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.d.ts.map +1 -0
  279. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.js +13 -0
  280. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.js.map +1 -0
  281. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.mjs +5 -0
  282. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.mjs.map +1 -0
  283. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.d.ts +3 -0
  284. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.d.ts.map +1 -0
  285. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.js +10 -0
  286. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.js.map +1 -0
  287. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.mjs +4 -0
  288. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.mjs.map +1 -0
  289. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.d.ts +190 -0
  290. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.d.ts.map +1 -0
  291. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.js +57 -0
  292. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.js.map +1 -0
  293. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.mjs +53 -0
  294. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.mjs.map +1 -0
  295. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.d.ts +220 -0
  296. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.d.ts.map +1 -0
  297. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.js +98 -0
  298. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.js.map +1 -0
  299. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.mjs +70 -0
  300. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.mjs.map +1 -0
  301. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.d.ts +2 -0
  302. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.d.ts.map +1 -0
  303. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.js +19 -0
  304. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.js.map +1 -0
  305. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.mjs +3 -0
  306. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.mjs.map +1 -0
  307. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.d.ts +14 -0
  308. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.d.ts.map +1 -0
  309. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.js +45 -0
  310. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.js.map +1 -0
  311. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.mjs +18 -0
  312. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.mjs.map +1 -0
  313. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.d.ts +2 -0
  314. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.d.ts.map +1 -0
  315. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.js +19 -0
  316. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.js.map +1 -0
  317. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.mjs +3 -0
  318. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.mjs.map +1 -0
  319. package/resources/ddos-protection/advanced-tcp-protection.d.ts +2 -0
  320. package/resources/ddos-protection/advanced-tcp-protection.d.ts.map +1 -0
  321. package/resources/ddos-protection/advanced-tcp-protection.js +19 -0
  322. package/resources/ddos-protection/advanced-tcp-protection.js.map +1 -0
  323. package/resources/ddos-protection/advanced-tcp-protection.mjs +3 -0
  324. package/resources/ddos-protection/advanced-tcp-protection.mjs.map +1 -0
  325. package/resources/ddos-protection/ddos-protection.d.ts +10 -0
  326. package/resources/ddos-protection/ddos-protection.d.ts.map +1 -0
  327. package/resources/ddos-protection/ddos-protection.js +39 -0
  328. package/resources/ddos-protection/ddos-protection.js.map +1 -0
  329. package/resources/ddos-protection/ddos-protection.mjs +12 -0
  330. package/resources/ddos-protection/ddos-protection.mjs.map +1 -0
  331. package/resources/ddos-protection/index.d.ts +3 -0
  332. package/resources/ddos-protection/index.d.ts.map +1 -0
  333. package/resources/ddos-protection/index.js +9 -0
  334. package/resources/ddos-protection/index.js.map +1 -0
  335. package/resources/ddos-protection/index.mjs +4 -0
  336. package/resources/ddos-protection/index.mjs.map +1 -0
  337. package/resources/ddos-protection.d.ts +2 -0
  338. package/resources/ddos-protection.d.ts.map +1 -0
  339. package/resources/ddos-protection.js +19 -0
  340. package/resources/ddos-protection.js.map +1 -0
  341. package/resources/ddos-protection.mjs +3 -0
  342. package/resources/ddos-protection.mjs.map +1 -0
  343. package/resources/email-security/investigate/investigate.d.ts +10 -0
  344. package/resources/email-security/investigate/investigate.d.ts.map +1 -1
  345. package/resources/email-security/investigate/investigate.js.map +1 -1
  346. package/resources/email-security/investigate/investigate.mjs.map +1 -1
  347. package/resources/index.d.ts +2 -0
  348. package/resources/index.d.ts.map +1 -1
  349. package/resources/index.js +7 -3
  350. package/resources/index.js.map +1 -1
  351. package/resources/index.mjs +2 -0
  352. package/resources/index.mjs.map +1 -1
  353. package/resources/intel/indicator-feeds/indicator-feeds.d.ts +10 -0
  354. package/resources/intel/indicator-feeds/indicator-feeds.d.ts.map +1 -1
  355. package/resources/intel/indicator-feeds/indicator-feeds.js.map +1 -1
  356. package/resources/intel/indicator-feeds/indicator-feeds.mjs.map +1 -1
  357. package/resources/intel/miscategorizations.d.ts +5 -0
  358. package/resources/intel/miscategorizations.d.ts.map +1 -1
  359. package/resources/intel/miscategorizations.js +5 -0
  360. package/resources/intel/miscategorizations.js.map +1 -1
  361. package/resources/intel/miscategorizations.mjs +5 -0
  362. package/resources/intel/miscategorizations.mjs.map +1 -1
  363. package/resources/load-balancers/index.d.ts +1 -1
  364. package/resources/load-balancers/index.d.ts.map +1 -1
  365. package/resources/load-balancers/index.js +9 -9
  366. package/resources/load-balancers/index.js.map +1 -1
  367. package/resources/load-balancers/index.mjs +1 -1
  368. package/resources/load-balancers/load-balancers.d.ts +2 -2
  369. package/resources/load-balancers/load-balancers.d.ts.map +1 -1
  370. package/resources/load-balancers/load-balancers.js +2 -2
  371. package/resources/load-balancers/load-balancers.js.map +1 -1
  372. package/resources/load-balancers/load-balancers.mjs +2 -2
  373. package/resources/load-balancers/load-balancers.mjs.map +1 -1
  374. package/resources/load-balancers/monitor-groups/index.d.ts +3 -0
  375. package/resources/load-balancers/monitor-groups/index.d.ts.map +1 -0
  376. package/resources/load-balancers/monitor-groups/index.js +11 -0
  377. package/resources/load-balancers/monitor-groups/index.js.map +1 -0
  378. package/resources/load-balancers/monitor-groups/index.mjs +4 -0
  379. package/resources/load-balancers/monitor-groups/index.mjs.map +1 -0
  380. package/resources/load-balancers/monitor-groups/monitor-groups.d.ts +299 -0
  381. package/resources/load-balancers/monitor-groups/monitor-groups.d.ts.map +1 -0
  382. package/resources/load-balancers/monitor-groups/monitor-groups.js +181 -0
  383. package/resources/load-balancers/monitor-groups/monitor-groups.js.map +1 -0
  384. package/resources/load-balancers/monitor-groups/monitor-groups.mjs +153 -0
  385. package/resources/load-balancers/monitor-groups/monitor-groups.mjs.map +1 -0
  386. package/resources/load-balancers/monitor-groups/references.d.ts +38 -0
  387. package/resources/load-balancers/monitor-groups/references.d.ts.map +1 -0
  388. package/resources/load-balancers/monitor-groups/references.js +32 -0
  389. package/resources/load-balancers/monitor-groups/references.js.map +1 -0
  390. package/resources/load-balancers/monitor-groups/references.mjs +27 -0
  391. package/resources/load-balancers/monitor-groups/references.mjs.map +1 -0
  392. package/resources/load-balancers/monitor-groups.d.ts +1 -312
  393. package/resources/load-balancers/monitor-groups.d.ts.map +1 -1
  394. package/resources/load-balancers/monitor-groups.js +15 -149
  395. package/resources/load-balancers/monitor-groups.js.map +1 -1
  396. package/resources/load-balancers/monitor-groups.mjs +1 -146
  397. package/resources/load-balancers/monitor-groups.mjs.map +1 -1
  398. package/resources/radar/bgp/bgp.d.ts +2 -2
  399. package/resources/radar/bgp/bgp.d.ts.map +1 -1
  400. package/resources/radar/bgp/bgp.js +2 -2
  401. package/resources/radar/bgp/bgp.js.map +1 -1
  402. package/resources/radar/bgp/bgp.mjs +2 -2
  403. package/resources/radar/bgp/bgp.mjs.map +1 -1
  404. package/resources/radar/bgp/index.d.ts +1 -1
  405. package/resources/radar/bgp/index.d.ts.map +1 -1
  406. package/resources/radar/bgp/index.js +8 -8
  407. package/resources/radar/bgp/index.js.map +1 -1
  408. package/resources/radar/bgp/index.mjs +1 -1
  409. package/resources/radar/bgp/ips/index.d.ts +3 -0
  410. package/resources/radar/bgp/ips/index.d.ts.map +1 -0
  411. package/resources/radar/bgp/ips/index.js +9 -0
  412. package/resources/radar/bgp/ips/index.js.map +1 -0
  413. package/resources/radar/bgp/ips/index.mjs +4 -0
  414. package/resources/radar/bgp/ips/index.mjs.map +1 -0
  415. package/resources/radar/bgp/ips/ips.d.ts +187 -0
  416. package/resources/radar/bgp/ips/ips.d.ts.map +1 -0
  417. package/resources/radar/bgp/ips/ips.js +46 -0
  418. package/resources/radar/bgp/ips/ips.js.map +1 -0
  419. package/resources/radar/bgp/ips/ips.mjs +19 -0
  420. package/resources/radar/bgp/ips/ips.mjs.map +1 -0
  421. package/resources/radar/bgp/ips/top.d.ts +55 -0
  422. package/resources/radar/bgp/ips/top.d.ts.map +1 -0
  423. package/resources/radar/bgp/ips/top.js +16 -0
  424. package/resources/radar/bgp/ips/top.js.map +1 -0
  425. package/resources/radar/bgp/ips/top.mjs +12 -0
  426. package/resources/radar/bgp/ips/top.mjs.map +1 -0
  427. package/resources/radar/bgp/ips.d.ts +1 -182
  428. package/resources/radar/bgp/ips.d.ts.map +1 -1
  429. package/resources/radar/bgp/ips.js +15 -12
  430. package/resources/radar/bgp/ips.js.map +1 -1
  431. package/resources/radar/bgp/ips.mjs +1 -10
  432. package/resources/radar/bgp/ips.mjs.map +1 -1
  433. package/resources/radar/bgp/rpki/index.d.ts +1 -0
  434. package/resources/radar/bgp/rpki/index.d.ts.map +1 -1
  435. package/resources/radar/bgp/rpki/index.js +3 -1
  436. package/resources/radar/bgp/rpki/index.js.map +1 -1
  437. package/resources/radar/bgp/rpki/index.mjs +1 -0
  438. package/resources/radar/bgp/rpki/index.mjs.map +1 -1
  439. package/resources/radar/bgp/rpki/roas.d.ts +78 -0
  440. package/resources/radar/bgp/rpki/roas.d.ts.map +1 -0
  441. package/resources/radar/bgp/rpki/roas.js +16 -0
  442. package/resources/radar/bgp/rpki/roas.js.map +1 -0
  443. package/resources/radar/bgp/rpki/roas.mjs +12 -0
  444. package/resources/radar/bgp/rpki/roas.mjs.map +1 -0
  445. package/resources/radar/bgp/rpki/rpki.d.ts +4 -0
  446. package/resources/radar/bgp/rpki/rpki.d.ts.map +1 -1
  447. package/resources/radar/bgp/rpki/rpki.js +4 -0
  448. package/resources/radar/bgp/rpki/rpki.js.map +1 -1
  449. package/resources/radar/bgp/rpki/rpki.mjs +4 -0
  450. package/resources/radar/bgp/rpki/rpki.mjs.map +1 -1
  451. package/resources/radar/http/http.d.ts +19 -4
  452. package/resources/radar/http/http.d.ts.map +1 -1
  453. package/resources/radar/http/http.js.map +1 -1
  454. package/resources/radar/http/http.mjs.map +1 -1
  455. package/resources/radar/post-quantum/tls.d.ts +28 -3
  456. package/resources/radar/post-quantum/tls.d.ts.map +1 -1
  457. package/resources/radar/post-quantum/tls.js +3 -2
  458. package/resources/radar/post-quantum/tls.js.map +1 -1
  459. package/resources/radar/post-quantum/tls.mjs +3 -2
  460. package/resources/radar/post-quantum/tls.mjs.map +1 -1
  461. package/resources/radar/quality/iqi.d.ts +1 -3
  462. package/resources/radar/quality/iqi.d.ts.map +1 -1
  463. package/resources/resource-sharing/resource-sharing.d.ts +14 -7
  464. package/resources/resource-sharing/resource-sharing.d.ts.map +1 -1
  465. package/resources/resource-sharing/resource-sharing.js.map +1 -1
  466. package/resources/resource-sharing/resource-sharing.mjs.map +1 -1
  467. package/resources/resource-sharing/resources.d.ts +7 -7
  468. package/resources/resource-sharing/resources.d.ts.map +1 -1
  469. package/resources/resource-sharing/resources.js.map +1 -1
  470. package/resources/resource-sharing/resources.mjs.map +1 -1
  471. package/resources/secrets-store/stores/stores.d.ts +11 -2
  472. package/resources/secrets-store/stores/stores.d.ts.map +1 -1
  473. package/resources/secrets-store/stores/stores.js +9 -3
  474. package/resources/secrets-store/stores/stores.js.map +1 -1
  475. package/resources/secrets-store/stores/stores.mjs +9 -3
  476. package/resources/secrets-store/stores/stores.mjs.map +1 -1
  477. package/resources/url-scanner/scans.d.ts +36 -0
  478. package/resources/url-scanner/scans.d.ts.map +1 -1
  479. package/resources/user/user.d.ts +10 -2
  480. package/resources/user/user.d.ts.map +1 -1
  481. package/resources/user/user.js.map +1 -1
  482. package/resources/user/user.mjs.map +1 -1
  483. package/resources/workflows/instances/instances.d.ts +5 -0
  484. package/resources/workflows/instances/instances.d.ts.map +1 -1
  485. package/resources/workflows/instances/instances.js.map +1 -1
  486. package/resources/workflows/instances/instances.mjs.map +1 -1
  487. package/resources/zero-trust/devices/fleet-status.d.ts +4 -0
  488. package/resources/zero-trust/devices/fleet-status.d.ts.map +1 -1
  489. package/resources/zero-trust/dex/fleet-status/devices.d.ts +4 -0
  490. package/resources/zero-trust/dex/fleet-status/devices.d.ts.map +1 -1
  491. package/resources/zero-trust/dex/fleet-status/devices.js.map +1 -1
  492. package/resources/zero-trust/dex/fleet-status/devices.mjs.map +1 -1
  493. package/resources/zero-trust/dlp/entries/custom.d.ts +59 -25
  494. package/resources/zero-trust/dlp/entries/custom.d.ts.map +1 -1
  495. package/resources/zero-trust/dlp/entries/custom.js.map +1 -1
  496. package/resources/zero-trust/dlp/entries/custom.mjs.map +1 -1
  497. package/resources/zero-trust/dlp/entries/entries.d.ts +71 -26
  498. package/resources/zero-trust/dlp/entries/entries.d.ts.map +1 -1
  499. package/resources/zero-trust/dlp/entries/entries.js.map +1 -1
  500. package/resources/zero-trust/dlp/entries/entries.mjs.map +1 -1
  501. package/resources/zero-trust/dlp/entries/integration.d.ts +59 -25
  502. package/resources/zero-trust/dlp/entries/integration.d.ts.map +1 -1
  503. package/resources/zero-trust/dlp/entries/integration.js.map +1 -1
  504. package/resources/zero-trust/dlp/entries/integration.mjs.map +1 -1
  505. package/resources/zero-trust/dlp/entries/predefined.d.ts +59 -25
  506. package/resources/zero-trust/dlp/entries/predefined.d.ts.map +1 -1
  507. package/resources/zero-trust/dlp/entries/predefined.js.map +1 -1
  508. package/resources/zero-trust/dlp/entries/predefined.mjs.map +1 -1
  509. package/resources/zero-trust/dlp/profiles/custom.d.ts +24 -2
  510. package/resources/zero-trust/dlp/profiles/custom.d.ts.map +1 -1
  511. package/resources/zero-trust/dlp/profiles/predefined.d.ts +12 -1
  512. package/resources/zero-trust/dlp/profiles/predefined.d.ts.map +1 -1
  513. package/resources/zero-trust/dlp/profiles/profiles.d.ts +60 -5
  514. package/resources/zero-trust/dlp/profiles/profiles.d.ts.map +1 -1
  515. package/resources/zero-trust/dlp/profiles/profiles.js.map +1 -1
  516. package/resources/zero-trust/dlp/profiles/profiles.mjs.map +1 -1
  517. package/resources/zero-trust/index.d.ts +1 -0
  518. package/resources/zero-trust/index.d.ts.map +1 -1
  519. package/resources/zero-trust/index.js +8 -6
  520. package/resources/zero-trust/index.js.map +1 -1
  521. package/resources/zero-trust/index.mjs +1 -0
  522. package/resources/zero-trust/index.mjs.map +1 -1
  523. package/resources/zero-trust/resource-library/applications.d.ts +238 -0
  524. package/resources/zero-trust/resource-library/applications.d.ts.map +1 -0
  525. package/resources/zero-trust/resource-library/applications.js +47 -0
  526. package/resources/zero-trust/resource-library/applications.js.map +1 -0
  527. package/resources/zero-trust/resource-library/applications.mjs +42 -0
  528. package/resources/zero-trust/resource-library/applications.mjs.map +1 -0
  529. package/resources/zero-trust/resource-library/categories.d.ts +94 -0
  530. package/resources/zero-trust/resource-library/categories.d.ts.map +1 -0
  531. package/resources/zero-trust/resource-library/categories.js +47 -0
  532. package/resources/zero-trust/resource-library/categories.js.map +1 -0
  533. package/resources/zero-trust/resource-library/categories.mjs +42 -0
  534. package/resources/zero-trust/resource-library/categories.mjs.map +1 -0
  535. package/resources/zero-trust/resource-library/index.d.ts +4 -0
  536. package/resources/zero-trust/resource-library/index.d.ts.map +1 -0
  537. package/resources/zero-trust/resource-library/index.js +13 -0
  538. package/resources/zero-trust/resource-library/index.js.map +1 -0
  539. package/resources/zero-trust/resource-library/index.mjs +5 -0
  540. package/resources/zero-trust/resource-library/index.mjs.map +1 -0
  541. package/resources/zero-trust/resource-library/resource-library.d.ts +14 -0
  542. package/resources/zero-trust/resource-library/resource-library.d.ts.map +1 -0
  543. package/resources/zero-trust/resource-library/resource-library.js +45 -0
  544. package/resources/zero-trust/resource-library/resource-library.js.map +1 -0
  545. package/resources/zero-trust/resource-library/resource-library.mjs +18 -0
  546. package/resources/zero-trust/resource-library/resource-library.mjs.map +1 -0
  547. package/resources/zero-trust/resource-library.d.ts +2 -0
  548. package/resources/zero-trust/resource-library.d.ts.map +1 -0
  549. package/resources/zero-trust/resource-library.js +19 -0
  550. package/resources/zero-trust/resource-library.js.map +1 -0
  551. package/resources/zero-trust/resource-library.mjs +3 -0
  552. package/resources/zero-trust/resource-library.mjs.map +1 -0
  553. package/resources/zero-trust/zero-trust.d.ts +4 -0
  554. package/resources/zero-trust/zero-trust.d.ts.map +1 -1
  555. package/resources/zero-trust/zero-trust.js +4 -0
  556. package/resources/zero-trust/zero-trust.js.map +1 -1
  557. package/resources/zero-trust/zero-trust.mjs +4 -0
  558. package/resources/zero-trust/zero-trust.mjs.map +1 -1
  559. package/resources/zones/custom-nameservers.d.ts +4 -0
  560. package/resources/zones/custom-nameservers.d.ts.map +1 -1
  561. package/resources/zones/custom-nameservers.js.map +1 -1
  562. package/resources/zones/custom-nameservers.mjs.map +1 -1
  563. package/src/index.ts +10 -0
  564. package/src/resources/acm/custom-trust-store.ts +9 -6
  565. package/src/resources/ai-gateway/ai-gateway.ts +449 -0
  566. package/src/resources/ai-gateway/api.md +56 -0
  567. package/src/resources/ai-gateway/billing/billing.ts +363 -0
  568. package/src/resources/ai-gateway/billing/index.ts +29 -0
  569. package/src/resources/ai-gateway/billing/spending-limit.ts +148 -0
  570. package/src/resources/ai-gateway/billing/topup/config.ts +133 -0
  571. package/src/resources/ai-gateway/billing/topup/index.ts +18 -0
  572. package/src/resources/ai-gateway/billing/topup/topup.ts +139 -0
  573. package/src/resources/ai-gateway/billing/topup.ts +3 -0
  574. package/src/resources/ai-gateway/billing.ts +3 -0
  575. package/src/resources/ai-gateway/dynamic-routing.ts +30 -2
  576. package/src/resources/ai-gateway/index.ts +11 -0
  577. package/src/resources/ai-security/ai-security.ts +117 -0
  578. package/src/resources/ai-security/api.md +23 -0
  579. package/src/resources/ai-security/custom-topics.ts +143 -0
  580. package/src/resources/ai-security/index.ts +10 -0
  581. package/src/resources/ai-security.ts +3 -0
  582. package/src/resources/aisearch/instances/instances.ts +70 -21
  583. package/src/resources/aisearch/namespaces/instances/instances.ts +70 -21
  584. package/src/resources/cloudforce-one/threat-events/threat-events.ts +1 -1
  585. package/src/resources/d1/d1.ts +3 -3
  586. package/src/resources/d1/database/database.ts +19 -0
  587. package/src/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.ts +93 -0
  588. package/src/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.ts +277 -0
  589. package/src/resources/ddos-protection/advanced-tcp-protection/allowlist/index.ts +21 -0
  590. package/src/resources/ddos-protection/advanced-tcp-protection/allowlist/items.ts +233 -0
  591. package/src/resources/ddos-protection/advanced-tcp-protection/allowlist.ts +3 -0
  592. package/src/resources/ddos-protection/advanced-tcp-protection/index.ts +35 -0
  593. package/src/resources/ddos-protection/advanced-tcp-protection/prefixes/index.ts +24 -0
  594. package/src/resources/ddos-protection/advanced-tcp-protection/prefixes/items.ts +233 -0
  595. package/src/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.ts +377 -0
  596. package/src/resources/ddos-protection/advanced-tcp-protection/prefixes.ts +3 -0
  597. package/src/resources/ddos-protection/advanced-tcp-protection/status.ts +87 -0
  598. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.ts +266 -0
  599. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.ts +21 -0
  600. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.ts +224 -0
  601. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.ts +3 -0
  602. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.ts +23 -0
  603. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.ts +21 -0
  604. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.ts +287 -0
  605. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.ts +337 -0
  606. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.ts +3 -0
  607. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.ts +59 -0
  608. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection.ts +3 -0
  609. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.ts +266 -0
  610. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.ts +21 -0
  611. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.ts +224 -0
  612. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.ts +3 -0
  613. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.ts +23 -0
  614. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.ts +21 -0
  615. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.ts +271 -0
  616. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.ts +320 -0
  617. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.ts +3 -0
  618. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.ts +59 -0
  619. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.ts +3 -0
  620. package/src/resources/ddos-protection/advanced-tcp-protection.ts +3 -0
  621. package/src/resources/ddos-protection/api.md +189 -0
  622. package/src/resources/ddos-protection/ddos-protection.ts +16 -0
  623. package/src/resources/ddos-protection/index.ts +4 -0
  624. package/src/resources/ddos-protection.ts +3 -0
  625. package/src/resources/email-security/investigate/investigate.ts +17 -0
  626. package/src/resources/index.ts +2 -0
  627. package/src/resources/intel/indicator-feeds/indicator-feeds.ts +11 -0
  628. package/src/resources/intel/miscategorizations.ts +5 -0
  629. package/src/resources/load-balancers/api.md +17 -7
  630. package/src/resources/load-balancers/index.ts +1 -1
  631. package/src/resources/load-balancers/load-balancers.ts +12 -12
  632. package/src/resources/load-balancers/monitor-groups/index.ts +19 -0
  633. package/src/resources/load-balancers/monitor-groups/monitor-groups.ts +433 -0
  634. package/src/resources/load-balancers/monitor-groups/references.ts +63 -0
  635. package/src/resources/load-balancers/monitor-groups.ts +1 -434
  636. package/src/resources/radar/api.md +22 -2
  637. package/src/resources/radar/bgp/bgp.ts +2 -2
  638. package/src/resources/radar/bgp/index.ts +1 -1
  639. package/src/resources/radar/bgp/ips/index.ts +4 -0
  640. package/src/resources/radar/bgp/ips/ips.ts +295 -0
  641. package/src/resources/radar/bgp/ips/top.ts +84 -0
  642. package/src/resources/radar/bgp/ips.ts +1 -285
  643. package/src/resources/radar/bgp/rpki/index.ts +1 -0
  644. package/src/resources/radar/bgp/rpki/roas.ts +120 -0
  645. package/src/resources/radar/bgp/rpki/rpki.ts +10 -0
  646. package/src/resources/radar/http/http.ts +24 -0
  647. package/src/resources/radar/post-quantum/tls.ts +32 -3
  648. package/src/resources/radar/quality/iqi.ts +2 -6
  649. package/src/resources/resource-sharing/resource-sharing.ts +21 -6
  650. package/src/resources/resource-sharing/resources.ts +14 -7
  651. package/src/resources/secrets-store/stores/stores.ts +17 -7
  652. package/src/resources/url-scanner/scans.ts +58 -0
  653. package/src/resources/user/user.ts +12 -2
  654. package/src/resources/workflows/instances/instances.ts +6 -0
  655. package/src/resources/zero-trust/api.md +26 -0
  656. package/src/resources/zero-trust/devices/fleet-status.ts +5 -0
  657. package/src/resources/zero-trust/dex/fleet-status/devices.ts +5 -0
  658. package/src/resources/zero-trust/dlp/entries/custom.ts +78 -25
  659. package/src/resources/zero-trust/dlp/entries/entries.ts +96 -25
  660. package/src/resources/zero-trust/dlp/entries/integration.ts +78 -25
  661. package/src/resources/zero-trust/dlp/entries/predefined.ts +78 -25
  662. package/src/resources/zero-trust/dlp/profiles/custom.ts +36 -0
  663. package/src/resources/zero-trust/dlp/profiles/predefined.ts +18 -0
  664. package/src/resources/zero-trust/dlp/profiles/profiles.ts +90 -0
  665. package/src/resources/zero-trust/index.ts +1 -0
  666. package/src/resources/zero-trust/resource-library/applications.ts +315 -0
  667. package/src/resources/zero-trust/resource-library/categories.ts +140 -0
  668. package/src/resources/zero-trust/resource-library/index.ts +19 -0
  669. package/src/resources/zero-trust/resource-library/resource-library.ts +51 -0
  670. package/src/resources/zero-trust/resource-library.ts +3 -0
  671. package/src/resources/zero-trust/zero-trust.ts +6 -0
  672. package/src/resources/zones/custom-nameservers.ts +5 -0
  673. package/src/version.ts +1 -1
  674. package/version.d.ts +1 -1
  675. package/version.js +1 -1
  676. package/version.mjs +1 -1
@@ -0,0 +1,32 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../../resource.mjs";
3
+ import * as StatusAPI from "./status.mjs";
4
+ import { Status } from "./status.mjs";
5
+ import * as AllowlistAPI from "./allowlist/allowlist.mjs";
6
+ import { Allowlist, AllowlistListResponsesV4PagePaginationArray, } from "./allowlist/allowlist.mjs";
7
+ import * as PrefixesAPI from "./prefixes/prefixes.mjs";
8
+ import { PrefixBulkCreateResponsesSinglePage, PrefixListResponsesV4PagePaginationArray, Prefixes, } from "./prefixes/prefixes.mjs";
9
+ import * as SynProtectionAPI from "./syn-protection/syn-protection.mjs";
10
+ import { SynProtection } from "./syn-protection/syn-protection.mjs";
11
+ import * as TCPFlowProtectionAPI from "./tcp-flow-protection/tcp-flow-protection.mjs";
12
+ import { TCPFlowProtection } from "./tcp-flow-protection/tcp-flow-protection.mjs";
13
+ export class AdvancedTCPProtection extends APIResource {
14
+ constructor() {
15
+ super(...arguments);
16
+ this.allowlist = new AllowlistAPI.Allowlist(this._client);
17
+ this.prefixes = new PrefixesAPI.Prefixes(this._client);
18
+ this.synProtection = new SynProtectionAPI.SynProtection(this._client);
19
+ this.tcpFlowProtection = new TCPFlowProtectionAPI.TCPFlowProtection(this._client);
20
+ this.status = new StatusAPI.Status(this._client);
21
+ }
22
+ }
23
+ AdvancedTCPProtection.Allowlist = Allowlist;
24
+ AdvancedTCPProtection.AllowlistListResponsesV4PagePaginationArray =
25
+ AllowlistListResponsesV4PagePaginationArray;
26
+ AdvancedTCPProtection.Prefixes = Prefixes;
27
+ AdvancedTCPProtection.PrefixListResponsesV4PagePaginationArray = PrefixListResponsesV4PagePaginationArray;
28
+ AdvancedTCPProtection.PrefixBulkCreateResponsesSinglePage = PrefixBulkCreateResponsesSinglePage;
29
+ AdvancedTCPProtection.SynProtection = SynProtection;
30
+ AdvancedTCPProtection.TCPFlowProtection = TCPFlowProtection;
31
+ AdvancedTCPProtection.Status = Status;
32
+ //# sourceMappingURL=advanced-tcp-protection.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"advanced-tcp-protection.mjs","sourceRoot":"","sources":["../../../src/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAA4E;OACpF,KAAK,YAAY;OACjB,EACL,SAAS,EAOT,2CAA2C,GAC5C;OACM,KAAK,WAAW;OAChB,EAGL,mCAAmC,EAOnC,wCAAwC,EACxC,QAAQ,GACT;OACM,KAAK,gBAAgB;OACrB,EAAE,aAAa,EAAE;OACjB,KAAK,oBAAoB;OACzB,EAAE,iBAAiB,EAAE;AAE5B,MAAM,OAAO,qBAAsB,SAAQ,WAAW;IAAtD;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,kBAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjG,sBAAiB,GAA2C,IAAI,oBAAoB,CAAC,iBAAiB,CACpG,IAAI,CAAC,OAAO,CACb,CAAC;QACF,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AAED,qBAAqB,CAAC,SAAS,GAAG,SAAS,CAAC;AAC5C,qBAAqB,CAAC,2CAA2C;IAC/D,2CAA2C,CAAC;AAC9C,qBAAqB,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC1C,qBAAqB,CAAC,wCAAwC,GAAG,wCAAwC,CAAC;AAC1G,qBAAqB,CAAC,mCAAmC,GAAG,mCAAmC,CAAC;AAChG,qBAAqB,CAAC,aAAa,GAAG,aAAa,CAAC;AACpD,qBAAqB,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;AAC5D,qBAAqB,CAAC,MAAM,GAAG,MAAM,CAAC"}
@@ -0,0 +1,180 @@
1
+ import { APIResource } from "../../../../resource.js";
2
+ import * as Core from "../../../../core.js";
3
+ import * as ItemsAPI from "./items.js";
4
+ import { ItemDeleteParams, ItemDeleteResponse, ItemEditParams, ItemEditResponse, ItemGetParams, ItemGetResponse, Items } from "./items.js";
5
+ import { V4PagePaginationArray, type V4PagePaginationArrayParams } from "../../../../pagination.js";
6
+ export declare class Allowlist extends APIResource {
7
+ items: ItemsAPI.Items;
8
+ /**
9
+ * Create an allowlist prefix for an account.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const allowlist =
14
+ * await client.DDoSProtection.advancedTCPProtection.allowlist.create(
15
+ * {
16
+ * account_id: '023e105f4ecef8ad9ca31a8372d0c353',
17
+ * comment: 'comment',
18
+ * enabled: true,
19
+ * prefix: 'prefix',
20
+ * },
21
+ * );
22
+ * ```
23
+ */
24
+ create(params: AllowlistCreateParams, options?: Core.RequestOptions): Core.APIPromise<AllowlistCreateResponse>;
25
+ /**
26
+ * List all allowlist prefixes for an account.
27
+ *
28
+ * @example
29
+ * ```ts
30
+ * // Automatically fetches more pages as needed.
31
+ * for await (const allowlistListResponse of client.DDoSProtection.advancedTCPProtection.allowlist.list(
32
+ * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
33
+ * )) {
34
+ * // ...
35
+ * }
36
+ * ```
37
+ */
38
+ list(params: AllowlistListParams, options?: Core.RequestOptions): Core.PagePromise<AllowlistListResponsesV4PagePaginationArray, AllowlistListResponse>;
39
+ /**
40
+ * Delete all allowlist prefixes for an account.
41
+ *
42
+ * @example
43
+ * ```ts
44
+ * const response =
45
+ * await client.DDoSProtection.advancedTCPProtection.allowlist.bulkDelete(
46
+ * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
47
+ * );
48
+ * ```
49
+ */
50
+ bulkDelete(params: AllowlistBulkDeleteParams, options?: Core.RequestOptions): Core.APIPromise<AllowlistBulkDeleteResponse>;
51
+ }
52
+ export declare class AllowlistListResponsesV4PagePaginationArray extends V4PagePaginationArray<AllowlistListResponse> {
53
+ }
54
+ export interface AllowlistCreateResponse {
55
+ /**
56
+ * The unique ID of the allowlist prefix.
57
+ */
58
+ id: string;
59
+ /**
60
+ * An optional comment describing the allowlist prefix.
61
+ */
62
+ comment: string;
63
+ /**
64
+ * The creation timestamp of the allowlist prefix.
65
+ */
66
+ created_on: string;
67
+ /**
68
+ * Whether to enable the allowlist prefix into effect. Defaults to false.
69
+ */
70
+ enabled: boolean;
71
+ /**
72
+ * The last modification timestamp of the allowlist prefix.
73
+ */
74
+ modified_on: string;
75
+ /**
76
+ * The allowlist prefix in CIDR format.
77
+ */
78
+ prefix: string;
79
+ }
80
+ export interface AllowlistListResponse {
81
+ /**
82
+ * The unique ID of the allowlist prefix.
83
+ */
84
+ id: string;
85
+ /**
86
+ * An optional comment describing the allowlist prefix.
87
+ */
88
+ comment: string;
89
+ /**
90
+ * The creation timestamp of the allowlist prefix.
91
+ */
92
+ created_on: string;
93
+ /**
94
+ * Whether to enable the allowlist prefix into effect. Defaults to false.
95
+ */
96
+ enabled: boolean;
97
+ /**
98
+ * The last modification timestamp of the allowlist prefix.
99
+ */
100
+ modified_on: string;
101
+ /**
102
+ * The allowlist prefix in CIDR format.
103
+ */
104
+ prefix: string;
105
+ }
106
+ export interface AllowlistBulkDeleteResponse {
107
+ errors: Array<AllowlistBulkDeleteResponse.Error>;
108
+ messages: Array<AllowlistBulkDeleteResponse.Message>;
109
+ /**
110
+ * Whether the API call was successful.
111
+ */
112
+ success: true;
113
+ }
114
+ export declare namespace AllowlistBulkDeleteResponse {
115
+ interface Error {
116
+ code: number;
117
+ message: string;
118
+ documentation_url?: string;
119
+ source?: Error.Source;
120
+ }
121
+ namespace Error {
122
+ interface Source {
123
+ pointer?: string;
124
+ }
125
+ }
126
+ interface Message {
127
+ code: number;
128
+ message: string;
129
+ documentation_url?: string;
130
+ source?: Message.Source;
131
+ }
132
+ namespace Message {
133
+ interface Source {
134
+ pointer?: string;
135
+ }
136
+ }
137
+ }
138
+ export interface AllowlistCreateParams {
139
+ /**
140
+ * Path param: Identifier.
141
+ */
142
+ account_id: string;
143
+ /**
144
+ * Body param: An comment describing the allowlist prefix.
145
+ */
146
+ comment: string;
147
+ /**
148
+ * Body param: Whether to enable the allowlist prefix into effect.
149
+ */
150
+ enabled: boolean;
151
+ /**
152
+ * Body param: The allowlist prefix to add in CIDR format.
153
+ */
154
+ prefix: string;
155
+ }
156
+ export interface AllowlistListParams extends V4PagePaginationArrayParams {
157
+ /**
158
+ * Path param: Identifier.
159
+ */
160
+ account_id: string;
161
+ /**
162
+ * Query param: The direction of ordering (ASC or DESC). Defaults to 'ASC'.
163
+ */
164
+ direction?: string;
165
+ /**
166
+ * Query param: The field to order by. Defaults to 'prefix'.
167
+ */
168
+ order?: string;
169
+ }
170
+ export interface AllowlistBulkDeleteParams {
171
+ /**
172
+ * Identifier.
173
+ */
174
+ account_id: string;
175
+ }
176
+ export declare namespace Allowlist {
177
+ export { type AllowlistCreateResponse as AllowlistCreateResponse, type AllowlistListResponse as AllowlistListResponse, type AllowlistBulkDeleteResponse as AllowlistBulkDeleteResponse, AllowlistListResponsesV4PagePaginationArray as AllowlistListResponsesV4PagePaginationArray, type AllowlistCreateParams as AllowlistCreateParams, type AllowlistListParams as AllowlistListParams, type AllowlistBulkDeleteParams as AllowlistBulkDeleteParams, };
178
+ export { Items as Items, type ItemDeleteResponse as ItemDeleteResponse, type ItemEditResponse as ItemEditResponse, type ItemGetResponse as ItemGetResponse, type ItemDeleteParams as ItemDeleteParams, type ItemEditParams as ItemEditParams, type ItemGetParams as ItemGetParams, };
179
+ }
180
+ //# sourceMappingURL=allowlist.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"allowlist.d.ts","sourceRoot":"","sources":["../../../../src/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,99 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || function (mod) {
20
+ if (mod && mod.__esModule) return mod;
21
+ var result = {};
22
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
23
+ __setModuleDefault(result, mod);
24
+ return result;
25
+ };
26
+ Object.defineProperty(exports, "__esModule", { value: true });
27
+ exports.AllowlistListResponsesV4PagePaginationArray = exports.Allowlist = void 0;
28
+ const resource_1 = require("../../../../resource.js");
29
+ const ItemsAPI = __importStar(require("./items.js"));
30
+ const items_1 = require("./items.js");
31
+ const pagination_1 = require("../../../../pagination.js");
32
+ class Allowlist extends resource_1.APIResource {
33
+ constructor() {
34
+ super(...arguments);
35
+ this.items = new ItemsAPI.Items(this._client);
36
+ }
37
+ /**
38
+ * Create an allowlist prefix for an account.
39
+ *
40
+ * @example
41
+ * ```ts
42
+ * const allowlist =
43
+ * await client.DDoSProtection.advancedTCPProtection.allowlist.create(
44
+ * {
45
+ * account_id: '023e105f4ecef8ad9ca31a8372d0c353',
46
+ * comment: 'comment',
47
+ * enabled: true,
48
+ * prefix: 'prefix',
49
+ * },
50
+ * );
51
+ * ```
52
+ */
53
+ create(params, options) {
54
+ const { account_id, ...body } = params;
55
+ return this._client.post(`/accounts/${account_id}/magic/advanced_tcp_protection/configs/allowlist`, {
56
+ body,
57
+ ...options,
58
+ })._thenUnwrap((obj) => obj.result);
59
+ }
60
+ /**
61
+ * List all allowlist prefixes for an account.
62
+ *
63
+ * @example
64
+ * ```ts
65
+ * // Automatically fetches more pages as needed.
66
+ * for await (const allowlistListResponse of client.DDoSProtection.advancedTCPProtection.allowlist.list(
67
+ * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
68
+ * )) {
69
+ * // ...
70
+ * }
71
+ * ```
72
+ */
73
+ list(params, options) {
74
+ const { account_id, ...query } = params;
75
+ return this._client.getAPIList(`/accounts/${account_id}/magic/advanced_tcp_protection/configs/allowlist`, AllowlistListResponsesV4PagePaginationArray, { query, ...options });
76
+ }
77
+ /**
78
+ * Delete all allowlist prefixes for an account.
79
+ *
80
+ * @example
81
+ * ```ts
82
+ * const response =
83
+ * await client.DDoSProtection.advancedTCPProtection.allowlist.bulkDelete(
84
+ * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
85
+ * );
86
+ * ```
87
+ */
88
+ bulkDelete(params, options) {
89
+ const { account_id } = params;
90
+ return this._client.delete(`/accounts/${account_id}/magic/advanced_tcp_protection/configs/allowlist`, options);
91
+ }
92
+ }
93
+ exports.Allowlist = Allowlist;
94
+ class AllowlistListResponsesV4PagePaginationArray extends pagination_1.V4PagePaginationArray {
95
+ }
96
+ exports.AllowlistListResponsesV4PagePaginationArray = AllowlistListResponsesV4PagePaginationArray;
97
+ Allowlist.AllowlistListResponsesV4PagePaginationArray = AllowlistListResponsesV4PagePaginationArray;
98
+ Allowlist.Items = items_1.Items;
99
+ //# sourceMappingURL=allowlist.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"allowlist.js","sourceRoot":"","sources":["../../../../src/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,sDAAmD;AAEnD,qDAAoC;AACpC,sCAQiB;AACjB,0DAAiG;AAEjG,MAAa,SAAU,SAAQ,sBAAW;IAA1C;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA6E3D,CAAC;IA3EC;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CACJ,MAA6B,EAC7B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACvC,OACE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,UAAU,kDAAkD,EAAE;YAC3F,IAAI;YACJ,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,MAA2B,EAC3B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,aAAa,UAAU,kDAAkD,EACzE,2CAA2C,EAC3C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;OAUG;IACH,UAAU,CACR,MAAiC,EACjC,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CACxB,aAAa,UAAU,kDAAkD,EACzE,OAAO,CACR,CAAC;IACJ,CAAC;CACF;AA9ED,8BA8EC;AAED,MAAa,2CAA4C,SAAQ,kCAA4C;CAAG;AAAhH,kGAAgH;AA6JhH,SAAS,CAAC,2CAA2C,GAAG,2CAA2C,CAAC;AACpG,SAAS,CAAC,KAAK,GAAG,aAAK,CAAC"}
@@ -0,0 +1,71 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../../../resource.mjs";
3
+ import * as ItemsAPI from "./items.mjs";
4
+ import { Items, } from "./items.mjs";
5
+ import { V4PagePaginationArray } from "../../../../pagination.mjs";
6
+ export class Allowlist extends APIResource {
7
+ constructor() {
8
+ super(...arguments);
9
+ this.items = new ItemsAPI.Items(this._client);
10
+ }
11
+ /**
12
+ * Create an allowlist prefix for an account.
13
+ *
14
+ * @example
15
+ * ```ts
16
+ * const allowlist =
17
+ * await client.DDoSProtection.advancedTCPProtection.allowlist.create(
18
+ * {
19
+ * account_id: '023e105f4ecef8ad9ca31a8372d0c353',
20
+ * comment: 'comment',
21
+ * enabled: true,
22
+ * prefix: 'prefix',
23
+ * },
24
+ * );
25
+ * ```
26
+ */
27
+ create(params, options) {
28
+ const { account_id, ...body } = params;
29
+ return this._client.post(`/accounts/${account_id}/magic/advanced_tcp_protection/configs/allowlist`, {
30
+ body,
31
+ ...options,
32
+ })._thenUnwrap((obj) => obj.result);
33
+ }
34
+ /**
35
+ * List all allowlist prefixes for an account.
36
+ *
37
+ * @example
38
+ * ```ts
39
+ * // Automatically fetches more pages as needed.
40
+ * for await (const allowlistListResponse of client.DDoSProtection.advancedTCPProtection.allowlist.list(
41
+ * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
42
+ * )) {
43
+ * // ...
44
+ * }
45
+ * ```
46
+ */
47
+ list(params, options) {
48
+ const { account_id, ...query } = params;
49
+ return this._client.getAPIList(`/accounts/${account_id}/magic/advanced_tcp_protection/configs/allowlist`, AllowlistListResponsesV4PagePaginationArray, { query, ...options });
50
+ }
51
+ /**
52
+ * Delete all allowlist prefixes for an account.
53
+ *
54
+ * @example
55
+ * ```ts
56
+ * const response =
57
+ * await client.DDoSProtection.advancedTCPProtection.allowlist.bulkDelete(
58
+ * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
59
+ * );
60
+ * ```
61
+ */
62
+ bulkDelete(params, options) {
63
+ const { account_id } = params;
64
+ return this._client.delete(`/accounts/${account_id}/magic/advanced_tcp_protection/configs/allowlist`, options);
65
+ }
66
+ }
67
+ export class AllowlistListResponsesV4PagePaginationArray extends V4PagePaginationArray {
68
+ }
69
+ Allowlist.AllowlistListResponsesV4PagePaginationArray = AllowlistListResponsesV4PagePaginationArray;
70
+ Allowlist.Items = Items;
71
+ //# sourceMappingURL=allowlist.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"allowlist.mjs","sourceRoot":"","sources":["../../../../src/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,QAAQ;OACb,EAOL,KAAK,GACN;OACM,EAAE,qBAAqB,EAAoC;AAElE,MAAM,OAAO,SAAU,SAAQ,WAAW;IAA1C;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA6E3D,CAAC;IA3EC;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CACJ,MAA6B,EAC7B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACvC,OACE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,UAAU,kDAAkD,EAAE;YAC3F,IAAI;YACJ,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,MAA2B,EAC3B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,aAAa,UAAU,kDAAkD,EACzE,2CAA2C,EAC3C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;OAUG;IACH,UAAU,CACR,MAAiC,EACjC,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CACxB,aAAa,UAAU,kDAAkD,EACzE,OAAO,CACR,CAAC;IACJ,CAAC;CACF;AAED,MAAM,OAAO,2CAA4C,SAAQ,qBAA4C;CAAG;AA6JhH,SAAS,CAAC,2CAA2C,GAAG,2CAA2C,CAAC;AACpG,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { AllowlistListResponsesV4PagePaginationArray, Allowlist, type AllowlistCreateResponse, type AllowlistListResponse, type AllowlistBulkDeleteResponse, type AllowlistCreateParams, type AllowlistListParams, type AllowlistBulkDeleteParams, } from "./allowlist.js";
2
+ export { Items, type ItemDeleteResponse, type ItemEditResponse, type ItemGetResponse, type ItemDeleteParams, type ItemEditParams, type ItemGetParams, } from "./items.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/resources/ddos-protection/advanced-tcp-protection/allowlist/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,2CAA2C,EAC3C,SAAS,EACT,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,GAC/B,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,KAAK,EACL,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,aAAa,GACnB,MAAM,SAAS,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Items = exports.Allowlist = exports.AllowlistListResponsesV4PagePaginationArray = void 0;
5
+ var allowlist_1 = require("./allowlist.js");
6
+ Object.defineProperty(exports, "AllowlistListResponsesV4PagePaginationArray", { enumerable: true, get: function () { return allowlist_1.AllowlistListResponsesV4PagePaginationArray; } });
7
+ Object.defineProperty(exports, "Allowlist", { enumerable: true, get: function () { return allowlist_1.Allowlist; } });
8
+ var items_1 = require("./items.js");
9
+ Object.defineProperty(exports, "Items", { enumerable: true, get: function () { return items_1.Items; } });
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/ddos-protection/advanced-tcp-protection/allowlist/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CASqB;AARnB,wIAAA,2CAA2C,OAAA;AAC3C,sGAAA,SAAS,OAAA;AAQX,oCAQiB;AAPf,8FAAA,KAAK,OAAA"}
@@ -0,0 +1,4 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { AllowlistListResponsesV4PagePaginationArray, Allowlist, } from "./allowlist.mjs";
3
+ export { Items, } from "./items.mjs";
4
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../../src/resources/ddos-protection/advanced-tcp-protection/allowlist/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,2CAA2C,EAC3C,SAAS,GAOV;OACM,EACL,KAAK,GAON"}
@@ -0,0 +1,157 @@
1
+ import { APIResource } from "../../../../resource.js";
2
+ import * as Core from "../../../../core.js";
3
+ export declare class Items extends APIResource {
4
+ /**
5
+ * Delete the allowlist prefix for an account given a UUID.
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * const item =
10
+ * await client.DDoSProtection.advancedTCPProtection.allowlist.items.delete(
11
+ * 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415',
12
+ * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
13
+ * );
14
+ * ```
15
+ */
16
+ delete(prefixId: string, params: ItemDeleteParams, options?: Core.RequestOptions): Core.APIPromise<ItemDeleteResponse>;
17
+ /**
18
+ * Update an allowlist prefix specified by the given UUID.
19
+ *
20
+ * @example
21
+ * ```ts
22
+ * const response =
23
+ * await client.DDoSProtection.advancedTCPProtection.allowlist.items.edit(
24
+ * 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415',
25
+ * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
26
+ * );
27
+ * ```
28
+ */
29
+ edit(prefixId: string, params: ItemEditParams, options?: Core.RequestOptions): Core.APIPromise<ItemEditResponse>;
30
+ /**
31
+ * Get an allowlist prefix specified by the given UUID.
32
+ *
33
+ * @example
34
+ * ```ts
35
+ * const item =
36
+ * await client.DDoSProtection.advancedTCPProtection.allowlist.items.get(
37
+ * 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415',
38
+ * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
39
+ * );
40
+ * ```
41
+ */
42
+ get(prefixId: string, params: ItemGetParams, options?: Core.RequestOptions): Core.APIPromise<ItemGetResponse>;
43
+ }
44
+ export interface ItemDeleteResponse {
45
+ errors: Array<ItemDeleteResponse.Error>;
46
+ messages: Array<ItemDeleteResponse.Message>;
47
+ /**
48
+ * Whether the API call was successful.
49
+ */
50
+ success: true;
51
+ }
52
+ export declare namespace ItemDeleteResponse {
53
+ interface Error {
54
+ code: number;
55
+ message: string;
56
+ documentation_url?: string;
57
+ source?: Error.Source;
58
+ }
59
+ namespace Error {
60
+ interface Source {
61
+ pointer?: string;
62
+ }
63
+ }
64
+ interface Message {
65
+ code: number;
66
+ message: string;
67
+ documentation_url?: string;
68
+ source?: Message.Source;
69
+ }
70
+ namespace Message {
71
+ interface Source {
72
+ pointer?: string;
73
+ }
74
+ }
75
+ }
76
+ export interface ItemEditResponse {
77
+ /**
78
+ * The unique ID of the allowlist prefix.
79
+ */
80
+ id: string;
81
+ /**
82
+ * An optional comment describing the allowlist prefix.
83
+ */
84
+ comment: string;
85
+ /**
86
+ * The creation timestamp of the allowlist prefix.
87
+ */
88
+ created_on: string;
89
+ /**
90
+ * Whether to enable the allowlist prefix into effect. Defaults to false.
91
+ */
92
+ enabled: boolean;
93
+ /**
94
+ * The last modification timestamp of the allowlist prefix.
95
+ */
96
+ modified_on: string;
97
+ /**
98
+ * The allowlist prefix in CIDR format.
99
+ */
100
+ prefix: string;
101
+ }
102
+ export interface ItemGetResponse {
103
+ /**
104
+ * The unique ID of the allowlist prefix.
105
+ */
106
+ id: string;
107
+ /**
108
+ * An optional comment describing the allowlist prefix.
109
+ */
110
+ comment: string;
111
+ /**
112
+ * The creation timestamp of the allowlist prefix.
113
+ */
114
+ created_on: string;
115
+ /**
116
+ * Whether to enable the allowlist prefix into effect. Defaults to false.
117
+ */
118
+ enabled: boolean;
119
+ /**
120
+ * The last modification timestamp of the allowlist prefix.
121
+ */
122
+ modified_on: string;
123
+ /**
124
+ * The allowlist prefix in CIDR format.
125
+ */
126
+ prefix: string;
127
+ }
128
+ export interface ItemDeleteParams {
129
+ /**
130
+ * Identifier.
131
+ */
132
+ account_id: string;
133
+ }
134
+ export interface ItemEditParams {
135
+ /**
136
+ * Path param: Identifier.
137
+ */
138
+ account_id: string;
139
+ /**
140
+ * Body param: A comment describing the allowlist prefix. Optional.
141
+ */
142
+ comment?: string;
143
+ /**
144
+ * Body param: Whether to enable the allowlist prefix into effect. Optional.
145
+ */
146
+ enabled?: boolean;
147
+ }
148
+ export interface ItemGetParams {
149
+ /**
150
+ * Identifier.
151
+ */
152
+ account_id: string;
153
+ }
154
+ export declare namespace Items {
155
+ export { type ItemDeleteResponse as ItemDeleteResponse, type ItemEditResponse as ItemEditResponse, type ItemGetResponse as ItemGetResponse, type ItemDeleteParams as ItemDeleteParams, type ItemEditParams as ItemEditParams, type ItemGetParams as ItemGetParams, };
156
+ }
157
+ //# sourceMappingURL=items.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"items.d.ts","sourceRoot":"","sources":["../../../../src/resources/ddos-protection/advanced-tcp-protection/allowlist/items.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Items = void 0;
5
+ const resource_1 = require("../../../../resource.js");
6
+ class Items extends resource_1.APIResource {
7
+ /**
8
+ * Delete the allowlist prefix for an account given a UUID.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const item =
13
+ * await client.DDoSProtection.advancedTCPProtection.allowlist.items.delete(
14
+ * 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415',
15
+ * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
16
+ * );
17
+ * ```
18
+ */
19
+ delete(prefixId, params, options) {
20
+ const { account_id } = params;
21
+ return this._client.delete(`/accounts/${account_id}/magic/advanced_tcp_protection/configs/allowlist/${prefixId}`, options);
22
+ }
23
+ /**
24
+ * Update an allowlist prefix specified by the given UUID.
25
+ *
26
+ * @example
27
+ * ```ts
28
+ * const response =
29
+ * await client.DDoSProtection.advancedTCPProtection.allowlist.items.edit(
30
+ * 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415',
31
+ * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
32
+ * );
33
+ * ```
34
+ */
35
+ edit(prefixId, params, options) {
36
+ const { account_id, ...body } = params;
37
+ return this._client.patch(`/accounts/${account_id}/magic/advanced_tcp_protection/configs/allowlist/${prefixId}`, { body, ...options })._thenUnwrap((obj) => obj.result);
38
+ }
39
+ /**
40
+ * Get an allowlist prefix specified by the given UUID.
41
+ *
42
+ * @example
43
+ * ```ts
44
+ * const item =
45
+ * await client.DDoSProtection.advancedTCPProtection.allowlist.items.get(
46
+ * 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415',
47
+ * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
48
+ * );
49
+ * ```
50
+ */
51
+ get(prefixId, params, options) {
52
+ const { account_id } = params;
53
+ return this._client.get(`/accounts/${account_id}/magic/advanced_tcp_protection/configs/allowlist/${prefixId}`, options)._thenUnwrap((obj) => obj.result);
54
+ }
55
+ }
56
+ exports.Items = Items;
57
+ //# sourceMappingURL=items.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"items.js","sourceRoot":"","sources":["../../../../src/resources/ddos-protection/advanced-tcp-protection/allowlist/items.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sDAAmD;AAGnD,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,QAAgB,EAChB,MAAwB,EACxB,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CACxB,aAAa,UAAU,oDAAoD,QAAQ,EAAE,EACrF,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAAgB,EAChB,MAAsB,EACtB,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACvC,OACE,IAAI,CAAC,OAAO,CAAC,KAAK,CAChB,aAAa,UAAU,oDAAoD,QAAQ,EAAE,EACrF,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAEvB,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;;;;;;;;;;OAWG;IACH,GAAG,CACD,QAAgB,EAChB,MAAqB,EACrB,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CACd,aAAa,UAAU,oDAAoD,QAAQ,EAAE,EACrF,OAAO,CAEV,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;CACF;AA5ED,sBA4EC"}