@distilled.cloud/cloudflare 0.7.11 → 0.8.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 (401) hide show
  1. package/lib/services/abuse-reports.d.ts +3 -53
  2. package/lib/services/abuse-reports.d.ts.map +1 -1
  3. package/lib/services/abuse-reports.js +0 -1
  4. package/lib/services/abuse-reports.js.map +1 -1
  5. package/lib/services/accounts.d.ts +7 -261
  6. package/lib/services/accounts.d.ts.map +1 -1
  7. package/lib/services/accounts.js +0 -1
  8. package/lib/services/accounts.js.map +1 -1
  9. package/lib/services/addressing.d.ts +8 -105
  10. package/lib/services/addressing.d.ts.map +1 -1
  11. package/lib/services/addressing.js +0 -1
  12. package/lib/services/addressing.js.map +1 -1
  13. package/lib/services/ai-gateway.d.ts +5 -146
  14. package/lib/services/ai-gateway.d.ts.map +1 -1
  15. package/lib/services/ai-gateway.js +0 -1
  16. package/lib/services/ai-gateway.js.map +1 -1
  17. package/lib/services/ai.d.ts +6 -42
  18. package/lib/services/ai.d.ts.map +1 -1
  19. package/lib/services/ai.js +0 -1
  20. package/lib/services/ai.js.map +1 -1
  21. package/lib/services/aisearch.d.ts +4 -126
  22. package/lib/services/aisearch.d.ts.map +1 -1
  23. package/lib/services/aisearch.js +0 -1
  24. package/lib/services/aisearch.js.map +1 -1
  25. package/lib/services/alerting.d.ts +6 -125
  26. package/lib/services/alerting.d.ts.map +1 -1
  27. package/lib/services/alerting.js +0 -1
  28. package/lib/services/alerting.js.map +1 -1
  29. package/lib/services/api-gateway.d.ts +6 -248
  30. package/lib/services/api-gateway.d.ts.map +1 -1
  31. package/lib/services/api-gateway.js +0 -1
  32. package/lib/services/api-gateway.js.map +1 -1
  33. package/lib/services/audit-logs.d.ts +1 -29
  34. package/lib/services/audit-logs.d.ts.map +1 -1
  35. package/lib/services/audit-logs.js +0 -1
  36. package/lib/services/audit-logs.js.map +1 -1
  37. package/lib/services/brand-protection.d.ts +1 -5
  38. package/lib/services/brand-protection.d.ts.map +1 -1
  39. package/lib/services/brand-protection.js +0 -1
  40. package/lib/services/brand-protection.js.map +1 -1
  41. package/lib/services/calls.d.ts +2 -19
  42. package/lib/services/calls.d.ts.map +1 -1
  43. package/lib/services/calls.js +0 -1
  44. package/lib/services/calls.js.map +1 -1
  45. package/lib/services/client-certificates.d.ts +1 -27
  46. package/lib/services/client-certificates.d.ts.map +1 -1
  47. package/lib/services/client-certificates.js +0 -1
  48. package/lib/services/client-certificates.js.map +1 -1
  49. package/lib/services/cloud-connector.d.ts +2 -27
  50. package/lib/services/cloud-connector.d.ts.map +1 -1
  51. package/lib/services/cloud-connector.js +0 -1
  52. package/lib/services/cloud-connector.js.map +1 -1
  53. package/lib/services/cloudforce-one.d.ts +6 -63
  54. package/lib/services/cloudforce-one.d.ts.map +1 -1
  55. package/lib/services/cloudforce-one.js +0 -1
  56. package/lib/services/cloudforce-one.js.map +1 -1
  57. package/lib/services/connectivity.d.ts +1 -36
  58. package/lib/services/connectivity.d.ts.map +1 -1
  59. package/lib/services/connectivity.js +0 -1
  60. package/lib/services/connectivity.js.map +1 -1
  61. package/lib/services/content-scanning.d.ts +3 -22
  62. package/lib/services/content-scanning.d.ts.map +1 -1
  63. package/lib/services/content-scanning.js +0 -1
  64. package/lib/services/content-scanning.js.map +1 -1
  65. package/lib/services/custom-certificates.d.ts +2 -71
  66. package/lib/services/custom-certificates.d.ts.map +1 -1
  67. package/lib/services/custom-certificates.js +0 -1
  68. package/lib/services/custom-certificates.js.map +1 -1
  69. package/lib/services/custom-hostnames.d.ts +1 -58
  70. package/lib/services/custom-hostnames.d.ts.map +1 -1
  71. package/lib/services/custom-hostnames.js +0 -1
  72. package/lib/services/custom-hostnames.js.map +1 -1
  73. package/lib/services/custom-nameservers.d.ts +2 -18
  74. package/lib/services/custom-nameservers.d.ts.map +1 -1
  75. package/lib/services/custom-nameservers.js +0 -1
  76. package/lib/services/custom-nameservers.js.map +1 -1
  77. package/lib/services/custom-pages.d.ts +1 -14
  78. package/lib/services/custom-pages.d.ts.map +1 -1
  79. package/lib/services/custom-pages.js +0 -1
  80. package/lib/services/custom-pages.js.map +1 -1
  81. package/lib/services/d1.d.ts +3 -57
  82. package/lib/services/d1.d.ts.map +1 -1
  83. package/lib/services/d1.js +0 -1
  84. package/lib/services/d1.js.map +1 -1
  85. package/lib/services/diagnostics.d.ts +1 -32
  86. package/lib/services/diagnostics.d.ts.map +1 -1
  87. package/lib/services/diagnostics.js +0 -1
  88. package/lib/services/diagnostics.js.map +1 -1
  89. package/lib/services/dns-firewall.d.ts +1 -22
  90. package/lib/services/dns-firewall.d.ts.map +1 -1
  91. package/lib/services/dns-firewall.js +0 -1
  92. package/lib/services/dns-firewall.js.map +1 -1
  93. package/lib/services/dns.d.ts +6 -101
  94. package/lib/services/dns.d.ts.map +1 -1
  95. package/lib/services/dns.js +0 -1
  96. package/lib/services/dns.js.map +1 -1
  97. package/lib/services/durable-objects.d.ts +2 -18
  98. package/lib/services/durable-objects.d.ts.map +1 -1
  99. package/lib/services/durable-objects.js +0 -1
  100. package/lib/services/durable-objects.js.map +1 -1
  101. package/lib/services/email-routing.d.ts +3 -41
  102. package/lib/services/email-routing.d.ts.map +1 -1
  103. package/lib/services/email-routing.js +0 -1
  104. package/lib/services/email-routing.js.map +1 -1
  105. package/lib/services/email-security.d.ts +11 -205
  106. package/lib/services/email-security.d.ts.map +1 -1
  107. package/lib/services/email-security.js +0 -1
  108. package/lib/services/email-security.js.map +1 -1
  109. package/lib/services/filters.d.ts +3 -31
  110. package/lib/services/filters.d.ts.map +1 -1
  111. package/lib/services/filters.js +0 -1
  112. package/lib/services/filters.js.map +1 -1
  113. package/lib/services/firewall.d.ts +13 -259
  114. package/lib/services/firewall.d.ts.map +1 -1
  115. package/lib/services/firewall.js +0 -1
  116. package/lib/services/firewall.js.map +1 -1
  117. package/lib/services/healthchecks.d.ts +1 -36
  118. package/lib/services/healthchecks.d.ts.map +1 -1
  119. package/lib/services/healthchecks.js +0 -1
  120. package/lib/services/healthchecks.js.map +1 -1
  121. package/lib/services/hostnames.d.ts +1 -11
  122. package/lib/services/hostnames.d.ts.map +1 -1
  123. package/lib/services/hostnames.js +0 -1
  124. package/lib/services/hostnames.js.map +1 -1
  125. package/lib/services/hyperdrive.d.ts +1 -36
  126. package/lib/services/hyperdrive.d.ts.map +1 -1
  127. package/lib/services/hyperdrive.js +0 -1
  128. package/lib/services/hyperdrive.js.map +1 -1
  129. package/lib/services/iam.d.ts +6 -95
  130. package/lib/services/iam.d.ts.map +1 -1
  131. package/lib/services/iam.js +0 -1
  132. package/lib/services/iam.js.map +1 -1
  133. package/lib/services/images.d.ts +1 -15
  134. package/lib/services/images.d.ts.map +1 -1
  135. package/lib/services/images.js +0 -1
  136. package/lib/services/images.js.map +1 -1
  137. package/lib/services/intel.d.ts +6 -75
  138. package/lib/services/intel.d.ts.map +1 -1
  139. package/lib/services/intel.js +0 -1
  140. package/lib/services/intel.js.map +1 -1
  141. package/lib/services/keyless-certificates.d.ts +1 -19
  142. package/lib/services/keyless-certificates.d.ts.map +1 -1
  143. package/lib/services/keyless-certificates.js +0 -1
  144. package/lib/services/keyless-certificates.js.map +1 -1
  145. package/lib/services/kv.d.ts +2 -17
  146. package/lib/services/kv.d.ts.map +1 -1
  147. package/lib/services/kv.js +0 -1
  148. package/lib/services/kv.js.map +1 -1
  149. package/lib/services/leaked-credential-checks.d.ts +1 -9
  150. package/lib/services/leaked-credential-checks.d.ts.map +1 -1
  151. package/lib/services/leaked-credential-checks.js +0 -1
  152. package/lib/services/leaked-credential-checks.js.map +1 -1
  153. package/lib/services/load-balancers.d.ts +8 -259
  154. package/lib/services/load-balancers.d.ts.map +1 -1
  155. package/lib/services/load-balancers.js +0 -1
  156. package/lib/services/load-balancers.js.map +1 -1
  157. package/lib/services/logpush.d.ts +3 -77
  158. package/lib/services/logpush.d.ts.map +1 -1
  159. package/lib/services/logpush.js +0 -1
  160. package/lib/services/logpush.js.map +1 -1
  161. package/lib/services/magic-cloud-networking.d.ts +5 -282
  162. package/lib/services/magic-cloud-networking.d.ts.map +1 -1
  163. package/lib/services/magic-cloud-networking.js +0 -1
  164. package/lib/services/magic-cloud-networking.js.map +1 -1
  165. package/lib/services/magic-network-monitoring.d.ts +1 -17
  166. package/lib/services/magic-network-monitoring.d.ts.map +1 -1
  167. package/lib/services/magic-network-monitoring.js +0 -1
  168. package/lib/services/magic-network-monitoring.js.map +1 -1
  169. package/lib/services/magic-transit.d.ts +10 -232
  170. package/lib/services/magic-transit.d.ts.map +1 -1
  171. package/lib/services/magic-transit.js +0 -1
  172. package/lib/services/magic-transit.js.map +1 -1
  173. package/lib/services/memberships.d.ts +1 -74
  174. package/lib/services/memberships.d.ts.map +1 -1
  175. package/lib/services/memberships.js +0 -1
  176. package/lib/services/memberships.js.map +1 -1
  177. package/lib/services/mtls-certificates.d.ts +2 -22
  178. package/lib/services/mtls-certificates.d.ts.map +1 -1
  179. package/lib/services/mtls-certificates.js +0 -1
  180. package/lib/services/mtls-certificates.js.map +1 -1
  181. package/lib/services/organizations.d.ts +1 -30
  182. package/lib/services/organizations.d.ts.map +1 -1
  183. package/lib/services/organizations.js +0 -1
  184. package/lib/services/organizations.js.map +1 -1
  185. package/lib/services/origin-ca-certificates.d.ts +1 -13
  186. package/lib/services/origin-ca-certificates.d.ts.map +1 -1
  187. package/lib/services/origin-ca-certificates.js +0 -1
  188. package/lib/services/origin-ca-certificates.js.map +1 -1
  189. package/lib/services/origin-tls-client-auth.d.ts +3 -32
  190. package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
  191. package/lib/services/origin-tls-client-auth.js +0 -1
  192. package/lib/services/origin-tls-client-auth.js.map +1 -1
  193. package/lib/services/page-shield.d.ts +4 -75
  194. package/lib/services/page-shield.d.ts.map +1 -1
  195. package/lib/services/page-shield.js +0 -1
  196. package/lib/services/page-shield.js.map +1 -1
  197. package/lib/services/pages.d.ts +3 -310
  198. package/lib/services/pages.d.ts.map +1 -1
  199. package/lib/services/pages.js +0 -1
  200. package/lib/services/pages.js.map +1 -1
  201. package/lib/services/pipelines.d.ts +3 -237
  202. package/lib/services/pipelines.d.ts.map +1 -1
  203. package/lib/services/pipelines.js +0 -1
  204. package/lib/services/pipelines.js.map +1 -1
  205. package/lib/services/queues.d.ts +3 -112
  206. package/lib/services/queues.d.ts.map +1 -1
  207. package/lib/services/queues.js +0 -1
  208. package/lib/services/queues.js.map +1 -1
  209. package/lib/services/r2.d.ts +15 -44
  210. package/lib/services/r2.d.ts.map +1 -1
  211. package/lib/services/r2.js +16 -1
  212. package/lib/services/r2.js.map +1 -1
  213. package/lib/services/radar.d.ts +3 -70
  214. package/lib/services/radar.d.ts.map +1 -1
  215. package/lib/services/radar.js +0 -1
  216. package/lib/services/radar.js.map +1 -1
  217. package/lib/services/rate-limits.d.ts +1 -38
  218. package/lib/services/rate-limits.d.ts.map +1 -1
  219. package/lib/services/rate-limits.js +0 -1
  220. package/lib/services/rate-limits.js.map +1 -1
  221. package/lib/services/registrar.d.ts +1 -39
  222. package/lib/services/registrar.d.ts.map +1 -1
  223. package/lib/services/registrar.js +0 -1
  224. package/lib/services/registrar.js.map +1 -1
  225. package/lib/services/resource-sharing.d.ts +3 -61
  226. package/lib/services/resource-sharing.d.ts.map +1 -1
  227. package/lib/services/resource-sharing.js +0 -1
  228. package/lib/services/resource-sharing.js.map +1 -1
  229. package/lib/services/rules.d.ts +2 -53
  230. package/lib/services/rules.d.ts.map +1 -1
  231. package/lib/services/rules.js +0 -1
  232. package/lib/services/rules.js.map +1 -1
  233. package/lib/services/rulesets.d.ts +3 -37
  234. package/lib/services/rulesets.d.ts.map +1 -1
  235. package/lib/services/rulesets.js +0 -1
  236. package/lib/services/rulesets.js.map +1 -1
  237. package/lib/services/rum.d.ts +1 -26
  238. package/lib/services/rum.d.ts.map +1 -1
  239. package/lib/services/rum.js +0 -1
  240. package/lib/services/rum.js.map +1 -1
  241. package/lib/services/schema-validation.d.ts +2 -19
  242. package/lib/services/schema-validation.d.ts.map +1 -1
  243. package/lib/services/schema-validation.js +0 -1
  244. package/lib/services/schema-validation.js.map +1 -1
  245. package/lib/services/secrets-store.d.ts +5 -55
  246. package/lib/services/secrets-store.d.ts.map +1 -1
  247. package/lib/services/secrets-store.js +0 -1
  248. package/lib/services/secrets-store.js.map +1 -1
  249. package/lib/services/security-center.d.ts +1 -25
  250. package/lib/services/security-center.d.ts.map +1 -1
  251. package/lib/services/security-center.js +0 -1
  252. package/lib/services/security-center.js.map +1 -1
  253. package/lib/services/snippets.d.ts +4 -42
  254. package/lib/services/snippets.d.ts.map +1 -1
  255. package/lib/services/snippets.js +0 -1
  256. package/lib/services/snippets.js.map +1 -1
  257. package/lib/services/spectrum.d.ts +1 -43
  258. package/lib/services/spectrum.d.ts.map +1 -1
  259. package/lib/services/spectrum.js +0 -1
  260. package/lib/services/spectrum.js.map +1 -1
  261. package/lib/services/speed.d.ts +2 -107
  262. package/lib/services/speed.d.ts.map +1 -1
  263. package/lib/services/speed.js +0 -1
  264. package/lib/services/speed.js.map +1 -1
  265. package/lib/services/ssl.d.ts +1 -41
  266. package/lib/services/ssl.d.ts.map +1 -1
  267. package/lib/services/ssl.js +0 -1
  268. package/lib/services/ssl.js.map +1 -1
  269. package/lib/services/stream.d.ts +6 -102
  270. package/lib/services/stream.d.ts.map +1 -1
  271. package/lib/services/stream.js +0 -1
  272. package/lib/services/stream.js.map +1 -1
  273. package/lib/services/token-validation.d.ts +4 -99
  274. package/lib/services/token-validation.d.ts.map +1 -1
  275. package/lib/services/token-validation.js +0 -1
  276. package/lib/services/token-validation.js.map +1 -1
  277. package/lib/services/turnstile.d.ts +1 -17
  278. package/lib/services/turnstile.d.ts.map +1 -1
  279. package/lib/services/turnstile.js +0 -1
  280. package/lib/services/turnstile.js.map +1 -1
  281. package/lib/services/user.d.ts +7 -131
  282. package/lib/services/user.d.ts.map +1 -1
  283. package/lib/services/user.js +0 -1
  284. package/lib/services/user.js.map +1 -1
  285. package/lib/services/vectorize.d.ts +1 -14
  286. package/lib/services/vectorize.d.ts.map +1 -1
  287. package/lib/services/vectorize.js +0 -1
  288. package/lib/services/vectorize.js.map +1 -1
  289. package/lib/services/waiting-rooms.d.ts +7 -121
  290. package/lib/services/waiting-rooms.d.ts.map +1 -1
  291. package/lib/services/waiting-rooms.js +0 -1
  292. package/lib/services/waiting-rooms.js.map +1 -1
  293. package/lib/services/web3.d.ts +1 -14
  294. package/lib/services/web3.d.ts.map +1 -1
  295. package/lib/services/web3.js +0 -1
  296. package/lib/services/web3.js.map +1 -1
  297. package/lib/services/workers-for-platforms.d.ts +5 -165
  298. package/lib/services/workers-for-platforms.d.ts.map +1 -1
  299. package/lib/services/workers-for-platforms.js +0 -1
  300. package/lib/services/workers-for-platforms.js.map +1 -1
  301. package/lib/services/workers.d.ts +588 -339
  302. package/lib/services/workers.d.ts.map +1 -1
  303. package/lib/services/workers.js +1698 -776
  304. package/lib/services/workers.js.map +1 -1
  305. package/lib/services/workflows.d.ts +4 -55
  306. package/lib/services/workflows.d.ts.map +1 -1
  307. package/lib/services/workflows.js +0 -1
  308. package/lib/services/workflows.js.map +1 -1
  309. package/lib/services/zaraz.d.ts +1 -11
  310. package/lib/services/zaraz.d.ts.map +1 -1
  311. package/lib/services/zaraz.js +0 -1
  312. package/lib/services/zaraz.js.map +1 -1
  313. package/lib/services/zero-trust.d.ts +9340 -15045
  314. package/lib/services/zero-trust.d.ts.map +1 -1
  315. package/lib/services/zero-trust.js +0 -1
  316. package/lib/services/zero-trust.js.map +1 -1
  317. package/lib/services/zones.d.ts +4 -94
  318. package/lib/services/zones.d.ts.map +1 -1
  319. package/lib/services/zones.js +0 -1
  320. package/lib/services/zones.js.map +1 -1
  321. package/package.json +3 -3
  322. package/src/services/abuse-reports.ts +3 -104
  323. package/src/services/accounts.ts +7 -299
  324. package/src/services/addressing.ts +8 -181
  325. package/src/services/ai-gateway.ts +5 -221
  326. package/src/services/ai.ts +6 -107
  327. package/src/services/aisearch.ts +4 -255
  328. package/src/services/alerting.ts +6 -263
  329. package/src/services/api-gateway.ts +6 -351
  330. package/src/services/audit-logs.ts +1 -31
  331. package/src/services/brand-protection.ts +1 -17
  332. package/src/services/calls.ts +2 -39
  333. package/src/services/client-certificates.ts +1 -42
  334. package/src/services/cloud-connector.ts +2 -53
  335. package/src/services/cloudforce-one.ts +6 -130
  336. package/src/services/connectivity.ts +1 -34
  337. package/src/services/content-scanning.ts +3 -49
  338. package/src/services/custom-certificates.ts +2 -85
  339. package/src/services/custom-hostnames.ts +1 -112
  340. package/src/services/custom-nameservers.ts +2 -37
  341. package/src/services/custom-pages.ts +1 -24
  342. package/src/services/d1.ts +3 -97
  343. package/src/services/diagnostics.ts +1 -51
  344. package/src/services/dns-firewall.ts +1 -32
  345. package/src/services/dns.ts +6 -152
  346. package/src/services/durable-objects.ts +2 -37
  347. package/src/services/email-routing.ts +3 -91
  348. package/src/services/email-security.ts +11 -419
  349. package/src/services/filters.ts +3 -61
  350. package/src/services/firewall.ts +13 -530
  351. package/src/services/healthchecks.ts +1 -63
  352. package/src/services/hostnames.ts +1 -21
  353. package/src/services/hyperdrive.ts +1 -49
  354. package/src/services/iam.ts +6 -139
  355. package/src/services/images.ts +1 -27
  356. package/src/services/intel.ts +6 -146
  357. package/src/services/keyless-certificates.ts +1 -26
  358. package/src/services/kv.ts +2 -33
  359. package/src/services/leaked-credential-checks.ts +1 -17
  360. package/src/services/load-balancers.ts +8 -401
  361. package/src/services/logpush.ts +3 -169
  362. package/src/services/magic-cloud-networking.ts +5 -573
  363. package/src/services/magic-network-monitoring.ts +1 -36
  364. package/src/services/magic-transit.ts +10 -338
  365. package/src/services/memberships.ts +1 -48
  366. package/src/services/mtls-certificates.ts +2 -41
  367. package/src/services/organizations.ts +1 -37
  368. package/src/services/origin-ca-certificates.ts +1 -23
  369. package/src/services/origin-tls-client-auth.ts +3 -62
  370. package/src/services/page-shield.ts +4 -115
  371. package/src/services/pages.ts +3 -338
  372. package/src/services/pipelines.ts +3 -333
  373. package/src/services/queues.ts +3 -133
  374. package/src/services/r2.ts +53 -84
  375. package/src/services/radar.ts +3 -89
  376. package/src/services/rate-limits.ts +1 -50
  377. package/src/services/registrar.ts +1 -68
  378. package/src/services/resource-sharing.ts +3 -111
  379. package/src/services/rules.ts +2 -76
  380. package/src/services/rulesets.ts +3 -136
  381. package/src/services/rum.ts +1 -38
  382. package/src/services/schema-validation.ts +2 -38
  383. package/src/services/secrets-store.ts +5 -99
  384. package/src/services/security-center.ts +1 -44
  385. package/src/services/snippets.ts +4 -80
  386. package/src/services/spectrum.ts +1 -48
  387. package/src/services/speed.ts +2 -219
  388. package/src/services/ssl.ts +1 -80
  389. package/src/services/stream.ts +6 -163
  390. package/src/services/token-validation.ts +4 -131
  391. package/src/services/turnstile.ts +1 -31
  392. package/src/services/user.ts +7 -213
  393. package/src/services/vectorize.ts +1 -24
  394. package/src/services/waiting-rooms.ts +7 -239
  395. package/src/services/web3.ts +1 -24
  396. package/src/services/workers-for-platforms.ts +5 -192
  397. package/src/services/workers.ts +2392 -1198
  398. package/src/services/workflows.ts +4 -111
  399. package/src/services/zaraz.ts +1 -21
  400. package/src/services/zero-trust.ts +347 -6158
  401. package/src/services/zones.ts +4 -131
