@distilled.cloud/cloudflare 0.2.0-alpha → 0.2.4
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 +49 -0
- package/lib/client/api.d.ts.map +1 -1
- package/lib/client/api.js +51 -3
- package/lib/client/api.js.map +1 -1
- package/lib/errors.d.ts +1 -12
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -8
- package/lib/errors.js.map +1 -1
- package/lib/services/abuse-reports.d.ts +2 -2
- package/lib/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +2 -2
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts +2 -2
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +2 -2
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/acm.d.ts +2 -2
- package/lib/services/acm.d.ts.map +1 -1
- package/lib/services/acm.js +2 -2
- package/lib/services/acm.js.map +1 -1
- package/lib/services/addressing.d.ts +2 -2
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +2 -2
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts +2 -2
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +2 -2
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai.d.ts +2 -2
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +3 -3
- package/lib/services/ai.js.map +1 -1
- package/lib/services/aisearch.d.ts +2 -2
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +2 -2
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.d.ts +2 -2
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +2 -2
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts +2 -2
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +4 -4
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/argo.d.ts +2 -2
- package/lib/services/argo.d.ts.map +1 -1
- package/lib/services/argo.js +2 -2
- package/lib/services/argo.js.map +1 -1
- package/lib/services/audit-logs.d.ts +2 -2
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +2 -2
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/billing.d.ts +2 -2
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +2 -2
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bot-management.d.ts +2 -2
- 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 +2 -2
- package/lib/services/botnet-feed.d.ts.map +1 -1
- package/lib/services/botnet-feed.js +2 -2
- package/lib/services/botnet-feed.js.map +1 -1
- package/lib/services/brand-protection.d.ts +2 -2
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +3 -3
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts +2 -2
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +2 -2
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cache.d.ts +2 -2
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +2 -2
- package/lib/services/cache.js.map +1 -1
- package/lib/services/calls.d.ts +2 -2
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +2 -2
- package/lib/services/calls.js.map +1 -1
- package/lib/services/certificate-authorities.d.ts +2 -2
- 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 +2 -2
- package/lib/services/client-certificates.d.ts.map +1 -1
- package/lib/services/client-certificates.js +2 -2
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/cloud-connector.d.ts +2 -2
- package/lib/services/cloud-connector.d.ts.map +1 -1
- package/lib/services/cloud-connector.js +2 -2
- package/lib/services/cloud-connector.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts +2 -2
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +3 -3
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/connectivity.d.ts +2 -2
- package/lib/services/connectivity.d.ts.map +1 -1
- package/lib/services/connectivity.js +2 -2
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/content-scanning.d.ts +2 -2
- package/lib/services/content-scanning.d.ts.map +1 -1
- package/lib/services/content-scanning.js +2 -2
- package/lib/services/content-scanning.js.map +1 -1
- package/lib/services/custom-certificates.d.ts +2 -2
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +2 -2
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts +2 -2
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +2 -2
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/custom-nameservers.d.ts +2 -2
- package/lib/services/custom-nameservers.d.ts.map +1 -1
- package/lib/services/custom-nameservers.js +2 -2
- package/lib/services/custom-nameservers.js.map +1 -1
- package/lib/services/custom-pages.d.ts +2 -2
- package/lib/services/custom-pages.d.ts.map +1 -1
- package/lib/services/custom-pages.js +2 -2
- package/lib/services/custom-pages.js.map +1 -1
- package/lib/services/d1.d.ts +2 -2
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +2 -2
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dcv-delegation.d.ts +2 -2
- package/lib/services/dcv-delegation.d.ts.map +1 -1
- package/lib/services/dcv-delegation.js +2 -2
- package/lib/services/dcv-delegation.js.map +1 -1
- package/lib/services/diagnostics.d.ts +2 -2
- package/lib/services/diagnostics.d.ts.map +1 -1
- package/lib/services/diagnostics.js +2 -2
- package/lib/services/diagnostics.js.map +1 -1
- package/lib/services/dns-firewall.d.ts +2 -2
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +2 -2
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts +2 -2
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +2 -2
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts +2 -2
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +2 -2
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-routing.d.ts +2 -2
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +2 -2
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts +2 -2
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +2 -2
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/filters.d.ts +2 -2
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +2 -2
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts +2 -2
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +2 -2
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/healthchecks.d.ts +2 -2
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +2 -2
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts +2 -2
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +2 -2
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts +2 -2
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +2 -2
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts +2 -2
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +2 -2
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts +2 -2
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +3 -3
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts +2 -2
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +2 -2
- package/lib/services/intel.js.map +1 -1
- package/lib/services/ips.d.ts +2 -2
- package/lib/services/ips.d.ts.map +1 -1
- package/lib/services/ips.js +2 -2
- package/lib/services/ips.js.map +1 -1
- package/lib/services/keyless-certificates.d.ts +2 -2
- package/lib/services/keyless-certificates.d.ts.map +1 -1
- package/lib/services/keyless-certificates.js +2 -2
- package/lib/services/keyless-certificates.js.map +1 -1
- package/lib/services/kv.d.ts +2 -2
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +2 -2
- package/lib/services/kv.js.map +1 -1
- package/lib/services/leaked-credential-checks.d.ts +2 -2
- package/lib/services/leaked-credential-checks.d.ts.map +1 -1
- package/lib/services/leaked-credential-checks.js +2 -2
- package/lib/services/leaked-credential-checks.js.map +1 -1
- package/lib/services/load-balancers.d.ts +2 -2
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +2 -2
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts +2 -2
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +2 -2
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/logs.d.ts +2 -2
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +2 -2
- package/lib/services/logs.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts +2 -2
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +2 -2
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts +2 -2
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +2 -2
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts +2 -2
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +2 -2
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/managed-transforms.d.ts +2 -2
- package/lib/services/managed-transforms.d.ts.map +1 -1
- package/lib/services/managed-transforms.js +2 -2
- package/lib/services/managed-transforms.js.map +1 -1
- package/lib/services/memberships.d.ts +2 -2
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +2 -2
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/mtls-certificates.d.ts +2 -2
- package/lib/services/mtls-certificates.d.ts.map +1 -1
- package/lib/services/mtls-certificates.js +2 -2
- package/lib/services/mtls-certificates.js.map +1 -1
- package/lib/services/network-interconnects.d.ts +2 -2
- package/lib/services/network-interconnects.d.ts.map +1 -1
- package/lib/services/network-interconnects.js +2 -2
- package/lib/services/network-interconnects.js.map +1 -1
- package/lib/services/organizations.d.ts +2 -2
- package/lib/services/organizations.d.ts.map +1 -1
- package/lib/services/organizations.js +2 -2
- package/lib/services/organizations.js.map +1 -1
- package/lib/services/origin-ca-certificates.d.ts +2 -2
- package/lib/services/origin-ca-certificates.d.ts.map +1 -1
- package/lib/services/origin-ca-certificates.js +2 -2
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/origin-post-quantum-encryption.d.ts +2 -2
- package/lib/services/origin-post-quantum-encryption.d.ts.map +1 -1
- package/lib/services/origin-post-quantum-encryption.js +2 -2
- package/lib/services/origin-post-quantum-encryption.js.map +1 -1
- package/lib/services/origin-tls-client-auth.d.ts +2 -2
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
- package/lib/services/origin-tls-client-auth.js +2 -2
- package/lib/services/origin-tls-client-auth.js.map +1 -1
- package/lib/services/page-rules.d.ts +2 -2
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +2 -2
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/page-shield.d.ts +2 -2
- package/lib/services/page-shield.d.ts.map +1 -1
- package/lib/services/page-shield.js +2 -2
- package/lib/services/page-shield.js.map +1 -1
- package/lib/services/pages.d.ts +2 -2
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +3 -3
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts +2 -2
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +2 -2
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts +2 -2
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +2 -2
- package/lib/services/queues.js.map +1 -1
- package/lib/services/r2-data-catalog.d.ts +2 -2
- package/lib/services/r2-data-catalog.d.ts.map +1 -1
- package/lib/services/r2-data-catalog.js +2 -2
- package/lib/services/r2-data-catalog.js.map +1 -1
- package/lib/services/r2.d.ts +2 -2
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +2 -2
- package/lib/services/r2.js.map +1 -1
- package/lib/services/radar.d.ts +2 -2
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +2 -2
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts +2 -2
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +2 -2
- package/lib/services/rate-limits.js.map +1 -1
- package/lib/services/realtime-kit.d.ts +2 -2
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +2 -2
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/registrar.d.ts +2 -2
- package/lib/services/registrar.d.ts.map +1 -1
- package/lib/services/registrar.js +2 -2
- package/lib/services/registrar.js.map +1 -1
- package/lib/services/request-tracers.d.ts +2 -2
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +2 -2
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/resource-sharing.d.ts +2 -2
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +2 -2
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/rules.d.ts +2 -2
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +2 -2
- 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 +2 -2
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts +2 -2
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +2 -2
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts +2 -2
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +2 -2
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts +2 -2
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +2 -2
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/security-center.d.ts +2 -2
- package/lib/services/security-center.d.ts.map +1 -1
- package/lib/services/security-center.js +2 -2
- package/lib/services/security-center.js.map +1 -1
- package/lib/services/security-txt.d.ts +2 -2
- package/lib/services/security-txt.d.ts.map +1 -1
- package/lib/services/security-txt.js +2 -2
- package/lib/services/security-txt.js.map +1 -1
- package/lib/services/snippets.d.ts +2 -2
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +2 -2
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts +2 -2
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +2 -2
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts +2 -2
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +2 -2
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts +2 -2
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +2 -2
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts +2 -2
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +2 -2
- package/lib/services/stream.js.map +1 -1
- package/lib/services/token-validation.d.ts +2 -2
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +2 -2
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts +2 -2
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +2 -2
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/url-normalization.d.ts +2 -2
- 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/url-scanner.d.ts +2 -2
- package/lib/services/url-scanner.d.ts.map +1 -1
- package/lib/services/url-scanner.js +2 -2
- package/lib/services/url-scanner.js.map +1 -1
- package/lib/services/user.d.ts +2 -2
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +2 -2
- package/lib/services/user.js.map +1 -1
- package/lib/services/vectorize.d.ts +2 -2
- package/lib/services/vectorize.d.ts.map +1 -1
- package/lib/services/vectorize.js +3 -3
- package/lib/services/vectorize.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts +2 -2
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +2 -2
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/web3.d.ts +2 -2
- package/lib/services/web3.d.ts.map +1 -1
- package/lib/services/web3.js +2 -2
- package/lib/services/web3.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts +2 -2
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +3 -3
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts +2 -2
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +3 -3
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts +2 -2
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +2 -2
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zaraz.d.ts +2 -2
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +2 -2
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts +27 -27
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +38 -38
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts +2 -2
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +2 -2
- package/lib/services/zones.js.map +1 -1
- package/package.json +12 -6
- package/src/client/api.ts +64 -4
- package/src/errors.ts +2 -10
- package/src/services/abuse-reports.ts +3 -3
- package/src/services/accounts.ts +3 -3
- package/src/services/acm.ts +3 -3
- package/src/services/addressing.ts +3 -3
- package/src/services/ai-gateway.ts +3 -3
- package/src/services/ai.ts +4 -4
- package/src/services/aisearch.ts +3 -3
- package/src/services/alerting.ts +3 -3
- package/src/services/api-gateway.ts +5 -5
- package/src/services/argo.ts +3 -3
- package/src/services/audit-logs.ts +3 -3
- package/src/services/billing.ts +3 -3
- package/src/services/bot-management.ts +3 -3
- package/src/services/botnet-feed.ts +3 -3
- package/src/services/brand-protection.ts +4 -4
- package/src/services/browser-rendering.ts +3 -3
- package/src/services/cache.ts +3 -3
- package/src/services/calls.ts +3 -3
- package/src/services/certificate-authorities.ts +3 -3
- package/src/services/client-certificates.ts +3 -3
- package/src/services/cloud-connector.ts +3 -3
- package/src/services/cloudforce-one.ts +4 -4
- package/src/services/connectivity.ts +3 -3
- package/src/services/content-scanning.ts +3 -3
- package/src/services/custom-certificates.ts +3 -3
- package/src/services/custom-hostnames.ts +3 -3
- package/src/services/custom-nameservers.ts +3 -3
- package/src/services/custom-pages.ts +3 -3
- package/src/services/d1.ts +3 -3
- package/src/services/dcv-delegation.ts +3 -3
- package/src/services/diagnostics.ts +3 -3
- package/src/services/dns-firewall.ts +3 -3
- package/src/services/dns.ts +3 -3
- package/src/services/durable-objects.ts +3 -3
- package/src/services/email-routing.ts +3 -3
- package/src/services/email-security.ts +3 -3
- package/src/services/filters.ts +3 -3
- package/src/services/firewall.ts +3 -3
- package/src/services/healthchecks.ts +3 -3
- package/src/services/hostnames.ts +3 -3
- package/src/services/hyperdrive.ts +3 -3
- package/src/services/iam.ts +3 -3
- package/src/services/images.ts +4 -4
- package/src/services/intel.ts +3 -3
- package/src/services/ips.ts +3 -3
- package/src/services/keyless-certificates.ts +3 -3
- package/src/services/kv.ts +3 -3
- package/src/services/leaked-credential-checks.ts +3 -3
- package/src/services/load-balancers.ts +3 -3
- package/src/services/logpush.ts +3 -3
- package/src/services/logs.ts +3 -3
- package/src/services/magic-cloud-networking.ts +3 -3
- package/src/services/magic-network-monitoring.ts +3 -3
- package/src/services/magic-transit.ts +3 -3
- package/src/services/managed-transforms.ts +3 -3
- package/src/services/memberships.ts +3 -3
- package/src/services/mtls-certificates.ts +3 -3
- package/src/services/network-interconnects.ts +3 -3
- package/src/services/organizations.ts +3 -3
- package/src/services/origin-ca-certificates.ts +3 -3
- package/src/services/origin-post-quantum-encryption.ts +3 -3
- package/src/services/origin-tls-client-auth.ts +3 -3
- package/src/services/page-rules.ts +3 -3
- package/src/services/page-shield.ts +3 -3
- package/src/services/pages.ts +4 -4
- package/src/services/pipelines.ts +3 -3
- package/src/services/queues.ts +3 -3
- package/src/services/r2-data-catalog.ts +3 -3
- package/src/services/r2.ts +3 -3
- package/src/services/radar.ts +3 -3
- package/src/services/rate-limits.ts +3 -3
- package/src/services/realtime-kit.ts +3 -3
- package/src/services/registrar.ts +3 -3
- package/src/services/request-tracers.ts +3 -3
- package/src/services/resource-sharing.ts +3 -3
- package/src/services/rules.ts +3 -3
- package/src/services/rulesets.ts +3 -3
- package/src/services/rum.ts +3 -3
- package/src/services/schema-validation.ts +3 -3
- package/src/services/secrets-store.ts +3 -3
- package/src/services/security-center.ts +3 -3
- package/src/services/security-txt.ts +3 -3
- package/src/services/snippets.ts +3 -3
- package/src/services/spectrum.ts +3 -3
- package/src/services/speed.ts +3 -3
- package/src/services/ssl.ts +3 -3
- package/src/services/stream.ts +3 -3
- package/src/services/token-validation.ts +3 -3
- package/src/services/turnstile.ts +3 -3
- package/src/services/url-normalization.ts +3 -3
- package/src/services/url-scanner.ts +3 -3
- package/src/services/user.ts +3 -3
- package/src/services/vectorize.ts +4 -4
- package/src/services/waiting-rooms.ts +3 -3
- package/src/services/web3.ts +3 -3
- package/src/services/workers-for-platforms.ts +4 -4
- package/src/services/workers.ts +4 -4
- package/src/services/workflows.ts +3 -3
- package/src/services/zaraz.ts +3 -3
- package/src/services/zero-trust.ts +86 -90
- package/src/services/zones.ts +3 -3
package/src/client/api.ts
CHANGED
|
@@ -14,10 +14,54 @@ import {
|
|
|
14
14
|
type OperationMethod,
|
|
15
15
|
type PaginatedOperationMethod,
|
|
16
16
|
} from "@distilled.cloud/core/client";
|
|
17
|
-
import {
|
|
17
|
+
import {
|
|
18
|
+
CloudflareHttpError,
|
|
19
|
+
HTTP_STATUS_MAP,
|
|
20
|
+
InternalServerError,
|
|
21
|
+
TooManyRequests,
|
|
22
|
+
UnknownCloudflareError,
|
|
23
|
+
} from "../errors.ts";
|
|
18
24
|
import { Credentials } from "../credentials.ts";
|
|
19
25
|
import { type ErrorMatcher, getErrorMatchers } from "../traits.ts";
|
|
20
26
|
|
|
27
|
+
// ============================================================================
|
|
28
|
+
// Global Cloudflare error codes
|
|
29
|
+
// ============================================================================
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Cloudflare error codes that map to global/default errors regardless of operation.
|
|
33
|
+
* These are infrastructure-level errors that can occur on any endpoint.
|
|
34
|
+
*/
|
|
35
|
+
const GLOBAL_ERROR_CODE_MAP: Record<number, (message: string) => unknown> = {
|
|
36
|
+
// "Please wait and consider throttling your request speed"
|
|
37
|
+
971: (message) => new TooManyRequests({ message }),
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Create an appropriate error for an HTTP status code.
|
|
42
|
+
*
|
|
43
|
+
* For status codes in HTTP_STATUS_MAP (400, 401, 500, 502, 503, 504, etc.),
|
|
44
|
+
* returns the properly categorized error (with retry categories for 5xx).
|
|
45
|
+
* For unmapped 5xx codes (e.g., Cloudflare-specific 520-530), returns a
|
|
46
|
+
* CloudflareHttpError so the status is preserved.
|
|
47
|
+
*/
|
|
48
|
+
function httpStatusError(status: number, body?: string): unknown {
|
|
49
|
+
const ErrorClass = HTTP_STATUS_MAP[status as keyof typeof HTTP_STATUS_MAP];
|
|
50
|
+
if (ErrorClass) {
|
|
51
|
+
return new ErrorClass({ message: body ?? String(status) });
|
|
52
|
+
}
|
|
53
|
+
// For unmapped 5xx codes (e.g., Cloudflare-specific 520-530), use
|
|
54
|
+
// InternalServerError so they get ServerError + Retryable categories
|
|
55
|
+
if (status >= 500) {
|
|
56
|
+
return new InternalServerError({ message: body ?? String(status) });
|
|
57
|
+
}
|
|
58
|
+
return new CloudflareHttpError({
|
|
59
|
+
status,
|
|
60
|
+
statusText: String(status),
|
|
61
|
+
body,
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
|
|
21
65
|
export type { OperationMethod, PaginatedOperationMethod };
|
|
22
66
|
|
|
23
67
|
// ============================================================================
|
|
@@ -123,12 +167,18 @@ const matchError = (
|
|
|
123
167
|
errorBody: unknown,
|
|
124
168
|
errors?: readonly ApiErrorClass[],
|
|
125
169
|
): Effect.Effect<never, unknown> => {
|
|
126
|
-
// Handle non-JSON error responses (e.g., HTML from malformed URLs)
|
|
170
|
+
// Handle non-JSON error responses (e.g., HTML from malformed URLs, 520 pages)
|
|
127
171
|
const isNonJsonError =
|
|
128
172
|
typeof errorBody === "object" &&
|
|
129
173
|
errorBody !== null &&
|
|
130
174
|
"_nonJsonError" in errorBody;
|
|
131
175
|
if (isNonJsonError) {
|
|
176
|
+
// For 5xx errors, return a properly categorized error so retries work
|
|
177
|
+
if (status >= 500) {
|
|
178
|
+
return Effect.fail(
|
|
179
|
+
httpStatusError(status, String((errorBody as any).body)),
|
|
180
|
+
);
|
|
181
|
+
}
|
|
132
182
|
return Effect.fail(
|
|
133
183
|
new CloudflareHttpError({
|
|
134
184
|
status,
|
|
@@ -165,12 +215,17 @@ const matchError = (
|
|
|
165
215
|
|
|
166
216
|
if (!isEnvelope) {
|
|
167
217
|
// Not a Cloudflare envelope — HTTP-level error
|
|
218
|
+
// For 5xx errors, return a properly categorized error so retries work
|
|
219
|
+
const bodyStr =
|
|
220
|
+
typeof errorBody === "string" ? errorBody : JSON.stringify(errorBody);
|
|
221
|
+
if (status >= 500) {
|
|
222
|
+
return Effect.fail(httpStatusError(status, bodyStr));
|
|
223
|
+
}
|
|
168
224
|
return Effect.fail(
|
|
169
225
|
new CloudflareHttpError({
|
|
170
226
|
status,
|
|
171
227
|
statusText: String(status),
|
|
172
|
-
body:
|
|
173
|
-
typeof errorBody === "string" ? errorBody : JSON.stringify(errorBody),
|
|
228
|
+
body: bodyStr,
|
|
174
229
|
}),
|
|
175
230
|
);
|
|
176
231
|
}
|
|
@@ -221,6 +276,11 @@ const matchError = (
|
|
|
221
276
|
}
|
|
222
277
|
}
|
|
223
278
|
|
|
279
|
+
// Check global error codes before falling through to unknown
|
|
280
|
+
if (errorCode !== undefined && errorCode in GLOBAL_ERROR_CODE_MAP) {
|
|
281
|
+
return Effect.fail(GLOBAL_ERROR_CODE_MAP[errorCode](errorMessage));
|
|
282
|
+
}
|
|
283
|
+
|
|
224
284
|
// No match — return unknown Cloudflare error
|
|
225
285
|
return Effect.fail(
|
|
226
286
|
new UnknownCloudflareError({
|
package/src/errors.ts
CHANGED
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
* Cloudflare-specific error types.
|
|
3
3
|
*/
|
|
4
4
|
export {
|
|
5
|
+
BadGateway,
|
|
5
6
|
BadRequest,
|
|
6
7
|
Conflict,
|
|
7
8
|
ConfigError,
|
|
8
9
|
Forbidden,
|
|
10
|
+
GatewayTimeout,
|
|
9
11
|
InternalServerError,
|
|
10
12
|
NotFound,
|
|
11
13
|
ServiceUnavailable,
|
|
@@ -21,16 +23,6 @@ export type { DefaultErrors } from "@distilled.cloud/core/errors";
|
|
|
21
23
|
import * as Schema from "effect/Schema";
|
|
22
24
|
import * as Category from "@distilled.cloud/core/category";
|
|
23
25
|
|
|
24
|
-
// Generic Cloudflare API Error
|
|
25
|
-
export class CloudflareApiError extends Schema.TaggedErrorClass<CloudflareApiError>()(
|
|
26
|
-
"CloudflareApiError",
|
|
27
|
-
{
|
|
28
|
-
code: Schema.optional(Schema.Number),
|
|
29
|
-
message: Schema.optional(Schema.String),
|
|
30
|
-
body: Schema.Unknown,
|
|
31
|
-
},
|
|
32
|
-
).pipe(Category.withServerError) {}
|
|
33
|
-
|
|
34
26
|
// Schema parse error wrapper
|
|
35
27
|
export class CloudflareParseError extends Schema.TaggedErrorClass<CloudflareParseError>()(
|
|
36
28
|
"CloudflareParseError",
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// Errors
|
package/src/services/accounts.ts
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// Errors
|
package/src/services/acm.ts
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// Errors
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// Errors
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// Errors
|
package/src/services/ai.ts
CHANGED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
14
|
-
import { UploadableSchema } from "../schemas";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
|
+
import { UploadableSchema } from "../schemas.ts";
|
|
15
15
|
|
|
16
16
|
// =============================================================================
|
|
17
17
|
// Errors
|
package/src/services/aisearch.ts
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// Errors
|
package/src/services/alerting.ts
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// Errors
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
14
|
-
import { UploadableSchema } from "../schemas";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
|
+
import { UploadableSchema } from "../schemas.ts";
|
|
15
15
|
|
|
16
16
|
// =============================================================================
|
|
17
17
|
// Errors
|
|
@@ -27,7 +27,7 @@ export class NotEntitled extends Schema.TaggedErrorClass<NotEntitled>()(
|
|
|
27
27
|
"NotEntitled",
|
|
28
28
|
{ code: Schema.Number, message: Schema.String },
|
|
29
29
|
) {}
|
|
30
|
-
T.applyErrorMatchers(NotEntitled, [{ code: 10403 }]);
|
|
30
|
+
T.applyErrorMatchers(NotEntitled, [{ code: 10403 }, { code: 10404 }]);
|
|
31
31
|
|
|
32
32
|
export class OperationNotFound extends Schema.TaggedErrorClass<OperationNotFound>()(
|
|
33
33
|
"OperationNotFound",
|
package/src/services/argo.ts
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// Errors
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// AuditLog
|
package/src/services/billing.ts
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// Profile
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// BotManagement
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// ConfigAsn
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
14
|
-
import { UploadableSchema } from "../schemas";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
|
+
import { UploadableSchema } from "../schemas.ts";
|
|
15
15
|
|
|
16
16
|
// =============================================================================
|
|
17
17
|
// BrandProtection
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// Content
|
package/src/services/cache.ts
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// Cache
|
package/src/services/calls.ts
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// Sfu
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// HostnameAssociation
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// ClientCertificate
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// Rule
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
14
|
-
import { UploadableSchema } from "../schemas";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
|
+
import { UploadableSchema } from "../schemas.ts";
|
|
15
15
|
|
|
16
16
|
// =============================================================================
|
|
17
17
|
// BinaryStorage
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// DirectoryService
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// ContentScanning
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// CustomCertificate
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// CertificatePackCertificate
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// CustomNameserver
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// CustomPage
|
package/src/services/d1.ts
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// Errors
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// DCVDelegation
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// EndpointHealthcheck
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// AnalyticReport
|
package/src/services/dns.ts
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// AnalyticReport
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import * as Schema from "effect/Schema";
|
|
9
9
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
10
|
import * as API from "../client/api.ts";
|
|
11
|
-
import * as T from "../traits";
|
|
12
|
-
import type { Credentials } from "../credentials";
|
|
13
|
-
import { type DefaultErrors } from "../errors";
|
|
11
|
+
import * as T from "../traits.ts";
|
|
12
|
+
import type { Credentials } from "../credentials.ts";
|
|
13
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
14
14
|
|
|
15
15
|
// =============================================================================
|
|
16
16
|
// Errors
|