@distilled.cloud/cloudflare 0.29.0 → 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 (458) hide show
  1. package/lib/services/abuse-reports.d.ts.map +1 -1
  2. package/lib/services/abuse-reports.js +26 -26
  3. package/lib/services/abuse-reports.js.map +1 -1
  4. package/lib/services/accounts.d.ts.map +1 -1
  5. package/lib/services/accounts.js +114 -123
  6. package/lib/services/accounts.js.map +1 -1
  7. package/lib/services/acm.d.ts.map +1 -1
  8. package/lib/services/acm.js +23 -23
  9. package/lib/services/acm.js.map +1 -1
  10. package/lib/services/addressing.d.ts.map +1 -1
  11. package/lib/services/addressing.js +132 -132
  12. package/lib/services/addressing.js.map +1 -1
  13. package/lib/services/ai-gateway.d.ts.map +1 -1
  14. package/lib/services/ai-gateway.js +213 -207
  15. package/lib/services/ai-gateway.js.map +1 -1
  16. package/lib/services/ai-security.d.ts.map +1 -1
  17. package/lib/services/ai-security.js +13 -13
  18. package/lib/services/ai-security.js.map +1 -1
  19. package/lib/services/ai.d.ts.map +1 -1
  20. package/lib/services/ai.js +62 -62
  21. package/lib/services/ai.js.map +1 -1
  22. package/lib/services/aisearch.d.ts.map +1 -1
  23. package/lib/services/aisearch.js +187 -193
  24. package/lib/services/aisearch.js.map +1 -1
  25. package/lib/services/alerting.d.ts.map +1 -1
  26. package/lib/services/alerting.js +78 -78
  27. package/lib/services/alerting.js.map +1 -1
  28. package/lib/services/api-gateway.d.ts.map +1 -1
  29. package/lib/services/api-gateway.js +168 -177
  30. package/lib/services/api-gateway.js.map +1 -1
  31. package/lib/services/argo.js +12 -12
  32. package/lib/services/argo.js.map +1 -1
  33. package/lib/services/audit-logs.d.ts.map +1 -1
  34. package/lib/services/audit-logs.js +9 -9
  35. package/lib/services/audit-logs.js.map +1 -1
  36. package/lib/services/billing.d.ts.map +1 -1
  37. package/lib/services/billing.js +11 -11
  38. package/lib/services/billing.js.map +1 -1
  39. package/lib/services/bot-management.d.ts.map +1 -1
  40. package/lib/services/bot-management.js +18 -30
  41. package/lib/services/bot-management.js.map +1 -1
  42. package/lib/services/botnet-feed.d.ts.map +1 -1
  43. package/lib/services/botnet-feed.js +12 -12
  44. package/lib/services/botnet-feed.js.map +1 -1
  45. package/lib/services/brand-protection.d.ts.map +1 -1
  46. package/lib/services/brand-protection.js +59 -59
  47. package/lib/services/brand-protection.js.map +1 -1
  48. package/lib/services/browser-rendering.d.ts.map +1 -1
  49. package/lib/services/browser-rendering.js +103 -103
  50. package/lib/services/browser-rendering.js.map +1 -1
  51. package/lib/services/cache.d.ts.map +1 -1
  52. package/lib/services/cache.js +72 -72
  53. package/lib/services/cache.js.map +1 -1
  54. package/lib/services/calls.d.ts.map +1 -1
  55. package/lib/services/calls.js +31 -31
  56. package/lib/services/calls.js.map +1 -1
  57. package/lib/services/certificate-authorities.js +6 -6
  58. package/lib/services/certificate-authorities.js.map +1 -1
  59. package/lib/services/client-certificates.js +18 -18
  60. package/lib/services/client-certificates.js.map +1 -1
  61. package/lib/services/cloud-connector.d.ts.map +1 -1
  62. package/lib/services/cloud-connector.js +8 -8
  63. package/lib/services/cloud-connector.js.map +1 -1
  64. package/lib/services/cloudforce-one.d.ts.map +1 -1
  65. package/lib/services/cloudforce-one.js +178 -178
  66. package/lib/services/cloudforce-one.js.map +1 -1
  67. package/lib/services/connectivity.js +25 -25
  68. package/lib/services/connectivity.js.map +1 -1
  69. package/lib/services/containers.js +49 -49
  70. package/lib/services/containers.js.map +1 -1
  71. package/lib/services/content-scanning.d.ts.map +1 -1
  72. package/lib/services/content-scanning.js +29 -29
  73. package/lib/services/content-scanning.js.map +1 -1
  74. package/lib/services/csam-scanner.d.ts.map +1 -1
  75. package/lib/services/csam-scanner.js +8 -8
  76. package/lib/services/csam-scanner.js.map +1 -1
  77. package/lib/services/custom-certificates.d.ts.map +1 -1
  78. package/lib/services/custom-certificates.js +24 -24
  79. package/lib/services/custom-certificates.js.map +1 -1
  80. package/lib/services/custom-csrs.d.ts.map +1 -1
  81. package/lib/services/custom-csrs.js +22 -22
  82. package/lib/services/custom-csrs.js.map +1 -1
  83. package/lib/services/custom-hostnames.d.ts.map +1 -1
  84. package/lib/services/custom-hostnames.js +40 -40
  85. package/lib/services/custom-hostnames.js.map +1 -1
  86. package/lib/services/custom-nameservers.js +11 -11
  87. package/lib/services/custom-nameservers.js.map +1 -1
  88. package/lib/services/custom-pages.d.ts.map +1 -1
  89. package/lib/services/custom-pages.js +43 -43
  90. package/lib/services/custom-pages.js.map +1 -1
  91. package/lib/services/d1.d.ts +4 -4
  92. package/lib/services/d1.d.ts.map +1 -1
  93. package/lib/services/d1.js +69 -51
  94. package/lib/services/d1.js.map +1 -1
  95. package/lib/services/dcv-delegation.js +3 -3
  96. package/lib/services/dcv-delegation.js.map +1 -1
  97. package/lib/services/ddos-protection.js +126 -126
  98. package/lib/services/ddos-protection.js.map +1 -1
  99. package/lib/services/diagnostics.js +27 -27
  100. package/lib/services/diagnostics.js.map +1 -1
  101. package/lib/services/dls.d.ts.map +1 -1
  102. package/lib/services/dls.js +26 -26
  103. package/lib/services/dls.js.map +1 -1
  104. package/lib/services/dns-firewall.d.ts.map +1 -1
  105. package/lib/services/dns-firewall.js +34 -34
  106. package/lib/services/dns-firewall.js.map +1 -1
  107. package/lib/services/dns.d.ts.map +1 -1
  108. package/lib/services/dns.js +268 -268
  109. package/lib/services/dns.js.map +1 -1
  110. package/lib/services/durable-objects.d.ts.map +1 -1
  111. package/lib/services/durable-objects.js +11 -11
  112. package/lib/services/durable-objects.js.map +1 -1
  113. package/lib/services/email-auth.d.ts.map +1 -1
  114. package/lib/services/email-auth.js +13 -13
  115. package/lib/services/email-auth.js.map +1 -1
  116. package/lib/services/email-routing.d.ts.map +1 -1
  117. package/lib/services/email-routing.js +70 -70
  118. package/lib/services/email-routing.js.map +1 -1
  119. package/lib/services/email-security.d.ts.map +1 -1
  120. package/lib/services/email-security.js +195 -195
  121. package/lib/services/email-security.js.map +1 -1
  122. package/lib/services/email-sending.d.ts.map +1 -1
  123. package/lib/services/email-sending.js +28 -28
  124. package/lib/services/email-sending.js.map +1 -1
  125. package/lib/services/filters.d.ts.map +1 -1
  126. package/lib/services/filters.js +25 -25
  127. package/lib/services/filters.js.map +1 -1
  128. package/lib/services/firewall.d.ts.map +1 -1
  129. package/lib/services/firewall.js +149 -149
  130. package/lib/services/firewall.js.map +1 -1
  131. package/lib/services/flagship.d.ts.map +1 -1
  132. package/lib/services/flagship.js +52 -52
  133. package/lib/services/flagship.js.map +1 -1
  134. package/lib/services/fraud.js +8 -8
  135. package/lib/services/fraud.js.map +1 -1
  136. package/lib/services/google-tag-gateway.d.ts.map +1 -1
  137. package/lib/services/google-tag-gateway.js +7 -7
  138. package/lib/services/google-tag-gateway.js.map +1 -1
  139. package/lib/services/healthchecks.d.ts.map +1 -1
  140. package/lib/services/healthchecks.js +31 -31
  141. package/lib/services/healthchecks.js.map +1 -1
  142. package/lib/services/hostnames.d.ts.map +1 -1
  143. package/lib/services/hostnames.js +10 -10
  144. package/lib/services/hostnames.js.map +1 -1
  145. package/lib/services/hyperdrive.d.ts.map +1 -1
  146. package/lib/services/hyperdrive.js +32 -32
  147. package/lib/services/hyperdrive.js.map +1 -1
  148. package/lib/services/iam.d.ts.map +1 -1
  149. package/lib/services/iam.js +113 -113
  150. package/lib/services/iam.js.map +1 -1
  151. package/lib/services/images.d.ts.map +1 -1
  152. package/lib/services/images.js +59 -59
  153. package/lib/services/images.js.map +1 -1
  154. package/lib/services/intel.d.ts.map +1 -1
  155. package/lib/services/intel.js +102 -102
  156. package/lib/services/intel.js.map +1 -1
  157. package/lib/services/ips.js +5 -5
  158. package/lib/services/ips.js.map +1 -1
  159. package/lib/services/keyless-certificates.js +17 -17
  160. package/lib/services/keyless-certificates.js.map +1 -1
  161. package/lib/services/kv.d.ts.map +1 -1
  162. package/lib/services/kv.js +54 -54
  163. package/lib/services/kv.js.map +1 -1
  164. package/lib/services/leaked-credential-checks.d.ts.map +1 -1
  165. package/lib/services/leaked-credential-checks.js +22 -22
  166. package/lib/services/leaked-credential-checks.js.map +1 -1
  167. package/lib/services/load-balancers.d.ts.map +1 -1
  168. package/lib/services/load-balancers.js +139 -157
  169. package/lib/services/load-balancers.js.map +1 -1
  170. package/lib/services/logpush.d.ts.map +1 -1
  171. package/lib/services/logpush.js +69 -69
  172. package/lib/services/logpush.js.map +1 -1
  173. package/lib/services/logs.d.ts.map +1 -1
  174. package/lib/services/logs.js +58 -58
  175. package/lib/services/logs.js.map +1 -1
  176. package/lib/services/magic-cloud-networking.d.ts.map +1 -1
  177. package/lib/services/magic-cloud-networking.js +138 -168
  178. package/lib/services/magic-cloud-networking.js.map +1 -1
  179. package/lib/services/magic-network-monitoring.d.ts.map +1 -1
  180. package/lib/services/magic-network-monitoring.js +47 -65
  181. package/lib/services/magic-network-monitoring.js.map +1 -1
  182. package/lib/services/magic-transit.d.ts.map +1 -1
  183. package/lib/services/magic-transit.js +340 -364
  184. package/lib/services/magic-transit.js.map +1 -1
  185. package/lib/services/managed-transforms.js +11 -11
  186. package/lib/services/managed-transforms.js.map +1 -1
  187. package/lib/services/memberships.d.ts.map +1 -1
  188. package/lib/services/memberships.js +25 -25
  189. package/lib/services/memberships.js.map +1 -1
  190. package/lib/services/moq.d.ts.map +1 -1
  191. package/lib/services/moq.js +23 -23
  192. package/lib/services/moq.js.map +1 -1
  193. package/lib/services/mtls-certificates.d.ts.map +1 -1
  194. package/lib/services/mtls-certificates.js +17 -17
  195. package/lib/services/mtls-certificates.js.map +1 -1
  196. package/lib/services/network-interconnects.d.ts.map +1 -1
  197. package/lib/services/network-interconnects.js +56 -56
  198. package/lib/services/network-interconnects.js.map +1 -1
  199. package/lib/services/organizations.d.ts.map +1 -1
  200. package/lib/services/organizations.js +42 -42
  201. package/lib/services/organizations.js.map +1 -1
  202. package/lib/services/origin-ca-certificates.js +14 -14
  203. package/lib/services/origin-ca-certificates.js.map +1 -1
  204. package/lib/services/origin-post-quantum-encryption.js +6 -6
  205. package/lib/services/origin-post-quantum-encryption.js.map +1 -1
  206. package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
  207. package/lib/services/origin-tls-client-auth.js +52 -52
  208. package/lib/services/origin-tls-client-auth.js.map +1 -1
  209. package/lib/services/origin-tls-compliance-modes.js +12 -12
  210. package/lib/services/origin-tls-compliance-modes.js.map +1 -1
  211. package/lib/services/page-rules.d.ts.map +1 -1
  212. package/lib/services/page-rules.js +62 -62
  213. package/lib/services/page-rules.js.map +1 -1
  214. package/lib/services/page-shield.d.ts.map +1 -1
  215. package/lib/services/page-shield.js +45 -48
  216. package/lib/services/page-shield.js.map +1 -1
  217. package/lib/services/pages.d.ts.map +1 -1
  218. package/lib/services/pages.js +78 -78
  219. package/lib/services/pages.js.map +1 -1
  220. package/lib/services/pipelines.d.ts.map +1 -1
  221. package/lib/services/pipelines.js +102 -102
  222. package/lib/services/pipelines.js.map +1 -1
  223. package/lib/services/queues.d.ts.map +1 -1
  224. package/lib/services/queues.js +100 -103
  225. package/lib/services/queues.js.map +1 -1
  226. package/lib/services/r2-data-catalog.d.ts.map +1 -1
  227. package/lib/services/r2-data-catalog.js +42 -42
  228. package/lib/services/r2-data-catalog.js.map +1 -1
  229. package/lib/services/r2.d.ts.map +1 -1
  230. package/lib/services/r2.js +190 -190
  231. package/lib/services/r2.js.map +1 -1
  232. package/lib/services/radar.d.ts.map +1 -1
  233. package/lib/services/radar.js +991 -1009
  234. package/lib/services/radar.js.map +1 -1
  235. package/lib/services/rate-limits.d.ts.map +1 -1
  236. package/lib/services/rate-limits.js +24 -24
  237. package/lib/services/rate-limits.js.map +1 -1
  238. package/lib/services/realtime-kit.d.ts.map +1 -1
  239. package/lib/services/realtime-kit.js +276 -276
  240. package/lib/services/realtime-kit.js.map +1 -1
  241. package/lib/services/registrar.d.ts.map +1 -1
  242. package/lib/services/registrar.js +28 -28
  243. package/lib/services/registrar.js.map +1 -1
  244. package/lib/services/request-tracers.d.ts.map +1 -1
  245. package/lib/services/request-tracers.js +7 -7
  246. package/lib/services/request-tracers.js.map +1 -1
  247. package/lib/services/resource-sharing.d.ts.map +1 -1
  248. package/lib/services/resource-sharing.js +49 -49
  249. package/lib/services/resource-sharing.js.map +1 -1
  250. package/lib/services/resource-tagging.d.ts.map +1 -1
  251. package/lib/services/resource-tagging.js +56 -56
  252. package/lib/services/resource-tagging.js.map +1 -1
  253. package/lib/services/rules.d.ts.map +1 -1
  254. package/lib/services/rules.js +50 -50
  255. package/lib/services/rules.js.map +1 -1
  256. package/lib/services/rulesets.d.ts +2 -2
  257. package/lib/services/rulesets.d.ts.map +1 -1
  258. package/lib/services/rulesets.js +226 -190
  259. package/lib/services/rulesets.js.map +1 -1
  260. package/lib/services/rum.d.ts.map +1 -1
  261. package/lib/services/rum.js +35 -35
  262. package/lib/services/rum.js.map +1 -1
  263. package/lib/services/schema-validation.d.ts.map +1 -1
  264. package/lib/services/schema-validation.js +43 -46
  265. package/lib/services/schema-validation.js.map +1 -1
  266. package/lib/services/secrets-store.d.ts.map +1 -1
  267. package/lib/services/secrets-store.js +41 -41
  268. package/lib/services/secrets-store.js.map +1 -1
  269. package/lib/services/security-center.d.ts.map +1 -1
  270. package/lib/services/security-center.js +54 -57
  271. package/lib/services/security-center.js.map +1 -1
  272. package/lib/services/security-txt.d.ts.map +1 -1
  273. package/lib/services/security-txt.js +12 -12
  274. package/lib/services/security-txt.js.map +1 -1
  275. package/lib/services/snippets.d.ts.map +1 -1
  276. package/lib/services/snippets.js +31 -31
  277. package/lib/services/snippets.js.map +1 -1
  278. package/lib/services/spectrum.d.ts.map +1 -1
  279. package/lib/services/spectrum.js +35 -35
  280. package/lib/services/spectrum.js.map +1 -1
  281. package/lib/services/speed.d.ts.map +1 -1
  282. package/lib/services/speed.js +41 -41
  283. package/lib/services/speed.js.map +1 -1
  284. package/lib/services/ssl.d.ts.map +1 -1
  285. package/lib/services/ssl.js +48 -48
  286. package/lib/services/ssl.js.map +1 -1
  287. package/lib/services/stream.d.ts.map +1 -1
  288. package/lib/services/stream.js +147 -147
  289. package/lib/services/stream.js.map +1 -1
  290. package/lib/services/tenant-custom-nameservers.js +11 -11
  291. package/lib/services/tenant-custom-nameservers.js.map +1 -1
  292. package/lib/services/tenants.d.ts.map +1 -1
  293. package/lib/services/tenants.js +28 -28
  294. package/lib/services/tenants.js.map +1 -1
  295. package/lib/services/token-validation.d.ts.map +1 -1
  296. package/lib/services/token-validation.js +56 -56
  297. package/lib/services/token-validation.js.map +1 -1
  298. package/lib/services/turnstile.d.ts.map +1 -1
  299. package/lib/services/turnstile.js +27 -54
  300. package/lib/services/turnstile.js.map +1 -1
  301. package/lib/services/url-normalization.js +9 -9
  302. package/lib/services/url-normalization.js.map +1 -1
  303. package/lib/services/url-scanner.d.ts.map +1 -1
  304. package/lib/services/url-scanner.js +120 -120
  305. package/lib/services/url-scanner.js.map +1 -1
  306. package/lib/services/user.d.ts.map +1 -1
  307. package/lib/services/user.js +95 -95
  308. package/lib/services/user.js.map +1 -1
  309. package/lib/services/vectorize.d.ts +10 -10
  310. package/lib/services/vectorize.d.ts.map +1 -1
  311. package/lib/services/vectorize.js +59 -57
  312. package/lib/services/vectorize.js.map +1 -1
  313. package/lib/services/vulnerability-scanner.d.ts.map +1 -1
  314. package/lib/services/vulnerability-scanner.js +95 -95
  315. package/lib/services/vulnerability-scanner.js.map +1 -1
  316. package/lib/services/waiting-rooms.d.ts.map +1 -1
  317. package/lib/services/waiting-rooms.js +81 -81
  318. package/lib/services/waiting-rooms.js.map +1 -1
  319. package/lib/services/web3.d.ts.map +1 -1
  320. package/lib/services/web3.js +39 -39
  321. package/lib/services/web3.js.map +1 -1
  322. package/lib/services/workers-for-platforms.d.ts.map +1 -1
  323. package/lib/services/workers-for-platforms.js +139 -139
  324. package/lib/services/workers-for-platforms.js.map +1 -1
  325. package/lib/services/workers.d.ts.map +1 -1
  326. package/lib/services/workers.js +420 -420
  327. package/lib/services/workers.js.map +1 -1
  328. package/lib/services/workflows.d.ts.map +1 -1
  329. package/lib/services/workflows.js +88 -88
  330. package/lib/services/workflows.js.map +1 -1
  331. package/lib/services/zaraz.d.ts.map +1 -1
  332. package/lib/services/zaraz.js +36 -39
  333. package/lib/services/zaraz.js.map +1 -1
  334. package/lib/services/zero-trust.d.ts.map +1 -1
  335. package/lib/services/zero-trust.js +1765 -1771
  336. package/lib/services/zero-trust.js.map +1 -1
  337. package/lib/services/zones.d.ts.map +1 -1
  338. package/lib/services/zones.js +168 -168
  339. package/lib/services/zones.js.map +1 -1
  340. package/package.json +3 -2
  341. package/src/services/abuse-reports.ts +35 -36
  342. package/src/services/accounts.ts +714 -760
  343. package/src/services/acm.ts +115 -125
  344. package/src/services/addressing.ts +484 -512
  345. package/src/services/ai-gateway.ts +653 -672
  346. package/src/services/ai-security.ts +47 -53
  347. package/src/services/ai.ts +172 -185
  348. package/src/services/aisearch.ts +1814 -1861
  349. package/src/services/alerting.ts +710 -742
  350. package/src/services/api-gateway.ts +481 -508
  351. package/src/services/argo.ts +12 -12
  352. package/src/services/audit-logs.ts +45 -49
  353. package/src/services/billing.ts +121 -136
  354. package/src/services/bot-management.ts +122 -136
  355. package/src/services/botnet-feed.ts +68 -74
  356. package/src/services/brand-protection.ts +275 -294
  357. package/src/services/browser-rendering.ts +758 -769
  358. package/src/services/cache.ts +148 -158
  359. package/src/services/calls.ts +110 -120
  360. package/src/services/certificate-authorities.ts +6 -6
  361. package/src/services/client-certificates.ts +18 -18
  362. package/src/services/cloud-connector.ts +11 -12
  363. package/src/services/cloudforce-one.ts +589 -617
  364. package/src/services/connectivity.ts +25 -25
  365. package/src/services/containers.ts +49 -49
  366. package/src/services/content-scanning.ts +80 -89
  367. package/src/services/csam-scanner.ts +16 -17
  368. package/src/services/custom-certificates.ts +36 -38
  369. package/src/services/custom-csrs.ts +103 -105
  370. package/src/services/custom-hostnames.ts +44 -45
  371. package/src/services/custom-nameservers.ts +11 -11
  372. package/src/services/custom-pages.ts +173 -184
  373. package/src/services/d1.ts +335 -325
  374. package/src/services/dcv-delegation.ts +3 -3
  375. package/src/services/ddos-protection.ts +126 -126
  376. package/src/services/diagnostics.ts +27 -27
  377. package/src/services/dls.ts +82 -86
  378. package/src/services/dns-firewall.ts +65 -69
  379. package/src/services/dns.ts +1080 -1107
  380. package/src/services/durable-objects.ts +36 -38
  381. package/src/services/email-auth.ts +47 -52
  382. package/src/services/email-routing.ts +264 -288
  383. package/src/services/email-security.ts +205 -208
  384. package/src/services/email-sending.ts +94 -99
  385. package/src/services/filters.ts +97 -111
  386. package/src/services/firewall.ts +698 -753
  387. package/src/services/flagship.ts +321 -336
  388. package/src/services/fraud.ts +8 -8
  389. package/src/services/google-tag-gateway.ts +17 -19
  390. package/src/services/healthchecks.ts +269 -286
  391. package/src/services/hostnames.ts +94 -99
  392. package/src/services/hyperdrive.ts +310 -324
  393. package/src/services/iam.ts +205 -212
  394. package/src/services/images.ts +138 -150
  395. package/src/services/intel.ts +248 -261
  396. package/src/services/ips.ts +5 -5
  397. package/src/services/keyless-certificates.ts +17 -17
  398. package/src/services/kv.ts +106 -110
  399. package/src/services/leaked-credential-checks.ts +49 -53
  400. package/src/services/load-balancers.ts +1119 -1212
  401. package/src/services/logpush.ts +298 -313
  402. package/src/services/logs.ts +74 -77
  403. package/src/services/magic-cloud-networking.ts +1219 -1311
  404. package/src/services/magic-network-monitoring.ts +647 -685
  405. package/src/services/magic-transit.ts +1988 -2119
  406. package/src/services/managed-transforms.ts +11 -11
  407. package/src/services/memberships.ts +101 -105
  408. package/src/services/moq.ts +100 -110
  409. package/src/services/mtls-certificates.ts +30 -32
  410. package/src/services/network-interconnects.ts +137 -145
  411. package/src/services/organizations.ts +189 -192
  412. package/src/services/origin-ca-certificates.ts +14 -14
  413. package/src/services/origin-post-quantum-encryption.ts +6 -6
  414. package/src/services/origin-tls-client-auth.ts +219 -236
  415. package/src/services/origin-tls-compliance-modes.ts +12 -12
  416. package/src/services/page-rules.ts +365 -373
  417. package/src/services/page-shield.ts +489 -528
  418. package/src/services/pages.ts +309 -319
  419. package/src/services/pipelines.ts +534 -573
  420. package/src/services/queues.ts +598 -635
  421. package/src/services/r2-data-catalog.ts +59 -60
  422. package/src/services/r2.ts +654 -689
  423. package/src/services/radar.ts +3395 -3487
  424. package/src/services/rate-limits.ts +81 -93
  425. package/src/services/realtime-kit.ts +386 -399
  426. package/src/services/registrar.ts +90 -96
  427. package/src/services/request-tracers.ts +41 -43
  428. package/src/services/resource-sharing.ts +293 -305
  429. package/src/services/resource-tagging.ts +354 -366
  430. package/src/services/rules.ts +272 -292
  431. package/src/services/rulesets.ts +1214 -1116
  432. package/src/services/rum.ts +252 -273
  433. package/src/services/schema-validation.ts +284 -305
  434. package/src/services/secrets-store.ts +130 -138
  435. package/src/services/security-center.ts +64 -69
  436. package/src/services/security-txt.ts +48 -50
  437. package/src/services/snippets.ts +132 -142
  438. package/src/services/spectrum.ts +75 -80
  439. package/src/services/speed.ts +385 -397
  440. package/src/services/ssl.ts +64 -65
  441. package/src/services/stream.ts +658 -718
  442. package/src/services/tenant-custom-nameservers.ts +11 -11
  443. package/src/services/tenants.ts +86 -93
  444. package/src/services/token-validation.ts +145 -151
  445. package/src/services/turnstile.ts +344 -381
  446. package/src/services/url-normalization.ts +9 -9
  447. package/src/services/url-scanner.ts +393 -399
  448. package/src/services/user.ts +479 -503
  449. package/src/services/vectorize.ts +215 -230
  450. package/src/services/vulnerability-scanner.ts +145 -148
  451. package/src/services/waiting-rooms.ts +759 -825
  452. package/src/services/web3.ts +186 -197
  453. package/src/services/workers-for-platforms.ts +408 -432
  454. package/src/services/workers.ts +1175 -1239
  455. package/src/services/workflows.ts +585 -616
  456. package/src/services/zaraz.ts +168 -192
  457. package/src/services/zero-trust.ts +2965 -3074
  458. package/src/services/zones.ts +753 -785
