@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/lib/services/r2.js
CHANGED
|
@@ -84,7 +84,7 @@ export class QueueNotFound extends T.applyErrorMatchers(Schema.TaggedErrorClass(
|
|
|
84
84
|
message: Schema.String,
|
|
85
85
|
}), [{ code: 11000 }]) {
|
|
86
86
|
}
|
|
87
|
-
const Bucket = /*@__PURE__*/
|
|
87
|
+
const Bucket = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
88
88
|
creationDate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
89
89
|
jurisdiction: Schema.optional(Schema.Union([
|
|
90
90
|
Schema.Union([
|
|
@@ -128,7 +128,7 @@ const Bucket = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
128
128
|
name: "name",
|
|
129
129
|
storageClass: "storage_class",
|
|
130
130
|
})));
|
|
131
|
-
const Allowed = /*@__PURE__*/
|
|
131
|
+
const Allowed = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
132
132
|
methods: Schema.Array(Schema.Union([
|
|
133
133
|
Schema.Literals(["GET", "PUT", "POST", "DELETE", "HEAD"]),
|
|
134
134
|
Schema.String,
|
|
@@ -136,13 +136,13 @@ const Allowed = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
136
136
|
origins: Schema.Array(Schema.String),
|
|
137
137
|
headers: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
138
138
|
}));
|
|
139
|
-
const Rule = /*@__PURE__*/
|
|
139
|
+
const Rule = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
140
140
|
allowed: Allowed,
|
|
141
141
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
142
142
|
exposeHeaders: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
143
143
|
maxAgeSeconds: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
144
144
|
}));
|
|
145
|
-
const Status = /*@__PURE__*/
|
|
145
|
+
const Status = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
146
146
|
ownership: Schema.Union([
|
|
147
147
|
Schema.Literals([
|
|
148
148
|
"pending",
|
|
@@ -166,7 +166,7 @@ const Status = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
166
166
|
Schema.String,
|
|
167
167
|
]),
|
|
168
168
|
}));
|
|
169
|
-
const Domain = /*@__PURE__*/
|
|
169
|
+
const Domain = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
170
170
|
domain: Schema.String,
|
|
171
171
|
enabled: Schema.Boolean,
|
|
172
172
|
status: Status,
|
|
@@ -181,7 +181,7 @@ const Domain = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
181
181
|
zoneId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
182
182
|
zoneName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
183
183
|
}));
|
|
184
|
-
const Rule2 = /*@__PURE__*/
|
|
184
|
+
const Rule2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
185
185
|
actions: Schema.Array(Schema.Union([
|
|
186
186
|
Schema.Literals([
|
|
187
187
|
"PutObject",
|
|
@@ -198,12 +198,12 @@ const Rule2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
198
198
|
ruleId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
199
199
|
suffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
200
200
|
}));
|
|
201
|
-
const Queue = /*@__PURE__*/
|
|
201
|
+
const Queue = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
202
202
|
queueId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
203
203
|
queueName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
204
204
|
rules: Schema.optional(Schema.Union([Schema.Array(Rule2), Schema.Null])),
|
|
205
205
|
}));
|
|
206
|
-
const Rule3 = /*@__PURE__*/
|
|
206
|
+
const Rule3 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
207
207
|
actions: Schema.Array(Schema.Union([
|
|
208
208
|
Schema.Literals([
|
|
209
209
|
"PutObject",
|
|
@@ -218,32 +218,32 @@ const Rule3 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
218
218
|
prefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
219
219
|
suffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
220
220
|
}));
|
|
221
|
-
const Conditions = /*@__PURE__*/
|
|
221
|
+
const Conditions = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
222
222
|
prefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
223
223
|
}));
|
|
224
|
-
const Condition = /*@__PURE__*/
|
|
224
|
+
const Condition = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
225
225
|
maxAge: Schema.Number,
|
|
226
226
|
type: Schema.Literal("Age"),
|
|
227
227
|
}));
|
|
228
228
|
const AbortMultipartUploadsTransition =
|
|
229
|
-
/*@__PURE__*/
|
|
229
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
230
230
|
condition: Schema.optional(Schema.Union([Condition, Schema.Null])),
|
|
231
231
|
}));
|
|
232
|
-
const R2LifecycleDateCondition = /*@__PURE__*/
|
|
232
|
+
const R2LifecycleDateCondition = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
233
233
|
date: Schema.String,
|
|
234
234
|
type: Schema.Literal("Date"),
|
|
235
235
|
}));
|
|
236
|
-
const DeleteObjectsTransition = /*@__PURE__*/
|
|
236
|
+
const DeleteObjectsTransition = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
237
237
|
condition: Schema.optional(Schema.Union([
|
|
238
238
|
Schema.Union([Condition, R2LifecycleDateCondition]),
|
|
239
239
|
Schema.Null,
|
|
240
240
|
])),
|
|
241
241
|
}));
|
|
242
|
-
const StorageClassTransition = /*@__PURE__*/
|
|
242
|
+
const StorageClassTransition = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
243
243
|
condition: Schema.Union([Condition, R2LifecycleDateCondition]),
|
|
244
244
|
storageClass: Schema.Literal("InfrequentAccess"),
|
|
245
245
|
}));
|
|
246
|
-
const Rule4 = /*@__PURE__*/
|
|
246
|
+
const Rule4 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
247
247
|
id: Schema.String,
|
|
248
248
|
conditions: Conditions,
|
|
249
249
|
enabled: Schema.Boolean,
|
|
@@ -251,10 +251,10 @@ const Rule4 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
251
251
|
deleteObjectsTransition: Schema.optional(Schema.Union([DeleteObjectsTransition, Schema.Null])),
|
|
252
252
|
storageClassTransitions: Schema.optional(Schema.Union([Schema.Array(StorageClassTransition), Schema.Null])),
|
|
253
253
|
}));
|
|
254
|
-
const Conditions2 = /*@__PURE__*/
|
|
254
|
+
const Conditions2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
255
255
|
prefix: Schema.String,
|
|
256
256
|
}));
|
|
257
|
-
const Rule5 = /*@__PURE__*/
|
|
257
|
+
const Rule5 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
258
258
|
id: Schema.String,
|
|
259
259
|
conditions: Conditions2,
|
|
260
260
|
enabled: Schema.Boolean,
|
|
@@ -262,15 +262,15 @@ const Rule5 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
262
262
|
deleteObjectsTransition: Schema.optional(Schema.Union([DeleteObjectsTransition, Schema.Null])),
|
|
263
263
|
storageClassTransitions: Schema.optional(Schema.Union([Schema.Array(StorageClassTransition), Schema.Null])),
|
|
264
264
|
}));
|
|
265
|
-
const R2LockRuleAgeCondition = /*@__PURE__*/
|
|
265
|
+
const R2LockRuleAgeCondition = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
266
266
|
maxAgeSeconds: Schema.Number,
|
|
267
267
|
type: Schema.Literal("Age"),
|
|
268
268
|
}));
|
|
269
269
|
const R2LockRuleIndefiniteCondition =
|
|
270
|
-
/*@__PURE__*/
|
|
270
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
271
271
|
type: Schema.Literal("Indefinite"),
|
|
272
272
|
}));
|
|
273
|
-
const Rule6 = /*@__PURE__*/
|
|
273
|
+
const Rule6 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
274
274
|
id: Schema.String,
|
|
275
275
|
condition: Schema.Union([
|
|
276
276
|
R2LockRuleAgeCondition,
|
|
@@ -280,16 +280,16 @@ const Rule6 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
280
280
|
enabled: Schema.Boolean,
|
|
281
281
|
prefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
282
282
|
}));
|
|
283
|
-
const Published = /*@__PURE__*/
|
|
283
|
+
const Published = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
284
284
|
metadataSize: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
285
285
|
objects: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
286
286
|
payloadSize: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
287
287
|
}));
|
|
288
|
-
const InfrequentAccess = /*@__PURE__*/
|
|
288
|
+
const InfrequentAccess = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
289
289
|
published: Schema.optional(Schema.Union([Published, Schema.Null])),
|
|
290
290
|
uploaded: Schema.optional(Schema.Union([Published, Schema.Null])),
|
|
291
291
|
}));
|
|
292
|
-
const Httpmetadata = /*@__PURE__*/
|
|
292
|
+
const Httpmetadata = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
293
293
|
cacheControl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
294
294
|
cacheExpiry: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
295
295
|
contentDisposition: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -298,7 +298,7 @@ const Httpmetadata = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
298
298
|
contentType: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
299
299
|
}));
|
|
300
300
|
const ListBucketObjectsResponseResult =
|
|
301
|
-
/*@__PURE__*/
|
|
301
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
302
302
|
customMetadata: Schema.optional(Schema.Union([
|
|
303
303
|
Schema.Record(Schema.String, Schema.Unknown),
|
|
304
304
|
Schema.Null,
|
|
@@ -327,7 +327,7 @@ const ListBucketObjectsResponseResult =
|
|
|
327
327
|
storageClass: "storage_class",
|
|
328
328
|
})));
|
|
329
329
|
const ListBucketObjectsResponseResultInfo =
|
|
330
|
-
/*@__PURE__*/
|
|
330
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
331
331
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
332
332
|
cursor: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
333
333
|
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -336,13 +336,13 @@ const ListBucketObjectsResponseResultInfo =
|
|
|
336
336
|
cursor: "cursor",
|
|
337
337
|
perPage: "per_page",
|
|
338
338
|
})));
|
|
339
|
-
const Destination = /*@__PURE__*/
|
|
339
|
+
const Destination = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
340
340
|
accessKeyId: Schema.optional(Schema.Union([SensitiveString, Schema.Null])),
|
|
341
341
|
account: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
342
342
|
bucket: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
343
343
|
provider: Schema.optional(Schema.Union([Schema.Literal("r2"), Schema.Null])),
|
|
344
344
|
}));
|
|
345
|
-
const Source = /*@__PURE__*/
|
|
345
|
+
const Source = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
346
346
|
bucket: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
347
347
|
bucketUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
348
348
|
provider: Schema.optional(Schema.Union([
|
|
@@ -351,12 +351,12 @@ const Source = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
351
351
|
])),
|
|
352
352
|
region: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
353
353
|
}));
|
|
354
|
-
const Destination2 = /*@__PURE__*/
|
|
354
|
+
const Destination2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
355
355
|
accessKeyId: Schema.optional(Schema.Union([SensitiveString, Schema.Null])),
|
|
356
356
|
provider: Schema.optional(Schema.Union([Schema.Literal("r2"), Schema.Null])),
|
|
357
357
|
secretAccessKey: Schema.optional(Schema.Union([SensitiveString, Schema.Null])),
|
|
358
358
|
}));
|
|
359
|
-
const Source2 = /*@__PURE__*/
|
|
359
|
+
const Source2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
360
360
|
accessKeyId: Schema.optional(Schema.Union([SensitiveString, Schema.Null])),
|
|
361
361
|
bucket: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
362
362
|
provider: Schema.optional(Schema.Union([
|
|
@@ -369,7 +369,7 @@ const Source2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
369
369
|
privateKey: Schema.optional(Schema.Union([SensitiveString, Schema.Null])),
|
|
370
370
|
bucketUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
371
371
|
}));
|
|
372
|
-
const ListObjectsResponseResult = /*@__PURE__*/
|
|
372
|
+
const ListObjectsResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
373
373
|
key: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
374
374
|
size: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
375
375
|
etag: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -394,16 +394,16 @@ const ListObjectsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
394
394
|
customMetadata: "custom_metadata",
|
|
395
395
|
httpMetadata: "http_metadata",
|
|
396
396
|
})));
|
|
397
|
-
const DeleteObjectsResponse2 = /*@__PURE__*/
|
|
397
|
+
const DeleteObjectsResponse2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
398
398
|
key: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
399
399
|
}));
|
|
400
400
|
const DeleteObjectsResponse1PrefixDelete =
|
|
401
|
-
/*@__PURE__*/
|
|
401
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
402
402
|
prefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
403
403
|
deletedObjects: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
404
404
|
isBucketClear: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
405
405
|
}));
|
|
406
|
-
const DeleteObjectsResponse1 = /*@__PURE__*/
|
|
406
|
+
const DeleteObjectsResponse1 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
407
407
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
408
408
|
jobType: Schema.optional(Schema.Union([Schema.Literal("prefixDelete"), Schema.Null])),
|
|
409
409
|
status: Schema.optional(Schema.Union([
|
|
@@ -423,30 +423,30 @@ const DeleteObjectsResponse1 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
423
423
|
endTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
424
424
|
prefixDelete: Schema.optional(Schema.Union([DeleteObjectsResponse1PrefixDelete, Schema.Null])),
|
|
425
425
|
}));
|
|
426
|
-
const Secret = /*@__PURE__*/
|
|
426
|
+
const Secret = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
427
427
|
accessKeyId: Schema.optional(Schema.Union([SensitiveString, Schema.Null])),
|
|
428
428
|
secretAccessKey: Schema.optional(Schema.Union([SensitiveString, Schema.Null])),
|
|
429
429
|
clientEmail: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
430
430
|
privateKey: Schema.optional(Schema.Union([SensitiveString, Schema.Null])),
|
|
431
431
|
}));
|
|
432
|
-
const Secret2 = /*@__PURE__*/
|
|
432
|
+
const Secret2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
433
433
|
accessKeyId: SensitiveString,
|
|
434
434
|
secretAccessKey: SensitiveString,
|
|
435
435
|
}));
|
|
436
|
-
const S3SourceResponseSchema = /*@__PURE__*/
|
|
436
|
+
const S3SourceResponseSchema = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
437
437
|
bucket: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
438
438
|
endpoint: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
439
439
|
keys: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
440
440
|
pathPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
441
441
|
vendor: Schema.optional(Schema.Union([Schema.Literal("s3"), Schema.Null])),
|
|
442
442
|
}));
|
|
443
|
-
const GcsSourceResponseSchema = /*@__PURE__*/
|
|
443
|
+
const GcsSourceResponseSchema = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
444
444
|
bucket: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
445
445
|
keys: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
446
446
|
pathPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
447
447
|
vendor: Schema.optional(Schema.Union([Schema.Literal("gcs"), Schema.Null])),
|
|
448
448
|
}));
|
|
449
|
-
const R2SourceResponseSchema = /*@__PURE__*/
|
|
449
|
+
const R2SourceResponseSchema = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
450
450
|
bucket: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
451
451
|
jurisdiction: Schema.optional(Schema.Union([
|
|
452
452
|
Schema.Union([
|
|
@@ -459,7 +459,7 @@ const R2SourceResponseSchema = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
459
459
|
pathPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
460
460
|
vendor: Schema.optional(Schema.Union([Schema.Literal("r2"), Schema.Null])),
|
|
461
461
|
}));
|
|
462
|
-
const Target = /*@__PURE__*/
|
|
462
|
+
const Target = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
463
463
|
bucket: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
464
464
|
jurisdiction: Schema.optional(Schema.Union([
|
|
465
465
|
Schema.Union([
|
|
@@ -471,7 +471,7 @@ const Target = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
471
471
|
vendor: Schema.optional(Schema.Union([Schema.Literal("r2"), Schema.Null])),
|
|
472
472
|
}));
|
|
473
473
|
const ListSuperSlurperJobsResponseResult =
|
|
474
|
-
/*@__PURE__*/
|
|
474
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
475
475
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
476
476
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
477
477
|
finishedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -493,7 +493,7 @@ const ListSuperSlurperJobsResponseResult =
|
|
|
493
493
|
])),
|
|
494
494
|
target: Schema.optional(Schema.Union([Target, Schema.Null])),
|
|
495
495
|
}));
|
|
496
|
-
const R2SlurperS3SourceSchema = /*@__PURE__*/
|
|
496
|
+
const R2SlurperS3SourceSchema = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
497
497
|
bucket: Schema.String,
|
|
498
498
|
secret: Secret2,
|
|
499
499
|
vendor: Schema.Literal("s3"),
|
|
@@ -502,18 +502,18 @@ const R2SlurperS3SourceSchema = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
502
502
|
pathPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
503
503
|
region: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
504
504
|
}));
|
|
505
|
-
const Secret3 = /*@__PURE__*/
|
|
505
|
+
const Secret3 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
506
506
|
clientEmail: Schema.String,
|
|
507
507
|
privateKey: SensitiveString,
|
|
508
508
|
}));
|
|
509
|
-
const R2SlurperGcsSourceSchema = /*@__PURE__*/
|
|
509
|
+
const R2SlurperGcsSourceSchema = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
510
510
|
bucket: Schema.String,
|
|
511
511
|
secret: Secret3,
|
|
512
512
|
vendor: Schema.Literal("gcs"),
|
|
513
513
|
keys: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
514
514
|
pathPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
515
515
|
}));
|
|
516
|
-
const R2SlurperR2SourceSchema = /*@__PURE__*/
|
|
516
|
+
const R2SlurperR2SourceSchema = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
517
517
|
bucket: Schema.String,
|
|
518
518
|
secret: Secret2,
|
|
519
519
|
vendor: Schema.Literal("r2"),
|
|
@@ -527,7 +527,7 @@ const R2SlurperR2SourceSchema = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
527
527
|
keys: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
528
528
|
pathPrefix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
529
529
|
}));
|
|
530
|
-
const Target2 = /*@__PURE__*/
|
|
530
|
+
const Target2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
531
531
|
bucket: Schema.String,
|
|
532
532
|
secret: Secret2,
|
|
533
533
|
vendor: Schema.Literal("r2"),
|
|
@@ -540,7 +540,7 @@ const Target2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
540
540
|
])),
|
|
541
541
|
}));
|
|
542
542
|
const ListSuperSlurperJobLogsResponseResult =
|
|
543
|
-
/*@__PURE__*/
|
|
543
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
544
544
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
545
545
|
job: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
546
546
|
logType: Schema.optional(Schema.Union([
|
|
@@ -570,20 +570,20 @@ const ListSuperSlurperJobLogsResponseResult =
|
|
|
570
570
|
objectKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
571
571
|
}));
|
|
572
572
|
export const AbortAllSuperSlurperJobRequest =
|
|
573
|
-
/*@__PURE__*/
|
|
573
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
574
574
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
575
575
|
}).pipe(T.Http({
|
|
576
576
|
method: "PUT",
|
|
577
577
|
path: "/accounts/{account_id}/slurper/jobs/abortAll",
|
|
578
578
|
})));
|
|
579
579
|
export const AbortAllSuperSlurperJobResponse =
|
|
580
|
-
/*@__PURE__*/
|
|
581
|
-
export const abortAllSuperSlurperJob = /*@__PURE__*/
|
|
580
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
|
|
581
|
+
export const abortAllSuperSlurperJob = /*@__PURE__*/ API.make(() => ({
|
|
582
582
|
input: AbortAllSuperSlurperJobRequest,
|
|
583
583
|
output: AbortAllSuperSlurperJobResponse,
|
|
584
584
|
errors: [],
|
|
585
585
|
}));
|
|
586
|
-
export const GetBucketRequest = /*@__PURE__*/
|
|
586
|
+
export const GetBucketRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
587
587
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
588
588
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
589
589
|
jurisdiction: Schema.optional(Schema.Union([
|
|
@@ -594,7 +594,7 @@ export const GetBucketRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
594
594
|
method: "GET",
|
|
595
595
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}",
|
|
596
596
|
})));
|
|
597
|
-
export const GetBucketResponse = /*@__PURE__*/
|
|
597
|
+
export const GetBucketResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
598
598
|
creationDate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
599
599
|
jurisdiction: Schema.optional(Schema.Union([
|
|
600
600
|
Schema.Union([
|
|
@@ -640,12 +640,12 @@ export const GetBucketResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
640
640
|
storageClass: "storage_class",
|
|
641
641
|
}))
|
|
642
642
|
.pipe(T.ResponsePath("result")));
|
|
643
|
-
export const getBucket = /*@__PURE__*/
|
|
643
|
+
export const getBucket = /*@__PURE__*/ API.make(() => ({
|
|
644
644
|
input: GetBucketRequest,
|
|
645
645
|
output: GetBucketResponse,
|
|
646
646
|
errors: [NoSuchBucket, InvalidRoute],
|
|
647
647
|
}));
|
|
648
|
-
export const ListBucketsRequest = /*@__PURE__*/
|
|
648
|
+
export const ListBucketsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
649
649
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
650
650
|
cursor: Schema.optional(Schema.String).pipe(T.HttpQuery("cursor")),
|
|
651
651
|
direction: Schema.optional(Schema.Union([Schema.Literals(["asc", "desc"]), Schema.String])).pipe(T.HttpQuery("direction")),
|
|
@@ -658,15 +658,15 @@ export const ListBucketsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
658
658
|
Schema.String,
|
|
659
659
|
])).pipe(T.HttpHeader("cf-r2-jurisdiction")),
|
|
660
660
|
}).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/r2/buckets" })));
|
|
661
|
-
export const ListBucketsResponse = /*@__PURE__*/
|
|
661
|
+
export const ListBucketsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
662
662
|
buckets: Schema.optional(Schema.Union([Schema.Array(Bucket), Schema.Null])),
|
|
663
663
|
}).pipe(T.ResponsePath("result")));
|
|
664
|
-
export const listBuckets = /*@__PURE__*/
|
|
664
|
+
export const listBuckets = /*@__PURE__*/ API.make(() => ({
|
|
665
665
|
input: ListBucketsRequest,
|
|
666
666
|
output: ListBucketsResponse,
|
|
667
667
|
errors: [InvalidRoute],
|
|
668
668
|
}));
|
|
669
|
-
export const CreateBucketRequest = /*@__PURE__*/
|
|
669
|
+
export const CreateBucketRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
670
670
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
671
671
|
jurisdiction: Schema.optional(Schema.Union([
|
|
672
672
|
Schema.Literals(["default", "eu", "fedramp"]),
|
|
@@ -682,7 +682,7 @@ export const CreateBucketRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
682
682
|
Schema.String,
|
|
683
683
|
])),
|
|
684
684
|
}).pipe(T.Http({ method: "POST", path: "/accounts/{account_id}/r2/buckets" })));
|
|
685
|
-
export const CreateBucketResponse = /*@__PURE__*/
|
|
685
|
+
export const CreateBucketResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
686
686
|
creationDate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
687
687
|
jurisdiction: Schema.optional(Schema.Union([
|
|
688
688
|
Schema.Union([
|
|
@@ -728,12 +728,12 @@ export const CreateBucketResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
728
728
|
storageClass: "storage_class",
|
|
729
729
|
}))
|
|
730
730
|
.pipe(T.ResponsePath("result")));
|
|
731
|
-
export const createBucket = /*@__PURE__*/
|
|
731
|
+
export const createBucket = /*@__PURE__*/ API.make(() => ({
|
|
732
732
|
input: CreateBucketRequest,
|
|
733
733
|
output: CreateBucketResponse,
|
|
734
734
|
errors: [InvalidBucketName, BucketAlreadyExists, InvalidRoute],
|
|
735
735
|
}));
|
|
736
|
-
export const PatchBucketRequest = /*@__PURE__*/
|
|
736
|
+
export const PatchBucketRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
737
737
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
738
738
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
739
739
|
storageClass: Schema.Union([
|
|
@@ -748,7 +748,7 @@ export const PatchBucketRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
748
748
|
method: "PATCH",
|
|
749
749
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}",
|
|
750
750
|
})));
|
|
751
|
-
export const PatchBucketResponse = /*@__PURE__*/
|
|
751
|
+
export const PatchBucketResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
752
752
|
creationDate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
753
753
|
jurisdiction: Schema.optional(Schema.Union([
|
|
754
754
|
Schema.Union([
|
|
@@ -794,12 +794,12 @@ export const PatchBucketResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
794
794
|
storageClass: "storage_class",
|
|
795
795
|
}))
|
|
796
796
|
.pipe(T.ResponsePath("result")));
|
|
797
|
-
export const patchBucket = /*@__PURE__*/
|
|
797
|
+
export const patchBucket = /*@__PURE__*/ API.make(() => ({
|
|
798
798
|
input: PatchBucketRequest,
|
|
799
799
|
output: PatchBucketResponse,
|
|
800
800
|
errors: [NoSuchBucket, InvalidRoute],
|
|
801
801
|
}));
|
|
802
|
-
export const DeleteBucketRequest = /*@__PURE__*/
|
|
802
|
+
export const DeleteBucketRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
803
803
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
804
804
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
805
805
|
jurisdiction: Schema.optional(Schema.Union([
|
|
@@ -810,13 +810,13 @@ export const DeleteBucketRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
810
810
|
method: "DELETE",
|
|
811
811
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}",
|
|
812
812
|
})));
|
|
813
|
-
export const DeleteBucketResponse = /*@__PURE__*/
|
|
814
|
-
export const deleteBucket = /*@__PURE__*/
|
|
813
|
+
export const DeleteBucketResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
814
|
+
export const deleteBucket = /*@__PURE__*/ API.make(() => ({
|
|
815
815
|
input: DeleteBucketRequest,
|
|
816
816
|
output: DeleteBucketResponse,
|
|
817
817
|
errors: [NoSuchBucket, InvalidRoute, NoRoute],
|
|
818
818
|
}));
|
|
819
|
-
export const GetBucketCorsRequest = /*@__PURE__*/
|
|
819
|
+
export const GetBucketCorsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
820
820
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
821
821
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
822
822
|
jurisdiction: Schema.optional(Schema.Union([
|
|
@@ -827,15 +827,15 @@ export const GetBucketCorsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
827
827
|
method: "GET",
|
|
828
828
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/cors",
|
|
829
829
|
})));
|
|
830
|
-
export const GetBucketCorsResponse = /*@__PURE__*/
|
|
830
|
+
export const GetBucketCorsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
831
831
|
rules: Schema.optional(Schema.Union([Schema.Array(Rule), Schema.Null])),
|
|
832
832
|
}).pipe(T.ResponsePath("result")));
|
|
833
|
-
export const getBucketCors = /*@__PURE__*/
|
|
833
|
+
export const getBucketCors = /*@__PURE__*/ API.make(() => ({
|
|
834
834
|
input: GetBucketCorsRequest,
|
|
835
835
|
output: GetBucketCorsResponse,
|
|
836
836
|
errors: [NoSuchBucket, InvalidRoute, NoCorsConfiguration],
|
|
837
837
|
}));
|
|
838
|
-
export const PutBucketCorsRequest = /*@__PURE__*/
|
|
838
|
+
export const PutBucketCorsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
839
839
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
840
840
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
841
841
|
jurisdiction: Schema.optional(Schema.Union([
|
|
@@ -847,14 +847,14 @@ export const PutBucketCorsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
847
847
|
method: "PUT",
|
|
848
848
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/cors",
|
|
849
849
|
})));
|
|
850
|
-
export const PutBucketCorsResponse = /*@__PURE__*/
|
|
851
|
-
export const putBucketCors = /*@__PURE__*/
|
|
850
|
+
export const PutBucketCorsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
851
|
+
export const putBucketCors = /*@__PURE__*/ API.make(() => ({
|
|
852
852
|
input: PutBucketCorsRequest,
|
|
853
853
|
output: PutBucketCorsResponse,
|
|
854
854
|
errors: [NoSuchBucket, InvalidRoute],
|
|
855
855
|
}));
|
|
856
856
|
export const DeleteBucketCorsRequest =
|
|
857
|
-
/*@__PURE__*/
|
|
857
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
858
858
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
859
859
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
860
860
|
jurisdiction: Schema.optional(Schema.Union([
|
|
@@ -866,14 +866,14 @@ export const DeleteBucketCorsRequest =
|
|
|
866
866
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/cors",
|
|
867
867
|
})));
|
|
868
868
|
export const DeleteBucketCorsResponse =
|
|
869
|
-
/*@__PURE__*/
|
|
870
|
-
export const deleteBucketCors = /*@__PURE__*/
|
|
869
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
870
|
+
export const deleteBucketCors = /*@__PURE__*/ API.make(() => ({
|
|
871
871
|
input: DeleteBucketCorsRequest,
|
|
872
872
|
output: DeleteBucketCorsResponse,
|
|
873
873
|
errors: [NoSuchBucket, InvalidRoute],
|
|
874
874
|
}));
|
|
875
875
|
export const GetBucketDomainCustomRequest =
|
|
876
|
-
/*@__PURE__*/
|
|
876
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
877
877
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
878
878
|
domain: Schema.String.pipe(T.HttpPath("domain")),
|
|
879
879
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -886,7 +886,7 @@ export const GetBucketDomainCustomRequest =
|
|
|
886
886
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/domains/custom/{domain}",
|
|
887
887
|
})));
|
|
888
888
|
export const GetBucketDomainCustomResponse =
|
|
889
|
-
/*@__PURE__*/
|
|
889
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
890
890
|
domain: Schema.String,
|
|
891
891
|
enabled: Schema.Boolean,
|
|
892
892
|
status: Status,
|
|
@@ -901,13 +901,13 @@ export const GetBucketDomainCustomResponse =
|
|
|
901
901
|
zoneId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
902
902
|
zoneName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
903
903
|
}).pipe(T.ResponsePath("result")));
|
|
904
|
-
export const getBucketDomainCustom = /*@__PURE__*/
|
|
904
|
+
export const getBucketDomainCustom = /*@__PURE__*/ API.make(() => ({
|
|
905
905
|
input: GetBucketDomainCustomRequest,
|
|
906
906
|
output: GetBucketDomainCustomResponse,
|
|
907
907
|
errors: [DomainNotFound, NoSuchBucket, InvalidRoute],
|
|
908
908
|
}));
|
|
909
909
|
export const ListBucketDomainCustomsRequest =
|
|
910
|
-
/*@__PURE__*/
|
|
910
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
911
911
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
912
912
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
913
913
|
jurisdiction: Schema.optional(Schema.Union([
|
|
@@ -919,16 +919,16 @@ export const ListBucketDomainCustomsRequest =
|
|
|
919
919
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/domains/custom",
|
|
920
920
|
})));
|
|
921
921
|
export const ListBucketDomainCustomsResponse =
|
|
922
|
-
/*@__PURE__*/
|
|
922
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
923
923
|
domains: Schema.Array(Domain),
|
|
924
924
|
}).pipe(T.ResponsePath("result")));
|
|
925
|
-
export const listBucketDomainCustoms = /*@__PURE__*/
|
|
925
|
+
export const listBucketDomainCustoms = /*@__PURE__*/ API.make(() => ({
|
|
926
926
|
input: ListBucketDomainCustomsRequest,
|
|
927
927
|
output: ListBucketDomainCustomsResponse,
|
|
928
928
|
errors: [NoSuchBucket, InvalidRoute],
|
|
929
929
|
}));
|
|
930
930
|
export const CreateBucketDomainCustomRequest =
|
|
931
|
-
/*@__PURE__*/
|
|
931
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
932
932
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
933
933
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
934
934
|
jurisdiction: Schema.optional(Schema.Union([
|
|
@@ -948,7 +948,7 @@ export const CreateBucketDomainCustomRequest =
|
|
|
948
948
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/domains/custom",
|
|
949
949
|
})));
|
|
950
950
|
export const CreateBucketDomainCustomResponse =
|
|
951
|
-
/*@__PURE__*/
|
|
951
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
952
952
|
domain: Schema.String,
|
|
953
953
|
enabled: Schema.Boolean,
|
|
954
954
|
zoneId: Schema.String,
|
|
@@ -961,13 +961,13 @@ export const CreateBucketDomainCustomResponse =
|
|
|
961
961
|
Schema.Null,
|
|
962
962
|
])),
|
|
963
963
|
}).pipe(T.ResponsePath("result")));
|
|
964
|
-
export const createBucketDomainCustom = /*@__PURE__*/
|
|
964
|
+
export const createBucketDomainCustom = /*@__PURE__*/ API.make(() => ({
|
|
965
965
|
input: CreateBucketDomainCustomRequest,
|
|
966
966
|
output: CreateBucketDomainCustomResponse,
|
|
967
967
|
errors: [NoSuchBucket, InvalidBucketName, CustomDomainInUse],
|
|
968
968
|
}));
|
|
969
969
|
export const UpdateBucketDomainCustomRequest =
|
|
970
|
-
/*@__PURE__*/
|
|
970
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
971
971
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
972
972
|
domain: Schema.String.pipe(T.HttpPath("domain")),
|
|
973
973
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -986,7 +986,7 @@ export const UpdateBucketDomainCustomRequest =
|
|
|
986
986
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/domains/custom/{domain}",
|
|
987
987
|
})));
|
|
988
988
|
export const UpdateBucketDomainCustomResponse =
|
|
989
|
-
/*@__PURE__*/
|
|
989
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
990
990
|
domain: Schema.String,
|
|
991
991
|
ciphers: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
992
992
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -998,13 +998,13 @@ export const UpdateBucketDomainCustomResponse =
|
|
|
998
998
|
Schema.Null,
|
|
999
999
|
])),
|
|
1000
1000
|
}).pipe(T.ResponsePath("result")));
|
|
1001
|
-
export const updateBucketDomainCustom = /*@__PURE__*/
|
|
1001
|
+
export const updateBucketDomainCustom = /*@__PURE__*/ API.make(() => ({
|
|
1002
1002
|
input: UpdateBucketDomainCustomRequest,
|
|
1003
1003
|
output: UpdateBucketDomainCustomResponse,
|
|
1004
1004
|
errors: [NoSuchBucket],
|
|
1005
1005
|
}));
|
|
1006
1006
|
export const DeleteBucketDomainCustomRequest =
|
|
1007
|
-
/*@__PURE__*/
|
|
1007
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1008
1008
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1009
1009
|
domain: Schema.String.pipe(T.HttpPath("domain")),
|
|
1010
1010
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1017,16 +1017,16 @@ export const DeleteBucketDomainCustomRequest =
|
|
|
1017
1017
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/domains/custom/{domain}",
|
|
1018
1018
|
})));
|
|
1019
1019
|
export const DeleteBucketDomainCustomResponse =
|
|
1020
|
-
/*@__PURE__*/
|
|
1020
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1021
1021
|
domain: Schema.String,
|
|
1022
1022
|
}).pipe(T.ResponsePath("result")));
|
|
1023
|
-
export const deleteBucketDomainCustom = /*@__PURE__*/
|
|
1023
|
+
export const deleteBucketDomainCustom = /*@__PURE__*/ API.make(() => ({
|
|
1024
1024
|
input: DeleteBucketDomainCustomRequest,
|
|
1025
1025
|
output: DeleteBucketDomainCustomResponse,
|
|
1026
1026
|
errors: [DomainNotFound, NoSuchBucket],
|
|
1027
1027
|
}));
|
|
1028
1028
|
export const ListBucketDomainManagedsRequest =
|
|
1029
|
-
/*@__PURE__*/
|
|
1029
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1030
1030
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1031
1031
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1032
1032
|
jurisdiction: Schema.optional(Schema.Union([
|
|
@@ -1038,18 +1038,18 @@ export const ListBucketDomainManagedsRequest =
|
|
|
1038
1038
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/domains/managed",
|
|
1039
1039
|
})));
|
|
1040
1040
|
export const ListBucketDomainManagedsResponse =
|
|
1041
|
-
/*@__PURE__*/
|
|
1041
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1042
1042
|
bucketId: Schema.String,
|
|
1043
1043
|
domain: Schema.String,
|
|
1044
1044
|
enabled: Schema.Boolean,
|
|
1045
1045
|
}).pipe(T.ResponsePath("result")));
|
|
1046
|
-
export const listBucketDomainManageds = /*@__PURE__*/
|
|
1046
|
+
export const listBucketDomainManageds = /*@__PURE__*/ API.make(() => ({
|
|
1047
1047
|
input: ListBucketDomainManagedsRequest,
|
|
1048
1048
|
output: ListBucketDomainManagedsResponse,
|
|
1049
1049
|
errors: [NoSuchBucket, InvalidRoute],
|
|
1050
1050
|
}));
|
|
1051
1051
|
export const PutBucketDomainManagedRequest =
|
|
1052
|
-
/*@__PURE__*/
|
|
1052
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1053
1053
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1054
1054
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1055
1055
|
jurisdiction: Schema.optional(Schema.Union([
|
|
@@ -1062,18 +1062,18 @@ export const PutBucketDomainManagedRequest =
|
|
|
1062
1062
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/domains/managed",
|
|
1063
1063
|
})));
|
|
1064
1064
|
export const PutBucketDomainManagedResponse =
|
|
1065
|
-
/*@__PURE__*/
|
|
1065
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1066
1066
|
bucketId: Schema.String,
|
|
1067
1067
|
domain: Schema.String,
|
|
1068
1068
|
enabled: Schema.Boolean,
|
|
1069
1069
|
}).pipe(T.ResponsePath("result")));
|
|
1070
|
-
export const putBucketDomainManaged = /*@__PURE__*/
|
|
1070
|
+
export const putBucketDomainManaged = /*@__PURE__*/ API.make(() => ({
|
|
1071
1071
|
input: PutBucketDomainManagedRequest,
|
|
1072
1072
|
output: PutBucketDomainManagedResponse,
|
|
1073
1073
|
errors: [NoSuchBucket, InvalidRoute],
|
|
1074
1074
|
}));
|
|
1075
1075
|
export const GetBucketEventNotificationRequest =
|
|
1076
|
-
/*@__PURE__*/
|
|
1076
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1077
1077
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1078
1078
|
queueId: Schema.String.pipe(T.HttpPath("queueId")),
|
|
1079
1079
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1086,7 +1086,7 @@ export const GetBucketEventNotificationRequest =
|
|
|
1086
1086
|
path: "/accounts/{account_id}/event_notifications/r2/{bucketName}/configuration/queues/{queueId}",
|
|
1087
1087
|
})));
|
|
1088
1088
|
export const GetBucketEventNotificationResponse =
|
|
1089
|
-
/*@__PURE__*/
|
|
1089
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1090
1090
|
queueId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1091
1091
|
queueName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1092
1092
|
rules: Schema.optional(Schema.Union([Schema.Array(Rule2), Schema.Null])),
|
|
@@ -1097,7 +1097,7 @@ export const GetBucketEventNotificationResponse =
|
|
|
1097
1097
|
rules: "rules",
|
|
1098
1098
|
}))
|
|
1099
1099
|
.pipe(T.ResponsePath("result")));
|
|
1100
|
-
export const getBucketEventNotification = /*@__PURE__*/
|
|
1100
|
+
export const getBucketEventNotification = /*@__PURE__*/ API.make(() => ({
|
|
1101
1101
|
input: GetBucketEventNotificationRequest,
|
|
1102
1102
|
output: GetBucketEventNotificationResponse,
|
|
1103
1103
|
errors: [
|
|
@@ -1110,7 +1110,7 @@ export const getBucketEventNotification = /*@__PURE__*/ /*#__PURE__*/ API.make((
|
|
|
1110
1110
|
],
|
|
1111
1111
|
}));
|
|
1112
1112
|
export const ListBucketEventNotificationsRequest =
|
|
1113
|
-
/*@__PURE__*/
|
|
1113
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1114
1114
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1115
1115
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1116
1116
|
jurisdiction: Schema.optional(Schema.Union([
|
|
@@ -1122,11 +1122,11 @@ export const ListBucketEventNotificationsRequest =
|
|
|
1122
1122
|
path: "/accounts/{account_id}/event_notifications/r2/{bucketName}/configuration",
|
|
1123
1123
|
})));
|
|
1124
1124
|
export const ListBucketEventNotificationsResponse =
|
|
1125
|
-
/*@__PURE__*/
|
|
1125
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1126
1126
|
bucketName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1127
1127
|
queues: Schema.optional(Schema.Union([Schema.Array(Queue), Schema.Null])),
|
|
1128
1128
|
}).pipe(T.ResponsePath("result")));
|
|
1129
|
-
export const listBucketEventNotifications = /*@__PURE__*/
|
|
1129
|
+
export const listBucketEventNotifications = /*@__PURE__*/ API.make(() => ({
|
|
1130
1130
|
input: ListBucketEventNotificationsRequest,
|
|
1131
1131
|
output: ListBucketEventNotificationsResponse,
|
|
1132
1132
|
errors: [
|
|
@@ -1137,7 +1137,7 @@ export const listBucketEventNotifications = /*@__PURE__*/ /*#__PURE__*/ API.make
|
|
|
1137
1137
|
],
|
|
1138
1138
|
}));
|
|
1139
1139
|
export const PutBucketEventNotificationRequest =
|
|
1140
|
-
/*@__PURE__*/
|
|
1140
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1141
1141
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1142
1142
|
queueId: Schema.String.pipe(T.HttpPath("queueId")),
|
|
1143
1143
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1151,8 +1151,8 @@ export const PutBucketEventNotificationRequest =
|
|
|
1151
1151
|
path: "/accounts/{account_id}/event_notifications/r2/{bucketName}/configuration/queues/{queueId}",
|
|
1152
1152
|
})));
|
|
1153
1153
|
export const PutBucketEventNotificationResponse =
|
|
1154
|
-
/*@__PURE__*/
|
|
1155
|
-
export const putBucketEventNotification = /*@__PURE__*/
|
|
1154
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
1155
|
+
export const putBucketEventNotification = /*@__PURE__*/ API.make(() => ({
|
|
1156
1156
|
input: PutBucketEventNotificationRequest,
|
|
1157
1157
|
output: PutBucketEventNotificationResponse,
|
|
1158
1158
|
errors: [
|
|
@@ -1164,7 +1164,7 @@ export const putBucketEventNotification = /*@__PURE__*/ /*#__PURE__*/ API.make((
|
|
|
1164
1164
|
],
|
|
1165
1165
|
}));
|
|
1166
1166
|
export const DeleteBucketEventNotificationRequest =
|
|
1167
|
-
/*@__PURE__*/
|
|
1167
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1168
1168
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1169
1169
|
queueId: Schema.String.pipe(T.HttpPath("queueId")),
|
|
1170
1170
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1177,8 +1177,8 @@ export const DeleteBucketEventNotificationRequest =
|
|
|
1177
1177
|
path: "/accounts/{account_id}/event_notifications/r2/{bucketName}/configuration/queues/{queueId}",
|
|
1178
1178
|
})));
|
|
1179
1179
|
export const DeleteBucketEventNotificationResponse =
|
|
1180
|
-
/*@__PURE__*/
|
|
1181
|
-
export const deleteBucketEventNotification = /*@__PURE__*/
|
|
1180
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
1181
|
+
export const deleteBucketEventNotification = /*@__PURE__*/ API.make(() => ({
|
|
1182
1182
|
input: DeleteBucketEventNotificationRequest,
|
|
1183
1183
|
output: DeleteBucketEventNotificationResponse,
|
|
1184
1184
|
errors: [
|
|
@@ -1189,7 +1189,7 @@ export const deleteBucketEventNotification = /*@__PURE__*/ /*#__PURE__*/ API.mak
|
|
|
1189
1189
|
],
|
|
1190
1190
|
}));
|
|
1191
1191
|
export const GetBucketLifecycleRequest =
|
|
1192
|
-
/*@__PURE__*/
|
|
1192
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1193
1193
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1194
1194
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1195
1195
|
jurisdiction: Schema.optional(Schema.Union([
|
|
@@ -1201,16 +1201,16 @@ export const GetBucketLifecycleRequest =
|
|
|
1201
1201
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/lifecycle",
|
|
1202
1202
|
})));
|
|
1203
1203
|
export const GetBucketLifecycleResponse =
|
|
1204
|
-
/*@__PURE__*/
|
|
1204
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1205
1205
|
rules: Schema.optional(Schema.Union([Schema.Array(Rule4), Schema.Null])),
|
|
1206
1206
|
}).pipe(T.ResponsePath("result")));
|
|
1207
|
-
export const getBucketLifecycle = /*@__PURE__*/
|
|
1207
|
+
export const getBucketLifecycle = /*@__PURE__*/ API.make(() => ({
|
|
1208
1208
|
input: GetBucketLifecycleRequest,
|
|
1209
1209
|
output: GetBucketLifecycleResponse,
|
|
1210
1210
|
errors: [NoSuchBucket, InvalidRoute],
|
|
1211
1211
|
}));
|
|
1212
1212
|
export const PutBucketLifecycleRequest =
|
|
1213
|
-
/*@__PURE__*/
|
|
1213
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1214
1214
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1215
1215
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1216
1216
|
jurisdiction: Schema.optional(Schema.Union([
|
|
@@ -1223,13 +1223,13 @@ export const PutBucketLifecycleRequest =
|
|
|
1223
1223
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/lifecycle",
|
|
1224
1224
|
})));
|
|
1225
1225
|
export const PutBucketLifecycleResponse =
|
|
1226
|
-
/*@__PURE__*/
|
|
1227
|
-
export const putBucketLifecycle = /*@__PURE__*/
|
|
1226
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
1227
|
+
export const putBucketLifecycle = /*@__PURE__*/ API.make(() => ({
|
|
1228
1228
|
input: PutBucketLifecycleRequest,
|
|
1229
1229
|
output: PutBucketLifecycleResponse,
|
|
1230
1230
|
errors: [NoSuchBucket, InvalidRoute],
|
|
1231
1231
|
}));
|
|
1232
|
-
export const GetBucketLockRequest = /*@__PURE__*/
|
|
1232
|
+
export const GetBucketLockRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1233
1233
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1234
1234
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1235
1235
|
jurisdiction: Schema.optional(Schema.Union([
|
|
@@ -1240,15 +1240,15 @@ export const GetBucketLockRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
1240
1240
|
method: "GET",
|
|
1241
1241
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/lock",
|
|
1242
1242
|
})));
|
|
1243
|
-
export const GetBucketLockResponse = /*@__PURE__*/
|
|
1243
|
+
export const GetBucketLockResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1244
1244
|
rules: Schema.optional(Schema.Union([Schema.Array(Rule6), Schema.Null])),
|
|
1245
1245
|
}).pipe(T.ResponsePath("result")));
|
|
1246
|
-
export const getBucketLock = /*@__PURE__*/
|
|
1246
|
+
export const getBucketLock = /*@__PURE__*/ API.make(() => ({
|
|
1247
1247
|
input: GetBucketLockRequest,
|
|
1248
1248
|
output: GetBucketLockResponse,
|
|
1249
1249
|
errors: [NoSuchBucket, InvalidRoute],
|
|
1250
1250
|
}));
|
|
1251
|
-
export const PutBucketLockRequest = /*@__PURE__*/
|
|
1251
|
+
export const PutBucketLockRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1252
1252
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1253
1253
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1254
1254
|
jurisdiction: Schema.optional(Schema.Union([
|
|
@@ -1260,28 +1260,28 @@ export const PutBucketLockRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
1260
1260
|
method: "PUT",
|
|
1261
1261
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/lock",
|
|
1262
1262
|
})));
|
|
1263
|
-
export const PutBucketLockResponse = /*@__PURE__*/
|
|
1264
|
-
export const putBucketLock = /*@__PURE__*/
|
|
1263
|
+
export const PutBucketLockResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
1264
|
+
export const putBucketLock = /*@__PURE__*/ API.make(() => ({
|
|
1265
1265
|
input: PutBucketLockRequest,
|
|
1266
1266
|
output: PutBucketLockResponse,
|
|
1267
1267
|
errors: [NoSuchBucket, InvalidRoute],
|
|
1268
1268
|
}));
|
|
1269
1269
|
export const ListBucketMetricsRequest =
|
|
1270
|
-
/*@__PURE__*/
|
|
1270
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1271
1271
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1272
1272
|
}).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/r2/metrics" })));
|
|
1273
1273
|
export const ListBucketMetricsResponse =
|
|
1274
|
-
/*@__PURE__*/
|
|
1274
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1275
1275
|
infrequentAccess: Schema.optional(Schema.Union([InfrequentAccess, Schema.Null])),
|
|
1276
1276
|
standard: Schema.optional(Schema.Union([InfrequentAccess, Schema.Null])),
|
|
1277
1277
|
}).pipe(T.ResponsePath("result")));
|
|
1278
|
-
export const listBucketMetrics = /*@__PURE__*/
|
|
1278
|
+
export const listBucketMetrics = /*@__PURE__*/ API.make(() => ({
|
|
1279
1279
|
input: ListBucketMetricsRequest,
|
|
1280
1280
|
output: ListBucketMetricsResponse,
|
|
1281
1281
|
errors: [InvalidRoute],
|
|
1282
1282
|
}));
|
|
1283
1283
|
export const GetBucketObjectRequest =
|
|
1284
|
-
/*@__PURE__*/
|
|
1284
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1285
1285
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1286
1286
|
objectKey: Schema.String.pipe(T.HttpPath("objectKey")),
|
|
1287
1287
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1296,14 +1296,14 @@ export const GetBucketObjectRequest =
|
|
|
1296
1296
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/objects/{objectKey}",
|
|
1297
1297
|
})));
|
|
1298
1298
|
export const GetBucketObjectResponse =
|
|
1299
|
-
/*@__PURE__*/
|
|
1300
|
-
export const getBucketObject = /*@__PURE__*/
|
|
1299
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown);
|
|
1300
|
+
export const getBucketObject = /*@__PURE__*/ API.make(() => ({
|
|
1301
1301
|
input: GetBucketObjectRequest,
|
|
1302
1302
|
output: GetBucketObjectResponse,
|
|
1303
1303
|
errors: [],
|
|
1304
1304
|
}));
|
|
1305
1305
|
export const ListBucketObjectsRequest =
|
|
1306
|
-
/*@__PURE__*/
|
|
1306
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1307
1307
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1308
1308
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1309
1309
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -1320,11 +1320,11 @@ export const ListBucketObjectsRequest =
|
|
|
1320
1320
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/objects",
|
|
1321
1321
|
})));
|
|
1322
1322
|
export const ListBucketObjectsResponse =
|
|
1323
|
-
/*@__PURE__*/
|
|
1323
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1324
1324
|
result: Schema.Array(ListBucketObjectsResponseResult),
|
|
1325
1325
|
resultInfo: Schema.optional(Schema.Union([ListBucketObjectsResponseResultInfo, Schema.Null])),
|
|
1326
1326
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
1327
|
-
export const listBucketObjects = /*@__PURE__*/
|
|
1327
|
+
export const listBucketObjects = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1328
1328
|
input: ListBucketObjectsRequest,
|
|
1329
1329
|
output: ListBucketObjectsResponse,
|
|
1330
1330
|
errors: [],
|
|
@@ -1337,7 +1337,7 @@ export const listBucketObjects = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated((
|
|
|
1337
1337
|
},
|
|
1338
1338
|
}));
|
|
1339
1339
|
export const DeleteBucketObjectRequest =
|
|
1340
|
-
/*@__PURE__*/
|
|
1340
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1341
1341
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1342
1342
|
objectKey: Schema.String.pipe(T.HttpPath("objectKey")),
|
|
1343
1343
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1350,16 +1350,16 @@ export const DeleteBucketObjectRequest =
|
|
|
1350
1350
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/objects/{objectKey}",
|
|
1351
1351
|
})));
|
|
1352
1352
|
export const DeleteBucketObjectResponse =
|
|
1353
|
-
/*@__PURE__*/
|
|
1353
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1354
1354
|
key: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1355
1355
|
}).pipe(T.ResponsePath("result")));
|
|
1356
|
-
export const deleteBucketObject = /*@__PURE__*/
|
|
1356
|
+
export const deleteBucketObject = /*@__PURE__*/ API.make(() => ({
|
|
1357
1357
|
input: DeleteBucketObjectRequest,
|
|
1358
1358
|
output: DeleteBucketObjectResponse,
|
|
1359
1359
|
errors: [],
|
|
1360
1360
|
}));
|
|
1361
1361
|
export const UploadBucketObjectRequest =
|
|
1362
|
-
/*@__PURE__*/
|
|
1362
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1363
1363
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1364
1364
|
objectKey: Schema.String.pipe(T.HttpPath("objectKey")),
|
|
1365
1365
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1376,7 +1376,7 @@ export const UploadBucketObjectRequest =
|
|
|
1376
1376
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/objects/{objectKey}",
|
|
1377
1377
|
})));
|
|
1378
1378
|
export const UploadBucketObjectResponse =
|
|
1379
|
-
/*@__PURE__*/
|
|
1379
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1380
1380
|
etag: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1381
1381
|
key: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1382
1382
|
size: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1399,12 +1399,12 @@ export const UploadBucketObjectResponse =
|
|
|
1399
1399
|
version: "version",
|
|
1400
1400
|
}))
|
|
1401
1401
|
.pipe(T.ResponsePath("result")));
|
|
1402
|
-
export const uploadBucketObject = /*@__PURE__*/
|
|
1402
|
+
export const uploadBucketObject = /*@__PURE__*/ API.make(() => ({
|
|
1403
1403
|
input: UploadBucketObjectRequest,
|
|
1404
1404
|
output: UploadBucketObjectResponse,
|
|
1405
1405
|
errors: [],
|
|
1406
1406
|
}));
|
|
1407
|
-
export const GetBucketSippyRequest = /*@__PURE__*/
|
|
1407
|
+
export const GetBucketSippyRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1408
1408
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1409
1409
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1410
1410
|
jurisdiction: Schema.optional(Schema.Union([
|
|
@@ -1416,17 +1416,17 @@ export const GetBucketSippyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
1416
1416
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/sippy",
|
|
1417
1417
|
})));
|
|
1418
1418
|
export const GetBucketSippyResponse =
|
|
1419
|
-
/*@__PURE__*/
|
|
1419
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1420
1420
|
destination: Schema.optional(Schema.Union([Destination, Schema.Null])),
|
|
1421
1421
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1422
1422
|
source: Schema.optional(Schema.Union([Source, Schema.Null])),
|
|
1423
1423
|
}).pipe(T.ResponsePath("result")));
|
|
1424
|
-
export const getBucketSippy = /*@__PURE__*/
|
|
1424
|
+
export const getBucketSippy = /*@__PURE__*/ API.make(() => ({
|
|
1425
1425
|
input: GetBucketSippyRequest,
|
|
1426
1426
|
output: GetBucketSippyResponse,
|
|
1427
1427
|
errors: [NoSuchBucket, InvalidRoute, Forbidden],
|
|
1428
1428
|
}));
|
|
1429
|
-
export const PutBucketSippyRequest = /*@__PURE__*/
|
|
1429
|
+
export const PutBucketSippyRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1430
1430
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1431
1431
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1432
1432
|
jurisdiction: Schema.optional(Schema.Union([
|
|
@@ -1440,18 +1440,18 @@ export const PutBucketSippyRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
1440
1440
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/sippy",
|
|
1441
1441
|
})));
|
|
1442
1442
|
export const PutBucketSippyResponse =
|
|
1443
|
-
/*@__PURE__*/
|
|
1443
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1444
1444
|
destination: Schema.optional(Schema.Union([Destination, Schema.Null])),
|
|
1445
1445
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1446
1446
|
source: Schema.optional(Schema.Union([Source, Schema.Null])),
|
|
1447
1447
|
}).pipe(T.ResponsePath("result")));
|
|
1448
|
-
export const putBucketSippy = /*@__PURE__*/
|
|
1448
|
+
export const putBucketSippy = /*@__PURE__*/ API.make(() => ({
|
|
1449
1449
|
input: PutBucketSippyRequest,
|
|
1450
1450
|
output: PutBucketSippyResponse,
|
|
1451
1451
|
errors: [InvalidUpstreamCredentials, InvalidRoute],
|
|
1452
1452
|
}));
|
|
1453
1453
|
export const DeleteBucketSippyRequest =
|
|
1454
|
-
/*@__PURE__*/
|
|
1454
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1455
1455
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1456
1456
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1457
1457
|
jurisdiction: Schema.optional(Schema.Union([
|
|
@@ -1463,15 +1463,15 @@ export const DeleteBucketSippyRequest =
|
|
|
1463
1463
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/sippy",
|
|
1464
1464
|
})));
|
|
1465
1465
|
export const DeleteBucketSippyResponse =
|
|
1466
|
-
/*@__PURE__*/
|
|
1466
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1467
1467
|
enabled: Schema.optional(Schema.Union([Schema.Literal(false), Schema.Null])),
|
|
1468
1468
|
}).pipe(T.ResponsePath("result")));
|
|
1469
|
-
export const deleteBucketSippy = /*@__PURE__*/
|
|
1469
|
+
export const deleteBucketSippy = /*@__PURE__*/ API.make(() => ({
|
|
1470
1470
|
input: DeleteBucketSippyRequest,
|
|
1471
1471
|
output: DeleteBucketSippyResponse,
|
|
1472
1472
|
errors: [NoSuchBucket, InvalidRoute],
|
|
1473
1473
|
}));
|
|
1474
|
-
export const GetObjectRequest = /*@__PURE__*/
|
|
1474
|
+
export const GetObjectRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1475
1475
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1476
1476
|
objectName: Schema.String.pipe(T.HttpPath("objectName")),
|
|
1477
1477
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1484,7 +1484,7 @@ export const GetObjectRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
1484
1484
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/objects/{objectName}",
|
|
1485
1485
|
responseContentType: "binary",
|
|
1486
1486
|
})));
|
|
1487
|
-
export const GetObjectResponse = /*@__PURE__*/
|
|
1487
|
+
export const GetObjectResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1488
1488
|
body: BinaryStreamResponseSchema.pipe(T.BinaryResponseBody()),
|
|
1489
1489
|
etag: Schema.optional(Schema.String).pipe(T.HttpResponseHeader("etag")),
|
|
1490
1490
|
contentType: Schema.optional(Schema.String).pipe(T.HttpResponseHeader("content-type")),
|
|
@@ -1501,7 +1501,7 @@ export const GetObjectResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
1501
1501
|
Schema.String,
|
|
1502
1502
|
])).pipe(T.HttpResponseHeader("cf-r2-storage-class")),
|
|
1503
1503
|
}));
|
|
1504
|
-
export const getObject = /*@__PURE__*/
|
|
1504
|
+
export const getObject = /*@__PURE__*/ API.make(() => ({
|
|
1505
1505
|
input: GetObjectRequest,
|
|
1506
1506
|
output: GetObjectResponse,
|
|
1507
1507
|
errors: [
|
|
@@ -1513,7 +1513,7 @@ export const getObject = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
1513
1513
|
InvalidRoute,
|
|
1514
1514
|
],
|
|
1515
1515
|
}));
|
|
1516
|
-
export const ListObjectsRequest = /*@__PURE__*/
|
|
1516
|
+
export const ListObjectsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1517
1517
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1518
1518
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1519
1519
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -1529,11 +1529,11 @@ export const ListObjectsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
1529
1529
|
method: "GET",
|
|
1530
1530
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/objects",
|
|
1531
1531
|
})));
|
|
1532
|
-
export const ListObjectsResponse = /*@__PURE__*/
|
|
1532
|
+
export const ListObjectsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1533
1533
|
result: Schema.Array(ListObjectsResponseResult),
|
|
1534
1534
|
resultInfo: Schema.optional(Schema.Union([ListBucketObjectsResponseResultInfo, Schema.Null])),
|
|
1535
1535
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
1536
|
-
export const listObjects = /*@__PURE__*/
|
|
1536
|
+
export const listObjects = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1537
1537
|
input: ListObjectsRequest,
|
|
1538
1538
|
output: ListObjectsResponse,
|
|
1539
1539
|
errors: [NoSuchBucket, InvalidRoute, NoRoute],
|
|
@@ -1545,7 +1545,7 @@ export const listObjects = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => (
|
|
|
1545
1545
|
pageSize: "perPage",
|
|
1546
1546
|
},
|
|
1547
1547
|
}));
|
|
1548
|
-
export const PutObjectRequest = /*@__PURE__*/
|
|
1548
|
+
export const PutObjectRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1549
1549
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1550
1550
|
objectName: Schema.String.pipe(T.HttpPath("objectName")),
|
|
1551
1551
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1570,13 +1570,13 @@ export const PutObjectRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
1570
1570
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/objects/{objectName}",
|
|
1571
1571
|
contentType: "binary",
|
|
1572
1572
|
})));
|
|
1573
|
-
export const PutObjectResponse = /*@__PURE__*/
|
|
1574
|
-
export const putObject = /*@__PURE__*/
|
|
1573
|
+
export const PutObjectResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
1574
|
+
export const putObject = /*@__PURE__*/ API.make(() => ({
|
|
1575
1575
|
input: PutObjectRequest,
|
|
1576
1576
|
output: PutObjectResponse,
|
|
1577
1577
|
errors: [NoSuchBucket, InvalidRoute, NoRoute],
|
|
1578
1578
|
}));
|
|
1579
|
-
export const DeleteObjectsRequest = /*@__PURE__*/
|
|
1579
|
+
export const DeleteObjectsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1580
1580
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1581
1581
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1582
1582
|
prefix: Schema.optional(Schema.String).pipe(T.HttpQuery("prefix")),
|
|
@@ -1589,16 +1589,16 @@ export const DeleteObjectsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
1589
1589
|
method: "DELETE",
|
|
1590
1590
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/objects",
|
|
1591
1591
|
})));
|
|
1592
|
-
export const DeleteObjectsResponse = /*@__PURE__*/
|
|
1592
|
+
export const DeleteObjectsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Union([
|
|
1593
1593
|
Schema.Array(DeleteObjectsResponse2),
|
|
1594
1594
|
DeleteObjectsResponse1,
|
|
1595
1595
|
]).pipe(T.ResponsePath("result")));
|
|
1596
|
-
export const deleteObjects = /*@__PURE__*/
|
|
1596
|
+
export const deleteObjects = /*@__PURE__*/ API.make(() => ({
|
|
1597
1597
|
input: DeleteObjectsRequest,
|
|
1598
1598
|
output: DeleteObjectsResponse,
|
|
1599
1599
|
errors: [NoSuchBucket, InvalidRoute, NoRoute],
|
|
1600
1600
|
}));
|
|
1601
|
-
export const DeleteObjectRequest = /*@__PURE__*/
|
|
1601
|
+
export const DeleteObjectRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1602
1602
|
bucketName: Schema.String.pipe(T.HttpPath("bucketName")),
|
|
1603
1603
|
objectName: Schema.String.pipe(T.HttpPath("objectName")),
|
|
1604
1604
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1610,14 +1610,14 @@ export const DeleteObjectRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
1610
1610
|
method: "DELETE",
|
|
1611
1611
|
path: "/accounts/{account_id}/r2/buckets/{bucketName}/objects/{objectName}",
|
|
1612
1612
|
})));
|
|
1613
|
-
export const DeleteObjectResponse = /*@__PURE__*/
|
|
1614
|
-
export const deleteObject = /*@__PURE__*/
|
|
1613
|
+
export const DeleteObjectResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
1614
|
+
export const deleteObject = /*@__PURE__*/ API.make(() => ({
|
|
1615
1615
|
input: DeleteObjectRequest,
|
|
1616
1616
|
output: DeleteObjectResponse,
|
|
1617
1617
|
errors: [NoSuchBucket, InvalidRoute, NoRoute],
|
|
1618
1618
|
}));
|
|
1619
1619
|
export const SourceSuperSlurperConnectivityPrecheckRequest =
|
|
1620
|
-
/*@__PURE__*/
|
|
1620
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1621
1621
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1622
1622
|
bucket: Schema.String,
|
|
1623
1623
|
secret: Secret,
|
|
@@ -1638,19 +1638,19 @@ export const SourceSuperSlurperConnectivityPrecheckRequest =
|
|
|
1638
1638
|
path: "/accounts/{account_id}/slurper/source/connectivity-precheck",
|
|
1639
1639
|
})));
|
|
1640
1640
|
export const SourceSuperSlurperConnectivityPrecheckResponse =
|
|
1641
|
-
/*@__PURE__*/
|
|
1641
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1642
1642
|
connectivityStatus: Schema.optional(Schema.Union([
|
|
1643
1643
|
Schema.Union([Schema.Literals(["success", "error"]), Schema.String]),
|
|
1644
1644
|
Schema.Null,
|
|
1645
1645
|
])),
|
|
1646
1646
|
}).pipe(T.ResponsePath("result")));
|
|
1647
|
-
export const sourceSuperSlurperConnectivityPrecheck = /*@__PURE__*/
|
|
1647
|
+
export const sourceSuperSlurperConnectivityPrecheck = /*@__PURE__*/ API.make(() => ({
|
|
1648
1648
|
input: SourceSuperSlurperConnectivityPrecheckRequest,
|
|
1649
1649
|
output: SourceSuperSlurperConnectivityPrecheckResponse,
|
|
1650
1650
|
errors: [],
|
|
1651
1651
|
}));
|
|
1652
1652
|
export const TargetSuperSlurperConnectivityPrecheckRequest =
|
|
1653
|
-
/*@__PURE__*/
|
|
1653
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1654
1654
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1655
1655
|
bucket: Schema.String,
|
|
1656
1656
|
secret: Secret2,
|
|
@@ -1664,19 +1664,19 @@ export const TargetSuperSlurperConnectivityPrecheckRequest =
|
|
|
1664
1664
|
path: "/accounts/{account_id}/slurper/target/connectivity-precheck",
|
|
1665
1665
|
})));
|
|
1666
1666
|
export const TargetSuperSlurperConnectivityPrecheckResponse =
|
|
1667
|
-
/*@__PURE__*/
|
|
1667
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1668
1668
|
connectivityStatus: Schema.optional(Schema.Union([
|
|
1669
1669
|
Schema.Union([Schema.Literals(["success", "error"]), Schema.String]),
|
|
1670
1670
|
Schema.Null,
|
|
1671
1671
|
])),
|
|
1672
1672
|
}).pipe(T.ResponsePath("result")));
|
|
1673
|
-
export const targetSuperSlurperConnectivityPrecheck = /*@__PURE__*/
|
|
1673
|
+
export const targetSuperSlurperConnectivityPrecheck = /*@__PURE__*/ API.make(() => ({
|
|
1674
1674
|
input: TargetSuperSlurperConnectivityPrecheckRequest,
|
|
1675
1675
|
output: TargetSuperSlurperConnectivityPrecheckResponse,
|
|
1676
1676
|
errors: [],
|
|
1677
1677
|
}));
|
|
1678
1678
|
export const GetSuperSlurperJobRequest =
|
|
1679
|
-
/*@__PURE__*/
|
|
1679
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1680
1680
|
jobId: Schema.String.pipe(T.HttpPath("jobId")),
|
|
1681
1681
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1682
1682
|
}).pipe(T.Http({
|
|
@@ -1684,7 +1684,7 @@ export const GetSuperSlurperJobRequest =
|
|
|
1684
1684
|
path: "/accounts/{account_id}/slurper/jobs/{jobId}",
|
|
1685
1685
|
})));
|
|
1686
1686
|
export const GetSuperSlurperJobResponse =
|
|
1687
|
-
/*@__PURE__*/
|
|
1687
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1688
1688
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1689
1689
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1690
1690
|
finishedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1706,22 +1706,22 @@ export const GetSuperSlurperJobResponse =
|
|
|
1706
1706
|
])),
|
|
1707
1707
|
target: Schema.optional(Schema.Union([Target, Schema.Null])),
|
|
1708
1708
|
}).pipe(T.ResponsePath("result")));
|
|
1709
|
-
export const getSuperSlurperJob = /*@__PURE__*/
|
|
1709
|
+
export const getSuperSlurperJob = /*@__PURE__*/ API.make(() => ({
|
|
1710
1710
|
input: GetSuperSlurperJobRequest,
|
|
1711
1711
|
output: GetSuperSlurperJobResponse,
|
|
1712
1712
|
errors: [],
|
|
1713
1713
|
}));
|
|
1714
1714
|
export const ListSuperSlurperJobsRequest =
|
|
1715
|
-
/*@__PURE__*/
|
|
1715
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1716
1716
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1717
1717
|
limit: Schema.optional(Schema.Number).pipe(T.HttpQuery("limit")),
|
|
1718
1718
|
offset: Schema.optional(Schema.Number).pipe(T.HttpQuery("offset")),
|
|
1719
1719
|
}).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/slurper/jobs" })));
|
|
1720
1720
|
export const ListSuperSlurperJobsResponse =
|
|
1721
|
-
/*@__PURE__*/
|
|
1721
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1722
1722
|
result: Schema.Array(ListSuperSlurperJobsResponseResult),
|
|
1723
1723
|
}));
|
|
1724
|
-
export const listSuperSlurperJobs = /*@__PURE__*/
|
|
1724
|
+
export const listSuperSlurperJobs = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1725
1725
|
input: ListSuperSlurperJobsRequest,
|
|
1726
1726
|
output: ListSuperSlurperJobsResponse,
|
|
1727
1727
|
errors: [],
|
|
@@ -1731,7 +1731,7 @@ export const listSuperSlurperJobs = /*@__PURE__*/ /*#__PURE__*/ API.makePaginate
|
|
|
1731
1731
|
},
|
|
1732
1732
|
}));
|
|
1733
1733
|
export const CreateSuperSlurperJobRequest =
|
|
1734
|
-
/*@__PURE__*/
|
|
1734
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1735
1735
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1736
1736
|
overwrite: Schema.optional(Schema.Boolean),
|
|
1737
1737
|
source: Schema.optional(Schema.Union([
|
|
@@ -1742,16 +1742,16 @@ export const CreateSuperSlurperJobRequest =
|
|
|
1742
1742
|
target: Schema.optional(Target2),
|
|
1743
1743
|
}).pipe(T.Http({ method: "POST", path: "/accounts/{account_id}/slurper/jobs" })));
|
|
1744
1744
|
export const CreateSuperSlurperJobResponse =
|
|
1745
|
-
/*@__PURE__*/
|
|
1745
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1746
1746
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1747
1747
|
}).pipe(T.ResponsePath("result")));
|
|
1748
|
-
export const createSuperSlurperJob = /*@__PURE__*/
|
|
1748
|
+
export const createSuperSlurperJob = /*@__PURE__*/ API.make(() => ({
|
|
1749
1749
|
input: CreateSuperSlurperJobRequest,
|
|
1750
1750
|
output: CreateSuperSlurperJobResponse,
|
|
1751
1751
|
errors: [],
|
|
1752
1752
|
}));
|
|
1753
1753
|
export const AbortSuperSlurperJobRequest =
|
|
1754
|
-
/*@__PURE__*/
|
|
1754
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1755
1755
|
jobId: Schema.String.pipe(T.HttpPath("jobId")),
|
|
1756
1756
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1757
1757
|
}).pipe(T.Http({
|
|
@@ -1759,14 +1759,14 @@ export const AbortSuperSlurperJobRequest =
|
|
|
1759
1759
|
path: "/accounts/{account_id}/slurper/jobs/{jobId}/abort",
|
|
1760
1760
|
})));
|
|
1761
1761
|
export const AbortSuperSlurperJobResponse =
|
|
1762
|
-
/*@__PURE__*/
|
|
1763
|
-
export const abortSuperSlurperJob = /*@__PURE__*/
|
|
1762
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
|
|
1763
|
+
export const abortSuperSlurperJob = /*@__PURE__*/ API.make(() => ({
|
|
1764
1764
|
input: AbortSuperSlurperJobRequest,
|
|
1765
1765
|
output: AbortSuperSlurperJobResponse,
|
|
1766
1766
|
errors: [],
|
|
1767
1767
|
}));
|
|
1768
1768
|
export const PauseSuperSlurperJobRequest =
|
|
1769
|
-
/*@__PURE__*/
|
|
1769
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1770
1770
|
jobId: Schema.String.pipe(T.HttpPath("jobId")),
|
|
1771
1771
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1772
1772
|
}).pipe(T.Http({
|
|
@@ -1774,14 +1774,14 @@ export const PauseSuperSlurperJobRequest =
|
|
|
1774
1774
|
path: "/accounts/{account_id}/slurper/jobs/{jobId}/pause",
|
|
1775
1775
|
})));
|
|
1776
1776
|
export const PauseSuperSlurperJobResponse =
|
|
1777
|
-
/*@__PURE__*/
|
|
1778
|
-
export const pauseSuperSlurperJob = /*@__PURE__*/
|
|
1777
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
|
|
1778
|
+
export const pauseSuperSlurperJob = /*@__PURE__*/ API.make(() => ({
|
|
1779
1779
|
input: PauseSuperSlurperJobRequest,
|
|
1780
1780
|
output: PauseSuperSlurperJobResponse,
|
|
1781
1781
|
errors: [],
|
|
1782
1782
|
}));
|
|
1783
1783
|
export const ProgressSuperSlurperJobRequest =
|
|
1784
|
-
/*@__PURE__*/
|
|
1784
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1785
1785
|
jobId: Schema.String.pipe(T.HttpPath("jobId")),
|
|
1786
1786
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1787
1787
|
}).pipe(T.Http({
|
|
@@ -1789,7 +1789,7 @@ export const ProgressSuperSlurperJobRequest =
|
|
|
1789
1789
|
path: "/accounts/{account_id}/slurper/jobs/{jobId}/progress",
|
|
1790
1790
|
})));
|
|
1791
1791
|
export const ProgressSuperSlurperJobResponse =
|
|
1792
|
-
/*@__PURE__*/
|
|
1792
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1793
1793
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1794
1794
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1795
1795
|
failedObjects: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -1804,13 +1804,13 @@ export const ProgressSuperSlurperJobResponse =
|
|
|
1804
1804
|
])),
|
|
1805
1805
|
transferredObjects: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1806
1806
|
}).pipe(T.ResponsePath("result")));
|
|
1807
|
-
export const progressSuperSlurperJob = /*@__PURE__*/
|
|
1807
|
+
export const progressSuperSlurperJob = /*@__PURE__*/ API.make(() => ({
|
|
1808
1808
|
input: ProgressSuperSlurperJobRequest,
|
|
1809
1809
|
output: ProgressSuperSlurperJobResponse,
|
|
1810
1810
|
errors: [],
|
|
1811
1811
|
}));
|
|
1812
1812
|
export const ResumeSuperSlurperJobRequest =
|
|
1813
|
-
/*@__PURE__*/
|
|
1813
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1814
1814
|
jobId: Schema.String.pipe(T.HttpPath("jobId")),
|
|
1815
1815
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1816
1816
|
}).pipe(T.Http({
|
|
@@ -1818,14 +1818,14 @@ export const ResumeSuperSlurperJobRequest =
|
|
|
1818
1818
|
path: "/accounts/{account_id}/slurper/jobs/{jobId}/resume",
|
|
1819
1819
|
})));
|
|
1820
1820
|
export const ResumeSuperSlurperJobResponse =
|
|
1821
|
-
/*@__PURE__*/
|
|
1822
|
-
export const resumeSuperSlurperJob = /*@__PURE__*/
|
|
1821
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
|
|
1822
|
+
export const resumeSuperSlurperJob = /*@__PURE__*/ API.make(() => ({
|
|
1823
1823
|
input: ResumeSuperSlurperJobRequest,
|
|
1824
1824
|
output: ResumeSuperSlurperJobResponse,
|
|
1825
1825
|
errors: [],
|
|
1826
1826
|
}));
|
|
1827
1827
|
export const ListSuperSlurperJobLogsRequest =
|
|
1828
|
-
/*@__PURE__*/
|
|
1828
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1829
1829
|
jobId: Schema.String.pipe(T.HttpPath("jobId")),
|
|
1830
1830
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1831
1831
|
limit: Schema.optional(Schema.Number).pipe(T.HttpQuery("limit")),
|
|
@@ -1835,10 +1835,10 @@ export const ListSuperSlurperJobLogsRequest =
|
|
|
1835
1835
|
path: "/accounts/{account_id}/slurper/jobs/{jobId}/logs",
|
|
1836
1836
|
})));
|
|
1837
1837
|
export const ListSuperSlurperJobLogsResponse =
|
|
1838
|
-
/*@__PURE__*/
|
|
1838
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1839
1839
|
result: Schema.Array(ListSuperSlurperJobLogsResponseResult),
|
|
1840
1840
|
}));
|
|
1841
|
-
export const listSuperSlurperJobLogs = /*@__PURE__*/
|
|
1841
|
+
export const listSuperSlurperJobLogs = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1842
1842
|
input: ListSuperSlurperJobLogsRequest,
|
|
1843
1843
|
output: ListSuperSlurperJobLogsResponse,
|
|
1844
1844
|
errors: [],
|
|
@@ -1848,7 +1848,7 @@ export const listSuperSlurperJobLogs = /*@__PURE__*/ /*#__PURE__*/ API.makePagin
|
|
|
1848
1848
|
},
|
|
1849
1849
|
}));
|
|
1850
1850
|
export const CreateTemporaryCredentialRequest =
|
|
1851
|
-
/*@__PURE__*/
|
|
1851
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1852
1852
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1853
1853
|
bucket: Schema.String,
|
|
1854
1854
|
parentAccessKeyId: Schema.String,
|
|
@@ -1869,12 +1869,12 @@ export const CreateTemporaryCredentialRequest =
|
|
|
1869
1869
|
path: "/accounts/{account_id}/r2/temp-access-credentials",
|
|
1870
1870
|
})));
|
|
1871
1871
|
export const CreateTemporaryCredentialResponse =
|
|
1872
|
-
/*@__PURE__*/
|
|
1872
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1873
1873
|
accessKeyId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1874
1874
|
secretAccessKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1875
1875
|
sessionToken: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1876
1876
|
}).pipe(T.ResponsePath("result")));
|
|
1877
|
-
export const createTemporaryCredential = /*@__PURE__*/
|
|
1877
|
+
export const createTemporaryCredential = /*@__PURE__*/ API.make(() => ({
|
|
1878
1878
|
input: CreateTemporaryCredentialRequest,
|
|
1879
1879
|
output: CreateTemporaryCredentialResponse,
|
|
1880
1880
|
errors: [],
|