cloudflare 4.4.0 → 4.5.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 (675) hide show
  1. package/CHANGELOG.md +72 -0
  2. package/README.md +2 -4
  3. package/core.d.ts +7 -4
  4. package/core.d.ts.map +1 -1
  5. package/core.js +16 -9
  6. package/core.js.map +1 -1
  7. package/core.mjs +16 -9
  8. package/core.mjs.map +1 -1
  9. package/index.d.mts +4 -1
  10. package/index.d.ts +4 -1
  11. package/index.d.ts.map +1 -1
  12. package/index.js +7 -3
  13. package/index.js.map +1 -1
  14. package/index.mjs +7 -3
  15. package/index.mjs.map +1 -1
  16. package/package.json +1 -1
  17. package/resources/accounts/tokens/index.d.ts +1 -1
  18. package/resources/accounts/tokens/index.d.ts.map +1 -1
  19. package/resources/accounts/tokens/index.js +1 -2
  20. package/resources/accounts/tokens/index.js.map +1 -1
  21. package/resources/accounts/tokens/index.mjs +1 -1
  22. package/resources/accounts/tokens/index.mjs.map +1 -1
  23. package/resources/accounts/tokens/permission-groups.d.ts +41 -22
  24. package/resources/accounts/tokens/permission-groups.d.ts.map +1 -1
  25. package/resources/accounts/tokens/permission-groups.js +12 -15
  26. package/resources/accounts/tokens/permission-groups.js.map +1 -1
  27. package/resources/accounts/tokens/permission-groups.mjs +11 -13
  28. package/resources/accounts/tokens/permission-groups.mjs.map +1 -1
  29. package/resources/accounts/tokens/tokens.d.ts +8 -19
  30. package/resources/accounts/tokens/tokens.d.ts.map +1 -1
  31. package/resources/accounts/tokens/tokens.js +2 -14
  32. package/resources/accounts/tokens/tokens.js.map +1 -1
  33. package/resources/accounts/tokens/tokens.mjs +3 -15
  34. package/resources/accounts/tokens/tokens.mjs.map +1 -1
  35. package/resources/ai/ai.d.ts +6 -2
  36. package/resources/ai/ai.d.ts.map +1 -1
  37. package/resources/ai-gateway/logs.d.ts +3 -1
  38. package/resources/ai-gateway/logs.d.ts.map +1 -1
  39. package/resources/alerting/available-alerts.d.ts +3 -1
  40. package/resources/alerting/available-alerts.d.ts.map +1 -1
  41. package/resources/alerting/destinations/eligible.d.ts +3 -1
  42. package/resources/alerting/destinations/eligible.d.ts.map +1 -1
  43. package/resources/api-gateway/discovery/operations.d.ts +6 -2
  44. package/resources/api-gateway/discovery/operations.d.ts.map +1 -1
  45. package/resources/api-gateway/operations/schema-validation.d.ts +9 -29
  46. package/resources/api-gateway/operations/schema-validation.d.ts.map +1 -1
  47. package/resources/api-gateway/operations/schema-validation.js +3 -27
  48. package/resources/api-gateway/operations/schema-validation.js.map +1 -1
  49. package/resources/api-gateway/operations/schema-validation.mjs +3 -27
  50. package/resources/api-gateway/operations/schema-validation.mjs.map +1 -1
  51. package/resources/api-gateway/settings/schema-validation.d.ts +3 -22
  52. package/resources/api-gateway/settings/schema-validation.d.ts.map +1 -1
  53. package/resources/api-gateway/settings/schema-validation.js +3 -22
  54. package/resources/api-gateway/settings/schema-validation.js.map +1 -1
  55. package/resources/api-gateway/settings/schema-validation.mjs +3 -22
  56. package/resources/api-gateway/settings/schema-validation.mjs.map +1 -1
  57. package/resources/api-gateway/user-schemas/hosts.d.ts +1 -9
  58. package/resources/api-gateway/user-schemas/hosts.d.ts.map +1 -1
  59. package/resources/api-gateway/user-schemas/hosts.js +1 -9
  60. package/resources/api-gateway/user-schemas/hosts.js.map +1 -1
  61. package/resources/api-gateway/user-schemas/hosts.mjs +1 -9
  62. package/resources/api-gateway/user-schemas/hosts.mjs.map +1 -1
  63. package/resources/api-gateway/user-schemas/operations.d.ts +1 -10
  64. package/resources/api-gateway/user-schemas/operations.d.ts.map +1 -1
  65. package/resources/api-gateway/user-schemas/operations.js +1 -10
  66. package/resources/api-gateway/user-schemas/operations.js.map +1 -1
  67. package/resources/api-gateway/user-schemas/operations.mjs +1 -10
  68. package/resources/api-gateway/user-schemas/operations.mjs.map +1 -1
  69. package/resources/api-gateway/user-schemas/user-schemas.d.ts +5 -42
  70. package/resources/api-gateway/user-schemas/user-schemas.d.ts.map +1 -1
  71. package/resources/api-gateway/user-schemas/user-schemas.js +5 -42
  72. package/resources/api-gateway/user-schemas/user-schemas.js.map +1 -1
  73. package/resources/api-gateway/user-schemas/user-schemas.mjs +5 -42
  74. package/resources/api-gateway/user-schemas/user-schemas.mjs.map +1 -1
  75. package/resources/bot-management.d.ts +36 -24
  76. package/resources/bot-management.d.ts.map +1 -1
  77. package/resources/brand-protection/brand-protection.d.ts +205 -0
  78. package/resources/brand-protection/brand-protection.d.ts.map +1 -0
  79. package/resources/brand-protection/brand-protection.js +85 -0
  80. package/resources/brand-protection/brand-protection.js.map +1 -0
  81. package/resources/brand-protection/brand-protection.mjs +58 -0
  82. package/resources/brand-protection/brand-protection.mjs.map +1 -0
  83. package/resources/brand-protection/index.d.ts +6 -0
  84. package/resources/brand-protection/index.d.ts.map +1 -0
  85. package/resources/brand-protection/index.js +15 -0
  86. package/resources/brand-protection/index.js.map +1 -0
  87. package/resources/brand-protection/index.mjs +7 -0
  88. package/resources/brand-protection/index.mjs.map +1 -0
  89. package/resources/brand-protection/logo-matches.d.ts +4 -0
  90. package/resources/brand-protection/logo-matches.d.ts.map +1 -0
  91. package/resources/brand-protection/logo-matches.js +9 -0
  92. package/resources/brand-protection/logo-matches.js.map +1 -0
  93. package/resources/brand-protection/logo-matches.mjs +5 -0
  94. package/resources/brand-protection/logo-matches.mjs.map +1 -0
  95. package/resources/brand-protection/logos.d.ts +4 -0
  96. package/resources/brand-protection/logos.d.ts.map +1 -0
  97. package/resources/brand-protection/logos.js +9 -0
  98. package/resources/brand-protection/logos.js.map +1 -0
  99. package/resources/brand-protection/logos.mjs +5 -0
  100. package/resources/brand-protection/logos.mjs.map +1 -0
  101. package/resources/brand-protection/matches.d.ts +4 -0
  102. package/resources/brand-protection/matches.d.ts.map +1 -0
  103. package/resources/brand-protection/matches.js +9 -0
  104. package/resources/brand-protection/matches.js.map +1 -0
  105. package/resources/brand-protection/matches.mjs +5 -0
  106. package/resources/brand-protection/matches.mjs.map +1 -0
  107. package/resources/brand-protection/queries.d.ts +4 -0
  108. package/resources/brand-protection/queries.d.ts.map +1 -0
  109. package/resources/brand-protection/queries.js +9 -0
  110. package/resources/brand-protection/queries.js.map +1 -0
  111. package/resources/brand-protection/queries.mjs +5 -0
  112. package/resources/brand-protection/queries.mjs.map +1 -0
  113. package/resources/brand-protection.d.ts +1 -188
  114. package/resources/brand-protection.d.ts.map +1 -1
  115. package/resources/brand-protection.js +15 -39
  116. package/resources/brand-protection.js.map +1 -1
  117. package/resources/brand-protection.mjs +1 -37
  118. package/resources/brand-protection.mjs.map +1 -1
  119. package/resources/browser-rendering/content.d.ts +3 -1
  120. package/resources/browser-rendering/content.d.ts.map +1 -1
  121. package/resources/browser-rendering/json.d.ts +9 -3
  122. package/resources/browser-rendering/json.d.ts.map +1 -1
  123. package/resources/browser-rendering/links.d.ts +3 -1
  124. package/resources/browser-rendering/links.d.ts.map +1 -1
  125. package/resources/browser-rendering/markdown.d.ts +3 -1
  126. package/resources/browser-rendering/markdown.d.ts.map +1 -1
  127. package/resources/browser-rendering/pdf.d.ts +87 -1
  128. package/resources/browser-rendering/pdf.d.ts.map +1 -1
  129. package/resources/browser-rendering/scrape.d.ts +3 -1
  130. package/resources/browser-rendering/scrape.d.ts.map +1 -1
  131. package/resources/browser-rendering/screenshot.d.ts +3 -1
  132. package/resources/browser-rendering/screenshot.d.ts.map +1 -1
  133. package/resources/browser-rendering/snapshot.d.ts +3 -1
  134. package/resources/browser-rendering/snapshot.d.ts.map +1 -1
  135. package/resources/cache/cache.d.ts +3 -1
  136. package/resources/cache/cache.d.ts.map +1 -1
  137. package/resources/cloudforce-one/threat-events/threat-events.d.ts +20 -52
  138. package/resources/cloudforce-one/threat-events/threat-events.d.ts.map +1 -1
  139. package/resources/cloudforce-one/threat-events/threat-events.js +0 -4
  140. package/resources/cloudforce-one/threat-events/threat-events.js.map +1 -1
  141. package/resources/cloudforce-one/threat-events/threat-events.mjs +0 -4
  142. package/resources/cloudforce-one/threat-events/threat-events.mjs.map +1 -1
  143. package/resources/custom-hostnames/certificate-pack/certificates.d.ts +3 -1
  144. package/resources/custom-hostnames/certificate-pack/certificates.d.ts.map +1 -1
  145. package/resources/custom-hostnames/custom-hostnames.d.ts +21 -7
  146. package/resources/custom-hostnames/custom-hostnames.d.ts.map +1 -1
  147. package/resources/dns/records.d.ts +661 -658
  148. package/resources/dns/records.d.ts.map +1 -1
  149. package/resources/dns/records.js +3 -0
  150. package/resources/dns/records.js.map +1 -1
  151. package/resources/dns/records.mjs +3 -0
  152. package/resources/dns/records.mjs.map +1 -1
  153. package/resources/dns-firewall/reverse-dns.d.ts +9 -3
  154. package/resources/dns-firewall/reverse-dns.d.ts.map +1 -1
  155. package/resources/email-security/investigate/investigate.d.ts +8 -0
  156. package/resources/email-security/investigate/investigate.d.ts.map +1 -1
  157. package/resources/email-security/investigate/investigate.js.map +1 -1
  158. package/resources/email-security/investigate/investigate.mjs.map +1 -1
  159. package/resources/email-security/investigate/move.d.ts +10 -10
  160. package/resources/email-security/investigate/move.d.ts.map +1 -1
  161. package/resources/email-security/settings/domains.d.ts +3 -3
  162. package/resources/email-security/settings/domains.d.ts.map +1 -1
  163. package/resources/email-security/settings/trusted-domains.d.ts +5 -5
  164. package/resources/email-security/settings/trusted-domains.d.ts.map +1 -1
  165. package/resources/firewall/lockdowns.d.ts +2 -2
  166. package/resources/firewall/ua-rules.d.ts +171 -6
  167. package/resources/firewall/ua-rules.d.ts.map +1 -1
  168. package/resources/firewall/ua-rules.js.map +1 -1
  169. package/resources/firewall/ua-rules.mjs.map +1 -1
  170. package/resources/firewall/waf/overrides.d.ts +10 -4
  171. package/resources/firewall/waf/overrides.d.ts.map +1 -1
  172. package/resources/healthchecks/healthchecks.d.ts +6 -2
  173. package/resources/healthchecks/healthchecks.d.ts.map +1 -1
  174. package/resources/hyperdrive/configs.d.ts +15 -0
  175. package/resources/hyperdrive/configs.d.ts.map +1 -1
  176. package/resources/hyperdrive/configs.js.map +1 -1
  177. package/resources/hyperdrive/configs.mjs.map +1 -1
  178. package/resources/hyperdrive/hyperdrive.d.ts +5 -0
  179. package/resources/hyperdrive/hyperdrive.d.ts.map +1 -1
  180. package/resources/hyperdrive/hyperdrive.js.map +1 -1
  181. package/resources/hyperdrive/hyperdrive.mjs.map +1 -1
  182. package/resources/images/v1/v1.d.ts +5 -1
  183. package/resources/images/v1/v1.d.ts.map +1 -1
  184. package/resources/images/v1/v1.js.map +1 -1
  185. package/resources/images/v1/v1.mjs.map +1 -1
  186. package/resources/index.d.ts +1 -1
  187. package/resources/index.d.ts.map +1 -1
  188. package/resources/index.js +1 -1
  189. package/resources/index.js.map +1 -1
  190. package/resources/index.mjs +1 -1
  191. package/resources/kv/namespaces/keys.d.ts +44 -52
  192. package/resources/kv/namespaces/keys.d.ts.map +1 -1
  193. package/resources/kv/namespaces/keys.js +3 -4
  194. package/resources/kv/namespaces/keys.js.map +1 -1
  195. package/resources/kv/namespaces/keys.mjs +3 -4
  196. package/resources/kv/namespaces/keys.mjs.map +1 -1
  197. package/resources/kv/namespaces/metadata.d.ts +2 -5
  198. package/resources/kv/namespaces/metadata.d.ts.map +1 -1
  199. package/resources/kv/namespaces/namespaces.d.ts +46 -51
  200. package/resources/kv/namespaces/namespaces.d.ts.map +1 -1
  201. package/resources/kv/namespaces/namespaces.js +4 -5
  202. package/resources/kv/namespaces/namespaces.js.map +1 -1
  203. package/resources/kv/namespaces/namespaces.mjs +4 -5
  204. package/resources/kv/namespaces/namespaces.mjs.map +1 -1
  205. package/resources/kv/namespaces/values.d.ts +10 -12
  206. package/resources/kv/namespaces/values.d.ts.map +1 -1
  207. package/resources/kv/namespaces/values.js +1 -7
  208. package/resources/kv/namespaces/values.js.map +1 -1
  209. package/resources/kv/namespaces/values.mjs +1 -7
  210. package/resources/kv/namespaces/values.mjs.map +1 -1
  211. package/resources/load-balancers/load-balancers.d.ts +60 -20
  212. package/resources/load-balancers/load-balancers.d.ts.map +1 -1
  213. package/resources/load-balancers/monitors/monitors.d.ts +12 -4
  214. package/resources/load-balancers/monitors/monitors.d.ts.map +1 -1
  215. package/resources/load-balancers/monitors/previews.d.ts +6 -2
  216. package/resources/load-balancers/monitors/previews.d.ts.map +1 -1
  217. package/resources/load-balancers/pools/health.d.ts +6 -2
  218. package/resources/load-balancers/pools/health.d.ts.map +1 -1
  219. package/resources/load-balancers/previews.d.ts +6 -2
  220. package/resources/load-balancers/previews.d.ts.map +1 -1
  221. package/resources/logpush/jobs.d.ts +63 -35
  222. package/resources/logpush/jobs.d.ts.map +1 -1
  223. package/resources/logpush/jobs.js +39 -0
  224. package/resources/logpush/jobs.js.map +1 -1
  225. package/resources/logpush/jobs.mjs +39 -0
  226. package/resources/logpush/jobs.mjs.map +1 -1
  227. package/resources/magic-cloud-networking/catalog-syncs/catalog-syncs.d.ts +15 -5
  228. package/resources/magic-cloud-networking/catalog-syncs/catalog-syncs.d.ts.map +1 -1
  229. package/resources/magic-cloud-networking/on-ramps/on-ramps.d.ts +195 -65
  230. package/resources/magic-cloud-networking/on-ramps/on-ramps.d.ts.map +1 -1
  231. package/resources/magic-cloud-networking/resources.d.ts +30 -10
  232. package/resources/magic-cloud-networking/resources.d.ts.map +1 -1
  233. package/resources/magic-transit/connectors/connectors.d.ts +106 -2
  234. package/resources/magic-transit/connectors/connectors.d.ts.map +1 -1
  235. package/resources/magic-transit/connectors/connectors.js +33 -1
  236. package/resources/magic-transit/connectors/connectors.js.map +1 -1
  237. package/resources/magic-transit/connectors/connectors.mjs +33 -1
  238. package/resources/magic-transit/connectors/connectors.mjs.map +1 -1
  239. package/resources/magic-transit/connectors/index.d.ts +1 -1
  240. package/resources/magic-transit/connectors/index.d.ts.map +1 -1
  241. package/resources/magic-transit/connectors/index.js.map +1 -1
  242. package/resources/magic-transit/connectors/index.mjs.map +1 -1
  243. package/resources/magic-transit/index.d.ts +1 -1
  244. package/resources/magic-transit/index.d.ts.map +1 -1
  245. package/resources/magic-transit/index.js.map +1 -1
  246. package/resources/magic-transit/index.mjs.map +1 -1
  247. package/resources/magic-transit/magic-transit.d.ts +2 -2
  248. package/resources/magic-transit/magic-transit.d.ts.map +1 -1
  249. package/resources/magic-transit/magic-transit.js.map +1 -1
  250. package/resources/magic-transit/magic-transit.mjs.map +1 -1
  251. package/resources/magic-transit/sites/lans.d.ts +6 -2
  252. package/resources/magic-transit/sites/lans.d.ts.map +1 -1
  253. package/resources/page-rules.d.ts +12 -4
  254. package/resources/page-rules.d.ts.map +1 -1
  255. package/resources/pages/projects/projects.d.ts +237 -79
  256. package/resources/pages/projects/projects.d.ts.map +1 -1
  257. package/resources/pages/projects/projects.js.map +1 -1
  258. package/resources/pages/projects/projects.mjs.map +1 -1
  259. package/resources/radar/ai/bots/summary.d.ts +3 -1
  260. package/resources/radar/ai/bots/summary.d.ts.map +1 -1
  261. package/resources/radar/ai/inference/summary.d.ts +6 -2
  262. package/resources/radar/ai/inference/summary.d.ts.map +1 -1
  263. package/resources/radar/as112/summary.d.ts +6 -2
  264. package/resources/radar/as112/summary.d.ts.map +1 -1
  265. package/resources/radar/attacks/layer3/summary.d.ts +9 -3
  266. package/resources/radar/attacks/layer3/summary.d.ts.map +1 -1
  267. package/resources/radar/attacks/layer7/summary.d.ts +15 -5
  268. package/resources/radar/attacks/layer7/summary.d.ts.map +1 -1
  269. package/resources/radar/bots/bots.d.ts +588 -0
  270. package/resources/radar/bots/bots.d.ts.map +1 -0
  271. package/resources/radar/bots/bots.js +73 -0
  272. package/resources/radar/bots/bots.js.map +1 -0
  273. package/resources/radar/bots/bots.mjs +46 -0
  274. package/resources/radar/bots/bots.mjs.map +1 -0
  275. package/resources/radar/bots/index.d.ts +3 -0
  276. package/resources/radar/bots/index.d.ts.map +1 -0
  277. package/resources/radar/bots/index.js +9 -0
  278. package/resources/radar/bots/index.js.map +1 -0
  279. package/resources/radar/bots/index.mjs +4 -0
  280. package/resources/radar/bots/index.mjs.map +1 -0
  281. package/resources/radar/bots/web-crawlers.d.ts +258 -0
  282. package/resources/radar/bots/web-crawlers.d.ts.map +1 -0
  283. package/resources/radar/bots/web-crawlers.js +28 -0
  284. package/resources/radar/bots/web-crawlers.js.map +1 -0
  285. package/resources/radar/bots/web-crawlers.mjs +24 -0
  286. package/resources/radar/bots/web-crawlers.mjs.map +1 -0
  287. package/resources/radar/bots.d.ts +2 -0
  288. package/resources/radar/bots.d.ts.map +1 -0
  289. package/resources/radar/bots.js +19 -0
  290. package/resources/radar/bots.js.map +1 -0
  291. package/resources/radar/bots.mjs +3 -0
  292. package/resources/radar/bots.mjs.map +1 -0
  293. package/resources/radar/dns/summary.d.ts +6 -2
  294. package/resources/radar/dns/summary.d.ts.map +1 -1
  295. package/resources/radar/entities/asns.d.ts +0 -12
  296. package/resources/radar/entities/asns.d.ts.map +1 -1
  297. package/resources/radar/index.d.ts +1 -0
  298. package/resources/radar/index.d.ts.map +1 -1
  299. package/resources/radar/index.js +25 -23
  300. package/resources/radar/index.js.map +1 -1
  301. package/resources/radar/index.mjs +1 -0
  302. package/resources/radar/index.mjs.map +1 -1
  303. package/resources/radar/radar.d.ts +4 -0
  304. package/resources/radar/radar.d.ts.map +1 -1
  305. package/resources/radar/radar.js +4 -0
  306. package/resources/radar/radar.js.map +1 -1
  307. package/resources/radar/radar.mjs +4 -0
  308. package/resources/radar/radar.mjs.map +1 -1
  309. package/resources/radar/search.d.ts +3 -3
  310. package/resources/radar/search.d.ts.map +1 -1
  311. package/resources/radar/search.js +1 -1
  312. package/resources/radar/search.mjs +1 -1
  313. package/resources/radar/verified-bots/top.d.ts +2 -9
  314. package/resources/radar/verified-bots/top.d.ts.map +1 -1
  315. package/resources/radar/verified-bots/top.js.map +1 -1
  316. package/resources/radar/verified-bots/top.mjs.map +1 -1
  317. package/resources/rate-limits.d.ts +4 -4
  318. package/resources/request-tracers/traces.d.ts +6 -2
  319. package/resources/request-tracers/traces.d.ts.map +1 -1
  320. package/resources/rules/index.d.ts +1 -1
  321. package/resources/rules/index.d.ts.map +1 -1
  322. package/resources/rules/index.js +2 -1
  323. package/resources/rules/index.js.map +1 -1
  324. package/resources/rules/index.mjs +1 -1
  325. package/resources/rules/index.mjs.map +1 -1
  326. package/resources/rules/lists/bulk-operations.d.ts +17 -38
  327. package/resources/rules/lists/bulk-operations.d.ts.map +1 -1
  328. package/resources/rules/lists/index.d.ts +2 -2
  329. package/resources/rules/lists/index.d.ts.map +1 -1
  330. package/resources/rules/lists/index.js +3 -1
  331. package/resources/rules/lists/index.js.map +1 -1
  332. package/resources/rules/lists/index.mjs +2 -2
  333. package/resources/rules/lists/index.mjs.map +1 -1
  334. package/resources/rules/lists/items.d.ts +114 -159
  335. package/resources/rules/lists/items.d.ts.map +1 -1
  336. package/resources/rules/lists/items.js +20 -15
  337. package/resources/rules/lists/items.js.map +1 -1
  338. package/resources/rules/lists/items.mjs +18 -14
  339. package/resources/rules/lists/items.mjs.map +1 -1
  340. package/resources/rules/lists/lists.d.ts +119 -237
  341. package/resources/rules/lists/lists.d.ts.map +1 -1
  342. package/resources/rules/lists/lists.js +13 -4
  343. package/resources/rules/lists/lists.js.map +1 -1
  344. package/resources/rules/lists/lists.mjs +12 -4
  345. package/resources/rules/lists/lists.mjs.map +1 -1
  346. package/resources/rules/rules.d.ts +2 -2
  347. package/resources/rules/rules.d.ts.map +1 -1
  348. package/resources/rules/rules.js +1 -0
  349. package/resources/rules/rules.js.map +1 -1
  350. package/resources/rules/rules.mjs +2 -1
  351. package/resources/rules/rules.mjs.map +1 -1
  352. package/resources/rulesets/rules.d.ts +36 -12
  353. package/resources/rulesets/rules.d.ts.map +1 -1
  354. package/resources/schema-validation/settings/operations.d.ts +6 -2
  355. package/resources/schema-validation/settings/operations.d.ts.map +1 -1
  356. package/resources/shared.d.ts +13 -3
  357. package/resources/shared.d.ts.map +1 -1
  358. package/resources/spectrum/analytics/events/bytimes.d.ts +9 -3
  359. package/resources/spectrum/analytics/events/bytimes.d.ts.map +1 -1
  360. package/resources/spectrum/analytics/events/summaries.d.ts +9 -3
  361. package/resources/spectrum/analytics/events/summaries.d.ts.map +1 -1
  362. package/resources/url-scanner/scans.d.ts +6 -2
  363. package/resources/url-scanner/scans.d.ts.map +1 -1
  364. package/resources/user/tokens/index.d.ts +1 -1
  365. package/resources/user/tokens/index.d.ts.map +1 -1
  366. package/resources/user/tokens/index.js.map +1 -1
  367. package/resources/user/tokens/index.mjs.map +1 -1
  368. package/resources/user/tokens/permission-groups.d.ts +12 -1
  369. package/resources/user/tokens/permission-groups.d.ts.map +1 -1
  370. package/resources/user/tokens/permission-groups.js +9 -13
  371. package/resources/user/tokens/permission-groups.js.map +1 -1
  372. package/resources/user/tokens/permission-groups.mjs +9 -13
  373. package/resources/user/tokens/permission-groups.mjs.map +1 -1
  374. package/resources/user/tokens/tokens.d.ts +8 -19
  375. package/resources/user/tokens/tokens.d.ts.map +1 -1
  376. package/resources/user/tokens/tokens.js +2 -13
  377. package/resources/user/tokens/tokens.js.map +1 -1
  378. package/resources/user/tokens/tokens.mjs +2 -13
  379. package/resources/user/tokens/tokens.mjs.map +1 -1
  380. package/resources/workers/assets/upload.d.ts +3 -1
  381. package/resources/workers/assets/upload.d.ts.map +1 -1
  382. package/resources/workers/observability/telemetry.d.ts +26 -6
  383. package/resources/workers/observability/telemetry.d.ts.map +1 -1
  384. package/resources/workers/scripts/assets/upload.d.ts +3 -1
  385. package/resources/workers/scripts/assets/upload.d.ts.map +1 -1
  386. package/resources/workers/scripts/scripts.d.ts +10 -2
  387. package/resources/workers/scripts/scripts.d.ts.map +1 -1
  388. package/resources/workers/scripts/scripts.js.map +1 -1
  389. package/resources/workers/scripts/scripts.mjs.map +1 -1
  390. package/resources/workers-for-platforms/dispatch/namespaces/scripts/asset-upload.d.ts +3 -1
  391. package/resources/workers-for-platforms/dispatch/namespaces/scripts/asset-upload.d.ts.map +1 -1
  392. package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts +10 -2
  393. package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts.map +1 -1
  394. package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.js.map +1 -1
  395. package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.mjs.map +1 -1
  396. package/resources/workflows/instances/instances.d.ts +5 -0
  397. package/resources/workflows/instances/instances.d.ts.map +1 -1
  398. package/resources/workflows/instances/instances.js.map +1 -1
  399. package/resources/workflows/instances/instances.mjs.map +1 -1
  400. package/resources/zaraz/config.d.ts +84 -28
  401. package/resources/zaraz/config.d.ts.map +1 -1
  402. package/resources/zaraz/history/configs.d.ts +3 -1
  403. package/resources/zaraz/history/configs.d.ts.map +1 -1
  404. package/resources/zaraz/zaraz.d.ts +18 -6
  405. package/resources/zaraz/zaraz.d.ts.map +1 -1
  406. package/resources/zero-trust/access/applications/applications.d.ts +50 -15
  407. package/resources/zero-trust/access/applications/applications.d.ts.map +1 -1
  408. package/resources/zero-trust/access/applications/applications.js.map +1 -1
  409. package/resources/zero-trust/access/applications/applications.mjs.map +1 -1
  410. package/resources/zero-trust/access/applications/policies.d.ts +46 -2
  411. package/resources/zero-trust/access/applications/policies.d.ts.map +1 -1
  412. package/resources/zero-trust/access/applications/policies.js.map +1 -1
  413. package/resources/zero-trust/access/applications/policies.mjs.map +1 -1
  414. package/resources/zero-trust/access/users/active-sessions.d.ts +9 -3
  415. package/resources/zero-trust/access/users/active-sessions.d.ts.map +1 -1
  416. package/resources/zero-trust/access/users/last-seen-identity.d.ts +6 -2
  417. package/resources/zero-trust/access/users/last-seen-identity.d.ts.map +1 -1
  418. package/resources/zero-trust/devices/devices_.d.ts +1 -1
  419. package/resources/zero-trust/devices/dex-tests.d.ts +1 -1
  420. package/resources/zero-trust/devices/dex-tests.js +1 -1
  421. package/resources/zero-trust/devices/dex-tests.mjs +1 -1
  422. package/resources/zero-trust/devices/override-codes.d.ts +3 -1
  423. package/resources/zero-trust/devices/override-codes.d.ts.map +1 -1
  424. package/resources/zero-trust/devices/registrations.d.ts +4 -4
  425. package/resources/zero-trust/dex/commands/commands.d.ts +3 -1
  426. package/resources/zero-trust/dex/commands/commands.d.ts.map +1 -1
  427. package/resources/zero-trust/dlp/datasets/datasets.d.ts +3 -3
  428. package/resources/zero-trust/dlp/datasets/datasets.d.ts.map +1 -1
  429. package/resources/zero-trust/dlp/datasets/upload.d.ts +1 -1
  430. package/resources/zero-trust/dlp/datasets/upload.d.ts.map +1 -1
  431. package/resources/zero-trust/dlp/datasets/versions/entries.d.ts +1 -1
  432. package/resources/zero-trust/dlp/datasets/versions/entries.d.ts.map +1 -1
  433. package/resources/zero-trust/dlp/datasets/versions/versions.d.ts +1 -1
  434. package/resources/zero-trust/dlp/datasets/versions/versions.d.ts.map +1 -1
  435. package/resources/zero-trust/dlp/dlp.d.ts +2 -2
  436. package/resources/zero-trust/dlp/dlp.d.ts.map +1 -1
  437. package/resources/zero-trust/dlp/dlp.js +2 -2
  438. package/resources/zero-trust/dlp/dlp.js.map +1 -1
  439. package/resources/zero-trust/dlp/dlp.mjs +2 -2
  440. package/resources/zero-trust/dlp/dlp.mjs.map +1 -1
  441. package/resources/zero-trust/dlp/email/rules.d.ts +3 -1
  442. package/resources/zero-trust/dlp/email/rules.d.ts.map +1 -1
  443. package/resources/zero-trust/dlp/entries/custom.d.ts +219 -0
  444. package/resources/zero-trust/dlp/entries/custom.d.ts.map +1 -0
  445. package/resources/zero-trust/dlp/entries/custom.js +68 -0
  446. package/resources/zero-trust/dlp/entries/custom.js.map +1 -0
  447. package/resources/zero-trust/dlp/entries/custom.mjs +64 -0
  448. package/resources/zero-trust/dlp/entries/custom.mjs.map +1 -0
  449. package/resources/zero-trust/dlp/entries/entries.d.ts +413 -0
  450. package/resources/zero-trust/dlp/entries/entries.d.ts.map +1 -0
  451. package/resources/zero-trust/dlp/entries/entries.js +140 -0
  452. package/resources/zero-trust/dlp/entries/entries.js.map +1 -0
  453. package/resources/zero-trust/dlp/entries/entries.mjs +112 -0
  454. package/resources/zero-trust/dlp/entries/entries.mjs.map +1 -0
  455. package/resources/zero-trust/dlp/entries/index.d.ts +5 -0
  456. package/resources/zero-trust/dlp/entries/index.d.ts.map +1 -0
  457. package/resources/zero-trust/dlp/entries/index.js +14 -0
  458. package/resources/zero-trust/dlp/entries/index.js.map +1 -0
  459. package/resources/zero-trust/dlp/entries/index.mjs +6 -0
  460. package/resources/zero-trust/dlp/entries/index.mjs.map +1 -0
  461. package/resources/zero-trust/dlp/entries/integration.d.ts +98 -0
  462. package/resources/zero-trust/dlp/entries/integration.d.ts.map +1 -0
  463. package/resources/zero-trust/dlp/entries/integration.js +65 -0
  464. package/resources/zero-trust/dlp/entries/integration.js.map +1 -0
  465. package/resources/zero-trust/dlp/entries/integration.mjs +61 -0
  466. package/resources/zero-trust/dlp/entries/integration.mjs.map +1 -0
  467. package/resources/zero-trust/dlp/entries/predefined.d.ts +122 -0
  468. package/resources/zero-trust/dlp/entries/predefined.d.ts.map +1 -0
  469. package/resources/zero-trust/dlp/entries/predefined.js +65 -0
  470. package/resources/zero-trust/dlp/entries/predefined.js.map +1 -0
  471. package/resources/zero-trust/dlp/entries/predefined.mjs +61 -0
  472. package/resources/zero-trust/dlp/entries/predefined.mjs.map +1 -0
  473. package/resources/zero-trust/dlp/entries.d.ts +1 -400
  474. package/resources/zero-trust/dlp/entries.d.ts.map +1 -1
  475. package/resources/zero-trust/dlp/entries.js +15 -98
  476. package/resources/zero-trust/dlp/entries.js.map +1 -1
  477. package/resources/zero-trust/dlp/entries.mjs +1 -95
  478. package/resources/zero-trust/dlp/entries.mjs.map +1 -1
  479. package/resources/zero-trust/dlp/index.d.ts +1 -1
  480. package/resources/zero-trust/dlp/index.d.ts.map +1 -1
  481. package/resources/zero-trust/dlp/index.js +6 -6
  482. package/resources/zero-trust/dlp/index.js.map +1 -1
  483. package/resources/zero-trust/dlp/index.mjs +1 -1
  484. package/resources/zero-trust/dlp/profiles/custom.d.ts +15 -5
  485. package/resources/zero-trust/dlp/profiles/custom.d.ts.map +1 -1
  486. package/resources/zero-trust/dlp/profiles/index.d.ts +1 -1
  487. package/resources/zero-trust/dlp/profiles/index.d.ts.map +1 -1
  488. package/resources/zero-trust/dlp/profiles/index.js.map +1 -1
  489. package/resources/zero-trust/dlp/profiles/index.mjs.map +1 -1
  490. package/resources/zero-trust/dlp/profiles/predefined.d.ts +76 -4
  491. package/resources/zero-trust/dlp/profiles/predefined.d.ts.map +1 -1
  492. package/resources/zero-trust/dlp/profiles/predefined.js +36 -0
  493. package/resources/zero-trust/dlp/profiles/predefined.js.map +1 -1
  494. package/resources/zero-trust/dlp/profiles/predefined.mjs +36 -0
  495. package/resources/zero-trust/dlp/profiles/predefined.mjs.map +1 -1
  496. package/resources/zero-trust/dlp/profiles/profiles.d.ts +11 -11
  497. package/resources/zero-trust/dlp/profiles/profiles.d.ts.map +1 -1
  498. package/resources/zero-trust/dlp/profiles/profiles.js.map +1 -1
  499. package/resources/zero-trust/dlp/profiles/profiles.mjs.map +1 -1
  500. package/resources/zero-trust/gateway/configurations/configurations.d.ts +18 -26
  501. package/resources/zero-trust/gateway/configurations/configurations.d.ts.map +1 -1
  502. package/resources/zero-trust/gateway/configurations/configurations.js.map +1 -1
  503. package/resources/zero-trust/gateway/configurations/configurations.mjs.map +1 -1
  504. package/resources/zero-trust/gateway/lists/lists.d.ts +28 -14
  505. package/resources/zero-trust/gateway/lists/lists.d.ts.map +1 -1
  506. package/resources/zero-trust/gateway/lists/lists.js.map +1 -1
  507. package/resources/zero-trust/gateway/lists/lists.mjs.map +1 -1
  508. package/resources/zero-trust/gateway/rules.d.ts +6 -2
  509. package/resources/zero-trust/gateway/rules.d.ts.map +1 -1
  510. package/resources/zero-trust/risk-scoring/behaviours.d.ts +9 -3
  511. package/resources/zero-trust/risk-scoring/behaviours.d.ts.map +1 -1
  512. package/resources/zones/index.d.ts +1 -1
  513. package/resources/zones/index.d.ts.map +1 -1
  514. package/resources/zones/index.js.map +1 -1
  515. package/resources/zones/index.mjs +1 -1
  516. package/resources/zones/index.mjs.map +1 -1
  517. package/resources/zones/subscriptions.d.ts +74 -0
  518. package/resources/zones/subscriptions.d.ts.map +1 -1
  519. package/resources/zones/subscriptions.js +44 -0
  520. package/resources/zones/subscriptions.js.map +1 -1
  521. package/resources/zones/subscriptions.mjs +44 -0
  522. package/resources/zones/subscriptions.mjs.map +1 -1
  523. package/resources/zones/zones.d.ts +2 -2
  524. package/resources/zones/zones.d.ts.map +1 -1
  525. package/resources/zones/zones.js.map +1 -1
  526. package/resources/zones/zones.mjs +1 -1
  527. package/resources/zones/zones.mjs.map +1 -1
  528. package/src/core.ts +17 -8
  529. package/src/index.ts +11 -1
  530. package/src/resources/accounts/tokens/index.ts +0 -1
  531. package/src/resources/accounts/tokens/permission-groups.ts +59 -36
  532. package/src/resources/accounts/tokens/tokens.ts +7 -21
  533. package/src/resources/ai/ai.ts +2 -2
  534. package/src/resources/ai-gateway/logs.ts +1 -1
  535. package/src/resources/alerting/available-alerts.ts +1 -1
  536. package/src/resources/alerting/destinations/eligible.ts +1 -1
  537. package/src/resources/api-gateway/discovery/operations.ts +2 -2
  538. package/src/resources/api-gateway/operations/schema-validation.ts +5 -29
  539. package/src/resources/api-gateway/settings/schema-validation.ts +3 -22
  540. package/src/resources/api-gateway/user-schemas/hosts.ts +1 -9
  541. package/src/resources/api-gateway/user-schemas/operations.ts +1 -10
  542. package/src/resources/api-gateway/user-schemas/user-schemas.ts +5 -42
  543. package/src/resources/bot-management.ts +36 -24
  544. package/src/resources/brand-protection/brand-protection.ts +275 -0
  545. package/src/resources/brand-protection/index.ts +7 -0
  546. package/src/resources/brand-protection/logo-matches.ts +5 -0
  547. package/src/resources/brand-protection/logos.ts +5 -0
  548. package/src/resources/brand-protection/matches.ts +5 -0
  549. package/src/resources/brand-protection/queries.ts +5 -0
  550. package/src/resources/brand-protection.ts +1 -247
  551. package/src/resources/browser-rendering/content.ts +1 -1
  552. package/src/resources/browser-rendering/json.ts +3 -3
  553. package/src/resources/browser-rendering/links.ts +1 -1
  554. package/src/resources/browser-rendering/markdown.ts +1 -1
  555. package/src/resources/browser-rendering/pdf.ts +106 -1
  556. package/src/resources/browser-rendering/scrape.ts +1 -1
  557. package/src/resources/browser-rendering/screenshot.ts +1 -1
  558. package/src/resources/browser-rendering/snapshot.ts +1 -1
  559. package/src/resources/cache/cache.ts +1 -1
  560. package/src/resources/cloudforce-one/threat-events/threat-events.ts +19 -87
  561. package/src/resources/custom-hostnames/certificate-pack/certificates.ts +1 -1
  562. package/src/resources/custom-hostnames/custom-hostnames.ts +7 -7
  563. package/src/resources/dns/records.ts +773 -770
  564. package/src/resources/dns-firewall/reverse-dns.ts +3 -3
  565. package/src/resources/email-security/investigate/investigate.ts +10 -0
  566. package/src/resources/email-security/investigate/move.ts +12 -12
  567. package/src/resources/email-security/settings/domains.ts +3 -3
  568. package/src/resources/email-security/settings/trusted-domains.ts +5 -5
  569. package/src/resources/firewall/lockdowns.ts +2 -2
  570. package/src/resources/firewall/ua-rules.ts +199 -6
  571. package/src/resources/firewall/waf/overrides.ts +4 -4
  572. package/src/resources/healthchecks/healthchecks.ts +2 -2
  573. package/src/resources/hyperdrive/configs.ts +18 -0
  574. package/src/resources/hyperdrive/hyperdrive.ts +6 -0
  575. package/src/resources/images/v1/v1.ts +6 -1
  576. package/src/resources/index.ts +1 -1
  577. package/src/resources/kv/namespaces/keys.ts +38 -52
  578. package/src/resources/kv/namespaces/metadata.ts +2 -5
  579. package/src/resources/kv/namespaces/namespaces.ts +40 -51
  580. package/src/resources/kv/namespaces/values.ts +12 -19
  581. package/src/resources/load-balancers/load-balancers.ts +20 -20
  582. package/src/resources/load-balancers/monitors/monitors.ts +4 -4
  583. package/src/resources/load-balancers/monitors/previews.ts +2 -2
  584. package/src/resources/load-balancers/pools/health.ts +2 -2
  585. package/src/resources/load-balancers/previews.ts +2 -2
  586. package/src/resources/logpush/jobs.ts +63 -35
  587. package/src/resources/magic-cloud-networking/catalog-syncs/catalog-syncs.ts +5 -5
  588. package/src/resources/magic-cloud-networking/on-ramps/on-ramps.ts +65 -65
  589. package/src/resources/magic-cloud-networking/resources.ts +10 -10
  590. package/src/resources/magic-transit/connectors/connectors.ts +167 -1
  591. package/src/resources/magic-transit/connectors/index.ts +4 -0
  592. package/src/resources/magic-transit/index.ts +4 -0
  593. package/src/resources/magic-transit/magic-transit.ts +8 -0
  594. package/src/resources/magic-transit/sites/lans.ts +2 -2
  595. package/src/resources/page-rules.ts +4 -4
  596. package/src/resources/pages/projects/projects.ts +93 -88
  597. package/src/resources/radar/ai/bots/summary.ts +1 -1
  598. package/src/resources/radar/ai/inference/summary.ts +2 -2
  599. package/src/resources/radar/as112/summary.ts +2 -2
  600. package/src/resources/radar/attacks/layer3/summary.ts +3 -3
  601. package/src/resources/radar/attacks/layer7/summary.ts +5 -5
  602. package/src/resources/radar/bots/bots.ts +927 -0
  603. package/src/resources/radar/bots/index.ts +22 -0
  604. package/src/resources/radar/bots/web-crawlers.ts +384 -0
  605. package/src/resources/radar/bots.ts +3 -0
  606. package/src/resources/radar/dns/summary.ts +2 -2
  607. package/src/resources/radar/entities/asns.ts +0 -15
  608. package/src/resources/radar/index.ts +13 -0
  609. package/src/resources/radar/radar.ts +30 -0
  610. package/src/resources/radar/search.ts +3 -3
  611. package/src/resources/radar/verified-bots/top.ts +2 -9
  612. package/src/resources/rate-limits.ts +4 -4
  613. package/src/resources/request-tracers/traces.ts +2 -2
  614. package/src/resources/rules/index.ts +1 -1
  615. package/src/resources/rules/lists/bulk-operations.ts +17 -45
  616. package/src/resources/rules/lists/index.ts +2 -1
  617. package/src/resources/rules/lists/items.ts +128 -181
  618. package/src/resources/rules/lists/lists.ts +141 -286
  619. package/src/resources/rules/rules.ts +3 -2
  620. package/src/resources/rulesets/rules.ts +40 -40
  621. package/src/resources/schema-validation/settings/operations.ts +2 -2
  622. package/src/resources/shared.ts +3 -3
  623. package/src/resources/spectrum/analytics/events/bytimes.ts +3 -3
  624. package/src/resources/spectrum/analytics/events/summaries.ts +3 -3
  625. package/src/resources/url-scanner/scans.ts +2 -2
  626. package/src/resources/user/tokens/index.ts +1 -0
  627. package/src/resources/user/tokens/permission-groups.ts +29 -5
  628. package/src/resources/user/tokens/tokens.ts +9 -18
  629. package/src/resources/workers/assets/upload.ts +1 -1
  630. package/src/resources/workers/observability/telemetry.ts +30 -30
  631. package/src/resources/workers/scripts/assets/upload.ts +1 -1
  632. package/src/resources/workers/scripts/scripts.ts +9 -2
  633. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/asset-upload.ts +1 -1
  634. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.ts +9 -2
  635. package/src/resources/workflows/instances/instances.ts +7 -0
  636. package/src/resources/zaraz/config.ts +38 -36
  637. package/src/resources/zaraz/history/configs.ts +1 -1
  638. package/src/resources/zaraz/zaraz.ts +6 -6
  639. package/src/resources/zero-trust/access/applications/applications.ts +21 -15
  640. package/src/resources/zero-trust/access/applications/policies.ts +54 -0
  641. package/src/resources/zero-trust/access/users/active-sessions.ts +3 -3
  642. package/src/resources/zero-trust/access/users/last-seen-identity.ts +2 -2
  643. package/src/resources/zero-trust/devices/devices_.ts +1 -1
  644. package/src/resources/zero-trust/devices/dex-tests.ts +1 -1
  645. package/src/resources/zero-trust/devices/override-codes.ts +1 -1
  646. package/src/resources/zero-trust/devices/registrations.ts +4 -4
  647. package/src/resources/zero-trust/dex/commands/commands.ts +1 -1
  648. package/src/resources/zero-trust/dlp/datasets/datasets.ts +3 -3
  649. package/src/resources/zero-trust/dlp/datasets/upload.ts +1 -1
  650. package/src/resources/zero-trust/dlp/datasets/versions/entries.ts +1 -1
  651. package/src/resources/zero-trust/dlp/datasets/versions/versions.ts +1 -1
  652. package/src/resources/zero-trust/dlp/dlp.ts +15 -15
  653. package/src/resources/zero-trust/dlp/email/rules.ts +1 -1
  654. package/src/resources/zero-trust/dlp/entries/custom.ts +342 -0
  655. package/src/resources/zero-trust/dlp/entries/entries.ts +727 -0
  656. package/src/resources/zero-trust/dlp/entries/index.ts +43 -0
  657. package/src/resources/zero-trust/dlp/entries/integration.ts +165 -0
  658. package/src/resources/zero-trust/dlp/entries/predefined.ts +191 -0
  659. package/src/resources/zero-trust/dlp/entries.ts +1 -658
  660. package/src/resources/zero-trust/dlp/index.ts +1 -1
  661. package/src/resources/zero-trust/dlp/profiles/custom.ts +24 -4
  662. package/src/resources/zero-trust/dlp/profiles/index.ts +3 -0
  663. package/src/resources/zero-trust/dlp/profiles/predefined.ts +115 -3
  664. package/src/resources/zero-trust/dlp/profiles/profiles.ts +15 -9
  665. package/src/resources/zero-trust/gateway/configurations/configurations.ts +22 -30
  666. package/src/resources/zero-trust/gateway/lists/lists.ts +32 -16
  667. package/src/resources/zero-trust/gateway/rules.ts +2 -2
  668. package/src/resources/zero-trust/risk-scoring/behaviours.ts +3 -3
  669. package/src/resources/zones/index.ts +6 -1
  670. package/src/resources/zones/subscriptions.ts +117 -1
  671. package/src/resources/zones/zones.ts +12 -2
  672. package/src/version.ts +1 -1
  673. package/version.d.ts +1 -1
  674. package/version.js +1 -1
  675. package/version.mjs +1 -1