@@ -5,7 +5,6 @@
5
5
  * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service pipelines
6
6
  */
7
7
 
8
- import * as stream from "effect/Stream";
9
8
  import * as Schema from "effect/Schema";
10
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
11
10
  import * as API from "../client/api.ts";
@@ -2176,174 +2175,7 @@ export const listSinks: API.PaginatedOperationMethod<
2176
2175
  ListSinksResponse,
2177
2176
  ListSinksError,
2178
2177
  Credentials | HttpClient.HttpClient
2179
- > & {
2180
- pages: (
2181
- input: ListSinksRequest,
2182
- ) => stream.Stream<
2183
- ListSinksResponse,
2184
- ListSinksError,
2185
- Credentials | HttpClient.HttpClient
2186
- >;
2187
- items: (input: ListSinksRequest) => stream.Stream<
2188
- {
2189
- id: string;
2190
- createdAt: string;
2191
- modifiedAt: string;
2192
- name: string;
2193
- type: "r2" | "r2_data_catalog";
2194
- config?:
2195
- | {
2196
- accountId: string;
2197
- bucket: string;
2198
- credentials: { accessKeyId: string; secretAccessKey: string };
2199
- fileNaming?: {
2200
- prefix?: string | null;
2201
- strategy?: "serial" | "uuid" | "uuid_v7" | "ulid" | null;
2202
- suffix?: string | null;
2203
- } | null;
2204
- jurisdiction?: string | null;
2205
- partitioning?: { timePattern?: string | null } | null;
2206
- path?: string | null;
2207
- rollingPolicy?: {
2208
- fileSizeBytes?: number | null;
2209
- inactivitySeconds?: number | null;
2210
- intervalSeconds?: number | null;
2211
- } | null;
2212
- }
2213
- | {
2214
- token: string;
2215
- accountId: string;
2216
- bucket: string;
2217
- tableName: string;
2218
- namespace?: string | null;
2219
- rollingPolicy?: {
2220
- fileSizeBytes?: number | null;
2221
- inactivitySeconds?: number | null;
2222
- intervalSeconds?: number | null;
2223
- } | null;
2224
- }
2225
- | null;
2226
- format?:
2227
- | {
2228
- type: "json";
2229
- decimalEncoding?: "number" | "string" | "bytes" | null;
2230
- timestampFormat?: "rfc3339" | "unix_millis" | null;
2231
- unstructured?: boolean | null;
2232
- }
2233
- | {
2234
- type: "parquet";
2235
- compression?:
2236
- | "uncompressed"
2237
- | "snappy"
2238
- | "gzip"
2239
- | "zstd"
2240
- | "lz4"
2241
- | null;
2242
- rowGroupBytes?: number | null;
2243
- }
2244
- | null;
2245
- schema?: {
2246
- fields?:
2247
- | (
2248
- | {
2249
- type: "int32";
2250
- metadataKey?: string | null;
2251
- name?: string | null;
2252
- required?: boolean | null;
2253
- sqlName?: string | null;
2254
- }
2255
- | {
2256
- type: "int64";
2257
- metadataKey?: string | null;
2258
- name?: string | null;
2259
- required?: boolean | null;
2260
- sqlName?: string | null;
2261
- }
2262
- | {
2263
- type: "float32";
2264
- metadataKey?: string | null;
2265
- name?: string | null;
2266
- required?: boolean | null;
2267
- sqlName?: string | null;
2268
- }
2269
- | {
2270
- type: "float64";
2271
- metadataKey?: string | null;
2272
- name?: string | null;
2273
- required?: boolean | null;
2274
- sqlName?: string | null;
2275
- }
2276
- | {
2277
- type: "bool";
2278
- metadataKey?: string | null;
2279
- name?: string | null;
2280
- required?: boolean | null;
2281
- sqlName?: string | null;
2282
- }
2283
- | {
2284
- type: "string";
2285
- metadataKey?: string | null;
2286
- name?: string | null;
2287
- required?: boolean | null;
2288
- sqlName?: string | null;
2289
- }
2290
- | {
2291
- type: "binary";
2292
- metadataKey?: string | null;
2293
- name?: string | null;
2294
- required?: boolean | null;
2295
- sqlName?: string | null;
2296
- }
2297
- | {
2298
- type: "timestamp";
2299
- metadataKey?: string | null;
2300
- name?: string | null;
2301
- required?: boolean | null;
2302
- sqlName?: string | null;
2303
- unit?:
2304
- | "second"
2305
- | "millisecond"
2306
- | "microsecond"
2307
- | "nanosecond"
2308
- | null;
2309
- }
2310
- | {
2311
- type: "json";
2312
- metadataKey?: string | null;
2313
- name?: string | null;
2314
- required?: boolean | null;
2315
- sqlName?: string | null;
2316
- }
2317
- | unknown
2318
- )[]
2319
- | null;
2320
- format?:
2321
- | {
2322
- type: "json";
2323
- metadataKey?: string | null;
2324
- name?: string | null;
2325
- required?: boolean | null;
2326
- sqlName?: string | null;
2327
- }
2328
- | {
2329
- type: "parquet";
2330
- compression?:
2331
- | "uncompressed"
2332
- | "snappy"
2333
- | "gzip"
2334
- | "zstd"
2335
- | "lz4"
2336
- | null;
2337
- rowGroupBytes?: number | null;
2338
- }
2339
- | null;
2340
- inferred?: boolean | null;
2341
- } | null;
2342
- },
2343
- ListSinksError,
2344
- Credentials | HttpClient.HttpClient
2345
- >;
2346
- } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2178
+ > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2347
2179
  input: ListSinksRequest,
