cloudflare 4.4.1 → 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 (656) hide show
  1. package/CHANGELOG.md +59 -0
  2. package/README.md +2 -4
  3. package/core.d.ts +2 -2
  4. package/core.d.ts.map +1 -1
  5. package/core.js +5 -3
  6. package/core.js.map +1 -1
  7. package/core.mjs +5 -3
  8. package/core.mjs.map +1 -1
  9. package/index.d.mts +3 -1
  10. package/index.d.ts +3 -1
  11. package/index.d.ts.map +1 -1
  12. package/index.js +1 -1
  13. package/index.js.map +1 -1
  14. package/index.mjs +1 -1
  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/src/core.ts +6 -4
  513. package/src/index.ts +3 -1
  514. package/src/resources/accounts/tokens/index.ts +0 -1
  515. package/src/resources/accounts/tokens/permission-groups.ts +59 -36
  516. package/src/resources/accounts/tokens/tokens.ts +7 -21
  517. package/src/resources/ai/ai.ts +2 -2
  518. package/src/resources/ai-gateway/logs.ts +1 -1
  519. package/src/resources/alerting/available-alerts.ts +1 -1
  520. package/src/resources/alerting/destinations/eligible.ts +1 -1
  521. package/src/resources/api-gateway/discovery/operations.ts +2 -2
  522. package/src/resources/api-gateway/operations/schema-validation.ts +5 -29
  523. package/src/resources/api-gateway/settings/schema-validation.ts +3 -22
  524. package/src/resources/api-gateway/user-schemas/hosts.ts +1 -9
  525. package/src/resources/api-gateway/user-schemas/operations.ts +1 -10
  526. package/src/resources/api-gateway/user-schemas/user-schemas.ts +5 -42
  527. package/src/resources/bot-management.ts +36 -24
  528. package/src/resources/brand-protection/brand-protection.ts +275 -0
  529. package/src/resources/brand-protection/index.ts +7 -0
  530. package/src/resources/brand-protection/logo-matches.ts +5 -0
  531. package/src/resources/brand-protection/logos.ts +5 -0
  532. package/src/resources/brand-protection/matches.ts +5 -0
  533. package/src/resources/brand-protection/queries.ts +5 -0
  534. package/src/resources/brand-protection.ts +1 -247
  535. package/src/resources/browser-rendering/content.ts +1 -1
  536. package/src/resources/browser-rendering/json.ts +3 -3
  537. package/src/resources/browser-rendering/links.ts +1 -1
  538. package/src/resources/browser-rendering/markdown.ts +1 -1
  539. package/src/resources/browser-rendering/pdf.ts +106 -1
  540. package/src/resources/browser-rendering/scrape.ts +1 -1
  541. package/src/resources/browser-rendering/screenshot.ts +1 -1
  542. package/src/resources/browser-rendering/snapshot.ts +1 -1
  543. package/src/resources/cache/cache.ts +1 -1
  544. package/src/resources/cloudforce-one/threat-events/threat-events.ts +19 -87
  545. package/src/resources/custom-hostnames/certificate-pack/certificates.ts +1 -1
  546. package/src/resources/custom-hostnames/custom-hostnames.ts +7 -7
  547. package/src/resources/dns/records.ts +773 -770
  548. package/src/resources/dns-firewall/reverse-dns.ts +3 -3
  549. package/src/resources/email-security/investigate/investigate.ts +10 -0
  550. package/src/resources/email-security/investigate/move.ts +12 -12
  551. package/src/resources/email-security/settings/domains.ts +3 -3
  552. package/src/resources/email-security/settings/trusted-domains.ts +5 -5
  553. package/src/resources/firewall/lockdowns.ts +2 -2
  554. package/src/resources/firewall/ua-rules.ts +199 -6
  555. package/src/resources/firewall/waf/overrides.ts +4 -4
  556. package/src/resources/healthchecks/healthchecks.ts +2 -2
  557. package/src/resources/hyperdrive/configs.ts +18 -0
  558. package/src/resources/hyperdrive/hyperdrive.ts +6 -0
  559. package/src/resources/images/v1/v1.ts +6 -1
  560. package/src/resources/index.ts +1 -1
  561. package/src/resources/kv/namespaces/keys.ts +38 -52
  562. package/src/resources/kv/namespaces/metadata.ts +2 -5
  563. package/src/resources/kv/namespaces/namespaces.ts +40 -51
  564. package/src/resources/kv/namespaces/values.ts +12 -19
  565. package/src/resources/load-balancers/load-balancers.ts +20 -20
  566. package/src/resources/load-balancers/monitors/monitors.ts +4 -4
  567. package/src/resources/load-balancers/monitors/previews.ts +2 -2
  568. package/src/resources/load-balancers/pools/health.ts +2 -2
  569. package/src/resources/load-balancers/previews.ts +2 -2
  570. package/src/resources/logpush/jobs.ts +63 -35
  571. package/src/resources/magic-cloud-networking/catalog-syncs/catalog-syncs.ts +5 -5
  572. package/src/resources/magic-cloud-networking/on-ramps/on-ramps.ts +65 -65
  573. package/src/resources/magic-cloud-networking/resources.ts +10 -10
  574. package/src/resources/magic-transit/connectors/connectors.ts +167 -1
  575. package/src/resources/magic-transit/connectors/index.ts +4 -0
  576. package/src/resources/magic-transit/index.ts +4 -0
  577. package/src/resources/magic-transit/magic-transit.ts +8 -0
  578. package/src/resources/magic-transit/sites/lans.ts +2 -2
  579. package/src/resources/page-rules.ts +4 -4
  580. package/src/resources/pages/projects/projects.ts +93 -88
  581. package/src/resources/radar/ai/bots/summary.ts +1 -1
  582. package/src/resources/radar/ai/inference/summary.ts +2 -2
  583. package/src/resources/radar/as112/summary.ts +2 -2
  584. package/src/resources/radar/attacks/layer3/summary.ts +3 -3
  585. package/src/resources/radar/attacks/layer7/summary.ts +5 -5
  586. package/src/resources/radar/bots/bots.ts +927 -0
  587. package/src/resources/radar/bots/index.ts +22 -0
  588. package/src/resources/radar/bots/web-crawlers.ts +384 -0
  589. package/src/resources/radar/bots.ts +3 -0
  590. package/src/resources/radar/dns/summary.ts +2 -2
  591. package/src/resources/radar/entities/asns.ts +0 -15
  592. package/src/resources/radar/index.ts +13 -0
  593. package/src/resources/radar/radar.ts +30 -0
  594. package/src/resources/radar/search.ts +3 -3
  595. package/src/resources/radar/verified-bots/top.ts +2 -9
  596. package/src/resources/rate-limits.ts +4 -4
  597. package/src/resources/request-tracers/traces.ts +2 -2
  598. package/src/resources/rules/index.ts +1 -1
  599. package/src/resources/rules/lists/bulk-operations.ts +17 -45
  600. package/src/resources/rules/lists/index.ts +2 -1
  601. package/src/resources/rules/lists/items.ts +128 -181
  602. package/src/resources/rules/lists/lists.ts +141 -286
  603. package/src/resources/rules/rules.ts +3 -2
  604. package/src/resources/rulesets/rules.ts +40 -40
  605. package/src/resources/schema-validation/settings/operations.ts +2 -2
  606. package/src/resources/shared.ts +3 -3
  607. package/src/resources/spectrum/analytics/events/bytimes.ts +3 -3
  608. package/src/resources/spectrum/analytics/events/summaries.ts +3 -3
  609. package/src/resources/url-scanner/scans.ts +2 -2
  610. package/src/resources/user/tokens/index.ts +1 -0
  611. package/src/resources/user/tokens/permission-groups.ts +29 -5
  612. package/src/resources/user/tokens/tokens.ts +9 -18
  613. package/src/resources/workers/assets/upload.ts +1 -1
  614. package/src/resources/workers/observability/telemetry.ts +30 -30
  615. package/src/resources/workers/scripts/assets/upload.ts +1 -1
  616. package/src/resources/workers/scripts/scripts.ts +9 -2
  617. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/asset-upload.ts +1 -1
  618. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.ts +9 -2
  619. package/src/resources/workflows/instances/instances.ts +7 -0
  620. package/src/resources/zaraz/config.ts +38 -36
  621. package/src/resources/zaraz/history/configs.ts +1 -1
  622. package/src/resources/zaraz/zaraz.ts +6 -6
  623. package/src/resources/zero-trust/access/applications/applications.ts +21 -15
  624. package/src/resources/zero-trust/access/applications/policies.ts +54 -0
  625. package/src/resources/zero-trust/access/users/active-sessions.ts +3 -3
  626. package/src/resources/zero-trust/access/users/last-seen-identity.ts +2 -2
  627. package/src/resources/zero-trust/devices/devices_.ts +1 -1
  628. package/src/resources/zero-trust/devices/dex-tests.ts +1 -1
  629. package/src/resources/zero-trust/devices/override-codes.ts +1 -1
  630. package/src/resources/zero-trust/devices/registrations.ts +4 -4
  631. package/src/resources/zero-trust/dex/commands/commands.ts +1 -1
  632. package/src/resources/zero-trust/dlp/datasets/datasets.ts +3 -3
  633. package/src/resources/zero-trust/dlp/datasets/upload.ts +1 -1
  634. package/src/resources/zero-trust/dlp/datasets/versions/entries.ts +1 -1
  635. package/src/resources/zero-trust/dlp/datasets/versions/versions.ts +1 -1
  636. package/src/resources/zero-trust/dlp/dlp.ts +15 -15
  637. package/src/resources/zero-trust/dlp/email/rules.ts +1 -1
  638. package/src/resources/zero-trust/dlp/entries/custom.ts +342 -0
  639. package/src/resources/zero-trust/dlp/entries/entries.ts +727 -0
  640. package/src/resources/zero-trust/dlp/entries/index.ts +43 -0
  641. package/src/resources/zero-trust/dlp/entries/integration.ts +165 -0
  642. package/src/resources/zero-trust/dlp/entries/predefined.ts +191 -0
  643. package/src/resources/zero-trust/dlp/entries.ts +1 -658
  644. package/src/resources/zero-trust/dlp/index.ts +1 -1
  645. package/src/resources/zero-trust/dlp/profiles/custom.ts +24 -4
  646. package/src/resources/zero-trust/dlp/profiles/index.ts +3 -0
  647. package/src/resources/zero-trust/dlp/profiles/predefined.ts +115 -3
  648. package/src/resources/zero-trust/dlp/profiles/profiles.ts +15 -9
  649. package/src/resources/zero-trust/gateway/configurations/configurations.ts +22 -30
  650. package/src/resources/zero-trust/gateway/lists/lists.ts +32 -16
  651. package/src/resources/zero-trust/gateway/rules.ts +2 -2
  652. package/src/resources/zero-trust/risk-scoring/behaviours.ts +3 -3
  653. package/src/version.ts +1 -1
  654. package/version.d.ts +1 -1
  655. package/version.js +1 -1
  656. package/version.mjs +1 -1
