@distilled.cloud/cloudflare 0.29.0 → 0.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +26 -26
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +114 -123
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/acm.d.ts.map +1 -1
- package/lib/services/acm.js +23 -23
- package/lib/services/acm.js.map +1 -1
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +132 -132
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +213 -207
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai-security.d.ts.map +1 -1
- package/lib/services/ai-security.js +13 -13
- package/lib/services/ai-security.js.map +1 -1
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +62 -62
- package/lib/services/ai.js.map +1 -1
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +187 -193
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +78 -78
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +168 -177
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/argo.js +12 -12
- package/lib/services/argo.js.map +1 -1
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +9 -9
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +11 -11
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +18 -30
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/botnet-feed.d.ts.map +1 -1
- package/lib/services/botnet-feed.js +12 -12
- package/lib/services/botnet-feed.js.map +1 -1
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +59 -59
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +103 -103
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +72 -72
- package/lib/services/cache.js.map +1 -1
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +31 -31
- package/lib/services/calls.js.map +1 -1
- package/lib/services/certificate-authorities.js +6 -6
- package/lib/services/certificate-authorities.js.map +1 -1
- package/lib/services/client-certificates.js +18 -18
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/cloud-connector.d.ts.map +1 -1
- package/lib/services/cloud-connector.js +8 -8
- package/lib/services/cloud-connector.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +178 -178
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/connectivity.js +25 -25
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/containers.js +49 -49
- package/lib/services/containers.js.map +1 -1
- package/lib/services/content-scanning.d.ts.map +1 -1
- package/lib/services/content-scanning.js +29 -29
- package/lib/services/content-scanning.js.map +1 -1
- package/lib/services/csam-scanner.d.ts.map +1 -1
- package/lib/services/csam-scanner.js +8 -8
- package/lib/services/csam-scanner.js.map +1 -1
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +24 -24
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-csrs.d.ts.map +1 -1
- package/lib/services/custom-csrs.js +22 -22
- package/lib/services/custom-csrs.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +40 -40
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/custom-nameservers.js +11 -11
- package/lib/services/custom-nameservers.js.map +1 -1
- package/lib/services/custom-pages.d.ts.map +1 -1
- package/lib/services/custom-pages.js +43 -43
- package/lib/services/custom-pages.js.map +1 -1
- package/lib/services/d1.d.ts +4 -4
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +69 -51
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dcv-delegation.js +3 -3
- package/lib/services/dcv-delegation.js.map +1 -1
- package/lib/services/ddos-protection.js +126 -126
- package/lib/services/ddos-protection.js.map +1 -1
- package/lib/services/diagnostics.js +27 -27
- package/lib/services/diagnostics.js.map +1 -1
- package/lib/services/dls.d.ts.map +1 -1
- package/lib/services/dls.js +26 -26
- package/lib/services/dls.js.map +1 -1
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +34 -34
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +268 -268
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +11 -11
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-auth.d.ts.map +1 -1
- package/lib/services/email-auth.js +13 -13
- package/lib/services/email-auth.js.map +1 -1
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +70 -70
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +195 -195
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/email-sending.d.ts.map +1 -1
- package/lib/services/email-sending.js +28 -28
- package/lib/services/email-sending.js.map +1 -1
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +25 -25
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +149 -149
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/flagship.d.ts.map +1 -1
- package/lib/services/flagship.js +52 -52
- package/lib/services/flagship.js.map +1 -1
- package/lib/services/fraud.js +8 -8
- package/lib/services/fraud.js.map +1 -1
- package/lib/services/google-tag-gateway.d.ts.map +1 -1
- package/lib/services/google-tag-gateway.js +7 -7
- package/lib/services/google-tag-gateway.js.map +1 -1
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +31 -31
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +10 -10
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +32 -32
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +113 -113
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +59 -59
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +102 -102
- package/lib/services/intel.js.map +1 -1
- package/lib/services/ips.js +5 -5
- package/lib/services/ips.js.map +1 -1
- package/lib/services/keyless-certificates.js +17 -17
- package/lib/services/keyless-certificates.js.map +1 -1
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +54 -54
- package/lib/services/kv.js.map +1 -1
- package/lib/services/leaked-credential-checks.d.ts.map +1 -1
- package/lib/services/leaked-credential-checks.js +22 -22
- package/lib/services/leaked-credential-checks.js.map +1 -1
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +139 -157
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +69 -69
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +58 -58
- package/lib/services/logs.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +138 -168
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +47 -65
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +340 -364
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/managed-transforms.js +11 -11
- package/lib/services/managed-transforms.js.map +1 -1
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +25 -25
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/moq.d.ts.map +1 -1
- package/lib/services/moq.js +23 -23
- package/lib/services/moq.js.map +1 -1
- package/lib/services/mtls-certificates.d.ts.map +1 -1
- package/lib/services/mtls-certificates.js +17 -17
- package/lib/services/mtls-certificates.js.map +1 -1
- package/lib/services/network-interconnects.d.ts.map +1 -1
- package/lib/services/network-interconnects.js +56 -56
- package/lib/services/network-interconnects.js.map +1 -1
- package/lib/services/organizations.d.ts.map +1 -1
- package/lib/services/organizations.js +42 -42
- package/lib/services/organizations.js.map +1 -1
- package/lib/services/origin-ca-certificates.js +14 -14
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/origin-post-quantum-encryption.js +6 -6
- package/lib/services/origin-post-quantum-encryption.js.map +1 -1
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
- package/lib/services/origin-tls-client-auth.js +52 -52
- package/lib/services/origin-tls-client-auth.js.map +1 -1
- package/lib/services/origin-tls-compliance-modes.js +12 -12
- package/lib/services/origin-tls-compliance-modes.js.map +1 -1
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +62 -62
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/page-shield.d.ts.map +1 -1
- package/lib/services/page-shield.js +45 -48
- package/lib/services/page-shield.js.map +1 -1
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +78 -78
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +102 -102
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +100 -103
- package/lib/services/queues.js.map +1 -1
- package/lib/services/r2-data-catalog.d.ts.map +1 -1
- package/lib/services/r2-data-catalog.js +42 -42
- package/lib/services/r2-data-catalog.js.map +1 -1
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +190 -190
- package/lib/services/r2.js.map +1 -1
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +991 -1009
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +24 -24
- package/lib/services/rate-limits.js.map +1 -1
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +276 -276
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/registrar.d.ts.map +1 -1
- package/lib/services/registrar.js +28 -28
- package/lib/services/registrar.js.map +1 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +7 -7
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +49 -49
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/resource-tagging.d.ts.map +1 -1
- package/lib/services/resource-tagging.js +56 -56
- package/lib/services/resource-tagging.js.map +1 -1
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +50 -50
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +2 -2
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +226 -190
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +35 -35
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +43 -46
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +41 -41
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/security-center.d.ts.map +1 -1
- package/lib/services/security-center.js +54 -57
- package/lib/services/security-center.js.map +1 -1
- package/lib/services/security-txt.d.ts.map +1 -1
- package/lib/services/security-txt.js +12 -12
- package/lib/services/security-txt.js.map +1 -1
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +31 -31
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +35 -35
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +41 -41
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +48 -48
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +147 -147
- package/lib/services/stream.js.map +1 -1
- package/lib/services/tenant-custom-nameservers.js +11 -11
- package/lib/services/tenant-custom-nameservers.js.map +1 -1
- package/lib/services/tenants.d.ts.map +1 -1
- package/lib/services/tenants.js +28 -28
- package/lib/services/tenants.js.map +1 -1
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +56 -56
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +27 -54
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/url-normalization.js +9 -9
- package/lib/services/url-normalization.js.map +1 -1
- package/lib/services/url-scanner.d.ts.map +1 -1
- package/lib/services/url-scanner.js +120 -120
- package/lib/services/url-scanner.js.map +1 -1
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +95 -95
- package/lib/services/user.js.map +1 -1
- package/lib/services/vectorize.d.ts +10 -10
- package/lib/services/vectorize.d.ts.map +1 -1
- package/lib/services/vectorize.js +59 -57
- package/lib/services/vectorize.js.map +1 -1
- package/lib/services/vulnerability-scanner.d.ts.map +1 -1
- package/lib/services/vulnerability-scanner.js +95 -95
- package/lib/services/vulnerability-scanner.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +81 -81
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/web3.d.ts.map +1 -1
- package/lib/services/web3.js +39 -39
- package/lib/services/web3.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +139 -139
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +420 -420
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +88 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +36 -39
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +1765 -1771
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +168 -168
- package/lib/services/zones.js.map +1 -1
- package/package.json +3 -2
- package/src/services/abuse-reports.ts +35 -36
- package/src/services/accounts.ts +714 -760
- package/src/services/acm.ts +115 -125
- package/src/services/addressing.ts +484 -512
- package/src/services/ai-gateway.ts +653 -672
- package/src/services/ai-security.ts +47 -53
- package/src/services/ai.ts +172 -185
- package/src/services/aisearch.ts +1814 -1861
- package/src/services/alerting.ts +710 -742
- package/src/services/api-gateway.ts +481 -508
- package/src/services/argo.ts +12 -12
- package/src/services/audit-logs.ts +45 -49
- package/src/services/billing.ts +121 -136
- package/src/services/bot-management.ts +122 -136
- package/src/services/botnet-feed.ts +68 -74
- package/src/services/brand-protection.ts +275 -294
- package/src/services/browser-rendering.ts +758 -769
- package/src/services/cache.ts +148 -158
- package/src/services/calls.ts +110 -120
- package/src/services/certificate-authorities.ts +6 -6
- package/src/services/client-certificates.ts +18 -18
- package/src/services/cloud-connector.ts +11 -12
- package/src/services/cloudforce-one.ts +589 -617
- package/src/services/connectivity.ts +25 -25
- package/src/services/containers.ts +49 -49
- package/src/services/content-scanning.ts +80 -89
- package/src/services/csam-scanner.ts +16 -17
- package/src/services/custom-certificates.ts +36 -38
- package/src/services/custom-csrs.ts +103 -105
- package/src/services/custom-hostnames.ts +44 -45
- package/src/services/custom-nameservers.ts +11 -11
- package/src/services/custom-pages.ts +173 -184
- package/src/services/d1.ts +335 -325
- package/src/services/dcv-delegation.ts +3 -3
- package/src/services/ddos-protection.ts +126 -126
- package/src/services/diagnostics.ts +27 -27
- package/src/services/dls.ts +82 -86
- package/src/services/dns-firewall.ts +65 -69
- package/src/services/dns.ts +1080 -1107
- package/src/services/durable-objects.ts +36 -38
- package/src/services/email-auth.ts +47 -52
- package/src/services/email-routing.ts +264 -288
- package/src/services/email-security.ts +205 -208
- package/src/services/email-sending.ts +94 -99
- package/src/services/filters.ts +97 -111
- package/src/services/firewall.ts +698 -753
- package/src/services/flagship.ts +321 -336
- package/src/services/fraud.ts +8 -8
- package/src/services/google-tag-gateway.ts +17 -19
- package/src/services/healthchecks.ts +269 -286
- package/src/services/hostnames.ts +94 -99
- package/src/services/hyperdrive.ts +310 -324
- package/src/services/iam.ts +205 -212
- package/src/services/images.ts +138 -150
- package/src/services/intel.ts +248 -261
- package/src/services/ips.ts +5 -5
- package/src/services/keyless-certificates.ts +17 -17
- package/src/services/kv.ts +106 -110
- package/src/services/leaked-credential-checks.ts +49 -53
- package/src/services/load-balancers.ts +1119 -1212
- package/src/services/logpush.ts +298 -313
- package/src/services/logs.ts +74 -77
- package/src/services/magic-cloud-networking.ts +1219 -1311
- package/src/services/magic-network-monitoring.ts +647 -685
- package/src/services/magic-transit.ts +1988 -2119
- package/src/services/managed-transforms.ts +11 -11
- package/src/services/memberships.ts +101 -105
- package/src/services/moq.ts +100 -110
- package/src/services/mtls-certificates.ts +30 -32
- package/src/services/network-interconnects.ts +137 -145
- package/src/services/organizations.ts +189 -192
- package/src/services/origin-ca-certificates.ts +14 -14
- package/src/services/origin-post-quantum-encryption.ts +6 -6
- package/src/services/origin-tls-client-auth.ts +219 -236
- package/src/services/origin-tls-compliance-modes.ts +12 -12
- package/src/services/page-rules.ts +365 -373
- package/src/services/page-shield.ts +489 -528
- package/src/services/pages.ts +309 -319
- package/src/services/pipelines.ts +534 -573
- package/src/services/queues.ts +598 -635
- package/src/services/r2-data-catalog.ts +59 -60
- package/src/services/r2.ts +654 -689
- package/src/services/radar.ts +3395 -3487
- package/src/services/rate-limits.ts +81 -93
- package/src/services/realtime-kit.ts +386 -399
- package/src/services/registrar.ts +90 -96
- package/src/services/request-tracers.ts +41 -43
- package/src/services/resource-sharing.ts +293 -305
- package/src/services/resource-tagging.ts +354 -366
- package/src/services/rules.ts +272 -292
- package/src/services/rulesets.ts +1214 -1116
- package/src/services/rum.ts +252 -273
- package/src/services/schema-validation.ts +284 -305
- package/src/services/secrets-store.ts +130 -138
- package/src/services/security-center.ts +64 -69
- package/src/services/security-txt.ts +48 -50
- package/src/services/snippets.ts +132 -142
- package/src/services/spectrum.ts +75 -80
- package/src/services/speed.ts +385 -397
- package/src/services/ssl.ts +64 -65
- package/src/services/stream.ts +658 -718
- package/src/services/tenant-custom-nameservers.ts +11 -11
- package/src/services/tenants.ts +86 -93
- package/src/services/token-validation.ts +145 -151
- package/src/services/turnstile.ts +344 -381
- package/src/services/url-normalization.ts +9 -9
- package/src/services/url-scanner.ts +393 -399
- package/src/services/user.ts +479 -503
- package/src/services/vectorize.ts +215 -230
- package/src/services/vulnerability-scanner.ts +145 -148
- package/src/services/waiting-rooms.ts +759 -825
- package/src/services/web3.ts +186 -197
- package/src/services/workers-for-platforms.ts +408 -432
- package/src/services/workers.ts +1175 -1239
- package/src/services/workflows.ts +585 -616
- package/src/services/zaraz.ts +168 -192
- package/src/services/zero-trust.ts +2965 -3074
- package/src/services/zones.ts +753 -785
package/src/services/r2.ts
CHANGED
|
@@ -187,7 +187,7 @@ interface Bucket {
|
|
|
187
187
|
/** Storage class for newly uploaded objects, unless specified otherwise. */
|
|
188
188
|
storageClass?: "Standard" | "InfrequentAccess" | (string & {}) | null;
|
|
189
189
|
}
|
|
190
|
-
const Bucket = /*@__PURE__*/
|
|
190
|
+
const Bucket = /*@__PURE__*/ Schema.suspend(() =>
|
|
191
191
|
Schema.Struct({
|
|
192
192
|
creationDate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
193
193
|
jurisdiction: Schema.optional(
|
|
@@ -250,7 +250,7 @@ interface Allowed {
|
|
|
250
250
|
/** Specifies the value for the Access-Control-Allow-Headers header R2 sets when requesting objects in this bucket from a browser. Cross-origin requests that include custom headers (e.g. x-user-id) should */
|
|
251
251
|
headers?: string[] | null;
|
|
252
252
|
}
|
|
253
|
-
const Allowed = /*@__PURE__*/
|
|
253
|
+
const Allowed = /*@__PURE__*/ Schema.suspend(() =>
|
|
254
254
|
Schema.Struct({
|
|
255
255
|
methods: Schema.Array(
|
|
256
256
|
Schema.Union([
|
|
@@ -279,7 +279,7 @@ interface Rule {
|
|
|
279
279
|
/** Specifies the amount of time (in seconds) browsers are allowed to cache CORS preflight responses. Browsers may limit this to 2 hours or less, even if the maximum value (86400) is specified. */
|
|
280
280
|
maxAgeSeconds?: number | null;
|
|
281
281
|
}
|
|
282
|
-
const Rule = /*@__PURE__*/
|
|
282
|
+
const Rule = /*@__PURE__*/ Schema.suspend(() =>
|
|
283
283
|
Schema.Struct({
|
|
284
284
|
allowed: Allowed,
|
|
285
285
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -310,7 +310,7 @@ interface Status {
|
|
|
310
310
|
| "unknown"
|
|
311
311
|
| (string & {});
|
|
312
312
|
}
|
|
313
|
-
const Status = /*@__PURE__*/
|
|
313
|
+
const Status = /*@__PURE__*/ Schema.suspend(() =>
|
|
314
314
|
Schema.Struct({
|
|
315
315
|
ownership: Schema.Union([
|
|
316
316
|
Schema.Literals([
|
|
@@ -369,7 +369,7 @@ interface Domain {
|
|
|
369
369
|
/** Zone that the custom domain resides in. */
|
|
370
370
|
zoneName?: string | null;
|
|
371
371
|
}
|
|
372
|
-
const Domain = /*@__PURE__*/
|
|
372
|
+
const Domain = /*@__PURE__*/ Schema.suspend(() =>
|
|
373
373
|
Schema.Struct({
|
|
374
374
|
domain: Schema.String,
|
|
375
375
|
enabled: Schema.Boolean,
|
|
@@ -412,7 +412,7 @@ interface Rule2 {
|
|
|
412
412
|
/** Notifications will be sent only for objects with this suffix. */
|
|
413
413
|
suffix?: string | null;
|
|
414
414
|
}
|
|
415
|
-
const Rule2 = /*@__PURE__*/
|
|
415
|
+
const Rule2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
416
416
|
Schema.Struct({
|
|
417
417
|
actions: Schema.Array(
|
|
418
418
|
Schema.Union([
|
|
@@ -457,7 +457,7 @@ interface Queue {
|
|
|
457
457
|
}[]
|
|
458
458
|
| null;
|
|
459
459
|
}
|
|
460
|
-
const Queue = /*@__PURE__*/
|
|
460
|
+
const Queue = /*@__PURE__*/ Schema.suspend(() =>
|
|
461
461
|
Schema.Struct({
|
|
462
462
|
queueId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
463
463
|
queueName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -482,7 +482,7 @@ interface Rule3 {
|
|
|
482
482
|
/** Notifications will be sent only for objects with this suffix. */
|
|
483
483
|
suffix?: string | null;
|
|
484
484
|
}
|
|
485
|
-
const Rule3 = /*@__PURE__*/
|
|
485
|
+
const Rule3 = /*@__PURE__*/ Schema.suspend(() =>
|
|
486
486
|
Schema.Struct({
|
|
487
487
|
actions: Schema.Array(
|
|
488
488
|
Schema.Union([
|
|
@@ -506,7 +506,7 @@ interface Conditions {
|
|
|
506
506
|
/** Transitions will only apply to objects/uploads in the bucket that start with the given prefix, an empty prefix can be provided to scope rule to all objects/uploads. */
|
|
507
507
|
prefix?: string | null;
|
|
508
508
|
}
|
|
509
|
-
const Conditions = /*@__PURE__*/
|
|
509
|
+
const Conditions = /*@__PURE__*/ Schema.suspend(() =>
|
|
510
510
|
Schema.Struct({
|
|
511
511
|
prefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
512
512
|
}),
|
|
@@ -516,7 +516,7 @@ interface Condition {
|
|
|
516
516
|
maxAge: number;
|
|
517
517
|
type: "Age";
|
|
518
518
|
}
|
|
519
|
-
const Condition = /*@__PURE__*/
|
|
519
|
+
const Condition = /*@__PURE__*/ Schema.suspend(() =>
|
|
520
520
|
Schema.Struct({
|
|
521
521
|
maxAge: Schema.Number,
|
|
522
522
|
type: Schema.Literal("Age"),
|
|
@@ -528,7 +528,7 @@ interface AbortMultipartUploadsTransition {
|
|
|
528
528
|
condition?: { maxAge: number; type: "Age" } | null;
|
|
529
529
|
}
|
|
530
530
|
const AbortMultipartUploadsTransition =
|
|
531
|
-
/*@__PURE__*/
|
|
531
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
532
532
|
Schema.Struct({
|
|
533
533
|
condition: Schema.optional(Schema.Union([Condition, Schema.Null])),
|
|
534
534
|
}),
|
|
@@ -538,12 +538,11 @@ interface R2LifecycleDateCondition {
|
|
|
538
538
|
date: string;
|
|
539
539
|
type: "Date";
|
|
540
540
|
}
|
|
541
|
-
const R2LifecycleDateCondition = /*@__PURE__*/
|
|
542
|
-
(
|
|
543
|
-
Schema.
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
}),
|
|
541
|
+
const R2LifecycleDateCondition = /*@__PURE__*/ Schema.suspend(() =>
|
|
542
|
+
Schema.Struct({
|
|
543
|
+
date: Schema.String,
|
|
544
|
+
type: Schema.Literal("Date"),
|
|
545
|
+
}),
|
|
547
546
|
) as unknown as Schema.Codec<R2LifecycleDateCondition>;
|
|
548
547
|
|
|
549
548
|
interface DeleteObjectsTransition {
|
|
@@ -553,7 +552,7 @@ interface DeleteObjectsTransition {
|
|
|
553
552
|
| { date: string; type: "Date" }
|
|
554
553
|
| null;
|
|
555
554
|
}
|
|
556
|
-
const DeleteObjectsTransition = /*@__PURE__*/
|
|
555
|
+
const DeleteObjectsTransition = /*@__PURE__*/ Schema.suspend(() =>
|
|
557
556
|
Schema.Struct({
|
|
558
557
|
condition: Schema.optional(
|
|
559
558
|
Schema.Union([
|
|
@@ -569,7 +568,7 @@ interface StorageClassTransition {
|
|
|
569
568
|
condition: { maxAge: number; type: "Age" } | { date: string; type: "Date" };
|
|
570
569
|
storageClass: "InfrequentAccess";
|
|
571
570
|
}
|
|
572
|
-
const StorageClassTransition = /*@__PURE__*/
|
|
571
|
+
const StorageClassTransition = /*@__PURE__*/ Schema.suspend(() =>
|
|
573
572
|
Schema.Struct({
|
|
574
573
|
condition: Schema.Union([Condition, R2LifecycleDateCondition]),
|
|
575
574
|
storageClass: Schema.Literal("InfrequentAccess"),
|
|
@@ -604,7 +603,7 @@ interface Rule4 {
|
|
|
604
603
|
}[]
|
|
605
604
|
| null;
|
|
606
605
|
}
|
|
607
|
-
const Rule4 = /*@__PURE__*/
|
|
606
|
+
const Rule4 = /*@__PURE__*/ Schema.suspend(() =>
|
|
608
607
|
Schema.Struct({
|
|
609
608
|
id: Schema.String,
|
|
610
609
|
conditions: Conditions,
|
|
@@ -625,7 +624,7 @@ interface Conditions2 {
|
|
|
625
624
|
/** Transitions will only apply to objects/uploads in the bucket that start with the given prefix, an empty prefix can be provided to scope rule to all objects/uploads. */
|
|
626
625
|
prefix: string;
|
|
627
626
|
}
|
|
628
|
-
const Conditions2 = /*@__PURE__*/
|
|
627
|
+
const Conditions2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
629
628
|
Schema.Struct({
|
|
630
629
|
prefix: Schema.String,
|
|
631
630
|
}),
|
|
@@ -659,7 +658,7 @@ interface Rule5 {
|
|
|
659
658
|
}[]
|
|
660
659
|
| null;
|
|
661
660
|
}
|
|
662
|
-
const Rule5 = /*@__PURE__*/
|
|
661
|
+
const Rule5 = /*@__PURE__*/ Schema.suspend(() =>
|
|
663
662
|
Schema.Struct({
|
|
664
663
|
id: Schema.String,
|
|
665
664
|
conditions: Conditions2,
|
|
@@ -680,7 +679,7 @@ interface R2LockRuleAgeCondition {
|
|
|
680
679
|
maxAgeSeconds: number;
|
|
681
680
|
type: "Age";
|
|
682
681
|
}
|
|
683
|
-
const R2LockRuleAgeCondition = /*@__PURE__*/
|
|
682
|
+
const R2LockRuleAgeCondition = /*@__PURE__*/ Schema.suspend(() =>
|
|
684
683
|
Schema.Struct({
|
|
685
684
|
maxAgeSeconds: Schema.Number,
|
|
686
685
|
type: Schema.Literal("Age"),
|
|
@@ -691,7 +690,7 @@ interface R2LockRuleIndefiniteCondition {
|
|
|
691
690
|
type: "Indefinite";
|
|
692
691
|
}
|
|
693
692
|
const R2LockRuleIndefiniteCondition =
|
|
694
|
-
/*@__PURE__*/
|
|
693
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
695
694
|
Schema.Struct({
|
|
696
695
|
type: Schema.Literal("Indefinite"),
|
|
697
696
|
}),
|
|
@@ -710,7 +709,7 @@ interface Rule6 {
|
|
|
710
709
|
/** Rule will only apply to objects/uploads in the bucket that start with the given prefix, an empty prefix can be provided to scope rule to all objects/uploads. */
|
|
711
710
|
prefix?: string | null;
|
|
712
711
|
}
|
|
713
|
-
const Rule6 = /*@__PURE__*/
|
|
712
|
+
const Rule6 = /*@__PURE__*/ Schema.suspend(() =>
|
|
714
713
|
Schema.Struct({
|
|
715
714
|
id: Schema.String,
|
|
716
715
|
condition: Schema.Union([
|
|
@@ -731,7 +730,7 @@ interface Published {
|
|
|
731
730
|
/** Amount of storage used by object data. */
|
|
732
731
|
payloadSize?: number | null;
|
|
733
732
|
}
|
|
734
|
-
const Published = /*@__PURE__*/
|
|
733
|
+
const Published = /*@__PURE__*/ Schema.suspend(() =>
|
|
735
734
|
Schema.Struct({
|
|
736
735
|
metadataSize: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
737
736
|
objects: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -753,7 +752,7 @@ interface InfrequentAccess {
|
|
|
753
752
|
payloadSize?: number | null;
|
|
754
753
|
} | null;
|
|
755
754
|
}
|
|
756
|
-
const InfrequentAccess = /*@__PURE__*/
|
|
755
|
+
const InfrequentAccess = /*@__PURE__*/ Schema.suspend(() =>
|
|
757
756
|
Schema.Struct({
|
|
758
757
|
published: Schema.optional(Schema.Union([Published, Schema.Null])),
|
|
759
758
|
uploaded: Schema.optional(Schema.Union([Published, Schema.Null])),
|
|
@@ -774,7 +773,7 @@ interface Httpmetadata {
|
|
|
774
773
|
/** The MIME type of the object. */
|
|
775
774
|
contentType?: string | null;
|
|
776
775
|
}
|
|
777
|
-
const Httpmetadata = /*@__PURE__*/
|
|
776
|
+
const Httpmetadata = /*@__PURE__*/ Schema.suspend(() =>
|
|
778
777
|
Schema.Struct({
|
|
779
778
|
cacheControl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
780
779
|
cacheExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -817,7 +816,7 @@ interface ListBucketObjectsResponseResult {
|
|
|
817
816
|
storageClass?: "Standard" | "InfrequentAccess" | (string & {}) | null;
|
|
818
817
|
}
|
|
819
818
|
const ListBucketObjectsResponseResult =
|
|
820
|
-
/*@__PURE__*/
|
|
819
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
821
820
|
Schema.Struct({
|
|
822
821
|
customMetadata: Schema.optional(
|
|
823
822
|
Schema.Union([
|
|
@@ -860,7 +859,7 @@ interface ListBucketObjectsResponseResultInfo {
|
|
|
860
859
|
perPage?: number | null;
|
|
861
860
|
}
|
|
862
861
|
const ListBucketObjectsResponseResultInfo =
|
|
863
|
-
/*@__PURE__*/
|
|
862
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
864
863
|
Schema.Struct({
|
|
865
864
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
866
865
|
cursor: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -882,7 +881,7 @@ interface Destination {
|
|
|
882
881
|
bucket?: string | null;
|
|
883
882
|
provider?: "r2" | null;
|
|
884
883
|
}
|
|
885
|
-
const Destination = /*@__PURE__*/
|
|
884
|
+
const Destination = /*@__PURE__*/ Schema.suspend(() =>
|
|
886
885
|
Schema.Struct({
|
|
887
886
|
accessKeyId: Schema.optional(Schema.Union([SensitiveString, Schema.Null])),
|
|
888
887
|
account: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -902,7 +901,7 @@ interface Source {
|
|
|
902
901
|
/** Region where the bucket resides (AWS only). */
|
|
903
902
|
region?: string | null;
|
|
904
903
|
}
|
|
905
|
-
const Source = /*@__PURE__*/
|
|
904
|
+
const Source = /*@__PURE__*/ Schema.suspend(() =>
|
|
906
905
|
Schema.Struct({
|
|
907
906
|
bucket: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
908
907
|
bucketUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -923,7 +922,7 @@ interface Destination2 {
|
|
|
923
922
|
/** Value of a Cloudflare API token. This is the value labelled "Secret Access Key" when creating an API. token from the [R2 dashboard](https://dash.cloudflare.com/?to=/:account/r2/api-tokens). Sippy wil */
|
|
924
923
|
secretAccessKey?: string | null;
|
|
925
924
|
}
|
|
926
|
-
const Destination2 = /*@__PURE__*/
|
|
925
|
+
const Destination2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
927
926
|
Schema.Struct({
|
|
928
927
|
accessKeyId: Schema.optional(Schema.Union([SensitiveString, Schema.Null])),
|
|
929
928
|
provider: Schema.optional(
|
|
@@ -952,7 +951,7 @@ interface Source2 {
|
|
|
952
951
|
/** URL to the S3-compatible API of the bucket. */
|
|
953
952
|
bucketUrl?: string | null;
|
|
954
953
|
}
|
|
955
|
-
const Source2 = /*@__PURE__*/
|
|
954
|
+
const Source2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
956
955
|
Schema.Struct({
|
|
957
956
|
accessKeyId: Schema.optional(Schema.Union([SensitiveString, Schema.Null])),
|
|
958
957
|
bucket: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -989,48 +988,45 @@ interface ListObjectsResponseResult {
|
|
|
989
988
|
/** HTTP metadata associated with the object. */
|
|
990
989
|
httpMetadata?: unknown | null;
|
|
991
990
|
}
|
|
992
|
-
const ListObjectsResponseResult = /*@__PURE__*/
|
|
993
|
-
(
|
|
994
|
-
Schema.
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
991
|
+
const ListObjectsResponseResult = /*@__PURE__*/ Schema.suspend(() =>
|
|
992
|
+
Schema.Struct({
|
|
993
|
+
key: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
994
|
+
size: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
995
|
+
etag: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
996
|
+
lastModified: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
997
|
+
storageClass: Schema.optional(
|
|
998
|
+
Schema.Union([
|
|
1000
999
|
Schema.Union([
|
|
1001
|
-
Schema.
|
|
1002
|
-
|
|
1003
|
-
Schema.String,
|
|
1004
|
-
]),
|
|
1005
|
-
Schema.Null,
|
|
1000
|
+
Schema.Literals(["Standard", "InfrequentAccess"]),
|
|
1001
|
+
Schema.String,
|
|
1006
1002
|
]),
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
customMetadata: Schema.optional(
|
|
1010
|
-
Schema.Union([Schema.Unknown, Schema.Null]),
|
|
1011
|
-
),
|
|
1012
|
-
httpMetadata: Schema.optional(
|
|
1013
|
-
Schema.Union([Schema.Unknown, Schema.Null]),
|
|
1014
|
-
),
|
|
1015
|
-
}).pipe(
|
|
1016
|
-
Schema.encodeKeys({
|
|
1017
|
-
key: "key",
|
|
1018
|
-
size: "size",
|
|
1019
|
-
etag: "etag",
|
|
1020
|
-
lastModified: "last_modified",
|
|
1021
|
-
storageClass: "storage_class",
|
|
1022
|
-
ssec: "ssec",
|
|
1023
|
-
customMetadata: "custom_metadata",
|
|
1024
|
-
httpMetadata: "http_metadata",
|
|
1025
|
-
}),
|
|
1003
|
+
Schema.Null,
|
|
1004
|
+
]),
|
|
1026
1005
|
),
|
|
1006
|
+
ssec: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1007
|
+
customMetadata: Schema.optional(
|
|
1008
|
+
Schema.Union([Schema.Unknown, Schema.Null]),
|
|
1009
|
+
),
|
|
1010
|
+
httpMetadata: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
|
|
1011
|
+
}).pipe(
|
|
1012
|
+
Schema.encodeKeys({
|
|
1013
|
+
key: "key",
|
|
1014
|
+
size: "size",
|
|
1015
|
+
etag: "etag",
|
|
1016
|
+
lastModified: "last_modified",
|
|
1017
|
+
storageClass: "storage_class",
|
|
1018
|
+
ssec: "ssec",
|
|
1019
|
+
customMetadata: "custom_metadata",
|
|
1020
|
+
httpMetadata: "http_metadata",
|
|
1021
|
+
}),
|
|
1022
|
+
),
|
|
1027
1023
|
) as unknown as Schema.Codec<ListObjectsResponseResult>;
|
|
1028
1024
|
|
|
1029
1025
|
interface DeleteObjectsResponse2 {
|
|
1030
1026
|
/** Key of the deleted object. */
|
|
1031
1027
|
key?: string | null;
|
|
1032
1028
|
}
|
|
1033
|
-
const DeleteObjectsResponse2 = /*@__PURE__*/
|
|
1029
|
+
const DeleteObjectsResponse2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
1034
1030
|
Schema.Struct({
|
|
1035
1031
|
key: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1036
1032
|
}),
|
|
@@ -1042,7 +1038,7 @@ interface DeleteObjectsResponse1PrefixDelete {
|
|
|
1042
1038
|
isBucketClear?: boolean | null;
|
|
1043
1039
|
}
|
|
1044
1040
|
const DeleteObjectsResponse1PrefixDelete =
|
|
1045
|
-
/*@__PURE__*/
|
|
1041
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1046
1042
|
Schema.Struct({
|
|
1047
1043
|
prefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1048
1044
|
deletedObjects: Schema.optional(
|
|
@@ -1073,7 +1069,7 @@ interface DeleteObjectsResponse1 {
|
|
|
1073
1069
|
isBucketClear?: boolean | null;
|
|
1074
1070
|
} | null;
|
|
1075
1071
|
}
|
|
1076
|
-
const DeleteObjectsResponse1 = /*@__PURE__*/
|
|
1072
|
+
const DeleteObjectsResponse1 = /*@__PURE__*/ Schema.suspend(() =>
|
|
1077
1073
|
Schema.Struct({
|
|
1078
1074
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1079
1075
|
jobType: Schema.optional(
|
|
@@ -1108,7 +1104,7 @@ interface Secret {
|
|
|
1108
1104
|
clientEmail?: string | null;
|
|
1109
1105
|
privateKey?: string | null;
|
|
1110
1106
|
}
|
|
1111
|
-
const Secret = /*@__PURE__*/
|
|
1107
|
+
const Secret = /*@__PURE__*/ Schema.suspend(() =>
|
|
1112
1108
|
Schema.Struct({
|
|
1113
1109
|
accessKeyId: Schema.optional(Schema.Union([SensitiveString, Schema.Null])),
|
|
1114
1110
|
secretAccessKey: Schema.optional(
|
|
@@ -1123,7 +1119,7 @@ interface Secret2 {
|
|
|
1123
1119
|
accessKeyId: string;
|
|
1124
1120
|
secretAccessKey: string;
|
|
1125
1121
|
}
|
|
1126
|
-
const Secret2 = /*@__PURE__*/
|
|
1122
|
+
const Secret2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
1127
1123
|
Schema.Struct({
|
|
1128
1124
|
accessKeyId: SensitiveString,
|
|
1129
1125
|
secretAccessKey: SensitiveString,
|
|
@@ -1137,7 +1133,7 @@ interface S3SourceResponseSchema {
|
|
|
1137
1133
|
pathPrefix?: string | null;
|
|
1138
1134
|
vendor?: "s3" | null;
|
|
1139
1135
|
}
|
|
1140
|
-
const S3SourceResponseSchema = /*@__PURE__*/
|
|
1136
|
+
const S3SourceResponseSchema = /*@__PURE__*/ Schema.suspend(() =>
|
|
1141
1137
|
Schema.Struct({
|
|
1142
1138
|
bucket: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1143
1139
|
endpoint: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1155,7 +1151,7 @@ interface GcsSourceResponseSchema {
|
|
|
1155
1151
|
pathPrefix?: string | null;
|
|
1156
1152
|
vendor?: "gcs" | null;
|
|
1157
1153
|
}
|
|
1158
|
-
const GcsSourceResponseSchema = /*@__PURE__*/
|
|
1154
|
+
const GcsSourceResponseSchema = /*@__PURE__*/ Schema.suspend(() =>
|
|
1159
1155
|
Schema.Struct({
|
|
1160
1156
|
bucket: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1161
1157
|
keys: Schema.optional(
|
|
@@ -1173,7 +1169,7 @@ interface R2SourceResponseSchema {
|
|
|
1173
1169
|
pathPrefix?: string | null;
|
|
1174
1170
|
vendor?: "r2" | null;
|
|
1175
1171
|
}
|
|
1176
|
-
const R2SourceResponseSchema = /*@__PURE__*/
|
|
1172
|
+
const R2SourceResponseSchema = /*@__PURE__*/ Schema.suspend(() =>
|
|
1177
1173
|
Schema.Struct({
|
|
1178
1174
|
bucket: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1179
1175
|
jurisdiction: Schema.optional(
|
|
@@ -1198,7 +1194,7 @@ interface Target {
|
|
|
1198
1194
|
jurisdiction?: "default" | "eu" | "fedramp" | (string & {}) | null;
|
|
1199
1195
|
vendor?: "r2" | null;
|
|
1200
1196
|
}
|
|
1201
|
-
const Target = /*@__PURE__*/
|
|
1197
|
+
const Target = /*@__PURE__*/ Schema.suspend(() =>
|
|
1202
1198
|
Schema.Struct({
|
|
1203
1199
|
bucket: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1204
1200
|
jurisdiction: Schema.optional(
|
|
@@ -1255,7 +1251,7 @@ interface ListSuperSlurperJobsResponseResult {
|
|
|
1255
1251
|
} | null;
|
|
1256
1252
|
}
|
|
1257
1253
|
const ListSuperSlurperJobsResponseResult =
|
|
1258
|
-
/*@__PURE__*/
|
|
1254
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1259
1255
|
Schema.Struct({
|
|
1260
1256
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1261
1257
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1294,7 +1290,7 @@ interface R2SlurperS3SourceSchema {
|
|
|
1294
1290
|
pathPrefix?: string | null;
|
|
1295
1291
|
region?: string | null;
|
|
1296
1292
|
}
|
|
1297
|
-
const R2SlurperS3SourceSchema = /*@__PURE__*/
|
|
1293
|
+
const R2SlurperS3SourceSchema = /*@__PURE__*/ Schema.suspend(() =>
|
|
1298
1294
|
Schema.Struct({
|
|
1299
1295
|
bucket: Schema.String,
|
|
1300
1296
|
secret: Secret2,
|
|
@@ -1312,7 +1308,7 @@ interface Secret3 {
|
|
|
1312
1308
|
clientEmail: string;
|
|
1313
1309
|
privateKey: string;
|
|
1314
1310
|
}
|
|
1315
|
-
const Secret3 = /*@__PURE__*/
|
|
1311
|
+
const Secret3 = /*@__PURE__*/ Schema.suspend(() =>
|
|
1316
1312
|
Schema.Struct({
|
|
1317
1313
|
clientEmail: Schema.String,
|
|
1318
1314
|
privateKey: SensitiveString,
|
|
@@ -1326,17 +1322,16 @@ interface R2SlurperGcsSourceSchema {
|
|
|
1326
1322
|
keys?: string[] | null;
|
|
1327
1323
|
pathPrefix?: string | null;
|
|
1328
1324
|
}
|
|
1329
|
-
const R2SlurperGcsSourceSchema = /*@__PURE__*/
|
|
1330
|
-
(
|
|
1331
|
-
Schema.
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
}),
|
|
1325
|
+
const R2SlurperGcsSourceSchema = /*@__PURE__*/ Schema.suspend(() =>
|
|
1326
|
+
Schema.Struct({
|
|
1327
|
+
bucket: Schema.String,
|
|
1328
|
+
secret: Secret3,
|
|
1329
|
+
vendor: Schema.Literal("gcs"),
|
|
1330
|
+
keys: Schema.optional(
|
|
1331
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1332
|
+
),
|
|
1333
|
+
pathPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1334
|
+
}),
|
|
1340
1335
|
) as unknown as Schema.Codec<R2SlurperGcsSourceSchema>;
|
|
1341
1336
|
|
|
1342
1337
|
interface R2SlurperR2SourceSchema {
|
|
@@ -1347,7 +1342,7 @@ interface R2SlurperR2SourceSchema {
|
|
|
1347
1342
|
keys?: string[] | null;
|
|
1348
1343
|
pathPrefix?: string | null;
|
|
1349
1344
|
}
|
|
1350
|
-
const R2SlurperR2SourceSchema = /*@__PURE__*/
|
|
1345
|
+
const R2SlurperR2SourceSchema = /*@__PURE__*/ Schema.suspend(() =>
|
|
1351
1346
|
Schema.Struct({
|
|
1352
1347
|
bucket: Schema.String,
|
|
1353
1348
|
secret: Secret2,
|
|
@@ -1374,7 +1369,7 @@ interface Target2 {
|
|
|
1374
1369
|
vendor: "r2";
|
|
1375
1370
|
jurisdiction?: "default" | "eu" | "fedramp" | (string & {}) | null;
|
|
1376
1371
|
}
|
|
1377
|
-
const Target2 = /*@__PURE__*/
|
|
1372
|
+
const Target2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
1378
1373
|
Schema.Struct({
|
|
1379
1374
|
bucket: Schema.String,
|
|
1380
1375
|
secret: Secret2,
|
|
@@ -1416,7 +1411,7 @@ interface ListSuperSlurperJobLogsResponseResult {
|
|
|
1416
1411
|
objectKey?: string | null;
|
|
1417
1412
|
}
|
|
1418
1413
|
const ListSuperSlurperJobLogsResponseResult =
|
|
1419
|
-
/*@__PURE__*/
|
|
1414
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1420
1415
|
Schema.Struct({
|
|
1421
1416
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1422
1417
|
job: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1459,7 +1454,7 @@ export interface AbortAllSuperSlurperJobRequest {
|
|
|
1459
1454
|
}
|
|
1460
1455
|
|
|
1461
1456
|
export const AbortAllSuperSlurperJobRequest =
|
|
1462
|
-
/*@__PURE__*/
|
|
1457
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1463
1458
|
Schema.Struct({
|
|
1464
1459
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1465
1460
|
}).pipe(
|
|
@@ -1473,7 +1468,7 @@ export const AbortAllSuperSlurperJobRequest =
|
|
|
1473
1468
|
export type AbortAllSuperSlurperJobResponse = string;
|
|
1474
1469
|
|
|
1475
1470
|
export const AbortAllSuperSlurperJobResponse =
|
|
1476
|
-
/*@__PURE__*/
|
|
1471
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1477
1472
|
Schema.String.pipe(T.ResponsePath("result")),
|
|
1478
1473
|
) as unknown as Schema.Codec<AbortAllSuperSlurperJobResponse>;
|
|
1479
1474
|
|
|
@@ -1484,7 +1479,7 @@ export const abortAllSuperSlurperJob: API.OperationMethod<
|
|
|
1484
1479
|
AbortAllSuperSlurperJobResponse,
|
|
1485
1480
|
AbortAllSuperSlurperJobError,
|
|
1486
1481
|
Credentials | HttpClient.HttpClient
|
|
1487
|
-
> = /*@__PURE__*/
|
|
1482
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1488
1483
|
input: AbortAllSuperSlurperJobRequest,
|
|
1489
1484
|
output: AbortAllSuperSlurperJobResponse,
|
|
1490
1485
|
errors: [],
|
|
@@ -1502,7 +1497,7 @@ export interface GetBucketRequest {
|
|
|
1502
1497
|
jurisdiction?: "default" | "eu" | "fedramp" | (string & {});
|
|
1503
1498
|
}
|
|
1504
1499
|
|
|
1505
|
-
export const GetBucketRequest = /*@__PURE__*/
|
|
1500
|
+
export const GetBucketRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1506
1501
|
Schema.Struct({
|
|
1507
1502
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1508
1503
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1547,62 +1542,61 @@ export interface GetBucketResponse {
|
|
|
1547
1542
|
storageClass?: "Standard" | "InfrequentAccess" | (string & {}) | null;
|
|
1548
1543
|
}
|
|
1549
1544
|
|
|
1550
|
-
export const GetBucketResponse = /*@__PURE__*/
|
|
1551
|
-
(
|
|
1552
|
-
Schema.
|
|
1553
|
-
|
|
1554
|
-
|
|
1545
|
+
export const GetBucketResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1546
|
+
Schema.Struct({
|
|
1547
|
+
creationDate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1548
|
+
jurisdiction: Schema.optional(
|
|
1549
|
+
Schema.Union([
|
|
1555
1550
|
Schema.Union([
|
|
1556
|
-
Schema.
|
|
1557
|
-
|
|
1558
|
-
Schema.String,
|
|
1559
|
-
]),
|
|
1560
|
-
Schema.Null,
|
|
1551
|
+
Schema.Literals(["default", "eu", "fedramp"]),
|
|
1552
|
+
Schema.String,
|
|
1561
1553
|
]),
|
|
1562
|
-
|
|
1563
|
-
|
|
1554
|
+
Schema.Null,
|
|
1555
|
+
]),
|
|
1556
|
+
),
|
|
1557
|
+
location: Schema.optional(
|
|
1558
|
+
Schema.Union([
|
|
1564
1559
|
Schema.Union([
|
|
1565
|
-
Schema.
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
"OC",
|
|
1579
|
-
]),
|
|
1580
|
-
Schema.String,
|
|
1560
|
+
Schema.Literals([
|
|
1561
|
+
"apac",
|
|
1562
|
+
"eeur",
|
|
1563
|
+
"enam",
|
|
1564
|
+
"weur",
|
|
1565
|
+
"wnam",
|
|
1566
|
+
"oc",
|
|
1567
|
+
"APAC",
|
|
1568
|
+
"EEUR",
|
|
1569
|
+
"ENAM",
|
|
1570
|
+
"WEUR",
|
|
1571
|
+
"WNAM",
|
|
1572
|
+
"OC",
|
|
1581
1573
|
]),
|
|
1582
|
-
Schema.
|
|
1574
|
+
Schema.String,
|
|
1583
1575
|
]),
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1576
|
+
Schema.Null,
|
|
1577
|
+
]),
|
|
1578
|
+
),
|
|
1579
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1580
|
+
storageClass: Schema.optional(
|
|
1581
|
+
Schema.Union([
|
|
1587
1582
|
Schema.Union([
|
|
1588
|
-
Schema.
|
|
1589
|
-
|
|
1590
|
-
Schema.String,
|
|
1591
|
-
]),
|
|
1592
|
-
Schema.Null,
|
|
1583
|
+
Schema.Literals(["Standard", "InfrequentAccess"]),
|
|
1584
|
+
Schema.String,
|
|
1593
1585
|
]),
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1586
|
+
Schema.Null,
|
|
1587
|
+
]),
|
|
1588
|
+
),
|
|
1589
|
+
})
|
|
1590
|
+
.pipe(
|
|
1591
|
+
Schema.encodeKeys({
|
|
1592
|
+
creationDate: "creation_date",
|
|
1593
|
+
jurisdiction: "jurisdiction",
|
|
1594
|
+
location: "location",
|
|
1595
|
+
name: "name",
|
|
1596
|
+
storageClass: "storage_class",
|
|
1597
|
+
}),
|
|
1598
|
+
)
|
|
1599
|
+
.pipe(T.ResponsePath("result")),
|
|
1606
1600
|
) as unknown as Schema.Codec<GetBucketResponse>;
|
|
1607
1601
|
|
|
1608
1602
|
export type GetBucketError = DefaultErrors | NoSuchBucket | InvalidRoute;
|
|
@@ -1612,7 +1606,7 @@ export const getBucket: API.OperationMethod<
|
|
|
1612
1606
|
GetBucketResponse,
|
|
1613
1607
|
GetBucketError,
|
|
1614
1608
|
Credentials | HttpClient.HttpClient
|
|
1615
|
-
> = /*@__PURE__*/
|
|
1609
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1616
1610
|
input: GetBucketRequest,
|
|
1617
1611
|
output: GetBucketResponse,
|
|
1618
1612
|
errors: [NoSuchBucket, InvalidRoute],
|
|
@@ -1637,31 +1631,26 @@ export interface ListBucketsRequest {
|
|
|
1637
1631
|
jurisdiction?: "default" | "eu" | "fedramp" | (string & {});
|
|
1638
1632
|
}
|
|
1639
1633
|
|
|
1640
|
-
export const ListBucketsRequest = /*@__PURE__*/
|
|
1641
|
-
(
|
|
1642
|
-
Schema.
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
T.HttpQuery("name_contains"),
|
|
1650
|
-
),
|
|
1651
|
-
order: Schema.optional(Schema.Literal("name")).pipe(T.HttpQuery("order")),
|
|
1652
|
-
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
1653
|
-
startAfter: Schema.optional(Schema.String).pipe(
|
|
1654
|
-
T.HttpQuery("start_after"),
|
|
1655
|
-
),
|
|
1656
|
-
jurisdiction: Schema.optional(
|
|
1657
|
-
Schema.Union([
|
|
1658
|
-
Schema.Literals(["default", "eu", "fedramp"]),
|
|
1659
|
-
Schema.String,
|
|
1660
|
-
]),
|
|
1661
|
-
).pipe(T.HttpHeader("cf-r2-jurisdiction")),
|
|
1662
|
-
}).pipe(
|
|
1663
|
-
T.Http({ method: "GET", path: "/accounts/{account_id}/r2/buckets" }),
|
|
1634
|
+
export const ListBucketsRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1635
|
+
Schema.Struct({
|
|
1636
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1637
|
+
cursor: Schema.optional(Schema.String).pipe(T.HttpQuery("cursor")),
|
|
1638
|
+
direction: Schema.optional(
|
|
1639
|
+
Schema.Union([Schema.Literals(["asc", "desc"]), Schema.String]),
|
|
1640
|
+
).pipe(T.HttpQuery("direction")),
|
|
1641
|
+
nameContains: Schema.optional(Schema.String).pipe(
|
|
1642
|
+
T.HttpQuery("name_contains"),
|
|
1664
1643
|
),
|
|
1644
|
+
order: Schema.optional(Schema.Literal("name")).pipe(T.HttpQuery("order")),
|
|
1645
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
1646
|
+
startAfter: Schema.optional(Schema.String).pipe(T.HttpQuery("start_after")),
|
|
1647
|
+
jurisdiction: Schema.optional(
|
|
1648
|
+
Schema.Union([
|
|
1649
|
+
Schema.Literals(["default", "eu", "fedramp"]),
|
|
1650
|
+
Schema.String,
|
|
1651
|
+
]),
|
|
1652
|
+
).pipe(T.HttpHeader("cf-r2-jurisdiction")),
|
|
1653
|
+
}).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/r2/buckets" })),
|
|
1665
1654
|
) as unknown as Schema.Codec<ListBucketsRequest>;
|
|
1666
1655
|
|
|
1667
1656
|
export interface ListBucketsResponse {
|
|
@@ -1690,13 +1679,10 @@ export interface ListBucketsResponse {
|
|
|
1690
1679
|
| null;
|
|
1691
1680
|
}
|
|
1692
1681
|
|
|
1693
|
-
export const ListBucketsResponse = /*@__PURE__*/
|
|
1694
|
-
(
|
|
1695
|
-
Schema.
|
|
1696
|
-
|
|
1697
|
-
Schema.Union([Schema.Array(Bucket), Schema.Null]),
|
|
1698
|
-
),
|
|
1699
|
-
}).pipe(T.ResponsePath("result")),
|
|
1682
|
+
export const ListBucketsResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1683
|
+
Schema.Struct({
|
|
1684
|
+
buckets: Schema.optional(Schema.Union([Schema.Array(Bucket), Schema.Null])),
|
|
1685
|
+
}).pipe(T.ResponsePath("result")),
|
|
1700
1686
|
) as unknown as Schema.Codec<ListBucketsResponse>;
|
|
1701
1687
|
|
|
1702
1688
|
export type ListBucketsError = DefaultErrors | InvalidRoute;
|
|
@@ -1706,7 +1692,7 @@ export const listBuckets: API.OperationMethod<
|
|
|
1706
1692
|
ListBucketsResponse,
|
|
1707
1693
|
ListBucketsError,
|
|
1708
1694
|
Credentials | HttpClient.HttpClient
|
|
1709
|
-
> = /*@__PURE__*/
|
|
1695
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1710
1696
|
input: ListBucketsRequest,
|
|
1711
1697
|
output: ListBucketsResponse,
|
|
1712
1698
|
errors: [InvalidRoute],
|
|
@@ -1732,32 +1718,31 @@ export interface CreateBucketRequest {
|
|
|
1732
1718
|
storageClass?: "Standard" | "InfrequentAccess" | (string & {});
|
|
1733
1719
|
}
|
|
1734
1720
|
|
|
1735
|
-
export const CreateBucketRequest = /*@__PURE__*/
|
|
1736
|
-
(
|
|
1737
|
-
Schema.
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
Schema.
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
Schema.
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
]),
|
|
1751
|
-
),
|
|
1752
|
-
storageClass: Schema.optional(
|
|
1753
|
-
Schema.Union([
|
|
1754
|
-
Schema.Literals(["Standard", "InfrequentAccess"]),
|
|
1755
|
-
Schema.String,
|
|
1756
|
-
]),
|
|
1757
|
-
),
|
|
1758
|
-
}).pipe(
|
|
1759
|
-
T.Http({ method: "POST", path: "/accounts/{account_id}/r2/buckets" }),
|
|
1721
|
+
export const CreateBucketRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1722
|
+
Schema.Struct({
|
|
1723
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1724
|
+
jurisdiction: Schema.optional(
|
|
1725
|
+
Schema.Union([
|
|
1726
|
+
Schema.Literals(["default", "eu", "fedramp"]),
|
|
1727
|
+
Schema.String,
|
|
1728
|
+
]),
|
|
1729
|
+
).pipe(T.HttpHeader("cf-r2-jurisdiction")),
|
|
1730
|
+
name: Schema.String,
|
|
1731
|
+
locationHint: Schema.optional(
|
|
1732
|
+
Schema.Union([
|
|
1733
|
+
Schema.Literals(["apac", "eeur", "enam", "weur", "wnam", "oc"]),
|
|
1734
|
+
Schema.String,
|
|
1735
|
+
]),
|
|
1760
1736
|
),
|
|
1737
|
+
storageClass: Schema.optional(
|
|
1738
|
+
Schema.Union([
|
|
1739
|
+
Schema.Literals(["Standard", "InfrequentAccess"]),
|
|
1740
|
+
Schema.String,
|
|
1741
|
+
]),
|
|
1742
|
+
),
|
|
1743
|
+
}).pipe(
|
|
1744
|
+
T.Http({ method: "POST", path: "/accounts/{account_id}/r2/buckets" }),
|
|
1745
|
+
),
|
|
1761
1746
|
) as unknown as Schema.Codec<CreateBucketRequest>;
|
|
1762
1747
|
|
|
1763
1748
|
export interface CreateBucketResponse {
|
|
@@ -1787,62 +1772,61 @@ export interface CreateBucketResponse {
|
|
|
1787
1772
|
storageClass?: "Standard" | "InfrequentAccess" | (string & {}) | null;
|
|
1788
1773
|
}
|
|
1789
1774
|
|
|
1790
|
-
export const CreateBucketResponse = /*@__PURE__*/
|
|
1791
|
-
(
|
|
1792
|
-
Schema.
|
|
1793
|
-
|
|
1794
|
-
|
|
1775
|
+
export const CreateBucketResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1776
|
+
Schema.Struct({
|
|
1777
|
+
creationDate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1778
|
+
jurisdiction: Schema.optional(
|
|
1779
|
+
Schema.Union([
|
|
1795
1780
|
Schema.Union([
|
|
1796
|
-
Schema.
|
|
1797
|
-
|
|
1798
|
-
Schema.String,
|
|
1799
|
-
]),
|
|
1800
|
-
Schema.Null,
|
|
1781
|
+
Schema.Literals(["default", "eu", "fedramp"]),
|
|
1782
|
+
Schema.String,
|
|
1801
1783
|
]),
|
|
1802
|
-
|
|
1803
|
-
|
|
1784
|
+
Schema.Null,
|
|
1785
|
+
]),
|
|
1786
|
+
),
|
|
1787
|
+
location: Schema.optional(
|
|
1788
|
+
Schema.Union([
|
|
1804
1789
|
Schema.Union([
|
|
1805
|
-
Schema.
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
"OC",
|
|
1819
|
-
]),
|
|
1820
|
-
Schema.String,
|
|
1790
|
+
Schema.Literals([
|
|
1791
|
+
"apac",
|
|
1792
|
+
"eeur",
|
|
1793
|
+
"enam",
|
|
1794
|
+
"weur",
|
|
1795
|
+
"wnam",
|
|
1796
|
+
"oc",
|
|
1797
|
+
"APAC",
|
|
1798
|
+
"EEUR",
|
|
1799
|
+
"ENAM",
|
|
1800
|
+
"WEUR",
|
|
1801
|
+
"WNAM",
|
|
1802
|
+
"OC",
|
|
1821
1803
|
]),
|
|
1822
|
-
Schema.
|
|
1804
|
+
Schema.String,
|
|
1823
1805
|
]),
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1806
|
+
Schema.Null,
|
|
1807
|
+
]),
|
|
1808
|
+
),
|
|
1809
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1810
|
+
storageClass: Schema.optional(
|
|
1811
|
+
Schema.Union([
|
|
1827
1812
|
Schema.Union([
|
|
1828
|
-
Schema.
|
|
1829
|
-
|
|
1830
|
-
Schema.String,
|
|
1831
|
-
]),
|
|
1832
|
-
Schema.Null,
|
|
1813
|
+
Schema.Literals(["Standard", "InfrequentAccess"]),
|
|
1814
|
+
Schema.String,
|
|
1833
1815
|
]),
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1816
|
+
Schema.Null,
|
|
1817
|
+
]),
|
|
1818
|
+
),
|
|
1819
|
+
})
|
|
1820
|
+
.pipe(
|
|
1821
|
+
Schema.encodeKeys({
|
|
1822
|
+
creationDate: "creation_date",
|
|
1823
|
+
jurisdiction: "jurisdiction",
|
|
1824
|
+
location: "location",
|
|
1825
|
+
name: "name",
|
|
1826
|
+
storageClass: "storage_class",
|
|
1827
|
+
}),
|
|
1828
|
+
)
|
|
1829
|
+
.pipe(T.ResponsePath("result")),
|
|
1846
1830
|
) as unknown as Schema.Codec<CreateBucketResponse>;
|
|
1847
1831
|
|
|
1848
1832
|
export type CreateBucketError =
|
|
@@ -1856,7 +1840,7 @@ export const createBucket: API.OperationMethod<
|
|
|
1856
1840
|
CreateBucketResponse,
|
|
1857
1841
|
CreateBucketError,
|
|
1858
1842
|
Credentials | HttpClient.HttpClient
|
|
1859
|
-
> = /*@__PURE__*/
|
|
1843
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1860
1844
|
input: CreateBucketRequest,
|
|
1861
1845
|
output: CreateBucketResponse,
|
|
1862
1846
|
errors: [InvalidBucketName, BucketAlreadyExists, InvalidRoute],
|
|
@@ -1872,27 +1856,26 @@ export interface PatchBucketRequest {
|
|
|
1872
1856
|
jurisdiction?: "default" | "eu" | "fedramp" | (string & {});
|
|
1873
1857
|
}
|
|
1874
1858
|
|
|
1875
|
-
export const PatchBucketRequest = /*@__PURE__*/
|
|
1876
|
-
(
|
|
1877
|
-
Schema.
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1859
|
+
export const PatchBucketRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1860
|
+
Schema.Struct({
|
|
1861
|
+
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1862
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1863
|
+
storageClass: Schema.Union([
|
|
1864
|
+
Schema.Literals(["Standard", "InfrequentAccess"]),
|
|
1865
|
+
Schema.String,
|
|
1866
|
+
]).pipe(T.HttpHeader("cf-r2-storage-class")),
|
|
1867
|
+
jurisdiction: Schema.optional(
|
|
1868
|
+
Schema.Union([
|
|
1869
|
+
Schema.Literals(["default", "eu", "fedramp"]),
|
|
1882
1870
|
Schema.String,
|
|
1883
|
-
])
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
T.Http({
|
|
1892
|
-
method: "PATCH",
|
|
1893
|
-
path: "/accounts/{account_id}/r2/buckets/{bucketName}",
|
|
1894
|
-
}),
|
|
1895
|
-
),
|
|
1871
|
+
]),
|
|
1872
|
+
).pipe(T.HttpHeader("cf-r2-jurisdiction")),
|
|
1873
|
+
}).pipe(
|
|
1874
|
+
T.Http({
|
|
1875
|
+
method: "PATCH",
|
|
1876
|
+
path: "/accounts/{account_id}/r2/buckets/{bucketName}",
|
|
1877
|
+
}),
|
|
1878
|
+
),
|
|
1896
1879
|
) as unknown as Schema.Codec<PatchBucketRequest>;
|
|
1897
1880
|
|
|
1898
1881
|
export interface PatchBucketResponse {
|
|
@@ -1922,62 +1905,61 @@ export interface PatchBucketResponse {
|
|
|
1922
1905
|
storageClass?: "Standard" | "InfrequentAccess" | (string & {}) | null;
|
|
1923
1906
|
}
|
|
1924
1907
|
|
|
1925
|
-
export const PatchBucketResponse = /*@__PURE__*/
|
|
1926
|
-
(
|
|
1927
|
-
Schema.
|
|
1928
|
-
|
|
1929
|
-
|
|
1908
|
+
export const PatchBucketResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1909
|
+
Schema.Struct({
|
|
1910
|
+
creationDate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1911
|
+
jurisdiction: Schema.optional(
|
|
1912
|
+
Schema.Union([
|
|
1930
1913
|
Schema.Union([
|
|
1931
|
-
Schema.
|
|
1932
|
-
|
|
1933
|
-
Schema.String,
|
|
1934
|
-
]),
|
|
1935
|
-
Schema.Null,
|
|
1914
|
+
Schema.Literals(["default", "eu", "fedramp"]),
|
|
1915
|
+
Schema.String,
|
|
1936
1916
|
]),
|
|
1937
|
-
|
|
1938
|
-
|
|
1917
|
+
Schema.Null,
|
|
1918
|
+
]),
|
|
1919
|
+
),
|
|
1920
|
+
location: Schema.optional(
|
|
1921
|
+
Schema.Union([
|
|
1939
1922
|
Schema.Union([
|
|
1940
|
-
Schema.
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
"OC",
|
|
1954
|
-
]),
|
|
1955
|
-
Schema.String,
|
|
1923
|
+
Schema.Literals([
|
|
1924
|
+
"apac",
|
|
1925
|
+
"eeur",
|
|
1926
|
+
"enam",
|
|
1927
|
+
"weur",
|
|
1928
|
+
"wnam",
|
|
1929
|
+
"oc",
|
|
1930
|
+
"APAC",
|
|
1931
|
+
"EEUR",
|
|
1932
|
+
"ENAM",
|
|
1933
|
+
"WEUR",
|
|
1934
|
+
"WNAM",
|
|
1935
|
+
"OC",
|
|
1956
1936
|
]),
|
|
1957
|
-
Schema.
|
|
1937
|
+
Schema.String,
|
|
1958
1938
|
]),
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1939
|
+
Schema.Null,
|
|
1940
|
+
]),
|
|
1941
|
+
),
|
|
1942
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1943
|
+
storageClass: Schema.optional(
|
|
1944
|
+
Schema.Union([
|
|
1962
1945
|
Schema.Union([
|
|
1963
|
-
Schema.
|
|
1964
|
-
|
|
1965
|
-
Schema.String,
|
|
1966
|
-
]),
|
|
1967
|
-
Schema.Null,
|
|
1946
|
+
Schema.Literals(["Standard", "InfrequentAccess"]),
|
|
1947
|
+
Schema.String,
|
|
1968
1948
|
]),
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1949
|
+
Schema.Null,
|
|
1950
|
+
]),
|
|
1951
|
+
),
|
|
1952
|
+
})
|
|
1953
|
+
.pipe(
|
|
1954
|
+
Schema.encodeKeys({
|
|
1955
|
+
creationDate: "creation_date",
|
|
1956
|
+
jurisdiction: "jurisdiction",
|
|
1957
|
+
location: "location",
|
|
1958
|
+
name: "name",
|
|
1959
|
+
storageClass: "storage_class",
|
|
1960
|
+
}),
|
|
1961
|
+
)
|
|
1962
|
+
.pipe(T.ResponsePath("result")),
|
|
1981
1963
|
) as unknown as Schema.Codec<PatchBucketResponse>;
|
|
1982
1964
|
|
|
1983
1965
|
export type PatchBucketError = DefaultErrors | NoSuchBucket | InvalidRoute;
|
|
@@ -1987,7 +1969,7 @@ export const patchBucket: API.OperationMethod<
|
|
|
1987
1969
|
PatchBucketResponse,
|
|
1988
1970
|
PatchBucketError,
|
|
1989
1971
|
Credentials | HttpClient.HttpClient
|
|
1990
|
-
> = /*@__PURE__*/
|
|
1972
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1991
1973
|
input: PatchBucketRequest,
|
|
1992
1974
|
output: PatchBucketResponse,
|
|
1993
1975
|
errors: [NoSuchBucket, InvalidRoute],
|
|
@@ -2001,29 +1983,28 @@ export interface DeleteBucketRequest {
|
|
|
2001
1983
|
jurisdiction?: "default" | "eu" | "fedramp" | (string & {});
|
|
2002
1984
|
}
|
|
2003
1985
|
|
|
2004
|
-
export const DeleteBucketRequest = /*@__PURE__*/
|
|
2005
|
-
(
|
|
2006
|
-
Schema.
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
Schema.
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
),
|
|
1986
|
+
export const DeleteBucketRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1987
|
+
Schema.Struct({
|
|
1988
|
+
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1989
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1990
|
+
jurisdiction: Schema.optional(
|
|
1991
|
+
Schema.Union([
|
|
1992
|
+
Schema.Literals(["default", "eu", "fedramp"]),
|
|
1993
|
+
Schema.String,
|
|
1994
|
+
]),
|
|
1995
|
+
).pipe(T.HttpHeader("cf-r2-jurisdiction")),
|
|
1996
|
+
}).pipe(
|
|
1997
|
+
T.Http({
|
|
1998
|
+
method: "DELETE",
|
|
1999
|
+
path: "/accounts/{account_id}/r2/buckets/{bucketName}",
|
|
2000
|
+
}),
|
|
2001
|
+
),
|
|
2021
2002
|
) as unknown as Schema.Codec<DeleteBucketRequest>;
|
|
2022
2003
|
|
|
2023
2004
|
export type DeleteBucketResponse = unknown;
|
|
2024
2005
|
|
|
2025
|
-
export const DeleteBucketResponse = /*@__PURE__*/
|
|
2026
|
-
|
|
2006
|
+
export const DeleteBucketResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
2007
|
+
Schema.Unknown.pipe(T.ResponsePath("result")),
|
|
2027
2008
|
) as unknown as Schema.Codec<DeleteBucketResponse>;
|
|
2028
2009
|
|
|
2029
2010
|
export type DeleteBucketError =
|
|
@@ -2037,7 +2018,7 @@ export const deleteBucket: API.OperationMethod<
|
|
|
2037
2018
|
DeleteBucketResponse,
|
|
2038
2019
|
DeleteBucketError,
|
|
2039
2020
|
Credentials | HttpClient.HttpClient
|
|
2040
|
-
> = /*@__PURE__*/
|
|
2021
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2041
2022
|
input: DeleteBucketRequest,
|
|
2042
2023
|
output: DeleteBucketResponse,
|
|
2043
2024
|
errors: [NoSuchBucket, InvalidRoute, NoRoute],
|
|
@@ -2055,23 +2036,22 @@ export interface GetBucketCorsRequest {
|
|
|
2055
2036
|
jurisdiction?: "default" | "eu" | "fedramp" | (string & {});
|
|
2056
2037
|
}
|
|
2057
2038
|
|
|
2058
|
-
export const GetBucketCorsRequest = /*@__PURE__*/
|
|
2059
|
-
(
|
|
2060
|
-
Schema.
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
Schema.
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
),
|
|
2039
|
+
export const GetBucketCorsRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
2040
|
+
Schema.Struct({
|
|
2041
|
+
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
2042
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2043
|
+
jurisdiction: Schema.optional(
|
|
2044
|
+
Schema.Union([
|
|
2045
|
+
Schema.Literals(["default", "eu", "fedramp"]),
|
|
2046
|
+
Schema.String,
|
|
2047
|
+
]),
|
|
2048
|
+
).pipe(T.HttpHeader("cf-r2-jurisdiction")),
|
|
2049
|
+
}).pipe(
|
|
2050
|
+
T.Http({
|
|
2051
|
+
method: "GET",
|
|
2052
|
+
path: "/accounts/{account_id}/r2/buckets/{bucketName}/cors",
|
|
2053
|
+
}),
|
|
2054
|
+
),
|
|
2075
2055
|
) as unknown as Schema.Codec<GetBucketCorsRequest>;
|
|
2076
2056
|
|
|
2077
2057
|
export interface GetBucketCorsResponse {
|
|
@@ -2096,11 +2076,10 @@ export interface GetBucketCorsResponse {
|
|
|
2096
2076
|
| null;
|
|
2097
2077
|
}
|
|
2098
2078
|
|
|
2099
|
-
export const GetBucketCorsResponse = /*@__PURE__*/
|
|
2100
|
-
(
|
|
2101
|
-
Schema.
|
|
2102
|
-
|
|
2103
|
-
}).pipe(T.ResponsePath("result")),
|
|
2079
|
+
export const GetBucketCorsResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
2080
|
+
Schema.Struct({
|
|
2081
|
+
rules: Schema.optional(Schema.Union([Schema.Array(Rule), Schema.Null])),
|
|
2082
|
+
}).pipe(T.ResponsePath("result")),
|
|
2104
2083
|
) as unknown as Schema.Codec<GetBucketCorsResponse>;
|
|
2105
2084
|
|
|
2106
2085
|
export type GetBucketCorsError =
|
|
@@ -2114,7 +2093,7 @@ export const getBucketCors: API.OperationMethod<
|
|
|
2114
2093
|
GetBucketCorsResponse,
|
|
2115
2094
|
GetBucketCorsError,
|
|
2116
2095
|
Credentials | HttpClient.HttpClient
|
|
2117
|
-
> = /*@__PURE__*/
|
|
2096
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2118
2097
|
input: GetBucketCorsRequest,
|
|
2119
2098
|
output: GetBucketCorsResponse,
|
|
2120
2099
|
errors: [NoSuchBucket, InvalidRoute, NoCorsConfiguration],
|
|
@@ -2139,30 +2118,29 @@ export interface PutBucketCorsRequest {
|
|
|
2139
2118
|
}[];
|
|
2140
2119
|
}
|
|
2141
2120
|
|
|
2142
|
-
export const PutBucketCorsRequest = /*@__PURE__*/
|
|
2143
|
-
(
|
|
2144
|
-
Schema.
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
Schema.
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
),
|
|
2121
|
+
export const PutBucketCorsRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
2122
|
+
Schema.Struct({
|
|
2123
|
+
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
2124
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2125
|
+
jurisdiction: Schema.optional(
|
|
2126
|
+
Schema.Union([
|
|
2127
|
+
Schema.Literals(["default", "eu", "fedramp"]),
|
|
2128
|
+
Schema.String,
|
|
2129
|
+
]),
|
|
2130
|
+
).pipe(T.HttpHeader("cf-r2-jurisdiction")),
|
|
2131
|
+
rules: Schema.optional(Schema.Array(Rule)),
|
|
2132
|
+
}).pipe(
|
|
2133
|
+
T.Http({
|
|
2134
|
+
method: "PUT",
|
|
2135
|
+
path: "/accounts/{account_id}/r2/buckets/{bucketName}/cors",
|
|
2136
|
+
}),
|
|
2137
|
+
),
|
|
2160
2138
|
) as unknown as Schema.Codec<PutBucketCorsRequest>;
|
|
2161
2139
|
|
|
2162
2140
|
export type PutBucketCorsResponse = unknown;
|
|
2163
2141
|
|
|
2164
|
-
export const PutBucketCorsResponse = /*@__PURE__*/
|
|
2165
|
-
|
|
2142
|
+
export const PutBucketCorsResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
2143
|
+
Schema.Unknown.pipe(T.ResponsePath("result")),
|
|
2166
2144
|
) as unknown as Schema.Codec<PutBucketCorsResponse>;
|
|
2167
2145
|
|
|
2168
2146
|
export type PutBucketCorsError = DefaultErrors | NoSuchBucket | InvalidRoute;
|
|
@@ -2172,7 +2150,7 @@ export const putBucketCors: API.OperationMethod<
|
|
|
2172
2150
|
PutBucketCorsResponse,
|
|
2173
2151
|
PutBucketCorsError,
|
|
2174
2152
|
Credentials | HttpClient.HttpClient
|
|
2175
|
-
> = /*@__PURE__*/
|
|
2153
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2176
2154
|
input: PutBucketCorsRequest,
|
|
2177
2155
|
output: PutBucketCorsResponse,
|
|
2178
2156
|
errors: [NoSuchBucket, InvalidRoute],
|
|
@@ -2187,7 +2165,7 @@ export interface DeleteBucketCorsRequest {
|
|
|
2187
2165
|
}
|
|
2188
2166
|
|
|
2189
2167
|
export const DeleteBucketCorsRequest =
|
|
2190
|
-
/*@__PURE__*/
|
|
2168
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2191
2169
|
Schema.Struct({
|
|
2192
2170
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
2193
2171
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -2208,7 +2186,7 @@ export const DeleteBucketCorsRequest =
|
|
|
2208
2186
|
export type DeleteBucketCorsResponse = unknown;
|
|
2209
2187
|
|
|
2210
2188
|
export const DeleteBucketCorsResponse =
|
|
2211
|
-
/*@__PURE__*/
|
|
2189
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2212
2190
|
Schema.Unknown.pipe(T.ResponsePath("result")),
|
|
2213
2191
|
) as unknown as Schema.Codec<DeleteBucketCorsResponse>;
|
|
2214
2192
|
|
|
@@ -2219,7 +2197,7 @@ export const deleteBucketCors: API.OperationMethod<
|
|
|
2219
2197
|
DeleteBucketCorsResponse,
|
|
2220
2198
|
DeleteBucketCorsError,
|
|
2221
2199
|
Credentials | HttpClient.HttpClient
|
|
2222
|
-
> = /*@__PURE__*/
|
|
2200
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2223
2201
|
input: DeleteBucketCorsRequest,
|
|
2224
2202
|
output: DeleteBucketCorsResponse,
|
|
2225
2203
|
errors: [NoSuchBucket, InvalidRoute],
|
|
@@ -2239,7 +2217,7 @@ export interface GetBucketDomainCustomRequest {
|
|
|
2239
2217
|
}
|
|
2240
2218
|
|
|
2241
2219
|
export const GetBucketDomainCustomRequest =
|
|
2242
|
-
/*@__PURE__*/
|
|
2220
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2243
2221
|
Schema.Struct({
|
|
2244
2222
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
2245
2223
|
domain: Schema.String.pipe(T.HttpPath("domain")),
|
|
@@ -2292,7 +2270,7 @@ export interface GetBucketDomainCustomResponse {
|
|
|
2292
2270
|
}
|
|
2293
2271
|
|
|
2294
2272
|
export const GetBucketDomainCustomResponse =
|
|
2295
|
-
/*@__PURE__*/
|
|
2273
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2296
2274
|
Schema.Struct({
|
|
2297
2275
|
domain: Schema.String,
|
|
2298
2276
|
enabled: Schema.Boolean,
|
|
@@ -2325,7 +2303,7 @@ export const getBucketDomainCustom: API.OperationMethod<
|
|
|
2325
2303
|
GetBucketDomainCustomResponse,
|
|
2326
2304
|
GetBucketDomainCustomError,
|
|
2327
2305
|
Credentials | HttpClient.HttpClient
|
|
2328
|
-
> = /*@__PURE__*/
|
|
2306
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2329
2307
|
input: GetBucketDomainCustomRequest,
|
|
2330
2308
|
output: GetBucketDomainCustomResponse,
|
|
2331
2309
|
errors: [DomainNotFound, NoSuchBucket, InvalidRoute],
|
|
@@ -2340,7 +2318,7 @@ export interface ListBucketDomainCustomsRequest {
|
|
|
2340
2318
|
}
|
|
2341
2319
|
|
|
2342
2320
|
export const ListBucketDomainCustomsRequest =
|
|
2343
|
-
/*@__PURE__*/
|
|
2321
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2344
2322
|
Schema.Struct({
|
|
2345
2323
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
2346
2324
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -2388,7 +2366,7 @@ export interface ListBucketDomainCustomsResponse {
|
|
|
2388
2366
|
}
|
|
2389
2367
|
|
|
2390
2368
|
export const ListBucketDomainCustomsResponse =
|
|
2391
|
-
/*@__PURE__*/
|
|
2369
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2392
2370
|
Schema.Struct({
|
|
2393
2371
|
domains: Schema.Array(Domain),
|
|
2394
2372
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -2404,7 +2382,7 @@ export const listBucketDomainCustoms: API.OperationMethod<
|
|
|
2404
2382
|
ListBucketDomainCustomsResponse,
|
|
2405
2383
|
ListBucketDomainCustomsError,
|
|
2406
2384
|
Credentials | HttpClient.HttpClient
|
|
2407
|
-
> = /*@__PURE__*/
|
|
2385
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2408
2386
|
input: ListBucketDomainCustomsRequest,
|
|
2409
2387
|
output: ListBucketDomainCustomsResponse,
|
|
2410
2388
|
errors: [NoSuchBucket, InvalidRoute],
|
|
@@ -2429,7 +2407,7 @@ export interface CreateBucketDomainCustomRequest {
|
|
|
2429
2407
|
}
|
|
2430
2408
|
|
|
2431
2409
|
export const CreateBucketDomainCustomRequest =
|
|
2432
|
-
/*@__PURE__*/
|
|
2410
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2433
2411
|
Schema.Struct({
|
|
2434
2412
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
2435
2413
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -2471,7 +2449,7 @@ export interface CreateBucketDomainCustomResponse {
|
|
|
2471
2449
|
}
|
|
2472
2450
|
|
|
2473
2451
|
export const CreateBucketDomainCustomResponse =
|
|
2474
|
-
/*@__PURE__*/
|
|
2452
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2475
2453
|
Schema.Struct({
|
|
2476
2454
|
domain: Schema.String,
|
|
2477
2455
|
enabled: Schema.Boolean,
|
|
@@ -2502,7 +2480,7 @@ export const createBucketDomainCustom: API.OperationMethod<
|
|
|
2502
2480
|
CreateBucketDomainCustomResponse,
|
|
2503
2481
|
CreateBucketDomainCustomError,
|
|
2504
2482
|
Credentials | HttpClient.HttpClient
|
|
2505
|
-
> = /*@__PURE__*/
|
|
2483
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2506
2484
|
input: CreateBucketDomainCustomRequest,
|
|
2507
2485
|
output: CreateBucketDomainCustomResponse,
|
|
2508
2486
|
errors: [NoSuchBucket, InvalidBucketName, CustomDomainInUse],
|
|
@@ -2524,7 +2502,7 @@ export interface UpdateBucketDomainCustomRequest {
|
|
|
2524
2502
|
}
|
|
2525
2503
|
|
|
2526
2504
|
export const UpdateBucketDomainCustomRequest =
|
|
2527
|
-
/*@__PURE__*/
|
|
2505
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2528
2506
|
Schema.Struct({
|
|
2529
2507
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
2530
2508
|
domain: Schema.String.pipe(T.HttpPath("domain")),
|
|
@@ -2563,7 +2541,7 @@ export interface UpdateBucketDomainCustomResponse {
|
|
|
2563
2541
|
}
|
|
2564
2542
|
|
|
2565
2543
|
export const UpdateBucketDomainCustomResponse =
|
|
2566
|
-
/*@__PURE__*/
|
|
2544
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2567
2545
|
Schema.Struct({
|
|
2568
2546
|
domain: Schema.String,
|
|
2569
2547
|
ciphers: Schema.optional(
|
|
@@ -2589,7 +2567,7 @@ export const updateBucketDomainCustom: API.OperationMethod<
|
|
|
2589
2567
|
UpdateBucketDomainCustomResponse,
|
|
2590
2568
|
UpdateBucketDomainCustomError,
|
|
2591
2569
|
Credentials | HttpClient.HttpClient
|
|
2592
|
-
> = /*@__PURE__*/
|
|
2570
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2593
2571
|
input: UpdateBucketDomainCustomRequest,
|
|
2594
2572
|
output: UpdateBucketDomainCustomResponse,
|
|
2595
2573
|
errors: [NoSuchBucket],
|
|
@@ -2605,7 +2583,7 @@ export interface DeleteBucketDomainCustomRequest {
|
|
|
2605
2583
|
}
|
|
2606
2584
|
|
|
2607
2585
|
export const DeleteBucketDomainCustomRequest =
|
|
2608
|
-
/*@__PURE__*/
|
|
2586
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2609
2587
|
Schema.Struct({
|
|
2610
2588
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
2611
2589
|
domain: Schema.String.pipe(T.HttpPath("domain")),
|
|
@@ -2630,7 +2608,7 @@ export interface DeleteBucketDomainCustomResponse {
|
|
|
2630
2608
|
}
|
|
2631
2609
|
|
|
2632
2610
|
export const DeleteBucketDomainCustomResponse =
|
|
2633
|
-
/*@__PURE__*/
|
|
2611
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2634
2612
|
Schema.Struct({
|
|
2635
2613
|
domain: Schema.String,
|
|
2636
2614
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -2646,7 +2624,7 @@ export const deleteBucketDomainCustom: API.OperationMethod<
|
|
|
2646
2624
|
DeleteBucketDomainCustomResponse,
|
|
2647
2625
|
DeleteBucketDomainCustomError,
|
|
2648
2626
|
Credentials | HttpClient.HttpClient
|
|
2649
|
-
> = /*@__PURE__*/
|
|
2627
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2650
2628
|
input: DeleteBucketDomainCustomRequest,
|
|
2651
2629
|
output: DeleteBucketDomainCustomResponse,
|
|
2652
2630
|
errors: [DomainNotFound, NoSuchBucket],
|
|
@@ -2665,7 +2643,7 @@ export interface ListBucketDomainManagedsRequest {
|
|
|
2665
2643
|
}
|
|
2666
2644
|
|
|
2667
2645
|
export const ListBucketDomainManagedsRequest =
|
|
2668
|
-
/*@__PURE__*/
|
|
2646
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2669
2647
|
Schema.Struct({
|
|
2670
2648
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
2671
2649
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -2693,7 +2671,7 @@ export interface ListBucketDomainManagedsResponse {
|
|
|
2693
2671
|
}
|
|
2694
2672
|
|
|
2695
2673
|
export const ListBucketDomainManagedsResponse =
|
|
2696
|
-
/*@__PURE__*/
|
|
2674
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2697
2675
|
Schema.Struct({
|
|
2698
2676
|
bucketId: Schema.String,
|
|
2699
2677
|
domain: Schema.String,
|
|
@@ -2711,7 +2689,7 @@ export const listBucketDomainManageds: API.OperationMethod<
|
|
|
2711
2689
|
ListBucketDomainManagedsResponse,
|
|
2712
2690
|
ListBucketDomainManagedsError,
|
|
2713
2691
|
Credentials | HttpClient.HttpClient
|
|
2714
|
-
> = /*@__PURE__*/
|
|
2692
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2715
2693
|
input: ListBucketDomainManagedsRequest,
|
|
2716
2694
|
output: ListBucketDomainManagedsResponse,
|
|
2717
2695
|
errors: [NoSuchBucket, InvalidRoute],
|
|
@@ -2728,7 +2706,7 @@ export interface PutBucketDomainManagedRequest {
|
|
|
2728
2706
|
}
|
|
2729
2707
|
|
|
2730
2708
|
export const PutBucketDomainManagedRequest =
|
|
2731
|
-
/*@__PURE__*/
|
|
2709
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2732
2710
|
Schema.Struct({
|
|
2733
2711
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
2734
2712
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -2757,7 +2735,7 @@ export interface PutBucketDomainManagedResponse {
|
|
|
2757
2735
|
}
|
|
2758
2736
|
|
|
2759
2737
|
export const PutBucketDomainManagedResponse =
|
|
2760
|
-
/*@__PURE__*/
|
|
2738
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2761
2739
|
Schema.Struct({
|
|
2762
2740
|
bucketId: Schema.String,
|
|
2763
2741
|
domain: Schema.String,
|
|
@@ -2775,7 +2753,7 @@ export const putBucketDomainManaged: API.OperationMethod<
|
|
|
2775
2753
|
PutBucketDomainManagedResponse,
|
|
2776
2754
|
PutBucketDomainManagedError,
|
|
2777
2755
|
Credentials | HttpClient.HttpClient
|
|
2778
|
-
> = /*@__PURE__*/
|
|
2756
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2779
2757
|
input: PutBucketDomainManagedRequest,
|
|
2780
2758
|
output: PutBucketDomainManagedResponse,
|
|
2781
2759
|
errors: [NoSuchBucket, InvalidRoute],
|
|
@@ -2795,7 +2773,7 @@ export interface GetBucketEventNotificationRequest {
|
|
|
2795
2773
|
}
|
|
2796
2774
|
|
|
2797
2775
|
export const GetBucketEventNotificationRequest =
|
|
2798
|
-
/*@__PURE__*/
|
|
2776
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2799
2777
|
Schema.Struct({
|
|
2800
2778
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
2801
2779
|
queueId: Schema.String.pipe(T.HttpPath("queueId")),
|
|
@@ -2839,7 +2817,7 @@ export interface GetBucketEventNotificationResponse {
|
|
|
2839
2817
|
}
|
|
2840
2818
|
|
|
2841
2819
|
export const GetBucketEventNotificationResponse =
|
|
2842
|
-
/*@__PURE__*/
|
|
2820
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2843
2821
|
Schema.Struct({
|
|
2844
2822
|
queueId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2845
2823
|
queueName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2869,7 +2847,7 @@ export const getBucketEventNotification: API.OperationMethod<
|
|
|
2869
2847
|
GetBucketEventNotificationResponse,
|
|
2870
2848
|
GetBucketEventNotificationError,
|
|
2871
2849
|
Credentials | HttpClient.HttpClient
|
|
2872
|
-
> = /*@__PURE__*/
|
|
2850
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2873
2851
|
input: GetBucketEventNotificationRequest,
|
|
2874
2852
|
output: GetBucketEventNotificationResponse,
|
|
2875
2853
|
errors: [
|
|
@@ -2891,7 +2869,7 @@ export interface ListBucketEventNotificationsRequest {
|
|
|
2891
2869
|
}
|
|
2892
2870
|
|
|
2893
2871
|
export const ListBucketEventNotificationsRequest =
|
|
2894
|
-
/*@__PURE__*/
|
|
2872
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2895
2873
|
Schema.Struct({
|
|
2896
2874
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
2897
2875
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -2939,7 +2917,7 @@ export interface ListBucketEventNotificationsResponse {
|
|
|
2939
2917
|
}
|
|
2940
2918
|
|
|
2941
2919
|
export const ListBucketEventNotificationsResponse =
|
|
2942
|
-
/*@__PURE__*/
|
|
2920
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2943
2921
|
Schema.Struct({
|
|
2944
2922
|
bucketName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2945
2923
|
queues: Schema.optional(Schema.Union([Schema.Array(Queue), Schema.Null])),
|
|
@@ -2958,7 +2936,7 @@ export const listBucketEventNotifications: API.OperationMethod<
|
|
|
2958
2936
|
ListBucketEventNotificationsResponse,
|
|
2959
2937
|
ListBucketEventNotificationsError,
|
|
2960
2938
|
Credentials | HttpClient.HttpClient
|
|
2961
|
-
> = /*@__PURE__*/
|
|
2939
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2962
2940
|
input: ListBucketEventNotificationsRequest,
|
|
2963
2941
|
output: ListBucketEventNotificationsResponse,
|
|
2964
2942
|
errors: [
|
|
@@ -2993,7 +2971,7 @@ export interface PutBucketEventNotificationRequest {
|
|
|
2993
2971
|
}
|
|
2994
2972
|
|
|
2995
2973
|
export const PutBucketEventNotificationRequest =
|
|
2996
|
-
/*@__PURE__*/
|
|
2974
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2997
2975
|
Schema.Struct({
|
|
2998
2976
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
2999
2977
|
queueId: Schema.String.pipe(T.HttpPath("queueId")),
|
|
@@ -3016,7 +2994,7 @@ export const PutBucketEventNotificationRequest =
|
|
|
3016
2994
|
export type PutBucketEventNotificationResponse = unknown;
|
|
3017
2995
|
|
|
3018
2996
|
export const PutBucketEventNotificationResponse =
|
|
3019
|
-
/*@__PURE__*/
|
|
2997
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3020
2998
|
Schema.Unknown.pipe(T.ResponsePath("result")),
|
|
3021
2999
|
) as unknown as Schema.Codec<PutBucketEventNotificationResponse>;
|
|
3022
3000
|
|
|
@@ -3033,7 +3011,7 @@ export const putBucketEventNotification: API.OperationMethod<
|
|
|
3033
3011
|
PutBucketEventNotificationResponse,
|
|
3034
3012
|
PutBucketEventNotificationError,
|
|
3035
3013
|
Credentials | HttpClient.HttpClient
|
|
3036
|
-
> = /*@__PURE__*/
|
|
3014
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3037
3015
|
input: PutBucketEventNotificationRequest,
|
|
3038
3016
|
output: PutBucketEventNotificationResponse,
|
|
3039
3017
|
errors: [
|
|
@@ -3055,7 +3033,7 @@ export interface DeleteBucketEventNotificationRequest {
|
|
|
3055
3033
|
}
|
|
3056
3034
|
|
|
3057
3035
|
export const DeleteBucketEventNotificationRequest =
|
|
3058
|
-
/*@__PURE__*/
|
|
3036
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3059
3037
|
Schema.Struct({
|
|
3060
3038
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
3061
3039
|
queueId: Schema.String.pipe(T.HttpPath("queueId")),
|
|
@@ -3077,7 +3055,7 @@ export const DeleteBucketEventNotificationRequest =
|
|
|
3077
3055
|
export type DeleteBucketEventNotificationResponse = unknown;
|
|
3078
3056
|
|
|
3079
3057
|
export const DeleteBucketEventNotificationResponse =
|
|
3080
|
-
/*@__PURE__*/
|
|
3058
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3081
3059
|
Schema.Unknown.pipe(T.ResponsePath("result")),
|
|
3082
3060
|
) as unknown as Schema.Codec<DeleteBucketEventNotificationResponse>;
|
|
3083
3061
|
|
|
@@ -3093,7 +3071,7 @@ export const deleteBucketEventNotification: API.OperationMethod<
|
|
|
3093
3071
|
DeleteBucketEventNotificationResponse,
|
|
3094
3072
|
DeleteBucketEventNotificationError,
|
|
3095
3073
|
Credentials | HttpClient.HttpClient
|
|
3096
|
-
> = /*@__PURE__*/
|
|
3074
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3097
3075
|
input: DeleteBucketEventNotificationRequest,
|
|
3098
3076
|
output: DeleteBucketEventNotificationResponse,
|
|
3099
3077
|
errors: [
|
|
@@ -3117,7 +3095,7 @@ export interface GetBucketLifecycleRequest {
|
|
|
3117
3095
|
}
|
|
3118
3096
|
|
|
3119
3097
|
export const GetBucketLifecycleRequest =
|
|
3120
|
-
/*@__PURE__*/
|
|
3098
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3121
3099
|
Schema.Struct({
|
|
3122
3100
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
3123
3101
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -3163,7 +3141,7 @@ export interface GetBucketLifecycleResponse {
|
|
|
3163
3141
|
}
|
|
3164
3142
|
|
|
3165
3143
|
export const GetBucketLifecycleResponse =
|
|
3166
|
-
/*@__PURE__*/
|
|
3144
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3167
3145
|
Schema.Struct({
|
|
3168
3146
|
rules: Schema.optional(Schema.Union([Schema.Array(Rule4), Schema.Null])),
|
|
3169
3147
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -3179,7 +3157,7 @@ export const getBucketLifecycle: API.OperationMethod<
|
|
|
3179
3157
|
GetBucketLifecycleResponse,
|
|
3180
3158
|
GetBucketLifecycleError,
|
|
3181
3159
|
Credentials | HttpClient.HttpClient
|
|
3182
|
-
> = /*@__PURE__*/
|
|
3160
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3183
3161
|
input: GetBucketLifecycleRequest,
|
|
3184
3162
|
output: GetBucketLifecycleResponse,
|
|
3185
3163
|
errors: [NoSuchBucket, InvalidRoute],
|
|
@@ -3214,7 +3192,7 @@ export interface PutBucketLifecycleRequest {
|
|
|
3214
3192
|
}
|
|
3215
3193
|
|
|
3216
3194
|
export const PutBucketLifecycleRequest =
|
|
3217
|
-
/*@__PURE__*/
|
|
3195
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3218
3196
|
Schema.Struct({
|
|
3219
3197
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
3220
3198
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -3236,7 +3214,7 @@ export const PutBucketLifecycleRequest =
|
|
|
3236
3214
|
export type PutBucketLifecycleResponse = unknown;
|
|
3237
3215
|
|
|
3238
3216
|
export const PutBucketLifecycleResponse =
|
|
3239
|
-
/*@__PURE__*/
|
|
3217
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3240
3218
|
Schema.Unknown.pipe(T.ResponsePath("result")),
|
|
3241
3219
|
) as unknown as Schema.Codec<PutBucketLifecycleResponse>;
|
|
3242
3220
|
|
|
@@ -3250,7 +3228,7 @@ export const putBucketLifecycle: API.OperationMethod<
|
|
|
3250
3228
|
PutBucketLifecycleResponse,
|
|
3251
3229
|
PutBucketLifecycleError,
|
|
3252
3230
|
Credentials | HttpClient.HttpClient
|
|
3253
|
-
> = /*@__PURE__*/
|
|
3231
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3254
3232
|
input: PutBucketLifecycleRequest,
|
|
3255
3233
|
output: PutBucketLifecycleResponse,
|
|
3256
3234
|
errors: [NoSuchBucket, InvalidRoute],
|
|
@@ -3268,23 +3246,22 @@ export interface GetBucketLockRequest {
|
|
|
3268
3246
|
jurisdiction?: "default" | "eu" | "fedramp" | (string & {});
|
|
3269
3247
|
}
|
|
3270
3248
|
|
|
3271
|
-
export const GetBucketLockRequest = /*@__PURE__*/
|
|
3272
|
-
(
|
|
3273
|
-
Schema.
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
Schema.
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
),
|
|
3249
|
+
export const GetBucketLockRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
3250
|
+
Schema.Struct({
|
|
3251
|
+
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
3252
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3253
|
+
jurisdiction: Schema.optional(
|
|
3254
|
+
Schema.Union([
|
|
3255
|
+
Schema.Literals(["default", "eu", "fedramp"]),
|
|
3256
|
+
Schema.String,
|
|
3257
|
+
]),
|
|
3258
|
+
).pipe(T.HttpHeader("cf-r2-jurisdiction")),
|
|
3259
|
+
}).pipe(
|
|
3260
|
+
T.Http({
|
|
3261
|
+
method: "GET",
|
|
3262
|
+
path: "/accounts/{account_id}/r2/buckets/{bucketName}/lock",
|
|
3263
|
+
}),
|
|
3264
|
+
),
|
|
3288
3265
|
) as unknown as Schema.Codec<GetBucketLockRequest>;
|
|
3289
3266
|
|
|
3290
3267
|
export interface GetBucketLockResponse {
|
|
@@ -3301,11 +3278,10 @@ export interface GetBucketLockResponse {
|
|
|
3301
3278
|
| null;
|
|
3302
3279
|
}
|
|
3303
3280
|
|
|
3304
|
-
export const GetBucketLockResponse = /*@__PURE__*/
|
|
3305
|
-
(
|
|
3306
|
-
Schema.
|
|
3307
|
-
|
|
3308
|
-
}).pipe(T.ResponsePath("result")),
|
|
3281
|
+
export const GetBucketLockResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
3282
|
+
Schema.Struct({
|
|
3283
|
+
rules: Schema.optional(Schema.Union([Schema.Array(Rule6), Schema.Null])),
|
|
3284
|
+
}).pipe(T.ResponsePath("result")),
|
|
3309
3285
|
) as unknown as Schema.Codec<GetBucketLockResponse>;
|
|
3310
3286
|
|
|
3311
3287
|
export type GetBucketLockError = DefaultErrors | NoSuchBucket | InvalidRoute;
|
|
@@ -3315,7 +3291,7 @@ export const getBucketLock: API.OperationMethod<
|
|
|
3315
3291
|
GetBucketLockResponse,
|
|
3316
3292
|
GetBucketLockError,
|
|
3317
3293
|
Credentials | HttpClient.HttpClient
|
|
3318
|
-
> = /*@__PURE__*/
|
|
3294
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3319
3295
|
input: GetBucketLockRequest,
|
|
3320
3296
|
output: GetBucketLockResponse,
|
|
3321
3297
|
errors: [NoSuchBucket, InvalidRoute],
|
|
@@ -3339,30 +3315,29 @@ export interface PutBucketLockRequest {
|
|
|
3339
3315
|
}[];
|
|
3340
3316
|
}
|
|
3341
3317
|
|
|
3342
|
-
export const PutBucketLockRequest = /*@__PURE__*/
|
|
3343
|
-
(
|
|
3344
|
-
Schema.
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
Schema.
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
),
|
|
3318
|
+
export const PutBucketLockRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
3319
|
+
Schema.Struct({
|
|
3320
|
+
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
3321
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3322
|
+
jurisdiction: Schema.optional(
|
|
3323
|
+
Schema.Union([
|
|
3324
|
+
Schema.Literals(["default", "eu", "fedramp"]),
|
|
3325
|
+
Schema.String,
|
|
3326
|
+
]),
|
|
3327
|
+
).pipe(T.HttpHeader("cf-r2-jurisdiction")),
|
|
3328
|
+
rules: Schema.optional(Schema.Array(Rule6)),
|
|
3329
|
+
}).pipe(
|
|
3330
|
+
T.Http({
|
|
3331
|
+
method: "PUT",
|
|
3332
|
+
path: "/accounts/{account_id}/r2/buckets/{bucketName}/lock",
|
|
3333
|
+
}),
|
|
3334
|
+
),
|
|
3360
3335
|
) as unknown as Schema.Codec<PutBucketLockRequest>;
|
|
3361
3336
|
|
|
3362
3337
|
export type PutBucketLockResponse = unknown;
|
|
3363
3338
|
|
|
3364
|
-
export const PutBucketLockResponse = /*@__PURE__*/
|
|
3365
|
-
|
|
3339
|
+
export const PutBucketLockResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
3340
|
+
Schema.Unknown.pipe(T.ResponsePath("result")),
|
|
3366
3341
|
) as unknown as Schema.Codec<PutBucketLockResponse>;
|
|
3367
3342
|
|
|
3368
3343
|
export type PutBucketLockError = DefaultErrors | NoSuchBucket | InvalidRoute;
|
|
@@ -3372,7 +3347,7 @@ export const putBucketLock: API.OperationMethod<
|
|
|
3372
3347
|
PutBucketLockResponse,
|
|
3373
3348
|
PutBucketLockError,
|
|
3374
3349
|
Credentials | HttpClient.HttpClient
|
|
3375
|
-
> = /*@__PURE__*/
|
|
3350
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3376
3351
|
input: PutBucketLockRequest,
|
|
3377
3352
|
output: PutBucketLockResponse,
|
|
3378
3353
|
errors: [NoSuchBucket, InvalidRoute],
|
|
@@ -3388,7 +3363,7 @@ export interface ListBucketMetricsRequest {
|
|
|
3388
3363
|
}
|
|
3389
3364
|
|
|
3390
3365
|
export const ListBucketMetricsRequest =
|
|
3391
|
-
/*@__PURE__*/
|
|
3366
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3392
3367
|
Schema.Struct({
|
|
3393
3368
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3394
3369
|
}).pipe(
|
|
@@ -3426,7 +3401,7 @@ export interface ListBucketMetricsResponse {
|
|
|
3426
3401
|
}
|
|
3427
3402
|
|
|
3428
3403
|
export const ListBucketMetricsResponse =
|
|
3429
|
-
/*@__PURE__*/
|
|
3404
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3430
3405
|
Schema.Struct({
|
|
3431
3406
|
infrequentAccess: Schema.optional(
|
|
3432
3407
|
Schema.Union([InfrequentAccess, Schema.Null]),
|
|
@@ -3442,7 +3417,7 @@ export const listBucketMetrics: API.OperationMethod<
|
|
|
3442
3417
|
ListBucketMetricsResponse,
|
|
3443
3418
|
ListBucketMetricsError,
|
|
3444
3419
|
Credentials | HttpClient.HttpClient
|
|
3445
|
-
> = /*@__PURE__*/
|
|
3420
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3446
3421
|
input: ListBucketMetricsRequest,
|
|
3447
3422
|
output: ListBucketMetricsResponse,
|
|
3448
3423
|
errors: [InvalidRoute],
|
|
@@ -3466,7 +3441,7 @@ export interface GetBucketObjectRequest {
|
|
|
3466
3441
|
}
|
|
3467
3442
|
|
|
3468
3443
|
export const GetBucketObjectRequest =
|
|
3469
|
-
/*@__PURE__*/
|
|
3444
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3470
3445
|
Schema.Struct({
|
|
3471
3446
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
3472
3447
|
objectKey: Schema.String.pipe(T.HttpPath("objectKey")),
|
|
@@ -3494,7 +3469,7 @@ export const GetBucketObjectRequest =
|
|
|
3494
3469
|
export type GetBucketObjectResponse = unknown;
|
|
3495
3470
|
|
|
3496
3471
|
export const GetBucketObjectResponse =
|
|
3497
|
-
/*@__PURE__*/
|
|
3472
|
+
/*@__PURE__*/ Schema.suspend(
|
|
3498
3473
|
() => Schema.Unknown,
|
|
3499
3474
|
) as unknown as Schema.Codec<GetBucketObjectResponse>;
|
|
3500
3475
|
|
|
@@ -3505,7 +3480,7 @@ export const getBucketObject: API.OperationMethod<
|
|
|
3505
3480
|
GetBucketObjectResponse,
|
|
3506
3481
|
GetBucketObjectError,
|
|
3507
3482
|
Credentials | HttpClient.HttpClient
|
|
3508
|
-
> = /*@__PURE__*/
|
|
3483
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3509
3484
|
input: GetBucketObjectRequest,
|
|
3510
3485
|
output: GetBucketObjectResponse,
|
|
3511
3486
|
errors: [],
|
|
@@ -3528,7 +3503,7 @@ export interface ListBucketObjectsRequest {
|
|
|
3528
3503
|
}
|
|
3529
3504
|
|
|
3530
3505
|
export const ListBucketObjectsRequest =
|
|
3531
|
-
/*@__PURE__*/
|
|
3506
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3532
3507
|
Schema.Struct({
|
|
3533
3508
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
3534
3509
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -3579,7 +3554,7 @@ export interface ListBucketObjectsResponse {
|
|
|
3579
3554
|
}
|
|
3580
3555
|
|
|
3581
3556
|
export const ListBucketObjectsResponse =
|
|
3582
|
-
/*@__PURE__*/
|
|
3557
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3583
3558
|
Schema.Struct({
|
|
3584
3559
|
result: Schema.Array(ListBucketObjectsResponseResult),
|
|
3585
3560
|
resultInfo: Schema.optional(
|
|
@@ -3595,7 +3570,7 @@ export const listBucketObjects: API.PaginatedOperationMethod<
|
|
|
3595
3570
|
ListBucketObjectsResponse,
|
|
3596
3571
|
ListBucketObjectsError,
|
|
3597
3572
|
Credentials | HttpClient.HttpClient
|
|
3598
|
-
> = /*@__PURE__*/
|
|
3573
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3599
3574
|
input: ListBucketObjectsRequest,
|
|
3600
3575
|
output: ListBucketObjectsResponse,
|
|
3601
3576
|
errors: [],
|
|
@@ -3618,7 +3593,7 @@ export interface DeleteBucketObjectRequest {
|
|
|
3618
3593
|
}
|
|
3619
3594
|
|
|
3620
3595
|
export const DeleteBucketObjectRequest =
|
|
3621
|
-
/*@__PURE__*/
|
|
3596
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3622
3597
|
Schema.Struct({
|
|
3623
3598
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
3624
3599
|
objectKey: Schema.String.pipe(T.HttpPath("objectKey")),
|
|
@@ -3643,7 +3618,7 @@ export interface DeleteBucketObjectResponse {
|
|
|
3643
3618
|
}
|
|
3644
3619
|
|
|
3645
3620
|
export const DeleteBucketObjectResponse =
|
|
3646
|
-
/*@__PURE__*/
|
|
3621
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3647
3622
|
Schema.Struct({
|
|
3648
3623
|
key: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3649
3624
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -3656,7 +3631,7 @@ export const deleteBucketObject: API.OperationMethod<
|
|
|
3656
3631
|
DeleteBucketObjectResponse,
|
|
3657
3632
|
DeleteBucketObjectError,
|
|
3658
3633
|
Credentials | HttpClient.HttpClient
|
|
3659
|
-
> = /*@__PURE__*/
|
|
3634
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3660
3635
|
input: DeleteBucketObjectRequest,
|
|
3661
3636
|
output: DeleteBucketObjectResponse,
|
|
3662
3637
|
errors: [],
|
|
@@ -3674,7 +3649,7 @@ export interface UploadBucketObjectRequest {
|
|
|
3674
3649
|
}
|
|
3675
3650
|
|
|
3676
3651
|
export const UploadBucketObjectRequest =
|
|
3677
|
-
/*@__PURE__*/
|
|
3652
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3678
3653
|
Schema.Struct({
|
|
3679
3654
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
3680
3655
|
objectKey: Schema.String.pipe(T.HttpPath("objectKey")),
|
|
@@ -3715,7 +3690,7 @@ export interface UploadBucketObjectResponse {
|
|
|
3715
3690
|
}
|
|
3716
3691
|
|
|
3717
3692
|
export const UploadBucketObjectResponse =
|
|
3718
|
-
/*@__PURE__*/
|
|
3693
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3719
3694
|
Schema.Struct({
|
|
3720
3695
|
etag: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3721
3696
|
key: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3752,7 +3727,7 @@ export const uploadBucketObject: API.OperationMethod<
|
|
|
3752
3727
|
UploadBucketObjectResponse,
|
|
3753
3728
|
UploadBucketObjectError,
|
|
3754
3729
|
Credentials | HttpClient.HttpClient
|
|
3755
|
-
> = /*@__PURE__*/
|
|
3730
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3756
3731
|
input: UploadBucketObjectRequest,
|
|
3757
3732
|
output: UploadBucketObjectResponse,
|
|
3758
3733
|
errors: [],
|
|
@@ -3770,23 +3745,22 @@ export interface GetBucketSippyRequest {
|
|
|
3770
3745
|
jurisdiction?: "default" | "eu" | "fedramp" | (string & {});
|
|
3771
3746
|
}
|
|
3772
3747
|
|
|
3773
|
-
export const GetBucketSippyRequest = /*@__PURE__*/
|
|
3774
|
-
(
|
|
3775
|
-
Schema.
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
Schema.
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
),
|
|
3748
|
+
export const GetBucketSippyRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
3749
|
+
Schema.Struct({
|
|
3750
|
+
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
3751
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3752
|
+
jurisdiction: Schema.optional(
|
|
3753
|
+
Schema.Union([
|
|
3754
|
+
Schema.Literals(["default", "eu", "fedramp"]),
|
|
3755
|
+
Schema.String,
|
|
3756
|
+
]),
|
|
3757
|
+
).pipe(T.HttpHeader("cf-r2-jurisdiction")),
|
|
3758
|
+
}).pipe(
|
|
3759
|
+
T.Http({
|
|
3760
|
+
method: "GET",
|
|
3761
|
+
path: "/accounts/{account_id}/r2/buckets/{bucketName}/sippy",
|
|
3762
|
+
}),
|
|
3763
|
+
),
|
|
3790
3764
|
) as unknown as Schema.Codec<GetBucketSippyRequest>;
|
|
3791
3765
|
|
|
3792
3766
|
export interface GetBucketSippyResponse {
|
|
@@ -3809,7 +3783,7 @@ export interface GetBucketSippyResponse {
|
|
|
3809
3783
|
}
|
|
3810
3784
|
|
|
3811
3785
|
export const GetBucketSippyResponse =
|
|
3812
|
-
/*@__PURE__*/
|
|
3786
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3813
3787
|
Schema.Struct({
|
|
3814
3788
|
destination: Schema.optional(Schema.Union([Destination, Schema.Null])),
|
|
3815
3789
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -3828,7 +3802,7 @@ export const getBucketSippy: API.OperationMethod<
|
|
|
3828
3802
|
GetBucketSippyResponse,
|
|
3829
3803
|
GetBucketSippyError,
|
|
3830
3804
|
Credentials | HttpClient.HttpClient
|
|
3831
|
-
> = /*@__PURE__*/
|
|
3805
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3832
3806
|
input: GetBucketSippyRequest,
|
|
3833
3807
|
output: GetBucketSippyResponse,
|
|
3834
3808
|
errors: [NoSuchBucket, InvalidRoute, Forbidden],
|
|
@@ -3859,25 +3833,24 @@ export interface PutBucketSippyRequest {
|
|
|
3859
3833
|
};
|
|
3860
3834
|
}
|
|
3861
3835
|
|
|
3862
|
-
export const PutBucketSippyRequest = /*@__PURE__*/
|
|
3863
|
-
(
|
|
3864
|
-
Schema.
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
Schema.
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
),
|
|
3836
|
+
export const PutBucketSippyRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
3837
|
+
Schema.Struct({
|
|
3838
|
+
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
3839
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3840
|
+
jurisdiction: Schema.optional(
|
|
3841
|
+
Schema.Union([
|
|
3842
|
+
Schema.Literals(["default", "eu", "fedramp"]),
|
|
3843
|
+
Schema.String,
|
|
3844
|
+
]),
|
|
3845
|
+
).pipe(T.HttpHeader("cf-r2-jurisdiction")),
|
|
3846
|
+
destination: Schema.optional(Destination2),
|
|
3847
|
+
source: Schema.optional(Source2),
|
|
3848
|
+
}).pipe(
|
|
3849
|
+
T.Http({
|
|
3850
|
+
method: "PUT",
|
|
3851
|
+
path: "/accounts/{account_id}/r2/buckets/{bucketName}/sippy",
|
|
3852
|
+
}),
|
|
3853
|
+
),
|
|
3881
3854
|
) as unknown as Schema.Codec<PutBucketSippyRequest>;
|
|
3882
3855
|
|
|
3883
3856
|
export interface PutBucketSippyResponse {
|
|
@@ -3900,7 +3873,7 @@ export interface PutBucketSippyResponse {
|
|
|
3900
3873
|
}
|
|
3901
3874
|
|
|
3902
3875
|
export const PutBucketSippyResponse =
|
|
3903
|
-
/*@__PURE__*/
|
|
3876
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3904
3877
|
Schema.Struct({
|
|
3905
3878
|
destination: Schema.optional(Schema.Union([Destination, Schema.Null])),
|
|
3906
3879
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -3918,7 +3891,7 @@ export const putBucketSippy: API.OperationMethod<
|
|
|
3918
3891
|
PutBucketSippyResponse,
|
|
3919
3892
|
PutBucketSippyError,
|
|
3920
3893
|
Credentials | HttpClient.HttpClient
|
|
3921
|
-
> = /*@__PURE__*/
|
|
3894
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3922
3895
|
input: PutBucketSippyRequest,
|
|
3923
3896
|
output: PutBucketSippyResponse,
|
|
3924
3897
|
errors: [InvalidUpstreamCredentials, InvalidRoute],
|
|
@@ -3933,7 +3906,7 @@ export interface DeleteBucketSippyRequest {
|
|
|
3933
3906
|
}
|
|
3934
3907
|
|
|
3935
3908
|
export const DeleteBucketSippyRequest =
|
|
3936
|
-
/*@__PURE__*/
|
|
3909
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3937
3910
|
Schema.Struct({
|
|
3938
3911
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
3939
3912
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -3956,7 +3929,7 @@ export interface DeleteBucketSippyResponse {
|
|
|
3956
3929
|
}
|
|
3957
3930
|
|
|
3958
3931
|
export const DeleteBucketSippyResponse =
|
|
3959
|
-
/*@__PURE__*/
|
|
3932
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3960
3933
|
Schema.Struct({
|
|
3961
3934
|
enabled: Schema.optional(
|
|
3962
3935
|
Schema.Union([Schema.Literal(false), Schema.Null]),
|
|
@@ -3974,7 +3947,7 @@ export const deleteBucketSippy: API.OperationMethod<
|
|
|
3974
3947
|
DeleteBucketSippyResponse,
|
|
3975
3948
|
DeleteBucketSippyError,
|
|
3976
3949
|
Credentials | HttpClient.HttpClient
|
|
3977
|
-
> = /*@__PURE__*/
|
|
3950
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3978
3951
|
input: DeleteBucketSippyRequest,
|
|
3979
3952
|
output: DeleteBucketSippyResponse,
|
|
3980
3953
|
errors: [NoSuchBucket, InvalidRoute],
|
|
@@ -3995,7 +3968,7 @@ export interface GetObjectRequest {
|
|
|
3995
3968
|
cfR2Jurisdiction?: "default" | "eu" | "fedramp" | (string & {});
|
|
3996
3969
|
}
|
|
3997
3970
|
|
|
3998
|
-
export const GetObjectRequest = /*@__PURE__*/
|
|
3971
|
+
export const GetObjectRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
3999
3972
|
Schema.Struct({
|
|
4000
3973
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
4001
3974
|
objectName: Schema.String.pipe(T.HttpPath("objectName")),
|
|
@@ -4042,45 +4015,44 @@ export interface GetObjectResponse {
|
|
|
4042
4015
|
cfR2StorageClass?: "Standard" | "InfrequentAccess" | (string & {});
|
|
4043
4016
|
}
|
|
4044
4017
|
|
|
4045
|
-
export const GetObjectResponse = /*@__PURE__*/
|
|
4046
|
-
(
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
Schema.
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
}),
|
|
4018
|
+
export const GetObjectResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
4019
|
+
Schema.Struct({
|
|
4020
|
+
body: BinaryStreamResponseSchema.pipe(T.BinaryResponseBody()),
|
|
4021
|
+
etag: Schema.optional(Schema.String).pipe(T.HttpResponseHeader("etag")),
|
|
4022
|
+
contentType: Schema.optional(Schema.String).pipe(
|
|
4023
|
+
T.HttpResponseHeader("content-type"),
|
|
4024
|
+
),
|
|
4025
|
+
contentLength: Schema.optional(Schema.Number).pipe(
|
|
4026
|
+
T.HttpResponseHeader("content-length"),
|
|
4027
|
+
),
|
|
4028
|
+
contentEncoding: Schema.optional(Schema.String).pipe(
|
|
4029
|
+
T.HttpResponseHeader("content-encoding"),
|
|
4030
|
+
),
|
|
4031
|
+
contentDisposition: Schema.optional(Schema.String).pipe(
|
|
4032
|
+
T.HttpResponseHeader("content-disposition"),
|
|
4033
|
+
),
|
|
4034
|
+
contentLanguage: Schema.optional(Schema.String).pipe(
|
|
4035
|
+
T.HttpResponseHeader("content-language"),
|
|
4036
|
+
),
|
|
4037
|
+
contentRange: Schema.optional(Schema.String).pipe(
|
|
4038
|
+
T.HttpResponseHeader("content-range"),
|
|
4039
|
+
),
|
|
4040
|
+
cacheControl: Schema.optional(Schema.String).pipe(
|
|
4041
|
+
T.HttpResponseHeader("cache-control"),
|
|
4042
|
+
),
|
|
4043
|
+
expires: Schema.optional(Schema.String).pipe(
|
|
4044
|
+
T.HttpResponseHeader("expires"),
|
|
4045
|
+
),
|
|
4046
|
+
lastModified: Schema.optional(Schema.String).pipe(
|
|
4047
|
+
T.HttpResponseHeader("last-modified"),
|
|
4048
|
+
),
|
|
4049
|
+
cfR2StorageClass: Schema.optional(
|
|
4050
|
+
Schema.Union([
|
|
4051
|
+
Schema.Literals(["Standard", "InfrequentAccess"]),
|
|
4052
|
+
Schema.String,
|
|
4053
|
+
]),
|
|
4054
|
+
).pipe(T.HttpResponseHeader("cf-r2-storage-class")),
|
|
4055
|
+
}),
|
|
4084
4056
|
) as unknown as Schema.Codec<GetObjectResponse>;
|
|
4085
4057
|
|
|
4086
4058
|
export type GetObjectError =
|
|
@@ -4097,7 +4069,7 @@ export const getObject: API.OperationMethod<
|
|
|
4097
4069
|
GetObjectResponse,
|
|
4098
4070
|
GetObjectError,
|
|
4099
4071
|
Credentials | HttpClient.HttpClient
|
|
4100
|
-
> = /*@__PURE__*/
|
|
4072
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4101
4073
|
input: GetObjectRequest,
|
|
4102
4074
|
output: GetObjectResponse,
|
|
4103
4075
|
errors: [
|
|
@@ -4129,30 +4101,27 @@ export interface ListObjectsRequest {
|
|
|
4129
4101
|
cfR2Jurisdiction?: "default" | "eu" | "fedramp" | (string & {});
|
|
4130
4102
|
}
|
|
4131
4103
|
|
|
4132
|
-
export const ListObjectsRequest = /*@__PURE__*/
|
|
4133
|
-
(
|
|
4134
|
-
Schema.
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
path: "/accounts/{account_id}/r2/buckets/{bucketName}/objects",
|
|
4154
|
-
}),
|
|
4155
|
-
),
|
|
4104
|
+
export const ListObjectsRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
4105
|
+
Schema.Struct({
|
|
4106
|
+
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
4107
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4108
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
4109
|
+
prefix: Schema.optional(Schema.String).pipe(T.HttpQuery("prefix")),
|
|
4110
|
+
delimiter: Schema.optional(Schema.String).pipe(T.HttpQuery("delimiter")),
|
|
4111
|
+
cursor: Schema.optional(Schema.String).pipe(T.HttpQuery("cursor")),
|
|
4112
|
+
startAfter: Schema.optional(Schema.String).pipe(T.HttpQuery("start_after")),
|
|
4113
|
+
cfR2Jurisdiction: Schema.optional(
|
|
4114
|
+
Schema.Union([
|
|
4115
|
+
Schema.Literals(["default", "eu", "fedramp"]),
|
|
4116
|
+
Schema.String,
|
|
4117
|
+
]),
|
|
4118
|
+
).pipe(T.HttpHeader("cf-r2-jurisdiction")),
|
|
4119
|
+
}).pipe(
|
|
4120
|
+
T.Http({
|
|
4121
|
+
method: "GET",
|
|
4122
|
+
path: "/accounts/{account_id}/r2/buckets/{bucketName}/objects",
|
|
4123
|
+
}),
|
|
4124
|
+
),
|
|
4156
4125
|
) as unknown as Schema.Codec<ListObjectsRequest>;
|
|
4157
4126
|
|
|
4158
4127
|
export interface ListObjectsResponse {
|
|
@@ -4173,14 +4142,13 @@ export interface ListObjectsResponse {
|
|
|
4173
4142
|
} | null;
|
|
4174
4143
|
}
|
|
4175
4144
|
|
|
4176
|
-
export const ListObjectsResponse = /*@__PURE__*/
|
|
4177
|
-
(
|
|
4178
|
-
Schema.
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
|
|
4145
|
+
export const ListObjectsResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
4146
|
+
Schema.Struct({
|
|
4147
|
+
result: Schema.Array(ListObjectsResponseResult),
|
|
4148
|
+
resultInfo: Schema.optional(
|
|
4149
|
+
Schema.Union([ListBucketObjectsResponseResultInfo, Schema.Null]),
|
|
4150
|
+
),
|
|
4151
|
+
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
|
|
4184
4152
|
) as unknown as Schema.Codec<ListObjectsResponse>;
|
|
4185
4153
|
|
|
4186
4154
|
export type ListObjectsError =
|
|
@@ -4194,7 +4162,7 @@ export const listObjects: API.PaginatedOperationMethod<
|
|
|
4194
4162
|
ListObjectsResponse,
|
|
4195
4163
|
ListObjectsError,
|
|
4196
4164
|
Credentials | HttpClient.HttpClient
|
|
4197
|
-
> = /*@__PURE__*/
|
|
4165
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
4198
4166
|
input: ListObjectsRequest,
|
|
4199
4167
|
output: ListObjectsResponse,
|
|
4200
4168
|
errors: [NoSuchBucket, InvalidRoute, NoRoute],
|
|
@@ -4235,7 +4203,7 @@ export interface PutObjectRequest {
|
|
|
4235
4203
|
body: Blob | Uint8Array | ArrayBuffer | string;
|
|
4236
4204
|
}
|
|
4237
4205
|
|
|
4238
|
-
export const PutObjectRequest = /*@__PURE__*/
|
|
4206
|
+
export const PutObjectRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
4239
4207
|
Schema.Struct({
|
|
4240
4208
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
4241
4209
|
objectName: Schema.String.pipe(T.HttpPath("objectName")),
|
|
@@ -4283,8 +4251,8 @@ export const PutObjectRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
4283
4251
|
|
|
4284
4252
|
export type PutObjectResponse = unknown;
|
|
4285
4253
|
|
|
4286
|
-
export const PutObjectResponse = /*@__PURE__*/
|
|
4287
|
-
|
|
4254
|
+
export const PutObjectResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
4255
|
+
Schema.Unknown.pipe(T.ResponsePath("result")),
|
|
4288
4256
|
) as unknown as Schema.Codec<PutObjectResponse>;
|
|
4289
4257
|
|
|
4290
4258
|
export type PutObjectError =
|
|
@@ -4298,7 +4266,7 @@ export const putObject: API.OperationMethod<
|
|
|
4298
4266
|
PutObjectResponse,
|
|
4299
4267
|
PutObjectError,
|
|
4300
4268
|
Credentials | HttpClient.HttpClient
|
|
4301
|
-
> = /*@__PURE__*/
|
|
4269
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4302
4270
|
input: PutObjectRequest,
|
|
4303
4271
|
output: PutObjectResponse,
|
|
4304
4272
|
errors: [NoSuchBucket, InvalidRoute, NoRoute],
|
|
@@ -4316,25 +4284,24 @@ export interface DeleteObjectsRequest {
|
|
|
4316
4284
|
body?: string[];
|
|
4317
4285
|
}
|
|
4318
4286
|
|
|
4319
|
-
export const DeleteObjectsRequest = /*@__PURE__*/
|
|
4320
|
-
(
|
|
4321
|
-
Schema.
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
Schema.
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
),
|
|
4287
|
+
export const DeleteObjectsRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
4288
|
+
Schema.Struct({
|
|
4289
|
+
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
4290
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4291
|
+
prefix: Schema.optional(Schema.String).pipe(T.HttpQuery("prefix")),
|
|
4292
|
+
cfR2Jurisdiction: Schema.optional(
|
|
4293
|
+
Schema.Union([
|
|
4294
|
+
Schema.Literals(["default", "eu", "fedramp"]),
|
|
4295
|
+
Schema.String,
|
|
4296
|
+
]),
|
|
4297
|
+
).pipe(T.HttpHeader("cf-r2-jurisdiction")),
|
|
4298
|
+
body: Schema.optional(Schema.Array(Schema.String)).pipe(T.HttpBody()),
|
|
4299
|
+
}).pipe(
|
|
4300
|
+
T.Http({
|
|
4301
|
+
method: "DELETE",
|
|
4302
|
+
path: "/accounts/{account_id}/r2/buckets/{bucketName}/objects",
|
|
4303
|
+
}),
|
|
4304
|
+
),
|
|
4338
4305
|
) as unknown as Schema.Codec<DeleteObjectsRequest>;
|
|
4339
4306
|
|
|
4340
4307
|
export type DeleteObjectsResponse =
|
|
@@ -4359,12 +4326,11 @@ export type DeleteObjectsResponse =
|
|
|
4359
4326
|
} | null;
|
|
4360
4327
|
};
|
|
4361
4328
|
|
|
4362
|
-
export const DeleteObjectsResponse = /*@__PURE__*/
|
|
4363
|
-
(
|
|
4364
|
-
Schema.
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
]).pipe(T.ResponsePath("result")),
|
|
4329
|
+
export const DeleteObjectsResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
4330
|
+
Schema.Union([
|
|
4331
|
+
Schema.Array(DeleteObjectsResponse2),
|
|
4332
|
+
DeleteObjectsResponse1,
|
|
4333
|
+
]).pipe(T.ResponsePath("result")),
|
|
4368
4334
|
) as unknown as Schema.Codec<DeleteObjectsResponse>;
|
|
4369
4335
|
|
|
4370
4336
|
export type DeleteObjectsError =
|
|
@@ -4378,7 +4344,7 @@ export const deleteObjects: API.OperationMethod<
|
|
|
4378
4344
|
DeleteObjectsResponse,
|
|
4379
4345
|
DeleteObjectsError,
|
|
4380
4346
|
Credentials | HttpClient.HttpClient
|
|
4381
|
-
> = /*@__PURE__*/
|
|
4347
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4382
4348
|
input: DeleteObjectsRequest,
|
|
4383
4349
|
output: DeleteObjectsResponse,
|
|
4384
4350
|
errors: [NoSuchBucket, InvalidRoute, NoRoute],
|
|
@@ -4395,30 +4361,29 @@ export interface DeleteObjectRequest {
|
|
|
4395
4361
|
cfR2Jurisdiction?: "default" | "eu" | "fedramp" | (string & {});
|
|
4396
4362
|
}
|
|
4397
4363
|
|
|
4398
|
-
export const DeleteObjectRequest = /*@__PURE__*/
|
|
4399
|
-
(
|
|
4400
|
-
Schema.
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
Schema.
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
),
|
|
4364
|
+
export const DeleteObjectRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
4365
|
+
Schema.Struct({
|
|
4366
|
+
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
4367
|
+
objectName: Schema.String.pipe(T.HttpPath("objectName")),
|
|
4368
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4369
|
+
cfR2Jurisdiction: Schema.optional(
|
|
4370
|
+
Schema.Union([
|
|
4371
|
+
Schema.Literals(["default", "eu", "fedramp"]),
|
|
4372
|
+
Schema.String,
|
|
4373
|
+
]),
|
|
4374
|
+
).pipe(T.HttpHeader("cf-r2-jurisdiction")),
|
|
4375
|
+
}).pipe(
|
|
4376
|
+
T.Http({
|
|
4377
|
+
method: "DELETE",
|
|
4378
|
+
path: "/accounts/{account_id}/r2/buckets/{bucketName}/objects/{objectName}",
|
|
4379
|
+
}),
|
|
4380
|
+
),
|
|
4416
4381
|
) as unknown as Schema.Codec<DeleteObjectRequest>;
|
|
4417
4382
|
|
|
4418
4383
|
export type DeleteObjectResponse = unknown;
|
|
4419
4384
|
|
|
4420
|
-
export const DeleteObjectResponse = /*@__PURE__*/
|
|
4421
|
-
|
|
4385
|
+
export const DeleteObjectResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
4386
|
+
Schema.Unknown.pipe(T.ResponsePath("result")),
|
|
4422
4387
|
) as unknown as Schema.Codec<DeleteObjectResponse>;
|
|
4423
4388
|
|
|
4424
4389
|
export type DeleteObjectError =
|
|
@@ -4432,7 +4397,7 @@ export const deleteObject: API.OperationMethod<
|
|
|
4432
4397
|
DeleteObjectResponse,
|
|
4433
4398
|
DeleteObjectError,
|
|
4434
4399
|
Credentials | HttpClient.HttpClient
|
|
4435
|
-
> = /*@__PURE__*/
|
|
4400
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4436
4401
|
input: DeleteObjectRequest,
|
|
4437
4402
|
output: DeleteObjectResponse,
|
|
4438
4403
|
errors: [NoSuchBucket, InvalidRoute, NoRoute],
|
|
@@ -4469,7 +4434,7 @@ export interface SourceSuperSlurperConnectivityPrecheckRequest {
|
|
|
4469
4434
|
}
|
|
4470
4435
|
|
|
4471
4436
|
export const SourceSuperSlurperConnectivityPrecheckRequest =
|
|
4472
|
-
/*@__PURE__*/
|
|
4437
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4473
4438
|
Schema.Struct({
|
|
4474
4439
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4475
4440
|
bucket: Schema.String,
|
|
@@ -4503,7 +4468,7 @@ export interface SourceSuperSlurperConnectivityPrecheckResponse {
|
|
|
4503
4468
|
}
|
|
4504
4469
|
|
|
4505
4470
|
export const SourceSuperSlurperConnectivityPrecheckResponse =
|
|
4506
|
-
/*@__PURE__*/
|
|
4471
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4507
4472
|
Schema.Struct({
|
|
4508
4473
|
connectivityStatus: Schema.optional(
|
|
4509
4474
|
Schema.Union([
|
|
@@ -4521,7 +4486,7 @@ export const sourceSuperSlurperConnectivityPrecheck: API.OperationMethod<
|
|
|
4521
4486
|
SourceSuperSlurperConnectivityPrecheckResponse,
|
|
4522
4487
|
SourceSuperSlurperConnectivityPrecheckError,
|
|
4523
4488
|
Credentials | HttpClient.HttpClient
|
|
4524
|
-
> = /*@__PURE__*/
|
|
4489
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4525
4490
|
input: SourceSuperSlurperConnectivityPrecheckRequest,
|
|
4526
4491
|
output: SourceSuperSlurperConnectivityPrecheckResponse,
|
|
4527
4492
|
errors: [],
|
|
@@ -4541,7 +4506,7 @@ export interface TargetSuperSlurperConnectivityPrecheckRequest {
|
|
|
4541
4506
|
}
|
|
4542
4507
|
|
|
4543
4508
|
export const TargetSuperSlurperConnectivityPrecheckRequest =
|
|
4544
|
-
/*@__PURE__*/
|
|
4509
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4545
4510
|
Schema.Struct({
|
|
4546
4511
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4547
4512
|
bucket: Schema.String,
|
|
@@ -4566,7 +4531,7 @@ export interface TargetSuperSlurperConnectivityPrecheckResponse {
|
|
|
4566
4531
|
}
|
|
4567
4532
|
|
|
4568
4533
|
export const TargetSuperSlurperConnectivityPrecheckResponse =
|
|
4569
|
-
/*@__PURE__*/
|
|
4534
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4570
4535
|
Schema.Struct({
|
|
4571
4536
|
connectivityStatus: Schema.optional(
|
|
4572
4537
|
Schema.Union([
|
|
@@ -4584,7 +4549,7 @@ export const targetSuperSlurperConnectivityPrecheck: API.OperationMethod<
|
|
|
4584
4549
|
TargetSuperSlurperConnectivityPrecheckResponse,
|
|
4585
4550
|
TargetSuperSlurperConnectivityPrecheckError,
|
|
4586
4551
|
Credentials | HttpClient.HttpClient
|
|
4587
|
-
> = /*@__PURE__*/
|
|
4552
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4588
4553
|
input: TargetSuperSlurperConnectivityPrecheckRequest,
|
|
4589
4554
|
output: TargetSuperSlurperConnectivityPrecheckResponse,
|
|
4590
4555
|
errors: [],
|
|
@@ -4600,7 +4565,7 @@ export interface GetSuperSlurperJobRequest {
|
|
|
4600
4565
|
}
|
|
4601
4566
|
|
|
4602
4567
|
export const GetSuperSlurperJobRequest =
|
|
4603
|
-
/*@__PURE__*/
|
|
4568
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4604
4569
|
Schema.Struct({
|
|
4605
4570
|
jobId: Schema.String.pipe(T.HttpPath("jobId")),
|
|
4606
4571
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -4654,7 +4619,7 @@ export interface GetSuperSlurperJobResponse {
|
|
|
4654
4619
|
}
|
|
4655
4620
|
|
|
4656
4621
|
export const GetSuperSlurperJobResponse =
|
|
4657
|
-
/*@__PURE__*/
|
|
4622
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4658
4623
|
Schema.Struct({
|
|
4659
4624
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4660
4625
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -4690,7 +4655,7 @@ export const getSuperSlurperJob: API.OperationMethod<
|
|
|
4690
4655
|
GetSuperSlurperJobResponse,
|
|
4691
4656
|
GetSuperSlurperJobError,
|
|
4692
4657
|
Credentials | HttpClient.HttpClient
|
|
4693
|
-
> = /*@__PURE__*/
|
|
4658
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4694
4659
|
input: GetSuperSlurperJobRequest,
|
|
4695
4660
|
output: GetSuperSlurperJobResponse,
|
|
4696
4661
|
errors: [],
|
|
@@ -4706,7 +4671,7 @@ export interface ListSuperSlurperJobsRequest {
|
|
|
4706
4671
|
}
|
|
4707
4672
|
|
|
4708
4673
|
export const ListSuperSlurperJobsRequest =
|
|
4709
|
-
/*@__PURE__*/
|
|
4674
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4710
4675
|
Schema.Struct({
|
|
4711
4676
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4712
4677
|
limit: Schema.optional(Schema.Number).pipe(T.HttpQuery("limit")),
|
|
@@ -4760,7 +4725,7 @@ export interface ListSuperSlurperJobsResponse {
|
|
|
4760
4725
|
}
|
|
4761
4726
|
|
|
4762
4727
|
export const ListSuperSlurperJobsResponse =
|
|
4763
|
-
/*@__PURE__*/
|
|
4728
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4764
4729
|
Schema.Struct({
|
|
4765
4730
|
result: Schema.Array(ListSuperSlurperJobsResponseResult),
|
|
4766
4731
|
}),
|
|
@@ -4773,7 +4738,7 @@ export const listSuperSlurperJobs: API.PaginatedOperationMethod<
|
|
|
4773
4738
|
ListSuperSlurperJobsResponse,
|
|
4774
4739
|
ListSuperSlurperJobsError,
|
|
4775
4740
|
Credentials | HttpClient.HttpClient
|
|
4776
|
-
> = /*@__PURE__*/
|
|
4741
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
4777
4742
|
input: ListSuperSlurperJobsRequest,
|
|
4778
4743
|
output: ListSuperSlurperJobsResponse,
|
|
4779
4744
|
errors: [],
|
|
@@ -4824,7 +4789,7 @@ export interface CreateSuperSlurperJobRequest {
|
|
|
4824
4789
|
}
|
|
4825
4790
|
|
|
4826
4791
|
export const CreateSuperSlurperJobRequest =
|
|
4827
|
-
/*@__PURE__*/
|
|
4792
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4828
4793
|
Schema.Struct({
|
|
4829
4794
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4830
4795
|
overwrite: Schema.optional(Schema.Boolean),
|
|
@@ -4846,7 +4811,7 @@ export interface CreateSuperSlurperJobResponse {
|
|
|
4846
4811
|
}
|
|
4847
4812
|
|
|
4848
4813
|
export const CreateSuperSlurperJobResponse =
|
|
4849
|
-
/*@__PURE__*/
|
|
4814
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4850
4815
|
Schema.Struct({
|
|
4851
4816
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4852
4817
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -4859,7 +4824,7 @@ export const createSuperSlurperJob: API.OperationMethod<
|
|
|
4859
4824
|
CreateSuperSlurperJobResponse,
|
|
4860
4825
|
CreateSuperSlurperJobError,
|
|
4861
4826
|
Credentials | HttpClient.HttpClient
|
|
4862
|
-
> = /*@__PURE__*/
|
|
4827
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4863
4828
|
input: CreateSuperSlurperJobRequest,
|
|
4864
4829
|
output: CreateSuperSlurperJobResponse,
|
|
4865
4830
|
errors: [],
|
|
@@ -4871,7 +4836,7 @@ export interface AbortSuperSlurperJobRequest {
|
|
|
4871
4836
|
}
|
|
4872
4837
|
|
|
4873
4838
|
export const AbortSuperSlurperJobRequest =
|
|
4874
|
-
/*@__PURE__*/
|
|
4839
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4875
4840
|
Schema.Struct({
|
|
4876
4841
|
jobId: Schema.String.pipe(T.HttpPath("jobId")),
|
|
4877
4842
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -4886,7 +4851,7 @@ export const AbortSuperSlurperJobRequest =
|
|
|
4886
4851
|
export type AbortSuperSlurperJobResponse = string;
|
|
4887
4852
|
|
|
4888
4853
|
export const AbortSuperSlurperJobResponse =
|
|
4889
|
-
/*@__PURE__*/
|
|
4854
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4890
4855
|
Schema.String.pipe(T.ResponsePath("result")),
|
|
4891
4856
|
) as unknown as Schema.Codec<AbortSuperSlurperJobResponse>;
|
|
4892
4857
|
|
|
@@ -4897,7 +4862,7 @@ export const abortSuperSlurperJob: API.OperationMethod<
|
|
|
4897
4862
|
AbortSuperSlurperJobResponse,
|
|
4898
4863
|
AbortSuperSlurperJobError,
|
|
4899
4864
|
Credentials | HttpClient.HttpClient
|
|
4900
|
-
> = /*@__PURE__*/
|
|
4865
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4901
4866
|
input: AbortSuperSlurperJobRequest,
|
|
4902
4867
|
output: AbortSuperSlurperJobResponse,
|
|
4903
4868
|
errors: [],
|
|
@@ -4909,7 +4874,7 @@ export interface PauseSuperSlurperJobRequest {
|
|
|
4909
4874
|
}
|
|
4910
4875
|
|
|
4911
4876
|
export const PauseSuperSlurperJobRequest =
|
|
4912
|
-
/*@__PURE__*/
|
|
4877
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4913
4878
|
Schema.Struct({
|
|
4914
4879
|
jobId: Schema.String.pipe(T.HttpPath("jobId")),
|
|
4915
4880
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -4924,7 +4889,7 @@ export const PauseSuperSlurperJobRequest =
|
|
|
4924
4889
|
export type PauseSuperSlurperJobResponse = string;
|
|
4925
4890
|
|
|
4926
4891
|
export const PauseSuperSlurperJobResponse =
|
|
4927
|
-
/*@__PURE__*/
|
|
4892
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4928
4893
|
Schema.String.pipe(T.ResponsePath("result")),
|
|
4929
4894
|
) as unknown as Schema.Codec<PauseSuperSlurperJobResponse>;
|
|
4930
4895
|
|
|
@@ -4935,7 +4900,7 @@ export const pauseSuperSlurperJob: API.OperationMethod<
|
|
|
4935
4900
|
PauseSuperSlurperJobResponse,
|
|
4936
4901
|
PauseSuperSlurperJobError,
|
|
4937
4902
|
Credentials | HttpClient.HttpClient
|
|
4938
|
-
> = /*@__PURE__*/
|
|
4903
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4939
4904
|
input: PauseSuperSlurperJobRequest,
|
|
4940
4905
|
output: PauseSuperSlurperJobResponse,
|
|
4941
4906
|
errors: [],
|
|
@@ -4947,7 +4912,7 @@ export interface ProgressSuperSlurperJobRequest {
|
|
|
4947
4912
|
}
|
|
4948
4913
|
|
|
4949
4914
|
export const ProgressSuperSlurperJobRequest =
|
|
4950
|
-
/*@__PURE__*/
|
|
4915
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4951
4916
|
Schema.Struct({
|
|
4952
4917
|
jobId: Schema.String.pipe(T.HttpPath("jobId")),
|
|
4953
4918
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -4976,7 +4941,7 @@ export interface ProgressSuperSlurperJobResponse {
|
|
|
4976
4941
|
}
|
|
4977
4942
|
|
|
4978
4943
|
export const ProgressSuperSlurperJobResponse =
|
|
4979
|
-
/*@__PURE__*/
|
|
4944
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4980
4945
|
Schema.Struct({
|
|
4981
4946
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4982
4947
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -5009,7 +4974,7 @@ export const progressSuperSlurperJob: API.OperationMethod<
|
|
|
5009
4974
|
ProgressSuperSlurperJobResponse,
|
|
5010
4975
|
ProgressSuperSlurperJobError,
|
|
5011
4976
|
Credentials | HttpClient.HttpClient
|
|
5012
|
-
> = /*@__PURE__*/
|
|
4977
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
5013
4978
|
input: ProgressSuperSlurperJobRequest,
|
|
5014
4979
|
output: ProgressSuperSlurperJobResponse,
|
|
5015
4980
|
errors: [],
|
|
@@ -5021,7 +4986,7 @@ export interface ResumeSuperSlurperJobRequest {
|
|
|
5021
4986
|
}
|
|
5022
4987
|
|
|
5023
4988
|
export const ResumeSuperSlurperJobRequest =
|
|
5024
|
-
/*@__PURE__*/
|
|
4989
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
5025
4990
|
Schema.Struct({
|
|
5026
4991
|
jobId: Schema.String.pipe(T.HttpPath("jobId")),
|
|
5027
4992
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -5036,7 +5001,7 @@ export const ResumeSuperSlurperJobRequest =
|
|
|
5036
5001
|
export type ResumeSuperSlurperJobResponse = string;
|
|
5037
5002
|
|
|
5038
5003
|
export const ResumeSuperSlurperJobResponse =
|
|
5039
|
-
/*@__PURE__*/
|
|
5004
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
5040
5005
|
Schema.String.pipe(T.ResponsePath("result")),
|
|
5041
5006
|
) as unknown as Schema.Codec<ResumeSuperSlurperJobResponse>;
|
|
5042
5007
|
|
|
@@ -5047,7 +5012,7 @@ export const resumeSuperSlurperJob: API.OperationMethod<
|
|
|
5047
5012
|
ResumeSuperSlurperJobResponse,
|
|
5048
5013
|
ResumeSuperSlurperJobError,
|
|
5049
5014
|
Credentials | HttpClient.HttpClient
|
|
5050
|
-
> = /*@__PURE__*/
|
|
5015
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
5051
5016
|
input: ResumeSuperSlurperJobRequest,
|
|
5052
5017
|
output: ResumeSuperSlurperJobResponse,
|
|
5053
5018
|
errors: [],
|
|
@@ -5068,7 +5033,7 @@ export interface ListSuperSlurperJobLogsRequest {
|
|
|
5068
5033
|
}
|
|
5069
5034
|
|
|
5070
5035
|
export const ListSuperSlurperJobLogsRequest =
|
|
5071
|
-
/*@__PURE__*/
|
|
5036
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
5072
5037
|
Schema.Struct({
|
|
5073
5038
|
jobId: Schema.String.pipe(T.HttpPath("jobId")),
|
|
5074
5039
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -5110,7 +5075,7 @@ export interface ListSuperSlurperJobLogsResponse {
|
|
|
5110
5075
|
}
|
|
5111
5076
|
|
|
5112
5077
|
export const ListSuperSlurperJobLogsResponse =
|
|
5113
|
-
/*@__PURE__*/
|
|
5078
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
5114
5079
|
Schema.Struct({
|
|
5115
5080
|
result: Schema.Array(ListSuperSlurperJobLogsResponseResult),
|
|
5116
5081
|
}),
|
|
@@ -5123,7 +5088,7 @@ export const listSuperSlurperJobLogs: API.PaginatedOperationMethod<
|
|
|
5123
5088
|
ListSuperSlurperJobLogsResponse,
|
|
5124
5089
|
ListSuperSlurperJobLogsError,
|
|
5125
5090
|
Credentials | HttpClient.HttpClient
|
|
5126
|
-
> = /*@__PURE__*/
|
|
5091
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
5127
5092
|
input: ListSuperSlurperJobLogsRequest,
|
|
5128
5093
|
output: ListSuperSlurperJobLogsResponse,
|
|
5129
5094
|
errors: [],
|
|
@@ -5160,7 +5125,7 @@ export interface CreateTemporaryCredentialRequest {
|
|
|
5160
5125
|
}
|
|
5161
5126
|
|
|
5162
5127
|
export const CreateTemporaryCredentialRequest =
|
|
5163
|
-
/*@__PURE__*/
|
|
5128
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
5164
5129
|
Schema.Struct({
|
|
5165
5130
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
5166
5131
|
bucket: Schema.String,
|
|
@@ -5195,7 +5160,7 @@ export interface CreateTemporaryCredentialResponse {
|
|
|
5195
5160
|
}
|
|
5196
5161
|
|
|
5197
5162
|
export const CreateTemporaryCredentialResponse =
|
|
5198
|
-
/*@__PURE__*/
|
|
5163
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
5199
5164
|
Schema.Struct({
|
|
5200
5165
|
accessKeyId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5201
5166
|
secretAccessKey: Schema.optional(
|
|
@@ -5212,7 +5177,7 @@ export const createTemporaryCredential: API.OperationMethod<
|
|
|
5212
5177
|
CreateTemporaryCredentialResponse,
|
|
5213
5178
|
CreateTemporaryCredentialError,
|
|
5214
5179
|
Credentials | HttpClient.HttpClient
|
|
5215
|
-
> = /*@__PURE__*/
|
|
5180
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
5216
5181
|
input: CreateTemporaryCredentialRequest,
|
|
5217
5182
|
output: CreateTemporaryCredentialResponse,
|
|
5218
5183
|
errors: [],
|