2348
2180
  output: ListSinksResponse,
2349
2181
  errors: [],
@@ -4780,149 +4612,7 @@ export const listStreams: API.PaginatedOperationMethod<
4780
4612
  ListStreamsResponse,
4781
4613
  ListStreamsError,
4782
4614
  Credentials | HttpClient.HttpClient
4783
- > & {
4784
- pages: (
4785
- input: ListStreamsRequest,
4786
- ) => stream.Stream<
4787
- ListStreamsResponse,
4788
- ListStreamsError,
4789
- Credentials | HttpClient.HttpClient
4790
- >;
4791
- items: (input: ListStreamsRequest) => stream.Stream<
4792
- {
4793
- id: string;
4794
- createdAt: string;
4795
- http: {
4796
- authentication: boolean;
4797
- enabled: boolean;
4798
- cors?: { origins?: string[] | null } | null;
4799
- };
4800
- modifiedAt: string;
4801
- name: string;
4802
- version: number;
4803
- workerBinding: { enabled: boolean };
4804
- endpoint?: string | null;
4805
- format?:
4806
- | {
4807
- type: "json";
4808
- decimalEncoding?: "number" | "string" | "bytes" | null;
4809
- timestampFormat?: "rfc3339" | "unix_millis" | null;
4810
- unstructured?: boolean | null;
4811
- }
4812
- | {
4813
- type: "parquet";
4814
- compression?:
4815
- | "uncompressed"
4816
- | "snappy"
4817
- | "gzip"
4818
- | "zstd"
4819
- | "lz4"
4820
- | null;
4821
- rowGroupBytes?: number | null;
4822
- }
4823
- | null;
4824
- schema?: {
4825
- fields?:
4826
- | (
4827
- | {
4828
- type: "int32";
4829
- metadataKey?: string | null;
4830
- name?: string | null;
4831
- required?: boolean | null;
4832
- sqlName?: string | null;
4833
- }
4834
- | {
4835
- type: "int64";
4836
- metadataKey?: string | null;
4837
- name?: string | null;
4838
- required?: boolean | null;
4839
- sqlName?: string | null;
4840
- }
4841
- | {
4842
- type: "float32";
4843
- metadataKey?: string | null;
4844
- name?: string | null;
4845
- required?: boolean | null;
4846
- sqlName?: string | null;
4847
- }
4848
- | {
4849
- type: "float64";
4850
- metadataKey?: string | null;
4851
- name?: string | null;
4852
- required?: boolean | null;
4853
- sqlName?: string | null;
4854
- }
4855
- | {
4856
- type: "bool";
4857
- metadataKey?: string | null;
4858
- name?: string | null;
4859
- required?: boolean | null;
4860
- sqlName?: string | null;
4861
- }
4862
- | {
4863
- type: "string";
4864
- metadataKey?: string | null;
4865
- name?: string | null;
4866
- required?: boolean | null;
4867
- sqlName?: string | null;
4868
- }
4869
- | {
4870
- type: "binary";
4871
- metadataKey?: string | null;
4872
- name?: string | null;
4873
- required?: boolean | null;
4874
- sqlName?: string | null;
4875
- }
4876
- | {
4877
- type: "timestamp";
4878
- metadataKey?: string | null;
4879
- name?: string | null;
4880
- required?: boolean | null;
4881
- sqlName?: string | null;
4882
- unit?:
4883
- | "second"
4884
- | "millisecond"
4885
- | "microsecond"
4886
- | "nanosecond"
4887
- | null;
4888
- }
4889
- | {
4890
- type: "json";
4891
- metadataKey?: string | null;
4892
- name?: string | null;
4893
- required?: boolean | null;
4894
- sqlName?: string | null;
4895
- }
4896
- | unknown
4897
- )[]
4898
- | null;
4899
- format?:
4900
- | {
4901
- type: "json";
4902
- metadataKey?: string | null;
4903
- name?: string | null;
4904
- required?: boolean | null;
4905
- sqlName?: string | null;
4906
- }
4907
- | {
4908
- type: "parquet";
4909
- compression?:
4910
- | "uncompressed"
4911
- | "snappy"
4912
- | "gzip"
4913
- | "zstd"
4914
- | "lz4"
4915
- | null;
4916
- rowGroupBytes?: number | null;
4917
- }
4918
- | null;
4919
- inferred?: boolean | null;
4920
- } | null;
4921
- },
4922
- ListStreamsError,
4923
- Credentials | HttpClient.HttpClient
4924
- >;
4925
- } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
4615
+ > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
4926
4616
  input: ListStreamsRequest,
