cloudflare 6.1.0 → 6.3.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 (1021) hide show
  1. package/CHANGELOG.md +405 -0
  2. package/index.d.mts +9 -0
  3. package/index.d.ts +9 -0
  4. package/index.d.ts.map +1 -1
  5. package/index.js +9 -0
  6. package/index.js.map +1 -1
  7. package/index.mjs +9 -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/models/models.d.ts +5 -0
  17. package/resources/ai/models/models.d.ts.map +1 -1
  18. package/resources/ai/models/models.js.map +1 -1
  19. package/resources/ai/models/models.mjs.map +1 -1
  20. package/resources/ai-gateway/ai-gateway.d.ts +241 -0
  21. package/resources/ai-gateway/ai-gateway.d.ts.map +1 -1
  22. package/resources/ai-gateway/ai-gateway.js +4 -0
  23. package/resources/ai-gateway/ai-gateway.js.map +1 -1
  24. package/resources/ai-gateway/ai-gateway.mjs +4 -0
  25. package/resources/ai-gateway/ai-gateway.mjs.map +1 -1
  26. package/resources/ai-gateway/billing/billing.d.ts +202 -0
  27. package/resources/ai-gateway/billing/billing.d.ts.map +1 -0
  28. package/resources/ai-gateway/billing/billing.js +111 -0
  29. package/resources/ai-gateway/billing/billing.js.map +1 -0
  30. package/resources/ai-gateway/billing/billing.mjs +84 -0
  31. package/resources/ai-gateway/billing/billing.mjs.map +1 -0
  32. package/resources/ai-gateway/billing/index.d.ts +4 -0
  33. package/resources/ai-gateway/billing/index.d.ts.map +1 -0
  34. package/resources/ai-gateway/billing/index.js +11 -0
  35. package/resources/ai-gateway/billing/index.js.map +1 -0
  36. package/resources/ai-gateway/billing/index.mjs +5 -0
  37. package/resources/ai-gateway/billing/index.mjs.map +1 -0
  38. package/resources/ai-gateway/billing/spending-limit.d.ts +90 -0
  39. package/resources/ai-gateway/billing/spending-limit.d.ts.map +1 -0
  40. package/resources/ai-gateway/billing/spending-limit.js +60 -0
  41. package/resources/ai-gateway/billing/spending-limit.js.map +1 -0
  42. package/resources/ai-gateway/billing/spending-limit.mjs +56 -0
  43. package/resources/ai-gateway/billing/spending-limit.mjs.map +1 -0
  44. package/resources/ai-gateway/billing/topup/config.d.ts +84 -0
  45. package/resources/ai-gateway/billing/topup/config.d.ts.map +1 -0
  46. package/resources/ai-gateway/billing/topup/config.js +59 -0
  47. package/resources/ai-gateway/billing/topup/config.js.map +1 -0
  48. package/resources/ai-gateway/billing/topup/config.mjs +55 -0
  49. package/resources/ai-gateway/billing/topup/config.mjs.map +1 -0
  50. package/resources/ai-gateway/billing/topup/index.d.ts +3 -0
  51. package/resources/ai-gateway/billing/topup/index.d.ts.map +1 -0
  52. package/resources/ai-gateway/billing/topup/index.js +9 -0
  53. package/resources/ai-gateway/billing/topup/index.js.map +1 -0
  54. package/resources/ai-gateway/billing/topup/index.mjs +4 -0
  55. package/resources/ai-gateway/billing/topup/index.mjs.map +1 -0
  56. package/resources/ai-gateway/billing/topup/topup.d.ts +83 -0
  57. package/resources/ai-gateway/billing/topup/topup.d.ts.map +1 -0
  58. package/resources/ai-gateway/billing/topup/topup.js +76 -0
  59. package/resources/ai-gateway/billing/topup/topup.js.map +1 -0
  60. package/resources/ai-gateway/billing/topup/topup.mjs +49 -0
  61. package/resources/ai-gateway/billing/topup/topup.mjs.map +1 -0
  62. package/resources/ai-gateway/billing/topup.d.ts +2 -0
  63. package/resources/ai-gateway/billing/topup.d.ts.map +1 -0
  64. package/resources/ai-gateway/billing/topup.js +19 -0
  65. package/resources/ai-gateway/billing/topup.js.map +1 -0
  66. package/resources/ai-gateway/billing/topup.mjs +3 -0
  67. package/resources/ai-gateway/billing/topup.mjs.map +1 -0
  68. package/resources/ai-gateway/billing.d.ts +2 -0
  69. package/resources/ai-gateway/billing.d.ts.map +1 -0
  70. package/resources/ai-gateway/billing.js +19 -0
  71. package/resources/ai-gateway/billing.js.map +1 -0
  72. package/resources/ai-gateway/billing.mjs +3 -0
  73. package/resources/ai-gateway/billing.mjs.map +1 -0
  74. package/resources/ai-gateway/dynamic-routing.d.ts +17 -0
  75. package/resources/ai-gateway/dynamic-routing.d.ts.map +1 -1
  76. package/resources/ai-gateway/dynamic-routing.js +5 -2
  77. package/resources/ai-gateway/dynamic-routing.js.map +1 -1
  78. package/resources/ai-gateway/dynamic-routing.mjs +5 -2
  79. package/resources/ai-gateway/dynamic-routing.mjs.map +1 -1
  80. package/resources/ai-gateway/index.d.ts +1 -0
  81. package/resources/ai-gateway/index.d.ts.map +1 -1
  82. package/resources/ai-gateway/index.js +3 -1
  83. package/resources/ai-gateway/index.js.map +1 -1
  84. package/resources/ai-gateway/index.mjs +1 -0
  85. package/resources/ai-gateway/index.mjs.map +1 -1
  86. package/resources/ai-security/ai-security.d.ts +70 -0
  87. package/resources/ai-security/ai-security.d.ts.map +1 -0
  88. package/resources/ai-security/ai-security.js +69 -0
  89. package/resources/ai-security/ai-security.js.map +1 -0
  90. package/resources/ai-security/ai-security.mjs +42 -0
  91. package/resources/ai-security/ai-security.mjs.map +1 -0
  92. package/resources/ai-security/custom-topics.d.ts +105 -0
  93. package/resources/ai-security/custom-topics.d.ts.map +1 -0
  94. package/resources/ai-security/custom-topics.js +48 -0
  95. package/resources/ai-security/custom-topics.js.map +1 -0
  96. package/resources/ai-security/custom-topics.mjs +44 -0
  97. package/resources/ai-security/custom-topics.mjs.map +1 -0
  98. package/resources/ai-security/index.d.ts +3 -0
  99. package/resources/ai-security/index.d.ts.map +1 -0
  100. package/resources/ai-security/index.js +9 -0
  101. package/resources/ai-security/index.js.map +1 -0
  102. package/resources/ai-security/index.mjs +4 -0
  103. package/resources/ai-security/index.mjs.map +1 -0
  104. package/resources/ai-security.d.ts +2 -0
  105. package/resources/ai-security.d.ts.map +1 -0
  106. package/resources/ai-security.js +19 -0
  107. package/resources/ai-security.js.map +1 -0
  108. package/resources/ai-security.mjs +3 -0
  109. package/resources/ai-security.mjs.map +1 -0
  110. package/resources/aisearch/instances/instances.d.ts +75 -21
  111. package/resources/aisearch/instances/instances.d.ts.map +1 -1
  112. package/resources/aisearch/instances/instances.js.map +1 -1
  113. package/resources/aisearch/instances/instances.mjs.map +1 -1
  114. package/resources/aisearch/namespaces/instances/instances.d.ts +75 -21
  115. package/resources/aisearch/namespaces/instances/instances.d.ts.map +1 -1
  116. package/resources/aisearch/namespaces/instances/instances.js.map +1 -1
  117. package/resources/aisearch/namespaces/instances/instances.mjs.map +1 -1
  118. package/resources/billing/billing.d.ts +2 -2
  119. package/resources/billing/billing.d.ts.map +1 -1
  120. package/resources/billing/billing.js.map +1 -1
  121. package/resources/billing/billing.mjs.map +1 -1
  122. package/resources/billing/index.d.ts +1 -1
  123. package/resources/billing/index.d.ts.map +1 -1
  124. package/resources/billing/index.js.map +1 -1
  125. package/resources/billing/index.mjs +1 -1
  126. package/resources/billing/index.mjs.map +1 -1
  127. package/resources/billing/usage.d.ts +213 -3
  128. package/resources/billing/usage.d.ts.map +1 -1
  129. package/resources/billing/usage.js +20 -4
  130. package/resources/billing/usage.js.map +1 -1
  131. package/resources/billing/usage.mjs +20 -4
  132. package/resources/billing/usage.mjs.map +1 -1
  133. package/resources/cloudforce-one/threat-events/countries.d.ts +1 -0
  134. package/resources/cloudforce-one/threat-events/countries.d.ts.map +1 -1
  135. package/resources/cloudforce-one/threat-events/threat-events.d.ts +1 -1
  136. package/resources/cloudforce-one/threat-events/threat-events.d.ts.map +1 -1
  137. package/resources/custom-certificates/custom-certificates.d.ts +9 -7
  138. package/resources/custom-certificates/custom-certificates.d.ts.map +1 -1
  139. package/resources/custom-certificates/custom-certificates.js +0 -2
  140. package/resources/custom-certificates/custom-certificates.js.map +1 -1
  141. package/resources/custom-certificates/custom-certificates.mjs +0 -2
  142. package/resources/custom-certificates/custom-certificates.mjs.map +1 -1
  143. package/resources/d1/d1.d.ts +3 -3
  144. package/resources/d1/database/database.d.ts +17 -0
  145. package/resources/d1/database/database.d.ts.map +1 -1
  146. package/resources/d1/database/database.js.map +1 -1
  147. package/resources/d1/database/database.mjs.map +1 -1
  148. package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.d.ts +26 -0
  149. package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.d.ts.map +1 -0
  150. package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.js +59 -0
  151. package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.js.map +1 -0
  152. package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.mjs +32 -0
  153. package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.mjs.map +1 -0
  154. package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.d.ts +180 -0
  155. package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.d.ts.map +1 -0
  156. package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.js +99 -0
  157. package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.js.map +1 -0
  158. package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.mjs +71 -0
  159. package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.mjs.map +1 -0
  160. package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.d.ts +3 -0
  161. package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.d.ts.map +1 -0
  162. package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.js +10 -0
  163. package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.js.map +1 -0
  164. package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.mjs +4 -0
  165. package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.mjs.map +1 -0
  166. package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.d.ts +157 -0
  167. package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.d.ts.map +1 -0
  168. package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.js +57 -0
  169. package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.js.map +1 -0
  170. package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.mjs +53 -0
  171. package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.mjs.map +1 -0
  172. package/resources/ddos-protection/advanced-tcp-protection/allowlist.d.ts +2 -0
  173. package/resources/ddos-protection/advanced-tcp-protection/allowlist.d.ts.map +1 -0
  174. package/resources/ddos-protection/advanced-tcp-protection/allowlist.js +19 -0
  175. package/resources/ddos-protection/advanced-tcp-protection/allowlist.js.map +1 -0
  176. package/resources/ddos-protection/advanced-tcp-protection/allowlist.mjs +3 -0
  177. package/resources/ddos-protection/advanced-tcp-protection/allowlist.mjs.map +1 -0
  178. package/resources/ddos-protection/advanced-tcp-protection/index.d.ts +7 -0
  179. package/resources/ddos-protection/advanced-tcp-protection/index.d.ts.map +1 -0
  180. package/resources/ddos-protection/advanced-tcp-protection/index.js +20 -0
  181. package/resources/ddos-protection/advanced-tcp-protection/index.js.map +1 -0
  182. package/resources/ddos-protection/advanced-tcp-protection/index.mjs +8 -0
  183. package/resources/ddos-protection/advanced-tcp-protection/index.mjs.map +1 -0
  184. package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.d.ts +3 -0
  185. package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.d.ts.map +1 -0
  186. package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.js +11 -0
  187. package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.js.map +1 -0
  188. package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.mjs +4 -0
  189. package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.mjs.map +1 -0
  190. package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.d.ts +157 -0
  191. package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.d.ts.map +1 -0
  192. package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.js +57 -0
  193. package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.js.map +1 -0
  194. package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.mjs +53 -0
  195. package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.mjs.map +1 -0
  196. package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.d.ts +257 -0
  197. package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.d.ts.map +1 -0
  198. package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.js +129 -0
  199. package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.js.map +1 -0
  200. package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.mjs +100 -0
  201. package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.mjs.map +1 -0
  202. package/resources/ddos-protection/advanced-tcp-protection/prefixes.d.ts +2 -0
  203. package/resources/ddos-protection/advanced-tcp-protection/prefixes.d.ts.map +1 -0
  204. package/resources/ddos-protection/advanced-tcp-protection/prefixes.js +19 -0
  205. package/resources/ddos-protection/advanced-tcp-protection/prefixes.js.map +1 -0
  206. package/resources/ddos-protection/advanced-tcp-protection/prefixes.mjs +3 -0
  207. package/resources/ddos-protection/advanced-tcp-protection/prefixes.mjs.map +1 -0
  208. package/resources/ddos-protection/advanced-tcp-protection/status.d.ts +57 -0
  209. package/resources/ddos-protection/advanced-tcp-protection/status.d.ts.map +1 -0
  210. package/resources/ddos-protection/advanced-tcp-protection/status.js +42 -0
  211. package/resources/ddos-protection/advanced-tcp-protection/status.js.map +1 -0
  212. package/resources/ddos-protection/advanced-tcp-protection/status.mjs +38 -0
  213. package/resources/ddos-protection/advanced-tcp-protection/status.mjs.map +1 -0
  214. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.d.ts +174 -0
  215. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.d.ts.map +1 -0
  216. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.js +96 -0
  217. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.js.map +1 -0
  218. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.mjs +68 -0
  219. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.mjs.map +1 -0
  220. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.d.ts +3 -0
  221. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.d.ts.map +1 -0
  222. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.js +10 -0
  223. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.js.map +1 -0
  224. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.mjs +4 -0
  225. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.mjs.map +1 -0
  226. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.d.ts +150 -0
  227. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.d.ts.map +1 -0
  228. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.js +57 -0
  229. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.js.map +1 -0
  230. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.mjs +53 -0
  231. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.mjs.map +1 -0
  232. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.d.ts +2 -0
  233. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.d.ts.map +1 -0
  234. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.js +19 -0
  235. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.js.map +1 -0
  236. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.mjs +3 -0
  237. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.mjs.map +1 -0
  238. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.d.ts +4 -0
  239. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.d.ts.map +1 -0
  240. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.js +13 -0
  241. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.js.map +1 -0
  242. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.mjs +5 -0
  243. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.mjs.map +1 -0
  244. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.d.ts +3 -0
  245. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.d.ts.map +1 -0
  246. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.js +10 -0
  247. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.js.map +1 -0
  248. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.mjs +4 -0
  249. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.mjs.map +1 -0
  250. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.d.ts +203 -0
  251. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.d.ts.map +1 -0
  252. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.js +57 -0
  253. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.js.map +1 -0
  254. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.mjs +53 -0
  255. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.mjs.map +1 -0
  256. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.d.ts +234 -0
  257. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.d.ts.map +1 -0
  258. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.js +98 -0
  259. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.js.map +1 -0
  260. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.mjs +70 -0
  261. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.mjs.map +1 -0
  262. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.d.ts +2 -0
  263. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.d.ts.map +1 -0
  264. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.js +19 -0
  265. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.js.map +1 -0
  266. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.mjs +3 -0
  267. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.mjs.map +1 -0
  268. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.d.ts +14 -0
  269. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.d.ts.map +1 -0
  270. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.js +45 -0
  271. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.js.map +1 -0
  272. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.mjs +18 -0
  273. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.mjs.map +1 -0
  274. package/resources/ddos-protection/advanced-tcp-protection/syn-protection.d.ts +2 -0
  275. package/resources/ddos-protection/advanced-tcp-protection/syn-protection.d.ts.map +1 -0
  276. package/resources/ddos-protection/advanced-tcp-protection/syn-protection.js +19 -0
  277. package/resources/ddos-protection/advanced-tcp-protection/syn-protection.js.map +1 -0
  278. package/resources/ddos-protection/advanced-tcp-protection/syn-protection.mjs +3 -0
  279. package/resources/ddos-protection/advanced-tcp-protection/syn-protection.mjs.map +1 -0
  280. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.d.ts +174 -0
  281. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.d.ts.map +1 -0
  282. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.js +96 -0
  283. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.js.map +1 -0
  284. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.mjs +68 -0
  285. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.mjs.map +1 -0
  286. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.d.ts +3 -0
  287. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.d.ts.map +1 -0
  288. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.js +10 -0
  289. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.js.map +1 -0
  290. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.mjs +4 -0
  291. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.mjs.map +1 -0
  292. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.d.ts +150 -0
  293. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.d.ts.map +1 -0
  294. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.js +57 -0
  295. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.js.map +1 -0
  296. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.mjs +53 -0
  297. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.mjs.map +1 -0
  298. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.d.ts +2 -0
  299. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.d.ts.map +1 -0
  300. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.js +19 -0
  301. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.js.map +1 -0
  302. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.mjs +3 -0
  303. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.mjs.map +1 -0
  304. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.d.ts +4 -0
  305. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.d.ts.map +1 -0
  306. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.js +13 -0
  307. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.js.map +1 -0
  308. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.mjs +5 -0
  309. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.mjs.map +1 -0
  310. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.d.ts +3 -0
  311. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.d.ts.map +1 -0
  312. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.js +10 -0
  313. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.js.map +1 -0
  314. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.mjs +4 -0
  315. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.mjs.map +1 -0
  316. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.d.ts +190 -0
  317. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.d.ts.map +1 -0
  318. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.js +57 -0
  319. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.js.map +1 -0
  320. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.mjs +53 -0
  321. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.mjs.map +1 -0
  322. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.d.ts +220 -0
  323. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.d.ts.map +1 -0
  324. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.js +98 -0
  325. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.js.map +1 -0
  326. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.mjs +70 -0
  327. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.mjs.map +1 -0
  328. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.d.ts +2 -0
  329. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.d.ts.map +1 -0
  330. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.js +19 -0
  331. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.js.map +1 -0
  332. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.mjs +3 -0
  333. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.mjs.map +1 -0
  334. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.d.ts +14 -0
  335. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.d.ts.map +1 -0
  336. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.js +45 -0
  337. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.js.map +1 -0
  338. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.mjs +18 -0
  339. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.mjs.map +1 -0
  340. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.d.ts +2 -0
  341. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.d.ts.map +1 -0
  342. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.js +19 -0
  343. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.js.map +1 -0
  344. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.mjs +3 -0
  345. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.mjs.map +1 -0
  346. package/resources/ddos-protection/advanced-tcp-protection.d.ts +2 -0
  347. package/resources/ddos-protection/advanced-tcp-protection.d.ts.map +1 -0
  348. package/resources/ddos-protection/advanced-tcp-protection.js +19 -0
  349. package/resources/ddos-protection/advanced-tcp-protection.js.map +1 -0
  350. package/resources/ddos-protection/advanced-tcp-protection.mjs +3 -0
  351. package/resources/ddos-protection/advanced-tcp-protection.mjs.map +1 -0
  352. package/resources/ddos-protection/ddos-protection.d.ts +10 -0
  353. package/resources/ddos-protection/ddos-protection.d.ts.map +1 -0
  354. package/resources/ddos-protection/ddos-protection.js +39 -0
  355. package/resources/ddos-protection/ddos-protection.js.map +1 -0
  356. package/resources/ddos-protection/ddos-protection.mjs +12 -0
  357. package/resources/ddos-protection/ddos-protection.mjs.map +1 -0
  358. package/resources/ddos-protection/index.d.ts +3 -0
  359. package/resources/ddos-protection/index.d.ts.map +1 -0
  360. package/resources/ddos-protection/index.js +9 -0
  361. package/resources/ddos-protection/index.js.map +1 -0
  362. package/resources/ddos-protection/index.mjs +4 -0
  363. package/resources/ddos-protection/index.mjs.map +1 -0
  364. package/resources/ddos-protection.d.ts +2 -0
  365. package/resources/ddos-protection.d.ts.map +1 -0
  366. package/resources/ddos-protection.js +19 -0
  367. package/resources/ddos-protection.js.map +1 -0
  368. package/resources/ddos-protection.mjs +3 -0
  369. package/resources/ddos-protection.mjs.map +1 -0
  370. package/resources/dls/dls.d.ts +14 -0
  371. package/resources/dls/dls.d.ts.map +1 -0
  372. package/resources/dls/dls.js +44 -0
  373. package/resources/dls/dls.js.map +1 -0
  374. package/resources/dls/dls.mjs +17 -0
  375. package/resources/dls/dls.mjs.map +1 -0
  376. package/resources/dls/index.d.ts +4 -0
  377. package/resources/dls/index.d.ts.map +1 -0
  378. package/resources/dls/index.js +12 -0
  379. package/resources/dls/index.js.map +1 -0
  380. package/resources/dls/index.mjs +5 -0
  381. package/resources/dls/index.mjs.map +1 -0
  382. package/resources/dls/regional-services/index.d.ts +3 -0
  383. package/resources/dls/regional-services/index.d.ts.map +1 -0
  384. package/resources/dls/regional-services/index.js +10 -0
  385. package/resources/dls/regional-services/index.js.map +1 -0
  386. package/resources/dls/regional-services/index.mjs +4 -0
  387. package/resources/dls/regional-services/index.mjs.map +1 -0
  388. package/resources/dls/regional-services/prefix-bindings.d.ts +197 -0
  389. package/resources/dls/regional-services/prefix-bindings.d.ts.map +1 -0
  390. package/resources/dls/regional-services/prefix-bindings.js +103 -0
  391. package/resources/dls/regional-services/prefix-bindings.js.map +1 -0
  392. package/resources/dls/regional-services/prefix-bindings.mjs +98 -0
  393. package/resources/dls/regional-services/prefix-bindings.mjs.map +1 -0
  394. package/resources/dls/regional-services/regional-services.d.ts +10 -0
  395. package/resources/dls/regional-services/regional-services.d.ts.map +1 -0
  396. package/resources/dls/regional-services/regional-services.js +40 -0
  397. package/resources/dls/regional-services/regional-services.js.map +1 -0
  398. package/resources/dls/regional-services/regional-services.mjs +13 -0
  399. package/resources/dls/regional-services/regional-services.mjs.map +1 -0
  400. package/resources/dls/regional-services.d.ts +2 -0
  401. package/resources/dls/regional-services.d.ts.map +1 -0
  402. package/resources/dls/regional-services.js +19 -0
  403. package/resources/dls/regional-services.js.map +1 -0
  404. package/resources/dls/regional-services.mjs +3 -0
  405. package/resources/dls/regional-services.mjs.map +1 -0
  406. package/resources/dls/regions.d.ts +68 -0
  407. package/resources/dls/regions.d.ts.map +1 -0
  408. package/resources/dls/regions.js +46 -0
  409. package/resources/dls/regions.js.map +1 -0
  410. package/resources/dls/regions.mjs +41 -0
  411. package/resources/dls/regions.mjs.map +1 -0
  412. package/resources/dls.d.ts +2 -0
  413. package/resources/dls.d.ts.map +1 -0
  414. package/resources/dls.js +19 -0
  415. package/resources/dls.js.map +1 -0
  416. package/resources/dls.mjs +3 -0
  417. package/resources/dls.mjs.map +1 -0
  418. package/resources/email-security/investigate/investigate.d.ts +10 -0
  419. package/resources/email-security/investigate/investigate.d.ts.map +1 -1
  420. package/resources/email-security/investigate/investigate.js.map +1 -1
  421. package/resources/email-security/investigate/investigate.mjs.map +1 -1
  422. package/resources/email-sending/email-sending.d.ts +2 -2
  423. package/resources/index.d.ts +3 -0
  424. package/resources/index.d.ts.map +1 -1
  425. package/resources/index.js +9 -3
  426. package/resources/index.js.map +1 -1
  427. package/resources/index.mjs +3 -0
  428. package/resources/index.mjs.map +1 -1
  429. package/resources/intel/indicator-feeds/indicator-feeds.d.ts +10 -0
  430. package/resources/intel/indicator-feeds/indicator-feeds.d.ts.map +1 -1
  431. package/resources/intel/indicator-feeds/indicator-feeds.js.map +1 -1
  432. package/resources/intel/indicator-feeds/indicator-feeds.mjs.map +1 -1
  433. package/resources/intel/miscategorizations.d.ts +5 -0
  434. package/resources/intel/miscategorizations.d.ts.map +1 -1
  435. package/resources/intel/miscategorizations.js +5 -0
  436. package/resources/intel/miscategorizations.js.map +1 -1
  437. package/resources/intel/miscategorizations.mjs +5 -0
  438. package/resources/intel/miscategorizations.mjs.map +1 -1
  439. package/resources/intel/sinkholes.d.ts +9 -9
  440. package/resources/intel/sinkholes.js +1 -1
  441. package/resources/intel/sinkholes.mjs +1 -1
  442. package/resources/load-balancers/index.d.ts +1 -1
  443. package/resources/load-balancers/index.d.ts.map +1 -1
  444. package/resources/load-balancers/index.js +9 -9
  445. package/resources/load-balancers/index.js.map +1 -1
  446. package/resources/load-balancers/index.mjs +1 -1
  447. package/resources/load-balancers/load-balancers.d.ts +2 -2
  448. package/resources/load-balancers/load-balancers.d.ts.map +1 -1
  449. package/resources/load-balancers/load-balancers.js +2 -2
  450. package/resources/load-balancers/load-balancers.js.map +1 -1
  451. package/resources/load-balancers/load-balancers.mjs +2 -2
  452. package/resources/load-balancers/load-balancers.mjs.map +1 -1
  453. package/resources/load-balancers/monitor-groups/index.d.ts +3 -0
  454. package/resources/load-balancers/monitor-groups/index.d.ts.map +1 -0
  455. package/resources/load-balancers/monitor-groups/index.js +11 -0
  456. package/resources/load-balancers/monitor-groups/index.js.map +1 -0
  457. package/resources/load-balancers/monitor-groups/index.mjs +4 -0
  458. package/resources/load-balancers/monitor-groups/index.mjs.map +1 -0
  459. package/resources/load-balancers/monitor-groups/monitor-groups.d.ts +299 -0
  460. package/resources/load-balancers/monitor-groups/monitor-groups.d.ts.map +1 -0
  461. package/resources/load-balancers/monitor-groups/monitor-groups.js +181 -0
  462. package/resources/load-balancers/monitor-groups/monitor-groups.js.map +1 -0
  463. package/resources/load-balancers/monitor-groups/monitor-groups.mjs +153 -0
  464. package/resources/load-balancers/monitor-groups/monitor-groups.mjs.map +1 -0
  465. package/resources/load-balancers/monitor-groups/references.d.ts +38 -0
  466. package/resources/load-balancers/monitor-groups/references.d.ts.map +1 -0
  467. package/resources/load-balancers/monitor-groups/references.js +32 -0
  468. package/resources/load-balancers/monitor-groups/references.js.map +1 -0
  469. package/resources/load-balancers/monitor-groups/references.mjs +27 -0
  470. package/resources/load-balancers/monitor-groups/references.mjs.map +1 -0
  471. package/resources/load-balancers/monitor-groups.d.ts +1 -312
  472. package/resources/load-balancers/monitor-groups.d.ts.map +1 -1
  473. package/resources/load-balancers/monitor-groups.js +15 -149
  474. package/resources/load-balancers/monitor-groups.js.map +1 -1
  475. package/resources/load-balancers/monitor-groups.mjs +1 -146
  476. package/resources/load-balancers/monitor-groups.mjs.map +1 -1
  477. package/resources/logpush/datasets/fields.d.ts +2 -2
  478. package/resources/logpush/datasets/fields.d.ts.map +1 -1
  479. package/resources/logpush/datasets/fields.js.map +1 -1
  480. package/resources/logpush/datasets/fields.mjs.map +1 -1
  481. package/resources/logpush/datasets/jobs.d.ts +2 -2
  482. package/resources/logpush/datasets/jobs.d.ts.map +1 -1
  483. package/resources/logpush/datasets/jobs.js.map +1 -1
  484. package/resources/logpush/datasets/jobs.mjs.map +1 -1
  485. package/resources/logpush/jobs.d.ts +2 -2
  486. package/resources/logpush/jobs.d.ts.map +1 -1
  487. package/resources/logpush/jobs.js.map +1 -1
  488. package/resources/logpush/jobs.mjs.map +1 -1
  489. package/resources/organizations/billing/billing.d.ts +10 -0
  490. package/resources/organizations/billing/billing.d.ts.map +1 -0
  491. package/resources/organizations/billing/billing.js +39 -0
  492. package/resources/organizations/billing/billing.js.map +1 -0
  493. package/resources/organizations/billing/billing.mjs +12 -0
  494. package/resources/organizations/billing/billing.mjs.map +1 -0
  495. package/resources/organizations/billing/index.d.ts +3 -0
  496. package/resources/organizations/billing/index.d.ts.map +1 -0
  497. package/resources/organizations/billing/index.js +9 -0
  498. package/resources/organizations/billing/index.js.map +1 -0
  499. package/resources/organizations/billing/index.mjs +4 -0
  500. package/resources/organizations/billing/index.mjs.map +1 -0
  501. package/resources/organizations/billing/usage.d.ts +210 -0
  502. package/resources/organizations/billing/usage.d.ts.map +1 -0
  503. package/resources/organizations/billing/usage.js +19 -0
  504. package/resources/organizations/billing/usage.js.map +1 -0
  505. package/resources/organizations/billing/usage.mjs +15 -0
  506. package/resources/organizations/billing/usage.mjs.map +1 -0
  507. package/resources/organizations/billing.d.ts +2 -0
  508. package/resources/organizations/billing.d.ts.map +1 -0
  509. package/resources/organizations/billing.js +19 -0
  510. package/resources/organizations/billing.js.map +1 -0
  511. package/resources/organizations/billing.mjs +3 -0
  512. package/resources/organizations/billing.mjs.map +1 -0
  513. package/resources/organizations/index.d.ts +1 -0
  514. package/resources/organizations/index.d.ts.map +1 -1
  515. package/resources/organizations/index.js +5 -3
  516. package/resources/organizations/index.js.map +1 -1
  517. package/resources/organizations/index.mjs +1 -0
  518. package/resources/organizations/index.mjs.map +1 -1
  519. package/resources/organizations/organization-profile.d.ts +2 -2
  520. package/resources/organizations/organization-profile.js +2 -2
  521. package/resources/organizations/organization-profile.mjs +2 -2
  522. package/resources/organizations/organizations.d.ts +9 -5
  523. package/resources/organizations/organizations.d.ts.map +1 -1
  524. package/resources/organizations/organizations.js +8 -4
  525. package/resources/organizations/organizations.js.map +1 -1
  526. package/resources/organizations/organizations.mjs +8 -4
  527. package/resources/organizations/organizations.mjs.map +1 -1
  528. package/resources/r2/buckets/buckets.d.ts +4 -0
  529. package/resources/r2/buckets/buckets.d.ts.map +1 -1
  530. package/resources/r2/buckets/buckets.js +5 -0
  531. package/resources/r2/buckets/buckets.js.map +1 -1
  532. package/resources/r2/buckets/buckets.mjs +5 -0
  533. package/resources/r2/buckets/buckets.mjs.map +1 -1
  534. package/resources/r2/buckets/index.d.ts +1 -0
  535. package/resources/r2/buckets/index.d.ts.map +1 -1
  536. package/resources/r2/buckets/index.js +4 -1
  537. package/resources/r2/buckets/index.js.map +1 -1
  538. package/resources/r2/buckets/index.mjs +1 -0
  539. package/resources/r2/buckets/index.mjs.map +1 -1
  540. package/resources/r2/buckets/objects.d.ts +281 -0
  541. package/resources/r2/buckets/objects.d.ts.map +1 -0
  542. package/resources/r2/buckets/objects.js +151 -0
  543. package/resources/r2/buckets/objects.js.map +1 -0
  544. package/resources/r2/buckets/objects.mjs +146 -0
  545. package/resources/r2/buckets/objects.mjs.map +1 -0
  546. package/resources/radar/bgp/bgp.d.ts +2 -2
  547. package/resources/radar/bgp/bgp.d.ts.map +1 -1
  548. package/resources/radar/bgp/bgp.js +2 -2
  549. package/resources/radar/bgp/bgp.js.map +1 -1
  550. package/resources/radar/bgp/bgp.mjs +2 -2
  551. package/resources/radar/bgp/bgp.mjs.map +1 -1
  552. package/resources/radar/bgp/index.d.ts +1 -1
  553. package/resources/radar/bgp/index.d.ts.map +1 -1
  554. package/resources/radar/bgp/index.js +8 -8
  555. package/resources/radar/bgp/index.js.map +1 -1
  556. package/resources/radar/bgp/index.mjs +1 -1
  557. package/resources/radar/bgp/ips/index.d.ts +3 -0
  558. package/resources/radar/bgp/ips/index.d.ts.map +1 -0
  559. package/resources/radar/bgp/ips/index.js +9 -0
  560. package/resources/radar/bgp/ips/index.js.map +1 -0
  561. package/resources/radar/bgp/ips/index.mjs +4 -0
  562. package/resources/radar/bgp/ips/index.mjs.map +1 -0
  563. package/resources/radar/bgp/ips/ips.d.ts +187 -0
  564. package/resources/radar/bgp/ips/ips.d.ts.map +1 -0
  565. package/resources/radar/bgp/ips/ips.js +46 -0
  566. package/resources/radar/bgp/ips/ips.js.map +1 -0
  567. package/resources/radar/bgp/ips/ips.mjs +19 -0
  568. package/resources/radar/bgp/ips/ips.mjs.map +1 -0
  569. package/resources/radar/bgp/ips/top.d.ts +55 -0
  570. package/resources/radar/bgp/ips/top.d.ts.map +1 -0
  571. package/resources/radar/bgp/ips/top.js +16 -0
  572. package/resources/radar/bgp/ips/top.js.map +1 -0
  573. package/resources/radar/bgp/ips/top.mjs +12 -0
  574. package/resources/radar/bgp/ips/top.mjs.map +1 -0
  575. package/resources/radar/bgp/ips.d.ts +1 -182
  576. package/resources/radar/bgp/ips.d.ts.map +1 -1
  577. package/resources/radar/bgp/ips.js +15 -12
  578. package/resources/radar/bgp/ips.js.map +1 -1
  579. package/resources/radar/bgp/ips.mjs +1 -10
  580. package/resources/radar/bgp/ips.mjs.map +1 -1
  581. package/resources/radar/bgp/rpki/index.d.ts +1 -0
  582. package/resources/radar/bgp/rpki/index.d.ts.map +1 -1
  583. package/resources/radar/bgp/rpki/index.js +3 -1
  584. package/resources/radar/bgp/rpki/index.js.map +1 -1
  585. package/resources/radar/bgp/rpki/index.mjs +1 -0
  586. package/resources/radar/bgp/rpki/index.mjs.map +1 -1
  587. package/resources/radar/bgp/rpki/roas.d.ts +78 -0
  588. package/resources/radar/bgp/rpki/roas.d.ts.map +1 -0
  589. package/resources/radar/bgp/rpki/roas.js +16 -0
  590. package/resources/radar/bgp/rpki/roas.js.map +1 -0
  591. package/resources/radar/bgp/rpki/roas.mjs +12 -0
  592. package/resources/radar/bgp/rpki/roas.mjs.map +1 -0
  593. package/resources/radar/bgp/rpki/rpki.d.ts +4 -0
  594. package/resources/radar/bgp/rpki/rpki.d.ts.map +1 -1
  595. package/resources/radar/bgp/rpki/rpki.js +4 -0
  596. package/resources/radar/bgp/rpki/rpki.js.map +1 -1
  597. package/resources/radar/bgp/rpki/rpki.mjs +4 -0
  598. package/resources/radar/bgp/rpki/rpki.mjs.map +1 -1
  599. package/resources/radar/http/http.d.ts +31 -4
  600. package/resources/radar/http/http.d.ts.map +1 -1
  601. package/resources/radar/http/http.js.map +1 -1
  602. package/resources/radar/http/http.mjs.map +1 -1
  603. package/resources/radar/post-quantum/tls.d.ts +28 -3
  604. package/resources/radar/post-quantum/tls.d.ts.map +1 -1
  605. package/resources/radar/post-quantum/tls.js +3 -2
  606. package/resources/radar/post-quantum/tls.js.map +1 -1
  607. package/resources/radar/post-quantum/tls.mjs +3 -2
  608. package/resources/radar/post-quantum/tls.mjs.map +1 -1
  609. package/resources/radar/quality/iqi.d.ts +1 -3
  610. package/resources/radar/quality/iqi.d.ts.map +1 -1
  611. package/resources/resource-sharing/resource-sharing.d.ts +14 -7
  612. package/resources/resource-sharing/resource-sharing.d.ts.map +1 -1
  613. package/resources/resource-sharing/resource-sharing.js.map +1 -1
  614. package/resources/resource-sharing/resource-sharing.mjs.map +1 -1
  615. package/resources/resource-sharing/resources.d.ts +7 -7
  616. package/resources/resource-sharing/resources.d.ts.map +1 -1
  617. package/resources/resource-sharing/resources.js.map +1 -1
  618. package/resources/resource-sharing/resources.mjs.map +1 -1
  619. package/resources/secrets-store/index.d.ts +1 -1
  620. package/resources/secrets-store/index.d.ts.map +1 -1
  621. package/resources/secrets-store/index.js.map +1 -1
  622. package/resources/secrets-store/index.mjs.map +1 -1
  623. package/resources/secrets-store/secrets-store.d.ts +2 -2
  624. package/resources/secrets-store/secrets-store.d.ts.map +1 -1
  625. package/resources/secrets-store/secrets-store.js.map +1 -1
  626. package/resources/secrets-store/secrets-store.mjs.map +1 -1
  627. package/resources/secrets-store/stores/index.d.ts +1 -1
  628. package/resources/secrets-store/stores/index.d.ts.map +1 -1
  629. package/resources/secrets-store/stores/index.js.map +1 -1
  630. package/resources/secrets-store/stores/index.mjs.map +1 -1
  631. package/resources/secrets-store/stores/stores.d.ts +51 -2
  632. package/resources/secrets-store/stores/stores.d.ts.map +1 -1
  633. package/resources/secrets-store/stores/stores.js +23 -2
  634. package/resources/secrets-store/stores/stores.js.map +1 -1
  635. package/resources/secrets-store/stores/stores.mjs +23 -2
  636. package/resources/secrets-store/stores/stores.mjs.map +1 -1
  637. package/resources/spectrum/apps.d.ts +30 -0
  638. package/resources/spectrum/apps.d.ts.map +1 -1
  639. package/resources/spectrum/apps.js.map +1 -1
  640. package/resources/spectrum/apps.mjs.map +1 -1
  641. package/resources/url-scanner/scans.d.ts +36 -0
  642. package/resources/url-scanner/scans.d.ts.map +1 -1
  643. package/resources/user/user.d.ts +10 -2
  644. package/resources/user/user.d.ts.map +1 -1
  645. package/resources/user/user.js.map +1 -1
  646. package/resources/user/user.mjs.map +1 -1
  647. package/resources/workers/beta/workers/workers.d.ts +32 -0
  648. package/resources/workers/beta/workers/workers.d.ts.map +1 -1
  649. package/resources/workers/beta/workers/workers.js.map +1 -1
  650. package/resources/workers/beta/workers/workers.mjs.map +1 -1
  651. package/resources/workers/observability/destinations.d.ts +5 -5
  652. package/resources/workers/observability/destinations.d.ts.map +1 -1
  653. package/resources/workers/observability/index.d.ts +1 -0
  654. package/resources/workers/observability/index.d.ts.map +1 -1
  655. package/resources/workers/observability/index.js +4 -1
  656. package/resources/workers/observability/index.js.map +1 -1
  657. package/resources/workers/observability/index.mjs +1 -0
  658. package/resources/workers/observability/index.mjs.map +1 -1
  659. package/resources/workers/observability/observability.d.ts +4 -0
  660. package/resources/workers/observability/observability.d.ts.map +1 -1
  661. package/resources/workers/observability/observability.js +5 -0
  662. package/resources/workers/observability/observability.js.map +1 -1
  663. package/resources/workers/observability/observability.mjs +5 -0
  664. package/resources/workers/observability/observability.mjs.map +1 -1
  665. package/resources/workers/observability/queries.d.ts +471 -0
  666. package/resources/workers/observability/queries.d.ts.map +1 -0
  667. package/resources/workers/observability/queries.js +52 -0
  668. package/resources/workers/observability/queries.js.map +1 -0
  669. package/resources/workers/observability/queries.mjs +47 -0
  670. package/resources/workers/observability/queries.mjs.map +1 -0
  671. package/resources/workers/observability/telemetry.d.ts +62 -36
  672. package/resources/workers/observability/telemetry.d.ts.map +1 -1
  673. package/resources/workers/observability/telemetry.js.map +1 -1
  674. package/resources/workers/observability/telemetry.mjs.map +1 -1
  675. package/resources/workers/scripts/index.d.ts +1 -1
  676. package/resources/workers/scripts/index.d.ts.map +1 -1
  677. package/resources/workers/scripts/index.js.map +1 -1
  678. package/resources/workers/scripts/index.mjs.map +1 -1
  679. package/resources/workers/scripts/script-and-version-settings.d.ts +24 -0
  680. package/resources/workers/scripts/script-and-version-settings.d.ts.map +1 -1
  681. package/resources/workers/scripts/scripts.d.ts +42 -2
  682. package/resources/workers/scripts/scripts.d.ts.map +1 -1
  683. package/resources/workers/scripts/scripts.js.map +1 -1
  684. package/resources/workers/scripts/scripts.mjs.map +1 -1
  685. package/resources/workers/scripts/secrets.d.ts +137 -1
  686. package/resources/workers/scripts/secrets.d.ts.map +1 -1
  687. package/resources/workers/scripts/secrets.js +27 -0
  688. package/resources/workers/scripts/secrets.js.map +1 -1
  689. package/resources/workers/scripts/secrets.mjs +27 -0
  690. package/resources/workers/scripts/secrets.mjs.map +1 -1
  691. package/resources/workers/scripts/settings.d.ts +8 -0
  692. package/resources/workers/scripts/settings.d.ts.map +1 -1
  693. package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.d.ts +1 -1
  694. package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.d.ts.map +1 -1
  695. package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.js.map +1 -1
  696. package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.mjs.map +1 -1
  697. package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts +18 -2
  698. package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts.map +1 -1
  699. package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.js.map +1 -1
  700. package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.mjs.map +1 -1
  701. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.d.ts +138 -1
  702. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.d.ts.map +1 -1
  703. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.js +28 -0
  704. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.js.map +1 -1
  705. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.mjs +28 -0
  706. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.mjs.map +1 -1
  707. package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts +24 -0
  708. package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts.map +1 -1
  709. package/resources/workflows/instances/instances.d.ts +5 -0
  710. package/resources/workflows/instances/instances.d.ts.map +1 -1
  711. package/resources/workflows/instances/instances.js.map +1 -1
  712. package/resources/workflows/instances/instances.mjs.map +1 -1
  713. package/resources/zero-trust/access/access.d.ts +4 -0
  714. package/resources/zero-trust/access/access.d.ts.map +1 -1
  715. package/resources/zero-trust/access/access.js +5 -0
  716. package/resources/zero-trust/access/access.js.map +1 -1
  717. package/resources/zero-trust/access/access.mjs +5 -0
  718. package/resources/zero-trust/access/access.mjs.map +1 -1
  719. package/resources/zero-trust/access/ai-controls/mcp/portals.d.ts +190 -0
  720. package/resources/zero-trust/access/ai-controls/mcp/portals.d.ts.map +1 -1
  721. package/resources/zero-trust/access/ai-controls/mcp/portals.js.map +1 -1
  722. package/resources/zero-trust/access/ai-controls/mcp/portals.mjs.map +1 -1
  723. package/resources/zero-trust/access/ai-controls/mcp/servers.d.ts +202 -2
  724. package/resources/zero-trust/access/ai-controls/mcp/servers.d.ts.map +1 -1
  725. package/resources/zero-trust/access/ai-controls/mcp/servers.js +2 -1
  726. package/resources/zero-trust/access/ai-controls/mcp/servers.js.map +1 -1
  727. package/resources/zero-trust/access/ai-controls/mcp/servers.mjs +2 -1
  728. package/resources/zero-trust/access/ai-controls/mcp/servers.mjs.map +1 -1
  729. package/resources/zero-trust/access/applications/policies.d.ts +32 -2
  730. package/resources/zero-trust/access/applications/policies.d.ts.map +1 -1
  731. package/resources/zero-trust/access/applications/policies.js.map +1 -1
  732. package/resources/zero-trust/access/applications/policies.mjs.map +1 -1
  733. package/resources/zero-trust/access/index.d.ts +1 -0
  734. package/resources/zero-trust/access/index.d.ts.map +1 -1
  735. package/resources/zero-trust/access/index.js +4 -1
  736. package/resources/zero-trust/access/index.js.map +1 -1
  737. package/resources/zero-trust/access/index.mjs +1 -0
  738. package/resources/zero-trust/access/index.mjs.map +1 -1
  739. package/resources/zero-trust/access/saml-certificates.d.ts +248 -0
  740. package/resources/zero-trust/access/saml-certificates.d.ts.map +1 -0
  741. package/resources/zero-trust/access/saml-certificates.js +100 -0
  742. package/resources/zero-trust/access/saml-certificates.js.map +1 -0
  743. package/resources/zero-trust/access/saml-certificates.mjs +95 -0
  744. package/resources/zero-trust/access/saml-certificates.mjs.map +1 -0
  745. package/resources/zero-trust/devices/fleet-status.d.ts +4 -0
  746. package/resources/zero-trust/devices/fleet-status.d.ts.map +1 -1
  747. package/resources/zero-trust/devices/posture/posture.d.ts +10 -0
  748. package/resources/zero-trust/devices/posture/posture.d.ts.map +1 -1
  749. package/resources/zero-trust/devices/posture/posture.js.map +1 -1
  750. package/resources/zero-trust/devices/posture/posture.mjs.map +1 -1
  751. package/resources/zero-trust/dex/fleet-status/devices.d.ts +4 -0
  752. package/resources/zero-trust/dex/fleet-status/devices.d.ts.map +1 -1
  753. package/resources/zero-trust/dex/fleet-status/devices.js.map +1 -1
  754. package/resources/zero-trust/dex/fleet-status/devices.mjs.map +1 -1
  755. package/resources/zero-trust/dlp/entries/custom.d.ts +59 -25
  756. package/resources/zero-trust/dlp/entries/custom.d.ts.map +1 -1
  757. package/resources/zero-trust/dlp/entries/custom.js.map +1 -1
  758. package/resources/zero-trust/dlp/entries/custom.mjs.map +1 -1
  759. package/resources/zero-trust/dlp/entries/entries.d.ts +71 -26
  760. package/resources/zero-trust/dlp/entries/entries.d.ts.map +1 -1
  761. package/resources/zero-trust/dlp/entries/entries.js.map +1 -1
  762. package/resources/zero-trust/dlp/entries/entries.mjs.map +1 -1
  763. package/resources/zero-trust/dlp/entries/integration.d.ts +59 -25
  764. package/resources/zero-trust/dlp/entries/integration.d.ts.map +1 -1
  765. package/resources/zero-trust/dlp/entries/integration.js.map +1 -1
  766. package/resources/zero-trust/dlp/entries/integration.mjs.map +1 -1
  767. package/resources/zero-trust/dlp/entries/predefined.d.ts +59 -25
  768. package/resources/zero-trust/dlp/entries/predefined.d.ts.map +1 -1
  769. package/resources/zero-trust/dlp/entries/predefined.js.map +1 -1
  770. package/resources/zero-trust/dlp/entries/predefined.mjs.map +1 -1
  771. package/resources/zero-trust/dlp/profiles/custom.d.ts +24 -2
  772. package/resources/zero-trust/dlp/profiles/custom.d.ts.map +1 -1
  773. package/resources/zero-trust/dlp/profiles/predefined.d.ts +12 -1
  774. package/resources/zero-trust/dlp/profiles/predefined.d.ts.map +1 -1
  775. package/resources/zero-trust/dlp/profiles/profiles.d.ts +60 -5
  776. package/resources/zero-trust/dlp/profiles/profiles.d.ts.map +1 -1
  777. package/resources/zero-trust/dlp/profiles/profiles.js.map +1 -1
  778. package/resources/zero-trust/dlp/profiles/profiles.mjs.map +1 -1
  779. package/resources/zero-trust/identity-providers/identity-providers.d.ts +2689 -108
  780. package/resources/zero-trust/identity-providers/identity-providers.d.ts.map +1 -1
  781. package/resources/zero-trust/identity-providers/identity-providers.js +4 -0
  782. package/resources/zero-trust/identity-providers/identity-providers.js.map +1 -1
  783. package/resources/zero-trust/identity-providers/identity-providers.mjs +4 -0
  784. package/resources/zero-trust/identity-providers/identity-providers.mjs.map +1 -1
  785. package/resources/zero-trust/identity-providers/index.d.ts +1 -0
  786. package/resources/zero-trust/identity-providers/index.d.ts.map +1 -1
  787. package/resources/zero-trust/identity-providers/index.js +3 -1
  788. package/resources/zero-trust/identity-providers/index.js.map +1 -1
  789. package/resources/zero-trust/identity-providers/index.mjs +1 -0
  790. package/resources/zero-trust/identity-providers/index.mjs.map +1 -1
  791. package/resources/zero-trust/identity-providers/saml-certificate.d.ts +91 -0
  792. package/resources/zero-trust/identity-providers/saml-certificate.d.ts.map +1 -0
  793. package/resources/zero-trust/identity-providers/saml-certificate.js +37 -0
  794. package/resources/zero-trust/identity-providers/saml-certificate.js.map +1 -0
  795. package/resources/zero-trust/identity-providers/saml-certificate.mjs +33 -0
  796. package/resources/zero-trust/identity-providers/saml-certificate.mjs.map +1 -0
  797. package/resources/zero-trust/index.d.ts +1 -0
  798. package/resources/zero-trust/index.d.ts.map +1 -1
  799. package/resources/zero-trust/index.js +8 -6
  800. package/resources/zero-trust/index.js.map +1 -1
  801. package/resources/zero-trust/index.mjs +1 -0
  802. package/resources/zero-trust/index.mjs.map +1 -1
  803. package/resources/zero-trust/resource-library/applications.d.ts +238 -0
  804. package/resources/zero-trust/resource-library/applications.d.ts.map +1 -0
  805. package/resources/zero-trust/resource-library/applications.js +47 -0
  806. package/resources/zero-trust/resource-library/applications.js.map +1 -0
  807. package/resources/zero-trust/resource-library/applications.mjs +42 -0
  808. package/resources/zero-trust/resource-library/applications.mjs.map +1 -0
  809. package/resources/zero-trust/resource-library/categories.d.ts +94 -0
  810. package/resources/zero-trust/resource-library/categories.d.ts.map +1 -0
  811. package/resources/zero-trust/resource-library/categories.js +47 -0
  812. package/resources/zero-trust/resource-library/categories.js.map +1 -0
  813. package/resources/zero-trust/resource-library/categories.mjs +42 -0
  814. package/resources/zero-trust/resource-library/categories.mjs.map +1 -0
  815. package/resources/zero-trust/resource-library/index.d.ts +4 -0
  816. package/resources/zero-trust/resource-library/index.d.ts.map +1 -0
  817. package/resources/zero-trust/resource-library/index.js +13 -0
  818. package/resources/zero-trust/resource-library/index.js.map +1 -0
  819. package/resources/zero-trust/resource-library/index.mjs +5 -0
  820. package/resources/zero-trust/resource-library/index.mjs.map +1 -0
  821. package/resources/zero-trust/resource-library/resource-library.d.ts +14 -0
  822. package/resources/zero-trust/resource-library/resource-library.d.ts.map +1 -0
  823. package/resources/zero-trust/resource-library/resource-library.js +45 -0
  824. package/resources/zero-trust/resource-library/resource-library.js.map +1 -0
  825. package/resources/zero-trust/resource-library/resource-library.mjs +18 -0
  826. package/resources/zero-trust/resource-library/resource-library.mjs.map +1 -0
  827. package/resources/zero-trust/resource-library.d.ts +2 -0
  828. package/resources/zero-trust/resource-library.d.ts.map +1 -0
  829. package/resources/zero-trust/resource-library.js +19 -0
  830. package/resources/zero-trust/resource-library.js.map +1 -0
  831. package/resources/zero-trust/resource-library.mjs +3 -0
  832. package/resources/zero-trust/resource-library.mjs.map +1 -0
  833. package/resources/zero-trust/zero-trust.d.ts +4 -0
  834. package/resources/zero-trust/zero-trust.d.ts.map +1 -1
  835. package/resources/zero-trust/zero-trust.js +4 -0
  836. package/resources/zero-trust/zero-trust.js.map +1 -1
  837. package/resources/zero-trust/zero-trust.mjs +4 -0
  838. package/resources/zero-trust/zero-trust.mjs.map +1 -1
  839. package/resources/zones/custom-nameservers.d.ts +4 -0
  840. package/resources/zones/custom-nameservers.d.ts.map +1 -1
  841. package/resources/zones/custom-nameservers.js.map +1 -1
  842. package/resources/zones/custom-nameservers.mjs.map +1 -1
  843. package/src/index.ts +15 -0
  844. package/src/resources/acm/custom-trust-store.ts +9 -6
  845. package/src/resources/ai/models/models.ts +6 -0
  846. package/src/resources/ai-gateway/ai-gateway.ts +449 -0
  847. package/src/resources/ai-gateway/api.md +56 -0
  848. package/src/resources/ai-gateway/billing/billing.ts +363 -0
  849. package/src/resources/ai-gateway/billing/index.ts +29 -0
  850. package/src/resources/ai-gateway/billing/spending-limit.ts +148 -0
  851. package/src/resources/ai-gateway/billing/topup/config.ts +133 -0
  852. package/src/resources/ai-gateway/billing/topup/index.ts +18 -0
  853. package/src/resources/ai-gateway/billing/topup/topup.ts +139 -0
  854. package/src/resources/ai-gateway/billing/topup.ts +3 -0
  855. package/src/resources/ai-gateway/billing.ts +3 -0
  856. package/src/resources/ai-gateway/dynamic-routing.ts +30 -2
  857. package/src/resources/ai-gateway/index.ts +11 -0
  858. package/src/resources/ai-security/ai-security.ts +117 -0
  859. package/src/resources/ai-security/api.md +23 -0
  860. package/src/resources/ai-security/custom-topics.ts +143 -0
  861. package/src/resources/ai-security/index.ts +10 -0
  862. package/src/resources/ai-security.ts +3 -0
  863. package/src/resources/aisearch/instances/instances.ts +76 -21
  864. package/src/resources/aisearch/namespaces/instances/instances.ts +76 -21
  865. package/src/resources/billing/api.md +3 -1
  866. package/src/resources/billing/billing.ts +3 -1
  867. package/src/resources/billing/index.ts +7 -1
  868. package/src/resources/billing/usage.ts +268 -7
  869. package/src/resources/cloudforce-one/threat-events/countries.ts +2 -0
  870. package/src/resources/cloudforce-one/threat-events/threat-events.ts +1 -1
  871. package/src/resources/custom-certificates/custom-certificates.ts +10 -8
  872. package/src/resources/d1/d1.ts +3 -3
  873. package/src/resources/d1/database/database.ts +19 -0
  874. package/src/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.ts +93 -0
  875. package/src/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.ts +277 -0
  876. package/src/resources/ddos-protection/advanced-tcp-protection/allowlist/index.ts +21 -0
  877. package/src/resources/ddos-protection/advanced-tcp-protection/allowlist/items.ts +233 -0
  878. package/src/resources/ddos-protection/advanced-tcp-protection/allowlist.ts +3 -0
  879. package/src/resources/ddos-protection/advanced-tcp-protection/index.ts +35 -0
  880. package/src/resources/ddos-protection/advanced-tcp-protection/prefixes/index.ts +24 -0
  881. package/src/resources/ddos-protection/advanced-tcp-protection/prefixes/items.ts +233 -0
  882. package/src/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.ts +377 -0
  883. package/src/resources/ddos-protection/advanced-tcp-protection/prefixes.ts +3 -0
  884. package/src/resources/ddos-protection/advanced-tcp-protection/status.ts +87 -0
  885. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.ts +266 -0
  886. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.ts +21 -0
  887. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.ts +224 -0
  888. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.ts +3 -0
  889. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.ts +23 -0
  890. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.ts +21 -0
  891. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.ts +287 -0
  892. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.ts +337 -0
  893. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.ts +3 -0
  894. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.ts +59 -0
  895. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection.ts +3 -0
  896. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.ts +266 -0
  897. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.ts +21 -0
  898. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.ts +224 -0
  899. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.ts +3 -0
  900. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.ts +23 -0
  901. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.ts +21 -0
  902. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.ts +271 -0
  903. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.ts +320 -0
  904. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.ts +3 -0
  905. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.ts +59 -0
  906. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.ts +3 -0
  907. package/src/resources/ddos-protection/advanced-tcp-protection.ts +3 -0
  908. package/src/resources/ddos-protection/api.md +189 -0
  909. package/src/resources/ddos-protection/ddos-protection.ts +16 -0
  910. package/src/resources/ddos-protection/index.ts +4 -0
  911. package/src/resources/ddos-protection.ts +3 -0
  912. package/src/resources/dls/api.md +33 -0
  913. package/src/resources/dls/dls.ts +38 -0
  914. package/src/resources/dls/index.ts +12 -0
  915. package/src/resources/dls/regional-services/index.ts +17 -0
  916. package/src/resources/dls/regional-services/prefix-bindings.ts +301 -0
  917. package/src/resources/dls/regional-services/regional-services.ts +42 -0
  918. package/src/resources/dls/regional-services.ts +3 -0
  919. package/src/resources/dls/regions.ts +118 -0
  920. package/src/resources/dls.ts +3 -0
  921. package/src/resources/email-security/investigate/investigate.ts +17 -0
  922. package/src/resources/email-sending/email-sending.ts +2 -2
  923. package/src/resources/index.ts +3 -0
  924. package/src/resources/intel/indicator-feeds/indicator-feeds.ts +11 -0
  925. package/src/resources/intel/miscategorizations.ts +5 -0
  926. package/src/resources/intel/sinkholes.ts +9 -9
  927. package/src/resources/load-balancers/api.md +17 -7
  928. package/src/resources/load-balancers/index.ts +1 -1
  929. package/src/resources/load-balancers/load-balancers.ts +12 -12
  930. package/src/resources/load-balancers/monitor-groups/index.ts +19 -0
  931. package/src/resources/load-balancers/monitor-groups/monitor-groups.ts +433 -0
  932. package/src/resources/load-balancers/monitor-groups/references.ts +63 -0
  933. package/src/resources/load-balancers/monitor-groups.ts +1 -434
  934. package/src/resources/logpush/datasets/fields.ts +3 -0
  935. package/src/resources/logpush/datasets/jobs.ts +3 -0
  936. package/src/resources/logpush/jobs.ts +2 -0
  937. package/src/resources/organizations/api.md +12 -0
  938. package/src/resources/organizations/billing/billing.ts +15 -0
  939. package/src/resources/organizations/billing/index.ts +4 -0
  940. package/src/resources/organizations/billing/usage.ts +270 -0
  941. package/src/resources/organizations/billing.ts +3 -0
  942. package/src/resources/organizations/index.ts +1 -0
  943. package/src/resources/organizations/organization-profile.ts +2 -2
  944. package/src/resources/organizations/organizations.ts +11 -5
  945. package/src/resources/r2/api.md +15 -0
  946. package/src/resources/r2/buckets/buckets.ts +27 -0
  947. package/src/resources/r2/buckets/index.ts +11 -0
  948. package/src/resources/r2/buckets/objects.ts +419 -0
  949. package/src/resources/radar/api.md +22 -2
  950. package/src/resources/radar/bgp/bgp.ts +2 -2
  951. package/src/resources/radar/bgp/index.ts +1 -1
  952. package/src/resources/radar/bgp/ips/index.ts +4 -0
  953. package/src/resources/radar/bgp/ips/ips.ts +295 -0
  954. package/src/resources/radar/bgp/ips/top.ts +84 -0
  955. package/src/resources/radar/bgp/ips.ts +1 -285
  956. package/src/resources/radar/bgp/rpki/index.ts +1 -0
  957. package/src/resources/radar/bgp/rpki/roas.ts +120 -0
  958. package/src/resources/radar/bgp/rpki/rpki.ts +10 -0
  959. package/src/resources/radar/http/http.ts +96 -0
  960. package/src/resources/radar/post-quantum/tls.ts +32 -3
  961. package/src/resources/radar/quality/iqi.ts +2 -6
  962. package/src/resources/resource-sharing/resource-sharing.ts +21 -6
  963. package/src/resources/resource-sharing/resources.ts +14 -7
  964. package/src/resources/secrets-store/api.md +2 -0
  965. package/src/resources/secrets-store/index.ts +2 -0
  966. package/src/resources/secrets-store/secrets-store.ts +4 -0
  967. package/src/resources/secrets-store/stores/index.ts +2 -0
  968. package/src/resources/secrets-store/stores/stores.ts +74 -3
  969. package/src/resources/spectrum/apps.ts +36 -0
  970. package/src/resources/url-scanner/scans.ts +58 -0
  971. package/src/resources/user/user.ts +12 -2
  972. package/src/resources/workers/api.md +14 -0
  973. package/src/resources/workers/beta/workers/workers.ts +36 -0
  974. package/src/resources/workers/observability/destinations.ts +5 -5
  975. package/src/resources/workers/observability/index.ts +8 -0
  976. package/src/resources/workers/observability/observability.ts +21 -0
  977. package/src/resources/workers/observability/queries.ts +825 -0
  978. package/src/resources/workers/observability/telemetry.ts +84 -36
  979. package/src/resources/workers/scripts/index.ts +2 -0
  980. package/src/resources/workers/scripts/script-and-version-settings.ts +27 -0
  981. package/src/resources/workers/scripts/scripts.ts +49 -0
  982. package/src/resources/workers/scripts/secrets.ts +180 -0
  983. package/src/resources/workers/scripts/settings.ts +9 -0
  984. package/src/resources/workers-for-platforms/api.md +2 -0
  985. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/index.ts +2 -0
  986. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.ts +22 -0
  987. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.ts +185 -0
  988. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.ts +27 -0
  989. package/src/resources/workflows/instances/instances.ts +6 -0
  990. package/src/resources/zero-trust/access/access.ts +29 -0
  991. package/src/resources/zero-trust/access/ai-controls/mcp/portals.ts +236 -0
  992. package/src/resources/zero-trust/access/ai-controls/mcp/servers.ts +246 -2
  993. package/src/resources/zero-trust/access/applications/policies.ts +38 -2
  994. package/src/resources/zero-trust/access/index.ts +11 -0
  995. package/src/resources/zero-trust/access/saml-certificates.ts +343 -0
  996. package/src/resources/zero-trust/api.md +51 -0
  997. package/src/resources/zero-trust/devices/fleet-status.ts +5 -0
  998. package/src/resources/zero-trust/devices/posture/posture.ts +12 -0
  999. package/src/resources/zero-trust/dex/fleet-status/devices.ts +5 -0
  1000. package/src/resources/zero-trust/dlp/entries/custom.ts +78 -25
  1001. package/src/resources/zero-trust/dlp/entries/entries.ts +96 -25
  1002. package/src/resources/zero-trust/dlp/entries/integration.ts +78 -25
  1003. package/src/resources/zero-trust/dlp/entries/predefined.ts +78 -25
  1004. package/src/resources/zero-trust/dlp/profiles/custom.ts +36 -0
  1005. package/src/resources/zero-trust/dlp/profiles/predefined.ts +18 -0
  1006. package/src/resources/zero-trust/dlp/profiles/profiles.ts +90 -0
  1007. package/src/resources/zero-trust/identity-providers/identity-providers.ts +3045 -38
  1008. package/src/resources/zero-trust/identity-providers/index.ts +5 -0
  1009. package/src/resources/zero-trust/identity-providers/saml-certificate.ts +119 -0
  1010. package/src/resources/zero-trust/index.ts +1 -0
  1011. package/src/resources/zero-trust/resource-library/applications.ts +315 -0
  1012. package/src/resources/zero-trust/resource-library/categories.ts +140 -0
  1013. package/src/resources/zero-trust/resource-library/index.ts +19 -0
  1014. package/src/resources/zero-trust/resource-library/resource-library.ts +51 -0
  1015. package/src/resources/zero-trust/resource-library.ts +3 -0
  1016. package/src/resources/zero-trust/zero-trust.ts +6 -0
  1017. package/src/resources/zones/custom-nameservers.ts +5 -0
  1018. package/src/version.ts +1 -1
  1019. package/version.d.ts +1 -1
  1020. package/version.js +1 -1
  1021. package/version.mjs +1 -1
