@distilled.cloud/cloudflare 0.29.0 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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
@@ -149,7 +149,7 @@ interface Batch {
149
149
  /** Specifies rough maximum number of rows per file. */
150
150
  maxRows: number;
151
151
  }
152
- const Batch = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
152
+ const Batch = /*@__PURE__*/ Schema.suspend(() =>
153
153
  Schema.Struct({
154
154
  maxBytes: Schema.Number,
155
155
  maxDurationS: Schema.Number,
@@ -167,7 +167,7 @@ interface Compression {
167
167
  /** Specifies the desired compression algorithm and format. */
168
168
  type: "none" | "gzip" | "deflate" | (string & {});
169
169
  }
170
- const Compression = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
170
+ const Compression = /*@__PURE__*/ Schema.suspend(() =>
171
171
  Schema.Struct({
172
172
  type: Schema.Union([
173
173
  Schema.Literals(["none", "gzip", "deflate"]),
@@ -186,7 +186,7 @@ interface Path {
186
186
  /** Specifies the base directory within the bucket. */
187
187
  prefix?: string | null;
188
188
  }
189
- const Path = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
189
+ const Path = /*@__PURE__*/ Schema.suspend(() =>
190
190
  Schema.Struct({
191
191
  bucket: Schema.String,
192
192
  filename: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -209,7 +209,7 @@ interface Destination {
209
209
  /** Specifies the type of destination. */
210
210
  type: "r2";
211
211
  }
212
- const Destination = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
212
+ const Destination = /*@__PURE__*/ Schema.suspend(() =>
213
213
  Schema.Struct({
214
214
  batch: Batch,
215
215
  compression: Compression,
@@ -223,7 +223,7 @@ interface Cors {
223
223
  /** Specifies allowed origins to allow Cross Origin HTTP Requests. */
224
224
  origins?: string[] | null;
225
225
  }
226
- const Cors = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
226
+ const Cors = /*@__PURE__*/ Schema.suspend(() =>
227
227
  Schema.Struct({
228
228
  origins: Schema.optional(
229
229
  Schema.Union([Schema.Array(Schema.String), Schema.Null]),
@@ -240,7 +240,7 @@ interface CloudflarePipelinesWorkersPipelinesHTTPSource {
240
240
  cors?: { origins?: string[] | null } | null;
241
241
  }
242
242
  const CloudflarePipelinesWorkersPipelinesHTTPSource =
243
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
243
+ /*@__PURE__*/ Schema.suspend(() =>
244
244
  Schema.Struct({
245
245
  format: Schema.Literal("json"),
246
246
  type: Schema.String,
@@ -257,7 +257,7 @@ interface CloudflarePipelinesWorkersPipelinesBindingSource {
257
257
  type: string;
258
258
  }
259
259
  const CloudflarePipelinesWorkersPipelinesBindingSource =
260
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
260
+ /*@__PURE__*/ Schema.suspend(() =>
261
261
  Schema.Struct({
262
262
  format: Schema.Literal("json"),
263
263
  type: Schema.String,
@@ -274,7 +274,7 @@ interface ResultInfo {
274
274
  /** Indicates the total number of items. */
275
275
  totalCount: number;
276
276
  }
277
- const ResultInfo = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
277
+ const ResultInfo = /*@__PURE__*/ Schema.suspend(() =>
278
278
  Schema.Struct({
279
279
  count: Schema.Number,
280
280
  page: Schema.Number,
@@ -323,7 +323,7 @@ interface Result {
323
323
  /** Indicates the version number of last saved configuration. */
324
324
  version?: number | null;
325
325
  }
326
- const Result = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
326
+ const Result = /*@__PURE__*/ Schema.suspend(() =>
327
327
  Schema.Struct({
328
328
  id: Schema.String,
329
329
  destination: Schema.optional(Schema.Union([Destination, Schema.Null])),
@@ -352,7 +352,7 @@ interface Batch2 {
352
352
  /** Specifies rough maximum number of rows per file. */
353
353
  maxRows?: number | null;
354
354
  }
355
- const Batch2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
355
+ const Batch2 = /*@__PURE__*/ Schema.suspend(() =>
356
356
  Schema.Struct({
357
357
  maxBytes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
358
358
  maxDurationS: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -370,7 +370,7 @@ interface Compression2 {
370
370
  /** Specifies the desired compression algorithm and format. */
371
371
  type?: "none" | "gzip" | "deflate" | (string & {}) | null;
372
372
  }
373
- const Compression2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
373
+ const Compression2 = /*@__PURE__*/ Schema.suspend(() =>
374
374
  Schema.Struct({
375
375
  type: Schema.optional(
376
376
  Schema.Union([
@@ -392,7 +392,7 @@ interface Credentials2 {
392
392
  /** Specifies the R2 Bucket Secret Access Key. */
393
393
  secretAccessKey: string;
394
394
  }
395
- const Credentials2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
395
+ const Credentials2 = /*@__PURE__*/ Schema.suspend(() =>
396
396
  Schema.Struct({
397
397
  accessKeyId: SensitiveString,
398
398
  endpoint: Schema.String,
@@ -429,7 +429,7 @@ interface Destination2 {
429
429
  /** Specifies the type of destination. */
430
430
  type: "r2";
431
431
  }
432
- const Destination2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
432
+ const Destination2 = /*@__PURE__*/ Schema.suspend(() =>
433
433
  Schema.Struct({
434
434
  batch: Batch2,
435
435
  compression: Compression2,
@@ -463,7 +463,7 @@ interface Destination3 {
463
463
  secretAccessKey: string;
464
464
  } | null;
465
465
  }
466
- const Destination3 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
466
+ const Destination3 = /*@__PURE__*/ Schema.suspend(() =>
467
467
  Schema.Struct({
468
468
  batch: Batch2,
469
469
  compression: Compression2,
@@ -482,7 +482,7 @@ interface FileNaming {
482
482
  /** This will overwrite the default file suffix. i.e .parquet, use with caution */
483
483
  suffix?: string | null;
484
484
  }
485
- const FileNaming = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
485
+ const FileNaming = /*@__PURE__*/ Schema.suspend(() =>
486
486
  Schema.Struct({
487
487
  prefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
488
488
  strategy: Schema.optional(
@@ -502,7 +502,7 @@ interface Partitioning {
502
502
  /** The pattern of the date string */
503
503
  timePattern?: string | null;
504
504
  }
505
- const Partitioning = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
505
+ const Partitioning = /*@__PURE__*/ Schema.suspend(() =>
506
506
  Schema.Struct({
507
507
  timePattern: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
508
508
  }).pipe(Schema.encodeKeys({ timePattern: "time_pattern" })),
@@ -516,7 +516,7 @@ interface RollingPolicy {
516
516
  /** Number of seconds to wait before rolling over to a new file */
517
517
  intervalSeconds?: number | null;
518
518
  }
519
- const RollingPolicy = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
519
+ const RollingPolicy = /*@__PURE__*/ Schema.suspend(() =>
520
520
  Schema.Struct({
521
521
  fileSizeBytes: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
522
522
  inactivitySeconds: Schema.optional(
@@ -559,7 +559,7 @@ interface CloudflarePipelinesR2TablePublic {
559
559
  } | null;
560
560
  }
561
561
  const CloudflarePipelinesR2TablePublic =
562
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
562
+ /*@__PURE__*/ Schema.suspend(() =>
563
563
  Schema.Struct({
564
564
  accountId: Schema.String,
565
565
  bucket: Schema.String,
@@ -600,7 +600,7 @@ interface CloudflarePipelinesR2DataCatalogTablePublic {
600
600
  } | null;
601
601
  }
602
602
  const CloudflarePipelinesR2DataCatalogTablePublic =
603
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
603
+ /*@__PURE__*/ Schema.suspend(() =>
604
604
  Schema.Struct({
605
605
  accountId: Schema.String,
606
606
  bucket: Schema.String,
@@ -626,7 +626,7 @@ interface Json {
626
626
  timestampFormat?: "rfc3339" | "unix_millis" | (string & {}) | null;
627
627
  unstructured?: boolean | null;
628
628
  }
629
- const Json = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
629
+ const Json = /*@__PURE__*/ Schema.suspend(() =>
630
630
  Schema.Struct({
631
631
  type: Schema.Literal("json"),
632
632
  decimalEncoding: Schema.optional(
@@ -670,7 +670,7 @@ interface Parquet {
670
670
  | null;
671
671
  rowGroupBytes?: number | null;
672
672
  }
673
- const Parquet = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
673
+ const Parquet = /*@__PURE__*/ Schema.suspend(() =>
674
674
  Schema.Struct({
675
675
  type: Schema.Literal("parquet"),
676
676
  compression: Schema.optional(
@@ -699,7 +699,7 @@ interface Int32 {
699
699
  required?: boolean | null;
700
700
  sqlName?: string | null;
701
701
  }
702
- const Int32 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
702
+ const Int32 = /*@__PURE__*/ Schema.suspend(() =>
703
703
  Schema.Struct({
704
704
  type: Schema.Literal("int32"),
705
705
  metadataKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -724,7 +724,7 @@ interface Int64 {
724
724
  required?: boolean | null;
725
725
  sqlName?: string | null;
726
726
  }
727
- const Int64 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
727
+ const Int64 = /*@__PURE__*/ Schema.suspend(() =>
728
728
  Schema.Struct({
729
729
  type: Schema.Literal("int64"),
730
730
  metadataKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -749,7 +749,7 @@ interface Float32 {
749
749
  required?: boolean | null;
750
750
  sqlName?: string | null;
751
751
  }
752
- const Float32 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
752
+ const Float32 = /*@__PURE__*/ Schema.suspend(() =>
753
753
  Schema.Struct({
754
754
  type: Schema.Literal("float32"),
755
755
  metadataKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -774,7 +774,7 @@ interface Float64 {
774
774
  required?: boolean | null;
775
775
  sqlName?: string | null;
776
776
  }
777
- const Float64 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
777
+ const Float64 = /*@__PURE__*/ Schema.suspend(() =>
778
778
  Schema.Struct({
779
779
  type: Schema.Literal("float64"),
780
780
  metadataKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -799,7 +799,7 @@ interface Bool {
799
799
  required?: boolean | null;
800
800
  sqlName?: string | null;
801
801
  }
802
- const Bool = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
802
+ const Bool = /*@__PURE__*/ Schema.suspend(() =>
803
803
  Schema.Struct({
804
804
  type: Schema.Literal("bool"),
805
805
  metadataKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -824,7 +824,7 @@ interface String2 {
824
824
  required?: boolean | null;
825
825
  sqlName?: string | null;
826
826
  }
827
- const String2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
827
+ const String2 = /*@__PURE__*/ Schema.suspend(() =>
828
828
  Schema.Struct({
829
829
  type: Schema.Literal("string"),
830
830
  metadataKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -849,7 +849,7 @@ interface Binary {
849
849
  required?: boolean | null;
850
850
  sqlName?: string | null;
851
851
  }
852
- const Binary = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
852
+ const Binary = /*@__PURE__*/ Schema.suspend(() =>
853
853
  Schema.Struct({
854
854
  type: Schema.Literal("binary"),
855
855
  metadataKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -881,7 +881,7 @@ interface Timestamp {
881
881
  | (string & {})
882
882
  | null;
883
883
  }
884
- const Timestamp = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
884
+ const Timestamp = /*@__PURE__*/ Schema.suspend(() =>
885
885
  Schema.Struct({
886
886
  type: Schema.Literal("timestamp"),
887
887
  metadataKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -921,7 +921,7 @@ interface Json2 {
921
921
  required?: boolean | null;
922
922
  sqlName?: string | null;
923
923
  }
924
- const Json2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
924
+ const Json2 = /*@__PURE__*/ Schema.suspend(() =>
925
925
  Schema.Struct({
926
926
  type: Schema.Literal("json"),
927
927
  metadataKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -1038,7 +1038,7 @@ interface Schema2 {
1038
1038
  | null;
1039
1039
  inferred?: boolean | null;
1040
1040
  }
1041
- const Schema2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1041
+ const Schema2 = /*@__PURE__*/ Schema.suspend(() =>
1042
1042
  Schema.Struct({
1043
1043
  fields: Schema.optional(
1044
1044
  Schema.Union([
@@ -1232,7 +1232,7 @@ interface ListSinksResponseResult {
1232
1232
  inferred?: boolean | null;
1233
1233
  } | null;
1234
1234
  }
1235
- const ListSinksResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1235
+ const ListSinksResponseResult = /*@__PURE__*/ Schema.suspend(() =>
1236
1236
  Schema.Struct({
1237
1237
  id: Schema.String,
1238
1238
  createdAt: Schema.String,
@@ -1275,21 +1275,20 @@ interface ListSinksResponseResultInfo {
1275
1275
  perPage?: number | null;
1276
1276
  totalCount?: number | null;
1277
1277
  }
1278
- const ListSinksResponseResultInfo = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1279
- () =>
1280
- Schema.Struct({
1281
- count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1282
- page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1283
- perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1284
- totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1285
- }).pipe(
1286
- Schema.encodeKeys({
1287
- count: "count",
1288
- page: "page",
1289
- perPage: "per_page",
1290
- totalCount: "total_count",
1291
- }),
1292
- ),
1278
+ const ListSinksResponseResultInfo = /*@__PURE__*/ Schema.suspend(() =>
1279
+ Schema.Struct({
1280
+ count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1281
+ page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1282
+ perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1283
+ totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1284
+ }).pipe(
1285
+ Schema.encodeKeys({
1286
+ count: "count",
1287
+ page: "page",
1288
+ perPage: "per_page",
1289
+ totalCount: "total_count",
1290
+ }),
1291
+ ),
1293
1292
  ) as unknown as Schema.Codec<ListSinksResponseResultInfo>;
1294
1293
 
1295
1294
  interface Credentials3 {
@@ -1298,7 +1297,7 @@ interface Credentials3 {
1298
1297
  /** Cloudflare Account ID for the bucket */
1299
1298
  secretAccessKey: string;
1300
1299
  }
1301
- const Credentials3 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1300
+ const Credentials3 = /*@__PURE__*/ Schema.suspend(() =>
1302
1301
  Schema.Struct({
1303
1302
  accessKeyId: SensitiveString,
1304
1303
  secretAccessKey: SensitiveString,
@@ -1335,31 +1334,28 @@ interface CloudflarePipelinesR2Table {
1335
1334
  intervalSeconds?: number | null;
1336
1335
  } | null;
1337
1336
  }
1338
- const CloudflarePipelinesR2Table = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1339
- () =>
1340
- Schema.Struct({
1341
- accountId: Schema.String,
1342
- bucket: Schema.String,
1343
- credentials: Credentials3,
1344
- fileNaming: Schema.optional(Schema.Union([FileNaming, Schema.Null])),
1345
- jurisdiction: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1346
- partitioning: Schema.optional(Schema.Union([Partitioning, Schema.Null])),
1347
- path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1348
- rollingPolicy: Schema.optional(
1349
- Schema.Union([RollingPolicy, Schema.Null]),
1350
- ),
1351
- }).pipe(
1352
- Schema.encodeKeys({
1353
- accountId: "account_id",
1354
- bucket: "bucket",
1355
- credentials: "credentials",
1356
- fileNaming: "file_naming",
1357
- jurisdiction: "jurisdiction",
1358
- partitioning: "partitioning",
1359
- path: "path",
1360
- rollingPolicy: "rolling_policy",
1361
- }),
1362
- ),
1337
+ const CloudflarePipelinesR2Table = /*@__PURE__*/ Schema.suspend(() =>
1338
+ Schema.Struct({
1339
+ accountId: Schema.String,
1340
+ bucket: Schema.String,
1341
+ credentials: Credentials3,
1342
+ fileNaming: Schema.optional(Schema.Union([FileNaming, Schema.Null])),
1343
+ jurisdiction: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1344
+ partitioning: Schema.optional(Schema.Union([Partitioning, Schema.Null])),
1345
+ path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1346
+ rollingPolicy: Schema.optional(Schema.Union([RollingPolicy, Schema.Null])),
1347
+ }).pipe(
1348
+ Schema.encodeKeys({
1349
+ accountId: "account_id",
1350
+ bucket: "bucket",
1351
+ credentials: "credentials",
1352
+ fileNaming: "file_naming",
1353
+ jurisdiction: "jurisdiction",
1354
+ partitioning: "partitioning",
1355
+ path: "path",
1356
+ rollingPolicy: "rolling_policy",
1357
+ }),
1358
+ ),
1363
1359
  ) as unknown as Schema.Codec<CloudflarePipelinesR2Table>;
1364
1360
 
1365
1361
  interface CloudflarePipelinesR2DataCatalogTable {
@@ -1381,7 +1377,7 @@ interface CloudflarePipelinesR2DataCatalogTable {
1381
1377
  } | null;
1382
1378
  }
1383
1379
  const CloudflarePipelinesR2DataCatalogTable =
1384
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1380
+ /*@__PURE__*/ Schema.suspend(() =>
1385
1381
  Schema.Struct({
1386
1382
  token: Schema.String,
1387
1383
  accountId: Schema.String,
@@ -1428,31 +1424,28 @@ interface CloudflarePipelinesR2Table2 {
1428
1424
  intervalSeconds?: number | null;
1429
1425
  } | null;
1430
1426
  }
1431
- const CloudflarePipelinesR2Table2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1432
- () =>
1433
- Schema.Struct({
1434
- accountId: Schema.String,
1435
- bucket: Schema.String,
1436
- credentials: Schema.optional(Schema.Union([Credentials3, Schema.Null])),
1437
- fileNaming: Schema.optional(Schema.Union([FileNaming, Schema.Null])),
1438
- jurisdiction: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1439
- partitioning: Schema.optional(Schema.Union([Partitioning, Schema.Null])),
1440
- path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1441
- rollingPolicy: Schema.optional(
1442
- Schema.Union([RollingPolicy, Schema.Null]),
1443
- ),
1444
- }).pipe(
1445
- Schema.encodeKeys({
1446
- accountId: "account_id",
1447
- bucket: "bucket",
1448
- credentials: "credentials",
1449
- fileNaming: "file_naming",
1450
- jurisdiction: "jurisdiction",
1451
- partitioning: "partitioning",
1452
- path: "path",
1453
- rollingPolicy: "rolling_policy",
1454
- }),
1455
- ),
1427
+ const CloudflarePipelinesR2Table2 = /*@__PURE__*/ Schema.suspend(() =>
1428
+ Schema.Struct({
1429
+ accountId: Schema.String,
1430
+ bucket: Schema.String,
1431
+ credentials: Schema.optional(Schema.Union([Credentials3, Schema.Null])),
1432
+ fileNaming: Schema.optional(Schema.Union([FileNaming, Schema.Null])),
1433
+ jurisdiction: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1434
+ partitioning: Schema.optional(Schema.Union([Partitioning, Schema.Null])),
1435
+ path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1436
+ rollingPolicy: Schema.optional(Schema.Union([RollingPolicy, Schema.Null])),
1437
+ }).pipe(
1438
+ Schema.encodeKeys({
1439
+ accountId: "account_id",
1440
+ bucket: "bucket",
1441
+ credentials: "credentials",
1442
+ fileNaming: "file_naming",
1443
+ jurisdiction: "jurisdiction",
1444
+ partitioning: "partitioning",
1445
+ path: "path",
1446
+ rollingPolicy: "rolling_policy",
1447
+ }),
1448
+ ),
1456
1449
  ) as unknown as Schema.Codec<CloudflarePipelinesR2Table2>;
1457
1450
 
1458
1451
  interface Edge {
@@ -1462,7 +1455,7 @@ interface Edge {
1462
1455
  srcId: number;
1463
1456
  valueType: string;
1464
1457
  }
1465
- const Edge = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1458
+ const Edge = /*@__PURE__*/ Schema.suspend(() =>
1466
1459
  Schema.Struct({
1467
1460
  destId: Schema.Number,
1468
1461
  edgeType: Schema.String,
@@ -1486,7 +1479,7 @@ interface Node {
1486
1479
  operator: string;
1487
1480
  parallelism: number;
1488
1481
  }
1489
- const Node = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1482
+ const Node = /*@__PURE__*/ Schema.suspend(() =>
1490
1483
  Schema.Struct({
1491
1484
  description: Schema.String,
1492
1485
  nodeId: Schema.Number,
@@ -1517,7 +1510,7 @@ interface Graph {
1517
1510
  parallelism: number;
1518
1511
  }[];
1519
1512
  }
1520
- const Graph = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1513
+ const Graph = /*@__PURE__*/ Schema.suspend(() =>
1521
1514
  Schema.Struct({
1522
1515
  edges: Schema.Array(Edge),
1523
1516
  nodes: Schema.Array(Node),
@@ -1532,7 +1525,7 @@ interface Http {
1532
1525
  /** Specifies the CORS options for the HTTP endpoint. */
1533
1526
  cors?: { origins?: string[] | null } | null;
1534
1527
  }
1535
- const Http = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1528
+ const Http = /*@__PURE__*/ Schema.suspend(() =>
1536
1529
  Schema.Struct({
1537
1530
  authentication: Schema.Boolean,
1538
1531
  enabled: Schema.Boolean,
@@ -1544,7 +1537,7 @@ interface WorkerBinding {
1544
1537
  /** Indicates that the worker binding is enabled. */
1545
1538
  enabled: boolean;
1546
1539
  }
1547
- const WorkerBinding = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1540
+ const WorkerBinding = /*@__PURE__*/ Schema.suspend(() =>
1548
1541
  Schema.Struct({
1549
1542
  enabled: Schema.Boolean,
1550
1543
  }),
@@ -1687,35 +1680,34 @@ interface ListStreamsResponseResult {
1687
1680
  inferred?: boolean | null;
1688
1681
  } | null;
1689
1682
  }
1690
- const ListStreamsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1691
- () =>
1692
- Schema.Struct({
1693
- id: Schema.String,
1694
- createdAt: Schema.String,
1695
- http: Http,
1696
- modifiedAt: Schema.String,
1697
- name: Schema.String,
1698
- version: Schema.Number,
1699
- workerBinding: WorkerBinding,
1700
- endpoint: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1701
- format: Schema.optional(
1702
- Schema.Union([Schema.Union([Json, Parquet]), Schema.Null]),
1703
- ),
1704
- schema: Schema.optional(Schema.Union([Schema2, Schema.Null])),
1705
- }).pipe(
1706
- Schema.encodeKeys({
1707
- id: "id",
1708
- createdAt: "created_at",
1709
- http: "http",
1710
- modifiedAt: "modified_at",
1711
- name: "name",
1712
- version: "version",
1713
- workerBinding: "worker_binding",
1714
- endpoint: "endpoint",
1715
- format: "format",
1716
- schema: "schema",
1717
- }),
1683
+ const ListStreamsResponseResult = /*@__PURE__*/ Schema.suspend(() =>
1684
+ Schema.Struct({
1685
+ id: Schema.String,
1686
+ createdAt: Schema.String,
1687
+ http: Http,
1688
+ modifiedAt: Schema.String,
1689
+ name: Schema.String,
1690
+ version: Schema.Number,
1691
+ workerBinding: WorkerBinding,
1692
+ endpoint: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1693
+ format: Schema.optional(
1694
+ Schema.Union([Schema.Union([Json, Parquet]), Schema.Null]),
1718
1695
  ),
1696
+ schema: Schema.optional(Schema.Union([Schema2, Schema.Null])),
1697
+ }).pipe(
1698
+ Schema.encodeKeys({
1699
+ id: "id",
1700
+ createdAt: "created_at",
1701
+ http: "http",
1702
+ modifiedAt: "modified_at",
1703
+ name: "name",
1704
+ version: "version",
1705
+ workerBinding: "worker_binding",
1706
+ endpoint: "endpoint",
1707
+ format: "format",
1708
+ schema: "schema",
1709
+ }),
1710
+ ),
1719
1711
  ) as unknown as Schema.Codec<ListStreamsResponseResult>;
1720
1712
 
1721
1713
  interface Table {
@@ -1730,7 +1722,7 @@ interface Table {
1730
1722
  /** Current version of the connection used by this pipeline. */
1731
1723
  version: number;
1732
1724
  }
1733
- const Table = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1725
+ const Table = /*@__PURE__*/ Schema.suspend(() =>
1734
1726
  Schema.Struct({
1735
1727
  id: Schema.String,
1736
1728
  latest: Schema.Number,
@@ -1752,25 +1744,24 @@ interface ListV1PipelineResponseResult {
1752
1744
  /** Indicates the current status of the Pipeline. */
1753
1745
  status: string;
1754
1746
  }
1755
- const ListV1PipelineResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1756
- () =>
1757
- Schema.Struct({
1758
- id: Schema.String,
1759
- createdAt: Schema.String,
1760
- modifiedAt: Schema.String,
1761
- name: Schema.String,
1762
- sql: Schema.String,
1763
- status: Schema.String,
1764
- }).pipe(
1765
- Schema.encodeKeys({
1766
- id: "id",
1767
- createdAt: "created_at",
1768
- modifiedAt: "modified_at",
1769
- name: "name",
1770
- sql: "sql",
1771
- status: "status",
1772
- }),
1773
- ),
1747
+ const ListV1PipelineResponseResult = /*@__PURE__*/ Schema.suspend(() =>
1748
+ Schema.Struct({
1749
+ id: Schema.String,
1750
+ createdAt: Schema.String,
1751
+ modifiedAt: Schema.String,
1752
+ name: Schema.String,
1753
+ sql: Schema.String,
1754
+ status: Schema.String,
1755
+ }).pipe(
1756
+ Schema.encodeKeys({
1757
+ id: "id",
1758
+ createdAt: "created_at",
1759
+ modifiedAt: "modified_at",
1760
+ name: "name",
1761
+ sql: "sql",
1762
+ status: "status",
1763
+ }),
1764
+ ),
1774
1765
  ) as unknown as Schema.Codec<ListV1PipelineResponseResult>;
1775
1766
 
1776
1767
  // =============================================================================
@@ -1783,17 +1774,16 @@ export interface GetPipelineRequest {
1783
1774
  accountId: string;
1784
1775
  }
1785
1776
 
1786
- export const GetPipelineRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1787
- () =>
1788
- Schema.Struct({
1789
- pipelineName: Schema.String.pipe(T.HttpPath("pipelineName")),
1790
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1791
- }).pipe(
1792
- T.Http({
1793
- method: "GET",
1794
- path: "/accounts/{account_id}/pipelines/{pipelineName}",
1795
- }),
1796
- ),
1777
+ export const GetPipelineRequest = /*@__PURE__*/ Schema.suspend(() =>
1778
+ Schema.Struct({
1779
+ pipelineName: Schema.String.pipe(T.HttpPath("pipelineName")),
1780
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1781
+ }).pipe(
1782
+ T.Http({
1783
+ method: "GET",
1784
+ path: "/accounts/{account_id}/pipelines/{pipelineName}",
1785
+ }),
1786
+ ),
1797
1787
  ) as unknown as Schema.Codec<GetPipelineRequest>;
1798
1788
 
1799
1789
  export interface GetPipelineResponse {
@@ -1828,21 +1818,20 @@ export interface GetPipelineResponse {
1828
1818
  version: number;
1829
1819
  }
1830
1820
 
1831
- export const GetPipelineResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1832
- () =>
1833
- Schema.Struct({
1834
- id: Schema.String,
1835
- destination: Destination,
1836
- endpoint: Schema.String,
1837
- name: Schema.String,
1838
- source: Schema.Array(
1839
- Schema.Union([
1840
- CloudflarePipelinesWorkersPipelinesHTTPSource,
1841
- CloudflarePipelinesWorkersPipelinesBindingSource,
1842
- ]),
1843
- ),
1844
- version: Schema.Number,
1845
- }).pipe(T.ResponsePath("result")),
1821
+ export const GetPipelineResponse = /*@__PURE__*/ Schema.suspend(() =>
1822
+ Schema.Struct({
1823
+ id: Schema.String,
1824
+ destination: Destination,
1825
+ endpoint: Schema.String,
1826
+ name: Schema.String,
1827
+ source: Schema.Array(
1828
+ Schema.Union([
1829
+ CloudflarePipelinesWorkersPipelinesHTTPSource,
1830
+ CloudflarePipelinesWorkersPipelinesBindingSource,
1831
+ ]),
1832
+ ),
1833
+ version: Schema.Number,
1834
+ }).pipe(T.ResponsePath("result")),
1846
1835
  ) as unknown as Schema.Codec<GetPipelineResponse>;
1847
1836
 
1848
1837
  export type GetPipelineError = DefaultErrors | PipelineNotExists;
@@ -1852,7 +1841,7 @@ export const getPipeline: API.OperationMethod<
1852
1841
  GetPipelineResponse,
1853
1842
  GetPipelineError,
1854
1843
  Credentials | HttpClient.HttpClient
1855
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1844
+ > = /*@__PURE__*/ API.make(() => ({
1856
1845
  input: GetPipelineRequest,
1857
1846
  output: GetPipelineResponse,
1858
1847
  errors: [PipelineNotExists],
@@ -1869,16 +1858,13 @@ export interface ListPipelinesRequest {
1869
1858
  search?: string;
1870
1859
  }
1871
1860
 
1872
- export const ListPipelinesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1873
- () =>
1874
- Schema.Struct({
1875
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1876
- page: Schema.optional(Schema.String).pipe(T.HttpQuery("page")),
1877
- perPage: Schema.optional(Schema.String).pipe(T.HttpQuery("per_page")),
1878
- search: Schema.optional(Schema.String).pipe(T.HttpQuery("search")),
1879
- }).pipe(
1880
- T.Http({ method: "GET", path: "/accounts/{account_id}/pipelines" }),
1881
- ),
1861
+ export const ListPipelinesRequest = /*@__PURE__*/ Schema.suspend(() =>
1862
+ Schema.Struct({
1863
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1864
+ page: Schema.optional(Schema.String).pipe(T.HttpQuery("page")),
1865
+ perPage: Schema.optional(Schema.String).pipe(T.HttpQuery("per_page")),
1866
+ search: Schema.optional(Schema.String).pipe(T.HttpQuery("search")),
1867
+ }).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/pipelines" })),
1882
1868
  ) as unknown as Schema.Codec<ListPipelinesRequest>;
1883
1869
 
1884
1870
  export interface ListPipelinesResponse {
@@ -1921,19 +1907,18 @@ export interface ListPipelinesResponse {
1921
1907
  success: boolean;
1922
1908
  }
1923
1909
 
1924
- export const ListPipelinesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1925
- () =>
1926
- Schema.Struct({
1927
- resultInfo: Schema.optional(Schema.Union([ResultInfo, Schema.Null])),
1928
- results: Schema.Array(Result),
1929
- success: Schema.Boolean,
1930
- }).pipe(
1931
- Schema.encodeKeys({
1932
- resultInfo: "result_info",
1933
- results: "result",
1934
- success: "success",
1935
- }),
1936
- ),
1910
+ export const ListPipelinesResponse = /*@__PURE__*/ Schema.suspend(() =>
1911
+ Schema.Struct({
1912
+ resultInfo: Schema.optional(Schema.Union([ResultInfo, Schema.Null])),
1913
+ results: Schema.Array(Result),
1914
+ success: Schema.Boolean,
1915
+ }).pipe(
1916
+ Schema.encodeKeys({
1917
+ resultInfo: "result_info",
1918
+ results: "result",
1919
+ success: "success",
1920
+ }),
1921
+ ),
1937
1922
  ) as unknown as Schema.Codec<ListPipelinesResponse>;
1938
1923
 
1939
1924
  export type ListPipelinesError = DefaultErrors;
@@ -1943,7 +1928,7 @@ export const listPipelines: API.OperationMethod<
1943
1928
  ListPipelinesResponse,
1944
1929
  ListPipelinesError,
1945
1930
  Credentials | HttpClient.HttpClient
1946
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1931
+ > = /*@__PURE__*/ API.make(() => ({
1947
1932
  input: ListPipelinesRequest,
1948
1933
  output: ListPipelinesResponse,
1949
1934
  errors: [],
@@ -1984,21 +1969,18 @@ export interface CreatePipelineRequest {
1984
1969
  )[];
1985
1970
  }
1986
1971
 
1987
- export const CreatePipelineRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1988
- () =>
1989
- Schema.Struct({
1990
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1991
- destination: Destination2,
1992
- name: Schema.String,
1993
- source: Schema.Array(
1994
- Schema.Union([
1995
- CloudflarePipelinesWorkersPipelinesHTTPSource,
1996
- CloudflarePipelinesWorkersPipelinesBindingSource,
1997
- ]),
1998
- ),
1999
- }).pipe(
2000
- T.Http({ method: "POST", path: "/accounts/{account_id}/pipelines" }),
1972
+ export const CreatePipelineRequest = /*@__PURE__*/ Schema.suspend(() =>
1973
+ Schema.Struct({
1974
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1975
+ destination: Destination2,
1976
+ name: Schema.String,
1977
+ source: Schema.Array(
1978
+ Schema.Union([
1979
+ CloudflarePipelinesWorkersPipelinesHTTPSource,
1980
+ CloudflarePipelinesWorkersPipelinesBindingSource,
1981
+ ]),
2001
1982
  ),
1983
+ }).pipe(T.Http({ method: "POST", path: "/accounts/{account_id}/pipelines" })),
2002
1984
  ) as unknown as Schema.Codec<CreatePipelineRequest>;
2003
1985
 
2004
1986
  export interface CreatePipelineResponse {
@@ -2034,7 +2016,7 @@ export interface CreatePipelineResponse {
2034
2016
  }
2035
2017
 
2036
2018
  export const CreatePipelineResponse =
2037
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2019
+ /*@__PURE__*/ Schema.suspend(() =>
2038
2020
  Schema.Struct({
2039
2021
  id: Schema.String,
2040
2022
  destination: Destination,
@@ -2057,7 +2039,7 @@ export const createPipeline: API.OperationMethod<
2057
2039
  CreatePipelineResponse,
2058
2040
  CreatePipelineError,
2059
2041
  Credentials | HttpClient.HttpClient
2060
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2042
+ > = /*@__PURE__*/ API.make(() => ({
2061
2043
  input: CreatePipelineRequest,
2062
2044
  output: CreatePipelineResponse,
2063
2045
  errors: [],
@@ -2099,25 +2081,24 @@ export interface UpdatePipelineRequest {
2099
2081
  )[];
2100
2082
  }
2101
2083
 
2102
- export const UpdatePipelineRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2103
- () =>
2104
- Schema.Struct({
2105
- pipelineName: Schema.String.pipe(T.HttpPath("pipelineName")),
2106
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2107
- destination: Destination3,
2108
- name: Schema.String,
2109
- source: Schema.Array(
2110
- Schema.Union([
2111
- CloudflarePipelinesWorkersPipelinesHTTPSource,
2112
- CloudflarePipelinesWorkersPipelinesBindingSource,
2113
- ]),
2114
- ),
2115
- }).pipe(
2116
- T.Http({
2117
- method: "PUT",
2118
- path: "/accounts/{account_id}/pipelines/{pipelineName}",
2119
- }),
2084
+ export const UpdatePipelineRequest = /*@__PURE__*/ Schema.suspend(() =>
2085
+ Schema.Struct({
2086
+ pipelineName: Schema.String.pipe(T.HttpPath("pipelineName")),
2087
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2088
+ destination: Destination3,
2089
+ name: Schema.String,
2090
+ source: Schema.Array(
2091
+ Schema.Union([
2092
+ CloudflarePipelinesWorkersPipelinesHTTPSource,
2093
+ CloudflarePipelinesWorkersPipelinesBindingSource,
2094
+ ]),
2120
2095
  ),
2096
+ }).pipe(
2097
+ T.Http({
2098
+ method: "PUT",
2099
+ path: "/accounts/{account_id}/pipelines/{pipelineName}",
2100
+ }),
2101
+ ),
2121
2102
  ) as unknown as Schema.Codec<UpdatePipelineRequest>;
2122
2103
 
2123
2104
  export interface UpdatePipelineResponse {
@@ -2153,7 +2134,7 @@ export interface UpdatePipelineResponse {
2153
2134
  }
2154
2135
 
2155
2136
  export const UpdatePipelineResponse =
2156
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2137
+ /*@__PURE__*/ Schema.suspend(() =>
2157
2138
  Schema.Struct({
2158
2139
  id: Schema.String,
2159
2140
  destination: Destination,
@@ -2176,7 +2157,7 @@ export const updatePipeline: API.OperationMethod<
2176
2157
  UpdatePipelineResponse,
2177
2158
  UpdatePipelineError,
2178
2159
  Credentials | HttpClient.HttpClient
2179
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2160
+ > = /*@__PURE__*/ API.make(() => ({
2180
2161
  input: UpdatePipelineRequest,
2181
2162
  output: UpdatePipelineResponse,
2182
2163
  errors: [PipelineNotExists],
@@ -2188,23 +2169,22 @@ export interface DeletePipelineRequest {
2188
2169
  accountId: string;
2189
2170
  }
2190
2171
 
2191
- export const DeletePipelineRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2192
- () =>
2193
- Schema.Struct({
2194
- pipelineName: Schema.String.pipe(T.HttpPath("pipelineName")),
2195
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2196
- }).pipe(
2197
- T.Http({
2198
- method: "DELETE",
2199
- path: "/accounts/{account_id}/pipelines/{pipelineName}",
2200
- }),
2201
- ),
2172
+ export const DeletePipelineRequest = /*@__PURE__*/ Schema.suspend(() =>
2173
+ Schema.Struct({
2174
+ pipelineName: Schema.String.pipe(T.HttpPath("pipelineName")),
2175
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2176
+ }).pipe(
2177
+ T.Http({
2178
+ method: "DELETE",
2179
+ path: "/accounts/{account_id}/pipelines/{pipelineName}",
2180
+ }),
2181
+ ),
2202
2182
  ) as unknown as Schema.Codec<DeletePipelineRequest>;
2203
2183
 
2204
2184
  export type DeletePipelineResponse = unknown;
2205
2185
 
2206
2186
  export const DeletePipelineResponse =
2207
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2187
+ /*@__PURE__*/ Schema.suspend(
2208
2188
  () => Schema.Unknown,
2209
2189
  ) as unknown as Schema.Codec<DeletePipelineResponse>;
2210
2190
 
@@ -2215,7 +2195,7 @@ export const deletePipeline: API.OperationMethod<
2215
2195
  DeletePipelineResponse,
2216
2196
  DeletePipelineError,
2217
2197
  Credentials | HttpClient.HttpClient
2218
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2198
+ > = /*@__PURE__*/ API.make(() => ({
2219
2199
  input: DeletePipelineRequest,
2220
2200
  output: DeletePipelineResponse,
2221
2201
  errors: [PipelineNotExists],
@@ -2231,7 +2211,7 @@ export interface GetSinkRequest {
2231
2211
  accountId: string;
2232
2212
  }
2233
2213
 
2234
- export const GetSinkRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2214
+ export const GetSinkRequest = /*@__PURE__*/ Schema.suspend(() =>
2235
2215
  Schema.Struct({
2236
2216
  sinkId: Schema.String.pipe(T.HttpPath("sinkId")),
2237
2217
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -2410,7 +2390,7 @@ export interface GetSinkResponse {
2410
2390
  } | null;
2411
2391
  }
2412
2392
 
2413
- export const GetSinkResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2393
+ export const GetSinkResponse = /*@__PURE__*/ Schema.suspend(() =>
2414
2394
  Schema.Struct({
2415
2395
  id: Schema.String,
2416
2396
  createdAt: Schema.String,
@@ -2456,7 +2436,7 @@ export const getSink: API.OperationMethod<
2456
2436
  GetSinkResponse,
2457
2437
  GetSinkError,
2458
2438
  Credentials | HttpClient.HttpClient
2459
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2439
+ > = /*@__PURE__*/ API.make(() => ({
2460
2440
  input: GetSinkRequest,
2461
2441
  output: GetSinkResponse,
2462
2442
  errors: [SinkNotFound, InvalidSinkId],
@@ -2473,7 +2453,7 @@ export interface ListSinksRequest {
2473
2453
  pipelineId?: string;
2474
2454
  }
2475
2455
 
2476
- export const ListSinksRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2456
+ export const ListSinksRequest = /*@__PURE__*/ Schema.suspend(() =>
2477
2457
  Schema.Struct({
2478
2458
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2479
2459
  page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
@@ -2664,14 +2644,13 @@ export interface ListSinksResponse {
2664
2644
  } | null;
2665
2645
  }
2666
2646
 
2667
- export const ListSinksResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2668
- () =>
2669
- Schema.Struct({
2670
- result: Schema.Array(ListSinksResponseResult),
2671
- resultInfo: Schema.optional(
2672
- Schema.Union([ListSinksResponseResultInfo, Schema.Null]),
2673
- ),
2674
- }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
2647
+ export const ListSinksResponse = /*@__PURE__*/ Schema.suspend(() =>
2648
+ Schema.Struct({
2649
+ result: Schema.Array(ListSinksResponseResult),
2650
+ resultInfo: Schema.optional(
2651
+ Schema.Union([ListSinksResponseResultInfo, Schema.Null]),
2652
+ ),
2653
+ }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
2675
2654
  ) as unknown as Schema.Codec<ListSinksResponse>;
2676
2655
 
2677
2656
  export type ListSinksError = DefaultErrors;
@@ -2681,7 +2660,7 @@ export const listSinks: API.PaginatedOperationMethod<
2681
2660
  ListSinksResponse,
2682
2661
  ListSinksError,
2683
2662
  Credentials | HttpClient.HttpClient
2684
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2663
+ > = /*@__PURE__*/ API.makePaginated(() => ({
2685
2664
  input: ListSinksRequest,
2686
2665
  output: ListSinksResponse,
2687
2666
  errors: [],
@@ -2849,29 +2828,28 @@ export interface CreateSinkRequest {
2849
2828
  };
2850
2829
  }
2851
2830
 
2852
- export const CreateSinkRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2853
- () =>
2854
- Schema.Struct({
2855
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
2856
- name: Schema.String,
2857
- type: Schema.Union([
2858
- Schema.Literals(["r2", "r2_data_catalog"]),
2859
- Schema.String,
2860
- ]),
2861
- config: Schema.optional(
2862
- Schema.Union([
2863
- CloudflarePipelinesR2DataCatalogTable,
2864
- CloudflarePipelinesR2Table,
2865
- ]),
2866
- ),
2867
- format: Schema.optional(Schema.Union([Json, Parquet])),
2868
- schema: Schema.optional(Schema2),
2869
- }).pipe(
2870
- T.Http({
2871
- method: "POST",
2872
- path: "/accounts/{account_id}/pipelines/v1/sinks",
2873
- }),
2831
+ export const CreateSinkRequest = /*@__PURE__*/ Schema.suspend(() =>
2832
+ Schema.Struct({
2833
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2834
+ name: Schema.String,
2835
+ type: Schema.Union([
2836
+ Schema.Literals(["r2", "r2_data_catalog"]),
2837
+ Schema.String,
2838
+ ]),
2839
+ config: Schema.optional(
2840
+ Schema.Union([
2841
+ CloudflarePipelinesR2DataCatalogTable,
2842
+ CloudflarePipelinesR2Table,
2843
+ ]),
2874
2844
  ),
2845
+ format: Schema.optional(Schema.Union([Json, Parquet])),
2846
+ schema: Schema.optional(Schema2),
2847
+ }).pipe(
2848
+ T.Http({
2849
+ method: "POST",
2850
+ path: "/accounts/{account_id}/pipelines/v1/sinks",
2851
+ }),
2852
+ ),
2875
2853
  ) as unknown as Schema.Codec<CreateSinkRequest>;
2876
2854
 
2877
2855
  export interface CreateSinkResponse {
@@ -3043,44 +3021,43 @@ export interface CreateSinkResponse {
3043
3021
  } | null;
3044
3022
  }
3045
3023
 
3046
- export const CreateSinkResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3047
- () =>
3048
- Schema.Struct({
3049
- id: Schema.String,
3050
- createdAt: Schema.String,
3051
- modifiedAt: Schema.String,
3052
- name: Schema.String,
3053
- type: Schema.Union([
3054
- Schema.Literals(["r2", "r2_data_catalog"]),
3055
- Schema.String,
3056
- ]),
3057
- config: Schema.optional(
3024
+ export const CreateSinkResponse = /*@__PURE__*/ Schema.suspend(() =>
3025
+ Schema.Struct({
3026
+ id: Schema.String,
3027
+ createdAt: Schema.String,
3028
+ modifiedAt: Schema.String,
3029
+ name: Schema.String,
3030
+ type: Schema.Union([
3031
+ Schema.Literals(["r2", "r2_data_catalog"]),
3032
+ Schema.String,
3033
+ ]),
3034
+ config: Schema.optional(
3035
+ Schema.Union([
3058
3036
  Schema.Union([
3059
- Schema.Union([
3060
- CloudflarePipelinesR2DataCatalogTable,
3061
- CloudflarePipelinesR2Table2,
3062
- ]),
3063
- Schema.Null,
3037
+ CloudflarePipelinesR2DataCatalogTable,
3038
+ CloudflarePipelinesR2Table2,
3064
3039
  ]),
3065
- ),
3066
- format: Schema.optional(
3067
- Schema.Union([Schema.Union([Json, Parquet]), Schema.Null]),
3068
- ),
3069
- schema: Schema.optional(Schema.Union([Schema2, Schema.Null])),
3070
- })
3071
- .pipe(
3072
- Schema.encodeKeys({
3073
- id: "id",
3074
- createdAt: "created_at",
3075
- modifiedAt: "modified_at",
3076
- name: "name",
3077
- type: "type",
3078
- config: "config",
3079
- format: "format",
3080
- schema: "schema",
3081
- }),
3082
- )
3083
- .pipe(T.ResponsePath("result")),
3040
+ Schema.Null,
3041
+ ]),
3042
+ ),
3043
+ format: Schema.optional(
3044
+ Schema.Union([Schema.Union([Json, Parquet]), Schema.Null]),
3045
+ ),
3046
+ schema: Schema.optional(Schema.Union([Schema2, Schema.Null])),
3047
+ })
3048
+ .pipe(
3049
+ Schema.encodeKeys({
3050
+ id: "id",
3051
+ createdAt: "created_at",
3052
+ modifiedAt: "modified_at",
3053
+ name: "name",
3054
+ type: "type",
3055
+ config: "config",
3056
+ format: "format",
3057
+ schema: "schema",
3058
+ }),
3059
+ )
3060
+ .pipe(T.ResponsePath("result")),
3084
3061
  ) as unknown as Schema.Codec<CreateSinkResponse>;
3085
3062
 
3086
3063
  export type CreateSinkError =
@@ -3094,7 +3071,7 @@ export const createSink: API.OperationMethod<
3094
3071
  CreateSinkResponse,
3095
3072
  CreateSinkError,
3096
3073
  Credentials | HttpClient.HttpClient
3097
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3074
+ > = /*@__PURE__*/ API.make(() => ({
3098
3075
  input: CreateSinkRequest,
3099
3076
  output: CreateSinkResponse,
3100
3077
  errors: [SinkAuthFailed, InvalidSinkConfig, SinkAlreadyExists],
@@ -3108,24 +3085,23 @@ export interface DeleteSinkRequest {
3108
3085
  force?: string;
3109
3086
  }
3110
3087
 
3111
- export const DeleteSinkRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3112
- () =>
3113
- Schema.Struct({
3114
- sinkId: Schema.String.pipe(T.HttpPath("sinkId")),
3115
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
3116
- force: Schema.optional(Schema.String).pipe(T.HttpQuery("force")),
3117
- }).pipe(
3118
- T.Http({
3119
- method: "DELETE",
3120
- path: "/accounts/{account_id}/pipelines/v1/sinks/{sinkId}",
3121
- }),
3122
- ),
3088
+ export const DeleteSinkRequest = /*@__PURE__*/ Schema.suspend(() =>
3089
+ Schema.Struct({
3090
+ sinkId: Schema.String.pipe(T.HttpPath("sinkId")),
3091
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
3092
+ force: Schema.optional(Schema.String).pipe(T.HttpQuery("force")),
3093
+ }).pipe(
3094
+ T.Http({
3095
+ method: "DELETE",
3096
+ path: "/accounts/{account_id}/pipelines/v1/sinks/{sinkId}",
3097
+ }),
3098
+ ),
3123
3099
  ) as unknown as Schema.Codec<DeleteSinkRequest>;
3124
3100
 
3125
3101
  export type DeleteSinkResponse = unknown;
3126
3102
 
3127
- export const DeleteSinkResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3128
- () => Schema.Unknown.pipe(T.ResponsePath("result")),
3103
+ export const DeleteSinkResponse = /*@__PURE__*/ Schema.suspend(() =>
3104
+ Schema.Unknown.pipe(T.ResponsePath("result")),
3129
3105
  ) as unknown as Schema.Codec<DeleteSinkResponse>;
3130
3106
 
3131
3107
  export type DeleteSinkError =
@@ -3139,7 +3115,7 @@ export const deleteSink: API.OperationMethod<
3139
3115
  DeleteSinkResponse,
3140
3116
  DeleteSinkError,
3141
3117
  Credentials | HttpClient.HttpClient
3142
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3118
+ > = /*@__PURE__*/ API.make(() => ({
3143
3119
  input: DeleteSinkRequest,
3144
3120
  output: DeleteSinkResponse,
3145
3121
  errors: [SinkNotFound, InvalidSinkId, SinkInUse],
@@ -3157,7 +3133,7 @@ export interface ValidateSqlPipelineRequest {
3157
3133
  }
3158
3134
 
3159
3135
  export const ValidateSqlPipelineRequest =
3160
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3136
+ /*@__PURE__*/ Schema.suspend(() =>
3161
3137
  Schema.Struct({
3162
3138
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
3163
3139
  sql: Schema.String,
@@ -3190,7 +3166,7 @@ export interface ValidateSqlPipelineResponse {
3190
3166
  }
3191
3167
 
3192
3168
  export const ValidateSqlPipelineResponse =
3193
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3169
+ /*@__PURE__*/ Schema.suspend(() =>
3194
3170
  Schema.Struct({
3195
3171
  tables: Schema.Record(Schema.String, Schema.Unknown),
3196
3172
  graph: Schema.optional(Schema.Union([Graph, Schema.Null])),
@@ -3207,7 +3183,7 @@ export const validateSqlPipeline: API.OperationMethod<
3207
3183
  ValidateSqlPipelineResponse,
3208
3184
  ValidateSqlPipelineError,
3209
3185
  Credentials | HttpClient.HttpClient
3210
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3186
+ > = /*@__PURE__*/ API.make(() => ({
3211
3187
  input: ValidateSqlPipelineRequest,
3212
3188
  output: ValidateSqlPipelineResponse,
3213
3189
  errors: [TableNotFound, InvalidSql],
@@ -3223,7 +3199,7 @@ export interface GetStreamRequest {
3223
3199
  accountId: string;
3224
3200
  }
3225
3201
 
3226
- export const GetStreamRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3202
+ export const GetStreamRequest = /*@__PURE__*/ Schema.suspend(() =>
3227
3203
  Schema.Struct({
3228
3204
  streamId: Schema.String.pipe(T.HttpPath("streamId")),
3229
3205
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -3373,37 +3349,36 @@ export interface GetStreamResponse {
3373
3349
  } | null;
3374
3350
  }
3375
3351
 
3376
- export const GetStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3377
- () =>
3378
- Schema.Struct({
3379
- id: Schema.String,
3380
- createdAt: Schema.String,
3381
- http: Http,
3382
- modifiedAt: Schema.String,
3383
- name: Schema.String,
3384
- version: Schema.Number,
3385
- workerBinding: WorkerBinding,
3386
- endpoint: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3387
- format: Schema.optional(
3388
- Schema.Union([Schema.Union([Json, Parquet]), Schema.Null]),
3389
- ),
3390
- schema: Schema.optional(Schema.Union([Schema2, Schema.Null])),
3391
- })
3392
- .pipe(
3393
- Schema.encodeKeys({
3394
- id: "id",
3395
- createdAt: "created_at",
3396
- http: "http",
3397
- modifiedAt: "modified_at",
3398
- name: "name",
3399
- version: "version",
3400
- workerBinding: "worker_binding",
3401
- endpoint: "endpoint",
3402
- format: "format",
3403
- schema: "schema",
3404
- }),
3405
- )
3406
- .pipe(T.ResponsePath("result")),
3352
+ export const GetStreamResponse = /*@__PURE__*/ Schema.suspend(() =>
3353
+ Schema.Struct({
3354
+ id: Schema.String,
3355
+ createdAt: Schema.String,
3356
+ http: Http,
3357
+ modifiedAt: Schema.String,
3358
+ name: Schema.String,
3359
+ version: Schema.Number,
3360
+ workerBinding: WorkerBinding,
3361
+ endpoint: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3362
+ format: Schema.optional(
3363
+ Schema.Union([Schema.Union([Json, Parquet]), Schema.Null]),
3364
+ ),
3365
+ schema: Schema.optional(Schema.Union([Schema2, Schema.Null])),
3366
+ })
3367
+ .pipe(
3368
+ Schema.encodeKeys({
3369
+ id: "id",
3370
+ createdAt: "created_at",
3371
+ http: "http",
3372
+ modifiedAt: "modified_at",
3373
+ name: "name",
3374
+ version: "version",
3375
+ workerBinding: "worker_binding",
3376
+ endpoint: "endpoint",
3377
+ format: "format",
3378
+ schema: "schema",
3379
+ }),
3380
+ )
3381
+ .pipe(T.ResponsePath("result")),
3407
3382
  ) as unknown as Schema.Codec<GetStreamResponse>;
3408
3383
 
3409
3384
  export type GetStreamError = DefaultErrors | StreamNotFound | InvalidStreamId;
@@ -3413,7 +3388,7 @@ export const getStream: API.OperationMethod<
3413
3388
  GetStreamResponse,
3414
3389
  GetStreamError,
3415
3390
  Credentials | HttpClient.HttpClient
3416
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3391
+ > = /*@__PURE__*/ API.make(() => ({
3417
3392
  input: GetStreamRequest,
3418
3393
  output: GetStreamResponse,
3419
3394
  errors: [StreamNotFound, InvalidStreamId],
@@ -3430,22 +3405,19 @@ export interface ListStreamsRequest {
3430
3405
  pipelineId?: string;
3431
3406
  }
3432
3407
 
3433
- export const ListStreamsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3434
- () =>
3435
- Schema.Struct({
3436
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
3437
- page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
3438
- perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
3439
- name: Schema.optional(Schema.String).pipe(T.HttpQuery("name")),
3440
- pipelineId: Schema.optional(Schema.String).pipe(
3441
- T.HttpQuery("pipeline_id"),
3442
- ),
3443
- }).pipe(
3444
- T.Http({
3445
- method: "GET",
3446
- path: "/accounts/{account_id}/pipelines/v1/streams",
3447
- }),
3448
- ),
3408
+ export const ListStreamsRequest = /*@__PURE__*/ Schema.suspend(() =>
3409
+ Schema.Struct({
3410
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
3411
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
3412
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
3413
+ name: Schema.optional(Schema.String).pipe(T.HttpQuery("name")),
3414
+ pipelineId: Schema.optional(Schema.String).pipe(T.HttpQuery("pipeline_id")),
3415
+ }).pipe(
3416
+ T.Http({
3417
+ method: "GET",
3418
+ path: "/accounts/{account_id}/pipelines/v1/streams",
3419
+ }),
3420
+ ),
3449
3421
  ) as unknown as Schema.Codec<ListStreamsRequest>;
3450
3422
 
3451
3423
  export interface ListStreamsResponse {
@@ -3595,14 +3567,13 @@ export interface ListStreamsResponse {
3595
3567
  } | null;
3596
3568
  }
3597
3569
 
3598
- export const ListStreamsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3599
- () =>
3600
- Schema.Struct({
3601
- result: Schema.Array(ListStreamsResponseResult),
3602
- resultInfo: Schema.optional(
3603
- Schema.Union([ListSinksResponseResultInfo, Schema.Null]),
3604
- ),
3605
- }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
3570
+ export const ListStreamsResponse = /*@__PURE__*/ Schema.suspend(() =>
3571
+ Schema.Struct({
3572
+ result: Schema.Array(ListStreamsResponseResult),
3573
+ resultInfo: Schema.optional(
3574
+ Schema.Union([ListSinksResponseResultInfo, Schema.Null]),
3575
+ ),
3576
+ }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
3606
3577
  ) as unknown as Schema.Codec<ListStreamsResponse>;
3607
3578
 
3608
3579
  export type ListStreamsError = DefaultErrors;
@@ -3612,7 +3583,7 @@ export const listStreams: API.PaginatedOperationMethod<
3612
3583
  ListStreamsResponse,
3613
3584
  ListStreamsError,
3614
3585
  Credentials | HttpClient.HttpClient
3615
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
3586
+ > = /*@__PURE__*/ API.makePaginated(() => ({
3616
3587
  input: ListStreamsRequest,
3617
3588
  output: ListStreamsResponse,
3618
3589
  errors: [],
@@ -3754,28 +3725,27 @@ export interface CreateStreamRequest {
3754
3725
  workerBinding?: { enabled: boolean };
3755
3726
  }
3756
3727
 
3757
- export const CreateStreamRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3758
- () =>
3759
- Schema.Struct({
3760
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
3761
- name: Schema.String,
3762
- format: Schema.optional(Schema.Union([Json, Parquet])),
3763
- http: Schema.optional(Http),
3764
- schema: Schema.optional(Schema2),
3765
- workerBinding: Schema.optional(WorkerBinding),
3766
- }).pipe(
3767
- Schema.encodeKeys({
3768
- name: "name",
3769
- format: "format",
3770
- http: "http",
3771
- schema: "schema",
3772
- workerBinding: "worker_binding",
3773
- }),
3774
- T.Http({
3775
- method: "POST",
3776
- path: "/accounts/{account_id}/pipelines/v1/streams",
3777
- }),
3778
- ),
3728
+ export const CreateStreamRequest = /*@__PURE__*/ Schema.suspend(() =>
3729
+ Schema.Struct({
3730
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
3731
+ name: Schema.String,
3732
+ format: Schema.optional(Schema.Union([Json, Parquet])),
3733
+ http: Schema.optional(Http),
3734
+ schema: Schema.optional(Schema2),
3735
+ workerBinding: Schema.optional(WorkerBinding),
3736
+ }).pipe(
3737
+ Schema.encodeKeys({
3738
+ name: "name",
3739
+ format: "format",
3740
+ http: "http",
3741
+ schema: "schema",
3742
+ workerBinding: "worker_binding",
3743
+ }),
3744
+ T.Http({
3745
+ method: "POST",
3746
+ path: "/accounts/{account_id}/pipelines/v1/streams",
3747
+ }),
3748
+ ),
3779
3749
  ) as unknown as Schema.Codec<CreateStreamRequest>;
3780
3750
 
3781
3751
  export interface CreateStreamResponse {
@@ -3916,37 +3886,36 @@ export interface CreateStreamResponse {
3916
3886
  } | null;
3917
3887
  }
3918
3888
 
3919
- export const CreateStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3920
- () =>
3921
- Schema.Struct({
3922
- id: Schema.String,
3923
- createdAt: Schema.String,
3924
- http: Http,
3925
- modifiedAt: Schema.String,
3926
- name: Schema.String,
3927
- version: Schema.Number,
3928
- workerBinding: WorkerBinding,
3929
- endpoint: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3930
- format: Schema.optional(
3931
- Schema.Union([Schema.Union([Json, Parquet]), Schema.Null]),
3932
- ),
3933
- schema: Schema.optional(Schema.Union([Schema2, Schema.Null])),
3934
- })
3935
- .pipe(
3936
- Schema.encodeKeys({
3937
- id: "id",
3938
- createdAt: "created_at",
3939
- http: "http",
3940
- modifiedAt: "modified_at",
3941
- name: "name",
3942
- version: "version",
3943
- workerBinding: "worker_binding",
3944
- endpoint: "endpoint",
3945
- format: "format",
3946
- schema: "schema",
3947
- }),
3948
- )
3949
- .pipe(T.ResponsePath("result")),
3889
+ export const CreateStreamResponse = /*@__PURE__*/ Schema.suspend(() =>
3890
+ Schema.Struct({
3891
+ id: Schema.String,
3892
+ createdAt: Schema.String,
3893
+ http: Http,
3894
+ modifiedAt: Schema.String,
3895
+ name: Schema.String,
3896
+ version: Schema.Number,
3897
+ workerBinding: WorkerBinding,
3898
+ endpoint: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3899
+ format: Schema.optional(
3900
+ Schema.Union([Schema.Union([Json, Parquet]), Schema.Null]),
3901
+ ),
3902
+ schema: Schema.optional(Schema.Union([Schema2, Schema.Null])),
3903
+ })
3904
+ .pipe(
3905
+ Schema.encodeKeys({
3906
+ id: "id",
3907
+ createdAt: "created_at",
3908
+ http: "http",
3909
+ modifiedAt: "modified_at",
3910
+ name: "name",
3911
+ version: "version",
3912
+ workerBinding: "worker_binding",
3913
+ endpoint: "endpoint",
3914
+ format: "format",
3915
+ schema: "schema",
3916
+ }),
3917
+ )
3918
+ .pipe(T.ResponsePath("result")),
3950
3919
  ) as unknown as Schema.Codec<CreateStreamResponse>;
3951
3920
 
3952
3921
  export type CreateStreamError =
@@ -3959,7 +3928,7 @@ export const createStream: API.OperationMethod<
3959
3928
  CreateStreamResponse,
3960
3929
  CreateStreamError,
3961
3930
  Credentials | HttpClient.HttpClient
3962
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3931
+ > = /*@__PURE__*/ API.make(() => ({
3963
3932
  input: CreateStreamRequest,
3964
3933
  output: CreateStreamResponse,
3965
3934
  errors: [InvalidStreamName, StreamAlreadyExists],
@@ -3979,20 +3948,19 @@ export interface PatchStreamRequest {
3979
3948
  workerBinding?: { enabled: boolean };
3980
3949
  }
3981
3950
 
3982
- export const PatchStreamRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3983
- () =>
3984
- Schema.Struct({
3985
- streamId: Schema.String.pipe(T.HttpPath("streamId")),
3986
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
3987
- http: Schema.optional(Http),
3988
- workerBinding: Schema.optional(WorkerBinding),
3989
- }).pipe(
3990
- Schema.encodeKeys({ http: "http", workerBinding: "worker_binding" }),
3991
- T.Http({
3992
- method: "PATCH",
3993
- path: "/accounts/{account_id}/pipelines/v1/streams/{streamId}",
3994
- }),
3995
- ),
3951
+ export const PatchStreamRequest = /*@__PURE__*/ Schema.suspend(() =>
3952
+ Schema.Struct({
3953
+ streamId: Schema.String.pipe(T.HttpPath("streamId")),
3954
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
3955
+ http: Schema.optional(Http),
3956
+ workerBinding: Schema.optional(WorkerBinding),
3957
+ }).pipe(
3958
+ Schema.encodeKeys({ http: "http", workerBinding: "worker_binding" }),
3959
+ T.Http({
3960
+ method: "PATCH",
3961
+ path: "/accounts/{account_id}/pipelines/v1/streams/{streamId}",
3962
+ }),
3963
+ ),
3996
3964
  ) as unknown as Schema.Codec<PatchStreamRequest>;
3997
3965
 
3998
3966
  export interface PatchStreamResponse {
@@ -4034,35 +4002,34 @@ export interface PatchStreamResponse {
4034
4002
  | null;
4035
4003
  }
4036
4004
 
4037
- export const PatchStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
4038
- () =>
4039
- Schema.Struct({
4040
- id: Schema.String,
4041
- createdAt: Schema.String,
4042
- http: Http,
4043
- modifiedAt: Schema.String,
4044
- name: Schema.String,
4045
- version: Schema.Number,
4046
- workerBinding: WorkerBinding,
4047
- endpoint: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4048
- format: Schema.optional(
4049
- Schema.Union([Schema.Union([Json, Parquet]), Schema.Null]),
4050
- ),
4051
- })
4052
- .pipe(
4053
- Schema.encodeKeys({
4054
- id: "id",
4055
- createdAt: "created_at",
4056
- http: "http",
4057
- modifiedAt: "modified_at",
4058
- name: "name",
4059
- version: "version",
4060
- workerBinding: "worker_binding",
4061
- endpoint: "endpoint",
4062
- format: "format",
4063
- }),
4064
- )
4065
- .pipe(T.ResponsePath("result")),
4005
+ export const PatchStreamResponse = /*@__PURE__*/ Schema.suspend(() =>
4006
+ Schema.Struct({
4007
+ id: Schema.String,
4008
+ createdAt: Schema.String,
4009
+ http: Http,
4010
+ modifiedAt: Schema.String,
4011
+ name: Schema.String,
4012
+ version: Schema.Number,
4013
+ workerBinding: WorkerBinding,
4014
+ endpoint: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4015
+ format: Schema.optional(
4016
+ Schema.Union([Schema.Union([Json, Parquet]), Schema.Null]),
4017
+ ),
4018
+ })
4019
+ .pipe(
4020
+ Schema.encodeKeys({
4021
+ id: "id",
4022
+ createdAt: "created_at",
4023
+ http: "http",
4024
+ modifiedAt: "modified_at",
4025
+ name: "name",
4026
+ version: "version",
4027
+ workerBinding: "worker_binding",
4028
+ endpoint: "endpoint",
4029
+ format: "format",
4030
+ }),
4031
+ )
4032
+ .pipe(T.ResponsePath("result")),
4066
4033
  ) as unknown as Schema.Codec<PatchStreamResponse>;
4067
4034
 
4068
4035
  export type PatchStreamError = DefaultErrors | StreamNotFound;
@@ -4072,7 +4039,7 @@ export const patchStream: API.OperationMethod<
4072
4039
  PatchStreamResponse,
4073
4040
  PatchStreamError,
4074
4041
  Credentials | HttpClient.HttpClient
4075
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4042
+ > = /*@__PURE__*/ API.make(() => ({
4076
4043
  input: PatchStreamRequest,
4077
4044
  output: PatchStreamResponse,
4078
4045
  errors: [StreamNotFound],
@@ -4086,24 +4053,23 @@ export interface DeleteStreamRequest {
4086
4053
  force?: string;
4087
4054
  }
4088
4055
 
4089
- export const DeleteStreamRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
4090
- () =>
4091
- Schema.Struct({
4092
- streamId: Schema.String.pipe(T.HttpPath("streamId")),
4093
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
4094
- force: Schema.optional(Schema.String).pipe(T.HttpQuery("force")),
4095
- }).pipe(
4096
- T.Http({
4097
- method: "DELETE",
4098
- path: "/accounts/{account_id}/pipelines/v1/streams/{streamId}",
4099
- }),
4100
- ),
4056
+ export const DeleteStreamRequest = /*@__PURE__*/ Schema.suspend(() =>
4057
+ Schema.Struct({
4058
+ streamId: Schema.String.pipe(T.HttpPath("streamId")),
4059
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
4060
+ force: Schema.optional(Schema.String).pipe(T.HttpQuery("force")),
4061
+ }).pipe(
4062
+ T.Http({
4063
+ method: "DELETE",
4064
+ path: "/accounts/{account_id}/pipelines/v1/streams/{streamId}",
4065
+ }),
4066
+ ),
4101
4067
  ) as unknown as Schema.Codec<DeleteStreamRequest>;
4102
4068
 
4103
4069
  export type DeleteStreamResponse = unknown;
4104
4070
 
4105
- export const DeleteStreamResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
4106
- () => Schema.Unknown.pipe(T.ResponsePath("result")),
4071
+ export const DeleteStreamResponse = /*@__PURE__*/ Schema.suspend(() =>
4072
+ Schema.Unknown.pipe(T.ResponsePath("result")),
4107
4073
  ) as unknown as Schema.Codec<DeleteStreamResponse>;
4108
4074
 
4109
4075
  export type DeleteStreamError =
@@ -4118,7 +4084,7 @@ export const deleteStream: API.OperationMethod<
4118
4084
  DeleteStreamResponse,
4119
4085
  DeleteStreamError,
4120
4086
  Credentials | HttpClient.HttpClient
4121
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4087
+ > = /*@__PURE__*/ API.make(() => ({
4122
4088
  input: DeleteStreamRequest,
4123
4089
  output: DeleteStreamResponse,
4124
4090
  errors: [PipelineNotExists, StreamNotFound, InvalidStreamId, StreamInUse],
@@ -4134,17 +4100,16 @@ export interface GetV1PipelineRequest {
4134
4100
  accountId: string;
4135
4101
  }
4136
4102
 
4137
- export const GetV1PipelineRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
4138
- () =>
4139
- Schema.Struct({
4140
- pipelineId: Schema.String.pipe(T.HttpPath("pipelineId")),
4141
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
4142
- }).pipe(
4143
- T.Http({
4144
- method: "GET",
4145
- path: "/accounts/{account_id}/pipelines/v1/pipelines/{pipelineId}",
4146
- }),
4147
- ),
4103
+ export const GetV1PipelineRequest = /*@__PURE__*/ Schema.suspend(() =>
4104
+ Schema.Struct({
4105
+ pipelineId: Schema.String.pipe(T.HttpPath("pipelineId")),
4106
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
4107
+ }).pipe(
4108
+ T.Http({
4109
+ method: "GET",
4110
+ path: "/accounts/{account_id}/pipelines/v1/pipelines/{pipelineId}",
4111
+ }),
4112
+ ),
4148
4113
  ) as unknown as Schema.Codec<GetV1PipelineRequest>;
4149
4114
 
4150
4115
  export interface GetV1PipelineResponse {
@@ -4170,33 +4135,30 @@ export interface GetV1PipelineResponse {
4170
4135
  failureReason?: string | null;
4171
4136
  }
4172
4137
 
4173
- export const GetV1PipelineResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
4174
- () =>
4175
- Schema.Struct({
4176
- id: Schema.String,
4177
- createdAt: Schema.String,
4178
- modifiedAt: Schema.String,
4179
- name: Schema.String,
4180
- sql: Schema.String,
4181
- status: Schema.String,
4182
- tables: Schema.Array(Table),
4183
- failureReason: Schema.optional(
4184
- Schema.Union([Schema.String, Schema.Null]),
4185
- ),
4186
- })
4187
- .pipe(
4188
- Schema.encodeKeys({
4189
- id: "id",
4190
- createdAt: "created_at",
4191
- modifiedAt: "modified_at",
4192
- name: "name",
4193
- sql: "sql",
4194
- status: "status",
4195
- tables: "tables",
4196
- failureReason: "failure_reason",
4197
- }),
4198
- )
4199
- .pipe(T.ResponsePath("result")),
4138
+ export const GetV1PipelineResponse = /*@__PURE__*/ Schema.suspend(() =>
4139
+ Schema.Struct({
4140
+ id: Schema.String,
4141
+ createdAt: Schema.String,
4142
+ modifiedAt: Schema.String,
4143
+ name: Schema.String,
4144
+ sql: Schema.String,
4145
+ status: Schema.String,
4146
+ tables: Schema.Array(Table),
4147
+ failureReason: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4148
+ })
4149
+ .pipe(
4150
+ Schema.encodeKeys({
4151
+ id: "id",
4152
+ createdAt: "created_at",
4153
+ modifiedAt: "modified_at",
4154
+ name: "name",
4155
+ sql: "sql",
4156
+ status: "status",
4157
+ tables: "tables",
4158
+ failureReason: "failure_reason",
4159
+ }),
4160
+ )
4161
+ .pipe(T.ResponsePath("result")),
4200
4162
  ) as unknown as Schema.Codec<GetV1PipelineResponse>;
4201
4163
 
4202
4164
  export type GetV1PipelineError = DefaultErrors | PipelineNotExists;
@@ -4206,7 +4168,7 @@ export const getV1Pipeline: API.OperationMethod<
4206
4168
  GetV1PipelineResponse,
4207
4169
  GetV1PipelineError,
4208
4170
  Credentials | HttpClient.HttpClient
4209
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4171
+ > = /*@__PURE__*/ API.make(() => ({
4210
4172
  input: GetV1PipelineRequest,
4211
4173
  output: GetV1PipelineResponse,
4212
4174
  errors: [PipelineNotExists],
@@ -4221,19 +4183,18 @@ export interface ListV1PipelineRequest {
4221
4183
  name?: string;
4222
4184
  }
4223
4185
 
4224
- export const ListV1PipelineRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
4225
- () =>
4226
- Schema.Struct({
4227
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
4228
- page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
4229
- perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
4230
- name: Schema.optional(Schema.String).pipe(T.HttpQuery("name")),
4231
- }).pipe(
4232
- T.Http({
4233
- method: "GET",
4234
- path: "/accounts/{account_id}/pipelines/v1/pipelines",
4235
- }),
4236
- ),
4186
+ export const ListV1PipelineRequest = /*@__PURE__*/ Schema.suspend(() =>
4187
+ Schema.Struct({
4188
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
4189
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
4190
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
4191
+ name: Schema.optional(Schema.String).pipe(T.HttpQuery("name")),
4192
+ }).pipe(
4193
+ T.Http({
4194
+ method: "GET",
4195
+ path: "/accounts/{account_id}/pipelines/v1/pipelines",
4196
+ }),
4197
+ ),
4237
4198
  ) as unknown as Schema.Codec<ListV1PipelineRequest>;
4238
4199
 
4239
4200
  export interface ListV1PipelineResponse {
@@ -4254,7 +4215,7 @@ export interface ListV1PipelineResponse {
4254
4215
  }
4255
4216
 
4256
4217
  export const ListV1PipelineResponse =
4257
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4218
+ /*@__PURE__*/ Schema.suspend(() =>
4258
4219
  Schema.Struct({
4259
4220
  result: Schema.Array(ListV1PipelineResponseResult),
4260
4221
  resultInfo: Schema.optional(
@@ -4270,7 +4231,7 @@ export const listV1Pipeline: API.PaginatedOperationMethod<
4270
4231
  ListV1PipelineResponse,
4271
4232
  ListV1PipelineError,
4272
4233
  Credentials | HttpClient.HttpClient
4273
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
4234
+ > = /*@__PURE__*/ API.makePaginated(() => ({
4274
4235
  input: ListV1PipelineRequest,
4275
4236
  output: ListV1PipelineResponse,
4276
4237
  errors: [],
@@ -4293,7 +4254,7 @@ export interface CreateV1PipelineRequest {
4293
4254
  }
4294
4255
 
4295
4256
  export const CreateV1PipelineRequest =
4296
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4257
+ /*@__PURE__*/ Schema.suspend(() =>
4297
4258
  Schema.Struct({
4298
4259
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
4299
4260
  name: Schema.String,
@@ -4320,7 +4281,7 @@ export interface CreateV1PipelineResponse {
4320
4281
  }
4321
4282
 
4322
4283
  export const CreateV1PipelineResponse =
4323
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4284
+ /*@__PURE__*/ Schema.suspend(() =>
4324
4285
  Schema.Struct({
4325
4286
  id: Schema.String,
4326
4287
  createdAt: Schema.String,
@@ -4353,7 +4314,7 @@ export const createV1Pipeline: API.OperationMethod<
4353
4314
  CreateV1PipelineResponse,
4354
4315
  CreateV1PipelineError,
4355
4316
  Credentials | HttpClient.HttpClient
4356
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4317
+ > = /*@__PURE__*/ API.make(() => ({
4357
4318
  input: CreateV1PipelineRequest,
4358
4319
  output: CreateV1PipelineResponse,
4359
4320
  errors: [TableNotFound, InvalidSql, PipelineAlreadyExists],
@@ -4366,7 +4327,7 @@ export interface DeleteV1PipelineRequest {
4366
4327
  }
4367
4328
 
4368
4329
  export const DeleteV1PipelineRequest =
4369
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4330
+ /*@__PURE__*/ Schema.suspend(() =>
4370
4331
  Schema.Struct({
4371
4332
  pipelineId: Schema.String.pipe(T.HttpPath("pipelineId")),
4372
4333
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -4381,7 +4342,7 @@ export const DeleteV1PipelineRequest =
4381
4342
  export type DeleteV1PipelineResponse = unknown;
4382
4343
 
4383
4344
  export const DeleteV1PipelineResponse =
4384
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4345
+ /*@__PURE__*/ Schema.suspend(() =>
4385
4346
  Schema.Unknown.pipe(T.ResponsePath("result")),
4386
4347
  ) as unknown as Schema.Codec<DeleteV1PipelineResponse>;
4387
4348
 
@@ -4392,7 +4353,7 @@ export const deleteV1Pipeline: API.OperationMethod<
4392
4353
  DeleteV1PipelineResponse,
4393
4354
  DeleteV1PipelineError,
4394
4355
  Credentials | HttpClient.HttpClient
4395
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4356
+ > = /*@__PURE__*/ API.make(() => ({
4396
4357
  input: DeleteV1PipelineRequest,
4397
4358
  output: DeleteV1PipelineResponse,
4398
4359
  errors: [PipelineNotExists],