@distilled.cloud/cloudflare 0.29.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
@@ -62,7 +62,7 @@ export class VectorizeIndexNotFound extends T.applyErrorMatchers(Schema.TaggedEr
|
|
|
62
62
|
}), [{ code: 10159 }]) {
|
|
63
63
|
}
|
|
64
64
|
const ListDispatchNamespacesResponseResult =
|
|
65
|
-
/*@__PURE__*/
|
|
65
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
66
66
|
createdBy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
67
67
|
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
68
68
|
modifiedBy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -81,11 +81,11 @@ const ListDispatchNamespacesResponseResult =
|
|
|
81
81
|
scriptCount: "script_count",
|
|
82
82
|
trustedWorkers: "trusted_workers",
|
|
83
83
|
})));
|
|
84
|
-
const NamedHandler = /*@__PURE__*/
|
|
84
|
+
const NamedHandler = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
85
85
|
handlers: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
86
86
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
87
87
|
}));
|
|
88
|
-
const Logs = /*@__PURE__*/
|
|
88
|
+
const Logs = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
89
89
|
enabled: Schema.Boolean,
|
|
90
90
|
invocationLogs: Schema.Boolean,
|
|
91
91
|
destinations: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
@@ -98,7 +98,7 @@ const Logs = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
98
98
|
headSamplingRate: "head_sampling_rate",
|
|
99
99
|
persist: "persist",
|
|
100
100
|
})));
|
|
101
|
-
const Traces = /*@__PURE__*/
|
|
101
|
+
const Traces = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
102
102
|
destinations: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
103
103
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
104
104
|
headSamplingRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -117,7 +117,7 @@ const Traces = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
117
117
|
persist: "persist",
|
|
118
118
|
propagationPolicy: "propagation_policy",
|
|
119
119
|
})));
|
|
120
|
-
const Observability = /*@__PURE__*/
|
|
120
|
+
const Observability = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
121
121
|
enabled: Schema.Boolean,
|
|
122
122
|
headSamplingRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
123
123
|
logs: Schema.optional(Schema.Union([Logs, Schema.Null])),
|
|
@@ -129,7 +129,7 @@ const Observability = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.St
|
|
|
129
129
|
traces: "traces",
|
|
130
130
|
})));
|
|
131
131
|
const GetDispatchNamespaceScriptResponseScriptPlacement =
|
|
132
|
-
/*@__PURE__*/
|
|
132
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
133
133
|
mode: Schema.Literal("smart"),
|
|
134
134
|
lastAnalyzedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
135
135
|
status: Schema.optional(Schema.Union([
|
|
@@ -149,7 +149,7 @@ const GetDispatchNamespaceScriptResponseScriptPlacement =
|
|
|
149
149
|
status: "status",
|
|
150
150
|
})));
|
|
151
151
|
const GetDispatchNamespaceScriptResponseScriptPlacement1 =
|
|
152
|
-
/*@__PURE__*/
|
|
152
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
153
153
|
region: Schema.String,
|
|
154
154
|
lastAnalyzedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
155
155
|
status: Schema.optional(Schema.Union([
|
|
@@ -169,7 +169,7 @@ const GetDispatchNamespaceScriptResponseScriptPlacement1 =
|
|
|
169
169
|
status: "status",
|
|
170
170
|
})));
|
|
171
171
|
const GetDispatchNamespaceScriptResponseScriptPlacement2 =
|
|
172
|
-
/*@__PURE__*/
|
|
172
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
173
173
|
hostname: Schema.String,
|
|
174
174
|
lastAnalyzedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
175
175
|
status: Schema.optional(Schema.Union([
|
|
@@ -189,7 +189,7 @@ const GetDispatchNamespaceScriptResponseScriptPlacement2 =
|
|
|
189
189
|
status: "status",
|
|
190
190
|
})));
|
|
191
191
|
const GetDispatchNamespaceScriptResponseScriptPlacement3 =
|
|
192
|
-
/*@__PURE__*/
|
|
192
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
193
193
|
host: Schema.String,
|
|
194
194
|
lastAnalyzedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
195
195
|
status: Schema.optional(Schema.Union([
|
|
@@ -209,7 +209,7 @@ const GetDispatchNamespaceScriptResponseScriptPlacement3 =
|
|
|
209
209
|
status: "status",
|
|
210
210
|
})));
|
|
211
211
|
const GetDispatchNamespaceScriptResponseScriptPlacement4 =
|
|
212
|
-
/*@__PURE__*/
|
|
212
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
213
213
|
mode: Schema.Literal("targeted"),
|
|
214
214
|
region: Schema.String,
|
|
215
215
|
lastAnalyzedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -231,7 +231,7 @@ const GetDispatchNamespaceScriptResponseScriptPlacement4 =
|
|
|
231
231
|
status: "status",
|
|
232
232
|
})));
|
|
233
233
|
const GetDispatchNamespaceScriptResponseScriptPlacement5 =
|
|
234
|
-
/*@__PURE__*/
|
|
234
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
235
235
|
hostname: Schema.String,
|
|
236
236
|
mode: Schema.Literal("targeted"),
|
|
237
237
|
lastAnalyzedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -253,7 +253,7 @@ const GetDispatchNamespaceScriptResponseScriptPlacement5 =
|
|
|
253
253
|
status: "status",
|
|
254
254
|
})));
|
|
255
255
|
const GetDispatchNamespaceScriptResponseScriptPlacement6 =
|
|
256
|
-
/*@__PURE__*/
|
|
256
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
257
257
|
host: Schema.String,
|
|
258
258
|
mode: Schema.Literal("targeted"),
|
|
259
259
|
lastAnalyzedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -274,17 +274,17 @@ const GetDispatchNamespaceScriptResponseScriptPlacement6 =
|
|
|
274
274
|
lastAnalyzedAt: "last_analyzed_at",
|
|
275
275
|
status: "status",
|
|
276
276
|
})));
|
|
277
|
-
const Region = /*@__PURE__*/
|
|
277
|
+
const Region = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
278
278
|
region: Schema.String,
|
|
279
279
|
}));
|
|
280
|
-
const Hostname = /*@__PURE__*/
|
|
280
|
+
const Hostname = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
281
281
|
hostname: Schema.String,
|
|
282
282
|
}));
|
|
283
|
-
const Host = /*@__PURE__*/
|
|
283
|
+
const Host = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
284
284
|
host: Schema.String,
|
|
285
285
|
}));
|
|
286
286
|
const GetDispatchNamespaceScriptResponseScriptPlacement7 =
|
|
287
|
-
/*@__PURE__*/
|
|
287
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
288
288
|
mode: Schema.Literal("targeted"),
|
|
289
289
|
target: Schema.Array(Schema.Union([Region, Hostname, Host])),
|
|
290
290
|
lastAnalyzedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -305,12 +305,12 @@ const GetDispatchNamespaceScriptResponseScriptPlacement7 =
|
|
|
305
305
|
lastAnalyzedAt: "last_analyzed_at",
|
|
306
306
|
status: "status",
|
|
307
307
|
})));
|
|
308
|
-
const ConsumerScript = /*@__PURE__*/
|
|
308
|
+
const ConsumerScript = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
309
309
|
service: Schema.String,
|
|
310
310
|
environment: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
311
311
|
namespace: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
312
312
|
}));
|
|
313
|
-
const Script = /*@__PURE__*/
|
|
313
|
+
const Script = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
314
314
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
315
315
|
compatibilityDate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
316
316
|
compatibilityFlags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
@@ -386,7 +386,7 @@ const Script = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
386
386
|
tailConsumers: "tail_consumers",
|
|
387
387
|
usageModel: "usage_model",
|
|
388
388
|
})));
|
|
389
|
-
const Config = /*@__PURE__*/
|
|
389
|
+
const Config = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
390
390
|
headers: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
391
391
|
redirects: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
392
392
|
htmlHandling: Schema.optional(Schema.Union([
|
|
@@ -421,15 +421,15 @@ const Config = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
421
421
|
runWorkerFirst: "run_worker_first",
|
|
422
422
|
serveDirectly: "serve_directly",
|
|
423
423
|
})));
|
|
424
|
-
const Assets = /*@__PURE__*/
|
|
424
|
+
const Assets = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
425
425
|
config: Schema.optional(Schema.Union([Config, Schema.Null])),
|
|
426
426
|
jwt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
427
427
|
}));
|
|
428
|
-
const WorkersBindingKindAI = /*@__PURE__*/
|
|
428
|
+
const WorkersBindingKindAI = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
429
429
|
name: Schema.String,
|
|
430
430
|
type: Schema.Literal("ai"),
|
|
431
431
|
}));
|
|
432
|
-
const WorkersBindingKindAISearch = /*@__PURE__*/
|
|
432
|
+
const WorkersBindingKindAISearch = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
433
433
|
instanceName: Schema.String,
|
|
434
434
|
name: Schema.String,
|
|
435
435
|
type: Schema.Literal("ai_search"),
|
|
@@ -441,26 +441,26 @@ const WorkersBindingKindAISearch = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
441
441
|
namespace: "namespace",
|
|
442
442
|
})));
|
|
443
443
|
const WorkersBindingKindAISearchNamespace =
|
|
444
|
-
/*@__PURE__*/
|
|
444
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
445
445
|
name: Schema.String,
|
|
446
446
|
namespace: Schema.String,
|
|
447
447
|
type: Schema.Literal("ai_search_namespace"),
|
|
448
448
|
}));
|
|
449
449
|
const WorkersBindingKindAnalyticsEngine =
|
|
450
|
-
/*@__PURE__*/
|
|
450
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
451
451
|
dataset: Schema.String,
|
|
452
452
|
name: Schema.String,
|
|
453
453
|
type: Schema.Literal("analytics_engine"),
|
|
454
454
|
}));
|
|
455
|
-
const WorkersBindingKindAssets = /*@__PURE__*/
|
|
455
|
+
const WorkersBindingKindAssets = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
456
456
|
name: Schema.String,
|
|
457
457
|
type: Schema.Literal("assets"),
|
|
458
458
|
}));
|
|
459
|
-
const WorkersBindingKindBrowser = /*@__PURE__*/
|
|
459
|
+
const WorkersBindingKindBrowser = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
460
460
|
name: Schema.String,
|
|
461
461
|
type: Schema.Literal("browser"),
|
|
462
462
|
}));
|
|
463
|
-
const WorkersBindingKindD1 = /*@__PURE__*/
|
|
463
|
+
const WorkersBindingKindD1 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
464
464
|
databaseId: Schema.String,
|
|
465
465
|
name: Schema.String,
|
|
466
466
|
type: Schema.Literal("d1"),
|
|
@@ -471,32 +471,32 @@ const WorkersBindingKindD1 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Sc
|
|
|
471
471
|
type: "type",
|
|
472
472
|
id: "id",
|
|
473
473
|
})));
|
|
474
|
-
const WorkersBindingKindDataBlob = /*@__PURE__*/
|
|
474
|
+
const WorkersBindingKindDataBlob = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
475
475
|
name: Schema.String,
|
|
476
476
|
part: Schema.String,
|
|
477
477
|
type: Schema.Literal("data_blob"),
|
|
478
478
|
}));
|
|
479
|
-
const Param = /*@__PURE__*/
|
|
479
|
+
const Param = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
480
480
|
name: Schema.String,
|
|
481
481
|
}));
|
|
482
|
-
const Worker = /*@__PURE__*/
|
|
482
|
+
const Worker = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
483
483
|
entrypoint: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
484
484
|
environment: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
485
485
|
service: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
486
486
|
}));
|
|
487
|
-
const Outbound = /*@__PURE__*/
|
|
487
|
+
const Outbound = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
488
488
|
params: Schema.optional(Schema.Union([Schema.Array(Param), Schema.Null])),
|
|
489
489
|
worker: Schema.optional(Schema.Union([Worker, Schema.Null])),
|
|
490
490
|
}));
|
|
491
491
|
const WorkersBindingKindDispatchNamespace =
|
|
492
|
-
/*@__PURE__*/
|
|
492
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
493
493
|
name: Schema.String,
|
|
494
494
|
namespace: Schema.String,
|
|
495
495
|
type: Schema.Literal("dispatch_namespace"),
|
|
496
496
|
outbound: Schema.optional(Schema.Union([Outbound, Schema.Null])),
|
|
497
497
|
}));
|
|
498
498
|
const WorkersBindingKindDurableObjectNamespace =
|
|
499
|
-
/*@__PURE__*/
|
|
499
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
500
500
|
name: Schema.String,
|
|
501
501
|
type: Schema.Literal("durable_object_namespace"),
|
|
502
502
|
className: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -513,12 +513,12 @@ const WorkersBindingKindDurableObjectNamespace =
|
|
|
513
513
|
namespaceId: "namespace_id",
|
|
514
514
|
scriptName: "script_name",
|
|
515
515
|
})));
|
|
516
|
-
const WorkersBindingKindHyperdrive = /*@__PURE__*/
|
|
516
|
+
const WorkersBindingKindHyperdrive = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
517
517
|
id: Schema.String,
|
|
518
518
|
name: Schema.String,
|
|
519
519
|
type: Schema.Literal("hyperdrive"),
|
|
520
520
|
}));
|
|
521
|
-
const WorkersBindingKindInherit = /*@__PURE__*/
|
|
521
|
+
const WorkersBindingKindInherit = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
522
522
|
name: Schema.String,
|
|
523
523
|
type: Schema.Literal("inherit"),
|
|
524
524
|
oldName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -529,17 +529,17 @@ const WorkersBindingKindInherit = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
529
529
|
oldName: "old_name",
|
|
530
530
|
versionId: "version_id",
|
|
531
531
|
})));
|
|
532
|
-
const WorkersBindingKindImages = /*@__PURE__*/
|
|
532
|
+
const WorkersBindingKindImages = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
533
533
|
name: Schema.String,
|
|
534
534
|
type: Schema.Literal("images"),
|
|
535
535
|
}));
|
|
536
|
-
const WorkersBindingKindJson = /*@__PURE__*/
|
|
536
|
+
const WorkersBindingKindJson = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
537
537
|
json: Schema.Unknown,
|
|
538
538
|
name: Schema.String,
|
|
539
539
|
type: Schema.Literal("json"),
|
|
540
540
|
}));
|
|
541
541
|
const WorkersBindingKindKVNamespace =
|
|
542
|
-
/*@__PURE__*/
|
|
542
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
543
543
|
name: Schema.String,
|
|
544
544
|
namespaceId: Schema.String,
|
|
545
545
|
type: Schema.Literal("kv_namespace"),
|
|
@@ -548,12 +548,12 @@ const WorkersBindingKindKVNamespace =
|
|
|
548
548
|
namespaceId: "namespace_id",
|
|
549
549
|
type: "type",
|
|
550
550
|
})));
|
|
551
|
-
const WorkersBindingKindMedia = /*@__PURE__*/
|
|
551
|
+
const WorkersBindingKindMedia = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
552
552
|
name: Schema.String,
|
|
553
553
|
type: Schema.Literal("media"),
|
|
554
554
|
}));
|
|
555
555
|
const WorkersBindingKindMTLSCertificate =
|
|
556
|
-
/*@__PURE__*/
|
|
556
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
557
557
|
certificateId: Schema.String,
|
|
558
558
|
name: Schema.String,
|
|
559
559
|
type: Schema.Literal("mtls_certificate"),
|
|
@@ -562,22 +562,22 @@ const WorkersBindingKindMTLSCertificate =
|
|
|
562
562
|
name: "name",
|
|
563
563
|
type: "type",
|
|
564
564
|
})));
|
|
565
|
-
const WorkersBindingKindPlainText = /*@__PURE__*/
|
|
565
|
+
const WorkersBindingKindPlainText = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
566
566
|
name: Schema.String,
|
|
567
567
|
text: Schema.String,
|
|
568
568
|
type: Schema.Literal("plain_text"),
|
|
569
569
|
}));
|
|
570
|
-
const WorkersBindingKindPipelines = /*@__PURE__*/
|
|
570
|
+
const WorkersBindingKindPipelines = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
571
571
|
name: Schema.String,
|
|
572
572
|
pipeline: Schema.String,
|
|
573
573
|
type: Schema.Literal("pipelines"),
|
|
574
574
|
}));
|
|
575
|
-
const WorkersBindingKindQueue = /*@__PURE__*/
|
|
575
|
+
const WorkersBindingKindQueue = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
576
576
|
name: Schema.String,
|
|
577
577
|
queueName: Schema.String,
|
|
578
578
|
type: Schema.Literal("queue"),
|
|
579
579
|
}).pipe(Schema.encodeKeys({ name: "name", queueName: "queue_name", type: "type" })));
|
|
580
|
-
const Simple = /*@__PURE__*/
|
|
580
|
+
const Simple = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
581
581
|
limit: Schema.Number,
|
|
582
582
|
period: Schema.Number,
|
|
583
583
|
mitigationTimeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -586,7 +586,7 @@ const Simple = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
586
586
|
period: "period",
|
|
587
587
|
mitigationTimeout: "mitigation_timeout",
|
|
588
588
|
})));
|
|
589
|
-
const WorkersBindingKindRatelimit = /*@__PURE__*/
|
|
589
|
+
const WorkersBindingKindRatelimit = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
590
590
|
name: Schema.String,
|
|
591
591
|
namespaceId: Schema.String,
|
|
592
592
|
simple: Simple,
|
|
@@ -597,7 +597,7 @@ const WorkersBindingKindRatelimit = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
597
597
|
simple: "simple",
|
|
598
598
|
type: "type",
|
|
599
599
|
})));
|
|
600
|
-
const WorkersBindingKindR2Bucket = /*@__PURE__*/
|
|
600
|
+
const WorkersBindingKindR2Bucket = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
601
601
|
bucketName: Schema.String,
|
|
602
602
|
name: Schema.String,
|
|
603
603
|
type: Schema.Literal("r2_bucket"),
|
|
@@ -614,12 +614,12 @@ const WorkersBindingKindR2Bucket = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
614
614
|
type: "type",
|
|
615
615
|
jurisdiction: "jurisdiction",
|
|
616
616
|
})));
|
|
617
|
-
const WorkersBindingKindSecretText = /*@__PURE__*/
|
|
617
|
+
const WorkersBindingKindSecretText = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
618
618
|
name: Schema.String,
|
|
619
619
|
text: Schema.String,
|
|
620
620
|
type: Schema.Literal("secret_text"),
|
|
621
621
|
}));
|
|
622
|
-
const WorkersBindingKindSendEmail = /*@__PURE__*/
|
|
622
|
+
const WorkersBindingKindSendEmail = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
623
623
|
name: Schema.String,
|
|
624
624
|
type: Schema.Literal("send_email"),
|
|
625
625
|
allowedDestinationAddresses: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
@@ -632,19 +632,19 @@ const WorkersBindingKindSendEmail = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
632
632
|
allowedSenderAddresses: "allowed_sender_addresses",
|
|
633
633
|
destinationAddress: "destination_address",
|
|
634
634
|
})));
|
|
635
|
-
const WorkersBindingKindService = /*@__PURE__*/
|
|
635
|
+
const WorkersBindingKindService = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
636
636
|
name: Schema.String,
|
|
637
637
|
service: Schema.String,
|
|
638
638
|
type: Schema.Literal("service"),
|
|
639
639
|
entrypoint: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
640
640
|
environment: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
641
641
|
}));
|
|
642
|
-
const WorkersBindingKindTextBlob = /*@__PURE__*/
|
|
642
|
+
const WorkersBindingKindTextBlob = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
643
643
|
name: Schema.String,
|
|
644
644
|
part: Schema.String,
|
|
645
645
|
type: Schema.Literal("text_blob"),
|
|
646
646
|
}));
|
|
647
|
-
const WorkersBindingKindVectorize = /*@__PURE__*/
|
|
647
|
+
const WorkersBindingKindVectorize = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
648
648
|
indexName: Schema.String,
|
|
649
649
|
name: Schema.String,
|
|
650
650
|
type: Schema.Literal("vectorize"),
|
|
@@ -654,12 +654,12 @@ const WorkersBindingKindVectorize = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
654
654
|
type: "type",
|
|
655
655
|
})));
|
|
656
656
|
const WorkersBindingKindVersionMetadata =
|
|
657
|
-
/*@__PURE__*/
|
|
657
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
658
658
|
name: Schema.String,
|
|
659
659
|
type: Schema.Literal("version_metadata"),
|
|
660
660
|
}));
|
|
661
661
|
const WorkersBindingKindSecretsStoreSecret =
|
|
662
|
-
/*@__PURE__*/
|
|
662
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
663
663
|
name: Schema.String,
|
|
664
664
|
secretName: Schema.String,
|
|
665
665
|
storeId: Schema.String,
|
|
@@ -670,12 +670,12 @@ const WorkersBindingKindSecretsStoreSecret =
|
|
|
670
670
|
storeId: "store_id",
|
|
671
671
|
type: "type",
|
|
672
672
|
})));
|
|
673
|
-
const WorkersBindingKindFlagship = /*@__PURE__*/
|
|
673
|
+
const WorkersBindingKindFlagship = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
674
674
|
appId: Schema.String,
|
|
675
675
|
name: Schema.String,
|
|
676
676
|
type: Schema.Literal("flagship"),
|
|
677
677
|
}).pipe(Schema.encodeKeys({ appId: "app_id", name: "name", type: "type" })));
|
|
678
|
-
const WorkersBindingKindSecretKey = /*@__PURE__*/
|
|
678
|
+
const WorkersBindingKindSecretKey = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
679
679
|
algorithm: Schema.Unknown,
|
|
680
680
|
format: Schema.Union([
|
|
681
681
|
Schema.Literals(["raw", "pkcs8", "spki", "jwk"]),
|
|
@@ -707,7 +707,7 @@ const WorkersBindingKindSecretKey = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
707
707
|
keyBase64: "key_base64",
|
|
708
708
|
keyJwk: "key_jwk",
|
|
709
709
|
})));
|
|
710
|
-
const WorkersBindingKindWorkflow = /*@__PURE__*/
|
|
710
|
+
const WorkersBindingKindWorkflow = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
711
711
|
name: Schema.String,
|
|
712
712
|
type: Schema.Literal("workflow"),
|
|
713
713
|
workflowName: Schema.String,
|
|
@@ -720,12 +720,12 @@ const WorkersBindingKindWorkflow = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
720
720
|
className: "class_name",
|
|
721
721
|
scriptName: "script_name",
|
|
722
722
|
})));
|
|
723
|
-
const WorkersBindingKindWasmModule = /*@__PURE__*/
|
|
723
|
+
const WorkersBindingKindWasmModule = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
724
724
|
name: Schema.String,
|
|
725
725
|
part: Schema.String,
|
|
726
726
|
type: Schema.Literal("wasm_module"),
|
|
727
727
|
}));
|
|
728
|
-
const WorkersBindingKindVPCService = /*@__PURE__*/
|
|
728
|
+
const WorkersBindingKindVPCService = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
729
729
|
name: Schema.String,
|
|
730
730
|
serviceId: Schema.String,
|
|
731
731
|
type: Schema.Literal("vpc_service"),
|
|
@@ -734,7 +734,7 @@ const WorkersBindingKindVPCService = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
734
734
|
serviceId: "service_id",
|
|
735
735
|
type: "type",
|
|
736
736
|
})));
|
|
737
|
-
const WorkersBindingKindVPCNetwork = /*@__PURE__*/
|
|
737
|
+
const WorkersBindingKindVPCNetwork = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
738
738
|
name: Schema.String,
|
|
739
739
|
type: Schema.Literal("vpc_network"),
|
|
740
740
|
networkId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -745,20 +745,20 @@ const WorkersBindingKindVPCNetwork = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
745
745
|
networkId: "network_id",
|
|
746
746
|
tunnelId: "tunnel_id",
|
|
747
747
|
})));
|
|
748
|
-
const Limits = /*@__PURE__*/
|
|
748
|
+
const Limits = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
749
749
|
cpuMs: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
750
750
|
subrequests: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
751
751
|
}).pipe(Schema.encodeKeys({ cpuMs: "cpu_ms", subrequests: "subrequests" })));
|
|
752
|
-
const RenamedClass = /*@__PURE__*/
|
|
752
|
+
const RenamedClass = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
753
753
|
from: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
754
754
|
to: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
755
755
|
}));
|
|
756
|
-
const TransferredClass = /*@__PURE__*/
|
|
756
|
+
const TransferredClass = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
757
757
|
from: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
758
758
|
fromScript: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
759
759
|
to: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
760
760
|
}).pipe(Schema.encodeKeys({ from: "from", fromScript: "from_script", to: "to" })));
|
|
761
|
-
const SingleStepMigrationParam = /*@__PURE__*/
|
|
761
|
+
const SingleStepMigrationParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
762
762
|
deletedClasses: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
763
763
|
newClasses: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
764
764
|
newSqliteClasses: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
@@ -775,7 +775,7 @@ const SingleStepMigrationParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
775
775
|
renamedClasses: "renamed_classes",
|
|
776
776
|
transferredClasses: "transferred_classes",
|
|
777
777
|
})));
|
|
778
|
-
const MigrationStepParam = /*@__PURE__*/
|
|
778
|
+
const MigrationStepParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
779
779
|
deletedClasses: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
780
780
|
newClasses: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
781
781
|
newSqliteClasses: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
@@ -789,7 +789,7 @@ const MigrationStepParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Sche
|
|
|
789
789
|
transferredClasses: "transferred_classes",
|
|
790
790
|
})));
|
|
791
791
|
const WorkersMultipleStepMigrations =
|
|
792
|
-
/*@__PURE__*/
|
|
792
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
793
793
|
newTag: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
794
794
|
oldTag: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
795
795
|
steps: Schema.optional(Schema.Union([Schema.Array(MigrationStepParam), Schema.Null])),
|
|
@@ -799,30 +799,30 @@ const WorkersMultipleStepMigrations =
|
|
|
799
799
|
steps: "steps",
|
|
800
800
|
})));
|
|
801
801
|
const PutDispatchNamespaceScriptRequestMetadataPlacement =
|
|
802
|
-
/*@__PURE__*/
|
|
802
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
803
803
|
mode: Schema.Literal("smart"),
|
|
804
804
|
}));
|
|
805
805
|
const PutDispatchNamespaceScriptRequestMetadataPlacement4 =
|
|
806
|
-
/*@__PURE__*/
|
|
806
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
807
807
|
mode: Schema.Literal("targeted"),
|
|
808
808
|
region: Schema.String,
|
|
809
809
|
}));
|
|
810
810
|
const PutDispatchNamespaceScriptRequestMetadataPlacement5 =
|
|
811
|
-
/*@__PURE__*/
|
|
811
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
812
812
|
hostname: Schema.String,
|
|
813
813
|
mode: Schema.Literal("targeted"),
|
|
814
814
|
}));
|
|
815
815
|
const PutDispatchNamespaceScriptRequestMetadataPlacement6 =
|
|
816
|
-
/*@__PURE__*/
|
|
816
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
817
817
|
host: Schema.String,
|
|
818
818
|
mode: Schema.Literal("targeted"),
|
|
819
819
|
}));
|
|
820
820
|
const PutDispatchNamespaceScriptRequestMetadataPlacement7 =
|
|
821
|
-
/*@__PURE__*/
|
|
821
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
822
822
|
mode: Schema.Literal("targeted"),
|
|
823
823
|
target: Schema.Array(Schema.Union([Region, Hostname, Host])),
|
|
824
824
|
}));
|
|
825
|
-
const Metadata = /*@__PURE__*/
|
|
825
|
+
const Metadata = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
826
826
|
assets: Schema.optional(Schema.Union([Assets, Schema.Null])),
|
|
827
827
|
bindings: Schema.optional(Schema.Union([
|
|
828
828
|
Schema.Array(Schema.Union([
|
|
@@ -918,11 +918,11 @@ const Metadata = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct(
|
|
|
918
918
|
usageModel: "usage_model",
|
|
919
919
|
})));
|
|
920
920
|
const WorkersBindingKindSecretText2 =
|
|
921
|
-
/*@__PURE__*/
|
|
921
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
922
922
|
name: Schema.String,
|
|
923
923
|
type: Schema.Literal("secret_text"),
|
|
924
924
|
}));
|
|
925
|
-
const WorkersBindingKindSecretKey2 = /*@__PURE__*/
|
|
925
|
+
const WorkersBindingKindSecretKey2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
926
926
|
algorithm: Schema.Unknown,
|
|
927
927
|
format: Schema.Union([
|
|
928
928
|
Schema.Literals(["raw", "pkcs8", "spki", "jwk"]),
|
|
@@ -944,12 +944,12 @@ const WorkersBindingKindSecretKey2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
944
944
|
Schema.String,
|
|
945
945
|
])),
|
|
946
946
|
}));
|
|
947
|
-
const WorkerMetadataParam = /*@__PURE__*/
|
|
947
|
+
const WorkerMetadataParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
948
948
|
bodyPart: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
949
949
|
mainModule: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
950
950
|
}).pipe(Schema.encodeKeys({ bodyPart: "body_part", mainModule: "main_module" })));
|
|
951
951
|
const GetDispatchNamespaceScriptSettingResponsePlacement8 =
|
|
952
|
-
/*@__PURE__*/
|
|
952
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
953
953
|
mode: Schema.optional(Schema.Union([Schema.Literal("smart"), Schema.Null])),
|
|
954
954
|
status: Schema.optional(Schema.Union([
|
|
955
955
|
Schema.Union([
|
|
@@ -968,7 +968,7 @@ const GetDispatchNamespaceScriptSettingResponsePlacement8 =
|
|
|
968
968
|
status: "status",
|
|
969
969
|
lastAnalyzedAt: "last_analyzed_at",
|
|
970
970
|
})));
|
|
971
|
-
const Settings = /*@__PURE__*/
|
|
971
|
+
const Settings = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
972
972
|
bindings: Schema.optional(Schema.Union([
|
|
973
973
|
Schema.Array(Schema.Union([
|
|
974
974
|
WorkersBindingKindSecretKey,
|
|
@@ -1054,7 +1054,7 @@ const Settings = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct(
|
|
|
1054
1054
|
usageModel: "usage_model",
|
|
1055
1055
|
})));
|
|
1056
1056
|
export const GetDispatchNamespaceRequest =
|
|
1057
|
-
/*@__PURE__*/
|
|
1057
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1058
1058
|
dispatchNamespace: Schema.String.pipe(T.HttpPath("dispatchNamespace")),
|
|
1059
1059
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1060
1060
|
}).pipe(T.Http({
|
|
@@ -1062,7 +1062,7 @@ export const GetDispatchNamespaceRequest =
|
|
|
1062
1062
|
path: "/accounts/{account_id}/workers/dispatch/namespaces/{dispatchNamespace}",
|
|
1063
1063
|
})));
|
|
1064
1064
|
export const GetDispatchNamespaceResponse =
|
|
1065
|
-
/*@__PURE__*/
|
|
1065
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1066
1066
|
createdBy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1067
1067
|
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1068
1068
|
modifiedBy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1083,23 +1083,23 @@ export const GetDispatchNamespaceResponse =
|
|
|
1083
1083
|
trustedWorkers: "trusted_workers",
|
|
1084
1084
|
}))
|
|
1085
1085
|
.pipe(T.ResponsePath("result")));
|
|
1086
|
-
export const getDispatchNamespace = /*@__PURE__*/
|
|
1086
|
+
export const getDispatchNamespace = /*@__PURE__*/ API.make(() => ({
|
|
1087
1087
|
input: GetDispatchNamespaceRequest,
|
|
1088
1088
|
output: GetDispatchNamespaceResponse,
|
|
1089
1089
|
errors: [DispatchNamespaceNotFound, Forbidden],
|
|
1090
1090
|
}));
|
|
1091
1091
|
export const ListDispatchNamespacesRequest =
|
|
1092
|
-
/*@__PURE__*/
|
|
1092
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1093
1093
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1094
1094
|
}).pipe(T.Http({
|
|
1095
1095
|
method: "GET",
|
|
1096
1096
|
path: "/accounts/{account_id}/workers/dispatch/namespaces",
|
|
1097
1097
|
})));
|
|
1098
1098
|
export const ListDispatchNamespacesResponse =
|
|
1099
|
-
/*@__PURE__*/
|
|
1099
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1100
1100
|
result: Schema.Array(ListDispatchNamespacesResponseResult),
|
|
1101
1101
|
}));
|
|
1102
|
-
export const listDispatchNamespaces = /*@__PURE__*/
|
|
1102
|
+
export const listDispatchNamespaces = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1103
1103
|
input: ListDispatchNamespacesRequest,
|
|
1104
1104
|
output: ListDispatchNamespacesResponse,
|
|
1105
1105
|
errors: [],
|
|
@@ -1109,7 +1109,7 @@ export const listDispatchNamespaces = /*@__PURE__*/ /*#__PURE__*/ API.makePagina
|
|
|
1109
1109
|
},
|
|
1110
1110
|
}));
|
|
1111
1111
|
export const CreateDispatchNamespaceRequest =
|
|
1112
|
-
/*@__PURE__*/
|
|
1112
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1113
1113
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1114
1114
|
name: Schema.optional(Schema.String),
|
|
1115
1115
|
}).pipe(T.Http({
|
|
@@ -1117,7 +1117,7 @@ export const CreateDispatchNamespaceRequest =
|
|
|
1117
1117
|
path: "/accounts/{account_id}/workers/dispatch/namespaces",
|
|
1118
1118
|
})));
|
|
1119
1119
|
export const CreateDispatchNamespaceResponse =
|
|
1120
|
-
/*@__PURE__*/
|
|
1120
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1121
1121
|
createdBy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1122
1122
|
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1123
1123
|
modifiedBy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1138,13 +1138,13 @@ export const CreateDispatchNamespaceResponse =
|
|
|
1138
1138
|
trustedWorkers: "trusted_workers",
|
|
1139
1139
|
}))
|
|
1140
1140
|
.pipe(T.ResponsePath("result")));
|
|
1141
|
-
export const createDispatchNamespace = /*@__PURE__*/
|
|
1141
|
+
export const createDispatchNamespace = /*@__PURE__*/ API.make(() => ({
|
|
1142
1142
|
input: CreateDispatchNamespaceRequest,
|
|
1143
1143
|
output: CreateDispatchNamespaceResponse,
|
|
1144
1144
|
errors: [DispatchNamespaceAlreadyExists, Forbidden],
|
|
1145
1145
|
}));
|
|
1146
1146
|
export const DeleteDispatchNamespaceRequest =
|
|
1147
|
-
/*@__PURE__*/
|
|
1147
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1148
1148
|
dispatchNamespace: Schema.String.pipe(T.HttpPath("dispatchNamespace")),
|
|
1149
1149
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1150
1150
|
}).pipe(T.Http({
|
|
@@ -1152,14 +1152,14 @@ export const DeleteDispatchNamespaceRequest =
|
|
|
1152
1152
|
path: "/accounts/{account_id}/workers/dispatch/namespaces/{dispatchNamespace}",
|
|
1153
1153
|
})));
|
|
1154
1154
|
export const DeleteDispatchNamespaceResponse =
|
|
1155
|
-
/*@__PURE__*/
|
|
1156
|
-
export const deleteDispatchNamespace = /*@__PURE__*/
|
|
1155
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
1156
|
+
export const deleteDispatchNamespace = /*@__PURE__*/ API.make(() => ({
|
|
1157
1157
|
input: DeleteDispatchNamespaceRequest,
|
|
1158
1158
|
output: DeleteDispatchNamespaceResponse,
|
|
1159
1159
|
errors: [DispatchNamespaceNotFound, Forbidden],
|
|
1160
1160
|
}));
|
|
1161
1161
|
export const GetDispatchNamespaceScriptRequest =
|
|
1162
|
-
/*@__PURE__*/
|
|
1162
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1163
1163
|
dispatchNamespace: Schema.String.pipe(T.HttpPath("dispatchNamespace")),
|
|
1164
1164
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
1165
1165
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1168,7 +1168,7 @@ export const GetDispatchNamespaceScriptRequest =
|
|
|
1168
1168
|
path: "/accounts/{account_id}/workers/dispatch/namespaces/{dispatchNamespace}/scripts/{scriptName}",
|
|
1169
1169
|
})));
|
|
1170
1170
|
export const GetDispatchNamespaceScriptResponse =
|
|
1171
|
-
/*@__PURE__*/
|
|
1171
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1172
1172
|
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1173
1173
|
dispatchNamespace: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1174
1174
|
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1181,7 +1181,7 @@ export const GetDispatchNamespaceScriptResponse =
|
|
|
1181
1181
|
script: "script",
|
|
1182
1182
|
}))
|
|
1183
1183
|
.pipe(T.ResponsePath("result")));
|
|
1184
|
-
export const getDispatchNamespaceScript = /*@__PURE__*/
|
|
1184
|
+
export const getDispatchNamespaceScript = /*@__PURE__*/ API.make(() => ({
|
|
1185
1185
|
input: GetDispatchNamespaceScriptRequest,
|
|
1186
1186
|
output: GetDispatchNamespaceScriptResponse,
|
|
1187
1187
|
errors: [
|
|
@@ -1191,7 +1191,7 @@ export const getDispatchNamespaceScript = /*@__PURE__*/ /*#__PURE__*/ API.make((
|
|
|
1191
1191
|
],
|
|
1192
1192
|
}));
|
|
1193
1193
|
export const PutDispatchNamespaceScriptRequest =
|
|
1194
|
-
/*@__PURE__*/
|
|
1194
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1195
1195
|
dispatchNamespace: Schema.String.pipe(T.HttpPath("dispatchNamespace")),
|
|
1196
1196
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
1197
1197
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1204,7 +1204,7 @@ export const PutDispatchNamespaceScriptRequest =
|
|
|
1204
1204
|
contentType: "multipart",
|
|
1205
1205
|
})));
|
|
1206
1206
|
export const PutDispatchNamespaceScriptResponse =
|
|
1207
|
-
/*@__PURE__*/
|
|
1207
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1208
1208
|
startupTimeMs: Schema.Number,
|
|
1209
1209
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1210
1210
|
compatibilityDate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1286,7 +1286,7 @@ export const PutDispatchNamespaceScriptResponse =
|
|
|
1286
1286
|
usageModel: "usage_model",
|
|
1287
1287
|
}))
|
|
1288
1288
|
.pipe(T.ResponsePath("result")));
|
|
1289
|
-
export const putDispatchNamespaceScript = /*@__PURE__*/
|
|
1289
|
+
export const putDispatchNamespaceScript = /*@__PURE__*/ API.make(() => ({
|
|
1290
1290
|
input: PutDispatchNamespaceScriptRequest,
|
|
1291
1291
|
output: PutDispatchNamespaceScriptResponse,
|
|
1292
1292
|
errors: [
|
|
@@ -1305,7 +1305,7 @@ export const putDispatchNamespaceScript = /*@__PURE__*/ /*#__PURE__*/ API.make((
|
|
|
1305
1305
|
],
|
|
1306
1306
|
}));
|
|
1307
1307
|
export const DeleteDispatchNamespaceScriptRequest =
|
|
1308
|
-
/*@__PURE__*/
|
|
1308
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1309
1309
|
dispatchNamespace: Schema.String.pipe(T.HttpPath("dispatchNamespace")),
|
|
1310
1310
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
1311
1311
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1315,8 +1315,8 @@ export const DeleteDispatchNamespaceScriptRequest =
|
|
|
1315
1315
|
path: "/accounts/{account_id}/workers/dispatch/namespaces/{dispatchNamespace}/scripts/{scriptName}",
|
|
1316
1316
|
})));
|
|
1317
1317
|
export const DeleteDispatchNamespaceScriptResponse =
|
|
1318
|
-
/*@__PURE__*/
|
|
1319
|
-
export const deleteDispatchNamespaceScript = /*@__PURE__*/
|
|
1318
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
1319
|
+
export const deleteDispatchNamespaceScript = /*@__PURE__*/ API.make(() => ({
|
|
1320
1320
|
input: DeleteDispatchNamespaceScriptRequest,
|
|
1321
1321
|
output: DeleteDispatchNamespaceScriptResponse,
|
|
1322
1322
|
errors: [
|
|
@@ -1326,7 +1326,7 @@ export const deleteDispatchNamespaceScript = /*@__PURE__*/ /*#__PURE__*/ API.mak
|
|
|
1326
1326
|
],
|
|
1327
1327
|
}));
|
|
1328
1328
|
export const CreateDispatchNamespaceScriptAssetUploadRequest =
|
|
1329
|
-
/*@__PURE__*/
|
|
1329
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1330
1330
|
dispatchNamespace: Schema.String.pipe(T.HttpPath("dispatchNamespace")),
|
|
1331
1331
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
1332
1332
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1336,17 +1336,17 @@ export const CreateDispatchNamespaceScriptAssetUploadRequest =
|
|
|
1336
1336
|
path: "/accounts/{account_id}/workers/dispatch/namespaces/{dispatchNamespace}/scripts/{scriptName}/assets-upload-session",
|
|
1337
1337
|
})));
|
|
1338
1338
|
export const CreateDispatchNamespaceScriptAssetUploadResponse =
|
|
1339
|
-
/*@__PURE__*/
|
|
1339
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1340
1340
|
buckets: Schema.optional(Schema.Union([Schema.Array(Schema.Array(Schema.String)), Schema.Null])),
|
|
1341
1341
|
jwt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1342
1342
|
}).pipe(T.ResponsePath("result")));
|
|
1343
|
-
export const createDispatchNamespaceScriptAssetUpload = /*@__PURE__*/
|
|
1343
|
+
export const createDispatchNamespaceScriptAssetUpload = /*@__PURE__*/ API.make(() => ({
|
|
1344
1344
|
input: CreateDispatchNamespaceScriptAssetUploadRequest,
|
|
1345
1345
|
output: CreateDispatchNamespaceScriptAssetUploadResponse,
|
|
1346
1346
|
errors: [],
|
|
1347
1347
|
}));
|
|
1348
1348
|
export const GetDispatchNamespaceScriptBindingRequest =
|
|
1349
|
-
/*@__PURE__*/
|
|
1349
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1350
1350
|
dispatchNamespace: Schema.String.pipe(T.HttpPath("dispatchNamespace")),
|
|
1351
1351
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
1352
1352
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1355,7 +1355,7 @@ export const GetDispatchNamespaceScriptBindingRequest =
|
|
|
1355
1355
|
path: "/accounts/{account_id}/workers/dispatch/namespaces/{dispatchNamespace}/scripts/{scriptName}/bindings",
|
|
1356
1356
|
})));
|
|
1357
1357
|
export const GetDispatchNamespaceScriptBindingResponse =
|
|
1358
|
-
/*@__PURE__*/
|
|
1358
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1359
1359
|
result: Schema.Array(Schema.Union([
|
|
1360
1360
|
WorkersBindingKindSecretKey2,
|
|
1361
1361
|
WorkersBindingKindRatelimit,
|
|
@@ -1394,7 +1394,7 @@ export const GetDispatchNamespaceScriptBindingResponse =
|
|
|
1394
1394
|
WorkersBindingKindVPCNetwork,
|
|
1395
1395
|
])),
|
|
1396
1396
|
}));
|
|
1397
|
-
export const getDispatchNamespaceScriptBinding = /*@__PURE__*/
|
|
1397
|
+
export const getDispatchNamespaceScriptBinding = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1398
1398
|
input: GetDispatchNamespaceScriptBindingRequest,
|
|
1399
1399
|
output: GetDispatchNamespaceScriptBindingResponse,
|
|
1400
1400
|
errors: [],
|
|
@@ -1404,7 +1404,7 @@ export const getDispatchNamespaceScriptBinding = /*@__PURE__*/ /*#__PURE__*/ API
|
|
|
1404
1404
|
},
|
|
1405
1405
|
}));
|
|
1406
1406
|
export const GetDispatchNamespaceScriptContentRequest =
|
|
1407
|
-
/*@__PURE__*/
|
|
1407
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1408
1408
|
dispatchNamespace: Schema.String.pipe(T.HttpPath("dispatchNamespace")),
|
|
1409
1409
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
1410
1410
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1413,14 +1413,14 @@ export const GetDispatchNamespaceScriptContentRequest =
|
|
|
1413
1413
|
path: "/accounts/{account_id}/workers/dispatch/namespaces/{dispatchNamespace}/scripts/{scriptName}/content",
|
|
1414
1414
|
})));
|
|
1415
1415
|
export const GetDispatchNamespaceScriptContentResponse =
|
|
1416
|
-
/*@__PURE__*/
|
|
1417
|
-
export const getDispatchNamespaceScriptContent = /*@__PURE__*/
|
|
1416
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown);
|
|
1417
|
+
export const getDispatchNamespaceScriptContent = /*@__PURE__*/ API.make(() => ({
|
|
1418
1418
|
input: GetDispatchNamespaceScriptContentRequest,
|
|
1419
1419
|
output: GetDispatchNamespaceScriptContentResponse,
|
|
1420
1420
|
errors: [],
|
|
1421
1421
|
}));
|
|
1422
1422
|
export const PutDispatchNamespaceScriptContentRequest =
|
|
1423
|
-
/*@__PURE__*/
|
|
1423
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1424
1424
|
dispatchNamespace: Schema.String.pipe(T.HttpPath("dispatchNamespace")),
|
|
1425
1425
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
1426
1426
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1434,7 +1434,7 @@ export const PutDispatchNamespaceScriptContentRequest =
|
|
|
1434
1434
|
contentType: "multipart",
|
|
1435
1435
|
})));
|
|
1436
1436
|
export const PutDispatchNamespaceScriptContentResponse =
|
|
1437
|
-
/*@__PURE__*/
|
|
1437
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1438
1438
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1439
1439
|
compatibilityDate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1440
1440
|
compatibilityFlags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
@@ -1512,13 +1512,13 @@ export const PutDispatchNamespaceScriptContentResponse =
|
|
|
1512
1512
|
usageModel: "usage_model",
|
|
1513
1513
|
}))
|
|
1514
1514
|
.pipe(T.ResponsePath("result")));
|
|
1515
|
-
export const putDispatchNamespaceScriptContent = /*@__PURE__*/
|
|
1515
|
+
export const putDispatchNamespaceScriptContent = /*@__PURE__*/ API.make(() => ({
|
|
1516
1516
|
input: PutDispatchNamespaceScriptContentRequest,
|
|
1517
1517
|
output: PutDispatchNamespaceScriptContentResponse,
|
|
1518
1518
|
errors: [],
|
|
1519
1519
|
}));
|
|
1520
1520
|
export const GetDispatchNamespaceScriptSecretRequest =
|
|
1521
|
-
/*@__PURE__*/
|
|
1521
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1522
1522
|
dispatchNamespace: Schema.String.pipe(T.HttpPath("dispatchNamespace")),
|
|
1523
1523
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
1524
1524
|
secretName: Schema.String.pipe(T.HttpPath("secretName")),
|
|
@@ -1529,17 +1529,17 @@ export const GetDispatchNamespaceScriptSecretRequest =
|
|
|
1529
1529
|
path: "/accounts/{account_id}/workers/dispatch/namespaces/{dispatchNamespace}/scripts/{scriptName}/secrets/{secretName}",
|
|
1530
1530
|
})));
|
|
1531
1531
|
export const GetDispatchNamespaceScriptSecretResponse =
|
|
1532
|
-
/*@__PURE__*/
|
|
1532
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Union([
|
|
1533
1533
|
WorkersBindingKindSecretKey2,
|
|
1534
1534
|
WorkersBindingKindSecretText2,
|
|
1535
1535
|
]).pipe(T.ResponsePath("result")));
|
|
1536
|
-
export const getDispatchNamespaceScriptSecret = /*@__PURE__*/
|
|
1536
|
+
export const getDispatchNamespaceScriptSecret = /*@__PURE__*/ API.make(() => ({
|
|
1537
1537
|
input: GetDispatchNamespaceScriptSecretRequest,
|
|
1538
1538
|
output: GetDispatchNamespaceScriptSecretResponse,
|
|
1539
1539
|
errors: [],
|
|
1540
1540
|
}));
|
|
1541
1541
|
export const ListDispatchNamespaceScriptSecretsRequest =
|
|
1542
|
-
/*@__PURE__*/
|
|
1542
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1543
1543
|
dispatchNamespace: Schema.String.pipe(T.HttpPath("dispatchNamespace")),
|
|
1544
1544
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
1545
1545
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1548,13 +1548,13 @@ export const ListDispatchNamespaceScriptSecretsRequest =
|
|
|
1548
1548
|
path: "/accounts/{account_id}/workers/dispatch/namespaces/{dispatchNamespace}/scripts/{scriptName}/secrets",
|
|
1549
1549
|
})));
|
|
1550
1550
|
export const ListDispatchNamespaceScriptSecretsResponse =
|
|
1551
|
-
/*@__PURE__*/
|
|
1551
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1552
1552
|
result: Schema.Array(Schema.Union([
|
|
1553
1553
|
WorkersBindingKindSecretKey2,
|
|
1554
1554
|
WorkersBindingKindSecretText2,
|
|
1555
1555
|
])),
|
|
1556
1556
|
}));
|
|
1557
|
-
export const listDispatchNamespaceScriptSecrets = /*@__PURE__*/
|
|
1557
|
+
export const listDispatchNamespaceScriptSecrets = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1558
1558
|
input: ListDispatchNamespaceScriptSecretsRequest,
|
|
1559
1559
|
output: ListDispatchNamespaceScriptSecretsResponse,
|
|
1560
1560
|
errors: [],
|
|
@@ -1564,7 +1564,7 @@ export const listDispatchNamespaceScriptSecrets = /*@__PURE__*/ /*#__PURE__*/ AP
|
|
|
1564
1564
|
},
|
|
1565
1565
|
}));
|
|
1566
1566
|
export const PutDispatchNamespaceScriptSecretRequest =
|
|
1567
|
-
/*@__PURE__*/
|
|
1567
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1568
1568
|
dispatchNamespace: Schema.String.pipe(T.HttpPath("dispatchNamespace")),
|
|
1569
1569
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
1570
1570
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1608,17 +1608,17 @@ export const PutDispatchNamespaceScriptSecretRequest =
|
|
|
1608
1608
|
path: "/accounts/{account_id}/workers/dispatch/namespaces/{dispatchNamespace}/scripts/{scriptName}/secrets",
|
|
1609
1609
|
})));
|
|
1610
1610
|
export const PutDispatchNamespaceScriptSecretResponse =
|
|
1611
|
-
/*@__PURE__*/
|
|
1611
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Union([
|
|
1612
1612
|
WorkersBindingKindSecretKey2,
|
|
1613
1613
|
WorkersBindingKindSecretText2,
|
|
1614
1614
|
]).pipe(T.ResponsePath("result")));
|
|
1615
|
-
export const putDispatchNamespaceScriptSecret = /*@__PURE__*/
|
|
1615
|
+
export const putDispatchNamespaceScriptSecret = /*@__PURE__*/ API.make(() => ({
|
|
1616
1616
|
input: PutDispatchNamespaceScriptSecretRequest,
|
|
1617
1617
|
output: PutDispatchNamespaceScriptSecretResponse,
|
|
1618
1618
|
errors: [],
|
|
1619
1619
|
}));
|
|
1620
1620
|
export const DeleteDispatchNamespaceScriptSecretRequest =
|
|
1621
|
-
/*@__PURE__*/
|
|
1621
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1622
1622
|
dispatchNamespace: Schema.String.pipe(T.HttpPath("dispatchNamespace")),
|
|
1623
1623
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
1624
1624
|
secretName: Schema.String.pipe(T.HttpPath("secretName")),
|
|
@@ -1629,14 +1629,14 @@ export const DeleteDispatchNamespaceScriptSecretRequest =
|
|
|
1629
1629
|
path: "/accounts/{account_id}/workers/dispatch/namespaces/{dispatchNamespace}/scripts/{scriptName}/secrets/{secretName}",
|
|
1630
1630
|
})));
|
|
1631
1631
|
export const DeleteDispatchNamespaceScriptSecretResponse =
|
|
1632
|
-
/*@__PURE__*/
|
|
1633
|
-
export const deleteDispatchNamespaceScriptSecret = /*@__PURE__*/
|
|
1632
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
1633
|
+
export const deleteDispatchNamespaceScriptSecret = /*@__PURE__*/ API.make(() => ({
|
|
1634
1634
|
input: DeleteDispatchNamespaceScriptSecretRequest,
|
|
1635
1635
|
output: DeleteDispatchNamespaceScriptSecretResponse,
|
|
1636
1636
|
errors: [],
|
|
1637
1637
|
}));
|
|
1638
1638
|
export const BulkUpdateDispatchNamespaceScriptSecretsRequest =
|
|
1639
|
-
/*@__PURE__*/
|
|
1639
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1640
1640
|
dispatchNamespace: Schema.String.pipe(T.HttpPath("dispatchNamespace")),
|
|
1641
1641
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
1642
1642
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1647,14 +1647,14 @@ export const BulkUpdateDispatchNamespaceScriptSecretsRequest =
|
|
|
1647
1647
|
path: "/accounts/{account_id}/workers/dispatch/namespaces/{dispatchNamespace}/scripts/{scriptName}/secrets-bulk",
|
|
1648
1648
|
})));
|
|
1649
1649
|
export const BulkUpdateDispatchNamespaceScriptSecretsResponse =
|
|
1650
|
-
/*@__PURE__*/
|
|
1651
|
-
export const bulkUpdateDispatchNamespaceScriptSecrets = /*@__PURE__*/
|
|
1650
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Record(Schema.String, Schema.Unknown).pipe(T.ResponsePath("result")));
|
|
1651
|
+
export const bulkUpdateDispatchNamespaceScriptSecrets = /*@__PURE__*/ API.make(() => ({
|
|
1652
1652
|
input: BulkUpdateDispatchNamespaceScriptSecretsRequest,
|
|
1653
1653
|
output: BulkUpdateDispatchNamespaceScriptSecretsResponse,
|
|
1654
1654
|
errors: [],
|
|
1655
1655
|
}));
|
|
1656
1656
|
export const GetDispatchNamespaceScriptSettingRequest =
|
|
1657
|
-
/*@__PURE__*/
|
|
1657
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1658
1658
|
dispatchNamespace: Schema.String.pipe(T.HttpPath("dispatchNamespace")),
|
|
1659
1659
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
1660
1660
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1663,7 +1663,7 @@ export const GetDispatchNamespaceScriptSettingRequest =
|
|
|
1663
1663
|
path: "/accounts/{account_id}/workers/dispatch/namespaces/{dispatchNamespace}/scripts/{scriptName}/settings",
|
|
1664
1664
|
})));
|
|
1665
1665
|
export const GetDispatchNamespaceScriptSettingResponse =
|
|
1666
|
-
/*@__PURE__*/
|
|
1666
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1667
1667
|
bindings: Schema.optional(Schema.Union([
|
|
1668
1668
|
Schema.Array(Schema.Union([
|
|
1669
1669
|
WorkersBindingKindSecretKey2,
|
|
@@ -1746,7 +1746,7 @@ export const GetDispatchNamespaceScriptSettingResponse =
|
|
|
1746
1746
|
usageModel: "usage_model",
|
|
1747
1747
|
}))
|
|
1748
1748
|
.pipe(T.ResponsePath("result")));
|
|
1749
|
-
export const getDispatchNamespaceScriptSetting = /*@__PURE__*/
|
|
1749
|
+
export const getDispatchNamespaceScriptSetting = /*@__PURE__*/ API.make(() => ({
|
|
1750
1750
|
input: GetDispatchNamespaceScriptSettingRequest,
|
|
1751
1751
|
output: GetDispatchNamespaceScriptSettingResponse,
|
|
1752
1752
|
errors: [
|
|
@@ -1756,7 +1756,7 @@ export const getDispatchNamespaceScriptSetting = /*@__PURE__*/ /*#__PURE__*/ API
|
|
|
1756
1756
|
],
|
|
1757
1757
|
}));
|
|
1758
1758
|
export const PatchDispatchNamespaceScriptSettingRequest =
|
|
1759
|
-
/*@__PURE__*/
|
|
1759
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1760
1760
|
dispatchNamespace: Schema.String.pipe(T.HttpPath("dispatchNamespace")),
|
|
1761
1761
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
1762
1762
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1767,7 +1767,7 @@ export const PatchDispatchNamespaceScriptSettingRequest =
|
|
|
1767
1767
|
contentType: "multipart",
|
|
1768
1768
|
})));
|
|
1769
1769
|
export const PatchDispatchNamespaceScriptSettingResponse =
|
|
1770
|
-
/*@__PURE__*/
|
|
1770
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1771
1771
|
bindings: Schema.optional(Schema.Union([
|
|
1772
1772
|
Schema.Array(Schema.Union([
|
|
1773
1773
|
WorkersBindingKindSecretKey2,
|
|
@@ -1849,13 +1849,13 @@ export const PatchDispatchNamespaceScriptSettingResponse =
|
|
|
1849
1849
|
usageModel: "usage_model",
|
|
1850
1850
|
}))
|
|
1851
1851
|
.pipe(T.ResponsePath("result")));
|
|
1852
|
-
export const patchDispatchNamespaceScriptSetting = /*@__PURE__*/
|
|
1852
|
+
export const patchDispatchNamespaceScriptSetting = /*@__PURE__*/ API.make(() => ({
|
|
1853
1853
|
input: PatchDispatchNamespaceScriptSettingRequest,
|
|
1854
1854
|
output: PatchDispatchNamespaceScriptSettingResponse,
|
|
1855
1855
|
errors: [],
|
|
1856
1856
|
}));
|
|
1857
1857
|
export const ListDispatchNamespaceScriptTagsRequest =
|
|
1858
|
-
/*@__PURE__*/
|
|
1858
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1859
1859
|
dispatchNamespace: Schema.String.pipe(T.HttpPath("dispatchNamespace")),
|
|
1860
1860
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
1861
1861
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1864,10 +1864,10 @@ export const ListDispatchNamespaceScriptTagsRequest =
|
|
|
1864
1864
|
path: "/accounts/{account_id}/workers/dispatch/namespaces/{dispatchNamespace}/scripts/{scriptName}/tags",
|
|
1865
1865
|
})));
|
|
1866
1866
|
export const ListDispatchNamespaceScriptTagsResponse =
|
|
1867
|
-
/*@__PURE__*/
|
|
1867
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1868
1868
|
result: Schema.Array(Schema.String),
|
|
1869
1869
|
}));
|
|
1870
|
-
export const listDispatchNamespaceScriptTags = /*@__PURE__*/
|
|
1870
|
+
export const listDispatchNamespaceScriptTags = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1871
1871
|
input: ListDispatchNamespaceScriptTagsRequest,
|
|
1872
1872
|
output: ListDispatchNamespaceScriptTagsResponse,
|
|
1873
1873
|
errors: [],
|
|
@@ -1877,7 +1877,7 @@ export const listDispatchNamespaceScriptTags = /*@__PURE__*/ /*#__PURE__*/ API.m
|
|
|
1877
1877
|
},
|
|
1878
1878
|
}));
|
|
1879
1879
|
export const PutDispatchNamespaceScriptTagRequest =
|
|
1880
|
-
/*@__PURE__*/
|
|
1880
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1881
1881
|
dispatchNamespace: Schema.String.pipe(T.HttpPath("dispatchNamespace")),
|
|
1882
1882
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
1883
1883
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -1887,10 +1887,10 @@ export const PutDispatchNamespaceScriptTagRequest =
|
|
|
1887
1887
|
path: "/accounts/{account_id}/workers/dispatch/namespaces/{dispatchNamespace}/scripts/{scriptName}/tags",
|
|
1888
1888
|
})));
|
|
1889
1889
|
export const PutDispatchNamespaceScriptTagResponse =
|
|
1890
|
-
/*@__PURE__*/
|
|
1890
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1891
1891
|
result: Schema.Array(Schema.String),
|
|
1892
1892
|
}));
|
|
1893
|
-
export const putDispatchNamespaceScriptTag = /*@__PURE__*/
|
|
1893
|
+
export const putDispatchNamespaceScriptTag = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1894
1894
|
input: PutDispatchNamespaceScriptTagRequest,
|
|
1895
1895
|
output: PutDispatchNamespaceScriptTagResponse,
|
|
1896
1896
|
errors: [],
|
|
@@ -1900,7 +1900,7 @@ export const putDispatchNamespaceScriptTag = /*@__PURE__*/ /*#__PURE__*/ API.mak
|
|
|
1900
1900
|
},
|
|
1901
1901
|
}));
|
|
1902
1902
|
export const DeleteDispatchNamespaceScriptTagRequest =
|
|
1903
|
-
/*@__PURE__*/
|
|
1903
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1904
1904
|
dispatchNamespace: Schema.String.pipe(T.HttpPath("dispatchNamespace")),
|
|
1905
1905
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
1906
1906
|
tag: Schema.String.pipe(T.HttpPath("tag")),
|
|
@@ -1910,8 +1910,8 @@ export const DeleteDispatchNamespaceScriptTagRequest =
|
|
|
1910
1910
|
path: "/accounts/{account_id}/workers/dispatch/namespaces/{dispatchNamespace}/scripts/{scriptName}/tags/{tag}",
|
|
1911
1911
|
})));
|
|
1912
1912
|
export const DeleteDispatchNamespaceScriptTagResponse =
|
|
1913
|
-
/*@__PURE__*/
|
|
1914
|
-
export const deleteDispatchNamespaceScriptTag = /*@__PURE__*/
|
|
1913
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
1914
|
+
export const deleteDispatchNamespaceScriptTag = /*@__PURE__*/ API.make(() => ({
|
|
1915
1915
|
input: DeleteDispatchNamespaceScriptTagRequest,
|
|
1916
1916
|
output: DeleteDispatchNamespaceScriptTagResponse,
|
|
1917
1917
|
errors: [],
|