@@ -0,0 +1,363 @@
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 SpendingLimitAPI from './spending-limit';
6
+ import {
7
+ SpendingLimit,
8
+ SpendingLimitCreateParams,
9
+ SpendingLimitCreateResponse,
10
+ SpendingLimitDeleteParams,
11
+ SpendingLimitDeleteResponse,
12
+ SpendingLimitGetParams,
13
+ SpendingLimitGetResponse,
14
+ } from './spending-limit';
15
+ import * as TopupAPI from './topup/topup';
16
+ import {
17
+ Topup,
18
+ TopupCreateParams,
19
+ TopupCreateResponse,
20
+ TopupStatusParams,
21
+ TopupStatusResponse,
22
+ } from './topup/topup';
23
+
24
+ export class Billing extends APIResource {
25
+ topup: TopupAPI.Topup = new TopupAPI.Topup(this._client);
26
+ spendingLimit: SpendingLimitAPI.SpendingLimit = new SpendingLimitAPI.SpendingLimit(this._client);
27
+
28
+ /**
29
+ * Retrieve the current credit balance, payment method info, and top-up
30
+ * configuration.
31
+ *
32
+ * @example
33
+ * ```ts
34
+ * const response =
35
+ * await client.aiGateway.billing.creditBalance({
36
+ * account_id: 'account_id',
37
+ * });
38
+ * ```
39
+ */
40
+ creditBalance(
41
+ params: BillingCreditBalanceParams,
42
+ options?: Core.RequestOptions,
43
+ ): Core.APIPromise<BillingCreditBalanceResponse> {
44
+ const { account_id } = params;
45
+ return (
46
+ this._client.get(
47
+ `/accounts/${account_id}/ai-gateway/billing/credit-balance`,
48
+ options,
49
+ ) as Core.APIPromise<{ result: BillingCreditBalanceResponse }>
50
+ )._thenUnwrap((obj) => obj.result);
51
+ }
52
+
53
+ /**
54
+ * Retrieve a list of past invoices with pagination, optionally filtered by type.
55
+ *
56
+ * @example
57
+ * ```ts
58
+ * const response =
59
+ * await client.aiGateway.billing.invoiceHistory({
60
+ * account_id: 'account_id',
61
+ * });
62
+ * ```
63
+ */
64
+ invoiceHistory(
65
+ params: BillingInvoiceHistoryParams,
66
+ options?: Core.RequestOptions,
67
+ ): Core.APIPromise<BillingInvoiceHistoryResponse> {
68
+ const { account_id, ...query } = params;
69
+ return (
70
+ this._client.get(`/accounts/${account_id}/ai-gateway/billing/invoice-history`, {
71
+ query,
72
+ ...options,
73
+ }) as Core.APIPromise<{ result: BillingInvoiceHistoryResponse }>
74
+ )._thenUnwrap((obj) => obj.result);
75
+ }
76
+
77
+ /**
78
+ * Retrieve a preview of the upcoming invoice including line items and tax.
79
+ *
80
+ * @example
81
+ * ```ts
82
+ * const response =
83
+ * await client.aiGateway.billing.invoicePreview({
84
+ * account_id: 'account_id',
85
+ * });
86
+ * ```
87
+ */
88
+ invoicePreview(
89
+ params: BillingInvoicePreviewParams,
90
+ options?: Core.RequestOptions,
91
+ ): Core.APIPromise<BillingInvoicePreviewResponse> {
92
+ const { account_id } = params;
93
+ return (
94
+ this._client.get(
95
+ `/accounts/${account_id}/ai-gateway/billing/invoice-preview`,
96
+ options,
97
+ ) as Core.APIPromise<{ result: BillingInvoicePreviewResponse }>
98
+ )._thenUnwrap((obj) => obj.result);
99
+ }
100
+
101
+ /**
102
+ * Retrieve aggregated usage meter event summaries for the given time range.
103
+ *
104
+ * @example
105
+ * ```ts
106
+ * const response =
107
+ * await client.aiGateway.billing.usageHistory({
108
+ * account_id: 'account_id',
109
+ * value_grouping_window: 'day',
110
+ * });
111
+ * ```
112
+ */
113
+ usageHistory(
114
+ params: BillingUsageHistoryParams,
115
+ options?: Core.RequestOptions,
116
+ ): Core.APIPromise<BillingUsageHistoryResponse> {
117
+ const { account_id, ...query } = params;
118
+ return (
119
+ this._client.get(`/accounts/${account_id}/ai-gateway/billing/usage-history`, {
120
+ query,
121
+ ...options,
122
+ }) as Core.APIPromise<{ result: BillingUsageHistoryResponse }>
123
+ )._thenUnwrap((obj) => obj.result);
124
+ }
125
+ }
126
+
127
+ export interface BillingCreditBalanceResponse {
128
+ balance: number;
129
+
130
+ has_default_payment_method: boolean;
131
+
132
+ payment_method: BillingCreditBalanceResponse.PaymentMethod | null;
133
+
134
+ topup_config: BillingCreditBalanceResponse.TopupConfig;
135
+
136
+ first_topup_success?: boolean;
137
+ }
138
+
139
+ export namespace BillingCreditBalanceResponse {
140
+ export interface PaymentMethod {
141
+ brand?: string;
142
+
143
+ last4?: string;
144
+ }
145
+
146
+ export interface TopupConfig {
147
+ amount: number | null;
148
+
149
+ disabledReason: string | null;
150
+
151
+ error: string | null;
152
+
153
+ lastFailedAt: number | null;
154
+
155
+ threshold: number | null;
156
+ }
157
+ }
158
+
159
+ export interface BillingInvoiceHistoryResponse {
160
+ invoices: Array<BillingInvoiceHistoryResponse.Invoice>;
161
+
162
+ pagination: BillingInvoiceHistoryResponse.Pagination;
163
+ }
164
+
165
+ export namespace BillingInvoiceHistoryResponse {
166
+ export interface Invoice {
167
+ amount_due: number;
168
+
169
+ amount_paid: number;
170
+
171
+ amount_remaining: number;
172
+
173
+ currency: string;
174
+
175
+ id?: string | null;
176
+
177
+ attempt_count?: number;
178
+
179
+ attempted?: boolean;
180
+
181
+ auto_advance?: boolean | null;
182
+
183
+ created?: number;
184
+
185
+ created_by?: string;
186
+
187
+ description?: string | null;
188
+
189
+ invoice_origin?: string;
190
+
191
+ invoice_pdf?: string | null;
192
+
193
+ status?: string | null;
194
+ }
195
+
196
+ export interface Pagination {
197
+ has_more: boolean;
198
+
199
+ page: number;
200
+
201
+ per_page: number;
202
+
203
+ total_count: number;
204
+ }
205
+ }
206
+
207
+ export interface BillingInvoicePreviewResponse {
208
+ id: string;
209
+
210
+ amount_due: number;
211
+
212
+ amount_paid: number;
213
+
214
+ amount_remaining: number;
215
+
216
+ currency: string;
217
+
218
+ invoice_lines: Array<BillingInvoicePreviewResponse.InvoiceLine>;
219
+
220
+ period_end: number;
221
+
222
+ period_start: number;
223
+
224
+ status: 'draft' | 'open' | 'paid' | 'uncollectible' | 'void';
225
+ }
226
+
227
+ export namespace BillingInvoicePreviewResponse {
228
+ export interface InvoiceLine {
229
+ amount: number;
230
+
231
+ currency: string;
232
+
233
+ description: string | null;
234
+
235
+ period: InvoiceLine.Period;
236
+
237
+ pricing: InvoiceLine.Pricing;
238
+
239
+ quantity: number;
240
+
241
+ pretax_credit_amounts?: Array<InvoiceLine.PretaxCreditAmount>;
242
+ }
243
+
244
+ export namespace InvoiceLine {
245
+ export interface Period {
246
+ end: number;
247
+
248
+ start: number;
249
+ }
250
+
251
+ export interface Pricing {
252
+ unit_amount_decimal: string | null;
253
+ }
254
+
255
+ export interface PretaxCreditAmount {
256
+ amount: number;
257
+
258
+ type: string;
259
+
260
+ credit_balance_transaction?: string | null;
261
+
262
+ discount?: string | null;
263
+ }
264
+ }
265
+ }
266
+
267
+ export interface BillingUsageHistoryResponse {
268
+ history: Array<BillingUsageHistoryResponse.History>;
269
+ }
270
+
271
+ export namespace BillingUsageHistoryResponse {
272
+ export interface History {
273
+ id: string;
274
+
275
+ aggregated_value: number;
276
+
277
+ end_time: number;
278
+
279
+ start_time: number;
280
+ }
281
+ }
282
+
283
+ export interface BillingCreditBalanceParams {
284
+ /**
285
+ * Cloudflare account ID.
286
+ */
287
+ account_id: string;
288
+ }
289
+
290
+ export interface BillingInvoiceHistoryParams {
291
+ /**
292
+ * Path param: Cloudflare account ID.
293
+ */
294
+ account_id: string;
295
+
296
+ /**
297
+ * Query param: Filter invoice type: auto, manual, or all.
298
+ */
299
+ type?: 'auto' | 'all' | 'manual';
300
+ }
301
+
302
+ export interface BillingInvoicePreviewParams {
303
+ /**
304
+ * Cloudflare account ID.
305
+ */
306
+ account_id: string;
307
+ }
308
+
309
+ export interface BillingUsageHistoryParams {
310
+ /**
311
+ * Path param: Cloudflare account ID.
312
+ */
313
+ account_id: string;
314
+
315
+ /**
316
+ * Query param: Grouping window for usage data.
317
+ */
318
+ value_grouping_window: 'day' | 'hour';
319
+
320
+ /**
321
+ * Query param: End time as Unix timestamp in milliseconds.
322
+ */
323
+ end_time?: number | null;
324
+
325
+ /**
326
+ * Query param: Start time as Unix timestamp in milliseconds.
327
+ */
328
+ start_time?: number | null;
329
+ }
330
+
331
+ Billing.Topup = Topup;
332
+ Billing.SpendingLimit = SpendingLimit;
333
+
334
+ export declare namespace Billing {
335
+ export {
336
+ type BillingCreditBalanceResponse as BillingCreditBalanceResponse,
337
+ type BillingInvoiceHistoryResponse as BillingInvoiceHistoryResponse,
338
+ type BillingInvoicePreviewResponse as BillingInvoicePreviewResponse,
339
+ type BillingUsageHistoryResponse as BillingUsageHistoryResponse,
340
+ type BillingCreditBalanceParams as BillingCreditBalanceParams,
341
+ type BillingInvoiceHistoryParams as BillingInvoiceHistoryParams,
342
+ type BillingInvoicePreviewParams as BillingInvoicePreviewParams,
343
+ type BillingUsageHistoryParams as BillingUsageHistoryParams,
344
+ };
345
+
346
+ export {
347
+ Topup as Topup,
348
+ type TopupCreateResponse as TopupCreateResponse,
349
+ type TopupStatusResponse as TopupStatusResponse,
350
+ type TopupCreateParams as TopupCreateParams,
351
+ type TopupStatusParams as TopupStatusParams,
352
+ };
353
+
354
+ export {
355
+ SpendingLimit as SpendingLimit,
356
+ type SpendingLimitCreateResponse as SpendingLimitCreateResponse,
357
+ type SpendingLimitDeleteResponse as SpendingLimitDeleteResponse,
358
+ type SpendingLimitGetResponse as SpendingLimitGetResponse,
359
+ type SpendingLimitCreateParams as SpendingLimitCreateParams,
360
+ type SpendingLimitDeleteParams as SpendingLimitDeleteParams,
361
+ type SpendingLimitGetParams as SpendingLimitGetParams,
362
+ };
363
+ }
@@ -0,0 +1,29 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export {
4
+ Billing,
5
+ type BillingCreditBalanceResponse,
6
+ type BillingInvoiceHistoryResponse,
7
+ type BillingInvoicePreviewResponse,
8
+ type BillingUsageHistoryResponse,
9
+ type BillingCreditBalanceParams,
10
+ type BillingInvoiceHistoryParams,
11
+ type BillingInvoicePreviewParams,
12
+ type BillingUsageHistoryParams,
13
+ } from './billing';
14
+ export {
15
+ SpendingLimit,
16
+ type SpendingLimitCreateResponse,
17
+ type SpendingLimitDeleteResponse,
18
+ type SpendingLimitGetResponse,
19
+ type SpendingLimitCreateParams,
20
+ type SpendingLimitDeleteParams,
21
+ type SpendingLimitGetParams,
22
+ } from './spending-limit';
23
+ export {
24
+ Topup,
25
+ type TopupCreateResponse,
26
+ type TopupStatusResponse,
27
+ type TopupCreateParams,
28
+ type TopupStatusParams,
29
+ } from './topup/index';
@@ -0,0 +1,148 @@
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 SpendingLimit extends APIResource {
7
+ /**
8
+ * Configure a spending limit with amount, strategy, and duration.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const spendingLimit =
13
+ * await client.aiGateway.billing.spendingLimit.create({
14
+ * account_id: 'account_id',
15
+ * amount: 10000,
16
+ * duration: 'monthly',
17
+ * strategy: 'fixed',
18
+ * });
19
+ * ```
20
+ */
21
+ create(
22
+ params: SpendingLimitCreateParams,
23
+ options?: Core.RequestOptions,
24
+ ): Core.APIPromise<SpendingLimitCreateResponse> {
25
+ const { account_id, ...body } = params;
26
+ return (
27
+ this._client.post(`/accounts/${account_id}/ai-gateway/billing/spending-limit`, {
28
+ body,
29
+ ...options,
30
+ }) as Core.APIPromise<{ result: SpendingLimitCreateResponse }>
31
+ )._thenUnwrap((obj) => obj.result);
32
+ }
33
+
34
+ /**
35
+ * Remove the spending limit for the account.
36
+ *
37
+ * @example
38
+ * ```ts
39
+ * const spendingLimit =
40
+ * await client.aiGateway.billing.spendingLimit.delete({
41
+ * account_id: 'account_id',
42
+ * });
43
+ * ```
44
+ */
45
+ delete(
46
+ params: SpendingLimitDeleteParams,
47
+ options?: Core.RequestOptions,
48
+ ): Core.APIPromise<SpendingLimitDeleteResponse> {
49
+ const { account_id } = params;
50
+ return (
51
+ this._client.delete(
52
+ `/accounts/${account_id}/ai-gateway/billing/spending-limit`,
53
+ options,
54
+ ) as Core.APIPromise<{ result: SpendingLimitDeleteResponse }>
55
+ )._thenUnwrap((obj) => obj.result);
56
+ }
57
+
58
+ /**
59
+ * Retrieve the current spending limit configuration for the account.
60
+ *
61
+ * @example
62
+ * ```ts
63
+ * const spendingLimit =
64
+ * await client.aiGateway.billing.spendingLimit.get({
65
+ * account_id: 'account_id',
66
+ * });
67
+ * ```
68
+ */
69
+ get(
70
+ params: SpendingLimitGetParams,
71
+ options?: Core.RequestOptions,
72
+ ): Core.APIPromise<SpendingLimitGetResponse> {
73
+ const { account_id } = params;
74
+ return (
75
+ this._client.get(
76
+ `/accounts/${account_id}/ai-gateway/billing/spending-limit`,
77
+ options,
78
+ ) as Core.APIPromise<{ result: SpendingLimitGetResponse }>
79
+ )._thenUnwrap((obj) => obj.result);
80
+ }
81
+ }
82
+
83
+ export type SpendingLimitCreateResponse = unknown;
84
+
85
+ export type SpendingLimitDeleteResponse = unknown;
86
+
87
+ export interface SpendingLimitGetResponse {
88
+ config: SpendingLimitGetResponse.Config;
89
+
90
+ enabled: boolean;
91
+ }
92
+
93
+ export namespace SpendingLimitGetResponse {
94
+ export interface Config {
95
+ amount: number | null;
96
+
97
+ duration: string | null;
98
+
99
+ strategy: string | null;
100
+ }
101
+ }
102
+
103
+ export interface SpendingLimitCreateParams {
104
+ /**
105
+ * Path param: Cloudflare account ID.
106
+ */
107
+ account_id: string;
108
+
109
+ /**
110
+ * Body param: Spending limit amount in cents (min 100).
111
+ */
112
+ amount: number;
113
+
114
+ /**
115
+ * Body param: Spending limit duration.
116
+ */
117
+ duration: 'daily' | 'weekly' | 'monthly';
118
+
119
+ /**
120
+ * Body param: Spending limit strategy.
121
+ */
122
+ strategy: 'fixed' | 'sliding';
123
+ }
124
+
125
+ export interface SpendingLimitDeleteParams {
126
+ /**
127
+ * Cloudflare account ID.
128
+ */
129
+ account_id: string;
130
+ }
131
+
132
+ export interface SpendingLimitGetParams {
133
+ /**
134
+ * Cloudflare account ID.
135
+ */
136
+ account_id: string;
137
+ }
138
+
139
+ export declare namespace SpendingLimit {
140
+ export {
141
+ type SpendingLimitCreateResponse as SpendingLimitCreateResponse,
142
+ type SpendingLimitDeleteResponse as SpendingLimitDeleteResponse,
143
+ type SpendingLimitGetResponse as SpendingLimitGetResponse,
144
+ type SpendingLimitCreateParams as SpendingLimitCreateParams,
145
+ type SpendingLimitDeleteParams as SpendingLimitDeleteParams,
146
+ type SpendingLimitGetParams as SpendingLimitGetParams,
147
+ };
148
+ }
@@ -0,0 +1,133 @@
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 Config extends APIResource {
7
+ /**
8
+ * Configure auto top-up with a balance threshold and top-up amount.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const config =
13
+ * await client.aiGateway.billing.topup.config.create({
14
+ * account_id: 'account_id',
15
+ * amount: 5000,
16
+ * threshold: 500,
17
+ * });
18
+ * ```
19
+ */
20
+ create(params: ConfigCreateParams, options?: Core.RequestOptions): Core.APIPromise<ConfigCreateResponse> {
21
+ const { account_id, ...body } = params;
22
+ return (
23
+ this._client.post(`/accounts/${account_id}/ai-gateway/billing/topup/config`, {
24
+ body,
25
+ ...options,
26
+ }) as Core.APIPromise<{ result: ConfigCreateResponse }>
27
+ )._thenUnwrap((obj) => obj.result);
28
+ }
29
+
30
+ /**
31
+ * Remove the auto top-up configuration for the account.
32
+ *
33
+ * @example
34
+ * ```ts
35
+ * const config =
36
+ * await client.aiGateway.billing.topup.config.delete({
37
+ * account_id: 'account_id',
38
+ * });
39
+ * ```
40
+ */
41
+ delete(params: ConfigDeleteParams, options?: Core.RequestOptions): Core.APIPromise<ConfigDeleteResponse> {
42
+ const { account_id } = params;
43
+ return (
44
+ this._client.delete(
45
+ `/accounts/${account_id}/ai-gateway/billing/topup/config`,
46
+ options,
47
+ ) as Core.APIPromise<{ result: ConfigDeleteResponse }>
48
+ )._thenUnwrap((obj) => obj.result);
49
+ }
50
+
51
+ /**
52
+ * Retrieve the current auto top-up threshold, amount, and any error state.
53
+ *
54
+ * @example
55
+ * ```ts
56
+ * const config =
57
+ * await client.aiGateway.billing.topup.config.get({
58
+ * account_id: 'account_id',
59
+ * });
60
+ * ```
61
+ */
62
+ get(params: ConfigGetParams, options?: Core.RequestOptions): Core.APIPromise<ConfigGetResponse> {
63
+ const { account_id } = params;
64
+ return (
65
+ this._client.get(
66
+ `/accounts/${account_id}/ai-gateway/billing/topup/config`,
67
+ options,
68
+ ) as Core.APIPromise<{ result: ConfigGetResponse }>
69
+ )._thenUnwrap((obj) => obj.result);
70
+ }
71
+ }
72
+
73
+ export interface ConfigCreateResponse {
74
+ amount: number;
75
+
76
+ threshold: number;
77
+ }
78
+
79
+ export type ConfigDeleteResponse = unknown;
80
+
81
+ export interface ConfigGetResponse {
82
+ amount: number | null;
83
+
84
+ disabledReason: string | null;
85
+
86
+ error: string | null;
87
+
88
+ lastFailedAt: number | null;
89
+
90
+ threshold: number | null;
91
+ }
92
+
93
+ export interface ConfigCreateParams {
94
+ /**
95
+ * Path param: Cloudflare account ID.
96
+ */
97
+ account_id: string;
98
+
99
+ /**
100
+ * Body param: Auto top-up amount in cents (min 1000).
101
+ */
102
+ amount: number;
103
+
104
+ /**
105
+ * Body param: Balance threshold in cents that triggers auto top-up (min 500).
106
+ */
107
+ threshold: number;
108
+ }
109
+
110
+ export interface ConfigDeleteParams {
111
+ /**
112
+ * Cloudflare account ID.
113
+ */
114
+ account_id: string;
115
+ }
116
+
117
+ export interface ConfigGetParams {
118
+ /**
119
+ * Cloudflare account ID.
120
+ */
121
+ account_id: string;
122
+ }
123
+
124
+ export declare namespace Config {
125
+ export {
126
+ type ConfigCreateResponse as ConfigCreateResponse,
127
+ type ConfigDeleteResponse as ConfigDeleteResponse,
128
+ type ConfigGetResponse as ConfigGetResponse,
129
+ type ConfigCreateParams as ConfigCreateParams,
130
+ type ConfigDeleteParams as ConfigDeleteParams,
131
+ type ConfigGetParams as ConfigGetParams,
132
+ };
133
+ }
@@ -0,0 +1,18 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export {
4
+ Config,
5
+ type ConfigCreateResponse,
6
+ type ConfigDeleteResponse,
7
+ type ConfigGetResponse,
8
+ type ConfigCreateParams,
9
+ type ConfigDeleteParams,
10
+ type ConfigGetParams,
11
+ } from './config';
12
+ export {
13
+ Topup,
14
+ type TopupCreateResponse,
15
+ type TopupStatusResponse,
16
+ type TopupCreateParams,
17
+ type TopupStatusParams,
18
+ } from './topup';