cloudflare 3.1.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +132 -0
- package/README.md +1 -3
- package/index.d.mts +5 -0
- package/index.d.ts +5 -0
- package/index.d.ts.map +1 -1
- package/index.js +2 -0
- package/index.js.map +1 -1
- package/index.mjs +2 -0
- package/index.mjs.map +1 -1
- package/package.json +4 -4
- package/resources/accounts/accounts.d.ts +1 -0
- package/resources/accounts/accounts.d.ts.map +1 -1
- package/resources/accounts/accounts.js.map +1 -1
- package/resources/accounts/accounts.mjs.map +1 -1
- package/resources/accounts/index.d.ts +1 -1
- package/resources/accounts/index.d.ts.map +1 -1
- package/resources/accounts/index.js.map +1 -1
- package/resources/accounts/index.mjs.map +1 -1
- package/resources/accounts/members.d.ts +10 -12
- package/resources/accounts/members.d.ts.map +1 -1
- package/resources/accounts/members.js +2 -5
- package/resources/accounts/members.js.map +1 -1
- package/resources/accounts/members.mjs +2 -5
- package/resources/accounts/members.mjs.map +1 -1
- package/resources/accounts/roles.d.ts +2 -2
- package/resources/accounts/roles.d.ts.map +1 -1
- package/resources/acm/acm.d.ts +1 -0
- package/resources/acm/acm.d.ts.map +1 -1
- package/resources/acm/acm.js.map +1 -1
- package/resources/acm/acm.mjs.map +1 -1
- package/resources/acm/index.d.ts +1 -1
- package/resources/acm/index.d.ts.map +1 -1
- package/resources/acm/index.js.map +1 -1
- package/resources/acm/index.mjs.map +1 -1
- package/resources/acm/total-tls.d.ts +12 -3
- package/resources/acm/total-tls.d.ts.map +1 -1
- package/resources/acm/total-tls.js.map +1 -1
- package/resources/acm/total-tls.mjs.map +1 -1
- package/resources/addressing/address-maps/accounts.d.ts +1 -5
- package/resources/addressing/address-maps/accounts.d.ts.map +1 -1
- package/resources/addressing/address-maps/accounts.js +2 -2
- package/resources/addressing/address-maps/accounts.js.map +1 -1
- package/resources/addressing/address-maps/accounts.mjs +2 -2
- package/resources/addressing/address-maps/accounts.mjs.map +1 -1
- package/resources/addressing/address-maps/address-maps.d.ts +8 -7
- package/resources/addressing/address-maps/address-maps.d.ts.map +1 -1
- package/resources/addressing/address-maps/address-maps.js +2 -5
- package/resources/addressing/address-maps/address-maps.js.map +1 -1
- package/resources/addressing/address-maps/address-maps.mjs +2 -5
- package/resources/addressing/address-maps/address-maps.mjs.map +1 -1
- package/resources/addressing/address-maps/index.d.ts +1 -1
- package/resources/addressing/address-maps/index.d.ts.map +1 -1
- package/resources/addressing/address-maps/index.js.map +1 -1
- package/resources/addressing/address-maps/index.mjs.map +1 -1
- package/resources/addressing/address-maps/ips.d.ts +1 -5
- package/resources/addressing/address-maps/ips.d.ts.map +1 -1
- package/resources/addressing/address-maps/ips.js +2 -2
- package/resources/addressing/address-maps/ips.js.map +1 -1
- package/resources/addressing/address-maps/ips.mjs +2 -2
- package/resources/addressing/address-maps/ips.mjs.map +1 -1
- package/resources/addressing/address-maps/zones.d.ts +2 -6
- package/resources/addressing/address-maps/zones.d.ts.map +1 -1
- package/resources/addressing/address-maps/zones.js +2 -2
- package/resources/addressing/address-maps/zones.js.map +1 -1
- package/resources/addressing/address-maps/zones.mjs +2 -2
- package/resources/addressing/address-maps/zones.mjs.map +1 -1
- package/resources/addressing/addressing.d.ts +1 -0
- package/resources/addressing/addressing.d.ts.map +1 -1
- package/resources/addressing/addressing.js.map +1 -1
- package/resources/addressing/addressing.mjs.map +1 -1
- package/resources/addressing/index.d.ts +1 -1
- package/resources/addressing/index.d.ts.map +1 -1
- package/resources/addressing/index.js.map +1 -1
- package/resources/addressing/index.mjs.map +1 -1
- package/resources/addressing/prefixes/delegations.d.ts +1 -5
- package/resources/addressing/prefixes/delegations.d.ts.map +1 -1
- package/resources/addressing/prefixes/delegations.js +2 -2
- package/resources/addressing/prefixes/delegations.js.map +1 -1
- package/resources/addressing/prefixes/delegations.mjs +2 -2
- package/resources/addressing/prefixes/delegations.mjs.map +1 -1
- package/resources/addressing/prefixes/prefixes.d.ts +1 -5
- package/resources/addressing/prefixes/prefixes.d.ts.map +1 -1
- package/resources/addressing/prefixes/prefixes.js +2 -5
- package/resources/addressing/prefixes/prefixes.js.map +1 -1
- package/resources/addressing/prefixes/prefixes.mjs +2 -5
- package/resources/addressing/prefixes/prefixes.mjs.map +1 -1
- package/resources/ai-gateway/ai-gateway.d.ts +201 -0
- package/resources/ai-gateway/ai-gateway.d.ts.map +1 -0
- package/resources/ai-gateway/ai-gateway.js +85 -0
- package/resources/ai-gateway/ai-gateway.js.map +1 -0
- package/resources/ai-gateway/ai-gateway.mjs +57 -0
- package/resources/ai-gateway/ai-gateway.mjs.map +1 -0
- package/resources/ai-gateway/index.d.ts +3 -0
- package/resources/ai-gateway/index.d.ts.map +1 -0
- package/resources/ai-gateway/index.js +9 -0
- package/resources/ai-gateway/index.js.map +1 -0
- package/resources/ai-gateway/index.mjs +4 -0
- package/resources/ai-gateway/index.mjs.map +1 -0
- package/resources/ai-gateway/logs.d.ts +73 -0
- package/resources/ai-gateway/logs.d.ts.map +1 -0
- package/resources/ai-gateway/logs.js +21 -0
- package/resources/ai-gateway/logs.js.map +1 -0
- package/resources/ai-gateway/logs.mjs +17 -0
- package/resources/ai-gateway/logs.mjs.map +1 -0
- package/resources/alerting/policies.d.ts +185 -4
- package/resources/alerting/policies.d.ts.map +1 -1
- package/resources/alerting/policies.js.map +1 -1
- package/resources/alerting/policies.mjs.map +1 -1
- package/resources/cache/cache-reserve.d.ts +7 -2
- package/resources/cache/cache-reserve.d.ts.map +1 -1
- package/resources/cache/cache-reserve.js.map +1 -1
- package/resources/cache/cache-reserve.mjs.map +1 -1
- package/resources/cache/cache.d.ts +1 -0
- package/resources/cache/cache.d.ts.map +1 -1
- package/resources/cache/cache.js.map +1 -1
- package/resources/cache/cache.mjs.map +1 -1
- package/resources/cache/index.d.ts +1 -1
- package/resources/cache/index.d.ts.map +1 -1
- package/resources/cache/index.js.map +1 -1
- package/resources/cache/index.mjs.map +1 -1
- package/resources/cache/smart-tiered-cache.d.ts +1 -5
- package/resources/cache/smart-tiered-cache.d.ts.map +1 -1
- package/resources/cache/smart-tiered-cache.js +2 -5
- package/resources/cache/smart-tiered-cache.js.map +1 -1
- package/resources/cache/smart-tiered-cache.mjs +2 -5
- package/resources/cache/smart-tiered-cache.mjs.map +1 -1
- package/resources/cache/variants.d.ts +1 -5
- package/resources/cache/variants.d.ts.map +1 -1
- package/resources/cache/variants.js +2 -2
- package/resources/cache/variants.js.map +1 -1
- package/resources/cache/variants.mjs +2 -2
- package/resources/cache/variants.mjs.map +1 -1
- package/resources/certificate-authorities/hostname-associations.d.ts +2 -1
- package/resources/certificate-authorities/hostname-associations.d.ts.map +1 -1
- package/resources/certificate-authorities/hostname-associations.js.map +1 -1
- package/resources/certificate-authorities/hostname-associations.mjs.map +1 -1
- package/resources/challenges/widgets.d.ts +7 -2
- package/resources/challenges/widgets.d.ts.map +1 -1
- package/resources/challenges/widgets.js.map +1 -1
- package/resources/challenges/widgets.mjs.map +1 -1
- package/resources/client-certificates.d.ts +2 -1
- package/resources/client-certificates.d.ts.map +1 -1
- package/resources/client-certificates.js.map +1 -1
- package/resources/client-certificates.mjs.map +1 -1
- package/resources/cloudforce-one/requests/message.d.ts +9 -1
- package/resources/cloudforce-one/requests/message.d.ts.map +1 -1
- package/resources/cloudforce-one/requests/message.js +1 -1
- package/resources/cloudforce-one/requests/message.js.map +1 -1
- package/resources/cloudforce-one/requests/message.mjs +1 -1
- package/resources/cloudforce-one/requests/message.mjs.map +1 -1
- package/resources/cloudforce-one/requests/priority.d.ts +12 -3
- package/resources/cloudforce-one/requests/priority.d.ts.map +1 -1
- package/resources/cloudforce-one/requests/priority.js +1 -1
- package/resources/cloudforce-one/requests/priority.js.map +1 -1
- package/resources/cloudforce-one/requests/priority.mjs +1 -1
- package/resources/cloudforce-one/requests/priority.mjs.map +1 -1
- package/resources/cloudforce-one/requests/requests.d.ts +9 -1
- package/resources/cloudforce-one/requests/requests.d.ts.map +1 -1
- package/resources/cloudforce-one/requests/requests.js +1 -1
- package/resources/cloudforce-one/requests/requests.js.map +1 -1
- package/resources/cloudforce-one/requests/requests.mjs +1 -1
- package/resources/cloudforce-one/requests/requests.mjs.map +1 -1
- package/resources/custom-certificates/custom-certificates.d.ts +22 -9
- package/resources/custom-certificates/custom-certificates.d.ts.map +1 -1
- package/resources/custom-certificates/custom-certificates.js +2 -5
- package/resources/custom-certificates/custom-certificates.js.map +1 -1
- package/resources/custom-certificates/custom-certificates.mjs +2 -5
- package/resources/custom-certificates/custom-certificates.mjs.map +1 -1
- package/resources/custom-hostnames/custom-hostnames.d.ts +31 -18
- package/resources/custom-hostnames/custom-hostnames.d.ts.map +1 -1
- package/resources/custom-hostnames/custom-hostnames.js +2 -5
- package/resources/custom-hostnames/custom-hostnames.js.map +1 -1
- package/resources/custom-hostnames/custom-hostnames.mjs +2 -5
- package/resources/custom-hostnames/custom-hostnames.mjs.map +1 -1
- package/resources/custom-hostnames/fallback-origin.d.ts +1 -5
- package/resources/custom-hostnames/fallback-origin.d.ts.map +1 -1
- package/resources/custom-hostnames/fallback-origin.js +2 -5
- package/resources/custom-hostnames/fallback-origin.js.map +1 -1
- package/resources/custom-hostnames/fallback-origin.mjs +2 -5
- package/resources/custom-hostnames/fallback-origin.mjs.map +1 -1
- package/resources/custom-nameservers.d.ts +2 -21
- package/resources/custom-nameservers.d.ts.map +1 -1
- package/resources/custom-nameservers.js +2 -15
- package/resources/custom-nameservers.js.map +1 -1
- package/resources/custom-nameservers.mjs +2 -15
- package/resources/custom-nameservers.mjs.map +1 -1
- package/resources/dns/analytics/reports/bytimes.d.ts +2 -1
- package/resources/dns/analytics/reports/bytimes.d.ts.map +1 -1
- package/resources/dns/analytics/reports/bytimes.js.map +1 -1
- package/resources/dns/analytics/reports/bytimes.mjs.map +1 -1
- package/resources/dns/dns.d.ts +2 -1
- package/resources/dns/dns.d.ts.map +1 -1
- package/resources/dns/dns.js.map +1 -1
- package/resources/dns/dns.mjs.map +1 -1
- package/resources/dns/firewall/analytics/analytics.d.ts +10 -0
- package/resources/dns/firewall/analytics/analytics.d.ts.map +1 -1
- package/resources/dns/firewall/analytics/analytics.js.map +1 -1
- package/resources/dns/firewall/analytics/analytics.mjs.map +1 -1
- package/resources/dns/firewall/analytics/index.d.ts +1 -1
- package/resources/dns/firewall/analytics/index.d.ts.map +1 -1
- package/resources/dns/firewall/analytics/index.js.map +1 -1
- package/resources/dns/firewall/analytics/index.mjs.map +1 -1
- package/resources/dns/firewall/analytics/reports/bytimes.d.ts +2 -1
- package/resources/dns/firewall/analytics/reports/bytimes.d.ts.map +1 -1
- package/resources/dns/firewall/analytics/reports/bytimes.js.map +1 -1
- package/resources/dns/firewall/analytics/reports/bytimes.mjs.map +1 -1
- package/resources/dns/firewall/firewall.d.ts +29 -10
- package/resources/dns/firewall/firewall.d.ts.map +1 -1
- package/resources/dns/firewall/firewall.js +2 -5
- package/resources/dns/firewall/firewall.js.map +1 -1
- package/resources/dns/firewall/firewall.mjs +2 -5
- package/resources/dns/firewall/firewall.mjs.map +1 -1
- package/resources/dns/firewall/index.d.ts +1 -1
- package/resources/dns/firewall/index.d.ts.map +1 -1
- package/resources/dns/firewall/index.js +3 -3
- package/resources/dns/firewall/index.js.map +1 -1
- package/resources/dns/firewall/index.mjs +1 -1
- package/resources/dns/firewall/index.mjs.map +1 -1
- package/resources/dns/records.d.ts +138 -130
- package/resources/dns/records.d.ts.map +1 -1
- package/resources/dns/records.js +2 -5
- package/resources/dns/records.js.map +1 -1
- package/resources/dns/records.mjs +2 -5
- package/resources/dns/records.mjs.map +1 -1
- package/resources/dnssec.d.ts +1 -5
- package/resources/dnssec.d.ts.map +1 -1
- package/resources/dnssec.js +2 -2
- package/resources/dnssec.js.map +1 -1
- package/resources/dnssec.mjs +2 -2
- package/resources/dnssec.mjs.map +1 -1
- package/resources/email-routing/rules/catch-alls.d.ts +21 -2
- package/resources/email-routing/rules/catch-alls.d.ts.map +1 -1
- package/resources/email-routing/rules/catch-alls.js.map +1 -1
- package/resources/email-routing/rules/catch-alls.mjs.map +1 -1
- package/resources/email-routing/rules/rules.d.ts +31 -4
- package/resources/email-routing/rules/rules.d.ts.map +1 -1
- package/resources/email-routing/rules/rules.js.map +1 -1
- package/resources/email-routing/rules/rules.mjs.map +1 -1
- package/resources/filters.d.ts +1 -2
- package/resources/filters.d.ts.map +1 -1
- package/resources/filters.js +2 -2
- package/resources/filters.js.map +1 -1
- package/resources/filters.mjs +2 -2
- package/resources/filters.mjs.map +1 -1
- package/resources/firewall/access-rules.d.ts +64 -11
- package/resources/firewall/access-rules.d.ts.map +1 -1
- package/resources/firewall/access-rules.js +6 -11
- package/resources/firewall/access-rules.js.map +1 -1
- package/resources/firewall/access-rules.mjs +6 -11
- package/resources/firewall/access-rules.mjs.map +1 -1
- package/resources/firewall/firewall.d.ts +0 -3
- package/resources/firewall/firewall.d.ts.map +1 -1
- package/resources/firewall/firewall.js.map +1 -1
- package/resources/firewall/firewall.mjs.map +1 -1
- package/resources/firewall/index.d.ts +3 -3
- package/resources/firewall/index.d.ts.map +1 -1
- package/resources/firewall/index.js.map +1 -1
- package/resources/firewall/index.mjs.map +1 -1
- package/resources/firewall/lockdowns.d.ts +1 -3
- package/resources/firewall/lockdowns.d.ts.map +1 -1
- package/resources/firewall/lockdowns.js +2 -5
- package/resources/firewall/lockdowns.js.map +1 -1
- package/resources/firewall/lockdowns.mjs +2 -5
- package/resources/firewall/lockdowns.mjs.map +1 -1
- package/resources/firewall/rules.d.ts +1 -9
- package/resources/firewall/rules.d.ts.map +1 -1
- package/resources/firewall/rules.js +2 -5
- package/resources/firewall/rules.js.map +1 -1
- package/resources/firewall/rules.mjs +2 -5
- package/resources/firewall/rules.mjs.map +1 -1
- package/resources/firewall/ua-rules.d.ts +1 -3
- package/resources/firewall/ua-rules.d.ts.map +1 -1
- package/resources/firewall/ua-rules.js +2 -5
- package/resources/firewall/ua-rules.js.map +1 -1
- package/resources/firewall/ua-rules.mjs +2 -5
- package/resources/firewall/ua-rules.mjs.map +1 -1
- package/resources/firewall/waf/index.d.ts +1 -1
- package/resources/firewall/waf/index.d.ts.map +1 -1
- package/resources/firewall/waf/index.js.map +1 -1
- package/resources/firewall/waf/index.mjs.map +1 -1
- package/resources/firewall/waf/overrides.d.ts +1 -3
- package/resources/firewall/waf/overrides.d.ts.map +1 -1
- package/resources/firewall/waf/overrides.js +2 -5
- package/resources/firewall/waf/overrides.js.map +1 -1
- package/resources/firewall/waf/overrides.mjs +2 -5
- package/resources/firewall/waf/overrides.mjs.map +1 -1
- package/resources/firewall/waf/packages/rules.d.ts +0 -2
- package/resources/firewall/waf/packages/rules.d.ts.map +1 -1
- package/resources/firewall/waf/packages/rules.js.map +1 -1
- package/resources/firewall/waf/packages/rules.mjs.map +1 -1
- package/resources/firewall/waf/waf.d.ts +0 -1
- package/resources/firewall/waf/waf.d.ts.map +1 -1
- package/resources/firewall/waf/waf.js.map +1 -1
- package/resources/firewall/waf/waf.mjs.map +1 -1
- package/resources/healthchecks/healthchecks.d.ts +72 -14
- package/resources/healthchecks/healthchecks.d.ts.map +1 -1
- package/resources/healthchecks/healthchecks.js +2 -5
- package/resources/healthchecks/healthchecks.js.map +1 -1
- package/resources/healthchecks/healthchecks.mjs +2 -5
- package/resources/healthchecks/healthchecks.mjs.map +1 -1
- package/resources/healthchecks/previews.d.ts +4 -8
- package/resources/healthchecks/previews.d.ts.map +1 -1
- package/resources/healthchecks/previews.js +2 -5
- package/resources/healthchecks/previews.js.map +1 -1
- package/resources/healthchecks/previews.mjs +2 -5
- package/resources/healthchecks/previews.mjs.map +1 -1
- package/resources/hostnames/settings/tls.d.ts +5 -1
- package/resources/hostnames/settings/tls.d.ts.map +1 -1
- package/resources/hostnames/settings/tls.js.map +1 -1
- package/resources/hostnames/settings/tls.mjs.map +1 -1
- package/resources/hyperdrive/configs.d.ts +3 -3
- package/resources/hyperdrive/configs.d.ts.map +1 -1
- package/resources/hyperdrive/hyperdrive.d.ts +22 -0
- package/resources/hyperdrive/hyperdrive.d.ts.map +1 -1
- package/resources/hyperdrive/hyperdrive.js.map +1 -1
- package/resources/hyperdrive/hyperdrive.mjs.map +1 -1
- package/resources/images/v1/v1.d.ts +1 -5
- package/resources/images/v1/v1.d.ts.map +1 -1
- package/resources/images/v1/v1.js +2 -5
- package/resources/images/v1/v1.js.map +1 -1
- package/resources/images/v1/v1.mjs +2 -5
- package/resources/images/v1/v1.mjs.map +1 -1
- package/resources/images/v1/variants.d.ts +1 -5
- package/resources/images/v1/variants.d.ts.map +1 -1
- package/resources/images/v1/variants.js +2 -5
- package/resources/images/v1/variants.js.map +1 -1
- package/resources/images/v1/variants.mjs +2 -5
- package/resources/images/v1/variants.mjs.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +4 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/intel/asn/asn.d.ts +1 -1
- package/resources/intel/asn/asn.d.ts.map +1 -1
- package/resources/intel/asn/asn.js.map +1 -1
- package/resources/intel/asn/asn.mjs.map +1 -1
- package/resources/intel/asn/subnets.d.ts +1 -1
- package/resources/intel/asn/subnets.d.ts.map +1 -1
- package/resources/intel/asn/subnets.js.map +1 -1
- package/resources/intel/asn/subnets.mjs.map +1 -1
- package/resources/intel/attack-surface-report/attack-surface-report.d.ts +0 -3
- package/resources/intel/attack-surface-report/attack-surface-report.d.ts.map +1 -1
- package/resources/intel/attack-surface-report/attack-surface-report.js.map +1 -1
- package/resources/intel/attack-surface-report/attack-surface-report.mjs.map +1 -1
- package/resources/intel/attack-surface-report/index.d.ts +1 -1
- package/resources/intel/attack-surface-report/index.d.ts.map +1 -1
- package/resources/intel/attack-surface-report/index.js.map +1 -1
- package/resources/intel/attack-surface-report/index.mjs.map +1 -1
- package/resources/intel/attack-surface-report/issues.d.ts +43 -47
- package/resources/intel/attack-surface-report/issues.d.ts.map +1 -1
- package/resources/intel/attack-surface-report/issues.js.map +1 -1
- package/resources/intel/attack-surface-report/issues.mjs.map +1 -1
- package/resources/intel/dns.d.ts +1 -1
- package/resources/intel/dns.d.ts.map +1 -1
- package/resources/intel/index.d.ts +1 -1
- package/resources/intel/index.d.ts.map +1 -1
- package/resources/intel/index.js.map +1 -1
- package/resources/intel/index.mjs.map +1 -1
- package/resources/intel/indicator-feeds/index.d.ts +1 -0
- package/resources/intel/indicator-feeds/index.d.ts.map +1 -1
- package/resources/intel/indicator-feeds/index.js +3 -1
- package/resources/intel/indicator-feeds/index.js.map +1 -1
- package/resources/intel/indicator-feeds/index.mjs +1 -0
- package/resources/intel/indicator-feeds/index.mjs.map +1 -1
- package/resources/intel/indicator-feeds/indicator-feeds.d.ts +54 -9
- package/resources/intel/indicator-feeds/indicator-feeds.d.ts.map +1 -1
- package/resources/intel/indicator-feeds/indicator-feeds.js +8 -3
- package/resources/intel/indicator-feeds/indicator-feeds.js.map +1 -1
- package/resources/intel/indicator-feeds/indicator-feeds.mjs +8 -3
- package/resources/intel/indicator-feeds/indicator-feeds.mjs.map +1 -1
- package/resources/intel/indicator-feeds/permissions.d.ts +8 -0
- package/resources/intel/indicator-feeds/permissions.d.ts.map +1 -1
- package/resources/intel/indicator-feeds/permissions.js.map +1 -1
- package/resources/intel/indicator-feeds/permissions.mjs.map +1 -1
- package/resources/intel/indicator-feeds/snapshots.d.ts +38 -0
- package/resources/intel/indicator-feeds/snapshots.d.ts.map +1 -0
- package/resources/intel/indicator-feeds/snapshots.js +19 -0
- package/resources/intel/indicator-feeds/snapshots.js.map +1 -0
- package/resources/intel/indicator-feeds/snapshots.mjs +15 -0
- package/resources/intel/indicator-feeds/snapshots.mjs.map +1 -0
- package/resources/intel/intel.d.ts +1 -0
- package/resources/intel/intel.d.ts.map +1 -1
- package/resources/intel/intel.js.map +1 -1
- package/resources/intel/intel.mjs.map +1 -1
- package/resources/intel/whois.d.ts +91 -1
- package/resources/intel/whois.d.ts.map +1 -1
- package/resources/intel/whois.js.map +1 -1
- package/resources/intel/whois.mjs.map +1 -1
- package/resources/keyless-certificates.d.ts +17 -8
- package/resources/keyless-certificates.d.ts.map +1 -1
- package/resources/keyless-certificates.js +2 -5
- package/resources/keyless-certificates.js.map +1 -1
- package/resources/keyless-certificates.mjs +2 -5
- package/resources/keyless-certificates.mjs.map +1 -1
- package/resources/kv/namespaces/bulk.d.ts +1 -5
- package/resources/kv/namespaces/bulk.d.ts.map +1 -1
- package/resources/kv/namespaces/bulk.js +2 -5
- package/resources/kv/namespaces/bulk.js.map +1 -1
- package/resources/kv/namespaces/bulk.mjs +2 -5
- package/resources/kv/namespaces/bulk.mjs.map +1 -1
- package/resources/kv/namespaces/namespaces.d.ts +1 -5
- package/resources/kv/namespaces/namespaces.d.ts.map +1 -1
- package/resources/kv/namespaces/namespaces.js +2 -5
- package/resources/kv/namespaces/namespaces.js.map +1 -1
- package/resources/kv/namespaces/namespaces.mjs +2 -5
- package/resources/kv/namespaces/namespaces.mjs.map +1 -1
- package/resources/kv/namespaces/values.d.ts +1 -5
- package/resources/kv/namespaces/values.d.ts.map +1 -1
- package/resources/kv/namespaces/values.js +2 -5
- package/resources/kv/namespaces/values.js.map +1 -1
- package/resources/kv/namespaces/values.mjs +2 -5
- package/resources/kv/namespaces/values.mjs.map +1 -1
- package/resources/load-balancers/load-balancers.d.ts +604 -35
- package/resources/load-balancers/load-balancers.d.ts.map +1 -1
- package/resources/load-balancers/load-balancers.js +2 -5
- package/resources/load-balancers/load-balancers.js.map +1 -1
- package/resources/load-balancers/load-balancers.mjs +2 -5
- package/resources/load-balancers/load-balancers.mjs.map +1 -1
- package/resources/load-balancers/monitors/monitors.d.ts +1 -5
- package/resources/load-balancers/monitors/monitors.d.ts.map +1 -1
- package/resources/load-balancers/monitors/monitors.js +2 -5
- package/resources/load-balancers/monitors/monitors.js.map +1 -1
- package/resources/load-balancers/monitors/monitors.mjs +2 -5
- package/resources/load-balancers/monitors/monitors.mjs.map +1 -1
- package/resources/load-balancers/pools/pools.d.ts +15 -19
- package/resources/load-balancers/pools/pools.d.ts.map +1 -1
- package/resources/load-balancers/pools/pools.js +2 -5
- package/resources/load-balancers/pools/pools.js.map +1 -1
- package/resources/load-balancers/pools/pools.mjs +2 -5
- package/resources/load-balancers/pools/pools.mjs.map +1 -1
- package/resources/logpush/jobs.d.ts +173 -18
- package/resources/logpush/jobs.d.ts.map +1 -1
- package/resources/logpush/jobs.js +6 -9
- package/resources/logpush/jobs.js.map +1 -1
- package/resources/logpush/jobs.mjs +6 -9
- package/resources/logpush/jobs.mjs.map +1 -1
- package/resources/logs/control/cmb/config.d.ts +1 -5
- package/resources/logs/control/cmb/config.d.ts.map +1 -1
- package/resources/logs/control/cmb/config.js +2 -5
- package/resources/logs/control/cmb/config.js.map +1 -1
- package/resources/logs/control/cmb/config.mjs +2 -5
- package/resources/logs/control/cmb/config.mjs.map +1 -1
- package/resources/magic-network-monitoring/configs/configs.d.ts +0 -7
- package/resources/magic-network-monitoring/configs/configs.d.ts.map +1 -1
- package/resources/magic-network-monitoring/configs/configs.js +2 -5
- package/resources/magic-network-monitoring/configs/configs.js.map +1 -1
- package/resources/magic-network-monitoring/configs/configs.mjs +2 -5
- package/resources/magic-network-monitoring/configs/configs.mjs.map +1 -1
- package/resources/magic-network-monitoring/rules/rules.d.ts +0 -7
- package/resources/magic-network-monitoring/rules/rules.d.ts.map +1 -1
- package/resources/magic-network-monitoring/rules/rules.js +2 -5
- package/resources/magic-network-monitoring/rules/rules.js.map +1 -1
- package/resources/magic-network-monitoring/rules/rules.mjs +2 -5
- package/resources/magic-network-monitoring/rules/rules.mjs.map +1 -1
- package/resources/magic-transit/cf-interconnects.d.ts +2 -2
- package/resources/magic-transit/cf-interconnects.d.ts.map +1 -1
- package/resources/magic-transit/gre-tunnels.d.ts +2 -6
- package/resources/magic-transit/gre-tunnels.d.ts.map +1 -1
- package/resources/magic-transit/gre-tunnels.js +2 -5
- package/resources/magic-transit/gre-tunnels.js.map +1 -1
- package/resources/magic-transit/gre-tunnels.mjs +2 -5
- package/resources/magic-transit/gre-tunnels.mjs.map +1 -1
- package/resources/magic-transit/index.d.ts +1 -1
- package/resources/magic-transit/index.d.ts.map +1 -1
- package/resources/magic-transit/index.js +3 -3
- package/resources/magic-transit/index.js.map +1 -1
- package/resources/magic-transit/index.mjs +1 -1
- package/resources/magic-transit/index.mjs.map +1 -1
- package/resources/magic-transit/ipsec-tunnels.d.ts +3 -7
- package/resources/magic-transit/ipsec-tunnels.d.ts.map +1 -1
- package/resources/magic-transit/ipsec-tunnels.js +2 -5
- package/resources/magic-transit/ipsec-tunnels.js.map +1 -1
- package/resources/magic-transit/ipsec-tunnels.mjs +2 -5
- package/resources/magic-transit/ipsec-tunnels.mjs.map +1 -1
- package/resources/magic-transit/magic-transit.d.ts +39 -2
- package/resources/magic-transit/magic-transit.d.ts.map +1 -1
- package/resources/magic-transit/magic-transit.js.map +1 -1
- package/resources/magic-transit/magic-transit.mjs.map +1 -1
- package/resources/magic-transit/routes.d.ts +17 -26
- package/resources/magic-transit/routes.d.ts.map +1 -1
- package/resources/magic-transit/routes.js +4 -7
- package/resources/magic-transit/routes.js.map +1 -1
- package/resources/magic-transit/routes.mjs +4 -7
- package/resources/magic-transit/routes.mjs.map +1 -1
- package/resources/magic-transit/sites/acls.d.ts +36 -11
- package/resources/magic-transit/sites/acls.d.ts.map +1 -1
- package/resources/magic-transit/sites/acls.js +2 -5
- package/resources/magic-transit/sites/acls.js.map +1 -1
- package/resources/magic-transit/sites/acls.mjs +2 -5
- package/resources/magic-transit/sites/acls.mjs.map +1 -1
- package/resources/magic-transit/sites/lans.d.ts +69 -11
- package/resources/magic-transit/sites/lans.d.ts.map +1 -1
- package/resources/magic-transit/sites/lans.js +2 -5
- package/resources/magic-transit/sites/lans.js.map +1 -1
- package/resources/magic-transit/sites/lans.mjs +2 -5
- package/resources/magic-transit/sites/lans.mjs.map +1 -1
- package/resources/magic-transit/sites/sites.d.ts +16 -7
- package/resources/magic-transit/sites/sites.d.ts.map +1 -1
- package/resources/magic-transit/sites/sites.js +2 -5
- package/resources/magic-transit/sites/sites.js.map +1 -1
- package/resources/magic-transit/sites/sites.mjs +2 -5
- package/resources/magic-transit/sites/sites.mjs.map +1 -1
- package/resources/magic-transit/sites/wans.d.ts +21 -7
- package/resources/magic-transit/sites/wans.d.ts.map +1 -1
- package/resources/magic-transit/sites/wans.js +2 -5
- package/resources/magic-transit/sites/wans.js.map +1 -1
- package/resources/magic-transit/sites/wans.mjs +2 -5
- package/resources/magic-transit/sites/wans.mjs.map +1 -1
- package/resources/managed-headers.d.ts +12 -2
- package/resources/managed-headers.d.ts.map +1 -1
- package/resources/memberships.d.ts +1 -2
- package/resources/memberships.d.ts.map +1 -1
- package/resources/memberships.js +2 -2
- package/resources/memberships.js.map +1 -1
- package/resources/memberships.mjs +2 -2
- package/resources/memberships.mjs.map +1 -1
- package/resources/mtls-certificates/mtls-certificates.d.ts +1 -5
- package/resources/mtls-certificates/mtls-certificates.d.ts.map +1 -1
- package/resources/mtls-certificates/mtls-certificates.js +2 -5
- package/resources/mtls-certificates/mtls-certificates.js.map +1 -1
- package/resources/mtls-certificates/mtls-certificates.mjs +2 -5
- package/resources/mtls-certificates/mtls-certificates.mjs.map +1 -1
- package/resources/origin-ca-certificates.d.ts +8 -7
- package/resources/origin-ca-certificates.d.ts.map +1 -1
- package/resources/origin-ca-certificates.js +2 -2
- package/resources/origin-ca-certificates.js.map +1 -1
- package/resources/origin-ca-certificates.mjs +2 -2
- package/resources/origin-ca-certificates.mjs.map +1 -1
- package/resources/origin-tls-client-auth/hostnames/certificates.d.ts +1 -5
- package/resources/origin-tls-client-auth/hostnames/certificates.d.ts.map +1 -1
- package/resources/origin-tls-client-auth/hostnames/certificates.js +2 -2
- package/resources/origin-tls-client-auth/hostnames/certificates.js.map +1 -1
- package/resources/origin-tls-client-auth/hostnames/certificates.mjs +2 -2
- package/resources/origin-tls-client-auth/hostnames/certificates.mjs.map +1 -1
- package/resources/origin-tls-client-auth/origin-tls-client-auth.d.ts +1 -5
- package/resources/origin-tls-client-auth/origin-tls-client-auth.d.ts.map +1 -1
- package/resources/origin-tls-client-auth/origin-tls-client-auth.js +2 -5
- package/resources/origin-tls-client-auth/origin-tls-client-auth.js.map +1 -1
- package/resources/origin-tls-client-auth/origin-tls-client-auth.mjs +2 -5
- package/resources/origin-tls-client-auth/origin-tls-client-auth.mjs.map +1 -1
- package/resources/pagerules/pagerules.d.ts +33 -17
- package/resources/pagerules/pagerules.d.ts.map +1 -1
- package/resources/pagerules/pagerules.js +2 -5
- package/resources/pagerules/pagerules.js.map +1 -1
- package/resources/pagerules/pagerules.mjs +2 -5
- package/resources/pagerules/pagerules.mjs.map +1 -1
- package/resources/pages/projects/deployments/deployments.d.ts +1 -5
- package/resources/pages/projects/deployments/deployments.d.ts.map +1 -1
- package/resources/pages/projects/deployments/deployments.js +2 -2
- package/resources/pages/projects/deployments/deployments.js.map +1 -1
- package/resources/pages/projects/deployments/deployments.mjs +2 -2
- package/resources/pages/projects/deployments/deployments.mjs.map +1 -1
- package/resources/pages/projects/domains.d.ts +1 -5
- package/resources/pages/projects/domains.d.ts.map +1 -1
- package/resources/pages/projects/domains.js +2 -2
- package/resources/pages/projects/domains.js.map +1 -1
- package/resources/pages/projects/domains.mjs +2 -2
- package/resources/pages/projects/domains.mjs.map +1 -1
- package/resources/pages/projects/projects.d.ts +14 -7
- package/resources/pages/projects/projects.d.ts.map +1 -1
- package/resources/pages/projects/projects.js +2 -5
- package/resources/pages/projects/projects.js.map +1 -1
- package/resources/pages/projects/projects.mjs +2 -5
- package/resources/pages/projects/projects.mjs.map +1 -1
- package/resources/pcaps/pcaps.d.ts +27 -2
- package/resources/pcaps/pcaps.d.ts.map +1 -1
- package/resources/pcaps/pcaps.js.map +1 -1
- package/resources/pcaps/pcaps.mjs.map +1 -1
- package/resources/queues/consumers.d.ts +1 -5
- package/resources/queues/consumers.d.ts.map +1 -1
- package/resources/queues/consumers.js +2 -5
- package/resources/queues/consumers.js.map +1 -1
- package/resources/queues/consumers.mjs +2 -5
- package/resources/queues/consumers.mjs.map +1 -1
- package/resources/queues/queues.d.ts +1 -5
- package/resources/queues/queues.d.ts.map +1 -1
- package/resources/queues/queues.js +2 -5
- package/resources/queues/queues.js.map +1 -1
- package/resources/queues/queues.mjs +2 -5
- package/resources/queues/queues.mjs.map +1 -1
- package/resources/r2/sippy.d.ts +3 -2
- package/resources/r2/sippy.d.ts.map +1 -1
- package/resources/r2/sippy.js.map +1 -1
- package/resources/r2/sippy.mjs.map +1 -1
- package/resources/radar/http/http.d.ts +4 -0
- package/resources/radar/http/http.d.ts.map +1 -1
- package/resources/radar/http/http.js.map +1 -1
- package/resources/radar/http/http.mjs.map +1 -1
- package/resources/radar/http/index.d.ts +2 -2
- package/resources/radar/http/index.d.ts.map +1 -1
- package/resources/radar/http/index.js.map +1 -1
- package/resources/radar/http/index.mjs.map +1 -1
- package/resources/radar/http/summary.d.ts +122 -0
- package/resources/radar/http/summary.d.ts.map +1 -1
- package/resources/radar/http/summary.js +6 -0
- package/resources/radar/http/summary.js.map +1 -1
- package/resources/radar/http/summary.mjs +6 -0
- package/resources/radar/http/summary.mjs.map +1 -1
- package/resources/radar/http/timeseries-groups.d.ts +96 -0
- package/resources/radar/http/timeseries-groups.d.ts.map +1 -1
- package/resources/radar/http/timeseries-groups.js +9 -0
- package/resources/radar/http/timeseries-groups.js.map +1 -1
- package/resources/radar/http/timeseries-groups.mjs +9 -0
- package/resources/radar/http/timeseries-groups.mjs.map +1 -1
- package/resources/rate-limits.d.ts +1 -2
- package/resources/rate-limits.d.ts.map +1 -1
- package/resources/rate-limits.js +2 -5
- package/resources/rate-limits.js.map +1 -1
- package/resources/rate-limits.mjs +2 -5
- package/resources/rate-limits.mjs.map +1 -1
- package/resources/rules/lists/items.d.ts +5 -17
- package/resources/rules/lists/items.d.ts.map +1 -1
- package/resources/rules/lists/items.js +2 -5
- package/resources/rules/lists/items.js.map +1 -1
- package/resources/rules/lists/items.mjs +2 -5
- package/resources/rules/lists/items.mjs.map +1 -1
- package/resources/rules/lists/lists.d.ts +20 -5
- package/resources/rules/lists/lists.d.ts.map +1 -1
- package/resources/rules/lists/lists.js +2 -5
- package/resources/rules/lists/lists.js.map +1 -1
- package/resources/rules/lists/lists.mjs +2 -5
- package/resources/rules/lists/lists.mjs.map +1 -1
- package/resources/rulesets/phases/phases.d.ts +11 -10
- package/resources/rulesets/phases/phases.d.ts.map +1 -1
- package/resources/rulesets/phases/phases.js.map +1 -1
- package/resources/rulesets/phases/phases.mjs.map +1 -1
- package/resources/rulesets/phases/versions.d.ts +6 -6
- package/resources/rulesets/phases/versions.d.ts.map +1 -1
- package/resources/rulesets/phases/versions.js.map +1 -1
- package/resources/rulesets/phases/versions.mjs.map +1 -1
- package/resources/rulesets/rules.d.ts +1743 -411
- package/resources/rulesets/rules.d.ts.map +1 -1
- package/resources/rulesets/rules.js.map +1 -1
- package/resources/rulesets/rules.mjs.map +1 -1
- package/resources/rulesets/rulesets.d.ts +30 -14
- package/resources/rulesets/rulesets.d.ts.map +1 -1
- package/resources/rulesets/rulesets.js.map +1 -1
- package/resources/rulesets/rulesets.mjs.map +1 -1
- package/resources/rulesets/versions/by-tag.d.ts +3 -2
- package/resources/rulesets/versions/by-tag.d.ts.map +1 -1
- package/resources/rulesets/versions/by-tag.js.map +1 -1
- package/resources/rulesets/versions/by-tag.mjs.map +1 -1
- package/resources/rulesets/versions/versions.d.ts +2 -2
- package/resources/rulesets/versions/versions.d.ts.map +1 -1
- package/resources/rulesets/versions/versions.js.map +1 -1
- package/resources/rulesets/versions/versions.mjs.map +1 -1
- package/resources/secondary-dns/acls.d.ts +0 -7
- package/resources/secondary-dns/acls.d.ts.map +1 -1
- package/resources/secondary-dns/acls.js +2 -5
- package/resources/secondary-dns/acls.js.map +1 -1
- package/resources/secondary-dns/acls.mjs +2 -5
- package/resources/secondary-dns/acls.mjs.map +1 -1
- package/resources/secondary-dns/incoming.d.ts +0 -7
- package/resources/secondary-dns/incoming.d.ts.map +1 -1
- package/resources/secondary-dns/incoming.js +2 -5
- package/resources/secondary-dns/incoming.js.map +1 -1
- package/resources/secondary-dns/incoming.mjs +2 -5
- package/resources/secondary-dns/incoming.mjs.map +1 -1
- package/resources/secondary-dns/outgoing/outgoing.d.ts +0 -7
- package/resources/secondary-dns/outgoing/outgoing.d.ts.map +1 -1
- package/resources/secondary-dns/outgoing/outgoing.js +2 -5
- package/resources/secondary-dns/outgoing/outgoing.js.map +1 -1
- package/resources/secondary-dns/outgoing/outgoing.mjs +2 -5
- package/resources/secondary-dns/outgoing/outgoing.mjs.map +1 -1
- package/resources/secondary-dns/peers.d.ts +0 -7
- package/resources/secondary-dns/peers.d.ts.map +1 -1
- package/resources/secondary-dns/peers.js +2 -5
- package/resources/secondary-dns/peers.js.map +1 -1
- package/resources/secondary-dns/peers.mjs +2 -5
- package/resources/secondary-dns/peers.mjs.map +1 -1
- package/resources/secondary-dns/tsigs.d.ts +0 -7
- package/resources/secondary-dns/tsigs.d.ts.map +1 -1
- package/resources/secondary-dns/tsigs.js +2 -5
- package/resources/secondary-dns/tsigs.js.map +1 -1
- package/resources/secondary-dns/tsigs.mjs +2 -5
- package/resources/secondary-dns/tsigs.mjs.map +1 -1
- package/resources/shared.d.ts +31 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/shared.js.map +1 -1
- package/resources/shared.mjs.map +1 -1
- package/resources/snippets/content.d.ts +11 -1
- package/resources/snippets/content.d.ts.map +1 -1
- package/resources/snippets/content.js +5 -2
- package/resources/snippets/content.js.map +1 -1
- package/resources/snippets/content.mjs +5 -2
- package/resources/snippets/content.mjs.map +1 -1
- package/resources/snippets/index.d.ts +2 -2
- package/resources/snippets/index.d.ts.map +1 -1
- package/resources/snippets/index.js.map +1 -1
- package/resources/snippets/index.mjs.map +1 -1
- package/resources/snippets/rules.d.ts +14 -4
- package/resources/snippets/rules.d.ts.map +1 -1
- package/resources/snippets/rules.js +9 -11
- package/resources/snippets/rules.js.map +1 -1
- package/resources/snippets/rules.mjs +9 -11
- package/resources/snippets/rules.mjs.map +1 -1
- package/resources/snippets/snippets.d.ts +41 -7
- package/resources/snippets/snippets.d.ts.map +1 -1
- package/resources/snippets/snippets.js +16 -13
- package/resources/snippets/snippets.js.map +1 -1
- package/resources/snippets/snippets.mjs +15 -12
- package/resources/snippets/snippets.mjs.map +1 -1
- package/resources/spectrum/analytics/events/bytimes.d.ts +1 -1
- package/resources/spectrum/analytics/events/bytimes.d.ts.map +1 -1
- package/resources/spectrum/analytics/events/events.d.ts +1 -0
- package/resources/spectrum/analytics/events/events.d.ts.map +1 -1
- package/resources/spectrum/analytics/events/events.js.map +1 -1
- package/resources/spectrum/analytics/events/events.mjs.map +1 -1
- package/resources/spectrum/analytics/events/summaries.d.ts +1 -1
- package/resources/spectrum/analytics/events/summaries.d.ts.map +1 -1
- package/resources/spectrum/apps.d.ts +9 -11
- package/resources/spectrum/apps.d.ts.map +1 -1
- package/resources/spectrum/apps.js +2 -2
- package/resources/spectrum/apps.js.map +1 -1
- package/resources/spectrum/apps.mjs +2 -2
- package/resources/spectrum/apps.mjs.map +1 -1
- package/resources/spectrum/index.d.ts +1 -1
- package/resources/spectrum/index.d.ts.map +1 -1
- package/resources/spectrum/index.js.map +1 -1
- package/resources/spectrum/index.mjs.map +1 -1
- package/resources/spectrum/spectrum.d.ts +70 -1
- package/resources/spectrum/spectrum.d.ts.map +1 -1
- package/resources/spectrum/spectrum.js.map +1 -1
- package/resources/spectrum/spectrum.mjs.map +1 -1
- package/resources/speed/index.d.ts +2 -3
- package/resources/speed/index.d.ts.map +1 -1
- package/resources/speed/index.js +4 -6
- package/resources/speed/index.js.map +1 -1
- package/resources/speed/index.mjs +2 -3
- package/resources/speed/index.mjs.map +1 -1
- package/resources/speed/pages/index.d.ts +3 -0
- package/resources/speed/pages/index.d.ts.map +1 -0
- package/resources/speed/pages/index.js +10 -0
- package/resources/speed/pages/index.js.map +1 -0
- package/resources/speed/pages/index.mjs +4 -0
- package/resources/speed/pages/index.mjs.map +1 -0
- package/resources/speed/pages/pages.d.ts +85 -0
- package/resources/speed/pages/pages.d.ts.map +1 -0
- package/resources/speed/{pages.js → pages/pages.js} +17 -1
- package/resources/speed/pages/pages.js.map +1 -0
- package/resources/speed/{pages.mjs → pages/pages.mjs} +17 -1
- package/resources/speed/pages/pages.mjs.map +1 -0
- package/resources/speed/{tests.d.ts → pages/tests.d.ts} +1 -1
- package/resources/speed/pages/tests.d.ts.map +1 -0
- package/resources/speed/pages/tests.js.map +1 -0
- package/resources/speed/pages/tests.mjs.map +1 -0
- package/resources/speed/schedule.d.ts +38 -1
- package/resources/speed/schedule.d.ts.map +1 -1
- package/resources/speed/schedule.js +20 -0
- package/resources/speed/schedule.js.map +1 -1
- package/resources/speed/schedule.mjs +20 -0
- package/resources/speed/schedule.mjs.map +1 -1
- package/resources/speed/speed.d.ts +5 -80
- package/resources/speed/speed.d.ts.map +1 -1
- package/resources/speed/speed.js +1 -34
- package/resources/speed/speed.js.map +1 -1
- package/resources/speed/speed.mjs +1 -34
- package/resources/speed/speed.mjs.map +1 -1
- package/resources/ssl/analyze.d.ts +1 -1
- package/resources/ssl/analyze.d.ts.map +1 -1
- package/resources/ssl/certificate-packs/certificate-packs.d.ts +22 -6
- package/resources/ssl/certificate-packs/certificate-packs.d.ts.map +1 -1
- package/resources/ssl/certificate-packs/certificate-packs.js +2 -5
- package/resources/ssl/certificate-packs/certificate-packs.js.map +1 -1
- package/resources/ssl/certificate-packs/certificate-packs.mjs +2 -5
- package/resources/ssl/certificate-packs/certificate-packs.mjs.map +1 -1
- package/resources/ssl/certificate-packs/index.d.ts +1 -1
- package/resources/ssl/certificate-packs/index.d.ts.map +1 -1
- package/resources/ssl/certificate-packs/index.js.map +1 -1
- package/resources/ssl/certificate-packs/index.mjs.map +1 -1
- package/resources/ssl/certificate-packs/order.d.ts +2 -2
- package/resources/ssl/certificate-packs/order.d.ts.map +1 -1
- package/resources/ssl/certificate-packs/order.js.map +1 -1
- package/resources/ssl/certificate-packs/order.mjs.map +1 -1
- package/resources/ssl/index.d.ts +1 -1
- package/resources/ssl/index.d.ts.map +1 -1
- package/resources/ssl/index.js.map +1 -1
- package/resources/ssl/index.mjs.map +1 -1
- package/resources/ssl/ssl.d.ts +3 -0
- package/resources/ssl/ssl.d.ts.map +1 -1
- package/resources/ssl/ssl.js.map +1 -1
- package/resources/ssl/ssl.mjs.map +1 -1
- package/resources/ssl/verification.d.ts +2 -1
- package/resources/ssl/verification.d.ts.map +1 -1
- package/resources/ssl/verification.js.map +1 -1
- package/resources/ssl/verification.mjs.map +1 -1
- package/resources/stream/captions/language/language.d.ts +1 -5
- package/resources/stream/captions/language/language.d.ts.map +1 -1
- package/resources/stream/captions/language/language.js +2 -5
- package/resources/stream/captions/language/language.js.map +1 -1
- package/resources/stream/captions/language/language.mjs +2 -5
- package/resources/stream/captions/language/language.mjs.map +1 -1
- package/resources/stream/clip.d.ts +1 -1
- package/resources/stream/clip.d.ts.map +1 -1
- package/resources/stream/copy.d.ts +1 -1
- package/resources/stream/copy.d.ts.map +1 -1
- package/resources/stream/direct-upload.d.ts +1 -1
- package/resources/stream/direct-upload.d.ts.map +1 -1
- package/resources/stream/keys.d.ts +1 -5
- package/resources/stream/keys.d.ts.map +1 -1
- package/resources/stream/keys.js +2 -5
- package/resources/stream/keys.js.map +1 -1
- package/resources/stream/keys.mjs +2 -5
- package/resources/stream/keys.mjs.map +1 -1
- package/resources/stream/live-inputs/live-inputs.d.ts +1 -5
- package/resources/stream/live-inputs/live-inputs.d.ts.map +1 -1
- package/resources/stream/live-inputs/live-inputs.js +1 -2
- package/resources/stream/live-inputs/live-inputs.js.map +1 -1
- package/resources/stream/live-inputs/live-inputs.mjs +1 -2
- package/resources/stream/live-inputs/live-inputs.mjs.map +1 -1
- package/resources/stream/live-inputs/outputs.d.ts +1 -5
- package/resources/stream/live-inputs/outputs.d.ts.map +1 -1
- package/resources/stream/live-inputs/outputs.js +2 -2
- package/resources/stream/live-inputs/outputs.js.map +1 -1
- package/resources/stream/live-inputs/outputs.mjs +2 -2
- package/resources/stream/live-inputs/outputs.mjs.map +1 -1
- package/resources/stream/stream.d.ts +2 -5
- package/resources/stream/stream.d.ts.map +1 -1
- package/resources/stream/stream.js +1 -2
- package/resources/stream/stream.js.map +1 -1
- package/resources/stream/stream.mjs +1 -2
- package/resources/stream/stream.mjs.map +1 -1
- package/resources/stream/watermarks.d.ts +1 -5
- package/resources/stream/watermarks.d.ts.map +1 -1
- package/resources/stream/watermarks.js +2 -5
- package/resources/stream/watermarks.js.map +1 -1
- package/resources/stream/watermarks.mjs +2 -5
- package/resources/stream/watermarks.mjs.map +1 -1
- package/resources/stream/webhooks.d.ts +1 -5
- package/resources/stream/webhooks.d.ts.map +1 -1
- package/resources/stream/webhooks.js +2 -5
- package/resources/stream/webhooks.js.map +1 -1
- package/resources/stream/webhooks.mjs +2 -5
- package/resources/stream/webhooks.mjs.map +1 -1
- package/resources/subscriptions.d.ts +7 -8
- package/resources/subscriptions.d.ts.map +1 -1
- package/resources/subscriptions.js +2 -5
- package/resources/subscriptions.js.map +1 -1
- package/resources/subscriptions.mjs +2 -5
- package/resources/subscriptions.mjs.map +1 -1
- package/resources/url-scanner/url-scanner.d.ts +4 -4
- package/resources/user/index.d.ts +3 -3
- package/resources/user/index.d.ts.map +1 -1
- package/resources/user/index.js.map +1 -1
- package/resources/user/index.mjs.map +1 -1
- package/resources/user/organizations.d.ts +3 -4
- package/resources/user/organizations.d.ts.map +1 -1
- package/resources/user/organizations.js +2 -2
- package/resources/user/organizations.js.map +1 -1
- package/resources/user/organizations.mjs +2 -2
- package/resources/user/organizations.mjs.map +1 -1
- package/resources/user/subscriptions.d.ts +66 -9
- package/resources/user/subscriptions.d.ts.map +1 -1
- package/resources/user/subscriptions.js +2 -2
- package/resources/user/subscriptions.js.map +1 -1
- package/resources/user/subscriptions.mjs +2 -2
- package/resources/user/subscriptions.mjs.map +1 -1
- package/resources/user/tokens/index.d.ts +1 -1
- package/resources/user/tokens/index.d.ts.map +1 -1
- package/resources/user/tokens/index.js.map +1 -1
- package/resources/user/tokens/index.mjs.map +1 -1
- package/resources/user/tokens/tokens.d.ts +33 -9
- package/resources/user/tokens/tokens.d.ts.map +1 -1
- package/resources/user/tokens/tokens.js +2 -2
- package/resources/user/tokens/tokens.js.map +1 -1
- package/resources/user/tokens/tokens.mjs +2 -2
- package/resources/user/tokens/tokens.mjs.map +1 -1
- package/resources/user/user.d.ts +0 -3
- package/resources/user/user.d.ts.map +1 -1
- package/resources/user/user.js.map +1 -1
- package/resources/user/user.mjs.map +1 -1
- package/resources/vectorize/indexes.d.ts +11 -1
- package/resources/vectorize/indexes.d.ts.map +1 -1
- package/resources/vectorize/indexes.js.map +1 -1
- package/resources/vectorize/indexes.mjs.map +1 -1
- package/resources/waiting-rooms/events/events.d.ts +1 -5
- package/resources/waiting-rooms/events/events.d.ts.map +1 -1
- package/resources/waiting-rooms/events/events.js +2 -5
- package/resources/waiting-rooms/events/events.js.map +1 -1
- package/resources/waiting-rooms/events/events.mjs +2 -5
- package/resources/waiting-rooms/events/events.mjs.map +1 -1
- package/resources/waiting-rooms/rules.d.ts +1 -5
- package/resources/waiting-rooms/rules.d.ts.map +1 -1
- package/resources/waiting-rooms/rules.js +2 -5
- package/resources/waiting-rooms/rules.js.map +1 -1
- package/resources/waiting-rooms/rules.mjs +2 -5
- package/resources/waiting-rooms/rules.mjs.map +1 -1
- package/resources/waiting-rooms/waiting-rooms.d.ts +42 -11
- package/resources/waiting-rooms/waiting-rooms.d.ts.map +1 -1
- package/resources/waiting-rooms/waiting-rooms.js +2 -5
- package/resources/waiting-rooms/waiting-rooms.js.map +1 -1
- package/resources/waiting-rooms/waiting-rooms.mjs +2 -5
- package/resources/waiting-rooms/waiting-rooms.mjs.map +1 -1
- package/resources/warp-connector.d.ts +1 -5
- package/resources/warp-connector.d.ts.map +1 -1
- package/resources/warp-connector.js +2 -5
- package/resources/warp-connector.js.map +1 -1
- package/resources/warp-connector.mjs +2 -5
- package/resources/warp-connector.mjs.map +1 -1
- package/resources/web3/hostnames/hostnames.d.ts +1 -3
- package/resources/web3/hostnames/hostnames.d.ts.map +1 -1
- package/resources/web3/hostnames/hostnames.js +2 -5
- package/resources/web3/hostnames/hostnames.js.map +1 -1
- package/resources/web3/hostnames/hostnames.mjs +2 -5
- package/resources/web3/hostnames/hostnames.mjs.map +1 -1
- package/resources/web3/hostnames/index.d.ts +1 -1
- package/resources/web3/hostnames/index.d.ts.map +1 -1
- package/resources/web3/hostnames/index.js.map +1 -1
- package/resources/web3/hostnames/index.mjs.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/content-lists.d.ts +0 -1
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/content-lists.d.ts.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/content-lists.js.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/content-lists.mjs.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/entries.d.ts +1 -3
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/entries.d.ts.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/entries.js +2 -2
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/entries.js.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/entries.mjs +2 -2
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/entries.mjs.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/index.d.ts +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/index.d.ts.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/index.js.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/index.mjs.map +1 -1
- package/resources/web3/index.d.ts +1 -1
- package/resources/web3/index.d.ts.map +1 -1
- package/resources/web3/index.js.map +1 -1
- package/resources/web3/index.mjs.map +1 -1
- package/resources/web3/web3.d.ts +0 -1
- package/resources/web3/web3.d.ts.map +1 -1
- package/resources/web3/web3.js.map +1 -1
- package/resources/web3/web3.mjs.map +1 -1
- package/resources/workers/ai.d.ts +2 -2
- package/resources/workers/ai.d.ts.map +1 -1
- package/resources/workers/domains.d.ts +0 -7
- package/resources/workers/domains.d.ts.map +1 -1
- package/resources/workers/domains.js +1 -2
- package/resources/workers/domains.js.map +1 -1
- package/resources/workers/domains.mjs +1 -2
- package/resources/workers/domains.mjs.map +1 -1
- package/resources/workers/scripts/content.d.ts +1 -1
- package/resources/workers/scripts/content.d.ts.map +1 -1
- package/resources/workers/scripts/deployments.d.ts +7 -1
- package/resources/workers/scripts/deployments.d.ts.map +1 -1
- package/resources/workers/scripts/deployments.js.map +1 -1
- package/resources/workers/scripts/deployments.mjs.map +1 -1
- package/resources/workers/scripts/scripts.d.ts +3 -7
- package/resources/workers/scripts/scripts.d.ts.map +1 -1
- package/resources/workers/scripts/scripts.js +1 -2
- package/resources/workers/scripts/scripts.js.map +1 -1
- package/resources/workers/scripts/scripts.mjs +1 -2
- package/resources/workers/scripts/scripts.mjs.map +1 -1
- package/resources/workers/scripts/settings.d.ts +1 -1
- package/resources/workers/scripts/settings.d.ts.map +1 -1
- package/resources/workers/scripts/tail.d.ts +18 -5
- package/resources/workers/scripts/tail.d.ts.map +1 -1
- package/resources/workers/scripts/tail.js +2 -5
- package/resources/workers/scripts/tail.js.map +1 -1
- package/resources/workers/scripts/tail.mjs +2 -5
- package/resources/workers/scripts/tail.mjs.map +1 -1
- package/resources/workers/workers.d.ts +244 -1
- package/resources/workers/workers.d.ts.map +1 -1
- package/resources/workers/workers.js.map +1 -1
- package/resources/workers/workers.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content.d.ts +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts +3 -7
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.js +2 -2
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.mjs +2 -2
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts +4 -4
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts.map +1 -1
- package/resources/zero-trust/access/access.d.ts +284 -7
- package/resources/zero-trust/access/access.d.ts.map +1 -1
- package/resources/zero-trust/access/access.js.map +1 -1
- package/resources/zero-trust/access/access.mjs.map +1 -1
- package/resources/zero-trust/access/applications/applications.d.ts +229 -83
- package/resources/zero-trust/access/applications/applications.d.ts.map +1 -1
- package/resources/zero-trust/access/applications/applications.js.map +1 -1
- package/resources/zero-trust/access/applications/applications.mjs.map +1 -1
- package/resources/zero-trust/access/applications/index.d.ts +1 -1
- package/resources/zero-trust/access/applications/index.d.ts.map +1 -1
- package/resources/zero-trust/access/applications/policies.d.ts +25 -8
- package/resources/zero-trust/access/applications/policies.d.ts.map +1 -1
- package/resources/zero-trust/access/applications/policies.js.map +1 -1
- package/resources/zero-trust/access/applications/policies.mjs.map +1 -1
- package/resources/zero-trust/access/applications/user-policy-checks.d.ts +2 -2
- package/resources/zero-trust/access/applications/user-policy-checks.d.ts.map +1 -1
- package/resources/zero-trust/access/applications/user-policy-checks.js.map +1 -1
- package/resources/zero-trust/access/applications/user-policy-checks.mjs.map +1 -1
- package/resources/zero-trust/access/bookmarks.d.ts +1 -3
- package/resources/zero-trust/access/bookmarks.d.ts.map +1 -1
- package/resources/zero-trust/access/bookmarks.js +2 -5
- package/resources/zero-trust/access/bookmarks.js.map +1 -1
- package/resources/zero-trust/access/bookmarks.mjs +2 -5
- package/resources/zero-trust/access/bookmarks.mjs.map +1 -1
- package/resources/zero-trust/access/certificates/certificates.d.ts +6 -2
- package/resources/zero-trust/access/certificates/certificates.d.ts.map +1 -1
- package/resources/zero-trust/access/certificates/certificates.js.map +1 -1
- package/resources/zero-trust/access/certificates/certificates.mjs.map +1 -1
- package/resources/zero-trust/access/certificates/settings.d.ts +18 -1
- package/resources/zero-trust/access/certificates/settings.d.ts.map +1 -1
- package/resources/zero-trust/access/certificates/settings.js.map +1 -1
- package/resources/zero-trust/access/certificates/settings.mjs.map +1 -1
- package/resources/zero-trust/access/groups.d.ts +6 -6
- package/resources/zero-trust/access/groups.d.ts.map +1 -1
- package/resources/zero-trust/access/index.d.ts +2 -2
- package/resources/zero-trust/access/index.d.ts.map +1 -1
- package/resources/zero-trust/access/index.js.map +1 -1
- package/resources/zero-trust/access/index.mjs.map +1 -1
- package/resources/zero-trust/devices/dex-tests.d.ts +20 -2
- package/resources/zero-trust/devices/dex-tests.d.ts.map +1 -1
- package/resources/zero-trust/devices/dex-tests.js.map +1 -1
- package/resources/zero-trust/devices/dex-tests.mjs.map +1 -1
- package/resources/zero-trust/devices/networks.d.ts +0 -7
- package/resources/zero-trust/devices/networks.d.ts.map +1 -1
- package/resources/zero-trust/devices/networks.js +2 -5
- package/resources/zero-trust/devices/networks.js.map +1 -1
- package/resources/zero-trust/devices/networks.mjs +2 -5
- package/resources/zero-trust/devices/networks.mjs.map +1 -1
- package/resources/zero-trust/devices/policies/excludes.d.ts +17 -1
- package/resources/zero-trust/devices/policies/excludes.d.ts.map +1 -1
- package/resources/zero-trust/devices/policies/excludes.js.map +1 -1
- package/resources/zero-trust/devices/policies/excludes.mjs.map +1 -1
- package/resources/zero-trust/devices/policies/fallback-domains.d.ts +15 -1
- package/resources/zero-trust/devices/policies/fallback-domains.d.ts.map +1 -1
- package/resources/zero-trust/devices/policies/fallback-domains.js.map +1 -1
- package/resources/zero-trust/devices/policies/fallback-domains.mjs.map +1 -1
- package/resources/zero-trust/devices/policies/includes.d.ts +17 -1
- package/resources/zero-trust/devices/policies/includes.d.ts.map +1 -1
- package/resources/zero-trust/devices/policies/includes.js.map +1 -1
- package/resources/zero-trust/devices/policies/includes.mjs.map +1 -1
- package/resources/zero-trust/devices/policies/policies.d.ts +0 -7
- package/resources/zero-trust/devices/policies/policies.d.ts.map +1 -1
- package/resources/zero-trust/devices/policies/policies.js +2 -5
- package/resources/zero-trust/devices/policies/policies.js.map +1 -1
- package/resources/zero-trust/devices/policies/policies.mjs +2 -5
- package/resources/zero-trust/devices/policies/policies.mjs.map +1 -1
- package/resources/zero-trust/devices/posture/integrations.d.ts +0 -7
- package/resources/zero-trust/devices/posture/integrations.d.ts.map +1 -1
- package/resources/zero-trust/devices/posture/integrations.js +2 -5
- package/resources/zero-trust/devices/posture/integrations.js.map +1 -1
- package/resources/zero-trust/devices/posture/integrations.mjs +2 -5
- package/resources/zero-trust/devices/posture/integrations.mjs.map +1 -1
- package/resources/zero-trust/devices/posture/posture.d.ts +291 -11
- package/resources/zero-trust/devices/posture/posture.d.ts.map +1 -1
- package/resources/zero-trust/devices/posture/posture.js +2 -5
- package/resources/zero-trust/devices/posture/posture.js.map +1 -1
- package/resources/zero-trust/devices/posture/posture.mjs +2 -5
- package/resources/zero-trust/devices/posture/posture.mjs.map +1 -1
- package/resources/zero-trust/dex/fleet-status/devices.d.ts +0 -2
- package/resources/zero-trust/dex/fleet-status/devices.d.ts.map +1 -1
- package/resources/zero-trust/dex/fleet-status/devices.js.map +1 -1
- package/resources/zero-trust/dex/fleet-status/devices.mjs.map +1 -1
- package/resources/zero-trust/dlp/profiles/custom.d.ts +19 -9
- package/resources/zero-trust/dlp/profiles/custom.d.ts.map +1 -1
- package/resources/zero-trust/dlp/profiles/custom.js +2 -5
- package/resources/zero-trust/dlp/profiles/custom.js.map +1 -1
- package/resources/zero-trust/dlp/profiles/custom.mjs +2 -5
- package/resources/zero-trust/dlp/profiles/custom.mjs.map +1 -1
- package/resources/zero-trust/dlp/profiles/predefined.d.ts +1 -1
- package/resources/zero-trust/dlp/profiles/predefined.d.ts.map +1 -1
- package/resources/zero-trust/dlp/profiles/profiles.d.ts +24 -0
- package/resources/zero-trust/dlp/profiles/profiles.d.ts.map +1 -1
- package/resources/zero-trust/dlp/profiles/profiles.js.map +1 -1
- package/resources/zero-trust/dlp/profiles/profiles.mjs.map +1 -1
- package/resources/zero-trust/gateway/configurations.d.ts +210 -2
- package/resources/zero-trust/gateway/configurations.d.ts.map +1 -1
- package/resources/zero-trust/gateway/configurations.js.map +1 -1
- package/resources/zero-trust/gateway/configurations.mjs.map +1 -1
- package/resources/zero-trust/gateway/lists/lists.d.ts +8 -9
- package/resources/zero-trust/gateway/lists/lists.d.ts.map +1 -1
- package/resources/zero-trust/gateway/lists/lists.js +2 -5
- package/resources/zero-trust/gateway/lists/lists.js.map +1 -1
- package/resources/zero-trust/gateway/lists/lists.mjs +2 -5
- package/resources/zero-trust/gateway/lists/lists.mjs.map +1 -1
- package/resources/zero-trust/gateway/locations.d.ts +8 -9
- package/resources/zero-trust/gateway/locations.d.ts.map +1 -1
- package/resources/zero-trust/gateway/locations.js +2 -5
- package/resources/zero-trust/gateway/locations.js.map +1 -1
- package/resources/zero-trust/gateway/locations.mjs +2 -5
- package/resources/zero-trust/gateway/locations.mjs.map +1 -1
- package/resources/zero-trust/gateway/proxy-endpoints.d.ts +7 -9
- package/resources/zero-trust/gateway/proxy-endpoints.d.ts.map +1 -1
- package/resources/zero-trust/gateway/proxy-endpoints.js +2 -5
- package/resources/zero-trust/gateway/proxy-endpoints.js.map +1 -1
- package/resources/zero-trust/gateway/proxy-endpoints.mjs +2 -5
- package/resources/zero-trust/gateway/proxy-endpoints.mjs.map +1 -1
- package/resources/zero-trust/gateway/rules.d.ts +336 -13
- package/resources/zero-trust/gateway/rules.d.ts.map +1 -1
- package/resources/zero-trust/gateway/rules.js +2 -5
- package/resources/zero-trust/gateway/rules.js.map +1 -1
- package/resources/zero-trust/gateway/rules.mjs +2 -5
- package/resources/zero-trust/gateway/rules.mjs.map +1 -1
- package/resources/zero-trust/identity-providers.d.ts +113 -64
- package/resources/zero-trust/identity-providers.d.ts.map +1 -1
- package/resources/zero-trust/identity-providers.js.map +1 -1
- package/resources/zero-trust/identity-providers.mjs.map +1 -1
- package/resources/zero-trust/networks/virtual-networks.d.ts +1 -5
- package/resources/zero-trust/networks/virtual-networks.d.ts.map +1 -1
- package/resources/zero-trust/networks/virtual-networks.js +2 -5
- package/resources/zero-trust/networks/virtual-networks.js.map +1 -1
- package/resources/zero-trust/networks/virtual-networks.mjs +2 -5
- package/resources/zero-trust/networks/virtual-networks.mjs.map +1 -1
- package/resources/zero-trust/organizations.d.ts +24 -2
- package/resources/zero-trust/organizations.d.ts.map +1 -1
- package/resources/zero-trust/organizations.js.map +1 -1
- package/resources/zero-trust/organizations.mjs.map +1 -1
- package/resources/zero-trust/tunnels/connections.d.ts +1 -5
- package/resources/zero-trust/tunnels/connections.d.ts.map +1 -1
- package/resources/zero-trust/tunnels/connections.js +2 -5
- package/resources/zero-trust/tunnels/connections.js.map +1 -1
- package/resources/zero-trust/tunnels/connections.mjs +2 -5
- package/resources/zero-trust/tunnels/connections.mjs.map +1 -1
- package/resources/zero-trust/tunnels/tunnels.d.ts +1 -5
- package/resources/zero-trust/tunnels/tunnels.d.ts.map +1 -1
- package/resources/zero-trust/tunnels/tunnels.js +2 -5
- package/resources/zero-trust/tunnels/tunnels.js.map +1 -1
- package/resources/zero-trust/tunnels/tunnels.mjs +2 -5
- package/resources/zero-trust/tunnels/tunnels.mjs.map +1 -1
- package/resources/zones/custom-nameservers.d.ts +2 -2
- package/resources/zones/custom-nameservers.d.ts.map +1 -1
- package/resources/zones/dns-settings.d.ts +10 -1
- package/resources/zones/dns-settings.d.ts.map +1 -1
- package/resources/zones/dns-settings.js.map +1 -1
- package/resources/zones/dns-settings.mjs.map +1 -1
- package/resources/zones/settings/automatic-platform-optimization.d.ts +32 -1
- package/resources/zones/settings/automatic-platform-optimization.d.ts.map +1 -1
- package/resources/zones/settings/automatic-platform-optimization.js.map +1 -1
- package/resources/zones/settings/automatic-platform-optimization.mjs.map +1 -1
- package/resources/zones/settings/h2-prioritization.d.ts +16 -1
- package/resources/zones/settings/h2-prioritization.d.ts.map +1 -1
- package/resources/zones/settings/h2-prioritization.js.map +1 -1
- package/resources/zones/settings/h2-prioritization.mjs.map +1 -1
- package/resources/zones/settings/image-resizing.d.ts +17 -1
- package/resources/zones/settings/image-resizing.d.ts.map +1 -1
- package/resources/zones/settings/image-resizing.js.map +1 -1
- package/resources/zones/settings/image-resizing.mjs.map +1 -1
- package/resources/zones/settings/nel.d.ts +22 -1
- package/resources/zones/settings/nel.d.ts.map +1 -1
- package/resources/zones/settings/nel.js.map +1 -1
- package/resources/zones/settings/nel.mjs.map +1 -1
- package/resources/zones/settings/orange-to-orange.d.ts +15 -1
- package/resources/zones/settings/orange-to-orange.d.ts.map +1 -1
- package/resources/zones/settings/orange-to-orange.js.map +1 -1
- package/resources/zones/settings/orange-to-orange.mjs.map +1 -1
- package/resources/zones/settings/polish.d.ts +19 -1
- package/resources/zones/settings/polish.d.ts.map +1 -1
- package/resources/zones/settings/polish.js.map +1 -1
- package/resources/zones/settings/polish.mjs.map +1 -1
- package/resources/zones/settings/proxy-read-timeout.d.ts +14 -1
- package/resources/zones/settings/proxy-read-timeout.d.ts.map +1 -1
- package/resources/zones/settings/proxy-read-timeout.js.map +1 -1
- package/resources/zones/settings/proxy-read-timeout.mjs.map +1 -1
- package/resources/zones/settings/rocket-loader.d.ts +23 -1
- package/resources/zones/settings/rocket-loader.d.ts.map +1 -1
- package/resources/zones/settings/rocket-loader.js.map +1 -1
- package/resources/zones/settings/rocket-loader.mjs.map +1 -1
- package/resources/zones/settings/ssl-recommender.d.ts +16 -1
- package/resources/zones/settings/ssl-recommender.d.ts.map +1 -1
- package/resources/zones/settings/ssl-recommender.js.map +1 -1
- package/resources/zones/settings/ssl-recommender.mjs.map +1 -1
- package/resources/zones/subscriptions.d.ts +3 -3
- package/resources/zones/subscriptions.d.ts.map +1 -1
- package/resources/zones/zones.d.ts +16 -3
- package/resources/zones/zones.d.ts.map +1 -1
- package/resources/zones/zones.js.map +1 -1
- package/resources/zones/zones.mjs.map +1 -1
- package/src/index.ts +6 -0
- package/src/resources/accounts/accounts.ts +1 -0
- package/src/resources/accounts/index.ts +1 -0
- package/src/resources/accounts/members.ts +15 -18
- package/src/resources/accounts/roles.ts +2 -2
- package/src/resources/acm/acm.ts +1 -0
- package/src/resources/acm/index.ts +1 -0
- package/src/resources/acm/total-tls.ts +14 -3
- package/src/resources/addressing/address-maps/accounts.ts +3 -8
- package/src/resources/addressing/address-maps/address-maps.ts +14 -13
- package/src/resources/addressing/address-maps/index.ts +1 -0
- package/src/resources/addressing/address-maps/ips.ts +3 -8
- package/src/resources/addressing/address-maps/zones.ts +4 -9
- package/src/resources/addressing/addressing.ts +1 -0
- package/src/resources/addressing/index.ts +1 -0
- package/src/resources/addressing/prefixes/delegations.ts +3 -8
- package/src/resources/addressing/prefixes/prefixes.ts +6 -11
- package/src/resources/ai-gateway/ai-gateway.ts +343 -0
- package/src/resources/ai-gateway/index.ts +4 -0
- package/src/resources/ai-gateway/logs.ts +107 -0
- package/src/resources/alerting/policies.ts +229 -4
- package/src/resources/cache/cache-reserve.ts +8 -2
- package/src/resources/cache/cache.ts +1 -0
- package/src/resources/cache/index.ts +1 -0
- package/src/resources/cache/smart-tiered-cache.ts +6 -11
- package/src/resources/cache/variants.ts +3 -8
- package/src/resources/certificate-authorities/hostname-associations.ts +3 -1
- package/src/resources/challenges/widgets.ts +8 -2
- package/src/resources/client-certificates.ts +2 -1
- package/src/resources/cloudforce-one/requests/message.ts +15 -7
- package/src/resources/cloudforce-one/requests/priority.ts +19 -9
- package/src/resources/cloudforce-one/requests/requests.ts +15 -7
- package/src/resources/custom-certificates/custom-certificates.ts +29 -15
- package/src/resources/custom-hostnames/custom-hostnames.ts +36 -24
- package/src/resources/custom-hostnames/fallback-origin.ts +5 -11
- package/src/resources/custom-nameservers.ts +6 -42
- package/src/resources/dns/analytics/reports/bytimes.ts +2 -11
- package/src/resources/dns/dns.ts +2 -11
- package/src/resources/dns/firewall/analytics/analytics.ts +32 -0
- package/src/resources/dns/firewall/analytics/index.ts +1 -1
- package/src/resources/dns/firewall/analytics/reports/bytimes.ts +2 -11
- package/src/resources/dns/firewall/firewall.ts +38 -16
- package/src/resources/dns/firewall/index.ts +1 -1
- package/src/resources/dns/records.ts +144 -136
- package/src/resources/dnssec.ts +3 -8
- package/src/resources/email-routing/rules/catch-alls.ts +24 -2
- package/src/resources/email-routing/rules/rules.ts +36 -4
- package/src/resources/filters.ts +2 -9
- package/src/resources/firewall/access-rules.ts +98 -25
- package/src/resources/firewall/firewall.ts +0 -3
- package/src/resources/firewall/index.ts +0 -3
- package/src/resources/firewall/lockdowns.ts +3 -8
- package/src/resources/firewall/rules.ts +4 -19
- package/src/resources/firewall/ua-rules.ts +3 -8
- package/src/resources/firewall/waf/index.ts +0 -1
- package/src/resources/firewall/waf/overrides.ts +4 -8
- package/src/resources/firewall/waf/packages/rules.ts +0 -4
- package/src/resources/firewall/waf/waf.ts +0 -1
- package/src/resources/healthchecks/healthchecks.ts +101 -20
- package/src/resources/healthchecks/previews.ts +9 -14
- package/src/resources/hostnames/settings/tls.ts +6 -1
- package/src/resources/hyperdrive/configs.ts +3 -3
- package/src/resources/hyperdrive/hyperdrive.ts +27 -0
- package/src/resources/images/v1/v1.ts +5 -11
- package/src/resources/images/v1/variants.ts +6 -11
- package/src/resources/index.ts +1 -0
- package/src/resources/intel/asn/asn.ts +5 -1
- package/src/resources/intel/asn/subnets.ts +1 -1
- package/src/resources/intel/attack-surface-report/attack-surface-report.ts +0 -3
- package/src/resources/intel/attack-surface-report/index.ts +0 -3
- package/src/resources/intel/attack-surface-report/issues.ts +48 -53
- package/src/resources/intel/dns.ts +2 -2
- package/src/resources/intel/index.ts +1 -1
- package/src/resources/intel/indicator-feeds/index.ts +1 -0
- package/src/resources/intel/indicator-feeds/indicator-feeds.ts +68 -14
- package/src/resources/intel/indicator-feeds/permissions.ts +10 -0
- package/src/resources/intel/indicator-feeds/snapshots.ts +59 -0
- package/src/resources/intel/intel.ts +1 -0
- package/src/resources/intel/whois.ts +179 -2
- package/src/resources/keyless-certificates.ts +24 -14
- package/src/resources/kv/namespaces/bulk.ts +6 -11
- package/src/resources/kv/namespaces/namespaces.ts +6 -11
- package/src/resources/kv/namespaces/values.ts +6 -11
- package/src/resources/load-balancers/load-balancers.ts +769 -154
- package/src/resources/load-balancers/monitors/monitors.ts +6 -11
- package/src/resources/load-balancers/pools/pools.ts +20 -25
- package/src/resources/logpush/jobs.ts +210 -24
- package/src/resources/logs/control/cmb/config.ts +5 -11
- package/src/resources/magic-network-monitoring/configs/configs.ts +4 -13
- package/src/resources/magic-network-monitoring/rules/rules.ts +4 -13
- package/src/resources/magic-transit/cf-interconnects.ts +2 -2
- package/src/resources/magic-transit/gre-tunnels.ts +7 -12
- package/src/resources/magic-transit/index.ts +16 -18
- package/src/resources/magic-transit/ipsec-tunnels.ts +8 -13
- package/src/resources/magic-transit/magic-transit.ts +46 -2
- package/src/resources/magic-transit/routes.ts +24 -35
- package/src/resources/magic-transit/sites/acls.ts +47 -17
- package/src/resources/magic-transit/sites/lans.ts +88 -17
- package/src/resources/magic-transit/sites/sites.ts +22 -13
- package/src/resources/magic-transit/sites/wans.ts +29 -13
- package/src/resources/managed-headers.ts +14 -2
- package/src/resources/memberships.ts +2 -8
- package/src/resources/mtls-certificates/mtls-certificates.ts +6 -11
- package/src/resources/origin-ca-certificates.ts +8 -9
- package/src/resources/origin-tls-client-auth/hostnames/certificates.ts +3 -8
- package/src/resources/origin-tls-client-auth/origin-tls-client-auth.ts +6 -11
- package/src/resources/pagerules/pagerules.ts +41 -23
- package/src/resources/pages/projects/deployments/deployments.ts +3 -8
- package/src/resources/pages/projects/domains.ts +3 -8
- package/src/resources/pages/projects/projects.ts +17 -13
- package/src/resources/pcaps/pcaps.ts +32 -2
- package/src/resources/queues/consumers.ts +6 -11
- package/src/resources/queues/queues.ts +5 -11
- package/src/resources/r2/sippy.ts +4 -2
- package/src/resources/radar/http/http.ts +4 -0
- package/src/resources/radar/http/index.ts +4 -0
- package/src/resources/radar/http/summary.ts +189 -0
- package/src/resources/radar/http/timeseries-groups.ts +151 -0
- package/src/resources/rate-limits.ts +3 -7
- package/src/resources/rules/lists/items.ts +9 -24
- package/src/resources/rules/lists/lists.ts +32 -11
- package/src/resources/rulesets/phases/phases.ts +26 -189
- package/src/resources/rulesets/phases/versions.ts +8 -169
- package/src/resources/rulesets/rules.ts +1972 -531
- package/src/resources/rulesets/rulesets.ts +108 -180
- package/src/resources/rulesets/versions/by-tag.ts +3 -25
- package/src/resources/rulesets/versions/versions.ts +2 -25
- package/src/resources/secondary-dns/acls.ts +4 -13
- package/src/resources/secondary-dns/incoming.ts +4 -13
- package/src/resources/secondary-dns/outgoing/outgoing.ts +4 -13
- package/src/resources/secondary-dns/peers.ts +5 -13
- package/src/resources/secondary-dns/tsigs.ts +5 -13
- package/src/resources/shared.ts +40 -0
- package/src/resources/snippets/content.ts +19 -2
- package/src/resources/snippets/index.ts +2 -1
- package/src/resources/snippets/rules.ts +22 -22
- package/src/resources/snippets/snippets.ts +62 -30
- package/src/resources/spectrum/analytics/events/bytimes.ts +1 -1
- package/src/resources/spectrum/analytics/events/events.ts +2 -0
- package/src/resources/spectrum/analytics/events/summaries.ts +1 -1
- package/src/resources/spectrum/apps.ts +9 -13
- package/src/resources/spectrum/index.ts +0 -1
- package/src/resources/spectrum/spectrum.ts +81 -1
- package/src/resources/speed/index.ts +16 -12
- package/src/resources/speed/pages/index.ts +19 -0
- package/src/resources/speed/pages/pages.ts +141 -0
- package/src/resources/speed/{tests.ts → pages/tests.ts} +4 -4
- package/src/resources/speed/schedule.ts +107 -1
- package/src/resources/speed/speed.ts +5 -194
- package/src/resources/ssl/analyze.ts +1 -1
- package/src/resources/ssl/certificate-packs/certificate-packs.ts +53 -33
- package/src/resources/ssl/certificate-packs/index.ts +3 -0
- package/src/resources/ssl/certificate-packs/order.ts +2 -23
- package/src/resources/ssl/index.ts +3 -0
- package/src/resources/ssl/ssl.ts +3 -0
- package/src/resources/ssl/verification.ts +2 -1
- package/src/resources/stream/captions/language/language.ts +6 -11
- package/src/resources/stream/clip.ts +1 -1
- package/src/resources/stream/copy.ts +1 -1
- package/src/resources/stream/direct-upload.ts +1 -1
- package/src/resources/stream/keys.ts +5 -11
- package/src/resources/stream/live-inputs/live-inputs.ts +2 -8
- package/src/resources/stream/live-inputs/outputs.ts +3 -8
- package/src/resources/stream/stream.ts +4 -8
- package/src/resources/stream/watermarks.ts +6 -11
- package/src/resources/stream/webhooks.ts +5 -11
- package/src/resources/subscriptions.ts +10 -13
- package/src/resources/url-scanner/url-scanner.ts +4 -4
- package/src/resources/user/index.ts +0 -3
- package/src/resources/user/organizations.ts +4 -10
- package/src/resources/user/subscriptions.ts +78 -15
- package/src/resources/user/tokens/index.ts +0 -1
- package/src/resources/user/tokens/tokens.ts +38 -15
- package/src/resources/user/user.ts +0 -3
- package/src/resources/vectorize/indexes.ts +13 -1
- package/src/resources/waiting-rooms/events/events.ts +6 -11
- package/src/resources/waiting-rooms/rules.ts +6 -11
- package/src/resources/waiting-rooms/waiting-rooms.ts +50 -17
- package/src/resources/warp-connector.ts +5 -11
- package/src/resources/web3/hostnames/hostnames.ts +4 -8
- package/src/resources/web3/hostnames/index.ts +0 -1
- package/src/resources/web3/hostnames/ipfs-universal-paths/content-lists/content-lists.ts +0 -1
- package/src/resources/web3/hostnames/ipfs-universal-paths/content-lists/entries.ts +1 -5
- package/src/resources/web3/hostnames/ipfs-universal-paths/content-lists/index.ts +0 -1
- package/src/resources/web3/index.ts +0 -1
- package/src/resources/web3/web3.ts +0 -1
- package/src/resources/workers/ai.ts +2 -2
- package/src/resources/workers/domains.ts +1 -10
- package/src/resources/workers/scripts/content.ts +1 -1
- package/src/resources/workers/scripts/deployments.ts +8 -1
- package/src/resources/workers/scripts/scripts.ts +4 -10
- package/src/resources/workers/scripts/settings.ts +1 -1
- package/src/resources/workers/scripts/tail.ts +23 -11
- package/src/resources/workers/workers.ts +303 -2
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/content.ts +1 -1
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.ts +5 -10
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.ts +4 -4
- package/src/resources/zero-trust/access/access.ts +345 -7
- package/src/resources/zero-trust/access/applications/applications.ts +297 -86
- package/src/resources/zero-trust/access/applications/index.ts +6 -6
- package/src/resources/zero-trust/access/applications/policies.ts +28 -8
- package/src/resources/zero-trust/access/applications/user-policy-checks.ts +3 -3
- package/src/resources/zero-trust/access/bookmarks.ts +3 -8
- package/src/resources/zero-trust/access/certificates/certificates.ts +7 -2
- package/src/resources/zero-trust/access/certificates/settings.ts +21 -1
- package/src/resources/zero-trust/access/groups.ts +6 -6
- package/src/resources/zero-trust/access/index.ts +6 -7
- package/src/resources/zero-trust/devices/dex-tests.ts +23 -2
- package/src/resources/zero-trust/devices/networks.ts +5 -13
- package/src/resources/zero-trust/devices/policies/excludes.ts +20 -1
- package/src/resources/zero-trust/devices/policies/fallback-domains.ts +18 -1
- package/src/resources/zero-trust/devices/policies/includes.ts +20 -1
- package/src/resources/zero-trust/devices/policies/policies.ts +4 -13
- package/src/resources/zero-trust/devices/posture/integrations.ts +5 -13
- package/src/resources/zero-trust/devices/posture/posture.ts +375 -17
- package/src/resources/zero-trust/dex/fleet-status/devices.ts +0 -4
- package/src/resources/zero-trust/dlp/profiles/custom.ts +26 -15
- package/src/resources/zero-trust/dlp/profiles/predefined.ts +1 -1
- package/src/resources/zero-trust/dlp/profiles/profiles.ts +27 -0
- package/src/resources/zero-trust/gateway/configurations.ts +246 -2
- package/src/resources/zero-trust/gateway/lists/lists.ts +13 -15
- package/src/resources/zero-trust/gateway/locations.ts +14 -15
- package/src/resources/zero-trust/gateway/proxy-endpoints.ts +13 -15
- package/src/resources/zero-trust/gateway/rules.ts +397 -19
- package/src/resources/zero-trust/identity-providers.ts +135 -64
- package/src/resources/zero-trust/networks/virtual-networks.ts +6 -11
- package/src/resources/zero-trust/organizations.ts +29 -2
- package/src/resources/zero-trust/tunnels/connections.ts +6 -11
- package/src/resources/zero-trust/tunnels/tunnels.ts +5 -11
- package/src/resources/zones/custom-nameservers.ts +2 -2
- package/src/resources/zones/dns-settings.ts +11 -1
- package/src/resources/zones/settings/automatic-platform-optimization.ts +38 -1
- package/src/resources/zones/settings/h2-prioritization.ts +18 -1
- package/src/resources/zones/settings/image-resizing.ts +19 -1
- package/src/resources/zones/settings/nel.ts +25 -1
- package/src/resources/zones/settings/orange-to-orange.ts +17 -1
- package/src/resources/zones/settings/polish.ts +21 -1
- package/src/resources/zones/settings/proxy-read-timeout.ts +16 -1
- package/src/resources/zones/settings/rocket-loader.ts +25 -1
- package/src/resources/zones/settings/ssl-recommender.ts +18 -1
- package/src/resources/zones/subscriptions.ts +3 -3
- package/src/resources/zones/zones.ts +19 -3
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/speed/pages.d.ts +0 -41
- package/resources/speed/pages.d.ts.map +0 -1
- package/resources/speed/pages.js.map +0 -1
- package/resources/speed/pages.mjs.map +0 -1
- package/resources/speed/tests.d.ts.map +0 -1
- package/resources/speed/tests.js.map +0 -1
- package/resources/speed/tests.mjs.map +0 -1
- package/src/resources/speed/pages.ts +0 -55
- /package/resources/speed/{tests.js → pages/tests.js} +0 -0
- /package/resources/speed/{tests.mjs → pages/tests.mjs} +0 -0
|
@@ -5,6 +5,7 @@ import { APIResource } from "../../resource";
|
|
|
5
5
|
import { isRequestOptions } from "../../core";
|
|
6
6
|
import { CloudflareError } from "../../error";
|
|
7
7
|
import * as RulesAPI from "./rules";
|
|
8
|
+
import * as RulesetsAPI from "./rulesets";
|
|
8
9
|
|
|
9
10
|
export class Rules extends APIResource {
|
|
10
11
|
/**
|
|
@@ -215,6 +216,82 @@ export namespace BlockRule {
|
|
|
215
216
|
}
|
|
216
217
|
}
|
|
217
218
|
|
|
219
|
+
export interface BlockRuleParam {
|
|
220
|
+
/**
|
|
221
|
+
* The unique ID of the rule.
|
|
222
|
+
*/
|
|
223
|
+
id?: string;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* The action to perform when the rule matches.
|
|
227
|
+
*/
|
|
228
|
+
action?: 'block';
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* The parameters configuring the rule's action.
|
|
232
|
+
*/
|
|
233
|
+
action_parameters?: BlockRuleParam.ActionParameters;
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* An informative description of the rule.
|
|
237
|
+
*/
|
|
238
|
+
description?: string;
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Whether the rule should be executed.
|
|
242
|
+
*/
|
|
243
|
+
enabled?: boolean;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* The expression defining which traffic will match the rule.
|
|
247
|
+
*/
|
|
248
|
+
expression?: string;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* An object configuring the rule's logging behavior.
|
|
252
|
+
*/
|
|
253
|
+
logging?: LoggingParam;
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* The reference of the rule (the rule ID by default).
|
|
257
|
+
*/
|
|
258
|
+
ref?: string;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export namespace BlockRuleParam {
|
|
262
|
+
/**
|
|
263
|
+
* The parameters configuring the rule's action.
|
|
264
|
+
*/
|
|
265
|
+
export interface ActionParameters {
|
|
266
|
+
/**
|
|
267
|
+
* The response to show when the block is applied.
|
|
268
|
+
*/
|
|
269
|
+
response?: ActionParameters.Response;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export namespace ActionParameters {
|
|
273
|
+
/**
|
|
274
|
+
* The response to show when the block is applied.
|
|
275
|
+
*/
|
|
276
|
+
export interface Response {
|
|
277
|
+
/**
|
|
278
|
+
* The content to return.
|
|
279
|
+
*/
|
|
280
|
+
content: string;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* The type of the content to return.
|
|
284
|
+
*/
|
|
285
|
+
content_type: string;
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* The status code to return.
|
|
289
|
+
*/
|
|
290
|
+
status_code: number;
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
218
295
|
export interface ChallengeRule {
|
|
219
296
|
/**
|
|
220
297
|
* The timestamp of when the rule was last modified.
|
|
@@ -272,6 +349,48 @@ export interface ChallengeRule {
|
|
|
272
349
|
ref?: string;
|
|
273
350
|
}
|
|
274
351
|
|
|
352
|
+
export interface ChallengeRuleParam {
|
|
353
|
+
/**
|
|
354
|
+
* The unique ID of the rule.
|
|
355
|
+
*/
|
|
356
|
+
id?: string;
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* The action to perform when the rule matches.
|
|
360
|
+
*/
|
|
361
|
+
action?: 'challenge';
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* The parameters configuring the rule's action.
|
|
365
|
+
*/
|
|
366
|
+
action_parameters?: unknown;
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* An informative description of the rule.
|
|
370
|
+
*/
|
|
371
|
+
description?: string;
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* Whether the rule should be executed.
|
|
375
|
+
*/
|
|
376
|
+
enabled?: boolean;
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* The expression defining which traffic will match the rule.
|
|
380
|
+
*/
|
|
381
|
+
expression?: string;
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* An object configuring the rule's logging behavior.
|
|
385
|
+
*/
|
|
386
|
+
logging?: LoggingParam;
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* The reference of the rule (the rule ID by default).
|
|
390
|
+
*/
|
|
391
|
+
ref?: string;
|
|
392
|
+
}
|
|
393
|
+
|
|
275
394
|
export interface CompressResponseRule {
|
|
276
395
|
/**
|
|
277
396
|
* The timestamp of when the rule was last modified.
|
|
@@ -353,6 +472,72 @@ export namespace CompressResponseRule {
|
|
|
353
472
|
}
|
|
354
473
|
}
|
|
355
474
|
|
|
475
|
+
export interface CompressResponseRuleParam {
|
|
476
|
+
/**
|
|
477
|
+
* The unique ID of the rule.
|
|
478
|
+
*/
|
|
479
|
+
id?: string;
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* The action to perform when the rule matches.
|
|
483
|
+
*/
|
|
484
|
+
action?: 'compress_response';
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* The parameters configuring the rule's action.
|
|
488
|
+
*/
|
|
489
|
+
action_parameters?: CompressResponseRuleParam.ActionParameters;
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* An informative description of the rule.
|
|
493
|
+
*/
|
|
494
|
+
description?: string;
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* Whether the rule should be executed.
|
|
498
|
+
*/
|
|
499
|
+
enabled?: boolean;
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* The expression defining which traffic will match the rule.
|
|
503
|
+
*/
|
|
504
|
+
expression?: string;
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* An object configuring the rule's logging behavior.
|
|
508
|
+
*/
|
|
509
|
+
logging?: LoggingParam;
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* The reference of the rule (the rule ID by default).
|
|
513
|
+
*/
|
|
514
|
+
ref?: string;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
export namespace CompressResponseRuleParam {
|
|
518
|
+
/**
|
|
519
|
+
* The parameters configuring the rule's action.
|
|
520
|
+
*/
|
|
521
|
+
export interface ActionParameters {
|
|
522
|
+
/**
|
|
523
|
+
* Custom order for compression algorithms.
|
|
524
|
+
*/
|
|
525
|
+
algorithms?: Array<ActionParameters.Algorithm>;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
export namespace ActionParameters {
|
|
529
|
+
/**
|
|
530
|
+
* Compression algorithm to enable.
|
|
531
|
+
*/
|
|
532
|
+
export interface Algorithm {
|
|
533
|
+
/**
|
|
534
|
+
* Name of compression algorithm to enable.
|
|
535
|
+
*/
|
|
536
|
+
name?: 'none' | 'auto' | 'default' | 'gzip' | 'brotli';
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
|
|
356
541
|
export interface ExecuteRule {
|
|
357
542
|
/**
|
|
358
543
|
* The timestamp of when the rule was last modified.
|
|
@@ -535,17 +720,7 @@ export namespace ExecuteRule {
|
|
|
535
720
|
}
|
|
536
721
|
}
|
|
537
722
|
|
|
538
|
-
export interface
|
|
539
|
-
/**
|
|
540
|
-
* The timestamp of when the rule was last modified.
|
|
541
|
-
*/
|
|
542
|
-
last_updated: string;
|
|
543
|
-
|
|
544
|
-
/**
|
|
545
|
-
* The version of the rule.
|
|
546
|
-
*/
|
|
547
|
-
version: string;
|
|
548
|
-
|
|
723
|
+
export interface ExecuteRuleParam {
|
|
549
724
|
/**
|
|
550
725
|
* The unique ID of the rule.
|
|
551
726
|
*/
|
|
@@ -554,17 +729,12 @@ export interface JSChallengeRule {
|
|
|
554
729
|
/**
|
|
555
730
|
* The action to perform when the rule matches.
|
|
556
731
|
*/
|
|
557
|
-
action?: '
|
|
732
|
+
action?: 'execute';
|
|
558
733
|
|
|
559
734
|
/**
|
|
560
735
|
* The parameters configuring the rule's action.
|
|
561
736
|
*/
|
|
562
|
-
action_parameters?:
|
|
563
|
-
|
|
564
|
-
/**
|
|
565
|
-
* The categories of the rule.
|
|
566
|
-
*/
|
|
567
|
-
categories?: Array<string>;
|
|
737
|
+
action_parameters?: ExecuteRuleParam.ActionParameters;
|
|
568
738
|
|
|
569
739
|
/**
|
|
570
740
|
* An informative description of the rule.
|
|
@@ -584,7 +754,7 @@ export interface JSChallengeRule {
|
|
|
584
754
|
/**
|
|
585
755
|
* An object configuring the rule's logging behavior.
|
|
586
756
|
*/
|
|
587
|
-
logging?:
|
|
757
|
+
logging?: LoggingParam;
|
|
588
758
|
|
|
589
759
|
/**
|
|
590
760
|
* The reference of the rule (the rule ID by default).
|
|
@@ -592,36 +762,161 @@ export interface JSChallengeRule {
|
|
|
592
762
|
ref?: string;
|
|
593
763
|
}
|
|
594
764
|
|
|
595
|
-
export
|
|
765
|
+
export namespace ExecuteRuleParam {
|
|
596
766
|
/**
|
|
597
|
-
* The
|
|
767
|
+
* The parameters configuring the rule's action.
|
|
598
768
|
*/
|
|
599
|
-
|
|
769
|
+
export interface ActionParameters {
|
|
770
|
+
/**
|
|
771
|
+
* The ID of the ruleset to execute.
|
|
772
|
+
*/
|
|
773
|
+
id: string;
|
|
600
774
|
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
775
|
+
/**
|
|
776
|
+
* The configuration to use for matched data logging.
|
|
777
|
+
*/
|
|
778
|
+
matched_data?: ActionParameters.MatchedData;
|
|
605
779
|
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
780
|
+
/**
|
|
781
|
+
* A set of overrides to apply to the target ruleset.
|
|
782
|
+
*/
|
|
783
|
+
overrides?: ActionParameters.Overrides;
|
|
784
|
+
}
|
|
610
785
|
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
786
|
+
export namespace ActionParameters {
|
|
787
|
+
/**
|
|
788
|
+
* The configuration to use for matched data logging.
|
|
789
|
+
*/
|
|
790
|
+
export interface MatchedData {
|
|
791
|
+
/**
|
|
792
|
+
* The public key to encrypt matched data logs with.
|
|
793
|
+
*/
|
|
794
|
+
public_key: string;
|
|
795
|
+
}
|
|
615
796
|
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
797
|
+
/**
|
|
798
|
+
* A set of overrides to apply to the target ruleset.
|
|
799
|
+
*/
|
|
800
|
+
export interface Overrides {
|
|
801
|
+
/**
|
|
802
|
+
* An action to override all rules with. This option has lower precedence than rule
|
|
803
|
+
* and category overrides.
|
|
804
|
+
*/
|
|
805
|
+
action?: string;
|
|
620
806
|
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
807
|
+
/**
|
|
808
|
+
* A list of category-level overrides. This option has the second-highest
|
|
809
|
+
* precedence after rule-level overrides.
|
|
810
|
+
*/
|
|
811
|
+
categories?: Array<Overrides.Category>;
|
|
812
|
+
|
|
813
|
+
/**
|
|
814
|
+
* Whether to enable execution of all rules. This option has lower precedence than
|
|
815
|
+
* rule and category overrides.
|
|
816
|
+
*/
|
|
817
|
+
enabled?: boolean;
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* A list of rule-level overrides. This option has the highest precedence.
|
|
821
|
+
*/
|
|
822
|
+
rules?: Array<Overrides.Rule>;
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* A sensitivity level to set for all rules. This option has lower precedence than
|
|
826
|
+
* rule and category overrides and is only applicable for DDoS phases.
|
|
827
|
+
*/
|
|
828
|
+
sensitivity_level?: 'default' | 'medium' | 'low' | 'eoff';
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
export namespace Overrides {
|
|
832
|
+
/**
|
|
833
|
+
* A category-level override
|
|
834
|
+
*/
|
|
835
|
+
export interface Category {
|
|
836
|
+
/**
|
|
837
|
+
* The name of the category to override.
|
|
838
|
+
*/
|
|
839
|
+
category: string;
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* The action to override rules in the category with.
|
|
843
|
+
*/
|
|
844
|
+
action?: string;
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* Whether to enable execution of rules in the category.
|
|
848
|
+
*/
|
|
849
|
+
enabled?: boolean;
|
|
850
|
+
|
|
851
|
+
/**
|
|
852
|
+
* The sensitivity level to use for rules in the category.
|
|
853
|
+
*/
|
|
854
|
+
sensitivity_level?: 'default' | 'medium' | 'low' | 'eoff';
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* A rule-level override
|
|
859
|
+
*/
|
|
860
|
+
export interface Rule {
|
|
861
|
+
/**
|
|
862
|
+
* The ID of the rule to override.
|
|
863
|
+
*/
|
|
864
|
+
id: string;
|
|
865
|
+
|
|
866
|
+
/**
|
|
867
|
+
* The action to override the rule with.
|
|
868
|
+
*/
|
|
869
|
+
action?: string;
|
|
870
|
+
|
|
871
|
+
/**
|
|
872
|
+
* Whether to enable execution of the rule.
|
|
873
|
+
*/
|
|
874
|
+
enabled?: boolean;
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* The score threshold to use for the rule.
|
|
878
|
+
*/
|
|
879
|
+
score_threshold?: number;
|
|
880
|
+
|
|
881
|
+
/**
|
|
882
|
+
* The sensitivity level to use for the rule.
|
|
883
|
+
*/
|
|
884
|
+
sensitivity_level?: 'default' | 'medium' | 'low' | 'eoff';
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
export interface JSChallengeRule {
|
|
891
|
+
/**
|
|
892
|
+
* The timestamp of when the rule was last modified.
|
|
893
|
+
*/
|
|
894
|
+
last_updated: string;
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
* The version of the rule.
|
|
898
|
+
*/
|
|
899
|
+
version: string;
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* The unique ID of the rule.
|
|
903
|
+
*/
|
|
904
|
+
id?: string;
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* The action to perform when the rule matches.
|
|
908
|
+
*/
|
|
909
|
+
action?: 'js_challenge';
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* The parameters configuring the rule's action.
|
|
913
|
+
*/
|
|
914
|
+
action_parameters?: unknown;
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* The categories of the rule.
|
|
918
|
+
*/
|
|
919
|
+
categories?: Array<string>;
|
|
625
920
|
|
|
626
921
|
/**
|
|
627
922
|
* An informative description of the rule.
|
|
@@ -649,27 +944,7 @@ export interface LogRule {
|
|
|
649
944
|
ref?: string;
|
|
650
945
|
}
|
|
651
946
|
|
|
652
|
-
|
|
653
|
-
* An object configuring the rule's logging behavior.
|
|
654
|
-
*/
|
|
655
|
-
export interface Logging {
|
|
656
|
-
/**
|
|
657
|
-
* Whether to generate a log when the rule matches.
|
|
658
|
-
*/
|
|
659
|
-
enabled: boolean;
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
export interface ManagedChallengeRule {
|
|
663
|
-
/**
|
|
664
|
-
* The timestamp of when the rule was last modified.
|
|
665
|
-
*/
|
|
666
|
-
last_updated: string;
|
|
667
|
-
|
|
668
|
-
/**
|
|
669
|
-
* The version of the rule.
|
|
670
|
-
*/
|
|
671
|
-
version: string;
|
|
672
|
-
|
|
947
|
+
export interface JSChallengeRuleParam {
|
|
673
948
|
/**
|
|
674
949
|
* The unique ID of the rule.
|
|
675
950
|
*/
|
|
@@ -678,18 +953,13 @@ export interface ManagedChallengeRule {
|
|
|
678
953
|
/**
|
|
679
954
|
* The action to perform when the rule matches.
|
|
680
955
|
*/
|
|
681
|
-
action?: '
|
|
956
|
+
action?: 'js_challenge';
|
|
682
957
|
|
|
683
958
|
/**
|
|
684
959
|
* The parameters configuring the rule's action.
|
|
685
960
|
*/
|
|
686
961
|
action_parameters?: unknown;
|
|
687
962
|
|
|
688
|
-
/**
|
|
689
|
-
* The categories of the rule.
|
|
690
|
-
*/
|
|
691
|
-
categories?: Array<string>;
|
|
692
|
-
|
|
693
963
|
/**
|
|
694
964
|
* An informative description of the rule.
|
|
695
965
|
*/
|
|
@@ -708,7 +978,7 @@ export interface ManagedChallengeRule {
|
|
|
708
978
|
/**
|
|
709
979
|
* An object configuring the rule's logging behavior.
|
|
710
980
|
*/
|
|
711
|
-
logging?:
|
|
981
|
+
logging?: LoggingParam;
|
|
712
982
|
|
|
713
983
|
/**
|
|
714
984
|
* The reference of the rule (the rule ID by default).
|
|
@@ -716,7 +986,7 @@ export interface ManagedChallengeRule {
|
|
|
716
986
|
ref?: string;
|
|
717
987
|
}
|
|
718
988
|
|
|
719
|
-
export interface
|
|
989
|
+
export interface LogRule {
|
|
720
990
|
/**
|
|
721
991
|
* The timestamp of when the rule was last modified.
|
|
722
992
|
*/
|
|
@@ -735,12 +1005,12 @@ export interface RedirectRule {
|
|
|
735
1005
|
/**
|
|
736
1006
|
* The action to perform when the rule matches.
|
|
737
1007
|
*/
|
|
738
|
-
action?: '
|
|
1008
|
+
action?: 'log';
|
|
739
1009
|
|
|
740
1010
|
/**
|
|
741
1011
|
* The parameters configuring the rule's action.
|
|
742
1012
|
*/
|
|
743
|
-
action_parameters?:
|
|
1013
|
+
action_parameters?: unknown;
|
|
744
1014
|
|
|
745
1015
|
/**
|
|
746
1016
|
* The categories of the rule.
|
|
@@ -773,77 +1043,69 @@ export interface RedirectRule {
|
|
|
773
1043
|
ref?: string;
|
|
774
1044
|
}
|
|
775
1045
|
|
|
776
|
-
export
|
|
1046
|
+
export interface LogRuleParam {
|
|
777
1047
|
/**
|
|
778
|
-
* The
|
|
1048
|
+
* The unique ID of the rule.
|
|
779
1049
|
*/
|
|
780
|
-
|
|
781
|
-
/**
|
|
782
|
-
* Serve a redirect based on a bulk list lookup.
|
|
783
|
-
*/
|
|
784
|
-
from_list?: ActionParameters.FromList;
|
|
1050
|
+
id?: string;
|
|
785
1051
|
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
}
|
|
1052
|
+
/**
|
|
1053
|
+
* The action to perform when the rule matches.
|
|
1054
|
+
*/
|
|
1055
|
+
action?: 'log';
|
|
791
1056
|
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
export interface FromList {
|
|
797
|
-
/**
|
|
798
|
-
* Expression that evaluates to the list lookup key.
|
|
799
|
-
*/
|
|
800
|
-
key?: string;
|
|
1057
|
+
/**
|
|
1058
|
+
* The parameters configuring the rule's action.
|
|
1059
|
+
*/
|
|
1060
|
+
action_parameters?: unknown;
|
|
801
1061
|
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
}
|
|
1062
|
+
/**
|
|
1063
|
+
* An informative description of the rule.
|
|
1064
|
+
*/
|
|
1065
|
+
description?: string;
|
|
807
1066
|
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
/**
|
|
813
|
-
* Keep the query string of the original request.
|
|
814
|
-
*/
|
|
815
|
-
preserve_query_string?: boolean;
|
|
1067
|
+
/**
|
|
1068
|
+
* Whether the rule should be executed.
|
|
1069
|
+
*/
|
|
1070
|
+
enabled?: boolean;
|
|
816
1071
|
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
1072
|
+
/**
|
|
1073
|
+
* The expression defining which traffic will match the rule.
|
|
1074
|
+
*/
|
|
1075
|
+
expression?: string;
|
|
821
1076
|
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
}
|
|
1077
|
+
/**
|
|
1078
|
+
* An object configuring the rule's logging behavior.
|
|
1079
|
+
*/
|
|
1080
|
+
logging?: LoggingParam;
|
|
827
1081
|
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
value?: string;
|
|
834
|
-
}
|
|
1082
|
+
/**
|
|
1083
|
+
* The reference of the rule (the rule ID by default).
|
|
1084
|
+
*/
|
|
1085
|
+
ref?: string;
|
|
1086
|
+
}
|
|
835
1087
|
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
1088
|
+
/**
|
|
1089
|
+
* An object configuring the rule's logging behavior.
|
|
1090
|
+
*/
|
|
1091
|
+
export interface Logging {
|
|
1092
|
+
/**
|
|
1093
|
+
* Whether to generate a log when the rule matches.
|
|
1094
|
+
*/
|
|
1095
|
+
enabled: boolean;
|
|
844
1096
|
}
|
|
845
1097
|
|
|
846
|
-
|
|
1098
|
+
/**
|
|
1099
|
+
* An object configuring the rule's logging behavior.
|
|
1100
|
+
*/
|
|
1101
|
+
export interface LoggingParam {
|
|
1102
|
+
/**
|
|
1103
|
+
* Whether to generate a log when the rule matches.
|
|
1104
|
+
*/
|
|
1105
|
+
enabled: boolean;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
export interface ManagedChallengeRule {
|
|
847
1109
|
/**
|
|
848
1110
|
* The timestamp of when the rule was last modified.
|
|
849
1111
|
*/
|
|
@@ -862,12 +1124,12 @@ export interface RewriteRule {
|
|
|
862
1124
|
/**
|
|
863
1125
|
* The action to perform when the rule matches.
|
|
864
1126
|
*/
|
|
865
|
-
action?: '
|
|
1127
|
+
action?: 'managed_challenge';
|
|
866
1128
|
|
|
867
1129
|
/**
|
|
868
1130
|
* The parameters configuring the rule's action.
|
|
869
1131
|
*/
|
|
870
|
-
action_parameters?:
|
|
1132
|
+
action_parameters?: unknown;
|
|
871
1133
|
|
|
872
1134
|
/**
|
|
873
1135
|
* The categories of the rule.
|
|
@@ -900,103 +1162,7 @@ export interface RewriteRule {
|
|
|
900
1162
|
ref?: string;
|
|
901
1163
|
}
|
|
902
1164
|
|
|
903
|
-
export
|
|
904
|
-
/**
|
|
905
|
-
* The parameters configuring the rule's action.
|
|
906
|
-
*/
|
|
907
|
-
export interface ActionParameters {
|
|
908
|
-
/**
|
|
909
|
-
* Map of request headers to modify.
|
|
910
|
-
*/
|
|
911
|
-
headers?: Record<
|
|
912
|
-
string,
|
|
913
|
-
ActionParameters.RemoveHeader | ActionParameters.StaticHeader | ActionParameters.DynamicHeader
|
|
914
|
-
>;
|
|
915
|
-
|
|
916
|
-
/**
|
|
917
|
-
* URI to rewrite the request to.
|
|
918
|
-
*/
|
|
919
|
-
uri?: ActionParameters.URI;
|
|
920
|
-
}
|
|
921
|
-
|
|
922
|
-
export namespace ActionParameters {
|
|
923
|
-
/**
|
|
924
|
-
* Remove the header from the request.
|
|
925
|
-
*/
|
|
926
|
-
export interface RemoveHeader {
|
|
927
|
-
operation: 'remove';
|
|
928
|
-
}
|
|
929
|
-
|
|
930
|
-
/**
|
|
931
|
-
* Set a request header with a static value.
|
|
932
|
-
*/
|
|
933
|
-
export interface StaticHeader {
|
|
934
|
-
operation: 'set';
|
|
935
|
-
|
|
936
|
-
/**
|
|
937
|
-
* Static value for the header.
|
|
938
|
-
*/
|
|
939
|
-
value: string;
|
|
940
|
-
}
|
|
941
|
-
|
|
942
|
-
/**
|
|
943
|
-
* Set a request header with a dynamic value.
|
|
944
|
-
*/
|
|
945
|
-
export interface DynamicHeader {
|
|
946
|
-
/**
|
|
947
|
-
* Expression for the header value.
|
|
948
|
-
*/
|
|
949
|
-
expression: string;
|
|
950
|
-
|
|
951
|
-
operation: 'set';
|
|
952
|
-
}
|
|
953
|
-
|
|
954
|
-
/**
|
|
955
|
-
* URI to rewrite the request to.
|
|
956
|
-
*/
|
|
957
|
-
export interface URI {
|
|
958
|
-
/**
|
|
959
|
-
* Path portion rewrite.
|
|
960
|
-
*/
|
|
961
|
-
path?: RulesAPI.RewriteURIPart;
|
|
962
|
-
|
|
963
|
-
/**
|
|
964
|
-
* Query portion rewrite.
|
|
965
|
-
*/
|
|
966
|
-
query?: RulesAPI.RewriteURIPart;
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
}
|
|
970
|
-
|
|
971
|
-
export type RewriteURIPart = RewriteURIPart.StaticValue | RewriteURIPart.DynamicValue;
|
|
972
|
-
|
|
973
|
-
export namespace RewriteURIPart {
|
|
974
|
-
export interface StaticValue {
|
|
975
|
-
/**
|
|
976
|
-
* Predefined replacement value.
|
|
977
|
-
*/
|
|
978
|
-
value: string;
|
|
979
|
-
}
|
|
980
|
-
|
|
981
|
-
export interface DynamicValue {
|
|
982
|
-
/**
|
|
983
|
-
* Expression to evaluate for the replacement value.
|
|
984
|
-
*/
|
|
985
|
-
expression: string;
|
|
986
|
-
}
|
|
987
|
-
}
|
|
988
|
-
|
|
989
|
-
export interface RouteRule {
|
|
990
|
-
/**
|
|
991
|
-
* The timestamp of when the rule was last modified.
|
|
992
|
-
*/
|
|
993
|
-
last_updated: string;
|
|
994
|
-
|
|
995
|
-
/**
|
|
996
|
-
* The version of the rule.
|
|
997
|
-
*/
|
|
998
|
-
version: string;
|
|
999
|
-
|
|
1165
|
+
export interface ManagedChallengeRuleParam {
|
|
1000
1166
|
/**
|
|
1001
1167
|
* The unique ID of the rule.
|
|
1002
1168
|
*/
|
|
@@ -1005,17 +1171,12 @@ export interface RouteRule {
|
|
|
1005
1171
|
/**
|
|
1006
1172
|
* The action to perform when the rule matches.
|
|
1007
1173
|
*/
|
|
1008
|
-
action?: '
|
|
1174
|
+
action?: 'managed_challenge';
|
|
1009
1175
|
|
|
1010
1176
|
/**
|
|
1011
1177
|
* The parameters configuring the rule's action.
|
|
1012
1178
|
*/
|
|
1013
|
-
action_parameters?:
|
|
1014
|
-
|
|
1015
|
-
/**
|
|
1016
|
-
* The categories of the rule.
|
|
1017
|
-
*/
|
|
1018
|
-
categories?: Array<string>;
|
|
1179
|
+
action_parameters?: unknown;
|
|
1019
1180
|
|
|
1020
1181
|
/**
|
|
1021
1182
|
* An informative description of the rule.
|
|
@@ -1035,7 +1196,7 @@ export interface RouteRule {
|
|
|
1035
1196
|
/**
|
|
1036
1197
|
* An object configuring the rule's logging behavior.
|
|
1037
1198
|
*/
|
|
1038
|
-
logging?:
|
|
1199
|
+
logging?: LoggingParam;
|
|
1039
1200
|
|
|
1040
1201
|
/**
|
|
1041
1202
|
* The reference of the rule (the rule ID by default).
|
|
@@ -1043,56 +1204,7 @@ export interface RouteRule {
|
|
|
1043
1204
|
ref?: string;
|
|
1044
1205
|
}
|
|
1045
1206
|
|
|
1046
|
-
export
|
|
1047
|
-
/**
|
|
1048
|
-
* The parameters configuring the rule's action.
|
|
1049
|
-
*/
|
|
1050
|
-
export interface ActionParameters {
|
|
1051
|
-
/**
|
|
1052
|
-
* Rewrite the HTTP Host header.
|
|
1053
|
-
*/
|
|
1054
|
-
host_header?: string;
|
|
1055
|
-
|
|
1056
|
-
/**
|
|
1057
|
-
* Override the IP/TCP destination.
|
|
1058
|
-
*/
|
|
1059
|
-
origin?: ActionParameters.Origin;
|
|
1060
|
-
|
|
1061
|
-
/**
|
|
1062
|
-
* Override the Server Name Indication (SNI).
|
|
1063
|
-
*/
|
|
1064
|
-
sni?: ActionParameters.Sni;
|
|
1065
|
-
}
|
|
1066
|
-
|
|
1067
|
-
export namespace ActionParameters {
|
|
1068
|
-
/**
|
|
1069
|
-
* Override the IP/TCP destination.
|
|
1070
|
-
*/
|
|
1071
|
-
export interface Origin {
|
|
1072
|
-
/**
|
|
1073
|
-
* Override the resolved hostname.
|
|
1074
|
-
*/
|
|
1075
|
-
host?: string;
|
|
1076
|
-
|
|
1077
|
-
/**
|
|
1078
|
-
* Override the destination port.
|
|
1079
|
-
*/
|
|
1080
|
-
port?: number;
|
|
1081
|
-
}
|
|
1082
|
-
|
|
1083
|
-
/**
|
|
1084
|
-
* Override the Server Name Indication (SNI).
|
|
1085
|
-
*/
|
|
1086
|
-
export interface Sni {
|
|
1087
|
-
/**
|
|
1088
|
-
* The SNI override.
|
|
1089
|
-
*/
|
|
1090
|
-
value: string;
|
|
1091
|
-
}
|
|
1092
|
-
}
|
|
1093
|
-
}
|
|
1094
|
-
|
|
1095
|
-
export interface RulesetRule {
|
|
1207
|
+
export interface RedirectRule {
|
|
1096
1208
|
/**
|
|
1097
1209
|
* The timestamp of when the rule was last modified.
|
|
1098
1210
|
*/
|
|
@@ -1111,12 +1223,12 @@ export interface RulesetRule {
|
|
|
1111
1223
|
/**
|
|
1112
1224
|
* The action to perform when the rule matches.
|
|
1113
1225
|
*/
|
|
1114
|
-
action?:
|
|
1226
|
+
action?: 'redirect';
|
|
1115
1227
|
|
|
1116
1228
|
/**
|
|
1117
1229
|
* The parameters configuring the rule's action.
|
|
1118
1230
|
*/
|
|
1119
|
-
action_parameters?:
|
|
1231
|
+
action_parameters?: RedirectRule.ActionParameters;
|
|
1120
1232
|
|
|
1121
1233
|
/**
|
|
1122
1234
|
* The categories of the rule.
|
|
@@ -1149,17 +1261,77 @@ export interface RulesetRule {
|
|
|
1149
1261
|
ref?: string;
|
|
1150
1262
|
}
|
|
1151
1263
|
|
|
1152
|
-
export
|
|
1264
|
+
export namespace RedirectRule {
|
|
1153
1265
|
/**
|
|
1154
|
-
* The
|
|
1266
|
+
* The parameters configuring the rule's action.
|
|
1155
1267
|
*/
|
|
1156
|
-
|
|
1268
|
+
export interface ActionParameters {
|
|
1269
|
+
/**
|
|
1270
|
+
* Serve a redirect based on a bulk list lookup.
|
|
1271
|
+
*/
|
|
1272
|
+
from_list?: ActionParameters.FromList;
|
|
1157
1273
|
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1274
|
+
/**
|
|
1275
|
+
* Serve a redirect based on the request properties.
|
|
1276
|
+
*/
|
|
1277
|
+
from_value?: ActionParameters.FromValue;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
export namespace ActionParameters {
|
|
1281
|
+
/**
|
|
1282
|
+
* Serve a redirect based on a bulk list lookup.
|
|
1283
|
+
*/
|
|
1284
|
+
export interface FromList {
|
|
1285
|
+
/**
|
|
1286
|
+
* Expression that evaluates to the list lookup key.
|
|
1287
|
+
*/
|
|
1288
|
+
key?: string;
|
|
1289
|
+
|
|
1290
|
+
/**
|
|
1291
|
+
* The name of the list to match against.
|
|
1292
|
+
*/
|
|
1293
|
+
name?: string;
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
/**
|
|
1297
|
+
* Serve a redirect based on the request properties.
|
|
1298
|
+
*/
|
|
1299
|
+
export interface FromValue {
|
|
1300
|
+
/**
|
|
1301
|
+
* Keep the query string of the original request.
|
|
1302
|
+
*/
|
|
1303
|
+
preserve_query_string?: boolean;
|
|
1304
|
+
|
|
1305
|
+
/**
|
|
1306
|
+
* The status code to be used for the redirect.
|
|
1307
|
+
*/
|
|
1308
|
+
status_code?: 301 | 302 | 303 | 307 | 308;
|
|
1309
|
+
|
|
1310
|
+
/**
|
|
1311
|
+
* The URL to redirect the request to.
|
|
1312
|
+
*/
|
|
1313
|
+
target_url?: FromValue.StaticURLRedirect | FromValue.DynamicURLRedirect;
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
export namespace FromValue {
|
|
1317
|
+
export interface StaticURLRedirect {
|
|
1318
|
+
/**
|
|
1319
|
+
* The URL to redirect the request to.
|
|
1320
|
+
*/
|
|
1321
|
+
value?: string;
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
export interface DynamicURLRedirect {
|
|
1325
|
+
/**
|
|
1326
|
+
* An expression to evaluate to get the URL to redirect the request to.
|
|
1327
|
+
*/
|
|
1328
|
+
expression?: string;
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1162
1333
|
|
|
1334
|
+
export interface RedirectRuleParam {
|
|
1163
1335
|
/**
|
|
1164
1336
|
* The unique ID of the rule.
|
|
1165
1337
|
*/
|
|
@@ -1168,17 +1340,12 @@ export interface ScoreRule {
|
|
|
1168
1340
|
/**
|
|
1169
1341
|
* The action to perform when the rule matches.
|
|
1170
1342
|
*/
|
|
1171
|
-
action?: '
|
|
1343
|
+
action?: 'redirect';
|
|
1172
1344
|
|
|
1173
1345
|
/**
|
|
1174
1346
|
* The parameters configuring the rule's action.
|
|
1175
1347
|
*/
|
|
1176
|
-
action_parameters?:
|
|
1177
|
-
|
|
1178
|
-
/**
|
|
1179
|
-
* The categories of the rule.
|
|
1180
|
-
*/
|
|
1181
|
-
categories?: Array<string>;
|
|
1348
|
+
action_parameters?: RedirectRuleParam.ActionParameters;
|
|
1182
1349
|
|
|
1183
1350
|
/**
|
|
1184
1351
|
* An informative description of the rule.
|
|
@@ -1198,7 +1365,7 @@ export interface ScoreRule {
|
|
|
1198
1365
|
/**
|
|
1199
1366
|
* An object configuring the rule's logging behavior.
|
|
1200
1367
|
*/
|
|
1201
|
-
logging?:
|
|
1368
|
+
logging?: LoggingParam;
|
|
1202
1369
|
|
|
1203
1370
|
/**
|
|
1204
1371
|
* The reference of the rule (the rule ID by default).
|
|
@@ -1206,23 +1373,80 @@ export interface ScoreRule {
|
|
|
1206
1373
|
ref?: string;
|
|
1207
1374
|
}
|
|
1208
1375
|
|
|
1209
|
-
export namespace
|
|
1376
|
+
export namespace RedirectRuleParam {
|
|
1210
1377
|
/**
|
|
1211
1378
|
* The parameters configuring the rule's action.
|
|
1212
1379
|
*/
|
|
1213
1380
|
export interface ActionParameters {
|
|
1214
1381
|
/**
|
|
1215
|
-
*
|
|
1216
|
-
* negative.
|
|
1382
|
+
* Serve a redirect based on a bulk list lookup.
|
|
1217
1383
|
*/
|
|
1218
|
-
|
|
1384
|
+
from_list?: ActionParameters.FromList;
|
|
1385
|
+
|
|
1386
|
+
/**
|
|
1387
|
+
* Serve a redirect based on the request properties.
|
|
1388
|
+
*/
|
|
1389
|
+
from_value?: ActionParameters.FromValue;
|
|
1219
1390
|
}
|
|
1220
|
-
}
|
|
1221
1391
|
|
|
1222
|
-
export
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1392
|
+
export namespace ActionParameters {
|
|
1393
|
+
/**
|
|
1394
|
+
* Serve a redirect based on a bulk list lookup.
|
|
1395
|
+
*/
|
|
1396
|
+
export interface FromList {
|
|
1397
|
+
/**
|
|
1398
|
+
* Expression that evaluates to the list lookup key.
|
|
1399
|
+
*/
|
|
1400
|
+
key?: string;
|
|
1401
|
+
|
|
1402
|
+
/**
|
|
1403
|
+
* The name of the list to match against.
|
|
1404
|
+
*/
|
|
1405
|
+
name?: string;
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* Serve a redirect based on the request properties.
|
|
1410
|
+
*/
|
|
1411
|
+
export interface FromValue {
|
|
1412
|
+
/**
|
|
1413
|
+
* Keep the query string of the original request.
|
|
1414
|
+
*/
|
|
1415
|
+
preserve_query_string?: boolean;
|
|
1416
|
+
|
|
1417
|
+
/**
|
|
1418
|
+
* The status code to be used for the redirect.
|
|
1419
|
+
*/
|
|
1420
|
+
status_code?: 301 | 302 | 303 | 307 | 308;
|
|
1421
|
+
|
|
1422
|
+
/**
|
|
1423
|
+
* The URL to redirect the request to.
|
|
1424
|
+
*/
|
|
1425
|
+
target_url?: FromValue.StaticURLRedirect | FromValue.DynamicURLRedirect;
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
export namespace FromValue {
|
|
1429
|
+
export interface StaticURLRedirect {
|
|
1430
|
+
/**
|
|
1431
|
+
* The URL to redirect the request to.
|
|
1432
|
+
*/
|
|
1433
|
+
value?: string;
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
export interface DynamicURLRedirect {
|
|
1437
|
+
/**
|
|
1438
|
+
* An expression to evaluate to get the URL to redirect the request to.
|
|
1439
|
+
*/
|
|
1440
|
+
expression?: string;
|
|
1441
|
+
}
|
|
1442
|
+
}
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
export interface RewriteRule {
|
|
1447
|
+
/**
|
|
1448
|
+
* The timestamp of when the rule was last modified.
|
|
1449
|
+
*/
|
|
1226
1450
|
last_updated: string;
|
|
1227
1451
|
|
|
1228
1452
|
/**
|
|
@@ -1238,12 +1462,12 @@ export interface ServeErrorRule {
|
|
|
1238
1462
|
/**
|
|
1239
1463
|
* The action to perform when the rule matches.
|
|
1240
1464
|
*/
|
|
1241
|
-
action?: '
|
|
1465
|
+
action?: 'rewrite';
|
|
1242
1466
|
|
|
1243
1467
|
/**
|
|
1244
1468
|
* The parameters configuring the rule's action.
|
|
1245
1469
|
*/
|
|
1246
|
-
action_parameters?:
|
|
1470
|
+
action_parameters?: RewriteRule.ActionParameters;
|
|
1247
1471
|
|
|
1248
1472
|
/**
|
|
1249
1473
|
* The categories of the rule.
|
|
@@ -1276,39 +1500,1178 @@ export interface ServeErrorRule {
|
|
|
1276
1500
|
ref?: string;
|
|
1277
1501
|
}
|
|
1278
1502
|
|
|
1279
|
-
export namespace
|
|
1503
|
+
export namespace RewriteRule {
|
|
1280
1504
|
/**
|
|
1281
1505
|
* The parameters configuring the rule's action.
|
|
1282
1506
|
*/
|
|
1283
1507
|
export interface ActionParameters {
|
|
1284
1508
|
/**
|
|
1285
|
-
*
|
|
1509
|
+
* Map of request headers to modify.
|
|
1286
1510
|
*/
|
|
1287
|
-
|
|
1511
|
+
headers?: Record<
|
|
1512
|
+
string,
|
|
1513
|
+
ActionParameters.RemoveHeader | ActionParameters.StaticHeader | ActionParameters.DynamicHeader
|
|
1514
|
+
>;
|
|
1288
1515
|
|
|
1289
1516
|
/**
|
|
1290
|
-
*
|
|
1517
|
+
* URI to rewrite the request to.
|
|
1291
1518
|
*/
|
|
1292
|
-
|
|
1519
|
+
uri?: ActionParameters.URI;
|
|
1520
|
+
}
|
|
1521
|
+
|
|
1522
|
+
export namespace ActionParameters {
|
|
1523
|
+
/**
|
|
1524
|
+
* Remove the header from the request.
|
|
1525
|
+
*/
|
|
1526
|
+
export interface RemoveHeader {
|
|
1527
|
+
operation: 'remove';
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
/**
|
|
1531
|
+
* Set a request header with a static value.
|
|
1532
|
+
*/
|
|
1533
|
+
export interface StaticHeader {
|
|
1534
|
+
operation: 'set';
|
|
1535
|
+
|
|
1536
|
+
/**
|
|
1537
|
+
* Static value for the header.
|
|
1538
|
+
*/
|
|
1539
|
+
value: string;
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
/**
|
|
1543
|
+
* Set a request header with a dynamic value.
|
|
1544
|
+
*/
|
|
1545
|
+
export interface DynamicHeader {
|
|
1546
|
+
/**
|
|
1547
|
+
* Expression for the header value.
|
|
1548
|
+
*/
|
|
1549
|
+
expression: string;
|
|
1550
|
+
|
|
1551
|
+
operation: 'set';
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
/**
|
|
1555
|
+
* URI to rewrite the request to.
|
|
1556
|
+
*/
|
|
1557
|
+
export interface URI {
|
|
1558
|
+
/**
|
|
1559
|
+
* Path portion rewrite.
|
|
1560
|
+
*/
|
|
1561
|
+
path?: RulesAPI.RewriteURIPart;
|
|
1562
|
+
|
|
1563
|
+
/**
|
|
1564
|
+
* Query portion rewrite.
|
|
1565
|
+
*/
|
|
1566
|
+
query?: RulesAPI.RewriteURIPart;
|
|
1567
|
+
}
|
|
1568
|
+
}
|
|
1569
|
+
}
|
|
1570
|
+
|
|
1571
|
+
export interface RewriteRuleParam {
|
|
1572
|
+
/**
|
|
1573
|
+
* The unique ID of the rule.
|
|
1574
|
+
*/
|
|
1575
|
+
id?: string;
|
|
1576
|
+
|
|
1577
|
+
/**
|
|
1578
|
+
* The action to perform when the rule matches.
|
|
1579
|
+
*/
|
|
1580
|
+
action?: 'rewrite';
|
|
1581
|
+
|
|
1582
|
+
/**
|
|
1583
|
+
* The parameters configuring the rule's action.
|
|
1584
|
+
*/
|
|
1585
|
+
action_parameters?: RewriteRuleParam.ActionParameters;
|
|
1586
|
+
|
|
1587
|
+
/**
|
|
1588
|
+
* An informative description of the rule.
|
|
1589
|
+
*/
|
|
1590
|
+
description?: string;
|
|
1591
|
+
|
|
1592
|
+
/**
|
|
1593
|
+
* Whether the rule should be executed.
|
|
1594
|
+
*/
|
|
1595
|
+
enabled?: boolean;
|
|
1596
|
+
|
|
1597
|
+
/**
|
|
1598
|
+
* The expression defining which traffic will match the rule.
|
|
1599
|
+
*/
|
|
1600
|
+
expression?: string;
|
|
1601
|
+
|
|
1602
|
+
/**
|
|
1603
|
+
* An object configuring the rule's logging behavior.
|
|
1604
|
+
*/
|
|
1605
|
+
logging?: LoggingParam;
|
|
1606
|
+
|
|
1607
|
+
/**
|
|
1608
|
+
* The reference of the rule (the rule ID by default).
|
|
1609
|
+
*/
|
|
1610
|
+
ref?: string;
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
export namespace RewriteRuleParam {
|
|
1614
|
+
/**
|
|
1615
|
+
* The parameters configuring the rule's action.
|
|
1616
|
+
*/
|
|
1617
|
+
export interface ActionParameters {
|
|
1618
|
+
/**
|
|
1619
|
+
* Map of request headers to modify.
|
|
1620
|
+
*/
|
|
1621
|
+
headers?: Record<
|
|
1622
|
+
string,
|
|
1623
|
+
ActionParameters.RemoveHeader | ActionParameters.StaticHeader | ActionParameters.DynamicHeader
|
|
1624
|
+
>;
|
|
1625
|
+
|
|
1626
|
+
/**
|
|
1627
|
+
* URI to rewrite the request to.
|
|
1628
|
+
*/
|
|
1629
|
+
uri?: ActionParameters.URI;
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
export namespace ActionParameters {
|
|
1633
|
+
/**
|
|
1634
|
+
* Remove the header from the request.
|
|
1635
|
+
*/
|
|
1636
|
+
export interface RemoveHeader {
|
|
1637
|
+
operation: 'remove';
|
|
1638
|
+
}
|
|
1639
|
+
|
|
1640
|
+
/**
|
|
1641
|
+
* Set a request header with a static value.
|
|
1642
|
+
*/
|
|
1643
|
+
export interface StaticHeader {
|
|
1644
|
+
operation: 'set';
|
|
1645
|
+
|
|
1646
|
+
/**
|
|
1647
|
+
* Static value for the header.
|
|
1648
|
+
*/
|
|
1649
|
+
value: string;
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
/**
|
|
1653
|
+
* Set a request header with a dynamic value.
|
|
1654
|
+
*/
|
|
1655
|
+
export interface DynamicHeader {
|
|
1656
|
+
/**
|
|
1657
|
+
* Expression for the header value.
|
|
1658
|
+
*/
|
|
1659
|
+
expression: string;
|
|
1660
|
+
|
|
1661
|
+
operation: 'set';
|
|
1662
|
+
}
|
|
1663
|
+
|
|
1664
|
+
/**
|
|
1665
|
+
* URI to rewrite the request to.
|
|
1666
|
+
*/
|
|
1667
|
+
export interface URI {
|
|
1668
|
+
/**
|
|
1669
|
+
* Path portion rewrite.
|
|
1670
|
+
*/
|
|
1671
|
+
path?: RulesAPI.RewriteURIPartParam;
|
|
1672
|
+
|
|
1673
|
+
/**
|
|
1674
|
+
* Query portion rewrite.
|
|
1675
|
+
*/
|
|
1676
|
+
query?: RulesAPI.RewriteURIPartParam;
|
|
1677
|
+
}
|
|
1678
|
+
}
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1681
|
+
export type RewriteURIPart = RewriteURIPart.StaticValue | RewriteURIPart.DynamicValue;
|
|
1682
|
+
|
|
1683
|
+
export namespace RewriteURIPart {
|
|
1684
|
+
export interface StaticValue {
|
|
1685
|
+
/**
|
|
1686
|
+
* Predefined replacement value.
|
|
1687
|
+
*/
|
|
1688
|
+
value: string;
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1691
|
+
export interface DynamicValue {
|
|
1692
|
+
/**
|
|
1693
|
+
* Expression to evaluate for the replacement value.
|
|
1694
|
+
*/
|
|
1695
|
+
expression: string;
|
|
1696
|
+
}
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
export type RewriteURIPartParam = RewriteURIPartParam.StaticValue | RewriteURIPartParam.DynamicValue;
|
|
1700
|
+
|
|
1701
|
+
export namespace RewriteURIPartParam {
|
|
1702
|
+
export interface StaticValue {
|
|
1703
|
+
/**
|
|
1704
|
+
* Predefined replacement value.
|
|
1705
|
+
*/
|
|
1706
|
+
value: string;
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
export interface DynamicValue {
|
|
1710
|
+
/**
|
|
1711
|
+
* Expression to evaluate for the replacement value.
|
|
1712
|
+
*/
|
|
1713
|
+
expression: string;
|
|
1714
|
+
}
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1717
|
+
export interface RouteRule {
|
|
1718
|
+
/**
|
|
1719
|
+
* The timestamp of when the rule was last modified.
|
|
1720
|
+
*/
|
|
1721
|
+
last_updated: string;
|
|
1722
|
+
|
|
1723
|
+
/**
|
|
1724
|
+
* The version of the rule.
|
|
1725
|
+
*/
|
|
1726
|
+
version: string;
|
|
1727
|
+
|
|
1728
|
+
/**
|
|
1729
|
+
* The unique ID of the rule.
|
|
1730
|
+
*/
|
|
1731
|
+
id?: string;
|
|
1732
|
+
|
|
1733
|
+
/**
|
|
1734
|
+
* The action to perform when the rule matches.
|
|
1735
|
+
*/
|
|
1736
|
+
action?: 'route';
|
|
1737
|
+
|
|
1738
|
+
/**
|
|
1739
|
+
* The parameters configuring the rule's action.
|
|
1740
|
+
*/
|
|
1741
|
+
action_parameters?: RouteRule.ActionParameters;
|
|
1742
|
+
|
|
1743
|
+
/**
|
|
1744
|
+
* The categories of the rule.
|
|
1745
|
+
*/
|
|
1746
|
+
categories?: Array<string>;
|
|
1747
|
+
|
|
1748
|
+
/**
|
|
1749
|
+
* An informative description of the rule.
|
|
1750
|
+
*/
|
|
1751
|
+
description?: string;
|
|
1752
|
+
|
|
1753
|
+
/**
|
|
1754
|
+
* Whether the rule should be executed.
|
|
1755
|
+
*/
|
|
1756
|
+
enabled?: boolean;
|
|
1757
|
+
|
|
1758
|
+
/**
|
|
1759
|
+
* The expression defining which traffic will match the rule.
|
|
1760
|
+
*/
|
|
1761
|
+
expression?: string;
|
|
1762
|
+
|
|
1763
|
+
/**
|
|
1764
|
+
* An object configuring the rule's logging behavior.
|
|
1765
|
+
*/
|
|
1766
|
+
logging?: Logging;
|
|
1767
|
+
|
|
1768
|
+
/**
|
|
1769
|
+
* The reference of the rule (the rule ID by default).
|
|
1770
|
+
*/
|
|
1771
|
+
ref?: string;
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
export namespace RouteRule {
|
|
1775
|
+
/**
|
|
1776
|
+
* The parameters configuring the rule's action.
|
|
1777
|
+
*/
|
|
1778
|
+
export interface ActionParameters {
|
|
1779
|
+
/**
|
|
1780
|
+
* Rewrite the HTTP Host header.
|
|
1781
|
+
*/
|
|
1782
|
+
host_header?: string;
|
|
1783
|
+
|
|
1784
|
+
/**
|
|
1785
|
+
* Override the IP/TCP destination.
|
|
1786
|
+
*/
|
|
1787
|
+
origin?: ActionParameters.Origin;
|
|
1788
|
+
|
|
1789
|
+
/**
|
|
1790
|
+
* Override the Server Name Indication (SNI).
|
|
1791
|
+
*/
|
|
1792
|
+
sni?: ActionParameters.SNI;
|
|
1793
|
+
}
|
|
1794
|
+
|
|
1795
|
+
export namespace ActionParameters {
|
|
1796
|
+
/**
|
|
1797
|
+
* Override the IP/TCP destination.
|
|
1798
|
+
*/
|
|
1799
|
+
export interface Origin {
|
|
1800
|
+
/**
|
|
1801
|
+
* Override the resolved hostname.
|
|
1802
|
+
*/
|
|
1803
|
+
host?: string;
|
|
1804
|
+
|
|
1805
|
+
/**
|
|
1806
|
+
* Override the destination port.
|
|
1807
|
+
*/
|
|
1808
|
+
port?: number;
|
|
1809
|
+
}
|
|
1810
|
+
|
|
1811
|
+
/**
|
|
1812
|
+
* Override the Server Name Indication (SNI).
|
|
1813
|
+
*/
|
|
1814
|
+
export interface SNI {
|
|
1815
|
+
/**
|
|
1816
|
+
* The SNI override.
|
|
1817
|
+
*/
|
|
1818
|
+
value: string;
|
|
1819
|
+
}
|
|
1820
|
+
}
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1823
|
+
export interface RouteRuleParam {
|
|
1824
|
+
/**
|
|
1825
|
+
* The unique ID of the rule.
|
|
1826
|
+
*/
|
|
1827
|
+
id?: string;
|
|
1828
|
+
|
|
1829
|
+
/**
|
|
1830
|
+
* The action to perform when the rule matches.
|
|
1831
|
+
*/
|
|
1832
|
+
action?: 'route';
|
|
1833
|
+
|
|
1834
|
+
/**
|
|
1835
|
+
* The parameters configuring the rule's action.
|
|
1836
|
+
*/
|
|
1837
|
+
action_parameters?: RouteRuleParam.ActionParameters;
|
|
1838
|
+
|
|
1839
|
+
/**
|
|
1840
|
+
* An informative description of the rule.
|
|
1841
|
+
*/
|
|
1842
|
+
description?: string;
|
|
1843
|
+
|
|
1844
|
+
/**
|
|
1845
|
+
* Whether the rule should be executed.
|
|
1846
|
+
*/
|
|
1847
|
+
enabled?: boolean;
|
|
1848
|
+
|
|
1849
|
+
/**
|
|
1850
|
+
* The expression defining which traffic will match the rule.
|
|
1851
|
+
*/
|
|
1852
|
+
expression?: string;
|
|
1853
|
+
|
|
1854
|
+
/**
|
|
1855
|
+
* An object configuring the rule's logging behavior.
|
|
1856
|
+
*/
|
|
1857
|
+
logging?: LoggingParam;
|
|
1858
|
+
|
|
1859
|
+
/**
|
|
1860
|
+
* The reference of the rule (the rule ID by default).
|
|
1861
|
+
*/
|
|
1862
|
+
ref?: string;
|
|
1863
|
+
}
|
|
1864
|
+
|
|
1865
|
+
export namespace RouteRuleParam {
|
|
1866
|
+
/**
|
|
1867
|
+
* The parameters configuring the rule's action.
|
|
1868
|
+
*/
|
|
1869
|
+
export interface ActionParameters {
|
|
1870
|
+
/**
|
|
1871
|
+
* Rewrite the HTTP Host header.
|
|
1872
|
+
*/
|
|
1873
|
+
host_header?: string;
|
|
1874
|
+
|
|
1875
|
+
/**
|
|
1876
|
+
* Override the IP/TCP destination.
|
|
1877
|
+
*/
|
|
1878
|
+
origin?: ActionParameters.Origin;
|
|
1879
|
+
|
|
1880
|
+
/**
|
|
1881
|
+
* Override the Server Name Indication (SNI).
|
|
1882
|
+
*/
|
|
1883
|
+
sni?: ActionParameters.SNI;
|
|
1884
|
+
}
|
|
1885
|
+
|
|
1886
|
+
export namespace ActionParameters {
|
|
1887
|
+
/**
|
|
1888
|
+
* Override the IP/TCP destination.
|
|
1889
|
+
*/
|
|
1890
|
+
export interface Origin {
|
|
1891
|
+
/**
|
|
1892
|
+
* Override the resolved hostname.
|
|
1893
|
+
*/
|
|
1894
|
+
host?: string;
|
|
1895
|
+
|
|
1896
|
+
/**
|
|
1897
|
+
* Override the destination port.
|
|
1898
|
+
*/
|
|
1899
|
+
port?: number;
|
|
1900
|
+
}
|
|
1901
|
+
|
|
1902
|
+
/**
|
|
1903
|
+
* Override the Server Name Indication (SNI).
|
|
1904
|
+
*/
|
|
1905
|
+
export interface SNI {
|
|
1906
|
+
/**
|
|
1907
|
+
* The SNI override.
|
|
1908
|
+
*/
|
|
1909
|
+
value: string;
|
|
1910
|
+
}
|
|
1911
|
+
}
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1914
|
+
export interface RulesetRule {
|
|
1915
|
+
/**
|
|
1916
|
+
* The timestamp of when the rule was last modified.
|
|
1917
|
+
*/
|
|
1918
|
+
last_updated: string;
|
|
1919
|
+
|
|
1920
|
+
/**
|
|
1921
|
+
* The version of the rule.
|
|
1922
|
+
*/
|
|
1923
|
+
version: string;
|
|
1924
|
+
|
|
1925
|
+
/**
|
|
1926
|
+
* The unique ID of the rule.
|
|
1927
|
+
*/
|
|
1928
|
+
id?: string;
|
|
1929
|
+
|
|
1930
|
+
/**
|
|
1931
|
+
* The action to perform when the rule matches.
|
|
1932
|
+
*/
|
|
1933
|
+
action?: string;
|
|
1934
|
+
|
|
1935
|
+
/**
|
|
1936
|
+
* The parameters configuring the rule's action.
|
|
1937
|
+
*/
|
|
1938
|
+
action_parameters?: unknown;
|
|
1939
|
+
|
|
1940
|
+
/**
|
|
1941
|
+
* The categories of the rule.
|
|
1942
|
+
*/
|
|
1943
|
+
categories?: Array<string>;
|
|
1944
|
+
|
|
1945
|
+
/**
|
|
1946
|
+
* An informative description of the rule.
|
|
1947
|
+
*/
|
|
1948
|
+
description?: string;
|
|
1949
|
+
|
|
1950
|
+
/**
|
|
1951
|
+
* Whether the rule should be executed.
|
|
1952
|
+
*/
|
|
1953
|
+
enabled?: boolean;
|
|
1954
|
+
|
|
1955
|
+
/**
|
|
1956
|
+
* The expression defining which traffic will match the rule.
|
|
1957
|
+
*/
|
|
1958
|
+
expression?: string;
|
|
1959
|
+
|
|
1960
|
+
/**
|
|
1961
|
+
* An object configuring the rule's logging behavior.
|
|
1962
|
+
*/
|
|
1963
|
+
logging?: Logging;
|
|
1964
|
+
|
|
1965
|
+
/**
|
|
1966
|
+
* The reference of the rule (the rule ID by default).
|
|
1967
|
+
*/
|
|
1968
|
+
ref?: string;
|
|
1969
|
+
}
|
|
1970
|
+
|
|
1971
|
+
export interface ScoreRule {
|
|
1972
|
+
/**
|
|
1973
|
+
* The timestamp of when the rule was last modified.
|
|
1974
|
+
*/
|
|
1975
|
+
last_updated: string;
|
|
1976
|
+
|
|
1977
|
+
/**
|
|
1978
|
+
* The version of the rule.
|
|
1979
|
+
*/
|
|
1980
|
+
version: string;
|
|
1981
|
+
|
|
1982
|
+
/**
|
|
1983
|
+
* The unique ID of the rule.
|
|
1984
|
+
*/
|
|
1985
|
+
id?: string;
|
|
1986
|
+
|
|
1987
|
+
/**
|
|
1988
|
+
* The action to perform when the rule matches.
|
|
1989
|
+
*/
|
|
1990
|
+
action?: 'score';
|
|
1991
|
+
|
|
1992
|
+
/**
|
|
1993
|
+
* The parameters configuring the rule's action.
|
|
1994
|
+
*/
|
|
1995
|
+
action_parameters?: ScoreRule.ActionParameters;
|
|
1996
|
+
|
|
1997
|
+
/**
|
|
1998
|
+
* The categories of the rule.
|
|
1999
|
+
*/
|
|
2000
|
+
categories?: Array<string>;
|
|
2001
|
+
|
|
2002
|
+
/**
|
|
2003
|
+
* An informative description of the rule.
|
|
2004
|
+
*/
|
|
2005
|
+
description?: string;
|
|
2006
|
+
|
|
2007
|
+
/**
|
|
2008
|
+
* Whether the rule should be executed.
|
|
2009
|
+
*/
|
|
2010
|
+
enabled?: boolean;
|
|
2011
|
+
|
|
2012
|
+
/**
|
|
2013
|
+
* The expression defining which traffic will match the rule.
|
|
2014
|
+
*/
|
|
2015
|
+
expression?: string;
|
|
2016
|
+
|
|
2017
|
+
/**
|
|
2018
|
+
* An object configuring the rule's logging behavior.
|
|
2019
|
+
*/
|
|
2020
|
+
logging?: Logging;
|
|
2021
|
+
|
|
2022
|
+
/**
|
|
2023
|
+
* The reference of the rule (the rule ID by default).
|
|
2024
|
+
*/
|
|
2025
|
+
ref?: string;
|
|
2026
|
+
}
|
|
2027
|
+
|
|
2028
|
+
export namespace ScoreRule {
|
|
2029
|
+
/**
|
|
2030
|
+
* The parameters configuring the rule's action.
|
|
2031
|
+
*/
|
|
2032
|
+
export interface ActionParameters {
|
|
2033
|
+
/**
|
|
2034
|
+
* Increment contains the delta to change the score and can be either positive or
|
|
2035
|
+
* negative.
|
|
2036
|
+
*/
|
|
2037
|
+
increment?: number;
|
|
2038
|
+
}
|
|
2039
|
+
}
|
|
2040
|
+
|
|
2041
|
+
export interface ScoreRuleParam {
|
|
2042
|
+
/**
|
|
2043
|
+
* The unique ID of the rule.
|
|
2044
|
+
*/
|
|
2045
|
+
id?: string;
|
|
2046
|
+
|
|
2047
|
+
/**
|
|
2048
|
+
* The action to perform when the rule matches.
|
|
2049
|
+
*/
|
|
2050
|
+
action?: 'score';
|
|
2051
|
+
|
|
2052
|
+
/**
|
|
2053
|
+
* The parameters configuring the rule's action.
|
|
2054
|
+
*/
|
|
2055
|
+
action_parameters?: ScoreRuleParam.ActionParameters;
|
|
2056
|
+
|
|
2057
|
+
/**
|
|
2058
|
+
* An informative description of the rule.
|
|
2059
|
+
*/
|
|
2060
|
+
description?: string;
|
|
2061
|
+
|
|
2062
|
+
/**
|
|
2063
|
+
* Whether the rule should be executed.
|
|
2064
|
+
*/
|
|
2065
|
+
enabled?: boolean;
|
|
2066
|
+
|
|
2067
|
+
/**
|
|
2068
|
+
* The expression defining which traffic will match the rule.
|
|
2069
|
+
*/
|
|
2070
|
+
expression?: string;
|
|
2071
|
+
|
|
2072
|
+
/**
|
|
2073
|
+
* An object configuring the rule's logging behavior.
|
|
2074
|
+
*/
|
|
2075
|
+
logging?: LoggingParam;
|
|
2076
|
+
|
|
2077
|
+
/**
|
|
2078
|
+
* The reference of the rule (the rule ID by default).
|
|
2079
|
+
*/
|
|
2080
|
+
ref?: string;
|
|
2081
|
+
}
|
|
2082
|
+
|
|
2083
|
+
export namespace ScoreRuleParam {
|
|
2084
|
+
/**
|
|
2085
|
+
* The parameters configuring the rule's action.
|
|
2086
|
+
*/
|
|
2087
|
+
export interface ActionParameters {
|
|
2088
|
+
/**
|
|
2089
|
+
* Increment contains the delta to change the score and can be either positive or
|
|
2090
|
+
* negative.
|
|
2091
|
+
*/
|
|
2092
|
+
increment?: number;
|
|
2093
|
+
}
|
|
2094
|
+
}
|
|
2095
|
+
|
|
2096
|
+
export interface ServeErrorRule {
|
|
2097
|
+
/**
|
|
2098
|
+
* The timestamp of when the rule was last modified.
|
|
2099
|
+
*/
|
|
2100
|
+
last_updated: string;
|
|
2101
|
+
|
|
2102
|
+
/**
|
|
2103
|
+
* The version of the rule.
|
|
2104
|
+
*/
|
|
2105
|
+
version: string;
|
|
2106
|
+
|
|
2107
|
+
/**
|
|
2108
|
+
* The unique ID of the rule.
|
|
2109
|
+
*/
|
|
2110
|
+
id?: string;
|
|
2111
|
+
|
|
2112
|
+
/**
|
|
2113
|
+
* The action to perform when the rule matches.
|
|
2114
|
+
*/
|
|
2115
|
+
action?: 'serve_error';
|
|
2116
|
+
|
|
2117
|
+
/**
|
|
2118
|
+
* The parameters configuring the rule's action.
|
|
2119
|
+
*/
|
|
2120
|
+
action_parameters?: ServeErrorRule.ActionParameters;
|
|
2121
|
+
|
|
2122
|
+
/**
|
|
2123
|
+
* The categories of the rule.
|
|
2124
|
+
*/
|
|
2125
|
+
categories?: Array<string>;
|
|
2126
|
+
|
|
2127
|
+
/**
|
|
2128
|
+
* An informative description of the rule.
|
|
2129
|
+
*/
|
|
2130
|
+
description?: string;
|
|
2131
|
+
|
|
2132
|
+
/**
|
|
2133
|
+
* Whether the rule should be executed.
|
|
2134
|
+
*/
|
|
2135
|
+
enabled?: boolean;
|
|
2136
|
+
|
|
2137
|
+
/**
|
|
2138
|
+
* The expression defining which traffic will match the rule.
|
|
2139
|
+
*/
|
|
2140
|
+
expression?: string;
|
|
2141
|
+
|
|
2142
|
+
/**
|
|
2143
|
+
* An object configuring the rule's logging behavior.
|
|
2144
|
+
*/
|
|
2145
|
+
logging?: Logging;
|
|
2146
|
+
|
|
2147
|
+
/**
|
|
2148
|
+
* The reference of the rule (the rule ID by default).
|
|
2149
|
+
*/
|
|
2150
|
+
ref?: string;
|
|
2151
|
+
}
|
|
2152
|
+
|
|
2153
|
+
export namespace ServeErrorRule {
|
|
2154
|
+
/**
|
|
2155
|
+
* The parameters configuring the rule's action.
|
|
2156
|
+
*/
|
|
2157
|
+
export interface ActionParameters {
|
|
2158
|
+
/**
|
|
2159
|
+
* Error response content.
|
|
2160
|
+
*/
|
|
2161
|
+
content?: string;
|
|
2162
|
+
|
|
2163
|
+
/**
|
|
2164
|
+
* Content-type header to set with the response.
|
|
2165
|
+
*/
|
|
2166
|
+
content_type?: 'application/json' | 'text/xml' | 'text/plain' | 'text/html';
|
|
2167
|
+
|
|
2168
|
+
/**
|
|
2169
|
+
* The status code to use for the error.
|
|
2170
|
+
*/
|
|
2171
|
+
status_code?: number;
|
|
2172
|
+
}
|
|
2173
|
+
}
|
|
2174
|
+
|
|
2175
|
+
export interface ServeErrorRuleParam {
|
|
2176
|
+
/**
|
|
2177
|
+
* The unique ID of the rule.
|
|
2178
|
+
*/
|
|
2179
|
+
id?: string;
|
|
2180
|
+
|
|
2181
|
+
/**
|
|
2182
|
+
* The action to perform when the rule matches.
|
|
2183
|
+
*/
|
|
2184
|
+
action?: 'serve_error';
|
|
2185
|
+
|
|
2186
|
+
/**
|
|
2187
|
+
* The parameters configuring the rule's action.
|
|
2188
|
+
*/
|
|
2189
|
+
action_parameters?: ServeErrorRuleParam.ActionParameters;
|
|
2190
|
+
|
|
2191
|
+
/**
|
|
2192
|
+
* An informative description of the rule.
|
|
2193
|
+
*/
|
|
2194
|
+
description?: string;
|
|
2195
|
+
|
|
2196
|
+
/**
|
|
2197
|
+
* Whether the rule should be executed.
|
|
2198
|
+
*/
|
|
2199
|
+
enabled?: boolean;
|
|
2200
|
+
|
|
2201
|
+
/**
|
|
2202
|
+
* The expression defining which traffic will match the rule.
|
|
2203
|
+
*/
|
|
2204
|
+
expression?: string;
|
|
2205
|
+
|
|
2206
|
+
/**
|
|
2207
|
+
* An object configuring the rule's logging behavior.
|
|
2208
|
+
*/
|
|
2209
|
+
logging?: LoggingParam;
|
|
2210
|
+
|
|
2211
|
+
/**
|
|
2212
|
+
* The reference of the rule (the rule ID by default).
|
|
2213
|
+
*/
|
|
2214
|
+
ref?: string;
|
|
2215
|
+
}
|
|
2216
|
+
|
|
2217
|
+
export namespace ServeErrorRuleParam {
|
|
2218
|
+
/**
|
|
2219
|
+
* The parameters configuring the rule's action.
|
|
2220
|
+
*/
|
|
2221
|
+
export interface ActionParameters {
|
|
2222
|
+
/**
|
|
2223
|
+
* Error response content.
|
|
2224
|
+
*/
|
|
2225
|
+
content?: string;
|
|
2226
|
+
|
|
2227
|
+
/**
|
|
2228
|
+
* Content-type header to set with the response.
|
|
2229
|
+
*/
|
|
2230
|
+
content_type?: 'application/json' | 'text/xml' | 'text/plain' | 'text/html';
|
|
2231
|
+
|
|
2232
|
+
/**
|
|
2233
|
+
* The status code to use for the error.
|
|
2234
|
+
*/
|
|
2235
|
+
status_code?: number;
|
|
2236
|
+
}
|
|
2237
|
+
}
|
|
2238
|
+
|
|
2239
|
+
export interface SetCacheSettingsRule {
|
|
2240
|
+
/**
|
|
2241
|
+
* The timestamp of when the rule was last modified.
|
|
2242
|
+
*/
|
|
2243
|
+
last_updated: string;
|
|
2244
|
+
|
|
2245
|
+
/**
|
|
2246
|
+
* The version of the rule.
|
|
2247
|
+
*/
|
|
2248
|
+
version: string;
|
|
2249
|
+
|
|
2250
|
+
/**
|
|
2251
|
+
* The unique ID of the rule.
|
|
2252
|
+
*/
|
|
2253
|
+
id?: string;
|
|
2254
|
+
|
|
2255
|
+
/**
|
|
2256
|
+
* The action to perform when the rule matches.
|
|
2257
|
+
*/
|
|
2258
|
+
action?: 'set_cache_settings';
|
|
2259
|
+
|
|
2260
|
+
/**
|
|
2261
|
+
* The parameters configuring the rule's action.
|
|
2262
|
+
*/
|
|
2263
|
+
action_parameters?: SetCacheSettingsRule.ActionParameters;
|
|
2264
|
+
|
|
2265
|
+
/**
|
|
2266
|
+
* The categories of the rule.
|
|
2267
|
+
*/
|
|
2268
|
+
categories?: Array<string>;
|
|
2269
|
+
|
|
2270
|
+
/**
|
|
2271
|
+
* An informative description of the rule.
|
|
2272
|
+
*/
|
|
2273
|
+
description?: string;
|
|
2274
|
+
|
|
2275
|
+
/**
|
|
2276
|
+
* Whether the rule should be executed.
|
|
2277
|
+
*/
|
|
2278
|
+
enabled?: boolean;
|
|
2279
|
+
|
|
2280
|
+
/**
|
|
2281
|
+
* The expression defining which traffic will match the rule.
|
|
2282
|
+
*/
|
|
2283
|
+
expression?: string;
|
|
2284
|
+
|
|
2285
|
+
/**
|
|
2286
|
+
* An object configuring the rule's logging behavior.
|
|
2287
|
+
*/
|
|
2288
|
+
logging?: Logging;
|
|
2289
|
+
|
|
2290
|
+
/**
|
|
2291
|
+
* The reference of the rule (the rule ID by default).
|
|
2292
|
+
*/
|
|
2293
|
+
ref?: string;
|
|
2294
|
+
}
|
|
2295
|
+
|
|
2296
|
+
export namespace SetCacheSettingsRule {
|
|
2297
|
+
/**
|
|
2298
|
+
* The parameters configuring the rule's action.
|
|
2299
|
+
*/
|
|
2300
|
+
export interface ActionParameters {
|
|
2301
|
+
/**
|
|
2302
|
+
* List of additional ports that caching can be enabled on.
|
|
2303
|
+
*/
|
|
2304
|
+
additional_cacheable_ports?: Array<number>;
|
|
2305
|
+
|
|
2306
|
+
/**
|
|
2307
|
+
* Specify how long client browsers should cache the response. Cloudflare cache
|
|
2308
|
+
* purge will not purge content cached on client browsers, so high browser TTLs may
|
|
2309
|
+
* lead to stale content.
|
|
2310
|
+
*/
|
|
2311
|
+
browser_ttl?: ActionParameters.BrowserTTL;
|
|
2312
|
+
|
|
2313
|
+
/**
|
|
2314
|
+
* Mark whether the request’s response from origin is eligible for caching. Caching
|
|
2315
|
+
* itself will still depend on the cache-control header and your other caching
|
|
2316
|
+
* configurations.
|
|
2317
|
+
*/
|
|
2318
|
+
cache?: boolean;
|
|
2319
|
+
|
|
2320
|
+
/**
|
|
2321
|
+
* Define which components of the request are included or excluded from the cache
|
|
2322
|
+
* key Cloudflare uses to store the response in cache.
|
|
2323
|
+
*/
|
|
2324
|
+
cache_key?: ActionParameters.CacheKey;
|
|
2325
|
+
|
|
2326
|
+
/**
|
|
2327
|
+
* Mark whether the request's response from origin is eligible for Cache Reserve
|
|
2328
|
+
* (requires a Cache Reserve add-on plan).
|
|
2329
|
+
*/
|
|
2330
|
+
cache_reserve?: ActionParameters.CacheReserve;
|
|
2331
|
+
|
|
2332
|
+
/**
|
|
2333
|
+
* TTL (Time to Live) specifies the maximum time to cache a resource in the
|
|
2334
|
+
* Cloudflare edge network.
|
|
2335
|
+
*/
|
|
2336
|
+
edge_ttl?: ActionParameters.EdgeTTL;
|
|
2337
|
+
|
|
2338
|
+
/**
|
|
2339
|
+
* When enabled, Cloudflare will aim to strictly adhere to RFC 7234.
|
|
2340
|
+
*/
|
|
2341
|
+
origin_cache_control?: boolean;
|
|
2342
|
+
|
|
2343
|
+
/**
|
|
2344
|
+
* Generate Cloudflare error pages from issues sent from the origin server. When
|
|
2345
|
+
* on, error pages will trigger for issues from the origin
|
|
2346
|
+
*/
|
|
2347
|
+
origin_error_page_passthru?: boolean;
|
|
2348
|
+
|
|
2349
|
+
/**
|
|
2350
|
+
* Define a timeout value between two successive read operations to your origin
|
|
2351
|
+
* server. Historically, the timeout value between two read options from Cloudflare
|
|
2352
|
+
* to an origin server is 100 seconds. If you are attempting to reduce HTTP 524
|
|
2353
|
+
* errors because of timeouts from an origin server, try increasing this timeout
|
|
2354
|
+
* value.
|
|
2355
|
+
*/
|
|
2356
|
+
read_timeout?: number;
|
|
2357
|
+
|
|
2358
|
+
/**
|
|
2359
|
+
* Specify whether or not Cloudflare should respect strong ETag (entity tag)
|
|
2360
|
+
* headers. When off, Cloudflare converts strong ETag headers to weak ETag headers.
|
|
2361
|
+
*/
|
|
2362
|
+
respect_strong_etags?: boolean;
|
|
2363
|
+
|
|
2364
|
+
/**
|
|
2365
|
+
* Define if Cloudflare should serve stale content while getting the latest content
|
|
2366
|
+
* from the origin. If on, Cloudflare will not serve stale content while getting
|
|
2367
|
+
* the latest content from the origin.
|
|
2368
|
+
*/
|
|
2369
|
+
serve_stale?: ActionParameters.ServeStale;
|
|
2370
|
+
}
|
|
2371
|
+
|
|
2372
|
+
export namespace ActionParameters {
|
|
2373
|
+
/**
|
|
2374
|
+
* Specify how long client browsers should cache the response. Cloudflare cache
|
|
2375
|
+
* purge will not purge content cached on client browsers, so high browser TTLs may
|
|
2376
|
+
* lead to stale content.
|
|
2377
|
+
*/
|
|
2378
|
+
export interface BrowserTTL {
|
|
2379
|
+
/**
|
|
2380
|
+
* Determines which browser ttl mode to use.
|
|
2381
|
+
*/
|
|
2382
|
+
mode: 'respect_origin' | 'bypass_by_default' | 'override_origin';
|
|
2383
|
+
|
|
2384
|
+
/**
|
|
2385
|
+
* The TTL (in seconds) if you choose override_origin mode.
|
|
2386
|
+
*/
|
|
2387
|
+
default?: number;
|
|
2388
|
+
}
|
|
2389
|
+
|
|
2390
|
+
/**
|
|
2391
|
+
* Define which components of the request are included or excluded from the cache
|
|
2392
|
+
* key Cloudflare uses to store the response in cache.
|
|
2393
|
+
*/
|
|
2394
|
+
export interface CacheKey {
|
|
2395
|
+
/**
|
|
2396
|
+
* Separate cached content based on the visitor’s device type
|
|
2397
|
+
*/
|
|
2398
|
+
cache_by_device_type?: boolean;
|
|
2399
|
+
|
|
2400
|
+
/**
|
|
2401
|
+
* Protect from web cache deception attacks while allowing static assets to be
|
|
2402
|
+
* cached
|
|
2403
|
+
*/
|
|
2404
|
+
cache_deception_armor?: boolean;
|
|
2405
|
+
|
|
2406
|
+
/**
|
|
2407
|
+
* Customize which components of the request are included or excluded from the
|
|
2408
|
+
* cache key.
|
|
2409
|
+
*/
|
|
2410
|
+
custom_key?: CacheKey.CustomKey;
|
|
2411
|
+
|
|
2412
|
+
/**
|
|
2413
|
+
* Treat requests with the same query parameters the same, regardless of the order
|
|
2414
|
+
* those query parameters are in. A value of true ignores the query strings' order.
|
|
2415
|
+
*/
|
|
2416
|
+
ignore_query_strings_order?: boolean;
|
|
2417
|
+
}
|
|
2418
|
+
|
|
2419
|
+
export namespace CacheKey {
|
|
2420
|
+
/**
|
|
2421
|
+
* Customize which components of the request are included or excluded from the
|
|
2422
|
+
* cache key.
|
|
2423
|
+
*/
|
|
2424
|
+
export interface CustomKey {
|
|
2425
|
+
/**
|
|
2426
|
+
* The cookies to include in building the cache key.
|
|
2427
|
+
*/
|
|
2428
|
+
cookie?: CustomKey.Cookie;
|
|
2429
|
+
|
|
2430
|
+
/**
|
|
2431
|
+
* The header names and values to include in building the cache key.
|
|
2432
|
+
*/
|
|
2433
|
+
header?: CustomKey.Header;
|
|
2434
|
+
|
|
2435
|
+
/**
|
|
2436
|
+
* Whether to use the original host or the resolved host in the cache key.
|
|
2437
|
+
*/
|
|
2438
|
+
host?: CustomKey.Host;
|
|
2439
|
+
|
|
2440
|
+
/**
|
|
2441
|
+
* Use the presence or absence of parameters in the query string to build the cache
|
|
2442
|
+
* key.
|
|
2443
|
+
*/
|
|
2444
|
+
query_string?: CustomKey.QueryString;
|
|
2445
|
+
|
|
2446
|
+
/**
|
|
2447
|
+
* Characteristics of the request user agent used in building the cache key.
|
|
2448
|
+
*/
|
|
2449
|
+
user?: CustomKey.User;
|
|
2450
|
+
}
|
|
2451
|
+
|
|
2452
|
+
export namespace CustomKey {
|
|
2453
|
+
/**
|
|
2454
|
+
* The cookies to include in building the cache key.
|
|
2455
|
+
*/
|
|
2456
|
+
export interface Cookie {
|
|
2457
|
+
/**
|
|
2458
|
+
* Checks for the presence of these cookie names. The presence of these cookies is
|
|
2459
|
+
* used in building the cache key.
|
|
2460
|
+
*/
|
|
2461
|
+
check_presence?: Array<string>;
|
|
2462
|
+
|
|
2463
|
+
/**
|
|
2464
|
+
* Include these cookies' names and their values.
|
|
2465
|
+
*/
|
|
2466
|
+
include?: Array<string>;
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
/**
|
|
2470
|
+
* The header names and values to include in building the cache key.
|
|
2471
|
+
*/
|
|
2472
|
+
export interface Header {
|
|
2473
|
+
/**
|
|
2474
|
+
* Checks for the presence of these header names. The presence of these headers is
|
|
2475
|
+
* used in building the cache key.
|
|
2476
|
+
*/
|
|
2477
|
+
check_presence?: Array<string>;
|
|
2478
|
+
|
|
2479
|
+
/**
|
|
2480
|
+
* Whether or not to include the origin header. A value of true will exclude the
|
|
2481
|
+
* origin header in the cache key.
|
|
2482
|
+
*/
|
|
2483
|
+
exclude_origin?: boolean;
|
|
2484
|
+
|
|
2485
|
+
/**
|
|
2486
|
+
* Include these headers' names and their values.
|
|
2487
|
+
*/
|
|
2488
|
+
include?: Array<string>;
|
|
2489
|
+
}
|
|
2490
|
+
|
|
2491
|
+
/**
|
|
2492
|
+
* Whether to use the original host or the resolved host in the cache key.
|
|
2493
|
+
*/
|
|
2494
|
+
export interface Host {
|
|
2495
|
+
/**
|
|
2496
|
+
* Use the resolved host in the cache key. A value of true will use the resolved
|
|
2497
|
+
* host, while a value or false will use the original host.
|
|
2498
|
+
*/
|
|
2499
|
+
resolved?: boolean;
|
|
2500
|
+
}
|
|
2501
|
+
|
|
2502
|
+
/**
|
|
2503
|
+
* Use the presence or absence of parameters in the query string to build the cache
|
|
2504
|
+
* key.
|
|
2505
|
+
*/
|
|
2506
|
+
export interface QueryString {
|
|
2507
|
+
/**
|
|
2508
|
+
* build the cache key using all query string parameters EXCECPT these excluded
|
|
2509
|
+
* parameters
|
|
2510
|
+
*/
|
|
2511
|
+
exclude?: QueryString.Exclude;
|
|
2512
|
+
|
|
2513
|
+
/**
|
|
2514
|
+
* build the cache key using a list of query string parameters that ARE in the
|
|
2515
|
+
* request.
|
|
2516
|
+
*/
|
|
2517
|
+
include?: QueryString.Include;
|
|
2518
|
+
}
|
|
2519
|
+
|
|
2520
|
+
export namespace QueryString {
|
|
2521
|
+
/**
|
|
2522
|
+
* build the cache key using all query string parameters EXCECPT these excluded
|
|
2523
|
+
* parameters
|
|
2524
|
+
*/
|
|
2525
|
+
export interface Exclude {
|
|
2526
|
+
/**
|
|
2527
|
+
* Exclude all query string parameters from use in building the cache key.
|
|
2528
|
+
*/
|
|
2529
|
+
all?: boolean;
|
|
2530
|
+
|
|
2531
|
+
/**
|
|
2532
|
+
* A list of query string parameters NOT used to build the cache key. All
|
|
2533
|
+
* parameters present in the request but missing in this list will be used to build
|
|
2534
|
+
* the cache key.
|
|
2535
|
+
*/
|
|
2536
|
+
list?: Array<string>;
|
|
2537
|
+
}
|
|
2538
|
+
|
|
2539
|
+
/**
|
|
2540
|
+
* build the cache key using a list of query string parameters that ARE in the
|
|
2541
|
+
* request.
|
|
2542
|
+
*/
|
|
2543
|
+
export interface Include {
|
|
2544
|
+
/**
|
|
2545
|
+
* Use all query string parameters in the cache key.
|
|
2546
|
+
*/
|
|
2547
|
+
all?: boolean;
|
|
2548
|
+
|
|
2549
|
+
/**
|
|
2550
|
+
* A list of query string parameters used to build the cache key.
|
|
2551
|
+
*/
|
|
2552
|
+
list?: Array<string>;
|
|
2553
|
+
}
|
|
2554
|
+
}
|
|
2555
|
+
|
|
2556
|
+
/**
|
|
2557
|
+
* Characteristics of the request user agent used in building the cache key.
|
|
2558
|
+
*/
|
|
2559
|
+
export interface User {
|
|
2560
|
+
/**
|
|
2561
|
+
* Use the user agent's device type in the cache key.
|
|
2562
|
+
*/
|
|
2563
|
+
device_type?: boolean;
|
|
2564
|
+
|
|
2565
|
+
/**
|
|
2566
|
+
* Use the user agents's country in the cache key.
|
|
2567
|
+
*/
|
|
2568
|
+
geo?: boolean;
|
|
2569
|
+
|
|
2570
|
+
/**
|
|
2571
|
+
* Use the user agent's language in the cache key.
|
|
2572
|
+
*/
|
|
2573
|
+
lang?: boolean;
|
|
2574
|
+
}
|
|
2575
|
+
}
|
|
2576
|
+
}
|
|
2577
|
+
|
|
2578
|
+
/**
|
|
2579
|
+
* Mark whether the request's response from origin is eligible for Cache Reserve
|
|
2580
|
+
* (requires a Cache Reserve add-on plan).
|
|
2581
|
+
*/
|
|
2582
|
+
export interface CacheReserve {
|
|
2583
|
+
/**
|
|
2584
|
+
* Determines whether cache reserve is enabled. If this is true and a request meets
|
|
2585
|
+
* eligibility criteria, Cloudflare will write the resource to cache reserve.
|
|
2586
|
+
*/
|
|
2587
|
+
eligible: boolean;
|
|
2588
|
+
|
|
2589
|
+
/**
|
|
2590
|
+
* The minimum file size eligible for store in cache reserve.
|
|
2591
|
+
*/
|
|
2592
|
+
min_file_size: number;
|
|
2593
|
+
}
|
|
2594
|
+
|
|
2595
|
+
/**
|
|
2596
|
+
* TTL (Time to Live) specifies the maximum time to cache a resource in the
|
|
2597
|
+
* Cloudflare edge network.
|
|
2598
|
+
*/
|
|
2599
|
+
export interface EdgeTTL {
|
|
2600
|
+
/**
|
|
2601
|
+
* The TTL (in seconds) if you choose override_origin mode.
|
|
2602
|
+
*/
|
|
2603
|
+
default: number;
|
|
2604
|
+
|
|
2605
|
+
/**
|
|
2606
|
+
* edge ttl options
|
|
2607
|
+
*/
|
|
2608
|
+
mode: 'respect_origin' | 'bypass_by_default' | 'override_origin';
|
|
2609
|
+
|
|
2610
|
+
/**
|
|
2611
|
+
* List of single status codes, or status code ranges to apply the selected mode
|
|
2612
|
+
*/
|
|
2613
|
+
status_code_ttl: Array<EdgeTTL.StatusCodeTTL>;
|
|
2614
|
+
}
|
|
2615
|
+
|
|
2616
|
+
export namespace EdgeTTL {
|
|
2617
|
+
/**
|
|
2618
|
+
* Specify how long Cloudflare should cache the response based on the status code
|
|
2619
|
+
* from the origin. Can be a single status code or a range or status codes
|
|
2620
|
+
*/
|
|
2621
|
+
export interface StatusCodeTTL {
|
|
2622
|
+
/**
|
|
2623
|
+
* Time to cache a response (in seconds). A value of 0 is equivalent to setting the
|
|
2624
|
+
* Cache-Control header with the value "no-cache". A value of -1 is equivalent to
|
|
2625
|
+
* setting Cache-Control header with the value of "no-store".
|
|
2626
|
+
*/
|
|
2627
|
+
value: number;
|
|
2628
|
+
|
|
2629
|
+
/**
|
|
2630
|
+
* The range of status codes used to apply the selected mode.
|
|
2631
|
+
*/
|
|
2632
|
+
status_code_range?: StatusCodeTTL.StatusCodeRange;
|
|
2633
|
+
|
|
2634
|
+
/**
|
|
2635
|
+
* Set the ttl for responses with this specific status code
|
|
2636
|
+
*/
|
|
2637
|
+
status_code_value?: number;
|
|
2638
|
+
}
|
|
2639
|
+
|
|
2640
|
+
export namespace StatusCodeTTL {
|
|
2641
|
+
/**
|
|
2642
|
+
* The range of status codes used to apply the selected mode.
|
|
2643
|
+
*/
|
|
2644
|
+
export interface StatusCodeRange {
|
|
2645
|
+
/**
|
|
2646
|
+
* response status code lower bound
|
|
2647
|
+
*/
|
|
2648
|
+
from: number;
|
|
2649
|
+
|
|
2650
|
+
/**
|
|
2651
|
+
* response status code upper bound
|
|
2652
|
+
*/
|
|
2653
|
+
to: number;
|
|
2654
|
+
}
|
|
2655
|
+
}
|
|
2656
|
+
}
|
|
1293
2657
|
|
|
1294
2658
|
/**
|
|
1295
|
-
*
|
|
2659
|
+
* Define if Cloudflare should serve stale content while getting the latest content
|
|
2660
|
+
* from the origin. If on, Cloudflare will not serve stale content while getting
|
|
2661
|
+
* the latest content from the origin.
|
|
1296
2662
|
*/
|
|
1297
|
-
|
|
2663
|
+
export interface ServeStale {
|
|
2664
|
+
/**
|
|
2665
|
+
* Defines whether Cloudflare should serve stale content while updating. If true,
|
|
2666
|
+
* Cloudflare will not serve stale content while getting the latest content from
|
|
2667
|
+
* the origin.
|
|
2668
|
+
*/
|
|
2669
|
+
disable_stale_while_updating: boolean;
|
|
2670
|
+
}
|
|
1298
2671
|
}
|
|
1299
2672
|
}
|
|
1300
2673
|
|
|
1301
|
-
export interface
|
|
1302
|
-
/**
|
|
1303
|
-
* The timestamp of when the rule was last modified.
|
|
1304
|
-
*/
|
|
1305
|
-
last_updated: string;
|
|
1306
|
-
|
|
1307
|
-
/**
|
|
1308
|
-
* The version of the rule.
|
|
1309
|
-
*/
|
|
1310
|
-
version: string;
|
|
1311
|
-
|
|
2674
|
+
export interface SetCacheSettingsRuleParam {
|
|
1312
2675
|
/**
|
|
1313
2676
|
* The unique ID of the rule.
|
|
1314
2677
|
*/
|
|
@@ -1322,12 +2685,7 @@ export interface SetCacheSettingsRule {
|
|
|
1322
2685
|
/**
|
|
1323
2686
|
* The parameters configuring the rule's action.
|
|
1324
2687
|
*/
|
|
1325
|
-
action_parameters?:
|
|
1326
|
-
|
|
1327
|
-
/**
|
|
1328
|
-
* The categories of the rule.
|
|
1329
|
-
*/
|
|
1330
|
-
categories?: Array<string>;
|
|
2688
|
+
action_parameters?: SetCacheSettingsRuleParam.ActionParameters;
|
|
1331
2689
|
|
|
1332
2690
|
/**
|
|
1333
2691
|
* An informative description of the rule.
|
|
@@ -1347,7 +2705,7 @@ export interface SetCacheSettingsRule {
|
|
|
1347
2705
|
/**
|
|
1348
2706
|
* An object configuring the rule's logging behavior.
|
|
1349
2707
|
*/
|
|
1350
|
-
logging?:
|
|
2708
|
+
logging?: LoggingParam;
|
|
1351
2709
|
|
|
1352
2710
|
/**
|
|
1353
2711
|
* The reference of the rule (the rule ID by default).
|
|
@@ -1355,7 +2713,7 @@ export interface SetCacheSettingsRule {
|
|
|
1355
2713
|
ref?: string;
|
|
1356
2714
|
}
|
|
1357
2715
|
|
|
1358
|
-
export namespace
|
|
2716
|
+
export namespace SetCacheSettingsRuleParam {
|
|
1359
2717
|
/**
|
|
1360
2718
|
* The parameters configuring the rule's action.
|
|
1361
2719
|
*/
|
|
@@ -1894,6 +3252,152 @@ export namespace SetConfigRule {
|
|
|
1894
3252
|
}
|
|
1895
3253
|
}
|
|
1896
3254
|
|
|
3255
|
+
export interface SetConfigRuleParam {
|
|
3256
|
+
/**
|
|
3257
|
+
* The unique ID of the rule.
|
|
3258
|
+
*/
|
|
3259
|
+
id?: string;
|
|
3260
|
+
|
|
3261
|
+
/**
|
|
3262
|
+
* The action to perform when the rule matches.
|
|
3263
|
+
*/
|
|
3264
|
+
action?: 'set_config';
|
|
3265
|
+
|
|
3266
|
+
/**
|
|
3267
|
+
* The parameters configuring the rule's action.
|
|
3268
|
+
*/
|
|
3269
|
+
action_parameters?: SetConfigRuleParam.ActionParameters;
|
|
3270
|
+
|
|
3271
|
+
/**
|
|
3272
|
+
* An informative description of the rule.
|
|
3273
|
+
*/
|
|
3274
|
+
description?: string;
|
|
3275
|
+
|
|
3276
|
+
/**
|
|
3277
|
+
* Whether the rule should be executed.
|
|
3278
|
+
*/
|
|
3279
|
+
enabled?: boolean;
|
|
3280
|
+
|
|
3281
|
+
/**
|
|
3282
|
+
* The expression defining which traffic will match the rule.
|
|
3283
|
+
*/
|
|
3284
|
+
expression?: string;
|
|
3285
|
+
|
|
3286
|
+
/**
|
|
3287
|
+
* An object configuring the rule's logging behavior.
|
|
3288
|
+
*/
|
|
3289
|
+
logging?: LoggingParam;
|
|
3290
|
+
|
|
3291
|
+
/**
|
|
3292
|
+
* The reference of the rule (the rule ID by default).
|
|
3293
|
+
*/
|
|
3294
|
+
ref?: string;
|
|
3295
|
+
}
|
|
3296
|
+
|
|
3297
|
+
export namespace SetConfigRuleParam {
|
|
3298
|
+
/**
|
|
3299
|
+
* The parameters configuring the rule's action.
|
|
3300
|
+
*/
|
|
3301
|
+
export interface ActionParameters {
|
|
3302
|
+
/**
|
|
3303
|
+
* Turn on or off Automatic HTTPS Rewrites.
|
|
3304
|
+
*/
|
|
3305
|
+
automatic_https_rewrites?: boolean;
|
|
3306
|
+
|
|
3307
|
+
/**
|
|
3308
|
+
* Select which file extensions to minify automatically.
|
|
3309
|
+
*/
|
|
3310
|
+
autominify?: ActionParameters.Autominify;
|
|
3311
|
+
|
|
3312
|
+
/**
|
|
3313
|
+
* Turn on or off Browser Integrity Check.
|
|
3314
|
+
*/
|
|
3315
|
+
bic?: boolean;
|
|
3316
|
+
|
|
3317
|
+
/**
|
|
3318
|
+
* Turn off all active Cloudflare Apps.
|
|
3319
|
+
*/
|
|
3320
|
+
disable_apps?: boolean;
|
|
3321
|
+
|
|
3322
|
+
/**
|
|
3323
|
+
* Turn off Zaraz.
|
|
3324
|
+
*/
|
|
3325
|
+
disable_zaraz?: boolean;
|
|
3326
|
+
|
|
3327
|
+
/**
|
|
3328
|
+
* Turn on or off Email Obfuscation.
|
|
3329
|
+
*/
|
|
3330
|
+
email_obfuscation?: boolean;
|
|
3331
|
+
|
|
3332
|
+
/**
|
|
3333
|
+
* Turn on or off the Hotlink Protection.
|
|
3334
|
+
*/
|
|
3335
|
+
hotlink_protection?: boolean;
|
|
3336
|
+
|
|
3337
|
+
/**
|
|
3338
|
+
* Turn on or off Mirage.
|
|
3339
|
+
*/
|
|
3340
|
+
mirage?: boolean;
|
|
3341
|
+
|
|
3342
|
+
/**
|
|
3343
|
+
* Turn on or off Opportunistic Encryption.
|
|
3344
|
+
*/
|
|
3345
|
+
opportunistic_encryption?: boolean;
|
|
3346
|
+
|
|
3347
|
+
/**
|
|
3348
|
+
* Configure the Polish level.
|
|
3349
|
+
*/
|
|
3350
|
+
polish?: 'off' | 'lossless' | 'lossy';
|
|
3351
|
+
|
|
3352
|
+
/**
|
|
3353
|
+
* Turn on or off Rocket Loader
|
|
3354
|
+
*/
|
|
3355
|
+
rocket_loader?: boolean;
|
|
3356
|
+
|
|
3357
|
+
/**
|
|
3358
|
+
* Configure the Security Level.
|
|
3359
|
+
*/
|
|
3360
|
+
security_level?: 'off' | 'essentially_off' | 'low' | 'medium' | 'high' | 'under_attack';
|
|
3361
|
+
|
|
3362
|
+
/**
|
|
3363
|
+
* Turn on or off Server Side Excludes.
|
|
3364
|
+
*/
|
|
3365
|
+
server_side_excludes?: boolean;
|
|
3366
|
+
|
|
3367
|
+
/**
|
|
3368
|
+
* Configure the SSL level.
|
|
3369
|
+
*/
|
|
3370
|
+
ssl?: 'off' | 'flexible' | 'full' | 'strict' | 'origin_pull';
|
|
3371
|
+
|
|
3372
|
+
/**
|
|
3373
|
+
* Turn on or off Signed Exchanges (SXG).
|
|
3374
|
+
*/
|
|
3375
|
+
sxg?: boolean;
|
|
3376
|
+
}
|
|
3377
|
+
|
|
3378
|
+
export namespace ActionParameters {
|
|
3379
|
+
/**
|
|
3380
|
+
* Select which file extensions to minify automatically.
|
|
3381
|
+
*/
|
|
3382
|
+
export interface Autominify {
|
|
3383
|
+
/**
|
|
3384
|
+
* Minify CSS files.
|
|
3385
|
+
*/
|
|
3386
|
+
css?: boolean;
|
|
3387
|
+
|
|
3388
|
+
/**
|
|
3389
|
+
* Minify HTML files.
|
|
3390
|
+
*/
|
|
3391
|
+
html?: boolean;
|
|
3392
|
+
|
|
3393
|
+
/**
|
|
3394
|
+
* Minify JS files.
|
|
3395
|
+
*/
|
|
3396
|
+
js?: boolean;
|
|
3397
|
+
}
|
|
3398
|
+
}
|
|
3399
|
+
}
|
|
3400
|
+
|
|
1897
3401
|
export interface SkipRule {
|
|
1898
3402
|
/**
|
|
1899
3403
|
* The timestamp of when the rule was last modified.
|
|
@@ -1960,31 +3464,85 @@ export namespace SkipRule {
|
|
|
1960
3464
|
* A list of phases to skip the execution of. This option is incompatible with the
|
|
1961
3465
|
* ruleset and rulesets options.
|
|
1962
3466
|
*/
|
|
1963
|
-
phases?: Array<
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
3467
|
+
phases?: Array<RulesetsAPI.Phase>;
|
|
3468
|
+
|
|
3469
|
+
/**
|
|
3470
|
+
* A list of legacy security products to skip the execution of.
|
|
3471
|
+
*/
|
|
3472
|
+
products?: Array<'bic' | 'hot' | 'rateLimit' | 'securityLevel' | 'uaBlock' | 'waf' | 'zoneLockdown'>;
|
|
3473
|
+
|
|
3474
|
+
/**
|
|
3475
|
+
* A mapping of ruleset IDs to a list of rule IDs in that ruleset to skip the
|
|
3476
|
+
* execution of. This option is incompatible with the ruleset option.
|
|
3477
|
+
*/
|
|
3478
|
+
rules?: Record<string, Array<string>>;
|
|
3479
|
+
|
|
3480
|
+
/**
|
|
3481
|
+
* A ruleset to skip the execution of. This option is incompatible with the
|
|
3482
|
+
* rulesets, rules and phases options.
|
|
3483
|
+
*/
|
|
3484
|
+
ruleset?: 'current';
|
|
3485
|
+
|
|
3486
|
+
/**
|
|
3487
|
+
* A list of ruleset IDs to skip the execution of. This option is incompatible with
|
|
3488
|
+
* the ruleset and phases options.
|
|
3489
|
+
*/
|
|
3490
|
+
rulesets?: Array<string>;
|
|
3491
|
+
}
|
|
3492
|
+
}
|
|
3493
|
+
|
|
3494
|
+
export interface SkipRuleParam {
|
|
3495
|
+
/**
|
|
3496
|
+
* The unique ID of the rule.
|
|
3497
|
+
*/
|
|
3498
|
+
id?: string;
|
|
3499
|
+
|
|
3500
|
+
/**
|
|
3501
|
+
* The action to perform when the rule matches.
|
|
3502
|
+
*/
|
|
3503
|
+
action?: 'skip';
|
|
3504
|
+
|
|
3505
|
+
/**
|
|
3506
|
+
* The parameters configuring the rule's action.
|
|
3507
|
+
*/
|
|
3508
|
+
action_parameters?: SkipRuleParam.ActionParameters;
|
|
3509
|
+
|
|
3510
|
+
/**
|
|
3511
|
+
* An informative description of the rule.
|
|
3512
|
+
*/
|
|
3513
|
+
description?: string;
|
|
3514
|
+
|
|
3515
|
+
/**
|
|
3516
|
+
* Whether the rule should be executed.
|
|
3517
|
+
*/
|
|
3518
|
+
enabled?: boolean;
|
|
3519
|
+
|
|
3520
|
+
/**
|
|
3521
|
+
* The expression defining which traffic will match the rule.
|
|
3522
|
+
*/
|
|
3523
|
+
expression?: string;
|
|
3524
|
+
|
|
3525
|
+
/**
|
|
3526
|
+
* An object configuring the rule's logging behavior.
|
|
3527
|
+
*/
|
|
3528
|
+
logging?: LoggingParam;
|
|
3529
|
+
|
|
3530
|
+
/**
|
|
3531
|
+
* The reference of the rule (the rule ID by default).
|
|
3532
|
+
*/
|
|
3533
|
+
ref?: string;
|
|
3534
|
+
}
|
|
3535
|
+
|
|
3536
|
+
export namespace SkipRuleParam {
|
|
3537
|
+
/**
|
|
3538
|
+
* The parameters configuring the rule's action.
|
|
3539
|
+
*/
|
|
3540
|
+
export interface ActionParameters {
|
|
3541
|
+
/**
|
|
3542
|
+
* A list of phases to skip the execution of. This option is incompatible with the
|
|
3543
|
+
* ruleset and rulesets options.
|
|
3544
|
+
*/
|
|
3545
|
+
phases?: Array<RulesetsAPI.PhaseParam>;
|
|
1988
3546
|
|
|
1989
3547
|
/**
|
|
1990
3548
|
* A list of legacy security products to skip the execution of.
|
|
@@ -2023,7 +3581,7 @@ export interface RuleCreateResponse {
|
|
|
2023
3581
|
/**
|
|
2024
3582
|
* The kind of the ruleset.
|
|
2025
3583
|
*/
|
|
2026
|
-
kind:
|
|
3584
|
+
kind: RulesetsAPI.Kind;
|
|
2027
3585
|
|
|
2028
3586
|
/**
|
|
2029
3587
|
* The timestamp of when the ruleset was last modified.
|
|
@@ -2038,30 +3596,7 @@ export interface RuleCreateResponse {
|
|
|
2038
3596
|
/**
|
|
2039
3597
|
* The phase of the ruleset.
|
|
2040
3598
|
*/
|
|
2041
|
-
phase:
|
|
2042
|
-
| 'ddos_l4'
|
|
2043
|
-
| 'ddos_l7'
|
|
2044
|
-
| 'http_config_settings'
|
|
2045
|
-
| 'http_custom_errors'
|
|
2046
|
-
| 'http_log_custom_fields'
|
|
2047
|
-
| 'http_ratelimit'
|
|
2048
|
-
| 'http_request_cache_settings'
|
|
2049
|
-
| 'http_request_dynamic_redirect'
|
|
2050
|
-
| 'http_request_firewall_custom'
|
|
2051
|
-
| 'http_request_firewall_managed'
|
|
2052
|
-
| 'http_request_late_transform'
|
|
2053
|
-
| 'http_request_origin'
|
|
2054
|
-
| 'http_request_redirect'
|
|
2055
|
-
| 'http_request_sanitize'
|
|
2056
|
-
| 'http_request_sbfm'
|
|
2057
|
-
| 'http_request_select_configuration'
|
|
2058
|
-
| 'http_request_transform'
|
|
2059
|
-
| 'http_response_compression'
|
|
2060
|
-
| 'http_response_firewall_managed'
|
|
2061
|
-
| 'http_response_headers_transform'
|
|
2062
|
-
| 'magic_transit'
|
|
2063
|
-
| 'magic_transit_ids_managed'
|
|
2064
|
-
| 'magic_transit_managed';
|
|
3599
|
+
phase: RulesetsAPI.Phase;
|
|
2065
3600
|
|
|
2066
3601
|
/**
|
|
2067
3602
|
* The list of rules in the ruleset.
|
|
@@ -2107,7 +3642,7 @@ export interface RuleDeleteResponse {
|
|
|
2107
3642
|
/**
|
|
2108
3643
|
* The kind of the ruleset.
|
|
2109
3644
|
*/
|
|
2110
|
-
kind:
|
|
3645
|
+
kind: RulesetsAPI.Kind;
|
|
2111
3646
|
|
|
2112
3647
|
/**
|
|
2113
3648
|
* The timestamp of when the ruleset was last modified.
|
|
@@ -2122,30 +3657,7 @@ export interface RuleDeleteResponse {
|
|
|
2122
3657
|
/**
|
|
2123
3658
|
* The phase of the ruleset.
|
|
2124
3659
|
*/
|
|
2125
|
-
phase:
|
|
2126
|
-
| 'ddos_l4'
|
|
2127
|
-
| 'ddos_l7'
|
|
2128
|
-
| 'http_config_settings'
|
|
2129
|
-
| 'http_custom_errors'
|
|
2130
|
-
| 'http_log_custom_fields'
|
|
2131
|
-
| 'http_ratelimit'
|
|
2132
|
-
| 'http_request_cache_settings'
|
|
2133
|
-
| 'http_request_dynamic_redirect'
|
|
2134
|
-
| 'http_request_firewall_custom'
|
|
2135
|
-
| 'http_request_firewall_managed'
|
|
2136
|
-
| 'http_request_late_transform'
|
|
2137
|
-
| 'http_request_origin'
|
|
2138
|
-
| 'http_request_redirect'
|
|
2139
|
-
| 'http_request_sanitize'
|
|
2140
|
-
| 'http_request_sbfm'
|
|
2141
|
-
| 'http_request_select_configuration'
|
|
2142
|
-
| 'http_request_transform'
|
|
2143
|
-
| 'http_response_compression'
|
|
2144
|
-
| 'http_response_firewall_managed'
|
|
2145
|
-
| 'http_response_headers_transform'
|
|
2146
|
-
| 'magic_transit'
|
|
2147
|
-
| 'magic_transit_ids_managed'
|
|
2148
|
-
| 'magic_transit_managed';
|
|
3660
|
+
phase: RulesetsAPI.Phase;
|
|
2149
3661
|
|
|
2150
3662
|
/**
|
|
2151
3663
|
* The list of rules in the ruleset.
|
|
@@ -2191,7 +3703,7 @@ export interface RuleEditResponse {
|
|
|
2191
3703
|
/**
|
|
2192
3704
|
* The kind of the ruleset.
|
|
2193
3705
|
*/
|
|
2194
|
-
kind:
|
|
3706
|
+
kind: RulesetsAPI.Kind;
|
|
2195
3707
|
|
|
2196
3708
|
/**
|
|
2197
3709
|
* The timestamp of when the ruleset was last modified.
|
|
@@ -2206,30 +3718,7 @@ export interface RuleEditResponse {
|
|
|
2206
3718
|
/**
|
|
2207
3719
|
* The phase of the ruleset.
|
|
2208
3720
|
*/
|
|
2209
|
-
phase:
|
|
2210
|
-
| 'ddos_l4'
|
|
2211
|
-
| 'ddos_l7'
|
|
2212
|
-
| 'http_config_settings'
|
|
2213
|
-
| 'http_custom_errors'
|
|
2214
|
-
| 'http_log_custom_fields'
|
|
2215
|
-
| 'http_ratelimit'
|
|
2216
|
-
| 'http_request_cache_settings'
|
|
2217
|
-
| 'http_request_dynamic_redirect'
|
|
2218
|
-
| 'http_request_firewall_custom'
|
|
2219
|
-
| 'http_request_firewall_managed'
|
|
2220
|
-
| 'http_request_late_transform'
|
|
2221
|
-
| 'http_request_origin'
|
|
2222
|
-
| 'http_request_redirect'
|
|
2223
|
-
| 'http_request_sanitize'
|
|
2224
|
-
| 'http_request_sbfm'
|
|
2225
|
-
| 'http_request_select_configuration'
|
|
2226
|
-
| 'http_request_transform'
|
|
2227
|
-
| 'http_response_compression'
|
|
2228
|
-
| 'http_response_firewall_managed'
|
|
2229
|
-
| 'http_response_headers_transform'
|
|
2230
|
-
| 'magic_transit'
|
|
2231
|
-
| 'magic_transit_ids_managed'
|
|
2232
|
-
| 'magic_transit_managed';
|
|
3721
|
+
phase: RulesetsAPI.Phase;
|
|
2233
3722
|
|
|
2234
3723
|
/**
|
|
2235
3724
|
* The list of rules in the ruleset.
|
|
@@ -2327,7 +3816,7 @@ export namespace RuleCreateParams {
|
|
|
2327
3816
|
/**
|
|
2328
3817
|
* Body param: An object configuring the rule's logging behavior.
|
|
2329
3818
|
*/
|
|
2330
|
-
logging?:
|
|
3819
|
+
logging?: LoggingParam;
|
|
2331
3820
|
|
|
2332
3821
|
/**
|
|
2333
3822
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -2415,7 +3904,7 @@ export namespace RuleCreateParams {
|
|
|
2415
3904
|
/**
|
|
2416
3905
|
* Body param: An object configuring the rule's logging behavior.
|
|
2417
3906
|
*/
|
|
2418
|
-
logging?:
|
|
3907
|
+
logging?: LoggingParam;
|
|
2419
3908
|
|
|
2420
3909
|
/**
|
|
2421
3910
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -2469,7 +3958,7 @@ export namespace RuleCreateParams {
|
|
|
2469
3958
|
/**
|
|
2470
3959
|
* Body param: An object configuring the rule's logging behavior.
|
|
2471
3960
|
*/
|
|
2472
|
-
logging?:
|
|
3961
|
+
logging?: LoggingParam;
|
|
2473
3962
|
|
|
2474
3963
|
/**
|
|
2475
3964
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -2547,7 +4036,7 @@ export namespace RuleCreateParams {
|
|
|
2547
4036
|
/**
|
|
2548
4037
|
* Body param: An object configuring the rule's logging behavior.
|
|
2549
4038
|
*/
|
|
2550
|
-
logging?:
|
|
4039
|
+
logging?: LoggingParam;
|
|
2551
4040
|
|
|
2552
4041
|
/**
|
|
2553
4042
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -2726,7 +4215,7 @@ export namespace RuleCreateParams {
|
|
|
2726
4215
|
/**
|
|
2727
4216
|
* Body param: An object configuring the rule's logging behavior.
|
|
2728
4217
|
*/
|
|
2729
|
-
logging?:
|
|
4218
|
+
logging?: LoggingParam;
|
|
2730
4219
|
|
|
2731
4220
|
/**
|
|
2732
4221
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -2780,7 +4269,7 @@ export namespace RuleCreateParams {
|
|
|
2780
4269
|
/**
|
|
2781
4270
|
* Body param: An object configuring the rule's logging behavior.
|
|
2782
4271
|
*/
|
|
2783
|
-
logging?:
|
|
4272
|
+
logging?: LoggingParam;
|
|
2784
4273
|
|
|
2785
4274
|
/**
|
|
2786
4275
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -2834,7 +4323,7 @@ export namespace RuleCreateParams {
|
|
|
2834
4323
|
/**
|
|
2835
4324
|
* Body param: An object configuring the rule's logging behavior.
|
|
2836
4325
|
*/
|
|
2837
|
-
logging?:
|
|
4326
|
+
logging?: LoggingParam;
|
|
2838
4327
|
|
|
2839
4328
|
/**
|
|
2840
4329
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -2888,7 +4377,7 @@ export namespace RuleCreateParams {
|
|
|
2888
4377
|
/**
|
|
2889
4378
|
* Body param: An object configuring the rule's logging behavior.
|
|
2890
4379
|
*/
|
|
2891
|
-
logging?:
|
|
4380
|
+
logging?: LoggingParam;
|
|
2892
4381
|
|
|
2893
4382
|
/**
|
|
2894
4383
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -3012,7 +4501,7 @@ export namespace RuleCreateParams {
|
|
|
3012
4501
|
/**
|
|
3013
4502
|
* Body param: An object configuring the rule's logging behavior.
|
|
3014
4503
|
*/
|
|
3015
|
-
logging?:
|
|
4504
|
+
logging?: LoggingParam;
|
|
3016
4505
|
|
|
3017
4506
|
/**
|
|
3018
4507
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -3078,12 +4567,12 @@ export namespace RuleCreateParams {
|
|
|
3078
4567
|
/**
|
|
3079
4568
|
* Path portion rewrite.
|
|
3080
4569
|
*/
|
|
3081
|
-
path?: RulesAPI.
|
|
4570
|
+
path?: RulesAPI.RewriteURIPartParam;
|
|
3082
4571
|
|
|
3083
4572
|
/**
|
|
3084
4573
|
* Query portion rewrite.
|
|
3085
4574
|
*/
|
|
3086
|
-
query?: RulesAPI.
|
|
4575
|
+
query?: RulesAPI.RewriteURIPartParam;
|
|
3087
4576
|
}
|
|
3088
4577
|
}
|
|
3089
4578
|
}
|
|
@@ -3134,7 +4623,7 @@ export namespace RuleCreateParams {
|
|
|
3134
4623
|
/**
|
|
3135
4624
|
* Body param: An object configuring the rule's logging behavior.
|
|
3136
4625
|
*/
|
|
3137
|
-
logging?:
|
|
4626
|
+
logging?: LoggingParam;
|
|
3138
4627
|
|
|
3139
4628
|
/**
|
|
3140
4629
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -3160,7 +4649,7 @@ export namespace RuleCreateParams {
|
|
|
3160
4649
|
/**
|
|
3161
4650
|
* Override the Server Name Indication (SNI).
|
|
3162
4651
|
*/
|
|
3163
|
-
sni?: ActionParameters.
|
|
4652
|
+
sni?: ActionParameters.SNI;
|
|
3164
4653
|
}
|
|
3165
4654
|
|
|
3166
4655
|
export namespace ActionParameters {
|
|
@@ -3182,7 +4671,7 @@ export namespace RuleCreateParams {
|
|
|
3182
4671
|
/**
|
|
3183
4672
|
* Override the Server Name Indication (SNI).
|
|
3184
4673
|
*/
|
|
3185
|
-
export interface
|
|
4674
|
+
export interface SNI {
|
|
3186
4675
|
/**
|
|
3187
4676
|
* The SNI override.
|
|
3188
4677
|
*/
|
|
@@ -3237,7 +4726,7 @@ export namespace RuleCreateParams {
|
|
|
3237
4726
|
/**
|
|
3238
4727
|
* Body param: An object configuring the rule's logging behavior.
|
|
3239
4728
|
*/
|
|
3240
|
-
logging?:
|
|
4729
|
+
logging?: LoggingParam;
|
|
3241
4730
|
|
|
3242
4731
|
/**
|
|
3243
4732
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -3304,7 +4793,7 @@ export namespace RuleCreateParams {
|
|
|
3304
4793
|
/**
|
|
3305
4794
|
* Body param: An object configuring the rule's logging behavior.
|
|
3306
4795
|
*/
|
|
3307
|
-
logging?:
|
|
4796
|
+
logging?: LoggingParam;
|
|
3308
4797
|
|
|
3309
4798
|
/**
|
|
3310
4799
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -3380,7 +4869,7 @@ export namespace RuleCreateParams {
|
|
|
3380
4869
|
/**
|
|
3381
4870
|
* Body param: An object configuring the rule's logging behavior.
|
|
3382
4871
|
*/
|
|
3383
|
-
logging?:
|
|
4872
|
+
logging?: LoggingParam;
|
|
3384
4873
|
|
|
3385
4874
|
/**
|
|
3386
4875
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -3538,7 +5027,7 @@ export namespace RuleCreateParams {
|
|
|
3538
5027
|
/**
|
|
3539
5028
|
* Body param: An object configuring the rule's logging behavior.
|
|
3540
5029
|
*/
|
|
3541
|
-
logging?:
|
|
5030
|
+
logging?: LoggingParam;
|
|
3542
5031
|
|
|
3543
5032
|
/**
|
|
3544
5033
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -3555,31 +5044,7 @@ export namespace RuleCreateParams {
|
|
|
3555
5044
|
* A list of phases to skip the execution of. This option is incompatible with the
|
|
3556
5045
|
* ruleset and rulesets options.
|
|
3557
5046
|
*/
|
|
3558
|
-
phases?: Array<
|
|
3559
|
-
| 'ddos_l4'
|
|
3560
|
-
| 'ddos_l7'
|
|
3561
|
-
| 'http_config_settings'
|
|
3562
|
-
| 'http_custom_errors'
|
|
3563
|
-
| 'http_log_custom_fields'
|
|
3564
|
-
| 'http_ratelimit'
|
|
3565
|
-
| 'http_request_cache_settings'
|
|
3566
|
-
| 'http_request_dynamic_redirect'
|
|
3567
|
-
| 'http_request_firewall_custom'
|
|
3568
|
-
| 'http_request_firewall_managed'
|
|
3569
|
-
| 'http_request_late_transform'
|
|
3570
|
-
| 'http_request_origin'
|
|
3571
|
-
| 'http_request_redirect'
|
|
3572
|
-
| 'http_request_sanitize'
|
|
3573
|
-
| 'http_request_sbfm'
|
|
3574
|
-
| 'http_request_select_configuration'
|
|
3575
|
-
| 'http_request_transform'
|
|
3576
|
-
| 'http_response_compression'
|
|
3577
|
-
| 'http_response_firewall_managed'
|
|
3578
|
-
| 'http_response_headers_transform'
|
|
3579
|
-
| 'magic_transit'
|
|
3580
|
-
| 'magic_transit_ids_managed'
|
|
3581
|
-
| 'magic_transit_managed'
|
|
3582
|
-
>;
|
|
5047
|
+
phases?: Array<RulesetsAPI.PhaseParam>;
|
|
3583
5048
|
|
|
3584
5049
|
/**
|
|
3585
5050
|
* A list of legacy security products to skip the execution of.
|
|
@@ -3652,7 +5117,7 @@ export namespace RuleCreateParams {
|
|
|
3652
5117
|
/**
|
|
3653
5118
|
* Body param: An object configuring the rule's logging behavior.
|
|
3654
5119
|
*/
|
|
3655
|
-
logging?:
|
|
5120
|
+
logging?: LoggingParam;
|
|
3656
5121
|
|
|
3657
5122
|
/**
|
|
3658
5123
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -4115,7 +5580,7 @@ export namespace RuleEditParams {
|
|
|
4115
5580
|
/**
|
|
4116
5581
|
* Body param: An object configuring the rule's logging behavior.
|
|
4117
5582
|
*/
|
|
4118
|
-
logging?:
|
|
5583
|
+
logging?: LoggingParam;
|
|
4119
5584
|
|
|
4120
5585
|
/**
|
|
4121
5586
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -4203,7 +5668,7 @@ export namespace RuleEditParams {
|
|
|
4203
5668
|
/**
|
|
4204
5669
|
* Body param: An object configuring the rule's logging behavior.
|
|
4205
5670
|
*/
|
|
4206
|
-
logging?:
|
|
5671
|
+
logging?: LoggingParam;
|
|
4207
5672
|
|
|
4208
5673
|
/**
|
|
4209
5674
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -4257,7 +5722,7 @@ export namespace RuleEditParams {
|
|
|
4257
5722
|
/**
|
|
4258
5723
|
* Body param: An object configuring the rule's logging behavior.
|
|
4259
5724
|
*/
|
|
4260
|
-
logging?:
|
|
5725
|
+
logging?: LoggingParam;
|
|
4261
5726
|
|
|
4262
5727
|
/**
|
|
4263
5728
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -4335,7 +5800,7 @@ export namespace RuleEditParams {
|
|
|
4335
5800
|
/**
|
|
4336
5801
|
* Body param: An object configuring the rule's logging behavior.
|
|
4337
5802
|
*/
|
|
4338
|
-
logging?:
|
|
5803
|
+
logging?: LoggingParam;
|
|
4339
5804
|
|
|
4340
5805
|
/**
|
|
4341
5806
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -4514,7 +5979,7 @@ export namespace RuleEditParams {
|
|
|
4514
5979
|
/**
|
|
4515
5980
|
* Body param: An object configuring the rule's logging behavior.
|
|
4516
5981
|
*/
|
|
4517
|
-
logging?:
|
|
5982
|
+
logging?: LoggingParam;
|
|
4518
5983
|
|
|
4519
5984
|
/**
|
|
4520
5985
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -4568,7 +6033,7 @@ export namespace RuleEditParams {
|
|
|
4568
6033
|
/**
|
|
4569
6034
|
* Body param: An object configuring the rule's logging behavior.
|
|
4570
6035
|
*/
|
|
4571
|
-
logging?:
|
|
6036
|
+
logging?: LoggingParam;
|
|
4572
6037
|
|
|
4573
6038
|
/**
|
|
4574
6039
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -4622,7 +6087,7 @@ export namespace RuleEditParams {
|
|
|
4622
6087
|
/**
|
|
4623
6088
|
* Body param: An object configuring the rule's logging behavior.
|
|
4624
6089
|
*/
|
|
4625
|
-
logging?:
|
|
6090
|
+
logging?: LoggingParam;
|
|
4626
6091
|
|
|
4627
6092
|
/**
|
|
4628
6093
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -4676,7 +6141,7 @@ export namespace RuleEditParams {
|
|
|
4676
6141
|
/**
|
|
4677
6142
|
* Body param: An object configuring the rule's logging behavior.
|
|
4678
6143
|
*/
|
|
4679
|
-
logging?:
|
|
6144
|
+
logging?: LoggingParam;
|
|
4680
6145
|
|
|
4681
6146
|
/**
|
|
4682
6147
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -4800,7 +6265,7 @@ export namespace RuleEditParams {
|
|
|
4800
6265
|
/**
|
|
4801
6266
|
* Body param: An object configuring the rule's logging behavior.
|
|
4802
6267
|
*/
|
|
4803
|
-
logging?:
|
|
6268
|
+
logging?: LoggingParam;
|
|
4804
6269
|
|
|
4805
6270
|
/**
|
|
4806
6271
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -4866,12 +6331,12 @@ export namespace RuleEditParams {
|
|
|
4866
6331
|
/**
|
|
4867
6332
|
* Path portion rewrite.
|
|
4868
6333
|
*/
|
|
4869
|
-
path?: RulesAPI.
|
|
6334
|
+
path?: RulesAPI.RewriteURIPartParam;
|
|
4870
6335
|
|
|
4871
6336
|
/**
|
|
4872
6337
|
* Query portion rewrite.
|
|
4873
6338
|
*/
|
|
4874
|
-
query?: RulesAPI.
|
|
6339
|
+
query?: RulesAPI.RewriteURIPartParam;
|
|
4875
6340
|
}
|
|
4876
6341
|
}
|
|
4877
6342
|
}
|
|
@@ -4922,7 +6387,7 @@ export namespace RuleEditParams {
|
|
|
4922
6387
|
/**
|
|
4923
6388
|
* Body param: An object configuring the rule's logging behavior.
|
|
4924
6389
|
*/
|
|
4925
|
-
logging?:
|
|
6390
|
+
logging?: LoggingParam;
|
|
4926
6391
|
|
|
4927
6392
|
/**
|
|
4928
6393
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -4948,7 +6413,7 @@ export namespace RuleEditParams {
|
|
|
4948
6413
|
/**
|
|
4949
6414
|
* Override the Server Name Indication (SNI).
|
|
4950
6415
|
*/
|
|
4951
|
-
sni?: ActionParameters.
|
|
6416
|
+
sni?: ActionParameters.SNI;
|
|
4952
6417
|
}
|
|
4953
6418
|
|
|
4954
6419
|
export namespace ActionParameters {
|
|
@@ -4970,7 +6435,7 @@ export namespace RuleEditParams {
|
|
|
4970
6435
|
/**
|
|
4971
6436
|
* Override the Server Name Indication (SNI).
|
|
4972
6437
|
*/
|
|
4973
|
-
export interface
|
|
6438
|
+
export interface SNI {
|
|
4974
6439
|
/**
|
|
4975
6440
|
* The SNI override.
|
|
4976
6441
|
*/
|
|
@@ -5025,7 +6490,7 @@ export namespace RuleEditParams {
|
|
|
5025
6490
|
/**
|
|
5026
6491
|
* Body param: An object configuring the rule's logging behavior.
|
|
5027
6492
|
*/
|
|
5028
|
-
logging?:
|
|
6493
|
+
logging?: LoggingParam;
|
|
5029
6494
|
|
|
5030
6495
|
/**
|
|
5031
6496
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -5092,7 +6557,7 @@ export namespace RuleEditParams {
|
|
|
5092
6557
|
/**
|
|
5093
6558
|
* Body param: An object configuring the rule's logging behavior.
|
|
5094
6559
|
*/
|
|
5095
|
-
logging?:
|
|
6560
|
+
logging?: LoggingParam;
|
|
5096
6561
|
|
|
5097
6562
|
/**
|
|
5098
6563
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -5168,7 +6633,7 @@ export namespace RuleEditParams {
|
|
|
5168
6633
|
/**
|
|
5169
6634
|
* Body param: An object configuring the rule's logging behavior.
|
|
5170
6635
|
*/
|
|
5171
|
-
logging?:
|
|
6636
|
+
logging?: LoggingParam;
|
|
5172
6637
|
|
|
5173
6638
|
/**
|
|
5174
6639
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -5326,7 +6791,7 @@ export namespace RuleEditParams {
|
|
|
5326
6791
|
/**
|
|
5327
6792
|
* Body param: An object configuring the rule's logging behavior.
|
|
5328
6793
|
*/
|
|
5329
|
-
logging?:
|
|
6794
|
+
logging?: LoggingParam;
|
|
5330
6795
|
|
|
5331
6796
|
/**
|
|
5332
6797
|
* Body param: The reference of the rule (the rule ID by default).
|
|
@@ -5343,31 +6808,7 @@ export namespace RuleEditParams {
|
|
|
5343
6808
|
* A list of phases to skip the execution of. This option is incompatible with the
|
|
5344
6809
|
* ruleset and rulesets options.
|
|
5345
6810
|
*/
|
|
5346
|
-
phases?: Array<
|
|
5347
|
-
| 'ddos_l4'
|
|
5348
|
-
| 'ddos_l7'
|
|
5349
|
-
| 'http_config_settings'
|
|
5350
|
-
| 'http_custom_errors'
|
|
5351
|
-
| 'http_log_custom_fields'
|
|
5352
|
-
| 'http_ratelimit'
|
|
5353
|
-
| 'http_request_cache_settings'
|
|
5354
|
-
| 'http_request_dynamic_redirect'
|
|
5355
|
-
| 'http_request_firewall_custom'
|
|
5356
|
-
| 'http_request_firewall_managed'
|
|
5357
|
-
| 'http_request_late_transform'
|
|
5358
|
-
| 'http_request_origin'
|
|
5359
|
-
| 'http_request_redirect'
|
|
5360
|
-
| 'http_request_sanitize'
|
|
5361
|
-
| 'http_request_sbfm'
|
|
5362
|
-
| 'http_request_select_configuration'
|
|
5363
|
-
| 'http_request_transform'
|
|
5364
|
-
| 'http_response_compression'
|
|
5365
|
-
| 'http_response_firewall_managed'
|
|
5366
|
-
| 'http_response_headers_transform'
|
|
5367
|
-
| 'magic_transit'
|
|
5368
|
-
| 'magic_transit_ids_managed'
|
|
5369
|
-
| 'magic_transit_managed'
|
|
5370
|
-
>;
|
|
6811
|
+
phases?: Array<RulesetsAPI.PhaseParam>;
|
|
5371
6812
|
|
|
5372
6813
|
/**
|
|
5373
6814
|
* A list of legacy security products to skip the execution of.
|
|
@@ -5440,7 +6881,7 @@ export namespace RuleEditParams {
|
|
|
5440
6881
|
/**
|
|
5441
6882
|
* Body param: An object configuring the rule's logging behavior.
|
|
5442
6883
|
*/
|
|
5443
|
-
logging?:
|
|
6884
|
+
logging?: LoggingParam;
|
|
5444
6885
|
|
|
5445
6886
|
/**
|
|
5446
6887
|
* Body param: The reference of the rule (the rule ID by default).
|