4927
4617
  output: ListStreamsResponse,
4928
4618
  errors: [],
@@ -6270,27 +5960,7 @@ export const listV1Pipeline: API.PaginatedOperationMethod<
6270
5960
  ListV1PipelineResponse,
6271
5961
  ListV1PipelineError,
6272
5962
  Credentials | HttpClient.HttpClient
6273
- > & {
6274
- pages: (
6275
- input: ListV1PipelineRequest,
6276
- ) => stream.Stream<
6277
- ListV1PipelineResponse,
6278
- ListV1PipelineError,
6279
- Credentials | HttpClient.HttpClient
6280
- >;
6281
- items: (input: ListV1PipelineRequest) => stream.Stream<
6282
- {
6283
- id: string;
6284
- createdAt: string;
6285
- modifiedAt: string;
6286
- name: string;
6287
- sql: string;
6288
- status: string;
6289
- },
6290
- ListV1PipelineError,
6291
- Credentials | HttpClient.HttpClient
6292
- >;
6293
- } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
5963
+ > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
6294
5964
  input: ListV1PipelineRequest,
6295
5965
  output: ListV1PipelineResponse,
6296
5966
  errors: [],
@@ -5,7 +5,6 @@
5
5
  * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service queues
6
6
  */
7
7
 
8
- import * as stream from "effect/Stream";
9
8
  import * as Schema from "effect/Schema";
