@distilled.cloud/cloudflare 0.0.0 → 0.2.0-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/auth.d.ts +13 -0
- package/lib/auth.d.ts.map +1 -0
- package/lib/auth.js +12 -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 +14 -0
- package/lib/client/api.d.ts.map +1 -0
- package/lib/client/api.js +197 -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 +14 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +17 -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 +38 -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/services/abuse-reports.d.ts +224 -0
- package/lib/services/abuse-reports.d.ts.map +1 -0
- package/lib/services/abuse-reports.js +353 -0
- package/lib/services/abuse-reports.js.map +1 -0
- package/lib/services/accounts.d.ts +682 -0
- package/lib/services/accounts.d.ts.map +1 -0
- package/lib/services/accounts.js +805 -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 +76 -0
- package/lib/services/acm.js.map +1 -0
- package/lib/services/addressing.d.ts +1208 -0
- package/lib/services/addressing.d.ts.map +1 -0
- package/lib/services/addressing.js +1776 -0
- package/lib/services/addressing.js.map +1 -0
- package/lib/services/ai-gateway.d.ts +956 -0
- package/lib/services/ai-gateway.d.ts.map +1 -0
- package/lib/services/ai-gateway.js +1706 -0
- package/lib/services/ai-gateway.js.map +1 -0
- package/lib/services/ai.d.ts +243 -0
- package/lib/services/ai.d.ts.map +1 -0
- package/lib/services/ai.js +299 -0
- package/lib/services/ai.js.map +1 -0
- package/lib/services/aisearch.d.ts +915 -0
- package/lib/services/aisearch.d.ts.map +1 -0
- package/lib/services/aisearch.js +2425 -0
- package/lib/services/aisearch.js.map +1 -0
- package/lib/services/alerting.d.ts +718 -0
- package/lib/services/alerting.d.ts.map +1 -0
- package/lib/services/alerting.js +1388 -0
- package/lib/services/alerting.js.map +1 -0
- package/lib/services/api-gateway.d.ts +830 -0
- package/lib/services/api-gateway.d.ts.map +1 -0
- package/lib/services/api-gateway.js +1548 -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 +105 -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 +100 -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 +84 -0
- package/lib/services/botnet-feed.js.map +1 -0
- package/lib/services/brand-protection.d.ts +188 -0
- package/lib/services/brand-protection.d.ts.map +1 -0
- package/lib/services/brand-protection.js +214 -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 +1141 -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 +330 -0
- package/lib/services/cache.js.map +1 -0
- package/lib/services/calls.d.ts +202 -0
- package/lib/services/calls.d.ts.map +1 -0
- package/lib/services/calls.js +175 -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 +254 -0
- package/lib/services/client-certificates.d.ts.map +1 -0
- package/lib/services/client-certificates.js +350 -0
- package/lib/services/client-certificates.js.map +1 -0
- package/lib/services/cloud-connector.d.ts +59 -0
- package/lib/services/cloud-connector.d.ts.map +1 -0
- package/lib/services/cloud-connector.js +84 -0
- package/lib/services/cloud-connector.js.map +1 -0
- package/lib/services/cloudforce-one.d.ts +1318 -0
- package/lib/services/cloudforce-one.d.ts.map +1 -0
- package/lib/services/cloudforce-one.js +1684 -0
- package/lib/services/cloudforce-one.js.map +1 -0
- package/lib/services/connectivity.d.ts +248 -0
- package/lib/services/connectivity.d.ts.map +1 -0
- package/lib/services/connectivity.js +377 -0
- package/lib/services/connectivity.js.map +1 -0
- package/lib/services/content-scanning.d.ts +131 -0
- package/lib/services/content-scanning.d.ts.map +1 -0
- package/lib/services/content-scanning.js +156 -0
- package/lib/services/content-scanning.js.map +1 -0
- package/lib/services/custom-certificates.d.ts +211 -0
- package/lib/services/custom-certificates.d.ts.map +1 -0
- package/lib/services/custom-certificates.js +309 -0
- package/lib/services/custom-certificates.js.map +1 -0
- package/lib/services/custom-hostnames.d.ts +525 -0
- package/lib/services/custom-hostnames.d.ts.map +1 -0
- package/lib/services/custom-hostnames.js +1164 -0
- package/lib/services/custom-hostnames.js.map +1 -0
- package/lib/services/custom-nameservers.d.ts +67 -0
- package/lib/services/custom-nameservers.d.ts.map +1 -0
- package/lib/services/custom-nameservers.js +80 -0
- package/lib/services/custom-nameservers.js.map +1 -0
- package/lib/services/custom-pages.d.ts +74 -0
- package/lib/services/custom-pages.d.ts.map +1 -0
- package/lib/services/custom-pages.js +125 -0
- package/lib/services/custom-pages.js.map +1 -0
- package/lib/services/d1.d.ts +326 -0
- package/lib/services/d1.d.ts.map +1 -0
- package/lib/services/d1.js +448 -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 +175 -0
- package/lib/services/diagnostics.d.ts.map +1 -0
- package/lib/services/diagnostics.js +273 -0
- package/lib/services/diagnostics.js.map +1 -0
- package/lib/services/dns-firewall.d.ts +288 -0
- package/lib/services/dns-firewall.d.ts.map +1 -0
- package/lib/services/dns-firewall.js +373 -0
- package/lib/services/dns-firewall.js.map +1 -0
- package/lib/services/dns.d.ts +2946 -0
- package/lib/services/dns.d.ts.map +1 -0
- package/lib/services/dns.js +4511 -0
- package/lib/services/dns.js.map +1 -0
- package/lib/services/durable-objects.d.ts +61 -0
- package/lib/services/durable-objects.d.ts.map +1 -0
- package/lib/services/durable-objects.js +66 -0
- package/lib/services/durable-objects.js.map +1 -0
- package/lib/services/email-routing.d.ts +542 -0
- package/lib/services/email-routing.d.ts.map +1 -0
- package/lib/services/email-routing.js +662 -0
- package/lib/services/email-routing.js.map +1 -0
- package/lib/services/email-security.d.ts +1131 -0
- package/lib/services/email-security.d.ts.map +1 -0
- package/lib/services/email-security.js +2065 -0
- package/lib/services/email-security.js.map +1 -0
- package/lib/services/filters.d.ts +157 -0
- package/lib/services/filters.d.ts.map +1 -0
- package/lib/services/filters.js +135 -0
- package/lib/services/filters.js.map +1 -0
- package/lib/services/firewall.d.ts +1080 -0
- package/lib/services/firewall.d.ts.map +1 -0
- package/lib/services/firewall.js +1881 -0
- package/lib/services/firewall.js.map +1 -0
- package/lib/services/healthchecks.d.ts +464 -0
- package/lib/services/healthchecks.d.ts.map +1 -0
- package/lib/services/healthchecks.js +838 -0
- package/lib/services/healthchecks.js.map +1 -0
- package/lib/services/hostnames.d.ts +74 -0
- package/lib/services/hostnames.d.ts.map +1 -0
- package/lib/services/hostnames.js +100 -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 +299 -0
- package/lib/services/hyperdrive.js.map +1 -0
- package/lib/services/iam.d.ts +554 -0
- package/lib/services/iam.d.ts.map +1 -0
- package/lib/services/iam.js +743 -0
- package/lib/services/iam.js.map +1 -0
- package/lib/services/images.d.ts +403 -0
- package/lib/services/images.d.ts.map +1 -0
- package/lib/services/images.js +417 -0
- package/lib/services/images.js.map +1 -0
- package/lib/services/intel.d.ts +768 -0
- package/lib/services/intel.d.ts.map +1 -0
- package/lib/services/intel.js +1179 -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 +177 -0
- package/lib/services/keyless-certificates.d.ts.map +1 -0
- package/lib/services/keyless-certificates.js +216 -0
- package/lib/services/keyless-certificates.js.map +1 -0
- package/lib/services/kv.d.ts +339 -0
- package/lib/services/kv.d.ts.map +1 -0
- package/lib/services/kv.js +402 -0
- package/lib/services/kv.js.map +1 -0
- package/lib/services/leaked-credential-checks.d.ts +119 -0
- package/lib/services/leaked-credential-checks.d.ts.map +1 -0
- package/lib/services/leaked-credential-checks.js +130 -0
- package/lib/services/leaked-credential-checks.js.map +1 -0
- package/lib/services/load-balancers.d.ts +1767 -0
- package/lib/services/load-balancers.d.ts.map +1 -0
- package/lib/services/load-balancers.js +3068 -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 +724 -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 +145 -0
- package/lib/services/logs.js.map +1 -0
- package/lib/services/magic-cloud-networking.d.ts +1599 -0
- package/lib/services/magic-cloud-networking.d.ts.map +1 -0
- package/lib/services/magic-cloud-networking.js +5205 -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 +535 -0
- package/lib/services/magic-network-monitoring.js.map +1 -0
- package/lib/services/magic-transit.d.ts +3650 -0
- package/lib/services/magic-transit.d.ts.map +1 -0
- package/lib/services/magic-transit.js +6120 -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 +107 -0
- package/lib/services/managed-transforms.js.map +1 -0
- package/lib/services/memberships.d.ts +172 -0
- package/lib/services/memberships.d.ts.map +1 -0
- package/lib/services/memberships.js +282 -0
- package/lib/services/memberships.js.map +1 -0
- package/lib/services/mtls-certificates.d.ts +140 -0
- package/lib/services/mtls-certificates.d.ts.map +1 -0
- package/lib/services/mtls-certificates.js +173 -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 +201 -0
- package/lib/services/organizations.d.ts.map +1 -0
- package/lib/services/organizations.js +355 -0
- package/lib/services/organizations.js.map +1 -0
- package/lib/services/origin-ca-certificates.d.ts +99 -0
- package/lib/services/origin-ca-certificates.d.ts.map +1 -0
- package/lib/services/origin-ca-certificates.js +156 -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 +60 -0
- package/lib/services/origin-post-quantum-encryption.js.map +1 -0
- package/lib/services/origin-tls-client-auth.d.ts +273 -0
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -0
- package/lib/services/origin-tls-client-auth.js +401 -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 +1365 -0
- package/lib/services/page-rules.js.map +1 -0
- package/lib/services/page-shield.d.ts +426 -0
- package/lib/services/page-shield.d.ts.map +1 -0
- package/lib/services/page-shield.js +484 -0
- package/lib/services/page-shield.js.map +1 -0
- package/lib/services/pages.d.ts +1654 -0
- package/lib/services/pages.d.ts.map +1 -0
- package/lib/services/pages.js +2954 -0
- package/lib/services/pages.js.map +1 -0
- package/lib/services/pipelines.d.ts +1461 -0
- package/lib/services/pipelines.d.ts.map +1 -0
- package/lib/services/pipelines.js +2912 -0
- package/lib/services/pipelines.js.map +1 -0
- package/lib/services/queues.d.ts +807 -0
- package/lib/services/queues.d.ts.map +1 -0
- package/lib/services/queues.js +1194 -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 +499 -0
- package/lib/services/r2-data-catalog.js.map +1 -0
- package/lib/services/r2.d.ts +1041 -0
- package/lib/services/r2.d.ts.map +1 -0
- package/lib/services/r2.js +1384 -0
- package/lib/services/r2.js.map +1 -0
- package/lib/services/radar.d.ts +9276 -0
- package/lib/services/radar.d.ts.map +1 -0
- package/lib/services/radar.js +20491 -0
- package/lib/services/radar.js.map +1 -0
- package/lib/services/rate-limits.d.ts +315 -0
- package/lib/services/rate-limits.d.ts.map +1 -0
- package/lib/services/rate-limits.js +521 -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 +5401 -0
- package/lib/services/realtime-kit.js.map +1 -0
- package/lib/services/registrar.d.ts +81 -0
- package/lib/services/registrar.d.ts.map +1 -0
- package/lib/services/registrar.js +154 -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 +82 -0
- package/lib/services/request-tracers.js.map +1 -0
- package/lib/services/resource-sharing.d.ts +540 -0
- package/lib/services/resource-sharing.d.ts.map +1 -0
- package/lib/services/resource-sharing.js +846 -0
- package/lib/services/resource-sharing.js.map +1 -0
- package/lib/services/rules.d.ts +297 -0
- package/lib/services/rules.d.ts.map +1 -0
- package/lib/services/rules.js +396 -0
- package/lib/services/rules.js.map +1 -0
- package/lib/services/rulesets.d.ts +3300 -0
- package/lib/services/rulesets.d.ts.map +1 -0
- package/lib/services/rulesets.js +7852 -0
- package/lib/services/rulesets.js.map +1 -0
- package/lib/services/rum.d.ts +289 -0
- package/lib/services/rum.d.ts.map +1 -0
- package/lib/services/rum.js +409 -0
- package/lib/services/rum.js.map +1 -0
- package/lib/services/schema-validation.d.ts +240 -0
- package/lib/services/schema-validation.d.ts.map +1 -0
- package/lib/services/schema-validation.js +306 -0
- package/lib/services/schema-validation.js.map +1 -0
- package/lib/services/secrets-store.d.ts +321 -0
- package/lib/services/secrets-store.d.ts.map +1 -0
- package/lib/services/secrets-store.js +385 -0
- package/lib/services/secrets-store.js.map +1 -0
- package/lib/services/security-center.d.ts +102 -0
- package/lib/services/security-center.d.ts.map +1 -0
- package/lib/services/security-center.js +170 -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 +138 -0
- package/lib/services/snippets.d.ts.map +1 -0
- package/lib/services/snippets.js +178 -0
- package/lib/services/snippets.js.map +1 -0
- package/lib/services/spectrum.d.ts +316 -0
- package/lib/services/spectrum.d.ts.map +1 -0
- package/lib/services/spectrum.js +510 -0
- package/lib/services/spectrum.js.map +1 -0
- package/lib/services/speed.d.ts +227 -0
- package/lib/services/speed.d.ts.map +1 -0
- package/lib/services/speed.js +444 -0
- package/lib/services/speed.js.map +1 -0
- package/lib/services/ssl.d.ts +370 -0
- package/lib/services/ssl.d.ts.map +1 -0
- package/lib/services/ssl.js +732 -0
- package/lib/services/ssl.js.map +1 -0
- package/lib/services/stream.d.ts +1014 -0
- package/lib/services/stream.d.ts.map +1 -0
- package/lib/services/stream.js +1049 -0
- package/lib/services/stream.js.map +1 -0
- package/lib/services/token-validation.d.ts +547 -0
- package/lib/services/token-validation.d.ts.map +1 -0
- package/lib/services/token-validation.js +768 -0
- package/lib/services/token-validation.js.map +1 -0
- package/lib/services/turnstile.d.ts +248 -0
- package/lib/services/turnstile.d.ts.map +1 -0
- package/lib/services/turnstile.js +308 -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 +441 -0
- package/lib/services/user.d.ts.map +1 -0
- package/lib/services/user.js +567 -0
- package/lib/services/user.js.map +1 -0
- package/lib/services/vectorize.d.ts +282 -0
- package/lib/services/vectorize.d.ts.map +1 -0
- package/lib/services/vectorize.js +340 -0
- package/lib/services/vectorize.js.map +1 -0
- package/lib/services/waiting-rooms.d.ts +1009 -0
- package/lib/services/waiting-rooms.d.ts.map +1 -0
- package/lib/services/waiting-rooms.js +1757 -0
- package/lib/services/waiting-rooms.js.map +1 -0
- package/lib/services/web3.d.ts +274 -0
- package/lib/services/web3.d.ts.map +1 -0
- package/lib/services/web3.js +362 -0
- package/lib/services/web3.js.map +1 -0
- package/lib/services/workers-for-platforms.d.ts +1224 -0
- package/lib/services/workers-for-platforms.d.ts.map +1 -0
- package/lib/services/workers-for-platforms.js +2078 -0
- package/lib/services/workers-for-platforms.js.map +1 -0
- package/lib/services/workers.d.ts +3498 -0
- package/lib/services/workers.d.ts.map +1 -0
- package/lib/services/workers.js +5967 -0
- package/lib/services/workers.js.map +1 -0
- package/lib/services/workflows.d.ts +359 -0
- package/lib/services/workflows.d.ts.map +1 -0
- package/lib/services/workflows.js +516 -0
- package/lib/services/workflows.js.map +1 -0
- package/lib/services/zaraz.d.ts +300 -0
- package/lib/services/zaraz.d.ts.map +1 -0
- package/lib/services/zaraz.js +298 -0
- package/lib/services/zaraz.js.map +1 -0
- package/lib/services/zero-trust.d.ts +15449 -0
- package/lib/services/zero-trust.d.ts.map +1 -0
- package/lib/services/zero-trust.js +29194 -0
- package/lib/services/zero-trust.js.map +1 -0
- package/lib/services/zones.d.ts +1278 -0
- package/lib/services/zones.d.ts.map +1 -0
- package/lib/services/zones.js +2416 -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 +67 -5
- package/src/auth.ts +14 -0
- package/src/category.ts +1 -0
- package/src/client/api.ts +269 -0
- package/src/client/index.ts +7 -0
- package/src/credentials.ts +30 -0
- package/src/errors.ts +65 -0
- package/src/index.ts +9 -0
- package/src/retry.ts +35 -0
- package/src/schemas.ts +51 -0
- package/src/services/abuse-reports.ts +747 -0
- package/src/services/accounts.ts +1947 -0
- package/src/services/acm.ts +170 -0
- package/src/services/addressing.ts +3947 -0
- package/src/services/ai-gateway.ts +3335 -0
- package/src/services/ai.ts +727 -0
- package/src/services/aisearch.ts +4750 -0
- package/src/services/alerting.ts +2947 -0
- package/src/services/api-gateway.ts +3391 -0
- package/src/services/argo.ts +254 -0
- package/src/services/audit-logs.ts +90 -0
- package/src/services/billing.ts +172 -0
- package/src/services/bot-management.ts +541 -0
- package/src/services/botnet-feed.ts +193 -0
- package/src/services/brand-protection.ts +553 -0
- package/src/services/browser-rendering.ts +2707 -0
- package/src/services/cache.ts +827 -0
- package/src/services/calls.ts +483 -0
- package/src/services/certificate-authorities.ts +110 -0
- package/src/services/client-certificates.ts +718 -0
- package/src/services/cloud-connector.ts +181 -0
- package/src/services/cloudforce-one.ts +3876 -0
- package/src/services/connectivity.ts +629 -0
- package/src/services/content-scanning.ts +385 -0
- package/src/services/custom-certificates.ts +611 -0
- package/src/services/custom-hostnames.ts +2453 -0
- package/src/services/custom-nameservers.ts +182 -0
- package/src/services/custom-pages.ts +264 -0
- package/src/services/d1.ts +1034 -0
- package/src/services/dcv-delegation.ts +52 -0
- package/src/services/diagnostics.ts +603 -0
- package/src/services/dns-firewall.ts +823 -0
- package/src/services/dns.ts +8897 -0
- package/src/services/durable-objects.ts +148 -0
- package/src/services/email-routing.ts +1602 -0
- package/src/services/email-security.ts +4283 -0
- package/src/services/filters.ts +370 -0
- package/src/services/firewall.ts +3896 -0
- package/src/services/healthchecks.ts +1750 -0
- package/src/services/hostnames.ts +218 -0
- package/src/services/hyperdrive.ts +592 -0
- package/src/services/iam.ts +1668 -0
- package/src/services/images.ts +1086 -0
- package/src/services/intel.ts +2768 -0
- package/src/services/ips.ts +88 -0
- package/src/services/keyless-certificates.ts +462 -0
- package/src/services/kv.ts +1011 -0
- package/src/services/leaked-credential-checks.ts +325 -0
- package/src/services/load-balancers.ts +6438 -0
- package/src/services/logpush.ts +1667 -0
- package/src/services/logs.ts +375 -0
- package/src/services/magic-cloud-networking.ts +10020 -0
- package/src/services/magic-network-monitoring.ts +1156 -0
- package/src/services/magic-transit.ts +13050 -0
- package/src/services/managed-transforms.ts +237 -0
- package/src/services/memberships.ts +615 -0
- package/src/services/mtls-certificates.ts +374 -0
- package/src/services/network-interconnects.ts +1253 -0
- package/src/services/organizations.ts +674 -0
- package/src/services/origin-ca-certificates.ts +303 -0
- package/src/services/origin-post-quantum-encryption.ts +128 -0
- package/src/services/origin-tls-client-auth.ts +878 -0
- package/src/services/page-rules.ts +2612 -0
- package/src/services/page-shield.ts +1195 -0
- package/src/services/pages.ts +5709 -0
- package/src/services/pipelines.ts +6000 -0
- package/src/services/queues.ts +2629 -0
- package/src/services/r2-data-catalog.ts +1119 -0
- package/src/services/r2.ts +3348 -0
- package/src/services/radar.ts +42152 -0
- package/src/services/rate-limits.ts +1150 -0
- package/src/services/realtime-kit.ts +11079 -0
- package/src/services/registrar.ts +295 -0
- package/src/services/request-tracers.ts +158 -0
- package/src/services/resource-sharing.ts +1832 -0
- package/src/services/rules.ts +837 -0
- package/src/services/rulesets.ts +15144 -0
- package/src/services/rum.ts +901 -0
- package/src/services/schema-validation.ts +733 -0
- package/src/services/secrets-store.ts +860 -0
- package/src/services/security-center.ts +397 -0
- package/src/services/security-txt.ts +315 -0
- package/src/services/snippets.ts +420 -0
- package/src/services/spectrum.ts +1103 -0
- package/src/services/speed.ts +1056 -0
- package/src/services/ssl.ts +1587 -0
- package/src/services/stream.ts +2756 -0
- package/src/services/token-validation.ts +1585 -0
- package/src/services/turnstile.ts +643 -0
- package/src/services/url-normalization.ts +129 -0
- package/src/services/url-scanner.ts +1851 -0
- package/src/services/user.ts +1384 -0
- package/src/services/vectorize.ts +816 -0
- package/src/services/waiting-rooms.ts +3807 -0
- package/src/services/web3.ts +834 -0
- package/src/services/workers-for-platforms.ts +3859 -0
- package/src/services/workers.ts +11637 -0
- package/src/services/workflows.ts +1124 -0
- package/src/services/zaraz.ts +797 -0
- package/src/services/zero-trust.ts +58933 -0
- package/src/services/zones.ts +4875 -0
- package/src/traits.ts +47 -0
- package/README.md +0 -15
- package/bun.lock +0 -26
- package/index.ts +0 -1
- package/tsconfig.json +0 -29
|
@@ -0,0 +1,1278 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cloudflare ZONES API
|
|
3
|
+
*
|
|
4
|
+
* Generated from Cloudflare TypeScript SDK.
|
|
5
|
+
* DO NOT EDIT - regenerate with: bun scripts/generate.ts --service zones
|
|
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";
|
|
11
|
+
import { type DefaultErrors } from "../errors";
|
|
12
|
+
export interface TriggerActivationCheckRequest {
|
|
13
|
+
/** Identifier. */
|
|
14
|
+
zoneId: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const TriggerActivationCheckRequest: Schema.Schema<TriggerActivationCheckRequest>;
|
|
17
|
+
export interface TriggerActivationCheckResponse {
|
|
18
|
+
/** Identifier. */
|
|
19
|
+
id?: string | null;
|
|
20
|
+
}
|
|
21
|
+
export declare const TriggerActivationCheckResponse: Schema.Schema<TriggerActivationCheckResponse>;
|
|
22
|
+
export type TriggerActivationCheckError = DefaultErrors;
|
|
23
|
+
export declare const triggerActivationCheck: API.OperationMethod<TriggerActivationCheckRequest, TriggerActivationCheckResponse, TriggerActivationCheckError, Credentials | HttpClient.HttpClient>;
|
|
24
|
+
export interface GetCustomNameserverRequest {
|
|
25
|
+
/** Identifier. */
|
|
26
|
+
zoneId: string;
|
|
27
|
+
}
|
|
28
|
+
export declare const GetCustomNameserverRequest: Schema.Schema<GetCustomNameserverRequest>;
|
|
29
|
+
export interface GetCustomNameserverResponse {
|
|
30
|
+
errors: {
|
|
31
|
+
code: number;
|
|
32
|
+
message: string;
|
|
33
|
+
documentationUrl?: string | null;
|
|
34
|
+
source?: {
|
|
35
|
+
pointer?: string | null;
|
|
36
|
+
} | null;
|
|
37
|
+
}[];
|
|
38
|
+
messages: {
|
|
39
|
+
code: number;
|
|
40
|
+
message: string;
|
|
41
|
+
documentationUrl?: string | null;
|
|
42
|
+
source?: {
|
|
43
|
+
pointer?: string | null;
|
|
44
|
+
} | null;
|
|
45
|
+
}[];
|
|
46
|
+
/** Whether the API call was successful. */
|
|
47
|
+
success: true;
|
|
48
|
+
/** Whether zone uses account-level custom nameservers. */
|
|
49
|
+
enabled?: boolean | null;
|
|
50
|
+
/** The number of the name server set to assign to the zone. */
|
|
51
|
+
nsSet?: number | null;
|
|
52
|
+
resultInfo?: {
|
|
53
|
+
count?: number | null;
|
|
54
|
+
page?: number | null;
|
|
55
|
+
perPage?: number | null;
|
|
56
|
+
totalCount?: number | null;
|
|
57
|
+
} | null;
|
|
58
|
+
}
|
|
59
|
+
export declare const GetCustomNameserverResponse: Schema.Schema<GetCustomNameserverResponse>;
|
|
60
|
+
export type GetCustomNameserverError = DefaultErrors;
|
|
61
|
+
export declare const getCustomNameserver: API.OperationMethod<GetCustomNameserverRequest, GetCustomNameserverResponse, GetCustomNameserverError, Credentials | HttpClient.HttpClient>;
|
|
62
|
+
export interface PutCustomNameserverRequest {
|
|
63
|
+
/** Path param: Identifier. */
|
|
64
|
+
zoneId: string;
|
|
65
|
+
/** Body param: Whether zone uses account-level custom nameservers. */
|
|
66
|
+
enabled?: boolean;
|
|
67
|
+
/** Body param: The number of the name server set to assign to the zone. */
|
|
68
|
+
nsSet?: number;
|
|
69
|
+
}
|
|
70
|
+
export declare const PutCustomNameserverRequest: Schema.Schema<PutCustomNameserverRequest>;
|
|
71
|
+
export type PutCustomNameserverResponse = string[];
|
|
72
|
+
export declare const PutCustomNameserverResponse: Schema.Schema<PutCustomNameserverResponse>;
|
|
73
|
+
export type PutCustomNameserverError = DefaultErrors;
|
|
74
|
+
export declare const putCustomNameserver: API.OperationMethod<PutCustomNameserverRequest, PutCustomNameserverResponse, PutCustomNameserverError, Credentials | HttpClient.HttpClient>;
|
|
75
|
+
export interface GetHoldRequest {
|
|
76
|
+
/** Identifier. */
|
|
77
|
+
zoneId: string;
|
|
78
|
+
}
|
|
79
|
+
export declare const GetHoldRequest: Schema.Schema<GetHoldRequest>;
|
|
80
|
+
export interface GetHoldResponse {
|
|
81
|
+
hold?: boolean | null;
|
|
82
|
+
holdAfter?: string | null;
|
|
83
|
+
includeSubdomains?: string | null;
|
|
84
|
+
}
|
|
85
|
+
export declare const GetHoldResponse: Schema.Schema<GetHoldResponse>;
|
|
86
|
+
export type GetHoldError = DefaultErrors;
|
|
87
|
+
export declare const getHold: API.OperationMethod<GetHoldRequest, GetHoldResponse, GetHoldError, Credentials | HttpClient.HttpClient>;
|
|
88
|
+
export interface CreateHoldRequest {
|
|
89
|
+
/** Path param: Identifier. */
|
|
90
|
+
zoneId: string;
|
|
91
|
+
/** Query param: If provided, the zone hold will extend to block any subdomain of the given zone, as well as SSL4SaaS Custom Hostnames. For example, a zone hold on a zone with the hostname 'example.com' a */
|
|
92
|
+
includeSubdomains?: boolean;
|
|
93
|
+
}
|
|
94
|
+
export declare const CreateHoldRequest: Schema.Schema<CreateHoldRequest>;
|
|
95
|
+
export interface CreateHoldResponse {
|
|
96
|
+
hold?: boolean | null;
|
|
97
|
+
holdAfter?: string | null;
|
|
98
|
+
includeSubdomains?: string | null;
|
|
99
|
+
}
|
|
100
|
+
export declare const CreateHoldResponse: Schema.Schema<CreateHoldResponse>;
|
|
101
|
+
export type CreateHoldError = DefaultErrors;
|
|
102
|
+
export declare const createHold: API.OperationMethod<CreateHoldRequest, CreateHoldResponse, CreateHoldError, Credentials | HttpClient.HttpClient>;
|
|
103
|
+
export interface PatchHoldRequest {
|
|
104
|
+
/** Path param: Identifier. */
|
|
105
|
+
zoneId: string;
|
|
106
|
+
/** Body param: If `hold_after` is provided and future-dated, the hold will be temporarily disabled, then automatically re-enabled by the system at the time specified in this RFC3339-formatted timestamp. */
|
|
107
|
+
holdAfter?: string;
|
|
108
|
+
/** Body param: If `true`, the zone hold will extend to block any subdomain of the given zone, as well as SSL4SaaS Custom Hostnames. For example, a zone hold on a zone with the hostname 'example.com' and */
|
|
109
|
+
includeSubdomains?: boolean;
|
|
110
|
+
}
|
|
111
|
+
export declare const PatchHoldRequest: Schema.Schema<PatchHoldRequest>;
|
|
112
|
+
export interface PatchHoldResponse {
|
|
113
|
+
hold?: boolean | null;
|
|
114
|
+
holdAfter?: string | null;
|
|
115
|
+
includeSubdomains?: string | null;
|
|
116
|
+
}
|
|
117
|
+
export declare const PatchHoldResponse: Schema.Schema<PatchHoldResponse>;
|
|
118
|
+
export type PatchHoldError = DefaultErrors;
|
|
119
|
+
export declare const patchHold: API.OperationMethod<PatchHoldRequest, PatchHoldResponse, PatchHoldError, Credentials | HttpClient.HttpClient>;
|
|
120
|
+
export interface DeleteHoldRequest {
|
|
121
|
+
/** Path param: Identifier. */
|
|
122
|
+
zoneId: string;
|
|
123
|
+
/** Query param: If `hold_after` is provided, the hold will be temporarily disabled, then automatically re-enabled by the system at the time specified in this RFC3339-formatted timestamp. Otherwise, the h */
|
|
124
|
+
holdAfter?: string;
|
|
125
|
+
}
|
|
126
|
+
export declare const DeleteHoldRequest: Schema.Schema<DeleteHoldRequest>;
|
|
127
|
+
export interface DeleteHoldResponse {
|
|
128
|
+
hold?: boolean | null;
|
|
129
|
+
holdAfter?: string | null;
|
|
130
|
+
includeSubdomains?: string | null;
|
|
131
|
+
}
|
|
132
|
+
export declare const DeleteHoldResponse: Schema.Schema<DeleteHoldResponse>;
|
|
133
|
+
export type DeleteHoldError = DefaultErrors;
|
|
134
|
+
export declare const deleteHold: API.OperationMethod<DeleteHoldRequest, DeleteHoldResponse, DeleteHoldError, Credentials | HttpClient.HttpClient>;
|
|
135
|
+
export interface GetPlanRequest {
|
|
136
|
+
planIdentifier: string;
|
|
137
|
+
/** Identifier */
|
|
138
|
+
zoneId: string;
|
|
139
|
+
}
|
|
140
|
+
export declare const GetPlanRequest: Schema.Schema<GetPlanRequest>;
|
|
141
|
+
export interface GetPlanResponse {
|
|
142
|
+
/** Identifier */
|
|
143
|
+
id?: string | null;
|
|
144
|
+
/** Indicates whether you can subscribe to this plan. */
|
|
145
|
+
canSubscribe?: boolean | null;
|
|
146
|
+
/** The monetary unit in which pricing information is displayed. */
|
|
147
|
+
currency?: string | null;
|
|
148
|
+
/** Indicates whether this plan is managed externally. */
|
|
149
|
+
externallyManaged?: boolean | null;
|
|
150
|
+
/** The frequency at which you will be billed for this plan. */
|
|
151
|
+
frequency?: "weekly" | "monthly" | "quarterly" | "yearly" | null;
|
|
152
|
+
/** Indicates whether you are currently subscribed to this plan. */
|
|
153
|
+
isSubscribed?: boolean | null;
|
|
154
|
+
/** Indicates whether this plan has a legacy discount applied. */
|
|
155
|
+
legacyDiscount?: boolean | null;
|
|
156
|
+
/** The legacy identifier for this rate plan, if any. */
|
|
157
|
+
legacyId?: string | null;
|
|
158
|
+
/** The plan name. */
|
|
159
|
+
name?: string | null;
|
|
160
|
+
/** The amount you will be billed for this plan. */
|
|
161
|
+
price?: number | null;
|
|
162
|
+
}
|
|
163
|
+
export declare const GetPlanResponse: Schema.Schema<GetPlanResponse>;
|
|
164
|
+
export type GetPlanError = DefaultErrors;
|
|
165
|
+
export declare const getPlan: API.OperationMethod<GetPlanRequest, GetPlanResponse, GetPlanError, Credentials | HttpClient.HttpClient>;
|
|
166
|
+
export interface ListPlansRequest {
|
|
167
|
+
/** Identifier */
|
|
168
|
+
zoneId: string;
|
|
169
|
+
}
|
|
170
|
+
export declare const ListPlansRequest: Schema.Schema<ListPlansRequest>;
|
|
171
|
+
export type ListPlansResponse = {
|
|
172
|
+
id?: string | null;
|
|
173
|
+
canSubscribe?: boolean | null;
|
|
174
|
+
currency?: string | null;
|
|
175
|
+
externallyManaged?: boolean | null;
|
|
176
|
+
frequency?: "weekly" | "monthly" | "quarterly" | "yearly" | null;
|
|
177
|
+
isSubscribed?: boolean | null;
|
|
178
|
+
legacyDiscount?: boolean | null;
|
|
179
|
+
legacyId?: string | null;
|
|
180
|
+
name?: string | null;
|
|
181
|
+
price?: number | null;
|
|
182
|
+
}[];
|
|
183
|
+
export declare const ListPlansResponse: Schema.Schema<ListPlansResponse>;
|
|
184
|
+
export type ListPlansError = DefaultErrors;
|
|
185
|
+
export declare const listPlans: API.OperationMethod<ListPlansRequest, ListPlansResponse, ListPlansError, Credentials | HttpClient.HttpClient>;
|
|
186
|
+
export interface GetRatePlanRequest {
|
|
187
|
+
/** Identifier */
|
|
188
|
+
zoneId: string;
|
|
189
|
+
}
|
|
190
|
+
export declare const GetRatePlanRequest: Schema.Schema<GetRatePlanRequest>;
|
|
191
|
+
export type GetRatePlanResponse = {
|
|
192
|
+
id?: string | null;
|
|
193
|
+
components?: {
|
|
194
|
+
default?: number | null;
|
|
195
|
+
name?: "zones" | "page_rules" | "dedicated_certificates" | "dedicated_certificates_custom" | null;
|
|
196
|
+
unitPrice?: number | null;
|
|
197
|
+
}[] | null;
|
|
198
|
+
currency?: string | null;
|
|
199
|
+
duration?: number | null;
|
|
200
|
+
frequency?: "weekly" | "monthly" | "quarterly" | "yearly" | null;
|
|
201
|
+
name?: string | null;
|
|
202
|
+
}[];
|
|
203
|
+
export declare const GetRatePlanResponse: Schema.Schema<GetRatePlanResponse>;
|
|
204
|
+
export type GetRatePlanError = DefaultErrors;
|
|
205
|
+
export declare const getRatePlan: API.OperationMethod<GetRatePlanRequest, GetRatePlanResponse, GetRatePlanError, Credentials | HttpClient.HttpClient>;
|
|
206
|
+
export interface GetSettingRequest {
|
|
207
|
+
settingId: string;
|
|
208
|
+
/** Identifier */
|
|
209
|
+
zoneId: string;
|
|
210
|
+
}
|
|
211
|
+
export declare const GetSettingRequest: Schema.Schema<GetSettingRequest>;
|
|
212
|
+
export type GetSettingResponse = {
|
|
213
|
+
id: "0rtt";
|
|
214
|
+
value: "on" | "off";
|
|
215
|
+
editable?: true | false | null;
|
|
216
|
+
modifiedOn?: string | null;
|
|
217
|
+
} | {
|
|
218
|
+
id: "advanced_ddos";
|
|
219
|
+
value: "on" | "off";
|
|
220
|
+
editable?: true | false | null;
|
|
221
|
+
modifiedOn?: string | null;
|
|
222
|
+
} | {
|
|
223
|
+
id: "aegis";
|
|
224
|
+
modifiedOn?: string | null;
|
|
225
|
+
value?: {
|
|
226
|
+
enabled?: boolean | null;
|
|
227
|
+
poolId?: string | null;
|
|
228
|
+
} | null;
|
|
229
|
+
} | {
|
|
230
|
+
id: "always_online";
|
|
231
|
+
value: "on" | "off";
|
|
232
|
+
editable?: true | false | null;
|
|
233
|
+
modifiedOn?: string | null;
|
|
234
|
+
} | {
|
|
235
|
+
id: "always_use_https";
|
|
236
|
+
value: "on" | "off";
|
|
237
|
+
editable?: true | false | null;
|
|
238
|
+
modifiedOn?: string | null;
|
|
239
|
+
} | {
|
|
240
|
+
id: "automatic_https_rewrites";
|
|
241
|
+
value: "on" | "off";
|
|
242
|
+
editable?: true | false | null;
|
|
243
|
+
modifiedOn?: string | null;
|
|
244
|
+
} | {
|
|
245
|
+
id: "brotli";
|
|
246
|
+
value: "off" | "on";
|
|
247
|
+
editable?: true | false | null;
|
|
248
|
+
modifiedOn?: string | null;
|
|
249
|
+
} | {
|
|
250
|
+
id: "browser_cache_ttl";
|
|
251
|
+
value: number;
|
|
252
|
+
editable?: true | false | null;
|
|
253
|
+
modifiedOn?: string | null;
|
|
254
|
+
} | {
|
|
255
|
+
id: "browser_check";
|
|
256
|
+
value: "on" | "off";
|
|
257
|
+
editable?: true | false | null;
|
|
258
|
+
modifiedOn?: string | null;
|
|
259
|
+
} | {
|
|
260
|
+
id: "cache_level";
|
|
261
|
+
value: "aggressive" | "basic" | "simplified";
|
|
262
|
+
editable?: true | false | null;
|
|
263
|
+
modifiedOn?: string | null;
|
|
264
|
+
} | {
|
|
265
|
+
id: "challenge_ttl";
|
|
266
|
+
value: "300" | "900" | "1800" | "2700" | "3600" | "7200" | "10800" | "14400" | "28800" | "57600" | "86400" | "604800" | "2592000" | "31536000";
|
|
267
|
+
editable?: true | false | null;
|
|
268
|
+
modifiedOn?: string | null;
|
|
269
|
+
} | {
|
|
270
|
+
id: "china_network_enabled";
|
|
271
|
+
value: "on" | "off";
|
|
272
|
+
editable?: true | false | null;
|
|
273
|
+
modifiedOn?: string | null;
|
|
274
|
+
} | {
|
|
275
|
+
id: "ciphers";
|
|
276
|
+
value: string[];
|
|
277
|
+
editable?: true | false | null;
|
|
278
|
+
modifiedOn?: string | null;
|
|
279
|
+
} | {
|
|
280
|
+
id: "cname_flattening";
|
|
281
|
+
value: "flatten_at_root" | "flatten_all";
|
|
282
|
+
editable?: true | false | null;
|
|
283
|
+
modifiedOn?: string | null;
|
|
284
|
+
} | {
|
|
285
|
+
id: "development_mode";
|
|
286
|
+
value: "on" | "off";
|
|
287
|
+
editable?: true | false | null;
|
|
288
|
+
modifiedOn?: string | null;
|
|
289
|
+
timeRemaining?: number | null;
|
|
290
|
+
} | {
|
|
291
|
+
id: "early_hints";
|
|
292
|
+
value: "on" | "off";
|
|
293
|
+
editable?: true | false | null;
|
|
294
|
+
modifiedOn?: string | null;
|
|
295
|
+
} | {
|
|
296
|
+
id: "edge_cache_ttl";
|
|
297
|
+
value: "30" | "60" | "300" | "1200" | "1800" | "3600" | "7200" | "10800" | "14400" | "18000" | "28800" | "43200" | "57600" | "72000" | "86400" | "172800" | "259200" | "345600" | "432000" | "518400" | "604800";
|
|
298
|
+
editable?: true | false | null;
|
|
299
|
+
modifiedOn?: string | null;
|
|
300
|
+
} | {
|
|
301
|
+
id: "email_obfuscation";
|
|
302
|
+
value: "on" | "off";
|
|
303
|
+
editable?: true | false | null;
|
|
304
|
+
modifiedOn?: string | null;
|
|
305
|
+
} | {
|
|
306
|
+
id: "h2_prioritization";
|
|
307
|
+
value: "on" | "off" | "custom";
|
|
308
|
+
editable?: true | false | null;
|
|
309
|
+
modifiedOn?: string | null;
|
|
310
|
+
} | {
|
|
311
|
+
id: "hotlink_protection";
|
|
312
|
+
value: "on" | "off";
|
|
313
|
+
editable?: true | false | null;
|
|
314
|
+
modifiedOn?: string | null;
|
|
315
|
+
} | {
|
|
316
|
+
id: "http2";
|
|
317
|
+
value: "on" | "off";
|
|
318
|
+
editable?: true | false | null;
|
|
319
|
+
modifiedOn?: string | null;
|
|
320
|
+
} | {
|
|
321
|
+
id: "http3";
|
|
322
|
+
value: "on" | "off";
|
|
323
|
+
editable?: true | false | null;
|
|
324
|
+
modifiedOn?: string | null;
|
|
325
|
+
} | {
|
|
326
|
+
id: "image_resizing";
|
|
327
|
+
value: "on" | "off" | "open";
|
|
328
|
+
editable?: true | false | null;
|
|
329
|
+
modifiedOn?: string | null;
|
|
330
|
+
} | {
|
|
331
|
+
id: "ip_geolocation";
|
|
332
|
+
value: "on" | "off";
|
|
333
|
+
editable?: true | false | null;
|
|
334
|
+
modifiedOn?: string | null;
|
|
335
|
+
} | {
|
|
336
|
+
id: "ipv6";
|
|
337
|
+
value: "off" | "on";
|
|
338
|
+
editable?: true | false | null;
|
|
339
|
+
modifiedOn?: string | null;
|
|
340
|
+
} | {
|
|
341
|
+
id: "max_upload";
|
|
342
|
+
value: "100" | "125" | "150" | "175" | "200" | "225" | "250" | "275" | "300" | "325" | "350" | "375" | "400" | "425" | "450" | "475" | "500" | "1000";
|
|
343
|
+
editable?: true | false | null;
|
|
344
|
+
modifiedOn?: string | null;
|
|
345
|
+
} | {
|
|
346
|
+
id: "min_tls_version";
|
|
347
|
+
value: "1.0" | "1.1" | "1.2" | "1.3";
|
|
348
|
+
editable?: true | false | null;
|
|
349
|
+
modifiedOn?: string | null;
|
|
350
|
+
} | {
|
|
351
|
+
id: "mirage";
|
|
352
|
+
value: "on" | "off";
|
|
353
|
+
editable?: true | false | null;
|
|
354
|
+
modifiedOn?: string | null;
|
|
355
|
+
} | {
|
|
356
|
+
id: "nel";
|
|
357
|
+
value: {
|
|
358
|
+
enabled?: boolean | null;
|
|
359
|
+
};
|
|
360
|
+
editable?: true | false | null;
|
|
361
|
+
modifiedOn?: string | null;
|
|
362
|
+
} | {
|
|
363
|
+
id: "opportunistic_encryption";
|
|
364
|
+
value: "on" | "off";
|
|
365
|
+
editable?: true | false | null;
|
|
366
|
+
modifiedOn?: string | null;
|
|
367
|
+
} | {
|
|
368
|
+
id: "opportunistic_onion";
|
|
369
|
+
value: "on" | "off";
|
|
370
|
+
editable?: true | false | null;
|
|
371
|
+
modifiedOn?: string | null;
|
|
372
|
+
} | {
|
|
373
|
+
id: "orange_to_orange";
|
|
374
|
+
value: "on" | "off";
|
|
375
|
+
editable?: true | false | null;
|
|
376
|
+
modifiedOn?: string | null;
|
|
377
|
+
} | {
|
|
378
|
+
id: "origin_error_page_pass_thru";
|
|
379
|
+
value: "on" | "off";
|
|
380
|
+
editable?: true | false | null;
|
|
381
|
+
modifiedOn?: string | null;
|
|
382
|
+
} | {
|
|
383
|
+
id: "origin_h2_max_streams";
|
|
384
|
+
modifiedOn?: string | null;
|
|
385
|
+
value?: number | null;
|
|
386
|
+
} | {
|
|
387
|
+
id: "origin_max_http_version";
|
|
388
|
+
modifiedOn?: string | null;
|
|
389
|
+
value?: "2" | "1" | null;
|
|
390
|
+
} | {
|
|
391
|
+
id: "polish";
|
|
392
|
+
value: "off" | "lossless" | "lossy";
|
|
393
|
+
editable?: true | false | null;
|
|
394
|
+
modifiedOn?: string | null;
|
|
395
|
+
} | {
|
|
396
|
+
id: "prefetch_preload";
|
|
397
|
+
value: "on" | "off";
|
|
398
|
+
editable?: true | false | null;
|
|
399
|
+
modifiedOn?: string | null;
|
|
400
|
+
} | {
|
|
401
|
+
id: "privacy_pass";
|
|
402
|
+
value: "on" | "off";
|
|
403
|
+
editable?: true | false | null;
|
|
404
|
+
modifiedOn?: string | null;
|
|
405
|
+
} | {
|
|
406
|
+
id: "proxy_read_timeout";
|
|
407
|
+
value: number;
|
|
408
|
+
editable?: true | false | null;
|
|
409
|
+
modifiedOn?: string | null;
|
|
410
|
+
} | {
|
|
411
|
+
id: "pseudo_ipv4";
|
|
412
|
+
value: "off" | "add_header" | "overwrite_header";
|
|
413
|
+
editable?: true | false | null;
|
|
414
|
+
modifiedOn?: string | null;
|
|
415
|
+
} | {
|
|
416
|
+
id: "replace_insecure_js";
|
|
417
|
+
value: "on" | "off";
|
|
418
|
+
editable?: true | false | null;
|
|
419
|
+
modifiedOn?: string | null;
|
|
420
|
+
} | {
|
|
421
|
+
id: "response_buffering";
|
|
422
|
+
value: "on" | "off";
|
|
423
|
+
editable?: true | false | null;
|
|
424
|
+
modifiedOn?: string | null;
|
|
425
|
+
} | {
|
|
426
|
+
id: "rocket_loader";
|
|
427
|
+
value: "on" | "off";
|
|
428
|
+
editable?: true | false | null;
|
|
429
|
+
modifiedOn?: string | null;
|
|
430
|
+
} | {
|
|
431
|
+
id: "automatic_platform_optimization";
|
|
432
|
+
value: unknown;
|
|
433
|
+
editable?: true | false | null;
|
|
434
|
+
modifiedOn?: string | null;
|
|
435
|
+
} | {
|
|
436
|
+
id: "security_header";
|
|
437
|
+
value: {
|
|
438
|
+
strictTransportSecurity?: {
|
|
439
|
+
enabled?: boolean | null;
|
|
440
|
+
includeSubdomains?: boolean | null;
|
|
441
|
+
maxAge?: number | null;
|
|
442
|
+
nosniff?: boolean | null;
|
|
443
|
+
preload?: boolean | null;
|
|
444
|
+
} | null;
|
|
445
|
+
};
|
|
446
|
+
editable?: true | false | null;
|
|
447
|
+
modifiedOn?: string | null;
|
|
448
|
+
} | {
|
|
449
|
+
id: "security_level";
|
|
450
|
+
value: "off" | "essentially_off" | "low" | "medium" | "high" | "under_attack";
|
|
451
|
+
editable?: true | false | null;
|
|
452
|
+
modifiedOn?: string | null;
|
|
453
|
+
} | {
|
|
454
|
+
id: "server_side_exclude";
|
|
455
|
+
value: "on" | "off";
|
|
456
|
+
editable?: true | false | null;
|
|
457
|
+
modifiedOn?: string | null;
|
|
458
|
+
} | {
|
|
459
|
+
id: "sha1_support";
|
|
460
|
+
value: "off" | "on";
|
|
461
|
+
editable?: true | false | null;
|
|
462
|
+
modifiedOn?: string | null;
|
|
463
|
+
} | {
|
|
464
|
+
id: "sort_query_string_for_cache";
|
|
465
|
+
value: "on" | "off";
|
|
466
|
+
editable?: true | false | null;
|
|
467
|
+
modifiedOn?: string | null;
|
|
468
|
+
} | {
|
|
469
|
+
id: "ssl";
|
|
470
|
+
value: "off" | "flexible" | "full" | "strict";
|
|
471
|
+
editable?: true | false | null;
|
|
472
|
+
modifiedOn?: string | null;
|
|
473
|
+
} | {
|
|
474
|
+
id?: "ssl_recommender" | null;
|
|
475
|
+
enabled?: boolean | null;
|
|
476
|
+
} | {
|
|
477
|
+
id: "tls_1_2_only";
|
|
478
|
+
value: "off" | "on";
|
|
479
|
+
editable?: true | false | null;
|
|
480
|
+
modifiedOn?: string | null;
|
|
481
|
+
} | {
|
|
482
|
+
id: "tls_1_3";
|
|
483
|
+
value: "on" | "off" | "zrt";
|
|
484
|
+
editable?: true | false | null;
|
|
485
|
+
modifiedOn?: string | null;
|
|
486
|
+
} | {
|
|
487
|
+
id: "tls_client_auth";
|
|
488
|
+
value: "on" | "off";
|
|
489
|
+
editable?: true | false | null;
|
|
490
|
+
modifiedOn?: string | null;
|
|
491
|
+
} | {
|
|
492
|
+
id: "transformations";
|
|
493
|
+
value: "on" | "off" | "open";
|
|
494
|
+
editable?: true | false | null;
|
|
495
|
+
modifiedOn?: string | null;
|
|
496
|
+
} | {
|
|
497
|
+
id: "transformations_allowed_origins";
|
|
498
|
+
value: string;
|
|
499
|
+
editable?: true | false | null;
|
|
500
|
+
modifiedOn?: string | null;
|
|
501
|
+
} | {
|
|
502
|
+
id: "true_client_ip_header";
|
|
503
|
+
value: "on" | "off";
|
|
504
|
+
editable?: true | false | null;
|
|
505
|
+
modifiedOn?: string | null;
|
|
506
|
+
} | {
|
|
507
|
+
id: "waf";
|
|
508
|
+
value: "on" | "off";
|
|
509
|
+
editable?: true | false | null;
|
|
510
|
+
modifiedOn?: string | null;
|
|
511
|
+
} | {
|
|
512
|
+
id: "webp";
|
|
513
|
+
value: "off" | "on";
|
|
514
|
+
editable?: true | false | null;
|
|
515
|
+
modifiedOn?: string | null;
|
|
516
|
+
} | {
|
|
517
|
+
id: "websockets";
|
|
518
|
+
value: "off" | "on";
|
|
519
|
+
editable?: true | false | null;
|
|
520
|
+
modifiedOn?: string | null;
|
|
521
|
+
};
|
|
522
|
+
export declare const GetSettingResponse: Schema.Schema<GetSettingResponse>;
|
|
523
|
+
export type GetSettingError = DefaultErrors;
|
|
524
|
+
export declare const getSetting: API.OperationMethod<GetSettingRequest, GetSettingResponse, GetSettingError, Credentials | HttpClient.HttpClient>;
|
|
525
|
+
export interface PatchSettingRequest {
|
|
526
|
+
settingId: string;
|
|
527
|
+
/** Path param: Identifier */
|
|
528
|
+
zoneId: string;
|
|
529
|
+
/** Body param: ssl-recommender enrollment setting. */
|
|
530
|
+
enabled?: boolean;
|
|
531
|
+
}
|
|
532
|
+
export declare const PatchSettingRequest: Schema.Schema<PatchSettingRequest>;
|
|
533
|
+
export type PatchSettingResponse = {
|
|
534
|
+
id: "0rtt";
|
|
535
|
+
value: "on" | "off";
|
|
536
|
+
editable?: true | false | null;
|
|
537
|
+
modifiedOn?: string | null;
|
|
538
|
+
} | {
|
|
539
|
+
id: "advanced_ddos";
|
|
540
|
+
value: "on" | "off";
|
|
541
|
+
editable?: true | false | null;
|
|
542
|
+
modifiedOn?: string | null;
|
|
543
|
+
} | {
|
|
544
|
+
id: "aegis";
|
|
545
|
+
modifiedOn?: string | null;
|
|
546
|
+
value?: {
|
|
547
|
+
enabled?: boolean | null;
|
|
548
|
+
poolId?: string | null;
|
|
549
|
+
} | null;
|
|
550
|
+
} | {
|
|
551
|
+
id: "always_online";
|
|
552
|
+
value: "on" | "off";
|
|
553
|
+
editable?: true | false | null;
|
|
554
|
+
modifiedOn?: string | null;
|
|
555
|
+
} | {
|
|
556
|
+
id: "always_use_https";
|
|
557
|
+
value: "on" | "off";
|
|
558
|
+
editable?: true | false | null;
|
|
559
|
+
modifiedOn?: string | null;
|
|
560
|
+
} | {
|
|
561
|
+
id: "automatic_https_rewrites";
|
|
562
|
+
value: "on" | "off";
|
|
563
|
+
editable?: true | false | null;
|
|
564
|
+
modifiedOn?: string | null;
|
|
565
|
+
} | {
|
|
566
|
+
id: "brotli";
|
|
567
|
+
value: "off" | "on";
|
|
568
|
+
editable?: true | false | null;
|
|
569
|
+
modifiedOn?: string | null;
|
|
570
|
+
} | {
|
|
571
|
+
id: "browser_cache_ttl";
|
|
572
|
+
value: number;
|
|
573
|
+
editable?: true | false | null;
|
|
574
|
+
modifiedOn?: string | null;
|
|
575
|
+
} | {
|
|
576
|
+
id: "browser_check";
|
|
577
|
+
value: "on" | "off";
|
|
578
|
+
editable?: true | false | null;
|
|
579
|
+
modifiedOn?: string | null;
|
|
580
|
+
} | {
|
|
581
|
+
id: "cache_level";
|
|
582
|
+
value: "aggressive" | "basic" | "simplified";
|
|
583
|
+
editable?: true | false | null;
|
|
584
|
+
modifiedOn?: string | null;
|
|
585
|
+
} | {
|
|
586
|
+
id: "challenge_ttl";
|
|
587
|
+
value: "300" | "900" | "1800" | "2700" | "3600" | "7200" | "10800" | "14400" | "28800" | "57600" | "86400" | "604800" | "2592000" | "31536000";
|
|
588
|
+
editable?: true | false | null;
|
|
589
|
+
modifiedOn?: string | null;
|
|
590
|
+
} | {
|
|
591
|
+
id: "china_network_enabled";
|
|
592
|
+
value: "on" | "off";
|
|
593
|
+
editable?: true | false | null;
|
|
594
|
+
modifiedOn?: string | null;
|
|
595
|
+
} | {
|
|
596
|
+
id: "ciphers";
|
|
597
|
+
value: string[];
|
|
598
|
+
editable?: true | false | null;
|
|
599
|
+
modifiedOn?: string | null;
|
|
600
|
+
} | {
|
|
601
|
+
id: "cname_flattening";
|
|
602
|
+
value: "flatten_at_root" | "flatten_all";
|
|
603
|
+
editable?: true | false | null;
|
|
604
|
+
modifiedOn?: string | null;
|
|
605
|
+
} | {
|
|
606
|
+
id: "development_mode";
|
|
607
|
+
value: "on" | "off";
|
|
608
|
+
editable?: true | false | null;
|
|
609
|
+
modifiedOn?: string | null;
|
|
610
|
+
timeRemaining?: number | null;
|
|
611
|
+
} | {
|
|
612
|
+
id: "early_hints";
|
|
613
|
+
value: "on" | "off";
|
|
614
|
+
editable?: true | false | null;
|
|
615
|
+
modifiedOn?: string | null;
|
|
616
|
+
} | {
|
|
617
|
+
id: "edge_cache_ttl";
|
|
618
|
+
value: "30" | "60" | "300" | "1200" | "1800" | "3600" | "7200" | "10800" | "14400" | "18000" | "28800" | "43200" | "57600" | "72000" | "86400" | "172800" | "259200" | "345600" | "432000" | "518400" | "604800";
|
|
619
|
+
editable?: true | false | null;
|
|
620
|
+
modifiedOn?: string | null;
|
|
621
|
+
} | {
|
|
622
|
+
id: "email_obfuscation";
|
|
623
|
+
value: "on" | "off";
|
|
624
|
+
editable?: true | false | null;
|
|
625
|
+
modifiedOn?: string | null;
|
|
626
|
+
} | {
|
|
627
|
+
id: "h2_prioritization";
|
|
628
|
+
value: "on" | "off" | "custom";
|
|
629
|
+
editable?: true | false | null;
|
|
630
|
+
modifiedOn?: string | null;
|
|
631
|
+
} | {
|
|
632
|
+
id: "hotlink_protection";
|
|
633
|
+
value: "on" | "off";
|
|
634
|
+
editable?: true | false | null;
|
|
635
|
+
modifiedOn?: string | null;
|
|
636
|
+
} | {
|
|
637
|
+
id: "http2";
|
|
638
|
+
value: "on" | "off";
|
|
639
|
+
editable?: true | false | null;
|
|
640
|
+
modifiedOn?: string | null;
|
|
641
|
+
} | {
|
|
642
|
+
id: "http3";
|
|
643
|
+
value: "on" | "off";
|
|
644
|
+
editable?: true | false | null;
|
|
645
|
+
modifiedOn?: string | null;
|
|
646
|
+
} | {
|
|
647
|
+
id: "image_resizing";
|
|
648
|
+
value: "on" | "off" | "open";
|
|
649
|
+
editable?: true | false | null;
|
|
650
|
+
modifiedOn?: string | null;
|
|
651
|
+
} | {
|
|
652
|
+
id: "ip_geolocation";
|
|
653
|
+
value: "on" | "off";
|
|
654
|
+
editable?: true | false | null;
|
|
655
|
+
modifiedOn?: string | null;
|
|
656
|
+
} | {
|
|
657
|
+
id: "ipv6";
|
|
658
|
+
value: "off" | "on";
|
|
659
|
+
editable?: true | false | null;
|
|
660
|
+
modifiedOn?: string | null;
|
|
661
|
+
} | {
|
|
662
|
+
id: "max_upload";
|
|
663
|
+
value: "100" | "125" | "150" | "175" | "200" | "225" | "250" | "275" | "300" | "325" | "350" | "375" | "400" | "425" | "450" | "475" | "500" | "1000";
|
|
664
|
+
editable?: true | false | null;
|
|
665
|
+
modifiedOn?: string | null;
|
|
666
|
+
} | {
|
|
667
|
+
id: "min_tls_version";
|
|
668
|
+
value: "1.0" | "1.1" | "1.2" | "1.3";
|
|
669
|
+
editable?: true | false | null;
|
|
670
|
+
modifiedOn?: string | null;
|
|
671
|
+
} | {
|
|
672
|
+
id: "mirage";
|
|
673
|
+
value: "on" | "off";
|
|
674
|
+
editable?: true | false | null;
|
|
675
|
+
modifiedOn?: string | null;
|
|
676
|
+
} | {
|
|
677
|
+
id: "nel";
|
|
678
|
+
value: {
|
|
679
|
+
enabled?: boolean | null;
|
|
680
|
+
};
|
|
681
|
+
editable?: true | false | null;
|
|
682
|
+
modifiedOn?: string | null;
|
|
683
|
+
} | {
|
|
684
|
+
id: "opportunistic_encryption";
|
|
685
|
+
value: "on" | "off";
|
|
686
|
+
editable?: true | false | null;
|
|
687
|
+
modifiedOn?: string | null;
|
|
688
|
+
} | {
|
|
689
|
+
id: "opportunistic_onion";
|
|
690
|
+
value: "on" | "off";
|
|
691
|
+
editable?: true | false | null;
|
|
692
|
+
modifiedOn?: string | null;
|
|
693
|
+
} | {
|
|
694
|
+
id: "orange_to_orange";
|
|
695
|
+
value: "on" | "off";
|
|
696
|
+
editable?: true | false | null;
|
|
697
|
+
modifiedOn?: string | null;
|
|
698
|
+
} | {
|
|
699
|
+
id: "origin_error_page_pass_thru";
|
|
700
|
+
value: "on" | "off";
|
|
701
|
+
editable?: true | false | null;
|
|
702
|
+
modifiedOn?: string | null;
|
|
703
|
+
} | {
|
|
704
|
+
id: "origin_h2_max_streams";
|
|
705
|
+
modifiedOn?: string | null;
|
|
706
|
+
value?: number | null;
|
|
707
|
+
} | {
|
|
708
|
+
id: "origin_max_http_version";
|
|
709
|
+
modifiedOn?: string | null;
|
|
710
|
+
value?: "2" | "1" | null;
|
|
711
|
+
} | {
|
|
712
|
+
id: "polish";
|
|
713
|
+
value: "off" | "lossless" | "lossy";
|
|
714
|
+
editable?: true | false | null;
|
|
715
|
+
modifiedOn?: string | null;
|
|
716
|
+
} | {
|
|
717
|
+
id: "prefetch_preload";
|
|
718
|
+
value: "on" | "off";
|
|
719
|
+
editable?: true | false | null;
|
|
720
|
+
modifiedOn?: string | null;
|
|
721
|
+
} | {
|
|
722
|
+
id: "privacy_pass";
|
|
723
|
+
value: "on" | "off";
|
|
724
|
+
editable?: true | false | null;
|
|
725
|
+
modifiedOn?: string | null;
|
|
726
|
+
} | {
|
|
727
|
+
id: "proxy_read_timeout";
|
|
728
|
+
value: number;
|
|
729
|
+
editable?: true | false | null;
|
|
730
|
+
modifiedOn?: string | null;
|
|
731
|
+
} | {
|
|
732
|
+
id: "pseudo_ipv4";
|
|
733
|
+
value: "off" | "add_header" | "overwrite_header";
|
|
734
|
+
editable?: true | false | null;
|
|
735
|
+
modifiedOn?: string | null;
|
|
736
|
+
} | {
|
|
737
|
+
id: "replace_insecure_js";
|
|
738
|
+
value: "on" | "off";
|
|
739
|
+
editable?: true | false | null;
|
|
740
|
+
modifiedOn?: string | null;
|
|
741
|
+
} | {
|
|
742
|
+
id: "response_buffering";
|
|
743
|
+
value: "on" | "off";
|
|
744
|
+
editable?: true | false | null;
|
|
745
|
+
modifiedOn?: string | null;
|
|
746
|
+
} | {
|
|
747
|
+
id: "rocket_loader";
|
|
748
|
+
value: "on" | "off";
|
|
749
|
+
editable?: true | false | null;
|
|
750
|
+
modifiedOn?: string | null;
|
|
751
|
+
} | {
|
|
752
|
+
id: "automatic_platform_optimization";
|
|
753
|
+
value: unknown;
|
|
754
|
+
editable?: true | false | null;
|
|
755
|
+
modifiedOn?: string | null;
|
|
756
|
+
} | {
|
|
757
|
+
id: "security_header";
|
|
758
|
+
value: {
|
|
759
|
+
strictTransportSecurity?: {
|
|
760
|
+
enabled?: boolean | null;
|
|
761
|
+
includeSubdomains?: boolean | null;
|
|
762
|
+
maxAge?: number | null;
|
|
763
|
+
nosniff?: boolean | null;
|
|
764
|
+
preload?: boolean | null;
|
|
765
|
+
} | null;
|
|
766
|
+
};
|
|
767
|
+
editable?: true | false | null;
|
|
768
|
+
modifiedOn?: string | null;
|
|
769
|
+
} | {
|
|
770
|
+
id: "security_level";
|
|
771
|
+
value: "off" | "essentially_off" | "low" | "medium" | "high" | "under_attack";
|
|
772
|
+
editable?: true | false | null;
|
|
773
|
+
modifiedOn?: string | null;
|
|
774
|
+
} | {
|
|
775
|
+
id: "server_side_exclude";
|
|
776
|
+
value: "on" | "off";
|
|
777
|
+
editable?: true | false | null;
|
|
778
|
+
modifiedOn?: string | null;
|
|
779
|
+
} | {
|
|
780
|
+
id: "sha1_support";
|
|
781
|
+
value: "off" | "on";
|
|
782
|
+
editable?: true | false | null;
|
|
783
|
+
modifiedOn?: string | null;
|
|
784
|
+
} | {
|
|
785
|
+
id: "sort_query_string_for_cache";
|
|
786
|
+
value: "on" | "off";
|
|
787
|
+
editable?: true | false | null;
|
|
788
|
+
modifiedOn?: string | null;
|
|
789
|
+
} | {
|
|
790
|
+
id: "ssl";
|
|
791
|
+
value: "off" | "flexible" | "full" | "strict";
|
|
792
|
+
editable?: true | false | null;
|
|
793
|
+
modifiedOn?: string | null;
|
|
794
|
+
} | {
|
|
795
|
+
id?: "ssl_recommender" | null;
|
|
796
|
+
enabled?: boolean | null;
|
|
797
|
+
} | {
|
|
798
|
+
id: "tls_1_2_only";
|
|
799
|
+
value: "off" | "on";
|
|
800
|
+
editable?: true | false | null;
|
|
801
|
+
modifiedOn?: string | null;
|
|
802
|
+
} | {
|
|
803
|
+
id: "tls_1_3";
|
|
804
|
+
value: "on" | "off" | "zrt";
|
|
805
|
+
editable?: true | false | null;
|
|
806
|
+
modifiedOn?: string | null;
|
|
807
|
+
} | {
|
|
808
|
+
id: "tls_client_auth";
|
|
809
|
+
value: "on" | "off";
|
|
810
|
+
editable?: true | false | null;
|
|
811
|
+
modifiedOn?: string | null;
|
|
812
|
+
} | {
|
|
813
|
+
id: "transformations";
|
|
814
|
+
value: "on" | "off" | "open";
|
|
815
|
+
editable?: true | false | null;
|
|
816
|
+
modifiedOn?: string | null;
|
|
817
|
+
} | {
|
|
818
|
+
id: "transformations_allowed_origins";
|
|
819
|
+
value: string;
|
|
820
|
+
editable?: true | false | null;
|
|
821
|
+
modifiedOn?: string | null;
|
|
822
|
+
} | {
|
|
823
|
+
id: "true_client_ip_header";
|
|
824
|
+
value: "on" | "off";
|
|
825
|
+
editable?: true | false | null;
|
|
826
|
+
modifiedOn?: string | null;
|
|
827
|
+
} | {
|
|
828
|
+
id: "waf";
|
|
829
|
+
value: "on" | "off";
|
|
830
|
+
editable?: true | false | null;
|
|
831
|
+
modifiedOn?: string | null;
|
|
832
|
+
} | {
|
|
833
|
+
id: "webp";
|
|
834
|
+
value: "off" | "on";
|
|
835
|
+
editable?: true | false | null;
|
|
836
|
+
modifiedOn?: string | null;
|
|
837
|
+
} | {
|
|
838
|
+
id: "websockets";
|
|
839
|
+
value: "off" | "on";
|
|
840
|
+
editable?: true | false | null;
|
|
841
|
+
modifiedOn?: string | null;
|
|
842
|
+
};
|
|
843
|
+
export declare const PatchSettingResponse: Schema.Schema<PatchSettingResponse>;
|
|
844
|
+
export type PatchSettingError = DefaultErrors;
|
|
845
|
+
export declare const patchSetting: API.OperationMethod<PatchSettingRequest, PatchSettingResponse, PatchSettingError, Credentials | HttpClient.HttpClient>;
|
|
846
|
+
export interface GetSubscriptionRequest {
|
|
847
|
+
/** Identifier */
|
|
848
|
+
zoneId: string;
|
|
849
|
+
}
|
|
850
|
+
export declare const GetSubscriptionRequest: Schema.Schema<GetSubscriptionRequest>;
|
|
851
|
+
export interface GetSubscriptionResponse {
|
|
852
|
+
/** Subscription identifier tag. */
|
|
853
|
+
id?: string | null;
|
|
854
|
+
/** The monetary unit in which pricing information is displayed. */
|
|
855
|
+
currency?: string | null;
|
|
856
|
+
/** The end of the current period and also when the next billing is due. */
|
|
857
|
+
currentPeriodEnd?: string | null;
|
|
858
|
+
/** When the current billing period started. May match initial_period_start if this is the first period. */
|
|
859
|
+
currentPeriodStart?: string | null;
|
|
860
|
+
/** How often the subscription is renewed automatically. */
|
|
861
|
+
frequency?: "weekly" | "monthly" | "quarterly" | "yearly" | "not-applicable" | null;
|
|
862
|
+
/** The price of the subscription that will be billed, in US dollars. */
|
|
863
|
+
price?: number | null;
|
|
864
|
+
/** The rate plan applied to the subscription. */
|
|
865
|
+
ratePlan?: unknown | null;
|
|
866
|
+
/** The state that the subscription is in. */
|
|
867
|
+
state?: "Trial" | "Provisioned" | "Paid" | "AwaitingPayment" | "Cancelled" | "Failed" | "Expired" | null;
|
|
868
|
+
}
|
|
869
|
+
export declare const GetSubscriptionResponse: Schema.Schema<GetSubscriptionResponse>;
|
|
870
|
+
export type GetSubscriptionError = DefaultErrors;
|
|
871
|
+
export declare const getSubscription: API.OperationMethod<GetSubscriptionRequest, GetSubscriptionResponse, GetSubscriptionError, Credentials | HttpClient.HttpClient>;
|
|
872
|
+
export interface CreateSubscriptionRequest {
|
|
873
|
+
/** Path param: Identifier */
|
|
874
|
+
zoneId: string;
|
|
875
|
+
/** Body param: How often the subscription is renewed automatically. */
|
|
876
|
+
frequency?: "weekly" | "monthly" | "quarterly" | "yearly";
|
|
877
|
+
/** Body param: The rate plan applied to the subscription. */
|
|
878
|
+
ratePlan?: unknown;
|
|
879
|
+
}
|
|
880
|
+
export declare const CreateSubscriptionRequest: Schema.Schema<CreateSubscriptionRequest>;
|
|
881
|
+
export interface CreateSubscriptionResponse {
|
|
882
|
+
/** Subscription identifier tag. */
|
|
883
|
+
id?: string | null;
|
|
884
|
+
/** The monetary unit in which pricing information is displayed. */
|
|
885
|
+
currency?: string | null;
|
|
886
|
+
/** The end of the current period and also when the next billing is due. */
|
|
887
|
+
currentPeriodEnd?: string | null;
|
|
888
|
+
/** When the current billing period started. May match initial_period_start if this is the first period. */
|
|
889
|
+
currentPeriodStart?: string | null;
|
|
890
|
+
/** How often the subscription is renewed automatically. */
|
|
891
|
+
frequency?: "weekly" | "monthly" | "quarterly" | "yearly" | "not-applicable" | null;
|
|
892
|
+
/** The price of the subscription that will be billed, in US dollars. */
|
|
893
|
+
price?: number | null;
|
|
894
|
+
/** The rate plan applied to the subscription. */
|
|
895
|
+
ratePlan?: unknown | null;
|
|
896
|
+
/** The state that the subscription is in. */
|
|
897
|
+
state?: "Trial" | "Provisioned" | "Paid" | "AwaitingPayment" | "Cancelled" | "Failed" | "Expired" | null;
|
|
898
|
+
}
|
|
899
|
+
export declare const CreateSubscriptionResponse: Schema.Schema<CreateSubscriptionResponse>;
|
|
900
|
+
export type CreateSubscriptionError = DefaultErrors;
|
|
901
|
+
export declare const createSubscription: API.OperationMethod<CreateSubscriptionRequest, CreateSubscriptionResponse, CreateSubscriptionError, Credentials | HttpClient.HttpClient>;
|
|
902
|
+
export interface UpdateSubscriptionRequest {
|
|
903
|
+
/** Path param: Identifier */
|
|
904
|
+
zoneId: string;
|
|
905
|
+
/** Body param: How often the subscription is renewed automatically. */
|
|
906
|
+
frequency?: "weekly" | "monthly" | "quarterly" | "yearly";
|
|
907
|
+
/** Body param: The rate plan applied to the subscription. */
|
|
908
|
+
ratePlan?: unknown;
|
|
909
|
+
}
|
|
910
|
+
export declare const UpdateSubscriptionRequest: Schema.Schema<UpdateSubscriptionRequest>;
|
|
911
|
+
export interface UpdateSubscriptionResponse {
|
|
912
|
+
/** Subscription identifier tag. */
|
|
913
|
+
id?: string | null;
|
|
914
|
+
/** The monetary unit in which pricing information is displayed. */
|
|
915
|
+
currency?: string | null;
|
|
916
|
+
/** The end of the current period and also when the next billing is due. */
|
|
917
|
+
currentPeriodEnd?: string | null;
|
|
918
|
+
/** When the current billing period started. May match initial_period_start if this is the first period. */
|
|
919
|
+
currentPeriodStart?: string | null;
|
|
920
|
+
/** How often the subscription is renewed automatically. */
|
|
921
|
+
frequency?: "weekly" | "monthly" | "quarterly" | "yearly" | "not-applicable" | null;
|
|
922
|
+
/** The price of the subscription that will be billed, in US dollars. */
|
|
923
|
+
price?: number | null;
|
|
924
|
+
/** The rate plan applied to the subscription. */
|
|
925
|
+
ratePlan?: unknown | null;
|
|
926
|
+
/** The state that the subscription is in. */
|
|
927
|
+
state?: "Trial" | "Provisioned" | "Paid" | "AwaitingPayment" | "Cancelled" | "Failed" | "Expired" | null;
|
|
928
|
+
}
|
|
929
|
+
export declare const UpdateSubscriptionResponse: Schema.Schema<UpdateSubscriptionResponse>;
|
|
930
|
+
export type UpdateSubscriptionError = DefaultErrors;
|
|
931
|
+
export declare const updateSubscription: API.OperationMethod<UpdateSubscriptionRequest, UpdateSubscriptionResponse, UpdateSubscriptionError, Credentials | HttpClient.HttpClient>;
|
|
932
|
+
export interface GetZoneRequest {
|
|
933
|
+
/** Identifier */
|
|
934
|
+
zoneId: string;
|
|
935
|
+
}
|
|
936
|
+
export declare const GetZoneRequest: Schema.Schema<GetZoneRequest>;
|
|
937
|
+
export interface GetZoneResponse {
|
|
938
|
+
/** Identifier */
|
|
939
|
+
id: string;
|
|
940
|
+
/** The account the zone belongs to. */
|
|
941
|
+
account: {
|
|
942
|
+
id?: string | null;
|
|
943
|
+
name?: string | null;
|
|
944
|
+
};
|
|
945
|
+
/** The last time proof of ownership was detected and the zone was made active. */
|
|
946
|
+
activatedOn: string | null;
|
|
947
|
+
/** When the zone was created. */
|
|
948
|
+
createdOn: string;
|
|
949
|
+
/** The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is 0. */
|
|
950
|
+
developmentMode: number;
|
|
951
|
+
/** Metadata about the zone. */
|
|
952
|
+
meta: {
|
|
953
|
+
cdnOnly?: boolean | null;
|
|
954
|
+
customCertificateQuota?: number | null;
|
|
955
|
+
dnsOnly?: boolean | null;
|
|
956
|
+
foundationDns?: boolean | null;
|
|
957
|
+
pageRuleQuota?: number | null;
|
|
958
|
+
phishingDetected?: boolean | null;
|
|
959
|
+
step?: number | null;
|
|
960
|
+
};
|
|
961
|
+
/** When the zone was last modified. */
|
|
962
|
+
modifiedOn: string;
|
|
963
|
+
/** The domain name. */
|
|
964
|
+
name: string;
|
|
965
|
+
/** The name servers Cloudflare assigns to a zone. */
|
|
966
|
+
nameServers: string[];
|
|
967
|
+
/** DNS host at the time of switching to Cloudflare. */
|
|
968
|
+
originalDnshost: string | null;
|
|
969
|
+
/** Original name servers before moving to Cloudflare. */
|
|
970
|
+
originalNameServers: string[] | null;
|
|
971
|
+
/** Registrar for the domain at the time of switching to Cloudflare. */
|
|
972
|
+
originalRegistrar: string | null;
|
|
973
|
+
/** The owner of the zone. */
|
|
974
|
+
owner: {
|
|
975
|
+
id?: string | null;
|
|
976
|
+
name?: string | null;
|
|
977
|
+
type?: string | null;
|
|
978
|
+
};
|
|
979
|
+
/** @deprecated Please use the `/zones/{zone_id}/subscription` API to update a zone's plan. Changing this value will create/cancel associated subscriptions. To view available plans for this zone, see [Zon */
|
|
980
|
+
plan: {
|
|
981
|
+
id?: string | null;
|
|
982
|
+
canSubscribe?: boolean | null;
|
|
983
|
+
currency?: string | null;
|
|
984
|
+
externallyManaged?: boolean | null;
|
|
985
|
+
frequency?: string | null;
|
|
986
|
+
isSubscribed?: boolean | null;
|
|
987
|
+
legacyDiscount?: boolean | null;
|
|
988
|
+
legacyId?: string | null;
|
|
989
|
+
name?: string | null;
|
|
990
|
+
price?: number | null;
|
|
991
|
+
};
|
|
992
|
+
/** Allows the customer to use a custom apex. _Tenants Only Configuration_. */
|
|
993
|
+
cnameSuffix?: string | null;
|
|
994
|
+
/** Indicates whether the zone is only using Cloudflare DNS services. A true value means the zone will not receive security or performance benefits. */
|
|
995
|
+
paused?: boolean | null;
|
|
996
|
+
/** @deprecated This has been replaced by Account memberships. */
|
|
997
|
+
permissions?: string[] | null;
|
|
998
|
+
/** The zone status on Cloudflare. */
|
|
999
|
+
status?: "initializing" | "pending" | "active" | "moved" | null;
|
|
1000
|
+
/** The root organizational unit that this zone belongs to (such as a tenant or organization). */
|
|
1001
|
+
tenant?: {
|
|
1002
|
+
id?: string | null;
|
|
1003
|
+
name?: string | null;
|
|
1004
|
+
} | null;
|
|
1005
|
+
/** The immediate parent organizational unit that this zone belongs to (such as under a tenant or sub-organization). */
|
|
1006
|
+
tenantUnit?: {
|
|
1007
|
+
id?: string | null;
|
|
1008
|
+
} | null;
|
|
1009
|
+
/** A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup. */
|
|
1010
|
+
type?: "full" | "partial" | "secondary" | "internal" | null;
|
|
1011
|
+
/** An array of domains used for custom name servers. This is only available for Business and Enterprise plans. */
|
|
1012
|
+
vanityNameServers?: string[] | null;
|
|
1013
|
+
/** Verification key for partial zone setup. */
|
|
1014
|
+
verificationKey?: string | null;
|
|
1015
|
+
}
|
|
1016
|
+
export declare const GetZoneResponse: Schema.Schema<GetZoneResponse>;
|
|
1017
|
+
export type GetZoneError = DefaultErrors;
|
|
1018
|
+
export declare const getZone: API.OperationMethod<GetZoneRequest, GetZoneResponse, GetZoneError, Credentials | HttpClient.HttpClient>;
|
|
1019
|
+
export interface ListZonesRequest {
|
|
1020
|
+
}
|
|
1021
|
+
export declare const ListZonesRequest: Schema.Schema<ListZonesRequest>;
|
|
1022
|
+
export type ListZonesResponse = {
|
|
1023
|
+
id: string;
|
|
1024
|
+
account: {
|
|
1025
|
+
id?: string | null;
|
|
1026
|
+
name?: string | null;
|
|
1027
|
+
};
|
|
1028
|
+
activatedOn: string | null;
|
|
1029
|
+
createdOn: string;
|
|
1030
|
+
developmentMode: number;
|
|
1031
|
+
meta: {
|
|
1032
|
+
cdnOnly?: boolean | null;
|
|
1033
|
+
customCertificateQuota?: number | null;
|
|
1034
|
+
dnsOnly?: boolean | null;
|
|
1035
|
+
foundationDns?: boolean | null;
|
|
1036
|
+
pageRuleQuota?: number | null;
|
|
1037
|
+
phishingDetected?: boolean | null;
|
|
1038
|
+
step?: number | null;
|
|
1039
|
+
};
|
|
1040
|
+
modifiedOn: string;
|
|
1041
|
+
name: string;
|
|
1042
|
+
nameServers: string[];
|
|
1043
|
+
originalDnshost: string | null;
|
|
1044
|
+
originalNameServers: string[] | null;
|
|
1045
|
+
originalRegistrar: string | null;
|
|
1046
|
+
owner: {
|
|
1047
|
+
id?: string | null;
|
|
1048
|
+
name?: string | null;
|
|
1049
|
+
type?: string | null;
|
|
1050
|
+
};
|
|
1051
|
+
plan: {
|
|
1052
|
+
id?: string | null;
|
|
1053
|
+
canSubscribe?: boolean | null;
|
|
1054
|
+
currency?: string | null;
|
|
1055
|
+
externallyManaged?: boolean | null;
|
|
1056
|
+
frequency?: string | null;
|
|
1057
|
+
isSubscribed?: boolean | null;
|
|
1058
|
+
legacyDiscount?: boolean | null;
|
|
1059
|
+
legacyId?: string | null;
|
|
1060
|
+
name?: string | null;
|
|
1061
|
+
price?: number | null;
|
|
1062
|
+
};
|
|
1063
|
+
cnameSuffix?: string | null;
|
|
1064
|
+
paused?: boolean | null;
|
|
1065
|
+
permissions?: string[] | null;
|
|
1066
|
+
status?: "initializing" | "pending" | "active" | "moved" | null;
|
|
1067
|
+
tenant?: {
|
|
1068
|
+
id?: string | null;
|
|
1069
|
+
name?: string | null;
|
|
1070
|
+
} | null;
|
|
1071
|
+
tenantUnit?: {
|
|
1072
|
+
id?: string | null;
|
|
1073
|
+
} | null;
|
|
1074
|
+
type?: "full" | "partial" | "secondary" | "internal" | null;
|
|
1075
|
+
vanityNameServers?: string[] | null;
|
|
1076
|
+
verificationKey?: string | null;
|
|
1077
|
+
}[];
|
|
1078
|
+
export declare const ListZonesResponse: Schema.Schema<ListZonesResponse>;
|
|
1079
|
+
export type ListZonesError = DefaultErrors;
|
|
1080
|
+
export declare const listZones: API.OperationMethod<ListZonesRequest, ListZonesResponse, ListZonesError, Credentials | HttpClient.HttpClient>;
|
|
1081
|
+
export interface CreateZoneRequest {
|
|
1082
|
+
account: {
|
|
1083
|
+
id?: string;
|
|
1084
|
+
};
|
|
1085
|
+
/** The domain name. */
|
|
1086
|
+
name: string;
|
|
1087
|
+
/** A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup. */
|
|
1088
|
+
type?: "full" | "partial" | "secondary" | "internal";
|
|
1089
|
+
}
|
|
1090
|
+
export declare const CreateZoneRequest: Schema.Schema<CreateZoneRequest>;
|
|
1091
|
+
export interface CreateZoneResponse {
|
|
1092
|
+
/** Identifier */
|
|
1093
|
+
id: string;
|
|
1094
|
+
/** The account the zone belongs to. */
|
|
1095
|
+
account: {
|
|
1096
|
+
id?: string | null;
|
|
1097
|
+
name?: string | null;
|
|
1098
|
+
};
|
|
1099
|
+
/** The last time proof of ownership was detected and the zone was made active. */
|
|
1100
|
+
activatedOn: string | null;
|
|
1101
|
+
/** When the zone was created. */
|
|
1102
|
+
createdOn: string;
|
|
1103
|
+
/** The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is 0. */
|
|
1104
|
+
developmentMode: number;
|
|
1105
|
+
/** Metadata about the zone. */
|
|
1106
|
+
meta: {
|
|
1107
|
+
cdnOnly?: boolean | null;
|
|
1108
|
+
customCertificateQuota?: number | null;
|
|
1109
|
+
dnsOnly?: boolean | null;
|
|
1110
|
+
foundationDns?: boolean | null;
|
|
1111
|
+
pageRuleQuota?: number | null;
|
|
1112
|
+
phishingDetected?: boolean | null;
|
|
1113
|
+
step?: number | null;
|
|
1114
|
+
};
|
|
1115
|
+
/** When the zone was last modified. */
|
|
1116
|
+
modifiedOn: string;
|
|
1117
|
+
/** The domain name. */
|
|
1118
|
+
name: string;
|
|
1119
|
+
/** The name servers Cloudflare assigns to a zone. */
|
|
1120
|
+
nameServers: string[];
|
|
1121
|
+
/** DNS host at the time of switching to Cloudflare. */
|
|
1122
|
+
originalDnshost: string | null;
|
|
1123
|
+
/** Original name servers before moving to Cloudflare. */
|
|
1124
|
+
originalNameServers: string[] | null;
|
|
1125
|
+
/** Registrar for the domain at the time of switching to Cloudflare. */
|
|
1126
|
+
originalRegistrar: string | null;
|
|
1127
|
+
/** The owner of the zone. */
|
|
1128
|
+
owner: {
|
|
1129
|
+
id?: string | null;
|
|
1130
|
+
name?: string | null;
|
|
1131
|
+
type?: string | null;
|
|
1132
|
+
};
|
|
1133
|
+
/** @deprecated Please use the `/zones/{zone_id}/subscription` API to update a zone's plan. Changing this value will create/cancel associated subscriptions. To view available plans for this zone, see [Zon */
|
|
1134
|
+
plan: {
|
|
1135
|
+
id?: string | null;
|
|
1136
|
+
canSubscribe?: boolean | null;
|
|
1137
|
+
currency?: string | null;
|
|
1138
|
+
externallyManaged?: boolean | null;
|
|
1139
|
+
frequency?: string | null;
|
|
1140
|
+
isSubscribed?: boolean | null;
|
|
1141
|
+
legacyDiscount?: boolean | null;
|
|
1142
|
+
legacyId?: string | null;
|
|
1143
|
+
name?: string | null;
|
|
1144
|
+
price?: number | null;
|
|
1145
|
+
};
|
|
1146
|
+
/** Allows the customer to use a custom apex. _Tenants Only Configuration_. */
|
|
1147
|
+
cnameSuffix?: string | null;
|
|
1148
|
+
/** Indicates whether the zone is only using Cloudflare DNS services. A true value means the zone will not receive security or performance benefits. */
|
|
1149
|
+
paused?: boolean | null;
|
|
1150
|
+
/** @deprecated This has been replaced by Account memberships. */
|
|
1151
|
+
permissions?: string[] | null;
|
|
1152
|
+
/** The zone status on Cloudflare. */
|
|
1153
|
+
status?: "initializing" | "pending" | "active" | "moved" | null;
|
|
1154
|
+
/** The root organizational unit that this zone belongs to (such as a tenant or organization). */
|
|
1155
|
+
tenant?: {
|
|
1156
|
+
id?: string | null;
|
|
1157
|
+
name?: string | null;
|
|
1158
|
+
} | null;
|
|
1159
|
+
/** The immediate parent organizational unit that this zone belongs to (such as under a tenant or sub-organization). */
|
|
1160
|
+
tenantUnit?: {
|
|
1161
|
+
id?: string | null;
|
|
1162
|
+
} | null;
|
|
1163
|
+
/** A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup. */
|
|
1164
|
+
type?: "full" | "partial" | "secondary" | "internal" | null;
|
|
1165
|
+
/** An array of domains used for custom name servers. This is only available for Business and Enterprise plans. */
|
|
1166
|
+
vanityNameServers?: string[] | null;
|
|
1167
|
+
/** Verification key for partial zone setup. */
|
|
1168
|
+
verificationKey?: string | null;
|
|
1169
|
+
}
|
|
1170
|
+
export declare const CreateZoneResponse: Schema.Schema<CreateZoneResponse>;
|
|
1171
|
+
export type CreateZoneError = DefaultErrors;
|
|
1172
|
+
export declare const createZone: API.OperationMethod<CreateZoneRequest, CreateZoneResponse, CreateZoneError, Credentials | HttpClient.HttpClient>;
|
|
1173
|
+
export interface PatchZoneRequest {
|
|
1174
|
+
/** Path param: Identifier */
|
|
1175
|
+
zoneId: string;
|
|
1176
|
+
/** Body param: Indicates whether the zone is only using Cloudflare DNS services. A true value means the zone will not receive security or performance benefits. */
|
|
1177
|
+
paused?: boolean;
|
|
1178
|
+
/** Body param: A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup. This parameter is only available to Enterprise customers or if i */
|
|
1179
|
+
type?: "full" | "partial" | "secondary" | "internal";
|
|
1180
|
+
/** Body param: An array of domains used for custom name servers. This is only available for Business and Enterprise plans. */
|
|
1181
|
+
vanityNameServers?: string[];
|
|
1182
|
+
}
|
|
1183
|
+
export declare const PatchZoneRequest: Schema.Schema<PatchZoneRequest>;
|
|
1184
|
+
export interface PatchZoneResponse {
|
|
1185
|
+
/** Identifier */
|
|
1186
|
+
id: string;
|
|
1187
|
+
/** The account the zone belongs to. */
|
|
1188
|
+
account: {
|
|
1189
|
+
id?: string | null;
|
|
1190
|
+
name?: string | null;
|
|
1191
|
+
};
|
|
1192
|
+
/** The last time proof of ownership was detected and the zone was made active. */
|
|
1193
|
+
activatedOn: string | null;
|
|
1194
|
+
/** When the zone was created. */
|
|
1195
|
+
createdOn: string;
|
|
1196
|
+
/** The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is 0. */
|
|
1197
|
+
developmentMode: number;
|
|
1198
|
+
/** Metadata about the zone. */
|
|
1199
|
+
meta: {
|
|
1200
|
+
cdnOnly?: boolean | null;
|
|
1201
|
+
customCertificateQuota?: number | null;
|
|
1202
|
+
dnsOnly?: boolean | null;
|
|
1203
|
+
foundationDns?: boolean | null;
|
|
1204
|
+
pageRuleQuota?: number | null;
|
|
1205
|
+
phishingDetected?: boolean | null;
|
|
1206
|
+
step?: number | null;
|
|
1207
|
+
};
|
|
1208
|
+
/** When the zone was last modified. */
|
|
1209
|
+
modifiedOn: string;
|
|
1210
|
+
/** The domain name. */
|
|
1211
|
+
name: string;
|
|
1212
|
+
/** The name servers Cloudflare assigns to a zone. */
|
|
1213
|
+
nameServers: string[];
|
|
1214
|
+
/** DNS host at the time of switching to Cloudflare. */
|
|
1215
|
+
originalDnshost: string | null;
|
|
1216
|
+
/** Original name servers before moving to Cloudflare. */
|
|
1217
|
+
originalNameServers: string[] | null;
|
|
1218
|
+
/** Registrar for the domain at the time of switching to Cloudflare. */
|
|
1219
|
+
originalRegistrar: string | null;
|
|
1220
|
+
/** The owner of the zone. */
|
|
1221
|
+
owner: {
|
|
1222
|
+
id?: string | null;
|
|
1223
|
+
name?: string | null;
|
|
1224
|
+
type?: string | null;
|
|
1225
|
+
};
|
|
1226
|
+
/** @deprecated Please use the `/zones/{zone_id}/subscription` API to update a zone's plan. Changing this value will create/cancel associated subscriptions. To view available plans for this zone, see [Zon */
|
|
1227
|
+
plan: {
|
|
1228
|
+
id?: string | null;
|
|
1229
|
+
canSubscribe?: boolean | null;
|
|
1230
|
+
currency?: string | null;
|
|
1231
|
+
externallyManaged?: boolean | null;
|
|
1232
|
+
frequency?: string | null;
|
|
1233
|
+
isSubscribed?: boolean | null;
|
|
1234
|
+
legacyDiscount?: boolean | null;
|
|
1235
|
+
legacyId?: string | null;
|
|
1236
|
+
name?: string | null;
|
|
1237
|
+
price?: number | null;
|
|
1238
|
+
};
|
|
1239
|
+
/** Allows the customer to use a custom apex. _Tenants Only Configuration_. */
|
|
1240
|
+
cnameSuffix?: string | null;
|
|
1241
|
+
/** Indicates whether the zone is only using Cloudflare DNS services. A true value means the zone will not receive security or performance benefits. */
|
|
1242
|
+
paused?: boolean | null;
|
|
1243
|
+
/** @deprecated This has been replaced by Account memberships. */
|
|
1244
|
+
permissions?: string[] | null;
|
|
1245
|
+
/** The zone status on Cloudflare. */
|
|
1246
|
+
status?: "initializing" | "pending" | "active" | "moved" | null;
|
|
1247
|
+
/** The root organizational unit that this zone belongs to (such as a tenant or organization). */
|
|
1248
|
+
tenant?: {
|
|
1249
|
+
id?: string | null;
|
|
1250
|
+
name?: string | null;
|
|
1251
|
+
} | null;
|
|
1252
|
+
/** The immediate parent organizational unit that this zone belongs to (such as under a tenant or sub-organization). */
|
|
1253
|
+
tenantUnit?: {
|
|
1254
|
+
id?: string | null;
|
|
1255
|
+
} | null;
|
|
1256
|
+
/** A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup. */
|
|
1257
|
+
type?: "full" | "partial" | "secondary" | "internal" | null;
|
|
1258
|
+
/** An array of domains used for custom name servers. This is only available for Business and Enterprise plans. */
|
|
1259
|
+
vanityNameServers?: string[] | null;
|
|
1260
|
+
/** Verification key for partial zone setup. */
|
|
1261
|
+
verificationKey?: string | null;
|
|
1262
|
+
}
|
|
1263
|
+
export declare const PatchZoneResponse: Schema.Schema<PatchZoneResponse>;
|
|
1264
|
+
export type PatchZoneError = DefaultErrors;
|
|
1265
|
+
export declare const patchZone: API.OperationMethod<PatchZoneRequest, PatchZoneResponse, PatchZoneError, Credentials | HttpClient.HttpClient>;
|
|
1266
|
+
export interface DeleteZoneRequest {
|
|
1267
|
+
/** Identifier */
|
|
1268
|
+
zoneId: string;
|
|
1269
|
+
}
|
|
1270
|
+
export declare const DeleteZoneRequest: Schema.Schema<DeleteZoneRequest>;
|
|
1271
|
+
export interface DeleteZoneResponse {
|
|
1272
|
+
/** Identifier */
|
|
1273
|
+
id: string;
|
|
1274
|
+
}
|
|
1275
|
+
export declare const DeleteZoneResponse: Schema.Schema<DeleteZoneResponse>;
|
|
1276
|
+
export type DeleteZoneError = DefaultErrors;
|
|
1277
|
+
export declare const deleteZone: API.OperationMethod<DeleteZoneRequest, DeleteZoneResponse, DeleteZoneError, Credentials | HttpClient.HttpClient>;
|
|
1278
|
+
//# sourceMappingURL=zones.d.ts.map
|