@@ -0,0 +1,588 @@
1
+ import { APIResource } from "../../../resource.js";
2
+ import * as Core from "../../../core.js";
3
+ import * as WebCrawlersAPI from "./web-crawlers.js";
4
+ import { WebCrawlerSummaryParams, WebCrawlerSummaryResponse, WebCrawlerTimeseriesGroupsParams, WebCrawlerTimeseriesGroupsResponse, WebCrawlers } from "./web-crawlers.js";
5
+ export declare class Bots extends APIResource {
6
+ webCrawlers: WebCrawlersAPI.WebCrawlers;
7
+ /**
8
+ * Retrieves a list of bots.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const bots = await client.radar.bots.list();
13
+ * ```
14
+ */
15
+ list(query?: BotListParams, options?: Core.RequestOptions): Core.APIPromise<BotListResponse>;
16
+ list(options?: Core.RequestOptions): Core.APIPromise<BotListResponse>;
17
+ /**
18
+ * Retrieves the requested bot information.
19
+ *
20
+ * @example
21
+ * ```ts
22
+ * const bot = await client.radar.bots.get('gptbot');
23
+ * ```
24
+ */
25
+ get(botSlug: string, query?: BotGetParams, options?: Core.RequestOptions): Core.APIPromise<BotGetResponse>;
26
+ get(botSlug: string, options?: Core.RequestOptions): Core.APIPromise<BotGetResponse>;
27
+ /**
28
+ * Retrieves an aggregated summary of bots HTTP requests grouped by the specified
29
+ * dimension.
30
+ *
31
+ * @example
32
+ * ```ts
33
+ * const response = await client.radar.bots.summary('BOT');
34
+ * ```
35
+ */
36
+ summary(dimension: 'BOT' | 'BOT_OPERATOR' | 'BOT_CATEGORY', query?: BotSummaryParams, options?: Core.RequestOptions): Core.APIPromise<BotSummaryResponse>;
37
+ summary(dimension: 'BOT' | 'BOT_OPERATOR' | 'BOT_CATEGORY', options?: Core.RequestOptions): Core.APIPromise<BotSummaryResponse>;
38
+ /**
39
+ * Retrieves bots HTTP request volume over time.
40
+ *
41
+ * @example
42
+ * ```ts
43
+ * const response = await client.radar.bots.timeseries();
44
+ * ```
45
+ */
46
+ timeseries(query?: BotTimeseriesParams, options?: Core.RequestOptions): Core.APIPromise<BotTimeseriesResponse>;
47
+ timeseries(options?: Core.RequestOptions): Core.APIPromise<BotTimeseriesResponse>;
48
+ /**
49
+ * Retrieves the distribution of HTTP requests from bots, grouped by chosen the
50
+ * specified dimension over time.
51
+ *
52
+ * @example
53
+ * ```ts
54
+ * const response = await client.radar.bots.timeseriesGroups(
55
+ * 'BOT',
56
+ * );
57
+ * ```
58
+ */
59
+ timeseriesGroups(dimension: 'BOT' | 'BOT_OPERATOR' | 'BOT_CATEGORY', query?: BotTimeseriesGroupsParams, options?: Core.RequestOptions): Core.APIPromise<BotTimeseriesGroupsResponse>;
60
+ timeseriesGroups(dimension: 'BOT' | 'BOT_OPERATOR' | 'BOT_CATEGORY', options?: Core.RequestOptions): Core.APIPromise<BotTimeseriesGroupsResponse>;
61
+ }
62
+ export interface BotListResponse {
63
+ bots: Array<BotListResponse.Bot>;
64
+ }
65
+ export declare namespace BotListResponse {
66
+ interface Bot {
67
+ /**
68
+ * The category of the bot.
69
+ */
70
+ category: string;
71
+ /**
72
+ * A summary for the bot (e.g., purpose).
73
+ */
74
+ description: string;
75
+ /**
76
+ * The name of the bot.
77
+ */
78
+ name: string;
79
+ /**
80
+ * The organization that owns and operates the bot.
81
+ */
82
+ operator: string;
83
+ /**
84
+ * A kebab-case identifier derived from the bot name.
85
+ */
86
+ slug: string;
87
+ }
88
+ }
89
+ export interface BotGetResponse {
90
+ bot: BotGetResponse.Bot;
91
+ }
92
+ export declare namespace BotGetResponse {
93
+ interface Bot {
94
+ /**
95
+ * The category of the bot.
96
+ */
97
+ category: string;
98
+ /**
99
+ * A summary for the bot (e.g., purpose).
100
+ */
101
+ description: string;
102
+ /**
103
+ * The name of the bot.
104
+ */
105
+ name: string;
106
+ /**
107
+ * The organization that owns and operates the bot.
108
+ */
109
+ operator: string;
110
+ /**
111
+ * The link to the bot documentation.
112
+ */
113
+ operatorUrl: string;
114
+ /**
115
+ * A kebab-case identifier derived from the bot name.
116
+ */
117
+ slug: string;
118
+ userAgentPatterns: Array<string>;
119
+ userAgents: Array<string>;
120
+ }
121
+ }
122
+ export interface BotSummaryResponse {
123
+ /**
124
+ * Metadata for the results.
125
+ */
126
+ meta: BotSummaryResponse.Meta;
127
+ summary_0: {
128
+ [key: string]: string;
129
+ };
130
+ }
131
+ export declare namespace BotSummaryResponse {
132
+ /**
133
+ * Metadata for the results.
134
+ */
135
+ interface Meta {
136
+ confidenceInfo: Meta.ConfidenceInfo | null;
137
+ dateRange: Array<Meta.DateRange>;
138
+ /**
139
+ * Timestamp of the last dataset update.
140
+ */
141
+ lastUpdated: string;
142
+ /**
143
+ * Normalization method applied to the results. Refer to
144
+ * [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).
145
+ */
146
+ normalization: 'PERCENTAGE' | 'MIN0_MAX' | 'MIN_MAX' | 'RAW_VALUES' | 'PERCENTAGE_CHANGE' | 'ROLLING_AVERAGE' | 'OVERLAPPED_PERCENTAGE' | 'RATIO';
147
+ /**
148
+ * Measurement units for the results.
149
+ */
150
+ units: Array<Meta.Unit>;
151
+ }
152
+ namespace Meta {
153
+ interface ConfidenceInfo {
154
+ annotations: Array<ConfidenceInfo.Annotation>;
155
+ /**
156
+ * Provides an indication of how much confidence Cloudflare has in the data.
157
+ */
158
+ level: number;
159
+ }
160
+ namespace ConfidenceInfo {
161
+ /**
162
+ * Annotation associated with the result (e.g. outage or other type of event).
163
+ */
164
+ interface Annotation {
165
+ dataSource: string;
166
+ description: string;
167
+ endDate: string;
168
+ eventType: string;
169
+ /**
170
+ * Whether event is a single point in time or a time range.
171
+ */
172
+ isInstantaneous: boolean;
173
+ linkedUrl: string;
174
+ startDate: string;
175
+ }
176
+ }
177
+ interface DateRange {
178
+ /**
179
+ * Adjusted end of date range.
180
+ */
181
+ endTime: string;
182
+ /**
183
+ * Adjusted start of date range.
184
+ */
185
+ startTime: string;
186
+ }
187
+ interface Unit {
188
+ name: string;
189
+ value: string;
190
+ }
191
+ }
192
+ }
193
+ export interface BotTimeseriesResponse {
194
+ /**
195
+ * Metadata for the results.
196
+ */
197
+ meta: BotTimeseriesResponse.Meta;
198
+ [k: string]: BotTimeseriesResponse.unnamed_schema_ref_75bae70cf28e6bcef364b9840db3bdeb | BotTimeseriesResponse.Meta | undefined;
199
+ }
200
+ export declare namespace BotTimeseriesResponse {
201
+ /**
202
+ * Metadata for the results.
203
+ */
204
+ interface Meta {
205
+ /**
206
+ * Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals).
207
+ * Refer to
208
+ * [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/).
209
+ */
210
+ aggInterval: 'FIFTEEN_MINUTES' | 'ONE_HOUR' | 'ONE_DAY' | 'ONE_WEEK' | 'ONE_MONTH';
211
+ confidenceInfo: Meta.ConfidenceInfo;
212
+ dateRange: Array<Meta.DateRange>;
213
+ /**
214
+ * Timestamp of the last dataset update.
215
+ */
216
+ lastUpdated: string;
217
+ /**
218
+ * Normalization method applied to the results. Refer to
219
+ * [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).
220
+ */
221
+ normalization: 'PERCENTAGE' | 'MIN0_MAX' | 'MIN_MAX' | 'RAW_VALUES' | 'PERCENTAGE_CHANGE' | 'ROLLING_AVERAGE' | 'OVERLAPPED_PERCENTAGE' | 'RATIO';
222
+ /**
223
+ * Measurement units for the results.
224
+ */
225
+ units: Array<Meta.Unit>;
226
+ }
227
+ namespace Meta {
228
+ interface ConfidenceInfo {
229
+ annotations: Array<ConfidenceInfo.Annotation>;
230
+ /**
231
+ * Provides an indication of how much confidence Cloudflare has in the data.
232
+ */
233
+ level: number;
234
+ }
235
+ namespace ConfidenceInfo {
236
+ /**
237
+ * Annotation associated with the result (e.g. outage or other type of event).
238
+ */
239
+ interface Annotation {
240
+ dataSource: string;
241
+ description: string;
242
+ endDate: string;
243
+ eventType: string;
244
+ /**
245
+ * Whether event is a single point in time or a time range.
246
+ */
247
+ isInstantaneous: boolean;
248
+ linkedUrl: string;
249
+ startDate: string;
250
+ }
251
+ }
252
+ interface DateRange {
253
+ /**
254
+ * Adjusted end of date range.
255
+ */
256
+ endTime: string;
257
+ /**
258
+ * Adjusted start of date range.
259
+ */
260
+ startTime: string;
261
+ }
262
+ interface Unit {
263
+ name: string;
264
+ value: string;
265
+ }
266
+ }
267
+ interface unnamed_schema_ref_75bae70cf28e6bcef364b9840db3bdeb {
268
+ timestamps: Array<string>;
269
+ values: Array<string>;
270
+ }
271
+ }
272
+ export interface BotTimeseriesGroupsResponse {
273
+ /**
274
+ * Metadata for the results.
275
+ */
276
+ meta: BotTimeseriesGroupsResponse.Meta;
277
+ serie_0: BotTimeseriesGroupsResponse.Serie0;
278
+ }
279
+ export declare namespace BotTimeseriesGroupsResponse {
280
+ /**
281
+ * Metadata for the results.
282
+ */
283
+ interface Meta {
284
+ /**
285
+ * Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals).
286
+ * Refer to
287
+ * [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/).
288
+ */
289
+ aggInterval: 'FIFTEEN_MINUTES' | 'ONE_HOUR' | 'ONE_DAY' | 'ONE_WEEK' | 'ONE_MONTH';
290
+ confidenceInfo: Meta.ConfidenceInfo;
291
+ dateRange: Array<Meta.DateRange>;
292
+ /**
293
+ * Timestamp of the last dataset update.
294
+ */
295
+ lastUpdated: string;
296
+ /**
297
+ * Normalization method applied to the results. Refer to
298
+ * [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).
299
+ */
300
+ normalization: 'PERCENTAGE' | 'MIN0_MAX' | 'MIN_MAX' | 'RAW_VALUES' | 'PERCENTAGE_CHANGE' | 'ROLLING_AVERAGE' | 'OVERLAPPED_PERCENTAGE' | 'RATIO';
301
+ /**
302
+ * Measurement units for the results.
303
+ */
304
+ units: Array<Meta.Unit>;
305
+ }
306
+ namespace Meta {
307
+ interface ConfidenceInfo {
308
+ annotations: Array<ConfidenceInfo.Annotation>;
309
+ /**
310
+ * Provides an indication of how much confidence Cloudflare has in the data.
311
+ */
312
+ level: number;
313
+ }
314
+ namespace ConfidenceInfo {
315
+ /**
316
+ * Annotation associated with the result (e.g. outage or other type of event).
317
+ */
318
+ interface Annotation {
319
+ dataSource: string;
320
+ description: string;
321
+ endDate: string;
322
+ eventType: string;
323
+ /**
324
+ * Whether event is a single point in time or a time range.
325
+ */
326
+ isInstantaneous: boolean;
327
+ linkedUrl: string;
328
+ startDate: string;
329
+ }
330
+ }
331
+ interface DateRange {
332
+ /**
333
+ * Adjusted end of date range.
334
+ */
335
+ endTime: string;
336
+ /**
337
+ * Adjusted start of date range.
338
+ */
339
+ startTime: string;
340
+ }
341
+ interface Unit {
342
+ name: string;
343
+ value: string;
344
+ }
345
+ }
346
+ interface Serie0 {
347
+ timestamps: Array<string>;
348
+ [k: string]: Array<string> | Array<string> | undefined;
349
+ }
350
+ }
351
+ export interface BotListParams {
352
+ /**
353
+ * Filters results by bot category.
354
+ */
355
+ botCategory?: 'SEARCH_ENGINE_CRAWLER' | 'SEARCH_ENGINE_OPTIMIZATION' | 'MONITORING_AND_ANALYTICS' | 'ADVERTISING_AND_MARKETING' | 'SOCIAL_MEDIA_MARKETING' | 'PAGE_PREVIEW' | 'ACADEMIC_RESEARCH' | 'SECURITY' | 'ACCESSIBILITY' | 'WEBHOOKS' | 'FEED_FETCHER' | 'AI_CRAWLER' | 'AGGREGATOR' | 'AI_ASSISTANT' | 'AI_SEARCH' | 'ARCHIVER';
356
+ /**
357
+ * Filters results by bot operator.
358
+ */
359
+ botOperator?: string;
360
+ /**
361
+ * Filters results by bot verification status.
362
+ */
363
+ botVerificationStatus?: 'VERIFIED';
364
+ /**
365
+ * Format in which results will be returned.
366
+ */
367
+ format?: 'JSON' | 'CSV';
368
+ /**
369
+ * Limits the number of objects returned in the response.
370
+ */
371
+ limit?: number;
372
+ /**
373
+ * Skips the specified number of objects before fetching the results.
374
+ */
375
+ offset?: number;
376
+ }
377
+ export interface BotGetParams {
378
+ /**
379
+ * Format in which results will be returned.
380
+ */
381
+ format?: 'JSON' | 'CSV';
382
+ }
383
+ export interface BotSummaryParams {
384
+ /**
385
+ * Filters results by Autonomous System. Specify one or more Autonomous System
386
+ * Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from
387
+ * results. For example, `-174, 3356` excludes results from AS174, but includes
388
+ * results from AS3356.
389
+ */
390
+ asn?: Array<string>;
391
+ /**
392
+ * Filters results by bot name.
393
+ */
394
+ bot?: Array<string>;
395
+ /**
396
+ * Filters results by bot category.
397
+ */
398
+ botCategory?: Array<'SEARCH_ENGINE_CRAWLER' | 'SEARCH_ENGINE_OPTIMIZATION' | 'MONITORING_AND_ANALYTICS' | 'ADVERTISING_AND_MARKETING' | 'SOCIAL_MEDIA_MARKETING' | 'PAGE_PREVIEW' | 'ACADEMIC_RESEARCH' | 'SECURITY' | 'ACCESSIBILITY' | 'WEBHOOKS' | 'FEED_FETCHER' | 'AI_CRAWLER' | 'AGGREGATOR' | 'AI_ASSISTANT' | 'AI_SEARCH' | 'ARCHIVER'>;
399
+ /**
400
+ * Filters results by bot operator.
401
+ */
402
+ botOperator?: Array<string>;
403
+ /**
404
+ * Filters results by bot verification status (Verified vs. Unverified).
405
+ */
406
+ botVerificationStatus?: Array<'VERIFIED'>;
407
+ /**
408
+ * Filters results by continent. Specify a comma-separated list of alpha-2 codes.
409
+ * Prefix with `-` to exclude continents from results. For example, `-EU,NA`
410
+ * excludes results from EU, but includes results from NA.
411
+ */
412
+ continent?: Array<string>;
413
+ /**
414
+ * End of the date range (inclusive).
415
+ */
416
+ dateEnd?: Array<string>;
417
+ /**
418
+ * Filters results by date range. For example, use `7d` and `7dcontrol` to compare
419
+ * this week with the previous week. Use this parameter or set specific start and
420
+ * end dates (`dateStart` and `dateEnd` parameters).
421
+ */
422
+ dateRange?: Array<string>;
423
+ /**
424
+ * Start of the date range.
425
+ */
426
+ dateStart?: Array<string>;
427
+ /**
428
+ * Format in which results will be returned.
429
+ */
430
+ format?: 'JSON' | 'CSV';
431
+ /**
432
+ * Limits the number of objects per group to the top items within the specified
433
+ * time range. When item count exceeds the limit, extra items appear grouped under
434
+ * an "other" category.
435
+ */
436
+ limitPerGroup?: number;
437
+ /**
438
+ * Filters results by location. Specify a comma-separated list of alpha-2 codes.
439
+ * Prefix with `-` to exclude locations from results. For example, `-US,PT`
440
+ * excludes results from the US, but includes results from PT.
441
+ */
442
+ location?: Array<string>;
443
+ /**
444
+ * Array of names used to label the series in the response.
445
+ */
446
+ name?: Array<string>;
447
+ }
448
+ export interface BotTimeseriesParams {
449
+ /**
450
+ * Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals).
451
+ * Refer to
452
+ * [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/).
453
+ */
454
+ aggInterval?: '15m' | '1h' | '1d' | '1w';
455
+ /**
456
+ * Filters results by Autonomous System. Specify one or more Autonomous System
457
+ * Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from
458
+ * results. For example, `-174, 3356` excludes results from AS174, but includes
459
+ * results from AS3356.
460
+ */
461
+ asn?: Array<string>;
462
+ /**
463
+ * Filters results by bot name.
464
+ */
465
+ bot?: Array<string>;
466
+ /**
467
+ * Filters results by bot category.
468
+ */
469
+ botCategory?: Array<'SEARCH_ENGINE_CRAWLER' | 'SEARCH_ENGINE_OPTIMIZATION' | 'MONITORING_AND_ANALYTICS' | 'ADVERTISING_AND_MARKETING' | 'SOCIAL_MEDIA_MARKETING' | 'PAGE_PREVIEW' | 'ACADEMIC_RESEARCH' | 'SECURITY' | 'ACCESSIBILITY' | 'WEBHOOKS' | 'FEED_FETCHER' | 'AI_CRAWLER' | 'AGGREGATOR' | 'AI_ASSISTANT' | 'AI_SEARCH' | 'ARCHIVER'>;
470
+ /**
471
+ * Filters results by bot operator.
472
+ */
473
+ botOperator?: Array<string>;
474
+ /**
475
+ * Filters results by bot verification status (Verified vs. Unverified).
476
+ */
477
+ botVerificationStatus?: Array<'VERIFIED'>;
478
+ /**
479
+ * Filters results by continent. Specify a comma-separated list of alpha-2 codes.
480
+ * Prefix with `-` to exclude continents from results. For example, `-EU,NA`
481
+ * excludes results from EU, but includes results from NA.
482
+ */
483
+ continent?: Array<string>;
484
+ /**
485
+ * End of the date range (inclusive).
486
+ */
487
+ dateEnd?: Array<string>;
488
+ /**
489
+ * Filters results by date range. For example, use `7d` and `7dcontrol` to compare
490
+ * this week with the previous week. Use this parameter or set specific start and
491
+ * end dates (`dateStart` and `dateEnd` parameters).
492
+ */
493
+ dateRange?: Array<string>;
494
+ /**
495
+ * Start of the date range.
496
+ */
497
+ dateStart?: Array<string>;
498
+ /**
499
+ * Format in which results will be returned.
500
+ */
501
+ format?: 'JSON' | 'CSV';
502
+ /**
503
+ * Filters results by location. Specify a comma-separated list of alpha-2 codes.
504
+ * Prefix with `-` to exclude locations from results. For example, `-US,PT`
505
+ * excludes results from the US, but includes results from PT.
506
+ */
507
+ location?: Array<string>;
508
+ /**
509
+ * Array of names used to label the series in the response.
510
+ */
511
+ name?: Array<string>;
512
+ }
513
+ export interface BotTimeseriesGroupsParams {
514
+ /**
515
+ * Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals).
516
+ * Refer to
517
+ * [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/).
518
+ */
519
+ aggInterval?: '15m' | '1h' | '1d' | '1w';
520
+ /**
521
+ * Filters results by Autonomous System. Specify one or more Autonomous System
522
+ * Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from
523
+ * results. For example, `-174, 3356` excludes results from AS174, but includes
524
+ * results from AS3356.
525
+ */
526
+ asn?: Array<string>;
527
+ /**
528
+ * Filters results by bot name.
529
+ */
530
+ bot?: Array<string>;
531
+ /**
532
+ * Filters results by bot category.
533
+ */
534
+ botCategory?: Array<'SEARCH_ENGINE_CRAWLER' | 'SEARCH_ENGINE_OPTIMIZATION' | 'MONITORING_AND_ANALYTICS' | 'ADVERTISING_AND_MARKETING' | 'SOCIAL_MEDIA_MARKETING' | 'PAGE_PREVIEW' | 'ACADEMIC_RESEARCH' | 'SECURITY' | 'ACCESSIBILITY' | 'WEBHOOKS' | 'FEED_FETCHER' | 'AI_CRAWLER' | 'AGGREGATOR' | 'AI_ASSISTANT' | 'AI_SEARCH' | 'ARCHIVER'>;
535
+ /**
536
+ * Filters results by bot operator.
537
+ */
538
+ botOperator?: Array<string>;
539
+ /**
540
+ * Filters results by bot verification status (Verified vs. Unverified).
541
+ */
542
+ botVerificationStatus?: Array<'VERIFIED'>;
543
+ /**
544
+ * Filters results by continent. Specify a comma-separated list of alpha-2 codes.
545
+ * Prefix with `-` to exclude continents from results. For example, `-EU,NA`
546
+ * excludes results from EU, but includes results from NA.
547
+ */
548
+ continent?: Array<string>;
549
+ /**
550
+ * End of the date range (inclusive).
551
+ */
552
+ dateEnd?: Array<string>;
553
+ /**
554
+ * Filters results by date range. For example, use `7d` and `7dcontrol` to compare
555
+ * this week with the previous week. Use this parameter or set specific start and
556
+ * end dates (`dateStart` and `dateEnd` parameters).
557
+ */
558
+ dateRange?: Array<string>;
559
+ /**
560
+ * Start of the date range.
561
+ */
562
+ dateStart?: Array<string>;
563
+ /**
564
+ * Format in which results will be returned.
565
+ */
566
+ format?: 'JSON' | 'CSV';
567
+ /**
568
+ * Limits the number of objects per group to the top items within the specified
569
+ * time range. When item count exceeds the limit, extra items appear grouped under
570
+ * an "other" category.
571
+ */
572
+ limitPerGroup?: number;
573
+ /**
574
+ * Filters results by location. Specify a comma-separated list of alpha-2 codes.
575
+ * Prefix with `-` to exclude locations from results. For example, `-US,PT`
576
+ * excludes results from the US, but includes results from PT.
577
+ */
578
+ location?: Array<string>;
579
+ /**
580
+ * Array of names used to label the series in the response.
581
+ */
582
+ name?: Array<string>;
583
+ }
584
+ export declare namespace Bots {
585
+ export { type BotListResponse as BotListResponse, type BotGetResponse as BotGetResponse, type BotSummaryResponse as BotSummaryResponse, type BotTimeseriesResponse as BotTimeseriesResponse, type BotTimeseriesGroupsResponse as BotTimeseriesGroupsResponse, type BotListParams as BotListParams, type BotGetParams as BotGetParams, type BotSummaryParams as BotSummaryParams, type BotTimeseriesParams as BotTimeseriesParams, type BotTimeseriesGroupsParams as BotTimeseriesGroupsParams, };
586
+ export { WebCrawlers as WebCrawlers, type WebCrawlerSummaryResponse as WebCrawlerSummaryResponse, type WebCrawlerTimeseriesGroupsResponse as WebCrawlerTimeseriesGroupsResponse, type WebCrawlerSummaryParams as WebCrawlerSummaryParams, type WebCrawlerTimeseriesGroupsParams as WebCrawlerTimeseriesGroupsParams, };
587
+ }
588
+ //# sourceMappingURL=bots.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bots.d.ts","sourceRoot":"","sources":["../../../src/resources/radar/bots/bots.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AACtC,OAAO,KAAK,cAAc,MAAM,gBAAgB,CAAC;AACjD,OAAO,EACL,uBAAuB,EACvB,yBAAyB,EACzB,gCAAgC,EAChC,kCAAkC,EAClC,WAAW,EACZ,MAAM,gBAAgB,CAAC;AAExB,qBAAa,IAAK,SAAQ,WAAW;IACnC,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IAEvF;;;;;;;OAOG;IACH,IAAI,CAAC,KAAK,CAAC,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC;IAC5F,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC;IAarE;;;;;;;OAOG;IACH,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC;IAC1G,GAAG,CAAC,OAAO,EA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AC,MAAM,CAAC,CAAC;IAE1B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAExB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEzB;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACtB;AAID,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;IAEF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,gCAAgC,IAAI,gCAAgC,GAC1E,CAAC;CACH"}
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || function (mod) {
20
+ if (mod && mod.__esModule) return mod;
21
+ var result = {};
22
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
23
+ __setModuleDefault(result, mod);
24
+ return result;
25
+ };
26
+ Object.defineProperty(exports, "__esModule", { value: true });
27
+ exports.Bots = void 0;
28
+ const resource_1 = require("../../../resource.js");
29
+ const core_1 = require("../../../core.js");
30
+ const WebCrawlersAPI = __importStar(require("./web-crawlers.js"));
31
+ const web_crawlers_1 = require("./web-crawlers.js");
32
+ class Bots extends resource_1.APIResource {
33
+ constructor() {
34
+ super(...arguments);
35
+ this.webCrawlers = new WebCrawlersAPI.WebCrawlers(this._client);
36
+ }
37
+ list(query = {}, options) {
38
+ if ((0, core_1.isRequestOptions)(query)) {
39
+ return this.list({}, query);
40
+ }
41
+ return this._client.get('/radar/bots', { query, ...options })._thenUnwrap((obj) => obj.result);
42
+ }
43
+ get(botSlug, query = {}, options) {
44
+ if ((0, core_1.isRequestOptions)(query)) {
45
+ return this.get(botSlug, {}, query);
46
+ }
47
+ return this._client.get(`/radar/bots/${botSlug}`, { query, ...options })._thenUnwrap((obj) => obj.result);
48
+ }
49
+ summary(dimension, query = {}, options) {
50
+ if ((0, core_1.isRequestOptions)(query)) {
51
+ return this.summary(dimension, {}, query);
52
+ }
53
+ return this._client.get(`/radar/bots/summary/${dimension}`, { query, ...options })._thenUnwrap((obj) => obj.result);
54
+ }
55
+ timeseries(query = {}, options) {
56
+ if ((0, core_1.isRequestOptions)(query)) {
57
+ return this.timeseries({}, query);
58
+ }
59
+ return this._client.get('/radar/bots/timeseries', { query, ...options })._thenUnwrap((obj) => obj.result);
60
+ }
61
+ timeseriesGroups(dimension, query = {}, options) {
62
+ if ((0, core_1.isRequestOptions)(query)) {
63
+ return this.timeseriesGroups(dimension, {}, query);
64
+ }
65
+ return this._client.get(`/radar/bots/timeseries_groups/${dimension}`, {
66
+ query,
67
+ ...options,
68
+ })._thenUnwrap((obj) => obj.result);
69
+ }
70
+ }
71
+ exports.Bots = Bots;
72
+ Bots.WebCrawlers = web_crawlers_1.WebCrawlers;
73
+ //# sourceMappingURL=bots.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bots.js","sourceRoot":"","sources":["../../../src/resources/radar/bots/bots.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,mDAAgD;AAChD,2CAAiD;AAEjD,kEAAiD;AACjD,oDAMwB;AAExB,MAAa,IAAK,SAAQ,sBAAW;IAArC;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAgJzF,CAAC;IApIC,IAAI,CACF,QAA6C,EAAE,EAC/C,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtD,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAYD,GAAG,CACD,OAAe,EACf,QAA4C,EAAE,EAC9C,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC;SACrC;QACD,OACE,IAAI,CAAC,OAAO,CAAC,GAAG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