@distilled.cloud/cloudflare 0.28.2 → 0.29.1

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 (463) hide show
  1. package/lib/client/api.d.ts +1 -1
  2. package/lib/client/api.d.ts.map +1 -1
  3. package/lib/credentials.d.ts.map +1 -1
  4. package/lib/retry.d.ts.map +1 -1
  5. package/lib/services/abuse-reports.d.ts.map +1 -1
  6. package/lib/services/abuse-reports.js +26 -26
  7. package/lib/services/abuse-reports.js.map +1 -1
  8. package/lib/services/accounts.d.ts.map +1 -1
  9. package/lib/services/accounts.js +114 -123
  10. package/lib/services/accounts.js.map +1 -1
  11. package/lib/services/acm.d.ts.map +1 -1
  12. package/lib/services/acm.js +23 -23
  13. package/lib/services/acm.js.map +1 -1
  14. package/lib/services/addressing.d.ts.map +1 -1
  15. package/lib/services/addressing.js +132 -132
  16. package/lib/services/addressing.js.map +1 -1
  17. package/lib/services/ai-gateway.d.ts.map +1 -1
  18. package/lib/services/ai-gateway.js +213 -207
  19. package/lib/services/ai-gateway.js.map +1 -1
  20. package/lib/services/ai-security.d.ts.map +1 -1
  21. package/lib/services/ai-security.js +13 -13
  22. package/lib/services/ai-security.js.map +1 -1
  23. package/lib/services/ai.d.ts.map +1 -1
  24. package/lib/services/ai.js +62 -62
  25. package/lib/services/ai.js.map +1 -1
  26. package/lib/services/aisearch.d.ts.map +1 -1
  27. package/lib/services/aisearch.js +187 -193
  28. package/lib/services/aisearch.js.map +1 -1
  29. package/lib/services/alerting.d.ts.map +1 -1
  30. package/lib/services/alerting.js +78 -78
  31. package/lib/services/alerting.js.map +1 -1
  32. package/lib/services/api-gateway.d.ts.map +1 -1
  33. package/lib/services/api-gateway.js +168 -177
  34. package/lib/services/api-gateway.js.map +1 -1
  35. package/lib/services/argo.js +12 -12
  36. package/lib/services/argo.js.map +1 -1
  37. package/lib/services/audit-logs.d.ts.map +1 -1
  38. package/lib/services/audit-logs.js +9 -9
  39. package/lib/services/audit-logs.js.map +1 -1
  40. package/lib/services/billing.d.ts.map +1 -1
  41. package/lib/services/billing.js +11 -11
  42. package/lib/services/billing.js.map +1 -1
  43. package/lib/services/bot-management.d.ts.map +1 -1
  44. package/lib/services/bot-management.js +18 -30
  45. package/lib/services/bot-management.js.map +1 -1
  46. package/lib/services/botnet-feed.d.ts.map +1 -1
  47. package/lib/services/botnet-feed.js +12 -12
  48. package/lib/services/botnet-feed.js.map +1 -1
  49. package/lib/services/brand-protection.d.ts.map +1 -1
  50. package/lib/services/brand-protection.js +59 -59
  51. package/lib/services/brand-protection.js.map +1 -1
  52. package/lib/services/browser-rendering.d.ts.map +1 -1
  53. package/lib/services/browser-rendering.js +103 -103
  54. package/lib/services/browser-rendering.js.map +1 -1
  55. package/lib/services/cache.d.ts.map +1 -1
  56. package/lib/services/cache.js +72 -72
  57. package/lib/services/cache.js.map +1 -1
  58. package/lib/services/calls.d.ts.map +1 -1
  59. package/lib/services/calls.js +31 -31
  60. package/lib/services/calls.js.map +1 -1
  61. package/lib/services/certificate-authorities.js +6 -6
  62. package/lib/services/certificate-authorities.js.map +1 -1
  63. package/lib/services/client-certificates.js +18 -18
  64. package/lib/services/client-certificates.js.map +1 -1
  65. package/lib/services/cloud-connector.d.ts.map +1 -1
  66. package/lib/services/cloud-connector.js +8 -8
  67. package/lib/services/cloud-connector.js.map +1 -1
  68. package/lib/services/cloudforce-one.d.ts.map +1 -1
  69. package/lib/services/cloudforce-one.js +178 -178
  70. package/lib/services/cloudforce-one.js.map +1 -1
  71. package/lib/services/connectivity.js +25 -25
  72. package/lib/services/connectivity.js.map +1 -1
  73. package/lib/services/containers.js +49 -49
  74. package/lib/services/containers.js.map +1 -1
  75. package/lib/services/content-scanning.d.ts.map +1 -1
  76. package/lib/services/content-scanning.js +29 -29
  77. package/lib/services/content-scanning.js.map +1 -1
  78. package/lib/services/csam-scanner.d.ts.map +1 -1
  79. package/lib/services/csam-scanner.js +8 -8
  80. package/lib/services/csam-scanner.js.map +1 -1
  81. package/lib/services/custom-certificates.d.ts.map +1 -1
  82. package/lib/services/custom-certificates.js +24 -24
  83. package/lib/services/custom-certificates.js.map +1 -1
  84. package/lib/services/custom-csrs.d.ts.map +1 -1
  85. package/lib/services/custom-csrs.js +22 -22
  86. package/lib/services/custom-csrs.js.map +1 -1
  87. package/lib/services/custom-hostnames.d.ts.map +1 -1
  88. package/lib/services/custom-hostnames.js +40 -40
  89. package/lib/services/custom-hostnames.js.map +1 -1
  90. package/lib/services/custom-nameservers.js +11 -11
  91. package/lib/services/custom-nameservers.js.map +1 -1
  92. package/lib/services/custom-pages.d.ts.map +1 -1
  93. package/lib/services/custom-pages.js +43 -43
  94. package/lib/services/custom-pages.js.map +1 -1
  95. package/lib/services/d1.d.ts +4 -4
  96. package/lib/services/d1.d.ts.map +1 -1
  97. package/lib/services/d1.js +69 -51
  98. package/lib/services/d1.js.map +1 -1
  99. package/lib/services/dcv-delegation.js +3 -3
  100. package/lib/services/dcv-delegation.js.map +1 -1
  101. package/lib/services/ddos-protection.js +126 -126
  102. package/lib/services/ddos-protection.js.map +1 -1
  103. package/lib/services/diagnostics.js +27 -27
  104. package/lib/services/diagnostics.js.map +1 -1
  105. package/lib/services/dls.d.ts.map +1 -1
  106. package/lib/services/dls.js +26 -26
  107. package/lib/services/dls.js.map +1 -1
  108. package/lib/services/dns-firewall.d.ts.map +1 -1
  109. package/lib/services/dns-firewall.js +34 -34
  110. package/lib/services/dns-firewall.js.map +1 -1
  111. package/lib/services/dns.d.ts.map +1 -1
  112. package/lib/services/dns.js +268 -268
  113. package/lib/services/dns.js.map +1 -1
  114. package/lib/services/durable-objects.d.ts.map +1 -1
  115. package/lib/services/durable-objects.js +11 -11
  116. package/lib/services/durable-objects.js.map +1 -1
  117. package/lib/services/email-auth.d.ts.map +1 -1
  118. package/lib/services/email-auth.js +13 -13
  119. package/lib/services/email-auth.js.map +1 -1
  120. package/lib/services/email-routing.d.ts.map +1 -1
  121. package/lib/services/email-routing.js +70 -70
  122. package/lib/services/email-routing.js.map +1 -1
  123. package/lib/services/email-security.d.ts.map +1 -1
  124. package/lib/services/email-security.js +195 -195
  125. package/lib/services/email-security.js.map +1 -1
  126. package/lib/services/email-sending.d.ts.map +1 -1
  127. package/lib/services/email-sending.js +28 -28
  128. package/lib/services/email-sending.js.map +1 -1
  129. package/lib/services/filters.d.ts.map +1 -1
  130. package/lib/services/filters.js +25 -25
  131. package/lib/services/filters.js.map +1 -1
  132. package/lib/services/firewall.d.ts.map +1 -1
  133. package/lib/services/firewall.js +149 -149
  134. package/lib/services/firewall.js.map +1 -1
  135. package/lib/services/flagship.d.ts.map +1 -1
  136. package/lib/services/flagship.js +52 -52
  137. package/lib/services/flagship.js.map +1 -1
  138. package/lib/services/fraud.js +8 -8
  139. package/lib/services/fraud.js.map +1 -1
  140. package/lib/services/google-tag-gateway.d.ts.map +1 -1
  141. package/lib/services/google-tag-gateway.js +7 -7
  142. package/lib/services/google-tag-gateway.js.map +1 -1
  143. package/lib/services/healthchecks.d.ts.map +1 -1
  144. package/lib/services/healthchecks.js +31 -31
  145. package/lib/services/healthchecks.js.map +1 -1
  146. package/lib/services/hostnames.d.ts.map +1 -1
  147. package/lib/services/hostnames.js +10 -10
  148. package/lib/services/hostnames.js.map +1 -1
  149. package/lib/services/hyperdrive.d.ts.map +1 -1
  150. package/lib/services/hyperdrive.js +32 -32
  151. package/lib/services/hyperdrive.js.map +1 -1
  152. package/lib/services/iam.d.ts.map +1 -1
  153. package/lib/services/iam.js +113 -113
  154. package/lib/services/iam.js.map +1 -1
  155. package/lib/services/images.d.ts.map +1 -1
  156. package/lib/services/images.js +59 -59
  157. package/lib/services/images.js.map +1 -1
  158. package/lib/services/intel.d.ts.map +1 -1
  159. package/lib/services/intel.js +102 -102
  160. package/lib/services/intel.js.map +1 -1
  161. package/lib/services/ips.js +5 -5
  162. package/lib/services/ips.js.map +1 -1
  163. package/lib/services/keyless-certificates.js +17 -17
  164. package/lib/services/keyless-certificates.js.map +1 -1
  165. package/lib/services/kv.d.ts.map +1 -1
  166. package/lib/services/kv.js +54 -54
  167. package/lib/services/kv.js.map +1 -1
  168. package/lib/services/leaked-credential-checks.d.ts.map +1 -1
  169. package/lib/services/leaked-credential-checks.js +22 -22
  170. package/lib/services/leaked-credential-checks.js.map +1 -1
  171. package/lib/services/load-balancers.d.ts.map +1 -1
  172. package/lib/services/load-balancers.js +139 -157
  173. package/lib/services/load-balancers.js.map +1 -1
  174. package/lib/services/logpush.d.ts.map +1 -1
  175. package/lib/services/logpush.js +69 -69
  176. package/lib/services/logpush.js.map +1 -1
  177. package/lib/services/logs.d.ts.map +1 -1
  178. package/lib/services/logs.js +58 -58
  179. package/lib/services/logs.js.map +1 -1
  180. package/lib/services/magic-cloud-networking.d.ts.map +1 -1
  181. package/lib/services/magic-cloud-networking.js +138 -168
  182. package/lib/services/magic-cloud-networking.js.map +1 -1
  183. package/lib/services/magic-network-monitoring.d.ts.map +1 -1
  184. package/lib/services/magic-network-monitoring.js +47 -65
  185. package/lib/services/magic-network-monitoring.js.map +1 -1
  186. package/lib/services/magic-transit.d.ts.map +1 -1
  187. package/lib/services/magic-transit.js +340 -364
  188. package/lib/services/magic-transit.js.map +1 -1
  189. package/lib/services/managed-transforms.js +11 -11
  190. package/lib/services/managed-transforms.js.map +1 -1
  191. package/lib/services/memberships.d.ts.map +1 -1
  192. package/lib/services/memberships.js +25 -25
  193. package/lib/services/memberships.js.map +1 -1
  194. package/lib/services/moq.d.ts.map +1 -1
  195. package/lib/services/moq.js +23 -23
  196. package/lib/services/moq.js.map +1 -1
  197. package/lib/services/mtls-certificates.d.ts.map +1 -1
  198. package/lib/services/mtls-certificates.js +17 -17
  199. package/lib/services/mtls-certificates.js.map +1 -1
  200. package/lib/services/network-interconnects.d.ts.map +1 -1
  201. package/lib/services/network-interconnects.js +56 -56
  202. package/lib/services/network-interconnects.js.map +1 -1
  203. package/lib/services/organizations.d.ts.map +1 -1
  204. package/lib/services/organizations.js +42 -42
  205. package/lib/services/organizations.js.map +1 -1
  206. package/lib/services/origin-ca-certificates.js +14 -14
  207. package/lib/services/origin-ca-certificates.js.map +1 -1
  208. package/lib/services/origin-post-quantum-encryption.js +6 -6
  209. package/lib/services/origin-post-quantum-encryption.js.map +1 -1
  210. package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
  211. package/lib/services/origin-tls-client-auth.js +52 -52
  212. package/lib/services/origin-tls-client-auth.js.map +1 -1
  213. package/lib/services/origin-tls-compliance-modes.js +12 -12
  214. package/lib/services/origin-tls-compliance-modes.js.map +1 -1
  215. package/lib/services/page-rules.d.ts.map +1 -1
  216. package/lib/services/page-rules.js +62 -62
  217. package/lib/services/page-rules.js.map +1 -1
  218. package/lib/services/page-shield.d.ts.map +1 -1
  219. package/lib/services/page-shield.js +45 -48
  220. package/lib/services/page-shield.js.map +1 -1
  221. package/lib/services/pages.d.ts.map +1 -1
  222. package/lib/services/pages.js +78 -78
  223. package/lib/services/pages.js.map +1 -1
  224. package/lib/services/pipelines.d.ts.map +1 -1
  225. package/lib/services/pipelines.js +102 -102
  226. package/lib/services/pipelines.js.map +1 -1
  227. package/lib/services/queues.d.ts.map +1 -1
  228. package/lib/services/queues.js +100 -103
  229. package/lib/services/queues.js.map +1 -1
  230. package/lib/services/r2-data-catalog.d.ts.map +1 -1
  231. package/lib/services/r2-data-catalog.js +42 -42
  232. package/lib/services/r2-data-catalog.js.map +1 -1
  233. package/lib/services/r2.d.ts.map +1 -1
  234. package/lib/services/r2.js +190 -190
  235. package/lib/services/r2.js.map +1 -1
  236. package/lib/services/radar.d.ts.map +1 -1
  237. package/lib/services/radar.js +991 -1009
  238. package/lib/services/radar.js.map +1 -1
  239. package/lib/services/rate-limits.d.ts.map +1 -1
  240. package/lib/services/rate-limits.js +24 -24
  241. package/lib/services/rate-limits.js.map +1 -1
  242. package/lib/services/realtime-kit.d.ts.map +1 -1
  243. package/lib/services/realtime-kit.js +276 -276
  244. package/lib/services/realtime-kit.js.map +1 -1
  245. package/lib/services/registrar.d.ts.map +1 -1
  246. package/lib/services/registrar.js +28 -28
  247. package/lib/services/registrar.js.map +1 -1
  248. package/lib/services/request-tracers.d.ts.map +1 -1
  249. package/lib/services/request-tracers.js +7 -7
  250. package/lib/services/request-tracers.js.map +1 -1
  251. package/lib/services/resource-sharing.d.ts.map +1 -1
  252. package/lib/services/resource-sharing.js +49 -49
  253. package/lib/services/resource-sharing.js.map +1 -1
  254. package/lib/services/resource-tagging.d.ts.map +1 -1
  255. package/lib/services/resource-tagging.js +56 -56
  256. package/lib/services/resource-tagging.js.map +1 -1
  257. package/lib/services/rules.d.ts.map +1 -1
  258. package/lib/services/rules.js +50 -50
  259. package/lib/services/rules.js.map +1 -1
  260. package/lib/services/rulesets.d.ts +2 -2
  261. package/lib/services/rulesets.d.ts.map +1 -1
  262. package/lib/services/rulesets.js +226 -190
  263. package/lib/services/rulesets.js.map +1 -1
  264. package/lib/services/rum.d.ts.map +1 -1
  265. package/lib/services/rum.js +35 -35
  266. package/lib/services/rum.js.map +1 -1
  267. package/lib/services/schema-validation.d.ts.map +1 -1
  268. package/lib/services/schema-validation.js +43 -46
  269. package/lib/services/schema-validation.js.map +1 -1
  270. package/lib/services/secrets-store.d.ts.map +1 -1
  271. package/lib/services/secrets-store.js +41 -41
  272. package/lib/services/secrets-store.js.map +1 -1
  273. package/lib/services/security-center.d.ts.map +1 -1
  274. package/lib/services/security-center.js +54 -57
  275. package/lib/services/security-center.js.map +1 -1
  276. package/lib/services/security-txt.d.ts.map +1 -1
  277. package/lib/services/security-txt.js +12 -12
  278. package/lib/services/security-txt.js.map +1 -1
  279. package/lib/services/snippets.d.ts.map +1 -1
  280. package/lib/services/snippets.js +31 -31
  281. package/lib/services/snippets.js.map +1 -1
  282. package/lib/services/spectrum.d.ts.map +1 -1
  283. package/lib/services/spectrum.js +35 -35
  284. package/lib/services/spectrum.js.map +1 -1
  285. package/lib/services/speed.d.ts.map +1 -1
  286. package/lib/services/speed.js +41 -41
  287. package/lib/services/speed.js.map +1 -1
  288. package/lib/services/ssl.d.ts.map +1 -1
  289. package/lib/services/ssl.js +48 -48
  290. package/lib/services/ssl.js.map +1 -1
  291. package/lib/services/stream.d.ts.map +1 -1
  292. package/lib/services/stream.js +147 -147
  293. package/lib/services/stream.js.map +1 -1
  294. package/lib/services/tenant-custom-nameservers.js +11 -11
  295. package/lib/services/tenant-custom-nameservers.js.map +1 -1
  296. package/lib/services/tenants.d.ts.map +1 -1
  297. package/lib/services/tenants.js +28 -28
  298. package/lib/services/tenants.js.map +1 -1
  299. package/lib/services/token-validation.d.ts.map +1 -1
  300. package/lib/services/token-validation.js +56 -56
  301. package/lib/services/token-validation.js.map +1 -1
  302. package/lib/services/turnstile.d.ts.map +1 -1
  303. package/lib/services/turnstile.js +27 -54
  304. package/lib/services/turnstile.js.map +1 -1
  305. package/lib/services/url-normalization.js +9 -9
  306. package/lib/services/url-normalization.js.map +1 -1
  307. package/lib/services/url-scanner.d.ts.map +1 -1
  308. package/lib/services/url-scanner.js +120 -120
  309. package/lib/services/url-scanner.js.map +1 -1
  310. package/lib/services/user.d.ts.map +1 -1
  311. package/lib/services/user.js +95 -95
  312. package/lib/services/user.js.map +1 -1
  313. package/lib/services/vectorize.d.ts +10 -10
  314. package/lib/services/vectorize.d.ts.map +1 -1
  315. package/lib/services/vectorize.js +59 -57
  316. package/lib/services/vectorize.js.map +1 -1
  317. package/lib/services/vulnerability-scanner.d.ts.map +1 -1
  318. package/lib/services/vulnerability-scanner.js +95 -95
  319. package/lib/services/vulnerability-scanner.js.map +1 -1
  320. package/lib/services/waiting-rooms.d.ts.map +1 -1
  321. package/lib/services/waiting-rooms.js +81 -81
  322. package/lib/services/waiting-rooms.js.map +1 -1
  323. package/lib/services/web3.d.ts.map +1 -1
  324. package/lib/services/web3.js +39 -39
  325. package/lib/services/web3.js.map +1 -1
  326. package/lib/services/workers-for-platforms.d.ts.map +1 -1
  327. package/lib/services/workers-for-platforms.js +139 -139
  328. package/lib/services/workers-for-platforms.js.map +1 -1
  329. package/lib/services/workers.d.ts.map +1 -1
  330. package/lib/services/workers.js +420 -420
  331. package/lib/services/workers.js.map +1 -1
  332. package/lib/services/workflows.d.ts.map +1 -1
  333. package/lib/services/workflows.js +88 -88
  334. package/lib/services/workflows.js.map +1 -1
  335. package/lib/services/zaraz.d.ts.map +1 -1
  336. package/lib/services/zaraz.js +36 -39
  337. package/lib/services/zaraz.js.map +1 -1
  338. package/lib/services/zero-trust.d.ts.map +1 -1
  339. package/lib/services/zero-trust.js +1765 -1771
  340. package/lib/services/zero-trust.js.map +1 -1
  341. package/lib/services/zones.d.ts.map +1 -1
  342. package/lib/services/zones.js +168 -168
  343. package/lib/services/zones.js.map +1 -1
  344. package/lib/traits.d.ts.map +1 -1
  345. package/package.json +10 -9
  346. package/src/services/abuse-reports.ts +35 -36
  347. package/src/services/accounts.ts +714 -760
  348. package/src/services/acm.ts +115 -125
  349. package/src/services/addressing.ts +484 -512
  350. package/src/services/ai-gateway.ts +653 -672
  351. package/src/services/ai-security.ts +47 -53
  352. package/src/services/ai.ts +172 -185
  353. package/src/services/aisearch.ts +1814 -1861
  354. package/src/services/alerting.ts +710 -742
  355. package/src/services/api-gateway.ts +481 -508
  356. package/src/services/argo.ts +12 -12
  357. package/src/services/audit-logs.ts +45 -49
  358. package/src/services/billing.ts +121 -136
  359. package/src/services/bot-management.ts +122 -136
  360. package/src/services/botnet-feed.ts +68 -74
  361. package/src/services/brand-protection.ts +275 -294
  362. package/src/services/browser-rendering.ts +758 -769
  363. package/src/services/cache.ts +148 -158
  364. package/src/services/calls.ts +110 -120
  365. package/src/services/certificate-authorities.ts +6 -6
  366. package/src/services/client-certificates.ts +18 -18
  367. package/src/services/cloud-connector.ts +11 -12
  368. package/src/services/cloudforce-one.ts +589 -617
  369. package/src/services/connectivity.ts +25 -25
  370. package/src/services/containers.ts +49 -49
  371. package/src/services/content-scanning.ts +80 -89
  372. package/src/services/csam-scanner.ts +16 -17
  373. package/src/services/custom-certificates.ts +36 -38
  374. package/src/services/custom-csrs.ts +103 -105
  375. package/src/services/custom-hostnames.ts +44 -45
  376. package/src/services/custom-nameservers.ts +11 -11
  377. package/src/services/custom-pages.ts +173 -184
  378. package/src/services/d1.ts +335 -325
  379. package/src/services/dcv-delegation.ts +3 -3
  380. package/src/services/ddos-protection.ts +126 -126
  381. package/src/services/diagnostics.ts +27 -27
  382. package/src/services/dls.ts +82 -86
  383. package/src/services/dns-firewall.ts +65 -69
  384. package/src/services/dns.ts +1080 -1107
  385. package/src/services/durable-objects.ts +36 -38
  386. package/src/services/email-auth.ts +47 -52
  387. package/src/services/email-routing.ts +264 -288
  388. package/src/services/email-security.ts +205 -208
  389. package/src/services/email-sending.ts +94 -99
  390. package/src/services/filters.ts +97 -111
  391. package/src/services/firewall.ts +698 -753
  392. package/src/services/flagship.ts +321 -336
  393. package/src/services/fraud.ts +8 -8
  394. package/src/services/google-tag-gateway.ts +17 -19
  395. package/src/services/healthchecks.ts +269 -286
  396. package/src/services/hostnames.ts +94 -99
  397. package/src/services/hyperdrive.ts +310 -324
  398. package/src/services/iam.ts +205 -212
  399. package/src/services/images.ts +138 -150
  400. package/src/services/intel.ts +248 -261
  401. package/src/services/ips.ts +5 -5
  402. package/src/services/keyless-certificates.ts +17 -17
  403. package/src/services/kv.ts +106 -110
  404. package/src/services/leaked-credential-checks.ts +49 -53
  405. package/src/services/load-balancers.ts +1119 -1212
  406. package/src/services/logpush.ts +298 -313
  407. package/src/services/logs.ts +74 -77
  408. package/src/services/magic-cloud-networking.ts +1219 -1311
  409. package/src/services/magic-network-monitoring.ts +647 -685
  410. package/src/services/magic-transit.ts +1988 -2119
  411. package/src/services/managed-transforms.ts +11 -11
  412. package/src/services/memberships.ts +101 -105
  413. package/src/services/moq.ts +100 -110
  414. package/src/services/mtls-certificates.ts +30 -32
  415. package/src/services/network-interconnects.ts +137 -145
  416. package/src/services/organizations.ts +189 -192
  417. package/src/services/origin-ca-certificates.ts +14 -14
  418. package/src/services/origin-post-quantum-encryption.ts +6 -6
  419. package/src/services/origin-tls-client-auth.ts +219 -236
  420. package/src/services/origin-tls-compliance-modes.ts +12 -12
  421. package/src/services/page-rules.ts +365 -373
  422. package/src/services/page-shield.ts +489 -528
  423. package/src/services/pages.ts +309 -319
  424. package/src/services/pipelines.ts +534 -573
  425. package/src/services/queues.ts +598 -635
  426. package/src/services/r2-data-catalog.ts +59 -60
  427. package/src/services/r2.ts +654 -689
  428. package/src/services/radar.ts +3395 -3487
  429. package/src/services/rate-limits.ts +81 -93
  430. package/src/services/realtime-kit.ts +386 -399
  431. package/src/services/registrar.ts +90 -96
  432. package/src/services/request-tracers.ts +41 -43
  433. package/src/services/resource-sharing.ts +293 -305
  434. package/src/services/resource-tagging.ts +354 -366
  435. package/src/services/rules.ts +272 -292
  436. package/src/services/rulesets.ts +1214 -1116
  437. package/src/services/rum.ts +252 -273
  438. package/src/services/schema-validation.ts +284 -305
  439. package/src/services/secrets-store.ts +130 -138
  440. package/src/services/security-center.ts +64 -69
  441. package/src/services/security-txt.ts +48 -50
  442. package/src/services/snippets.ts +132 -142
  443. package/src/services/spectrum.ts +75 -80
  444. package/src/services/speed.ts +385 -397
  445. package/src/services/ssl.ts +64 -65
  446. package/src/services/stream.ts +658 -718
  447. package/src/services/tenant-custom-nameservers.ts +11 -11
  448. package/src/services/tenants.ts +86 -93
  449. package/src/services/token-validation.ts +145 -151
  450. package/src/services/turnstile.ts +344 -381
  451. package/src/services/url-normalization.ts +9 -9
  452. package/src/services/url-scanner.ts +393 -399
  453. package/src/services/user.ts +479 -503
  454. package/src/services/vectorize.ts +215 -230
  455. package/src/services/vulnerability-scanner.ts +145 -148
  456. package/src/services/waiting-rooms.ts +759 -825
  457. package/src/services/web3.ts +186 -197
  458. package/src/services/workers-for-platforms.ts +408 -432
  459. package/src/services/workers.ts +1175 -1239
  460. package/src/services/workflows.ts +585 -616
  461. package/src/services/zaraz.ts +168 -192
  462. package/src/services/zero-trust.ts +2965 -3074
  463. package/src/services/zones.ts +753 -785