10
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
11
10
  import * as API from "../client/api.ts";
@@ -352,45 +351,7 @@ export const listConsumers: API.PaginatedOperationMethod<
352
351
  ListConsumersResponse,
353
352
  ListConsumersError,
354
353
  Credentials | HttpClient.HttpClient
355
- > & {
356
- pages: (
357
- input: ListConsumersRequest,
358
- ) => stream.Stream<
359
- ListConsumersResponse,
360
- ListConsumersError,
361
- Credentials | HttpClient.HttpClient
362
- >;
363
- items: (input: ListConsumersRequest) => stream.Stream<
364
- | {
365
- consumerId?: string | null;
366
- createdOn?: string | null;
367
- queueId?: string | null;
368
- script?: string | null;
369
- settings?: {
370
- batchSize?: number | null;
371
- maxConcurrency?: number | null;
372
- maxRetries?: number | null;
373
- maxWaitTimeMs?: number | null;
374
- retryDelay?: number | null;
375
- } | null;
376
- type?: "worker" | null;
377
- }
378
- | {
379
- consumerId?: string | null;
380
- createdOn?: string | null;
381
- queueId?: string | null;
382
- settings?: {
383
- batchSize?: number | null;
384
- maxRetries?: number | null;
385
- retryDelay?: number | null;
386
- visibilityTimeoutMs?: number | null;
387
- } | null;
388
- type?: "http_pull" | null;
389
- },
390
- ListConsumersError,
391
- Credentials | HttpClient.HttpClient
392
- >;
393
- } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
354
+ > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
394
355
  input: ListConsumersRequest,