@@ -0,0 +1,927 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../../resource';
4
+ import { isRequestOptions } from '../../../core';
5
+ import * as Core from '../../../core';
6
+ import * as WebCrawlersAPI from './web-crawlers';
7
+ import {
8
+ WebCrawlerSummaryParams,
9
+ WebCrawlerSummaryResponse,
10
+ WebCrawlerTimeseriesGroupsParams,
11
+ WebCrawlerTimeseriesGroupsResponse,
12
+ WebCrawlers,
13
+ } from './web-crawlers';
14
+
15
+ export class Bots extends APIResource {
16
+ webCrawlers: WebCrawlersAPI.WebCrawlers = new WebCrawlersAPI.WebCrawlers(this._client);
17
+
18
+ /**
19
+ * Retrieves a list of bots.
20
+ *
21
+ * @example
22
+ * ```ts
23
+ * const bots = await client.radar.bots.list();
24
+ * ```
25
+ */
26
+ list(query?: BotListParams, options?: Core.RequestOptions): Core.APIPromise<BotListResponse>;
27
+ list(options?: Core.RequestOptions): Core.APIPromise<BotListResponse>;
28
+ list(
29
+ query: BotListParams | Core.RequestOptions = {},
30
+ options?: Core.RequestOptions,
31
+ ): Core.APIPromise<BotListResponse> {
32
+ if (isRequestOptions(query)) {
33
+ return this.list({}, query);
34
+ }
35
+ return (
36
+ this._client.get('/radar/bots', { query, ...options }) as Core.APIPromise<{ result: BotListResponse }>
37
+ )._thenUnwrap((obj) => obj.result);
38
+ }
39
+
40
+ /**
41
+ * Retrieves the requested bot information.
42
+ *
43
+ * @example
44
+ * ```ts
45
+ * const bot = await client.radar.bots.get('gptbot');
46
+ * ```
47
+ */
48
+ get(botSlug: string, query?: BotGetParams, options?: Core.RequestOptions): Core.APIPromise<BotGetResponse>;
49
+ get(botSlug: string, options?: Core.RequestOptions): Core.APIPromise<BotGetResponse>;
50
+ get(
51
+ botSlug: string,
52
+ query: BotGetParams | Core.RequestOptions = {},
53
+ options?: Core.RequestOptions,
54
+ ): Core.APIPromise<BotGetResponse> {
55
+ if (isRequestOptions(query)) {
56
+ return this.get(botSlug, {}, query);
57
+ }
58
+ return (
59
+ this._client.get(`/radar/bots/${botSlug}`, { query, ...options }) as Core.APIPromise<{
60
+ result: BotGetResponse;
61
+ }>
62
+ )._thenUnwrap((obj) => obj.result);
63
+ }
64
+
65
+ /**
66
+ * Retrieves an aggregated summary of bots HTTP requests grouped by the specified
67
+ * dimension.
68
+ *
69
+ * @example
70
+ * ```ts
71
+ * const response = await client.radar.bots.summary('BOT');
72
+ * ```
73
+ */
74
+ summary(
75
+ dimension: 'BOT' | 'BOT_OPERATOR' | 'BOT_CATEGORY',
76
+ query?: BotSummaryParams,
77
+ options?: Core.RequestOptions,
78
+ ): Core.APIPromise<BotSummaryResponse>;
79
+ summary(
80
+ dimension: 'BOT' | 'BOT_OPERATOR' | 'BOT_CATEGORY',
81
+ options?: Core.RequestOptions,
82
+ ): Core.APIPromise<BotSummaryResponse>;
83
+ summary(
84
+ dimension: 'BOT' | 'BOT_OPERATOR' | 'BOT_CATEGORY',
85
+ query: BotSummaryParams | Core.RequestOptions = {},
86
+ options?: Core.RequestOptions,
87
+ ): Core.APIPromise<BotSummaryResponse> {
88
+ if (isRequestOptions(query)) {
89
+ return this.summary(dimension, {}, query);
90
+ }
91
+ return (
92
+ this._client.get(`/radar/bots/summary/${dimension}`, { query, ...options }) as Core.APIPromise<{
93
+ result: BotSummaryResponse;
94
+ }>
95
+ )._thenUnwrap((obj) => obj.result);
96
+ }
97
+
98
+ /**
99
+ * Retrieves bots HTTP request volume over time.
100
+ *
101
+ * @example
102
+ * ```ts
103
+ * const response = await client.radar.bots.timeseries();
104
+ * ```
105
+ */
106
+ timeseries(
107
+ query?: BotTimeseriesParams,
108
+ options?: Core.RequestOptions,
109
+ ): Core.APIPromise<BotTimeseriesResponse>;
110
+ timeseries(options?: Core.RequestOptions): Core.APIPromise<BotTimeseriesResponse>;
111
+ timeseries(
112
+ query: BotTimeseriesParams | Core.RequestOptions = {},
113
+ options?: Core.RequestOptions,
114
+ ): Core.APIPromise<BotTimeseriesResponse> {
115
+ if (isRequestOptions(query)) {
116
+ return this.timeseries({}, query);
117
+ }
118
+ return (
119
+ this._client.get('/radar/bots/timeseries', { query, ...options }) as Core.APIPromise<{
120
+ result: BotTimeseriesResponse;
121
+ }>
122
+ )._thenUnwrap((obj) => obj.result);
123
+ }
124
+
125
+ /**
126
+ * Retrieves the distribution of HTTP requests from bots, grouped by chosen the
127
+ * specified dimension over time.
128
+ *
129
+ * @example
130
+ * ```ts
131
+ * const response = await client.radar.bots.timeseriesGroups(
132
+ * 'BOT',
133
+ * );
134
+ * ```
135
+ */
136
+ timeseriesGroups(
137
+ dimension: 'BOT' | 'BOT_OPERATOR' | 'BOT_CATEGORY',
138
+ query?: BotTimeseriesGroupsParams,
139
+ options?: Core.RequestOptions,
140
+ ): Core.APIPromise<BotTimeseriesGroupsResponse>;
141
+ timeseriesGroups(
142
+ dimension: 'BOT' | 'BOT_OPERATOR' | 'BOT_CATEGORY',
143
+ options?: Core.RequestOptions,
144
+ ): Core.APIPromise<BotTimeseriesGroupsResponse>;
145
+ timeseriesGroups(
146
+ dimension: 'BOT' | 'BOT_OPERATOR' | 'BOT_CATEGORY',
147
+ query: BotTimeseriesGroupsParams | Core.RequestOptions = {},
148
+ options?: Core.RequestOptions,
149
+ ): Core.APIPromise<BotTimeseriesGroupsResponse> {
150
+ if (isRequestOptions(query)) {
151
+ return this.timeseriesGroups(dimension, {}, query);
152
+ }
153
+ return (
154
+ this._client.get(`/radar/bots/timeseries_groups/${dimension}`, {
155
+ query,
156
+ ...options,
157
+ }) as Core.APIPromise<{ result: BotTimeseriesGroupsResponse }>
158
+ )._thenUnwrap((obj) => obj.result);
159
+ }
160
+ }
161
+
162
+ export interface BotListResponse {
163
+ bots: Array<BotListResponse.Bot>;
164
+ }
165
+
166
+ export namespace BotListResponse {
167
+ export interface Bot {
168
+ /**
169
+ * The category of the bot.
170
+ */
171
+ category: string;
172
+
173
+ /**
174
+ * A summary for the bot (e.g., purpose).
175
+ */
176
+ description: string;
177
+
178
+ /**
179
+ * The name of the bot.
180
+ */
181
+ name: string;
182
+
183
+ /**
184
+ * The organization that owns and operates the bot.
185
+ */
186
+ operator: string;
187
+
188
+ /**
189
+ * A kebab-case identifier derived from the bot name.
190
+ */
191
+ slug: string;
192
+ }
193
+ }
194
+
195
+ export interface BotGetResponse {
196
+ bot: BotGetResponse.Bot;
197
+ }
198
+
199
+ export namespace BotGetResponse {
200
+ export interface Bot {
201
+ /**
202
+ * The category of the bot.
203
+ */
204
+ category: string;
205
+
206
+ /**
207
+ * A summary for the bot (e.g., purpose).
208
+ */
209
+ description: string;
210
+
211
+ /**
212
+ * The name of the bot.
213
+ */
214
+ name: string;
215
+
216
+ /**
217
+ * The organization that owns and operates the bot.
218
+ */
219
+ operator: string;
220
+
221
+ /**
222
+ * The link to the bot documentation.
223
+ */
224
+ operatorUrl: string;
225
+
226
+ /**
227
+ * A kebab-case identifier derived from the bot name.
228
+ */
229
+ slug: string;
230
+
231
+ userAgentPatterns: Array<string>;
232
+
233
+ userAgents: Array<string>;
234
+ }
235
+ }
236
+
237
+ export interface BotSummaryResponse {
238
+ /**
239
+ * Metadata for the results.
240
+ */
241
+ meta: BotSummaryResponse.Meta;
242
+
243
+ summary_0: { [key: string]: string };
244
+ }
245
+
246
+ export namespace BotSummaryResponse {
247
+ /**
248
+ * Metadata for the results.
249
+ */
250
+ export interface Meta {
251
+ confidenceInfo: Meta.ConfidenceInfo | null;
252
+
253
+ dateRange: Array<Meta.DateRange>;
254
+
255
+ /**
256
+ * Timestamp of the last dataset update.
257
+ */
258
+ lastUpdated: string;
259
+
260
+ /**
261
+ * Normalization method applied to the results. Refer to
262
+ * [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).
263
+ */
264
+ normalization:
265
+ | 'PERCENTAGE'
266
+ | 'MIN0_MAX'
267
+ | 'MIN_MAX'
268
+ | 'RAW_VALUES'
269
+ | 'PERCENTAGE_CHANGE'
270
+ | 'ROLLING_AVERAGE'
271
+ | 'OVERLAPPED_PERCENTAGE'
272
+ | 'RATIO';
273
+
274
+ /**
275
+ * Measurement units for the results.
276
+ */
277
+ units: Array<Meta.Unit>;
278
+ }
279
+
280
+ export namespace Meta {
281
+ export interface ConfidenceInfo {
282
+ annotations: Array<ConfidenceInfo.Annotation>;
283
+
284
+ /**
285
+ * Provides an indication of how much confidence Cloudflare has in the data.
286
+ */
287
+ level: number;
288
+ }
289
+
290
+ export namespace ConfidenceInfo {
291
+ /**
292
+ * Annotation associated with the result (e.g. outage or other type of event).
293
+ */
294
+ export interface Annotation {
295
+ dataSource: string;
296
+
297
+ description: string;
298
+
299
+ endDate: string;
300
+
301
+ eventType: string;
302
+
303
+ /**
304
+ * Whether event is a single point in time or a time range.
305
+ */
306
+ isInstantaneous: boolean;
307
+
308
+ linkedUrl: string;
309
+
310
+ startDate: string;
311
+ }
312
+ }
313
+
314
+ export interface DateRange {
315
+ /**
316
+ * Adjusted end of date range.
317
+ */
318
+ endTime: string;
319
+
320
+ /**
321
+ * Adjusted start of date range.
322
+ */
323
+ startTime: string;
324
+ }
325
+
326
+ export interface Unit {
327
+ name: string;
328
+
329
+ value: string;
330
+ }
331
+ }
332
+ }
333
+
334
+ export interface BotTimeseriesResponse {
335
+ /**
336
+ * Metadata for the results.
337
+ */
338
+ meta: BotTimeseriesResponse.Meta;
339
+
340
+ [k: string]:
341
+ | BotTimeseriesResponse.unnamed_schema_ref_75bae70cf28e6bcef364b9840db3bdeb
342
+ | BotTimeseriesResponse.Meta
343
+ | undefined;
344
+ }
345
+
346
+ export namespace BotTimeseriesResponse {
347
+ /**
348
+ * Metadata for the results.
349
+ */
350
+ export interface Meta {
351
+ /**
352
+ * Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals).
353
+ * Refer to
354
+ * [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/).
355
+ */
356
+ aggInterval: 'FIFTEEN_MINUTES' | 'ONE_HOUR' | 'ONE_DAY' | 'ONE_WEEK' | 'ONE_MONTH';
357
+
358
+ confidenceInfo: Meta.ConfidenceInfo;
359
+
360
+ dateRange: Array<Meta.DateRange>;
361
+
362
+ /**
363
+ * Timestamp of the last dataset update.
364
+ */
365
+ lastUpdated: string;
366
+
367
+ /**
368
+ * Normalization method applied to the results. Refer to
369
+ * [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).
370
+ */
371
+ normalization:
372
+ | 'PERCENTAGE'
373
+ | 'MIN0_MAX'
374
+ | 'MIN_MAX'
375
+ | 'RAW_VALUES'
376
+ | 'PERCENTAGE_CHANGE'
377
+ | 'ROLLING_AVERAGE'
378
+ | 'OVERLAPPED_PERCENTAGE'
379
+ | 'RATIO';
380
+
381
+ /**
382
+ * Measurement units for the results.
383
+ */
384
+ units: Array<Meta.Unit>;
385
+ }
386
+
387
+ export namespace Meta {
388
+ export interface ConfidenceInfo {
389
+ annotations: Array<ConfidenceInfo.Annotation>;
390
+
391
+ /**
392
+ * Provides an indication of how much confidence Cloudflare has in the data.
393
+ */
394
+ level: number;
395
+ }
396
+
397
+ export namespace ConfidenceInfo {
398
+ /**
399
+ * Annotation associated with the result (e.g. outage or other type of event).
400
+ */
401
+ export interface Annotation {
402
+ dataSource: string;
403
+
404
+ description: string;
405
+
406
+ endDate: string;
407
+
408
+ eventType: string;
409
+
410
+ /**
411
+ * Whether event is a single point in time or a time range.
412
+ */
413
+ isInstantaneous: boolean;
414
+
415
+ linkedUrl: string;
416
+
417
+ startDate: string;
418
+ }
419
+ }
420
+
421
+ export interface DateRange {
422
+ /**
423
+ * Adjusted end of date range.
424
+ */
425
+ endTime: string;
426
+
427
+ /**
428
+ * Adjusted start of date range.
429
+ */
430
+ startTime: string;
431
+ }
432
+
433
+ export interface Unit {
434
+ name: string;
435
+
436
+ value: string;
437
+ }
438
+ }
439
+
440
+ export interface unnamed_schema_ref_75bae70cf28e6bcef364b9840db3bdeb {
441
+ timestamps: Array<string>;
442
+
443
+ values: Array<string>;
444
+ }
445
+ }
446
+
447
+ export interface BotTimeseriesGroupsResponse {
448
+ /**
449
+ * Metadata for the results.
450
+ */
451
+ meta: BotTimeseriesGroupsResponse.Meta;
452
+
453
+ serie_0: BotTimeseriesGroupsResponse.Serie0;
454
+ }
455
+
456
+ export namespace BotTimeseriesGroupsResponse {
457
+ /**
458
+ * Metadata for the results.
459
+ */
460
+ export interface Meta {
461
+ /**
462
+ * Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals).
463
+ * Refer to
464
+ * [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/).
465
+ */
466
+ aggInterval: 'FIFTEEN_MINUTES' | 'ONE_HOUR' | 'ONE_DAY' | 'ONE_WEEK' | 'ONE_MONTH';
467
+
468
+ confidenceInfo: Meta.ConfidenceInfo;
469
+
470
+ dateRange: Array<Meta.DateRange>;
471
+
472
+ /**
473
+ * Timestamp of the last dataset update.
474
+ */
475
+ lastUpdated: string;
476
+
477
+ /**
478
+ * Normalization method applied to the results. Refer to
479
+ * [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).
480
+ */
481
+ normalization:
482
+ | 'PERCENTAGE'
483
+ | 'MIN0_MAX'
484
+ | 'MIN_MAX'
485
+ | 'RAW_VALUES'
486
+ | 'PERCENTAGE_CHANGE'
487
+ | 'ROLLING_AVERAGE'
488
+ | 'OVERLAPPED_PERCENTAGE'
489
+ | 'RATIO';
490
+
491
+ /**
492
+ * Measurement units for the results.
493
+ */
494
+ units: Array<Meta.Unit>;
495
+ }
496
+
497
+ export namespace Meta {
498
+ export interface ConfidenceInfo {
499
+ annotations: Array<ConfidenceInfo.Annotation>;
500
+
501
+ /**
502
+ * Provides an indication of how much confidence Cloudflare has in the data.
503
+ */
504
+ level: number;
505
+ }
506
+
507
+ export namespace ConfidenceInfo {
508
+ /**
509
+ * Annotation associated with the result (e.g. outage or other type of event).
510
+ */
511
+ export interface Annotation {
512
+ dataSource: string;
513
+
514
+ description: string;
515
+
516
+ endDate: string;
517
+
518
+ eventType: string;
519
+
520
+ /**
521
+ * Whether event is a single point in time or a time range.
522
+ */
523
+ isInstantaneous: boolean;
524
+
525
+ linkedUrl: string;
526
+
527
+ startDate: string;
528
+ }
529
+ }
530
+
531
+ export interface DateRange {
532
+ /**
533
+ * Adjusted end of date range.
534
+ */
535
+ endTime: string;
536
+
537
+ /**
538
+ * Adjusted start of date range.
539
+ */
540
+ startTime: string;
541
+ }
542
+
543
+ export interface Unit {
544
+ name: string;
545
+
546
+ value: string;
547
+ }
548
+ }
549
+
550
+ export interface Serie0 {
551
+ timestamps: Array<string>;
552
+
553
+ [k: string]: Array<string> | Array<string> | undefined;
554
+ }
555
+ }
556
+
557
+ export interface BotListParams {
558
+ /**
559
+ * Filters results by bot category.
560
+ */
561
+ botCategory?:
562
+ | 'SEARCH_ENGINE_CRAWLER'
563
+ | 'SEARCH_ENGINE_OPTIMIZATION'
564
+ | 'MONITORING_AND_ANALYTICS'
565
+ | 'ADVERTISING_AND_MARKETING'
566
+ | 'SOCIAL_MEDIA_MARKETING'
567
+ | 'PAGE_PREVIEW'
568
+ | 'ACADEMIC_RESEARCH'
569
+ | 'SECURITY'
570
+ | 'ACCESSIBILITY'
571
+ | 'WEBHOOKS'
572
+ | 'FEED_FETCHER'
573
+ | 'AI_CRAWLER'
574
+ | 'AGGREGATOR'
575
+ | 'AI_ASSISTANT'
576
+ | 'AI_SEARCH'
577
+ | 'ARCHIVER';
578
+
579
+ /**
580
+ * Filters results by bot operator.
581
+ */
582
+ botOperator?: string;
583
+
584
+ /**
585
+ * Filters results by bot verification status.
586
+ */
587
+ botVerificationStatus?: 'VERIFIED';
588
+
589
+ /**
590
+ * Format in which results will be returned.
591
+ */
592
+ format?: 'JSON' | 'CSV';
593
+
594
+ /**
595
+ * Limits the number of objects returned in the response.
596
+ */
597
+ limit?: number;
598
+
599
+ /**
600
+ * Skips the specified number of objects before fetching the results.
601
+ */
602
+ offset?: number;
603
+ }
604
+
605
+ export interface BotGetParams {
606
+ /**
607
+ * Format in which results will be returned.
608
+ */
609
+ format?: 'JSON' | 'CSV';
610
+ }
611
+
612
+ export interface BotSummaryParams {
613
+ /**
614
+ * Filters results by Autonomous System. Specify one or more Autonomous System
615
+ * Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from
616
+ * results. For example, `-174, 3356` excludes results from AS174, but includes
617
+ * results from AS3356.
618
+ */
619
+ asn?: Array<string>;
620
+
621
+ /**
622
+ * Filters results by bot name.
623
+ */
624
+ bot?: Array<string>;
625
+
626
+ /**
627
+ * Filters results by bot category.
628
+ */
629
+ botCategory?: Array<
630
+ | 'SEARCH_ENGINE_CRAWLER'
631
+ | 'SEARCH_ENGINE_OPTIMIZATION'
632
+ | 'MONITORING_AND_ANALYTICS'
633
+ | 'ADVERTISING_AND_MARKETING'
634
+ | 'SOCIAL_MEDIA_MARKETING'
635
+ | 'PAGE_PREVIEW'
636
+ | 'ACADEMIC_RESEARCH'
637
+ | 'SECURITY'
638
+ | 'ACCESSIBILITY'
639
+ | 'WEBHOOKS'
640
+ | 'FEED_FETCHER'
641
+ | 'AI_CRAWLER'
642
+ | 'AGGREGATOR'
643
+ | 'AI_ASSISTANT'
644
+ | 'AI_SEARCH'
645
+ | 'ARCHIVER'
646
+ >;
647
+
648
+ /**
649
+ * Filters results by bot operator.
650
+ */
651
+ botOperator?: Array<string>;
652
+
653
+ /**
654
+ * Filters results by bot verification status (Verified vs. Unverified).
655
+ */
656
+ botVerificationStatus?: Array<'VERIFIED'>;
657
+
658
+ /**
659
+ * Filters results by continent. Specify a comma-separated list of alpha-2 codes.
660
+ * Prefix with `-` to exclude continents from results. For example, `-EU,NA`
661
+ * excludes results from EU, but includes results from NA.
662
+ */
663
+ continent?: Array<string>;
664
+
665
+ /**
666
+ * End of the date range (inclusive).
667
+ */
668
+ dateEnd?: Array<string>;
669
+
670
+ /**
671
+ * Filters results by date range. For example, use `7d` and `7dcontrol` to compare
672
+ * this week with the previous week. Use this parameter or set specific start and
673
+ * end dates (`dateStart` and `dateEnd` parameters).
674
+ */
675
+ dateRange?: Array<string>;
676
+
677
+ /**
678
+ * Start of the date range.
679
+ */
680
+ dateStart?: Array<string>;
681
+
682
+ /**
683
+ * Format in which results will be returned.
684
+ */
685
+ format?: 'JSON' | 'CSV';
686
+
687
+ /**
688
+ * Limits the number of objects per group to the top items within the specified
689
+ * time range. When item count exceeds the limit, extra items appear grouped under
690
+ * an "other" category.
691
+ */
692
+ limitPerGroup?: number;
693
+
694
+ /**
695
+ * Filters results by location. Specify a comma-separated list of alpha-2 codes.
696
+ * Prefix with `-` to exclude locations from results. For example, `-US,PT`
697
+ * excludes results from the US, but includes results from PT.
698
+ */
699
+ location?: Array<string>;
700
+
701
+ /**
702
+ * Array of names used to label the series in the response.
703
+ */
704
+ name?: Array<string>;
705
+ }
706
+
707
+ export interface BotTimeseriesParams {
708
+ /**
709
+ * Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals).
710
+ * Refer to
711
+ * [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/).
712
+ */
713
+ aggInterval?: '15m' | '1h' | '1d' | '1w';
714
+
715
+ /**
716
+ * Filters results by Autonomous System. Specify one or more Autonomous System
717
+ * Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from
718
+ * results. For example, `-174, 3356` excludes results from AS174, but includes
719
+ * results from AS3356.
720
+ */
721
+ asn?: Array<string>;
722
+
723
+ /**
724
+ * Filters results by bot name.
725
+ */
726
+ bot?: Array<string>;
727
+
728
+ /**
729
+ * Filters results by bot category.
730
+ */
731
+ botCategory?: Array<
732
+ | 'SEARCH_ENGINE_CRAWLER'
733
+ | 'SEARCH_ENGINE_OPTIMIZATION'
734
+ | 'MONITORING_AND_ANALYTICS'
735
+ | 'ADVERTISING_AND_MARKETING'
736
+ | 'SOCIAL_MEDIA_MARKETING'
737
+ | 'PAGE_PREVIEW'
738
+ | 'ACADEMIC_RESEARCH'
739
+ | 'SECURITY'
740
+ | 'ACCESSIBILITY'
741
+ | 'WEBHOOKS'
742
+ | 'FEED_FETCHER'
743
+ | 'AI_CRAWLER'
744
+ | 'AGGREGATOR'
745
+ | 'AI_ASSISTANT'
746
+ | 'AI_SEARCH'
747
+ | 'ARCHIVER'
748
+ >;
749
+
750
+ /**
751
+ * Filters results by bot operator.
752
+ */
753
+ botOperator?: Array<string>;
754
+
755
+ /**
756
+ * Filters results by bot verification status (Verified vs. Unverified).
757
+ */
758
+ botVerificationStatus?: Array<'VERIFIED'>;
759
+
760
+ /**
761
+ * Filters results by continent. Specify a comma-separated list of alpha-2 codes.
762
+ * Prefix with `-` to exclude continents from results. For example, `-EU,NA`
763
+ * excludes results from EU, but includes results from NA.
764
+ */
765
+ continent?: Array<string>;
766
+
767
+ /**
768
+ * End of the date range (inclusive).
769
+ */
770
+ dateEnd?: Array<string>;
771
+
772
+ /**
773
+ * Filters results by date range. For example, use `7d` and `7dcontrol` to compare
774
+ * this week with the previous week. Use this parameter or set specific start and
775
+ * end dates (`dateStart` and `dateEnd` parameters).
776
+ */
777
+ dateRange?: Array<string>;
778
+
779
+ /**
780
+ * Start of the date range.
781
+ */
782
+ dateStart?: Array<string>;
783
+
784
+ /**
785
+ * Format in which results will be returned.
786
+ */
787
+ format?: 'JSON' | 'CSV';
788
+
789
+ /**
790
+ * Filters results by location. Specify a comma-separated list of alpha-2 codes.
791
+ * Prefix with `-` to exclude locations from results. For example, `-US,PT`
792
+ * excludes results from the US, but includes results from PT.
793
+ */
794
+ location?: Array<string>;
795
+
796
+ /**
797
+ * Array of names used to label the series in the response.
798
+ */
799
+ name?: Array<string>;
800
+ }
801
+
802
+ export interface BotTimeseriesGroupsParams {
803
+ /**
804
+ * Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals).
805
+ * Refer to
806
+ * [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/).
807
+ */
808
+ aggInterval?: '15m' | '1h' | '1d' | '1w';
809
+
810
+ /**
811
+ * Filters results by Autonomous System. Specify one or more Autonomous System
812
+ * Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from
813
+ * results. For example, `-174, 3356` excludes results from AS174, but includes
814
+ * results from AS3356.
815
+ */
816
+ asn?: Array<string>;
817
+
818
+ /**
819
+ * Filters results by bot name.
820
+ */
821
+ bot?: Array<string>;
822
+
823
+ /**
824
+ * Filters results by bot category.
825
+ */
826
+ botCategory?: Array<
827
+ | 'SEARCH_ENGINE_CRAWLER'
828
+ | 'SEARCH_ENGINE_OPTIMIZATION'
829
+ | 'MONITORING_AND_ANALYTICS'
830
+ | 'ADVERTISING_AND_MARKETING'
831
+ | 'SOCIAL_MEDIA_MARKETING'
832
+ | 'PAGE_PREVIEW'
833
+ | 'ACADEMIC_RESEARCH'
834
+ | 'SECURITY'
835
+ | 'ACCESSIBILITY'
836
+ | 'WEBHOOKS'
837
+ | 'FEED_FETCHER'
838
+ | 'AI_CRAWLER'
839
+ | 'AGGREGATOR'
840
+ | 'AI_ASSISTANT'
841
+ | 'AI_SEARCH'
842
+ | 'ARCHIVER'
843
+ >;
844
+
845
+ /**
846
+ * Filters results by bot operator.
847
+ */
848
+ botOperator?: Array<string>;
849
+
850
+ /**
851
+ * Filters results by bot verification status (Verified vs. Unverified).
852
+ */
853
+ botVerificationStatus?: Array<'VERIFIED'>;
854
+
855
+ /**
856
+ * Filters results by continent. Specify a comma-separated list of alpha-2 codes.
857
+ * Prefix with `-` to exclude continents from results. For example, `-EU,NA`
858
+ * excludes results from EU, but includes results from NA.
859
+ */
860
+ continent?: Array<string>;
861
+
862
+ /**
863
+ * End of the date range (inclusive).
864
+ */
865
+ dateEnd?: Array<string>;
866
+
867
+ /**
868
+ * Filters results by date range. For example, use `7d` and `7dcontrol` to compare
869
+ * this week with the previous week. Use this parameter or set specific start and
870
+ * end dates (`dateStart` and `dateEnd` parameters).
871
+ */
872
+ dateRange?: Array<string>;
873
+
874
+ /**
875
+ * Start of the date range.
876
+ */
877
+ dateStart?: Array<string>;
878
+
879
+ /**
880
+ * Format in which results will be returned.
881
+ */
882
+ format?: 'JSON' | 'CSV';
883
+
884
+ /**
885
+ * Limits the number of objects per group to the top items within the specified
886
+ * time range. When item count exceeds the limit, extra items appear grouped under
887
+ * an "other" category.
888
+ */
889
+ limitPerGroup?: number;
890
+
891
+ /**
892
+ * Filters results by location. Specify a comma-separated list of alpha-2 codes.
893
+ * Prefix with `-` to exclude locations from results. For example, `-US,PT`
894
+ * excludes results from the US, but includes results from PT.
895
+ */
896
+ location?: Array<string>;
897
+
898
+ /**
899
+ * Array of names used to label the series in the response.
900
+ */
901
+ name?: Array<string>;
902
+ }
903
+
904
+ Bots.WebCrawlers = WebCrawlers;
905
+
906
+ export declare namespace Bots {
907
+ export {
908
+ type BotListResponse as BotListResponse,
909
+ type BotGetResponse as BotGetResponse,
910
+ type BotSummaryResponse as BotSummaryResponse,
911
+ type BotTimeseriesResponse as BotTimeseriesResponse,
912
+ type BotTimeseriesGroupsResponse as BotTimeseriesGroupsResponse,
913
+ type BotListParams as BotListParams,
914
+ type BotGetParams as BotGetParams,
915
+ type BotSummaryParams as BotSummaryParams,
916
+ type BotTimeseriesParams as BotTimeseriesParams,
917
+ type BotTimeseriesGroupsParams as BotTimeseriesGroupsParams,
918
+ };
919
+
920
+ export {
921
+ WebCrawlers as WebCrawlers,
922
+ type WebCrawlerSummaryResponse as WebCrawlerSummaryResponse,
923
+ type WebCrawlerTimeseriesGroupsResponse as WebCrawlerTimeseriesGroupsResponse,
924
+ type WebCrawlerSummaryParams as WebCrawlerSummaryParams,
925
+ type WebCrawlerTimeseriesGroupsParams as WebCrawlerTimeseriesGroupsParams,
926
+ };
927
+ }