@@ -42,7 +42,7 @@ interface StaleZoneConfiguration {
42
42
  /** Indicates that the zone's session score tracking is disabled. */
43
43
  suppressSessionScore?: boolean | null;
44
44
  }
45
- const StaleZoneConfiguration = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
45
+ const StaleZoneConfiguration = /*@__PURE__*/ Schema.suspend(() =>
46
46
  Schema.Struct({
47
47
  optimizeWordpress: Schema.optional(
48
48
  Schema.Union([Schema.Boolean, Schema.Null]),
@@ -106,66 +106,59 @@ interface BotFightModeConfiguration {
106
106
  /** A read-only field that indicates whether the zone currently is running the latest ML model. */
107
107
  usingLatestModel?: boolean | null;
108
108
  }
109
- const BotFightModeConfiguration = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
110
- () =>
111
- Schema.Struct({
112
- aiBotsProtection: Schema.optional(
113
- Schema.Union([
114
- Schema.Union([
115
- Schema.Literals(["block", "disabled", "only_on_ad_pages"]),
116
- Schema.String,
117
- ]),
118
- Schema.Null,
119
- ]),
120
- ),
121
- cfRobotsVariant: Schema.optional(
122
- Schema.Union([
123
- Schema.Union([
124
- Schema.Literals(["off", "policy_only"]),
125
- Schema.String,
126
- ]),
127
- Schema.Null,
128
- ]),
129
- ),
130
- contentBotsProtection: Schema.optional(
131
- Schema.Union([
132
- Schema.Union([Schema.Literals(["block", "disabled"]), Schema.String]),
133
- Schema.Null,
134
- ]),
135
- ),
136
- crawlerProtection: Schema.optional(
109
+ const BotFightModeConfiguration = /*@__PURE__*/ Schema.suspend(() =>
110
+ Schema.Struct({
111
+ aiBotsProtection: Schema.optional(
112
+ Schema.Union([
137
113
  Schema.Union([
138
- Schema.Union([
139
- Schema.Literals(["enabled", "disabled"]),
140
- Schema.String,
141
- ]),
142
- Schema.Null,
114
+ Schema.Literals(["block", "disabled", "only_on_ad_pages"]),
115
+ Schema.String,
143
116
  ]),
144
- ),
145
- enableJs: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
146
- fightMode: Schema.Boolean,
147
- isRobotsTxtManaged: Schema.optional(
148
- Schema.Union([Schema.Boolean, Schema.Null]),
149
- ),
150
- staleZoneConfiguration: Schema.optional(
151
- Schema.Union([StaleZoneConfiguration, Schema.Null]),
152
- ),
153
- usingLatestModel: Schema.optional(
154
- Schema.Union([Schema.Boolean, Schema.Null]),
155
- ),
156
- }).pipe(
157
- Schema.encodeKeys({
158
- aiBotsProtection: "ai_bots_protection",
159
- cfRobotsVariant: "cf_robots_variant",
160
- contentBotsProtection: "content_bots_protection",
161
- crawlerProtection: "crawler_protection",
162
- enableJs: "enable_js",
163
- fightMode: "fight_mode",
164
- isRobotsTxtManaged: "is_robots_txt_managed",
165
- staleZoneConfiguration: "stale_zone_configuration",
166
- usingLatestModel: "using_latest_model",
167
- }),
117
+ Schema.Null,
118
+ ]),
119
+ ),
120
+ cfRobotsVariant: Schema.optional(
121
+ Schema.Union([
122
+ Schema.Union([Schema.Literals(["off", "policy_only"]), Schema.String]),
123
+ Schema.Null,
124
+ ]),
125
+ ),
126
+ contentBotsProtection: Schema.optional(
127
+ Schema.Union([
128
+ Schema.Union([Schema.Literals(["block", "disabled"]), Schema.String]),
129
+ Schema.Null,
130
+ ]),
168
131
  ),
132
+ crawlerProtection: Schema.optional(
133
+ Schema.Union([
134
+ Schema.Union([Schema.Literals(["enabled", "disabled"]), Schema.String]),
135
+ Schema.Null,
136
+ ]),
137
+ ),
138
+ enableJs: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
139
+ fightMode: Schema.Boolean,
140
+ isRobotsTxtManaged: Schema.optional(
141
+ Schema.Union([Schema.Boolean, Schema.Null]),
142
+ ),
143
+ staleZoneConfiguration: Schema.optional(
144
+ Schema.Union([StaleZoneConfiguration, Schema.Null]),
145
+ ),
146
+ usingLatestModel: Schema.optional(
147
+ Schema.Union([Schema.Boolean, Schema.Null]),
148
+ ),
149
+ }).pipe(
150
+ Schema.encodeKeys({
151
+ aiBotsProtection: "ai_bots_protection",
152
+ cfRobotsVariant: "cf_robots_variant",
153
+ contentBotsProtection: "content_bots_protection",
154
+ crawlerProtection: "crawler_protection",
155
+ enableJs: "enable_js",
156
+ fightMode: "fight_mode",
157
+ isRobotsTxtManaged: "is_robots_txt_managed",
158
+ staleZoneConfiguration: "stale_zone_configuration",
159
+ usingLatestModel: "using_latest_model",
160
+ }),
161
+ ),
169
162
  ) as unknown as Schema.Codec<BotFightModeConfiguration>;
170
163
 
171
164
  interface StaleZoneConfiguration2 {
@@ -174,7 +167,7 @@ interface StaleZoneConfiguration2 {
174
167
  /** Indicates that the zone's likely automated requests are being blocked or challenged. */
175
168
  sbfmLikelyAutomated?: string | null;
176
169
  }
177
- const StaleZoneConfiguration2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
170
+ const StaleZoneConfiguration2 = /*@__PURE__*/ Schema.suspend(() =>
178
171
  Schema.Struct({
179
172
  fightMode: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
180
173
  sbfmLikelyAutomated: Schema.optional(
@@ -227,7 +220,7 @@ interface SuperBotFightModeDefinitelyConfiguration {
227
220
  usingLatestModel?: boolean | null;
228
221
  }
229
222
  const SuperBotFightModeDefinitelyConfiguration =
230
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
223
+ /*@__PURE__*/ Schema.suspend(() =>
231
224
  Schema.Struct({
232
225
  aiBotsProtection: Schema.optional(
233
226
  Schema.Union([
@@ -310,7 +303,7 @@ interface StaleZoneConfiguration3 {
310
303
  /** Indicates that the zone's Bot Fight Mode is turned on. */
311
304
  fightMode?: boolean | null;
312
305
  }
313
- const StaleZoneConfiguration3 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
306
+ const StaleZoneConfiguration3 = /*@__PURE__*/ Schema.suspend(() =>
314
307
  Schema.Struct({
315
308
  fightMode: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
316
309
  }).pipe(Schema.encodeKeys({ fightMode: "fight_mode" })),
@@ -359,7 +352,7 @@ interface SuperBotFightModeLikelyConfiguration {
359
352
  usingLatestModel?: boolean | null;
360
353
  }
361
354
  const SuperBotFightModeLikelyConfiguration =
362
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
355
+ /*@__PURE__*/ Schema.suspend(() =>
363
356
  Schema.Struct({
364
357
  aiBotsProtection: Schema.optional(
365
358
  Schema.Union([
@@ -462,7 +455,7 @@ interface StaleZoneConfiguration4 {
462
455
  /** Indicates that the zone's verified bot requests are being blocked. */
463
456
  sbfmVerifiedBots?: string | null;
464
457
  }
465
- const StaleZoneConfiguration4 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
458
+ const StaleZoneConfiguration4 = /*@__PURE__*/ Schema.suspend(() =>
466
459
  Schema.Struct({
467
460
  fightMode: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
468
461
  optimizeWordpress: Schema.optional(
@@ -528,76 +521,69 @@ interface SubscriptionConfiguration {
528
521
  /** A read-only field that indicates whether the zone currently is running the latest ML model. */
529
522
  usingLatestModel?: boolean | null;
530
523
  }
531
- const SubscriptionConfiguration = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
532
- () =>
533
- Schema.Struct({
534
- aiBotsProtection: Schema.optional(
535
- Schema.Union([
536
- Schema.Union([
537
- Schema.Literals(["block", "disabled", "only_on_ad_pages"]),
538
- Schema.String,
539
- ]),
540
- Schema.Null,
541
- ]),
542
- ),
543
- autoUpdateModel: Schema.optional(
544
- Schema.Union([Schema.Boolean, Schema.Null]),
545
- ),
546
- bmCookieEnabled: Schema.optional(
547
- Schema.Union([Schema.Boolean, Schema.Null]),
548
- ),
549
- cfRobotsVariant: Schema.optional(
550
- Schema.Union([
551
- Schema.Union([
552
- Schema.Literals(["off", "policy_only"]),
553
- Schema.String,
554
- ]),
555
- Schema.Null,
556
- ]),
557
- ),
558
- contentBotsProtection: Schema.optional(
559
- Schema.Union([
560
- Schema.Union([Schema.Literals(["block", "disabled"]), Schema.String]),
561
- Schema.Null,
562
- ]),
563
- ),
564
- crawlerProtection: Schema.optional(
524
+ const SubscriptionConfiguration = /*@__PURE__*/ Schema.suspend(() =>
525
+ Schema.Struct({
526
+ aiBotsProtection: Schema.optional(
527
+ Schema.Union([
565
528
  Schema.Union([
566
- Schema.Union([
567
- Schema.Literals(["enabled", "disabled"]),
568
- Schema.String,
569
- ]),
570
- Schema.Null,
529
+ Schema.Literals(["block", "disabled", "only_on_ad_pages"]),
530
+ Schema.String,
571
531
  ]),
572
- ),
573
- enableJs: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
574
- isRobotsTxtManaged: Schema.optional(
575
- Schema.Union([Schema.Boolean, Schema.Null]),
576
- ),
577
- staleZoneConfiguration: Schema.optional(
578
- Schema.Union([StaleZoneConfiguration4, Schema.Null]),
579
- ),
580
- suppressSessionScore: Schema.optional(
581
- Schema.Union([Schema.Boolean, Schema.Null]),
582
- ),
583
- usingLatestModel: Schema.optional(
584
- Schema.Union([Schema.Boolean, Schema.Null]),
585
- ),
586
- }).pipe(
587
- Schema.encodeKeys({
588
- aiBotsProtection: "ai_bots_protection",
589
- autoUpdateModel: "auto_update_model",
590
- bmCookieEnabled: "bm_cookie_enabled",
591
- cfRobotsVariant: "cf_robots_variant",
592
- contentBotsProtection: "content_bots_protection",
593
- crawlerProtection: "crawler_protection",
594
- enableJs: "enable_js",
595
- isRobotsTxtManaged: "is_robots_txt_managed",
596
- staleZoneConfiguration: "stale_zone_configuration",
597
- suppressSessionScore: "suppress_session_score",
598
- usingLatestModel: "using_latest_model",
599
- }),
532
+ Schema.Null,
533
+ ]),
534
+ ),
535
+ autoUpdateModel: Schema.optional(
536
+ Schema.Union([Schema.Boolean, Schema.Null]),
537
+ ),
538
+ bmCookieEnabled: Schema.optional(
539
+ Schema.Union([Schema.Boolean, Schema.Null]),
600
540
  ),
541
+ cfRobotsVariant: Schema.optional(
542
+ Schema.Union([
543
+ Schema.Union([Schema.Literals(["off", "policy_only"]), Schema.String]),
544
+ Schema.Null,
545
+ ]),
546
+ ),
547
+ contentBotsProtection: Schema.optional(
548
+ Schema.Union([
549
+ Schema.Union([Schema.Literals(["block", "disabled"]), Schema.String]),
550
+ Schema.Null,
551
+ ]),
552
+ ),
553
+ crawlerProtection: Schema.optional(
554
+ Schema.Union([
555
+ Schema.Union([Schema.Literals(["enabled", "disabled"]), Schema.String]),
556
+ Schema.Null,
557
+ ]),
558
+ ),
559
+ enableJs: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
560
+ isRobotsTxtManaged: Schema.optional(
561
+ Schema.Union([Schema.Boolean, Schema.Null]),
562
+ ),
563
+ staleZoneConfiguration: Schema.optional(
564
+ Schema.Union([StaleZoneConfiguration4, Schema.Null]),
565
+ ),
566
+ suppressSessionScore: Schema.optional(
567
+ Schema.Union([Schema.Boolean, Schema.Null]),
568
+ ),
569
+ usingLatestModel: Schema.optional(
570
+ Schema.Union([Schema.Boolean, Schema.Null]),
571
+ ),
572
+ }).pipe(
573
+ Schema.encodeKeys({
574
+ aiBotsProtection: "ai_bots_protection",
575
+ autoUpdateModel: "auto_update_model",
576
+ bmCookieEnabled: "bm_cookie_enabled",
577
+ cfRobotsVariant: "cf_robots_variant",
578
+ contentBotsProtection: "content_bots_protection",
579
+ crawlerProtection: "crawler_protection",
580
+ enableJs: "enable_js",
581
+ isRobotsTxtManaged: "is_robots_txt_managed",
582
+ staleZoneConfiguration: "stale_zone_configuration",
583
+ suppressSessionScore: "suppress_session_score",
584
+ usingLatestModel: "using_latest_model",
585
+ }),
586
+ ),
601
587
  ) as unknown as Schema.Codec<SubscriptionConfiguration>;
602
588
 
603
589
  // =============================================================================
@@ -610,7 +596,7 @@ export interface GetBotManagementRequest {
610
596
  }
611
597
 
612
598
  export const GetBotManagementRequest =
613
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
599
+ /*@__PURE__*/ Schema.suspend(() =>
614
600
  Schema.Struct({
615
601
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
616
602
  }).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/bot_management" })),
@@ -722,7 +708,7 @@ export type GetBotManagementResponse =
722
708
  };
723
709
 
724
710
  export const GetBotManagementResponse =
725
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
711
+ /*@__PURE__*/ Schema.suspend(() =>
726
712
  Schema.Union([
727
713
  BotFightModeConfiguration,
728
714
  SuperBotFightModeDefinitelyConfiguration,
@@ -738,7 +724,7 @@ export const getBotManagement: API.OperationMethod<
738
724
  GetBotManagementResponse,
739
725
  GetBotManagementError,
740
726
  Credentials | HttpClient.HttpClient
741
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
727
+ > = /*@__PURE__*/ API.make(() => ({
742
728
  input: GetBotManagementRequest,
743
729
  output: GetBotManagementResponse,
744
730
  errors: [Forbidden],
@@ -784,7 +770,7 @@ export interface PutBotManagementRequest {
784
770
  }
785
771
 
786
772
  export const PutBotManagementRequest =
787
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
773
+ /*@__PURE__*/ Schema.suspend(() =>
788
774
  Schema.Struct({
789
775
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
790
776
  aiBotsProtection: Schema.optional(
@@ -953,7 +939,7 @@ export type PutBotManagementResponse =
953
939
  };
954
940
 
955
941
  export const PutBotManagementResponse =
956
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
942
+ /*@__PURE__*/ Schema.suspend(() =>
957
943
  Schema.Union([
958
944
  BotFightModeConfiguration,
959
945
  SuperBotFightModeDefinitelyConfiguration,
@@ -969,7 +955,7 @@ export const putBotManagement: API.OperationMethod<
969
955
  PutBotManagementResponse,
970
956
  PutBotManagementError,
971
957
  Credentials | HttpClient.HttpClient
972
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
958
+ > = /*@__PURE__*/ API.make(() => ({
973
959
  input: PutBotManagementRequest,
974
960
  output: PutBotManagementResponse,
975
961
  errors: [Forbidden],
@@ -21,27 +21,25 @@ export interface GetConfigAsnRequest {
21
21
  accountId: string;
22
22
  }
23
23
 
24
- export const GetConfigAsnRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
25
- () =>
26
- Schema.Struct({
27
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
28
- }).pipe(
29
- T.Http({
30
- method: "GET",
31
- path: "/accounts/{account_id}/botnet_feed/configs/asn",
32
- }),
33
- ),
24
+ export const GetConfigAsnRequest = /*@__PURE__*/ Schema.suspend(() =>
25
+ Schema.Struct({
26
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
27
+ }).pipe(
28
+ T.Http({
29
+ method: "GET",
30
+ path: "/accounts/{account_id}/botnet_feed/configs/asn",
31
+ }),
32
+ ),
34
33
  ) as unknown as Schema.Codec<GetConfigAsnRequest>;
35
34
 
36
35
  export interface GetConfigAsnResponse {
37
36
  asn?: number | null;
38
37
  }
39
38
 
40
- export const GetConfigAsnResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
41
- () =>
42
- Schema.Struct({
43
- asn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
44
- }).pipe(T.ResponsePath("result")),
39
+ export const GetConfigAsnResponse = /*@__PURE__*/ Schema.suspend(() =>
40
+ Schema.Struct({
41
+ asn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
42
+ }).pipe(T.ResponsePath("result")),
45
43
  ) as unknown as Schema.Codec<GetConfigAsnResponse>;
46
44
 
47
45
  export type GetConfigAsnError = DefaultErrors;
@@ -51,7 +49,7 @@ export const getConfigAsn: API.OperationMethod<
51
49
  GetConfigAsnResponse,
52
50
  GetConfigAsnError,
53
51
  Credentials | HttpClient.HttpClient
54
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
52
+ > = /*@__PURE__*/ API.make(() => ({
55
53
  input: GetConfigAsnRequest,
56
54
  output: GetConfigAsnResponse,
57
55
  errors: [],
@@ -64,7 +62,7 @@ export interface DeleteConfigAsnRequest {
64
62
  }
65
63
 
66
64
  export const DeleteConfigAsnRequest =
67
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
65
+ /*@__PURE__*/ Schema.suspend(() =>
68
66
  Schema.Struct({
69
67
  asnId: Schema.Number.pipe(T.HttpPath("asnId")),
70
68
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -81,7 +79,7 @@ export interface DeleteConfigAsnResponse {
81
79
  }
82
80
 
83
81
  export const DeleteConfigAsnResponse =
84
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
82
+ /*@__PURE__*/ Schema.suspend(() =>
85
83
  Schema.Struct({
86
84
  asn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
87
85
  }).pipe(T.ResponsePath("result")),
@@ -94,7 +92,7 @@ export const deleteConfigAsn: API.OperationMethod<
94
92
  DeleteConfigAsnResponse,
95
93
  DeleteConfigAsnError,
96
94
  Credentials | HttpClient.HttpClient
97
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
95
+ > = /*@__PURE__*/ API.make(() => ({
98
96
  input: DeleteConfigAsnRequest,
99
97
  output: DeleteConfigAsnResponse,
100
98
  errors: [],
@@ -112,18 +110,17 @@ export interface DayReportAsnRequest {
112
110
  date?: string;
113
111
  }
114
112
 
115
- export const DayReportAsnRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
116
- () =>
117
- Schema.Struct({
118
- asnId: Schema.Number.pipe(T.HttpPath("asnId")),
119
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
120
- date: Schema.optional(Schema.String).pipe(T.HttpQuery("date")),
121
- }).pipe(
122
- T.Http({
123
- method: "GET",
124
- path: "/accounts/{account_id}/botnet_feed/asn/{asnId}/day_report",
125
- }),
126
- ),
113
+ export const DayReportAsnRequest = /*@__PURE__*/ Schema.suspend(() =>
114
+ Schema.Struct({
115
+ asnId: Schema.Number.pipe(T.HttpPath("asnId")),
116
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
117
+ date: Schema.optional(Schema.String).pipe(T.HttpQuery("date")),
118
+ }).pipe(
119
+ T.Http({
120
+ method: "GET",
121
+ path: "/accounts/{account_id}/botnet_feed/asn/{asnId}/day_report",
122
+ }),
123
+ ),
127
124
  ) as unknown as Schema.Codec<DayReportAsnRequest>;
128
125
 
129
126
  export interface DayReportAsnResponse {
@@ -132,21 +129,20 @@ export interface DayReportAsnResponse {
132
129
  offenseCount?: number | null;
133
130
  }
134
131
 
135
- export const DayReportAsnResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
136
- () =>
137
- Schema.Struct({
138
- cidr: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
139
- date: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
140
- offenseCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
141
- })
142
- .pipe(
143
- Schema.encodeKeys({
144
- cidr: "cidr",
145
- date: "date",
146
- offenseCount: "offense_count",
147
- }),
148
- )
149
- .pipe(T.ResponsePath("result")),
132
+ export const DayReportAsnResponse = /*@__PURE__*/ Schema.suspend(() =>
133
+ Schema.Struct({
134
+ cidr: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
135
+ date: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
136
+ offenseCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
137
+ })
138
+ .pipe(
139
+ Schema.encodeKeys({
140
+ cidr: "cidr",
141
+ date: "date",
142
+ offenseCount: "offense_count",
143
+ }),
144
+ )
145
+ .pipe(T.ResponsePath("result")),
150
146
  ) as unknown as Schema.Codec<DayReportAsnResponse>;
151
147
 
152
148
  export type DayReportAsnError = DefaultErrors;
@@ -156,7 +152,7 @@ export const dayReportAsn: API.OperationMethod<
156
152
  DayReportAsnResponse,
157
153
  DayReportAsnError,
158
154
  Credentials | HttpClient.HttpClient
159
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
155
+ > = /*@__PURE__*/ API.make(() => ({
160
156
  input: DayReportAsnRequest,
161
157
  output: DayReportAsnResponse,
162
158
  errors: [],
@@ -168,17 +164,16 @@ export interface FullReportAsnRequest {
168
164
  accountId: string;
169
165
  }
170
166
 
171
- export const FullReportAsnRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
172
- () =>
173
- Schema.Struct({
174
- asnId: Schema.Number.pipe(T.HttpPath("asnId")),
175
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
176
- }).pipe(
177
- T.Http({
178
- method: "GET",
179
- path: "/accounts/{account_id}/botnet_feed/asn/{asnId}/full_report",
180
- }),
181
- ),
167
+ export const FullReportAsnRequest = /*@__PURE__*/ Schema.suspend(() =>
168
+ Schema.Struct({
169
+ asnId: Schema.Number.pipe(T.HttpPath("asnId")),
170
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
171
+ }).pipe(
172
+ T.Http({
173
+ method: "GET",
174
+ path: "/accounts/{account_id}/botnet_feed/asn/{asnId}/full_report",
175
+ }),
176
+ ),
182
177
  ) as unknown as Schema.Codec<FullReportAsnRequest>;
183
178
 
184
179
  export interface FullReportAsnResponse {
@@ -187,21 +182,20 @@ export interface FullReportAsnResponse {
187
182
  offenseCount?: number | null;
188
183
  }
189
184
 
190
- export const FullReportAsnResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
191
- () =>
192
- Schema.Struct({
193
- cidr: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
194
- date: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
195
- offenseCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
196
- })
197
- .pipe(
198
- Schema.encodeKeys({
199
- cidr: "cidr",
200
- date: "date",
201
- offenseCount: "offense_count",
202
- }),
203
- )
204
- .pipe(T.ResponsePath("result")),
185
+ export const FullReportAsnResponse = /*@__PURE__*/ Schema.suspend(() =>
186
+ Schema.Struct({
187
+ cidr: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
188
+ date: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
189
+ offenseCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
190
+ })
191
+ .pipe(
192
+ Schema.encodeKeys({
193
+ cidr: "cidr",
194
+ date: "date",
195
+ offenseCount: "offense_count",
196
+ }),
197
+ )
198
+ .pipe(T.ResponsePath("result")),
205
199
  ) as unknown as Schema.Codec<FullReportAsnResponse>;
206
200
 
207
201
  export type FullReportAsnError = DefaultErrors;
@@ -211,7 +205,7 @@ export const fullReportAsn: API.OperationMethod<
211
205
  FullReportAsnResponse,
212
206
  FullReportAsnError,
213
207
  Credentials | HttpClient.HttpClient
214
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
208
+ > = /*@__PURE__*/ API.make(() => ({
215
209
  input: FullReportAsnRequest,
216
210
  output: FullReportAsnResponse,
217
211
  errors: [],