@distilled.cloud/cloudflare 0.2.6 → 0.4.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/README.md +12 -2
- package/lib/auth.d.ts +3 -2
- package/lib/auth.d.ts.map +1 -1
- package/lib/auth.js +4 -3
- package/lib/auth.js.map +1 -1
- package/lib/client/api.d.ts +7 -9
- package/lib/client/api.d.ts.map +1 -1
- package/lib/client/api.js +60 -13
- package/lib/client/api.js.map +1 -1
- package/lib/credentials.d.ts +58 -4
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +126 -7
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +12 -1
- package/lib/errors.d.ts.map +1 -1
- package/lib/sensitive.d.ts +5 -0
- package/lib/sensitive.d.ts.map +1 -0
- package/lib/sensitive.js +5 -0
- package/lib/sensitive.js.map +1 -0
- package/lib/services/abuse-reports.d.ts +116 -44
- package/lib/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +171 -110
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts +146 -62
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +208 -153
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/acm.d.ts.map +1 -1
- package/lib/services/acm.js +8 -4
- package/lib/services/acm.js.map +1 -1
- package/lib/services/addressing.d.ts +200 -87
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +288 -201
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts +302 -121
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +407 -283
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai.d.ts +83 -29
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +95 -42
- package/lib/services/ai.js.map +1 -1
- package/lib/services/aisearch.d.ts +266 -112
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +510 -393
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.d.ts +249 -112
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +382 -325
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts +458 -200
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +725 -618
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/argo.d.ts.map +1 -1
- package/lib/services/argo.js +16 -8
- package/lib/services/argo.js.map +1 -1
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +4 -2
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +2 -2
- 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 +10 -6
- package/lib/services/botnet-feed.js.map +1 -1
- package/lib/services/brand-protection.d.ts +8 -2
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +9 -2
- 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 +15 -14
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +49 -25
- package/lib/services/cache.js.map +1 -1
- package/lib/services/calls.d.ts +35 -14
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +35 -22
- package/lib/services/calls.js.map +1 -1
- package/lib/services/certificate-authorities.d.ts.map +1 -1
- package/lib/services/certificate-authorities.js +2 -2
- package/lib/services/certificate-authorities.js.map +1 -1
- package/lib/services/client-certificates.d.ts +57 -23
- package/lib/services/client-certificates.d.ts.map +1 -1
- package/lib/services/client-certificates.js +91 -62
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/cloud-connector.d.ts +51 -22
- package/lib/services/cloud-connector.d.ts.map +1 -1
- package/lib/services/cloud-connector.js +57 -44
- package/lib/services/cloud-connector.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts +119 -50
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +181 -124
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/connectivity.d.ts +74 -31
- package/lib/services/connectivity.d.ts.map +1 -1
- package/lib/services/connectivity.js +84 -57
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/content-scanning.d.ts +40 -15
- package/lib/services/content-scanning.d.ts.map +1 -1
- package/lib/services/content-scanning.js +40 -21
- package/lib/services/content-scanning.js.map +1 -1
- package/lib/services/custom-certificates.d.ts +48 -19
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +80 -53
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts +116 -51
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +210 -170
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/custom-nameservers.d.ts +32 -12
- package/lib/services/custom-nameservers.d.ts.map +1 -1
- package/lib/services/custom-nameservers.js +36 -21
- package/lib/services/custom-nameservers.js.map +1 -1
- package/lib/services/custom-pages.d.ts +26 -11
- package/lib/services/custom-pages.d.ts.map +1 -1
- package/lib/services/custom-pages.js +39 -24
- package/lib/services/custom-pages.js.map +1 -1
- package/lib/services/d1.d.ts +114 -48
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +150 -111
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dcv-delegation.d.ts.map +1 -1
- package/lib/services/dcv-delegation.js +1 -1
- package/lib/services/dcv-delegation.js.map +1 -1
- package/lib/services/diagnostics.d.ts +59 -26
- package/lib/services/diagnostics.d.ts.map +1 -1
- package/lib/services/diagnostics.js +97 -82
- package/lib/services/diagnostics.js.map +1 -1
- package/lib/services/dns-firewall.d.ts +48 -19
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +75 -48
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts +206 -87
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +335 -219
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts +44 -13
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +56 -19
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-routing.d.ts +90 -34
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +133 -80
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts +439 -181
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +753 -557
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/filters.d.ts +64 -24
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +61 -28
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts +455 -183
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +777 -574
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/healthchecks.d.ts +76 -33
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +129 -100
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts +20 -8
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +32 -21
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +10 -9
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts +162 -59
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +219 -119
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts +36 -12
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +59 -32
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts +159 -62
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +238 -151
- package/lib/services/intel.js.map +1 -1
- package/lib/services/ips.d.ts.map +1 -1
- package/lib/services/ips.js +1 -1
- package/lib/services/ips.js.map +1 -1
- package/lib/services/keyless-certificates.d.ts +36 -16
- package/lib/services/keyless-certificates.d.ts.map +1 -1
- package/lib/services/keyless-certificates.js +50 -37
- package/lib/services/keyless-certificates.js.map +1 -1
- package/lib/services/kv.d.ts +42 -12
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +87 -36
- package/lib/services/kv.js.map +1 -1
- package/lib/services/leaked-credential-checks.d.ts +16 -6
- package/lib/services/leaked-credential-checks.d.ts.map +1 -1
- package/lib/services/leaked-credential-checks.js +20 -12
- package/lib/services/leaked-credential-checks.js.map +1 -1
- package/lib/services/load-balancers.d.ts +373 -167
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +603 -490
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +23 -15
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +11 -7
- package/lib/services/logs.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts +542 -249
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +890 -804
- 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 +44 -22
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts +432 -196
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +730 -566
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/managed-transforms.d.ts.map +1 -1
- package/lib/services/managed-transforms.js +8 -4
- package/lib/services/managed-transforms.js.map +1 -1
- package/lib/services/memberships.d.ts +54 -22
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +79 -53
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/mtls-certificates.d.ts +41 -17
- package/lib/services/mtls-certificates.d.ts.map +1 -1
- package/lib/services/mtls-certificates.js +52 -33
- package/lib/services/mtls-certificates.js.map +1 -1
- package/lib/services/organizations.d.ts +56 -25
- package/lib/services/organizations.d.ts.map +1 -1
- package/lib/services/organizations.js +74 -59
- package/lib/services/organizations.js.map +1 -1
- package/lib/services/origin-ca-certificates.d.ts +30 -10
- package/lib/services/origin-ca-certificates.d.ts.map +1 -1
- package/lib/services/origin-ca-certificates.js +62 -35
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/origin-post-quantum-encryption.d.ts.map +1 -1
- package/lib/services/origin-post-quantum-encryption.js +8 -4
- package/lib/services/origin-post-quantum-encryption.js.map +1 -1
- package/lib/services/origin-tls-client-auth.d.ts +60 -25
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
- package/lib/services/origin-tls-client-auth.js +94 -60
- package/lib/services/origin-tls-client-auth.js.map +1 -1
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +18 -10
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/page-shield.d.ts +145 -66
- package/lib/services/page-shield.d.ts.map +1 -1
- package/lib/services/page-shield.js +166 -130
- package/lib/services/page-shield.js.map +1 -1
- package/lib/services/pages.d.ts +520 -225
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +643 -567
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts +461 -206
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +859 -780
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts +177 -80
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +233 -177
- 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 +30 -16
- package/lib/services/r2-data-catalog.js.map +1 -1
- package/lib/services/r2.d.ts +85 -39
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +146 -126
- package/lib/services/r2.js.map +1 -1
- package/lib/services/radar.d.ts +152 -63
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +421 -360
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts +76 -31
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +106 -82
- 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 +34 -33
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/registrar.d.ts +75 -35
- package/lib/services/registrar.d.ts.map +1 -1
- package/lib/services/registrar.js +116 -103
- package/lib/services/registrar.js.map +1 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +5 -2
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/resource-sharing.d.ts +132 -50
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +232 -149
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/rules.d.ts +86 -37
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +122 -87
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +75 -30
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +274 -222
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts +40 -15
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +78 -45
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts +47 -14
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +102 -43
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts +116 -44
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +145 -78
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/security-center.d.ts +56 -22
- package/lib/services/security-center.d.ts.map +1 -1
- package/lib/services/security-center.js +90 -64
- 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 +1 -1
- package/lib/services/security-txt.js.map +1 -1
- package/lib/services/snippets.d.ts +85 -33
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +106 -63
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts +58 -24
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +90 -65
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts +47 -17
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +51 -24
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts +77 -35
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +146 -123
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts +173 -77
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +167 -131
- package/lib/services/stream.js.map +1 -1
- package/lib/services/token-validation.d.ts +203 -88
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +238 -172
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts +38 -14
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +72 -41
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/url-normalization.d.ts.map +1 -1
- package/lib/services/url-normalization.js +2 -2
- package/lib/services/url-normalization.js.map +1 -1
- package/lib/services/user.d.ts +106 -40
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +156 -89
- package/lib/services/user.js.map +1 -1
- package/lib/services/vectorize.d.ts +26 -11
- package/lib/services/vectorize.d.ts.map +1 -1
- package/lib/services/vectorize.js +46 -35
- package/lib/services/vectorize.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts +244 -104
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +398 -296
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/web3.d.ts +26 -11
- package/lib/services/web3.d.ts.map +1 -1
- package/lib/services/web3.js +62 -43
- package/lib/services/web3.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts +323 -153
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +331 -288
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts +601 -272
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +771 -633
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts +130 -47
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +190 -107
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zaraz.d.ts +20 -8
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +20 -13
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts +5436 -2650
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +9008 -7934
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts +188 -84
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +257 -196
- package/lib/services/zones.js.map +1 -1
- package/package.json +3 -2
- package/src/auth.ts +4 -3
- package/src/client/api.ts +105 -13
- package/src/credentials.ts +253 -12
- package/src/errors.ts +17 -1
- package/src/sensitive.ts +4 -0
- package/src/services/abuse-reports.ts +416 -208
- package/src/services/accounts.ts +511 -306
- package/src/services/acm.ts +22 -14
- package/src/services/addressing.ts +865 -550
- package/src/services/ai-gateway.ts +1148 -710
- package/src/services/ai.ts +265 -91
- package/src/services/aisearch.ts +1460 -995
- package/src/services/alerting.ts +1027 -671
- package/src/services/api-gateway.ts +1628 -1129
- package/src/services/argo.ts +48 -32
- package/src/services/billing.ts +47 -43
- package/src/services/bot-management.ts +6 -2
- package/src/services/botnet-feed.ts +28 -16
- package/src/services/brand-protection.ts +28 -6
- package/src/services/browser-rendering.ts +23 -10
- package/src/services/cache.ts +147 -97
- package/src/services/calls.ts +107 -42
- package/src/services/certificate-authorities.ts +6 -2
- package/src/services/client-certificates.ts +270 -173
- package/src/services/cloud-connector.ts +149 -82
- package/src/services/cloudforce-one.ts +515 -287
- package/src/services/connectivity.ts +184 -107
- package/src/services/content-scanning.ts +115 -42
- package/src/services/custom-certificates.ts +200 -121
- package/src/services/custom-hostnames.ts +583 -395
- package/src/services/custom-nameservers.ts +98 -45
- package/src/services/custom-pages.ts +109 -62
- package/src/services/d1.ts +409 -235
- package/src/services/dcv-delegation.ts +3 -1
- package/src/services/diagnostics.ts +267 -193
- package/src/services/dns-firewall.ts +197 -116
- package/src/services/dns.ts +916 -536
- package/src/services/durable-objects.ts +126 -37
- package/src/services/email-routing.ts +375 -181
- package/src/services/email-security.ts +1881 -1112
- package/src/services/filters.ts +176 -58
- package/src/services/firewall.ts +1843 -1011
- package/src/services/healthchecks.ts +374 -258
- package/src/services/hostnames.ts +83 -47
- package/src/services/hyperdrive.ts +12 -9
- package/src/services/iam.ts +560 -259
- package/src/services/images.ts +148 -54
- package/src/services/intel.ts +677 -373
- package/src/services/ips.ts +1 -1
- package/src/services/keyless-certificates.ts +139 -92
- package/src/services/kv.ts +204 -86
- package/src/services/leaked-credential-checks.ts +58 -19
- package/src/services/load-balancers.ts +1755 -1200
- package/src/services/logpush.ts +100 -72
- package/src/services/logs.ts +29 -15
- package/src/services/magic-cloud-networking.ts +2453 -1726
- package/src/services/magic-network-monitoring.ts +163 -119
- package/src/services/magic-transit.ts +2153 -1530
- package/src/services/managed-transforms.ts +20 -12
- package/src/services/memberships.ts +196 -113
- package/src/services/mtls-certificates.ts +158 -88
- package/src/services/organizations.ts +185 -121
- package/src/services/origin-ca-certificates.ts +130 -64
- package/src/services/origin-post-quantum-encryption.ts +24 -16
- package/src/services/origin-tls-client-auth.ts +282 -158
- package/src/services/page-rules.ts +64 -44
- package/src/services/page-shield.ts +492 -316
- package/src/services/pages.ts +1612 -1154
- package/src/services/pipelines.ts +1735 -1280
- package/src/services/queues.ts +617 -419
- package/src/services/r2-data-catalog.ts +82 -50
- package/src/services/r2.ts +420 -239
- package/src/services/radar.ts +1107 -423
- package/src/services/rate-limits.ts +254 -152
- package/src/services/realtime-kit.ts +34 -33
- package/src/services/registrar.ts +262 -167
- package/src/services/request-tracers.ts +7 -4
- package/src/services/resource-sharing.ts +628 -378
- package/src/services/rules.ts +292 -176
- package/src/services/rulesets.ts +643 -426
- package/src/services/rum.ts +204 -111
- package/src/services/schema-validation.ts +240 -104
- package/src/services/secrets-store.ts +356 -166
- package/src/services/security-center.ts +196 -98
- package/src/services/security-txt.ts +2 -0
- package/src/services/snippets.ts +259 -117
- package/src/services/spectrum.ts +215 -128
- package/src/services/speed.ts +144 -46
- package/src/services/ssl.ts +420 -293
- package/src/services/stream.ts +496 -244
- package/src/services/token-validation.ts +583 -343
- package/src/services/turnstile.ts +206 -124
- package/src/services/url-normalization.ts +6 -2
- package/src/services/user.ts +480 -277
- package/src/services/vectorize.ts +123 -64
- package/src/services/waiting-rooms.ts +1156 -747
- package/src/services/web3.ts +178 -113
- package/src/services/workers-for-platforms.ts +814 -539
- package/src/services/workers.ts +1888 -1227
- package/src/services/workflows.ts +453 -205
- package/src/services/zaraz.ts +61 -25
- package/src/services/zero-trust.ts +17859 -12103
- package/src/services/zones.ts +690 -459
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* Generated from Cloudflare TypeScript SDK.
|
|
5
5
|
* DO NOT EDIT - regenerate with: bun scripts/generate.ts --service workers
|
|
6
6
|
*/
|
|
7
|
+
import * as stream from "effect/Stream";
|
|
7
8
|
import * as Schema from "effect/Schema";
|
|
8
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
9
10
|
import * as API from "../client/api.ts";
|
|
@@ -102,6 +103,8 @@ export interface CreateAssetUploadRequest {
|
|
|
102
103
|
accountId: string;
|
|
103
104
|
/** Query param: Whether the file contents are base64-encoded. Must be `true`. */
|
|
104
105
|
base64: true;
|
|
106
|
+
/** Upload session JWT returned by createScriptAssetUpload. This SDK sends it as an Authorization bearer token for this request. */
|
|
107
|
+
jwtToken?: string;
|
|
105
108
|
/** Body param: */
|
|
106
109
|
body: Record<string, unknown>;
|
|
107
110
|
}
|
|
@@ -133,13 +136,27 @@ export interface ListBetaWorkersRequest {
|
|
|
133
136
|
accountId: string;
|
|
134
137
|
}
|
|
135
138
|
export declare const ListBetaWorkersRequest: Schema.Schema<ListBetaWorkersRequest>;
|
|
136
|
-
export
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
139
|
+
export interface ListBetaWorkersResponse {
|
|
140
|
+
result: {
|
|
141
|
+
id: string;
|
|
142
|
+
name: string;
|
|
143
|
+
}[];
|
|
144
|
+
resultInfo: {
|
|
145
|
+
count?: number | null;
|
|
146
|
+
page?: number | null;
|
|
147
|
+
perPage?: number | null;
|
|
148
|
+
totalCount?: number | null;
|
|
149
|
+
};
|
|
150
|
+
}
|
|
140
151
|
export declare const ListBetaWorkersResponse: Schema.Schema<ListBetaWorkersResponse>;
|
|
141
152
|
export type ListBetaWorkersError = DefaultErrors | InvalidRoute;
|
|
142
|
-
export declare const listBetaWorkers: API.
|
|
153
|
+
export declare const listBetaWorkers: API.PaginatedOperationMethod<ListBetaWorkersRequest, ListBetaWorkersResponse, ListBetaWorkersError, Credentials | HttpClient.HttpClient> & {
|
|
154
|
+
pages: (input: ListBetaWorkersRequest) => stream.Stream<ListBetaWorkersResponse, ListBetaWorkersError, Credentials | HttpClient.HttpClient>;
|
|
155
|
+
items: (input: ListBetaWorkersRequest) => stream.Stream<{
|
|
156
|
+
id: string;
|
|
157
|
+
name: string;
|
|
158
|
+
}, ListBetaWorkersError, Credentials | HttpClient.HttpClient>;
|
|
159
|
+
};
|
|
143
160
|
export interface CreateBetaWorkerRequest {
|
|
144
161
|
/** Path param: Identifier. */
|
|
145
162
|
accountId: string;
|
|
@@ -485,172 +502,345 @@ export interface ListBetaWorkerVersionsRequest {
|
|
|
485
502
|
accountId: string;
|
|
486
503
|
}
|
|
487
504
|
export declare const ListBetaWorkerVersionsRequest: Schema.Schema<ListBetaWorkerVersionsRequest>;
|
|
488
|
-
export
|
|
489
|
-
|
|
490
|
-
createdOn: string;
|
|
491
|
-
number: number;
|
|
492
|
-
annotations?: {
|
|
493
|
-
workersMessage?: string | null;
|
|
494
|
-
workersTag?: string | null;
|
|
495
|
-
workersTriggeredBy?: string | null;
|
|
496
|
-
} | null;
|
|
497
|
-
assets?: {
|
|
498
|
-
config?: {
|
|
499
|
-
htmlHandling?: "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | "none" | null;
|
|
500
|
-
notFoundHandling?: "none" | "404-page" | "single-page-application" | null;
|
|
501
|
-
runWorkerFirst?: string[] | boolean | null;
|
|
502
|
-
} | null;
|
|
503
|
-
jwt?: string | null;
|
|
504
|
-
} | null;
|
|
505
|
-
bindings?: ({
|
|
506
|
-
name: string;
|
|
507
|
-
type: "ai";
|
|
508
|
-
} | {
|
|
509
|
-
dataset: string;
|
|
510
|
-
name: string;
|
|
511
|
-
type: "analytics_engine";
|
|
512
|
-
} | {
|
|
513
|
-
name: string;
|
|
514
|
-
type: "assets";
|
|
515
|
-
} | {
|
|
516
|
-
name: string;
|
|
517
|
-
type: "browser";
|
|
518
|
-
} | {
|
|
505
|
+
export interface ListBetaWorkerVersionsResponse {
|
|
506
|
+
result: {
|
|
519
507
|
id: string;
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
worker?: {
|
|
533
|
-
environment?: string | null;
|
|
534
|
-
service?: string | null;
|
|
508
|
+
createdOn: string;
|
|
509
|
+
number: number;
|
|
510
|
+
annotations?: {
|
|
511
|
+
workersMessage?: string | null;
|
|
512
|
+
workersTag?: string | null;
|
|
513
|
+
workersTriggeredBy?: string | null;
|
|
514
|
+
} | null;
|
|
515
|
+
assets?: {
|
|
516
|
+
config?: {
|
|
517
|
+
htmlHandling?: "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | "none" | null;
|
|
518
|
+
notFoundHandling?: "none" | "404-page" | "single-page-application" | null;
|
|
519
|
+
runWorkerFirst?: string[] | boolean | null;
|
|
535
520
|
} | null;
|
|
521
|
+
jwt?: string | null;
|
|
536
522
|
} | null;
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
523
|
+
bindings?: ({
|
|
524
|
+
name: string;
|
|
525
|
+
type: "ai";
|
|
526
|
+
} | {
|
|
527
|
+
dataset: string;
|
|
528
|
+
name: string;
|
|
529
|
+
type: "analytics_engine";
|
|
530
|
+
} | {
|
|
531
|
+
name: string;
|
|
532
|
+
type: "assets";
|
|
533
|
+
} | {
|
|
534
|
+
name: string;
|
|
535
|
+
type: "browser";
|
|
536
|
+
} | {
|
|
537
|
+
id: string;
|
|
538
|
+
name: string;
|
|
539
|
+
type: "d1";
|
|
540
|
+
} | {
|
|
541
|
+
name: string;
|
|
542
|
+
part: string;
|
|
543
|
+
type: "data_blob";
|
|
544
|
+
} | {
|
|
545
|
+
name: string;
|
|
546
|
+
namespace: string;
|
|
547
|
+
type: "dispatch_namespace";
|
|
548
|
+
outbound?: {
|
|
549
|
+
params?: string[] | null;
|
|
550
|
+
worker?: {
|
|
551
|
+
environment?: string | null;
|
|
552
|
+
service?: string | null;
|
|
553
|
+
} | null;
|
|
554
|
+
} | null;
|
|
555
|
+
} | {
|
|
556
|
+
name: string;
|
|
557
|
+
type: "durable_object_namespace";
|
|
558
|
+
className?: string | null;
|
|
559
|
+
environment?: string | null;
|
|
560
|
+
namespaceId?: string | null;
|
|
561
|
+
scriptName?: string | null;
|
|
562
|
+
} | {
|
|
563
|
+
id: string;
|
|
564
|
+
name: string;
|
|
565
|
+
type: "hyperdrive";
|
|
566
|
+
} | {
|
|
567
|
+
name: string;
|
|
568
|
+
type: "inherit";
|
|
569
|
+
oldName?: string | null;
|
|
570
|
+
versionId?: string | null;
|
|
571
|
+
} | {
|
|
572
|
+
name: string;
|
|
573
|
+
type: "images";
|
|
574
|
+
} | {
|
|
575
|
+
json: string;
|
|
576
|
+
name: string;
|
|
577
|
+
type: "json";
|
|
578
|
+
} | {
|
|
579
|
+
name: string;
|
|
580
|
+
namespaceId: string;
|
|
581
|
+
type: "kv_namespace";
|
|
582
|
+
} | {
|
|
583
|
+
certificateId: string;
|
|
584
|
+
name: string;
|
|
585
|
+
type: "mtls_certificate";
|
|
586
|
+
} | {
|
|
587
|
+
name: string;
|
|
588
|
+
text: string;
|
|
589
|
+
type: "plain_text";
|
|
590
|
+
} | {
|
|
591
|
+
name: string;
|
|
592
|
+
pipeline: string;
|
|
593
|
+
type: "pipelines";
|
|
594
|
+
} | {
|
|
595
|
+
name: string;
|
|
596
|
+
queueName: string;
|
|
597
|
+
type: "queue";
|
|
598
|
+
} | {
|
|
599
|
+
bucketName: string;
|
|
600
|
+
name: string;
|
|
601
|
+
type: "r2_bucket";
|
|
602
|
+
jurisdiction?: "eu" | "fedramp" | null;
|
|
603
|
+
} | {
|
|
604
|
+
name: string;
|
|
605
|
+
type: "secret_text";
|
|
606
|
+
} | {
|
|
607
|
+
name: string;
|
|
608
|
+
type: "send_email";
|
|
609
|
+
allowedDestinationAddresses?: string[] | null;
|
|
610
|
+
allowedSenderAddresses?: string[] | null;
|
|
611
|
+
destinationAddress?: string | null;
|
|
612
|
+
} | {
|
|
613
|
+
name: string;
|
|
614
|
+
service: string;
|
|
615
|
+
type: "service";
|
|
616
|
+
environment?: string | null;
|
|
617
|
+
} | {
|
|
618
|
+
name: string;
|
|
619
|
+
part: string;
|
|
620
|
+
type: "text_blob";
|
|
621
|
+
} | {
|
|
622
|
+
indexName: string;
|
|
623
|
+
name: string;
|
|
624
|
+
type: "vectorize";
|
|
625
|
+
} | {
|
|
626
|
+
name: string;
|
|
627
|
+
type: "version_metadata";
|
|
628
|
+
} | {
|
|
629
|
+
name: string;
|
|
630
|
+
secretName: string;
|
|
631
|
+
storeId: string;
|
|
632
|
+
type: "secrets_store_secret";
|
|
633
|
+
} | {
|
|
634
|
+
algorithm: unknown;
|
|
635
|
+
format: "raw" | "pkcs8" | "spki" | "jwk";
|
|
636
|
+
name: string;
|
|
637
|
+
type: "secret_key";
|
|
638
|
+
usages: ("encrypt" | "decrypt" | "sign" | "verify" | "deriveKey" | "deriveBits" | "wrapKey" | "unwrapKey")[];
|
|
639
|
+
} | {
|
|
640
|
+
name: string;
|
|
641
|
+
type: "workflow";
|
|
642
|
+
workflowName: string;
|
|
643
|
+
className?: string | null;
|
|
644
|
+
scriptName?: string | null;
|
|
645
|
+
} | {
|
|
646
|
+
name: string;
|
|
647
|
+
part: string;
|
|
648
|
+
type: "wasm_module";
|
|
649
|
+
})[] | null;
|
|
650
|
+
compatibilityDate?: string | null;
|
|
651
|
+
compatibilityFlags?: string[] | null;
|
|
652
|
+
limits?: {
|
|
653
|
+
cpuMs: number;
|
|
654
|
+
} | null;
|
|
655
|
+
mainModule?: string | null;
|
|
656
|
+
migrations?: unknown | null;
|
|
657
|
+
modules?: {
|
|
658
|
+
contentBase64: string;
|
|
659
|
+
contentType: string;
|
|
660
|
+
name: string;
|
|
661
|
+
}[] | null;
|
|
662
|
+
placement?: {
|
|
663
|
+
mode?: "smart" | null;
|
|
664
|
+
} | null;
|
|
665
|
+
source?: string | null;
|
|
666
|
+
startupTimeMs?: number | null;
|
|
667
|
+
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
668
|
+
}[];
|
|
669
|
+
resultInfo: {
|
|
670
|
+
count?: number | null;
|
|
671
|
+
page?: number | null;
|
|
672
|
+
perPage?: number | null;
|
|
673
|
+
totalCount?: number | null;
|
|
674
|
+
};
|
|
675
|
+
}
|
|
651
676
|
export declare const ListBetaWorkerVersionsResponse: Schema.Schema<ListBetaWorkerVersionsResponse>;
|
|
652
677
|
export type ListBetaWorkerVersionsError = DefaultErrors | WorkerNotFound;
|
|
653
|
-
export declare const listBetaWorkerVersions: API.
|
|
678
|
+
export declare const listBetaWorkerVersions: API.PaginatedOperationMethod<ListBetaWorkerVersionsRequest, ListBetaWorkerVersionsResponse, ListBetaWorkerVersionsError, Credentials | HttpClient.HttpClient> & {
|
|
679
|
+
pages: (input: ListBetaWorkerVersionsRequest) => stream.Stream<ListBetaWorkerVersionsResponse, ListBetaWorkerVersionsError, Credentials | HttpClient.HttpClient>;
|
|
680
|
+
items: (input: ListBetaWorkerVersionsRequest) => stream.Stream<{
|
|
681
|
+
id: string;
|
|
682
|
+
createdOn: string;
|
|
683
|
+
number: number;
|
|
684
|
+
annotations?: {
|
|
685
|
+
workersMessage?: string | null;
|
|
686
|
+
workersTag?: string | null;
|
|
687
|
+
workersTriggeredBy?: string | null;
|
|
688
|
+
} | null;
|
|
689
|
+
assets?: {
|
|
690
|
+
config?: {
|
|
691
|
+
htmlHandling?: "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | "none" | null;
|
|
692
|
+
notFoundHandling?: "none" | "404-page" | "single-page-application" | null;
|
|
693
|
+
runWorkerFirst?: string[] | boolean | null;
|
|
694
|
+
} | null;
|
|
695
|
+
jwt?: string | null;
|
|
696
|
+
} | null;
|
|
697
|
+
bindings?: ({
|
|
698
|
+
name: string;
|
|
699
|
+
type: "ai";
|
|
700
|
+
} | {
|
|
701
|
+
dataset: string;
|
|
702
|
+
name: string;
|
|
703
|
+
type: "analytics_engine";
|
|
704
|
+
} | {
|
|
705
|
+
name: string;
|
|
706
|
+
type: "assets";
|
|
707
|
+
} | {
|
|
708
|
+
name: string;
|
|
709
|
+
type: "browser";
|
|
710
|
+
} | {
|
|
711
|
+
id: string;
|
|
712
|
+
name: string;
|
|
713
|
+
type: "d1";
|
|
714
|
+
} | {
|
|
715
|
+
name: string;
|
|
716
|
+
part: string;
|
|
717
|
+
type: "data_blob";
|
|
718
|
+
} | {
|
|
719
|
+
name: string;
|
|
720
|
+
namespace: string;
|
|
721
|
+
type: "dispatch_namespace";
|
|
722
|
+
outbound?: {
|
|
723
|
+
params?: string[] | null;
|
|
724
|
+
worker?: {
|
|
725
|
+
environment?: string | null;
|
|
726
|
+
service?: string | null;
|
|
727
|
+
} | null;
|
|
728
|
+
} | null;
|
|
729
|
+
} | {
|
|
730
|
+
name: string;
|
|
731
|
+
type: "durable_object_namespace";
|
|
732
|
+
className?: string | null;
|
|
733
|
+
environment?: string | null;
|
|
734
|
+
namespaceId?: string | null;
|
|
735
|
+
scriptName?: string | null;
|
|
736
|
+
} | {
|
|
737
|
+
id: string;
|
|
738
|
+
name: string;
|
|
739
|
+
type: "hyperdrive";
|
|
740
|
+
} | {
|
|
741
|
+
name: string;
|
|
742
|
+
type: "inherit";
|
|
743
|
+
oldName?: string | null;
|
|
744
|
+
versionId?: string | null;
|
|
745
|
+
} | {
|
|
746
|
+
name: string;
|
|
747
|
+
type: "images";
|
|
748
|
+
} | {
|
|
749
|
+
json: string;
|
|
750
|
+
name: string;
|
|
751
|
+
type: "json";
|
|
752
|
+
} | {
|
|
753
|
+
name: string;
|
|
754
|
+
namespaceId: string;
|
|
755
|
+
type: "kv_namespace";
|
|
756
|
+
} | {
|
|
757
|
+
certificateId: string;
|
|
758
|
+
name: string;
|
|
759
|
+
type: "mtls_certificate";
|
|
760
|
+
} | {
|
|
761
|
+
name: string;
|
|
762
|
+
text: string;
|
|
763
|
+
type: "plain_text";
|
|
764
|
+
} | {
|
|
765
|
+
name: string;
|
|
766
|
+
pipeline: string;
|
|
767
|
+
type: "pipelines";
|
|
768
|
+
} | {
|
|
769
|
+
name: string;
|
|
770
|
+
queueName: string;
|
|
771
|
+
type: "queue";
|
|
772
|
+
} | {
|
|
773
|
+
bucketName: string;
|
|
774
|
+
name: string;
|
|
775
|
+
type: "r2_bucket";
|
|
776
|
+
jurisdiction?: "eu" | "fedramp" | null;
|
|
777
|
+
} | {
|
|
778
|
+
name: string;
|
|
779
|
+
type: "secret_text";
|
|
780
|
+
} | {
|
|
781
|
+
name: string;
|
|
782
|
+
type: "send_email";
|
|
783
|
+
allowedDestinationAddresses?: string[] | null;
|
|
784
|
+
allowedSenderAddresses?: string[] | null;
|
|
785
|
+
destinationAddress?: string | null;
|
|
786
|
+
} | {
|
|
787
|
+
name: string;
|
|
788
|
+
service: string;
|
|
789
|
+
type: "service";
|
|
790
|
+
environment?: string | null;
|
|
791
|
+
} | {
|
|
792
|
+
name: string;
|
|
793
|
+
part: string;
|
|
794
|
+
type: "text_blob";
|
|
795
|
+
} | {
|
|
796
|
+
indexName: string;
|
|
797
|
+
name: string;
|
|
798
|
+
type: "vectorize";
|
|
799
|
+
} | {
|
|
800
|
+
name: string;
|
|
801
|
+
type: "version_metadata";
|
|
802
|
+
} | {
|
|
803
|
+
name: string;
|
|
804
|
+
secretName: string;
|
|
805
|
+
storeId: string;
|
|
806
|
+
type: "secrets_store_secret";
|
|
807
|
+
} | {
|
|
808
|
+
algorithm: unknown;
|
|
809
|
+
format: "raw" | "pkcs8" | "spki" | "jwk";
|
|
810
|
+
name: string;
|
|
811
|
+
type: "secret_key";
|
|
812
|
+
usages: ("encrypt" | "decrypt" | "sign" | "verify" | "deriveKey" | "deriveBits" | "wrapKey" | "unwrapKey")[];
|
|
813
|
+
} | {
|
|
814
|
+
name: string;
|
|
815
|
+
type: "workflow";
|
|
816
|
+
workflowName: string;
|
|
817
|
+
className?: string | null;
|
|
818
|
+
scriptName?: string | null;
|
|
819
|
+
} | {
|
|
820
|
+
name: string;
|
|
821
|
+
part: string;
|
|
822
|
+
type: "wasm_module";
|
|
823
|
+
})[] | null;
|
|
824
|
+
compatibilityDate?: string | null;
|
|
825
|
+
compatibilityFlags?: string[] | null;
|
|
826
|
+
limits?: {
|
|
827
|
+
cpuMs: number;
|
|
828
|
+
} | null;
|
|
829
|
+
mainModule?: string | null;
|
|
830
|
+
migrations?: unknown | null;
|
|
831
|
+
modules?: {
|
|
832
|
+
contentBase64: string;
|
|
833
|
+
contentType: string;
|
|
834
|
+
name: string;
|
|
835
|
+
}[] | null;
|
|
836
|
+
placement?: {
|
|
837
|
+
mode?: "smart" | null;
|
|
838
|
+
} | null;
|
|
839
|
+
source?: string | null;
|
|
840
|
+
startupTimeMs?: number | null;
|
|
841
|
+
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
842
|
+
}, ListBetaWorkerVersionsError, Credentials | HttpClient.HttpClient>;
|
|
843
|
+
};
|
|
654
844
|
export interface CreateBetaWorkerVersionRequest {
|
|
655
845
|
workerId: string;
|
|
656
846
|
/** Path param: Identifier. */
|
|
@@ -1082,17 +1272,29 @@ export interface ListDomainsRequest {
|
|
|
1082
1272
|
zoneName?: string;
|
|
1083
1273
|
}
|
|
1084
1274
|
export declare const ListDomainsRequest: Schema.Schema<ListDomainsRequest>;
|
|
1085
|
-
export
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1275
|
+
export interface ListDomainsResponse {
|
|
1276
|
+
result: {
|
|
1277
|
+
id?: string | null;
|
|
1278
|
+
environment?: string | null;
|
|
1279
|
+
hostname?: string | null;
|
|
1280
|
+
service?: string | null;
|
|
1281
|
+
zoneId?: string | null;
|
|
1282
|
+
zoneName?: string | null;
|
|
1283
|
+
}[];
|
|
1284
|
+
}
|
|
1093
1285
|
export declare const ListDomainsResponse: Schema.Schema<ListDomainsResponse>;
|
|
1094
1286
|
export type ListDomainsError = DefaultErrors | InvalidRoute;
|
|
1095
|
-
export declare const listDomains: API.
|
|
1287
|
+
export declare const listDomains: API.PaginatedOperationMethod<ListDomainsRequest, ListDomainsResponse, ListDomainsError, Credentials | HttpClient.HttpClient> & {
|
|
1288
|
+
pages: (input: ListDomainsRequest) => stream.Stream<ListDomainsResponse, ListDomainsError, Credentials | HttpClient.HttpClient>;
|
|
1289
|
+
items: (input: ListDomainsRequest) => stream.Stream<{
|
|
1290
|
+
id?: string | null;
|
|
1291
|
+
environment?: string | null;
|
|
1292
|
+
hostname?: string | null;
|
|
1293
|
+
service?: string | null;
|
|
1294
|
+
zoneId?: string | null;
|
|
1295
|
+
zoneName?: string | null;
|
|
1296
|
+
}, ListDomainsError, Credentials | HttpClient.HttpClient>;
|
|
1297
|
+
};
|
|
1096
1298
|
export interface PutDomainRequest {
|
|
1097
1299
|
/** Path param: Identifer of the account. */
|
|
1098
1300
|
accountId: string;
|
|
@@ -1165,14 +1367,23 @@ export interface KeysObservabilityTelemetryRequest {
|
|
|
1165
1367
|
to?: number;
|
|
1166
1368
|
}
|
|
1167
1369
|
export declare const KeysObservabilityTelemetryRequest: Schema.Schema<KeysObservabilityTelemetryRequest>;
|
|
1168
|
-
export
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1370
|
+
export interface KeysObservabilityTelemetryResponse {
|
|
1371
|
+
result: {
|
|
1372
|
+
key: string;
|
|
1373
|
+
lastSeenAt: number;
|
|
1374
|
+
type: "string" | "boolean" | "number";
|
|
1375
|
+
}[];
|
|
1376
|
+
}
|
|
1173
1377
|
export declare const KeysObservabilityTelemetryResponse: Schema.Schema<KeysObservabilityTelemetryResponse>;
|
|
1174
1378
|
export type KeysObservabilityTelemetryError = DefaultErrors | InvalidRoute;
|
|
1175
|
-
export declare const keysObservabilityTelemetry: API.
|
|
1379
|
+
export declare const keysObservabilityTelemetry: API.PaginatedOperationMethod<KeysObservabilityTelemetryRequest, KeysObservabilityTelemetryResponse, KeysObservabilityTelemetryError, Credentials | HttpClient.HttpClient> & {
|
|
1380
|
+
pages: (input: KeysObservabilityTelemetryRequest) => stream.Stream<KeysObservabilityTelemetryResponse, KeysObservabilityTelemetryError, Credentials | HttpClient.HttpClient>;
|
|
1381
|
+
items: (input: KeysObservabilityTelemetryRequest) => stream.Stream<{
|
|
1382
|
+
key: string;
|
|
1383
|
+
lastSeenAt: number;
|
|
1384
|
+
type: "string" | "boolean" | "number";
|
|
1385
|
+
}, KeysObservabilityTelemetryError, Credentials | HttpClient.HttpClient>;
|
|
1386
|
+
};
|
|
1176
1387
|
export interface QueryObservabilityTelemetryRequest {
|
|
1177
1388
|
/** Path param: Your Cloudflare account ID. */
|
|
1178
1389
|
accountId: string;
|
|
@@ -1537,15 +1748,25 @@ export interface ValuesObservabilityTelemetryRequest {
|
|
|
1537
1748
|
};
|
|
1538
1749
|
}
|
|
1539
1750
|
export declare const ValuesObservabilityTelemetryRequest: Schema.Schema<ValuesObservabilityTelemetryRequest>;
|
|
1540
|
-
export
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1751
|
+
export interface ValuesObservabilityTelemetryResponse {
|
|
1752
|
+
result: {
|
|
1753
|
+
dataset: string;
|
|
1754
|
+
key: string;
|
|
1755
|
+
type: "string" | "boolean" | "number";
|
|
1756
|
+
value: string | number | boolean;
|
|
1757
|
+
}[];
|
|
1758
|
+
}
|
|
1546
1759
|
export declare const ValuesObservabilityTelemetryResponse: Schema.Schema<ValuesObservabilityTelemetryResponse>;
|
|
1547
1760
|
export type ValuesObservabilityTelemetryError = DefaultErrors | InvalidRoute;
|
|
1548
|
-
export declare const valuesObservabilityTelemetry: API.
|
|
1761
|
+
export declare const valuesObservabilityTelemetry: API.PaginatedOperationMethod<ValuesObservabilityTelemetryRequest, ValuesObservabilityTelemetryResponse, ValuesObservabilityTelemetryError, Credentials | HttpClient.HttpClient> & {
|
|
1762
|
+
pages: (input: ValuesObservabilityTelemetryRequest) => stream.Stream<ValuesObservabilityTelemetryResponse, ValuesObservabilityTelemetryError, Credentials | HttpClient.HttpClient>;
|
|
1763
|
+
items: (input: ValuesObservabilityTelemetryRequest) => stream.Stream<{
|
|
1764
|
+
dataset: string;
|
|
1765
|
+
key: string;
|
|
1766
|
+
type: "string" | "boolean" | "number";
|
|
1767
|
+
value: string | number | boolean;
|
|
1768
|
+
}, ValuesObservabilityTelemetryError, Credentials | HttpClient.HttpClient>;
|
|
1769
|
+
};
|
|
1549
1770
|
export interface GetRouteRequest {
|
|
1550
1771
|
routeId: string;
|
|
1551
1772
|
/** Identifier. */
|
|
@@ -1568,14 +1789,23 @@ export interface ListRoutesRequest {
|
|
|
1568
1789
|
zoneId: string;
|
|
1569
1790
|
}
|
|
1570
1791
|
export declare const ListRoutesRequest: Schema.Schema<ListRoutesRequest>;
|
|
1571
|
-
export
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1792
|
+
export interface ListRoutesResponse {
|
|
1793
|
+
result: {
|
|
1794
|
+
id: string;
|
|
1795
|
+
pattern: string;
|
|
1796
|
+
script?: string | null;
|
|
1797
|
+
}[];
|
|
1798
|
+
}
|
|
1576
1799
|
export declare const ListRoutesResponse: Schema.Schema<ListRoutesResponse>;
|
|
1577
1800
|
export type ListRoutesError = DefaultErrors | InvalidRoute;
|
|
1578
|
-
export declare const listRoutes: API.
|
|
1801
|
+
export declare const listRoutes: API.PaginatedOperationMethod<ListRoutesRequest, ListRoutesResponse, ListRoutesError, Credentials | HttpClient.HttpClient> & {
|
|
1802
|
+
pages: (input: ListRoutesRequest) => stream.Stream<ListRoutesResponse, ListRoutesError, Credentials | HttpClient.HttpClient>;
|
|
1803
|
+
items: (input: ListRoutesRequest) => stream.Stream<{
|
|
1804
|
+
id: string;
|
|
1805
|
+
pattern: string;
|
|
1806
|
+
script?: string | null;
|
|
1807
|
+
}, ListRoutesError, Credentials | HttpClient.HttpClient>;
|
|
1808
|
+
};
|
|
1579
1809
|
export interface CreateRouteRequest {
|
|
1580
1810
|
/** Path param: Identifier. */
|
|
1581
1811
|
zoneId: string;
|
|
@@ -1647,66 +1877,127 @@ export interface ListScriptsRequest {
|
|
|
1647
1877
|
tags?: string;
|
|
1648
1878
|
}
|
|
1649
1879
|
export declare const ListScriptsRequest: Schema.Schema<ListScriptsRequest>;
|
|
1650
|
-
export
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
hasAssets?: boolean | null;
|
|
1658
|
-
hasModules?: boolean | null;
|
|
1659
|
-
lastDeployedFrom?: string | null;
|
|
1660
|
-
logpush?: boolean | null;
|
|
1661
|
-
migrationTag?: string | null;
|
|
1662
|
-
modifiedOn?: string | null;
|
|
1663
|
-
namedHandlers?: {
|
|
1880
|
+
export interface ListScriptsResponse {
|
|
1881
|
+
result: {
|
|
1882
|
+
id?: string | null;
|
|
1883
|
+
compatibilityDate?: string | null;
|
|
1884
|
+
compatibilityFlags?: string[] | null;
|
|
1885
|
+
createdOn?: string | null;
|
|
1886
|
+
etag?: string | null;
|
|
1664
1887
|
handlers?: string[] | null;
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1888
|
+
hasAssets?: boolean | null;
|
|
1889
|
+
hasModules?: boolean | null;
|
|
1890
|
+
lastDeployedFrom?: string | null;
|
|
1891
|
+
logpush?: boolean | null;
|
|
1892
|
+
migrationTag?: string | null;
|
|
1893
|
+
modifiedOn?: string | null;
|
|
1894
|
+
namedHandlers?: {
|
|
1895
|
+
handlers?: string[] | null;
|
|
1896
|
+
name?: string | null;
|
|
1897
|
+
}[] | null;
|
|
1898
|
+
observability?: {
|
|
1671
1899
|
enabled: boolean;
|
|
1672
|
-
invocationLogs: boolean;
|
|
1673
|
-
destinations?: string[] | null;
|
|
1674
1900
|
headSamplingRate?: number | null;
|
|
1675
|
-
|
|
1901
|
+
logs?: {
|
|
1902
|
+
enabled: boolean;
|
|
1903
|
+
invocationLogs: boolean;
|
|
1904
|
+
destinations?: string[] | null;
|
|
1905
|
+
headSamplingRate?: number | null;
|
|
1906
|
+
persist?: boolean | null;
|
|
1907
|
+
} | null;
|
|
1676
1908
|
} | null;
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
}
|
|
1909
|
+
placement?: {
|
|
1910
|
+
mode: "smart";
|
|
1911
|
+
lastAnalyzedAt?: string | null;
|
|
1912
|
+
status?: "SUCCESS" | "UNSUPPORTED_APPLICATION" | "INSUFFICIENT_INVOCATIONS" | null;
|
|
1913
|
+
} | {
|
|
1914
|
+
region: string;
|
|
1915
|
+
lastAnalyzedAt?: string | null;
|
|
1916
|
+
status?: "SUCCESS" | "UNSUPPORTED_APPLICATION" | "INSUFFICIENT_INVOCATIONS" | null;
|
|
1917
|
+
} | {
|
|
1918
|
+
hostname: string;
|
|
1919
|
+
lastAnalyzedAt?: string | null;
|
|
1920
|
+
status?: "SUCCESS" | "UNSUPPORTED_APPLICATION" | "INSUFFICIENT_INVOCATIONS" | null;
|
|
1921
|
+
} | {
|
|
1922
|
+
host: string;
|
|
1923
|
+
lastAnalyzedAt?: string | null;
|
|
1924
|
+
status?: "SUCCESS" | "UNSUPPORTED_APPLICATION" | "INSUFFICIENT_INVOCATIONS" | null;
|
|
1925
|
+
} | null;
|
|
1926
|
+
placementMode?: "smart" | null;
|
|
1927
|
+
placementStatus?: "SUCCESS" | "UNSUPPORTED_APPLICATION" | "INSUFFICIENT_INVOCATIONS" | null;
|
|
1928
|
+
routes?: {
|
|
1929
|
+
id: string;
|
|
1930
|
+
pattern: string;
|
|
1931
|
+
script?: string | null;
|
|
1932
|
+
}[] | null;
|
|
1933
|
+
tag?: string | null;
|
|
1934
|
+
tags?: string[] | null;
|
|
1935
|
+
tailConsumers?: unknown[] | null;
|
|
1936
|
+
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
1937
|
+
}[];
|
|
1938
|
+
}
|
|
1707
1939
|
export declare const ListScriptsResponse: Schema.Schema<ListScriptsResponse>;
|
|
1708
1940
|
export type ListScriptsError = DefaultErrors | InvalidRoute;
|
|
1709
|
-
export declare const listScripts: API.
|
|
1941
|
+
export declare const listScripts: API.PaginatedOperationMethod<ListScriptsRequest, ListScriptsResponse, ListScriptsError, Credentials | HttpClient.HttpClient> & {
|
|
1942
|
+
pages: (input: ListScriptsRequest) => stream.Stream<ListScriptsResponse, ListScriptsError, Credentials | HttpClient.HttpClient>;
|
|
1943
|
+
items: (input: ListScriptsRequest) => stream.Stream<{
|
|
1944
|
+
id?: string | null;
|
|
1945
|
+
compatibilityDate?: string | null;
|
|
1946
|
+
compatibilityFlags?: string[] | null;
|
|
1947
|
+
createdOn?: string | null;
|
|
1948
|
+
etag?: string | null;
|
|
1949
|
+
handlers?: string[] | null;
|
|
1950
|
+
hasAssets?: boolean | null;
|
|
1951
|
+
hasModules?: boolean | null;
|
|
1952
|
+
lastDeployedFrom?: string | null;
|
|
1953
|
+
logpush?: boolean | null;
|
|
1954
|
+
migrationTag?: string | null;
|
|
1955
|
+
modifiedOn?: string | null;
|
|
1956
|
+
namedHandlers?: {
|
|
1957
|
+
handlers?: string[] | null;
|
|
1958
|
+
name?: string | null;
|
|
1959
|
+
}[] | null;
|
|
1960
|
+
observability?: {
|
|
1961
|
+
enabled: boolean;
|
|
1962
|
+
headSamplingRate?: number | null;
|
|
1963
|
+
logs?: {
|
|
1964
|
+
enabled: boolean;
|
|
1965
|
+
invocationLogs: boolean;
|
|
1966
|
+
destinations?: string[] | null;
|
|
1967
|
+
headSamplingRate?: number | null;
|
|
1968
|
+
persist?: boolean | null;
|
|
1969
|
+
} | null;
|
|
1970
|
+
} | null;
|
|
1971
|
+
placement?: {
|
|
1972
|
+
mode: "smart";
|
|
1973
|
+
lastAnalyzedAt?: string | null;
|
|
1974
|
+
status?: "SUCCESS" | "UNSUPPORTED_APPLICATION" | "INSUFFICIENT_INVOCATIONS" | null;
|
|
1975
|
+
} | {
|
|
1976
|
+
region: string;
|
|
1977
|
+
lastAnalyzedAt?: string | null;
|
|
1978
|
+
status?: "SUCCESS" | "UNSUPPORTED_APPLICATION" | "INSUFFICIENT_INVOCATIONS" | null;
|
|
1979
|
+
} | {
|
|
1980
|
+
hostname: string;
|
|
1981
|
+
lastAnalyzedAt?: string | null;
|
|
1982
|
+
status?: "SUCCESS" | "UNSUPPORTED_APPLICATION" | "INSUFFICIENT_INVOCATIONS" | null;
|
|
1983
|
+
} | {
|
|
1984
|
+
host: string;
|
|
1985
|
+
lastAnalyzedAt?: string | null;
|
|
1986
|
+
status?: "SUCCESS" | "UNSUPPORTED_APPLICATION" | "INSUFFICIENT_INVOCATIONS" | null;
|
|
1987
|
+
} | null;
|
|
1988
|
+
placementMode?: "smart" | null;
|
|
1989
|
+
placementStatus?: "SUCCESS" | "UNSUPPORTED_APPLICATION" | "INSUFFICIENT_INVOCATIONS" | null;
|
|
1990
|
+
routes?: {
|
|
1991
|
+
id: string;
|
|
1992
|
+
pattern: string;
|
|
1993
|
+
script?: string | null;
|
|
1994
|
+
}[] | null;
|
|
1995
|
+
tag?: string | null;
|
|
1996
|
+
tags?: string[] | null;
|
|
1997
|
+
tailConsumers?: unknown[] | null;
|
|
1998
|
+
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
1999
|
+
}, ListScriptsError, Credentials | HttpClient.HttpClient>;
|
|
2000
|
+
};
|
|
1710
2001
|
export interface PutScriptRequest {
|
|
1711
2002
|
scriptName: string;
|
|
1712
2003
|
/** Path param: Identifier. */
|
|
@@ -2750,19 +3041,33 @@ export interface ListScriptSecretsRequest {
|
|
|
2750
3041
|
accountId: string;
|
|
2751
3042
|
}
|
|
2752
3043
|
export declare const ListScriptSecretsRequest: Schema.Schema<ListScriptSecretsRequest>;
|
|
2753
|
-
export
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
3044
|
+
export interface ListScriptSecretsResponse {
|
|
3045
|
+
result: ({
|
|
3046
|
+
name: string;
|
|
3047
|
+
type: "secret_text";
|
|
3048
|
+
} | {
|
|
3049
|
+
algorithm: unknown;
|
|
3050
|
+
format: "raw" | "pkcs8" | "spki" | "jwk";
|
|
3051
|
+
name: string;
|
|
3052
|
+
type: "secret_key";
|
|
3053
|
+
usages: ("encrypt" | "decrypt" | "sign" | "verify" | "deriveKey" | "deriveBits" | "wrapKey" | "unwrapKey")[];
|
|
3054
|
+
})[];
|
|
3055
|
+
}
|
|
2763
3056
|
export declare const ListScriptSecretsResponse: Schema.Schema<ListScriptSecretsResponse>;
|
|
2764
3057
|
export type ListScriptSecretsError = DefaultErrors | WorkerNotFound;
|
|
2765
|
-
export declare const listScriptSecrets: API.
|
|
3058
|
+
export declare const listScriptSecrets: API.PaginatedOperationMethod<ListScriptSecretsRequest, ListScriptSecretsResponse, ListScriptSecretsError, Credentials | HttpClient.HttpClient> & {
|
|
3059
|
+
pages: (input: ListScriptSecretsRequest) => stream.Stream<ListScriptSecretsResponse, ListScriptSecretsError, Credentials | HttpClient.HttpClient>;
|
|
3060
|
+
items: (input: ListScriptSecretsRequest) => stream.Stream<{
|
|
3061
|
+
name: string;
|
|
3062
|
+
type: "secret_text";
|
|
3063
|
+
} | {
|
|
3064
|
+
algorithm: unknown;
|
|
3065
|
+
format: "raw" | "pkcs8" | "spki" | "jwk";
|
|
3066
|
+
name: string;
|
|
3067
|
+
type: "secret_key";
|
|
3068
|
+
usages: ("encrypt" | "decrypt" | "sign" | "verify" | "deriveKey" | "deriveBits" | "wrapKey" | "unwrapKey")[];
|
|
3069
|
+
}, ListScriptSecretsError, Credentials | HttpClient.HttpClient>;
|
|
3070
|
+
};
|
|
2766
3071
|
export interface PutScriptSecretRequest {
|
|
2767
3072
|
scriptName: string;
|
|
2768
3073
|
/** Path param: Identifier. */
|
|
@@ -3129,21 +3434,45 @@ export interface ListScriptVersionsRequest {
|
|
|
3129
3434
|
deployable?: boolean;
|
|
3130
3435
|
}
|
|
3131
3436
|
export declare const ListScriptVersionsRequest: Schema.Schema<ListScriptVersionsRequest>;
|
|
3132
|
-
export
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
}
|
|
3437
|
+
export interface ListScriptVersionsResponse {
|
|
3438
|
+
result: {
|
|
3439
|
+
items?: {
|
|
3440
|
+
id?: string | null;
|
|
3441
|
+
metadata?: {
|
|
3442
|
+
authorEmail?: string | null;
|
|
3443
|
+
authorId?: string | null;
|
|
3444
|
+
createdOn?: string | null;
|
|
3445
|
+
hasPreview?: boolean | null;
|
|
3446
|
+
modifiedOn?: string | null;
|
|
3447
|
+
source?: "unknown" | "api" | "wrangler" | "terraform" | "dash" | "dash_template" | "integration" | "quick_editor" | "playground" | "workersci" | null;
|
|
3448
|
+
} | null;
|
|
3449
|
+
number?: number | null;
|
|
3450
|
+
}[] | null;
|
|
3451
|
+
};
|
|
3452
|
+
resultInfo: {
|
|
3453
|
+
count?: number | null;
|
|
3454
|
+
page?: number | null;
|
|
3455
|
+
perPage?: number | null;
|
|
3456
|
+
totalCount?: number | null;
|
|
3457
|
+
};
|
|
3458
|
+
}
|
|
3144
3459
|
export declare const ListScriptVersionsResponse: Schema.Schema<ListScriptVersionsResponse>;
|
|
3145
3460
|
export type ListScriptVersionsError = DefaultErrors | WorkerNotFound;
|
|
3146
|
-
export declare const listScriptVersions: API.
|
|
3461
|
+
export declare const listScriptVersions: API.PaginatedOperationMethod<ListScriptVersionsRequest, ListScriptVersionsResponse, ListScriptVersionsError, Credentials | HttpClient.HttpClient> & {
|
|
3462
|
+
pages: (input: ListScriptVersionsRequest) => stream.Stream<ListScriptVersionsResponse, ListScriptVersionsError, Credentials | HttpClient.HttpClient>;
|
|
3463
|
+
items: (input: ListScriptVersionsRequest) => stream.Stream<{
|
|
3464
|
+
id?: string | null;
|
|
3465
|
+
metadata?: {
|
|
3466
|
+
authorEmail?: string | null;
|
|
3467
|
+
authorId?: string | null;
|
|
3468
|
+
createdOn?: string | null;
|
|
3469
|
+
hasPreview?: boolean | null;
|
|
3470
|
+
modifiedOn?: string | null;
|
|
3471
|
+
source?: "unknown" | "api" | "wrangler" | "terraform" | "dash" | "dash_template" | "integration" | "quick_editor" | "playground" | "workersci" | null;
|
|
3472
|
+
} | null;
|
|
3473
|
+
number?: number | null;
|
|
3474
|
+
}, ListScriptVersionsError, Credentials | HttpClient.HttpClient>;
|
|
3475
|
+
};
|
|
3147
3476
|
export interface CreateScriptVersionRequest {
|
|
3148
3477
|
scriptName: string;
|
|
3149
3478
|
/** Path param: Identifier. */
|