395
356
  output: ListConsumersResponse,
396
357
  errors: [InvalidRequestBody],
@@ -2104,68 +2065,7 @@ export const listQueues: API.PaginatedOperationMethod<
2104
2065
  ListQueuesResponse,
2105
2066
  ListQueuesError,
2106
2067
  Credentials | HttpClient.HttpClient
2107
- > & {
2108
- pages: (
2109
- input: ListQueuesRequest,
2110
- ) => stream.Stream<
2111
- ListQueuesResponse,
2112
- ListQueuesError,
2113
- Credentials | HttpClient.HttpClient
2114
- >;
2115
- items: (input: ListQueuesRequest) => stream.Stream<
2116
- {
2117
- consumers?:
2118
- | (
2119
- | {
2120
- consumerId?: string | null;
2121
- createdOn?: string | null;
2122
- queueId?: string | null;
2123
- script?: string | null;
2124
- settings?: {
2125
- batchSize?: number | null;
2126
- maxConcurrency?: number | null;
2127
- maxRetries?: number | null;
2128
- maxWaitTimeMs?: number | null;
2129
- retryDelay?: number | null;
2130
- } | null;
2131
- type?: "worker" | null;
2132
- }
2133
- | {
2134
- consumerId?: string | null;
2135
- createdOn?: string | null;
2136
- queueId?: string | null;
2137
- settings?: {
2138
- batchSize?: number | null;
2139
- maxRetries?: number | null;
2140
- retryDelay?: number | null;
2141
- visibilityTimeoutMs?: number | null;
2142
- } | null;
2143
- type?: "http_pull" | null;
2144
- }
2145
- )[]
2146
- | null;
2147
- consumersTotalCount?: number | null;
2148
- createdOn?: string | null;
2149
- modifiedOn?: string | null;
2150
- producers?:
2151
- | (
2152
- | { script?: string | null; type?: "worker" | null }
2153
- | { bucketName?: string | null; type?: "r2_bucket" | null }
2154
- )[]
2155
- | null;
2156
- producersTotalCount?: number | null;
2157
- queueId?: string | null;
2158
- queueName?: string | null;
2159
- settings?: {
2160
- deliveryDelay?: number | null;
2161
- deliveryPaused?: boolean | null;
2162
- messageRetentionPeriod?: number | null;
2163
- } | null;
2164
- },
2165
- ListQueuesError,
2166
- Credentials | HttpClient.HttpClient
2167
- >;
2168
- } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2068
+ > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2169
2069
  input: ListQueuesRequest,
