@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
@@ -23,7 +23,7 @@ interface AddScriptTag {
23
23
  type?: string | null;
24
24
  url?: string | null;
25
25
  }
26
- const AddScriptTag = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
26
+ const AddScriptTag = /*@__PURE__*/ Schema.suspend(() =>
27
27
  Schema.Struct({
28
28
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
29
29
  content: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -36,7 +36,7 @@ interface AddStyleTag {
36
36
  content?: string | null;
37
37
  url?: string | null;
38
38
  }
39
- const AddStyleTag = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
39
+ const AddStyleTag = /*@__PURE__*/ Schema.suspend(() =>
40
40
  Schema.Struct({
41
41
  content: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
42
42
  url: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -47,7 +47,7 @@ interface Authenticate {
47
47
  password: string;
48
48
  username: string;
49
49
  }
50
- const Authenticate = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
50
+ const Authenticate = /*@__PURE__*/ Schema.suspend(() =>
51
51
  Schema.Struct({
52
52
  password: SensitiveString,
53
53
  username: Schema.String,
@@ -71,7 +71,7 @@ interface Cookie {
71
71
  sourceScheme?: "Unset" | "NonSecure" | "Secure" | (string & {}) | null;
72
72
  url?: string | null;
73
73
  }
74
- const Cookie = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
74
+ const Cookie = /*@__PURE__*/ Schema.suspend(() =>
75
75
  Schema.Struct({
76
76
  name: Schema.String,
77
77
  value: Schema.String,
@@ -132,7 +132,7 @@ interface GotoOptions {
132
132
  )[]
133
133
  | null;
134
134
  }
135
- const GotoOptions = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
135
+ const GotoOptions = /*@__PURE__*/ Schema.suspend(() =>
136
136
  Schema.Struct({
137
137
  referer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
138
138
  referrerPolicy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -170,7 +170,7 @@ interface Viewport {
170
170
  isLandscape?: boolean | null;
171
171
  isMobile?: boolean | null;
172
172
  }
173
- const Viewport = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
173
+ const Viewport = /*@__PURE__*/ Schema.suspend(() =>
174
174
  Schema.Struct({
175
175
  height: Schema.Number,
176
176
  width: Schema.Number,
@@ -189,7 +189,7 @@ interface WaitForSelector {
189
189
  timeout?: number | null;
190
190
  visible?: true | null;
191
191
  }
192
- const WaitForSelector = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
192
+ const WaitForSelector = /*@__PURE__*/ Schema.suspend(() =>
193
193
  Schema.Struct({
194
194
  selector: Schema.String,
195
195
  hidden: Schema.optional(Schema.Union([Schema.Literal(true), Schema.Null])),
@@ -206,7 +206,7 @@ interface Metadata {
206
206
  /** Title of the crawled page. */
207
207
  title?: string | null;
208
208
  }
209
- const Metadata = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
209
+ const Metadata = /*@__PURE__*/ Schema.suspend(() =>
210
210
  Schema.Struct({
211
211
  status: Schema.Number,
212
212
  url: Schema.String,
@@ -234,7 +234,7 @@ interface Record2 {
234
234
  /** Markdown of the content of the crawled URL. */
235
235
  markdown?: string | null;
236
236
  }
237
- const Record2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
237
+ const Record2 = /*@__PURE__*/ Schema.suspend(() =>
238
238
  Schema.Struct({
239
239
  metadata: Metadata,
240
240
  status: Schema.Union([
@@ -263,7 +263,7 @@ interface CustomAI {
263
263
  /** Authorization token for the AI model: `Bearer <token>`. Not needed for workers-ai models. */
264
264
  authorization?: string | null;
265
265
  }
266
- const CustomAI = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
266
+ const CustomAI = /*@__PURE__*/ Schema.suspend(() =>
267
267
  Schema.Struct({
268
268
  model: Schema.String,
269
269
  authorization: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -275,7 +275,7 @@ interface ResponseFormat {
275
275
  /** Schema for the response format. More information here: https://developers.cloudflare.com/workers-ai/json-mode/ */
276
276
  jsonSchema?: Record<string, unknown> | null;
277
277
  }
278
- const ResponseFormat = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
278
+ const ResponseFormat = /*@__PURE__*/ Schema.suspend(() =>
279
279
  Schema.Struct({
280
280
  type: Schema.String,
281
281
  jsonSchema: Schema.optional(
@@ -293,7 +293,7 @@ interface JsonOptions {
293
293
  jsonSchema?: Record<string, unknown> | null;
294
294
  } | null;
295
295
  }
296
- const JsonOptions = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
296
+ const JsonOptions = /*@__PURE__*/ Schema.suspend(() =>
297
297
  Schema.Struct({
298
298
  customAi: Schema.optional(
299
299
  Schema.Union([Schema.Array(CustomAI), Schema.Null]),
@@ -321,7 +321,7 @@ interface Options {
321
321
  /** Include links to subdomains in the crawl job. This option is ignored if includeExternalLinks is true. */
322
322
  includeSubdomains?: boolean | null;
323
323
  }
324
- const Options = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
324
+ const Options = /*@__PURE__*/ Schema.suspend(() =>
325
325
  Schema.Struct({
326
326
  excludePatterns: Schema.optional(
327
327
  Schema.Union([Schema.Array(Schema.String), Schema.Null]),
@@ -352,7 +352,7 @@ interface Domain {
352
352
  /** Type definitions. */
353
353
  types?: Record<string, unknown>[] | null;
354
354
  }
355
- const Domain = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
355
+ const Domain = /*@__PURE__*/ Schema.suspend(() =>
356
356
  Schema.Struct({
357
357
  domain: Schema.String,
358
358
  commands: Schema.optional(
@@ -386,7 +386,7 @@ interface Version {
386
386
  /** Minor version. */
387
387
  minor: string;
388
388
  }
389
- const Version = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
389
+ const Version = /*@__PURE__*/ Schema.suspend(() =>
390
390
  Schema.Struct({
391
391
  major: Schema.String,
392
392
  minor: Schema.String,
@@ -409,7 +409,7 @@ interface TargetListResponseItem {
409
409
  /** WebSocket URL for debugging this target. */
410
410
  webSocketDebuggerUrl?: string | null;
411
411
  }
412
- const TargetListResponseItem = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
412
+ const TargetListResponseItem = /*@__PURE__*/ Schema.suspend(() =>
413
413
  Schema.Struct({
414
414
  id: Schema.String,
415
415
  type: Schema.String,
@@ -449,7 +449,7 @@ interface SessionListResponseItem {
449
449
  /** WebSocket URL for debugging this target. */
450
450
  webSocketDebuggerUrl?: string | null;
451
451
  }
452
- const SessionListResponseItem = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
452
+ const SessionListResponseItem = /*@__PURE__*/ Schema.suspend(() =>
453
453
  Schema.Struct({
454
454
  sessionId: Schema.String,
455
455
  closeReason: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -481,7 +481,7 @@ interface Margin {
481
481
  right?: string | number | null;
482
482
  top?: string | number | null;
483
483
  }
484
- const Margin = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
484
+ const Margin = /*@__PURE__*/ Schema.suspend(() =>
485
485
  Schema.Struct({
486
486
  bottom: Schema.optional(
487
487
  Schema.Union([Schema.Union([Schema.String, Schema.Number]), Schema.Null]),
@@ -550,7 +550,7 @@ interface Pdfoptions {
550
550
  /** Sets the width of paper. Can be a number or string with unit. */
551
551
  width?: string | number | null;
552
552
  }
553
- const Pdfoptions = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
553
+ const Pdfoptions = /*@__PURE__*/ Schema.suspend(() =>
554
554
  Schema.Struct({
555
555
  displayHeaderFooter: Schema.optional(
556
556
  Schema.Union([Schema.Boolean, Schema.Null]),
@@ -606,7 +606,7 @@ const Pdfoptions = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
606
606
  interface Element {
607
607
  selector: string;
608
608
  }
609
- const Element = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
609
+ const Element = /*@__PURE__*/ Schema.suspend(() =>
610
610
  Schema.Struct({
611
611
  selector: Schema.String,
612
612
  }),
@@ -618,7 +618,7 @@ interface Attribute {
618
618
  /** Attribute value. */
619
619
  value: string;
620
620
  }
621
- const Attribute = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
621
+ const Attribute = /*@__PURE__*/ Schema.suspend(() =>
622
622
  Schema.Struct({
623
623
  name: Schema.String,
624
624
  value: Schema.String,
@@ -640,7 +640,7 @@ interface Results {
640
640
  /** Element width. */
641
641
  width: number;
642
642
  }
643
- const Results = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
643
+ const Results = /*@__PURE__*/ Schema.suspend(() =>
644
644
  Schema.Struct({
645
645
  attributes: Schema.Array(Attribute),
646
646
  height: Schema.Number,
@@ -665,12 +665,11 @@ interface ScrapeCreateResponseItem {
665
665
  /** Selector. */
666
666
  selector: string;
667
667
  }
668
- const ScrapeCreateResponseItem = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
669
- () =>
670
- Schema.Struct({
671
- results: Results,
672
- selector: Schema.String,
673
- }),
668
+ const ScrapeCreateResponseItem = /*@__PURE__*/ Schema.suspend(() =>
669
+ Schema.Struct({
670
+ results: Results,
671
+ selector: Schema.String,
672
+ }),
674
673
  ) as unknown as Schema.Codec<ScrapeCreateResponseItem>;
675
674
 
676
675
  interface Clip {
@@ -680,7 +679,7 @@ interface Clip {
680
679
  y: number;
681
680
  scale?: number | null;
682
681
  }
683
- const Clip = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
682
+ const Clip = /*@__PURE__*/ Schema.suspend(() =>
684
683
  Schema.Struct({
685
684
  height: Schema.Number,
686
685
  width: Schema.Number,
@@ -707,7 +706,7 @@ interface ScreenshotOptions {
707
706
  quality?: number | null;
708
707
  type?: "png" | "jpeg" | "webp" | (string & {}) | null;
709
708
  }
710
- const ScreenshotOptions = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
709
+ const ScreenshotOptions = /*@__PURE__*/ Schema.suspend(() =>
711
710
  Schema.Struct({
712
711
  captureBeyondViewport: Schema.optional(
713
712
  Schema.Union([Schema.Boolean, Schema.Null]),
@@ -743,7 +742,7 @@ interface Error2 {
743
742
  /** Error message. */
744
743
  message: string;
745
744
  }
746
- const Error2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
745
+ const Error2 = /*@__PURE__*/ Schema.suspend(() =>
747
746
  Schema.Struct({
748
747
  code: Schema.Number,
749
748
  message: Schema.String,
@@ -766,7 +765,7 @@ interface ScreenshotOptions2 {
766
765
  quality?: number | null;
767
766
  type?: "png" | "jpeg" | "webp" | (string & {}) | null;
768
767
  }
769
- const ScreenshotOptions2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
768
+ const ScreenshotOptions2 = /*@__PURE__*/ Schema.suspend(() =>
770
769
  Schema.Struct({
771
770
  captureBeyondViewport: Schema.optional(
772
771
  Schema.Union([Schema.Boolean, Schema.Null]),
@@ -818,7 +817,7 @@ interface AccessibilityTree {
818
817
  valuemin?: number | null;
819
818
  valuetext?: string | null;
820
819
  }
821
- const AccessibilityTree = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
820
+ const AccessibilityTree = /*@__PURE__*/ Schema.suspend(() =>
822
821
  Schema.Struct({
823
822
  role: Schema.String,
824
823
  autocomplete: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -1006,97 +1005,96 @@ export interface CreateContentRequest {
1006
1005
  html?: string;
1007
1006
  }
1008
1007
 
1009
- export const CreateContentRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1010
- () =>
1011
- Schema.Struct({
1012
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1013
- cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
1014
- url: Schema.optional(Schema.String),
1015
- actionTimeout: Schema.optional(Schema.Number),
1016
- addScriptTag: Schema.optional(Schema.Array(AddScriptTag)),
1017
- addStyleTag: Schema.optional(Schema.Array(AddStyleTag)),
1018
- allowRequestPattern: Schema.optional(Schema.Array(Schema.String)),
1019
- allowResourceTypes: Schema.optional(
1020
- Schema.Array(
1021
- Schema.Union([
1022
- Schema.Literals([
1023
- "document",
1024
- "stylesheet",
1025
- "image",
1026
- "media",
1027
- "font",
1028
- "script",
1029
- "texttrack",
1030
- "xhr",
1031
- "fetch",
1032
- "prefetch",
1033
- "eventsource",
1034
- "websocket",
1035
- "manifest",
1036
- "signedexchange",
1037
- "ping",
1038
- "cspviolationreport",
1039
- "preflight",
1040
- "other",
1041
- ]),
1042
- Schema.String,
1008
+ export const CreateContentRequest = /*@__PURE__*/ Schema.suspend(() =>
1009
+ Schema.Struct({
1010
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1011
+ cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
1012
+ url: Schema.optional(Schema.String),
1013
+ actionTimeout: Schema.optional(Schema.Number),
1014
+ addScriptTag: Schema.optional(Schema.Array(AddScriptTag)),
1015
+ addStyleTag: Schema.optional(Schema.Array(AddStyleTag)),
1016
+ allowRequestPattern: Schema.optional(Schema.Array(Schema.String)),
1017
+ allowResourceTypes: Schema.optional(
1018
+ Schema.Array(
1019
+ Schema.Union([
1020
+ Schema.Literals([
1021
+ "document",
1022
+ "stylesheet",
1023
+ "image",
1024
+ "media",
1025
+ "font",
1026
+ "script",
1027
+ "texttrack",
1028
+ "xhr",
1029
+ "fetch",
1030
+ "prefetch",
1031
+ "eventsource",
1032
+ "websocket",
1033
+ "manifest",
1034
+ "signedexchange",
1035
+ "ping",
1036
+ "cspviolationreport",
1037
+ "preflight",
1038
+ "other",
1043
1039
  ]),
1044
- ),
1040
+ Schema.String,
1041
+ ]),
1045
1042
  ),
1046
- authenticate: Schema.optional(Authenticate),
1047
- bestAttempt: Schema.optional(Schema.Boolean),
1048
- cookies: Schema.optional(Schema.Array(Cookie)),
1049
- emulateMediaType: Schema.optional(Schema.String),
1050
- gotoOptions: Schema.optional(GotoOptions),
1051
- rejectRequestPattern: Schema.optional(Schema.Array(Schema.String)),
1052
- rejectResourceTypes: Schema.optional(
1053
- Schema.Array(
1054
- Schema.Union([
1055
- Schema.Literals([
1056
- "document",
1057
- "stylesheet",
1058
- "image",
1059
- "media",
1060
- "font",
1061
- "script",
1062
- "texttrack",
1063
- "xhr",
1064
- "fetch",
1065
- "prefetch",
1066
- "eventsource",
1067
- "websocket",
1068
- "manifest",
1069
- "signedexchange",
1070
- "ping",
1071
- "cspviolationreport",
1072
- "preflight",
1073
- "other",
1074
- ]),
1075
- Schema.String,
1043
+ ),
1044
+ authenticate: Schema.optional(Authenticate),
1045
+ bestAttempt: Schema.optional(Schema.Boolean),
1046
+ cookies: Schema.optional(Schema.Array(Cookie)),
1047
+ emulateMediaType: Schema.optional(Schema.String),
1048
+ gotoOptions: Schema.optional(GotoOptions),
1049
+ rejectRequestPattern: Schema.optional(Schema.Array(Schema.String)),
1050
+ rejectResourceTypes: Schema.optional(
1051
+ Schema.Array(
1052
+ Schema.Union([
1053
+ Schema.Literals([
1054
+ "document",
1055
+ "stylesheet",
1056
+ "image",
1057
+ "media",
1058
+ "font",
1059
+ "script",
1060
+ "texttrack",
1061
+ "xhr",
1062
+ "fetch",
1063
+ "prefetch",
1064
+ "eventsource",
1065
+ "websocket",
1066
+ "manifest",
1067
+ "signedexchange",
1068
+ "ping",
1069
+ "cspviolationreport",
1070
+ "preflight",
1071
+ "other",
1076
1072
  ]),
1077
- ),
1078
- ),
1079
- setExtraHTTPHeaders: Schema.optional(
1080
- Schema.Record(Schema.String, Schema.Unknown),
1073
+ Schema.String,
1074
+ ]),
1081
1075
  ),
1082
- setJavaScriptEnabled: Schema.optional(Schema.Boolean),
1083
- userAgent: Schema.optional(Schema.String),
1084
- viewport: Schema.optional(Viewport),
1085
- waitForSelector: Schema.optional(WaitForSelector),
1086
- waitForTimeout: Schema.optional(Schema.Number),
1087
- html: Schema.optional(Schema.String),
1088
- }).pipe(
1089
- T.Http({
1090
- method: "POST",
1091
- path: "/accounts/{account_id}/browser-rendering/content",
1092
- }),
1093
1076
  ),
1077
+ setExtraHTTPHeaders: Schema.optional(
1078
+ Schema.Record(Schema.String, Schema.Unknown),
1079
+ ),
1080
+ setJavaScriptEnabled: Schema.optional(Schema.Boolean),
1081
+ userAgent: Schema.optional(Schema.String),
1082
+ viewport: Schema.optional(Viewport),
1083
+ waitForSelector: Schema.optional(WaitForSelector),
1084
+ waitForTimeout: Schema.optional(Schema.Number),
1085
+ html: Schema.optional(Schema.String),
1086
+ }).pipe(
1087
+ T.Http({
1088
+ method: "POST",
1089
+ path: "/accounts/{account_id}/browser-rendering/content",
1090
+ }),
1091
+ ),
1094
1092
  ) as unknown as Schema.Codec<CreateContentRequest>;
1095
1093
 
1096
1094
  export type CreateContentResponse = string;
1097
1095
 
1098
- export const CreateContentResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1099
- () => Schema.String.pipe(T.ResponsePath("result")),
1096
+ export const CreateContentResponse = /*@__PURE__*/ Schema.suspend(() =>
1097
+ Schema.String.pipe(T.ResponsePath("result")),
1100
1098
  ) as unknown as Schema.Codec<CreateContentResponse>;
1101
1099
 
1102
1100
  export type CreateContentError = DefaultErrors;
@@ -1106,7 +1104,7 @@ export const createContent: API.OperationMethod<
1106
1104
  CreateContentResponse,
1107
1105
  CreateContentError,
1108
1106
  Credentials | HttpClient.HttpClient
1109
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1107
+ > = /*@__PURE__*/ API.make(() => ({
1110
1108
  input: CreateContentRequest,
1111
1109
  output: CreateContentResponse,
1112
1110
  errors: [],
@@ -1137,7 +1135,7 @@ export interface GetCrawlRequest {
1137
1135
  | (string & {});
1138
1136
  }
1139
1137
 
1140
- export const GetCrawlRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1138
+ export const GetCrawlRequest = /*@__PURE__*/ Schema.suspend(() =>
1141
1139
  Schema.Struct({
1142
1140
  jobId: Schema.String.pipe(T.HttpPath("jobId")),
1143
1141
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1198,7 +1196,7 @@ export interface GetCrawlResponse {
1198
1196
  cursor?: string | null;
1199
1197
  }
1200
1198
 
1201
- export const GetCrawlResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1199
+ export const GetCrawlResponse = /*@__PURE__*/ Schema.suspend(() =>
1202
1200
  Schema.Struct({
1203
1201
  id: Schema.String,
1204
1202
  browserSecondsUsed: Schema.Number,
@@ -1218,7 +1216,7 @@ export const getCrawl: API.OperationMethod<
1218
1216
  GetCrawlResponse,
1219
1217
  GetCrawlError,
1220
1218
  Credentials | HttpClient.HttpClient
1221
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1219
+ > = /*@__PURE__*/ API.make(() => ({
1222
1220
  input: GetCrawlRequest,
1223
1221
  output: GetCrawlResponse,
1224
1222
  errors: [],
@@ -1387,124 +1385,123 @@ export interface CreateCrawlRequest {
1387
1385
  waitForTimeout?: number;
1388
1386
  }
1389
1387
 
1390
- export const CreateCrawlRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1391
- () =>
1392
- Schema.Struct({
1393
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1394
- cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
1395
- url: Schema.String,
1396
- actionTimeout: Schema.optional(Schema.Number),
1397
- addScriptTag: Schema.optional(Schema.Array(AddScriptTag)),
1398
- addStyleTag: Schema.optional(Schema.Array(AddStyleTag)),
1399
- allowRequestPattern: Schema.optional(Schema.Array(Schema.String)),
1400
- allowResourceTypes: Schema.optional(
1401
- Schema.Array(
1402
- Schema.Union([
1403
- Schema.Literals([
1404
- "document",
1405
- "stylesheet",
1406
- "image",
1407
- "media",
1408
- "font",
1409
- "script",
1410
- "texttrack",
1411
- "xhr",
1412
- "fetch",
1413
- "prefetch",
1414
- "eventsource",
1415
- "websocket",
1416
- "manifest",
1417
- "signedexchange",
1418
- "ping",
1419
- "cspviolationreport",
1420
- "preflight",
1421
- "other",
1422
- ]),
1423
- Schema.String,
1388
+ export const CreateCrawlRequest = /*@__PURE__*/ Schema.suspend(() =>
1389
+ Schema.Struct({
1390
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1391
+ cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
1392
+ url: Schema.String,
1393
+ actionTimeout: Schema.optional(Schema.Number),
1394
+ addScriptTag: Schema.optional(Schema.Array(AddScriptTag)),
1395
+ addStyleTag: Schema.optional(Schema.Array(AddStyleTag)),
1396
+ allowRequestPattern: Schema.optional(Schema.Array(Schema.String)),
1397
+ allowResourceTypes: Schema.optional(
1398
+ Schema.Array(
1399
+ Schema.Union([
1400
+ Schema.Literals([
1401
+ "document",
1402
+ "stylesheet",
1403
+ "image",
1404
+ "media",
1405
+ "font",
1406
+ "script",
1407
+ "texttrack",
1408
+ "xhr",
1409
+ "fetch",
1410
+ "prefetch",
1411
+ "eventsource",
1412
+ "websocket",
1413
+ "manifest",
1414
+ "signedexchange",
1415
+ "ping",
1416
+ "cspviolationreport",
1417
+ "preflight",
1418
+ "other",
1424
1419
  ]),
1425
- ),
1420
+ Schema.String,
1421
+ ]),
1426
1422
  ),
1427
- authenticate: Schema.optional(Authenticate),
1428
- bestAttempt: Schema.optional(Schema.Boolean),
1429
- cookies: Schema.optional(Schema.Array(Cookie)),
1430
- crawlPurposes: Schema.optional(
1431
- Schema.Array(
1432
- Schema.Union([
1433
- Schema.Literals(["search", "ai-input", "ai-train"]),
1434
- Schema.String,
1435
- ]),
1436
- ),
1423
+ ),
1424
+ authenticate: Schema.optional(Authenticate),
1425
+ bestAttempt: Schema.optional(Schema.Boolean),
1426
+ cookies: Schema.optional(Schema.Array(Cookie)),
1427
+ crawlPurposes: Schema.optional(
1428
+ Schema.Array(
1429
+ Schema.Union([
1430
+ Schema.Literals(["search", "ai-input", "ai-train"]),
1431
+ Schema.String,
1432
+ ]),
1437
1433
  ),
1438
- depth: Schema.optional(Schema.Number),
1439
- emulateMediaType: Schema.optional(Schema.String),
1440
- formats: Schema.optional(
1441
- Schema.Array(
1442
- Schema.Union([
1443
- Schema.Literals(["html", "markdown", "json"]),
1444
- Schema.String,
1445
- ]),
1446
- ),
1434
+ ),
1435
+ depth: Schema.optional(Schema.Number),
1436
+ emulateMediaType: Schema.optional(Schema.String),
1437
+ formats: Schema.optional(
1438
+ Schema.Array(
1439
+ Schema.Union([
1440
+ Schema.Literals(["html", "markdown", "json"]),
1441
+ Schema.String,
1442
+ ]),
1447
1443
  ),
1448
- gotoOptions: Schema.optional(GotoOptions),
1449
- jsonOptions: Schema.optional(JsonOptions),
1450
- limit: Schema.optional(Schema.Number),
1451
- maxAge: Schema.optional(Schema.Number),
1452
- modifiedSince: Schema.optional(Schema.Number),
1453
- options: Schema.optional(Options),
1454
- rejectRequestPattern: Schema.optional(Schema.Array(Schema.String)),
1455
- rejectResourceTypes: Schema.optional(
1456
- Schema.Array(
1457
- Schema.Union([
1458
- Schema.Literals([
1459
- "document",
1460
- "stylesheet",
1461
- "image",
1462
- "media",
1463
- "font",
1464
- "script",
1465
- "texttrack",
1466
- "xhr",
1467
- "fetch",
1468
- "prefetch",
1469
- "eventsource",
1470
- "websocket",
1471
- "manifest",
1472
- "signedexchange",
1473
- "ping",
1474
- "cspviolationreport",
1475
- "preflight",
1476
- "other",
1477
- ]),
1478
- Schema.String,
1479
- ]),
1480
- ),
1481
- ),
1482
- render: Schema.optional(Schema.Boolean),
1483
- setExtraHTTPHeaders: Schema.optional(
1484
- Schema.Record(Schema.String, Schema.Unknown),
1485
- ),
1486
- setJavaScriptEnabled: Schema.optional(Schema.Boolean),
1487
- source: Schema.optional(
1444
+ ),
1445
+ gotoOptions: Schema.optional(GotoOptions),
1446
+ jsonOptions: Schema.optional(JsonOptions),
1447
+ limit: Schema.optional(Schema.Number),
1448
+ maxAge: Schema.optional(Schema.Number),
1449
+ modifiedSince: Schema.optional(Schema.Number),
1450
+ options: Schema.optional(Options),
1451
+ rejectRequestPattern: Schema.optional(Schema.Array(Schema.String)),
1452
+ rejectResourceTypes: Schema.optional(
1453
+ Schema.Array(
1488
1454
  Schema.Union([
1489
- Schema.Literals(["sitemaps", "links", "all"]),
1455
+ Schema.Literals([
1456
+ "document",
1457
+ "stylesheet",
1458
+ "image",
1459
+ "media",
1460
+ "font",
1461
+ "script",
1462
+ "texttrack",
1463
+ "xhr",
1464
+ "fetch",
1465
+ "prefetch",
1466
+ "eventsource",
1467
+ "websocket",
1468
+ "manifest",
1469
+ "signedexchange",
1470
+ "ping",
1471
+ "cspviolationreport",
1472
+ "preflight",
1473
+ "other",
1474
+ ]),
1490
1475
  Schema.String,
1491
1476
  ]),
1492
1477
  ),
1493
- viewport: Schema.optional(Viewport),
1494
- waitForSelector: Schema.optional(WaitForSelector),
1495
- waitForTimeout: Schema.optional(Schema.Number),
1496
- }).pipe(
1497
- T.Http({
1498
- method: "POST",
1499
- path: "/accounts/{account_id}/browser-rendering/crawl",
1500
- }),
1501
1478
  ),
1479
+ render: Schema.optional(Schema.Boolean),
1480
+ setExtraHTTPHeaders: Schema.optional(
1481
+ Schema.Record(Schema.String, Schema.Unknown),
1482
+ ),
1483
+ setJavaScriptEnabled: Schema.optional(Schema.Boolean),
1484
+ source: Schema.optional(
1485
+ Schema.Union([
1486
+ Schema.Literals(["sitemaps", "links", "all"]),
1487
+ Schema.String,
1488
+ ]),
1489
+ ),
1490
+ viewport: Schema.optional(Viewport),
1491
+ waitForSelector: Schema.optional(WaitForSelector),
1492
+ waitForTimeout: Schema.optional(Schema.Number),
1493
+ }).pipe(
1494
+ T.Http({
1495
+ method: "POST",
1496
+ path: "/accounts/{account_id}/browser-rendering/crawl",
1497
+ }),
1498
+ ),
1502
1499
  ) as unknown as Schema.Codec<CreateCrawlRequest>;
1503
1500
 
1504
1501
  export type CreateCrawlResponse = string;
1505
1502
 
1506
- export const CreateCrawlResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1507
- () => Schema.String.pipe(T.ResponsePath("result")),
1503
+ export const CreateCrawlResponse = /*@__PURE__*/ Schema.suspend(() =>
1504
+ Schema.String.pipe(T.ResponsePath("result")),
1508
1505
  ) as unknown as Schema.Codec<CreateCrawlResponse>;
1509
1506
 
1510
1507
  export type CreateCrawlError = DefaultErrors;
@@ -1514,7 +1511,7 @@ export const createCrawl: API.OperationMethod<
1514
1511
  CreateCrawlResponse,
1515
1512
  CreateCrawlError,
1516
1513
  Credentials | HttpClient.HttpClient
1517
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1514
+ > = /*@__PURE__*/ API.make(() => ({
1518
1515
  input: CreateCrawlRequest,
1519
1516
  output: CreateCrawlResponse,
1520
1517
  errors: [],
@@ -1526,17 +1523,16 @@ export interface DeleteCrawlRequest {
1526
1523
  accountId: string;
1527
1524
  }
1528
1525
 
1529
- export const DeleteCrawlRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1530
- () =>
1531
- Schema.Struct({
1532
- jobId: Schema.String.pipe(T.HttpPath("jobId")),
1533
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1534
- }).pipe(
1535
- T.Http({
1536
- method: "DELETE",
1537
- path: "/accounts/{account_id}/browser-rendering/crawl/{jobId}",
1538
- }),
1539
- ),
1526
+ export const DeleteCrawlRequest = /*@__PURE__*/ Schema.suspend(() =>
1527
+ Schema.Struct({
1528
+ jobId: Schema.String.pipe(T.HttpPath("jobId")),
1529
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1530
+ }).pipe(
1531
+ T.Http({
1532
+ method: "DELETE",
1533
+ path: "/accounts/{account_id}/browser-rendering/crawl/{jobId}",
1534
+ }),
1535
+ ),
1540
1536
  ) as unknown as Schema.Codec<DeleteCrawlRequest>;
1541
1537
 
1542
1538
  export interface DeleteCrawlResponse {
@@ -1546,14 +1542,13 @@ export interface DeleteCrawlResponse {
1546
1542
  message: string;
1547
1543
  }
1548
1544
 
1549
- export const DeleteCrawlResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1550
- () =>
1551
- Schema.Struct({
1552
- jobId: Schema.String,
1553
- message: Schema.String,
1554
- })
1555
- .pipe(Schema.encodeKeys({ jobId: "job_id", message: "message" }))
1556
- .pipe(T.ResponsePath("result")),
1545
+ export const DeleteCrawlResponse = /*@__PURE__*/ Schema.suspend(() =>
1546
+ Schema.Struct({
1547
+ jobId: Schema.String,
1548
+ message: Schema.String,
1549
+ })
1550
+ .pipe(Schema.encodeKeys({ jobId: "job_id", message: "message" }))
1551
+ .pipe(T.ResponsePath("result")),
1557
1552
  ) as unknown as Schema.Codec<DeleteCrawlResponse>;
1558
1553
 
1559
1554
  export type DeleteCrawlError = DefaultErrors;
@@ -1563,7 +1558,7 @@ export const deleteCrawl: API.OperationMethod<
1563
1558
  DeleteCrawlResponse,
1564
1559
  DeleteCrawlError,
1565
1560
  Credentials | HttpClient.HttpClient
1566
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1561
+ > = /*@__PURE__*/ API.make(() => ({
1567
1562
  input: DeleteCrawlRequest,
1568
1563
  output: DeleteCrawlResponse,
1569
1564
  errors: [],
@@ -1587,7 +1582,7 @@ export interface CreateDevtoolBrowserRequest {
1587
1582
  }
1588
1583
 
1589
1584
  export const CreateDevtoolBrowserRequest =
1590
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1585
+ /*@__PURE__*/ Schema.suspend(() =>
1591
1586
  Schema.Struct({
1592
1587
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1593
1588
  keepAlive: Schema.optional(Schema.Number).pipe(T.HttpQuery("keep_alive")),
@@ -1610,7 +1605,7 @@ export interface CreateDevtoolBrowserResponse {
1610
1605
  }
1611
1606
 
1612
1607
  export const CreateDevtoolBrowserResponse =
1613
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1608
+ /*@__PURE__*/ Schema.suspend(() =>
1614
1609
  Schema.Struct({
1615
1610
  sessionId: Schema.String,
1616
1611
  webSocketDebuggerUrl: Schema.optional(
@@ -1626,7 +1621,7 @@ export const createDevtoolBrowser: API.OperationMethod<
1626
1621
  CreateDevtoolBrowserResponse,
1627
1622
  CreateDevtoolBrowserError,
1628
1623
  Credentials | HttpClient.HttpClient
1629
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1624
+ > = /*@__PURE__*/ API.make(() => ({
1630
1625
  input: CreateDevtoolBrowserRequest,
1631
1626
  output: CreateDevtoolBrowserResponse,
1632
1627
  errors: [],
@@ -1639,7 +1634,7 @@ export interface DeleteDevtoolBrowserRequest {
1639
1634
  }
1640
1635
 
1641
1636
  export const DeleteDevtoolBrowserRequest =
1642
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1637
+ /*@__PURE__*/ Schema.suspend(() =>
1643
1638
  Schema.Struct({
1644
1639
  sessionId: Schema.String.pipe(T.HttpPath("sessionId")),
1645
1640
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1656,7 +1651,7 @@ export interface DeleteDevtoolBrowserResponse {
1656
1651
  }
1657
1652
 
1658
1653
  export const DeleteDevtoolBrowserResponse =
1659
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1654
+ /*@__PURE__*/ Schema.suspend(() =>
1660
1655
  Schema.Struct({
1661
1656
  status: Schema.Union([
1662
1657
  Schema.Literals(["closing", "closed"]),
@@ -1672,7 +1667,7 @@ export const deleteDevtoolBrowser: API.OperationMethod<
1672
1667
  DeleteDevtoolBrowserResponse,
1673
1668
  DeleteDevtoolBrowserError,
1674
1669
  Credentials | HttpClient.HttpClient
1675
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1670
+ > = /*@__PURE__*/ API.make(() => ({
1676
1671
  input: DeleteDevtoolBrowserRequest,
1677
1672
  output: DeleteDevtoolBrowserResponse,
1678
1673
  errors: [],
@@ -1691,7 +1686,7 @@ export interface ConnectDevtoolBrowserRequest {
1691
1686
  }
1692
1687
 
1693
1688
  export const ConnectDevtoolBrowserRequest =
1694
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1689
+ /*@__PURE__*/ Schema.suspend(() =>
1695
1690
  Schema.Struct({
1696
1691
  sessionId: Schema.String.pipe(T.HttpPath("sessionId")),
1697
1692
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1709,7 +1704,7 @@ export const ConnectDevtoolBrowserRequest =
1709
1704
  export type ConnectDevtoolBrowserResponse = unknown;
1710
1705
 
1711
1706
  export const ConnectDevtoolBrowserResponse =
1712
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1707
+ /*@__PURE__*/ Schema.suspend(
1713
1708
  () => Schema.Unknown,
1714
1709
  ) as unknown as Schema.Codec<ConnectDevtoolBrowserResponse>;
1715
1710
 
@@ -1720,7 +1715,7 @@ export const connectDevtoolBrowser: API.OperationMethod<
1720
1715
  ConnectDevtoolBrowserResponse,
1721
1716
  ConnectDevtoolBrowserError,
1722
1717
  Credentials | HttpClient.HttpClient
1723
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1718
+ > = /*@__PURE__*/ API.make(() => ({
1724
1719
  input: ConnectDevtoolBrowserRequest,
1725
1720
  output: ConnectDevtoolBrowserResponse,
1726
1721
  errors: [],
@@ -1738,7 +1733,7 @@ export interface LaunchDevtoolBrowserRequest {
1738
1733
  }
1739
1734
 
1740
1735
  export const LaunchDevtoolBrowserRequest =
1741
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1736
+ /*@__PURE__*/ Schema.suspend(() =>
1742
1737
  Schema.Struct({
1743
1738
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1744
1739
  keepAlive: Schema.optional(Schema.Number).pipe(T.HttpQuery("keep_alive")),
@@ -1755,7 +1750,7 @@ export const LaunchDevtoolBrowserRequest =
1755
1750
  export type LaunchDevtoolBrowserResponse = unknown;
1756
1751
 
1757
1752
  export const LaunchDevtoolBrowserResponse =
1758
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1753
+ /*@__PURE__*/ Schema.suspend(
1759
1754
  () => Schema.Unknown,
1760
1755
  ) as unknown as Schema.Codec<LaunchDevtoolBrowserResponse>;
1761
1756
 
@@ -1766,7 +1761,7 @@ export const launchDevtoolBrowser: API.OperationMethod<
1766
1761
  LaunchDevtoolBrowserResponse,
1767
1762
  LaunchDevtoolBrowserError,
1768
1763
  Credentials | HttpClient.HttpClient
1769
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1764
+ > = /*@__PURE__*/ API.make(() => ({
1770
1765
  input: LaunchDevtoolBrowserRequest,
1771
1766
  output: LaunchDevtoolBrowserResponse,
1772
1767
  errors: [],
@@ -1779,7 +1774,7 @@ export interface ProtocolDevtoolBrowserRequest {
1779
1774
  }
1780
1775
 
1781
1776
  export const ProtocolDevtoolBrowserRequest =
1782
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1777
+ /*@__PURE__*/ Schema.suspend(() =>
1783
1778
  Schema.Struct({
1784
1779
  sessionId: Schema.String.pipe(T.HttpPath("sessionId")),
1785
1780
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1806,7 +1801,7 @@ export interface ProtocolDevtoolBrowserResponse {
1806
1801
  }
1807
1802
 
1808
1803
  export const ProtocolDevtoolBrowserResponse =
1809
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1804
+ /*@__PURE__*/ Schema.suspend(() =>
1810
1805
  Schema.Struct({
1811
1806
  domains: Schema.Array(Domain),
1812
1807
  version: Schema.optional(Schema.Union([Version, Schema.Null])),
@@ -1820,7 +1815,7 @@ export const protocolDevtoolBrowser: API.OperationMethod<
1820
1815
  ProtocolDevtoolBrowserResponse,
1821
1816
  ProtocolDevtoolBrowserError,
1822
1817
  Credentials | HttpClient.HttpClient
1823
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1818
+ > = /*@__PURE__*/ API.make(() => ({
1824
1819
  input: ProtocolDevtoolBrowserRequest,
1825
1820
  output: ProtocolDevtoolBrowserResponse,
1826
1821
  errors: [],
@@ -1833,7 +1828,7 @@ export interface VersionDevtoolBrowserRequest {
1833
1828
  }
1834
1829
 
1835
1830
  export const VersionDevtoolBrowserRequest =
1836
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1831
+ /*@__PURE__*/ Schema.suspend(() =>
1837
1832
  Schema.Struct({
1838
1833
  sessionId: Schema.String.pipe(T.HttpPath("sessionId")),
1839
1834
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1861,7 +1856,7 @@ export interface VersionDevtoolBrowserResponse {
1861
1856
  }
1862
1857
 
1863
1858
  export const VersionDevtoolBrowserResponse =
1864
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1859
+ /*@__PURE__*/ Schema.suspend(() =>
1865
1860
  Schema.Struct({
1866
1861
  browser: Schema.String,
1867
1862
  protocolVersion: Schema.String,
@@ -1888,7 +1883,7 @@ export const versionDevtoolBrowser: API.OperationMethod<
1888
1883
  VersionDevtoolBrowserResponse,
1889
1884
  VersionDevtoolBrowserError,
1890
1885
  Credentials | HttpClient.HttpClient
1891
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1886
+ > = /*@__PURE__*/ API.make(() => ({
1892
1887
  input: VersionDevtoolBrowserRequest,
1893
1888
  output: VersionDevtoolBrowserResponse,
1894
1889
  errors: [],
@@ -1906,7 +1901,7 @@ export interface GetDevtoolBrowserPageRequest {
1906
1901
  }
1907
1902
 
1908
1903
  export const GetDevtoolBrowserPageRequest =
1909
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1904
+ /*@__PURE__*/ Schema.suspend(() =>
1910
1905
  Schema.Struct({
1911
1906
  sessionId: Schema.String.pipe(T.HttpPath("sessionId")),
1912
1907
  targetId: Schema.String.pipe(T.HttpPath("targetId")),
@@ -1922,7 +1917,7 @@ export const GetDevtoolBrowserPageRequest =
1922
1917
  export type GetDevtoolBrowserPageResponse = unknown;
1923
1918
 
1924
1919
  export const GetDevtoolBrowserPageResponse =
1925
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1920
+ /*@__PURE__*/ Schema.suspend(
1926
1921
  () => Schema.Unknown,
1927
1922
  ) as unknown as Schema.Codec<GetDevtoolBrowserPageResponse>;
1928
1923
 
@@ -1933,7 +1928,7 @@ export const getDevtoolBrowserPage: API.OperationMethod<
1933
1928
  GetDevtoolBrowserPageResponse,
1934
1929
  GetDevtoolBrowserPageError,
1935
1930
  Credentials | HttpClient.HttpClient
1936
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1931
+ > = /*@__PURE__*/ API.make(() => ({
1937
1932
  input: GetDevtoolBrowserPageRequest,
1938
1933
  output: GetDevtoolBrowserPageResponse,
1939
1934
  errors: [],
@@ -1951,7 +1946,7 @@ export interface GetDevtoolBrowserTargetRequest {
1951
1946
  }
1952
1947
 
1953
1948
  export const GetDevtoolBrowserTargetRequest =
1954
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1949
+ /*@__PURE__*/ Schema.suspend(() =>
1955
1950
  Schema.Struct({
1956
1951
  sessionId: Schema.String.pipe(T.HttpPath("sessionId")),
1957
1952
  targetId: Schema.String.pipe(T.HttpPath("targetId")),
@@ -1982,7 +1977,7 @@ export interface GetDevtoolBrowserTargetResponse {
1982
1977
  }
1983
1978
 
1984
1979
  export const GetDevtoolBrowserTargetResponse =
1985
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1980
+ /*@__PURE__*/ Schema.suspend(() =>
1986
1981
  Schema.Struct({
1987
1982
  id: Schema.String,
1988
1983
  type: Schema.String,
@@ -2005,7 +2000,7 @@ export const getDevtoolBrowserTarget: API.OperationMethod<
2005
2000
  GetDevtoolBrowserTargetResponse,
2006
2001
  GetDevtoolBrowserTargetError,
2007
2002
  Credentials | HttpClient.HttpClient
2008
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2003
+ > = /*@__PURE__*/ API.make(() => ({
2009
2004
  input: GetDevtoolBrowserTargetRequest,
2010
2005
  output: GetDevtoolBrowserTargetResponse,
2011
2006
  errors: [],
@@ -2018,7 +2013,7 @@ export interface ListDevtoolBrowserTargetsRequest {
2018
2013
  }
2019
2014
 
2020
2015
  export const ListDevtoolBrowserTargetsRequest =
2021
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2016
+ /*@__PURE__*/ Schema.suspend(() =>
2022
2017
  Schema.Struct({
2023
2018
  sessionId: Schema.String.pipe(T.HttpPath("sessionId")),
2024
2019
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -2041,7 +2036,7 @@ export type ListDevtoolBrowserTargetsResponse = {
2041
2036
  }[];
2042
2037
 
2043
2038
  export const ListDevtoolBrowserTargetsResponse =
2044
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2039
+ /*@__PURE__*/ Schema.suspend(() =>
2045
2040
  Schema.Array(TargetListResponseItem),
2046
2041
  ) as unknown as Schema.Codec<ListDevtoolBrowserTargetsResponse>;
2047
2042
 
@@ -2052,7 +2047,7 @@ export const listDevtoolBrowserTargets: API.OperationMethod<
2052
2047
  ListDevtoolBrowserTargetsResponse,
2053
2048
  ListDevtoolBrowserTargetsError,
2054
2049
  Credentials | HttpClient.HttpClient
2055
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2050
+ > = /*@__PURE__*/ API.make(() => ({
2056
2051
  input: ListDevtoolBrowserTargetsRequest,
2057
2052
  output: ListDevtoolBrowserTargetsResponse,
2058
2053
  errors: [],
@@ -2067,7 +2062,7 @@ export interface CreateDevtoolBrowserTargetRequest {
2067
2062
  }
2068
2063
 
2069
2064
  export const CreateDevtoolBrowserTargetRequest =
2070
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2065
+ /*@__PURE__*/ Schema.suspend(() =>
2071
2066
  Schema.Struct({
2072
2067
  sessionId: Schema.String.pipe(T.HttpPath("sessionId")),
2073
2068
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -2098,7 +2093,7 @@ export interface CreateDevtoolBrowserTargetResponse {
2098
2093
  }
2099
2094
 
2100
2095
  export const CreateDevtoolBrowserTargetResponse =
2101
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2096
+ /*@__PURE__*/ Schema.suspend(() =>
2102
2097
  Schema.Struct({
2103
2098
  id: Schema.String,
2104
2099
  type: Schema.String,
@@ -2121,7 +2116,7 @@ export const createDevtoolBrowserTarget: API.OperationMethod<
2121
2116
  CreateDevtoolBrowserTargetResponse,
2122
2117
  CreateDevtoolBrowserTargetError,
2123
2118
  Credentials | HttpClient.HttpClient
2124
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2119
+ > = /*@__PURE__*/ API.make(() => ({
2125
2120
  input: CreateDevtoolBrowserTargetRequest,
2126
2121
  output: CreateDevtoolBrowserTargetResponse,
2127
2122
  errors: [],
@@ -2135,7 +2130,7 @@ export interface ActivateDevtoolBrowserTargetRequest {
2135
2130
  }
2136
2131
 
2137
2132
  export const ActivateDevtoolBrowserTargetRequest =
2138
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2133
+ /*@__PURE__*/ Schema.suspend(() =>
2139
2134
  Schema.Struct({
2140
2135
  sessionId: Schema.String.pipe(T.HttpPath("sessionId")),
2141
2136
  targetId: Schema.String.pipe(T.HttpPath("targetId")),
@@ -2154,7 +2149,7 @@ export interface ActivateDevtoolBrowserTargetResponse {
2154
2149
  }
2155
2150
 
2156
2151
  export const ActivateDevtoolBrowserTargetResponse =
2157
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2152
+ /*@__PURE__*/ Schema.suspend(() =>
2158
2153
  Schema.Struct({
2159
2154
  message: Schema.String,
2160
2155
  }),
@@ -2167,7 +2162,7 @@ export const activateDevtoolBrowserTarget: API.OperationMethod<
2167
2162
  ActivateDevtoolBrowserTargetResponse,
2168
2163
  ActivateDevtoolBrowserTargetError,
2169
2164
  Credentials | HttpClient.HttpClient
2170
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2165
+ > = /*@__PURE__*/ API.make(() => ({
2171
2166
  input: ActivateDevtoolBrowserTargetRequest,
2172
2167
  output: ActivateDevtoolBrowserTargetResponse,
2173
2168
  errors: [],
@@ -2181,7 +2176,7 @@ export interface CloseDevtoolBrowserTargetRequest {
2181
2176
  }
2182
2177
 
2183
2178
  export const CloseDevtoolBrowserTargetRequest =
2184
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2179
+ /*@__PURE__*/ Schema.suspend(() =>
2185
2180
  Schema.Struct({
2186
2181
  sessionId: Schema.String.pipe(T.HttpPath("sessionId")),
2187
2182
  targetId: Schema.String.pipe(T.HttpPath("targetId")),
@@ -2200,7 +2195,7 @@ export interface CloseDevtoolBrowserTargetResponse {
2200
2195
  }
2201
2196
 
2202
2197
  export const CloseDevtoolBrowserTargetResponse =
2203
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2198
+ /*@__PURE__*/ Schema.suspend(() =>
2204
2199
  Schema.Struct({
2205
2200
  message: Schema.String,
2206
2201
  }),
@@ -2213,7 +2208,7 @@ export const closeDevtoolBrowserTarget: API.OperationMethod<
2213
2208
  CloseDevtoolBrowserTargetResponse,
2214
2209
  CloseDevtoolBrowserTargetError,
2215
2210
  Credentials | HttpClient.HttpClient
2216
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2211
+ > = /*@__PURE__*/ API.make(() => ({
2217
2212
  input: CloseDevtoolBrowserTargetRequest,
2218
2213
  output: CloseDevtoolBrowserTargetResponse,
2219
2214
  errors: [],
@@ -2230,7 +2225,7 @@ export interface GetDevtoolSessionRequest {
2230
2225
  }
2231
2226
 
2232
2227
  export const GetDevtoolSessionRequest =
2233
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2228
+ /*@__PURE__*/ Schema.suspend(() =>
2234
2229
  Schema.Struct({
2235
2230
  sessionId: Schema.String.pipe(T.HttpPath("sessionId")),
2236
2231
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -2268,7 +2263,7 @@ export interface GetDevtoolSessionResponse {
2268
2263
  }
2269
2264
 
2270
2265
  export const GetDevtoolSessionResponse =
2271
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2266
+ /*@__PURE__*/ Schema.suspend(() =>
2272
2267
  Schema.Struct({
2273
2268
  sessionId: Schema.String,
2274
2269
  closeReason: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -2301,7 +2296,7 @@ export const getDevtoolSession: API.OperationMethod<
2301
2296
  GetDevtoolSessionResponse,
2302
2297
  GetDevtoolSessionError,
2303
2298
  Credentials | HttpClient.HttpClient
2304
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2299
+ > = /*@__PURE__*/ API.make(() => ({
2305
2300
  input: GetDevtoolSessionRequest,
2306
2301
  output: GetDevtoolSessionResponse,
2307
2302
  errors: [],
@@ -2317,7 +2312,7 @@ export interface ListDevtoolSessionsRequest {
2317
2312
  }
2318
2313
 
2319
2314
  export const ListDevtoolSessionsRequest =
2320
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2315
+ /*@__PURE__*/ Schema.suspend(() =>
2321
2316
  Schema.Struct({
2322
2317
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2323
2318
  limit: Schema.optional(Schema.Number).pipe(T.HttpQuery("limit")),
@@ -2345,7 +2340,7 @@ export type ListDevtoolSessionsResponse = {
2345
2340
  }[];
2346
2341
 
2347
2342
  export const ListDevtoolSessionsResponse =
2348
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2343
+ /*@__PURE__*/ Schema.suspend(() =>
2349
2344
  Schema.Array(SessionListResponseItem),
2350
2345
  ) as unknown as Schema.Codec<ListDevtoolSessionsResponse>;
2351
2346
 
@@ -2356,7 +2351,7 @@ export const listDevtoolSessions: API.OperationMethod<
2356
2351
  ListDevtoolSessionsResponse,
2357
2352
  ListDevtoolSessionsError,
2358
2353
  Credentials | HttpClient.HttpClient
2359
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2354
+ > = /*@__PURE__*/ API.make(() => ({
2360
2355
  input: ListDevtoolSessionsRequest,
2361
2356
  output: ListDevtoolSessionsResponse,
2362
2357
  errors: [],
@@ -2510,141 +2505,139 @@ export interface CreateJsonRequest {
2510
2505
  url?: string;
2511
2506
  }
2512
2507
 
2513
- export const CreateJsonRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2514
- () =>
2515
- Schema.Struct({
2516
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2517
- cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
2518
- html: Schema.optional(Schema.String),
2519
- actionTimeout: Schema.optional(Schema.Number),
2520
- addScriptTag: Schema.optional(Schema.Array(AddScriptTag)),
2521
- addStyleTag: Schema.optional(Schema.Array(AddStyleTag)),
2522
- allowRequestPattern: Schema.optional(Schema.Array(Schema.String)),
2523
- allowResourceTypes: Schema.optional(
2524
- Schema.Array(
2525
- Schema.Union([
2526
- Schema.Literals([
2527
- "document",
2528
- "stylesheet",
2529
- "image",
2530
- "media",
2531
- "font",
2532
- "script",
2533
- "texttrack",
2534
- "xhr",
2535
- "fetch",
2536
- "prefetch",
2537
- "eventsource",
2538
- "websocket",
2539
- "manifest",
2540
- "signedexchange",
2541
- "ping",
2542
- "cspviolationreport",
2543
- "preflight",
2544
- "other",
2545
- ]),
2546
- Schema.String,
2508
+ export const CreateJsonRequest = /*@__PURE__*/ Schema.suspend(() =>
2509
+ Schema.Struct({
2510
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2511
+ cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
2512
+ html: Schema.optional(Schema.String),
2513
+ actionTimeout: Schema.optional(Schema.Number),
2514
+ addScriptTag: Schema.optional(Schema.Array(AddScriptTag)),
2515
+ addStyleTag: Schema.optional(Schema.Array(AddStyleTag)),
2516
+ allowRequestPattern: Schema.optional(Schema.Array(Schema.String)),
2517
+ allowResourceTypes: Schema.optional(
2518
+ Schema.Array(
2519
+ Schema.Union([
2520
+ Schema.Literals([
2521
+ "document",
2522
+ "stylesheet",
2523
+ "image",
2524
+ "media",
2525
+ "font",
2526
+ "script",
2527
+ "texttrack",
2528
+ "xhr",
2529
+ "fetch",
2530
+ "prefetch",
2531
+ "eventsource",
2532
+ "websocket",
2533
+ "manifest",
2534
+ "signedexchange",
2535
+ "ping",
2536
+ "cspviolationreport",
2537
+ "preflight",
2538
+ "other",
2547
2539
  ]),
2548
- ),
2540
+ Schema.String,
2541
+ ]),
2549
2542
  ),
2550
- authenticate: Schema.optional(Authenticate),
2551
- bestAttempt: Schema.optional(Schema.Boolean),
2552
- cookies: Schema.optional(Schema.Array(Cookie)),
2553
- customAi: Schema.optional(Schema.Array(CustomAI)),
2554
- emulateMediaType: Schema.optional(Schema.String),
2555
- gotoOptions: Schema.optional(GotoOptions),
2556
- prompt: Schema.optional(Schema.String),
2557
- rejectRequestPattern: Schema.optional(Schema.Array(Schema.String)),
2558
- rejectResourceTypes: Schema.optional(
2559
- Schema.Array(
2560
- Schema.Union([
2561
- Schema.Literals([
2562
- "document",
2563
- "stylesheet",
2564
- "image",
2565
- "media",
2566
- "font",
2567
- "script",
2568
- "texttrack",
2569
- "xhr",
2570
- "fetch",
2571
- "prefetch",
2572
- "eventsource",
2573
- "websocket",
2574
- "manifest",
2575
- "signedexchange",
2576
- "ping",
2577
- "cspviolationreport",
2578
- "preflight",
2579
- "other",
2580
- ]),
2581
- Schema.String,
2543
+ ),
2544
+ authenticate: Schema.optional(Authenticate),
2545
+ bestAttempt: Schema.optional(Schema.Boolean),
2546
+ cookies: Schema.optional(Schema.Array(Cookie)),
2547
+ customAi: Schema.optional(Schema.Array(CustomAI)),
2548
+ emulateMediaType: Schema.optional(Schema.String),
2549
+ gotoOptions: Schema.optional(GotoOptions),
2550
+ prompt: Schema.optional(Schema.String),
2551
+ rejectRequestPattern: Schema.optional(Schema.Array(Schema.String)),
2552
+ rejectResourceTypes: Schema.optional(
2553
+ Schema.Array(
2554
+ Schema.Union([
2555
+ Schema.Literals([
2556
+ "document",
2557
+ "stylesheet",
2558
+ "image",
2559
+ "media",
2560
+ "font",
2561
+ "script",
2562
+ "texttrack",
2563
+ "xhr",
2564
+ "fetch",
2565
+ "prefetch",
2566
+ "eventsource",
2567
+ "websocket",
2568
+ "manifest",
2569
+ "signedexchange",
2570
+ "ping",
2571
+ "cspviolationreport",
2572
+ "preflight",
2573
+ "other",
2582
2574
  ]),
2583
- ),
2584
- ),
2585
- responseFormat: Schema.optional(ResponseFormat),
2586
- setExtraHTTPHeaders: Schema.optional(
2587
- Schema.Record(Schema.String, Schema.Unknown),
2575
+ Schema.String,
2576
+ ]),
2588
2577
  ),
2589
- setJavaScriptEnabled: Schema.optional(Schema.Boolean),
2590
- userAgent: Schema.optional(Schema.String),
2591
- viewport: Schema.optional(Viewport),
2592
- waitForSelector: Schema.optional(WaitForSelector),
2593
- waitForTimeout: Schema.optional(Schema.Number),
2594
- url: Schema.optional(Schema.String),
2595
- }).pipe(
2596
- Schema.encodeKeys({
2597
- html: "html",
2598
- actionTimeout: "actionTimeout",
2599
- addScriptTag: "addScriptTag",
2600
- addStyleTag: "addStyleTag",
2601
- allowRequestPattern: "allowRequestPattern",
2602
- allowResourceTypes: "allowResourceTypes",
2603
- authenticate: "authenticate",
2604
- bestAttempt: "bestAttempt",
2605
- cookies: "cookies",
2606
- customAi: "custom_ai",
2607
- emulateMediaType: "emulateMediaType",
2608
- gotoOptions: "gotoOptions",
2609
- prompt: "prompt",
2610
- rejectRequestPattern: "rejectRequestPattern",
2611
- rejectResourceTypes: "rejectResourceTypes",
2612
- responseFormat: "response_format",
2613
- setExtraHTTPHeaders: "setExtraHTTPHeaders",
2614
- setJavaScriptEnabled: "setJavaScriptEnabled",
2615
- userAgent: "userAgent",
2616
- viewport: "viewport",
2617
- waitForSelector: "waitForSelector",
2618
- waitForTimeout: "waitForTimeout",
2619
- url: "url",
2620
- }),
2621
- T.Http({
2622
- method: "POST",
2623
- path: "/accounts/{account_id}/browser-rendering/json",
2624
- }),
2625
2578
  ),
2626
- ) as unknown as Schema.Codec<CreateJsonRequest>;
2627
-
2628
- export type CreateJsonResponse = Record<string, unknown>;
2629
-
2630
- export const CreateJsonResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2631
- () =>
2632
- Schema.Record(Schema.String, Schema.Unknown).pipe(T.ResponsePath("result")),
2633
- ) as unknown as Schema.Codec<CreateJsonResponse>;
2634
-
2635
- export type CreateJsonError = DefaultErrors;
2636
-
2637
- export const createJson: API.OperationMethod<
2638
- CreateJsonRequest,
2639
- CreateJsonResponse,
2640
- CreateJsonError,
2641
- Credentials | HttpClient.HttpClient
2642
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2643
- input: CreateJsonRequest,
2644
- output: CreateJsonResponse,
2645
- errors: [],
2646
- }));
2647
-
2579
+ responseFormat: Schema.optional(ResponseFormat),
2580
+ setExtraHTTPHeaders: Schema.optional(
2581
+ Schema.Record(Schema.String, Schema.Unknown),
2582
+ ),
2583
+ setJavaScriptEnabled: Schema.optional(Schema.Boolean),
2584
+ userAgent: Schema.optional(Schema.String),
2585
+ viewport: Schema.optional(Viewport),
2586
+ waitForSelector: Schema.optional(WaitForSelector),
2587
+ waitForTimeout: Schema.optional(Schema.Number),
2588
+ url: Schema.optional(Schema.String),
2589
+ }).pipe(
2590
+ Schema.encodeKeys({
2591
+ html: "html",
2592
+ actionTimeout: "actionTimeout",
2593
+ addScriptTag: "addScriptTag",
2594
+ addStyleTag: "addStyleTag",
2595
+ allowRequestPattern: "allowRequestPattern",
2596
+ allowResourceTypes: "allowResourceTypes",
2597
+ authenticate: "authenticate",
2598
+ bestAttempt: "bestAttempt",
2599
+ cookies: "cookies",
2600
+ customAi: "custom_ai",
2601
+ emulateMediaType: "emulateMediaType",
2602
+ gotoOptions: "gotoOptions",
2603
+ prompt: "prompt",
2604
+ rejectRequestPattern: "rejectRequestPattern",
2605
+ rejectResourceTypes: "rejectResourceTypes",
2606
+ responseFormat: "response_format",
2607
+ setExtraHTTPHeaders: "setExtraHTTPHeaders",
2608
+ setJavaScriptEnabled: "setJavaScriptEnabled",
2609
+ userAgent: "userAgent",
2610
+ viewport: "viewport",
2611
+ waitForSelector: "waitForSelector",
2612
+ waitForTimeout: "waitForTimeout",
2613
+ url: "url",
2614
+ }),
2615
+ T.Http({
2616
+ method: "POST",
2617
+ path: "/accounts/{account_id}/browser-rendering/json",
2618
+ }),
2619
+ ),
2620
+ ) as unknown as Schema.Codec<CreateJsonRequest>;
2621
+
2622
+ export type CreateJsonResponse = Record<string, unknown>;
2623
+
2624
+ export const CreateJsonResponse = /*@__PURE__*/ Schema.suspend(() =>
2625
+ Schema.Record(Schema.String, Schema.Unknown).pipe(T.ResponsePath("result")),
2626
+ ) as unknown as Schema.Codec<CreateJsonResponse>;
2627
+
2628
+ export type CreateJsonError = DefaultErrors;
2629
+
2630
+ export const createJson: API.OperationMethod<
2631
+ CreateJsonRequest,
2632
+ CreateJsonResponse,
2633
+ CreateJsonError,
2634
+ Credentials | HttpClient.HttpClient
2635
+ > = /*@__PURE__*/ API.make(() => ({
2636
+ input: CreateJsonRequest,
2637
+ output: CreateJsonResponse,
2638
+ errors: [],
2639
+ }));
2640
+
2648
2641
  // =============================================================================
2649
2642
  // Link
2650
2643
  // =============================================================================
@@ -2788,99 +2781,98 @@ export interface CreateLinkRequest {
2788
2781
  url?: string;
2789
2782
  }
2790
2783
 
2791
- export const CreateLinkRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2792
- () =>
2793
- Schema.Struct({
2794
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2795
- cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
2796
- html: Schema.optional(Schema.String),
2797
- actionTimeout: Schema.optional(Schema.Number),
2798
- addScriptTag: Schema.optional(Schema.Array(AddScriptTag)),
2799
- addStyleTag: Schema.optional(Schema.Array(AddStyleTag)),
2800
- allowRequestPattern: Schema.optional(Schema.Array(Schema.String)),
2801
- allowResourceTypes: Schema.optional(
2802
- Schema.Array(
2803
- Schema.Union([
2804
- Schema.Literals([
2805
- "document",
2806
- "stylesheet",
2807
- "image",
2808
- "media",
2809
- "font",
2810
- "script",
2811
- "texttrack",
2812
- "xhr",
2813
- "fetch",
2814
- "prefetch",
2815
- "eventsource",
2816
- "websocket",
2817
- "manifest",
2818
- "signedexchange",
2819
- "ping",
2820
- "cspviolationreport",
2821
- "preflight",
2822
- "other",
2823
- ]),
2824
- Schema.String,
2784
+ export const CreateLinkRequest = /*@__PURE__*/ Schema.suspend(() =>
2785
+ Schema.Struct({
2786
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2787
+ cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
2788
+ html: Schema.optional(Schema.String),
2789
+ actionTimeout: Schema.optional(Schema.Number),
2790
+ addScriptTag: Schema.optional(Schema.Array(AddScriptTag)),
2791
+ addStyleTag: Schema.optional(Schema.Array(AddStyleTag)),
2792
+ allowRequestPattern: Schema.optional(Schema.Array(Schema.String)),
2793
+ allowResourceTypes: Schema.optional(
2794
+ Schema.Array(
2795
+ Schema.Union([
2796
+ Schema.Literals([
2797
+ "document",
2798
+ "stylesheet",
2799
+ "image",
2800
+ "media",
2801
+ "font",
2802
+ "script",
2803
+ "texttrack",
2804
+ "xhr",
2805
+ "fetch",
2806
+ "prefetch",
2807
+ "eventsource",
2808
+ "websocket",
2809
+ "manifest",
2810
+ "signedexchange",
2811
+ "ping",
2812
+ "cspviolationreport",
2813
+ "preflight",
2814
+ "other",
2825
2815
  ]),
2826
- ),
2816
+ Schema.String,
2817
+ ]),
2827
2818
  ),
2828
- authenticate: Schema.optional(Authenticate),
2829
- bestAttempt: Schema.optional(Schema.Boolean),
2830
- cookies: Schema.optional(Schema.Array(Cookie)),
2831
- emulateMediaType: Schema.optional(Schema.String),
2832
- excludeExternalLinks: Schema.optional(Schema.Boolean),
2833
- gotoOptions: Schema.optional(GotoOptions),
2834
- rejectRequestPattern: Schema.optional(Schema.Array(Schema.String)),
2835
- rejectResourceTypes: Schema.optional(
2836
- Schema.Array(
2837
- Schema.Union([
2838
- Schema.Literals([
2839
- "document",
2840
- "stylesheet",
2841
- "image",
2842
- "media",
2843
- "font",
2844
- "script",
2845
- "texttrack",
2846
- "xhr",
2847
- "fetch",
2848
- "prefetch",
2849
- "eventsource",
2850
- "websocket",
2851
- "manifest",
2852
- "signedexchange",
2853
- "ping",
2854
- "cspviolationreport",
2855
- "preflight",
2856
- "other",
2857
- ]),
2858
- Schema.String,
2819
+ ),
2820
+ authenticate: Schema.optional(Authenticate),
2821
+ bestAttempt: Schema.optional(Schema.Boolean),
2822
+ cookies: Schema.optional(Schema.Array(Cookie)),
2823
+ emulateMediaType: Schema.optional(Schema.String),
2824
+ excludeExternalLinks: Schema.optional(Schema.Boolean),
2825
+ gotoOptions: Schema.optional(GotoOptions),
2826
+ rejectRequestPattern: Schema.optional(Schema.Array(Schema.String)),
2827
+ rejectResourceTypes: Schema.optional(
2828
+ Schema.Array(
2829
+ Schema.Union([
2830
+ Schema.Literals([
2831
+ "document",
2832
+ "stylesheet",
2833
+ "image",
2834
+ "media",
2835
+ "font",
2836
+ "script",
2837
+ "texttrack",
2838
+ "xhr",
2839
+ "fetch",
2840
+ "prefetch",
2841
+ "eventsource",
2842
+ "websocket",
2843
+ "manifest",
2844
+ "signedexchange",
2845
+ "ping",
2846
+ "cspviolationreport",
2847
+ "preflight",
2848
+ "other",
2859
2849
  ]),
2860
- ),
2861
- ),
2862
- setExtraHTTPHeaders: Schema.optional(
2863
- Schema.Record(Schema.String, Schema.Unknown),
2850
+ Schema.String,
2851
+ ]),
2864
2852
  ),
2865
- setJavaScriptEnabled: Schema.optional(Schema.Boolean),
2866
- userAgent: Schema.optional(Schema.String),
2867
- viewport: Schema.optional(Viewport),
2868
- visibleLinksOnly: Schema.optional(Schema.Boolean),
2869
- waitForSelector: Schema.optional(WaitForSelector),
2870
- waitForTimeout: Schema.optional(Schema.Number),
2871
- url: Schema.optional(Schema.String),
2872
- }).pipe(
2873
- T.Http({
2874
- method: "POST",
2875
- path: "/accounts/{account_id}/browser-rendering/links",
2876
- }),
2877
2853
  ),
2854
+ setExtraHTTPHeaders: Schema.optional(
2855
+ Schema.Record(Schema.String, Schema.Unknown),
2856
+ ),
2857
+ setJavaScriptEnabled: Schema.optional(Schema.Boolean),
2858
+ userAgent: Schema.optional(Schema.String),
2859
+ viewport: Schema.optional(Viewport),
2860
+ visibleLinksOnly: Schema.optional(Schema.Boolean),
2861
+ waitForSelector: Schema.optional(WaitForSelector),
2862
+ waitForTimeout: Schema.optional(Schema.Number),
2863
+ url: Schema.optional(Schema.String),
2864
+ }).pipe(
2865
+ T.Http({
2866
+ method: "POST",
2867
+ path: "/accounts/{account_id}/browser-rendering/links",
2868
+ }),
2869
+ ),
2878
2870
  ) as unknown as Schema.Codec<CreateLinkRequest>;
2879
2871
 
2880
2872
  export type CreateLinkResponse = string[];
2881
2873
 
2882
- export const CreateLinkResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2883
- () => Schema.Array(Schema.String).pipe(T.ResponsePath("result")),
2874
+ export const CreateLinkResponse = /*@__PURE__*/ Schema.suspend(() =>
2875
+ Schema.Array(Schema.String).pipe(T.ResponsePath("result")),
2884
2876
  ) as unknown as Schema.Codec<CreateLinkResponse>;
2885
2877
 
2886
2878
  export type CreateLinkError = DefaultErrors;
@@ -2890,7 +2882,7 @@ export const createLink: API.OperationMethod<
2890
2882
  CreateLinkResponse,
2891
2883
  CreateLinkError,
2892
2884
  Credentials | HttpClient.HttpClient
2893
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2885
+ > = /*@__PURE__*/ API.make(() => ({
2894
2886
  input: CreateLinkRequest,
2895
2887
  output: CreateLinkResponse,
2896
2888
  errors: [],
@@ -3035,97 +3027,96 @@ export interface CreateMarkdownRequest {
3035
3027
  html?: string;
3036
3028
  }
3037
3029
 
3038
- export const CreateMarkdownRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3039
- () =>
3040
- Schema.Struct({
3041
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
3042
- cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
3043
- url: Schema.optional(Schema.String),
3044
- actionTimeout: Schema.optional(Schema.Number),
3045
- addScriptTag: Schema.optional(Schema.Array(AddScriptTag)),
3046
- addStyleTag: Schema.optional(Schema.Array(AddStyleTag)),
3047
- allowRequestPattern: Schema.optional(Schema.Array(Schema.String)),
3048
- allowResourceTypes: Schema.optional(
3049
- Schema.Array(
3050
- Schema.Union([
3051
- Schema.Literals([
3052
- "document",
3053
- "stylesheet",
3054
- "image",
3055
- "media",
3056
- "font",
3057
- "script",
3058
- "texttrack",
3059
- "xhr",
3060
- "fetch",
3061
- "prefetch",
3062
- "eventsource",
3063
- "websocket",
3064
- "manifest",
3065
- "signedexchange",
3066
- "ping",
3067
- "cspviolationreport",
3068
- "preflight",
3069
- "other",
3070
- ]),
3071
- Schema.String,
3030
+ export const CreateMarkdownRequest = /*@__PURE__*/ Schema.suspend(() =>
3031
+ Schema.Struct({
3032
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
3033
+ cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
3034
+ url: Schema.optional(Schema.String),
3035
+ actionTimeout: Schema.optional(Schema.Number),
3036
+ addScriptTag: Schema.optional(Schema.Array(AddScriptTag)),
3037
+ addStyleTag: Schema.optional(Schema.Array(AddStyleTag)),
3038
+ allowRequestPattern: Schema.optional(Schema.Array(Schema.String)),
3039
+ allowResourceTypes: Schema.optional(
3040
+ Schema.Array(
3041
+ Schema.Union([
3042
+ Schema.Literals([
3043
+ "document",
3044
+ "stylesheet",
3045
+ "image",
3046
+ "media",
3047
+ "font",
3048
+ "script",
3049
+ "texttrack",
3050
+ "xhr",
3051
+ "fetch",
3052
+ "prefetch",
3053
+ "eventsource",
3054
+ "websocket",
3055
+ "manifest",
3056
+ "signedexchange",
3057
+ "ping",
3058
+ "cspviolationreport",
3059
+ "preflight",
3060
+ "other",
3072
3061
  ]),
3073
- ),
3062
+ Schema.String,
3063
+ ]),
3074
3064
  ),
3075
- authenticate: Schema.optional(Authenticate),
3076
- bestAttempt: Schema.optional(Schema.Boolean),
3077
- cookies: Schema.optional(Schema.Array(Cookie)),
3078
- emulateMediaType: Schema.optional(Schema.String),
3079
- gotoOptions: Schema.optional(GotoOptions),
3080
- rejectRequestPattern: Schema.optional(Schema.Array(Schema.String)),
3081
- rejectResourceTypes: Schema.optional(
3082
- Schema.Array(
3083
- Schema.Union([
3084
- Schema.Literals([
3085
- "document",
3086
- "stylesheet",
3087
- "image",
3088
- "media",
3089
- "font",
3090
- "script",
3091
- "texttrack",
3092
- "xhr",
3093
- "fetch",
3094
- "prefetch",
3095
- "eventsource",
3096
- "websocket",
3097
- "manifest",
3098
- "signedexchange",
3099
- "ping",
3100
- "cspviolationreport",
3101
- "preflight",
3102
- "other",
3103
- ]),
3104
- Schema.String,
3065
+ ),
3066
+ authenticate: Schema.optional(Authenticate),
3067
+ bestAttempt: Schema.optional(Schema.Boolean),
3068
+ cookies: Schema.optional(Schema.Array(Cookie)),
3069
+ emulateMediaType: Schema.optional(Schema.String),
3070
+ gotoOptions: Schema.optional(GotoOptions),
3071
+ rejectRequestPattern: Schema.optional(Schema.Array(Schema.String)),
3072
+ rejectResourceTypes: Schema.optional(
3073
+ Schema.Array(
3074
+ Schema.Union([
3075
+ Schema.Literals([
3076
+ "document",
3077
+ "stylesheet",
3078
+ "image",
3079
+ "media",
3080
+ "font",
3081
+ "script",
3082
+ "texttrack",
3083
+ "xhr",
3084
+ "fetch",
3085
+ "prefetch",
3086
+ "eventsource",
3087
+ "websocket",
3088
+ "manifest",
3089
+ "signedexchange",
3090
+ "ping",
3091
+ "cspviolationreport",
3092
+ "preflight",
3093
+ "other",
3105
3094
  ]),
3106
- ),
3107
- ),
3108
- setExtraHTTPHeaders: Schema.optional(
3109
- Schema.Record(Schema.String, Schema.Unknown),
3095
+ Schema.String,
3096
+ ]),
3110
3097
  ),
3111
- setJavaScriptEnabled: Schema.optional(Schema.Boolean),
3112
- userAgent: Schema.optional(Schema.String),
3113
- viewport: Schema.optional(Viewport),
3114
- waitForSelector: Schema.optional(WaitForSelector),
3115
- waitForTimeout: Schema.optional(Schema.Number),
3116
- html: Schema.optional(Schema.String),
3117
- }).pipe(
3118
- T.Http({
3119
- method: "POST",
3120
- path: "/accounts/{account_id}/browser-rendering/markdown",
3121
- }),
3122
3098
  ),
3099
+ setExtraHTTPHeaders: Schema.optional(
3100
+ Schema.Record(Schema.String, Schema.Unknown),
3101
+ ),
3102
+ setJavaScriptEnabled: Schema.optional(Schema.Boolean),
3103
+ userAgent: Schema.optional(Schema.String),
3104
+ viewport: Schema.optional(Viewport),
3105
+ waitForSelector: Schema.optional(WaitForSelector),
3106
+ waitForTimeout: Schema.optional(Schema.Number),
3107
+ html: Schema.optional(Schema.String),
3108
+ }).pipe(
3109
+ T.Http({
3110
+ method: "POST",
3111
+ path: "/accounts/{account_id}/browser-rendering/markdown",
3112
+ }),
3113
+ ),
3123
3114
  ) as unknown as Schema.Codec<CreateMarkdownRequest>;
3124
3115
 
3125
3116
  export type CreateMarkdownResponse = string;
3126
3117
 
3127
3118
  export const CreateMarkdownResponse =
3128
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3119
+ /*@__PURE__*/ Schema.suspend(() =>
3129
3120
  Schema.String.pipe(T.ResponsePath("result")),
3130
3121
  ) as unknown as Schema.Codec<CreateMarkdownResponse>;
3131
3122
 
@@ -3136,7 +3127,7 @@ export const createMarkdown: API.OperationMethod<
3136
3127
  CreateMarkdownResponse,
3137
3128
  CreateMarkdownError,
3138
3129
  Credentials | HttpClient.HttpClient
3139
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3130
+ > = /*@__PURE__*/ API.make(() => ({
3140
3131
  input: CreateMarkdownRequest,
3141
3132
  output: CreateMarkdownResponse,
3142
3133
  errors: [],
@@ -3317,7 +3308,7 @@ export interface CreatePdfRequest {
3317
3308
  url?: string;
3318
3309
  }
3319
3310
 
3320
- export const CreatePdfRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3311
+ export const CreatePdfRequest = /*@__PURE__*/ Schema.suspend(() =>
3321
3312
  Schema.Struct({
3322
3313
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
3323
3314
  cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
@@ -3406,7 +3397,7 @@ export const CreatePdfRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3406
3397
 
3407
3398
  export type CreatePdfResponse = unknown;
3408
3399
 
3409
- export const CreatePdfResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3400
+ export const CreatePdfResponse = /*@__PURE__*/ Schema.suspend(
3410
3401
  () => Schema.Unknown,
3411
3402
  ) as unknown as Schema.Codec<CreatePdfResponse>;
3412
3403
 
@@ -3417,7 +3408,7 @@ export const createPdf: API.OperationMethod<
3417
3408
  CreatePdfResponse,
3418
3409
  CreatePdfError,
3419
3410
  Credentials | HttpClient.HttpClient
3420
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3411
+ > = /*@__PURE__*/ API.make(() => ({
3421
3412
  input: CreatePdfRequest,
3422
3413
  output: CreatePdfResponse,
3423
3414
  errors: [],
@@ -3564,92 +3555,91 @@ export interface CreateScrapeRequest {
3564
3555
  url?: string;
3565
3556
  }
3566
3557
 
3567
- export const CreateScrapeRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3568
- () =>
3569
- Schema.Struct({
3570
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
3571
- cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
3572
- elements: Schema.Array(Element),
3573
- html: Schema.optional(Schema.String),
3574
- actionTimeout: Schema.optional(Schema.Number),
3575
- addScriptTag: Schema.optional(Schema.Array(AddScriptTag)),
3576
- addStyleTag: Schema.optional(Schema.Array(AddStyleTag)),
3577
- allowRequestPattern: Schema.optional(Schema.Array(Schema.String)),
3578
- allowResourceTypes: Schema.optional(
3579
- Schema.Array(
3580
- Schema.Union([
3581
- Schema.Literals([
3582
- "document",
3583
- "stylesheet",
3584
- "image",
3585
- "media",
3586
- "font",
3587
- "script",
3588
- "texttrack",
3589
- "xhr",
3590
- "fetch",
3591
- "prefetch",
3592
- "eventsource",
3593
- "websocket",
3594
- "manifest",
3595
- "signedexchange",
3596
- "ping",
3597
- "cspviolationreport",
3598
- "preflight",
3599
- "other",
3600
- ]),
3601
- Schema.String,
3602
- ]),
3603
- ),
3604
- ),
3605
- authenticate: Schema.optional(Authenticate),
3606
- bestAttempt: Schema.optional(Schema.Boolean),
3607
- cookies: Schema.optional(Schema.Array(Cookie)),
3608
- emulateMediaType: Schema.optional(Schema.String),
3609
- gotoOptions: Schema.optional(GotoOptions),
3610
- rejectRequestPattern: Schema.optional(Schema.Array(Schema.String)),
3611
- rejectResourceTypes: Schema.optional(
3612
- Schema.Array(
3613
- Schema.Union([
3614
- Schema.Literals([
3615
- "document",
3616
- "stylesheet",
3617
- "image",
3618
- "media",
3619
- "font",
3620
- "script",
3621
- "texttrack",
3622
- "xhr",
3623
- "fetch",
3624
- "prefetch",
3625
- "eventsource",
3626
- "websocket",
3627
- "manifest",
3628
- "signedexchange",
3629
- "ping",
3630
- "cspviolationreport",
3631
- "preflight",
3632
- "other",
3633
- ]),
3634
- Schema.String,
3558
+ export const CreateScrapeRequest = /*@__PURE__*/ Schema.suspend(() =>
3559
+ Schema.Struct({
3560
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
3561
+ cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
3562
+ elements: Schema.Array(Element),
3563
+ html: Schema.optional(Schema.String),
3564
+ actionTimeout: Schema.optional(Schema.Number),
3565
+ addScriptTag: Schema.optional(Schema.Array(AddScriptTag)),
3566
+ addStyleTag: Schema.optional(Schema.Array(AddStyleTag)),
3567
+ allowRequestPattern: Schema.optional(Schema.Array(Schema.String)),
3568
+ allowResourceTypes: Schema.optional(
3569
+ Schema.Array(
3570
+ Schema.Union([
3571
+ Schema.Literals([
3572
+ "document",
3573
+ "stylesheet",
3574
+ "image",
3575
+ "media",
3576
+ "font",
3577
+ "script",
3578
+ "texttrack",
3579
+ "xhr",
3580
+ "fetch",
3581
+ "prefetch",
3582
+ "eventsource",
3583
+ "websocket",
3584
+ "manifest",
3585
+ "signedexchange",
3586
+ "ping",
3587
+ "cspviolationreport",
3588
+ "preflight",
3589
+ "other",
3635
3590
  ]),
3636
- ),
3591
+ Schema.String,
3592
+ ]),
3637
3593
  ),
3638
- setExtraHTTPHeaders: Schema.optional(
3639
- Schema.Record(Schema.String, Schema.Unknown),
3594
+ ),
3595
+ authenticate: Schema.optional(Authenticate),
3596
+ bestAttempt: Schema.optional(Schema.Boolean),
3597
+ cookies: Schema.optional(Schema.Array(Cookie)),
3598
+ emulateMediaType: Schema.optional(Schema.String),
3599
+ gotoOptions: Schema.optional(GotoOptions),
3600
+ rejectRequestPattern: Schema.optional(Schema.Array(Schema.String)),
3601
+ rejectResourceTypes: Schema.optional(
3602
+ Schema.Array(
3603
+ Schema.Union([
3604
+ Schema.Literals([
3605
+ "document",
3606
+ "stylesheet",
3607
+ "image",
3608
+ "media",
3609
+ "font",
3610
+ "script",
3611
+ "texttrack",
3612
+ "xhr",
3613
+ "fetch",
3614
+ "prefetch",
3615
+ "eventsource",
3616
+ "websocket",
3617
+ "manifest",
3618
+ "signedexchange",
3619
+ "ping",
3620
+ "cspviolationreport",
3621
+ "preflight",
3622
+ "other",
3623
+ ]),
3624
+ Schema.String,
3625
+ ]),
3640
3626
  ),
3641
- setJavaScriptEnabled: Schema.optional(Schema.Boolean),
3642
- userAgent: Schema.optional(Schema.String),
3643
- viewport: Schema.optional(Viewport),
3644
- waitForSelector: Schema.optional(WaitForSelector),
3645
- waitForTimeout: Schema.optional(Schema.Number),
3646
- url: Schema.optional(Schema.String),
3647
- }).pipe(
3648
- T.Http({
3649
- method: "POST",
3650
- path: "/accounts/{account_id}/browser-rendering/scrape",
3651
- }),
3652
3627
  ),
3628
+ setExtraHTTPHeaders: Schema.optional(
3629
+ Schema.Record(Schema.String, Schema.Unknown),
3630
+ ),
3631
+ setJavaScriptEnabled: Schema.optional(Schema.Boolean),
3632
+ userAgent: Schema.optional(Schema.String),
3633
+ viewport: Schema.optional(Viewport),
3634
+ waitForSelector: Schema.optional(WaitForSelector),
3635
+ waitForTimeout: Schema.optional(Schema.Number),
3636
+ url: Schema.optional(Schema.String),
3637
+ }).pipe(
3638
+ T.Http({
3639
+ method: "POST",
3640
+ path: "/accounts/{account_id}/browser-rendering/scrape",
3641
+ }),
3642
+ ),
3653
3643
  ) as unknown as Schema.Codec<CreateScrapeRequest>;
3654
3644
 
3655
3645
  export type CreateScrapeResponse = {
@@ -3665,8 +3655,8 @@ export type CreateScrapeResponse = {
3665
3655
  selector: string;
3666
3656
  }[];
3667
3657
 
3668
- export const CreateScrapeResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3669
- () => Schema.Array(ScrapeCreateResponseItem).pipe(T.ResponsePath("result")),
3658
+ export const CreateScrapeResponse = /*@__PURE__*/ Schema.suspend(() =>
3659
+ Schema.Array(ScrapeCreateResponseItem).pipe(T.ResponsePath("result")),
3670
3660
  ) as unknown as Schema.Codec<CreateScrapeResponse>;
3671
3661
 
3672
3662
  export type CreateScrapeError = DefaultErrors;
@@ -3676,7 +3666,7 @@ export const createScrape: API.OperationMethod<
3676
3666
  CreateScrapeResponse,
3677
3667
  CreateScrapeError,
3678
3668
  Credentials | HttpClient.HttpClient
3679
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3669
+ > = /*@__PURE__*/ API.make(() => ({
3680
3670
  input: CreateScrapeRequest,
3681
3671
  output: CreateScrapeResponse,
3682
3672
  errors: [],
@@ -3844,7 +3834,7 @@ export interface CreateScreenshotRequest {
3844
3834
  }
3845
3835
 
3846
3836
  export const CreateScreenshotRequest =
3847
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3837
+ /*@__PURE__*/ Schema.suspend(() =>
3848
3838
  Schema.Struct({
3849
3839
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
3850
3840
  cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
@@ -3940,7 +3930,7 @@ export interface CreateScreenshotResponse {
3940
3930
  }
3941
3931
 
3942
3932
  export const CreateScreenshotResponse =
3943
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3933
+ /*@__PURE__*/ Schema.suspend(() =>
3944
3934
  Schema.Struct({
3945
3935
  success: Schema.Boolean,
3946
3936
  errors: Schema.optional(
@@ -3956,7 +3946,7 @@ export const createScreenshot: API.OperationMethod<
3956
3946
  CreateScreenshotResponse,
3957
3947
  CreateScreenshotError,
3958
3948
  Credentials | HttpClient.HttpClient
3959
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3949
+ > = /*@__PURE__*/ API.make(() => ({
3960
3950
  input: CreateScreenshotRequest,
3961
3951
  output: CreateScreenshotResponse,
3962
3952
  errors: [],
@@ -4126,105 +4116,104 @@ export interface CreateSnapshotRequest {
4126
4116
  url?: string;
4127
4117
  }
4128
4118
 
4129
- export const CreateSnapshotRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
4130
- () =>
4131
- Schema.Struct({
4132
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
4133
- cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
4134
- html: Schema.optional(Schema.String),
4135
- actionTimeout: Schema.optional(Schema.Number),
4136
- addScriptTag: Schema.optional(Schema.Array(AddScriptTag)),
4137
- addStyleTag: Schema.optional(Schema.Array(AddStyleTag)),
4138
- allowRequestPattern: Schema.optional(Schema.Array(Schema.String)),
4139
- allowResourceTypes: Schema.optional(
4140
- Schema.Array(
4141
- Schema.Union([
4142
- Schema.Literals([
4143
- "document",
4144
- "stylesheet",
4145
- "image",
4146
- "media",
4147
- "font",
4148
- "script",
4149
- "texttrack",
4150
- "xhr",
4151
- "fetch",
4152
- "prefetch",
4153
- "eventsource",
4154
- "websocket",
4155
- "manifest",
4156
- "signedexchange",
4157
- "ping",
4158
- "cspviolationreport",
4159
- "preflight",
4160
- "other",
4161
- ]),
4162
- Schema.String,
4119
+ export const CreateSnapshotRequest = /*@__PURE__*/ Schema.suspend(() =>
4120
+ Schema.Struct({
4121
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
4122
+ cacheTTL: Schema.optional(Schema.Number).pipe(T.HttpQuery("cacheTTL")),
4123
+ html: Schema.optional(Schema.String),
4124
+ actionTimeout: Schema.optional(Schema.Number),
4125
+ addScriptTag: Schema.optional(Schema.Array(AddScriptTag)),
4126
+ addStyleTag: Schema.optional(Schema.Array(AddStyleTag)),
4127
+ allowRequestPattern: Schema.optional(Schema.Array(Schema.String)),
4128
+ allowResourceTypes: Schema.optional(
4129
+ Schema.Array(
4130
+ Schema.Union([
4131
+ Schema.Literals([
4132
+ "document",
4133
+ "stylesheet",
4134
+ "image",
4135
+ "media",
4136
+ "font",
4137
+ "script",
4138
+ "texttrack",
4139
+ "xhr",
4140
+ "fetch",
4141
+ "prefetch",
4142
+ "eventsource",
4143
+ "websocket",
4144
+ "manifest",
4145
+ "signedexchange",
4146
+ "ping",
4147
+ "cspviolationreport",
4148
+ "preflight",
4149
+ "other",
4163
4150
  ]),
4164
- ),
4151
+ Schema.String,
4152
+ ]),
4165
4153
  ),
4166
- authenticate: Schema.optional(Authenticate),
4167
- bestAttempt: Schema.optional(Schema.Boolean),
4168
- cookies: Schema.optional(Schema.Array(Cookie)),
4169
- emulateMediaType: Schema.optional(Schema.String),
4170
- formats: Schema.optional(
4171
- Schema.Array(
4172
- Schema.Union([
4173
- Schema.Literals([
4174
- "content",
4175
- "screenshot",
4176
- "markdown",
4177
- "accessibilityTree",
4178
- ]),
4179
- Schema.String,
4154
+ ),
4155
+ authenticate: Schema.optional(Authenticate),
4156
+ bestAttempt: Schema.optional(Schema.Boolean),
4157
+ cookies: Schema.optional(Schema.Array(Cookie)),
4158
+ emulateMediaType: Schema.optional(Schema.String),
4159
+ formats: Schema.optional(
4160
+ Schema.Array(
4161
+ Schema.Union([
4162
+ Schema.Literals([
4163
+ "content",
4164
+ "screenshot",
4165
+ "markdown",
4166
+ "accessibilityTree",
4180
4167
  ]),
4181
- ),
4168
+ Schema.String,
4169
+ ]),
4182
4170
  ),
4183
- gotoOptions: Schema.optional(GotoOptions),
4184
- rejectRequestPattern: Schema.optional(Schema.Array(Schema.String)),
4185
- rejectResourceTypes: Schema.optional(
4186
- Schema.Array(
4187
- Schema.Union([
4188
- Schema.Literals([
4189
- "document",
4190
- "stylesheet",
4191
- "image",
4192
- "media",
4193
- "font",
4194
- "script",
4195
- "texttrack",
4196
- "xhr",
4197
- "fetch",
4198
- "prefetch",
4199
- "eventsource",
4200
- "websocket",
4201
- "manifest",
4202
- "signedexchange",
4203
- "ping",
4204
- "cspviolationreport",
4205
- "preflight",
4206
- "other",
4207
- ]),
4208
- Schema.String,
4171
+ ),
4172
+ gotoOptions: Schema.optional(GotoOptions),
4173
+ rejectRequestPattern: Schema.optional(Schema.Array(Schema.String)),
4174
+ rejectResourceTypes: Schema.optional(
4175
+ Schema.Array(
4176
+ Schema.Union([
4177
+ Schema.Literals([
4178
+ "document",
4179
+ "stylesheet",
4180
+ "image",
4181
+ "media",
4182
+ "font",
4183
+ "script",
4184
+ "texttrack",
4185
+ "xhr",
4186
+ "fetch",
4187
+ "prefetch",
4188
+ "eventsource",
4189
+ "websocket",
4190
+ "manifest",
4191
+ "signedexchange",
4192
+ "ping",
4193
+ "cspviolationreport",
4194
+ "preflight",
4195
+ "other",
4209
4196
  ]),
4210
- ),
4211
- ),
4212
- screenshotOptions: Schema.optional(ScreenshotOptions2),
4213
- setExtraHTTPHeaders: Schema.optional(
4214
- Schema.Record(Schema.String, Schema.Unknown),
4197
+ Schema.String,
4198
+ ]),
4215
4199
  ),
4216
- setJavaScriptEnabled: Schema.optional(Schema.Boolean),
4217
- userAgent: Schema.optional(Schema.String),
4218
- viewport: Schema.optional(Viewport),
4219
- waitForSelector: Schema.optional(WaitForSelector),
4220
- waitForTimeout: Schema.optional(Schema.Number),
4221
- url: Schema.optional(Schema.String),
4222
- }).pipe(
4223
- T.Http({
4224
- method: "POST",
4225
- path: "/accounts/{account_id}/browser-rendering/snapshot",
4226
- }),
4227
4200
  ),
4201
+ screenshotOptions: Schema.optional(ScreenshotOptions2),
4202
+ setExtraHTTPHeaders: Schema.optional(
4203
+ Schema.Record(Schema.String, Schema.Unknown),
4204
+ ),
4205
+ setJavaScriptEnabled: Schema.optional(Schema.Boolean),
4206
+ userAgent: Schema.optional(Schema.String),
4207
+ viewport: Schema.optional(Viewport),
4208
+ waitForSelector: Schema.optional(WaitForSelector),
4209
+ waitForTimeout: Schema.optional(Schema.Number),
4210
+ url: Schema.optional(Schema.String),
4211
+ }).pipe(
4212
+ T.Http({
4213
+ method: "POST",
4214
+ path: "/accounts/{account_id}/browser-rendering/snapshot",
4215
+ }),
4216
+ ),
4228
4217
  ) as unknown as Schema.Codec<CreateSnapshotRequest>;
4229
4218
 
4230
4219
  export interface CreateSnapshotResponse {
@@ -4266,7 +4255,7 @@ export interface CreateSnapshotResponse {
4266
4255
  }
4267
4256
 
4268
4257
  export const CreateSnapshotResponse =
4269
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4258
+ /*@__PURE__*/ Schema.suspend(() =>
4270
4259
  Schema.Struct({
4271
4260
  accessibilityTree: Schema.optional(
4272
4261
  Schema.Union([AccessibilityTree, Schema.Null]),
@@ -4284,7 +4273,7 @@ export const createSnapshot: API.OperationMethod<
4284
4273
  CreateSnapshotResponse,
4285
4274
  CreateSnapshotError,
4286
4275
  Credentials | HttpClient.HttpClient
4287
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4276
+ > = /*@__PURE__*/ API.make(() => ({
4288
4277
  input: CreateSnapshotRequest,
4289
4278
  output: CreateSnapshotResponse,
4290
4279
  errors: [],