@@ -77,7 +77,7 @@ interface ListConnectionsResponseResult {
77
77
  urlReportedMalicious?: boolean | null;
78
78
  }
79
79
  const ListConnectionsResponseResult =
80
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
80
+ /*@__PURE__*/ Schema.suspend(() =>
81
81
  Schema.Struct({
82
82
  id: Schema.String,
83
83
  addedAt: Schema.String,
@@ -138,66 +138,63 @@ interface ListCookiesResponseResult {
138
138
  sameSiteAttribute?: "lax" | "strict" | "none" | (string & {}) | null;
139
139
  secureAttribute?: boolean | null;
140
140
  }
141
- const ListCookiesResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
142
- () =>
143
- Schema.Struct({
144
- id: Schema.String,
145
- firstSeenAt: Schema.String,
146
- host: Schema.String,
147
- lastSeenAt: Schema.String,
148
- name: Schema.String,
149
- type: Schema.Union([
150
- Schema.Literals(["first_party", "unknown"]),
151
- Schema.String,
152
- ]),
153
- domainAttribute: Schema.optional(
154
- Schema.Union([Schema.String, Schema.Null]),
155
- ),
156
- expiresAttribute: Schema.optional(
157
- Schema.Union([Schema.String, Schema.Null]),
158
- ),
159
- httpOnlyAttribute: Schema.optional(
160
- Schema.Union([Schema.Boolean, Schema.Null]),
161
- ),
162
- maxAgeAttribute: Schema.optional(
163
- Schema.Union([Schema.Number, Schema.Null]),
164
- ),
165
- pageUrls: Schema.optional(
166
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
167
- ),
168
- pathAttribute: Schema.optional(
169
- Schema.Union([Schema.String, Schema.Null]),
170
- ),
171
- sameSiteAttribute: Schema.optional(
141
+ const ListCookiesResponseResult = /*@__PURE__*/ Schema.suspend(() =>
142
+ Schema.Struct({
143
+ id: Schema.String,
144
+ firstSeenAt: Schema.String,
145
+ host: Schema.String,
146
+ lastSeenAt: Schema.String,
147
+ name: Schema.String,
148
+ type: Schema.Union([
149
+ Schema.Literals(["first_party", "unknown"]),
150
+ Schema.String,
151
+ ]),
152
+ domainAttribute: Schema.optional(
153
+ Schema.Union([Schema.String, Schema.Null]),
154
+ ),
155
+ expiresAttribute: Schema.optional(
156
+ Schema.Union([Schema.String, Schema.Null]),
157
+ ),
158
+ httpOnlyAttribute: Schema.optional(
159
+ Schema.Union([Schema.Boolean, Schema.Null]),
160
+ ),
161
+ maxAgeAttribute: Schema.optional(
162
+ Schema.Union([Schema.Number, Schema.Null]),
163
+ ),
164
+ pageUrls: Schema.optional(
165
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
166
+ ),
167
+ pathAttribute: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
168
+ sameSiteAttribute: Schema.optional(
169
+ Schema.Union([
172
170
  Schema.Union([
173
- Schema.Union([
174
- Schema.Literals(["lax", "strict", "none"]),
175
- Schema.String,
176
- ]),
177
- Schema.Null,
171
+ Schema.Literals(["lax", "strict", "none"]),
172
+ Schema.String,
178
173
  ]),
179
- ),
180
- secureAttribute: Schema.optional(
181
- Schema.Union([Schema.Boolean, Schema.Null]),
182
- ),
183
- }).pipe(
184
- Schema.encodeKeys({
185
- id: "id",
186
- firstSeenAt: "first_seen_at",
187
- host: "host",
188
- lastSeenAt: "last_seen_at",
189
- name: "name",
190
- type: "type",
191
- domainAttribute: "domain_attribute",
192
- expiresAttribute: "expires_attribute",
193
- httpOnlyAttribute: "http_only_attribute",
194
- maxAgeAttribute: "max_age_attribute",
195
- pageUrls: "page_urls",
196
- pathAttribute: "path_attribute",
197
- sameSiteAttribute: "same_site_attribute",
198
- secureAttribute: "secure_attribute",
199
- }),
174
+ Schema.Null,
175
+ ]),
176
+ ),
177
+ secureAttribute: Schema.optional(
178
+ Schema.Union([Schema.Boolean, Schema.Null]),
200
179
  ),
180
+ }).pipe(
181
+ Schema.encodeKeys({
182
+ id: "id",
183
+ firstSeenAt: "first_seen_at",
184
+ host: "host",
185
+ lastSeenAt: "last_seen_at",
186
+ name: "name",
187
+ type: "type",
188
+ domainAttribute: "domain_attribute",
189
+ expiresAttribute: "expires_attribute",
190
+ httpOnlyAttribute: "http_only_attribute",
191
+ maxAgeAttribute: "max_age_attribute",
192
+ pageUrls: "page_urls",
193
+ pathAttribute: "path_attribute",
194
+ sameSiteAttribute: "same_site_attribute",
195
+ secureAttribute: "secure_attribute",
196
+ }),
197
+ ),
201
198
  ) as unknown as Schema.Codec<ListCookiesResponseResult>;
202
199
 
203
200
  interface ListPoliciesResponseResult {
@@ -214,19 +211,18 @@ interface ListPoliciesResponseResult {
214
211
  /** The policy which will be applied */
215
212
  value: string;
216
213
  }
217
- const ListPoliciesResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
218
- () =>
219
- Schema.Struct({
220
- id: Schema.String,
221
- action: Schema.Union([
222
- Schema.Literals(["allow", "log", "add_reporting_directives"]),
223
- Schema.String,
224
- ]),
225
- description: Schema.String,
226
- enabled: Schema.Boolean,
227
- expression: Schema.String,
228
- value: Schema.String,
229
- }),
214
+ const ListPoliciesResponseResult = /*@__PURE__*/ Schema.suspend(() =>
215
+ Schema.Struct({
216
+ id: Schema.String,
217
+ action: Schema.Union([
218
+ Schema.Literals(["allow", "log", "add_reporting_directives"]),
219
+ Schema.String,
220
+ ]),
221
+ description: Schema.String,
222
+ enabled: Schema.Boolean,
223
+ expression: Schema.String,
224
+ value: Schema.String,
225
+ }),
230
226
  ) as unknown as Schema.Codec<ListPoliciesResponseResult>;
231
227
 
232
228
  interface Version {
@@ -247,7 +243,7 @@ interface Version {
247
243
  /** @deprecated The obfuscation score of the JavaScript content. This field has been deprecated in favour of js_integrity_score. */
248
244
  obfuscationScore?: number | null;
249
245
  }
250
- const Version = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
246
+ const Version = /*@__PURE__*/ Schema.suspend(() =>
251
247
  Schema.Struct({
252
248
  cryptominingScore: Schema.optional(
253
249
  Schema.Union([Schema.Number, Schema.Null]),
@@ -309,75 +305,70 @@ interface ListScriptsResponseResult {
309
305
  pageUrls?: string[] | null;
310
306
  urlReportedMalicious?: boolean | null;
311
307
  }
312
- const ListScriptsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
313
- () =>
314
- Schema.Struct({
315
- id: Schema.String,
316
- addedAt: Schema.String,
317
- firstSeenAt: Schema.String,
318
- host: Schema.String,
319
- lastSeenAt: Schema.String,
320
- url: Schema.String,
321
- urlContainsCdnCgiPath: Schema.Boolean,
322
- cryptominingScore: Schema.optional(
323
- Schema.Union([Schema.Number, Schema.Null]),
324
- ),
325
- dataflowScore: Schema.optional(
326
- Schema.Union([Schema.Number, Schema.Null]),
327
- ),
328
- domainReportedMalicious: Schema.optional(
329
- Schema.Union([Schema.Boolean, Schema.Null]),
330
- ),
331
- fetchedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
332
- firstPageUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
333
- hash: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
334
- jsIntegrityScore: Schema.optional(
335
- Schema.Union([Schema.Number, Schema.Null]),
336
- ),
337
- magecartScore: Schema.optional(
338
- Schema.Union([Schema.Number, Schema.Null]),
339
- ),
340
- maliciousDomainCategories: Schema.optional(
341
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
342
- ),
343
- maliciousUrlCategories: Schema.optional(
344
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
345
- ),
346
- malwareScore: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
347
- obfuscationScore: Schema.optional(
348
- Schema.Union([Schema.Number, Schema.Null]),
349
- ),
350
- pageUrls: Schema.optional(
351
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
352
- ),
353
- urlReportedMalicious: Schema.optional(
354
- Schema.Union([Schema.Boolean, Schema.Null]),
355
- ),
356
- }).pipe(
357
- Schema.encodeKeys({
358
- id: "id",
359
- addedAt: "added_at",
360
- firstSeenAt: "first_seen_at",
361
- host: "host",
362
- lastSeenAt: "last_seen_at",
363
- url: "url",
364
- urlContainsCdnCgiPath: "url_contains_cdn_cgi_path",
365
- cryptominingScore: "cryptomining_score",
366
- dataflowScore: "dataflow_score",
367
- domainReportedMalicious: "domain_reported_malicious",
368
- fetchedAt: "fetched_at",
369
- firstPageUrl: "first_page_url",
370
- hash: "hash",
371
- jsIntegrityScore: "js_integrity_score",
372
- magecartScore: "magecart_score",
373
- maliciousDomainCategories: "malicious_domain_categories",
374
- maliciousUrlCategories: "malicious_url_categories",
375
- malwareScore: "malware_score",
376
- obfuscationScore: "obfuscation_score",
377
- pageUrls: "page_urls",
378
- urlReportedMalicious: "url_reported_malicious",
379
- }),
308
+ const ListScriptsResponseResult = /*@__PURE__*/ Schema.suspend(() =>
309
+ Schema.Struct({
310
+ id: Schema.String,
311
+ addedAt: Schema.String,
312
+ firstSeenAt: Schema.String,
313
+ host: Schema.String,
314
+ lastSeenAt: Schema.String,
315
+ url: Schema.String,
316
+ urlContainsCdnCgiPath: Schema.Boolean,
317
+ cryptominingScore: Schema.optional(
318
+ Schema.Union([Schema.Number, Schema.Null]),
380
319
  ),
320
+ dataflowScore: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
321
+ domainReportedMalicious: Schema.optional(
322
+ Schema.Union([Schema.Boolean, Schema.Null]),
323
+ ),
324
+ fetchedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
325
+ firstPageUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
326
+ hash: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
327
+ jsIntegrityScore: Schema.optional(
328
+ Schema.Union([Schema.Number, Schema.Null]),
329
+ ),
330
+ magecartScore: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
331
+ maliciousDomainCategories: Schema.optional(
332
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
333
+ ),
334
+ maliciousUrlCategories: Schema.optional(
335
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
336
+ ),
337
+ malwareScore: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
338
+ obfuscationScore: Schema.optional(
339
+ Schema.Union([Schema.Number, Schema.Null]),
340
+ ),
341
+ pageUrls: Schema.optional(
342
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
343
+ ),
344
+ urlReportedMalicious: Schema.optional(
345
+ Schema.Union([Schema.Boolean, Schema.Null]),
346
+ ),
347
+ }).pipe(
348
+ Schema.encodeKeys({
349
+ id: "id",
350
+ addedAt: "added_at",
351
+ firstSeenAt: "first_seen_at",
352
+ host: "host",
353
+ lastSeenAt: "last_seen_at",
354
+ url: "url",
355
+ urlContainsCdnCgiPath: "url_contains_cdn_cgi_path",
356
+ cryptominingScore: "cryptomining_score",
357
+ dataflowScore: "dataflow_score",
358
+ domainReportedMalicious: "domain_reported_malicious",
359
+ fetchedAt: "fetched_at",
360
+ firstPageUrl: "first_page_url",
361
+ hash: "hash",
362
+ jsIntegrityScore: "js_integrity_score",
363
+ magecartScore: "magecart_score",
364
+ maliciousDomainCategories: "malicious_domain_categories",
365
+ maliciousUrlCategories: "malicious_url_categories",
366
+ malwareScore: "malware_score",
367
+ obfuscationScore: "obfuscation_score",
368
+ pageUrls: "page_urls",
369
+ urlReportedMalicious: "url_reported_malicious",
370
+ }),
371
+ ),
381
372
  ) as unknown as Schema.Codec<ListScriptsResponseResult>;
382
373
 
383
374
  // =============================================================================
@@ -390,17 +381,16 @@ export interface GetConnectionRequest {
390
381
  zoneId: string;
391
382
  }
392
383
 
393
- export const GetConnectionRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
394
- () =>
395
- Schema.Struct({
396
- connectionId: Schema.String.pipe(T.HttpPath("connectionId")),
397
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
398
- }).pipe(
399
- T.Http({
400
- method: "GET",
401
- path: "/zones/{zone_id}/page_shield/connections/{connectionId}",
402
- }),
403
- ),
384
+ export const GetConnectionRequest = /*@__PURE__*/ Schema.suspend(() =>
385
+ Schema.Struct({
386
+ connectionId: Schema.String.pipe(T.HttpPath("connectionId")),
387
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
388
+ }).pipe(
389
+ T.Http({
390
+ method: "GET",
391
+ path: "/zones/{zone_id}/page_shield/connections/{connectionId}",
392
+ }),
393
+ ),
404
394
  ) as unknown as Schema.Codec<GetConnectionRequest>;
405
395
 
406
396
  export interface GetConnectionResponse {
@@ -420,51 +410,50 @@ export interface GetConnectionResponse {
420
410
  urlReportedMalicious?: boolean | null;
421
411
  }
422
412
 
423
- export const GetConnectionResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
424
- () =>
425
- Schema.Struct({
426
- id: Schema.String,
427
- addedAt: Schema.String,
428
- firstSeenAt: Schema.String,
429
- host: Schema.String,
430
- lastSeenAt: Schema.String,
431
- url: Schema.String,
432
- urlContainsCdnCgiPath: Schema.Boolean,
433
- domainReportedMalicious: Schema.optional(
434
- Schema.Union([Schema.Boolean, Schema.Null]),
435
- ),
436
- firstPageUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
437
- maliciousDomainCategories: Schema.optional(
438
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
439
- ),
440
- maliciousUrlCategories: Schema.optional(
441
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
442
- ),
443
- pageUrls: Schema.optional(
444
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
445
- ),
446
- urlReportedMalicious: Schema.optional(
447
- Schema.Union([Schema.Boolean, Schema.Null]),
448
- ),
449
- })
450
- .pipe(
451
- Schema.encodeKeys({
452
- id: "id",
453
- addedAt: "added_at",
454
- firstSeenAt: "first_seen_at",
455
- host: "host",
456
- lastSeenAt: "last_seen_at",
457
- url: "url",
458
- urlContainsCdnCgiPath: "url_contains_cdn_cgi_path",
459
- domainReportedMalicious: "domain_reported_malicious",
460
- firstPageUrl: "first_page_url",
461
- maliciousDomainCategories: "malicious_domain_categories",
462
- maliciousUrlCategories: "malicious_url_categories",
463
- pageUrls: "page_urls",
464
- urlReportedMalicious: "url_reported_malicious",
465
- }),
466
- )
467
- .pipe(T.ResponsePath("result")),
413
+ export const GetConnectionResponse = /*@__PURE__*/ Schema.suspend(() =>
414
+ Schema.Struct({
415
+ id: Schema.String,
416
+ addedAt: Schema.String,
417
+ firstSeenAt: Schema.String,
418
+ host: Schema.String,
419
+ lastSeenAt: Schema.String,
420
+ url: Schema.String,
421
+ urlContainsCdnCgiPath: Schema.Boolean,
422
+ domainReportedMalicious: Schema.optional(
423
+ Schema.Union([Schema.Boolean, Schema.Null]),
424
+ ),
425
+ firstPageUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
426
+ maliciousDomainCategories: Schema.optional(
427
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
428
+ ),
429
+ maliciousUrlCategories: Schema.optional(
430
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
431
+ ),
432
+ pageUrls: Schema.optional(
433
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
434
+ ),
435
+ urlReportedMalicious: Schema.optional(
436
+ Schema.Union([Schema.Boolean, Schema.Null]),
437
+ ),
438
+ })
439
+ .pipe(
440
+ Schema.encodeKeys({
441
+ id: "id",
442
+ addedAt: "added_at",
443
+ firstSeenAt: "first_seen_at",
444
+ host: "host",
445
+ lastSeenAt: "last_seen_at",
446
+ url: "url",
447
+ urlContainsCdnCgiPath: "url_contains_cdn_cgi_path",
448
+ domainReportedMalicious: "domain_reported_malicious",
449
+ firstPageUrl: "first_page_url",
450
+ maliciousDomainCategories: "malicious_domain_categories",
451
+ maliciousUrlCategories: "malicious_url_categories",
452
+ pageUrls: "page_urls",
453
+ urlReportedMalicious: "url_reported_malicious",
454
+ }),
455
+ )
456
+ .pipe(T.ResponsePath("result")),
468
457
  ) as unknown as Schema.Codec<GetConnectionResponse>;
469
458
 
470
459
  export type GetConnectionError = DefaultErrors;
@@ -474,7 +463,7 @@ export const getConnection: API.OperationMethod<
474
463
  GetConnectionResponse,
475
464
  GetConnectionError,
476
465
  Credentials | HttpClient.HttpClient
477
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
466
+ > = /*@__PURE__*/ API.make(() => ({
478
467
  input: GetConnectionRequest,
479
468
  output: GetConnectionResponse,
480
469
  errors: [],
@@ -510,7 +499,7 @@ export interface ListConnectionsRequest {
510
499
  }
511
500
 
512
501
  export const ListConnectionsRequest =
513
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
502
+ /*@__PURE__*/ Schema.suspend(() =>
514
503
  Schema.Struct({
515
504
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
516
505
  direction: Schema.optional(
@@ -567,7 +556,7 @@ export interface ListConnectionsResponse {
567
556
  }
568
557
 
569
558
  export const ListConnectionsResponse =
570
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
559
+ /*@__PURE__*/ Schema.suspend(() =>
571
560
  Schema.Struct({
572
561
  result: Schema.Array(ListConnectionsResponseResult),
573
562
  }),
@@ -580,7 +569,7 @@ export const listConnections: API.PaginatedOperationMethod<
580
569
  ListConnectionsResponse,
581
570
  ListConnectionsError,
582
571
  Credentials | HttpClient.HttpClient
583
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
572
+ > = /*@__PURE__*/ API.makePaginated(() => ({
584
573
  input: ListConnectionsRequest,
585
574
  output: ListConnectionsResponse,
586
575
  errors: [],
@@ -600,7 +589,7 @@ export interface GetCookyRequest {
600
589
  zoneId: string;
601
590
  }
602
591
 
603
- export const GetCookyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
592
+ export const GetCookyRequest = /*@__PURE__*/ Schema.suspend(() =>
604
593
  Schema.Struct({
605
594
  cookieId: Schema.String.pipe(T.HttpPath("cookieId")),
606
595
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -630,7 +619,7 @@ export interface GetCookyResponse {
630
619
  secureAttribute?: boolean | null;
631
620
  }
632
621
 
633
- export const GetCookyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
622
+ export const GetCookyResponse = /*@__PURE__*/ Schema.suspend(() =>
634
623
  Schema.Struct({
635
624
  id: Schema.String,
636
625
  firstSeenAt: Schema.String,
@@ -698,7 +687,7 @@ export const getCooky: API.OperationMethod<
698
687
  GetCookyResponse,
699
688
  GetCookyError,
700
689
  Credentials | HttpClient.HttpClient
701
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
690
+ > = /*@__PURE__*/ API.make(() => ({
702
691
  input: GetCookyRequest,
703
692
  output: GetCookyResponse,
704
693
  errors: [],
@@ -737,46 +726,40 @@ export interface ListCookiesRequest {
737
726
  type?: "first_party" | "unknown" | (string & {});
738
727
  }
739
728
 
740
- export const ListCookiesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
741
- () =>
742
- Schema.Struct({
743
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
744
- direction: Schema.optional(
745
- Schema.Union([Schema.Literals(["asc", "desc"]), Schema.String]),
746
- ).pipe(T.HttpQuery("direction")),
747
- domain: Schema.optional(Schema.String).pipe(T.HttpQuery("domain")),
748
- export: Schema.optional(Schema.Literal("csv")).pipe(
749
- T.HttpQuery("export"),
750
- ),
751
- hosts: Schema.optional(Schema.String).pipe(T.HttpQuery("hosts")),
752
- httpOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("http_only")),
753
- name: Schema.optional(Schema.String).pipe(T.HttpQuery("name")),
754
- orderBy: Schema.optional(
755
- Schema.Union([
756
- Schema.Literals(["first_seen_at", "last_seen_at"]),
757
- Schema.String,
758
- ]),
759
- ).pipe(T.HttpQuery("order_by")),
760
- page: Schema.optional(Schema.String).pipe(T.HttpQuery("page")),
761
- pageUrl: Schema.optional(Schema.String).pipe(T.HttpQuery("page_url")),
762
- path: Schema.optional(Schema.String).pipe(T.HttpQuery("path")),
763
- perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
764
- sameSite: Schema.optional(
765
- Schema.Union([
766
- Schema.Literals(["lax", "strict", "none"]),
767
- Schema.String,
768
- ]),
769
- ).pipe(T.HttpQuery("same_site")),
770
- secure: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("secure")),
771
- type: Schema.optional(
772
- Schema.Union([
773
- Schema.Literals(["first_party", "unknown"]),
774
- Schema.String,
775
- ]),
776
- ).pipe(T.HttpQuery("type")),
777
- }).pipe(
778
- T.Http({ method: "GET", path: "/zones/{zone_id}/page_shield/cookies" }),
779
- ),
729
+ export const ListCookiesRequest = /*@__PURE__*/ Schema.suspend(() =>
730
+ Schema.Struct({
731
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
732
+ direction: Schema.optional(
733
+ Schema.Union([Schema.Literals(["asc", "desc"]), Schema.String]),
734
+ ).pipe(T.HttpQuery("direction")),
735
+ domain: Schema.optional(Schema.String).pipe(T.HttpQuery("domain")),
736
+ export: Schema.optional(Schema.Literal("csv")).pipe(T.HttpQuery("export")),
737
+ hosts: Schema.optional(Schema.String).pipe(T.HttpQuery("hosts")),
738
+ httpOnly: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("http_only")),
739
+ name: Schema.optional(Schema.String).pipe(T.HttpQuery("name")),
740
+ orderBy: Schema.optional(
741
+ Schema.Union([
742
+ Schema.Literals(["first_seen_at", "last_seen_at"]),
743
+ Schema.String,
744
+ ]),
745
+ ).pipe(T.HttpQuery("order_by")),
746
+ page: Schema.optional(Schema.String).pipe(T.HttpQuery("page")),
747
+ pageUrl: Schema.optional(Schema.String).pipe(T.HttpQuery("page_url")),
748
+ path: Schema.optional(Schema.String).pipe(T.HttpQuery("path")),
749
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
750
+ sameSite: Schema.optional(
751
+ Schema.Union([Schema.Literals(["lax", "strict", "none"]), Schema.String]),
752
+ ).pipe(T.HttpQuery("same_site")),
753
+ secure: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("secure")),
754
+ type: Schema.optional(
755
+ Schema.Union([
756
+ Schema.Literals(["first_party", "unknown"]),
757
+ Schema.String,
758
+ ]),
759
+ ).pipe(T.HttpQuery("type")),
760
+ }).pipe(
761
+ T.Http({ method: "GET", path: "/zones/{zone_id}/page_shield/cookies" }),
762
+ ),
780
763
  ) as unknown as Schema.Codec<ListCookiesRequest>;
781
764
 
782
765
  export interface ListCookiesResponse {
@@ -798,11 +781,10 @@ export interface ListCookiesResponse {
798
781
  }[];
799
782
  }
800
783
 
801
- export const ListCookiesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
802
- () =>
803
- Schema.Struct({
804
- result: Schema.Array(ListCookiesResponseResult),
805
- }),
784
+ export const ListCookiesResponse = /*@__PURE__*/ Schema.suspend(() =>
785
+ Schema.Struct({
786
+ result: Schema.Array(ListCookiesResponseResult),
787
+ }),
806
788
  ) as unknown as Schema.Codec<ListCookiesResponse>;
807
789
 
808
790
  export type ListCookiesError = DefaultErrors;
@@ -812,7 +794,7 @@ export const listCookies: API.PaginatedOperationMethod<
812
794
  ListCookiesResponse,
813
795
  ListCookiesError,
814
796
  Credentials | HttpClient.HttpClient
815
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
797
+ > = /*@__PURE__*/ API.makePaginated(() => ({
816
798
  input: ListCookiesRequest,
817
799
  output: ListCookiesResponse,
818
800
  errors: [],
@@ -831,11 +813,10 @@ export interface GetPageShieldRequest {
831
813
  zoneId: string;
832
814
  }
833
815
 
834
- export const GetPageShieldRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
835
- () =>
836
- Schema.Struct({
837
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
838
- }).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/page_shield" })),
816
+ export const GetPageShieldRequest = /*@__PURE__*/ Schema.suspend(() =>
817
+ Schema.Struct({
818
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
819
+ }).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/page_shield" })),
839
820
  ) as unknown as Schema.Codec<GetPageShieldRequest>;
840
821
 
841
822
  export interface GetPageShieldResponse {
@@ -849,23 +830,22 @@ export interface GetPageShieldResponse {
849
830
  useConnectionUrlPath: boolean;
850
831
  }
851
832
 
852
- export const GetPageShieldResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
853
- () =>
854
- Schema.Struct({
855
- enabled: Schema.Boolean,
856
- updatedAt: Schema.String,
857
- useCloudflareReportingEndpoint: Schema.Boolean,
858
- useConnectionUrlPath: Schema.Boolean,
859
- })
860
- .pipe(
861
- Schema.encodeKeys({
862
- enabled: "enabled",
863
- updatedAt: "updated_at",
864
- useCloudflareReportingEndpoint: "use_cloudflare_reporting_endpoint",
865
- useConnectionUrlPath: "use_connection_url_path",
866
- }),
867
- )
868
- .pipe(T.ResponsePath("result")),
833
+ export const GetPageShieldResponse = /*@__PURE__*/ Schema.suspend(() =>
834
+ Schema.Struct({
835
+ enabled: Schema.Boolean,
836
+ updatedAt: Schema.String,
837
+ useCloudflareReportingEndpoint: Schema.Boolean,
838
+ useConnectionUrlPath: Schema.Boolean,
839
+ })
840
+ .pipe(
841
+ Schema.encodeKeys({
842
+ enabled: "enabled",
843
+ updatedAt: "updated_at",
844
+ useCloudflareReportingEndpoint: "use_cloudflare_reporting_endpoint",
845
+ useConnectionUrlPath: "use_connection_url_path",
846
+ }),
847
+ )
848
+ .pipe(T.ResponsePath("result")),
869
849
  ) as unknown as Schema.Codec<GetPageShieldResponse>;
870
850
 
871
851
  export type GetPageShieldError = DefaultErrors | Forbidden;
@@ -875,7 +855,7 @@ export const getPageShield: API.OperationMethod<
875
855
  GetPageShieldResponse,
876
856
  GetPageShieldError,
877
857
  Credentials | HttpClient.HttpClient
878
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
858
+ > = /*@__PURE__*/ API.make(() => ({
879
859
  input: GetPageShieldRequest,
880
860
  output: GetPageShieldResponse,
881
861
  errors: [Forbidden],
@@ -892,21 +872,20 @@ export interface PutPageShieldRequest {
892
872
  useConnectionUrlPath?: boolean;
893
873
  }
894
874
 
895
- export const PutPageShieldRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
896
- () =>
897
- Schema.Struct({
898
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
899
- enabled: Schema.optional(Schema.Boolean),
900
- useCloudflareReportingEndpoint: Schema.optional(Schema.Boolean),
901
- useConnectionUrlPath: Schema.optional(Schema.Boolean),
902
- }).pipe(
903
- Schema.encodeKeys({
904
- enabled: "enabled",
905
- useCloudflareReportingEndpoint: "use_cloudflare_reporting_endpoint",
906
- useConnectionUrlPath: "use_connection_url_path",
907
- }),
908
- T.Http({ method: "PUT", path: "/zones/{zone_id}/page_shield" }),
909
- ),
875
+ export const PutPageShieldRequest = /*@__PURE__*/ Schema.suspend(() =>
876
+ Schema.Struct({
877
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
878
+ enabled: Schema.optional(Schema.Boolean),
879
+ useCloudflareReportingEndpoint: Schema.optional(Schema.Boolean),
880
+ useConnectionUrlPath: Schema.optional(Schema.Boolean),
881
+ }).pipe(
882
+ Schema.encodeKeys({
883
+ enabled: "enabled",
884
+ useCloudflareReportingEndpoint: "use_cloudflare_reporting_endpoint",
885
+ useConnectionUrlPath: "use_connection_url_path",
886
+ }),
887
+ T.Http({ method: "PUT", path: "/zones/{zone_id}/page_shield" }),
888
+ ),
910
889
  ) as unknown as Schema.Codec<PutPageShieldRequest>;
911
890
 
912
891
  export interface PutPageShieldResponse {
@@ -920,23 +899,22 @@ export interface PutPageShieldResponse {
920
899
  useConnectionUrlPath: boolean;
921
900
  }
922
901
 
923
- export const PutPageShieldResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
924
- () =>
925
- Schema.Struct({
926
- enabled: Schema.Boolean,
927
- updatedAt: Schema.String,
928
- useCloudflareReportingEndpoint: Schema.Boolean,
929
- useConnectionUrlPath: Schema.Boolean,
930
- })
931
- .pipe(
932
- Schema.encodeKeys({
933
- enabled: "enabled",
934
- updatedAt: "updated_at",
935
- useCloudflareReportingEndpoint: "use_cloudflare_reporting_endpoint",
936
- useConnectionUrlPath: "use_connection_url_path",
937
- }),
938
- )
939
- .pipe(T.ResponsePath("result")),
902
+ export const PutPageShieldResponse = /*@__PURE__*/ Schema.suspend(() =>
903
+ Schema.Struct({
904
+ enabled: Schema.Boolean,
905
+ updatedAt: Schema.String,
906
+ useCloudflareReportingEndpoint: Schema.Boolean,
907
+ useConnectionUrlPath: Schema.Boolean,
908
+ })
909
+ .pipe(
910
+ Schema.encodeKeys({
911
+ enabled: "enabled",
912
+ updatedAt: "updated_at",
913
+ useCloudflareReportingEndpoint: "use_cloudflare_reporting_endpoint",
914
+ useConnectionUrlPath: "use_connection_url_path",
915
+ }),
916
+ )
917
+ .pipe(T.ResponsePath("result")),
940
918
  ) as unknown as Schema.Codec<PutPageShieldResponse>;
941
919
 
942
920
  export type PutPageShieldError = DefaultErrors | NotEntitled | Forbidden;
@@ -946,7 +924,7 @@ export const putPageShield: API.OperationMethod<
946
924
  PutPageShieldResponse,
947
925
  PutPageShieldError,
948
926
  Credentials | HttpClient.HttpClient
949
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
927
+ > = /*@__PURE__*/ API.make(() => ({
950
928
  input: PutPageShieldRequest,
951
929
  output: PutPageShieldResponse,
952
930
  errors: [NotEntitled, Forbidden],
@@ -962,7 +940,7 @@ export interface GetPolicyRequest {
962
940
  zoneId: string;
963
941
  }
964
942
 
965
- export const GetPolicyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
943
+ export const GetPolicyRequest = /*@__PURE__*/ Schema.suspend(() =>
966
944
  Schema.Struct({
967
945
  policyId: Schema.String.pipe(T.HttpPath("policyId")),
968
946
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -989,19 +967,18 @@ export interface GetPolicyResponse {
989
967
  value: string;
990
968
  }
991
969
 
992
- export const GetPolicyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
993
- () =>
994
- Schema.Struct({
995
- id: Schema.String,
996
- action: Schema.Union([
997
- Schema.Literals(["allow", "log", "add_reporting_directives"]),
998
- Schema.String,
999
- ]),
1000
- description: Schema.String,
1001
- enabled: Schema.Boolean,
1002
- expression: Schema.String,
1003
- value: Schema.String,
1004
- }).pipe(T.ResponsePath("result")),
970
+ export const GetPolicyResponse = /*@__PURE__*/ Schema.suspend(() =>
971
+ Schema.Struct({
972
+ id: Schema.String,
973
+ action: Schema.Union([
974
+ Schema.Literals(["allow", "log", "add_reporting_directives"]),
975
+ Schema.String,
976
+ ]),
977
+ description: Schema.String,
978
+ enabled: Schema.Boolean,
979
+ expression: Schema.String,
980
+ value: Schema.String,
981
+ }).pipe(T.ResponsePath("result")),
1005
982
  ) as unknown as Schema.Codec<GetPolicyResponse>;
1006
983
 
1007
984
  export type GetPolicyError = DefaultErrors | PolicyNotFound | Forbidden;
@@ -1011,7 +988,7 @@ export const getPolicy: API.OperationMethod<
1011
988
  GetPolicyResponse,
1012
989
  GetPolicyError,
1013
990
  Credentials | HttpClient.HttpClient
1014
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
991
+ > = /*@__PURE__*/ API.make(() => ({
1015
992
  input: GetPolicyRequest,
1016
993
  output: GetPolicyResponse,
1017
994
  errors: [PolicyNotFound, Forbidden],
@@ -1022,13 +999,12 @@ export interface ListPoliciesRequest {
1022
999
  zoneId: string;
1023
1000
  }
1024
1001
 
1025
- export const ListPoliciesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1026
- () =>
1027
- Schema.Struct({
1028
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1029
- }).pipe(
1030
- T.Http({ method: "GET", path: "/zones/{zone_id}/page_shield/policies" }),
1031
- ),
1002
+ export const ListPoliciesRequest = /*@__PURE__*/ Schema.suspend(() =>
1003
+ Schema.Struct({
1004
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1005
+ }).pipe(
1006
+ T.Http({ method: "GET", path: "/zones/{zone_id}/page_shield/policies" }),
1007
+ ),
1032
1008
  ) as unknown as Schema.Codec<ListPoliciesRequest>;
1033
1009
 
1034
1010
  export interface ListPoliciesResponse {
@@ -1042,11 +1018,10 @@ export interface ListPoliciesResponse {
1042
1018
  }[];
1043
1019
  }
1044
1020
 
1045
- export const ListPoliciesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1046
- () =>
1047
- Schema.Struct({
1048
- result: Schema.Array(ListPoliciesResponseResult),
1049
- }),
1021
+ export const ListPoliciesResponse = /*@__PURE__*/ Schema.suspend(() =>
1022
+ Schema.Struct({
1023
+ result: Schema.Array(ListPoliciesResponseResult),
1024
+ }),
1050
1025
  ) as unknown as Schema.Codec<ListPoliciesResponse>;
1051
1026
 
1052
1027
  export type ListPoliciesError = DefaultErrors | Forbidden;
@@ -1056,7 +1031,7 @@ export const listPolicies: API.PaginatedOperationMethod<
1056
1031
  ListPoliciesResponse,
1057
1032
  ListPoliciesError,
1058
1033
  Credentials | HttpClient.HttpClient
1059
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
1034
+ > = /*@__PURE__*/ API.makePaginated(() => ({
1060
1035
  input: ListPoliciesRequest,
1061
1036
  output: ListPoliciesResponse,
1062
1037
  errors: [Forbidden],
@@ -1081,21 +1056,20 @@ export interface CreatePolicyRequest {
1081
1056
  value: string;
1082
1057
  }
1083
1058
 
1084
- export const CreatePolicyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1085
- () =>
1086
- Schema.Struct({
1087
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1088
- action: Schema.Union([
1089
- Schema.Literals(["allow", "log", "add_reporting_directives"]),
1090
- Schema.String,
1091
- ]),
1092
- description: Schema.String,
1093
- enabled: Schema.Boolean,
1094
- expression: Schema.String,
1095
- value: Schema.String,
1096
- }).pipe(
1097
- T.Http({ method: "POST", path: "/zones/{zone_id}/page_shield/policies" }),
1098
- ),
1059
+ export const CreatePolicyRequest = /*@__PURE__*/ Schema.suspend(() =>
1060
+ Schema.Struct({
1061
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1062
+ action: Schema.Union([
1063
+ Schema.Literals(["allow", "log", "add_reporting_directives"]),
1064
+ Schema.String,
1065
+ ]),
1066
+ description: Schema.String,
1067
+ enabled: Schema.Boolean,
1068
+ expression: Schema.String,
1069
+ value: Schema.String,
1070
+ }).pipe(
1071
+ T.Http({ method: "POST", path: "/zones/{zone_id}/page_shield/policies" }),
1072
+ ),
1099
1073
  ) as unknown as Schema.Codec<CreatePolicyRequest>;
1100
1074
 
1101
1075
  export interface CreatePolicyResponse {
@@ -1113,19 +1087,18 @@ export interface CreatePolicyResponse {
1113
1087
  value: string;
1114
1088
  }
1115
1089
 
1116
- export const CreatePolicyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1117
- () =>
1118
- Schema.Struct({
1119
- id: Schema.String,
1120
- action: Schema.Union([
1121
- Schema.Literals(["allow", "log", "add_reporting_directives"]),
1122
- Schema.String,
1123
- ]),
1124
- description: Schema.String,
1125
- enabled: Schema.Boolean,
1126
- expression: Schema.String,
1127
- value: Schema.String,
1128
- }).pipe(T.ResponsePath("result")),
1090
+ export const CreatePolicyResponse = /*@__PURE__*/ Schema.suspend(() =>
1091
+ Schema.Struct({
1092
+ id: Schema.String,
1093
+ action: Schema.Union([
1094
+ Schema.Literals(["allow", "log", "add_reporting_directives"]),
1095
+ Schema.String,
1096
+ ]),
1097
+ description: Schema.String,
1098
+ enabled: Schema.Boolean,
1099
+ expression: Schema.String,
1100
+ value: Schema.String,
1101
+ }).pipe(T.ResponsePath("result")),
1129
1102
  ) as unknown as Schema.Codec<CreatePolicyResponse>;
1130
1103
 
1131
1104
  export type CreatePolicyError = DefaultErrors | PolicyQuotaExceeded | Forbidden;
@@ -1135,7 +1108,7 @@ export const createPolicy: API.OperationMethod<
1135
1108
  CreatePolicyResponse,
1136
1109
  CreatePolicyError,
1137
1110
  Credentials | HttpClient.HttpClient
1138
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1111
+ > = /*@__PURE__*/ API.make(() => ({
1139
1112
  input: CreatePolicyRequest,
1140
1113
  output: CreatePolicyResponse,
1141
1114
  errors: [PolicyQuotaExceeded, Forbidden],
@@ -1157,27 +1130,26 @@ export interface UpdatePolicyRequest {
1157
1130
  value?: string;
1158
1131
  }
1159
1132
 
1160
- export const UpdatePolicyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1161
- () =>
1162
- Schema.Struct({
1163
- policyId: Schema.String.pipe(T.HttpPath("policyId")),
1164
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1165
- action: Schema.optional(
1166
- Schema.Union([
1167
- Schema.Literals(["allow", "log", "add_reporting_directives"]),
1168
- Schema.String,
1169
- ]),
1170
- ),
1171
- description: Schema.optional(Schema.String),
1172
- enabled: Schema.optional(Schema.Boolean),
1173
- expression: Schema.optional(Schema.String),
1174
- value: Schema.optional(Schema.String),
1175
- }).pipe(
1176
- T.Http({
1177
- method: "PUT",
1178
- path: "/zones/{zone_id}/page_shield/policies/{policyId}",
1179
- }),
1133
+ export const UpdatePolicyRequest = /*@__PURE__*/ Schema.suspend(() =>
1134
+ Schema.Struct({
1135
+ policyId: Schema.String.pipe(T.HttpPath("policyId")),
1136
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1137
+ action: Schema.optional(
1138
+ Schema.Union([
1139
+ Schema.Literals(["allow", "log", "add_reporting_directives"]),
1140
+ Schema.String,
1141
+ ]),
1180
1142
  ),
1143
+ description: Schema.optional(Schema.String),
1144
+ enabled: Schema.optional(Schema.Boolean),
1145
+ expression: Schema.optional(Schema.String),
1146
+ value: Schema.optional(Schema.String),
1147
+ }).pipe(
1148
+ T.Http({
1149
+ method: "PUT",
1150
+ path: "/zones/{zone_id}/page_shield/policies/{policyId}",
1151
+ }),
1152
+ ),
1181
1153
  ) as unknown as Schema.Codec<UpdatePolicyRequest>;
1182
1154
 
1183
1155
  export interface UpdatePolicyResponse {
@@ -1195,19 +1167,18 @@ export interface UpdatePolicyResponse {
1195
1167
  value: string;
1196
1168
  }
1197
1169
 
1198
- export const UpdatePolicyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1199
- () =>
1200
- Schema.Struct({
1201
- id: Schema.String,
1202
- action: Schema.Union([
1203
- Schema.Literals(["allow", "log", "add_reporting_directives"]),
1204
- Schema.String,
1205
- ]),
1206
- description: Schema.String,
1207
- enabled: Schema.Boolean,
1208
- expression: Schema.String,
1209
- value: Schema.String,
1210
- }).pipe(T.ResponsePath("result")),
1170
+ export const UpdatePolicyResponse = /*@__PURE__*/ Schema.suspend(() =>
1171
+ Schema.Struct({
1172
+ id: Schema.String,
1173
+ action: Schema.Union([
1174
+ Schema.Literals(["allow", "log", "add_reporting_directives"]),
1175
+ Schema.String,
1176
+ ]),
1177
+ description: Schema.String,
1178
+ enabled: Schema.Boolean,
1179
+ expression: Schema.String,
1180
+ value: Schema.String,
1181
+ }).pipe(T.ResponsePath("result")),
1211
1182
  ) as unknown as Schema.Codec<UpdatePolicyResponse>;
1212
1183
 
1213
1184
  export type UpdatePolicyError = DefaultErrors | PolicyNotFound | Forbidden;
@@ -1217,7 +1188,7 @@ export const updatePolicy: API.OperationMethod<
1217
1188
  UpdatePolicyResponse,
1218
1189
  UpdatePolicyError,
1219
1190
  Credentials | HttpClient.HttpClient
1220
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1191
+ > = /*@__PURE__*/ API.make(() => ({
1221
1192
  input: UpdatePolicyRequest,
1222
1193
  output: UpdatePolicyResponse,
1223
1194
  errors: [PolicyNotFound, Forbidden],
@@ -1229,22 +1200,21 @@ export interface DeletePolicyRequest {
1229
1200
  zoneId: string;
1230
1201
  }
1231
1202
 
1232
- export const DeletePolicyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1233
- () =>
1234
- Schema.Struct({
1235
- policyId: Schema.String.pipe(T.HttpPath("policyId")),
1236
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1237
- }).pipe(
1238
- T.Http({
1239
- method: "DELETE",
1240
- path: "/zones/{zone_id}/page_shield/policies/{policyId}",
1241
- }),
1242
- ),
1203
+ export const DeletePolicyRequest = /*@__PURE__*/ Schema.suspend(() =>
1204
+ Schema.Struct({
1205
+ policyId: Schema.String.pipe(T.HttpPath("policyId")),
1206
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1207
+ }).pipe(
1208
+ T.Http({
1209
+ method: "DELETE",
1210
+ path: "/zones/{zone_id}/page_shield/policies/{policyId}",
1211
+ }),
1212
+ ),
1243
1213
  ) as unknown as Schema.Codec<DeletePolicyRequest>;
1244
1214
 
1245
1215
  export type DeletePolicyResponse = unknown;
1246
1216
 
1247
- export const DeletePolicyResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1217
+ export const DeletePolicyResponse = /*@__PURE__*/ Schema.suspend(
1248
1218
  () => Schema.Unknown,
1249
1219
  ) as unknown as Schema.Codec<DeletePolicyResponse>;
1250
1220
 
@@ -1255,7 +1225,7 @@ export const deletePolicy: API.OperationMethod<
1255
1225
  DeletePolicyResponse,
1256
1226
  DeletePolicyError,
1257
1227
  Credentials | HttpClient.HttpClient
1258
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1228
+ > = /*@__PURE__*/ API.make(() => ({
1259
1229
  input: DeletePolicyRequest,
1260
1230
  output: DeletePolicyResponse,
1261
1231
  errors: [PolicyNotFound, Forbidden],
@@ -1271,7 +1241,7 @@ export interface GetScriptRequest {
1271
1241
  zoneId: string;
1272
1242
  }
1273
1243
 
1274
- export const GetScriptRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1244
+ export const GetScriptRequest = /*@__PURE__*/ Schema.suspend(() =>
1275
1245
  Schema.Struct({
1276
1246
  scriptId: Schema.String.pipe(T.HttpPath("scriptId")),
1277
1247
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -1328,81 +1298,76 @@ export interface GetScriptResponse {
1328
1298
  | null;
1329
1299
  }
1330
1300
 
1331
- export const GetScriptResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1332
- () =>
1333
- Schema.Struct({
1334
- id: Schema.String,
1335
- addedAt: Schema.String,
1336
- firstSeenAt: Schema.String,
1337
- host: Schema.String,
1338
- lastSeenAt: Schema.String,
1339
- url: Schema.String,
1340
- urlContainsCdnCgiPath: Schema.Boolean,
1341
- cryptominingScore: Schema.optional(
1342
- Schema.Union([Schema.Number, Schema.Null]),
1343
- ),
1344
- dataflowScore: Schema.optional(
1345
- Schema.Union([Schema.Number, Schema.Null]),
1346
- ),
1347
- domainReportedMalicious: Schema.optional(
1348
- Schema.Union([Schema.Boolean, Schema.Null]),
1349
- ),
1350
- fetchedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1351
- firstPageUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1352
- hash: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1353
- jsIntegrityScore: Schema.optional(
1354
- Schema.Union([Schema.Number, Schema.Null]),
1355
- ),
1356
- magecartScore: Schema.optional(
1357
- Schema.Union([Schema.Number, Schema.Null]),
1358
- ),
1359
- maliciousDomainCategories: Schema.optional(
1360
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
1361
- ),
1362
- maliciousUrlCategories: Schema.optional(
1363
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
1364
- ),
1365
- malwareScore: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1366
- obfuscationScore: Schema.optional(
1367
- Schema.Union([Schema.Number, Schema.Null]),
1368
- ),
1369
- pageUrls: Schema.optional(
1370
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
1371
- ),
1372
- urlReportedMalicious: Schema.optional(
1373
- Schema.Union([Schema.Boolean, Schema.Null]),
1374
- ),
1375
- versions: Schema.optional(
1376
- Schema.Union([Schema.Array(Version), Schema.Null]),
1377
- ),
1378
- })
1379
- .pipe(
1380
- Schema.encodeKeys({
1381
- id: "id",
1382
- addedAt: "added_at",
1383
- firstSeenAt: "first_seen_at",
1384
- host: "host",
1385
- lastSeenAt: "last_seen_at",
1386
- url: "url",
1387
- urlContainsCdnCgiPath: "url_contains_cdn_cgi_path",
1388
- cryptominingScore: "cryptomining_score",
1389
- dataflowScore: "dataflow_score",
1390
- domainReportedMalicious: "domain_reported_malicious",
1391
- fetchedAt: "fetched_at",
1392
- firstPageUrl: "first_page_url",
1393
- hash: "hash",
1394
- jsIntegrityScore: "js_integrity_score",
1395
- magecartScore: "magecart_score",
1396
- maliciousDomainCategories: "malicious_domain_categories",
1397
- maliciousUrlCategories: "malicious_url_categories",
1398
- malwareScore: "malware_score",
1399
- obfuscationScore: "obfuscation_score",
1400
- pageUrls: "page_urls",
1401
- urlReportedMalicious: "url_reported_malicious",
1402
- versions: "versions",
1403
- }),
1404
- )
1405
- .pipe(T.ResponsePath("result")),
1301
+ export const GetScriptResponse = /*@__PURE__*/ Schema.suspend(() =>
1302
+ Schema.Struct({
1303
+ id: Schema.String,
1304
+ addedAt: Schema.String,
1305
+ firstSeenAt: Schema.String,
1306
+ host: Schema.String,
1307
+ lastSeenAt: Schema.String,
1308
+ url: Schema.String,
1309
+ urlContainsCdnCgiPath: Schema.Boolean,
1310
+ cryptominingScore: Schema.optional(
1311
+ Schema.Union([Schema.Number, Schema.Null]),
1312
+ ),
1313
+ dataflowScore: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1314
+ domainReportedMalicious: Schema.optional(
1315
+ Schema.Union([Schema.Boolean, Schema.Null]),
1316
+ ),
1317
+ fetchedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1318
+ firstPageUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1319
+ hash: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1320
+ jsIntegrityScore: Schema.optional(
1321
+ Schema.Union([Schema.Number, Schema.Null]),
1322
+ ),
1323
+ magecartScore: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1324
+ maliciousDomainCategories: Schema.optional(
1325
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
1326
+ ),
1327
+ maliciousUrlCategories: Schema.optional(
1328
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
1329
+ ),
1330
+ malwareScore: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1331
+ obfuscationScore: Schema.optional(
1332
+ Schema.Union([Schema.Number, Schema.Null]),
1333
+ ),
1334
+ pageUrls: Schema.optional(
1335
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
1336
+ ),
1337
+ urlReportedMalicious: Schema.optional(
1338
+ Schema.Union([Schema.Boolean, Schema.Null]),
1339
+ ),
1340
+ versions: Schema.optional(
1341
+ Schema.Union([Schema.Array(Version), Schema.Null]),
1342
+ ),
1343
+ })
1344
+ .pipe(
1345
+ Schema.encodeKeys({
1346
+ id: "id",
1347
+ addedAt: "added_at",
1348
+ firstSeenAt: "first_seen_at",
1349
+ host: "host",
1350
+ lastSeenAt: "last_seen_at",
1351
+ url: "url",
1352
+ urlContainsCdnCgiPath: "url_contains_cdn_cgi_path",
1353
+ cryptominingScore: "cryptomining_score",
1354
+ dataflowScore: "dataflow_score",
1355
+ domainReportedMalicious: "domain_reported_malicious",
1356
+ fetchedAt: "fetched_at",
1357
+ firstPageUrl: "first_page_url",
1358
+ hash: "hash",
1359
+ jsIntegrityScore: "js_integrity_score",
1360
+ magecartScore: "magecart_score",
1361
+ maliciousDomainCategories: "malicious_domain_categories",
1362
+ maliciousUrlCategories: "malicious_url_categories",
1363
+ malwareScore: "malware_score",
1364
+ obfuscationScore: "obfuscation_score",
1365
+ pageUrls: "page_urls",
1366
+ urlReportedMalicious: "url_reported_malicious",
1367
+ versions: "versions",
1368
+ }),
1369
+ )
1370
+ .pipe(T.ResponsePath("result")),
1406
1371
  ) as unknown as Schema.Codec<GetScriptResponse>;
1407
1372
 
1408
1373
  export type GetScriptError = DefaultErrors;
@@ -1412,7 +1377,7 @@ export const getScript: API.OperationMethod<
1412
1377
  GetScriptResponse,
1413
1378
  GetScriptError,
1414
1379
  Credentials | HttpClient.HttpClient
1415
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1380
+ > = /*@__PURE__*/ API.make(() => ({
1416
1381
  input: GetScriptRequest,
1417
1382
  output: GetScriptResponse,
1418
1383
  errors: [],
@@ -1449,43 +1414,40 @@ export interface ListScriptsRequest {
1449
1414
  urls?: string;
1450
1415
  }
1451
1416
 
1452
- export const ListScriptsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1453
- () =>
1454
- Schema.Struct({
1455
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1456
- direction: Schema.optional(
1457
- Schema.Union([Schema.Literals(["asc", "desc"]), Schema.String]),
1458
- ).pipe(T.HttpQuery("direction")),
1459
- excludeCdnCgi: Schema.optional(Schema.Boolean).pipe(
1460
- T.HttpQuery("exclude_cdn_cgi"),
1461
- ),
1462
- excludeDuplicates: Schema.optional(Schema.Boolean).pipe(
1463
- T.HttpQuery("exclude_duplicates"),
1464
- ),
1465
- excludeUrls: Schema.optional(Schema.String).pipe(
1466
- T.HttpQuery("exclude_urls"),
1467
- ),
1468
- export: Schema.optional(Schema.Literal("csv")).pipe(
1469
- T.HttpQuery("export"),
1470
- ),
1471
- hosts: Schema.optional(Schema.String).pipe(T.HttpQuery("hosts")),
1472
- orderBy: Schema.optional(
1473
- Schema.Union([
1474
- Schema.Literals(["first_seen_at", "last_seen_at"]),
1475
- Schema.String,
1476
- ]),
1477
- ).pipe(T.HttpQuery("order_by")),
1478
- page: Schema.optional(Schema.String).pipe(T.HttpQuery("page")),
1479
- pageUrl: Schema.optional(Schema.String).pipe(T.HttpQuery("page_url")),
1480
- perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
1481
- prioritizeMalicious: Schema.optional(Schema.Boolean).pipe(
1482
- T.HttpQuery("prioritize_malicious"),
1483
- ),
1484
- status: Schema.optional(Schema.String).pipe(T.HttpQuery("status")),
1485
- urls: Schema.optional(Schema.String).pipe(T.HttpQuery("urls")),
1486
- }).pipe(
1487
- T.Http({ method: "GET", path: "/zones/{zone_id}/page_shield/scripts" }),
1417
+ export const ListScriptsRequest = /*@__PURE__*/ Schema.suspend(() =>
1418
+ Schema.Struct({
1419
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
1420
+ direction: Schema.optional(
1421
+ Schema.Union([Schema.Literals(["asc", "desc"]), Schema.String]),
1422
+ ).pipe(T.HttpQuery("direction")),
1423
+ excludeCdnCgi: Schema.optional(Schema.Boolean).pipe(
1424
+ T.HttpQuery("exclude_cdn_cgi"),
1425
+ ),
1426
+ excludeDuplicates: Schema.optional(Schema.Boolean).pipe(
1427
+ T.HttpQuery("exclude_duplicates"),
1428
+ ),
1429
+ excludeUrls: Schema.optional(Schema.String).pipe(
1430
+ T.HttpQuery("exclude_urls"),
1431
+ ),
1432
+ export: Schema.optional(Schema.Literal("csv")).pipe(T.HttpQuery("export")),
1433
+ hosts: Schema.optional(Schema.String).pipe(T.HttpQuery("hosts")),
1434
+ orderBy: Schema.optional(
1435
+ Schema.Union([
1436
+ Schema.Literals(["first_seen_at", "last_seen_at"]),
1437
+ Schema.String,
1438
+ ]),
1439
+ ).pipe(T.HttpQuery("order_by")),
1440
+ page: Schema.optional(Schema.String).pipe(T.HttpQuery("page")),
1441
+ pageUrl: Schema.optional(Schema.String).pipe(T.HttpQuery("page_url")),
1442
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
1443
+ prioritizeMalicious: Schema.optional(Schema.Boolean).pipe(
1444
+ T.HttpQuery("prioritize_malicious"),
1488
1445
  ),
1446
+ status: Schema.optional(Schema.String).pipe(T.HttpQuery("status")),
1447
+ urls: Schema.optional(Schema.String).pipe(T.HttpQuery("urls")),
1448
+ }).pipe(
1449
+ T.Http({ method: "GET", path: "/zones/{zone_id}/page_shield/scripts" }),
1450
+ ),
1489
1451
  ) as unknown as Schema.Codec<ListScriptsRequest>;
1490
1452
 
1491
1453
  export interface ListScriptsResponse {
@@ -1514,11 +1476,10 @@ export interface ListScriptsResponse {
1514
1476
  }[];
1515
1477
  }
1516
1478
 
1517
- export const ListScriptsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1518
- () =>
1519
- Schema.Struct({
1520
- result: Schema.Array(ListScriptsResponseResult),
1521
- }),
1479
+ export const ListScriptsResponse = /*@__PURE__*/ Schema.suspend(() =>
1480
+ Schema.Struct({
1481
+ result: Schema.Array(ListScriptsResponseResult),
1482
+ }),
1522
1483
  ) as unknown as Schema.Codec<ListScriptsResponse>;
1523
1484
 
1524
1485
  export type ListScriptsError = DefaultErrors;
@@ -1528,7 +1489,7 @@ export const listScripts: API.PaginatedOperationMethod<
1528
1489
  ListScriptsResponse,
1529
1490
  ListScriptsError,
1530
1491
  Credentials | HttpClient.HttpClient
1531
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
1492
+ > = /*@__PURE__*/ API.makePaginated(() => ({
1532
1493
  input: ListScriptsRequest,
1533
1494
  output: ListScriptsResponse,
1534
1495
  errors: [],