2170
2070
  output: ListQueuesResponse,
2171
2071
  errors: [],
@@ -3391,37 +3291,7 @@ export const listSubscriptions: API.PaginatedOperationMethod<
3391
3291
  ListSubscriptionsResponse,
3392
3292
  ListSubscriptionsError,
3393
3293
  Credentials | HttpClient.HttpClient
3394
- > & {
3395
- pages: (
3396
- input: ListSubscriptionsRequest,
3397
- ) => stream.Stream<
3398
- ListSubscriptionsResponse,
3399
- ListSubscriptionsError,
3400
- Credentials | HttpClient.HttpClient
3401
- >;
3402
- items: (input: ListSubscriptionsRequest) => stream.Stream<
3403
- {
3404
- id: string;
3405
- createdAt: string;
3406
- destination: { queueId: string; type: "queues.queue" };
3407
- enabled: boolean;
3408
- events: string[];
3409
- modifiedAt: string;
3410
- name: string;
3411
- source:
3412
- | { type?: "images" | null }
3413
- | { type?: "kv" | null }
3414
- | { type?: "r2" | null }
3415
- | { type?: "superSlurper" | null }
3416
- | { type?: "vectorize" | null }
3417
- | { modelName?: string | null; type?: "workersAi.model" | null }
3418
- | { type?: "workersBuilds.worker" | null; workerName?: string | null }
3419
- | { type?: "workflows.workflow" | null; workflowName?: string | null };
3420
- },
3421
- ListSubscriptionsError,
3422
- Credentials | HttpClient.HttpClient
3423
- >;
3424
- } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
3294
+ > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
3425
3295
  input: ListSubscriptionsRequest,
3426
3296
  output: ListSubscriptionsResponse,
3427
3297
  errors: [],
@@ -5,7 +5,6 @@
5
5
  * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service r2
6
6
  */
7
7
 
8
- import * as stream from "effect/Stream";
9
8
  import * as Schema from "effect/Schema";
10
9
  import type * as HttpClient from "effect/unstable/http/HttpClient";
11
10
  import * as API from "../client/api.ts";
@@ -2529,6 +2528,57 @@ export const deleteBucketSippy: API.OperationMethod<
2529
2528
  errors: [NoSuchBucket, InvalidRoute],
2530
2529
  }));
2531
2530
 
