cloudflare 6.1.0 → 6.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (676) hide show
  1. package/CHANGELOG.md +274 -0
  2. package/index.d.mts +6 -0
  3. package/index.d.ts +6 -0
  4. package/index.d.ts.map +1 -1
  5. package/index.js +6 -0
  6. package/index.js.map +1 -1
  7. package/index.mjs +6 -0
  8. package/index.mjs.map +1 -1
  9. package/package.json +1 -1
  10. package/resources/acm/custom-trust-store.d.ts +9 -6
  11. package/resources/acm/custom-trust-store.d.ts.map +1 -1
  12. package/resources/acm/custom-trust-store.js +5 -4
  13. package/resources/acm/custom-trust-store.js.map +1 -1
  14. package/resources/acm/custom-trust-store.mjs +5 -4
  15. package/resources/acm/custom-trust-store.mjs.map +1 -1
  16. package/resources/ai-gateway/ai-gateway.d.ts +241 -0
  17. package/resources/ai-gateway/ai-gateway.d.ts.map +1 -1
  18. package/resources/ai-gateway/ai-gateway.js +4 -0
  19. package/resources/ai-gateway/ai-gateway.js.map +1 -1
  20. package/resources/ai-gateway/ai-gateway.mjs +4 -0
  21. package/resources/ai-gateway/ai-gateway.mjs.map +1 -1
  22. package/resources/ai-gateway/billing/billing.d.ts +202 -0
  23. package/resources/ai-gateway/billing/billing.d.ts.map +1 -0
  24. package/resources/ai-gateway/billing/billing.js +111 -0
  25. package/resources/ai-gateway/billing/billing.js.map +1 -0
  26. package/resources/ai-gateway/billing/billing.mjs +84 -0
  27. package/resources/ai-gateway/billing/billing.mjs.map +1 -0
  28. package/resources/ai-gateway/billing/index.d.ts +4 -0
  29. package/resources/ai-gateway/billing/index.d.ts.map +1 -0
  30. package/resources/ai-gateway/billing/index.js +11 -0
  31. package/resources/ai-gateway/billing/index.js.map +1 -0
  32. package/resources/ai-gateway/billing/index.mjs +5 -0
  33. package/resources/ai-gateway/billing/index.mjs.map +1 -0
  34. package/resources/ai-gateway/billing/spending-limit.d.ts +90 -0
  35. package/resources/ai-gateway/billing/spending-limit.d.ts.map +1 -0
  36. package/resources/ai-gateway/billing/spending-limit.js +60 -0
  37. package/resources/ai-gateway/billing/spending-limit.js.map +1 -0
  38. package/resources/ai-gateway/billing/spending-limit.mjs +56 -0
  39. package/resources/ai-gateway/billing/spending-limit.mjs.map +1 -0
  40. package/resources/ai-gateway/billing/topup/config.d.ts +84 -0
  41. package/resources/ai-gateway/billing/topup/config.d.ts.map +1 -0
  42. package/resources/ai-gateway/billing/topup/config.js +59 -0
  43. package/resources/ai-gateway/billing/topup/config.js.map +1 -0
  44. package/resources/ai-gateway/billing/topup/config.mjs +55 -0
  45. package/resources/ai-gateway/billing/topup/config.mjs.map +1 -0
  46. package/resources/ai-gateway/billing/topup/index.d.ts +3 -0
  47. package/resources/ai-gateway/billing/topup/index.d.ts.map +1 -0
  48. package/resources/ai-gateway/billing/topup/index.js +9 -0
  49. package/resources/ai-gateway/billing/topup/index.js.map +1 -0
  50. package/resources/ai-gateway/billing/topup/index.mjs +4 -0
  51. package/resources/ai-gateway/billing/topup/index.mjs.map +1 -0
  52. package/resources/ai-gateway/billing/topup/topup.d.ts +83 -0
  53. package/resources/ai-gateway/billing/topup/topup.d.ts.map +1 -0
  54. package/resources/ai-gateway/billing/topup/topup.js +76 -0
  55. package/resources/ai-gateway/billing/topup/topup.js.map +1 -0
  56. package/resources/ai-gateway/billing/topup/topup.mjs +49 -0
  57. package/resources/ai-gateway/billing/topup/topup.mjs.map +1 -0
  58. package/resources/ai-gateway/billing/topup.d.ts +2 -0
  59. package/resources/ai-gateway/billing/topup.d.ts.map +1 -0
  60. package/resources/ai-gateway/billing/topup.js +19 -0
  61. package/resources/ai-gateway/billing/topup.js.map +1 -0
  62. package/resources/ai-gateway/billing/topup.mjs +3 -0
  63. package/resources/ai-gateway/billing/topup.mjs.map +1 -0
  64. package/resources/ai-gateway/billing.d.ts +2 -0
  65. package/resources/ai-gateway/billing.d.ts.map +1 -0
  66. package/resources/ai-gateway/billing.js +19 -0
  67. package/resources/ai-gateway/billing.js.map +1 -0
  68. package/resources/ai-gateway/billing.mjs +3 -0
  69. package/resources/ai-gateway/billing.mjs.map +1 -0
  70. package/resources/ai-gateway/dynamic-routing.d.ts +17 -0
  71. package/resources/ai-gateway/dynamic-routing.d.ts.map +1 -1
  72. package/resources/ai-gateway/dynamic-routing.js +5 -2
  73. package/resources/ai-gateway/dynamic-routing.js.map +1 -1
  74. package/resources/ai-gateway/dynamic-routing.mjs +5 -2
  75. package/resources/ai-gateway/dynamic-routing.mjs.map +1 -1
  76. package/resources/ai-gateway/index.d.ts +1 -0
  77. package/resources/ai-gateway/index.d.ts.map +1 -1
  78. package/resources/ai-gateway/index.js +3 -1
  79. package/resources/ai-gateway/index.js.map +1 -1
  80. package/resources/ai-gateway/index.mjs +1 -0
  81. package/resources/ai-gateway/index.mjs.map +1 -1
  82. package/resources/ai-security/ai-security.d.ts +70 -0
  83. package/resources/ai-security/ai-security.d.ts.map +1 -0
  84. package/resources/ai-security/ai-security.js +69 -0
  85. package/resources/ai-security/ai-security.js.map +1 -0
  86. package/resources/ai-security/ai-security.mjs +42 -0
  87. package/resources/ai-security/ai-security.mjs.map +1 -0
  88. package/resources/ai-security/custom-topics.d.ts +105 -0
  89. package/resources/ai-security/custom-topics.d.ts.map +1 -0
  90. package/resources/ai-security/custom-topics.js +48 -0
  91. package/resources/ai-security/custom-topics.js.map +1 -0
  92. package/resources/ai-security/custom-topics.mjs +44 -0
  93. package/resources/ai-security/custom-topics.mjs.map +1 -0
  94. package/resources/ai-security/index.d.ts +3 -0
  95. package/resources/ai-security/index.d.ts.map +1 -0
  96. package/resources/ai-security/index.js +9 -0
  97. package/resources/ai-security/index.js.map +1 -0
  98. package/resources/ai-security/index.mjs +4 -0
  99. package/resources/ai-security/index.mjs.map +1 -0
  100. package/resources/ai-security.d.ts +2 -0
  101. package/resources/ai-security.d.ts.map +1 -0
  102. package/resources/ai-security.js +19 -0
  103. package/resources/ai-security.js.map +1 -0
  104. package/resources/ai-security.mjs +3 -0
  105. package/resources/ai-security.mjs.map +1 -0
  106. package/resources/aisearch/instances/instances.d.ts +70 -21
  107. package/resources/aisearch/instances/instances.d.ts.map +1 -1
  108. package/resources/aisearch/instances/instances.js.map +1 -1
  109. package/resources/aisearch/instances/instances.mjs.map +1 -1
  110. package/resources/aisearch/namespaces/instances/instances.d.ts +70 -21
  111. package/resources/aisearch/namespaces/instances/instances.d.ts.map +1 -1
  112. package/resources/aisearch/namespaces/instances/instances.js.map +1 -1
  113. package/resources/aisearch/namespaces/instances/instances.mjs.map +1 -1
  114. package/resources/cloudforce-one/threat-events/threat-events.d.ts +1 -1
  115. package/resources/cloudforce-one/threat-events/threat-events.d.ts.map +1 -1
  116. package/resources/d1/d1.d.ts +3 -3
  117. package/resources/d1/database/database.d.ts +17 -0
  118. package/resources/d1/database/database.d.ts.map +1 -1
  119. package/resources/d1/database/database.js.map +1 -1
  120. package/resources/d1/database/database.mjs.map +1 -1
  121. package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.d.ts +26 -0
  122. package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.d.ts.map +1 -0
  123. package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.js +59 -0
  124. package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.js.map +1 -0
  125. package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.mjs +32 -0
  126. package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.mjs.map +1 -0
  127. package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.d.ts +180 -0
  128. package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.d.ts.map +1 -0
  129. package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.js +99 -0
  130. package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.js.map +1 -0
  131. package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.mjs +71 -0
  132. package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.mjs.map +1 -0
  133. package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.d.ts +3 -0
  134. package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.d.ts.map +1 -0
  135. package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.js +10 -0
  136. package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.js.map +1 -0
  137. package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.mjs +4 -0
  138. package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.mjs.map +1 -0
  139. package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.d.ts +157 -0
  140. package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.d.ts.map +1 -0
  141. package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.js +57 -0
  142. package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.js.map +1 -0
  143. package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.mjs +53 -0
  144. package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.mjs.map +1 -0
  145. package/resources/ddos-protection/advanced-tcp-protection/allowlist.d.ts +2 -0
  146. package/resources/ddos-protection/advanced-tcp-protection/allowlist.d.ts.map +1 -0
  147. package/resources/ddos-protection/advanced-tcp-protection/allowlist.js +19 -0
  148. package/resources/ddos-protection/advanced-tcp-protection/allowlist.js.map +1 -0
  149. package/resources/ddos-protection/advanced-tcp-protection/allowlist.mjs +3 -0
  150. package/resources/ddos-protection/advanced-tcp-protection/allowlist.mjs.map +1 -0
  151. package/resources/ddos-protection/advanced-tcp-protection/index.d.ts +7 -0
  152. package/resources/ddos-protection/advanced-tcp-protection/index.d.ts.map +1 -0
  153. package/resources/ddos-protection/advanced-tcp-protection/index.js +20 -0
  154. package/resources/ddos-protection/advanced-tcp-protection/index.js.map +1 -0
  155. package/resources/ddos-protection/advanced-tcp-protection/index.mjs +8 -0
  156. package/resources/ddos-protection/advanced-tcp-protection/index.mjs.map +1 -0
  157. package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.d.ts +3 -0
  158. package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.d.ts.map +1 -0
  159. package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.js +11 -0
  160. package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.js.map +1 -0
  161. package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.mjs +4 -0
  162. package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.mjs.map +1 -0
  163. package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.d.ts +157 -0
  164. package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.d.ts.map +1 -0
  165. package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.js +57 -0
  166. package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.js.map +1 -0
  167. package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.mjs +53 -0
  168. package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.mjs.map +1 -0
  169. package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.d.ts +257 -0
  170. package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.d.ts.map +1 -0
  171. package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.js +129 -0
  172. package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.js.map +1 -0
  173. package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.mjs +100 -0
  174. package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.mjs.map +1 -0
  175. package/resources/ddos-protection/advanced-tcp-protection/prefixes.d.ts +2 -0
  176. package/resources/ddos-protection/advanced-tcp-protection/prefixes.d.ts.map +1 -0
  177. package/resources/ddos-protection/advanced-tcp-protection/prefixes.js +19 -0
  178. package/resources/ddos-protection/advanced-tcp-protection/prefixes.js.map +1 -0
  179. package/resources/ddos-protection/advanced-tcp-protection/prefixes.mjs +3 -0
  180. package/resources/ddos-protection/advanced-tcp-protection/prefixes.mjs.map +1 -0
  181. package/resources/ddos-protection/advanced-tcp-protection/status.d.ts +57 -0
  182. package/resources/ddos-protection/advanced-tcp-protection/status.d.ts.map +1 -0
  183. package/resources/ddos-protection/advanced-tcp-protection/status.js +42 -0
  184. package/resources/ddos-protection/advanced-tcp-protection/status.js.map +1 -0
  185. package/resources/ddos-protection/advanced-tcp-protection/status.mjs +38 -0
  186. package/resources/ddos-protection/advanced-tcp-protection/status.mjs.map +1 -0
  187. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.d.ts +174 -0
  188. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.d.ts.map +1 -0
  189. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.js +96 -0
  190. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.js.map +1 -0
  191. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.mjs +68 -0
  192. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.mjs.map +1 -0
  193. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.d.ts +3 -0
  194. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.d.ts.map +1 -0
  195. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.js +10 -0
  196. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.js.map +1 -0
  197. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.mjs +4 -0
  198. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.mjs.map +1 -0
  199. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.d.ts +150 -0
  200. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.d.ts.map +1 -0
  201. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.js +57 -0
  202. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.js.map +1 -0
  203. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.mjs +53 -0
  204. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.mjs.map +1 -0
  205. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.d.ts +2 -0
  206. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.d.ts.map +1 -0
  207. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.js +19 -0
  208. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.js.map +1 -0
  209. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.mjs +3 -0
  210. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.mjs.map +1 -0
  211. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.d.ts +4 -0
  212. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.d.ts.map +1 -0
  213. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.js +13 -0
  214. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.js.map +1 -0
  215. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.mjs +5 -0
  216. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.mjs.map +1 -0
  217. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.d.ts +3 -0
  218. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.d.ts.map +1 -0
  219. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.js +10 -0
  220. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.js.map +1 -0
  221. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.mjs +4 -0
  222. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.mjs.map +1 -0
  223. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.d.ts +203 -0
  224. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.d.ts.map +1 -0
  225. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.js +57 -0
  226. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.js.map +1 -0
  227. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.mjs +53 -0
  228. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.mjs.map +1 -0
  229. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.d.ts +234 -0
  230. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.d.ts.map +1 -0
  231. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.js +98 -0
  232. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.js.map +1 -0
  233. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.mjs +70 -0
  234. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.mjs.map +1 -0
  235. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.d.ts +2 -0
  236. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.d.ts.map +1 -0
  237. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.js +19 -0
  238. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.js.map +1 -0
  239. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.mjs +3 -0
  240. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.mjs.map +1 -0
  241. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.d.ts +14 -0
  242. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.d.ts.map +1 -0
  243. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.js +45 -0
  244. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.js.map +1 -0
  245. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.mjs +18 -0
  246. package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.mjs.map +1 -0
  247. package/resources/ddos-protection/advanced-tcp-protection/syn-protection.d.ts +2 -0
  248. package/resources/ddos-protection/advanced-tcp-protection/syn-protection.d.ts.map +1 -0
  249. package/resources/ddos-protection/advanced-tcp-protection/syn-protection.js +19 -0
  250. package/resources/ddos-protection/advanced-tcp-protection/syn-protection.js.map +1 -0
  251. package/resources/ddos-protection/advanced-tcp-protection/syn-protection.mjs +3 -0
  252. package/resources/ddos-protection/advanced-tcp-protection/syn-protection.mjs.map +1 -0
  253. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.d.ts +174 -0
  254. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.d.ts.map +1 -0
  255. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.js +96 -0
  256. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.js.map +1 -0
  257. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.mjs +68 -0
  258. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.mjs.map +1 -0
  259. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.d.ts +3 -0
  260. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.d.ts.map +1 -0
  261. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.js +10 -0
  262. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.js.map +1 -0
  263. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.mjs +4 -0
  264. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.mjs.map +1 -0
  265. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.d.ts +150 -0
  266. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.d.ts.map +1 -0
  267. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.js +57 -0
  268. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.js.map +1 -0
  269. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.mjs +53 -0
  270. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.mjs.map +1 -0
  271. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.d.ts +2 -0
  272. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.d.ts.map +1 -0
  273. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.js +19 -0
  274. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.js.map +1 -0
  275. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.mjs +3 -0
  276. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.mjs.map +1 -0
  277. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.d.ts +4 -0
  278. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.d.ts.map +1 -0
  279. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.js +13 -0
  280. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.js.map +1 -0
  281. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.mjs +5 -0
  282. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.mjs.map +1 -0
  283. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.d.ts +3 -0
  284. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.d.ts.map +1 -0
  285. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.js +10 -0
  286. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.js.map +1 -0
  287. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.mjs +4 -0
  288. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.mjs.map +1 -0
  289. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.d.ts +190 -0
  290. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.d.ts.map +1 -0
  291. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.js +57 -0
  292. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.js.map +1 -0
  293. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.mjs +53 -0
  294. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.mjs.map +1 -0
  295. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.d.ts +220 -0
  296. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.d.ts.map +1 -0
  297. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.js +98 -0
  298. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.js.map +1 -0
  299. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.mjs +70 -0
  300. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.mjs.map +1 -0
  301. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.d.ts +2 -0
  302. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.d.ts.map +1 -0
  303. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.js +19 -0
  304. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.js.map +1 -0
  305. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.mjs +3 -0
  306. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.mjs.map +1 -0
  307. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.d.ts +14 -0
  308. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.d.ts.map +1 -0
  309. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.js +45 -0
  310. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.js.map +1 -0
  311. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.mjs +18 -0
  312. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.mjs.map +1 -0
  313. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.d.ts +2 -0
  314. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.d.ts.map +1 -0
  315. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.js +19 -0
  316. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.js.map +1 -0
  317. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.mjs +3 -0
  318. package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.mjs.map +1 -0
  319. package/resources/ddos-protection/advanced-tcp-protection.d.ts +2 -0
  320. package/resources/ddos-protection/advanced-tcp-protection.d.ts.map +1 -0
  321. package/resources/ddos-protection/advanced-tcp-protection.js +19 -0
  322. package/resources/ddos-protection/advanced-tcp-protection.js.map +1 -0
  323. package/resources/ddos-protection/advanced-tcp-protection.mjs +3 -0
  324. package/resources/ddos-protection/advanced-tcp-protection.mjs.map +1 -0
  325. package/resources/ddos-protection/ddos-protection.d.ts +10 -0
  326. package/resources/ddos-protection/ddos-protection.d.ts.map +1 -0
  327. package/resources/ddos-protection/ddos-protection.js +39 -0
  328. package/resources/ddos-protection/ddos-protection.js.map +1 -0
  329. package/resources/ddos-protection/ddos-protection.mjs +12 -0
  330. package/resources/ddos-protection/ddos-protection.mjs.map +1 -0
  331. package/resources/ddos-protection/index.d.ts +3 -0
  332. package/resources/ddos-protection/index.d.ts.map +1 -0
  333. package/resources/ddos-protection/index.js +9 -0
  334. package/resources/ddos-protection/index.js.map +1 -0
  335. package/resources/ddos-protection/index.mjs +4 -0
  336. package/resources/ddos-protection/index.mjs.map +1 -0
  337. package/resources/ddos-protection.d.ts +2 -0
  338. package/resources/ddos-protection.d.ts.map +1 -0
  339. package/resources/ddos-protection.js +19 -0
  340. package/resources/ddos-protection.js.map +1 -0
  341. package/resources/ddos-protection.mjs +3 -0
  342. package/resources/ddos-protection.mjs.map +1 -0
  343. package/resources/email-security/investigate/investigate.d.ts +10 -0
  344. package/resources/email-security/investigate/investigate.d.ts.map +1 -1
  345. package/resources/email-security/investigate/investigate.js.map +1 -1
  346. package/resources/email-security/investigate/investigate.mjs.map +1 -1
  347. package/resources/index.d.ts +2 -0
  348. package/resources/index.d.ts.map +1 -1
  349. package/resources/index.js +7 -3
  350. package/resources/index.js.map +1 -1
  351. package/resources/index.mjs +2 -0
  352. package/resources/index.mjs.map +1 -1
  353. package/resources/intel/indicator-feeds/indicator-feeds.d.ts +10 -0
  354. package/resources/intel/indicator-feeds/indicator-feeds.d.ts.map +1 -1
  355. package/resources/intel/indicator-feeds/indicator-feeds.js.map +1 -1
  356. package/resources/intel/indicator-feeds/indicator-feeds.mjs.map +1 -1
  357. package/resources/intel/miscategorizations.d.ts +5 -0
  358. package/resources/intel/miscategorizations.d.ts.map +1 -1
  359. package/resources/intel/miscategorizations.js +5 -0
  360. package/resources/intel/miscategorizations.js.map +1 -1
  361. package/resources/intel/miscategorizations.mjs +5 -0
  362. package/resources/intel/miscategorizations.mjs.map +1 -1
  363. package/resources/load-balancers/index.d.ts +1 -1
  364. package/resources/load-balancers/index.d.ts.map +1 -1
  365. package/resources/load-balancers/index.js +9 -9
  366. package/resources/load-balancers/index.js.map +1 -1
  367. package/resources/load-balancers/index.mjs +1 -1
  368. package/resources/load-balancers/load-balancers.d.ts +2 -2
  369. package/resources/load-balancers/load-balancers.d.ts.map +1 -1
  370. package/resources/load-balancers/load-balancers.js +2 -2
  371. package/resources/load-balancers/load-balancers.js.map +1 -1
  372. package/resources/load-balancers/load-balancers.mjs +2 -2
  373. package/resources/load-balancers/load-balancers.mjs.map +1 -1
  374. package/resources/load-balancers/monitor-groups/index.d.ts +3 -0
  375. package/resources/load-balancers/monitor-groups/index.d.ts.map +1 -0
  376. package/resources/load-balancers/monitor-groups/index.js +11 -0
  377. package/resources/load-balancers/monitor-groups/index.js.map +1 -0
  378. package/resources/load-balancers/monitor-groups/index.mjs +4 -0
  379. package/resources/load-balancers/monitor-groups/index.mjs.map +1 -0
  380. package/resources/load-balancers/monitor-groups/monitor-groups.d.ts +299 -0
  381. package/resources/load-balancers/monitor-groups/monitor-groups.d.ts.map +1 -0
  382. package/resources/load-balancers/monitor-groups/monitor-groups.js +181 -0
  383. package/resources/load-balancers/monitor-groups/monitor-groups.js.map +1 -0
  384. package/resources/load-balancers/monitor-groups/monitor-groups.mjs +153 -0
  385. package/resources/load-balancers/monitor-groups/monitor-groups.mjs.map +1 -0
  386. package/resources/load-balancers/monitor-groups/references.d.ts +38 -0
  387. package/resources/load-balancers/monitor-groups/references.d.ts.map +1 -0
  388. package/resources/load-balancers/monitor-groups/references.js +32 -0
  389. package/resources/load-balancers/monitor-groups/references.js.map +1 -0
  390. package/resources/load-balancers/monitor-groups/references.mjs +27 -0
  391. package/resources/load-balancers/monitor-groups/references.mjs.map +1 -0
  392. package/resources/load-balancers/monitor-groups.d.ts +1 -312
  393. package/resources/load-balancers/monitor-groups.d.ts.map +1 -1
  394. package/resources/load-balancers/monitor-groups.js +15 -149
  395. package/resources/load-balancers/monitor-groups.js.map +1 -1
  396. package/resources/load-balancers/monitor-groups.mjs +1 -146
  397. package/resources/load-balancers/monitor-groups.mjs.map +1 -1
  398. package/resources/radar/bgp/bgp.d.ts +2 -2
  399. package/resources/radar/bgp/bgp.d.ts.map +1 -1
  400. package/resources/radar/bgp/bgp.js +2 -2
  401. package/resources/radar/bgp/bgp.js.map +1 -1
  402. package/resources/radar/bgp/bgp.mjs +2 -2
  403. package/resources/radar/bgp/bgp.mjs.map +1 -1
  404. package/resources/radar/bgp/index.d.ts +1 -1
  405. package/resources/radar/bgp/index.d.ts.map +1 -1
  406. package/resources/radar/bgp/index.js +8 -8
  407. package/resources/radar/bgp/index.js.map +1 -1
  408. package/resources/radar/bgp/index.mjs +1 -1
  409. package/resources/radar/bgp/ips/index.d.ts +3 -0
  410. package/resources/radar/bgp/ips/index.d.ts.map +1 -0
  411. package/resources/radar/bgp/ips/index.js +9 -0
  412. package/resources/radar/bgp/ips/index.js.map +1 -0
  413. package/resources/radar/bgp/ips/index.mjs +4 -0
  414. package/resources/radar/bgp/ips/index.mjs.map +1 -0
  415. package/resources/radar/bgp/ips/ips.d.ts +187 -0
  416. package/resources/radar/bgp/ips/ips.d.ts.map +1 -0
  417. package/resources/radar/bgp/ips/ips.js +46 -0
  418. package/resources/radar/bgp/ips/ips.js.map +1 -0
  419. package/resources/radar/bgp/ips/ips.mjs +19 -0
  420. package/resources/radar/bgp/ips/ips.mjs.map +1 -0
  421. package/resources/radar/bgp/ips/top.d.ts +55 -0
  422. package/resources/radar/bgp/ips/top.d.ts.map +1 -0
  423. package/resources/radar/bgp/ips/top.js +16 -0
  424. package/resources/radar/bgp/ips/top.js.map +1 -0
  425. package/resources/radar/bgp/ips/top.mjs +12 -0
  426. package/resources/radar/bgp/ips/top.mjs.map +1 -0
  427. package/resources/radar/bgp/ips.d.ts +1 -182
  428. package/resources/radar/bgp/ips.d.ts.map +1 -1
  429. package/resources/radar/bgp/ips.js +15 -12
  430. package/resources/radar/bgp/ips.js.map +1 -1
  431. package/resources/radar/bgp/ips.mjs +1 -10
  432. package/resources/radar/bgp/ips.mjs.map +1 -1
  433. package/resources/radar/bgp/rpki/index.d.ts +1 -0
  434. package/resources/radar/bgp/rpki/index.d.ts.map +1 -1
  435. package/resources/radar/bgp/rpki/index.js +3 -1
  436. package/resources/radar/bgp/rpki/index.js.map +1 -1
  437. package/resources/radar/bgp/rpki/index.mjs +1 -0
  438. package/resources/radar/bgp/rpki/index.mjs.map +1 -1
  439. package/resources/radar/bgp/rpki/roas.d.ts +78 -0
  440. package/resources/radar/bgp/rpki/roas.d.ts.map +1 -0
  441. package/resources/radar/bgp/rpki/roas.js +16 -0
  442. package/resources/radar/bgp/rpki/roas.js.map +1 -0
  443. package/resources/radar/bgp/rpki/roas.mjs +12 -0
  444. package/resources/radar/bgp/rpki/roas.mjs.map +1 -0
  445. package/resources/radar/bgp/rpki/rpki.d.ts +4 -0
  446. package/resources/radar/bgp/rpki/rpki.d.ts.map +1 -1
  447. package/resources/radar/bgp/rpki/rpki.js +4 -0
  448. package/resources/radar/bgp/rpki/rpki.js.map +1 -1
  449. package/resources/radar/bgp/rpki/rpki.mjs +4 -0
  450. package/resources/radar/bgp/rpki/rpki.mjs.map +1 -1
  451. package/resources/radar/http/http.d.ts +19 -4
  452. package/resources/radar/http/http.d.ts.map +1 -1
  453. package/resources/radar/http/http.js.map +1 -1
  454. package/resources/radar/http/http.mjs.map +1 -1
  455. package/resources/radar/post-quantum/tls.d.ts +28 -3
  456. package/resources/radar/post-quantum/tls.d.ts.map +1 -1
  457. package/resources/radar/post-quantum/tls.js +3 -2
  458. package/resources/radar/post-quantum/tls.js.map +1 -1
  459. package/resources/radar/post-quantum/tls.mjs +3 -2
  460. package/resources/radar/post-quantum/tls.mjs.map +1 -1
  461. package/resources/radar/quality/iqi.d.ts +1 -3
  462. package/resources/radar/quality/iqi.d.ts.map +1 -1
  463. package/resources/resource-sharing/resource-sharing.d.ts +14 -7
  464. package/resources/resource-sharing/resource-sharing.d.ts.map +1 -1
  465. package/resources/resource-sharing/resource-sharing.js.map +1 -1
  466. package/resources/resource-sharing/resource-sharing.mjs.map +1 -1
  467. package/resources/resource-sharing/resources.d.ts +7 -7
  468. package/resources/resource-sharing/resources.d.ts.map +1 -1
  469. package/resources/resource-sharing/resources.js.map +1 -1
  470. package/resources/resource-sharing/resources.mjs.map +1 -1
  471. package/resources/secrets-store/stores/stores.d.ts +11 -2
  472. package/resources/secrets-store/stores/stores.d.ts.map +1 -1
  473. package/resources/secrets-store/stores/stores.js +9 -3
  474. package/resources/secrets-store/stores/stores.js.map +1 -1
  475. package/resources/secrets-store/stores/stores.mjs +9 -3
  476. package/resources/secrets-store/stores/stores.mjs.map +1 -1
  477. package/resources/url-scanner/scans.d.ts +36 -0
  478. package/resources/url-scanner/scans.d.ts.map +1 -1
  479. package/resources/user/user.d.ts +10 -2
  480. package/resources/user/user.d.ts.map +1 -1
  481. package/resources/user/user.js.map +1 -1
  482. package/resources/user/user.mjs.map +1 -1
  483. package/resources/workflows/instances/instances.d.ts +5 -0
  484. package/resources/workflows/instances/instances.d.ts.map +1 -1
  485. package/resources/workflows/instances/instances.js.map +1 -1
  486. package/resources/workflows/instances/instances.mjs.map +1 -1
  487. package/resources/zero-trust/devices/fleet-status.d.ts +4 -0
  488. package/resources/zero-trust/devices/fleet-status.d.ts.map +1 -1
  489. package/resources/zero-trust/dex/fleet-status/devices.d.ts +4 -0
  490. package/resources/zero-trust/dex/fleet-status/devices.d.ts.map +1 -1
  491. package/resources/zero-trust/dex/fleet-status/devices.js.map +1 -1
  492. package/resources/zero-trust/dex/fleet-status/devices.mjs.map +1 -1
  493. package/resources/zero-trust/dlp/entries/custom.d.ts +59 -25
  494. package/resources/zero-trust/dlp/entries/custom.d.ts.map +1 -1
  495. package/resources/zero-trust/dlp/entries/custom.js.map +1 -1
  496. package/resources/zero-trust/dlp/entries/custom.mjs.map +1 -1
  497. package/resources/zero-trust/dlp/entries/entries.d.ts +71 -26
  498. package/resources/zero-trust/dlp/entries/entries.d.ts.map +1 -1
  499. package/resources/zero-trust/dlp/entries/entries.js.map +1 -1
  500. package/resources/zero-trust/dlp/entries/entries.mjs.map +1 -1
  501. package/resources/zero-trust/dlp/entries/integration.d.ts +59 -25
  502. package/resources/zero-trust/dlp/entries/integration.d.ts.map +1 -1
  503. package/resources/zero-trust/dlp/entries/integration.js.map +1 -1
  504. package/resources/zero-trust/dlp/entries/integration.mjs.map +1 -1
  505. package/resources/zero-trust/dlp/entries/predefined.d.ts +59 -25
  506. package/resources/zero-trust/dlp/entries/predefined.d.ts.map +1 -1
  507. package/resources/zero-trust/dlp/entries/predefined.js.map +1 -1
  508. package/resources/zero-trust/dlp/entries/predefined.mjs.map +1 -1
  509. package/resources/zero-trust/dlp/profiles/custom.d.ts +24 -2
  510. package/resources/zero-trust/dlp/profiles/custom.d.ts.map +1 -1
  511. package/resources/zero-trust/dlp/profiles/predefined.d.ts +12 -1
  512. package/resources/zero-trust/dlp/profiles/predefined.d.ts.map +1 -1
  513. package/resources/zero-trust/dlp/profiles/profiles.d.ts +60 -5
  514. package/resources/zero-trust/dlp/profiles/profiles.d.ts.map +1 -1
  515. package/resources/zero-trust/dlp/profiles/profiles.js.map +1 -1
  516. package/resources/zero-trust/dlp/profiles/profiles.mjs.map +1 -1
  517. package/resources/zero-trust/index.d.ts +1 -0
  518. package/resources/zero-trust/index.d.ts.map +1 -1
  519. package/resources/zero-trust/index.js +8 -6
  520. package/resources/zero-trust/index.js.map +1 -1
  521. package/resources/zero-trust/index.mjs +1 -0
  522. package/resources/zero-trust/index.mjs.map +1 -1
  523. package/resources/zero-trust/resource-library/applications.d.ts +238 -0
  524. package/resources/zero-trust/resource-library/applications.d.ts.map +1 -0
  525. package/resources/zero-trust/resource-library/applications.js +47 -0
  526. package/resources/zero-trust/resource-library/applications.js.map +1 -0
  527. package/resources/zero-trust/resource-library/applications.mjs +42 -0
  528. package/resources/zero-trust/resource-library/applications.mjs.map +1 -0
  529. package/resources/zero-trust/resource-library/categories.d.ts +94 -0
  530. package/resources/zero-trust/resource-library/categories.d.ts.map +1 -0
  531. package/resources/zero-trust/resource-library/categories.js +47 -0
  532. package/resources/zero-trust/resource-library/categories.js.map +1 -0
  533. package/resources/zero-trust/resource-library/categories.mjs +42 -0
  534. package/resources/zero-trust/resource-library/categories.mjs.map +1 -0
  535. package/resources/zero-trust/resource-library/index.d.ts +4 -0
  536. package/resources/zero-trust/resource-library/index.d.ts.map +1 -0
  537. package/resources/zero-trust/resource-library/index.js +13 -0
  538. package/resources/zero-trust/resource-library/index.js.map +1 -0
  539. package/resources/zero-trust/resource-library/index.mjs +5 -0
  540. package/resources/zero-trust/resource-library/index.mjs.map +1 -0
  541. package/resources/zero-trust/resource-library/resource-library.d.ts +14 -0
  542. package/resources/zero-trust/resource-library/resource-library.d.ts.map +1 -0
  543. package/resources/zero-trust/resource-library/resource-library.js +45 -0
  544. package/resources/zero-trust/resource-library/resource-library.js.map +1 -0
  545. package/resources/zero-trust/resource-library/resource-library.mjs +18 -0
  546. package/resources/zero-trust/resource-library/resource-library.mjs.map +1 -0
  547. package/resources/zero-trust/resource-library.d.ts +2 -0
  548. package/resources/zero-trust/resource-library.d.ts.map +1 -0
  549. package/resources/zero-trust/resource-library.js +19 -0
  550. package/resources/zero-trust/resource-library.js.map +1 -0
  551. package/resources/zero-trust/resource-library.mjs +3 -0
  552. package/resources/zero-trust/resource-library.mjs.map +1 -0
  553. package/resources/zero-trust/zero-trust.d.ts +4 -0
  554. package/resources/zero-trust/zero-trust.d.ts.map +1 -1
  555. package/resources/zero-trust/zero-trust.js +4 -0
  556. package/resources/zero-trust/zero-trust.js.map +1 -1
  557. package/resources/zero-trust/zero-trust.mjs +4 -0
  558. package/resources/zero-trust/zero-trust.mjs.map +1 -1
  559. package/resources/zones/custom-nameservers.d.ts +4 -0
  560. package/resources/zones/custom-nameservers.d.ts.map +1 -1
  561. package/resources/zones/custom-nameservers.js.map +1 -1
  562. package/resources/zones/custom-nameservers.mjs.map +1 -1
  563. package/src/index.ts +10 -0
  564. package/src/resources/acm/custom-trust-store.ts +9 -6
  565. package/src/resources/ai-gateway/ai-gateway.ts +449 -0
  566. package/src/resources/ai-gateway/api.md +56 -0
  567. package/src/resources/ai-gateway/billing/billing.ts +363 -0
  568. package/src/resources/ai-gateway/billing/index.ts +29 -0
  569. package/src/resources/ai-gateway/billing/spending-limit.ts +148 -0
  570. package/src/resources/ai-gateway/billing/topup/config.ts +133 -0
  571. package/src/resources/ai-gateway/billing/topup/index.ts +18 -0
  572. package/src/resources/ai-gateway/billing/topup/topup.ts +139 -0
  573. package/src/resources/ai-gateway/billing/topup.ts +3 -0
  574. package/src/resources/ai-gateway/billing.ts +3 -0
  575. package/src/resources/ai-gateway/dynamic-routing.ts +30 -2
  576. package/src/resources/ai-gateway/index.ts +11 -0
  577. package/src/resources/ai-security/ai-security.ts +117 -0
  578. package/src/resources/ai-security/api.md +23 -0
  579. package/src/resources/ai-security/custom-topics.ts +143 -0
  580. package/src/resources/ai-security/index.ts +10 -0
  581. package/src/resources/ai-security.ts +3 -0
  582. package/src/resources/aisearch/instances/instances.ts +70 -21
  583. package/src/resources/aisearch/namespaces/instances/instances.ts +70 -21
  584. package/src/resources/cloudforce-one/threat-events/threat-events.ts +1 -1
  585. package/src/resources/d1/d1.ts +3 -3
  586. package/src/resources/d1/database/database.ts +19 -0
  587. package/src/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.ts +93 -0
  588. package/src/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.ts +277 -0
  589. package/src/resources/ddos-protection/advanced-tcp-protection/allowlist/index.ts +21 -0
  590. package/src/resources/ddos-protection/advanced-tcp-protection/allowlist/items.ts +233 -0
  591. package/src/resources/ddos-protection/advanced-tcp-protection/allowlist.ts +3 -0
  592. package/src/resources/ddos-protection/advanced-tcp-protection/index.ts +35 -0
  593. package/src/resources/ddos-protection/advanced-tcp-protection/prefixes/index.ts +24 -0
  594. package/src/resources/ddos-protection/advanced-tcp-protection/prefixes/items.ts +233 -0
  595. package/src/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.ts +377 -0
  596. package/src/resources/ddos-protection/advanced-tcp-protection/prefixes.ts +3 -0
  597. package/src/resources/ddos-protection/advanced-tcp-protection/status.ts +87 -0
  598. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.ts +266 -0
  599. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.ts +21 -0
  600. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.ts +224 -0
  601. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.ts +3 -0
  602. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.ts +23 -0
  603. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.ts +21 -0
  604. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.ts +287 -0
  605. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.ts +337 -0
  606. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.ts +3 -0
  607. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.ts +59 -0
  608. package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection.ts +3 -0
  609. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.ts +266 -0
  610. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.ts +21 -0
  611. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.ts +224 -0
  612. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.ts +3 -0
  613. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.ts +23 -0
  614. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.ts +21 -0
  615. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.ts +271 -0
  616. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.ts +320 -0
  617. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.ts +3 -0
  618. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.ts +59 -0
  619. package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.ts +3 -0
  620. package/src/resources/ddos-protection/advanced-tcp-protection.ts +3 -0
  621. package/src/resources/ddos-protection/api.md +189 -0
  622. package/src/resources/ddos-protection/ddos-protection.ts +16 -0
  623. package/src/resources/ddos-protection/index.ts +4 -0
  624. package/src/resources/ddos-protection.ts +3 -0
  625. package/src/resources/email-security/investigate/investigate.ts +17 -0
  626. package/src/resources/index.ts +2 -0
  627. package/src/resources/intel/indicator-feeds/indicator-feeds.ts +11 -0
  628. package/src/resources/intel/miscategorizations.ts +5 -0
  629. package/src/resources/load-balancers/api.md +17 -7
  630. package/src/resources/load-balancers/index.ts +1 -1
  631. package/src/resources/load-balancers/load-balancers.ts +12 -12
  632. package/src/resources/load-balancers/monitor-groups/index.ts +19 -0
  633. package/src/resources/load-balancers/monitor-groups/monitor-groups.ts +433 -0
  634. package/src/resources/load-balancers/monitor-groups/references.ts +63 -0
  635. package/src/resources/load-balancers/monitor-groups.ts +1 -434
  636. package/src/resources/radar/api.md +22 -2
  637. package/src/resources/radar/bgp/bgp.ts +2 -2
  638. package/src/resources/radar/bgp/index.ts +1 -1
  639. package/src/resources/radar/bgp/ips/index.ts +4 -0
  640. package/src/resources/radar/bgp/ips/ips.ts +295 -0
  641. package/src/resources/radar/bgp/ips/top.ts +84 -0
  642. package/src/resources/radar/bgp/ips.ts +1 -285
  643. package/src/resources/radar/bgp/rpki/index.ts +1 -0
  644. package/src/resources/radar/bgp/rpki/roas.ts +120 -0
  645. package/src/resources/radar/bgp/rpki/rpki.ts +10 -0
  646. package/src/resources/radar/http/http.ts +24 -0
  647. package/src/resources/radar/post-quantum/tls.ts +32 -3
  648. package/src/resources/radar/quality/iqi.ts +2 -6
  649. package/src/resources/resource-sharing/resource-sharing.ts +21 -6
  650. package/src/resources/resource-sharing/resources.ts +14 -7
  651. package/src/resources/secrets-store/stores/stores.ts +17 -7
  652. package/src/resources/url-scanner/scans.ts +58 -0
  653. package/src/resources/user/user.ts +12 -2
  654. package/src/resources/workflows/instances/instances.ts +6 -0
  655. package/src/resources/zero-trust/api.md +26 -0
  656. package/src/resources/zero-trust/devices/fleet-status.ts +5 -0
  657. package/src/resources/zero-trust/dex/fleet-status/devices.ts +5 -0
  658. package/src/resources/zero-trust/dlp/entries/custom.ts +78 -25
  659. package/src/resources/zero-trust/dlp/entries/entries.ts +96 -25
  660. package/src/resources/zero-trust/dlp/entries/integration.ts +78 -25
  661. package/src/resources/zero-trust/dlp/entries/predefined.ts +78 -25
  662. package/src/resources/zero-trust/dlp/profiles/custom.ts +36 -0
  663. package/src/resources/zero-trust/dlp/profiles/predefined.ts +18 -0
  664. package/src/resources/zero-trust/dlp/profiles/profiles.ts +90 -0
  665. package/src/resources/zero-trust/index.ts +1 -0
  666. package/src/resources/zero-trust/resource-library/applications.ts +315 -0
  667. package/src/resources/zero-trust/resource-library/categories.ts +140 -0
  668. package/src/resources/zero-trust/resource-library/index.ts +19 -0
  669. package/src/resources/zero-trust/resource-library/resource-library.ts +51 -0
  670. package/src/resources/zero-trust/resource-library.ts +3 -0
  671. package/src/resources/zero-trust/zero-trust.ts +6 -0
  672. package/src/resources/zones/custom-nameservers.ts +5 -0
  673. package/src/version.ts +1 -1
  674. package/version.d.ts +1 -1
  675. package/version.js +1 -1
  676. package/version.mjs +1 -1
