@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
package/lib/services/workers.js
CHANGED
|
@@ -176,12 +176,12 @@ export class WorkerVersionNotFound extends T.applyErrorMatchers(Schema.TaggedErr
|
|
|
176
176
|
}), [{ code: 10071 }]) {
|
|
177
177
|
}
|
|
178
178
|
const ListBetaWorkersResponseResult =
|
|
179
|
-
/*@__PURE__*/
|
|
179
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
180
180
|
id: Schema.String,
|
|
181
181
|
name: Schema.String,
|
|
182
182
|
}));
|
|
183
183
|
const ListBetaWorkersResponseResultInfo =
|
|
184
|
-
/*@__PURE__*/
|
|
184
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
185
185
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
186
186
|
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
187
187
|
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -192,7 +192,7 @@ const ListBetaWorkersResponseResultInfo =
|
|
|
192
192
|
perPage: "per_page",
|
|
193
193
|
totalCount: "total_count",
|
|
194
194
|
})));
|
|
195
|
-
const Logs = /*@__PURE__*/
|
|
195
|
+
const Logs = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
196
196
|
destinations: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
197
197
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
198
198
|
headSamplingRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -205,7 +205,7 @@ const Logs = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
205
205
|
invocationLogs: "invocation_logs",
|
|
206
206
|
persist: "persist",
|
|
207
207
|
})));
|
|
208
|
-
const Traces = /*@__PURE__*/
|
|
208
|
+
const Traces = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
209
209
|
destinations: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
210
210
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
211
211
|
headSamplingRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -224,7 +224,7 @@ const Traces = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
224
224
|
persist: "persist",
|
|
225
225
|
propagationPolicy: "propagation_policy",
|
|
226
226
|
})));
|
|
227
|
-
const Observability = /*@__PURE__*/
|
|
227
|
+
const Observability = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
228
228
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
229
229
|
headSamplingRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
230
230
|
logs: Schema.optional(Schema.Union([Logs, Schema.Null])),
|
|
@@ -235,20 +235,20 @@ const Observability = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.St
|
|
|
235
235
|
logs: "logs",
|
|
236
236
|
traces: "traces",
|
|
237
237
|
})));
|
|
238
|
-
const Subdomain = /*@__PURE__*/
|
|
238
|
+
const Subdomain = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
239
239
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
240
240
|
previewsEnabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
241
241
|
}).pipe(Schema.encodeKeys({
|
|
242
242
|
enabled: "enabled",
|
|
243
243
|
previewsEnabled: "previews_enabled",
|
|
244
244
|
})));
|
|
245
|
-
const TailConsumer = /*@__PURE__*/
|
|
245
|
+
const TailConsumer = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
246
246
|
name: Schema.String,
|
|
247
247
|
}));
|
|
248
|
-
const Source = /*@__PURE__*/
|
|
248
|
+
const Source = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
249
249
|
pointer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
250
250
|
}));
|
|
251
|
-
const Error2 = /*@__PURE__*/
|
|
251
|
+
const Error2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
252
252
|
code: Schema.Number,
|
|
253
253
|
message: Schema.String,
|
|
254
254
|
documentationUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -259,7 +259,7 @@ const Error2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
259
259
|
documentationUrl: "documentation_url",
|
|
260
260
|
source: "source",
|
|
261
261
|
})));
|
|
262
|
-
const Annotations = /*@__PURE__*/
|
|
262
|
+
const Annotations = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
263
263
|
workersMessage: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
264
264
|
workersTag: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
265
265
|
workersTriggeredBy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -268,7 +268,7 @@ const Annotations = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Stru
|
|
|
268
268
|
workersTag: "workers/tag",
|
|
269
269
|
workersTriggeredBy: "workers/triggered_by",
|
|
270
270
|
})));
|
|
271
|
-
const Config = /*@__PURE__*/
|
|
271
|
+
const Config = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
272
272
|
htmlHandling: Schema.optional(Schema.Union([
|
|
273
273
|
Schema.Union([
|
|
274
274
|
Schema.Literals([
|
|
@@ -297,15 +297,15 @@ const Config = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
297
297
|
notFoundHandling: "not_found_handling",
|
|
298
298
|
runWorkerFirst: "run_worker_first",
|
|
299
299
|
})));
|
|
300
|
-
const Assets = /*@__PURE__*/
|
|
300
|
+
const Assets = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
301
301
|
config: Schema.optional(Schema.Union([Config, Schema.Null])),
|
|
302
302
|
jwt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
303
303
|
}));
|
|
304
|
-
const WorkersBindingKindAI = /*@__PURE__*/
|
|
304
|
+
const WorkersBindingKindAI = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
305
305
|
name: Schema.String,
|
|
306
306
|
type: Schema.Literal("ai"),
|
|
307
307
|
}));
|
|
308
|
-
const WorkersBindingKindAISearch = /*@__PURE__*/
|
|
308
|
+
const WorkersBindingKindAISearch = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
309
309
|
instanceName: Schema.String,
|
|
310
310
|
name: Schema.String,
|
|
311
311
|
type: Schema.Literal("ai_search"),
|
|
@@ -317,26 +317,26 @@ const WorkersBindingKindAISearch = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
317
317
|
namespace: "namespace",
|
|
318
318
|
})));
|
|
319
319
|
const WorkersBindingKindAISearchNamespace =
|
|
320
|
-
/*@__PURE__*/
|
|
320
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
321
321
|
name: Schema.String,
|
|
322
322
|
namespace: Schema.String,
|
|
323
323
|
type: Schema.Literal("ai_search_namespace"),
|
|
324
324
|
}));
|
|
325
325
|
const WorkersBindingKindAnalyticsEngine =
|
|
326
|
-
/*@__PURE__*/
|
|
326
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
327
327
|
dataset: Schema.String,
|
|
328
328
|
name: Schema.String,
|
|
329
329
|
type: Schema.Literal("analytics_engine"),
|
|
330
330
|
}));
|
|
331
|
-
const WorkersBindingKindAssets = /*@__PURE__*/
|
|
331
|
+
const WorkersBindingKindAssets = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
332
332
|
name: Schema.String,
|
|
333
333
|
type: Schema.Literal("assets"),
|
|
334
334
|
}));
|
|
335
|
-
const WorkersBindingKindBrowser = /*@__PURE__*/
|
|
335
|
+
const WorkersBindingKindBrowser = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
336
336
|
name: Schema.String,
|
|
337
337
|
type: Schema.Literal("browser"),
|
|
338
338
|
}));
|
|
339
|
-
const WorkersBindingKindD1 = /*@__PURE__*/
|
|
339
|
+
const WorkersBindingKindD1 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
340
340
|
databaseId: Schema.String,
|
|
341
341
|
name: Schema.String,
|
|
342
342
|
type: Schema.Literal("d1"),
|
|
@@ -347,29 +347,29 @@ const WorkersBindingKindD1 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Sc
|
|
|
347
347
|
type: "type",
|
|
348
348
|
id: "id",
|
|
349
349
|
})));
|
|
350
|
-
const WorkersBindingKindDataBlob = /*@__PURE__*/
|
|
350
|
+
const WorkersBindingKindDataBlob = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
351
351
|
name: Schema.String,
|
|
352
352
|
part: Schema.String,
|
|
353
353
|
type: Schema.Literal("data_blob"),
|
|
354
354
|
}));
|
|
355
|
-
const Worker = /*@__PURE__*/
|
|
355
|
+
const Worker = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
356
356
|
entrypoint: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
357
357
|
environment: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
358
358
|
service: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
359
359
|
}));
|
|
360
|
-
const Outbound = /*@__PURE__*/
|
|
360
|
+
const Outbound = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
361
361
|
params: Schema.optional(Schema.Union([Schema.Array(TailConsumer), Schema.Null])),
|
|
362
362
|
worker: Schema.optional(Schema.Union([Worker, Schema.Null])),
|
|
363
363
|
}));
|
|
364
364
|
const WorkersBindingKindDispatchNamespace =
|
|
365
|
-
/*@__PURE__*/
|
|
365
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
366
366
|
name: Schema.String,
|
|
367
367
|
namespace: Schema.String,
|
|
368
368
|
type: Schema.Literal("dispatch_namespace"),
|
|
369
369
|
outbound: Schema.optional(Schema.Union([Outbound, Schema.Null])),
|
|
370
370
|
}));
|
|
371
371
|
const WorkersBindingKindDurableObjectNamespace =
|
|
372
|
-
/*@__PURE__*/
|
|
372
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
373
373
|
name: Schema.String,
|
|
374
374
|
type: Schema.Literal("durable_object_namespace"),
|
|
375
375
|
className: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -386,12 +386,12 @@ const WorkersBindingKindDurableObjectNamespace =
|
|
|
386
386
|
namespaceId: "namespace_id",
|
|
387
387
|
scriptName: "script_name",
|
|
388
388
|
})));
|
|
389
|
-
const WorkersBindingKindHyperdrive = /*@__PURE__*/
|
|
389
|
+
const WorkersBindingKindHyperdrive = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
390
390
|
id: Schema.String,
|
|
391
391
|
name: Schema.String,
|
|
392
392
|
type: Schema.Literal("hyperdrive"),
|
|
393
393
|
}));
|
|
394
|
-
const WorkersBindingKindInherit = /*@__PURE__*/
|
|
394
|
+
const WorkersBindingKindInherit = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
395
395
|
name: Schema.String,
|
|
396
396
|
type: Schema.Literal("inherit"),
|
|
397
397
|
oldName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -402,17 +402,17 @@ const WorkersBindingKindInherit = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
402
402
|
oldName: "old_name",
|
|
403
403
|
versionId: "version_id",
|
|
404
404
|
})));
|
|
405
|
-
const WorkersBindingKindImages = /*@__PURE__*/
|
|
405
|
+
const WorkersBindingKindImages = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
406
406
|
name: Schema.String,
|
|
407
407
|
type: Schema.Literal("images"),
|
|
408
408
|
}));
|
|
409
|
-
const WorkersBindingKindJson = /*@__PURE__*/
|
|
409
|
+
const WorkersBindingKindJson = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
410
410
|
json: Schema.Unknown,
|
|
411
411
|
name: Schema.String,
|
|
412
412
|
type: Schema.Literal("json"),
|
|
413
413
|
}));
|
|
414
414
|
const WorkersBindingKindKVNamespace =
|
|
415
|
-
/*@__PURE__*/
|
|
415
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
416
416
|
name: Schema.String,
|
|
417
417
|
namespaceId: Schema.String,
|
|
418
418
|
type: Schema.Literal("kv_namespace"),
|
|
@@ -421,12 +421,12 @@ const WorkersBindingKindKVNamespace =
|
|
|
421
421
|
namespaceId: "namespace_id",
|
|
422
422
|
type: "type",
|
|
423
423
|
})));
|
|
424
|
-
const WorkersBindingKindMedia = /*@__PURE__*/
|
|
424
|
+
const WorkersBindingKindMedia = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
425
425
|
name: Schema.String,
|
|
426
426
|
type: Schema.Literal("media"),
|
|
427
427
|
}));
|
|
428
428
|
const WorkersBindingKindMTLSCertificate =
|
|
429
|
-
/*@__PURE__*/
|
|
429
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
430
430
|
certificateId: Schema.String,
|
|
431
431
|
name: Schema.String,
|
|
432
432
|
type: Schema.Literal("mtls_certificate"),
|
|
@@ -435,22 +435,22 @@ const WorkersBindingKindMTLSCertificate =
|
|
|
435
435
|
name: "name",
|
|
436
436
|
type: "type",
|
|
437
437
|
})));
|
|
438
|
-
const WorkersBindingKindPlainText = /*@__PURE__*/
|
|
438
|
+
const WorkersBindingKindPlainText = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
439
439
|
name: Schema.String,
|
|
440
440
|
text: Schema.String,
|
|
441
441
|
type: Schema.Literal("plain_text"),
|
|
442
442
|
}));
|
|
443
|
-
const WorkersBindingKindPipelines = /*@__PURE__*/
|
|
443
|
+
const WorkersBindingKindPipelines = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
444
444
|
name: Schema.String,
|
|
445
445
|
pipeline: Schema.String,
|
|
446
446
|
type: Schema.Literal("pipelines"),
|
|
447
447
|
}));
|
|
448
|
-
const WorkersBindingKindQueue = /*@__PURE__*/
|
|
448
|
+
const WorkersBindingKindQueue = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
449
449
|
name: Schema.String,
|
|
450
450
|
queueName: Schema.String,
|
|
451
451
|
type: Schema.Literal("queue"),
|
|
452
452
|
}).pipe(Schema.encodeKeys({ name: "name", queueName: "queue_name", type: "type" })));
|
|
453
|
-
const Simple = /*@__PURE__*/
|
|
453
|
+
const Simple = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
454
454
|
limit: Schema.Number,
|
|
455
455
|
period: Schema.Number,
|
|
456
456
|
mitigationTimeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -459,7 +459,7 @@ const Simple = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
459
459
|
period: "period",
|
|
460
460
|
mitigationTimeout: "mitigation_timeout",
|
|
461
461
|
})));
|
|
462
|
-
const WorkersBindingKindRatelimit = /*@__PURE__*/
|
|
462
|
+
const WorkersBindingKindRatelimit = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
463
463
|
name: Schema.String,
|
|
464
464
|
namespaceId: Schema.String,
|
|
465
465
|
simple: Simple,
|
|
@@ -470,7 +470,7 @@ const WorkersBindingKindRatelimit = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
470
470
|
simple: "simple",
|
|
471
471
|
type: "type",
|
|
472
472
|
})));
|
|
473
|
-
const WorkersBindingKindR2Bucket = /*@__PURE__*/
|
|
473
|
+
const WorkersBindingKindR2Bucket = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
474
474
|
bucketName: Schema.String,
|
|
475
475
|
name: Schema.String,
|
|
476
476
|
type: Schema.Literal("r2_bucket"),
|
|
@@ -487,11 +487,11 @@ const WorkersBindingKindR2Bucket = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
487
487
|
type: "type",
|
|
488
488
|
jurisdiction: "jurisdiction",
|
|
489
489
|
})));
|
|
490
|
-
const WorkersBindingKindSecretText = /*@__PURE__*/
|
|
490
|
+
const WorkersBindingKindSecretText = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
491
491
|
name: Schema.String,
|
|
492
492
|
type: Schema.Literal("secret_text"),
|
|
493
493
|
}));
|
|
494
|
-
const WorkersBindingKindSendEmail = /*@__PURE__*/
|
|
494
|
+
const WorkersBindingKindSendEmail = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
495
495
|
name: Schema.String,
|
|
496
496
|
type: Schema.Literal("send_email"),
|
|
497
497
|
allowedDestinationAddresses: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
@@ -504,19 +504,19 @@ const WorkersBindingKindSendEmail = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
504
504
|
allowedSenderAddresses: "allowed_sender_addresses",
|
|
505
505
|
destinationAddress: "destination_address",
|
|
506
506
|
})));
|
|
507
|
-
const WorkersBindingKindService = /*@__PURE__*/
|
|
507
|
+
const WorkersBindingKindService = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
508
508
|
name: Schema.String,
|
|
509
509
|
service: Schema.String,
|
|
510
510
|
type: Schema.Literal("service"),
|
|
511
511
|
entrypoint: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
512
512
|
environment: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
513
513
|
}));
|
|
514
|
-
const WorkersBindingKindTextBlob = /*@__PURE__*/
|
|
514
|
+
const WorkersBindingKindTextBlob = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
515
515
|
name: Schema.String,
|
|
516
516
|
part: Schema.String,
|
|
517
517
|
type: Schema.Literal("text_blob"),
|
|
518
518
|
}));
|
|
519
|
-
const WorkersBindingKindVectorize = /*@__PURE__*/
|
|
519
|
+
const WorkersBindingKindVectorize = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
520
520
|
indexName: Schema.String,
|
|
521
521
|
name: Schema.String,
|
|
522
522
|
type: Schema.Literal("vectorize"),
|
|
@@ -526,12 +526,12 @@ const WorkersBindingKindVectorize = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
526
526
|
type: "type",
|
|
527
527
|
})));
|
|
528
528
|
const WorkersBindingKindVersionMetadata =
|
|
529
|
-
/*@__PURE__*/
|
|
529
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
530
530
|
name: Schema.String,
|
|
531
531
|
type: Schema.Literal("version_metadata"),
|
|
532
532
|
}));
|
|
533
533
|
const WorkersBindingKindSecretsStoreSecret =
|
|
534
|
-
/*@__PURE__*/
|
|
534
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
535
535
|
name: Schema.String,
|
|
536
536
|
secretName: Schema.String,
|
|
537
537
|
storeId: Schema.String,
|
|
@@ -542,12 +542,12 @@ const WorkersBindingKindSecretsStoreSecret =
|
|
|
542
542
|
storeId: "store_id",
|
|
543
543
|
type: "type",
|
|
544
544
|
})));
|
|
545
|
-
const WorkersBindingKindFlagship = /*@__PURE__*/
|
|
545
|
+
const WorkersBindingKindFlagship = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
546
546
|
appId: Schema.String,
|
|
547
547
|
name: Schema.String,
|
|
548
548
|
type: Schema.Literal("flagship"),
|
|
549
549
|
}).pipe(Schema.encodeKeys({ appId: "app_id", name: "name", type: "type" })));
|
|
550
|
-
const WorkersBindingKindSecretKey = /*@__PURE__*/
|
|
550
|
+
const WorkersBindingKindSecretKey = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
551
551
|
algorithm: Schema.Unknown,
|
|
552
552
|
format: Schema.Union([
|
|
553
553
|
Schema.Literals(["raw", "pkcs8", "spki", "jwk"]),
|
|
@@ -569,7 +569,7 @@ const WorkersBindingKindSecretKey = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
569
569
|
Schema.String,
|
|
570
570
|
])),
|
|
571
571
|
}));
|
|
572
|
-
const WorkersBindingKindWorkflow = /*@__PURE__*/
|
|
572
|
+
const WorkersBindingKindWorkflow = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
573
573
|
name: Schema.String,
|
|
574
574
|
type: Schema.Literal("workflow"),
|
|
575
575
|
workflowName: Schema.String,
|
|
@@ -582,12 +582,12 @@ const WorkersBindingKindWorkflow = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
582
582
|
className: "class_name",
|
|
583
583
|
scriptName: "script_name",
|
|
584
584
|
})));
|
|
585
|
-
const WorkersBindingKindWasmModule = /*@__PURE__*/
|
|
585
|
+
const WorkersBindingKindWasmModule = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
586
586
|
name: Schema.String,
|
|
587
587
|
part: Schema.String,
|
|
588
588
|
type: Schema.Literal("wasm_module"),
|
|
589
589
|
}));
|
|
590
|
-
const WorkersBindingKindVPCService = /*@__PURE__*/
|
|
590
|
+
const WorkersBindingKindVPCService = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
591
591
|
name: Schema.String,
|
|
592
592
|
serviceId: Schema.String,
|
|
593
593
|
type: Schema.Literal("vpc_service"),
|
|
@@ -596,7 +596,7 @@ const WorkersBindingKindVPCService = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
596
596
|
serviceId: "service_id",
|
|
597
597
|
type: "type",
|
|
598
598
|
})));
|
|
599
|
-
const WorkersBindingKindVPCNetwork = /*@__PURE__*/
|
|
599
|
+
const WorkersBindingKindVPCNetwork = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
600
600
|
name: Schema.String,
|
|
601
601
|
type: Schema.Literal("vpc_network"),
|
|
602
602
|
networkId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -608,33 +608,33 @@ const WorkersBindingKindVPCNetwork = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
608
608
|
tunnelId: "tunnel_id",
|
|
609
609
|
})));
|
|
610
610
|
const GetBetaWorkerVersionResponseBinding35 =
|
|
611
|
-
/*@__PURE__*/
|
|
611
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
612
612
|
name: Schema.String,
|
|
613
613
|
type: Schema.Literal("worker_loader"),
|
|
614
614
|
}));
|
|
615
615
|
const GetBetaWorkerVersionResponseBinding36 =
|
|
616
|
-
/*@__PURE__*/
|
|
616
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
617
617
|
name: Schema.String,
|
|
618
618
|
type: Schema.Literal("artifacts"),
|
|
619
619
|
namespace: Schema.String,
|
|
620
620
|
}));
|
|
621
|
-
const Container = /*@__PURE__*/
|
|
621
|
+
const Container = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
622
622
|
className: Schema.String,
|
|
623
623
|
}).pipe(Schema.encodeKeys({ className: "class_name" })));
|
|
624
|
-
const Limits = /*@__PURE__*/
|
|
624
|
+
const Limits = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
625
625
|
cpuMs: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
626
626
|
subrequests: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
627
627
|
}).pipe(Schema.encodeKeys({ cpuMs: "cpu_ms", subrequests: "subrequests" })));
|
|
628
|
-
const RenamedClass = /*@__PURE__*/
|
|
628
|
+
const RenamedClass = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
629
629
|
from: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
630
630
|
to: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
631
631
|
}));
|
|
632
|
-
const TransferredClass = /*@__PURE__*/
|
|
632
|
+
const TransferredClass = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
633
633
|
from: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
634
634
|
fromScript: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
635
635
|
to: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
636
636
|
}).pipe(Schema.encodeKeys({ from: "from", fromScript: "from_script", to: "to" })));
|
|
637
|
-
const MigrationStepParam = /*@__PURE__*/
|
|
637
|
+
const MigrationStepParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
638
638
|
deletedClasses: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
639
639
|
newClasses: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
640
640
|
newSqliteClasses: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
@@ -648,7 +648,7 @@ const MigrationStepParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Sche
|
|
|
648
648
|
transferredClasses: "transferred_classes",
|
|
649
649
|
})));
|
|
650
650
|
const WorkersMultipleStepMigrations =
|
|
651
|
-
/*@__PURE__*/
|
|
651
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
652
652
|
newTag: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
653
653
|
oldTag: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
654
654
|
steps: Schema.optional(Schema.Union([Schema.Array(MigrationStepParam), Schema.Null])),
|
|
@@ -657,7 +657,7 @@ const WorkersMultipleStepMigrations =
|
|
|
657
657
|
oldTag: "old_tag",
|
|
658
658
|
steps: "steps",
|
|
659
659
|
})));
|
|
660
|
-
const Module = /*@__PURE__*/
|
|
660
|
+
const Module = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
661
661
|
contentBase64: Schema.String,
|
|
662
662
|
contentType: Schema.String,
|
|
663
663
|
name: Schema.String,
|
|
@@ -666,40 +666,40 @@ const Module = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
666
666
|
contentType: "content_type",
|
|
667
667
|
name: "name",
|
|
668
668
|
})));
|
|
669
|
-
const Mode = /*@__PURE__*/
|
|
669
|
+
const Mode = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
670
670
|
mode: Schema.Literal("smart"),
|
|
671
671
|
}));
|
|
672
|
-
const Region = /*@__PURE__*/
|
|
672
|
+
const Region = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
673
673
|
region: Schema.String,
|
|
674
674
|
}));
|
|
675
|
-
const Hostname = /*@__PURE__*/
|
|
675
|
+
const Hostname = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
676
676
|
hostname: Schema.String,
|
|
677
677
|
}));
|
|
678
|
-
const Host = /*@__PURE__*/
|
|
678
|
+
const Host = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
679
679
|
host: Schema.String,
|
|
680
680
|
}));
|
|
681
681
|
const GetBetaWorkerVersionResponsePlacement4 =
|
|
682
|
-
/*@__PURE__*/
|
|
682
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
683
683
|
mode: Schema.Literal("targeted"),
|
|
684
684
|
region: Schema.String,
|
|
685
685
|
}));
|
|
686
686
|
const GetBetaWorkerVersionResponsePlacement5 =
|
|
687
|
-
/*@__PURE__*/
|
|
687
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
688
688
|
hostname: Schema.String,
|
|
689
689
|
mode: Schema.Literal("targeted"),
|
|
690
690
|
}));
|
|
691
691
|
const GetBetaWorkerVersionResponsePlacement6 =
|
|
692
|
-
/*@__PURE__*/
|
|
692
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
693
693
|
host: Schema.String,
|
|
694
694
|
mode: Schema.Literal("targeted"),
|
|
695
695
|
}));
|
|
696
696
|
const GetBetaWorkerVersionResponsePlacement7 =
|
|
697
|
-
/*@__PURE__*/
|
|
697
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
698
698
|
mode: Schema.Literal("targeted"),
|
|
699
699
|
target: Schema.Array(Schema.Union([Region, Hostname, Host])),
|
|
700
700
|
}));
|
|
701
701
|
const ListBetaWorkerVersionsResponseResult =
|
|
702
|
-
/*@__PURE__*/
|
|
702
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
703
703
|
id: Schema.String,
|
|
704
704
|
createdOn: Schema.String,
|
|
705
705
|
number: Schema.Number,
|
|
@@ -802,7 +802,7 @@ const ListBetaWorkerVersionsResponseResult =
|
|
|
802
802
|
startupTimeMs: "startup_time_ms",
|
|
803
803
|
usageModel: "usage_model",
|
|
804
804
|
})));
|
|
805
|
-
const Annotations2 = /*@__PURE__*/
|
|
805
|
+
const Annotations2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
806
806
|
workersMessage: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
807
807
|
workersTag: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
808
808
|
}).pipe(Schema.encodeKeys({
|
|
@@ -810,7 +810,7 @@ const Annotations2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
810
810
|
workersTag: "workers/tag",
|
|
811
811
|
})));
|
|
812
812
|
const WorkersBindingKindDurableObjectNamespace2 =
|
|
813
|
-
/*@__PURE__*/
|
|
813
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
814
814
|
name: Schema.String,
|
|
815
815
|
type: Schema.Literal("durable_object_namespace"),
|
|
816
816
|
className: Schema.String,
|
|
@@ -828,12 +828,12 @@ const WorkersBindingKindDurableObjectNamespace2 =
|
|
|
828
828
|
scriptName: "script_name",
|
|
829
829
|
})));
|
|
830
830
|
const WorkersBindingKindSecretText2 =
|
|
831
|
-
/*@__PURE__*/
|
|
831
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
832
832
|
name: Schema.String,
|
|
833
833
|
text: Schema.String,
|
|
834
834
|
type: Schema.Literal("secret_text"),
|
|
835
835
|
}));
|
|
836
|
-
const WorkersBindingKindSecretKey2 = /*@__PURE__*/
|
|
836
|
+
const WorkersBindingKindSecretKey2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
837
837
|
algorithm: Schema.Unknown,
|
|
838
838
|
format: Schema.Union([
|
|
839
839
|
Schema.Literals(["raw", "pkcs8", "spki", "jwk"]),
|
|
@@ -865,7 +865,7 @@ const WorkersBindingKindSecretKey2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
865
865
|
keyBase64: "key_base64",
|
|
866
866
|
keyJwk: "key_jwk",
|
|
867
867
|
})));
|
|
868
|
-
const WorkersBindingKindWorkflow2 = /*@__PURE__*/
|
|
868
|
+
const WorkersBindingKindWorkflow2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
869
869
|
name: Schema.String,
|
|
870
870
|
type: Schema.Literal("workflow"),
|
|
871
871
|
workflowName: Schema.String,
|
|
@@ -878,7 +878,7 @@ const WorkersBindingKindWorkflow2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
878
878
|
className: "class_name",
|
|
879
879
|
scriptName: "script_name",
|
|
880
880
|
})));
|
|
881
|
-
const SingleStepMigrationParam = /*@__PURE__*/
|
|
881
|
+
const SingleStepMigrationParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
882
882
|
deletedClasses: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
883
883
|
newClasses: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
884
884
|
newSqliteClasses: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
@@ -895,7 +895,7 @@ const SingleStepMigrationParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
895
895
|
renamedClasses: "renamed_classes",
|
|
896
896
|
transferredClasses: "transferred_classes",
|
|
897
897
|
})));
|
|
898
|
-
const ListDomainsResponseResult = /*@__PURE__*/
|
|
898
|
+
const ListDomainsResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
899
899
|
id: Schema.String,
|
|
900
900
|
certId: Schema.String,
|
|
901
901
|
environment: Schema.String,
|
|
@@ -912,7 +912,7 @@ const ListDomainsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
912
912
|
zoneId: "zone_id",
|
|
913
913
|
zoneName: "zone_name",
|
|
914
914
|
})));
|
|
915
|
-
const JobStatus = /*@__PURE__*/
|
|
915
|
+
const JobStatus = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
916
916
|
errorMessage: Schema.String,
|
|
917
917
|
lastComplete: Schema.String,
|
|
918
918
|
lastError: Schema.String,
|
|
@@ -921,7 +921,7 @@ const JobStatus = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
|
|
|
921
921
|
lastComplete: "last_complete",
|
|
922
922
|
lastError: "last_error",
|
|
923
923
|
})));
|
|
924
|
-
const Configuration = /*@__PURE__*/
|
|
924
|
+
const Configuration = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
925
925
|
destinationConf: Schema.String,
|
|
926
926
|
headers: Schema.Record(Schema.String, Schema.Unknown),
|
|
927
927
|
jobStatus: JobStatus,
|
|
@@ -944,14 +944,14 @@ const Configuration = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.St
|
|
|
944
944
|
url: "url",
|
|
945
945
|
})));
|
|
946
946
|
const ListObservabilityDestinationsResponseResult =
|
|
947
|
-
/*@__PURE__*/
|
|
947
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
948
948
|
configuration: Configuration,
|
|
949
949
|
enabled: Schema.Boolean,
|
|
950
950
|
name: Schema.String,
|
|
951
951
|
scripts: Schema.Array(Schema.String),
|
|
952
952
|
slug: Schema.String,
|
|
953
953
|
}));
|
|
954
|
-
const Configuration2 = /*@__PURE__*/
|
|
954
|
+
const Configuration2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
955
955
|
headers: Schema.Record(Schema.String, Schema.Unknown),
|
|
956
956
|
logpushDataset: Schema.Union([
|
|
957
957
|
Schema.Literals([
|
|
@@ -964,7 +964,7 @@ const Configuration2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.S
|
|
|
964
964
|
type: Schema.Literal("logpush"),
|
|
965
965
|
url: Schema.String,
|
|
966
966
|
}));
|
|
967
|
-
const Configuration3 = /*@__PURE__*/
|
|
967
|
+
const Configuration3 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
968
968
|
destinationConf: Schema.String,
|
|
969
969
|
logpushDataset: Schema.Union([
|
|
970
970
|
Schema.Literals([
|
|
@@ -984,12 +984,12 @@ const Configuration3 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.S
|
|
|
984
984
|
type: "type",
|
|
985
985
|
url: "url",
|
|
986
986
|
})));
|
|
987
|
-
const Configuration4 = /*@__PURE__*/
|
|
987
|
+
const Configuration4 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
988
988
|
headers: Schema.Record(Schema.String, Schema.Unknown),
|
|
989
989
|
type: Schema.Literal("logpush"),
|
|
990
990
|
url: Schema.String,
|
|
991
991
|
}));
|
|
992
|
-
const Calculation = /*@__PURE__*/
|
|
992
|
+
const Calculation = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
993
993
|
operator: Schema.Union([
|
|
994
994
|
Schema.Literals([
|
|
995
995
|
"uniq",
|
|
@@ -1044,7 +1044,7 @@ const Calculation = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Stru
|
|
|
1044
1044
|
])),
|
|
1045
1045
|
}));
|
|
1046
1046
|
const ListObservabilityQueriesResponseResultParametersFilter =
|
|
1047
|
-
/*@__PURE__*/
|
|
1047
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1048
1048
|
filterCombination: Schema.Union([
|
|
1049
1049
|
Schema.Literals(["and", "or", "AND", "OR"]),
|
|
1050
1050
|
Schema.String,
|
|
@@ -1053,7 +1053,7 @@ const ListObservabilityQueriesResponseResultParametersFilter =
|
|
|
1053
1053
|
kind: Schema.Literal("group"),
|
|
1054
1054
|
}));
|
|
1055
1055
|
const WorkersObservabilityFilterLeaf =
|
|
1056
|
-
/*@__PURE__*/
|
|
1056
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1057
1057
|
key: Schema.String,
|
|
1058
1058
|
operation: Schema.Union([
|
|
1059
1059
|
Schema.Literals([
|
|
@@ -1100,14 +1100,14 @@ const WorkersObservabilityFilterLeaf =
|
|
|
1100
1100
|
Schema.Null,
|
|
1101
1101
|
])),
|
|
1102
1102
|
}));
|
|
1103
|
-
const GroupBy = /*@__PURE__*/
|
|
1103
|
+
const GroupBy = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1104
1104
|
type: Schema.Union([
|
|
1105
1105
|
Schema.Literals(["string", "number", "boolean"]),
|
|
1106
1106
|
Schema.String,
|
|
1107
1107
|
]),
|
|
1108
1108
|
value: Schema.String,
|
|
1109
1109
|
}));
|
|
1110
|
-
const Having = /*@__PURE__*/
|
|
1110
|
+
const Having = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1111
1111
|
key: Schema.String,
|
|
1112
1112
|
operation: Schema.Union([
|
|
1113
1113
|
Schema.Literals(["eq", "neq", "gt", "gte", "lt", "lte"]),
|
|
@@ -1115,19 +1115,19 @@ const Having = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
1115
1115
|
]),
|
|
1116
1116
|
value: Schema.Number,
|
|
1117
1117
|
}));
|
|
1118
|
-
const Needle = /*@__PURE__*/
|
|
1118
|
+
const Needle = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1119
1119
|
value: Schema.Union([Schema.String, Schema.Number, Schema.Boolean]),
|
|
1120
1120
|
isRegex: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1121
1121
|
matchCase: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1122
1122
|
}));
|
|
1123
|
-
const OrderBy = /*@__PURE__*/
|
|
1123
|
+
const OrderBy = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1124
1124
|
value: Schema.String,
|
|
1125
1125
|
order: Schema.optional(Schema.Union([
|
|
1126
1126
|
Schema.Union([Schema.Literals(["asc", "desc"]), Schema.String]),
|
|
1127
1127
|
Schema.Null,
|
|
1128
1128
|
])),
|
|
1129
1129
|
}));
|
|
1130
|
-
const Parameters = /*@__PURE__*/
|
|
1130
|
+
const Parameters = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1131
1131
|
calculations: Schema.optional(Schema.Union([Schema.Array(Calculation), Schema.Null])),
|
|
1132
1132
|
datasets: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1133
1133
|
filterCombination: Schema.optional(Schema.Union([
|
|
@@ -1151,7 +1151,7 @@ const Parameters = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
|
|
|
1151
1151
|
orderBy: Schema.optional(Schema.Union([OrderBy, Schema.Null])),
|
|
1152
1152
|
}));
|
|
1153
1153
|
const ListObservabilityQueriesResponseResult =
|
|
1154
|
-
/*@__PURE__*/
|
|
1154
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1155
1155
|
id: Schema.String,
|
|
1156
1156
|
adhoc: Schema.Boolean,
|
|
1157
1157
|
created: Schema.String,
|
|
@@ -1162,12 +1162,12 @@ const ListObservabilityQueriesResponseResult =
|
|
|
1162
1162
|
updated: Schema.String,
|
|
1163
1163
|
updatedBy: Schema.String,
|
|
1164
1164
|
}));
|
|
1165
|
-
const Needle2 = /*@__PURE__*/
|
|
1165
|
+
const Needle2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1166
1166
|
value: Schema.Unknown,
|
|
1167
1167
|
isRegex: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1168
1168
|
matchCase: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1169
1169
|
}));
|
|
1170
|
-
const Parameters2 = /*@__PURE__*/
|
|
1170
|
+
const Parameters2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1171
1171
|
calculations: Schema.optional(Schema.Union([Schema.Array(Calculation), Schema.Null])),
|
|
1172
1172
|
datasets: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1173
1173
|
filterCombination: Schema.optional(Schema.Union([
|
|
@@ -1190,7 +1190,7 @@ const Parameters2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Stru
|
|
|
1190
1190
|
needle: Schema.optional(Schema.Union([Needle2, Schema.Null])),
|
|
1191
1191
|
orderBy: Schema.optional(Schema.Union([OrderBy, Schema.Null])),
|
|
1192
1192
|
}));
|
|
1193
|
-
const Query = /*@__PURE__*/
|
|
1193
|
+
const Query = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1194
1194
|
id: Schema.String,
|
|
1195
1195
|
adhoc: Schema.Boolean,
|
|
1196
1196
|
created: Schema.String,
|
|
@@ -1201,11 +1201,11 @@ const Query = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
1201
1201
|
updated: Schema.String,
|
|
1202
1202
|
updatedBy: Schema.String,
|
|
1203
1203
|
}));
|
|
1204
|
-
const Timeframe = /*@__PURE__*/
|
|
1204
|
+
const Timeframe = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1205
1205
|
from: Schema.Number,
|
|
1206
1206
|
to: Schema.Number,
|
|
1207
1207
|
}));
|
|
1208
|
-
const Statistics = /*@__PURE__*/
|
|
1208
|
+
const Statistics = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1209
1209
|
bytesRead: Schema.Number,
|
|
1210
1210
|
elapsed: Schema.Number,
|
|
1211
1211
|
rowsRead: Schema.Number,
|
|
@@ -1216,7 +1216,7 @@ const Statistics = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
|
|
|
1216
1216
|
rowsRead: "rows_read",
|
|
1217
1217
|
abrLevel: "abr_level",
|
|
1218
1218
|
})));
|
|
1219
|
-
const Run = /*@__PURE__*/
|
|
1219
|
+
const Run = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1220
1220
|
id: Schema.String,
|
|
1221
1221
|
accountId: Schema.String,
|
|
1222
1222
|
dry: Schema.Boolean,
|
|
@@ -1232,7 +1232,7 @@ const Run = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
1232
1232
|
statistics: Schema.optional(Schema.Union([Statistics, Schema.Null])),
|
|
1233
1233
|
updated: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1234
1234
|
}));
|
|
1235
|
-
const Agent = /*@__PURE__*/
|
|
1235
|
+
const Agent = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1236
1236
|
agentClass: Schema.String,
|
|
1237
1237
|
eventTypeCounts: Schema.Record(Schema.String, Schema.Unknown),
|
|
1238
1238
|
firstEventMs: Schema.Number,
|
|
@@ -1242,18 +1242,18 @@ const Agent = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
1242
1242
|
service: Schema.String,
|
|
1243
1243
|
totalEvents: Schema.Number,
|
|
1244
1244
|
}));
|
|
1245
|
-
const Group = /*@__PURE__*/
|
|
1245
|
+
const Group = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1246
1246
|
key: Schema.String,
|
|
1247
1247
|
value: Schema.Union([Schema.String, Schema.Number, Schema.Boolean]),
|
|
1248
1248
|
}));
|
|
1249
|
-
const Aggregate = /*@__PURE__*/
|
|
1249
|
+
const Aggregate = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1250
1250
|
count: Schema.Number,
|
|
1251
1251
|
interval: Schema.Number,
|
|
1252
1252
|
sampleInterval: Schema.Number,
|
|
1253
1253
|
value: Schema.Number,
|
|
1254
1254
|
groups: Schema.optional(Schema.Union([Schema.Array(Group), Schema.Null])),
|
|
1255
1255
|
}));
|
|
1256
|
-
const Data = /*@__PURE__*/
|
|
1256
|
+
const Data = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1257
1257
|
count: Schema.Number,
|
|
1258
1258
|
interval: Schema.Number,
|
|
1259
1259
|
sampleInterval: Schema.Number,
|
|
@@ -1262,17 +1262,17 @@ const Data = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
1262
1262
|
groups: Schema.optional(Schema.Union([Schema.Array(Group), Schema.Null])),
|
|
1263
1263
|
lastSeen: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1264
1264
|
}));
|
|
1265
|
-
const Series = /*@__PURE__*/
|
|
1265
|
+
const Series = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1266
1266
|
data: Schema.Array(Data),
|
|
1267
1267
|
time: Schema.String,
|
|
1268
1268
|
}));
|
|
1269
|
-
const Calculation2 = /*@__PURE__*/
|
|
1269
|
+
const Calculation2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1270
1270
|
aggregates: Schema.Array(Aggregate),
|
|
1271
1271
|
calculation: Schema.String,
|
|
1272
1272
|
series: Schema.Array(Series),
|
|
1273
1273
|
alias: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1274
1274
|
}));
|
|
1275
|
-
const Metadata = /*@__PURE__*/
|
|
1275
|
+
const Metadata = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1276
1276
|
id: Schema.String,
|
|
1277
1277
|
account: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1278
1278
|
cloudService: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1305,18 +1305,18 @@ const Metadata = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct(
|
|
|
1305
1305
|
type: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1306
1306
|
url: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1307
1307
|
}));
|
|
1308
|
-
const Preview = /*@__PURE__*/
|
|
1308
|
+
const Preview = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1309
1309
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1310
1310
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1311
1311
|
slug: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1312
1312
|
}));
|
|
1313
|
-
const ScriptVersion = /*@__PURE__*/
|
|
1313
|
+
const ScriptVersion = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1314
1314
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1315
1315
|
message: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1316
1316
|
tag: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1317
1317
|
}));
|
|
1318
1318
|
const GetObservabilitySharedQueryResponseEventsEventworkers =
|
|
1319
|
-
/*@__PURE__*/
|
|
1319
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1320
1320
|
eventType: Schema.Union([
|
|
1321
1321
|
Schema.Literals([
|
|
1322
1322
|
"fetch",
|
|
@@ -1355,13 +1355,13 @@ const GetObservabilitySharedQueryResponseEventsEventworkers =
|
|
|
1355
1355
|
traceId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1356
1356
|
truncated: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1357
1357
|
}));
|
|
1358
|
-
const DiagnosticsChannelEvent = /*@__PURE__*/
|
|
1358
|
+
const DiagnosticsChannelEvent = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1359
1359
|
channel: Schema.String,
|
|
1360
1360
|
message: Schema.String,
|
|
1361
1361
|
timestamp: Schema.Number,
|
|
1362
1362
|
}));
|
|
1363
1363
|
const GetObservabilitySharedQueryResponseEventsEventworkers1 =
|
|
1364
|
-
/*@__PURE__*/
|
|
1364
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1365
1365
|
cpuTimeMs: Schema.Number,
|
|
1366
1366
|
eventType: Schema.Union([
|
|
1367
1367
|
Schema.Literals([
|
|
@@ -1404,7 +1404,7 @@ const GetObservabilitySharedQueryResponseEventsEventworkers1 =
|
|
|
1404
1404
|
traceId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1405
1405
|
truncated: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1406
1406
|
}));
|
|
1407
|
-
const Event = /*@__PURE__*/
|
|
1407
|
+
const Event = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1408
1408
|
$metadata: Metadata,
|
|
1409
1409
|
dataset: Schema.String,
|
|
1410
1410
|
source: Schema.Union([
|
|
@@ -1421,11 +1421,11 @@ const Event = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
1421
1421
|
Schema.Null,
|
|
1422
1422
|
])),
|
|
1423
1423
|
}));
|
|
1424
|
-
const Field = /*@__PURE__*/
|
|
1424
|
+
const Field = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1425
1425
|
key: Schema.String,
|
|
1426
1426
|
type: Schema.String,
|
|
1427
1427
|
}));
|
|
1428
|
-
const Aggregates = /*@__PURE__*/
|
|
1428
|
+
const Aggregates = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1429
1429
|
count: Schema.Number,
|
|
1430
1430
|
interval: Schema.Number,
|
|
1431
1431
|
firstSeen: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1438,7 +1438,7 @@ const Aggregates = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
|
|
|
1438
1438
|
lastSeen: "_lastSeen",
|
|
1439
1439
|
bin: "bin",
|
|
1440
1440
|
})));
|
|
1441
|
-
const Data2 = /*@__PURE__*/
|
|
1441
|
+
const Data2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1442
1442
|
aggregates: Aggregates,
|
|
1443
1443
|
count: Schema.Number,
|
|
1444
1444
|
interval: Schema.Number,
|
|
@@ -1446,17 +1446,17 @@ const Data2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
1446
1446
|
errors: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1447
1447
|
groups: Schema.optional(Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null])),
|
|
1448
1448
|
}));
|
|
1449
|
-
const Series2 = /*@__PURE__*/
|
|
1449
|
+
const Series2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1450
1450
|
data: Schema.Array(Data2),
|
|
1451
1451
|
time: Schema.String,
|
|
1452
1452
|
}));
|
|
1453
|
-
const Events = /*@__PURE__*/
|
|
1453
|
+
const Events = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1454
1454
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1455
1455
|
events: Schema.optional(Schema.Union([Schema.Array(Event), Schema.Null])),
|
|
1456
1456
|
fields: Schema.optional(Schema.Union([Schema.Array(Field), Schema.Null])),
|
|
1457
1457
|
series: Schema.optional(Schema.Union([Schema.Array(Series2), Schema.Null])),
|
|
1458
1458
|
}));
|
|
1459
|
-
const Trace = /*@__PURE__*/
|
|
1459
|
+
const Trace = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1460
1460
|
rootSpanName: Schema.String,
|
|
1461
1461
|
rootTransactionName: Schema.String,
|
|
1462
1462
|
service: Schema.Array(Schema.String),
|
|
@@ -1468,7 +1468,7 @@ const Trace = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
1468
1468
|
errors: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1469
1469
|
}));
|
|
1470
1470
|
const CreateObservabilitySharedQueryRequestParametersFilter =
|
|
1471
|
-
/*@__PURE__*/
|
|
1471
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1472
1472
|
filterCombination: Schema.Union([
|
|
1473
1473
|
Schema.Literals(["and", "or", "AND", "OR"]),
|
|
1474
1474
|
Schema.String,
|
|
@@ -1479,7 +1479,7 @@ const CreateObservabilitySharedQueryRequestParametersFilter =
|
|
|
1479
1479
|
])),
|
|
1480
1480
|
kind: Schema.Literal("group"),
|
|
1481
1481
|
}));
|
|
1482
|
-
const Parameters3 = /*@__PURE__*/
|
|
1482
|
+
const Parameters3 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1483
1483
|
calculations: Schema.optional(Schema.Union([Schema.Array(Calculation), Schema.Null])),
|
|
1484
1484
|
datasets: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1485
1485
|
filterCombination: Schema.optional(Schema.Union([
|
|
@@ -1503,7 +1503,7 @@ const Parameters3 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Stru
|
|
|
1503
1503
|
orderBy: Schema.optional(Schema.Union([OrderBy, Schema.Null])),
|
|
1504
1504
|
}));
|
|
1505
1505
|
const KeysObservabilityTelemetryResponseResult =
|
|
1506
|
-
/*@__PURE__*/
|
|
1506
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1507
1507
|
key: Schema.String,
|
|
1508
1508
|
lastSeenAt: Schema.Number,
|
|
1509
1509
|
type: Schema.Union([
|
|
@@ -1511,7 +1511,7 @@ const KeysObservabilityTelemetryResponseResult =
|
|
|
1511
1511
|
Schema.String,
|
|
1512
1512
|
]),
|
|
1513
1513
|
}));
|
|
1514
|
-
const Query2 = /*@__PURE__*/
|
|
1514
|
+
const Query2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1515
1515
|
id: Schema.String,
|
|
1516
1516
|
adhoc: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1517
1517
|
created: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1522,7 +1522,7 @@ const Query2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
1522
1522
|
updated: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1523
1523
|
updatedBy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1524
1524
|
}));
|
|
1525
|
-
const Run2 = /*@__PURE__*/
|
|
1525
|
+
const Run2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1526
1526
|
id: Schema.String,
|
|
1527
1527
|
accountId: Schema.String,
|
|
1528
1528
|
dry: Schema.Boolean,
|
|
@@ -1538,7 +1538,7 @@ const Run2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
1538
1538
|
statistics: Schema.optional(Schema.Union([Statistics, Schema.Null])),
|
|
1539
1539
|
updated: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1540
1540
|
}));
|
|
1541
|
-
const Event2 = /*@__PURE__*/
|
|
1541
|
+
const Event2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1542
1542
|
$metadata: Metadata,
|
|
1543
1543
|
dataset: Schema.String,
|
|
1544
1544
|
source: Schema.Unknown,
|
|
@@ -1552,7 +1552,7 @@ const Event2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
1552
1552
|
Schema.Null,
|
|
1553
1553
|
])),
|
|
1554
1554
|
}));
|
|
1555
|
-
const Aggregates2 = /*@__PURE__*/
|
|
1555
|
+
const Aggregates2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1556
1556
|
count: Schema.Number,
|
|
1557
1557
|
interval: Schema.Number,
|
|
1558
1558
|
firstSeen: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1567,7 +1567,7 @@ const Aggregates2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Stru
|
|
|
1567
1567
|
bin: "bin",
|
|
1568
1568
|
countErrors: "_countErrors",
|
|
1569
1569
|
})));
|
|
1570
|
-
const Data3 = /*@__PURE__*/
|
|
1570
|
+
const Data3 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1571
1571
|
aggregates: Aggregates2,
|
|
1572
1572
|
count: Schema.Number,
|
|
1573
1573
|
interval: Schema.Number,
|
|
@@ -1575,11 +1575,11 @@ const Data3 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
1575
1575
|
errors: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1576
1576
|
groups: Schema.optional(Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null])),
|
|
1577
1577
|
}));
|
|
1578
|
-
const Series3 = /*@__PURE__*/
|
|
1578
|
+
const Series3 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1579
1579
|
data: Schema.Array(Data3),
|
|
1580
1580
|
time: Schema.String,
|
|
1581
1581
|
}));
|
|
1582
|
-
const Events2 = /*@__PURE__*/
|
|
1582
|
+
const Events2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1583
1583
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1584
1584
|
events: Schema.optional(Schema.Union([Schema.Array(Event2), Schema.Null])),
|
|
1585
1585
|
fields: Schema.optional(Schema.Union([Schema.Array(Field), Schema.Null])),
|
|
@@ -1587,7 +1587,7 @@ const Events2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
1587
1587
|
statistics: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
|
|
1588
1588
|
}));
|
|
1589
1589
|
const ValuesObservabilityTelemetryResponseResult =
|
|
1590
|
-
/*@__PURE__*/
|
|
1590
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1591
1591
|
dataset: Schema.String,
|
|
1592
1592
|
key: Schema.String,
|
|
1593
1593
|
type: Schema.Union([
|
|
@@ -1596,16 +1596,16 @@ const ValuesObservabilityTelemetryResponseResult =
|
|
|
1596
1596
|
]),
|
|
1597
1597
|
value: Schema.Union([Schema.String, Schema.Number, Schema.Boolean]),
|
|
1598
1598
|
}));
|
|
1599
|
-
const ListRoutesResponseResult = /*@__PURE__*/
|
|
1599
|
+
const ListRoutesResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1600
1600
|
id: Schema.String,
|
|
1601
1601
|
pattern: Schema.String,
|
|
1602
1602
|
script: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1603
1603
|
}));
|
|
1604
|
-
const NamedHandler = /*@__PURE__*/
|
|
1604
|
+
const NamedHandler = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1605
1605
|
handlers: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1606
1606
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1607
1607
|
}));
|
|
1608
|
-
const Logs2 = /*@__PURE__*/
|
|
1608
|
+
const Logs2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1609
1609
|
enabled: Schema.Boolean,
|
|
1610
1610
|
invocationLogs: Schema.Boolean,
|
|
1611
1611
|
destinations: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
@@ -1618,7 +1618,7 @@ const Logs2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
1618
1618
|
headSamplingRate: "head_sampling_rate",
|
|
1619
1619
|
persist: "persist",
|
|
1620
1620
|
})));
|
|
1621
|
-
const Traces2 = /*@__PURE__*/
|
|
1621
|
+
const Traces2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1622
1622
|
destinations: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1623
1623
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1624
1624
|
headSamplingRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -1637,7 +1637,7 @@ const Traces2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
1637
1637
|
persist: "persist",
|
|
1638
1638
|
propagationPolicy: "propagation_policy",
|
|
1639
1639
|
})));
|
|
1640
|
-
const Observability2 = /*@__PURE__*/
|
|
1640
|
+
const Observability2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1641
1641
|
enabled: Schema.Boolean,
|
|
1642
1642
|
headSamplingRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1643
1643
|
logs: Schema.optional(Schema.Union([Logs2, Schema.Null])),
|
|
@@ -1649,7 +1649,7 @@ const Observability2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.S
|
|
|
1649
1649
|
traces: "traces",
|
|
1650
1650
|
})));
|
|
1651
1651
|
const ListScriptsResponseResultPlacement =
|
|
1652
|
-
/*@__PURE__*/
|
|
1652
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1653
1653
|
mode: Schema.Literal("smart"),
|
|
1654
1654
|
lastAnalyzedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1655
1655
|
status: Schema.optional(Schema.Union([
|
|
@@ -1669,7 +1669,7 @@ const ListScriptsResponseResultPlacement =
|
|
|
1669
1669
|
status: "status",
|
|
1670
1670
|
})));
|
|
1671
1671
|
const ListScriptsResponseResultPlacement1 =
|
|
1672
|
-
/*@__PURE__*/
|
|
1672
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1673
1673
|
region: Schema.String,
|
|
1674
1674
|
lastAnalyzedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1675
1675
|
status: Schema.optional(Schema.Union([
|
|
@@ -1689,7 +1689,7 @@ const ListScriptsResponseResultPlacement1 =
|
|
|
1689
1689
|
status: "status",
|
|
1690
1690
|
})));
|
|
1691
1691
|
const ListScriptsResponseResultPlacement2 =
|
|
1692
|
-
/*@__PURE__*/
|
|
1692
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1693
1693
|
hostname: Schema.String,
|
|
1694
1694
|
lastAnalyzedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1695
1695
|
status: Schema.optional(Schema.Union([
|
|
@@ -1709,7 +1709,7 @@ const ListScriptsResponseResultPlacement2 =
|
|
|
1709
1709
|
status: "status",
|
|
1710
1710
|
})));
|
|
1711
1711
|
const ListScriptsResponseResultPlacement3 =
|
|
1712
|
-
/*@__PURE__*/
|
|
1712
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1713
1713
|
host: Schema.String,
|
|
1714
1714
|
lastAnalyzedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1715
1715
|
status: Schema.optional(Schema.Union([
|
|
@@ -1729,7 +1729,7 @@ const ListScriptsResponseResultPlacement3 =
|
|
|
1729
1729
|
status: "status",
|
|
1730
1730
|
})));
|
|
1731
1731
|
const ListScriptsResponseResultPlacement4 =
|
|
1732
|
-
/*@__PURE__*/
|
|
1732
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1733
1733
|
mode: Schema.Literal("targeted"),
|
|
1734
1734
|
region: Schema.String,
|
|
1735
1735
|
lastAnalyzedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1751,7 +1751,7 @@ const ListScriptsResponseResultPlacement4 =
|
|
|
1751
1751
|
status: "status",
|
|
1752
1752
|
})));
|
|
1753
1753
|
const ListScriptsResponseResultPlacement5 =
|
|
1754
|
-
/*@__PURE__*/
|
|
1754
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1755
1755
|
hostname: Schema.String,
|
|
1756
1756
|
mode: Schema.Literal("targeted"),
|
|
1757
1757
|
lastAnalyzedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1773,7 +1773,7 @@ const ListScriptsResponseResultPlacement5 =
|
|
|
1773
1773
|
status: "status",
|
|
1774
1774
|
})));
|
|
1775
1775
|
const ListScriptsResponseResultPlacement6 =
|
|
1776
|
-
/*@__PURE__*/
|
|
1776
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1777
1777
|
host: Schema.String,
|
|
1778
1778
|
mode: Schema.Literal("targeted"),
|
|
1779
1779
|
lastAnalyzedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1795,7 +1795,7 @@ const ListScriptsResponseResultPlacement6 =
|
|
|
1795
1795
|
status: "status",
|
|
1796
1796
|
})));
|
|
1797
1797
|
const ListScriptsResponseResultPlacement7 =
|
|
1798
|
-
/*@__PURE__*/
|
|
1798
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1799
1799
|
mode: Schema.Literal("targeted"),
|
|
1800
1800
|
target: Schema.Array(Schema.Union([Region, Hostname, Host])),
|
|
1801
1801
|
lastAnalyzedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1816,12 +1816,12 @@ const ListScriptsResponseResultPlacement7 =
|
|
|
1816
1816
|
lastAnalyzedAt: "last_analyzed_at",
|
|
1817
1817
|
status: "status",
|
|
1818
1818
|
})));
|
|
1819
|
-
const ConsumerScript = /*@__PURE__*/
|
|
1819
|
+
const ConsumerScript = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1820
1820
|
service: Schema.String,
|
|
1821
1821
|
environment: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1822
1822
|
namespace: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1823
1823
|
}));
|
|
1824
|
-
const ListScriptsResponseResult = /*@__PURE__*/
|
|
1824
|
+
const ListScriptsResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1825
1825
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1826
1826
|
compatibilityDate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1827
1827
|
compatibilityFlags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
@@ -1899,7 +1899,7 @@ const ListScriptsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
1899
1899
|
tailConsumers: "tail_consumers",
|
|
1900
1900
|
usageModel: "usage_model",
|
|
1901
1901
|
})));
|
|
1902
|
-
const Config2 = /*@__PURE__*/
|
|
1902
|
+
const Config2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1903
1903
|
headers: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1904
1904
|
redirects: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1905
1905
|
htmlHandling: Schema.optional(Schema.Union([
|
|
@@ -1934,17 +1934,17 @@ const Config2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
1934
1934
|
runWorkerFirst: "run_worker_first",
|
|
1935
1935
|
serveDirectly: "serve_directly",
|
|
1936
1936
|
})));
|
|
1937
|
-
const Assets2 = /*@__PURE__*/
|
|
1937
|
+
const Assets2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1938
1938
|
config: Schema.optional(Schema.Union([Config2, Schema.Null])),
|
|
1939
1939
|
jwt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1940
1940
|
}));
|
|
1941
1941
|
const PutScriptRequestMetadataBinding37Simple =
|
|
1942
|
-
/*@__PURE__*/
|
|
1942
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1943
1943
|
limit: Schema.Number,
|
|
1944
1944
|
period: Schema.Number,
|
|
1945
1945
|
}));
|
|
1946
1946
|
const PutScriptRequestMetadataBinding37 =
|
|
1947
|
-
/*@__PURE__*/
|
|
1947
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1948
1948
|
name: Schema.String,
|
|
1949
1949
|
type: Schema.Literal("ratelimit"),
|
|
1950
1950
|
namespaceId: Schema.String,
|
|
@@ -1956,14 +1956,14 @@ const PutScriptRequestMetadataBinding37 =
|
|
|
1956
1956
|
simple: "simple",
|
|
1957
1957
|
})));
|
|
1958
1958
|
const PutScriptRequestMetadataCache =
|
|
1959
|
-
/*@__PURE__*/
|
|
1959
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1960
1960
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1961
1961
|
crossVersionCache: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1962
1962
|
}).pipe(Schema.encodeKeys({
|
|
1963
1963
|
enabled: "enabled",
|
|
1964
1964
|
crossVersionCache: "cross_version_cache",
|
|
1965
1965
|
})));
|
|
1966
|
-
const Metadata2 = /*@__PURE__*/
|
|
1966
|
+
const Metadata2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1967
1967
|
annotations: Schema.optional(Schema.Union([Annotations2, Schema.Null])),
|
|
1968
1968
|
assets: Schema.optional(Schema.Union([Assets2, Schema.Null])),
|
|
1969
1969
|
bindings: Schema.optional(Schema.Union([
|
|
@@ -2067,7 +2067,7 @@ const Metadata2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
|
|
|
2067
2067
|
containers: "containers",
|
|
2068
2068
|
cache: "cache_options",
|
|
2069
2069
|
})));
|
|
2070
|
-
const ScriptSearchResponseItem = /*@__PURE__*/
|
|
2070
|
+
const ScriptSearchResponseItem = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2071
2071
|
id: Schema.String,
|
|
2072
2072
|
createdOn: Schema.String,
|
|
2073
2073
|
modifiedOn: Schema.String,
|
|
@@ -2084,22 +2084,22 @@ const ScriptSearchResponseItem = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
2084
2084
|
environmentName: "environment_name",
|
|
2085
2085
|
serviceName: "service_name",
|
|
2086
2086
|
})));
|
|
2087
|
-
const Metadata3 = /*@__PURE__*/
|
|
2087
|
+
const Metadata3 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2088
2088
|
bodyPart: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2089
2089
|
mainModule: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2090
2090
|
}).pipe(Schema.encodeKeys({ bodyPart: "body_part", mainModule: "main_module" })));
|
|
2091
|
-
const Version = /*@__PURE__*/
|
|
2091
|
+
const Version = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2092
2092
|
percentage: Schema.Number,
|
|
2093
2093
|
versionId: Schema.String,
|
|
2094
2094
|
}).pipe(Schema.encodeKeys({ percentage: "percentage", versionId: "version_id" })));
|
|
2095
|
-
const Annotations3 = /*@__PURE__*/
|
|
2095
|
+
const Annotations3 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2096
2096
|
workersMessage: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2097
2097
|
workersTriggeredBy: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2098
2098
|
}).pipe(Schema.encodeKeys({
|
|
2099
2099
|
workersMessage: "workers/message",
|
|
2100
2100
|
workersTriggeredBy: "workers/triggered_by",
|
|
2101
2101
|
})));
|
|
2102
|
-
const Deployment = /*@__PURE__*/
|
|
2102
|
+
const Deployment = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2103
2103
|
id: Schema.String,
|
|
2104
2104
|
createdOn: Schema.String,
|
|
2105
2105
|
source: Schema.String,
|
|
@@ -2116,11 +2116,11 @@ const Deployment = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
|
|
|
2116
2116
|
annotations: "annotations",
|
|
2117
2117
|
authorEmail: "author_email",
|
|
2118
2118
|
})));
|
|
2119
|
-
const Annotations4 = /*@__PURE__*/
|
|
2119
|
+
const Annotations4 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2120
2120
|
workersMessage: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2121
2121
|
}).pipe(Schema.encodeKeys({ workersMessage: "workers/message" })));
|
|
2122
2122
|
const CreateScriptEdgePreviewRequestMetadataBinding3 =
|
|
2123
|
-
/*@__PURE__*/
|
|
2123
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2124
2124
|
type: Schema.Literal("kv_namespace"),
|
|
2125
2125
|
name: Schema.String,
|
|
2126
2126
|
namespaceId: Schema.String,
|
|
@@ -2132,7 +2132,7 @@ const CreateScriptEdgePreviewRequestMetadataBinding3 =
|
|
|
2132
2132
|
raw: "raw",
|
|
2133
2133
|
})));
|
|
2134
2134
|
const CreateScriptEdgePreviewRequestMetadataBinding4 =
|
|
2135
|
-
/*@__PURE__*/
|
|
2135
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2136
2136
|
type: Schema.Literal("durable_object_namespace"),
|
|
2137
2137
|
name: Schema.String,
|
|
2138
2138
|
className: Schema.String,
|
|
@@ -2148,7 +2148,7 @@ const CreateScriptEdgePreviewRequestMetadataBinding4 =
|
|
|
2148
2148
|
namespaceId: "namespace_id",
|
|
2149
2149
|
})));
|
|
2150
2150
|
const CreateScriptEdgePreviewRequestMetadataBinding5 =
|
|
2151
|
-
/*@__PURE__*/
|
|
2151
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2152
2152
|
type: Schema.Literal("r2_bucket"),
|
|
2153
2153
|
name: Schema.String,
|
|
2154
2154
|
bucketName: Schema.String,
|
|
@@ -2162,7 +2162,7 @@ const CreateScriptEdgePreviewRequestMetadataBinding5 =
|
|
|
2162
2162
|
raw: "raw",
|
|
2163
2163
|
})));
|
|
2164
2164
|
const CreateScriptEdgePreviewRequestMetadataBinding6 =
|
|
2165
|
-
/*@__PURE__*/
|
|
2165
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2166
2166
|
type: Schema.Literal("d1"),
|
|
2167
2167
|
name: Schema.String,
|
|
2168
2168
|
id: Schema.String,
|
|
@@ -2170,7 +2170,7 @@ const CreateScriptEdgePreviewRequestMetadataBinding6 =
|
|
|
2170
2170
|
raw: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2171
2171
|
}));
|
|
2172
2172
|
const CreateScriptEdgePreviewRequestMetadataBinding7 =
|
|
2173
|
-
/*@__PURE__*/
|
|
2173
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2174
2174
|
type: Schema.Literal("queue"),
|
|
2175
2175
|
name: Schema.String,
|
|
2176
2176
|
queueName: Schema.String,
|
|
@@ -2184,7 +2184,7 @@ const CreateScriptEdgePreviewRequestMetadataBinding7 =
|
|
|
2184
2184
|
raw: "raw",
|
|
2185
2185
|
})));
|
|
2186
2186
|
const CreateScriptEdgePreviewRequestMetadataBinding8 =
|
|
2187
|
-
/*@__PURE__*/
|
|
2187
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2188
2188
|
type: Schema.Literal("service"),
|
|
2189
2189
|
name: Schema.String,
|
|
2190
2190
|
service: Schema.String,
|
|
@@ -2200,26 +2200,26 @@ const CreateScriptEdgePreviewRequestMetadataBinding8 =
|
|
|
2200
2200
|
crossAccountGrant: "cross_account_grant",
|
|
2201
2201
|
})));
|
|
2202
2202
|
const CreateScriptEdgePreviewRequestMetadataBinding9 =
|
|
2203
|
-
/*@__PURE__*/
|
|
2203
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2204
2204
|
type: Schema.Literal("ai"),
|
|
2205
2205
|
name: Schema.String,
|
|
2206
2206
|
staging: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2207
2207
|
raw: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2208
2208
|
}));
|
|
2209
2209
|
const CreateScriptEdgePreviewRequestMetadataBinding10 =
|
|
2210
|
-
/*@__PURE__*/
|
|
2210
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2211
2211
|
type: Schema.Literal("browser"),
|
|
2212
2212
|
name: Schema.String,
|
|
2213
2213
|
raw: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2214
2214
|
}));
|
|
2215
2215
|
const CreateScriptEdgePreviewRequestMetadataBinding11 =
|
|
2216
|
-
/*@__PURE__*/
|
|
2216
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2217
2217
|
type: Schema.Literal("images"),
|
|
2218
2218
|
name: Schema.String,
|
|
2219
2219
|
raw: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2220
2220
|
}));
|
|
2221
2221
|
const CreateScriptEdgePreviewRequestMetadataBinding12 =
|
|
2222
|
-
/*@__PURE__*/
|
|
2222
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2223
2223
|
type: Schema.Literal("vectorize"),
|
|
2224
2224
|
name: Schema.String,
|
|
2225
2225
|
indexName: Schema.String,
|
|
@@ -2233,7 +2233,7 @@ const CreateScriptEdgePreviewRequestMetadataBinding12 =
|
|
|
2233
2233
|
raw: "raw",
|
|
2234
2234
|
})));
|
|
2235
2235
|
const CreateScriptEdgePreviewRequestMetadataBinding13 =
|
|
2236
|
-
/*@__PURE__*/
|
|
2236
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2237
2237
|
type: Schema.Literal("workflow"),
|
|
2238
2238
|
name: Schema.String,
|
|
2239
2239
|
workflowName: Schema.String,
|
|
@@ -2249,18 +2249,18 @@ const CreateScriptEdgePreviewRequestMetadataBinding13 =
|
|
|
2249
2249
|
raw: "raw",
|
|
2250
2250
|
})));
|
|
2251
2251
|
const CreateScriptEdgePreviewRequestMetadataBinding15 =
|
|
2252
|
-
/*@__PURE__*/
|
|
2252
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2253
2253
|
type: Schema.Literal("analytics_engine"),
|
|
2254
2254
|
name: Schema.String,
|
|
2255
2255
|
dataset: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2256
2256
|
}));
|
|
2257
2257
|
const CreateScriptEdgePreviewRequestMetadataBinding16OutboundWorker =
|
|
2258
|
-
/*@__PURE__*/
|
|
2258
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2259
2259
|
service: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2260
2260
|
environment: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2261
2261
|
}));
|
|
2262
2262
|
const CreateScriptEdgePreviewRequestMetadataBinding16Outbound =
|
|
2263
|
-
/*@__PURE__*/
|
|
2263
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2264
2264
|
worker: Schema.optional(Schema.Union([
|
|
2265
2265
|
CreateScriptEdgePreviewRequestMetadataBinding16OutboundWorker,
|
|
2266
2266
|
Schema.Null,
|
|
@@ -2268,7 +2268,7 @@ const CreateScriptEdgePreviewRequestMetadataBinding16Outbound =
|
|
|
2268
2268
|
params: Schema.optional(Schema.Union([Schema.Array(TailConsumer), Schema.Null])),
|
|
2269
2269
|
}));
|
|
2270
2270
|
const CreateScriptEdgePreviewRequestMetadataBinding16 =
|
|
2271
|
-
/*@__PURE__*/
|
|
2271
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2272
2272
|
type: Schema.Literal("dispatch_namespace"),
|
|
2273
2273
|
name: Schema.String,
|
|
2274
2274
|
namespace: Schema.String,
|
|
@@ -2278,18 +2278,18 @@ const CreateScriptEdgePreviewRequestMetadataBinding16 =
|
|
|
2278
2278
|
])),
|
|
2279
2279
|
}));
|
|
2280
2280
|
const CreateScriptEdgePreviewRequestMetadataBinding24 =
|
|
2281
|
-
/*@__PURE__*/
|
|
2281
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2282
2282
|
type: Schema.Literal("stream"),
|
|
2283
2283
|
name: Schema.String,
|
|
2284
2284
|
}));
|
|
2285
2285
|
const CreateScriptEdgePreviewRequestMetadataBinding29 =
|
|
2286
|
-
/*@__PURE__*/
|
|
2286
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2287
2287
|
type: Schema.Literal("logfwdr"),
|
|
2288
2288
|
name: Schema.String,
|
|
2289
2289
|
destination: Schema.String,
|
|
2290
2290
|
}));
|
|
2291
2291
|
const CreateScriptEdgePreviewRequestMetadataBinding31 =
|
|
2292
|
-
/*@__PURE__*/
|
|
2292
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2293
2293
|
type: Schema.Literal("ai_search"),
|
|
2294
2294
|
name: Schema.String,
|
|
2295
2295
|
instanceName: Schema.String,
|
|
@@ -2299,12 +2299,12 @@ const CreateScriptEdgePreviewRequestMetadataBinding31 =
|
|
|
2299
2299
|
instanceName: "instance_name",
|
|
2300
2300
|
})));
|
|
2301
2301
|
const CreateScriptEdgePreviewRequestMetadataBinding32Simple =
|
|
2302
|
-
/*@__PURE__*/
|
|
2302
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2303
2303
|
limit: Schema.Number,
|
|
2304
2304
|
period: Schema.Union([Schema.Literals(["10", "60"]), Schema.String]),
|
|
2305
2305
|
}));
|
|
2306
2306
|
const CreateScriptEdgePreviewRequestMetadataBinding32 =
|
|
2307
|
-
/*@__PURE__*/
|
|
2307
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2308
2308
|
type: Schema.Literal("ratelimit"),
|
|
2309
2309
|
name: Schema.String,
|
|
2310
2310
|
namespaceId: Schema.String,
|
|
@@ -2316,7 +2316,7 @@ const CreateScriptEdgePreviewRequestMetadataBinding32 =
|
|
|
2316
2316
|
simple: "simple",
|
|
2317
2317
|
})));
|
|
2318
2318
|
const CreateScriptEdgePreviewRequestMetadataBinding34 =
|
|
2319
|
-
/*@__PURE__*/
|
|
2319
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2320
2320
|
type: Schema.Literal("unsafe_hello_world"),
|
|
2321
2321
|
name: Schema.String,
|
|
2322
2322
|
enableTimer: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -2326,12 +2326,12 @@ const CreateScriptEdgePreviewRequestMetadataBinding34 =
|
|
|
2326
2326
|
enableTimer: "enable_timer",
|
|
2327
2327
|
})));
|
|
2328
2328
|
const CreateScriptEdgePreviewRequestMetadataBinding38 =
|
|
2329
|
-
/*@__PURE__*/
|
|
2329
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2330
2330
|
type: Schema.Literal("inherit"),
|
|
2331
2331
|
name: Schema.String,
|
|
2332
2332
|
}));
|
|
2333
2333
|
const CreateScriptEdgePreviewRequestMetadataMigrationsStep =
|
|
2334
|
-
/*@__PURE__*/
|
|
2334
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2335
2335
|
newClasses: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
2336
2336
|
newSqliteClasses: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
2337
2337
|
renamedClasses: Schema.optional(Schema.Union([Schema.Array(RenamedClass), Schema.Null])),
|
|
@@ -2343,7 +2343,7 @@ const CreateScriptEdgePreviewRequestMetadataMigrationsStep =
|
|
|
2343
2343
|
deletedClasses: "deleted_classes",
|
|
2344
2344
|
})));
|
|
2345
2345
|
const CreateScriptEdgePreviewRequestMetadataMigrations =
|
|
2346
|
-
/*@__PURE__*/
|
|
2346
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2347
2347
|
oldTag: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2348
2348
|
newTag: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2349
2349
|
steps: Schema.optional(Schema.Union([
|
|
@@ -2356,17 +2356,17 @@ const CreateScriptEdgePreviewRequestMetadataMigrations =
|
|
|
2356
2356
|
steps: "steps",
|
|
2357
2357
|
})));
|
|
2358
2358
|
const CreateScriptEdgePreviewRequestMetadataPlacement =
|
|
2359
|
-
/*@__PURE__*/
|
|
2359
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2360
2360
|
mode: Schema.Literal("smart"),
|
|
2361
2361
|
hint: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2362
2362
|
}));
|
|
2363
2363
|
const CreateScriptEdgePreviewRequestMetadataTailConsumer =
|
|
2364
|
-
/*@__PURE__*/
|
|
2364
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2365
2365
|
service: Schema.String,
|
|
2366
2366
|
environment: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2367
2367
|
}));
|
|
2368
2368
|
const CreateScriptEdgePreviewRequestMetadataAssetsConfig =
|
|
2369
|
-
/*@__PURE__*/
|
|
2369
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2370
2370
|
htmlHandling: Schema.optional(Schema.Union([
|
|
2371
2371
|
Schema.Union([
|
|
2372
2372
|
Schema.Literals([
|
|
@@ -2400,7 +2400,7 @@ const CreateScriptEdgePreviewRequestMetadataAssetsConfig =
|
|
|
2400
2400
|
headers: "_headers",
|
|
2401
2401
|
})));
|
|
2402
2402
|
const CreateScriptEdgePreviewRequestMetadataAssets =
|
|
2403
|
-
/*@__PURE__*/
|
|
2403
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2404
2404
|
jwt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2405
2405
|
config: Schema.optional(Schema.Union([
|
|
2406
2406
|
CreateScriptEdgePreviewRequestMetadataAssetsConfig,
|
|
@@ -2408,7 +2408,7 @@ const CreateScriptEdgePreviewRequestMetadataAssets =
|
|
|
2408
2408
|
])),
|
|
2409
2409
|
}));
|
|
2410
2410
|
const CreateScriptEdgePreviewRequestMetadataObservabilityTraces =
|
|
2411
|
-
/*@__PURE__*/
|
|
2411
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2412
2412
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2413
2413
|
headSamplingRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2414
2414
|
persist: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -2420,7 +2420,7 @@ const CreateScriptEdgePreviewRequestMetadataObservabilityTraces =
|
|
|
2420
2420
|
destinations: "destinations",
|
|
2421
2421
|
})));
|
|
2422
2422
|
const CreateScriptEdgePreviewRequestMetadataObservability =
|
|
2423
|
-
/*@__PURE__*/
|
|
2423
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2424
2424
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2425
2425
|
headSamplingRate: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2426
2426
|
logs: Schema.optional(Schema.Union([Logs, Schema.Null])),
|
|
@@ -2435,7 +2435,7 @@ const CreateScriptEdgePreviewRequestMetadataObservability =
|
|
|
2435
2435
|
traces: "traces",
|
|
2436
2436
|
})));
|
|
2437
2437
|
const CreateScriptEdgePreviewRequestMetadata =
|
|
2438
|
-
/*@__PURE__*/
|
|
2438
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2439
2439
|
mainModule: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2440
2440
|
bodyPart: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2441
2441
|
compatibilityDate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2551,7 +2551,7 @@ const CreateScriptEdgePreviewRequestMetadata =
|
|
|
2551
2551
|
tags: "tags",
|
|
2552
2552
|
})));
|
|
2553
2553
|
const CreateScriptEdgePreviewRequestWranglerSessionConfig =
|
|
2554
|
-
/*@__PURE__*/
|
|
2554
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2555
2555
|
workersDev: Schema.Literal(true),
|
|
2556
2556
|
minimalMode: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2557
2557
|
}).pipe(Schema.encodeKeys({
|
|
@@ -2559,11 +2559,11 @@ const CreateScriptEdgePreviewRequestWranglerSessionConfig =
|
|
|
2559
2559
|
minimalMode: "minimal_mode",
|
|
2560
2560
|
})));
|
|
2561
2561
|
const CreateScriptEdgePreviewRequestWranglerSessionConfig1 =
|
|
2562
|
-
/*@__PURE__*/
|
|
2562
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2563
2563
|
routes: Schema.Array(Schema.String),
|
|
2564
2564
|
minimalMode: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2565
2565
|
}).pipe(Schema.encodeKeys({ routes: "routes", minimalMode: "minimal_mode" })));
|
|
2566
|
-
const Schedule = /*@__PURE__*/
|
|
2566
|
+
const Schedule = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2567
2567
|
cron: Schema.String,
|
|
2568
2568
|
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2569
2569
|
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2572,10 +2572,10 @@ const Schedule = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct(
|
|
|
2572
2572
|
createdOn: "created_on",
|
|
2573
2573
|
modifiedOn: "modified_on",
|
|
2574
2574
|
})));
|
|
2575
|
-
const Body = /*@__PURE__*/
|
|
2575
|
+
const Body = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2576
2576
|
cron: Schema.String,
|
|
2577
2577
|
}));
|
|
2578
|
-
const Settings = /*@__PURE__*/
|
|
2578
|
+
const Settings = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2579
2579
|
annotations: Schema.optional(Schema.Union([Annotations2, Schema.Null])),
|
|
2580
2580
|
bindings: Schema.optional(Schema.Union([
|
|
2581
2581
|
Schema.Array(Schema.Union([
|
|
@@ -2664,7 +2664,7 @@ const Settings = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct(
|
|
|
2664
2664
|
tailConsumers: "tail_consumers",
|
|
2665
2665
|
usageModel: "usage_model",
|
|
2666
2666
|
})));
|
|
2667
|
-
const Script = /*@__PURE__*/
|
|
2667
|
+
const Script = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2668
2668
|
etag: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2669
2669
|
handlers: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
2670
2670
|
lastDeployedFrom: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2675,10 +2675,10 @@ const Script = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
2675
2675
|
lastDeployedFrom: "last_deployed_from",
|
|
2676
2676
|
namedHandlers: "named_handlers",
|
|
2677
2677
|
})));
|
|
2678
|
-
const Limits2 = /*@__PURE__*/
|
|
2678
|
+
const Limits2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2679
2679
|
cpuMs: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2680
2680
|
}).pipe(Schema.encodeKeys({ cpuMs: "cpu_ms" })));
|
|
2681
|
-
const ScriptRuntime = /*@__PURE__*/
|
|
2681
|
+
const ScriptRuntime = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2682
2682
|
compatibilityDate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2683
2683
|
compatibilityFlags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
2684
2684
|
limits: Schema.optional(Schema.Union([Limits2, Schema.Null])),
|
|
@@ -2697,7 +2697,7 @@ const ScriptRuntime = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.St
|
|
|
2697
2697
|
migrationTag: "migration_tag",
|
|
2698
2698
|
usageModel: "usage_model",
|
|
2699
2699
|
})));
|
|
2700
|
-
const Resources = /*@__PURE__*/
|
|
2700
|
+
const Resources = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2701
2701
|
bindings: Schema.optional(Schema.Union([
|
|
2702
2702
|
Schema.Array(Schema.Union([
|
|
2703
2703
|
WorkersBindingKindSecretKey,
|
|
@@ -2747,7 +2747,7 @@ const Resources = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
|
|
|
2747
2747
|
script: "script",
|
|
2748
2748
|
scriptRuntime: "script_runtime",
|
|
2749
2749
|
})));
|
|
2750
|
-
const Metadata4 = /*@__PURE__*/
|
|
2750
|
+
const Metadata4 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2751
2751
|
authorEmail: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2752
2752
|
authorId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2753
2753
|
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2780,19 +2780,19 @@ const Metadata4 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
|
|
|
2780
2780
|
source: "source",
|
|
2781
2781
|
})));
|
|
2782
2782
|
const ListScriptVersionsResponseResultItem =
|
|
2783
|
-
/*@__PURE__*/
|
|
2783
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2784
2784
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2785
2785
|
metadata: Schema.optional(Schema.Union([Metadata4, Schema.Null])),
|
|
2786
2786
|
number: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2787
2787
|
}));
|
|
2788
2788
|
const ListScriptVersionsResponseResult =
|
|
2789
|
-
/*@__PURE__*/
|
|
2789
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2790
2790
|
items: Schema.optional(Schema.Union([
|
|
2791
2791
|
Schema.Array(ListScriptVersionsResponseResultItem),
|
|
2792
2792
|
Schema.Null,
|
|
2793
2793
|
])),
|
|
2794
2794
|
}));
|
|
2795
|
-
const Annotations5 = /*@__PURE__*/
|
|
2795
|
+
const Annotations5 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2796
2796
|
workersAlias: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2797
2797
|
workersMessage: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2798
2798
|
workersTag: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2801,7 +2801,7 @@ const Annotations5 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
2801
2801
|
workersMessage: "workers/message",
|
|
2802
2802
|
workersTag: "workers/tag",
|
|
2803
2803
|
})));
|
|
2804
|
-
const Metadata5 = /*@__PURE__*/
|
|
2804
|
+
const Metadata5 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2805
2805
|
mainModule: Schema.String,
|
|
2806
2806
|
annotations: Schema.optional(Schema.Union([Annotations5, Schema.Null])),
|
|
2807
2807
|
bindings: Schema.optional(Schema.Union([
|
|
@@ -2868,14 +2868,14 @@ const Metadata5 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
|
|
|
2868
2868
|
cache: "cache_options",
|
|
2869
2869
|
})));
|
|
2870
2870
|
export const GetAccountSettingRequest =
|
|
2871
|
-
/*@__PURE__*/
|
|
2871
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2872
2872
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2873
2873
|
}).pipe(T.Http({
|
|
2874
2874
|
method: "GET",
|
|
2875
2875
|
path: "/accounts/{account_id}/workers/account-settings",
|
|
2876
2876
|
})));
|
|
2877
2877
|
export const GetAccountSettingResponse =
|
|
2878
|
-
/*@__PURE__*/
|
|
2878
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2879
2879
|
defaultUsageModel: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2880
2880
|
greenCompute: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2881
2881
|
})
|
|
@@ -2884,13 +2884,13 @@ export const GetAccountSettingResponse =
|
|
|
2884
2884
|
greenCompute: "green_compute",
|
|
2885
2885
|
}))
|
|
2886
2886
|
.pipe(T.ResponsePath("result")));
|
|
2887
|
-
export const getAccountSetting = /*@__PURE__*/
|
|
2887
|
+
export const getAccountSetting = /*@__PURE__*/ API.make(() => ({
|
|
2888
2888
|
input: GetAccountSettingRequest,
|
|
2889
2889
|
output: GetAccountSettingResponse,
|
|
2890
2890
|
errors: [InvalidRoute, Forbidden],
|
|
2891
2891
|
}));
|
|
2892
2892
|
export const PutAccountSettingRequest =
|
|
2893
|
-
/*@__PURE__*/
|
|
2893
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2894
2894
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2895
2895
|
defaultUsageModel: Schema.optional(Schema.String),
|
|
2896
2896
|
greenCompute: Schema.optional(Schema.Boolean),
|
|
@@ -2902,7 +2902,7 @@ export const PutAccountSettingRequest =
|
|
|
2902
2902
|
path: "/accounts/{account_id}/workers/account-settings",
|
|
2903
2903
|
})));
|
|
2904
2904
|
export const PutAccountSettingResponse =
|
|
2905
|
-
/*@__PURE__*/
|
|
2905
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2906
2906
|
defaultUsageModel: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2907
2907
|
greenCompute: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2908
2908
|
})
|
|
@@ -2911,13 +2911,13 @@ export const PutAccountSettingResponse =
|
|
|
2911
2911
|
greenCompute: "green_compute",
|
|
2912
2912
|
}))
|
|
2913
2913
|
.pipe(T.ResponsePath("result")));
|
|
2914
|
-
export const putAccountSetting = /*@__PURE__*/
|
|
2914
|
+
export const putAccountSetting = /*@__PURE__*/ API.make(() => ({
|
|
2915
2915
|
input: PutAccountSettingRequest,
|
|
2916
2916
|
output: PutAccountSettingResponse,
|
|
2917
2917
|
errors: [InvalidRoute, Forbidden],
|
|
2918
2918
|
}));
|
|
2919
2919
|
export const CreateAssetUploadRequest =
|
|
2920
|
-
/*@__PURE__*/
|
|
2920
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2921
2921
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2922
2922
|
base64: Schema.Literal(true).pipe(T.HttpQuery("base64")),
|
|
2923
2923
|
jwtToken: Schema.optional(Schema.String).pipe(T.HttpHeader("Authorization")),
|
|
@@ -2928,32 +2928,32 @@ export const CreateAssetUploadRequest =
|
|
|
2928
2928
|
contentType: "multipart",
|
|
2929
2929
|
})));
|
|
2930
2930
|
export const CreateAssetUploadResponse =
|
|
2931
|
-
/*@__PURE__*/
|
|
2931
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2932
2932
|
jwt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2933
2933
|
}).pipe(T.ResponsePath("result")));
|
|
2934
|
-
export const createAssetUpload = /*@__PURE__*/
|
|
2934
|
+
export const createAssetUpload = /*@__PURE__*/ API.make(() => ({
|
|
2935
2935
|
input: CreateAssetUploadRequest,
|
|
2936
2936
|
output: CreateAssetUploadResponse,
|
|
2937
2937
|
errors: [InvalidRoute],
|
|
2938
2938
|
}));
|
|
2939
|
-
export const GetBetaWorkerRequest = /*@__PURE__*/
|
|
2939
|
+
export const GetBetaWorkerRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2940
2940
|
workerId: Schema.String.pipe(T.HttpPath("workerId")),
|
|
2941
2941
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2942
2942
|
}).pipe(T.Http({
|
|
2943
2943
|
method: "GET",
|
|
2944
2944
|
path: "/accounts/{account_id}/workers/workers/{workerId}",
|
|
2945
2945
|
})));
|
|
2946
|
-
export const GetBetaWorkerResponse = /*@__PURE__*/
|
|
2946
|
+
export const GetBetaWorkerResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2947
2947
|
id: Schema.String,
|
|
2948
2948
|
name: Schema.String,
|
|
2949
2949
|
}).pipe(T.ResponsePath("result")));
|
|
2950
|
-
export const getBetaWorker = /*@__PURE__*/
|
|
2950
|
+
export const getBetaWorker = /*@__PURE__*/ API.make(() => ({
|
|
2951
2951
|
input: GetBetaWorkerRequest,
|
|
2952
2952
|
output: GetBetaWorkerResponse,
|
|
2953
2953
|
errors: [WorkerNotFound, InvalidRoute],
|
|
2954
2954
|
}));
|
|
2955
2955
|
export const ListBetaWorkersRequest =
|
|
2956
|
-
/*@__PURE__*/
|
|
2956
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2957
2957
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2958
2958
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
2959
2959
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -2964,11 +2964,11 @@ export const ListBetaWorkersRequest =
|
|
|
2964
2964
|
])).pipe(T.HttpQuery("order_by")),
|
|
2965
2965
|
}).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/workers/workers" })));
|
|
2966
2966
|
export const ListBetaWorkersResponse =
|
|
2967
|
-
/*@__PURE__*/
|
|
2967
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2968
2968
|
result: Schema.Array(ListBetaWorkersResponseResult),
|
|
2969
2969
|
resultInfo: Schema.optional(Schema.Union([ListBetaWorkersResponseResultInfo, Schema.Null])),
|
|
2970
2970
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
2971
|
-
export const listBetaWorkers = /*@__PURE__*/
|
|
2971
|
+
export const listBetaWorkers = /*@__PURE__*/ API.makePaginated(() => ({
|
|
2972
2972
|
input: ListBetaWorkersRequest,
|
|
2973
2973
|
output: ListBetaWorkersResponse,
|
|
2974
2974
|
errors: [InvalidRoute],
|
|
@@ -2981,7 +2981,7 @@ export const listBetaWorkers = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(()
|
|
|
2981
2981
|
},
|
|
2982
2982
|
}));
|
|
2983
2983
|
export const CreateBetaWorkerRequest =
|
|
2984
|
-
/*@__PURE__*/
|
|
2984
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2985
2985
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2986
2986
|
name: Schema.String,
|
|
2987
2987
|
logpush: Schema.optional(Schema.Boolean),
|
|
@@ -3001,17 +3001,17 @@ export const CreateBetaWorkerRequest =
|
|
|
3001
3001
|
path: "/accounts/{account_id}/workers/workers",
|
|
3002
3002
|
})));
|
|
3003
3003
|
export const CreateBetaWorkerResponse =
|
|
3004
|
-
/*@__PURE__*/
|
|
3004
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3005
3005
|
id: Schema.String,
|
|
3006
3006
|
name: Schema.String,
|
|
3007
3007
|
}).pipe(T.ResponsePath("result")));
|
|
3008
|
-
export const createBetaWorker = /*@__PURE__*/
|
|
3008
|
+
export const createBetaWorker = /*@__PURE__*/ API.make(() => ({
|
|
3009
3009
|
input: CreateBetaWorkerRequest,
|
|
3010
3010
|
output: CreateBetaWorkerResponse,
|
|
3011
3011
|
errors: [InvalidRoute],
|
|
3012
3012
|
}));
|
|
3013
3013
|
export const UpdateBetaWorkerRequest =
|
|
3014
|
-
/*@__PURE__*/
|
|
3014
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3015
3015
|
workerId: Schema.String.pipe(T.HttpPath("workerId")),
|
|
3016
3016
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3017
3017
|
name: Schema.String,
|
|
@@ -3032,17 +3032,17 @@ export const UpdateBetaWorkerRequest =
|
|
|
3032
3032
|
path: "/accounts/{account_id}/workers/workers/{workerId}",
|
|
3033
3033
|
})));
|
|
3034
3034
|
export const UpdateBetaWorkerResponse =
|
|
3035
|
-
/*@__PURE__*/
|
|
3035
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3036
3036
|
id: Schema.String,
|
|
3037
3037
|
name: Schema.String,
|
|
3038
3038
|
}).pipe(T.ResponsePath("result")));
|
|
3039
|
-
export const updateBetaWorker = /*@__PURE__*/
|
|
3039
|
+
export const updateBetaWorker = /*@__PURE__*/ API.make(() => ({
|
|
3040
3040
|
input: UpdateBetaWorkerRequest,
|
|
3041
3041
|
output: UpdateBetaWorkerResponse,
|
|
3042
3042
|
errors: [WorkerNotFound],
|
|
3043
3043
|
}));
|
|
3044
3044
|
export const PatchBetaWorkerRequest =
|
|
3045
|
-
/*@__PURE__*/
|
|
3045
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3046
3046
|
workerId: Schema.String.pipe(T.HttpPath("workerId")),
|
|
3047
3047
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3048
3048
|
logpush: Schema.Boolean,
|
|
@@ -3063,17 +3063,17 @@ export const PatchBetaWorkerRequest =
|
|
|
3063
3063
|
path: "/accounts/{account_id}/workers/workers/{workerId}",
|
|
3064
3064
|
})));
|
|
3065
3065
|
export const PatchBetaWorkerResponse =
|
|
3066
|
-
/*@__PURE__*/
|
|
3066
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3067
3067
|
id: Schema.String,
|
|
3068
3068
|
name: Schema.String,
|
|
3069
3069
|
}).pipe(T.ResponsePath("result")));
|
|
3070
|
-
export const patchBetaWorker = /*@__PURE__*/
|
|
3070
|
+
export const patchBetaWorker = /*@__PURE__*/ API.make(() => ({
|
|
3071
3071
|
input: PatchBetaWorkerRequest,
|
|
3072
3072
|
output: PatchBetaWorkerResponse,
|
|
3073
3073
|
errors: [WorkerNotFound],
|
|
3074
3074
|
}));
|
|
3075
3075
|
export const DeleteBetaWorkerRequest =
|
|
3076
|
-
/*@__PURE__*/
|
|
3076
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3077
3077
|
workerId: Schema.String.pipe(T.HttpPath("workerId")),
|
|
3078
3078
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3079
3079
|
}).pipe(T.Http({
|
|
@@ -3081,18 +3081,18 @@ export const DeleteBetaWorkerRequest =
|
|
|
3081
3081
|
path: "/accounts/{account_id}/workers/workers/{workerId}",
|
|
3082
3082
|
})));
|
|
3083
3083
|
export const DeleteBetaWorkerResponse =
|
|
3084
|
-
/*@__PURE__*/
|
|
3084
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3085
3085
|
errors: Schema.Array(Error2),
|
|
3086
3086
|
messages: Schema.Array(Error2),
|
|
3087
3087
|
success: Schema.Literal(true),
|
|
3088
3088
|
}));
|
|
3089
|
-
export const deleteBetaWorker = /*@__PURE__*/
|
|
3089
|
+
export const deleteBetaWorker = /*@__PURE__*/ API.make(() => ({
|
|
3090
3090
|
input: DeleteBetaWorkerRequest,
|
|
3091
3091
|
output: DeleteBetaWorkerResponse,
|
|
3092
3092
|
errors: [WorkerNotFound],
|
|
3093
3093
|
}));
|
|
3094
3094
|
export const GetBetaWorkerVersionRequest =
|
|
3095
|
-
/*@__PURE__*/
|
|
3095
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3096
3096
|
workerId: Schema.String.pipe(T.HttpPath("workerId")),
|
|
3097
3097
|
versionId: Schema.String.pipe(T.HttpPath("versionId")),
|
|
3098
3098
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -3102,7 +3102,7 @@ export const GetBetaWorkerVersionRequest =
|
|
|
3102
3102
|
path: "/accounts/{account_id}/workers/workers/{workerId}/versions/{versionId}",
|
|
3103
3103
|
})));
|
|
3104
3104
|
export const GetBetaWorkerVersionResponse =
|
|
3105
|
-
/*@__PURE__*/
|
|
3105
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3106
3106
|
id: Schema.String,
|
|
3107
3107
|
createdOn: Schema.String,
|
|
3108
3108
|
number: Schema.Number,
|
|
@@ -3207,13 +3207,13 @@ export const GetBetaWorkerVersionResponse =
|
|
|
3207
3207
|
usageModel: "usage_model",
|
|
3208
3208
|
}))
|
|
3209
3209
|
.pipe(T.ResponsePath("result")));
|
|
3210
|
-
export const getBetaWorkerVersion = /*@__PURE__*/
|
|
3210
|
+
export const getBetaWorkerVersion = /*@__PURE__*/ API.make(() => ({
|
|
3211
3211
|
input: GetBetaWorkerVersionRequest,
|
|
3212
3212
|
output: GetBetaWorkerVersionResponse,
|
|
3213
3213
|
errors: [WorkerNotFound, WorkerVersionNotFound],
|
|
3214
3214
|
}));
|
|
3215
3215
|
export const ListBetaWorkerVersionsRequest =
|
|
3216
|
-
/*@__PURE__*/
|
|
3216
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3217
3217
|
workerId: Schema.String.pipe(T.HttpPath("workerId")),
|
|
3218
3218
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3219
3219
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
@@ -3223,11 +3223,11 @@ export const ListBetaWorkerVersionsRequest =
|
|
|
3223
3223
|
path: "/accounts/{account_id}/workers/workers/{workerId}/versions",
|
|
3224
3224
|
})));
|
|
3225
3225
|
export const ListBetaWorkerVersionsResponse =
|
|
3226
|
-
/*@__PURE__*/
|
|
3226
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3227
3227
|
result: Schema.Array(ListBetaWorkerVersionsResponseResult),
|
|
3228
3228
|
resultInfo: Schema.optional(Schema.Union([ListBetaWorkersResponseResultInfo, Schema.Null])),
|
|
3229
3229
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
3230
|
-
export const listBetaWorkerVersions = /*@__PURE__*/
|
|
3230
|
+
export const listBetaWorkerVersions = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3231
3231
|
input: ListBetaWorkerVersionsRequest,
|
|
3232
3232
|
output: ListBetaWorkerVersionsResponse,
|
|
3233
3233
|
errors: [WorkerNotFound],
|
|
@@ -3240,7 +3240,7 @@ export const listBetaWorkerVersions = /*@__PURE__*/ /*#__PURE__*/ API.makePagina
|
|
|
3240
3240
|
},
|
|
3241
3241
|
}));
|
|
3242
3242
|
export const CreateBetaWorkerVersionRequest =
|
|
3243
|
-
/*@__PURE__*/
|
|
3243
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3244
3244
|
workerId: Schema.String.pipe(T.HttpPath("workerId")),
|
|
3245
3245
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3246
3246
|
deploy: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("deploy")),
|
|
@@ -3324,7 +3324,7 @@ export const CreateBetaWorkerVersionRequest =
|
|
|
3324
3324
|
path: "/accounts/{account_id}/workers/workers/{workerId}/versions",
|
|
3325
3325
|
})));
|
|
3326
3326
|
export const CreateBetaWorkerVersionResponse =
|
|
3327
|
-
/*@__PURE__*/
|
|
3327
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3328
3328
|
id: Schema.String,
|
|
3329
3329
|
createdOn: Schema.String,
|
|
3330
3330
|
number: Schema.Number,
|
|
@@ -3429,13 +3429,13 @@ export const CreateBetaWorkerVersionResponse =
|
|
|
3429
3429
|
usageModel: "usage_model",
|
|
3430
3430
|
}))
|
|
3431
3431
|
.pipe(T.ResponsePath("result")));
|
|
3432
|
-
export const createBetaWorkerVersion = /*@__PURE__*/
|
|
3432
|
+
export const createBetaWorkerVersion = /*@__PURE__*/ API.make(() => ({
|
|
3433
3433
|
input: CreateBetaWorkerVersionRequest,
|
|
3434
3434
|
output: CreateBetaWorkerVersionResponse,
|
|
3435
3435
|
errors: [WorkerNotFound],
|
|
3436
3436
|
}));
|
|
3437
3437
|
export const DeleteBetaWorkerVersionRequest =
|
|
3438
|
-
/*@__PURE__*/
|
|
3438
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3439
3439
|
workerId: Schema.String.pipe(T.HttpPath("workerId")),
|
|
3440
3440
|
versionId: Schema.String.pipe(T.HttpPath("versionId")),
|
|
3441
3441
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -3444,24 +3444,24 @@ export const DeleteBetaWorkerVersionRequest =
|
|
|
3444
3444
|
path: "/accounts/{account_id}/workers/workers/{workerId}/versions/{versionId}",
|
|
3445
3445
|
})));
|
|
3446
3446
|
export const DeleteBetaWorkerVersionResponse =
|
|
3447
|
-
/*@__PURE__*/
|
|
3447
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3448
3448
|
errors: Schema.Array(Error2),
|
|
3449
3449
|
messages: Schema.Array(Error2),
|
|
3450
3450
|
success: Schema.Literal(true),
|
|
3451
3451
|
}));
|
|
3452
|
-
export const deleteBetaWorkerVersion = /*@__PURE__*/
|
|
3452
|
+
export const deleteBetaWorkerVersion = /*@__PURE__*/ API.make(() => ({
|
|
3453
3453
|
input: DeleteBetaWorkerVersionRequest,
|
|
3454
3454
|
output: DeleteBetaWorkerVersionResponse,
|
|
3455
3455
|
errors: [WorkerNotFound, WorkerVersionNotFound],
|
|
3456
3456
|
}));
|
|
3457
|
-
export const GetDomainRequest = /*@__PURE__*/
|
|
3457
|
+
export const GetDomainRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3458
3458
|
domainId: Schema.String.pipe(T.HttpPath("domainId")),
|
|
3459
3459
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3460
3460
|
}).pipe(T.Http({
|
|
3461
3461
|
method: "GET",
|
|
3462
3462
|
path: "/accounts/{account_id}/workers/domains/{domainId}",
|
|
3463
3463
|
})));
|
|
3464
|
-
export const GetDomainResponse = /*@__PURE__*/
|
|
3464
|
+
export const GetDomainResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3465
3465
|
id: Schema.String,
|
|
3466
3466
|
certId: Schema.String,
|
|
3467
3467
|
environment: Schema.String,
|
|
@@ -3480,12 +3480,12 @@ export const GetDomainResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
3480
3480
|
zoneName: "zone_name",
|
|
3481
3481
|
}))
|
|
3482
3482
|
.pipe(T.ResponsePath("result")));
|
|
3483
|
-
export const getDomain = /*@__PURE__*/
|
|
3483
|
+
export const getDomain = /*@__PURE__*/ API.make(() => ({
|
|
3484
3484
|
input: GetDomainRequest,
|
|
3485
3485
|
output: GetDomainResponse,
|
|
3486
3486
|
errors: [DomainNotFound, InvalidRoute],
|
|
3487
3487
|
}));
|
|
3488
|
-
export const ListDomainsRequest = /*@__PURE__*/
|
|
3488
|
+
export const ListDomainsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3489
3489
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3490
3490
|
environment: Schema.optional(Schema.String).pipe(T.HttpQuery("environment")),
|
|
3491
3491
|
hostname: Schema.optional(Schema.String).pipe(T.HttpQuery("hostname")),
|
|
@@ -3493,10 +3493,10 @@ export const ListDomainsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
3493
3493
|
zoneId: Schema.optional(Schema.String).pipe(T.HttpQuery("zone_id")),
|
|
3494
3494
|
zoneName: Schema.optional(Schema.String).pipe(T.HttpQuery("zone_name")),
|
|
3495
3495
|
}).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/workers/domains" })));
|
|
3496
|
-
export const ListDomainsResponse = /*@__PURE__*/
|
|
3496
|
+
export const ListDomainsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3497
3497
|
result: Schema.Array(ListDomainsResponseResult),
|
|
3498
3498
|
}));
|
|
3499
|
-
export const listDomains = /*@__PURE__*/
|
|
3499
|
+
export const listDomains = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3500
3500
|
input: ListDomainsRequest,
|
|
3501
3501
|
output: ListDomainsResponse,
|
|
3502
3502
|
errors: [InvalidRoute],
|
|
@@ -3505,7 +3505,7 @@ export const listDomains = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => (
|
|
|
3505
3505
|
items: "result",
|
|
3506
3506
|
},
|
|
3507
3507
|
}));
|
|
3508
|
-
export const PutDomainRequest = /*@__PURE__*/
|
|
3508
|
+
export const PutDomainRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3509
3509
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3510
3510
|
hostname: Schema.String,
|
|
3511
3511
|
service: Schema.String,
|
|
@@ -3519,7 +3519,7 @@ export const PutDomainRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
3519
3519
|
zoneId: "zone_id",
|
|
3520
3520
|
zoneName: "zone_name",
|
|
3521
3521
|
}), T.Http({ method: "PUT", path: "/accounts/{account_id}/workers/domains" })));
|
|
3522
|
-
export const PutDomainResponse = /*@__PURE__*/
|
|
3522
|
+
export const PutDomainResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3523
3523
|
id: Schema.String,
|
|
3524
3524
|
certId: Schema.String,
|
|
3525
3525
|
environment: Schema.String,
|
|
@@ -3538,30 +3538,30 @@ export const PutDomainResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
3538
3538
|
zoneName: "zone_name",
|
|
3539
3539
|
}))
|
|
3540
3540
|
.pipe(T.ResponsePath("result")));
|
|
3541
|
-
export const putDomain = /*@__PURE__*/
|
|
3541
|
+
export const putDomain = /*@__PURE__*/ API.make(() => ({
|
|
3542
3542
|
input: PutDomainRequest,
|
|
3543
3543
|
output: PutDomainResponse,
|
|
3544
3544
|
errors: [WorkerNotFound, InvalidRoute, HostnameAlreadyInUse],
|
|
3545
3545
|
}));
|
|
3546
|
-
export const DeleteDomainRequest = /*@__PURE__*/
|
|
3546
|
+
export const DeleteDomainRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3547
3547
|
domainId: Schema.String.pipe(T.HttpPath("domainId")),
|
|
3548
3548
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3549
3549
|
}).pipe(T.Http({
|
|
3550
3550
|
method: "DELETE",
|
|
3551
3551
|
path: "/accounts/{account_id}/workers/domains/{domainId}",
|
|
3552
3552
|
})));
|
|
3553
|
-
export const DeleteDomainResponse = /*@__PURE__*/
|
|
3553
|
+
export const DeleteDomainResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3554
3554
|
errors: Schema.Array(Error2),
|
|
3555
3555
|
messages: Schema.Array(Error2),
|
|
3556
3556
|
success: Schema.Literal(true),
|
|
3557
3557
|
}));
|
|
3558
|
-
export const deleteDomain = /*@__PURE__*/
|
|
3558
|
+
export const deleteDomain = /*@__PURE__*/ API.make(() => ({
|
|
3559
3559
|
input: DeleteDomainRequest,
|
|
3560
3560
|
output: DeleteDomainResponse,
|
|
3561
3561
|
errors: [DomainNotFound],
|
|
3562
3562
|
}));
|
|
3563
3563
|
export const ListObservabilityDestinationsRequest =
|
|
3564
|
-
/*@__PURE__*/
|
|
3564
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3565
3565
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3566
3566
|
order: Schema.optional(Schema.Union([Schema.Literals(["asc", "desc"]), Schema.String])).pipe(T.HttpQuery("order")),
|
|
3567
3567
|
orderBy: Schema.optional(Schema.Union([Schema.Literals(["created", "updated"]), Schema.String])).pipe(T.HttpQuery("orderBy")),
|
|
@@ -3572,10 +3572,10 @@ export const ListObservabilityDestinationsRequest =
|
|
|
3572
3572
|
path: "/accounts/{account_id}/workers/observability/destinations",
|
|
3573
3573
|
})));
|
|
3574
3574
|
export const ListObservabilityDestinationsResponse =
|
|
3575
|
-
/*@__PURE__*/
|
|
3575
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3576
3576
|
result: Schema.Array(ListObservabilityDestinationsResponseResult),
|
|
3577
3577
|
}));
|
|
3578
|
-
export const listObservabilityDestinations = /*@__PURE__*/
|
|
3578
|
+
export const listObservabilityDestinations = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3579
3579
|
input: ListObservabilityDestinationsRequest,
|
|
3580
3580
|
output: ListObservabilityDestinationsResponse,
|
|
3581
3581
|
errors: [Forbidden],
|
|
@@ -3585,7 +3585,7 @@ export const listObservabilityDestinations = /*@__PURE__*/ /*#__PURE__*/ API.mak
|
|
|
3585
3585
|
},
|
|
3586
3586
|
}));
|
|
3587
3587
|
export const CreateObservabilityDestinationRequest =
|
|
3588
|
-
/*@__PURE__*/
|
|
3588
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3589
3589
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3590
3590
|
configuration: Configuration2,
|
|
3591
3591
|
enabled: Schema.Boolean,
|
|
@@ -3596,20 +3596,20 @@ export const CreateObservabilityDestinationRequest =
|
|
|
3596
3596
|
path: "/accounts/{account_id}/workers/observability/destinations",
|
|
3597
3597
|
})));
|
|
3598
3598
|
export const CreateObservabilityDestinationResponse =
|
|
3599
|
-
/*@__PURE__*/
|
|
3599
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3600
3600
|
configuration: Configuration3,
|
|
3601
3601
|
enabled: Schema.Boolean,
|
|
3602
3602
|
name: Schema.String,
|
|
3603
3603
|
scripts: Schema.Array(Schema.String),
|
|
3604
3604
|
slug: Schema.String,
|
|
3605
3605
|
}).pipe(T.ResponsePath("result")));
|
|
3606
|
-
export const createObservabilityDestination = /*@__PURE__*/
|
|
3606
|
+
export const createObservabilityDestination = /*@__PURE__*/ API.make(() => ({
|
|
3607
3607
|
input: CreateObservabilityDestinationRequest,
|
|
3608
3608
|
output: CreateObservabilityDestinationResponse,
|
|
3609
3609
|
errors: [ObservabilityDestinationCreateFailed, Forbidden],
|
|
3610
3610
|
}));
|
|
3611
3611
|
export const PatchObservabilityDestinationRequest =
|
|
3612
|
-
/*@__PURE__*/
|
|
3612
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3613
3613
|
slug: Schema.String.pipe(T.HttpPath("slug")),
|
|
3614
3614
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3615
3615
|
configuration: Configuration4,
|
|
@@ -3619,14 +3619,14 @@ export const PatchObservabilityDestinationRequest =
|
|
|
3619
3619
|
path: "/accounts/{account_id}/workers/observability/destinations/{slug}",
|
|
3620
3620
|
})));
|
|
3621
3621
|
export const PatchObservabilityDestinationResponse =
|
|
3622
|
-
/*@__PURE__*/
|
|
3622
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3623
3623
|
configuration: Configuration3,
|
|
3624
3624
|
enabled: Schema.Boolean,
|
|
3625
3625
|
name: Schema.String,
|
|
3626
3626
|
scripts: Schema.Array(Schema.String),
|
|
3627
3627
|
slug: Schema.String,
|
|
3628
3628
|
}).pipe(T.ResponsePath("result")));
|
|
3629
|
-
export const patchObservabilityDestination = /*@__PURE__*/
|
|
3629
|
+
export const patchObservabilityDestination = /*@__PURE__*/ API.make(() => ({
|
|
3630
3630
|
input: PatchObservabilityDestinationRequest,
|
|
3631
3631
|
output: PatchObservabilityDestinationResponse,
|
|
3632
3632
|
errors: [
|
|
@@ -3636,7 +3636,7 @@ export const patchObservabilityDestination = /*@__PURE__*/ /*#__PURE__*/ API.mak
|
|
|
3636
3636
|
],
|
|
3637
3637
|
}));
|
|
3638
3638
|
export const DeleteObservabilityDestinationRequest =
|
|
3639
|
-
/*@__PURE__*/
|
|
3639
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3640
3640
|
slug: Schema.String.pipe(T.HttpPath("slug")),
|
|
3641
3641
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3642
3642
|
}).pipe(T.Http({
|
|
@@ -3644,20 +3644,20 @@ export const DeleteObservabilityDestinationRequest =
|
|
|
3644
3644
|
path: "/accounts/{account_id}/workers/observability/destinations/{slug}",
|
|
3645
3645
|
})));
|
|
3646
3646
|
export const DeleteObservabilityDestinationResponse =
|
|
3647
|
-
/*@__PURE__*/
|
|
3647
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3648
3648
|
configuration: Configuration3,
|
|
3649
3649
|
enabled: Schema.Boolean,
|
|
3650
3650
|
name: Schema.String,
|
|
3651
3651
|
scripts: Schema.Array(Schema.String),
|
|
3652
3652
|
slug: Schema.String,
|
|
3653
3653
|
}).pipe(T.ResponsePath("result")));
|
|
3654
|
-
export const deleteObservabilityDestination = /*@__PURE__*/
|
|
3654
|
+
export const deleteObservabilityDestination = /*@__PURE__*/ API.make(() => ({
|
|
3655
3655
|
input: DeleteObservabilityDestinationRequest,
|
|
3656
3656
|
output: DeleteObservabilityDestinationResponse,
|
|
3657
3657
|
errors: [ObservabilityDestinationNotFound, Forbidden],
|
|
3658
3658
|
}));
|
|
3659
3659
|
export const ListObservabilityQueriesRequest =
|
|
3660
|
-
/*@__PURE__*/
|
|
3660
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3661
3661
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3662
3662
|
order: Schema.optional(Schema.Union([Schema.Literals(["asc", "desc"]), Schema.String])).pipe(T.HttpQuery("order")),
|
|
3663
3663
|
orderBy: Schema.optional(Schema.Union([Schema.Literals(["created", "updated"]), Schema.String])).pipe(T.HttpQuery("orderBy")),
|
|
@@ -3668,10 +3668,10 @@ export const ListObservabilityQueriesRequest =
|
|
|
3668
3668
|
path: "/accounts/{account_id}/workers/observability/queries",
|
|
3669
3669
|
})));
|
|
3670
3670
|
export const ListObservabilityQueriesResponse =
|
|
3671
|
-
/*@__PURE__*/
|
|
3671
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3672
3672
|
result: Schema.Array(ListObservabilityQueriesResponseResult),
|
|
3673
3673
|
}));
|
|
3674
|
-
export const listObservabilityQueries = /*@__PURE__*/
|
|
3674
|
+
export const listObservabilityQueries = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3675
3675
|
input: ListObservabilityQueriesRequest,
|
|
3676
3676
|
output: ListObservabilityQueriesResponse,
|
|
3677
3677
|
errors: [],
|
|
@@ -3681,7 +3681,7 @@ export const listObservabilityQueries = /*@__PURE__*/ /*#__PURE__*/ API.makePagi
|
|
|
3681
3681
|
},
|
|
3682
3682
|
}));
|
|
3683
3683
|
export const CreateObservabilityQueryRequest =
|
|
3684
|
-
/*@__PURE__*/
|
|
3684
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3685
3685
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3686
3686
|
description: Schema.Union([Schema.String, Schema.Null]),
|
|
3687
3687
|
name: Schema.String,
|
|
@@ -3691,7 +3691,7 @@ export const CreateObservabilityQueryRequest =
|
|
|
3691
3691
|
path: "/accounts/{account_id}/workers/observability/queries",
|
|
3692
3692
|
})));
|
|
3693
3693
|
export const CreateObservabilityQueryResponse =
|
|
3694
|
-
/*@__PURE__*/
|
|
3694
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3695
3695
|
id: Schema.String,
|
|
3696
3696
|
adhoc: Schema.Boolean,
|
|
3697
3697
|
created: Schema.String,
|
|
@@ -3702,13 +3702,13 @@ export const CreateObservabilityQueryResponse =
|
|
|
3702
3702
|
updated: Schema.String,
|
|
3703
3703
|
updatedBy: Schema.String,
|
|
3704
3704
|
}).pipe(T.ResponsePath("result")));
|
|
3705
|
-
export const createObservabilityQuery = /*@__PURE__*/
|
|
3705
|
+
export const createObservabilityQuery = /*@__PURE__*/ API.make(() => ({
|
|
3706
3706
|
input: CreateObservabilityQueryRequest,
|
|
3707
3707
|
output: CreateObservabilityQueryResponse,
|
|
3708
3708
|
errors: [],
|
|
3709
3709
|
}));
|
|
3710
3710
|
export const GetObservabilitySharedQueryRequest =
|
|
3711
|
-
/*@__PURE__*/
|
|
3711
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3712
3712
|
id: Schema.String.pipe(T.HttpPath("id")),
|
|
3713
3713
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3714
3714
|
view: Schema.optional(Schema.Union([
|
|
@@ -3720,7 +3720,7 @@ export const GetObservabilitySharedQueryRequest =
|
|
|
3720
3720
|
path: "/accounts/{account_id}/workers/observability/shared/query/{id}",
|
|
3721
3721
|
})));
|
|
3722
3722
|
export const GetObservabilitySharedQueryResponse =
|
|
3723
|
-
/*@__PURE__*/
|
|
3723
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3724
3724
|
run: Run,
|
|
3725
3725
|
statistics: Statistics,
|
|
3726
3726
|
agents: Schema.optional(Schema.Union([Schema.Array(Agent), Schema.Null])),
|
|
@@ -3733,13 +3733,13 @@ export const GetObservabilitySharedQueryResponse =
|
|
|
3733
3733
|
])),
|
|
3734
3734
|
traces: Schema.optional(Schema.Union([Schema.Array(Trace), Schema.Null])),
|
|
3735
3735
|
}).pipe(T.ResponsePath("result")));
|
|
3736
|
-
export const getObservabilitySharedQuery = /*@__PURE__*/
|
|
3736
|
+
export const getObservabilitySharedQuery = /*@__PURE__*/ API.make(() => ({
|
|
3737
3737
|
input: GetObservabilitySharedQueryRequest,
|
|
3738
3738
|
output: GetObservabilitySharedQueryResponse,
|
|
3739
3739
|
errors: [],
|
|
3740
3740
|
}));
|
|
3741
3741
|
export const CreateObservabilitySharedQueryRequest =
|
|
3742
|
-
/*@__PURE__*/
|
|
3742
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3743
3743
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3744
3744
|
queryId: Schema.String,
|
|
3745
3745
|
timeframe: Timeframe,
|
|
@@ -3769,16 +3769,16 @@ export const CreateObservabilitySharedQueryRequest =
|
|
|
3769
3769
|
path: "/accounts/{account_id}/workers/observability/shared/query",
|
|
3770
3770
|
})));
|
|
3771
3771
|
export const CreateObservabilitySharedQueryResponse =
|
|
3772
|
-
/*@__PURE__*/
|
|
3772
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3773
3773
|
id: Schema.String,
|
|
3774
3774
|
}).pipe(T.ResponsePath("result")));
|
|
3775
|
-
export const createObservabilitySharedQuery = /*@__PURE__*/
|
|
3775
|
+
export const createObservabilitySharedQuery = /*@__PURE__*/ API.make(() => ({
|
|
3776
3776
|
input: CreateObservabilitySharedQueryRequest,
|
|
3777
3777
|
output: CreateObservabilitySharedQueryResponse,
|
|
3778
3778
|
errors: [],
|
|
3779
3779
|
}));
|
|
3780
3780
|
export const KeysObservabilityTelemetryRequest =
|
|
3781
|
-
/*@__PURE__*/
|
|
3781
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3782
3782
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3783
3783
|
datasets: Schema.optional(Schema.Array(Schema.String)),
|
|
3784
3784
|
filters: Schema.optional(Schema.Array(Schema.Union([
|
|
@@ -3795,10 +3795,10 @@ export const KeysObservabilityTelemetryRequest =
|
|
|
3795
3795
|
path: "/accounts/{account_id}/workers/observability/telemetry/keys",
|
|
3796
3796
|
})));
|
|
3797
3797
|
export const KeysObservabilityTelemetryResponse =
|
|
3798
|
-
/*@__PURE__*/
|
|
3798
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3799
3799
|
result: Schema.Array(KeysObservabilityTelemetryResponseResult),
|
|
3800
3800
|
}));
|
|
3801
|
-
export const keysObservabilityTelemetry = /*@__PURE__*/
|
|
3801
|
+
export const keysObservabilityTelemetry = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3802
3802
|
input: KeysObservabilityTelemetryRequest,
|
|
3803
3803
|
output: KeysObservabilityTelemetryResponse,
|
|
3804
3804
|
errors: [InvalidRoute],
|
|
@@ -3808,7 +3808,7 @@ export const keysObservabilityTelemetry = /*@__PURE__*/ /*#__PURE__*/ API.makePa
|
|
|
3808
3808
|
},
|
|
3809
3809
|
}));
|
|
3810
3810
|
export const QueryObservabilityTelemetryRequest =
|
|
3811
|
-
/*@__PURE__*/
|
|
3811
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3812
3812
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3813
3813
|
queryId: Schema.String,
|
|
3814
3814
|
timeframe: Timeframe,
|
|
@@ -3838,7 +3838,7 @@ export const QueryObservabilityTelemetryRequest =
|
|
|
3838
3838
|
path: "/accounts/{account_id}/workers/observability/telemetry/query",
|
|
3839
3839
|
})));
|
|
3840
3840
|
export const QueryObservabilityTelemetryResponse =
|
|
3841
|
-
/*@__PURE__*/
|
|
3841
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3842
3842
|
run: Run2,
|
|
3843
3843
|
statistics: Statistics,
|
|
3844
3844
|
agents: Schema.optional(Schema.Union([Schema.Array(Agent), Schema.Null])),
|
|
@@ -3848,13 +3848,13 @@ export const QueryObservabilityTelemetryResponse =
|
|
|
3848
3848
|
invocations: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
|
|
3849
3849
|
traces: Schema.optional(Schema.Union([Schema.Array(Trace), Schema.Null])),
|
|
3850
3850
|
}).pipe(T.ResponsePath("result")));
|
|
3851
|
-
export const queryObservabilityTelemetry = /*@__PURE__*/
|
|
3851
|
+
export const queryObservabilityTelemetry = /*@__PURE__*/ API.make(() => ({
|
|
3852
3852
|
input: QueryObservabilityTelemetryRequest,
|
|
3853
3853
|
output: QueryObservabilityTelemetryResponse,
|
|
3854
3854
|
errors: [InvalidRoute],
|
|
3855
3855
|
}));
|
|
3856
3856
|
export const ValuesObservabilityTelemetryRequest =
|
|
3857
|
-
/*@__PURE__*/
|
|
3857
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3858
3858
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3859
3859
|
datasets: Schema.Array(Schema.String),
|
|
3860
3860
|
key: Schema.String,
|
|
@@ -3874,10 +3874,10 @@ export const ValuesObservabilityTelemetryRequest =
|
|
|
3874
3874
|
path: "/accounts/{account_id}/workers/observability/telemetry/values",
|
|
3875
3875
|
})));
|
|
3876
3876
|
export const ValuesObservabilityTelemetryResponse =
|
|
3877
|
-
/*@__PURE__*/
|
|
3877
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3878
3878
|
result: Schema.Array(ValuesObservabilityTelemetryResponseResult),
|
|
3879
3879
|
}));
|
|
3880
|
-
export const valuesObservabilityTelemetry = /*@__PURE__*/
|
|
3880
|
+
export const valuesObservabilityTelemetry = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3881
3881
|
input: ValuesObservabilityTelemetryRequest,
|
|
3882
3882
|
output: ValuesObservabilityTelemetryResponse,
|
|
3883
3883
|
errors: [InvalidRoute],
|
|
@@ -3886,30 +3886,30 @@ export const valuesObservabilityTelemetry = /*@__PURE__*/ /*#__PURE__*/ API.make
|
|
|
3886
3886
|
items: "result",
|
|
3887
3887
|
},
|
|
3888
3888
|
}));
|
|
3889
|
-
export const GetRouteRequest = /*@__PURE__*/
|
|
3889
|
+
export const GetRouteRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3890
3890
|
routeId: Schema.String.pipe(T.HttpPath("routeId")),
|
|
3891
3891
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3892
3892
|
}).pipe(T.Http({
|
|
3893
3893
|
method: "GET",
|
|
3894
3894
|
path: "/zones/{zone_id}/workers/routes/{routeId}",
|
|
3895
3895
|
})));
|
|
3896
|
-
export const GetRouteResponse = /*@__PURE__*/
|
|
3896
|
+
export const GetRouteResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3897
3897
|
id: Schema.String,
|
|
3898
3898
|
pattern: Schema.String,
|
|
3899
3899
|
script: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3900
3900
|
}).pipe(T.ResponsePath("result")));
|
|
3901
|
-
export const getRoute = /*@__PURE__*/
|
|
3901
|
+
export const getRoute = /*@__PURE__*/ API.make(() => ({
|
|
3902
3902
|
input: GetRouteRequest,
|
|
3903
3903
|
output: GetRouteResponse,
|
|
3904
3904
|
errors: [WorkerNotFound, RouteNotFound, InvalidRoute, Forbidden],
|
|
3905
3905
|
}));
|
|
3906
|
-
export const ListRoutesRequest = /*@__PURE__*/
|
|
3906
|
+
export const ListRoutesRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3907
3907
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3908
3908
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/workers/routes" })));
|
|
3909
|
-
export const ListRoutesResponse = /*@__PURE__*/
|
|
3909
|
+
export const ListRoutesResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3910
3910
|
result: Schema.Array(ListRoutesResponseResult),
|
|
3911
3911
|
}));
|
|
3912
|
-
export const listRoutes = /*@__PURE__*/
|
|
3912
|
+
export const listRoutes = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3913
3913
|
input: ListRoutesRequest,
|
|
3914
3914
|
output: ListRoutesResponse,
|
|
3915
3915
|
errors: [InvalidRoute, Forbidden],
|
|
@@ -3918,22 +3918,22 @@ export const listRoutes = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
|
3918
3918
|
items: "result",
|
|
3919
3919
|
},
|
|
3920
3920
|
}));
|
|
3921
|
-
export const CreateRouteRequest = /*@__PURE__*/
|
|
3921
|
+
export const CreateRouteRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3922
3922
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3923
3923
|
pattern: Schema.String,
|
|
3924
3924
|
script: Schema.optional(Schema.String),
|
|
3925
3925
|
}).pipe(T.Http({ method: "POST", path: "/zones/{zone_id}/workers/routes" })));
|
|
3926
|
-
export const CreateRouteResponse = /*@__PURE__*/
|
|
3926
|
+
export const CreateRouteResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3927
3927
|
id: Schema.String,
|
|
3928
3928
|
pattern: Schema.String,
|
|
3929
3929
|
script: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3930
3930
|
}).pipe(T.ResponsePath("result")));
|
|
3931
|
-
export const createRoute = /*@__PURE__*/
|
|
3931
|
+
export const createRoute = /*@__PURE__*/ API.make(() => ({
|
|
3932
3932
|
input: CreateRouteRequest,
|
|
3933
3933
|
output: CreateRouteResponse,
|
|
3934
3934
|
errors: [RouteScriptNotFound, InvalidRoutePattern, InvalidRoute, Forbidden],
|
|
3935
3935
|
}));
|
|
3936
|
-
export const UpdateRouteRequest = /*@__PURE__*/
|
|
3936
|
+
export const UpdateRouteRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3937
3937
|
routeId: Schema.String.pipe(T.HttpPath("routeId")),
|
|
3938
3938
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3939
3939
|
pattern: Schema.String,
|
|
@@ -3942,52 +3942,52 @@ export const UpdateRouteRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
3942
3942
|
method: "PUT",
|
|
3943
3943
|
path: "/zones/{zone_id}/workers/routes/{routeId}",
|
|
3944
3944
|
})));
|
|
3945
|
-
export const UpdateRouteResponse = /*@__PURE__*/
|
|
3945
|
+
export const UpdateRouteResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3946
3946
|
id: Schema.String,
|
|
3947
3947
|
pattern: Schema.String,
|
|
3948
3948
|
script: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3949
3949
|
}).pipe(T.ResponsePath("result")));
|
|
3950
|
-
export const updateRoute = /*@__PURE__*/
|
|
3950
|
+
export const updateRoute = /*@__PURE__*/ API.make(() => ({
|
|
3951
3951
|
input: UpdateRouteRequest,
|
|
3952
3952
|
output: UpdateRouteResponse,
|
|
3953
3953
|
errors: [RouteNotFound, InvalidRoutePattern],
|
|
3954
3954
|
}));
|
|
3955
|
-
export const DeleteRouteRequest = /*@__PURE__*/
|
|
3955
|
+
export const DeleteRouteRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3956
3956
|
routeId: Schema.String.pipe(T.HttpPath("routeId")),
|
|
3957
3957
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3958
3958
|
}).pipe(T.Http({
|
|
3959
3959
|
method: "DELETE",
|
|
3960
3960
|
path: "/zones/{zone_id}/workers/routes/{routeId}",
|
|
3961
3961
|
})));
|
|
3962
|
-
export const DeleteRouteResponse = /*@__PURE__*/
|
|
3962
|
+
export const DeleteRouteResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3963
3963
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3964
3964
|
}).pipe(T.ResponsePath("result")));
|
|
3965
|
-
export const deleteRoute = /*@__PURE__*/
|
|
3965
|
+
export const deleteRoute = /*@__PURE__*/ API.make(() => ({
|
|
3966
3966
|
input: DeleteRouteRequest,
|
|
3967
3967
|
output: DeleteRouteResponse,
|
|
3968
3968
|
errors: [RouteNotFound],
|
|
3969
3969
|
}));
|
|
3970
|
-
export const GetScriptRequest = /*@__PURE__*/
|
|
3970
|
+
export const GetScriptRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3971
3971
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
3972
3972
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3973
3973
|
}).pipe(T.Http({
|
|
3974
3974
|
method: "GET",
|
|
3975
3975
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}",
|
|
3976
3976
|
})));
|
|
3977
|
-
export const GetScriptResponse = /*@__PURE__*/
|
|
3978
|
-
export const getScript = /*@__PURE__*/
|
|
3977
|
+
export const GetScriptResponse = /*@__PURE__*/ Schema.suspend(() => Schema.String);
|
|
3978
|
+
export const getScript = /*@__PURE__*/ API.make(() => ({
|
|
3979
3979
|
input: GetScriptRequest,
|
|
3980
3980
|
output: GetScriptResponse,
|
|
3981
3981
|
errors: [WorkerNotFound, InvalidRoute],
|
|
3982
3982
|
}));
|
|
3983
|
-
export const ListScriptsRequest = /*@__PURE__*/
|
|
3983
|
+
export const ListScriptsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3984
3984
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3985
3985
|
tags: Schema.optional(Schema.String).pipe(T.HttpQuery("tags")),
|
|
3986
3986
|
}).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/workers/scripts" })));
|
|
3987
|
-
export const ListScriptsResponse = /*@__PURE__*/
|
|
3987
|
+
export const ListScriptsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3988
3988
|
result: Schema.Array(ListScriptsResponseResult),
|
|
3989
3989
|
}));
|
|
3990
|
-
export const listScripts = /*@__PURE__*/
|
|
3990
|
+
export const listScripts = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3991
3991
|
input: ListScriptsRequest,
|
|
3992
3992
|
output: ListScriptsResponse,
|
|
3993
3993
|
errors: [InvalidRoute],
|
|
@@ -3996,7 +3996,7 @@ export const listScripts = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => (
|
|
|
3996
3996
|
items: "result",
|
|
3997
3997
|
},
|
|
3998
3998
|
}));
|
|
3999
|
-
export const PutScriptRequest = /*@__PURE__*/
|
|
3999
|
+
export const PutScriptRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4000
4000
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4001
4001
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4002
4002
|
bindingsInherit: Schema.optional(Schema.Literal("strict")).pipe(T.HttpQuery("bindings_inherit")),
|
|
@@ -4007,7 +4007,7 @@ export const PutScriptRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
4007
4007
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}",
|
|
4008
4008
|
contentType: "multipart",
|
|
4009
4009
|
})));
|
|
4010
|
-
export const PutScriptResponse = /*@__PURE__*/
|
|
4010
|
+
export const PutScriptResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4011
4011
|
startupTimeMs: Schema.Number,
|
|
4012
4012
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4013
4013
|
compatibilityDate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -4089,7 +4089,7 @@ export const PutScriptResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
4089
4089
|
usageModel: "usage_model",
|
|
4090
4090
|
}))
|
|
4091
4091
|
.pipe(T.ResponsePath("result")));
|
|
4092
|
-
export const putScript = /*@__PURE__*/
|
|
4092
|
+
export const putScript = /*@__PURE__*/ API.make(() => ({
|
|
4093
4093
|
input: PutScriptRequest,
|
|
4094
4094
|
output: PutScriptResponse,
|
|
4095
4095
|
errors: [
|
|
@@ -4113,7 +4113,7 @@ export const putScript = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
4113
4113
|
MtlsCertificateNotFound,
|
|
4114
4114
|
],
|
|
4115
4115
|
}));
|
|
4116
|
-
export const DeleteScriptRequest = /*@__PURE__*/
|
|
4116
|
+
export const DeleteScriptRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4117
4117
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4118
4118
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4119
4119
|
force: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("force")),
|
|
@@ -4121,13 +4121,13 @@ export const DeleteScriptRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
4121
4121
|
method: "DELETE",
|
|
4122
4122
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}",
|
|
4123
4123
|
})));
|
|
4124
|
-
export const DeleteScriptResponse = /*@__PURE__*/
|
|
4125
|
-
export const deleteScript = /*@__PURE__*/
|
|
4124
|
+
export const DeleteScriptResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
4125
|
+
export const deleteScript = /*@__PURE__*/ API.make(() => ({
|
|
4126
4126
|
input: DeleteScriptRequest,
|
|
4127
4127
|
output: DeleteScriptResponse,
|
|
4128
4128
|
errors: [WorkerNotFound, QueueConsumerConflict, ServiceBindingConflict],
|
|
4129
4129
|
}));
|
|
4130
|
-
export const SearchScriptRequest = /*@__PURE__*/
|
|
4130
|
+
export const SearchScriptRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4131
4131
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4132
4132
|
id: Schema.optional(Schema.String).pipe(T.HttpQuery("id")),
|
|
4133
4133
|
name: Schema.optional(Schema.String).pipe(T.HttpQuery("name")),
|
|
@@ -4141,14 +4141,14 @@ export const SearchScriptRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
4141
4141
|
method: "GET",
|
|
4142
4142
|
path: "/accounts/{account_id}/workers/scripts-search",
|
|
4143
4143
|
})));
|
|
4144
|
-
export const SearchScriptResponse = /*@__PURE__*/
|
|
4145
|
-
export const searchScript = /*@__PURE__*/
|
|
4144
|
+
export const SearchScriptResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Array(ScriptSearchResponseItem).pipe(T.ResponsePath("result")));
|
|
4145
|
+
export const searchScript = /*@__PURE__*/ API.make(() => ({
|
|
4146
4146
|
input: SearchScriptRequest,
|
|
4147
4147
|
output: SearchScriptResponse,
|
|
4148
4148
|
errors: [InvalidRoute],
|
|
4149
4149
|
}));
|
|
4150
4150
|
export const CreateScriptAssetUploadRequest =
|
|
4151
|
-
/*@__PURE__*/
|
|
4151
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4152
4152
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4153
4153
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4154
4154
|
manifest: Schema.Record(Schema.String, Schema.Unknown),
|
|
@@ -4157,17 +4157,17 @@ export const CreateScriptAssetUploadRequest =
|
|
|
4157
4157
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}/assets-upload-session",
|
|
4158
4158
|
})));
|
|
4159
4159
|
export const CreateScriptAssetUploadResponse =
|
|
4160
|
-
/*@__PURE__*/
|
|
4160
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4161
4161
|
buckets: Schema.optional(Schema.Union([Schema.Array(Schema.Array(Schema.String)), Schema.Null])),
|
|
4162
4162
|
jwt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4163
4163
|
}).pipe(T.ResponsePath("result")));
|
|
4164
|
-
export const createScriptAssetUpload = /*@__PURE__*/
|
|
4164
|
+
export const createScriptAssetUpload = /*@__PURE__*/ API.make(() => ({
|
|
4165
4165
|
input: CreateScriptAssetUploadRequest,
|
|
4166
4166
|
output: CreateScriptAssetUploadResponse,
|
|
4167
4167
|
errors: [],
|
|
4168
4168
|
}));
|
|
4169
4169
|
export const GetScriptContentRequest =
|
|
4170
|
-
/*@__PURE__*/
|
|
4170
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4171
4171
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4172
4172
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4173
4173
|
}).pipe(T.Http({
|
|
@@ -4175,14 +4175,14 @@ export const GetScriptContentRequest =
|
|
|
4175
4175
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}/content/v2",
|
|
4176
4176
|
})));
|
|
4177
4177
|
export const GetScriptContentResponse =
|
|
4178
|
-
/*@__PURE__*/
|
|
4179
|
-
export const getScriptContent = /*@__PURE__*/
|
|
4178
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown);
|
|
4179
|
+
export const getScriptContent = /*@__PURE__*/ API.make(() => ({
|
|
4180
4180
|
input: GetScriptContentRequest,
|
|
4181
4181
|
output: GetScriptContentResponse,
|
|
4182
4182
|
errors: [WorkerNotFound],
|
|
4183
4183
|
}));
|
|
4184
4184
|
export const PutScriptContentRequest =
|
|
4185
|
-
/*@__PURE__*/
|
|
4185
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4186
4186
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4187
4187
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4188
4188
|
cfworkerbodypart: Schema.optional(Schema.String).pipe(T.HttpHeader("CF-WORKER-BODY-PART")),
|
|
@@ -4195,7 +4195,7 @@ export const PutScriptContentRequest =
|
|
|
4195
4195
|
contentType: "multipart",
|
|
4196
4196
|
})));
|
|
4197
4197
|
export const PutScriptContentResponse =
|
|
4198
|
-
/*@__PURE__*/
|
|
4198
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4199
4199
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4200
4200
|
compatibilityDate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4201
4201
|
compatibilityFlags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
@@ -4273,7 +4273,7 @@ export const PutScriptContentResponse =
|
|
|
4273
4273
|
usageModel: "usage_model",
|
|
4274
4274
|
}))
|
|
4275
4275
|
.pipe(T.ResponsePath("result")));
|
|
4276
|
-
export const putScriptContent = /*@__PURE__*/
|
|
4276
|
+
export const putScriptContent = /*@__PURE__*/ API.make(() => ({
|
|
4277
4277
|
input: PutScriptContentRequest,
|
|
4278
4278
|
output: PutScriptContentResponse,
|
|
4279
4279
|
errors: [
|
|
@@ -4284,7 +4284,7 @@ export const putScriptContent = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
4284
4284
|
],
|
|
4285
4285
|
}));
|
|
4286
4286
|
export const GetScriptDeploymentRequest =
|
|
4287
|
-
/*@__PURE__*/
|
|
4287
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4288
4288
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4289
4289
|
deploymentId: Schema.String.pipe(T.HttpPath("deploymentId")),
|
|
4290
4290
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -4293,7 +4293,7 @@ export const GetScriptDeploymentRequest =
|
|
|
4293
4293
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}/deployments/{deploymentId}",
|
|
4294
4294
|
})));
|
|
4295
4295
|
export const GetScriptDeploymentResponse =
|
|
4296
|
-
/*@__PURE__*/
|
|
4296
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4297
4297
|
id: Schema.String,
|
|
4298
4298
|
createdOn: Schema.String,
|
|
4299
4299
|
source: Schema.String,
|
|
@@ -4312,13 +4312,13 @@ export const GetScriptDeploymentResponse =
|
|
|
4312
4312
|
authorEmail: "author_email",
|
|
4313
4313
|
}))
|
|
4314
4314
|
.pipe(T.ResponsePath("result")));
|
|
4315
|
-
export const getScriptDeployment = /*@__PURE__*/
|
|
4315
|
+
export const getScriptDeployment = /*@__PURE__*/ API.make(() => ({
|
|
4316
4316
|
input: GetScriptDeploymentRequest,
|
|
4317
4317
|
output: GetScriptDeploymentResponse,
|
|
4318
4318
|
errors: [WorkerNotFound, DeploymentNotFound],
|
|
4319
4319
|
}));
|
|
4320
4320
|
export const ListScriptDeploymentsRequest =
|
|
4321
|
-
/*@__PURE__*/
|
|
4321
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4322
4322
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4323
4323
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4324
4324
|
}).pipe(T.Http({
|
|
@@ -4326,16 +4326,16 @@ export const ListScriptDeploymentsRequest =
|
|
|
4326
4326
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}/deployments",
|
|
4327
4327
|
})));
|
|
4328
4328
|
export const ListScriptDeploymentsResponse =
|
|
4329
|
-
/*@__PURE__*/
|
|
4329
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4330
4330
|
deployments: Schema.Array(Deployment),
|
|
4331
4331
|
}).pipe(T.ResponsePath("result")));
|
|
4332
|
-
export const listScriptDeployments = /*@__PURE__*/
|
|
4332
|
+
export const listScriptDeployments = /*@__PURE__*/ API.make(() => ({
|
|
4333
4333
|
input: ListScriptDeploymentsRequest,
|
|
4334
4334
|
output: ListScriptDeploymentsResponse,
|
|
4335
4335
|
errors: [WorkerNotFound],
|
|
4336
4336
|
}));
|
|
4337
4337
|
export const CreateScriptDeploymentRequest =
|
|
4338
|
-
/*@__PURE__*/
|
|
4338
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4339
4339
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4340
4340
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4341
4341
|
force: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("force")),
|
|
@@ -4347,7 +4347,7 @@ export const CreateScriptDeploymentRequest =
|
|
|
4347
4347
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}/deployments",
|
|
4348
4348
|
})));
|
|
4349
4349
|
export const CreateScriptDeploymentResponse =
|
|
4350
|
-
/*@__PURE__*/
|
|
4350
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4351
4351
|
id: Schema.String,
|
|
4352
4352
|
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4353
4353
|
source: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -4366,13 +4366,13 @@ export const CreateScriptDeploymentResponse =
|
|
|
4366
4366
|
authorEmail: "author_email",
|
|
4367
4367
|
}))
|
|
4368
4368
|
.pipe(T.ResponsePath("result")));
|
|
4369
|
-
export const createScriptDeployment = /*@__PURE__*/
|
|
4369
|
+
export const createScriptDeployment = /*@__PURE__*/ API.make(() => ({
|
|
4370
4370
|
input: CreateScriptDeploymentRequest,
|
|
4371
4371
|
output: CreateScriptDeploymentResponse,
|
|
4372
4372
|
errors: [WorkerNotFound],
|
|
4373
4373
|
}));
|
|
4374
4374
|
export const DeleteScriptDeploymentRequest =
|
|
4375
|
-
/*@__PURE__*/
|
|
4375
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4376
4376
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4377
4377
|
deploymentId: Schema.String.pipe(T.HttpPath("deploymentId")),
|
|
4378
4378
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -4381,18 +4381,18 @@ export const DeleteScriptDeploymentRequest =
|
|
|
4381
4381
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}/deployments/{deploymentId}",
|
|
4382
4382
|
})));
|
|
4383
4383
|
export const DeleteScriptDeploymentResponse =
|
|
4384
|
-
/*@__PURE__*/
|
|
4384
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4385
4385
|
errors: Schema.Array(Error2),
|
|
4386
4386
|
messages: Schema.Array(Error2),
|
|
4387
4387
|
success: Schema.Literal(true),
|
|
4388
4388
|
}));
|
|
4389
|
-
export const deleteScriptDeployment = /*@__PURE__*/
|
|
4389
|
+
export const deleteScriptDeployment = /*@__PURE__*/ API.make(() => ({
|
|
4390
4390
|
input: DeleteScriptDeploymentRequest,
|
|
4391
4391
|
output: DeleteScriptDeploymentResponse,
|
|
4392
4392
|
errors: [WorkerNotFound, DeploymentNotFound],
|
|
4393
4393
|
}));
|
|
4394
4394
|
export const CreateScriptEdgePreviewRequest =
|
|
4395
|
-
/*@__PURE__*/
|
|
4395
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4396
4396
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4397
4397
|
scriptName: Schema.String.pipe(T.HttpPath("script_name")),
|
|
4398
4398
|
cfPreviewUploadConfigToken: Schema.String.pipe(T.HttpHeader("cf-preview-upload-config-token")),
|
|
@@ -4412,7 +4412,7 @@ export const CreateScriptEdgePreviewRequest =
|
|
|
4412
4412
|
contentType: "multipart",
|
|
4413
4413
|
})));
|
|
4414
4414
|
export const CreateScriptEdgePreviewResponse =
|
|
4415
|
-
/*@__PURE__*/
|
|
4415
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4416
4416
|
previewToken: Schema.String,
|
|
4417
4417
|
tailUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4418
4418
|
})
|
|
@@ -4421,13 +4421,13 @@ export const CreateScriptEdgePreviewResponse =
|
|
|
4421
4421
|
tailUrl: "tail_url",
|
|
4422
4422
|
}))
|
|
4423
4423
|
.pipe(T.ResponsePath("result")));
|
|
4424
|
-
export const createScriptEdgePreview = /*@__PURE__*/
|
|
4424
|
+
export const createScriptEdgePreview = /*@__PURE__*/ API.make(() => ({
|
|
4425
4425
|
input: CreateScriptEdgePreviewRequest,
|
|
4426
4426
|
output: CreateScriptEdgePreviewResponse,
|
|
4427
4427
|
errors: [InvalidRoute],
|
|
4428
4428
|
}));
|
|
4429
4429
|
export const GetScriptScheduleRequest =
|
|
4430
|
-
/*@__PURE__*/
|
|
4430
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4431
4431
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4432
4432
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4433
4433
|
}).pipe(T.Http({
|
|
@@ -4435,16 +4435,16 @@ export const GetScriptScheduleRequest =
|
|
|
4435
4435
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}/schedules",
|
|
4436
4436
|
})));
|
|
4437
4437
|
export const GetScriptScheduleResponse =
|
|
4438
|
-
/*@__PURE__*/
|
|
4438
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4439
4439
|
schedules: Schema.Array(Schedule),
|
|
4440
4440
|
}).pipe(T.ResponsePath("result")));
|
|
4441
|
-
export const getScriptSchedule = /*@__PURE__*/
|
|
4441
|
+
export const getScriptSchedule = /*@__PURE__*/ API.make(() => ({
|
|
4442
4442
|
input: GetScriptScheduleRequest,
|
|
4443
4443
|
output: GetScriptScheduleResponse,
|
|
4444
4444
|
errors: [WorkerNotFound],
|
|
4445
4445
|
}));
|
|
4446
4446
|
export const PutScriptScheduleRequest =
|
|
4447
|
-
/*@__PURE__*/
|
|
4447
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4448
4448
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4449
4449
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4450
4450
|
body: Schema.Array(Body).pipe(T.HttpBody()),
|
|
@@ -4453,16 +4453,16 @@ export const PutScriptScheduleRequest =
|
|
|
4453
4453
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}/schedules",
|
|
4454
4454
|
})));
|
|
4455
4455
|
export const PutScriptScheduleResponse =
|
|
4456
|
-
/*@__PURE__*/
|
|
4456
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4457
4457
|
schedules: Schema.Array(Schedule),
|
|
4458
4458
|
}).pipe(T.ResponsePath("result")));
|
|
4459
|
-
export const putScriptSchedule = /*@__PURE__*/
|
|
4459
|
+
export const putScriptSchedule = /*@__PURE__*/ API.make(() => ({
|
|
4460
4460
|
input: PutScriptScheduleRequest,
|
|
4461
4461
|
output: PutScriptScheduleResponse,
|
|
4462
4462
|
errors: [WorkerNotFound],
|
|
4463
4463
|
}));
|
|
4464
4464
|
export const GetScriptScriptAndVersionSettingRequest =
|
|
4465
|
-
/*@__PURE__*/
|
|
4465
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4466
4466
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4467
4467
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4468
4468
|
}).pipe(T.Http({
|
|
@@ -4470,7 +4470,7 @@ export const GetScriptScriptAndVersionSettingRequest =
|
|
|
4470
4470
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}/settings",
|
|
4471
4471
|
})));
|
|
4472
4472
|
export const GetScriptScriptAndVersionSettingResponse =
|
|
4473
|
-
/*@__PURE__*/
|
|
4473
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4474
4474
|
annotations: Schema.optional(Schema.Union([Annotations, Schema.Null])),
|
|
4475
4475
|
bindings: Schema.optional(Schema.Union([
|
|
4476
4476
|
Schema.Array(Schema.Union([
|
|
@@ -4544,13 +4544,13 @@ export const GetScriptScriptAndVersionSettingResponse =
|
|
|
4544
4544
|
usageModel: "usage_model",
|
|
4545
4545
|
}))
|
|
4546
4546
|
.pipe(T.ResponsePath("result")));
|
|
4547
|
-
export const getScriptScriptAndVersionSetting = /*@__PURE__*/
|
|
4547
|
+
export const getScriptScriptAndVersionSetting = /*@__PURE__*/ API.make(() => ({
|
|
4548
4548
|
input: GetScriptScriptAndVersionSettingRequest,
|
|
4549
4549
|
output: GetScriptScriptAndVersionSettingResponse,
|
|
4550
4550
|
errors: [WorkerNotFound, WorkerHasNoVersions],
|
|
4551
4551
|
}));
|
|
4552
4552
|
export const PatchScriptScriptAndVersionSettingRequest =
|
|
4553
|
-
/*@__PURE__*/
|
|
4553
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4554
4554
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4555
4555
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4556
4556
|
settings: Schema.optional(Settings),
|
|
@@ -4560,7 +4560,7 @@ export const PatchScriptScriptAndVersionSettingRequest =
|
|
|
4560
4560
|
contentType: "multipart",
|
|
4561
4561
|
})));
|
|
4562
4562
|
export const PatchScriptScriptAndVersionSettingResponse =
|
|
4563
|
-
/*@__PURE__*/
|
|
4563
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4564
4564
|
annotations: Schema.optional(Schema.Union([Annotations, Schema.Null])),
|
|
4565
4565
|
bindings: Schema.optional(Schema.Union([
|
|
4566
4566
|
Schema.Array(Schema.Union([
|
|
@@ -4634,13 +4634,13 @@ export const PatchScriptScriptAndVersionSettingResponse =
|
|
|
4634
4634
|
usageModel: "usage_model",
|
|
4635
4635
|
}))
|
|
4636
4636
|
.pipe(T.ResponsePath("result")));
|
|
4637
|
-
export const patchScriptScriptAndVersionSetting = /*@__PURE__*/
|
|
4637
|
+
export const patchScriptScriptAndVersionSetting = /*@__PURE__*/ API.make(() => ({
|
|
4638
4638
|
input: PatchScriptScriptAndVersionSettingRequest,
|
|
4639
4639
|
output: PatchScriptScriptAndVersionSettingResponse,
|
|
4640
4640
|
errors: [WorkerNotFound, ContentTypeRequired],
|
|
4641
4641
|
}));
|
|
4642
4642
|
export const GetScriptSecretRequest =
|
|
4643
|
-
/*@__PURE__*/
|
|
4643
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4644
4644
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4645
4645
|
secretName: Schema.String.pipe(T.HttpPath("secretName")),
|
|
4646
4646
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -4650,17 +4650,17 @@ export const GetScriptSecretRequest =
|
|
|
4650
4650
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}/secrets/{secretName}",
|
|
4651
4651
|
})));
|
|
4652
4652
|
export const GetScriptSecretResponse =
|
|
4653
|
-
/*@__PURE__*/
|
|
4653
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Union([
|
|
4654
4654
|
WorkersBindingKindSecretKey,
|
|
4655
4655
|
WorkersBindingKindSecretText,
|
|
4656
4656
|
]).pipe(T.ResponsePath("result")));
|
|
4657
|
-
export const getScriptSecret = /*@__PURE__*/
|
|
4657
|
+
export const getScriptSecret = /*@__PURE__*/ API.make(() => ({
|
|
4658
4658
|
input: GetScriptSecretRequest,
|
|
4659
4659
|
output: GetScriptSecretResponse,
|
|
4660
4660
|
errors: [WorkerNotFound, SecretNotFound],
|
|
4661
4661
|
}));
|
|
4662
4662
|
export const ListScriptSecretsRequest =
|
|
4663
|
-
/*@__PURE__*/
|
|
4663
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4664
4664
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4665
4665
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4666
4666
|
}).pipe(T.Http({
|
|
@@ -4668,13 +4668,13 @@ export const ListScriptSecretsRequest =
|
|
|
4668
4668
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}/secrets",
|
|
4669
4669
|
})));
|
|
4670
4670
|
export const ListScriptSecretsResponse =
|
|
4671
|
-
/*@__PURE__*/
|
|
4671
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4672
4672
|
result: Schema.Array(Schema.Union([
|
|
4673
4673
|
WorkersBindingKindSecretKey,
|
|
4674
4674
|
WorkersBindingKindSecretText,
|
|
4675
4675
|
])),
|
|
4676
4676
|
}));
|
|
4677
|
-
export const listScriptSecrets = /*@__PURE__*/
|
|
4677
|
+
export const listScriptSecrets = /*@__PURE__*/ API.makePaginated(() => ({
|
|
4678
4678
|
input: ListScriptSecretsRequest,
|
|
4679
4679
|
output: ListScriptSecretsResponse,
|
|
4680
4680
|
errors: [WorkerNotFound],
|
|
@@ -4684,7 +4684,7 @@ export const listScriptSecrets = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated((
|
|
|
4684
4684
|
},
|
|
4685
4685
|
}));
|
|
4686
4686
|
export const PutScriptSecretRequest =
|
|
4687
|
-
/*@__PURE__*/
|
|
4687
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4688
4688
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4689
4689
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4690
4690
|
name: Schema.String,
|
|
@@ -4727,17 +4727,17 @@ export const PutScriptSecretRequest =
|
|
|
4727
4727
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}/secrets",
|
|
4728
4728
|
})));
|
|
4729
4729
|
export const PutScriptSecretResponse =
|
|
4730
|
-
/*@__PURE__*/
|
|
4730
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Union([
|
|
4731
4731
|
WorkersBindingKindSecretKey,
|
|
4732
4732
|
WorkersBindingKindSecretText,
|
|
4733
4733
|
]).pipe(T.ResponsePath("result")));
|
|
4734
|
-
export const putScriptSecret = /*@__PURE__*/
|
|
4734
|
+
export const putScriptSecret = /*@__PURE__*/ API.make(() => ({
|
|
4735
4735
|
input: PutScriptSecretRequest,
|
|
4736
4736
|
output: PutScriptSecretResponse,
|
|
4737
4737
|
errors: [WorkerNotFound],
|
|
4738
4738
|
}));
|
|
4739
4739
|
export const DeleteScriptSecretRequest =
|
|
4740
|
-
/*@__PURE__*/
|
|
4740
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4741
4741
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4742
4742
|
secretName: Schema.String.pipe(T.HttpPath("secretName")),
|
|
4743
4743
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -4747,14 +4747,14 @@ export const DeleteScriptSecretRequest =
|
|
|
4747
4747
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}/secrets/{secretName}",
|
|
4748
4748
|
})));
|
|
4749
4749
|
export const DeleteScriptSecretResponse =
|
|
4750
|
-
/*@__PURE__*/
|
|
4751
|
-
export const deleteScriptSecret = /*@__PURE__*/
|
|
4750
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
4751
|
+
export const deleteScriptSecret = /*@__PURE__*/ API.make(() => ({
|
|
4752
4752
|
input: DeleteScriptSecretRequest,
|
|
4753
4753
|
output: DeleteScriptSecretResponse,
|
|
4754
4754
|
errors: [WorkerNotFound, SecretNotFound],
|
|
4755
4755
|
}));
|
|
4756
4756
|
export const BulkUpdateScriptSecretsRequest =
|
|
4757
|
-
/*@__PURE__*/
|
|
4757
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4758
4758
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4759
4759
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4760
4760
|
secrets: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
|
|
@@ -4764,14 +4764,14 @@ export const BulkUpdateScriptSecretsRequest =
|
|
|
4764
4764
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}/secrets-bulk",
|
|
4765
4765
|
})));
|
|
4766
4766
|
export const BulkUpdateScriptSecretsResponse =
|
|
4767
|
-
/*@__PURE__*/
|
|
4768
|
-
export const bulkUpdateScriptSecrets = /*@__PURE__*/
|
|
4767
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Record(Schema.String, Schema.Unknown).pipe(T.ResponsePath("result")));
|
|
4768
|
+
export const bulkUpdateScriptSecrets = /*@__PURE__*/ API.make(() => ({
|
|
4769
4769
|
input: BulkUpdateScriptSecretsRequest,
|
|
4770
4770
|
output: BulkUpdateScriptSecretsResponse,
|
|
4771
4771
|
errors: [],
|
|
4772
4772
|
}));
|
|
4773
4773
|
export const GetScriptSettingRequest =
|
|
4774
|
-
/*@__PURE__*/
|
|
4774
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4775
4775
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4776
4776
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4777
4777
|
}).pipe(T.Http({
|
|
@@ -4779,7 +4779,7 @@ export const GetScriptSettingRequest =
|
|
|
4779
4779
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}/script-settings",
|
|
4780
4780
|
})));
|
|
4781
4781
|
export const GetScriptSettingResponse =
|
|
4782
|
-
/*@__PURE__*/
|
|
4782
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4783
4783
|
logpush: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
4784
4784
|
observability: Schema.optional(Schema.Union([Observability2, Schema.Null])),
|
|
4785
4785
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
@@ -4792,13 +4792,13 @@ export const GetScriptSettingResponse =
|
|
|
4792
4792
|
tailConsumers: "tail_consumers",
|
|
4793
4793
|
}))
|
|
4794
4794
|
.pipe(T.ResponsePath("result")));
|
|
4795
|
-
export const getScriptSetting = /*@__PURE__*/
|
|
4795
|
+
export const getScriptSetting = /*@__PURE__*/ API.make(() => ({
|
|
4796
4796
|
input: GetScriptSettingRequest,
|
|
4797
4797
|
output: GetScriptSettingResponse,
|
|
4798
4798
|
errors: [WorkerNotFound, WorkerHasNoVersions],
|
|
4799
4799
|
}));
|
|
4800
4800
|
export const PatchScriptSettingRequest =
|
|
4801
|
-
/*@__PURE__*/
|
|
4801
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4802
4802
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4803
4803
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4804
4804
|
logpush: Schema.optional(Schema.Boolean),
|
|
@@ -4815,7 +4815,7 @@ export const PatchScriptSettingRequest =
|
|
|
4815
4815
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}/script-settings",
|
|
4816
4816
|
})));
|
|
4817
4817
|
export const PatchScriptSettingResponse =
|
|
4818
|
-
/*@__PURE__*/
|
|
4818
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4819
4819
|
logpush: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
4820
4820
|
observability: Schema.optional(Schema.Union([Observability2, Schema.Null])),
|
|
4821
4821
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
@@ -4828,13 +4828,13 @@ export const PatchScriptSettingResponse =
|
|
|
4828
4828
|
tailConsumers: "tail_consumers",
|
|
4829
4829
|
}))
|
|
4830
4830
|
.pipe(T.ResponsePath("result")));
|
|
4831
|
-
export const patchScriptSetting = /*@__PURE__*/
|
|
4831
|
+
export const patchScriptSetting = /*@__PURE__*/ API.make(() => ({
|
|
4832
4832
|
input: PatchScriptSettingRequest,
|
|
4833
4833
|
output: PatchScriptSettingResponse,
|
|
4834
4834
|
errors: [WorkerNotFound],
|
|
4835
4835
|
}));
|
|
4836
4836
|
export const GetScriptSubdomainRequest =
|
|
4837
|
-
/*@__PURE__*/
|
|
4837
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4838
4838
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4839
4839
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4840
4840
|
}).pipe(T.Http({
|
|
@@ -4842,7 +4842,7 @@ export const GetScriptSubdomainRequest =
|
|
|
4842
4842
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}/subdomain",
|
|
4843
4843
|
})));
|
|
4844
4844
|
export const GetScriptSubdomainResponse =
|
|
4845
|
-
/*@__PURE__*/
|
|
4845
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4846
4846
|
enabled: Schema.Boolean,
|
|
4847
4847
|
previewsEnabled: Schema.Boolean,
|
|
4848
4848
|
})
|
|
@@ -4851,13 +4851,13 @@ export const GetScriptSubdomainResponse =
|
|
|
4851
4851
|
previewsEnabled: "previews_enabled",
|
|
4852
4852
|
}))
|
|
4853
4853
|
.pipe(T.ResponsePath("result")));
|
|
4854
|
-
export const getScriptSubdomain = /*@__PURE__*/
|
|
4854
|
+
export const getScriptSubdomain = /*@__PURE__*/ API.make(() => ({
|
|
4855
4855
|
input: GetScriptSubdomainRequest,
|
|
4856
4856
|
output: GetScriptSubdomainResponse,
|
|
4857
4857
|
errors: [WorkerNotFound],
|
|
4858
4858
|
}));
|
|
4859
4859
|
export const CreateScriptSubdomainRequest =
|
|
4860
|
-
/*@__PURE__*/
|
|
4860
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4861
4861
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4862
4862
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4863
4863
|
enabled: Schema.Boolean,
|
|
@@ -4870,7 +4870,7 @@ export const CreateScriptSubdomainRequest =
|
|
|
4870
4870
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}/subdomain",
|
|
4871
4871
|
})));
|
|
4872
4872
|
export const CreateScriptSubdomainResponse =
|
|
4873
|
-
/*@__PURE__*/
|
|
4873
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4874
4874
|
enabled: Schema.Boolean,
|
|
4875
4875
|
previewsEnabled: Schema.Boolean,
|
|
4876
4876
|
})
|
|
@@ -4879,13 +4879,13 @@ export const CreateScriptSubdomainResponse =
|
|
|
4879
4879
|
previewsEnabled: "previews_enabled",
|
|
4880
4880
|
}))
|
|
4881
4881
|
.pipe(T.ResponsePath("result")));
|
|
4882
|
-
export const createScriptSubdomain = /*@__PURE__*/
|
|
4882
|
+
export const createScriptSubdomain = /*@__PURE__*/ API.make(() => ({
|
|
4883
4883
|
input: CreateScriptSubdomainRequest,
|
|
4884
4884
|
output: CreateScriptSubdomainResponse,
|
|
4885
4885
|
errors: [WorkerNotFound],
|
|
4886
4886
|
}));
|
|
4887
4887
|
export const DeleteScriptSubdomainRequest =
|
|
4888
|
-
/*@__PURE__*/
|
|
4888
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4889
4889
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4890
4890
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4891
4891
|
}).pipe(T.Http({
|
|
@@ -4893,7 +4893,7 @@ export const DeleteScriptSubdomainRequest =
|
|
|
4893
4893
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}/subdomain",
|
|
4894
4894
|
})));
|
|
4895
4895
|
export const DeleteScriptSubdomainResponse =
|
|
4896
|
-
/*@__PURE__*/
|
|
4896
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4897
4897
|
enabled: Schema.Boolean,
|
|
4898
4898
|
previewsEnabled: Schema.Boolean,
|
|
4899
4899
|
})
|
|
@@ -4902,32 +4902,32 @@ export const DeleteScriptSubdomainResponse =
|
|
|
4902
4902
|
previewsEnabled: "previews_enabled",
|
|
4903
4903
|
}))
|
|
4904
4904
|
.pipe(T.ResponsePath("result")));
|
|
4905
|
-
export const deleteScriptSubdomain = /*@__PURE__*/
|
|
4905
|
+
export const deleteScriptSubdomain = /*@__PURE__*/ API.make(() => ({
|
|
4906
4906
|
input: DeleteScriptSubdomainRequest,
|
|
4907
4907
|
output: DeleteScriptSubdomainResponse,
|
|
4908
4908
|
errors: [WorkerNotFound],
|
|
4909
4909
|
}));
|
|
4910
|
-
export const GetScriptTailRequest = /*@__PURE__*/
|
|
4910
|
+
export const GetScriptTailRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4911
4911
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4912
4912
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4913
4913
|
}).pipe(T.Http({
|
|
4914
4914
|
method: "GET",
|
|
4915
4915
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}/tails",
|
|
4916
4916
|
})));
|
|
4917
|
-
export const GetScriptTailResponse = /*@__PURE__*/
|
|
4917
|
+
export const GetScriptTailResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4918
4918
|
id: Schema.String,
|
|
4919
4919
|
expiresAt: Schema.String,
|
|
4920
4920
|
url: Schema.String,
|
|
4921
4921
|
})
|
|
4922
4922
|
.pipe(Schema.encodeKeys({ id: "id", expiresAt: "expires_at", url: "url" }))
|
|
4923
4923
|
.pipe(T.ResponsePath("result")));
|
|
4924
|
-
export const getScriptTail = /*@__PURE__*/
|
|
4924
|
+
export const getScriptTail = /*@__PURE__*/ API.make(() => ({
|
|
4925
4925
|
input: GetScriptTailRequest,
|
|
4926
4926
|
output: GetScriptTailResponse,
|
|
4927
4927
|
errors: [WorkerNotFound],
|
|
4928
4928
|
}));
|
|
4929
4929
|
export const CreateScriptTailRequest =
|
|
4930
|
-
/*@__PURE__*/
|
|
4930
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4931
4931
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4932
4932
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4933
4933
|
body: Schema.Unknown.pipe(T.HttpBody()),
|
|
@@ -4936,20 +4936,20 @@ export const CreateScriptTailRequest =
|
|
|
4936
4936
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}/tails",
|
|
4937
4937
|
})));
|
|
4938
4938
|
export const CreateScriptTailResponse =
|
|
4939
|
-
/*@__PURE__*/
|
|
4939
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4940
4940
|
id: Schema.String,
|
|
4941
4941
|
expiresAt: Schema.String,
|
|
4942
4942
|
url: Schema.String,
|
|
4943
4943
|
})
|
|
4944
4944
|
.pipe(Schema.encodeKeys({ id: "id", expiresAt: "expires_at", url: "url" }))
|
|
4945
4945
|
.pipe(T.ResponsePath("result")));
|
|
4946
|
-
export const createScriptTail = /*@__PURE__*/
|
|
4946
|
+
export const createScriptTail = /*@__PURE__*/ API.make(() => ({
|
|
4947
4947
|
input: CreateScriptTailRequest,
|
|
4948
4948
|
output: CreateScriptTailResponse,
|
|
4949
4949
|
errors: [WorkerNotFound],
|
|
4950
4950
|
}));
|
|
4951
4951
|
export const DeleteScriptTailRequest =
|
|
4952
|
-
/*@__PURE__*/
|
|
4952
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4953
4953
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4954
4954
|
id: Schema.String.pipe(T.HttpPath("id")),
|
|
4955
4955
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -4958,18 +4958,18 @@ export const DeleteScriptTailRequest =
|
|
|
4958
4958
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}/tails/{id}",
|
|
4959
4959
|
})));
|
|
4960
4960
|
export const DeleteScriptTailResponse =
|
|
4961
|
-
/*@__PURE__*/
|
|
4961
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4962
4962
|
errors: Schema.Array(Error2),
|
|
4963
4963
|
messages: Schema.Array(Error2),
|
|
4964
4964
|
success: Schema.Literal(true),
|
|
4965
4965
|
}));
|
|
4966
|
-
export const deleteScriptTail = /*@__PURE__*/
|
|
4966
|
+
export const deleteScriptTail = /*@__PURE__*/ API.make(() => ({
|
|
4967
4967
|
input: DeleteScriptTailRequest,
|
|
4968
4968
|
output: DeleteScriptTailResponse,
|
|
4969
4969
|
errors: [WorkerNotFound],
|
|
4970
4970
|
}));
|
|
4971
4971
|
export const GetScriptVersionRequest =
|
|
4972
|
-
/*@__PURE__*/
|
|
4972
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4973
4973
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4974
4974
|
versionId: Schema.String.pipe(T.HttpPath("versionId")),
|
|
4975
4975
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -4978,19 +4978,19 @@ export const GetScriptVersionRequest =
|
|
|
4978
4978
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}/versions/{versionId}",
|
|
4979
4979
|
})));
|
|
4980
4980
|
export const GetScriptVersionResponse =
|
|
4981
|
-
/*@__PURE__*/
|
|
4981
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4982
4982
|
resources: Resources,
|
|
4983
4983
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4984
4984
|
metadata: Schema.optional(Schema.Union([Metadata4, Schema.Null])),
|
|
4985
4985
|
number: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4986
4986
|
}).pipe(T.ResponsePath("result")));
|
|
4987
|
-
export const getScriptVersion = /*@__PURE__*/
|
|
4987
|
+
export const getScriptVersion = /*@__PURE__*/ API.make(() => ({
|
|
4988
4988
|
input: GetScriptVersionRequest,
|
|
4989
4989
|
output: GetScriptVersionResponse,
|
|
4990
4990
|
errors: [WorkerNotFound, VersionNotFound],
|
|
4991
4991
|
}));
|
|
4992
4992
|
export const ListScriptVersionsRequest =
|
|
4993
|
-
/*@__PURE__*/
|
|
4993
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
4994
4994
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
4995
4995
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4996
4996
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
@@ -5001,11 +5001,11 @@ export const ListScriptVersionsRequest =
|
|
|
5001
5001
|
path: "/accounts/{account_id}/workers/scripts/{scriptName}/versions",
|
|
5002
5002
|
})));
|
|
5003
5003
|
export const ListScriptVersionsResponse =
|
|
5004
|
-
/*@__PURE__*/
|
|
5004
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
5005
5005
|
result: ListScriptVersionsResponseResult,
|
|
5006
5006
|
resultInfo: Schema.optional(Schema.Union([ListBetaWorkersResponseResultInfo, Schema.Null])),
|
|
5007
5007
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
5008
|
-
export const listScriptVersions = /*@__PURE__*/
|
|
5008
|
+
export const listScriptVersions = /*@__PURE__*/ API.makePaginated(() => ({
|
|
5009
5009
|
input: ListScriptVersionsRequest,
|
|
5010
5010
|
output: ListScriptVersionsResponse,
|
|
5011
5011
|
errors: [WorkerNotFound],
|
|
@@ -5018,7 +5018,7 @@ export const listScriptVersions = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(
|
|
|
5018
5018
|
},
|
|
5019
5019
|
}));
|
|
5020
5020
|
export const CreateScriptVersionRequest =
|
|
5021
|
-
/*@__PURE__*/
|
|
5021
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
5022
5022
|
scriptName: Schema.String.pipe(T.HttpPath("scriptName")),
|
|
5023
5023
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
5024
5024
|
bindingsInherit: Schema.optional(Schema.Literal("strict")).pipe(T.HttpQuery("bindings_inherit")),
|
|
@@ -5030,7 +5030,7 @@ export const CreateScriptVersionRequest =
|
|
|
5030
5030
|
contentType: "multipart",
|
|
5031
5031
|
})));
|
|
5032
5032
|
export const CreateScriptVersionResponse =
|
|
5033
|
-
/*@__PURE__*/
|
|
5033
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
5034
5034
|
resources: Resources,
|
|
5035
5035
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5036
5036
|
metadata: Schema.optional(Schema.Union([Metadata4, Schema.Null])),
|
|
@@ -5045,13 +5045,13 @@ export const CreateScriptVersionResponse =
|
|
|
5045
5045
|
startupTimeMs: "startup_time_ms",
|
|
5046
5046
|
}))
|
|
5047
5047
|
.pipe(T.ResponsePath("result")));
|
|
5048
|
-
export const createScriptVersion = /*@__PURE__*/
|
|
5048
|
+
export const createScriptVersion = /*@__PURE__*/ API.make(() => ({
|
|
5049
5049
|
input: CreateScriptVersionRequest,
|
|
5050
5050
|
output: CreateScriptVersionResponse,
|
|
5051
5051
|
errors: [WorkerNotFound],
|
|
5052
5052
|
}));
|
|
5053
5053
|
export const CreateServiceEdgePreviewRequest =
|
|
5054
|
-
/*@__PURE__*/
|
|
5054
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
5055
5055
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
5056
5056
|
serviceName: Schema.String.pipe(T.HttpPath("service_name")),
|
|
5057
5057
|
environmentName: Schema.String.pipe(T.HttpPath("environment_name")),
|
|
@@ -5072,7 +5072,7 @@ export const CreateServiceEdgePreviewRequest =
|
|
|
5072
5072
|
contentType: "multipart",
|
|
5073
5073
|
})));
|
|
5074
5074
|
export const CreateServiceEdgePreviewResponse =
|
|
5075
|
-
/*@__PURE__*/
|
|
5075
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
5076
5076
|
previewToken: Schema.String,
|
|
5077
5077
|
tailUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5078
5078
|
})
|
|
@@ -5081,75 +5081,75 @@ export const CreateServiceEdgePreviewResponse =
|
|
|
5081
5081
|
tailUrl: "tail_url",
|
|
5082
5082
|
}))
|
|
5083
5083
|
.pipe(T.ResponsePath("result")));
|
|
5084
|
-
export const createServiceEdgePreview = /*@__PURE__*/
|
|
5084
|
+
export const createServiceEdgePreview = /*@__PURE__*/ API.make(() => ({
|
|
5085
5085
|
input: CreateServiceEdgePreviewRequest,
|
|
5086
5086
|
output: CreateServiceEdgePreviewResponse,
|
|
5087
5087
|
errors: [InvalidRoute],
|
|
5088
5088
|
}));
|
|
5089
|
-
export const GetSubdomainRequest = /*@__PURE__*/
|
|
5089
|
+
export const GetSubdomainRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
5090
5090
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
5091
5091
|
}).pipe(T.Http({
|
|
5092
5092
|
method: "GET",
|
|
5093
5093
|
path: "/accounts/{account_id}/workers/subdomain",
|
|
5094
5094
|
})));
|
|
5095
|
-
export const GetSubdomainResponse = /*@__PURE__*/
|
|
5095
|
+
export const GetSubdomainResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
5096
5096
|
subdomain: Schema.String,
|
|
5097
5097
|
}).pipe(T.ResponsePath("result")));
|
|
5098
|
-
export const getSubdomain = /*@__PURE__*/
|
|
5098
|
+
export const getSubdomain = /*@__PURE__*/ API.make(() => ({
|
|
5099
5099
|
input: GetSubdomainRequest,
|
|
5100
5100
|
output: GetSubdomainResponse,
|
|
5101
5101
|
errors: [InvalidRoute, SubdomainNotFound, Forbidden],
|
|
5102
5102
|
}));
|
|
5103
|
-
export const PutSubdomainRequest = /*@__PURE__*/
|
|
5103
|
+
export const PutSubdomainRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
5104
5104
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
5105
5105
|
subdomain: Schema.String,
|
|
5106
5106
|
}).pipe(T.Http({
|
|
5107
5107
|
method: "PUT",
|
|
5108
5108
|
path: "/accounts/{account_id}/workers/subdomain",
|
|
5109
5109
|
})));
|
|
5110
|
-
export const PutSubdomainResponse = /*@__PURE__*/
|
|
5110
|
+
export const PutSubdomainResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
5111
5111
|
subdomain: Schema.String,
|
|
5112
5112
|
}).pipe(T.ResponsePath("result")));
|
|
5113
|
-
export const putSubdomain = /*@__PURE__*/
|
|
5113
|
+
export const putSubdomain = /*@__PURE__*/ API.make(() => ({
|
|
5114
5114
|
input: PutSubdomainRequest,
|
|
5115
5115
|
output: PutSubdomainResponse,
|
|
5116
5116
|
errors: [SubdomainAlreadyExists, InvalidRoute, Forbidden],
|
|
5117
5117
|
}));
|
|
5118
5118
|
export const DeleteSubdomainRequest =
|
|
5119
|
-
/*@__PURE__*/
|
|
5119
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
5120
5120
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
5121
5121
|
}).pipe(T.Http({
|
|
5122
5122
|
method: "DELETE",
|
|
5123
5123
|
path: "/accounts/{account_id}/workers/subdomain",
|
|
5124
5124
|
})));
|
|
5125
5125
|
export const DeleteSubdomainResponse =
|
|
5126
|
-
/*@__PURE__*/
|
|
5127
|
-
export const deleteSubdomain = /*@__PURE__*/
|
|
5126
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown);
|
|
5127
|
+
export const deleteSubdomain = /*@__PURE__*/ API.make(() => ({
|
|
5128
5128
|
input: DeleteSubdomainRequest,
|
|
5129
5129
|
output: DeleteSubdomainResponse,
|
|
5130
5130
|
errors: [InvalidRoute, SubdomainNotFound, Forbidden],
|
|
5131
5131
|
}));
|
|
5132
5132
|
export const CreateSubdomainEdgePreviewSessionRequest =
|
|
5133
|
-
/*@__PURE__*/
|
|
5133
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
5134
5134
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
5135
5135
|
}).pipe(T.Http({
|
|
5136
5136
|
method: "GET",
|
|
5137
5137
|
path: "/accounts/{account_id}/workers/subdomain/edge-preview",
|
|
5138
5138
|
})));
|
|
5139
5139
|
export const CreateSubdomainEdgePreviewSessionResponse =
|
|
5140
|
-
/*@__PURE__*/
|
|
5140
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
5141
5141
|
token: Schema.String,
|
|
5142
5142
|
exchangeUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5143
5143
|
})
|
|
5144
5144
|
.pipe(Schema.encodeKeys({ token: "token", exchangeUrl: "exchange_url" }))
|
|
5145
5145
|
.pipe(T.ResponsePath("result")));
|
|
5146
|
-
export const createSubdomainEdgePreviewSession = /*@__PURE__*/
|
|
5146
|
+
export const createSubdomainEdgePreviewSession = /*@__PURE__*/ API.make(() => ({
|
|
5147
5147
|
input: CreateSubdomainEdgePreviewSessionRequest,
|
|
5148
5148
|
output: CreateSubdomainEdgePreviewSessionResponse,
|
|
5149
5149
|
errors: [InvalidRoute],
|
|
5150
5150
|
}));
|
|
5151
5151
|
export const LiveTailHeartbeatObservabilityTelemetryRequest =
|
|
5152
|
-
/*@__PURE__*/
|
|
5152
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
5153
5153
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
5154
5154
|
scriptId: Schema.optional(Schema.String),
|
|
5155
5155
|
}).pipe(T.Http({
|
|
@@ -5157,14 +5157,14 @@ export const LiveTailHeartbeatObservabilityTelemetryRequest =
|
|
|
5157
5157
|
path: "/accounts/{account_id}/workers/observability/telemetry/live-tail/heartbeat",
|
|
5158
5158
|
})));
|
|
5159
5159
|
export const LiveTailHeartbeatObservabilityTelemetryResponse =
|
|
5160
|
-
/*@__PURE__*/
|
|
5161
|
-
export const liveTailHeartbeatObservabilityTelemetry = /*@__PURE__*/
|
|
5160
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
5161
|
+
export const liveTailHeartbeatObservabilityTelemetry = /*@__PURE__*/ API.make(() => ({
|
|
5162
5162
|
input: LiveTailHeartbeatObservabilityTelemetryRequest,
|
|
5163
5163
|
output: LiveTailHeartbeatObservabilityTelemetryResponse,
|
|
5164
5164
|
errors: [],
|
|
5165
5165
|
}));
|
|
5166
5166
|
export const LiveTailObservabilityTelemetryRequest =
|
|
5167
|
-
/*@__PURE__*/
|
|
5167
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
5168
5168
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
5169
5169
|
filterCombination: Schema.optional(Schema.Union([
|
|
5170
5170
|
Schema.Literals(["and", "or", "AND", "OR"]),
|
|
@@ -5180,26 +5180,26 @@ export const LiveTailObservabilityTelemetryRequest =
|
|
|
5180
5180
|
path: "/accounts/{account_id}/workers/observability/telemetry/live-tail",
|
|
5181
5181
|
})));
|
|
5182
5182
|
export const LiveTailObservabilityTelemetryResponse =
|
|
5183
|
-
/*@__PURE__*/
|
|
5183
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
5184
5184
|
wsUrl: Schema.String,
|
|
5185
5185
|
}).pipe(T.ResponsePath("result")));
|
|
5186
|
-
export const liveTailObservabilityTelemetry = /*@__PURE__*/
|
|
5186
|
+
export const liveTailObservabilityTelemetry = /*@__PURE__*/ API.make(() => ({
|
|
5187
5187
|
input: LiveTailObservabilityTelemetryRequest,
|
|
5188
5188
|
output: LiveTailObservabilityTelemetryResponse,
|
|
5189
5189
|
errors: [],
|
|
5190
5190
|
}));
|
|
5191
5191
|
export const CreateZoneEdgePreviewSessionRequest =
|
|
5192
|
-
/*@__PURE__*/
|
|
5192
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
5193
5193
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
5194
5194
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/workers/edge-preview" })));
|
|
5195
5195
|
export const CreateZoneEdgePreviewSessionResponse =
|
|
5196
|
-
/*@__PURE__*/
|
|
5196
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
5197
5197
|
token: Schema.String,
|
|
5198
5198
|
exchangeUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5199
5199
|
})
|
|
5200
5200
|
.pipe(Schema.encodeKeys({ token: "token", exchangeUrl: "exchange_url" }))
|
|
5201
5201
|
.pipe(T.ResponsePath("result")));
|
|
5202
|
-
export const createZoneEdgePreviewSession = /*@__PURE__*/
|
|
5202
|
+
export const createZoneEdgePreviewSession = /*@__PURE__*/ API.make(() => ({
|
|
5203
5203
|
input: CreateZoneEdgePreviewSessionRequest,
|
|
5204
5204
|
output: CreateZoneEdgePreviewSessionResponse,
|
|
5205
5205
|
errors: [InvalidRoute],
|