@distilled.cloud/cloudflare 0.0.0-john
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 +59 -0
- package/lib/auth.d.ts +14 -0
- package/lib/auth.d.ts.map +1 -0
- package/lib/auth.js +13 -0
- package/lib/auth.js.map +1 -0
- package/lib/category.d.ts +2 -0
- package/lib/category.d.ts.map +1 -0
- package/lib/category.js +2 -0
- package/lib/category.js.map +1 -0
- package/lib/client/api.d.ts +12 -0
- package/lib/client/api.d.ts.map +1 -0
- package/lib/client/api.js +292 -0
- package/lib/client/api.js.map +1 -0
- package/lib/client/index.d.ts +8 -0
- package/lib/client/index.d.ts.map +1 -0
- package/lib/client/index.js +8 -0
- package/lib/client/index.js.map +1 -0
- package/lib/credentials.d.ts +68 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +136 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +48 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +31 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +10 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +10 -0
- package/lib/index.js.map +1 -0
- package/lib/retry.d.ts +14 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +14 -0
- package/lib/retry.js.map +1 -0
- package/lib/schemas.d.ts +29 -0
- package/lib/schemas.d.ts.map +1 -0
- package/lib/schemas.js +34 -0
- package/lib/schemas.js.map +1 -0
- 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 +296 -0
- package/lib/services/abuse-reports.d.ts.map +1 -0
- package/lib/services/abuse-reports.js +414 -0
- package/lib/services/abuse-reports.js.map +1 -0
- package/lib/services/accounts.d.ts +766 -0
- package/lib/services/accounts.d.ts.map +1 -0
- package/lib/services/accounts.js +860 -0
- package/lib/services/accounts.js.map +1 -0
- package/lib/services/acm.d.ts +73 -0
- package/lib/services/acm.d.ts.map +1 -0
- package/lib/services/acm.js +80 -0
- package/lib/services/acm.js.map +1 -0
- package/lib/services/addressing.d.ts +1321 -0
- package/lib/services/addressing.d.ts.map +1 -0
- package/lib/services/addressing.js +1863 -0
- package/lib/services/addressing.js.map +1 -0
- package/lib/services/ai-gateway.d.ts +1137 -0
- package/lib/services/ai-gateway.d.ts.map +1 -0
- package/lib/services/ai-gateway.js +1830 -0
- package/lib/services/ai-gateway.js.map +1 -0
- package/lib/services/ai.d.ts +297 -0
- package/lib/services/ai.d.ts.map +1 -0
- package/lib/services/ai.js +352 -0
- package/lib/services/ai.js.map +1 -0
- package/lib/services/aisearch.d.ts +1069 -0
- package/lib/services/aisearch.d.ts.map +1 -0
- package/lib/services/aisearch.js +2542 -0
- package/lib/services/aisearch.js.map +1 -0
- package/lib/services/alerting.d.ts +855 -0
- package/lib/services/alerting.d.ts.map +1 -0
- package/lib/services/alerting.js +1445 -0
- package/lib/services/alerting.js.map +1 -0
- package/lib/services/api-gateway.d.ts +1088 -0
- package/lib/services/api-gateway.d.ts.map +1 -0
- package/lib/services/api-gateway.js +1655 -0
- package/lib/services/api-gateway.js.map +1 -0
- package/lib/services/argo.d.ts +101 -0
- package/lib/services/argo.d.ts.map +1 -0
- package/lib/services/argo.js +113 -0
- package/lib/services/argo.js.map +1 -0
- package/lib/services/audit-logs.d.ts +46 -0
- package/lib/services/audit-logs.d.ts.map +1 -0
- package/lib/services/audit-logs.js +37 -0
- package/lib/services/audit-logs.js.map +1 -0
- package/lib/services/billing.d.ts +62 -0
- package/lib/services/billing.d.ts.map +1 -0
- package/lib/services/billing.js +102 -0
- package/lib/services/billing.js.map +1 -0
- package/lib/services/bot-management.d.ts +124 -0
- package/lib/services/bot-management.d.ts.map +1 -0
- package/lib/services/bot-management.js +262 -0
- package/lib/services/bot-management.js.map +1 -0
- package/lib/services/botnet-feed.d.ts +65 -0
- package/lib/services/botnet-feed.d.ts.map +1 -0
- package/lib/services/botnet-feed.js +88 -0
- package/lib/services/botnet-feed.js.map +1 -0
- package/lib/services/brand-protection.d.ts +194 -0
- package/lib/services/brand-protection.d.ts.map +1 -0
- package/lib/services/brand-protection.js +221 -0
- package/lib/services/brand-protection.js.map +1 -0
- package/lib/services/browser-rendering.d.ts +857 -0
- package/lib/services/browser-rendering.d.ts.map +1 -0
- package/lib/services/browser-rendering.js +1142 -0
- package/lib/services/browser-rendering.js.map +1 -0
- package/lib/services/cache.d.ts +287 -0
- package/lib/services/cache.d.ts.map +1 -0
- package/lib/services/cache.js +354 -0
- package/lib/services/cache.js.map +1 -0
- package/lib/services/calls.d.ts +223 -0
- package/lib/services/calls.d.ts.map +1 -0
- package/lib/services/calls.js +188 -0
- package/lib/services/calls.js.map +1 -0
- package/lib/services/certificate-authorities.d.ts +40 -0
- package/lib/services/certificate-authorities.d.ts.map +1 -0
- package/lib/services/certificate-authorities.js +49 -0
- package/lib/services/certificate-authorities.js.map +1 -0
- package/lib/services/client-certificates.d.ts +288 -0
- package/lib/services/client-certificates.d.ts.map +1 -0
- package/lib/services/client-certificates.js +379 -0
- package/lib/services/client-certificates.js.map +1 -0
- package/lib/services/cloud-connector.d.ts +88 -0
- package/lib/services/cloud-connector.d.ts.map +1 -0
- package/lib/services/cloud-connector.js +97 -0
- package/lib/services/cloud-connector.js.map +1 -0
- package/lib/services/cloudforce-one.d.ts +1387 -0
- package/lib/services/cloudforce-one.d.ts.map +1 -0
- package/lib/services/cloudforce-one.js +1741 -0
- package/lib/services/cloudforce-one.js.map +1 -0
- package/lib/services/connectivity.d.ts +291 -0
- package/lib/services/connectivity.d.ts.map +1 -0
- package/lib/services/connectivity.js +404 -0
- package/lib/services/connectivity.js.map +1 -0
- package/lib/services/content-scanning.d.ts +156 -0
- package/lib/services/content-scanning.d.ts.map +1 -0
- package/lib/services/content-scanning.js +175 -0
- package/lib/services/content-scanning.js.map +1 -0
- package/lib/services/custom-certificates.d.ts +240 -0
- package/lib/services/custom-certificates.d.ts.map +1 -0
- package/lib/services/custom-certificates.js +336 -0
- package/lib/services/custom-certificates.js.map +1 -0
- package/lib/services/custom-hostnames.d.ts +590 -0
- package/lib/services/custom-hostnames.d.ts.map +1 -0
- package/lib/services/custom-hostnames.js +1204 -0
- package/lib/services/custom-hostnames.js.map +1 -0
- package/lib/services/custom-nameservers.d.ts +87 -0
- package/lib/services/custom-nameservers.d.ts.map +1 -0
- package/lib/services/custom-nameservers.js +95 -0
- package/lib/services/custom-nameservers.js.map +1 -0
- package/lib/services/custom-pages.d.ts +89 -0
- package/lib/services/custom-pages.d.ts.map +1 -0
- package/lib/services/custom-pages.js +140 -0
- package/lib/services/custom-pages.js.map +1 -0
- package/lib/services/d1.d.ts +392 -0
- package/lib/services/d1.d.ts.map +1 -0
- package/lib/services/d1.js +487 -0
- package/lib/services/d1.js.map +1 -0
- package/lib/services/dcv-delegation.d.ts +24 -0
- package/lib/services/dcv-delegation.d.ts.map +1 -0
- package/lib/services/dcv-delegation.js +24 -0
- package/lib/services/dcv-delegation.js.map +1 -0
- package/lib/services/diagnostics.d.ts +208 -0
- package/lib/services/diagnostics.d.ts.map +1 -0
- package/lib/services/diagnostics.js +288 -0
- package/lib/services/diagnostics.js.map +1 -0
- package/lib/services/dns-firewall.d.ts +317 -0
- package/lib/services/dns-firewall.d.ts.map +1 -0
- package/lib/services/dns-firewall.js +400 -0
- package/lib/services/dns-firewall.js.map +1 -0
- package/lib/services/dns.d.ts +3065 -0
- package/lib/services/dns.d.ts.map +1 -0
- package/lib/services/dns.js +4627 -0
- package/lib/services/dns.js.map +1 -0
- package/lib/services/durable-objects.d.ts +92 -0
- package/lib/services/durable-objects.d.ts.map +1 -0
- package/lib/services/durable-objects.js +103 -0
- package/lib/services/durable-objects.js.map +1 -0
- package/lib/services/email-routing.d.ts +598 -0
- package/lib/services/email-routing.d.ts.map +1 -0
- package/lib/services/email-routing.js +715 -0
- package/lib/services/email-routing.js.map +1 -0
- package/lib/services/email-security.d.ts +1389 -0
- package/lib/services/email-security.d.ts.map +1 -0
- package/lib/services/email-security.js +2261 -0
- package/lib/services/email-security.js.map +1 -0
- package/lib/services/filters.d.ts +197 -0
- package/lib/services/filters.d.ts.map +1 -0
- package/lib/services/filters.js +168 -0
- package/lib/services/filters.js.map +1 -0
- package/lib/services/firewall.d.ts +1352 -0
- package/lib/services/firewall.d.ts.map +1 -0
- package/lib/services/firewall.js +2084 -0
- package/lib/services/firewall.js.map +1 -0
- package/lib/services/healthchecks.d.ts +507 -0
- package/lib/services/healthchecks.d.ts.map +1 -0
- package/lib/services/healthchecks.js +867 -0
- package/lib/services/healthchecks.js.map +1 -0
- package/lib/services/hostnames.d.ts +86 -0
- package/lib/services/hostnames.d.ts.map +1 -0
- package/lib/services/hostnames.js +111 -0
- package/lib/services/hostnames.js.map +1 -0
- package/lib/services/hyperdrive.d.ts +203 -0
- package/lib/services/hyperdrive.d.ts.map +1 -0
- package/lib/services/hyperdrive.js +300 -0
- package/lib/services/hyperdrive.js.map +1 -0
- package/lib/services/iam.d.ts +657 -0
- package/lib/services/iam.d.ts.map +1 -0
- package/lib/services/iam.js +843 -0
- package/lib/services/iam.js.map +1 -0
- package/lib/services/images.d.ts +427 -0
- package/lib/services/images.d.ts.map +1 -0
- package/lib/services/images.js +444 -0
- package/lib/services/images.js.map +1 -0
- package/lib/services/intel.d.ts +865 -0
- package/lib/services/intel.d.ts.map +1 -0
- package/lib/services/intel.js +1266 -0
- package/lib/services/intel.js.map +1 -0
- package/lib/services/ips.d.ts +28 -0
- package/lib/services/ips.d.ts.map +1 -0
- package/lib/services/ips.js +39 -0
- package/lib/services/ips.js.map +1 -0
- package/lib/services/keyless-certificates.d.ts +197 -0
- package/lib/services/keyless-certificates.d.ts.map +1 -0
- package/lib/services/keyless-certificates.js +229 -0
- package/lib/services/keyless-certificates.js.map +1 -0
- package/lib/services/kv.d.ts +369 -0
- package/lib/services/kv.d.ts.map +1 -0
- package/lib/services/kv.js +453 -0
- package/lib/services/kv.js.map +1 -0
- package/lib/services/leaked-credential-checks.d.ts +129 -0
- package/lib/services/leaked-credential-checks.d.ts.map +1 -0
- package/lib/services/leaked-credential-checks.js +138 -0
- package/lib/services/leaked-credential-checks.js.map +1 -0
- package/lib/services/load-balancers.d.ts +1973 -0
- package/lib/services/load-balancers.d.ts.map +1 -0
- package/lib/services/load-balancers.js +3181 -0
- package/lib/services/load-balancers.js.map +1 -0
- package/lib/services/logpush.d.ts +401 -0
- package/lib/services/logpush.d.ts.map +1 -0
- package/lib/services/logpush.js +732 -0
- package/lib/services/logpush.js.map +1 -0
- package/lib/services/logs.d.ts +125 -0
- package/lib/services/logs.d.ts.map +1 -0
- package/lib/services/logs.js +149 -0
- package/lib/services/logs.js.map +1 -0
- package/lib/services/magic-cloud-networking.d.ts +1892 -0
- package/lib/services/magic-cloud-networking.d.ts.map +1 -0
- package/lib/services/magic-cloud-networking.js +5291 -0
- package/lib/services/magic-cloud-networking.js.map +1 -0
- package/lib/services/magic-network-monitoring.d.ts +379 -0
- package/lib/services/magic-network-monitoring.d.ts.map +1 -0
- package/lib/services/magic-network-monitoring.js +557 -0
- package/lib/services/magic-network-monitoring.js.map +1 -0
- package/lib/services/magic-transit.d.ts +3886 -0
- package/lib/services/magic-transit.d.ts.map +1 -0
- package/lib/services/magic-transit.js +6284 -0
- package/lib/services/magic-transit.js.map +1 -0
- package/lib/services/managed-transforms.d.ts +79 -0
- package/lib/services/managed-transforms.d.ts.map +1 -0
- package/lib/services/managed-transforms.js +111 -0
- package/lib/services/managed-transforms.js.map +1 -0
- package/lib/services/memberships.d.ts +204 -0
- package/lib/services/memberships.d.ts.map +1 -0
- package/lib/services/memberships.js +308 -0
- package/lib/services/memberships.js.map +1 -0
- package/lib/services/mtls-certificates.d.ts +164 -0
- package/lib/services/mtls-certificates.d.ts.map +1 -0
- package/lib/services/mtls-certificates.js +192 -0
- package/lib/services/mtls-certificates.js.map +1 -0
- package/lib/services/network-interconnects.d.ts +410 -0
- package/lib/services/network-interconnects.d.ts.map +1 -0
- package/lib/services/network-interconnects.js +583 -0
- package/lib/services/network-interconnects.js.map +1 -0
- package/lib/services/organizations.d.ts +232 -0
- package/lib/services/organizations.d.ts.map +1 -0
- package/lib/services/organizations.js +370 -0
- package/lib/services/organizations.js.map +1 -0
- package/lib/services/origin-ca-certificates.d.ts +119 -0
- package/lib/services/origin-ca-certificates.d.ts.map +1 -0
- package/lib/services/origin-ca-certificates.js +183 -0
- package/lib/services/origin-ca-certificates.js.map +1 -0
- package/lib/services/origin-post-quantum-encryption.d.ts +50 -0
- package/lib/services/origin-post-quantum-encryption.d.ts.map +1 -0
- package/lib/services/origin-post-quantum-encryption.js +64 -0
- package/lib/services/origin-post-quantum-encryption.js.map +1 -0
- package/lib/services/origin-tls-client-auth.d.ts +308 -0
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -0
- package/lib/services/origin-tls-client-auth.js +435 -0
- package/lib/services/origin-tls-client-auth.js.map +1 -0
- package/lib/services/page-rules.d.ts +773 -0
- package/lib/services/page-rules.d.ts.map +1 -0
- package/lib/services/page-rules.js +1373 -0
- package/lib/services/page-rules.js.map +1 -0
- package/lib/services/page-shield.d.ts +505 -0
- package/lib/services/page-shield.d.ts.map +1 -0
- package/lib/services/page-shield.js +520 -0
- package/lib/services/page-shield.js.map +1 -0
- package/lib/services/pages.d.ts +1949 -0
- package/lib/services/pages.d.ts.map +1 -0
- package/lib/services/pages.js +3030 -0
- package/lib/services/pages.js.map +1 -0
- package/lib/services/pipelines.d.ts +1716 -0
- package/lib/services/pipelines.d.ts.map +1 -0
- package/lib/services/pipelines.js +2991 -0
- package/lib/services/pipelines.js.map +1 -0
- package/lib/services/queues.d.ts +904 -0
- package/lib/services/queues.d.ts.map +1 -0
- package/lib/services/queues.js +1250 -0
- package/lib/services/queues.js.map +1 -0
- package/lib/services/r2-data-catalog.d.ts +341 -0
- package/lib/services/r2-data-catalog.d.ts.map +1 -0
- package/lib/services/r2-data-catalog.js +513 -0
- package/lib/services/r2-data-catalog.js.map +1 -0
- package/lib/services/r2.d.ts +1087 -0
- package/lib/services/r2.d.ts.map +1 -0
- package/lib/services/r2.js +1404 -0
- package/lib/services/r2.js.map +1 -0
- package/lib/services/radar.d.ts +9365 -0
- package/lib/services/radar.d.ts.map +1 -0
- package/lib/services/radar.js +20552 -0
- package/lib/services/radar.js.map +1 -0
- package/lib/services/rate-limits.d.ts +360 -0
- package/lib/services/rate-limits.d.ts.map +1 -0
- package/lib/services/rate-limits.js +545 -0
- package/lib/services/rate-limits.js.map +1 -0
- package/lib/services/realtime-kit.d.ts +2728 -0
- package/lib/services/realtime-kit.d.ts.map +1 -0
- package/lib/services/realtime-kit.js +5402 -0
- package/lib/services/realtime-kit.js.map +1 -0
- package/lib/services/registrar.d.ts +121 -0
- package/lib/services/registrar.d.ts.map +1 -0
- package/lib/services/registrar.js +167 -0
- package/lib/services/registrar.js.map +1 -0
- package/lib/services/request-tracers.d.ts +61 -0
- package/lib/services/request-tracers.d.ts.map +1 -0
- package/lib/services/request-tracers.js +85 -0
- package/lib/services/request-tracers.js.map +1 -0
- package/lib/services/resource-sharing.d.ts +622 -0
- package/lib/services/resource-sharing.d.ts.map +1 -0
- package/lib/services/resource-sharing.js +929 -0
- package/lib/services/resource-sharing.js.map +1 -0
- package/lib/services/rules.d.ts +346 -0
- package/lib/services/rules.d.ts.map +1 -0
- package/lib/services/rules.js +431 -0
- package/lib/services/rules.js.map +1 -0
- package/lib/services/rulesets.d.ts +3345 -0
- package/lib/services/rulesets.d.ts.map +1 -0
- package/lib/services/rulesets.js +7904 -0
- package/lib/services/rulesets.js.map +1 -0
- package/lib/services/rum.d.ts +314 -0
- package/lib/services/rum.d.ts.map +1 -0
- package/lib/services/rum.js +442 -0
- package/lib/services/rum.js.map +1 -0
- package/lib/services/schema-validation.d.ts +273 -0
- package/lib/services/schema-validation.d.ts.map +1 -0
- package/lib/services/schema-validation.js +365 -0
- package/lib/services/schema-validation.js.map +1 -0
- package/lib/services/secrets-store.d.ts +393 -0
- package/lib/services/secrets-store.d.ts.map +1 -0
- package/lib/services/secrets-store.js +452 -0
- package/lib/services/secrets-store.js.map +1 -0
- package/lib/services/security-center.d.ts +136 -0
- package/lib/services/security-center.d.ts.map +1 -0
- package/lib/services/security-center.js +196 -0
- package/lib/services/security-center.js.map +1 -0
- package/lib/services/security-txt.d.ts +105 -0
- package/lib/services/security-txt.d.ts.map +1 -0
- package/lib/services/security-txt.js +136 -0
- package/lib/services/security-txt.js.map +1 -0
- package/lib/services/snippets.d.ts +190 -0
- package/lib/services/snippets.d.ts.map +1 -0
- package/lib/services/snippets.js +221 -0
- package/lib/services/snippets.js.map +1 -0
- package/lib/services/spectrum.d.ts +350 -0
- package/lib/services/spectrum.d.ts.map +1 -0
- package/lib/services/spectrum.js +535 -0
- package/lib/services/spectrum.js.map +1 -0
- package/lib/services/speed.d.ts +257 -0
- package/lib/services/speed.d.ts.map +1 -0
- package/lib/services/speed.js +471 -0
- package/lib/services/speed.js.map +1 -0
- package/lib/services/ssl.d.ts +412 -0
- package/lib/services/ssl.d.ts.map +1 -0
- package/lib/services/ssl.js +755 -0
- package/lib/services/ssl.js.map +1 -0
- package/lib/services/stream.d.ts +1110 -0
- package/lib/services/stream.d.ts.map +1 -0
- package/lib/services/stream.js +1085 -0
- package/lib/services/stream.js.map +1 -0
- package/lib/services/token-validation.d.ts +662 -0
- package/lib/services/token-validation.d.ts.map +1 -0
- package/lib/services/token-validation.js +834 -0
- package/lib/services/token-validation.js.map +1 -0
- package/lib/services/turnstile.d.ts +272 -0
- package/lib/services/turnstile.d.ts.map +1 -0
- package/lib/services/turnstile.js +339 -0
- package/lib/services/turnstile.js.map +1 -0
- package/lib/services/url-normalization.d.ts +53 -0
- package/lib/services/url-normalization.d.ts.map +1 -0
- package/lib/services/url-normalization.js +52 -0
- package/lib/services/url-normalization.js.map +1 -0
- package/lib/services/url-scanner.d.ts +612 -0
- package/lib/services/url-scanner.d.ts.map +1 -0
- package/lib/services/url-scanner.js +915 -0
- package/lib/services/url-scanner.js.map +1 -0
- package/lib/services/user.d.ts +507 -0
- package/lib/services/user.d.ts.map +1 -0
- package/lib/services/user.js +634 -0
- package/lib/services/user.js.map +1 -0
- package/lib/services/vectorize.d.ts +297 -0
- package/lib/services/vectorize.d.ts.map +1 -0
- package/lib/services/vectorize.js +351 -0
- package/lib/services/vectorize.js.map +1 -0
- package/lib/services/waiting-rooms.d.ts +1149 -0
- package/lib/services/waiting-rooms.d.ts.map +1 -0
- package/lib/services/waiting-rooms.js +1859 -0
- package/lib/services/waiting-rooms.js.map +1 -0
- package/lib/services/web3.d.ts +289 -0
- package/lib/services/web3.d.ts.map +1 -0
- package/lib/services/web3.js +381 -0
- package/lib/services/web3.js.map +1 -0
- package/lib/services/workers-for-platforms.d.ts +1394 -0
- package/lib/services/workers-for-platforms.d.ts.map +1 -0
- package/lib/services/workers-for-platforms.js +2121 -0
- package/lib/services/workers-for-platforms.js.map +1 -0
- package/lib/services/workers.d.ts +3827 -0
- package/lib/services/workers.d.ts.map +1 -0
- package/lib/services/workers.js +6105 -0
- package/lib/services/workers.js.map +1 -0
- package/lib/services/workflows.d.ts +442 -0
- package/lib/services/workflows.d.ts.map +1 -0
- package/lib/services/workflows.js +599 -0
- package/lib/services/workflows.js.map +1 -0
- package/lib/services/zaraz.d.ts +312 -0
- package/lib/services/zaraz.d.ts.map +1 -0
- package/lib/services/zaraz.js +305 -0
- package/lib/services/zaraz.js.map +1 -0
- package/lib/services/zero-trust.d.ts +18235 -0
- package/lib/services/zero-trust.d.ts.map +1 -0
- package/lib/services/zero-trust.js +30268 -0
- package/lib/services/zero-trust.js.map +1 -0
- package/lib/services/zones.d.ts +1382 -0
- package/lib/services/zones.d.ts.map +1 -0
- package/lib/services/zones.js +2477 -0
- package/lib/services/zones.js.map +1 -0
- package/lib/traits.d.ts +28 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +26 -0
- package/lib/traits.js.map +1 -0
- package/package.json +82 -0
- package/src/auth.ts +15 -0
- package/src/category.ts +1 -0
- package/src/client/api.ts +421 -0
- package/src/client/index.ts +7 -0
- package/src/credentials.ts +271 -0
- package/src/errors.ts +73 -0
- package/src/index.ts +9 -0
- package/src/retry.ts +35 -0
- package/src/schemas.ts +51 -0
- package/src/sensitive.ts +4 -0
- package/src/services/abuse-reports.ts +955 -0
- package/src/services/accounts.ts +2152 -0
- package/src/services/acm.ts +178 -0
- package/src/services/addressing.ts +4262 -0
- package/src/services/ai-gateway.ts +3773 -0
- package/src/services/ai.ts +901 -0
- package/src/services/aisearch.ts +5215 -0
- package/src/services/alerting.ts +3303 -0
- package/src/services/api-gateway.ts +3890 -0
- package/src/services/argo.ts +270 -0
- package/src/services/audit-logs.ts +90 -0
- package/src/services/billing.ts +176 -0
- package/src/services/bot-management.ts +545 -0
- package/src/services/botnet-feed.ts +205 -0
- package/src/services/brand-protection.ts +575 -0
- package/src/services/browser-rendering.ts +2720 -0
- package/src/services/cache.ts +877 -0
- package/src/services/calls.ts +548 -0
- package/src/services/certificate-authorities.ts +114 -0
- package/src/services/client-certificates.ts +815 -0
- package/src/services/cloud-connector.ts +248 -0
- package/src/services/cloudforce-one.ts +4104 -0
- package/src/services/connectivity.ts +706 -0
- package/src/services/content-scanning.ts +458 -0
- package/src/services/custom-certificates.ts +690 -0
- package/src/services/custom-hostnames.ts +2641 -0
- package/src/services/custom-nameservers.ts +235 -0
- package/src/services/custom-pages.ts +311 -0
- package/src/services/d1.ts +1208 -0
- package/src/services/dcv-delegation.ts +54 -0
- package/src/services/diagnostics.ts +677 -0
- package/src/services/dns-firewall.ts +904 -0
- package/src/services/dns.ts +9277 -0
- package/src/services/durable-objects.ts +237 -0
- package/src/services/email-routing.ts +1796 -0
- package/src/services/email-security.ts +5052 -0
- package/src/services/filters.ts +488 -0
- package/src/services/firewall.ts +4728 -0
- package/src/services/healthchecks.ts +1866 -0
- package/src/services/hostnames.ts +254 -0
- package/src/services/hyperdrive.ts +595 -0
- package/src/services/iam.ts +1969 -0
- package/src/services/images.ts +1180 -0
- package/src/services/intel.ts +3072 -0
- package/src/services/ips.ts +88 -0
- package/src/services/keyless-certificates.ts +509 -0
- package/src/services/kv.ts +1129 -0
- package/src/services/leaked-credential-checks.ts +364 -0
- package/src/services/load-balancers.ts +6993 -0
- package/src/services/logpush.ts +1695 -0
- package/src/services/logs.ts +389 -0
- package/src/services/magic-cloud-networking.ts +10747 -0
- package/src/services/magic-network-monitoring.ts +1200 -0
- package/src/services/magic-transit.ts +13673 -0
- package/src/services/managed-transforms.ts +245 -0
- package/src/services/memberships.ts +698 -0
- package/src/services/mtls-certificates.ts +444 -0
- package/src/services/network-interconnects.ts +1253 -0
- package/src/services/organizations.ts +738 -0
- package/src/services/origin-ca-certificates.ts +369 -0
- package/src/services/origin-post-quantum-encryption.ts +136 -0
- package/src/services/origin-tls-client-auth.ts +1002 -0
- package/src/services/page-rules.ts +2632 -0
- package/src/services/page-shield.ts +1371 -0
- package/src/services/pages.ts +6167 -0
- package/src/services/pipelines.ts +6455 -0
- package/src/services/queues.ts +2827 -0
- package/src/services/r2-data-catalog.ts +1151 -0
- package/src/services/r2.ts +3529 -0
- package/src/services/radar.ts +42836 -0
- package/src/services/rate-limits.ts +1252 -0
- package/src/services/realtime-kit.ts +11080 -0
- package/src/services/registrar.ts +390 -0
- package/src/services/request-tracers.ts +161 -0
- package/src/services/resource-sharing.ts +2082 -0
- package/src/services/rules.ts +953 -0
- package/src/services/rulesets.ts +15361 -0
- package/src/services/rum.ts +994 -0
- package/src/services/schema-validation.ts +869 -0
- package/src/services/secrets-store.ts +1050 -0
- package/src/services/security-center.ts +495 -0
- package/src/services/security-txt.ts +317 -0
- package/src/services/snippets.ts +562 -0
- package/src/services/spectrum.ts +1190 -0
- package/src/services/speed.ts +1154 -0
- package/src/services/ssl.ts +1714 -0
- package/src/services/stream.ts +3008 -0
- package/src/services/token-validation.ts +1825 -0
- package/src/services/turnstile.ts +725 -0
- package/src/services/url-normalization.ts +133 -0
- package/src/services/url-scanner.ts +1851 -0
- package/src/services/user.ts +1587 -0
- package/src/services/vectorize.ts +875 -0
- package/src/services/waiting-rooms.ts +4216 -0
- package/src/services/web3.ts +899 -0
- package/src/services/workers-for-platforms.ts +4134 -0
- package/src/services/workers.ts +12298 -0
- package/src/services/workflows.ts +1372 -0
- package/src/services/zaraz.ts +833 -0
- package/src/services/zero-trust.ts +64685 -0
- package/src/services/zones.ts +5106 -0
- package/src/traits.ts +47 -0
|
@@ -0,0 +1,773 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cloudflare PAGE-RULES API
|
|
3
|
+
*
|
|
4
|
+
* Generated from Cloudflare TypeScript SDK.
|
|
5
|
+
* DO NOT EDIT - regenerate with: bun scripts/generate.ts --service page-rules
|
|
6
|
+
*/
|
|
7
|
+
import * as Schema from "effect/Schema";
|
|
8
|
+
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
9
|
+
import * as API from "../client/api.ts";
|
|
10
|
+
import type { Credentials } from "../credentials.ts";
|
|
11
|
+
import { type DefaultErrors } from "../errors.ts";
|
|
12
|
+
export interface GetPageRuleRequest {
|
|
13
|
+
pageruleId: string;
|
|
14
|
+
/** Identifier. */
|
|
15
|
+
zoneId: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const GetPageRuleRequest: Schema.Schema<GetPageRuleRequest>;
|
|
18
|
+
export interface GetPageRuleResponse {
|
|
19
|
+
/** Identifier. */
|
|
20
|
+
id: string;
|
|
21
|
+
/** The set of actions to perform if the targets of this rule match the request. Actions can redirect to another URL or override settings, but not both. */
|
|
22
|
+
actions: (unknown | {
|
|
23
|
+
id?: "bypass_cache_on_cookie" | null;
|
|
24
|
+
value?: string | null;
|
|
25
|
+
} | {
|
|
26
|
+
id?: "cache_by_device_type" | null;
|
|
27
|
+
value?: "on" | "off" | null;
|
|
28
|
+
} | {
|
|
29
|
+
id?: "cache_deception_armor" | null;
|
|
30
|
+
value?: "on" | "off" | null;
|
|
31
|
+
} | {
|
|
32
|
+
id?: "cache_key_fields" | null;
|
|
33
|
+
value?: {
|
|
34
|
+
cookie?: {
|
|
35
|
+
checkPresence?: string[] | null;
|
|
36
|
+
include?: string[] | null;
|
|
37
|
+
} | null;
|
|
38
|
+
header?: {
|
|
39
|
+
checkPresence?: string[] | null;
|
|
40
|
+
exclude?: string[] | null;
|
|
41
|
+
include?: string[] | null;
|
|
42
|
+
} | null;
|
|
43
|
+
host?: {
|
|
44
|
+
resolved?: boolean | null;
|
|
45
|
+
} | null;
|
|
46
|
+
queryString?: {
|
|
47
|
+
exclude?: "*" | string[] | null;
|
|
48
|
+
include?: "*" | string[] | null;
|
|
49
|
+
} | null;
|
|
50
|
+
user?: {
|
|
51
|
+
deviceType?: boolean | null;
|
|
52
|
+
geo?: boolean | null;
|
|
53
|
+
lang?: boolean | null;
|
|
54
|
+
} | null;
|
|
55
|
+
} | null;
|
|
56
|
+
} | {
|
|
57
|
+
id?: "cache_on_cookie" | null;
|
|
58
|
+
value?: string | null;
|
|
59
|
+
} | {
|
|
60
|
+
id?: "cache_ttl_by_status" | null;
|
|
61
|
+
value?: Record<string, unknown> | null;
|
|
62
|
+
} | {
|
|
63
|
+
id?: "disable_apps" | null;
|
|
64
|
+
} | {
|
|
65
|
+
id?: "disable_performance" | null;
|
|
66
|
+
} | {
|
|
67
|
+
id?: "disable_security" | null;
|
|
68
|
+
} | {
|
|
69
|
+
id?: "disable_zaraz" | null;
|
|
70
|
+
} | {
|
|
71
|
+
id?: "edge_cache_ttl" | null;
|
|
72
|
+
value?: number | null;
|
|
73
|
+
} | {
|
|
74
|
+
id?: "explicit_cache_control" | null;
|
|
75
|
+
value?: "on" | "off" | null;
|
|
76
|
+
} | {
|
|
77
|
+
id?: "forwarding_url" | null;
|
|
78
|
+
value?: {
|
|
79
|
+
statusCode?: "301" | "302" | null;
|
|
80
|
+
url?: string | null;
|
|
81
|
+
} | null;
|
|
82
|
+
} | {
|
|
83
|
+
id?: "host_header_override" | null;
|
|
84
|
+
value?: string | null;
|
|
85
|
+
} | {
|
|
86
|
+
id?: "resolve_override" | null;
|
|
87
|
+
value?: string | null;
|
|
88
|
+
} | {
|
|
89
|
+
id?: "respect_strong_etag" | null;
|
|
90
|
+
value?: "on" | "off" | null;
|
|
91
|
+
})[];
|
|
92
|
+
/** The timestamp of when the Page Rule was created. */
|
|
93
|
+
createdOn: string;
|
|
94
|
+
/** The timestamp of when the Page Rule was last modified. */
|
|
95
|
+
modifiedOn: string;
|
|
96
|
+
/** The priority of the rule, used to define which Page Rule is processed over another. A higher number indicates a higher priority. For example, if you have a catch-all Page Rule (rule A: `/images/ `) bu */
|
|
97
|
+
priority: number;
|
|
98
|
+
/** The status of the Page Rule. */
|
|
99
|
+
status: "active" | "disabled";
|
|
100
|
+
/** The rule targets to evaluate on each request. */
|
|
101
|
+
targets: {
|
|
102
|
+
constraint?: {
|
|
103
|
+
operator: "matches" | "contains" | "equals" | "not_equal" | "not_contain";
|
|
104
|
+
value: string;
|
|
105
|
+
} | null;
|
|
106
|
+
target?: "url" | null;
|
|
107
|
+
}[];
|
|
108
|
+
}
|
|
109
|
+
export declare const GetPageRuleResponse: Schema.Schema<GetPageRuleResponse>;
|
|
110
|
+
export type GetPageRuleError = DefaultErrors;
|
|
111
|
+
export declare const getPageRule: API.OperationMethod<GetPageRuleRequest, GetPageRuleResponse, GetPageRuleError, Credentials | HttpClient.HttpClient>;
|
|
112
|
+
export interface ListPageRulesRequest {
|
|
113
|
+
/** Path param: Identifier. */
|
|
114
|
+
zoneId: string;
|
|
115
|
+
/** Query param: The direction used to sort returned Page Rules. */
|
|
116
|
+
direction?: "asc" | "desc";
|
|
117
|
+
/** Query param: When set to `all`, all the search requirements must match. When set to `any`, only one of the search requirements has to match. */
|
|
118
|
+
match?: "any" | "all";
|
|
119
|
+
/** Query param: The field used to sort returned Page Rules. */
|
|
120
|
+
order?: "status" | "priority";
|
|
121
|
+
/** Query param: The status of the Page Rule. */
|
|
122
|
+
status?: "active" | "disabled";
|
|
123
|
+
}
|
|
124
|
+
export declare const ListPageRulesRequest: Schema.Schema<ListPageRulesRequest>;
|
|
125
|
+
export type ListPageRulesResponse = {
|
|
126
|
+
id: string;
|
|
127
|
+
actions: (unknown | {
|
|
128
|
+
id?: "bypass_cache_on_cookie" | null;
|
|
129
|
+
value?: string | null;
|
|
130
|
+
} | {
|
|
131
|
+
id?: "cache_by_device_type" | null;
|
|
132
|
+
value?: "on" | "off" | null;
|
|
133
|
+
} | {
|
|
134
|
+
id?: "cache_deception_armor" | null;
|
|
135
|
+
value?: "on" | "off" | null;
|
|
136
|
+
} | {
|
|
137
|
+
id?: "cache_key_fields" | null;
|
|
138
|
+
value?: {
|
|
139
|
+
cookie?: {
|
|
140
|
+
checkPresence?: string[] | null;
|
|
141
|
+
include?: string[] | null;
|
|
142
|
+
} | null;
|
|
143
|
+
header?: {
|
|
144
|
+
checkPresence?: string[] | null;
|
|
145
|
+
exclude?: string[] | null;
|
|
146
|
+
include?: string[] | null;
|
|
147
|
+
} | null;
|
|
148
|
+
host?: {
|
|
149
|
+
resolved?: boolean | null;
|
|
150
|
+
} | null;
|
|
151
|
+
queryString?: {
|
|
152
|
+
exclude?: "*" | string[] | null;
|
|
153
|
+
include?: "*" | string[] | null;
|
|
154
|
+
} | null;
|
|
155
|
+
user?: {
|
|
156
|
+
deviceType?: boolean | null;
|
|
157
|
+
geo?: boolean | null;
|
|
158
|
+
lang?: boolean | null;
|
|
159
|
+
} | null;
|
|
160
|
+
} | null;
|
|
161
|
+
} | {
|
|
162
|
+
id?: "cache_on_cookie" | null;
|
|
163
|
+
value?: string | null;
|
|
164
|
+
} | {
|
|
165
|
+
id?: "cache_ttl_by_status" | null;
|
|
166
|
+
value?: Record<string, unknown> | null;
|
|
167
|
+
} | {
|
|
168
|
+
id?: "disable_apps" | null;
|
|
169
|
+
} | {
|
|
170
|
+
id?: "disable_performance" | null;
|
|
171
|
+
} | {
|
|
172
|
+
id?: "disable_security" | null;
|
|
173
|
+
} | {
|
|
174
|
+
id?: "disable_zaraz" | null;
|
|
175
|
+
} | {
|
|
176
|
+
id?: "edge_cache_ttl" | null;
|
|
177
|
+
value?: number | null;
|
|
178
|
+
} | {
|
|
179
|
+
id?: "explicit_cache_control" | null;
|
|
180
|
+
value?: "on" | "off" | null;
|
|
181
|
+
} | {
|
|
182
|
+
id?: "forwarding_url" | null;
|
|
183
|
+
value?: {
|
|
184
|
+
statusCode?: "301" | "302" | null;
|
|
185
|
+
url?: string | null;
|
|
186
|
+
} | null;
|
|
187
|
+
} | {
|
|
188
|
+
id?: "host_header_override" | null;
|
|
189
|
+
value?: string | null;
|
|
190
|
+
} | {
|
|
191
|
+
id?: "resolve_override" | null;
|
|
192
|
+
value?: string | null;
|
|
193
|
+
} | {
|
|
194
|
+
id?: "respect_strong_etag" | null;
|
|
195
|
+
value?: "on" | "off" | null;
|
|
196
|
+
})[];
|
|
197
|
+
createdOn: string;
|
|
198
|
+
modifiedOn: string;
|
|
199
|
+
priority: number;
|
|
200
|
+
status: "active" | "disabled";
|
|
201
|
+
targets: {
|
|
202
|
+
constraint?: {
|
|
203
|
+
operator: "matches" | "contains" | "equals" | "not_equal" | "not_contain";
|
|
204
|
+
value: string;
|
|
205
|
+
} | null;
|
|
206
|
+
target?: "url" | null;
|
|
207
|
+
}[];
|
|
208
|
+
}[];
|
|
209
|
+
export declare const ListPageRulesResponse: Schema.Schema<ListPageRulesResponse>;
|
|
210
|
+
export type ListPageRulesError = DefaultErrors;
|
|
211
|
+
export declare const listPageRules: API.OperationMethod<ListPageRulesRequest, ListPageRulesResponse, ListPageRulesError, Credentials | HttpClient.HttpClient>;
|
|
212
|
+
export interface CreatePageRuleRequest {
|
|
213
|
+
/** Path param: Identifier. */
|
|
214
|
+
zoneId: string;
|
|
215
|
+
/** Body param: The set of actions to perform if the targets of this rule match the request. Actions can redirect to another URL or override settings, but not both. */
|
|
216
|
+
actions: (unknown | {
|
|
217
|
+
id?: "bypass_cache_on_cookie";
|
|
218
|
+
value?: string;
|
|
219
|
+
} | {
|
|
220
|
+
id?: "cache_by_device_type";
|
|
221
|
+
value?: "on" | "off";
|
|
222
|
+
} | {
|
|
223
|
+
id?: "cache_deception_armor";
|
|
224
|
+
value?: "on" | "off";
|
|
225
|
+
} | {
|
|
226
|
+
id?: "cache_key_fields";
|
|
227
|
+
value?: {
|
|
228
|
+
cookie?: {
|
|
229
|
+
checkPresence?: string[];
|
|
230
|
+
include?: string[];
|
|
231
|
+
};
|
|
232
|
+
header?: {
|
|
233
|
+
checkPresence?: string[];
|
|
234
|
+
exclude?: string[];
|
|
235
|
+
include?: string[];
|
|
236
|
+
};
|
|
237
|
+
host?: {
|
|
238
|
+
resolved?: boolean;
|
|
239
|
+
};
|
|
240
|
+
queryString?: {
|
|
241
|
+
exclude?: "*" | string[];
|
|
242
|
+
include?: "*" | string[];
|
|
243
|
+
};
|
|
244
|
+
user?: {
|
|
245
|
+
deviceType?: boolean;
|
|
246
|
+
geo?: boolean;
|
|
247
|
+
lang?: boolean;
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
} | {
|
|
251
|
+
id?: "cache_on_cookie";
|
|
252
|
+
value?: string;
|
|
253
|
+
} | {
|
|
254
|
+
id?: "cache_ttl_by_status";
|
|
255
|
+
value?: Record<string, unknown>;
|
|
256
|
+
} | {
|
|
257
|
+
id?: "disable_apps";
|
|
258
|
+
} | {
|
|
259
|
+
id?: "disable_performance";
|
|
260
|
+
} | {
|
|
261
|
+
id?: "disable_security";
|
|
262
|
+
} | {
|
|
263
|
+
id?: "disable_zaraz";
|
|
264
|
+
} | {
|
|
265
|
+
id?: "edge_cache_ttl";
|
|
266
|
+
value?: number;
|
|
267
|
+
} | {
|
|
268
|
+
id?: "explicit_cache_control";
|
|
269
|
+
value?: "on" | "off";
|
|
270
|
+
} | {
|
|
271
|
+
id?: "forwarding_url";
|
|
272
|
+
value?: {
|
|
273
|
+
statusCode?: "301" | "302";
|
|
274
|
+
url?: string;
|
|
275
|
+
};
|
|
276
|
+
} | {
|
|
277
|
+
id?: "host_header_override";
|
|
278
|
+
value?: string;
|
|
279
|
+
} | {
|
|
280
|
+
id?: "resolve_override";
|
|
281
|
+
value?: string;
|
|
282
|
+
} | {
|
|
283
|
+
id?: "respect_strong_etag";
|
|
284
|
+
value?: "on" | "off";
|
|
285
|
+
})[];
|
|
286
|
+
/** Body param: The rule targets to evaluate on each request. */
|
|
287
|
+
targets: {
|
|
288
|
+
constraint?: {
|
|
289
|
+
operator: "matches" | "contains" | "equals" | "not_equal" | "not_contain";
|
|
290
|
+
value: string;
|
|
291
|
+
};
|
|
292
|
+
target?: "url";
|
|
293
|
+
}[];
|
|
294
|
+
/** Body param: The priority of the rule, used to define which Page Rule is processed over another. A higher number indicates a higher priority. For example, if you have a catch-all Page Rule (rule A: `/i */
|
|
295
|
+
priority?: number;
|
|
296
|
+
/** Body param: The status of the Page Rule. */
|
|
297
|
+
status?: "active" | "disabled";
|
|
298
|
+
}
|
|
299
|
+
export declare const CreatePageRuleRequest: Schema.Schema<CreatePageRuleRequest>;
|
|
300
|
+
export interface CreatePageRuleResponse {
|
|
301
|
+
/** Identifier. */
|
|
302
|
+
id: string;
|
|
303
|
+
/** The set of actions to perform if the targets of this rule match the request. Actions can redirect to another URL or override settings, but not both. */
|
|
304
|
+
actions: (unknown | {
|
|
305
|
+
id?: "bypass_cache_on_cookie" | null;
|
|
306
|
+
value?: string | null;
|
|
307
|
+
} | {
|
|
308
|
+
id?: "cache_by_device_type" | null;
|
|
309
|
+
value?: "on" | "off" | null;
|
|
310
|
+
} | {
|
|
311
|
+
id?: "cache_deception_armor" | null;
|
|
312
|
+
value?: "on" | "off" | null;
|
|
313
|
+
} | {
|
|
314
|
+
id?: "cache_key_fields" | null;
|
|
315
|
+
value?: {
|
|
316
|
+
cookie?: {
|
|
317
|
+
checkPresence?: string[] | null;
|
|
318
|
+
include?: string[] | null;
|
|
319
|
+
} | null;
|
|
320
|
+
header?: {
|
|
321
|
+
checkPresence?: string[] | null;
|
|
322
|
+
exclude?: string[] | null;
|
|
323
|
+
include?: string[] | null;
|
|
324
|
+
} | null;
|
|
325
|
+
host?: {
|
|
326
|
+
resolved?: boolean | null;
|
|
327
|
+
} | null;
|
|
328
|
+
queryString?: {
|
|
329
|
+
exclude?: "*" | string[] | null;
|
|
330
|
+
include?: "*" | string[] | null;
|
|
331
|
+
} | null;
|
|
332
|
+
user?: {
|
|
333
|
+
deviceType?: boolean | null;
|
|
334
|
+
geo?: boolean | null;
|
|
335
|
+
lang?: boolean | null;
|
|
336
|
+
} | null;
|
|
337
|
+
} | null;
|
|
338
|
+
} | {
|
|
339
|
+
id?: "cache_on_cookie" | null;
|
|
340
|
+
value?: string | null;
|
|
341
|
+
} | {
|
|
342
|
+
id?: "cache_ttl_by_status" | null;
|
|
343
|
+
value?: Record<string, unknown> | null;
|
|
344
|
+
} | {
|
|
345
|
+
id?: "disable_apps" | null;
|
|
346
|
+
} | {
|
|
347
|
+
id?: "disable_performance" | null;
|
|
348
|
+
} | {
|
|
349
|
+
id?: "disable_security" | null;
|
|
350
|
+
} | {
|
|
351
|
+
id?: "disable_zaraz" | null;
|
|
352
|
+
} | {
|
|
353
|
+
id?: "edge_cache_ttl" | null;
|
|
354
|
+
value?: number | null;
|
|
355
|
+
} | {
|
|
356
|
+
id?: "explicit_cache_control" | null;
|
|
357
|
+
value?: "on" | "off" | null;
|
|
358
|
+
} | {
|
|
359
|
+
id?: "forwarding_url" | null;
|
|
360
|
+
value?: {
|
|
361
|
+
statusCode?: "301" | "302" | null;
|
|
362
|
+
url?: string | null;
|
|
363
|
+
} | null;
|
|
364
|
+
} | {
|
|
365
|
+
id?: "host_header_override" | null;
|
|
366
|
+
value?: string | null;
|
|
367
|
+
} | {
|
|
368
|
+
id?: "resolve_override" | null;
|
|
369
|
+
value?: string | null;
|
|
370
|
+
} | {
|
|
371
|
+
id?: "respect_strong_etag" | null;
|
|
372
|
+
value?: "on" | "off" | null;
|
|
373
|
+
})[];
|
|
374
|
+
/** The timestamp of when the Page Rule was created. */
|
|
375
|
+
createdOn: string;
|
|
376
|
+
/** The timestamp of when the Page Rule was last modified. */
|
|
377
|
+
modifiedOn: string;
|
|
378
|
+
/** The priority of the rule, used to define which Page Rule is processed over another. A higher number indicates a higher priority. For example, if you have a catch-all Page Rule (rule A: `/images/ `) bu */
|
|
379
|
+
priority: number;
|
|
380
|
+
/** The status of the Page Rule. */
|
|
381
|
+
status: "active" | "disabled";
|
|
382
|
+
/** The rule targets to evaluate on each request. */
|
|
383
|
+
targets: {
|
|
384
|
+
constraint?: {
|
|
385
|
+
operator: "matches" | "contains" | "equals" | "not_equal" | "not_contain";
|
|
386
|
+
value: string;
|
|
387
|
+
} | null;
|
|
388
|
+
target?: "url" | null;
|
|
389
|
+
}[];
|
|
390
|
+
}
|
|
391
|
+
export declare const CreatePageRuleResponse: Schema.Schema<CreatePageRuleResponse>;
|
|
392
|
+
export type CreatePageRuleError = DefaultErrors;
|
|
393
|
+
export declare const createPageRule: API.OperationMethod<CreatePageRuleRequest, CreatePageRuleResponse, CreatePageRuleError, Credentials | HttpClient.HttpClient>;
|
|
394
|
+
export interface UpdatePageRuleRequest {
|
|
395
|
+
pageruleId: string;
|
|
396
|
+
/** Path param: Identifier. */
|
|
397
|
+
zoneId: string;
|
|
398
|
+
/** Body param: The set of actions to perform if the targets of this rule match the request. Actions can redirect to another URL or override settings, but not both. */
|
|
399
|
+
actions: (unknown | {
|
|
400
|
+
id?: "bypass_cache_on_cookie";
|
|
401
|
+
value?: string;
|
|
402
|
+
} | {
|
|
403
|
+
id?: "cache_by_device_type";
|
|
404
|
+
value?: "on" | "off";
|
|
405
|
+
} | {
|
|
406
|
+
id?: "cache_deception_armor";
|
|
407
|
+
value?: "on" | "off";
|
|
408
|
+
} | {
|
|
409
|
+
id?: "cache_key_fields";
|
|
410
|
+
value?: {
|
|
411
|
+
cookie?: {
|
|
412
|
+
checkPresence?: string[];
|
|
413
|
+
include?: string[];
|
|
414
|
+
};
|
|
415
|
+
header?: {
|
|
416
|
+
checkPresence?: string[];
|
|
417
|
+
exclude?: string[];
|
|
418
|
+
include?: string[];
|
|
419
|
+
};
|
|
420
|
+
host?: {
|
|
421
|
+
resolved?: boolean;
|
|
422
|
+
};
|
|
423
|
+
queryString?: {
|
|
424
|
+
exclude?: "*" | string[];
|
|
425
|
+
include?: "*" | string[];
|
|
426
|
+
};
|
|
427
|
+
user?: {
|
|
428
|
+
deviceType?: boolean;
|
|
429
|
+
geo?: boolean;
|
|
430
|
+
lang?: boolean;
|
|
431
|
+
};
|
|
432
|
+
};
|
|
433
|
+
} | {
|
|
434
|
+
id?: "cache_on_cookie";
|
|
435
|
+
value?: string;
|
|
436
|
+
} | {
|
|
437
|
+
id?: "cache_ttl_by_status";
|
|
438
|
+
value?: Record<string, unknown>;
|
|
439
|
+
} | {
|
|
440
|
+
id?: "disable_apps";
|
|
441
|
+
} | {
|
|
442
|
+
id?: "disable_performance";
|
|
443
|
+
} | {
|
|
444
|
+
id?: "disable_security";
|
|
445
|
+
} | {
|
|
446
|
+
id?: "disable_zaraz";
|
|
447
|
+
} | {
|
|
448
|
+
id?: "edge_cache_ttl";
|
|
449
|
+
value?: number;
|
|
450
|
+
} | {
|
|
451
|
+
id?: "explicit_cache_control";
|
|
452
|
+
value?: "on" | "off";
|
|
453
|
+
} | {
|
|
454
|
+
id?: "forwarding_url";
|
|
455
|
+
value?: {
|
|
456
|
+
statusCode?: "301" | "302";
|
|
457
|
+
url?: string;
|
|
458
|
+
};
|
|
459
|
+
} | {
|
|
460
|
+
id?: "host_header_override";
|
|
461
|
+
value?: string;
|
|
462
|
+
} | {
|
|
463
|
+
id?: "resolve_override";
|
|
464
|
+
value?: string;
|
|
465
|
+
} | {
|
|
466
|
+
id?: "respect_strong_etag";
|
|
467
|
+
value?: "on" | "off";
|
|
468
|
+
})[];
|
|
469
|
+
/** Body param: The rule targets to evaluate on each request. */
|
|
470
|
+
targets: {
|
|
471
|
+
constraint?: {
|
|
472
|
+
operator: "matches" | "contains" | "equals" | "not_equal" | "not_contain";
|
|
473
|
+
value: string;
|
|
474
|
+
};
|
|
475
|
+
target?: "url";
|
|
476
|
+
}[];
|
|
477
|
+
/** Body param: The priority of the rule, used to define which Page Rule is processed over another. A higher number indicates a higher priority. For example, if you have a catch-all Page Rule (rule A: `/i */
|
|
478
|
+
priority?: number;
|
|
479
|
+
/** Body param: The status of the Page Rule. */
|
|
480
|
+
status?: "active" | "disabled";
|
|
481
|
+
}
|
|
482
|
+
export declare const UpdatePageRuleRequest: Schema.Schema<UpdatePageRuleRequest>;
|
|
483
|
+
export interface UpdatePageRuleResponse {
|
|
484
|
+
/** Identifier. */
|
|
485
|
+
id: string;
|
|
486
|
+
/** The set of actions to perform if the targets of this rule match the request. Actions can redirect to another URL or override settings, but not both. */
|
|
487
|
+
actions: (unknown | {
|
|
488
|
+
id?: "bypass_cache_on_cookie" | null;
|
|
489
|
+
value?: string | null;
|
|
490
|
+
} | {
|
|
491
|
+
id?: "cache_by_device_type" | null;
|
|
492
|
+
value?: "on" | "off" | null;
|
|
493
|
+
} | {
|
|
494
|
+
id?: "cache_deception_armor" | null;
|
|
495
|
+
value?: "on" | "off" | null;
|
|
496
|
+
} | {
|
|
497
|
+
id?: "cache_key_fields" | null;
|
|
498
|
+
value?: {
|
|
499
|
+
cookie?: {
|
|
500
|
+
checkPresence?: string[] | null;
|
|
501
|
+
include?: string[] | null;
|
|
502
|
+
} | null;
|
|
503
|
+
header?: {
|
|
504
|
+
checkPresence?: string[] | null;
|
|
505
|
+
exclude?: string[] | null;
|
|
506
|
+
include?: string[] | null;
|
|
507
|
+
} | null;
|
|
508
|
+
host?: {
|
|
509
|
+
resolved?: boolean | null;
|
|
510
|
+
} | null;
|
|
511
|
+
queryString?: {
|
|
512
|
+
exclude?: "*" | string[] | null;
|
|
513
|
+
include?: "*" | string[] | null;
|
|
514
|
+
} | null;
|
|
515
|
+
user?: {
|
|
516
|
+
deviceType?: boolean | null;
|
|
517
|
+
geo?: boolean | null;
|
|
518
|
+
lang?: boolean | null;
|
|
519
|
+
} | null;
|
|
520
|
+
} | null;
|
|
521
|
+
} | {
|
|
522
|
+
id?: "cache_on_cookie" | null;
|
|
523
|
+
value?: string | null;
|
|
524
|
+
} | {
|
|
525
|
+
id?: "cache_ttl_by_status" | null;
|
|
526
|
+
value?: Record<string, unknown> | null;
|
|
527
|
+
} | {
|
|
528
|
+
id?: "disable_apps" | null;
|
|
529
|
+
} | {
|
|
530
|
+
id?: "disable_performance" | null;
|
|
531
|
+
} | {
|
|
532
|
+
id?: "disable_security" | null;
|
|
533
|
+
} | {
|
|
534
|
+
id?: "disable_zaraz" | null;
|
|
535
|
+
} | {
|
|
536
|
+
id?: "edge_cache_ttl" | null;
|
|
537
|
+
value?: number | null;
|
|
538
|
+
} | {
|
|
539
|
+
id?: "explicit_cache_control" | null;
|
|
540
|
+
value?: "on" | "off" | null;
|
|
541
|
+
} | {
|
|
542
|
+
id?: "forwarding_url" | null;
|
|
543
|
+
value?: {
|
|
544
|
+
statusCode?: "301" | "302" | null;
|
|
545
|
+
url?: string | null;
|
|
546
|
+
} | null;
|
|
547
|
+
} | {
|
|
548
|
+
id?: "host_header_override" | null;
|
|
549
|
+
value?: string | null;
|
|
550
|
+
} | {
|
|
551
|
+
id?: "resolve_override" | null;
|
|
552
|
+
value?: string | null;
|
|
553
|
+
} | {
|
|
554
|
+
id?: "respect_strong_etag" | null;
|
|
555
|
+
value?: "on" | "off" | null;
|
|
556
|
+
})[];
|
|
557
|
+
/** The timestamp of when the Page Rule was created. */
|
|
558
|
+
createdOn: string;
|
|
559
|
+
/** The timestamp of when the Page Rule was last modified. */
|
|
560
|
+
modifiedOn: string;
|
|
561
|
+
/** The priority of the rule, used to define which Page Rule is processed over another. A higher number indicates a higher priority. For example, if you have a catch-all Page Rule (rule A: `/images/ `) bu */
|
|
562
|
+
priority: number;
|
|
563
|
+
/** The status of the Page Rule. */
|
|
564
|
+
status: "active" | "disabled";
|
|
565
|
+
/** The rule targets to evaluate on each request. */
|
|
566
|
+
targets: {
|
|
567
|
+
constraint?: {
|
|
568
|
+
operator: "matches" | "contains" | "equals" | "not_equal" | "not_contain";
|
|
569
|
+
value: string;
|
|
570
|
+
} | null;
|
|
571
|
+
target?: "url" | null;
|
|
572
|
+
}[];
|
|
573
|
+
}
|
|
574
|
+
export declare const UpdatePageRuleResponse: Schema.Schema<UpdatePageRuleResponse>;
|
|
575
|
+
export type UpdatePageRuleError = DefaultErrors;
|
|
576
|
+
export declare const updatePageRule: API.OperationMethod<UpdatePageRuleRequest, UpdatePageRuleResponse, UpdatePageRuleError, Credentials | HttpClient.HttpClient>;
|
|
577
|
+
export interface PatchPageRuleRequest {
|
|
578
|
+
pageruleId: string;
|
|
579
|
+
/** Path param: Identifier. */
|
|
580
|
+
zoneId: string;
|
|
581
|
+
/** Body param: The set of actions to perform if the targets of this rule match the request. Actions can redirect to another URL or override settings, but not both. */
|
|
582
|
+
actions?: (unknown | {
|
|
583
|
+
id?: "bypass_cache_on_cookie";
|
|
584
|
+
value?: string;
|
|
585
|
+
} | {
|
|
586
|
+
id?: "cache_by_device_type";
|
|
587
|
+
value?: "on" | "off";
|
|
588
|
+
} | {
|
|
589
|
+
id?: "cache_deception_armor";
|
|
590
|
+
value?: "on" | "off";
|
|
591
|
+
} | {
|
|
592
|
+
id?: "cache_key_fields";
|
|
593
|
+
value?: {
|
|
594
|
+
cookie?: {
|
|
595
|
+
checkPresence?: string[];
|
|
596
|
+
include?: string[];
|
|
597
|
+
};
|
|
598
|
+
header?: {
|
|
599
|
+
checkPresence?: string[];
|
|
600
|
+
exclude?: string[];
|
|
601
|
+
include?: string[];
|
|
602
|
+
};
|
|
603
|
+
host?: {
|
|
604
|
+
resolved?: boolean;
|
|
605
|
+
};
|
|
606
|
+
queryString?: {
|
|
607
|
+
exclude?: "*" | string[];
|
|
608
|
+
include?: "*" | string[];
|
|
609
|
+
};
|
|
610
|
+
user?: {
|
|
611
|
+
deviceType?: boolean;
|
|
612
|
+
geo?: boolean;
|
|
613
|
+
lang?: boolean;
|
|
614
|
+
};
|
|
615
|
+
};
|
|
616
|
+
} | {
|
|
617
|
+
id?: "cache_on_cookie";
|
|
618
|
+
value?: string;
|
|
619
|
+
} | {
|
|
620
|
+
id?: "cache_ttl_by_status";
|
|
621
|
+
value?: Record<string, unknown>;
|
|
622
|
+
} | {
|
|
623
|
+
id?: "disable_apps";
|
|
624
|
+
} | {
|
|
625
|
+
id?: "disable_performance";
|
|
626
|
+
} | {
|
|
627
|
+
id?: "disable_security";
|
|
628
|
+
} | {
|
|
629
|
+
id?: "disable_zaraz";
|
|
630
|
+
} | {
|
|
631
|
+
id?: "edge_cache_ttl";
|
|
632
|
+
value?: number;
|
|
633
|
+
} | {
|
|
634
|
+
id?: "explicit_cache_control";
|
|
635
|
+
value?: "on" | "off";
|
|
636
|
+
} | {
|
|
637
|
+
id?: "forwarding_url";
|
|
638
|
+
value?: {
|
|
639
|
+
statusCode?: "301" | "302";
|
|
640
|
+
url?: string;
|
|
641
|
+
};
|
|
642
|
+
} | {
|
|
643
|
+
id?: "host_header_override";
|
|
644
|
+
value?: string;
|
|
645
|
+
} | {
|
|
646
|
+
id?: "resolve_override";
|
|
647
|
+
value?: string;
|
|
648
|
+
} | {
|
|
649
|
+
id?: "respect_strong_etag";
|
|
650
|
+
value?: "on" | "off";
|
|
651
|
+
})[];
|
|
652
|
+
/** Body param: The priority of the rule, used to define which Page Rule is processed over another. A higher number indicates a higher priority. For example, if you have a catch-all Page Rule (rule A: `/i */
|
|
653
|
+
priority?: number;
|
|
654
|
+
/** Body param: The status of the Page Rule. */
|
|
655
|
+
status?: "active" | "disabled";
|
|
656
|
+
/** Body param: The rule targets to evaluate on each request. */
|
|
657
|
+
targets?: {
|
|
658
|
+
constraint?: {
|
|
659
|
+
operator: "matches" | "contains" | "equals" | "not_equal" | "not_contain";
|
|
660
|
+
value: string;
|
|
661
|
+
};
|
|
662
|
+
target?: "url";
|
|
663
|
+
}[];
|
|
664
|
+
}
|
|
665
|
+
export declare const PatchPageRuleRequest: Schema.Schema<PatchPageRuleRequest>;
|
|
666
|
+
export interface PatchPageRuleResponse {
|
|
667
|
+
/** Identifier. */
|
|
668
|
+
id: string;
|
|
669
|
+
/** The set of actions to perform if the targets of this rule match the request. Actions can redirect to another URL or override settings, but not both. */
|
|
670
|
+
actions: (unknown | {
|
|
671
|
+
id?: "bypass_cache_on_cookie" | null;
|
|
672
|
+
value?: string | null;
|
|
673
|
+
} | {
|
|
674
|
+
id?: "cache_by_device_type" | null;
|
|
675
|
+
value?: "on" | "off" | null;
|
|
676
|
+
} | {
|
|
677
|
+
id?: "cache_deception_armor" | null;
|
|
678
|
+
value?: "on" | "off" | null;
|
|
679
|
+
} | {
|
|
680
|
+
id?: "cache_key_fields" | null;
|
|
681
|
+
value?: {
|
|
682
|
+
cookie?: {
|
|
683
|
+
checkPresence?: string[] | null;
|
|
684
|
+
include?: string[] | null;
|
|
685
|
+
} | null;
|
|
686
|
+
header?: {
|
|
687
|
+
checkPresence?: string[] | null;
|
|
688
|
+
exclude?: string[] | null;
|
|
689
|
+
include?: string[] | null;
|
|
690
|
+
} | null;
|
|
691
|
+
host?: {
|
|
692
|
+
resolved?: boolean | null;
|
|
693
|
+
} | null;
|
|
694
|
+
queryString?: {
|
|
695
|
+
exclude?: "*" | string[] | null;
|
|
696
|
+
include?: "*" | string[] | null;
|
|
697
|
+
} | null;
|
|
698
|
+
user?: {
|
|
699
|
+
deviceType?: boolean | null;
|
|
700
|
+
geo?: boolean | null;
|
|
701
|
+
lang?: boolean | null;
|
|
702
|
+
} | null;
|
|
703
|
+
} | null;
|
|
704
|
+
} | {
|
|
705
|
+
id?: "cache_on_cookie" | null;
|
|
706
|
+
value?: string | null;
|
|
707
|
+
} | {
|
|
708
|
+
id?: "cache_ttl_by_status" | null;
|
|
709
|
+
value?: Record<string, unknown> | null;
|
|
710
|
+
} | {
|
|
711
|
+
id?: "disable_apps" | null;
|
|
712
|
+
} | {
|
|
713
|
+
id?: "disable_performance" | null;
|
|
714
|
+
} | {
|
|
715
|
+
id?: "disable_security" | null;
|
|
716
|
+
} | {
|
|
717
|
+
id?: "disable_zaraz" | null;
|
|
718
|
+
} | {
|
|
719
|
+
id?: "edge_cache_ttl" | null;
|
|
720
|
+
value?: number | null;
|
|
721
|
+
} | {
|
|
722
|
+
id?: "explicit_cache_control" | null;
|
|
723
|
+
value?: "on" | "off" | null;
|
|
724
|
+
} | {
|
|
725
|
+
id?: "forwarding_url" | null;
|
|
726
|
+
value?: {
|
|
727
|
+
statusCode?: "301" | "302" | null;
|
|
728
|
+
url?: string | null;
|
|
729
|
+
} | null;
|
|
730
|
+
} | {
|
|
731
|
+
id?: "host_header_override" | null;
|
|
732
|
+
value?: string | null;
|
|
733
|
+
} | {
|
|
734
|
+
id?: "resolve_override" | null;
|
|
735
|
+
value?: string | null;
|
|
736
|
+
} | {
|
|
737
|
+
id?: "respect_strong_etag" | null;
|
|
738
|
+
value?: "on" | "off" | null;
|
|
739
|
+
})[];
|
|
740
|
+
/** The timestamp of when the Page Rule was created. */
|
|
741
|
+
createdOn: string;
|
|
742
|
+
/** The timestamp of when the Page Rule was last modified. */
|
|
743
|
+
modifiedOn: string;
|
|
744
|
+
/** The priority of the rule, used to define which Page Rule is processed over another. A higher number indicates a higher priority. For example, if you have a catch-all Page Rule (rule A: `/images/ `) bu */
|
|
745
|
+
priority: number;
|
|
746
|
+
/** The status of the Page Rule. */
|
|
747
|
+
status: "active" | "disabled";
|
|
748
|
+
/** The rule targets to evaluate on each request. */
|
|
749
|
+
targets: {
|
|
750
|
+
constraint?: {
|
|
751
|
+
operator: "matches" | "contains" | "equals" | "not_equal" | "not_contain";
|
|
752
|
+
value: string;
|
|
753
|
+
} | null;
|
|
754
|
+
target?: "url" | null;
|
|
755
|
+
}[];
|
|
756
|
+
}
|
|
757
|
+
export declare const PatchPageRuleResponse: Schema.Schema<PatchPageRuleResponse>;
|
|
758
|
+
export type PatchPageRuleError = DefaultErrors;
|
|
759
|
+
export declare const patchPageRule: API.OperationMethod<PatchPageRuleRequest, PatchPageRuleResponse, PatchPageRuleError, Credentials | HttpClient.HttpClient>;
|
|
760
|
+
export interface DeletePageRuleRequest {
|
|
761
|
+
pageruleId: string;
|
|
762
|
+
/** Identifier. */
|
|
763
|
+
zoneId: string;
|
|
764
|
+
}
|
|
765
|
+
export declare const DeletePageRuleRequest: Schema.Schema<DeletePageRuleRequest>;
|
|
766
|
+
export interface DeletePageRuleResponse {
|
|
767
|
+
/** Identifier. */
|
|
768
|
+
id: string;
|
|
769
|
+
}
|
|
770
|
+
export declare const DeletePageRuleResponse: Schema.Schema<DeletePageRuleResponse>;
|
|
771
|
+
export type DeletePageRuleError = DefaultErrors;
|
|
772
|
+
export declare const deletePageRule: API.OperationMethod<DeletePageRuleRequest, DeletePageRuleResponse, DeletePageRuleError, Credentials | HttpClient.HttpClient>;
|
|
773
|
+
//# sourceMappingURL=page-rules.d.ts.map
|