@@ -173,6 +173,7 @@ export namespace Profile {
173
173
  */
174
174
  entries?: Array<
175
175
  | CustomProfile.CustomEntry
176
+ | CustomProfile.CustomPromptTopicEntry
176
177
  | CustomProfile.PredefinedEntry
177
178
  | CustomProfile.IntegrationEntry
178
179
  | CustomProfile.ExactDataEntry
@@ -187,6 +188,7 @@ export namespace Profile {
187
188
 
188
189
  shared_entries?: Array<
189
190
  | CustomProfile.CustomEntry
191
+ | CustomProfile.CustomPromptTopicEntry
190
192
  | CustomProfile.PredefinedEntry
191
193
  | CustomProfile.IntegrationEntry
192
194
  | CustomProfile.ExactDataEntry
@@ -222,6 +224,23 @@ export namespace Profile {
222
224
  profile_id?: string | null;
223
225
  }
224
226
 
227
+ export interface CustomPromptTopicEntry {
228
+ id: string;
229
+
230
+ created_at: string;
231
+
232
+ /**
233
+ * @deprecated
234
+ */
235
+ enabled: boolean;
236
+
237
+ name: string;
238
+
239
+ type: 'custom_prompt_topic';
240
+
241
+ updated_at: string;
242
+ }
243
+
225
244
  export interface PredefinedEntry {
226
245
  id: string;
227
246
 
@@ -391,6 +410,23 @@ export namespace Profile {
391
410
  profile_id?: string | null;
392
411
  }
393
412
 
413
+ export interface CustomPromptTopicEntry {
414
+ id: string;
415
+
416
+ created_at: string;
417
+
418
+ /**
419
+ * @deprecated
420
+ */
421
+ enabled: boolean;
422
+
423
+ name: string;
424
+
425
+ type: 'custom_prompt_topic';
426
+
427
+ updated_at: string;
428
+ }
429
+
394
430
  export interface PredefinedEntry {
395
431
  id: string;
396
432
 
@@ -539,6 +575,7 @@ export namespace Profile {
539
575
  */
540
576
  entries: Array<
541
577
  | PredefinedProfile.CustomEntry
578
+ | PredefinedProfile.CustomPromptTopicEntry
542
579
  | PredefinedProfile.PredefinedEntry
543
580
  | PredefinedProfile.IntegrationEntry
544
581
  | PredefinedProfile.ExactDataEntry
@@ -598,6 +635,23 @@ export namespace Profile {
598
635
  profile_id?: string | null;
599
636
  }
600
637
 
638
+ export interface CustomPromptTopicEntry {
639
+ id: string;
640
+
641
+ created_at: string;
642
+
643
+ /**
644
+ * @deprecated
645
+ */
646
+ enabled: boolean;
647
+
648
+ name: string;
649
+
650
+ type: 'custom_prompt_topic';
651
+
652
+ updated_at: string;
653
+ }
654
+
601
655
  export interface PredefinedEntry {
602
656
  id: string;
603
657
 
@@ -743,6 +797,7 @@ export namespace Profile {
743
797
  */
744
798
  entries: Array<
745
799
  | IntegrationProfile.CustomEntry
800
+ | IntegrationProfile.CustomPromptTopicEntry
746
801
  | IntegrationProfile.PredefinedEntry
747
802
  | IntegrationProfile.IntegrationEntry
748
803
  | IntegrationProfile.ExactDataEntry
@@ -754,6 +809,7 @@ export namespace Profile {
754
809
 
755
810
  shared_entries: Array<
756
811
  | IntegrationProfile.CustomEntry
812
+ | IntegrationProfile.CustomPromptTopicEntry
757
813
  | IntegrationProfile.PredefinedEntry
758
814
  | IntegrationProfile.IntegrationEntry
759
815
  | IntegrationProfile.ExactDataEntry
@@ -798,6 +854,23 @@ export namespace Profile {
798
854
  profile_id?: string | null;
799
855
  }
800
856
 
857
+ export interface CustomPromptTopicEntry {
858
+ id: string;
859
+
860
+ created_at: string;
861
+
862
+ /**
863
+ * @deprecated
864
+ */
865
+ enabled: boolean;
866
+
867
+ name: string;
868
+
869
+ type: 'custom_prompt_topic';
870
+
871
+ updated_at: string;
872
+ }
873
+
801
874
  export interface PredefinedEntry {
802
875
  id: string;
803
876
 
@@ -958,6 +1031,23 @@ export namespace Profile {
958
1031
  profile_id?: string | null;
959
1032
  }
960
1033
 
1034
+ export interface CustomPromptTopicEntry {
1035
+ id: string;
1036
+
1037
+ created_at: string;
1038
+
1039
+ /**
1040
+ * @deprecated
1041
+ */
1042
+ enabled: boolean;
1043
+
1044
+ name: string;
1045
+
1046
+ type: 'custom_prompt_topic';
1047
+
1048
+ updated_at: string;
1049
+ }
1050
+
961
1051
  export interface PredefinedEntry {
962
1052
  id: string;
963
1053
 
@@ -58,6 +58,7 @@ export {
58
58
  type OrganizationListParams,
59
59
  type OrganizationRevokeUsersParams,
60
60
  } from './organizations/index';
61
+ export { ResourceLibrary } from './resource-library/index';
61
62
  export {
62
63
  RiskScoring,
63
64
  type RiskScoringGetResponse,
@@ -0,0 +1,315 @@
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 { SinglePage } from '../../../pagination';
6
+
7
+ export class Applications extends APIResource {
8
+ /**
9
+ * List applications with different filters.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * // Automatically fetches more pages as needed.
14
+ * for await (const applicationListResponse of client.zeroTrust.resourceLibrary.applications.list(
15
+ * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
16
+ * )) {
17
+ * // ...
18
+ * }
19
+ * ```
20
+ */
21
+ list(
22
+ params: ApplicationListParams,
23
+ options?: Core.RequestOptions,
24
+ ): Core.PagePromise<ApplicationListResponsesSinglePage, ApplicationListResponse> {
25
+ const { account_id, ...query } = params;
26
+ return this._client.getAPIList(
27
+ `/accounts/${account_id}/resource-library/applications`,
28
+ ApplicationListResponsesSinglePage,
29
+ { query, ...options },
30
+ );
31
+ }
32
+
33
+ /**
34
+ * Get application by ID.
35
+ *
36
+ * @example
37
+ * ```ts
38
+ * const application =
39
+ * await client.zeroTrust.resourceLibrary.applications.get(
40
+ * '0b63249c-95bf-4cc0-a7cc-d7faaaf1dac0',
41
+ * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
42
+ * );
43
+ * ```
44
+ */
45
+ get(
46
+ id: string,
47
+ params: ApplicationGetParams,
48
+ options?: Core.RequestOptions,
49
+ ): Core.APIPromise<ApplicationGetResponse> {
50
+ const { account_id } = params;
51
+ return (
52
+ this._client.get(
53
+ `/accounts/${account_id}/resource-library/applications/${id}`,
54
+ options,
55
+ ) as Core.APIPromise<{ result: ApplicationGetResponse }>
56
+ )._thenUnwrap((obj) => obj.result);
57
+ }
58
+ }
59
+
60
+ export class ApplicationListResponsesSinglePage extends SinglePage<ApplicationListResponse> {}
61
+
62
+ export interface ApplicationListResponse {
63
+ /**
64
+ * Returns the application ID.
65
+ */
66
+ id: string;
67
+
68
+ /**
69
+ * Confidence score for the application. Returns -1 when no score is available.
70
+ */
71
+ application_confidence_score: number;
72
+
73
+ /**
74
+ * Returns the application source.
75
+ */
76
+ application_source: string;
77
+
78
+ /**
79
+ * Returns the application type.
80
+ */
81
+ application_type: string;
82
+
83
+ /**
84
+ * Returns the application type description.
85
+ */
86
+ application_type_description: string;
87
+
88
+ /**
89
+ * Returns the application creation time.
90
+ */
91
+ created_at: string;
92
+
93
+ /**
94
+ * GenAI score for the application. Returns -1 when no score is available.
95
+ */
96
+ gen_ai_score: number;
97
+
98
+ /**
99
+ * Returns the list of hostnames for the application.
100
+ */
101
+ hostnames: Array<string>;
102
+
103
+ /**
104
+ * Returns the human readable ID.
105
+ */
106
+ human_id: string;
107
+
108
+ /**
109
+ * Returns the list of IP subnets for the application.
110
+ */
111
+ ip_subnets: Array<string>;
112
+
113
+ /**
114
+ * Returns the application name.
115
+ */
116
+ name: string;
117
+
118
+ /**
119
+ * Returns the list of port protocols for the application.
120
+ */
121
+ port_protocols: Array<string>;
122
+
123
+ /**
124
+ * Returns the list of support domains for the application.
125
+ */
126
+ support_domains: Array<string>;
127
+
128
+ /**
129
+ * Cloudflare products that support this application.
130
+ */
131
+ supported: Array<'GATEWAY' | 'ACCESS' | 'CASB'>;
132
+
133
+ /**
134
+ * Returns the application update time.
135
+ */
136
+ updated_at: string;
137
+
138
+ /**
139
+ * Returns the application version.
140
+ */
141
+ version: string;
142
+
143
+ /**
144
+ * Returns the score composition breakdown for the application.
145
+ */
146
+ application_score_composition?: unknown | null;
147
+
148
+ /**
149
+ * Returns the Intel API ID for the application.
150
+ */
151
+ intel_id?: number | null;
152
+ }
153
+
154
+ export interface ApplicationGetResponse {
155
+ /**
156
+ * Returns the application ID.
157
+ */
158
+ id: string;
159
+
160
+ /**
161
+ * Confidence score for the application. Returns -1 when no score is available.
162
+ */
163
+ application_confidence_score: number;
164
+
165
+ /**
166
+ * Returns the application source.
167
+ */
168
+ application_source: string;
169
+
170
+ /**
171
+ * Returns the application type.
172
+ */
173
+ application_type: string;
174
+
175
+ /**
176
+ * Returns the application type description.
177
+ */
178
+ application_type_description: string;
179
+
180
+ /**
181
+ * Returns the application creation time.
182
+ */
183
+ created_at: string;
184
+
185
+ /**
186
+ * GenAI score for the application. Returns -1 when no score is available.
187
+ */
188
+ gen_ai_score: number;
189
+
190
+ /**
191
+ * Returns the list of hostnames for the application.
192
+ */
193
+ hostnames: Array<string>;
194
+
195
+ /**
196
+ * Returns the human readable ID.
197
+ */
198
+ human_id: string;
199
+
200
+ /**
201
+ * Returns the list of IP subnets for the application.
202
+ */
203
+ ip_subnets: Array<string>;
204
+
205
+ /**
206
+ * Returns the application name.
207
+ */
208
+ name: string;
209
+
210
+ /**
211
+ * Returns the list of port protocols for the application.
212
+ */
213
+ port_protocols: Array<string>;
214
+
215
+ /**
216
+ * Returns the list of support domains for the application.
217
+ */
218
+ support_domains: Array<string>;
219
+
220
+ /**
221
+ * Cloudflare products that support this application.
222
+ */
223
+ supported: Array<'GATEWAY' | 'ACCESS' | 'CASB'>;
224
+
225
+ /**
226
+ * Returns the application update time.
227
+ */
228
+ updated_at: string;
229
+
230
+ /**
231
+ * Returns the application version.
232
+ */
233
+ version: string;
234
+
235
+ /**
236
+ * Returns the score composition breakdown for the application.
237
+ */
238
+ application_score_composition?: unknown | null;
239
+
240
+ /**
241
+ * Returns the Intel API ID for the application.
242
+ */
243
+ intel_id?: number | null;
244
+ }
245
+
246
+ export interface ApplicationListParams {
247
+ /**
248
+ * Path param: Account ID.
249
+ */
250
+ account_id: string;
251
+
252
+ /**
253
+ * Query param: Filter applications using key:value format. Supported filter keys:
254
+ *
255
+ * - name: Filter by application name (e.g., name:HR)
256
+ * - id: Filter by application ID (e.g., id:0b63249c-95bf-4cc0-a7cc-d7faaaf1dac0)
257
+ * - human_id: Filter by human-readable ID (e.g., human_id:HR)
258
+ * - hostname: Filter by hostname or support domain (e.g.,
259
+ * hostname:portal.example.com)
260
+ * - source: Filter by application source name (e.g., source:cloudflare)
261
+ * - ip_subnet: Filter by IP subnet using CIDR containment — returns applications
262
+ * where any stored subnet contains the search value (e.g., ip_subnet:10.0.1.5/32
263
+ * matches apps with 10.0.0.0/16)
264
+ * - intel_id: Filter by Intel API ID (e.g., intel_id:498). also supports multiple
265
+ * values (e.g., intel_id:498,1001)
266
+ * - category_id: Filter by category ID (e.g.,
267
+ * category_id:37f8ec03-8766-49d4-9a15-369b044c842c).
268
+ * - category_name: Filter by category name (e.g., category_name:HR).
269
+ * - supported: Filter by supported Cloudflare product (e.g., supported:ACCESS).
270
+ * Values: GATEWAY, ACCESS, CASB. .
271
+ */
272
+ filter?: string;
273
+
274
+ /**
275
+ * Query param: Limit of number of results to return (max 250).
276
+ */
277
+ limit?: number;
278
+
279
+ /**
280
+ * Query param: Offset of results to return.
281
+ */
282
+ offset?: number;
283
+
284
+ /**
285
+ * Query param: Order results by field name and direction (e.g., name:asc). Ignored
286
+ * when search is provided; results are ranked by relevance instead.
287
+ */
288
+ order_by?: string;
289
+
290
+ /**
291
+ * Query param: Fuzzy search across application name and hostnames. Results are
292
+ * ranked by relevance. Must be between 2 and 200 characters. Can be combined with
293
+ * filter parameters.
294
+ */
295
+ search?: string;
296
+ }
297
+
298
+ export interface ApplicationGetParams {
299
+ /**
300
+ * Account ID.
301
+ */
302
+ account_id: string;
303
+ }
304
+
305
+ Applications.ApplicationListResponsesSinglePage = ApplicationListResponsesSinglePage;
306
+
307
+ export declare namespace Applications {
308
+ export {
309
+ type ApplicationListResponse as ApplicationListResponse,
310
+ type ApplicationGetResponse as ApplicationGetResponse,
311
+ ApplicationListResponsesSinglePage as ApplicationListResponsesSinglePage,
312
+ type ApplicationListParams as ApplicationListParams,
313
+ type ApplicationGetParams as ApplicationGetParams,
314
+ };
315
+ }
@@ -0,0 +1,140 @@
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 { SinglePage } from '../../../pagination';
6
+
7
+ export class Categories extends APIResource {
8
+ /**
9
+ * List application categories.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * // Automatically fetches more pages as needed.
14
+ * for await (const categoryListResponse of client.zeroTrust.resourceLibrary.categories.list(
15
+ * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
16
+ * )) {
17
+ * // ...
18
+ * }
19
+ * ```
20
+ */
21
+ list(
22
+ params: CategoryListParams,
23
+ options?: Core.RequestOptions,
24
+ ): Core.PagePromise<CategoryListResponsesSinglePage, CategoryListResponse> {
25
+ const { account_id, ...query } = params;
26
+ return this._client.getAPIList(
27
+ `/accounts/${account_id}/resource-library/categories`,
28
+ CategoryListResponsesSinglePage,
29
+ { query, ...options },
30
+ );
31
+ }
32
+
33
+ /**
34
+ * Get application category by ID.
35
+ *
36
+ * @example
37
+ * ```ts
38
+ * const category =
39
+ * await client.zeroTrust.resourceLibrary.categories.get(
40
+ * '0b63249c-95bf-4cc0-a7cc-d7faaaf1dac0',
41
+ * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
42
+ * );
43
+ * ```
44
+ */
45
+ get(
46
+ id: string,
47
+ params: CategoryGetParams,
48
+ options?: Core.RequestOptions,
49
+ ): Core.APIPromise<CategoryGetResponse> {
50
+ const { account_id } = params;
51
+ return (
52
+ this._client.get(
53
+ `/accounts/${account_id}/resource-library/categories/${id}`,
54
+ options,
55
+ ) as Core.APIPromise<{ result: CategoryGetResponse }>
56
+ )._thenUnwrap((obj) => obj.result);
57
+ }
58
+ }
59
+
60
+ export class CategoryListResponsesSinglePage extends SinglePage<CategoryListResponse> {}
61
+
62
+ export interface CategoryListResponse {
63
+ /**
64
+ * Returns the category ID.
65
+ */
66
+ id: string;
67
+
68
+ /**
69
+ * Returns the category creation time.
70
+ */
71
+ created_at: string;
72
+
73
+ /**
74
+ * Returns the category description.
75
+ */
76
+ description: string;
77
+
78
+ /**
79
+ * Returns the category name.
80
+ */
81
+ name: string;
82
+ }
83
+
84
+ export interface CategoryGetResponse {
85
+ /**
86
+ * Returns the category ID.
87
+ */
88
+ id: string;
89
+
90
+ /**
91
+ * Returns the category creation time.
92
+ */
93
+ created_at: string;
94
+
95
+ /**
96
+ * Returns the category description.
97
+ */
98
+ description: string;
99
+
100
+ /**
101
+ * Returns the category name.
102
+ */
103
+ name: string;
104
+ }
105
+
106
+ export interface CategoryListParams {
107
+ /**
108
+ * Path param: Account ID.
109
+ */
110
+ account_id: string;
111
+
112
+ /**
113
+ * Query param: Limit of number of results to return.
114
+ */
115
+ limit?: number;
116
+
117
+ /**
118
+ * Query param: Offset of results to return.
119
+ */
120
+ offset?: number;
121
+ }
122
+
123
+ export interface CategoryGetParams {
124
+ /**
125
+ * Account ID.
126
+ */
127
+ account_id: string;
128
+ }
129
+
130
+ Categories.CategoryListResponsesSinglePage = CategoryListResponsesSinglePage;
131
+
132
+ export declare namespace Categories {
133
+ export {
134
+ type CategoryListResponse as CategoryListResponse,
135
+ type CategoryGetResponse as CategoryGetResponse,
136
+ CategoryListResponsesSinglePage as CategoryListResponsesSinglePage,
137
+ type CategoryListParams as CategoryListParams,
138
+ type CategoryGetParams as CategoryGetParams,
139
+ };
140
+ }
@@ -0,0 +1,19 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export {
4
+ ApplicationListResponsesSinglePage,
5
+ Applications,
6
+ type ApplicationListResponse,
7
+ type ApplicationGetResponse,
8
+ type ApplicationListParams,
9
+ type ApplicationGetParams,
10
+ } from './applications';
11
+ export {
12
+ CategoryListResponsesSinglePage,
13
+ Categories,
14
+ type CategoryListResponse,
15
+ type CategoryGetResponse,
16
+ type CategoryListParams,
17
+ type CategoryGetParams,
18
+ } from './categories';
19
+ export { ResourceLibrary } from './resource-library';
@@ -0,0 +1,51 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../../resource';
4
+ import * as ApplicationsAPI from './applications';
5
+ import {
6
+ ApplicationGetParams,
7
+ ApplicationGetResponse,
8
+ ApplicationListParams,
9
+ ApplicationListResponse,
10
+ ApplicationListResponsesSinglePage,
11
+ Applications,
12
+ } from './applications';
13
+ import * as CategoriesAPI from './categories';
14
+ import {
15
+ Categories,
16
+ CategoryGetParams,
17
+ CategoryGetResponse,
18
+ CategoryListParams,
19
+ CategoryListResponse,
20
+ CategoryListResponsesSinglePage,
21
+ } from './categories';
22
+
23
+ export class ResourceLibrary extends APIResource {
24
+ applications: ApplicationsAPI.Applications = new ApplicationsAPI.Applications(this._client);
25
+ categories: CategoriesAPI.Categories = new CategoriesAPI.Categories(this._client);
26
+ }
27
+
28
+ ResourceLibrary.Applications = Applications;
29
+ ResourceLibrary.ApplicationListResponsesSinglePage = ApplicationListResponsesSinglePage;
30
+ ResourceLibrary.Categories = Categories;
31
+ ResourceLibrary.CategoryListResponsesSinglePage = CategoryListResponsesSinglePage;
32
+
33
+ export declare namespace ResourceLibrary {
34
+ export {
35
+ Applications as Applications,
36
+ type ApplicationListResponse as ApplicationListResponse,
37
+ type ApplicationGetResponse as ApplicationGetResponse,
38
+ ApplicationListResponsesSinglePage as ApplicationListResponsesSinglePage,
39
+ type ApplicationListParams as ApplicationListParams,
40
+ type ApplicationGetParams as ApplicationGetParams,
41
+ };
42
+
43
+ export {
44
+ Categories as Categories,
45
+ type CategoryListResponse as CategoryListResponse,
46
+ type CategoryGetResponse as CategoryGetResponse,
47
+ CategoryListResponsesSinglePage as CategoryListResponsesSinglePage,
48
+ type CategoryListParams as CategoryListParams,
49
+ type CategoryGetParams as CategoryGetParams,
50
+ };
51
+ }
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export * from './resource-library/index';