2531
+ // =============================================================================
2532
+ // Object
2533
+ // =============================================================================
2534
+
2535
+ export interface DeleteObjectRequest {
2536
+ bucketName: string;
2537
+ objectName: string;
2538
+ /** Account ID. */
2539
+ accountId: string;
2540
+ /** Jurisdiction where objects in this bucket are guaranteed to be stored. */
2541
+ cfR2Jurisdiction?: "default" | "eu" | "fedramp";
2542
+ }
2543
+
2544
+ export const DeleteObjectRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2545
+ bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
2546
+ objectName: Schema.String.pipe(T.HttpPath("objectName")),
2547
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
2548
+ cfR2Jurisdiction: Schema.optional(
2549
+ Schema.Literals(["default", "eu", "fedramp"]),
2550
+ ).pipe(T.HttpHeader("cf-r2-jurisdiction")),
2551
+ }).pipe(
2552
+ T.Http({
2553
+ method: "DELETE",
2554
+ path: "/accounts/{account_id}/r2/buckets/{bucketName}/objects/{objectName}",
2555
+ }),
2556
+ ) as unknown as Schema.Schema<DeleteObjectRequest>;
2557
+
2558
+ export type DeleteObjectResponse = unknown;
2559
+
2560
+ export const DeleteObjectResponse =
2561
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Unknown.pipe(
2562
+ T.ResponsePath("result"),
2563
+ ) as unknown as Schema.Schema<DeleteObjectResponse>;
2564
+
2565
+ export type DeleteObjectError =
2566
+ | DefaultErrors
2567
+ | NoSuchBucket
2568
+ | InvalidRoute
2569
+ | NoRoute;
2570
+
2571
+ export const deleteObject: API.OperationMethod<
2572
+ DeleteObjectRequest,
2573
+ DeleteObjectResponse,
2574
+ DeleteObjectError,
2575
+ Credentials | HttpClient.HttpClient
2576
+ > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2577
+ input: DeleteObjectRequest,
2578
+ output: DeleteObjectResponse,
2579
+ errors: [NoSuchBucket, InvalidRoute, NoRoute],
2580
+ }));
2581
+
2532
2582
  // =============================================================================
2533
2583
  // SuperSlurperConnectivityPrecheck
2534
2584
  // =============================================================================
@@ -2963,53 +3013,7 @@ export const listSuperSlurperJobs: API.PaginatedOperationMethod<
2963
3013
  ListSuperSlurperJobsResponse,
2964
3014
  ListSuperSlurperJobsError,
2965
3015
  Credentials | HttpClient.HttpClient
2966
- > & {
2967
- pages: (
2968
- input: ListSuperSlurperJobsRequest,
2969
- ) => stream.Stream<
2970
- ListSuperSlurperJobsResponse,
2971
- ListSuperSlurperJobsError,
2972
- Credentials | HttpClient.HttpClient
2973
- >;
2974
- items: (input: ListSuperSlurperJobsRequest) => stream.Stream<
2975
- {
2976
- id?: string | null;
2977
- createdAt?: string | null;
2978
- finishedAt?: string | null;
2979
- overwrite?: boolean | null;
2980
- source?:
2981
- | {
2982
- bucket?: string | null;
2983
- endpoint?: string | null;
2984
- keys?: string[] | null;
2985
- pathPrefix?: string | null;
2986
- vendor?: "s3" | null;
2987
- }
2988
- | {
2989
- bucket?: string | null;
2990
- keys?: string[] | null;
2991
- pathPrefix?: string | null;
2992
- vendor?: "gcs" | null;
2993
- }
2994
- | {
2995
- bucket?: string | null;
2996
- jurisdiction?: "default" | "eu" | "fedramp" | null;
2997
- keys?: string[] | null;
2998
- pathPrefix?: string | null;
2999
- vendor?: "r2" | null;
3000
- }
3001
- | null;
3002
- status?: "running" | "paused" | "aborted" | "completed" | null;
3003
- target?: {
3004
- bucket?: string | null;
3005
- jurisdiction?: "default" | "eu" | "fedramp" | null;
3006
- vendor?: "r2" | null;
3007
- } | null;
3008
- },
3009
- ListSuperSlurperJobsError,
3010
- Credentials | HttpClient.HttpClient
3011
- >;
3012
- } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
3016
+ > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
3013
3017
  input: ListSuperSlurperJobsRequest,
3014
3018
  output: ListSuperSlurperJobsResponse,
3015
3019
  errors: [],
@@ -3404,42 +3408,7 @@ export const listSuperSlurperJobLogs: API.PaginatedOperationMethod<
3404
3408
  ListSuperSlurperJobLogsResponse,
3405
3409
  ListSuperSlurperJobLogsError,
3406
3410
  Credentials | HttpClient.HttpClient
3407
- > & {
3408
- pages: (
3409
- input: ListSuperSlurperJobLogsRequest,
3410
- ) => stream.Stream<
3411
- ListSuperSlurperJobLogsResponse,
3412
- ListSuperSlurperJobLogsError,
3413
- Credentials | HttpClient.HttpClient
3414
- >;
3415
- items: (input: ListSuperSlurperJobLogsRequest) => stream.Stream<
3416
- {
3417
- createdAt?: string | null;
3418
- job?: string | null;
3419
- logType?:
3420
- | "migrationStart"
3421
- | "migrationComplete"
3422
- | "migrationAbort"
3423
- | "migrationError"
3424
- | "migrationPause"
3425
- | "migrationResume"
3426
- | "migrationErrorFailedContinuation"
3427
- | "importErrorRetryExhaustion"
3428
- | "importSkippedStorageClass"
3429
- | "importSkippedOversized"
3430
- | "importSkippedEmptyObject"
3431
- | "importSkippedUnsupportedContentType"
3432
- | "importSkippedExcludedContentType"
3433
- | "importSkippedInvalidMedia"
3434
- | "importSkippedRequiresRetrieval"
3435
- | null;
3436
- message?: string | null;
3437
- objectKey?: string | null;
3438
- },
3439
- ListSuperSlurperJobLogsError,
3440
- Credentials | HttpClient.HttpClient
3441
- >;
3442
- } = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
3411
+ > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
3443
3412
  input: ListSuperSlurperJobLogsRequest,
3444
3413
  output: ListSuperSlurperJobLogsResponse,
3445
3414
  errors: [],