@distilled.cloud/cloudflare 0.0.0-john

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 (562) hide show
  1. package/README.md +59 -0
  2. package/lib/auth.d.ts +14 -0
  3. package/lib/auth.d.ts.map +1 -0
  4. package/lib/auth.js +13 -0
  5. package/lib/auth.js.map +1 -0
  6. package/lib/category.d.ts +2 -0
  7. package/lib/category.d.ts.map +1 -0
  8. package/lib/category.js +2 -0
  9. package/lib/category.js.map +1 -0
  10. package/lib/client/api.d.ts +12 -0
  11. package/lib/client/api.d.ts.map +1 -0
  12. package/lib/client/api.js +292 -0
  13. package/lib/client/api.js.map +1 -0
  14. package/lib/client/index.d.ts +8 -0
  15. package/lib/client/index.d.ts.map +1 -0
  16. package/lib/client/index.js +8 -0
  17. package/lib/client/index.js.map +1 -0
  18. package/lib/credentials.d.ts +68 -0
  19. package/lib/credentials.d.ts.map +1 -0
  20. package/lib/credentials.js +136 -0
  21. package/lib/credentials.js.map +1 -0
  22. package/lib/errors.d.ts +48 -0
  23. package/lib/errors.d.ts.map +1 -0
  24. package/lib/errors.js +31 -0
  25. package/lib/errors.js.map +1 -0
  26. package/lib/index.d.ts +10 -0
  27. package/lib/index.d.ts.map +1 -0
  28. package/lib/index.js +10 -0
  29. package/lib/index.js.map +1 -0
  30. package/lib/retry.d.ts +14 -0
  31. package/lib/retry.d.ts.map +1 -0
  32. package/lib/retry.js +14 -0
  33. package/lib/retry.js.map +1 -0
  34. package/lib/schemas.d.ts +29 -0
  35. package/lib/schemas.d.ts.map +1 -0
  36. package/lib/schemas.js +34 -0
  37. package/lib/schemas.js.map +1 -0
  38. package/lib/sensitive.d.ts +5 -0
  39. package/lib/sensitive.d.ts.map +1 -0
  40. package/lib/sensitive.js +5 -0
  41. package/lib/sensitive.js.map +1 -0
  42. package/lib/services/abuse-reports.d.ts +296 -0
  43. package/lib/services/abuse-reports.d.ts.map +1 -0
  44. package/lib/services/abuse-reports.js +414 -0
  45. package/lib/services/abuse-reports.js.map +1 -0
  46. package/lib/services/accounts.d.ts +766 -0
  47. package/lib/services/accounts.d.ts.map +1 -0
  48. package/lib/services/accounts.js +860 -0
  49. package/lib/services/accounts.js.map +1 -0
  50. package/lib/services/acm.d.ts +73 -0
  51. package/lib/services/acm.d.ts.map +1 -0
  52. package/lib/services/acm.js +80 -0
  53. package/lib/services/acm.js.map +1 -0
  54. package/lib/services/addressing.d.ts +1321 -0
  55. package/lib/services/addressing.d.ts.map +1 -0
  56. package/lib/services/addressing.js +1863 -0
  57. package/lib/services/addressing.js.map +1 -0
  58. package/lib/services/ai-gateway.d.ts +1137 -0
  59. package/lib/services/ai-gateway.d.ts.map +1 -0
  60. package/lib/services/ai-gateway.js +1830 -0
  61. package/lib/services/ai-gateway.js.map +1 -0
  62. package/lib/services/ai.d.ts +297 -0
  63. package/lib/services/ai.d.ts.map +1 -0
  64. package/lib/services/ai.js +352 -0
  65. package/lib/services/ai.js.map +1 -0
  66. package/lib/services/aisearch.d.ts +1069 -0
  67. package/lib/services/aisearch.d.ts.map +1 -0
  68. package/lib/services/aisearch.js +2542 -0
  69. package/lib/services/aisearch.js.map +1 -0
  70. package/lib/services/alerting.d.ts +855 -0
  71. package/lib/services/alerting.d.ts.map +1 -0
  72. package/lib/services/alerting.js +1445 -0
  73. package/lib/services/alerting.js.map +1 -0
  74. package/lib/services/api-gateway.d.ts +1088 -0
  75. package/lib/services/api-gateway.d.ts.map +1 -0
  76. package/lib/services/api-gateway.js +1655 -0
  77. package/lib/services/api-gateway.js.map +1 -0
  78. package/lib/services/argo.d.ts +101 -0
  79. package/lib/services/argo.d.ts.map +1 -0
  80. package/lib/services/argo.js +113 -0
  81. package/lib/services/argo.js.map +1 -0
  82. package/lib/services/audit-logs.d.ts +46 -0
  83. package/lib/services/audit-logs.d.ts.map +1 -0
  84. package/lib/services/audit-logs.js +37 -0
  85. package/lib/services/audit-logs.js.map +1 -0
  86. package/lib/services/billing.d.ts +62 -0
  87. package/lib/services/billing.d.ts.map +1 -0
  88. package/lib/services/billing.js +102 -0
  89. package/lib/services/billing.js.map +1 -0
  90. package/lib/services/bot-management.d.ts +124 -0
  91. package/lib/services/bot-management.d.ts.map +1 -0
  92. package/lib/services/bot-management.js +262 -0
  93. package/lib/services/bot-management.js.map +1 -0
  94. package/lib/services/botnet-feed.d.ts +65 -0
  95. package/lib/services/botnet-feed.d.ts.map +1 -0
  96. package/lib/services/botnet-feed.js +88 -0
  97. package/lib/services/botnet-feed.js.map +1 -0
  98. package/lib/services/brand-protection.d.ts +194 -0
  99. package/lib/services/brand-protection.d.ts.map +1 -0
  100. package/lib/services/brand-protection.js +221 -0
  101. package/lib/services/brand-protection.js.map +1 -0
  102. package/lib/services/browser-rendering.d.ts +857 -0
  103. package/lib/services/browser-rendering.d.ts.map +1 -0
  104. package/lib/services/browser-rendering.js +1142 -0
  105. package/lib/services/browser-rendering.js.map +1 -0
  106. package/lib/services/cache.d.ts +287 -0
  107. package/lib/services/cache.d.ts.map +1 -0
  108. package/lib/services/cache.js +354 -0
  109. package/lib/services/cache.js.map +1 -0
  110. package/lib/services/calls.d.ts +223 -0
  111. package/lib/services/calls.d.ts.map +1 -0
  112. package/lib/services/calls.js +188 -0
  113. package/lib/services/calls.js.map +1 -0
  114. package/lib/services/certificate-authorities.d.ts +40 -0
  115. package/lib/services/certificate-authorities.d.ts.map +1 -0
  116. package/lib/services/certificate-authorities.js +49 -0
  117. package/lib/services/certificate-authorities.js.map +1 -0
  118. package/lib/services/client-certificates.d.ts +288 -0
  119. package/lib/services/client-certificates.d.ts.map +1 -0
  120. package/lib/services/client-certificates.js +379 -0
  121. package/lib/services/client-certificates.js.map +1 -0
  122. package/lib/services/cloud-connector.d.ts +88 -0
  123. package/lib/services/cloud-connector.d.ts.map +1 -0
  124. package/lib/services/cloud-connector.js +97 -0
  125. package/lib/services/cloud-connector.js.map +1 -0
  126. package/lib/services/cloudforce-one.d.ts +1387 -0
  127. package/lib/services/cloudforce-one.d.ts.map +1 -0
  128. package/lib/services/cloudforce-one.js +1741 -0
  129. package/lib/services/cloudforce-one.js.map +1 -0
  130. package/lib/services/connectivity.d.ts +291 -0
  131. package/lib/services/connectivity.d.ts.map +1 -0
  132. package/lib/services/connectivity.js +404 -0
  133. package/lib/services/connectivity.js.map +1 -0
  134. package/lib/services/content-scanning.d.ts +156 -0
  135. package/lib/services/content-scanning.d.ts.map +1 -0
  136. package/lib/services/content-scanning.js +175 -0
  137. package/lib/services/content-scanning.js.map +1 -0
  138. package/lib/services/custom-certificates.d.ts +240 -0
  139. package/lib/services/custom-certificates.d.ts.map +1 -0
  140. package/lib/services/custom-certificates.js +336 -0
  141. package/lib/services/custom-certificates.js.map +1 -0
  142. package/lib/services/custom-hostnames.d.ts +590 -0
  143. package/lib/services/custom-hostnames.d.ts.map +1 -0
  144. package/lib/services/custom-hostnames.js +1204 -0
  145. package/lib/services/custom-hostnames.js.map +1 -0
  146. package/lib/services/custom-nameservers.d.ts +87 -0
  147. package/lib/services/custom-nameservers.d.ts.map +1 -0
  148. package/lib/services/custom-nameservers.js +95 -0
  149. package/lib/services/custom-nameservers.js.map +1 -0
  150. package/lib/services/custom-pages.d.ts +89 -0
  151. package/lib/services/custom-pages.d.ts.map +1 -0
  152. package/lib/services/custom-pages.js +140 -0
  153. package/lib/services/custom-pages.js.map +1 -0
  154. package/lib/services/d1.d.ts +392 -0
  155. package/lib/services/d1.d.ts.map +1 -0
  156. package/lib/services/d1.js +487 -0
  157. package/lib/services/d1.js.map +1 -0
  158. package/lib/services/dcv-delegation.d.ts +24 -0
  159. package/lib/services/dcv-delegation.d.ts.map +1 -0
  160. package/lib/services/dcv-delegation.js +24 -0
  161. package/lib/services/dcv-delegation.js.map +1 -0
  162. package/lib/services/diagnostics.d.ts +208 -0
  163. package/lib/services/diagnostics.d.ts.map +1 -0
  164. package/lib/services/diagnostics.js +288 -0
  165. package/lib/services/diagnostics.js.map +1 -0
  166. package/lib/services/dns-firewall.d.ts +317 -0
  167. package/lib/services/dns-firewall.d.ts.map +1 -0
  168. package/lib/services/dns-firewall.js +400 -0
  169. package/lib/services/dns-firewall.js.map +1 -0
  170. package/lib/services/dns.d.ts +3065 -0
  171. package/lib/services/dns.d.ts.map +1 -0
  172. package/lib/services/dns.js +4627 -0
  173. package/lib/services/dns.js.map +1 -0
  174. package/lib/services/durable-objects.d.ts +92 -0
  175. package/lib/services/durable-objects.d.ts.map +1 -0
  176. package/lib/services/durable-objects.js +103 -0
  177. package/lib/services/durable-objects.js.map +1 -0
  178. package/lib/services/email-routing.d.ts +598 -0
  179. package/lib/services/email-routing.d.ts.map +1 -0
  180. package/lib/services/email-routing.js +715 -0
  181. package/lib/services/email-routing.js.map +1 -0
  182. package/lib/services/email-security.d.ts +1389 -0
  183. package/lib/services/email-security.d.ts.map +1 -0
  184. package/lib/services/email-security.js +2261 -0
  185. package/lib/services/email-security.js.map +1 -0
  186. package/lib/services/filters.d.ts +197 -0
  187. package/lib/services/filters.d.ts.map +1 -0
  188. package/lib/services/filters.js +168 -0
  189. package/lib/services/filters.js.map +1 -0
  190. package/lib/services/firewall.d.ts +1352 -0
  191. package/lib/services/firewall.d.ts.map +1 -0
  192. package/lib/services/firewall.js +2084 -0
  193. package/lib/services/firewall.js.map +1 -0
  194. package/lib/services/healthchecks.d.ts +507 -0
  195. package/lib/services/healthchecks.d.ts.map +1 -0
  196. package/lib/services/healthchecks.js +867 -0
  197. package/lib/services/healthchecks.js.map +1 -0
  198. package/lib/services/hostnames.d.ts +86 -0
  199. package/lib/services/hostnames.d.ts.map +1 -0
  200. package/lib/services/hostnames.js +111 -0
  201. package/lib/services/hostnames.js.map +1 -0
  202. package/lib/services/hyperdrive.d.ts +203 -0
  203. package/lib/services/hyperdrive.d.ts.map +1 -0
  204. package/lib/services/hyperdrive.js +300 -0
  205. package/lib/services/hyperdrive.js.map +1 -0
  206. package/lib/services/iam.d.ts +657 -0
  207. package/lib/services/iam.d.ts.map +1 -0
  208. package/lib/services/iam.js +843 -0
  209. package/lib/services/iam.js.map +1 -0
  210. package/lib/services/images.d.ts +427 -0
  211. package/lib/services/images.d.ts.map +1 -0
  212. package/lib/services/images.js +444 -0
  213. package/lib/services/images.js.map +1 -0
  214. package/lib/services/intel.d.ts +865 -0
  215. package/lib/services/intel.d.ts.map +1 -0
  216. package/lib/services/intel.js +1266 -0
  217. package/lib/services/intel.js.map +1 -0
  218. package/lib/services/ips.d.ts +28 -0
  219. package/lib/services/ips.d.ts.map +1 -0
  220. package/lib/services/ips.js +39 -0
  221. package/lib/services/ips.js.map +1 -0
  222. package/lib/services/keyless-certificates.d.ts +197 -0
  223. package/lib/services/keyless-certificates.d.ts.map +1 -0
  224. package/lib/services/keyless-certificates.js +229 -0
  225. package/lib/services/keyless-certificates.js.map +1 -0
  226. package/lib/services/kv.d.ts +369 -0
  227. package/lib/services/kv.d.ts.map +1 -0
  228. package/lib/services/kv.js +453 -0
  229. package/lib/services/kv.js.map +1 -0
  230. package/lib/services/leaked-credential-checks.d.ts +129 -0
  231. package/lib/services/leaked-credential-checks.d.ts.map +1 -0
  232. package/lib/services/leaked-credential-checks.js +138 -0
  233. package/lib/services/leaked-credential-checks.js.map +1 -0
  234. package/lib/services/load-balancers.d.ts +1973 -0
  235. package/lib/services/load-balancers.d.ts.map +1 -0
  236. package/lib/services/load-balancers.js +3181 -0
  237. package/lib/services/load-balancers.js.map +1 -0
  238. package/lib/services/logpush.d.ts +401 -0
  239. package/lib/services/logpush.d.ts.map +1 -0
  240. package/lib/services/logpush.js +732 -0
  241. package/lib/services/logpush.js.map +1 -0
  242. package/lib/services/logs.d.ts +125 -0
  243. package/lib/services/logs.d.ts.map +1 -0
  244. package/lib/services/logs.js +149 -0
  245. package/lib/services/logs.js.map +1 -0
  246. package/lib/services/magic-cloud-networking.d.ts +1892 -0
  247. package/lib/services/magic-cloud-networking.d.ts.map +1 -0
  248. package/lib/services/magic-cloud-networking.js +5291 -0
  249. package/lib/services/magic-cloud-networking.js.map +1 -0
  250. package/lib/services/magic-network-monitoring.d.ts +379 -0
  251. package/lib/services/magic-network-monitoring.d.ts.map +1 -0
  252. package/lib/services/magic-network-monitoring.js +557 -0
  253. package/lib/services/magic-network-monitoring.js.map +1 -0
  254. package/lib/services/magic-transit.d.ts +3886 -0
  255. package/lib/services/magic-transit.d.ts.map +1 -0
  256. package/lib/services/magic-transit.js +6284 -0
  257. package/lib/services/magic-transit.js.map +1 -0
  258. package/lib/services/managed-transforms.d.ts +79 -0
  259. package/lib/services/managed-transforms.d.ts.map +1 -0
  260. package/lib/services/managed-transforms.js +111 -0
  261. package/lib/services/managed-transforms.js.map +1 -0
  262. package/lib/services/memberships.d.ts +204 -0
  263. package/lib/services/memberships.d.ts.map +1 -0
  264. package/lib/services/memberships.js +308 -0
  265. package/lib/services/memberships.js.map +1 -0
  266. package/lib/services/mtls-certificates.d.ts +164 -0
  267. package/lib/services/mtls-certificates.d.ts.map +1 -0
  268. package/lib/services/mtls-certificates.js +192 -0
  269. package/lib/services/mtls-certificates.js.map +1 -0
  270. package/lib/services/network-interconnects.d.ts +410 -0
  271. package/lib/services/network-interconnects.d.ts.map +1 -0
  272. package/lib/services/network-interconnects.js +583 -0
  273. package/lib/services/network-interconnects.js.map +1 -0
  274. package/lib/services/organizations.d.ts +232 -0
  275. package/lib/services/organizations.d.ts.map +1 -0
  276. package/lib/services/organizations.js +370 -0
  277. package/lib/services/organizations.js.map +1 -0
  278. package/lib/services/origin-ca-certificates.d.ts +119 -0
  279. package/lib/services/origin-ca-certificates.d.ts.map +1 -0
  280. package/lib/services/origin-ca-certificates.js +183 -0
  281. package/lib/services/origin-ca-certificates.js.map +1 -0
  282. package/lib/services/origin-post-quantum-encryption.d.ts +50 -0
  283. package/lib/services/origin-post-quantum-encryption.d.ts.map +1 -0
  284. package/lib/services/origin-post-quantum-encryption.js +64 -0
  285. package/lib/services/origin-post-quantum-encryption.js.map +1 -0
  286. package/lib/services/origin-tls-client-auth.d.ts +308 -0
  287. package/lib/services/origin-tls-client-auth.d.ts.map +1 -0
  288. package/lib/services/origin-tls-client-auth.js +435 -0
  289. package/lib/services/origin-tls-client-auth.js.map +1 -0
  290. package/lib/services/page-rules.d.ts +773 -0
  291. package/lib/services/page-rules.d.ts.map +1 -0
  292. package/lib/services/page-rules.js +1373 -0
  293. package/lib/services/page-rules.js.map +1 -0
  294. package/lib/services/page-shield.d.ts +505 -0
  295. package/lib/services/page-shield.d.ts.map +1 -0
  296. package/lib/services/page-shield.js +520 -0
  297. package/lib/services/page-shield.js.map +1 -0
  298. package/lib/services/pages.d.ts +1949 -0
  299. package/lib/services/pages.d.ts.map +1 -0
  300. package/lib/services/pages.js +3030 -0
  301. package/lib/services/pages.js.map +1 -0
  302. package/lib/services/pipelines.d.ts +1716 -0
  303. package/lib/services/pipelines.d.ts.map +1 -0
  304. package/lib/services/pipelines.js +2991 -0
  305. package/lib/services/pipelines.js.map +1 -0
  306. package/lib/services/queues.d.ts +904 -0
  307. package/lib/services/queues.d.ts.map +1 -0
  308. package/lib/services/queues.js +1250 -0
  309. package/lib/services/queues.js.map +1 -0
  310. package/lib/services/r2-data-catalog.d.ts +341 -0
  311. package/lib/services/r2-data-catalog.d.ts.map +1 -0
  312. package/lib/services/r2-data-catalog.js +513 -0
  313. package/lib/services/r2-data-catalog.js.map +1 -0
  314. package/lib/services/r2.d.ts +1087 -0
  315. package/lib/services/r2.d.ts.map +1 -0
  316. package/lib/services/r2.js +1404 -0
  317. package/lib/services/r2.js.map +1 -0
  318. package/lib/services/radar.d.ts +9365 -0
  319. package/lib/services/radar.d.ts.map +1 -0
  320. package/lib/services/radar.js +20552 -0
  321. package/lib/services/radar.js.map +1 -0
  322. package/lib/services/rate-limits.d.ts +360 -0
  323. package/lib/services/rate-limits.d.ts.map +1 -0
  324. package/lib/services/rate-limits.js +545 -0
  325. package/lib/services/rate-limits.js.map +1 -0
  326. package/lib/services/realtime-kit.d.ts +2728 -0
  327. package/lib/services/realtime-kit.d.ts.map +1 -0
  328. package/lib/services/realtime-kit.js +5402 -0
  329. package/lib/services/realtime-kit.js.map +1 -0
  330. package/lib/services/registrar.d.ts +121 -0
  331. package/lib/services/registrar.d.ts.map +1 -0
  332. package/lib/services/registrar.js +167 -0
  333. package/lib/services/registrar.js.map +1 -0
  334. package/lib/services/request-tracers.d.ts +61 -0
  335. package/lib/services/request-tracers.d.ts.map +1 -0
  336. package/lib/services/request-tracers.js +85 -0
  337. package/lib/services/request-tracers.js.map +1 -0
  338. package/lib/services/resource-sharing.d.ts +622 -0
  339. package/lib/services/resource-sharing.d.ts.map +1 -0
  340. package/lib/services/resource-sharing.js +929 -0
  341. package/lib/services/resource-sharing.js.map +1 -0
  342. package/lib/services/rules.d.ts +346 -0
  343. package/lib/services/rules.d.ts.map +1 -0
  344. package/lib/services/rules.js +431 -0
  345. package/lib/services/rules.js.map +1 -0
  346. package/lib/services/rulesets.d.ts +3345 -0
  347. package/lib/services/rulesets.d.ts.map +1 -0
  348. package/lib/services/rulesets.js +7904 -0
  349. package/lib/services/rulesets.js.map +1 -0
  350. package/lib/services/rum.d.ts +314 -0
  351. package/lib/services/rum.d.ts.map +1 -0
  352. package/lib/services/rum.js +442 -0
  353. package/lib/services/rum.js.map +1 -0
  354. package/lib/services/schema-validation.d.ts +273 -0
  355. package/lib/services/schema-validation.d.ts.map +1 -0
  356. package/lib/services/schema-validation.js +365 -0
  357. package/lib/services/schema-validation.js.map +1 -0
  358. package/lib/services/secrets-store.d.ts +393 -0
  359. package/lib/services/secrets-store.d.ts.map +1 -0
  360. package/lib/services/secrets-store.js +452 -0
  361. package/lib/services/secrets-store.js.map +1 -0
  362. package/lib/services/security-center.d.ts +136 -0
  363. package/lib/services/security-center.d.ts.map +1 -0
  364. package/lib/services/security-center.js +196 -0
  365. package/lib/services/security-center.js.map +1 -0
  366. package/lib/services/security-txt.d.ts +105 -0
  367. package/lib/services/security-txt.d.ts.map +1 -0
  368. package/lib/services/security-txt.js +136 -0
  369. package/lib/services/security-txt.js.map +1 -0
  370. package/lib/services/snippets.d.ts +190 -0
  371. package/lib/services/snippets.d.ts.map +1 -0
  372. package/lib/services/snippets.js +221 -0
  373. package/lib/services/snippets.js.map +1 -0
  374. package/lib/services/spectrum.d.ts +350 -0
  375. package/lib/services/spectrum.d.ts.map +1 -0
  376. package/lib/services/spectrum.js +535 -0
  377. package/lib/services/spectrum.js.map +1 -0
  378. package/lib/services/speed.d.ts +257 -0
  379. package/lib/services/speed.d.ts.map +1 -0
  380. package/lib/services/speed.js +471 -0
  381. package/lib/services/speed.js.map +1 -0
  382. package/lib/services/ssl.d.ts +412 -0
  383. package/lib/services/ssl.d.ts.map +1 -0
  384. package/lib/services/ssl.js +755 -0
  385. package/lib/services/ssl.js.map +1 -0
  386. package/lib/services/stream.d.ts +1110 -0
  387. package/lib/services/stream.d.ts.map +1 -0
  388. package/lib/services/stream.js +1085 -0
  389. package/lib/services/stream.js.map +1 -0
  390. package/lib/services/token-validation.d.ts +662 -0
  391. package/lib/services/token-validation.d.ts.map +1 -0
  392. package/lib/services/token-validation.js +834 -0
  393. package/lib/services/token-validation.js.map +1 -0
  394. package/lib/services/turnstile.d.ts +272 -0
  395. package/lib/services/turnstile.d.ts.map +1 -0
  396. package/lib/services/turnstile.js +339 -0
  397. package/lib/services/turnstile.js.map +1 -0
  398. package/lib/services/url-normalization.d.ts +53 -0
  399. package/lib/services/url-normalization.d.ts.map +1 -0
  400. package/lib/services/url-normalization.js +52 -0
  401. package/lib/services/url-normalization.js.map +1 -0
  402. package/lib/services/url-scanner.d.ts +612 -0
  403. package/lib/services/url-scanner.d.ts.map +1 -0
  404. package/lib/services/url-scanner.js +915 -0
  405. package/lib/services/url-scanner.js.map +1 -0
  406. package/lib/services/user.d.ts +507 -0
  407. package/lib/services/user.d.ts.map +1 -0
  408. package/lib/services/user.js +634 -0
  409. package/lib/services/user.js.map +1 -0
  410. package/lib/services/vectorize.d.ts +297 -0
  411. package/lib/services/vectorize.d.ts.map +1 -0
  412. package/lib/services/vectorize.js +351 -0
  413. package/lib/services/vectorize.js.map +1 -0
  414. package/lib/services/waiting-rooms.d.ts +1149 -0
  415. package/lib/services/waiting-rooms.d.ts.map +1 -0
  416. package/lib/services/waiting-rooms.js +1859 -0
  417. package/lib/services/waiting-rooms.js.map +1 -0
  418. package/lib/services/web3.d.ts +289 -0
  419. package/lib/services/web3.d.ts.map +1 -0
  420. package/lib/services/web3.js +381 -0
  421. package/lib/services/web3.js.map +1 -0
  422. package/lib/services/workers-for-platforms.d.ts +1394 -0
  423. package/lib/services/workers-for-platforms.d.ts.map +1 -0
  424. package/lib/services/workers-for-platforms.js +2121 -0
  425. package/lib/services/workers-for-platforms.js.map +1 -0
  426. package/lib/services/workers.d.ts +3827 -0
  427. package/lib/services/workers.d.ts.map +1 -0
  428. package/lib/services/workers.js +6105 -0
  429. package/lib/services/workers.js.map +1 -0
  430. package/lib/services/workflows.d.ts +442 -0
  431. package/lib/services/workflows.d.ts.map +1 -0
  432. package/lib/services/workflows.js +599 -0
  433. package/lib/services/workflows.js.map +1 -0
  434. package/lib/services/zaraz.d.ts +312 -0
  435. package/lib/services/zaraz.d.ts.map +1 -0
  436. package/lib/services/zaraz.js +305 -0
  437. package/lib/services/zaraz.js.map +1 -0
  438. package/lib/services/zero-trust.d.ts +18235 -0
  439. package/lib/services/zero-trust.d.ts.map +1 -0
  440. package/lib/services/zero-trust.js +30268 -0
  441. package/lib/services/zero-trust.js.map +1 -0
  442. package/lib/services/zones.d.ts +1382 -0
  443. package/lib/services/zones.d.ts.map +1 -0
  444. package/lib/services/zones.js +2477 -0
  445. package/lib/services/zones.js.map +1 -0
  446. package/lib/traits.d.ts +28 -0
  447. package/lib/traits.d.ts.map +1 -0
  448. package/lib/traits.js +26 -0
  449. package/lib/traits.js.map +1 -0
  450. package/package.json +82 -0
  451. package/src/auth.ts +15 -0
  452. package/src/category.ts +1 -0
  453. package/src/client/api.ts +421 -0
  454. package/src/client/index.ts +7 -0
  455. package/src/credentials.ts +271 -0
  456. package/src/errors.ts +73 -0
  457. package/src/index.ts +9 -0
  458. package/src/retry.ts +35 -0
  459. package/src/schemas.ts +51 -0
  460. package/src/sensitive.ts +4 -0
  461. package/src/services/abuse-reports.ts +955 -0
  462. package/src/services/accounts.ts +2152 -0
  463. package/src/services/acm.ts +178 -0
  464. package/src/services/addressing.ts +4262 -0
  465. package/src/services/ai-gateway.ts +3773 -0
  466. package/src/services/ai.ts +901 -0
  467. package/src/services/aisearch.ts +5215 -0
  468. package/src/services/alerting.ts +3303 -0
  469. package/src/services/api-gateway.ts +3890 -0
  470. package/src/services/argo.ts +270 -0
  471. package/src/services/audit-logs.ts +90 -0
  472. package/src/services/billing.ts +176 -0
  473. package/src/services/bot-management.ts +545 -0
  474. package/src/services/botnet-feed.ts +205 -0
  475. package/src/services/brand-protection.ts +575 -0
  476. package/src/services/browser-rendering.ts +2720 -0
  477. package/src/services/cache.ts +877 -0
  478. package/src/services/calls.ts +548 -0
  479. package/src/services/certificate-authorities.ts +114 -0
  480. package/src/services/client-certificates.ts +815 -0
  481. package/src/services/cloud-connector.ts +248 -0
  482. package/src/services/cloudforce-one.ts +4104 -0
  483. package/src/services/connectivity.ts +706 -0
  484. package/src/services/content-scanning.ts +458 -0
  485. package/src/services/custom-certificates.ts +690 -0
  486. package/src/services/custom-hostnames.ts +2641 -0
  487. package/src/services/custom-nameservers.ts +235 -0
  488. package/src/services/custom-pages.ts +311 -0
  489. package/src/services/d1.ts +1208 -0
  490. package/src/services/dcv-delegation.ts +54 -0
  491. package/src/services/diagnostics.ts +677 -0
  492. package/src/services/dns-firewall.ts +904 -0
  493. package/src/services/dns.ts +9277 -0
  494. package/src/services/durable-objects.ts +237 -0
  495. package/src/services/email-routing.ts +1796 -0
  496. package/src/services/email-security.ts +5052 -0
  497. package/src/services/filters.ts +488 -0
  498. package/src/services/firewall.ts +4728 -0
  499. package/src/services/healthchecks.ts +1866 -0
  500. package/src/services/hostnames.ts +254 -0
  501. package/src/services/hyperdrive.ts +595 -0
  502. package/src/services/iam.ts +1969 -0
  503. package/src/services/images.ts +1180 -0
  504. package/src/services/intel.ts +3072 -0
  505. package/src/services/ips.ts +88 -0
  506. package/src/services/keyless-certificates.ts +509 -0
  507. package/src/services/kv.ts +1129 -0
  508. package/src/services/leaked-credential-checks.ts +364 -0
  509. package/src/services/load-balancers.ts +6993 -0
  510. package/src/services/logpush.ts +1695 -0
  511. package/src/services/logs.ts +389 -0
  512. package/src/services/magic-cloud-networking.ts +10747 -0
  513. package/src/services/magic-network-monitoring.ts +1200 -0
  514. package/src/services/magic-transit.ts +13673 -0
  515. package/src/services/managed-transforms.ts +245 -0
  516. package/src/services/memberships.ts +698 -0
  517. package/src/services/mtls-certificates.ts +444 -0
  518. package/src/services/network-interconnects.ts +1253 -0
  519. package/src/services/organizations.ts +738 -0
  520. package/src/services/origin-ca-certificates.ts +369 -0
  521. package/src/services/origin-post-quantum-encryption.ts +136 -0
  522. package/src/services/origin-tls-client-auth.ts +1002 -0
  523. package/src/services/page-rules.ts +2632 -0
  524. package/src/services/page-shield.ts +1371 -0
  525. package/src/services/pages.ts +6167 -0
  526. package/src/services/pipelines.ts +6455 -0
  527. package/src/services/queues.ts +2827 -0
  528. package/src/services/r2-data-catalog.ts +1151 -0
  529. package/src/services/r2.ts +3529 -0
  530. package/src/services/radar.ts +42836 -0
  531. package/src/services/rate-limits.ts +1252 -0
  532. package/src/services/realtime-kit.ts +11080 -0
  533. package/src/services/registrar.ts +390 -0
  534. package/src/services/request-tracers.ts +161 -0
  535. package/src/services/resource-sharing.ts +2082 -0
  536. package/src/services/rules.ts +953 -0
  537. package/src/services/rulesets.ts +15361 -0
  538. package/src/services/rum.ts +994 -0
  539. package/src/services/schema-validation.ts +869 -0
  540. package/src/services/secrets-store.ts +1050 -0
  541. package/src/services/security-center.ts +495 -0
  542. package/src/services/security-txt.ts +317 -0
  543. package/src/services/snippets.ts +562 -0
  544. package/src/services/spectrum.ts +1190 -0
  545. package/src/services/speed.ts +1154 -0
  546. package/src/services/ssl.ts +1714 -0
  547. package/src/services/stream.ts +3008 -0
  548. package/src/services/token-validation.ts +1825 -0
  549. package/src/services/turnstile.ts +725 -0
  550. package/src/services/url-normalization.ts +133 -0
  551. package/src/services/url-scanner.ts +1851 -0
  552. package/src/services/user.ts +1587 -0
  553. package/src/services/vectorize.ts +875 -0
  554. package/src/services/waiting-rooms.ts +4216 -0
  555. package/src/services/web3.ts +899 -0
  556. package/src/services/workers-for-platforms.ts +4134 -0
  557. package/src/services/workers.ts +12298 -0
  558. package/src/services/workflows.ts +1372 -0
  559. package/src/services/zaraz.ts +833 -0
  560. package/src/services/zero-trust.ts +64685 -0
  561. package/src/services/zones.ts +5106 -0
  562. package/src/traits.ts +47 -0
@@ -0,0 +1,1087 @@
1
+ /**
2
+ * Cloudflare R2 API
3
+ *
4
+ * Generated from Cloudflare TypeScript SDK.
5
+ * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service r2
6
+ */
7
+ import * as stream from "effect/Stream";
8
+ import * as Schema from "effect/Schema";
9
+ import type * as HttpClient from "effect/unstable/http/HttpClient";
10
+ import * as API from "../client/api.ts";
11
+ import type { Credentials } from "../credentials.ts";
12
+ import { type DefaultErrors } from "../errors.ts";
13
+ declare const BucketAlreadyExists_base: Schema.ErrorClass<BucketAlreadyExists, Schema.TaggedStruct<"BucketAlreadyExists", {
14
+ readonly code: Schema.Number;
15
+ readonly message: Schema.String;
16
+ }>, import("effect/Cause").YieldableError>;
17
+ export declare class BucketAlreadyExists extends BucketAlreadyExists_base {
18
+ }
19
+ declare const BucketNotFound_base: Schema.ErrorClass<BucketNotFound, Schema.TaggedStruct<"BucketNotFound", {
20
+ readonly code: Schema.Number;
21
+ readonly message: Schema.String;
22
+ }>, import("effect/Cause").YieldableError>;
23
+ export declare class BucketNotFound extends BucketNotFound_base {
24
+ }
25
+ declare const InvalidBucketName_base: Schema.ErrorClass<InvalidBucketName, Schema.TaggedStruct<"InvalidBucketName", {
26
+ readonly code: Schema.Number;
27
+ readonly message: Schema.String;
28
+ }>, import("effect/Cause").YieldableError>;
29
+ export declare class InvalidBucketName extends InvalidBucketName_base {
30
+ }
31
+ declare const InvalidRoute_base: Schema.ErrorClass<InvalidRoute, Schema.TaggedStruct<"InvalidRoute", {
32
+ readonly code: Schema.Number;
33
+ readonly message: Schema.String;
34
+ }>, import("effect/Cause").YieldableError>;
35
+ export declare class InvalidRoute extends InvalidRoute_base {
36
+ }
37
+ declare const NoCorsConfiguration_base: Schema.ErrorClass<NoCorsConfiguration, Schema.TaggedStruct<"NoCorsConfiguration", {
38
+ readonly code: Schema.Number;
39
+ readonly message: Schema.String;
40
+ }>, import("effect/Cause").YieldableError>;
41
+ export declare class NoCorsConfiguration extends NoCorsConfiguration_base {
42
+ }
43
+ declare const NoEventNotificationConfig_base: Schema.ErrorClass<NoEventNotificationConfig, Schema.TaggedStruct<"NoEventNotificationConfig", {
44
+ readonly code: Schema.Number;
45
+ readonly message: Schema.String;
46
+ }>, import("effect/Cause").YieldableError>;
47
+ export declare class NoEventNotificationConfig extends NoEventNotificationConfig_base {
48
+ }
49
+ declare const NoRoute_base: Schema.ErrorClass<NoRoute, Schema.TaggedStruct<"NoRoute", {
50
+ readonly code: Schema.Number;
51
+ readonly message: Schema.String;
52
+ }>, import("effect/Cause").YieldableError>;
53
+ export declare class NoRoute extends NoRoute_base {
54
+ }
55
+ declare const NoSuchBucket_base: Schema.ErrorClass<NoSuchBucket, Schema.TaggedStruct<"NoSuchBucket", {
56
+ readonly code: Schema.Number;
57
+ readonly message: Schema.String;
58
+ }>, import("effect/Cause").YieldableError>;
59
+ export declare class NoSuchBucket extends NoSuchBucket_base {
60
+ }
61
+ export interface AbortAllSuperSlurperJobRequest {
62
+ accountId: string;
63
+ }
64
+ export declare const AbortAllSuperSlurperJobRequest: Schema.Schema<AbortAllSuperSlurperJobRequest>;
65
+ export type AbortAllSuperSlurperJobResponse = string;
66
+ export declare const AbortAllSuperSlurperJobResponse: Schema.Schema<string>;
67
+ export type AbortAllSuperSlurperJobError = DefaultErrors;
68
+ export declare const abortAllSuperSlurperJob: API.OperationMethod<AbortAllSuperSlurperJobRequest, AbortAllSuperSlurperJobResponse, AbortAllSuperSlurperJobError, Credentials | HttpClient.HttpClient>;
69
+ export interface GetBucketRequest {
70
+ bucketName: string;
71
+ /** Path param: Account ID. */
72
+ accountId: string;
73
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
74
+ jurisdiction?: "default" | "eu" | "fedramp";
75
+ }
76
+ export declare const GetBucketRequest: Schema.Schema<GetBucketRequest>;
77
+ export interface GetBucketResponse {
78
+ /** Creation timestamp. */
79
+ creationDate?: string | null;
80
+ /** Jurisdiction where objects in this bucket are guaranteed to be stored. */
81
+ jurisdiction?: "default" | "eu" | "fedramp" | null;
82
+ /** Location of the bucket. */
83
+ location?: "apac" | "eeur" | "enam" | "weur" | "wnam" | "oc" | "APAC" | "EEUR" | "ENAM" | "WEUR" | "WNAM" | "OC" | null;
84
+ /** Name of the bucket. */
85
+ name?: string | null;
86
+ /** Storage class for newly uploaded objects, unless specified otherwise. */
87
+ storageClass?: "Standard" | "InfrequentAccess" | null;
88
+ }
89
+ export declare const GetBucketResponse: Schema.Schema<GetBucketResponse>;
90
+ export type GetBucketError = DefaultErrors | NoSuchBucket | InvalidRoute;
91
+ export declare const getBucket: API.OperationMethod<GetBucketRequest, GetBucketResponse, GetBucketError, Credentials | HttpClient.HttpClient>;
92
+ export interface ListBucketsRequest {
93
+ /** Path param: Account ID. */
94
+ accountId: string;
95
+ /** Query param: Pagination cursor received during the last List Buckets call. R2 buckets are paginated using cursors instead of page numbers. */
96
+ cursor?: string;
97
+ /** Query param: Direction to order buckets. */
98
+ direction?: "asc" | "desc";
99
+ /** Query param: Bucket names to filter by. Only buckets with this phrase in their name will be returned. */
100
+ nameContains?: string;
101
+ /** Query param: Field to order buckets by. */
102
+ order?: "name";
103
+ /** Query param: Maximum number of buckets to return in a single call. */
104
+ perPage?: number;
105
+ /** Query param: Bucket name to start searching after. Buckets are ordered lexicographically. */
106
+ startAfter?: string;
107
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
108
+ jurisdiction?: "default" | "eu" | "fedramp";
109
+ }
110
+ export declare const ListBucketsRequest: Schema.Schema<ListBucketsRequest>;
111
+ export interface ListBucketsResponse {
112
+ buckets?: {
113
+ creationDate?: string | null;
114
+ jurisdiction?: "default" | "eu" | "fedramp" | null;
115
+ location?: "apac" | "eeur" | "enam" | "weur" | "wnam" | "oc" | "APAC" | "EEUR" | "ENAM" | "WEUR" | "WNAM" | "OC" | null;
116
+ name?: string | null;
117
+ storageClass?: "Standard" | "InfrequentAccess" | null;
118
+ }[] | null;
119
+ }
120
+ export declare const ListBucketsResponse: Schema.Schema<ListBucketsResponse>;
121
+ export type ListBucketsError = DefaultErrors | InvalidRoute;
122
+ export declare const listBuckets: API.OperationMethod<ListBucketsRequest, ListBucketsResponse, ListBucketsError, Credentials | HttpClient.HttpClient>;
123
+ export interface CreateBucketRequest {
124
+ /** Path param: Account ID. */
125
+ accountId: string;
126
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
127
+ jurisdiction?: "default" | "eu" | "fedramp";
128
+ /** Body param: Name of the bucket. */
129
+ name: string;
130
+ /** Body param: Location of the bucket. */
131
+ locationHint?: "apac" | "eeur" | "enam" | "weur" | "wnam" | "oc";
132
+ /** Body param: Storage class for newly uploaded objects, unless specified otherwise. */
133
+ storageClass?: "Standard" | "InfrequentAccess";
134
+ }
135
+ export declare const CreateBucketRequest: Schema.Schema<CreateBucketRequest>;
136
+ export interface CreateBucketResponse {
137
+ /** Creation timestamp. */
138
+ creationDate?: string | null;
139
+ /** Jurisdiction where objects in this bucket are guaranteed to be stored. */
140
+ jurisdiction?: "default" | "eu" | "fedramp" | null;
141
+ /** Location of the bucket. */
142
+ location?: "apac" | "eeur" | "enam" | "weur" | "wnam" | "oc" | "APAC" | "EEUR" | "ENAM" | "WEUR" | "WNAM" | "OC" | null;
143
+ /** Name of the bucket. */
144
+ name?: string | null;
145
+ /** Storage class for newly uploaded objects, unless specified otherwise. */
146
+ storageClass?: "Standard" | "InfrequentAccess" | null;
147
+ }
148
+ export declare const CreateBucketResponse: Schema.Schema<CreateBucketResponse>;
149
+ export type CreateBucketError = DefaultErrors | InvalidBucketName | BucketAlreadyExists | InvalidRoute;
150
+ export declare const createBucket: API.OperationMethod<CreateBucketRequest, CreateBucketResponse, CreateBucketError, Credentials | HttpClient.HttpClient>;
151
+ export interface PatchBucketRequest {
152
+ bucketName: string;
153
+ /** Path param: Account ID. */
154
+ accountId: string;
155
+ /** Header param: Storage class for newly uploaded objects, unless specified otherwise. */
156
+ storageClass: "Standard" | "InfrequentAccess";
157
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
158
+ jurisdiction?: "default" | "eu" | "fedramp";
159
+ }
160
+ export declare const PatchBucketRequest: Schema.Schema<PatchBucketRequest>;
161
+ export interface PatchBucketResponse {
162
+ /** Creation timestamp. */
163
+ creationDate?: string | null;
164
+ /** Jurisdiction where objects in this bucket are guaranteed to be stored. */
165
+ jurisdiction?: "default" | "eu" | "fedramp" | null;
166
+ /** Location of the bucket. */
167
+ location?: "apac" | "eeur" | "enam" | "weur" | "wnam" | "oc" | "APAC" | "EEUR" | "ENAM" | "WEUR" | "WNAM" | "OC" | null;
168
+ /** Name of the bucket. */
169
+ name?: string | null;
170
+ /** Storage class for newly uploaded objects, unless specified otherwise. */
171
+ storageClass?: "Standard" | "InfrequentAccess" | null;
172
+ }
173
+ export declare const PatchBucketResponse: Schema.Schema<PatchBucketResponse>;
174
+ export type PatchBucketError = DefaultErrors | NoSuchBucket | InvalidRoute;
175
+ export declare const patchBucket: API.OperationMethod<PatchBucketRequest, PatchBucketResponse, PatchBucketError, Credentials | HttpClient.HttpClient>;
176
+ export interface DeleteBucketRequest {
177
+ bucketName: string;
178
+ /** Path param: Account ID. */
179
+ accountId: string;
180
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
181
+ jurisdiction?: "default" | "eu" | "fedramp";
182
+ }
183
+ export declare const DeleteBucketRequest: Schema.Schema<DeleteBucketRequest>;
184
+ export type DeleteBucketResponse = unknown;
185
+ export declare const DeleteBucketResponse: Schema.Schema<unknown>;
186
+ export type DeleteBucketError = DefaultErrors | NoSuchBucket | InvalidRoute | NoRoute;
187
+ export declare const deleteBucket: API.OperationMethod<DeleteBucketRequest, DeleteBucketResponse, DeleteBucketError, Credentials | HttpClient.HttpClient>;
188
+ export interface GetBucketCorsRequest {
189
+ bucketName: string;
190
+ /** Path param: Account ID. */
191
+ accountId: string;
192
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
193
+ jurisdiction?: "default" | "eu" | "fedramp";
194
+ }
195
+ export declare const GetBucketCorsRequest: Schema.Schema<GetBucketCorsRequest>;
196
+ export interface GetBucketCorsResponse {
197
+ rules?: {
198
+ allowed: {
199
+ methods: ("GET" | "PUT" | "POST" | "DELETE" | "HEAD")[];
200
+ origins: string[];
201
+ headers?: string[] | null;
202
+ };
203
+ id?: string | null;
204
+ exposeHeaders?: string[] | null;
205
+ maxAgeSeconds?: number | null;
206
+ }[] | null;
207
+ }
208
+ export declare const GetBucketCorsResponse: Schema.Schema<GetBucketCorsResponse>;
209
+ export type GetBucketCorsError = DefaultErrors | NoSuchBucket | InvalidRoute | NoCorsConfiguration;
210
+ export declare const getBucketCors: API.OperationMethod<GetBucketCorsRequest, GetBucketCorsResponse, GetBucketCorsError, Credentials | HttpClient.HttpClient>;
211
+ export interface PutBucketCorsRequest {
212
+ bucketName: string;
213
+ /** Path param: Account ID. */
214
+ accountId: string;
215
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
216
+ jurisdiction?: "default" | "eu" | "fedramp";
217
+ /** Body param: */
218
+ rules?: {
219
+ allowed: {
220
+ methods: ("GET" | "PUT" | "POST" | "DELETE" | "HEAD")[];
221
+ origins: string[];
222
+ headers?: string[];
223
+ };
224
+ id?: string;
225
+ exposeHeaders?: string[];
226
+ maxAgeSeconds?: number;
227
+ }[];
228
+ }
229
+ export declare const PutBucketCorsRequest: Schema.Schema<PutBucketCorsRequest>;
230
+ export type PutBucketCorsResponse = unknown;
231
+ export declare const PutBucketCorsResponse: Schema.Schema<unknown>;
232
+ export type PutBucketCorsError = DefaultErrors | NoSuchBucket | InvalidRoute;
233
+ export declare const putBucketCors: API.OperationMethod<PutBucketCorsRequest, PutBucketCorsResponse, PutBucketCorsError, Credentials | HttpClient.HttpClient>;
234
+ export interface DeleteBucketCorsRequest {
235
+ bucketName: string;
236
+ /** Path param: Account ID. */
237
+ accountId: string;
238
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
239
+ jurisdiction?: "default" | "eu" | "fedramp";
240
+ }
241
+ export declare const DeleteBucketCorsRequest: Schema.Schema<DeleteBucketCorsRequest>;
242
+ export type DeleteBucketCorsResponse = unknown;
243
+ export declare const DeleteBucketCorsResponse: Schema.Schema<unknown>;
244
+ export type DeleteBucketCorsError = DefaultErrors | NoSuchBucket | InvalidRoute;
245
+ export declare const deleteBucketCors: API.OperationMethod<DeleteBucketCorsRequest, DeleteBucketCorsResponse, DeleteBucketCorsError, Credentials | HttpClient.HttpClient>;
246
+ export interface GetBucketDomainCustomRequest {
247
+ bucketName: string;
248
+ domain: string;
249
+ /** Path param: Account ID. */
250
+ accountId: string;
251
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
252
+ jurisdiction?: "default" | "eu" | "fedramp";
253
+ }
254
+ export declare const GetBucketDomainCustomRequest: Schema.Schema<GetBucketDomainCustomRequest>;
255
+ export interface GetBucketDomainCustomResponse {
256
+ /** Domain name of the custom domain to be added. */
257
+ domain: string;
258
+ /** Whether this bucket is publicly accessible at the specified custom domain. */
259
+ enabled: boolean;
260
+ status: {
261
+ ownership: "pending" | "active" | "deactivated" | "blocked" | "error" | "unknown";
262
+ ssl: "initializing" | "pending" | "active" | "deactivated" | "error" | "unknown";
263
+ };
264
+ /** An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format. */
265
+ ciphers?: string[] | null;
266
+ /** Minimum TLS Version the custom domain will accept for incoming connections. If not set, defaults to 1.0. */
267
+ minTLS?: "1.0" | "1.1" | "1.2" | "1.3" | null;
268
+ /** Zone ID of the custom domain resides in. */
269
+ zoneId?: string | null;
270
+ /** Zone that the custom domain resides in. */
271
+ zoneName?: string | null;
272
+ }
273
+ export declare const GetBucketDomainCustomResponse: Schema.Schema<GetBucketDomainCustomResponse>;
274
+ export type GetBucketDomainCustomError = DefaultErrors;
275
+ export declare const getBucketDomainCustom: API.OperationMethod<GetBucketDomainCustomRequest, GetBucketDomainCustomResponse, GetBucketDomainCustomError, Credentials | HttpClient.HttpClient>;
276
+ export interface ListBucketDomainCustomsRequest {
277
+ bucketName: string;
278
+ /** Path param: Account ID. */
279
+ accountId: string;
280
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
281
+ jurisdiction?: "default" | "eu" | "fedramp";
282
+ }
283
+ export declare const ListBucketDomainCustomsRequest: Schema.Schema<ListBucketDomainCustomsRequest>;
284
+ export interface ListBucketDomainCustomsResponse {
285
+ domains: {
286
+ domain: string;
287
+ enabled: boolean;
288
+ status: {
289
+ ownership: "pending" | "active" | "deactivated" | "blocked" | "error" | "unknown";
290
+ ssl: "initializing" | "pending" | "active" | "deactivated" | "error" | "unknown";
291
+ };
292
+ ciphers?: string[] | null;
293
+ minTLS?: "1.0" | "1.1" | "1.2" | "1.3" | null;
294
+ zoneId?: string | null;
295
+ zoneName?: string | null;
296
+ }[];
297
+ }
298
+ export declare const ListBucketDomainCustomsResponse: Schema.Schema<ListBucketDomainCustomsResponse>;
299
+ export type ListBucketDomainCustomsError = DefaultErrors | NoSuchBucket | InvalidRoute;
300
+ export declare const listBucketDomainCustoms: API.OperationMethod<ListBucketDomainCustomsRequest, ListBucketDomainCustomsResponse, ListBucketDomainCustomsError, Credentials | HttpClient.HttpClient>;
301
+ export interface CreateBucketDomainCustomRequest {
302
+ bucketName: string;
303
+ /** Path param: Account ID. */
304
+ accountId: string;
305
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
306
+ jurisdiction?: "default" | "eu" | "fedramp";
307
+ /** Body param: Name of the custom domain to be added. */
308
+ domain: string;
309
+ /** Body param: Whether to enable public bucket access at the custom domain. If undefined, the domain will be enabled. */
310
+ enabled: boolean;
311
+ /** Body param: Zone ID of the custom domain. */
312
+ zoneId: string;
313
+ /** Body param: An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format. */
314
+ ciphers?: string[];
315
+ /** Body param: Minimum TLS Version the custom domain will accept for incoming connections. If not set, defaults to 1.0. */
316
+ minTLS?: "1.0" | "1.1" | "1.2" | "1.3";
317
+ }
318
+ export declare const CreateBucketDomainCustomRequest: Schema.Schema<CreateBucketDomainCustomRequest>;
319
+ export interface CreateBucketDomainCustomResponse {
320
+ /** Domain name of the affected custom domain. */
321
+ domain: string;
322
+ /** Whether this bucket is publicly accessible at the specified custom domain. */
323
+ enabled: boolean;
324
+ /** An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format. */
325
+ ciphers?: string[] | null;
326
+ /** Minimum TLS Version the custom domain will accept for incoming connections. If not set, defaults to 1.0. */
327
+ minTLS?: "1.0" | "1.1" | "1.2" | "1.3" | null;
328
+ }
329
+ export declare const CreateBucketDomainCustomResponse: Schema.Schema<CreateBucketDomainCustomResponse>;
330
+ export type CreateBucketDomainCustomError = DefaultErrors | NoSuchBucket | InvalidBucketName;
331
+ export declare const createBucketDomainCustom: API.OperationMethod<CreateBucketDomainCustomRequest, CreateBucketDomainCustomResponse, CreateBucketDomainCustomError, Credentials | HttpClient.HttpClient>;
332
+ export interface UpdateBucketDomainCustomRequest {
333
+ bucketName: string;
334
+ domain: string;
335
+ /** Path param: Account ID. */
336
+ accountId: string;
337
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
338
+ jurisdiction?: "default" | "eu" | "fedramp";
339
+ /** Body param: An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format. */
340
+ ciphers?: string[];
341
+ /** Body param: Whether to enable public bucket access at the specified custom domain. */
342
+ enabled?: boolean;
343
+ /** Body param: Minimum TLS Version the custom domain will accept for incoming connections. If not set, defaults to previous value. */
344
+ minTLS?: "1.0" | "1.1" | "1.2" | "1.3";
345
+ }
346
+ export declare const UpdateBucketDomainCustomRequest: Schema.Schema<UpdateBucketDomainCustomRequest>;
347
+ export interface UpdateBucketDomainCustomResponse {
348
+ /** Domain name of the affected custom domain. */
349
+ domain: string;
350
+ /** An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format. */
351
+ ciphers?: string[] | null;
352
+ /** Whether this bucket is publicly accessible at the specified custom domain. */
353
+ enabled?: boolean | null;
354
+ /** Minimum TLS Version the custom domain will accept for incoming connections. If not set, defaults to 1.0. */
355
+ minTLS?: "1.0" | "1.1" | "1.2" | "1.3" | null;
356
+ }
357
+ export declare const UpdateBucketDomainCustomResponse: Schema.Schema<UpdateBucketDomainCustomResponse>;
358
+ export type UpdateBucketDomainCustomError = DefaultErrors;
359
+ export declare const updateBucketDomainCustom: API.OperationMethod<UpdateBucketDomainCustomRequest, UpdateBucketDomainCustomResponse, UpdateBucketDomainCustomError, Credentials | HttpClient.HttpClient>;
360
+ export interface DeleteBucketDomainCustomRequest {
361
+ bucketName: string;
362
+ domain: string;
363
+ /** Path param: Account ID. */
364
+ accountId: string;
365
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
366
+ jurisdiction?: "default" | "eu" | "fedramp";
367
+ }
368
+ export declare const DeleteBucketDomainCustomRequest: Schema.Schema<DeleteBucketDomainCustomRequest>;
369
+ export interface DeleteBucketDomainCustomResponse {
370
+ /** Name of the removed custom domain. */
371
+ domain: string;
372
+ }
373
+ export declare const DeleteBucketDomainCustomResponse: Schema.Schema<DeleteBucketDomainCustomResponse>;
374
+ export type DeleteBucketDomainCustomError = DefaultErrors;
375
+ export declare const deleteBucketDomainCustom: API.OperationMethod<DeleteBucketDomainCustomRequest, DeleteBucketDomainCustomResponse, DeleteBucketDomainCustomError, Credentials | HttpClient.HttpClient>;
376
+ export interface ListBucketDomainManagedsRequest {
377
+ bucketName: string;
378
+ /** Path param: Account ID. */
379
+ accountId: string;
380
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
381
+ jurisdiction?: "default" | "eu" | "fedramp";
382
+ }
383
+ export declare const ListBucketDomainManagedsRequest: Schema.Schema<ListBucketDomainManagedsRequest>;
384
+ export interface ListBucketDomainManagedsResponse {
385
+ /** Bucket ID. */
386
+ bucketId: string;
387
+ /** Domain name of the bucket's r2.dev domain. */
388
+ domain: string;
389
+ /** Whether this bucket is publicly accessible at the r2.dev domain. */
390
+ enabled: boolean;
391
+ }
392
+ export declare const ListBucketDomainManagedsResponse: Schema.Schema<ListBucketDomainManagedsResponse>;
393
+ export type ListBucketDomainManagedsError = DefaultErrors | NoSuchBucket | InvalidRoute;
394
+ export declare const listBucketDomainManageds: API.OperationMethod<ListBucketDomainManagedsRequest, ListBucketDomainManagedsResponse, ListBucketDomainManagedsError, Credentials | HttpClient.HttpClient>;
395
+ export interface PutBucketDomainManagedRequest {
396
+ bucketName: string;
397
+ /** Path param: Account ID. */
398
+ accountId: string;
399
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
400
+ jurisdiction?: "default" | "eu" | "fedramp";
401
+ /** Body param: Whether to enable public bucket access at the r2.dev domain. */
402
+ enabled: boolean;
403
+ }
404
+ export declare const PutBucketDomainManagedRequest: Schema.Schema<PutBucketDomainManagedRequest>;
405
+ export interface PutBucketDomainManagedResponse {
406
+ /** Bucket ID. */
407
+ bucketId: string;
408
+ /** Domain name of the bucket's r2.dev domain. */
409
+ domain: string;
410
+ /** Whether this bucket is publicly accessible at the r2.dev domain. */
411
+ enabled: boolean;
412
+ }
413
+ export declare const PutBucketDomainManagedResponse: Schema.Schema<PutBucketDomainManagedResponse>;
414
+ export type PutBucketDomainManagedError = DefaultErrors | NoSuchBucket | InvalidRoute;
415
+ export declare const putBucketDomainManaged: API.OperationMethod<PutBucketDomainManagedRequest, PutBucketDomainManagedResponse, PutBucketDomainManagedError, Credentials | HttpClient.HttpClient>;
416
+ export interface GetBucketEventNotificationRequest {
417
+ bucketName: string;
418
+ queueId: string;
419
+ /** Path param: Account ID. */
420
+ accountId: string;
421
+ /** Header param: The bucket jurisdiction. */
422
+ jurisdiction?: "default" | "eu" | "fedramp";
423
+ }
424
+ export declare const GetBucketEventNotificationRequest: Schema.Schema<GetBucketEventNotificationRequest>;
425
+ export interface GetBucketEventNotificationResponse {
426
+ /** Queue ID. */
427
+ queueId?: string | null;
428
+ /** Name of the queue. */
429
+ queueName?: string | null;
430
+ rules?: {
431
+ actions: ("PutObject" | "CopyObject" | "DeleteObject" | "CompleteMultipartUpload" | "LifecycleDeletion")[];
432
+ createdAt?: string | null;
433
+ description?: string | null;
434
+ prefix?: string | null;
435
+ ruleId?: string | null;
436
+ suffix?: string | null;
437
+ }[] | null;
438
+ }
439
+ export declare const GetBucketEventNotificationResponse: Schema.Schema<GetBucketEventNotificationResponse>;
440
+ export type GetBucketEventNotificationError = DefaultErrors;
441
+ export declare const getBucketEventNotification: API.OperationMethod<GetBucketEventNotificationRequest, GetBucketEventNotificationResponse, GetBucketEventNotificationError, Credentials | HttpClient.HttpClient>;
442
+ export interface ListBucketEventNotificationsRequest {
443
+ bucketName: string;
444
+ /** Path param: Account ID. */
445
+ accountId: string;
446
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
447
+ jurisdiction?: "default" | "eu" | "fedramp";
448
+ }
449
+ export declare const ListBucketEventNotificationsRequest: Schema.Schema<ListBucketEventNotificationsRequest>;
450
+ export interface ListBucketEventNotificationsResponse {
451
+ /** Name of the bucket. */
452
+ bucketName?: string | null;
453
+ /** List of queues associated with the bucket. */
454
+ queues?: {
455
+ queueId?: string | null;
456
+ queueName?: string | null;
457
+ rules?: {
458
+ actions: ("PutObject" | "CopyObject" | "DeleteObject" | "CompleteMultipartUpload" | "LifecycleDeletion")[];
459
+ createdAt?: string | null;
460
+ description?: string | null;
461
+ prefix?: string | null;
462
+ ruleId?: string | null;
463
+ suffix?: string | null;
464
+ }[] | null;
465
+ }[] | null;
466
+ }
467
+ export declare const ListBucketEventNotificationsResponse: Schema.Schema<ListBucketEventNotificationsResponse>;
468
+ export type ListBucketEventNotificationsError = DefaultErrors | NoSuchBucket | InvalidRoute | NoEventNotificationConfig | BucketNotFound;
469
+ export declare const listBucketEventNotifications: API.OperationMethod<ListBucketEventNotificationsRequest, ListBucketEventNotificationsResponse, ListBucketEventNotificationsError, Credentials | HttpClient.HttpClient>;
470
+ export interface PutBucketEventNotificationRequest {
471
+ bucketName: string;
472
+ queueId: string;
473
+ /** Path param: Account ID. */
474
+ accountId: string;
475
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
476
+ jurisdiction?: "default" | "eu" | "fedramp";
477
+ /** Body param: Array of rules to drive notifications. */
478
+ rules: {
479
+ actions: ("PutObject" | "CopyObject" | "DeleteObject" | "CompleteMultipartUpload" | "LifecycleDeletion")[];
480
+ description?: string;
481
+ prefix?: string;
482
+ suffix?: string;
483
+ }[];
484
+ }
485
+ export declare const PutBucketEventNotificationRequest: Schema.Schema<PutBucketEventNotificationRequest>;
486
+ export type PutBucketEventNotificationResponse = unknown;
487
+ export declare const PutBucketEventNotificationResponse: Schema.Schema<unknown>;
488
+ export type PutBucketEventNotificationError = DefaultErrors;
489
+ export declare const putBucketEventNotification: API.OperationMethod<PutBucketEventNotificationRequest, PutBucketEventNotificationResponse, PutBucketEventNotificationError, Credentials | HttpClient.HttpClient>;
490
+ export interface DeleteBucketEventNotificationRequest {
491
+ bucketName: string;
492
+ queueId: string;
493
+ /** Path param: Account ID. */
494
+ accountId: string;
495
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
496
+ jurisdiction?: "default" | "eu" | "fedramp";
497
+ }
498
+ export declare const DeleteBucketEventNotificationRequest: Schema.Schema<DeleteBucketEventNotificationRequest>;
499
+ export type DeleteBucketEventNotificationResponse = unknown;
500
+ export declare const DeleteBucketEventNotificationResponse: Schema.Schema<unknown>;
501
+ export type DeleteBucketEventNotificationError = DefaultErrors;
502
+ export declare const deleteBucketEventNotification: API.OperationMethod<DeleteBucketEventNotificationRequest, DeleteBucketEventNotificationResponse, DeleteBucketEventNotificationError, Credentials | HttpClient.HttpClient>;
503
+ export interface GetBucketLifecycleRequest {
504
+ bucketName: string;
505
+ /** Path param: Account ID. */
506
+ accountId: string;
507
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
508
+ jurisdiction?: "default" | "eu" | "fedramp";
509
+ }
510
+ export declare const GetBucketLifecycleRequest: Schema.Schema<GetBucketLifecycleRequest>;
511
+ export interface GetBucketLifecycleResponse {
512
+ rules?: {
513
+ id: string;
514
+ conditions: {
515
+ prefix?: string | null;
516
+ };
517
+ enabled: boolean;
518
+ abortMultipartUploadsTransition?: {
519
+ condition?: {
520
+ maxAge: number;
521
+ type: "Age";
522
+ } | null;
523
+ } | null;
524
+ deleteObjectsTransition?: {
525
+ condition?: {
526
+ maxAge: number;
527
+ type: "Age";
528
+ } | {
529
+ date: string;
530
+ type: "Date";
531
+ } | null;
532
+ } | null;
533
+ storageClassTransitions?: {
534
+ condition: {
535
+ maxAge: number;
536
+ type: "Age";
537
+ } | {
538
+ date: string;
539
+ type: "Date";
540
+ };
541
+ storageClass: "InfrequentAccess";
542
+ }[] | null;
543
+ }[] | null;
544
+ }
545
+ export declare const GetBucketLifecycleResponse: Schema.Schema<GetBucketLifecycleResponse>;
546
+ export type GetBucketLifecycleError = DefaultErrors | NoSuchBucket | InvalidRoute;
547
+ export declare const getBucketLifecycle: API.OperationMethod<GetBucketLifecycleRequest, GetBucketLifecycleResponse, GetBucketLifecycleError, Credentials | HttpClient.HttpClient>;
548
+ export interface PutBucketLifecycleRequest {
549
+ bucketName: string;
550
+ /** Path param: Account ID. */
551
+ accountId: string;
552
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
553
+ jurisdiction?: "default" | "eu" | "fedramp";
554
+ /** Body param: */
555
+ rules?: {
556
+ id: string;
557
+ conditions: {
558
+ prefix: string;
559
+ };
560
+ enabled: boolean;
561
+ abortMultipartUploadsTransition?: {
562
+ condition?: {
563
+ maxAge: number;
564
+ type: "Age";
565
+ };
566
+ };
567
+ deleteObjectsTransition?: {
568
+ condition?: {
569
+ maxAge: number;
570
+ type: "Age";
571
+ } | {
572
+ date: string;
573
+ type: "Date";
574
+ };
575
+ };
576
+ storageClassTransitions?: {
577
+ condition: {
578
+ maxAge: number;
579
+ type: "Age";
580
+ } | {
581
+ date: string;
582
+ type: "Date";
583
+ };
584
+ storageClass: "InfrequentAccess";
585
+ }[];
586
+ }[];
587
+ }
588
+ export declare const PutBucketLifecycleRequest: Schema.Schema<PutBucketLifecycleRequest>;
589
+ export type PutBucketLifecycleResponse = unknown;
590
+ export declare const PutBucketLifecycleResponse: Schema.Schema<unknown>;
591
+ export type PutBucketLifecycleError = DefaultErrors | NoSuchBucket | InvalidRoute;
592
+ export declare const putBucketLifecycle: API.OperationMethod<PutBucketLifecycleRequest, PutBucketLifecycleResponse, PutBucketLifecycleError, Credentials | HttpClient.HttpClient>;
593
+ export interface GetBucketLockRequest {
594
+ bucketName: string;
595
+ /** Path param: Account ID. */
596
+ accountId: string;
597
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
598
+ jurisdiction?: "default" | "eu" | "fedramp";
599
+ }
600
+ export declare const GetBucketLockRequest: Schema.Schema<GetBucketLockRequest>;
601
+ export interface GetBucketLockResponse {
602
+ rules?: {
603
+ id: string;
604
+ condition: {
605
+ maxAgeSeconds: number;
606
+ type: "Age";
607
+ } | {
608
+ date: string;
609
+ type: "Date";
610
+ } | {
611
+ type: "Indefinite";
612
+ };
613
+ enabled: boolean;
614
+ prefix?: string | null;
615
+ }[] | null;
616
+ }
617
+ export declare const GetBucketLockResponse: Schema.Schema<GetBucketLockResponse>;
618
+ export type GetBucketLockError = DefaultErrors | NoSuchBucket | InvalidRoute;
619
+ export declare const getBucketLock: API.OperationMethod<GetBucketLockRequest, GetBucketLockResponse, GetBucketLockError, Credentials | HttpClient.HttpClient>;
620
+ export interface PutBucketLockRequest {
621
+ bucketName: string;
622
+ /** Path param: Account ID. */
623
+ accountId: string;
624
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
625
+ jurisdiction?: "default" | "eu" | "fedramp";
626
+ /** Body param: */
627
+ rules?: {
628
+ id: string;
629
+ condition: {
630
+ maxAgeSeconds: number;
631
+ type: "Age";
632
+ } | {
633
+ date: string;
634
+ type: "Date";
635
+ } | {
636
+ type: "Indefinite";
637
+ };
638
+ enabled: boolean;
639
+ prefix?: string;
640
+ }[];
641
+ }
642
+ export declare const PutBucketLockRequest: Schema.Schema<PutBucketLockRequest>;
643
+ export type PutBucketLockResponse = unknown;
644
+ export declare const PutBucketLockResponse: Schema.Schema<unknown>;
645
+ export type PutBucketLockError = DefaultErrors | NoSuchBucket | InvalidRoute;
646
+ export declare const putBucketLock: API.OperationMethod<PutBucketLockRequest, PutBucketLockResponse, PutBucketLockError, Credentials | HttpClient.HttpClient>;
647
+ export interface ListBucketMetricsRequest {
648
+ /** Account ID. */
649
+ accountId: string;
650
+ }
651
+ export declare const ListBucketMetricsRequest: Schema.Schema<ListBucketMetricsRequest>;
652
+ export interface ListBucketMetricsResponse {
653
+ /** Metrics based on what state they are in(uploaded or published). */
654
+ infrequentAccess?: {
655
+ published?: {
656
+ metadataSize?: number | null;
657
+ objects?: number | null;
658
+ payloadSize?: number | null;
659
+ } | null;
660
+ uploaded?: {
661
+ metadataSize?: number | null;
662
+ objects?: number | null;
663
+ payloadSize?: number | null;
664
+ } | null;
665
+ } | null;
666
+ /** Metrics based on what state they are in(uploaded or published). */
667
+ standard?: {
668
+ published?: {
669
+ metadataSize?: number | null;
670
+ objects?: number | null;
671
+ payloadSize?: number | null;
672
+ } | null;
673
+ uploaded?: {
674
+ metadataSize?: number | null;
675
+ objects?: number | null;
676
+ payloadSize?: number | null;
677
+ } | null;
678
+ } | null;
679
+ }
680
+ export declare const ListBucketMetricsResponse: Schema.Schema<ListBucketMetricsResponse>;
681
+ export type ListBucketMetricsError = DefaultErrors | InvalidRoute;
682
+ export declare const listBucketMetrics: API.OperationMethod<ListBucketMetricsRequest, ListBucketMetricsResponse, ListBucketMetricsError, Credentials | HttpClient.HttpClient>;
683
+ export interface GetBucketSippyRequest {
684
+ bucketName: string;
685
+ /** Path param: Account ID. */
686
+ accountId: string;
687
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
688
+ jurisdiction?: "default" | "eu" | "fedramp";
689
+ }
690
+ export declare const GetBucketSippyRequest: Schema.Schema<GetBucketSippyRequest>;
691
+ export interface GetBucketSippyResponse {
692
+ /** Details about the configured destination bucket. */
693
+ destination?: {
694
+ accessKeyId?: string | null;
695
+ account?: string | null;
696
+ bucket?: string | null;
697
+ provider?: "r2" | null;
698
+ } | null;
699
+ /** State of Sippy for this bucket. */
700
+ enabled?: boolean | null;
701
+ /** Details about the configured source bucket. */
702
+ source?: {
703
+ bucket?: string | null;
704
+ bucketUrl?: string | null;
705
+ provider?: "aws" | "gcs" | "s3" | null;
706
+ region?: string | null;
707
+ } | null;
708
+ }
709
+ export declare const GetBucketSippyResponse: Schema.Schema<GetBucketSippyResponse>;
710
+ export type GetBucketSippyError = DefaultErrors | NoSuchBucket | InvalidRoute;
711
+ export declare const getBucketSippy: API.OperationMethod<GetBucketSippyRequest, GetBucketSippyResponse, GetBucketSippyError, Credentials | HttpClient.HttpClient>;
712
+ export interface PutBucketSippyRequest {
713
+ bucketName: string;
714
+ /** Path param: Account ID. */
715
+ accountId: string;
716
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
717
+ jurisdiction?: "default" | "eu" | "fedramp";
718
+ /** Body param: R2 bucket to copy objects to. */
719
+ destination?: {
720
+ accessKeyId?: string;
721
+ provider?: "r2";
722
+ secretAccessKey?: string;
723
+ };
724
+ /** Body param: AWS S3 bucket to copy objects from. */
725
+ source?: {
726
+ accessKeyId?: string;
727
+ bucket?: string;
728
+ provider?: "aws";
729
+ region?: string;
730
+ secretAccessKey?: string;
731
+ };
732
+ }
733
+ export declare const PutBucketSippyRequest: Schema.Schema<PutBucketSippyRequest>;
734
+ export interface PutBucketSippyResponse {
735
+ /** Details about the configured destination bucket. */
736
+ destination?: {
737
+ accessKeyId?: string | null;
738
+ account?: string | null;
739
+ bucket?: string | null;
740
+ provider?: "r2" | null;
741
+ } | null;
742
+ /** State of Sippy for this bucket. */
743
+ enabled?: boolean | null;
744
+ /** Details about the configured source bucket. */
745
+ source?: {
746
+ bucket?: string | null;
747
+ bucketUrl?: string | null;
748
+ provider?: "aws" | "gcs" | "s3" | null;
749
+ region?: string | null;
750
+ } | null;
751
+ }
752
+ export declare const PutBucketSippyResponse: Schema.Schema<PutBucketSippyResponse>;
753
+ export type PutBucketSippyError = DefaultErrors;
754
+ export declare const putBucketSippy: API.OperationMethod<PutBucketSippyRequest, PutBucketSippyResponse, PutBucketSippyError, Credentials | HttpClient.HttpClient>;
755
+ export interface DeleteBucketSippyRequest {
756
+ bucketName: string;
757
+ /** Path param: Account ID. */
758
+ accountId: string;
759
+ /** Header param: Jurisdiction where objects in this bucket are guaranteed to be stored. */
760
+ jurisdiction?: "default" | "eu" | "fedramp";
761
+ }
762
+ export declare const DeleteBucketSippyRequest: Schema.Schema<DeleteBucketSippyRequest>;
763
+ export interface DeleteBucketSippyResponse {
764
+ enabled?: false | null;
765
+ }
766
+ export declare const DeleteBucketSippyResponse: Schema.Schema<DeleteBucketSippyResponse>;
767
+ export type DeleteBucketSippyError = DefaultErrors | NoSuchBucket | InvalidRoute;
768
+ export declare const deleteBucketSippy: API.OperationMethod<DeleteBucketSippyRequest, DeleteBucketSippyResponse, DeleteBucketSippyError, Credentials | HttpClient.HttpClient>;
769
+ export interface SourceSuperSlurperConnectivityPrecheckRequest {
770
+ /** Path param: */
771
+ accountId: string;
772
+ /** Body param: */
773
+ bucket: string;
774
+ /** Body param: */
775
+ secret: {
776
+ accessKeyId: string;
777
+ secretAccessKey: string;
778
+ };
779
+ /** Body param: */
780
+ vendor: "s3";
781
+ /** Body param: */
782
+ endpoint?: string | null;
783
+ /** Body param: */
784
+ pathPrefix?: string | null;
785
+ /** Body param: */
786
+ region?: string | null;
787
+ }
788
+ export declare const SourceSuperSlurperConnectivityPrecheckRequest: Schema.Schema<SourceSuperSlurperConnectivityPrecheckRequest>;
789
+ export interface SourceSuperSlurperConnectivityPrecheckResponse {
790
+ connectivityStatus?: "success" | "error" | null;
791
+ }
792
+ export declare const SourceSuperSlurperConnectivityPrecheckResponse: Schema.Schema<SourceSuperSlurperConnectivityPrecheckResponse>;
793
+ export type SourceSuperSlurperConnectivityPrecheckError = DefaultErrors;
794
+ export declare const sourceSuperSlurperConnectivityPrecheck: API.OperationMethod<SourceSuperSlurperConnectivityPrecheckRequest, SourceSuperSlurperConnectivityPrecheckResponse, SourceSuperSlurperConnectivityPrecheckError, Credentials | HttpClient.HttpClient>;
795
+ export interface TargetSuperSlurperConnectivityPrecheckRequest {
796
+ /** Path param: */
797
+ accountId: string;
798
+ /** Body param: */
799
+ bucket: string;
800
+ /** Body param: */
801
+ secret: {
802
+ accessKeyId: string;
803
+ secretAccessKey: string;
804
+ };
805
+ /** Body param: */
806
+ vendor: "r2";
807
+ /** Body param: */
808
+ jurisdiction?: "default" | "eu" | "fedramp";
809
+ }
810
+ export declare const TargetSuperSlurperConnectivityPrecheckRequest: Schema.Schema<TargetSuperSlurperConnectivityPrecheckRequest>;
811
+ export interface TargetSuperSlurperConnectivityPrecheckResponse {
812
+ connectivityStatus?: "success" | "error" | null;
813
+ }
814
+ export declare const TargetSuperSlurperConnectivityPrecheckResponse: Schema.Schema<TargetSuperSlurperConnectivityPrecheckResponse>;
815
+ export type TargetSuperSlurperConnectivityPrecheckError = DefaultErrors;
816
+ export declare const targetSuperSlurperConnectivityPrecheck: API.OperationMethod<TargetSuperSlurperConnectivityPrecheckRequest, TargetSuperSlurperConnectivityPrecheckResponse, TargetSuperSlurperConnectivityPrecheckError, Credentials | HttpClient.HttpClient>;
817
+ export interface GetSuperSlurperJobRequest {
818
+ jobId: string;
819
+ accountId: string;
820
+ }
821
+ export declare const GetSuperSlurperJobRequest: Schema.Schema<GetSuperSlurperJobRequest>;
822
+ export interface GetSuperSlurperJobResponse {
823
+ id?: string | null;
824
+ createdAt?: string | null;
825
+ finishedAt?: string | null;
826
+ overwrite?: boolean | null;
827
+ source?: {
828
+ bucket?: string | null;
829
+ endpoint?: string | null;
830
+ keys?: string[] | null;
831
+ pathPrefix?: string | null;
832
+ vendor?: "s3" | null;
833
+ } | {
834
+ bucket?: string | null;
835
+ keys?: string[] | null;
836
+ pathPrefix?: string | null;
837
+ vendor?: "gcs" | null;
838
+ } | {
839
+ bucket?: string | null;
840
+ jurisdiction?: "default" | "eu" | "fedramp" | null;
841
+ keys?: string[] | null;
842
+ pathPrefix?: string | null;
843
+ vendor?: "r2" | null;
844
+ } | null;
845
+ status?: "running" | "paused" | "aborted" | "completed" | null;
846
+ target?: {
847
+ bucket?: string | null;
848
+ jurisdiction?: "default" | "eu" | "fedramp" | null;
849
+ vendor?: "r2" | null;
850
+ } | null;
851
+ }
852
+ export declare const GetSuperSlurperJobResponse: Schema.Schema<GetSuperSlurperJobResponse>;
853
+ export type GetSuperSlurperJobError = DefaultErrors;
854
+ export declare const getSuperSlurperJob: API.OperationMethod<GetSuperSlurperJobRequest, GetSuperSlurperJobResponse, GetSuperSlurperJobError, Credentials | HttpClient.HttpClient>;
855
+ export interface ListSuperSlurperJobsRequest {
856
+ /** Path param: */
857
+ accountId: string;
858
+ /** Query param: */
859
+ limit?: number;
860
+ /** Query param: */
861
+ offset?: number;
862
+ }
863
+ export declare const ListSuperSlurperJobsRequest: Schema.Schema<ListSuperSlurperJobsRequest>;
864
+ export interface ListSuperSlurperJobsResponse {
865
+ result: {
866
+ id?: string | null;
867
+ createdAt?: string | null;
868
+ finishedAt?: string | null;
869
+ overwrite?: boolean | null;
870
+ source?: {
871
+ bucket?: string | null;
872
+ endpoint?: string | null;
873
+ keys?: string[] | null;
874
+ pathPrefix?: string | null;
875
+ vendor?: "s3" | null;
876
+ } | {
877
+ bucket?: string | null;
878
+ keys?: string[] | null;
879
+ pathPrefix?: string | null;
880
+ vendor?: "gcs" | null;
881
+ } | {
882
+ bucket?: string | null;
883
+ jurisdiction?: "default" | "eu" | "fedramp" | null;
884
+ keys?: string[] | null;
885
+ pathPrefix?: string | null;
886
+ vendor?: "r2" | null;
887
+ } | null;
888
+ status?: "running" | "paused" | "aborted" | "completed" | null;
889
+ target?: {
890
+ bucket?: string | null;
891
+ jurisdiction?: "default" | "eu" | "fedramp" | null;
892
+ vendor?: "r2" | null;
893
+ } | null;
894
+ }[];
895
+ }
896
+ export declare const ListSuperSlurperJobsResponse: Schema.Schema<ListSuperSlurperJobsResponse>;
897
+ export type ListSuperSlurperJobsError = DefaultErrors;
898
+ export declare const listSuperSlurperJobs: API.PaginatedOperationMethod<ListSuperSlurperJobsRequest, ListSuperSlurperJobsResponse, ListSuperSlurperJobsError, Credentials | HttpClient.HttpClient> & {
899
+ pages: (input: ListSuperSlurperJobsRequest) => stream.Stream<ListSuperSlurperJobsResponse, ListSuperSlurperJobsError, Credentials | HttpClient.HttpClient>;
900
+ items: (input: ListSuperSlurperJobsRequest) => stream.Stream<{
901
+ id?: string | null;
902
+ createdAt?: string | null;
903
+ finishedAt?: string | null;
904
+ overwrite?: boolean | null;
905
+ source?: {
906
+ bucket?: string | null;
907
+ endpoint?: string | null;
908
+ keys?: string[] | null;
909
+ pathPrefix?: string | null;
910
+ vendor?: "s3" | null;
911
+ } | {
912
+ bucket?: string | null;
913
+ keys?: string[] | null;
914
+ pathPrefix?: string | null;
915
+ vendor?: "gcs" | null;
916
+ } | {
917
+ bucket?: string | null;
918
+ jurisdiction?: "default" | "eu" | "fedramp" | null;
919
+ keys?: string[] | null;
920
+ pathPrefix?: string | null;
921
+ vendor?: "r2" | null;
922
+ } | null;
923
+ status?: "running" | "paused" | "aborted" | "completed" | null;
924
+ target?: {
925
+ bucket?: string | null;
926
+ jurisdiction?: "default" | "eu" | "fedramp" | null;
927
+ vendor?: "r2" | null;
928
+ } | null;
929
+ }, ListSuperSlurperJobsError, Credentials | HttpClient.HttpClient>;
930
+ };
931
+ export interface CreateSuperSlurperJobRequest {
932
+ /** Path param: */
933
+ accountId: string;
934
+ /** Body param: */
935
+ overwrite?: boolean;
936
+ /** Body param: */
937
+ source?: {
938
+ bucket: string;
939
+ secret: {
940
+ accessKeyId: string;
941
+ secretAccessKey: string;
942
+ };
943
+ vendor: "s3";
944
+ endpoint?: string | null;
945
+ pathPrefix?: string | null;
946
+ region?: string | null;
947
+ } | {
948
+ bucket: string;
949
+ secret: {
950
+ clientEmail: string;
951
+ privateKey: string;
952
+ };
953
+ vendor: "gcs";
954
+ pathPrefix?: string | null;
955
+ } | {
956
+ bucket: string;
957
+ secret: {
958
+ accessKeyId: string;
959
+ secretAccessKey: string;
960
+ };
961
+ vendor: "r2";
962
+ jurisdiction?: "default" | "eu" | "fedramp";
963
+ pathPrefix?: string | null;
964
+ };
965
+ /** Body param: */
966
+ target?: {
967
+ bucket: string;
968
+ secret: {
969
+ accessKeyId: string;
970
+ secretAccessKey: string;
971
+ };
972
+ vendor: "r2";
973
+ jurisdiction?: "default" | "eu" | "fedramp";
974
+ };
975
+ }
976
+ export declare const CreateSuperSlurperJobRequest: Schema.Schema<CreateSuperSlurperJobRequest>;
977
+ export interface CreateSuperSlurperJobResponse {
978
+ id?: string | null;
979
+ }
980
+ export declare const CreateSuperSlurperJobResponse: Schema.Schema<CreateSuperSlurperJobResponse>;
981
+ export type CreateSuperSlurperJobError = DefaultErrors;
982
+ export declare const createSuperSlurperJob: API.OperationMethod<CreateSuperSlurperJobRequest, CreateSuperSlurperJobResponse, CreateSuperSlurperJobError, Credentials | HttpClient.HttpClient>;
983
+ export interface AbortSuperSlurperJobRequest {
984
+ jobId: string;
985
+ accountId: string;
986
+ }
987
+ export declare const AbortSuperSlurperJobRequest: Schema.Schema<AbortSuperSlurperJobRequest>;
988
+ export type AbortSuperSlurperJobResponse = string;
989
+ export declare const AbortSuperSlurperJobResponse: Schema.Schema<string>;
990
+ export type AbortSuperSlurperJobError = DefaultErrors;
991
+ export declare const abortSuperSlurperJob: API.OperationMethod<AbortSuperSlurperJobRequest, AbortSuperSlurperJobResponse, AbortSuperSlurperJobError, Credentials | HttpClient.HttpClient>;
992
+ export interface PauseSuperSlurperJobRequest {
993
+ jobId: string;
994
+ accountId: string;
995
+ }
996
+ export declare const PauseSuperSlurperJobRequest: Schema.Schema<PauseSuperSlurperJobRequest>;
997
+ export type PauseSuperSlurperJobResponse = string;
998
+ export declare const PauseSuperSlurperJobResponse: Schema.Schema<string>;
999
+ export type PauseSuperSlurperJobError = DefaultErrors;
1000
+ export declare const pauseSuperSlurperJob: API.OperationMethod<PauseSuperSlurperJobRequest, PauseSuperSlurperJobResponse, PauseSuperSlurperJobError, Credentials | HttpClient.HttpClient>;
1001
+ export interface ProgressSuperSlurperJobRequest {
1002
+ jobId: string;
1003
+ accountId: string;
1004
+ }
1005
+ export declare const ProgressSuperSlurperJobRequest: Schema.Schema<ProgressSuperSlurperJobRequest>;
1006
+ export interface ProgressSuperSlurperJobResponse {
1007
+ id?: string | null;
1008
+ createdAt?: string | null;
1009
+ failedObjects?: number | null;
1010
+ objects?: number | null;
1011
+ skippedObjects?: number | null;
1012
+ status?: "running" | "paused" | "aborted" | "completed" | null;
1013
+ transferredObjects?: number | null;
1014
+ }
1015
+ export declare const ProgressSuperSlurperJobResponse: Schema.Schema<ProgressSuperSlurperJobResponse>;
1016
+ export type ProgressSuperSlurperJobError = DefaultErrors;
1017
+ export declare const progressSuperSlurperJob: API.OperationMethod<ProgressSuperSlurperJobRequest, ProgressSuperSlurperJobResponse, ProgressSuperSlurperJobError, Credentials | HttpClient.HttpClient>;
1018
+ export interface ResumeSuperSlurperJobRequest {
1019
+ jobId: string;
1020
+ accountId: string;
1021
+ }
1022
+ export declare const ResumeSuperSlurperJobRequest: Schema.Schema<ResumeSuperSlurperJobRequest>;
1023
+ export type ResumeSuperSlurperJobResponse = string;
1024
+ export declare const ResumeSuperSlurperJobResponse: Schema.Schema<string>;
1025
+ export type ResumeSuperSlurperJobError = DefaultErrors;
1026
+ export declare const resumeSuperSlurperJob: API.OperationMethod<ResumeSuperSlurperJobRequest, ResumeSuperSlurperJobResponse, ResumeSuperSlurperJobError, Credentials | HttpClient.HttpClient>;
1027
+ export interface ListSuperSlurperJobLogsRequest {
1028
+ jobId: string;
1029
+ /** Path param: */
1030
+ accountId: string;
1031
+ /** Query param: */
1032
+ limit?: number;
1033
+ /** Query param: */
1034
+ offset?: number;
1035
+ }
1036
+ export declare const ListSuperSlurperJobLogsRequest: Schema.Schema<ListSuperSlurperJobLogsRequest>;
1037
+ export interface ListSuperSlurperJobLogsResponse {
1038
+ result: {
1039
+ createdAt?: string | null;
1040
+ job?: string | null;
1041
+ logType?: "migrationStart" | "migrationComplete" | "migrationAbort" | "migrationError" | "migrationPause" | "migrationResume" | "migrationErrorFailedContinuation" | "importErrorRetryExhaustion" | "importSkippedStorageClass" | "importSkippedOversized" | "importSkippedEmptyObject" | "importSkippedUnsupportedContentType" | "importSkippedExcludedContentType" | "importSkippedInvalidMedia" | "importSkippedRequiresRetrieval" | null;
1042
+ message?: string | null;
1043
+ objectKey?: string | null;
1044
+ }[];
1045
+ }
1046
+ export declare const ListSuperSlurperJobLogsResponse: Schema.Schema<ListSuperSlurperJobLogsResponse>;
1047
+ export type ListSuperSlurperJobLogsError = DefaultErrors;
1048
+ export declare const listSuperSlurperJobLogs: API.PaginatedOperationMethod<ListSuperSlurperJobLogsRequest, ListSuperSlurperJobLogsResponse, ListSuperSlurperJobLogsError, Credentials | HttpClient.HttpClient> & {
1049
+ pages: (input: ListSuperSlurperJobLogsRequest) => stream.Stream<ListSuperSlurperJobLogsResponse, ListSuperSlurperJobLogsError, Credentials | HttpClient.HttpClient>;
1050
+ items: (input: ListSuperSlurperJobLogsRequest) => stream.Stream<{
1051
+ createdAt?: string | null;
1052
+ job?: string | null;
1053
+ logType?: "migrationStart" | "migrationComplete" | "migrationAbort" | "migrationError" | "migrationPause" | "migrationResume" | "migrationErrorFailedContinuation" | "importErrorRetryExhaustion" | "importSkippedStorageClass" | "importSkippedOversized" | "importSkippedEmptyObject" | "importSkippedUnsupportedContentType" | "importSkippedExcludedContentType" | "importSkippedInvalidMedia" | "importSkippedRequiresRetrieval" | null;
1054
+ message?: string | null;
1055
+ objectKey?: string | null;
1056
+ }, ListSuperSlurperJobLogsError, Credentials | HttpClient.HttpClient>;
1057
+ };
1058
+ export interface CreateTemporaryCredentialRequest {
1059
+ /** Path param: Account ID. */
1060
+ accountId: string;
1061
+ /** Body param: Name of the R2 bucket. */
1062
+ bucket: string;
1063
+ /** Body param: The parent access key id to use for signing. */
1064
+ parentAccessKeyId: string;
1065
+ /** Body param: Permissions allowed on the credentials. */
1066
+ permission: "admin-read-write" | "admin-read-only" | "object-read-write" | "object-read-only";
1067
+ /** Body param: How long the credentials will live for in seconds. */
1068
+ ttlSeconds: number;
1069
+ /** Body param: Optional object paths to scope the credentials to. */
1070
+ objects?: string[];
1071
+ /** Body param: Optional prefix paths to scope the credentials to. */
1072
+ prefixes?: string[];
1073
+ }
1074
+ export declare const CreateTemporaryCredentialRequest: Schema.Schema<CreateTemporaryCredentialRequest>;
1075
+ export interface CreateTemporaryCredentialResponse {
1076
+ /** ID for new access key. */
1077
+ accessKeyId?: string | null;
1078
+ /** Secret access key. */
1079
+ secretAccessKey?: string | null;
1080
+ /** Security token. */
1081
+ sessionToken?: string | null;
1082
+ }
1083
+ export declare const CreateTemporaryCredentialResponse: Schema.Schema<CreateTemporaryCredentialResponse>;
1084
+ export type CreateTemporaryCredentialError = DefaultErrors;
1085
+ export declare const createTemporaryCredential: API.OperationMethod<CreateTemporaryCredentialRequest, CreateTemporaryCredentialResponse, CreateTemporaryCredentialError, Credentials | HttpClient.HttpClient>;
1086
+ export {};
1087
+ //# sourceMappingURL=r2.d.ts.map