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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as Core from 'cloudflare/core';
|
|
2
2
|
import { APIResource } from 'cloudflare/resource';
|
|
3
3
|
import * as RulesAPI from 'cloudflare/resources/rulesets/rules';
|
|
4
|
+
import * as RulesetsAPI from 'cloudflare/resources/rulesets/rulesets';
|
|
4
5
|
export declare class Rules extends APIResource {
|
|
5
6
|
/**
|
|
6
7
|
* Adds a new rule to an account or zone ruleset. The rule will be added to the end
|
|
@@ -93,6 +94,70 @@ export declare namespace BlockRule {
|
|
|
93
94
|
}
|
|
94
95
|
}
|
|
95
96
|
}
|
|
97
|
+
export interface BlockRuleParam {
|
|
98
|
+
/**
|
|
99
|
+
* The unique ID of the rule.
|
|
100
|
+
*/
|
|
101
|
+
id?: string;
|
|
102
|
+
/**
|
|
103
|
+
* The action to perform when the rule matches.
|
|
104
|
+
*/
|
|
105
|
+
action?: 'block';
|
|
106
|
+
/**
|
|
107
|
+
* The parameters configuring the rule's action.
|
|
108
|
+
*/
|
|
109
|
+
action_parameters?: BlockRuleParam.ActionParameters;
|
|
110
|
+
/**
|
|
111
|
+
* An informative description of the rule.
|
|
112
|
+
*/
|
|
113
|
+
description?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Whether the rule should be executed.
|
|
116
|
+
*/
|
|
117
|
+
enabled?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* The expression defining which traffic will match the rule.
|
|
120
|
+
*/
|
|
121
|
+
expression?: string;
|
|
122
|
+
/**
|
|
123
|
+
* An object configuring the rule's logging behavior.
|
|
124
|
+
*/
|
|
125
|
+
logging?: LoggingParam;
|
|
126
|
+
/**
|
|
127
|
+
* The reference of the rule (the rule ID by default).
|
|
128
|
+
*/
|
|
129
|
+
ref?: string;
|
|
130
|
+
}
|
|
131
|
+
export declare namespace BlockRuleParam {
|
|
132
|
+
/**
|
|
133
|
+
* The parameters configuring the rule's action.
|
|
134
|
+
*/
|
|
135
|
+
interface ActionParameters {
|
|
136
|
+
/**
|
|
137
|
+
* The response to show when the block is applied.
|
|
138
|
+
*/
|
|
139
|
+
response?: ActionParameters.Response;
|
|
140
|
+
}
|
|
141
|
+
namespace ActionParameters {
|
|
142
|
+
/**
|
|
143
|
+
* The response to show when the block is applied.
|
|
144
|
+
*/
|
|
145
|
+
interface Response {
|
|
146
|
+
/**
|
|
147
|
+
* The content to return.
|
|
148
|
+
*/
|
|
149
|
+
content: string;
|
|
150
|
+
/**
|
|
151
|
+
* The type of the content to return.
|
|
152
|
+
*/
|
|
153
|
+
content_type: string;
|
|
154
|
+
/**
|
|
155
|
+
* The status code to return.
|
|
156
|
+
*/
|
|
157
|
+
status_code: number;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
96
161
|
export interface ChallengeRule {
|
|
97
162
|
/**
|
|
98
163
|
* The timestamp of when the rule was last modified.
|
|
@@ -139,6 +204,40 @@ export interface ChallengeRule {
|
|
|
139
204
|
*/
|
|
140
205
|
ref?: string;
|
|
141
206
|
}
|
|
207
|
+
export interface ChallengeRuleParam {
|
|
208
|
+
/**
|
|
209
|
+
* The unique ID of the rule.
|
|
210
|
+
*/
|
|
211
|
+
id?: string;
|
|
212
|
+
/**
|
|
213
|
+
* The action to perform when the rule matches.
|
|
214
|
+
*/
|
|
215
|
+
action?: 'challenge';
|
|
216
|
+
/**
|
|
217
|
+
* The parameters configuring the rule's action.
|
|
218
|
+
*/
|
|
219
|
+
action_parameters?: unknown;
|
|
220
|
+
/**
|
|
221
|
+
* An informative description of the rule.
|
|
222
|
+
*/
|
|
223
|
+
description?: string;
|
|
224
|
+
/**
|
|
225
|
+
* Whether the rule should be executed.
|
|
226
|
+
*/
|
|
227
|
+
enabled?: boolean;
|
|
228
|
+
/**
|
|
229
|
+
* The expression defining which traffic will match the rule.
|
|
230
|
+
*/
|
|
231
|
+
expression?: string;
|
|
232
|
+
/**
|
|
233
|
+
* An object configuring the rule's logging behavior.
|
|
234
|
+
*/
|
|
235
|
+
logging?: LoggingParam;
|
|
236
|
+
/**
|
|
237
|
+
* The reference of the rule (the rule ID by default).
|
|
238
|
+
*/
|
|
239
|
+
ref?: string;
|
|
240
|
+
}
|
|
142
241
|
export interface CompressResponseRule {
|
|
143
242
|
/**
|
|
144
243
|
* The timestamp of when the rule was last modified.
|
|
@@ -207,6 +306,62 @@ export declare namespace CompressResponseRule {
|
|
|
207
306
|
}
|
|
208
307
|
}
|
|
209
308
|
}
|
|
309
|
+
export interface CompressResponseRuleParam {
|
|
310
|
+
/**
|
|
311
|
+
* The unique ID of the rule.
|
|
312
|
+
*/
|
|
313
|
+
id?: string;
|
|
314
|
+
/**
|
|
315
|
+
* The action to perform when the rule matches.
|
|
316
|
+
*/
|
|
317
|
+
action?: 'compress_response';
|
|
318
|
+
/**
|
|
319
|
+
* The parameters configuring the rule's action.
|
|
320
|
+
*/
|
|
321
|
+
action_parameters?: CompressResponseRuleParam.ActionParameters;
|
|
322
|
+
/**
|
|
323
|
+
* An informative description of the rule.
|
|
324
|
+
*/
|
|
325
|
+
description?: string;
|
|
326
|
+
/**
|
|
327
|
+
* Whether the rule should be executed.
|
|
328
|
+
*/
|
|
329
|
+
enabled?: boolean;
|
|
330
|
+
/**
|
|
331
|
+
* The expression defining which traffic will match the rule.
|
|
332
|
+
*/
|
|
333
|
+
expression?: string;
|
|
334
|
+
/**
|
|
335
|
+
* An object configuring the rule's logging behavior.
|
|
336
|
+
*/
|
|
337
|
+
logging?: LoggingParam;
|
|
338
|
+
/**
|
|
339
|
+
* The reference of the rule (the rule ID by default).
|
|
340
|
+
*/
|
|
341
|
+
ref?: string;
|
|
342
|
+
}
|
|
343
|
+
export declare namespace CompressResponseRuleParam {
|
|
344
|
+
/**
|
|
345
|
+
* The parameters configuring the rule's action.
|
|
346
|
+
*/
|
|
347
|
+
interface ActionParameters {
|
|
348
|
+
/**
|
|
349
|
+
* Custom order for compression algorithms.
|
|
350
|
+
*/
|
|
351
|
+
algorithms?: Array<ActionParameters.Algorithm>;
|
|
352
|
+
}
|
|
353
|
+
namespace ActionParameters {
|
|
354
|
+
/**
|
|
355
|
+
* Compression algorithm to enable.
|
|
356
|
+
*/
|
|
357
|
+
interface Algorithm {
|
|
358
|
+
/**
|
|
359
|
+
* Name of compression algorithm to enable.
|
|
360
|
+
*/
|
|
361
|
+
name?: 'none' | 'auto' | 'default' | 'gzip' | 'brotli';
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
}
|
|
210
365
|
export interface ExecuteRule {
|
|
211
366
|
/**
|
|
212
367
|
* The timestamp of when the rule was last modified.
|
|
@@ -360,61 +515,7 @@ export declare namespace ExecuteRule {
|
|
|
360
515
|
}
|
|
361
516
|
}
|
|
362
517
|
}
|
|
363
|
-
export interface
|
|
364
|
-
/**
|
|
365
|
-
* The timestamp of when the rule was last modified.
|
|
366
|
-
*/
|
|
367
|
-
last_updated: string;
|
|
368
|
-
/**
|
|
369
|
-
* The version of the rule.
|
|
370
|
-
*/
|
|
371
|
-
version: string;
|
|
372
|
-
/**
|
|
373
|
-
* The unique ID of the rule.
|
|
374
|
-
*/
|
|
375
|
-
id?: string;
|
|
376
|
-
/**
|
|
377
|
-
* The action to perform when the rule matches.
|
|
378
|
-
*/
|
|
379
|
-
action?: 'js_challenge';
|
|
380
|
-
/**
|
|
381
|
-
* The parameters configuring the rule's action.
|
|
382
|
-
*/
|
|
383
|
-
action_parameters?: unknown;
|
|
384
|
-
/**
|
|
385
|
-
* The categories of the rule.
|
|
386
|
-
*/
|
|
387
|
-
categories?: Array<string>;
|
|
388
|
-
/**
|
|
389
|
-
* An informative description of the rule.
|
|
390
|
-
*/
|
|
391
|
-
description?: string;
|
|
392
|
-
/**
|
|
393
|
-
* Whether the rule should be executed.
|
|
394
|
-
*/
|
|
395
|
-
enabled?: boolean;
|
|
396
|
-
/**
|
|
397
|
-
* The expression defining which traffic will match the rule.
|
|
398
|
-
*/
|
|
399
|
-
expression?: string;
|
|
400
|
-
/**
|
|
401
|
-
* An object configuring the rule's logging behavior.
|
|
402
|
-
*/
|
|
403
|
-
logging?: Logging;
|
|
404
|
-
/**
|
|
405
|
-
* The reference of the rule (the rule ID by default).
|
|
406
|
-
*/
|
|
407
|
-
ref?: string;
|
|
408
|
-
}
|
|
409
|
-
export interface LogRule {
|
|
410
|
-
/**
|
|
411
|
-
* The timestamp of when the rule was last modified.
|
|
412
|
-
*/
|
|
413
|
-
last_updated: string;
|
|
414
|
-
/**
|
|
415
|
-
* The version of the rule.
|
|
416
|
-
*/
|
|
417
|
-
version: string;
|
|
518
|
+
export interface ExecuteRuleParam {
|
|
418
519
|
/**
|
|
419
520
|
* The unique ID of the rule.
|
|
420
521
|
*/
|
|
@@ -422,15 +523,11 @@ export interface LogRule {
|
|
|
422
523
|
/**
|
|
423
524
|
* The action to perform when the rule matches.
|
|
424
525
|
*/
|
|
425
|
-
action?: '
|
|
526
|
+
action?: 'execute';
|
|
426
527
|
/**
|
|
427
528
|
* The parameters configuring the rule's action.
|
|
428
529
|
*/
|
|
429
|
-
action_parameters?:
|
|
430
|
-
/**
|
|
431
|
-
* The categories of the rule.
|
|
432
|
-
*/
|
|
433
|
-
categories?: Array<string>;
|
|
530
|
+
action_parameters?: ExecuteRuleParam.ActionParameters;
|
|
434
531
|
/**
|
|
435
532
|
* An informative description of the rule.
|
|
436
533
|
*/
|
|
@@ -446,175 +543,120 @@ export interface LogRule {
|
|
|
446
543
|
/**
|
|
447
544
|
* An object configuring the rule's logging behavior.
|
|
448
545
|
*/
|
|
449
|
-
logging?:
|
|
546
|
+
logging?: LoggingParam;
|
|
450
547
|
/**
|
|
451
548
|
* The reference of the rule (the rule ID by default).
|
|
452
549
|
*/
|
|
453
550
|
ref?: string;
|
|
454
551
|
}
|
|
455
|
-
|
|
456
|
-
* An object configuring the rule's logging behavior.
|
|
457
|
-
*/
|
|
458
|
-
export interface Logging {
|
|
459
|
-
/**
|
|
460
|
-
* Whether to generate a log when the rule matches.
|
|
461
|
-
*/
|
|
462
|
-
enabled: boolean;
|
|
463
|
-
}
|
|
464
|
-
export interface ManagedChallengeRule {
|
|
465
|
-
/**
|
|
466
|
-
* The timestamp of when the rule was last modified.
|
|
467
|
-
*/
|
|
468
|
-
last_updated: string;
|
|
469
|
-
/**
|
|
470
|
-
* The version of the rule.
|
|
471
|
-
*/
|
|
472
|
-
version: string;
|
|
473
|
-
/**
|
|
474
|
-
* The unique ID of the rule.
|
|
475
|
-
*/
|
|
476
|
-
id?: string;
|
|
477
|
-
/**
|
|
478
|
-
* The action to perform when the rule matches.
|
|
479
|
-
*/
|
|
480
|
-
action?: 'managed_challenge';
|
|
481
|
-
/**
|
|
482
|
-
* The parameters configuring the rule's action.
|
|
483
|
-
*/
|
|
484
|
-
action_parameters?: unknown;
|
|
485
|
-
/**
|
|
486
|
-
* The categories of the rule.
|
|
487
|
-
*/
|
|
488
|
-
categories?: Array<string>;
|
|
489
|
-
/**
|
|
490
|
-
* An informative description of the rule.
|
|
491
|
-
*/
|
|
492
|
-
description?: string;
|
|
493
|
-
/**
|
|
494
|
-
* Whether the rule should be executed.
|
|
495
|
-
*/
|
|
496
|
-
enabled?: boolean;
|
|
497
|
-
/**
|
|
498
|
-
* The expression defining which traffic will match the rule.
|
|
499
|
-
*/
|
|
500
|
-
expression?: string;
|
|
501
|
-
/**
|
|
502
|
-
* An object configuring the rule's logging behavior.
|
|
503
|
-
*/
|
|
504
|
-
logging?: Logging;
|
|
505
|
-
/**
|
|
506
|
-
* The reference of the rule (the rule ID by default).
|
|
507
|
-
*/
|
|
508
|
-
ref?: string;
|
|
509
|
-
}
|
|
510
|
-
export interface RedirectRule {
|
|
511
|
-
/**
|
|
512
|
-
* The timestamp of when the rule was last modified.
|
|
513
|
-
*/
|
|
514
|
-
last_updated: string;
|
|
515
|
-
/**
|
|
516
|
-
* The version of the rule.
|
|
517
|
-
*/
|
|
518
|
-
version: string;
|
|
519
|
-
/**
|
|
520
|
-
* The unique ID of the rule.
|
|
521
|
-
*/
|
|
522
|
-
id?: string;
|
|
523
|
-
/**
|
|
524
|
-
* The action to perform when the rule matches.
|
|
525
|
-
*/
|
|
526
|
-
action?: 'redirect';
|
|
527
|
-
/**
|
|
528
|
-
* The parameters configuring the rule's action.
|
|
529
|
-
*/
|
|
530
|
-
action_parameters?: RedirectRule.ActionParameters;
|
|
531
|
-
/**
|
|
532
|
-
* The categories of the rule.
|
|
533
|
-
*/
|
|
534
|
-
categories?: Array<string>;
|
|
535
|
-
/**
|
|
536
|
-
* An informative description of the rule.
|
|
537
|
-
*/
|
|
538
|
-
description?: string;
|
|
539
|
-
/**
|
|
540
|
-
* Whether the rule should be executed.
|
|
541
|
-
*/
|
|
542
|
-
enabled?: boolean;
|
|
543
|
-
/**
|
|
544
|
-
* The expression defining which traffic will match the rule.
|
|
545
|
-
*/
|
|
546
|
-
expression?: string;
|
|
547
|
-
/**
|
|
548
|
-
* An object configuring the rule's logging behavior.
|
|
549
|
-
*/
|
|
550
|
-
logging?: Logging;
|
|
551
|
-
/**
|
|
552
|
-
* The reference of the rule (the rule ID by default).
|
|
553
|
-
*/
|
|
554
|
-
ref?: string;
|
|
555
|
-
}
|
|
556
|
-
export declare namespace RedirectRule {
|
|
552
|
+
export declare namespace ExecuteRuleParam {
|
|
557
553
|
/**
|
|
558
554
|
* The parameters configuring the rule's action.
|
|
559
555
|
*/
|
|
560
556
|
interface ActionParameters {
|
|
561
557
|
/**
|
|
562
|
-
*
|
|
558
|
+
* The ID of the ruleset to execute.
|
|
563
559
|
*/
|
|
564
|
-
|
|
560
|
+
id: string;
|
|
565
561
|
/**
|
|
566
|
-
*
|
|
562
|
+
* The configuration to use for matched data logging.
|
|
567
563
|
*/
|
|
568
|
-
|
|
564
|
+
matched_data?: ActionParameters.MatchedData;
|
|
565
|
+
/**
|
|
566
|
+
* A set of overrides to apply to the target ruleset.
|
|
567
|
+
*/
|
|
568
|
+
overrides?: ActionParameters.Overrides;
|
|
569
569
|
}
|
|
570
570
|
namespace ActionParameters {
|
|
571
571
|
/**
|
|
572
|
-
*
|
|
572
|
+
* The configuration to use for matched data logging.
|
|
573
573
|
*/
|
|
574
|
-
interface
|
|
575
|
-
/**
|
|
576
|
-
* Expression that evaluates to the list lookup key.
|
|
577
|
-
*/
|
|
578
|
-
key?: string;
|
|
574
|
+
interface MatchedData {
|
|
579
575
|
/**
|
|
580
|
-
* The
|
|
576
|
+
* The public key to encrypt matched data logs with.
|
|
581
577
|
*/
|
|
582
|
-
|
|
578
|
+
public_key: string;
|
|
583
579
|
}
|
|
584
580
|
/**
|
|
585
|
-
*
|
|
581
|
+
* A set of overrides to apply to the target ruleset.
|
|
586
582
|
*/
|
|
587
|
-
interface
|
|
583
|
+
interface Overrides {
|
|
588
584
|
/**
|
|
589
|
-
*
|
|
585
|
+
* An action to override all rules with. This option has lower precedence than rule
|
|
586
|
+
* and category overrides.
|
|
590
587
|
*/
|
|
591
|
-
|
|
588
|
+
action?: string;
|
|
592
589
|
/**
|
|
593
|
-
*
|
|
590
|
+
* A list of category-level overrides. This option has the second-highest
|
|
591
|
+
* precedence after rule-level overrides.
|
|
594
592
|
*/
|
|
595
|
-
|
|
593
|
+
categories?: Array<Overrides.Category>;
|
|
596
594
|
/**
|
|
597
|
-
*
|
|
595
|
+
* Whether to enable execution of all rules. This option has lower precedence than
|
|
596
|
+
* rule and category overrides.
|
|
598
597
|
*/
|
|
599
|
-
|
|
598
|
+
enabled?: boolean;
|
|
599
|
+
/**
|
|
600
|
+
* A list of rule-level overrides. This option has the highest precedence.
|
|
601
|
+
*/
|
|
602
|
+
rules?: Array<Overrides.Rule>;
|
|
603
|
+
/**
|
|
604
|
+
* A sensitivity level to set for all rules. This option has lower precedence than
|
|
605
|
+
* rule and category overrides and is only applicable for DDoS phases.
|
|
606
|
+
*/
|
|
607
|
+
sensitivity_level?: 'default' | 'medium' | 'low' | 'eoff';
|
|
600
608
|
}
|
|
601
|
-
namespace
|
|
602
|
-
|
|
609
|
+
namespace Overrides {
|
|
610
|
+
/**
|
|
611
|
+
* A category-level override
|
|
612
|
+
*/
|
|
613
|
+
interface Category {
|
|
603
614
|
/**
|
|
604
|
-
* The
|
|
615
|
+
* The name of the category to override.
|
|
605
616
|
*/
|
|
606
|
-
|
|
617
|
+
category: string;
|
|
618
|
+
/**
|
|
619
|
+
* The action to override rules in the category with.
|
|
620
|
+
*/
|
|
621
|
+
action?: string;
|
|
622
|
+
/**
|
|
623
|
+
* Whether to enable execution of rules in the category.
|
|
624
|
+
*/
|
|
625
|
+
enabled?: boolean;
|
|
626
|
+
/**
|
|
627
|
+
* The sensitivity level to use for rules in the category.
|
|
628
|
+
*/
|
|
629
|
+
sensitivity_level?: 'default' | 'medium' | 'low' | 'eoff';
|
|
607
630
|
}
|
|
608
|
-
|
|
631
|
+
/**
|
|
632
|
+
* A rule-level override
|
|
633
|
+
*/
|
|
634
|
+
interface Rule {
|
|
609
635
|
/**
|
|
610
|
-
*
|
|
636
|
+
* The ID of the rule to override.
|
|
611
637
|
*/
|
|
612
|
-
|
|
638
|
+
id: string;
|
|
639
|
+
/**
|
|
640
|
+
* The action to override the rule with.
|
|
641
|
+
*/
|
|
642
|
+
action?: string;
|
|
643
|
+
/**
|
|
644
|
+
* Whether to enable execution of the rule.
|
|
645
|
+
*/
|
|
646
|
+
enabled?: boolean;
|
|
647
|
+
/**
|
|
648
|
+
* The score threshold to use for the rule.
|
|
649
|
+
*/
|
|
650
|
+
score_threshold?: number;
|
|
651
|
+
/**
|
|
652
|
+
* The sensitivity level to use for the rule.
|
|
653
|
+
*/
|
|
654
|
+
sensitivity_level?: 'default' | 'medium' | 'low' | 'eoff';
|
|
613
655
|
}
|
|
614
656
|
}
|
|
615
657
|
}
|
|
616
658
|
}
|
|
617
|
-
export interface
|
|
659
|
+
export interface JSChallengeRule {
|
|
618
660
|
/**
|
|
619
661
|
* The timestamp of when the rule was last modified.
|
|
620
662
|
*/
|
|
@@ -630,11 +672,11 @@ export interface RewriteRule {
|
|
|
630
672
|
/**
|
|
631
673
|
* The action to perform when the rule matches.
|
|
632
674
|
*/
|
|
633
|
-
action?: '
|
|
675
|
+
action?: 'js_challenge';
|
|
634
676
|
/**
|
|
635
677
|
* The parameters configuring the rule's action.
|
|
636
678
|
*/
|
|
637
|
-
action_parameters?:
|
|
679
|
+
action_parameters?: unknown;
|
|
638
680
|
/**
|
|
639
681
|
* The categories of the rule.
|
|
640
682
|
*/
|
|
@@ -660,86 +702,7 @@ export interface RewriteRule {
|
|
|
660
702
|
*/
|
|
661
703
|
ref?: string;
|
|
662
704
|
}
|
|
663
|
-
export
|
|
664
|
-
/**
|
|
665
|
-
* The parameters configuring the rule's action.
|
|
666
|
-
*/
|
|
667
|
-
interface ActionParameters {
|
|
668
|
-
/**
|
|
669
|
-
* Map of request headers to modify.
|
|
670
|
-
*/
|
|
671
|
-
headers?: Record<string, ActionParameters.RemoveHeader | ActionParameters.StaticHeader | ActionParameters.DynamicHeader>;
|
|
672
|
-
/**
|
|
673
|
-
* URI to rewrite the request to.
|
|
674
|
-
*/
|
|
675
|
-
uri?: ActionParameters.URI;
|
|
676
|
-
}
|
|
677
|
-
namespace ActionParameters {
|
|
678
|
-
/**
|
|
679
|
-
* Remove the header from the request.
|
|
680
|
-
*/
|
|
681
|
-
interface RemoveHeader {
|
|
682
|
-
operation: 'remove';
|
|
683
|
-
}
|
|
684
|
-
/**
|
|
685
|
-
* Set a request header with a static value.
|
|
686
|
-
*/
|
|
687
|
-
interface StaticHeader {
|
|
688
|
-
operation: 'set';
|
|
689
|
-
/**
|
|
690
|
-
* Static value for the header.
|
|
691
|
-
*/
|
|
692
|
-
value: string;
|
|
693
|
-
}
|
|
694
|
-
/**
|
|
695
|
-
* Set a request header with a dynamic value.
|
|
696
|
-
*/
|
|
697
|
-
interface DynamicHeader {
|
|
698
|
-
/**
|
|
699
|
-
* Expression for the header value.
|
|
700
|
-
*/
|
|
701
|
-
expression: string;
|
|
702
|
-
operation: 'set';
|
|
703
|
-
}
|
|
704
|
-
/**
|
|
705
|
-
* URI to rewrite the request to.
|
|
706
|
-
*/
|
|
707
|
-
interface URI {
|
|
708
|
-
/**
|
|
709
|
-
* Path portion rewrite.
|
|
710
|
-
*/
|
|
711
|
-
path?: RulesAPI.RewriteURIPart;
|
|
712
|
-
/**
|
|
713
|
-
* Query portion rewrite.
|
|
714
|
-
*/
|
|
715
|
-
query?: RulesAPI.RewriteURIPart;
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
}
|
|
719
|
-
export type RewriteURIPart = RewriteURIPart.StaticValue | RewriteURIPart.DynamicValue;
|
|
720
|
-
export declare namespace RewriteURIPart {
|
|
721
|
-
interface StaticValue {
|
|
722
|
-
/**
|
|
723
|
-
* Predefined replacement value.
|
|
724
|
-
*/
|
|
725
|
-
value: string;
|
|
726
|
-
}
|
|
727
|
-
interface DynamicValue {
|
|
728
|
-
/**
|
|
729
|
-
* Expression to evaluate for the replacement value.
|
|
730
|
-
*/
|
|
731
|
-
expression: string;
|
|
732
|
-
}
|
|
733
|
-
}
|
|
734
|
-
export interface RouteRule {
|
|
735
|
-
/**
|
|
736
|
-
* The timestamp of when the rule was last modified.
|
|
737
|
-
*/
|
|
738
|
-
last_updated: string;
|
|
739
|
-
/**
|
|
740
|
-
* The version of the rule.
|
|
741
|
-
*/
|
|
742
|
-
version: string;
|
|
705
|
+
export interface JSChallengeRuleParam {
|
|
743
706
|
/**
|
|
744
707
|
* The unique ID of the rule.
|
|
745
708
|
*/
|
|
@@ -747,15 +710,11 @@ export interface RouteRule {
|
|
|
747
710
|
/**
|
|
748
711
|
* The action to perform when the rule matches.
|
|
749
712
|
*/
|
|
750
|
-
action?: '
|
|
713
|
+
action?: 'js_challenge';
|
|
751
714
|
/**
|
|
752
715
|
* The parameters configuring the rule's action.
|
|
753
716
|
*/
|
|
754
|
-
action_parameters?:
|
|
755
|
-
/**
|
|
756
|
-
* The categories of the rule.
|
|
757
|
-
*/
|
|
758
|
-
categories?: Array<string>;
|
|
717
|
+
action_parameters?: unknown;
|
|
759
718
|
/**
|
|
760
719
|
* An informative description of the rule.
|
|
761
720
|
*/
|
|
@@ -771,58 +730,15 @@ export interface RouteRule {
|
|
|
771
730
|
/**
|
|
772
731
|
* An object configuring the rule's logging behavior.
|
|
773
732
|
*/
|
|
774
|
-
logging?:
|
|
733
|
+
logging?: LoggingParam;
|
|
775
734
|
/**
|
|
776
735
|
* The reference of the rule (the rule ID by default).
|
|
777
736
|
*/
|
|
778
737
|
ref?: string;
|
|
779
738
|
}
|
|
780
|
-
export
|
|
739
|
+
export interface LogRule {
|
|
781
740
|
/**
|
|
782
|
-
* The
|
|
783
|
-
*/
|
|
784
|
-
interface ActionParameters {
|
|
785
|
-
/**
|
|
786
|
-
* Rewrite the HTTP Host header.
|
|
787
|
-
*/
|
|
788
|
-
host_header?: string;
|
|
789
|
-
/**
|
|
790
|
-
* Override the IP/TCP destination.
|
|
791
|
-
*/
|
|
792
|
-
origin?: ActionParameters.Origin;
|
|
793
|
-
/**
|
|
794
|
-
* Override the Server Name Indication (SNI).
|
|
795
|
-
*/
|
|
796
|
-
sni?: ActionParameters.Sni;
|
|
797
|
-
}
|
|
798
|
-
namespace ActionParameters {
|
|
799
|
-
/**
|
|
800
|
-
* Override the IP/TCP destination.
|
|
801
|
-
*/
|
|
802
|
-
interface Origin {
|
|
803
|
-
/**
|
|
804
|
-
* Override the resolved hostname.
|
|
805
|
-
*/
|
|
806
|
-
host?: string;
|
|
807
|
-
/**
|
|
808
|
-
* Override the destination port.
|
|
809
|
-
*/
|
|
810
|
-
port?: number;
|
|
811
|
-
}
|
|
812
|
-
/**
|
|
813
|
-
* Override the Server Name Indication (SNI).
|
|
814
|
-
*/
|
|
815
|
-
interface Sni {
|
|
816
|
-
/**
|
|
817
|
-
* The SNI override.
|
|
818
|
-
*/
|
|
819
|
-
value: string;
|
|
820
|
-
}
|
|
821
|
-
}
|
|
822
|
-
}
|
|
823
|
-
export interface RulesetRule {
|
|
824
|
-
/**
|
|
825
|
-
* The timestamp of when the rule was last modified.
|
|
741
|
+
* The timestamp of when the rule was last modified.
|
|
826
742
|
*/
|
|
827
743
|
last_updated: string;
|
|
828
744
|
/**
|
|
@@ -836,7 +752,7 @@ export interface RulesetRule {
|
|
|
836
752
|
/**
|
|
837
753
|
* The action to perform when the rule matches.
|
|
838
754
|
*/
|
|
839
|
-
action?:
|
|
755
|
+
action?: 'log';
|
|
840
756
|
/**
|
|
841
757
|
* The parameters configuring the rule's action.
|
|
842
758
|
*/
|
|
@@ -866,7 +782,59 @@ export interface RulesetRule {
|
|
|
866
782
|
*/
|
|
867
783
|
ref?: string;
|
|
868
784
|
}
|
|
869
|
-
export interface
|
|
785
|
+
export interface LogRuleParam {
|
|
786
|
+
/**
|
|
787
|
+
* The unique ID of the rule.
|
|
788
|
+
*/
|
|
789
|
+
id?: string;
|
|
790
|
+
/**
|
|
791
|
+
* The action to perform when the rule matches.
|
|
792
|
+
*/
|
|
793
|
+
action?: 'log';
|
|
794
|
+
/**
|
|
795
|
+
* The parameters configuring the rule's action.
|
|
796
|
+
*/
|
|
797
|
+
action_parameters?: unknown;
|
|
798
|
+
/**
|
|
799
|
+
* An informative description of the rule.
|
|
800
|
+
*/
|
|
801
|
+
description?: string;
|
|
802
|
+
/**
|
|
803
|
+
* Whether the rule should be executed.
|
|
804
|
+
*/
|
|
805
|
+
enabled?: boolean;
|
|
806
|
+
/**
|
|
807
|
+
* The expression defining which traffic will match the rule.
|
|
808
|
+
*/
|
|
809
|
+
expression?: string;
|
|
810
|
+
/**
|
|
811
|
+
* An object configuring the rule's logging behavior.
|
|
812
|
+
*/
|
|
813
|
+
logging?: LoggingParam;
|
|
814
|
+
/**
|
|
815
|
+
* The reference of the rule (the rule ID by default).
|
|
816
|
+
*/
|
|
817
|
+
ref?: string;
|
|
818
|
+
}
|
|
819
|
+
/**
|
|
820
|
+
* An object configuring the rule's logging behavior.
|
|
821
|
+
*/
|
|
822
|
+
export interface Logging {
|
|
823
|
+
/**
|
|
824
|
+
* Whether to generate a log when the rule matches.
|
|
825
|
+
*/
|
|
826
|
+
enabled: boolean;
|
|
827
|
+
}
|
|
828
|
+
/**
|
|
829
|
+
* An object configuring the rule's logging behavior.
|
|
830
|
+
*/
|
|
831
|
+
export interface LoggingParam {
|
|
832
|
+
/**
|
|
833
|
+
* Whether to generate a log when the rule matches.
|
|
834
|
+
*/
|
|
835
|
+
enabled: boolean;
|
|
836
|
+
}
|
|
837
|
+
export interface ManagedChallengeRule {
|
|
870
838
|
/**
|
|
871
839
|
* The timestamp of when the rule was last modified.
|
|
872
840
|
*/
|
|
@@ -882,11 +850,11 @@ export interface ScoreRule {
|
|
|
882
850
|
/**
|
|
883
851
|
* The action to perform when the rule matches.
|
|
884
852
|
*/
|
|
885
|
-
action?: '
|
|
853
|
+
action?: 'managed_challenge';
|
|
886
854
|
/**
|
|
887
855
|
* The parameters configuring the rule's action.
|
|
888
856
|
*/
|
|
889
|
-
action_parameters?:
|
|
857
|
+
action_parameters?: unknown;
|
|
890
858
|
/**
|
|
891
859
|
* The categories of the rule.
|
|
892
860
|
*/
|
|
@@ -912,19 +880,41 @@ export interface ScoreRule {
|
|
|
912
880
|
*/
|
|
913
881
|
ref?: string;
|
|
914
882
|
}
|
|
915
|
-
export
|
|
883
|
+
export interface ManagedChallengeRuleParam {
|
|
884
|
+
/**
|
|
885
|
+
* The unique ID of the rule.
|
|
886
|
+
*/
|
|
887
|
+
id?: string;
|
|
888
|
+
/**
|
|
889
|
+
* The action to perform when the rule matches.
|
|
890
|
+
*/
|
|
891
|
+
action?: 'managed_challenge';
|
|
916
892
|
/**
|
|
917
893
|
* The parameters configuring the rule's action.
|
|
918
894
|
*/
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
895
|
+
action_parameters?: unknown;
|
|
896
|
+
/**
|
|
897
|
+
* An informative description of the rule.
|
|
898
|
+
*/
|
|
899
|
+
description?: string;
|
|
900
|
+
/**
|
|
901
|
+
* Whether the rule should be executed.
|
|
902
|
+
*/
|
|
903
|
+
enabled?: boolean;
|
|
904
|
+
/**
|
|
905
|
+
* The expression defining which traffic will match the rule.
|
|
906
|
+
*/
|
|
907
|
+
expression?: string;
|
|
908
|
+
/**
|
|
909
|
+
* An object configuring the rule's logging behavior.
|
|
910
|
+
*/
|
|
911
|
+
logging?: LoggingParam;
|
|
912
|
+
/**
|
|
913
|
+
* The reference of the rule (the rule ID by default).
|
|
914
|
+
*/
|
|
915
|
+
ref?: string;
|
|
926
916
|
}
|
|
927
|
-
export interface
|
|
917
|
+
export interface RedirectRule {
|
|
928
918
|
/**
|
|
929
919
|
* The timestamp of when the rule was last modified.
|
|
930
920
|
*/
|
|
@@ -940,11 +930,11 @@ export interface ServeErrorRule {
|
|
|
940
930
|
/**
|
|
941
931
|
* The action to perform when the rule matches.
|
|
942
932
|
*/
|
|
943
|
-
action?: '
|
|
933
|
+
action?: 'redirect';
|
|
944
934
|
/**
|
|
945
935
|
* The parameters configuring the rule's action.
|
|
946
936
|
*/
|
|
947
|
-
action_parameters?:
|
|
937
|
+
action_parameters?: RedirectRule.ActionParameters;
|
|
948
938
|
/**
|
|
949
939
|
* The categories of the rule.
|
|
950
940
|
*/
|
|
@@ -970,34 +960,1195 @@ export interface ServeErrorRule {
|
|
|
970
960
|
*/
|
|
971
961
|
ref?: string;
|
|
972
962
|
}
|
|
973
|
-
export declare namespace
|
|
963
|
+
export declare namespace RedirectRule {
|
|
974
964
|
/**
|
|
975
965
|
* The parameters configuring the rule's action.
|
|
976
966
|
*/
|
|
977
967
|
interface ActionParameters {
|
|
978
968
|
/**
|
|
979
|
-
*
|
|
969
|
+
* Serve a redirect based on a bulk list lookup.
|
|
980
970
|
*/
|
|
981
|
-
|
|
971
|
+
from_list?: ActionParameters.FromList;
|
|
982
972
|
/**
|
|
983
|
-
*
|
|
973
|
+
* Serve a redirect based on the request properties.
|
|
984
974
|
*/
|
|
985
|
-
|
|
975
|
+
from_value?: ActionParameters.FromValue;
|
|
976
|
+
}
|
|
977
|
+
namespace ActionParameters {
|
|
978
|
+
/**
|
|
979
|
+
* Serve a redirect based on a bulk list lookup.
|
|
980
|
+
*/
|
|
981
|
+
interface FromList {
|
|
982
|
+
/**
|
|
983
|
+
* Expression that evaluates to the list lookup key.
|
|
984
|
+
*/
|
|
985
|
+
key?: string;
|
|
986
|
+
/**
|
|
987
|
+
* The name of the list to match against.
|
|
988
|
+
*/
|
|
989
|
+
name?: string;
|
|
990
|
+
}
|
|
991
|
+
/**
|
|
992
|
+
* Serve a redirect based on the request properties.
|
|
993
|
+
*/
|
|
994
|
+
interface FromValue {
|
|
995
|
+
/**
|
|
996
|
+
* Keep the query string of the original request.
|
|
997
|
+
*/
|
|
998
|
+
preserve_query_string?: boolean;
|
|
999
|
+
/**
|
|
1000
|
+
* The status code to be used for the redirect.
|
|
1001
|
+
*/
|
|
1002
|
+
status_code?: 301 | 302 | 303 | 307 | 308;
|
|
1003
|
+
/**
|
|
1004
|
+
* The URL to redirect the request to.
|
|
1005
|
+
*/
|
|
1006
|
+
target_url?: FromValue.StaticURLRedirect | FromValue.DynamicURLRedirect;
|
|
1007
|
+
}
|
|
1008
|
+
namespace FromValue {
|
|
1009
|
+
interface StaticURLRedirect {
|
|
1010
|
+
/**
|
|
1011
|
+
* The URL to redirect the request to.
|
|
1012
|
+
*/
|
|
1013
|
+
value?: string;
|
|
1014
|
+
}
|
|
1015
|
+
interface DynamicURLRedirect {
|
|
1016
|
+
/**
|
|
1017
|
+
* An expression to evaluate to get the URL to redirect the request to.
|
|
1018
|
+
*/
|
|
1019
|
+
expression?: string;
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
export interface RedirectRuleParam {
|
|
1025
|
+
/**
|
|
1026
|
+
* The unique ID of the rule.
|
|
1027
|
+
*/
|
|
1028
|
+
id?: string;
|
|
1029
|
+
/**
|
|
1030
|
+
* The action to perform when the rule matches.
|
|
1031
|
+
*/
|
|
1032
|
+
action?: 'redirect';
|
|
1033
|
+
/**
|
|
1034
|
+
* The parameters configuring the rule's action.
|
|
1035
|
+
*/
|
|
1036
|
+
action_parameters?: RedirectRuleParam.ActionParameters;
|
|
1037
|
+
/**
|
|
1038
|
+
* An informative description of the rule.
|
|
1039
|
+
*/
|
|
1040
|
+
description?: string;
|
|
1041
|
+
/**
|
|
1042
|
+
* Whether the rule should be executed.
|
|
1043
|
+
*/
|
|
1044
|
+
enabled?: boolean;
|
|
1045
|
+
/**
|
|
1046
|
+
* The expression defining which traffic will match the rule.
|
|
1047
|
+
*/
|
|
1048
|
+
expression?: string;
|
|
1049
|
+
/**
|
|
1050
|
+
* An object configuring the rule's logging behavior.
|
|
1051
|
+
*/
|
|
1052
|
+
logging?: LoggingParam;
|
|
1053
|
+
/**
|
|
1054
|
+
* The reference of the rule (the rule ID by default).
|
|
1055
|
+
*/
|
|
1056
|
+
ref?: string;
|
|
1057
|
+
}
|
|
1058
|
+
export declare namespace RedirectRuleParam {
|
|
1059
|
+
/**
|
|
1060
|
+
* The parameters configuring the rule's action.
|
|
1061
|
+
*/
|
|
1062
|
+
interface ActionParameters {
|
|
1063
|
+
/**
|
|
1064
|
+
* Serve a redirect based on a bulk list lookup.
|
|
1065
|
+
*/
|
|
1066
|
+
from_list?: ActionParameters.FromList;
|
|
1067
|
+
/**
|
|
1068
|
+
* Serve a redirect based on the request properties.
|
|
1069
|
+
*/
|
|
1070
|
+
from_value?: ActionParameters.FromValue;
|
|
1071
|
+
}
|
|
1072
|
+
namespace ActionParameters {
|
|
1073
|
+
/**
|
|
1074
|
+
* Serve a redirect based on a bulk list lookup.
|
|
1075
|
+
*/
|
|
1076
|
+
interface FromList {
|
|
1077
|
+
/**
|
|
1078
|
+
* Expression that evaluates to the list lookup key.
|
|
1079
|
+
*/
|
|
1080
|
+
key?: string;
|
|
1081
|
+
/**
|
|
1082
|
+
* The name of the list to match against.
|
|
1083
|
+
*/
|
|
1084
|
+
name?: string;
|
|
1085
|
+
}
|
|
1086
|
+
/**
|
|
1087
|
+
* Serve a redirect based on the request properties.
|
|
1088
|
+
*/
|
|
1089
|
+
interface FromValue {
|
|
1090
|
+
/**
|
|
1091
|
+
* Keep the query string of the original request.
|
|
1092
|
+
*/
|
|
1093
|
+
preserve_query_string?: boolean;
|
|
1094
|
+
/**
|
|
1095
|
+
* The status code to be used for the redirect.
|
|
1096
|
+
*/
|
|
1097
|
+
status_code?: 301 | 302 | 303 | 307 | 308;
|
|
1098
|
+
/**
|
|
1099
|
+
* The URL to redirect the request to.
|
|
1100
|
+
*/
|
|
1101
|
+
target_url?: FromValue.StaticURLRedirect | FromValue.DynamicURLRedirect;
|
|
1102
|
+
}
|
|
1103
|
+
namespace FromValue {
|
|
1104
|
+
interface StaticURLRedirect {
|
|
1105
|
+
/**
|
|
1106
|
+
* The URL to redirect the request to.
|
|
1107
|
+
*/
|
|
1108
|
+
value?: string;
|
|
1109
|
+
}
|
|
1110
|
+
interface DynamicURLRedirect {
|
|
1111
|
+
/**
|
|
1112
|
+
* An expression to evaluate to get the URL to redirect the request to.
|
|
1113
|
+
*/
|
|
1114
|
+
expression?: string;
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
export interface RewriteRule {
|
|
1120
|
+
/**
|
|
1121
|
+
* The timestamp of when the rule was last modified.
|
|
1122
|
+
*/
|
|
1123
|
+
last_updated: string;
|
|
1124
|
+
/**
|
|
1125
|
+
* The version of the rule.
|
|
1126
|
+
*/
|
|
1127
|
+
version: string;
|
|
1128
|
+
/**
|
|
1129
|
+
* The unique ID of the rule.
|
|
1130
|
+
*/
|
|
1131
|
+
id?: string;
|
|
1132
|
+
/**
|
|
1133
|
+
* The action to perform when the rule matches.
|
|
1134
|
+
*/
|
|
1135
|
+
action?: 'rewrite';
|
|
1136
|
+
/**
|
|
1137
|
+
* The parameters configuring the rule's action.
|
|
1138
|
+
*/
|
|
1139
|
+
action_parameters?: RewriteRule.ActionParameters;
|
|
1140
|
+
/**
|
|
1141
|
+
* The categories of the rule.
|
|
1142
|
+
*/
|
|
1143
|
+
categories?: Array<string>;
|
|
1144
|
+
/**
|
|
1145
|
+
* An informative description of the rule.
|
|
1146
|
+
*/
|
|
1147
|
+
description?: string;
|
|
1148
|
+
/**
|
|
1149
|
+
* Whether the rule should be executed.
|
|
1150
|
+
*/
|
|
1151
|
+
enabled?: boolean;
|
|
1152
|
+
/**
|
|
1153
|
+
* The expression defining which traffic will match the rule.
|
|
1154
|
+
*/
|
|
1155
|
+
expression?: string;
|
|
1156
|
+
/**
|
|
1157
|
+
* An object configuring the rule's logging behavior.
|
|
1158
|
+
*/
|
|
1159
|
+
logging?: Logging;
|
|
1160
|
+
/**
|
|
1161
|
+
* The reference of the rule (the rule ID by default).
|
|
1162
|
+
*/
|
|
1163
|
+
ref?: string;
|
|
1164
|
+
}
|
|
1165
|
+
export declare namespace RewriteRule {
|
|
1166
|
+
/**
|
|
1167
|
+
* The parameters configuring the rule's action.
|
|
1168
|
+
*/
|
|
1169
|
+
interface ActionParameters {
|
|
1170
|
+
/**
|
|
1171
|
+
* Map of request headers to modify.
|
|
1172
|
+
*/
|
|
1173
|
+
headers?: Record<string, ActionParameters.RemoveHeader | ActionParameters.StaticHeader | ActionParameters.DynamicHeader>;
|
|
1174
|
+
/**
|
|
1175
|
+
* URI to rewrite the request to.
|
|
1176
|
+
*/
|
|
1177
|
+
uri?: ActionParameters.URI;
|
|
1178
|
+
}
|
|
1179
|
+
namespace ActionParameters {
|
|
1180
|
+
/**
|
|
1181
|
+
* Remove the header from the request.
|
|
1182
|
+
*/
|
|
1183
|
+
interface RemoveHeader {
|
|
1184
|
+
operation: 'remove';
|
|
1185
|
+
}
|
|
1186
|
+
/**
|
|
1187
|
+
* Set a request header with a static value.
|
|
1188
|
+
*/
|
|
1189
|
+
interface StaticHeader {
|
|
1190
|
+
operation: 'set';
|
|
1191
|
+
/**
|
|
1192
|
+
* Static value for the header.
|
|
1193
|
+
*/
|
|
1194
|
+
value: string;
|
|
1195
|
+
}
|
|
1196
|
+
/**
|
|
1197
|
+
* Set a request header with a dynamic value.
|
|
1198
|
+
*/
|
|
1199
|
+
interface DynamicHeader {
|
|
1200
|
+
/**
|
|
1201
|
+
* Expression for the header value.
|
|
1202
|
+
*/
|
|
1203
|
+
expression: string;
|
|
1204
|
+
operation: 'set';
|
|
1205
|
+
}
|
|
1206
|
+
/**
|
|
1207
|
+
* URI to rewrite the request to.
|
|
1208
|
+
*/
|
|
1209
|
+
interface URI {
|
|
1210
|
+
/**
|
|
1211
|
+
* Path portion rewrite.
|
|
1212
|
+
*/
|
|
1213
|
+
path?: RulesAPI.RewriteURIPart;
|
|
1214
|
+
/**
|
|
1215
|
+
* Query portion rewrite.
|
|
1216
|
+
*/
|
|
1217
|
+
query?: RulesAPI.RewriteURIPart;
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
}
|
|
1221
|
+
export interface RewriteRuleParam {
|
|
1222
|
+
/**
|
|
1223
|
+
* The unique ID of the rule.
|
|
1224
|
+
*/
|
|
1225
|
+
id?: string;
|
|
1226
|
+
/**
|
|
1227
|
+
* The action to perform when the rule matches.
|
|
1228
|
+
*/
|
|
1229
|
+
action?: 'rewrite';
|
|
1230
|
+
/**
|
|
1231
|
+
* The parameters configuring the rule's action.
|
|
1232
|
+
*/
|
|
1233
|
+
action_parameters?: RewriteRuleParam.ActionParameters;
|
|
1234
|
+
/**
|
|
1235
|
+
* An informative description of the rule.
|
|
1236
|
+
*/
|
|
1237
|
+
description?: string;
|
|
1238
|
+
/**
|
|
1239
|
+
* Whether the rule should be executed.
|
|
1240
|
+
*/
|
|
1241
|
+
enabled?: boolean;
|
|
1242
|
+
/**
|
|
1243
|
+
* The expression defining which traffic will match the rule.
|
|
1244
|
+
*/
|
|
1245
|
+
expression?: string;
|
|
1246
|
+
/**
|
|
1247
|
+
* An object configuring the rule's logging behavior.
|
|
1248
|
+
*/
|
|
1249
|
+
logging?: LoggingParam;
|
|
1250
|
+
/**
|
|
1251
|
+
* The reference of the rule (the rule ID by default).
|
|
1252
|
+
*/
|
|
1253
|
+
ref?: string;
|
|
1254
|
+
}
|
|
1255
|
+
export declare namespace RewriteRuleParam {
|
|
1256
|
+
/**
|
|
1257
|
+
* The parameters configuring the rule's action.
|
|
1258
|
+
*/
|
|
1259
|
+
interface ActionParameters {
|
|
1260
|
+
/**
|
|
1261
|
+
* Map of request headers to modify.
|
|
1262
|
+
*/
|
|
1263
|
+
headers?: Record<string, ActionParameters.RemoveHeader | ActionParameters.StaticHeader | ActionParameters.DynamicHeader>;
|
|
1264
|
+
/**
|
|
1265
|
+
* URI to rewrite the request to.
|
|
1266
|
+
*/
|
|
1267
|
+
uri?: ActionParameters.URI;
|
|
1268
|
+
}
|
|
1269
|
+
namespace ActionParameters {
|
|
1270
|
+
/**
|
|
1271
|
+
* Remove the header from the request.
|
|
1272
|
+
*/
|
|
1273
|
+
interface RemoveHeader {
|
|
1274
|
+
operation: 'remove';
|
|
1275
|
+
}
|
|
1276
|
+
/**
|
|
1277
|
+
* Set a request header with a static value.
|
|
1278
|
+
*/
|
|
1279
|
+
interface StaticHeader {
|
|
1280
|
+
operation: 'set';
|
|
1281
|
+
/**
|
|
1282
|
+
* Static value for the header.
|
|
1283
|
+
*/
|
|
1284
|
+
value: string;
|
|
1285
|
+
}
|
|
1286
|
+
/**
|
|
1287
|
+
* Set a request header with a dynamic value.
|
|
1288
|
+
*/
|
|
1289
|
+
interface DynamicHeader {
|
|
1290
|
+
/**
|
|
1291
|
+
* Expression for the header value.
|
|
1292
|
+
*/
|
|
1293
|
+
expression: string;
|
|
1294
|
+
operation: 'set';
|
|
1295
|
+
}
|
|
1296
|
+
/**
|
|
1297
|
+
* URI to rewrite the request to.
|
|
1298
|
+
*/
|
|
1299
|
+
interface URI {
|
|
1300
|
+
/**
|
|
1301
|
+
* Path portion rewrite.
|
|
1302
|
+
*/
|
|
1303
|
+
path?: RulesAPI.RewriteURIPartParam;
|
|
1304
|
+
/**
|
|
1305
|
+
* Query portion rewrite.
|
|
1306
|
+
*/
|
|
1307
|
+
query?: RulesAPI.RewriteURIPartParam;
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1311
|
+
export type RewriteURIPart = RewriteURIPart.StaticValue | RewriteURIPart.DynamicValue;
|
|
1312
|
+
export declare namespace RewriteURIPart {
|
|
1313
|
+
interface StaticValue {
|
|
1314
|
+
/**
|
|
1315
|
+
* Predefined replacement value.
|
|
1316
|
+
*/
|
|
1317
|
+
value: string;
|
|
1318
|
+
}
|
|
1319
|
+
interface DynamicValue {
|
|
1320
|
+
/**
|
|
1321
|
+
* Expression to evaluate for the replacement value.
|
|
1322
|
+
*/
|
|
1323
|
+
expression: string;
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
export type RewriteURIPartParam = RewriteURIPartParam.StaticValue | RewriteURIPartParam.DynamicValue;
|
|
1327
|
+
export declare namespace RewriteURIPartParam {
|
|
1328
|
+
interface StaticValue {
|
|
1329
|
+
/**
|
|
1330
|
+
* Predefined replacement value.
|
|
1331
|
+
*/
|
|
1332
|
+
value: string;
|
|
1333
|
+
}
|
|
1334
|
+
interface DynamicValue {
|
|
1335
|
+
/**
|
|
1336
|
+
* Expression to evaluate for the replacement value.
|
|
1337
|
+
*/
|
|
1338
|
+
expression: string;
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
export interface RouteRule {
|
|
1342
|
+
/**
|
|
1343
|
+
* The timestamp of when the rule was last modified.
|
|
1344
|
+
*/
|
|
1345
|
+
last_updated: string;
|
|
1346
|
+
/**
|
|
1347
|
+
* The version of the rule.
|
|
1348
|
+
*/
|
|
1349
|
+
version: string;
|
|
1350
|
+
/**
|
|
1351
|
+
* The unique ID of the rule.
|
|
1352
|
+
*/
|
|
1353
|
+
id?: string;
|
|
1354
|
+
/**
|
|
1355
|
+
* The action to perform when the rule matches.
|
|
1356
|
+
*/
|
|
1357
|
+
action?: 'route';
|
|
1358
|
+
/**
|
|
1359
|
+
* The parameters configuring the rule's action.
|
|
1360
|
+
*/
|
|
1361
|
+
action_parameters?: RouteRule.ActionParameters;
|
|
1362
|
+
/**
|
|
1363
|
+
* The categories of the rule.
|
|
1364
|
+
*/
|
|
1365
|
+
categories?: Array<string>;
|
|
1366
|
+
/**
|
|
1367
|
+
* An informative description of the rule.
|
|
1368
|
+
*/
|
|
1369
|
+
description?: string;
|
|
1370
|
+
/**
|
|
1371
|
+
* Whether the rule should be executed.
|
|
1372
|
+
*/
|
|
1373
|
+
enabled?: boolean;
|
|
1374
|
+
/**
|
|
1375
|
+
* The expression defining which traffic will match the rule.
|
|
1376
|
+
*/
|
|
1377
|
+
expression?: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* An object configuring the rule's logging behavior.
|
|
1380
|
+
*/
|
|
1381
|
+
logging?: Logging;
|
|
1382
|
+
/**
|
|
1383
|
+
* The reference of the rule (the rule ID by default).
|
|
1384
|
+
*/
|
|
1385
|
+
ref?: string;
|
|
1386
|
+
}
|
|
1387
|
+
export declare namespace RouteRule {
|
|
1388
|
+
/**
|
|
1389
|
+
* The parameters configuring the rule's action.
|
|
1390
|
+
*/
|
|
1391
|
+
interface ActionParameters {
|
|
1392
|
+
/**
|
|
1393
|
+
* Rewrite the HTTP Host header.
|
|
1394
|
+
*/
|
|
1395
|
+
host_header?: string;
|
|
1396
|
+
/**
|
|
1397
|
+
* Override the IP/TCP destination.
|
|
1398
|
+
*/
|
|
1399
|
+
origin?: ActionParameters.Origin;
|
|
1400
|
+
/**
|
|
1401
|
+
* Override the Server Name Indication (SNI).
|
|
1402
|
+
*/
|
|
1403
|
+
sni?: ActionParameters.SNI;
|
|
1404
|
+
}
|
|
1405
|
+
namespace ActionParameters {
|
|
1406
|
+
/**
|
|
1407
|
+
* Override the IP/TCP destination.
|
|
1408
|
+
*/
|
|
1409
|
+
interface Origin {
|
|
1410
|
+
/**
|
|
1411
|
+
* Override the resolved hostname.
|
|
1412
|
+
*/
|
|
1413
|
+
host?: string;
|
|
1414
|
+
/**
|
|
1415
|
+
* Override the destination port.
|
|
1416
|
+
*/
|
|
1417
|
+
port?: number;
|
|
1418
|
+
}
|
|
1419
|
+
/**
|
|
1420
|
+
* Override the Server Name Indication (SNI).
|
|
1421
|
+
*/
|
|
1422
|
+
interface SNI {
|
|
1423
|
+
/**
|
|
1424
|
+
* The SNI override.
|
|
1425
|
+
*/
|
|
1426
|
+
value: string;
|
|
1427
|
+
}
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
export interface RouteRuleParam {
|
|
1431
|
+
/**
|
|
1432
|
+
* The unique ID of the rule.
|
|
1433
|
+
*/
|
|
1434
|
+
id?: string;
|
|
1435
|
+
/**
|
|
1436
|
+
* The action to perform when the rule matches.
|
|
1437
|
+
*/
|
|
1438
|
+
action?: 'route';
|
|
1439
|
+
/**
|
|
1440
|
+
* The parameters configuring the rule's action.
|
|
1441
|
+
*/
|
|
1442
|
+
action_parameters?: RouteRuleParam.ActionParameters;
|
|
1443
|
+
/**
|
|
1444
|
+
* An informative description of the rule.
|
|
1445
|
+
*/
|
|
1446
|
+
description?: string;
|
|
1447
|
+
/**
|
|
1448
|
+
* Whether the rule should be executed.
|
|
1449
|
+
*/
|
|
1450
|
+
enabled?: boolean;
|
|
1451
|
+
/**
|
|
1452
|
+
* The expression defining which traffic will match the rule.
|
|
1453
|
+
*/
|
|
1454
|
+
expression?: string;
|
|
1455
|
+
/**
|
|
1456
|
+
* An object configuring the rule's logging behavior.
|
|
1457
|
+
*/
|
|
1458
|
+
logging?: LoggingParam;
|
|
1459
|
+
/**
|
|
1460
|
+
* The reference of the rule (the rule ID by default).
|
|
1461
|
+
*/
|
|
1462
|
+
ref?: string;
|
|
1463
|
+
}
|
|
1464
|
+
export declare namespace RouteRuleParam {
|
|
1465
|
+
/**
|
|
1466
|
+
* The parameters configuring the rule's action.
|
|
1467
|
+
*/
|
|
1468
|
+
interface ActionParameters {
|
|
1469
|
+
/**
|
|
1470
|
+
* Rewrite the HTTP Host header.
|
|
1471
|
+
*/
|
|
1472
|
+
host_header?: string;
|
|
1473
|
+
/**
|
|
1474
|
+
* Override the IP/TCP destination.
|
|
1475
|
+
*/
|
|
1476
|
+
origin?: ActionParameters.Origin;
|
|
1477
|
+
/**
|
|
1478
|
+
* Override the Server Name Indication (SNI).
|
|
1479
|
+
*/
|
|
1480
|
+
sni?: ActionParameters.SNI;
|
|
1481
|
+
}
|
|
1482
|
+
namespace ActionParameters {
|
|
1483
|
+
/**
|
|
1484
|
+
* Override the IP/TCP destination.
|
|
1485
|
+
*/
|
|
1486
|
+
interface Origin {
|
|
1487
|
+
/**
|
|
1488
|
+
* Override the resolved hostname.
|
|
1489
|
+
*/
|
|
1490
|
+
host?: string;
|
|
1491
|
+
/**
|
|
1492
|
+
* Override the destination port.
|
|
1493
|
+
*/
|
|
1494
|
+
port?: number;
|
|
1495
|
+
}
|
|
1496
|
+
/**
|
|
1497
|
+
* Override the Server Name Indication (SNI).
|
|
1498
|
+
*/
|
|
1499
|
+
interface SNI {
|
|
1500
|
+
/**
|
|
1501
|
+
* The SNI override.
|
|
1502
|
+
*/
|
|
1503
|
+
value: string;
|
|
1504
|
+
}
|
|
1505
|
+
}
|
|
1506
|
+
}
|
|
1507
|
+
export interface RulesetRule {
|
|
1508
|
+
/**
|
|
1509
|
+
* The timestamp of when the rule was last modified.
|
|
1510
|
+
*/
|
|
1511
|
+
last_updated: string;
|
|
1512
|
+
/**
|
|
1513
|
+
* The version of the rule.
|
|
1514
|
+
*/
|
|
1515
|
+
version: string;
|
|
1516
|
+
/**
|
|
1517
|
+
* The unique ID of the rule.
|
|
1518
|
+
*/
|
|
1519
|
+
id?: string;
|
|
1520
|
+
/**
|
|
1521
|
+
* The action to perform when the rule matches.
|
|
1522
|
+
*/
|
|
1523
|
+
action?: string;
|
|
1524
|
+
/**
|
|
1525
|
+
* The parameters configuring the rule's action.
|
|
1526
|
+
*/
|
|
1527
|
+
action_parameters?: unknown;
|
|
1528
|
+
/**
|
|
1529
|
+
* The categories of the rule.
|
|
1530
|
+
*/
|
|
1531
|
+
categories?: Array<string>;
|
|
1532
|
+
/**
|
|
1533
|
+
* An informative description of the rule.
|
|
1534
|
+
*/
|
|
1535
|
+
description?: string;
|
|
1536
|
+
/**
|
|
1537
|
+
* Whether the rule should be executed.
|
|
1538
|
+
*/
|
|
1539
|
+
enabled?: boolean;
|
|
1540
|
+
/**
|
|
1541
|
+
* The expression defining which traffic will match the rule.
|
|
1542
|
+
*/
|
|
1543
|
+
expression?: string;
|
|
1544
|
+
/**
|
|
1545
|
+
* An object configuring the rule's logging behavior.
|
|
1546
|
+
*/
|
|
1547
|
+
logging?: Logging;
|
|
1548
|
+
/**
|
|
1549
|
+
* The reference of the rule (the rule ID by default).
|
|
1550
|
+
*/
|
|
1551
|
+
ref?: string;
|
|
1552
|
+
}
|
|
1553
|
+
export interface ScoreRule {
|
|
1554
|
+
/**
|
|
1555
|
+
* The timestamp of when the rule was last modified.
|
|
1556
|
+
*/
|
|
1557
|
+
last_updated: string;
|
|
1558
|
+
/**
|
|
1559
|
+
* The version of the rule.
|
|
1560
|
+
*/
|
|
1561
|
+
version: string;
|
|
1562
|
+
/**
|
|
1563
|
+
* The unique ID of the rule.
|
|
1564
|
+
*/
|
|
1565
|
+
id?: string;
|
|
1566
|
+
/**
|
|
1567
|
+
* The action to perform when the rule matches.
|
|
1568
|
+
*/
|
|
1569
|
+
action?: 'score';
|
|
1570
|
+
/**
|
|
1571
|
+
* The parameters configuring the rule's action.
|
|
1572
|
+
*/
|
|
1573
|
+
action_parameters?: ScoreRule.ActionParameters;
|
|
1574
|
+
/**
|
|
1575
|
+
* The categories of the rule.
|
|
1576
|
+
*/
|
|
1577
|
+
categories?: Array<string>;
|
|
1578
|
+
/**
|
|
1579
|
+
* An informative description of the rule.
|
|
1580
|
+
*/
|
|
1581
|
+
description?: string;
|
|
1582
|
+
/**
|
|
1583
|
+
* Whether the rule should be executed.
|
|
1584
|
+
*/
|
|
1585
|
+
enabled?: boolean;
|
|
1586
|
+
/**
|
|
1587
|
+
* The expression defining which traffic will match the rule.
|
|
1588
|
+
*/
|
|
1589
|
+
expression?: string;
|
|
1590
|
+
/**
|
|
1591
|
+
* An object configuring the rule's logging behavior.
|
|
1592
|
+
*/
|
|
1593
|
+
logging?: Logging;
|
|
1594
|
+
/**
|
|
1595
|
+
* The reference of the rule (the rule ID by default).
|
|
1596
|
+
*/
|
|
1597
|
+
ref?: string;
|
|
1598
|
+
}
|
|
1599
|
+
export declare namespace ScoreRule {
|
|
1600
|
+
/**
|
|
1601
|
+
* The parameters configuring the rule's action.
|
|
1602
|
+
*/
|
|
1603
|
+
interface ActionParameters {
|
|
1604
|
+
/**
|
|
1605
|
+
* Increment contains the delta to change the score and can be either positive or
|
|
1606
|
+
* negative.
|
|
1607
|
+
*/
|
|
1608
|
+
increment?: number;
|
|
1609
|
+
}
|
|
1610
|
+
}
|
|
1611
|
+
export interface ScoreRuleParam {
|
|
1612
|
+
/**
|
|
1613
|
+
* The unique ID of the rule.
|
|
1614
|
+
*/
|
|
1615
|
+
id?: string;
|
|
1616
|
+
/**
|
|
1617
|
+
* The action to perform when the rule matches.
|
|
1618
|
+
*/
|
|
1619
|
+
action?: 'score';
|
|
1620
|
+
/**
|
|
1621
|
+
* The parameters configuring the rule's action.
|
|
1622
|
+
*/
|
|
1623
|
+
action_parameters?: ScoreRuleParam.ActionParameters;
|
|
1624
|
+
/**
|
|
1625
|
+
* An informative description of the rule.
|
|
1626
|
+
*/
|
|
1627
|
+
description?: string;
|
|
1628
|
+
/**
|
|
1629
|
+
* Whether the rule should be executed.
|
|
1630
|
+
*/
|
|
1631
|
+
enabled?: boolean;
|
|
1632
|
+
/**
|
|
1633
|
+
* The expression defining which traffic will match the rule.
|
|
1634
|
+
*/
|
|
1635
|
+
expression?: string;
|
|
1636
|
+
/**
|
|
1637
|
+
* An object configuring the rule's logging behavior.
|
|
1638
|
+
*/
|
|
1639
|
+
logging?: LoggingParam;
|
|
1640
|
+
/**
|
|
1641
|
+
* The reference of the rule (the rule ID by default).
|
|
1642
|
+
*/
|
|
1643
|
+
ref?: string;
|
|
1644
|
+
}
|
|
1645
|
+
export declare namespace ScoreRuleParam {
|
|
1646
|
+
/**
|
|
1647
|
+
* The parameters configuring the rule's action.
|
|
1648
|
+
*/
|
|
1649
|
+
interface ActionParameters {
|
|
1650
|
+
/**
|
|
1651
|
+
* Increment contains the delta to change the score and can be either positive or
|
|
1652
|
+
* negative.
|
|
1653
|
+
*/
|
|
1654
|
+
increment?: number;
|
|
1655
|
+
}
|
|
1656
|
+
}
|
|
1657
|
+
export interface ServeErrorRule {
|
|
1658
|
+
/**
|
|
1659
|
+
* The timestamp of when the rule was last modified.
|
|
1660
|
+
*/
|
|
1661
|
+
last_updated: string;
|
|
1662
|
+
/**
|
|
1663
|
+
* The version of the rule.
|
|
1664
|
+
*/
|
|
1665
|
+
version: string;
|
|
1666
|
+
/**
|
|
1667
|
+
* The unique ID of the rule.
|
|
1668
|
+
*/
|
|
1669
|
+
id?: string;
|
|
1670
|
+
/**
|
|
1671
|
+
* The action to perform when the rule matches.
|
|
1672
|
+
*/
|
|
1673
|
+
action?: 'serve_error';
|
|
1674
|
+
/**
|
|
1675
|
+
* The parameters configuring the rule's action.
|
|
1676
|
+
*/
|
|
1677
|
+
action_parameters?: ServeErrorRule.ActionParameters;
|
|
1678
|
+
/**
|
|
1679
|
+
* The categories of the rule.
|
|
1680
|
+
*/
|
|
1681
|
+
categories?: Array<string>;
|
|
1682
|
+
/**
|
|
1683
|
+
* An informative description of the rule.
|
|
1684
|
+
*/
|
|
1685
|
+
description?: string;
|
|
1686
|
+
/**
|
|
1687
|
+
* Whether the rule should be executed.
|
|
1688
|
+
*/
|
|
1689
|
+
enabled?: boolean;
|
|
1690
|
+
/**
|
|
1691
|
+
* The expression defining which traffic will match the rule.
|
|
1692
|
+
*/
|
|
1693
|
+
expression?: string;
|
|
1694
|
+
/**
|
|
1695
|
+
* An object configuring the rule's logging behavior.
|
|
1696
|
+
*/
|
|
1697
|
+
logging?: Logging;
|
|
1698
|
+
/**
|
|
1699
|
+
* The reference of the rule (the rule ID by default).
|
|
1700
|
+
*/
|
|
1701
|
+
ref?: string;
|
|
1702
|
+
}
|
|
1703
|
+
export declare namespace ServeErrorRule {
|
|
1704
|
+
/**
|
|
1705
|
+
* The parameters configuring the rule's action.
|
|
1706
|
+
*/
|
|
1707
|
+
interface ActionParameters {
|
|
1708
|
+
/**
|
|
1709
|
+
* Error response content.
|
|
1710
|
+
*/
|
|
1711
|
+
content?: string;
|
|
1712
|
+
/**
|
|
1713
|
+
* Content-type header to set with the response.
|
|
1714
|
+
*/
|
|
1715
|
+
content_type?: 'application/json' | 'text/xml' | 'text/plain' | 'text/html';
|
|
1716
|
+
/**
|
|
1717
|
+
* The status code to use for the error.
|
|
1718
|
+
*/
|
|
1719
|
+
status_code?: number;
|
|
1720
|
+
}
|
|
1721
|
+
}
|
|
1722
|
+
export interface ServeErrorRuleParam {
|
|
1723
|
+
/**
|
|
1724
|
+
* The unique ID of the rule.
|
|
1725
|
+
*/
|
|
1726
|
+
id?: string;
|
|
1727
|
+
/**
|
|
1728
|
+
* The action to perform when the rule matches.
|
|
1729
|
+
*/
|
|
1730
|
+
action?: 'serve_error';
|
|
1731
|
+
/**
|
|
1732
|
+
* The parameters configuring the rule's action.
|
|
1733
|
+
*/
|
|
1734
|
+
action_parameters?: ServeErrorRuleParam.ActionParameters;
|
|
1735
|
+
/**
|
|
1736
|
+
* An informative description of the rule.
|
|
1737
|
+
*/
|
|
1738
|
+
description?: string;
|
|
1739
|
+
/**
|
|
1740
|
+
* Whether the rule should be executed.
|
|
1741
|
+
*/
|
|
1742
|
+
enabled?: boolean;
|
|
1743
|
+
/**
|
|
1744
|
+
* The expression defining which traffic will match the rule.
|
|
1745
|
+
*/
|
|
1746
|
+
expression?: string;
|
|
1747
|
+
/**
|
|
1748
|
+
* An object configuring the rule's logging behavior.
|
|
1749
|
+
*/
|
|
1750
|
+
logging?: LoggingParam;
|
|
1751
|
+
/**
|
|
1752
|
+
* The reference of the rule (the rule ID by default).
|
|
1753
|
+
*/
|
|
1754
|
+
ref?: string;
|
|
1755
|
+
}
|
|
1756
|
+
export declare namespace ServeErrorRuleParam {
|
|
1757
|
+
/**
|
|
1758
|
+
* The parameters configuring the rule's action.
|
|
1759
|
+
*/
|
|
1760
|
+
interface ActionParameters {
|
|
1761
|
+
/**
|
|
1762
|
+
* Error response content.
|
|
1763
|
+
*/
|
|
1764
|
+
content?: string;
|
|
1765
|
+
/**
|
|
1766
|
+
* Content-type header to set with the response.
|
|
1767
|
+
*/
|
|
1768
|
+
content_type?: 'application/json' | 'text/xml' | 'text/plain' | 'text/html';
|
|
1769
|
+
/**
|
|
1770
|
+
* The status code to use for the error.
|
|
1771
|
+
*/
|
|
1772
|
+
status_code?: number;
|
|
1773
|
+
}
|
|
1774
|
+
}
|
|
1775
|
+
export interface SetCacheSettingsRule {
|
|
1776
|
+
/**
|
|
1777
|
+
* The timestamp of when the rule was last modified.
|
|
1778
|
+
*/
|
|
1779
|
+
last_updated: string;
|
|
1780
|
+
/**
|
|
1781
|
+
* The version of the rule.
|
|
1782
|
+
*/
|
|
1783
|
+
version: string;
|
|
1784
|
+
/**
|
|
1785
|
+
* The unique ID of the rule.
|
|
1786
|
+
*/
|
|
1787
|
+
id?: string;
|
|
1788
|
+
/**
|
|
1789
|
+
* The action to perform when the rule matches.
|
|
1790
|
+
*/
|
|
1791
|
+
action?: 'set_cache_settings';
|
|
1792
|
+
/**
|
|
1793
|
+
* The parameters configuring the rule's action.
|
|
1794
|
+
*/
|
|
1795
|
+
action_parameters?: SetCacheSettingsRule.ActionParameters;
|
|
1796
|
+
/**
|
|
1797
|
+
* The categories of the rule.
|
|
1798
|
+
*/
|
|
1799
|
+
categories?: Array<string>;
|
|
1800
|
+
/**
|
|
1801
|
+
* An informative description of the rule.
|
|
1802
|
+
*/
|
|
1803
|
+
description?: string;
|
|
1804
|
+
/**
|
|
1805
|
+
* Whether the rule should be executed.
|
|
1806
|
+
*/
|
|
1807
|
+
enabled?: boolean;
|
|
1808
|
+
/**
|
|
1809
|
+
* The expression defining which traffic will match the rule.
|
|
1810
|
+
*/
|
|
1811
|
+
expression?: string;
|
|
1812
|
+
/**
|
|
1813
|
+
* An object configuring the rule's logging behavior.
|
|
1814
|
+
*/
|
|
1815
|
+
logging?: Logging;
|
|
1816
|
+
/**
|
|
1817
|
+
* The reference of the rule (the rule ID by default).
|
|
1818
|
+
*/
|
|
1819
|
+
ref?: string;
|
|
1820
|
+
}
|
|
1821
|
+
export declare namespace SetCacheSettingsRule {
|
|
1822
|
+
/**
|
|
1823
|
+
* The parameters configuring the rule's action.
|
|
1824
|
+
*/
|
|
1825
|
+
interface ActionParameters {
|
|
1826
|
+
/**
|
|
1827
|
+
* List of additional ports that caching can be enabled on.
|
|
1828
|
+
*/
|
|
1829
|
+
additional_cacheable_ports?: Array<number>;
|
|
1830
|
+
/**
|
|
1831
|
+
* Specify how long client browsers should cache the response. Cloudflare cache
|
|
1832
|
+
* purge will not purge content cached on client browsers, so high browser TTLs may
|
|
1833
|
+
* lead to stale content.
|
|
1834
|
+
*/
|
|
1835
|
+
browser_ttl?: ActionParameters.BrowserTTL;
|
|
1836
|
+
/**
|
|
1837
|
+
* Mark whether the request’s response from origin is eligible for caching. Caching
|
|
1838
|
+
* itself will still depend on the cache-control header and your other caching
|
|
1839
|
+
* configurations.
|
|
1840
|
+
*/
|
|
1841
|
+
cache?: boolean;
|
|
1842
|
+
/**
|
|
1843
|
+
* Define which components of the request are included or excluded from the cache
|
|
1844
|
+
* key Cloudflare uses to store the response in cache.
|
|
1845
|
+
*/
|
|
1846
|
+
cache_key?: ActionParameters.CacheKey;
|
|
1847
|
+
/**
|
|
1848
|
+
* Mark whether the request's response from origin is eligible for Cache Reserve
|
|
1849
|
+
* (requires a Cache Reserve add-on plan).
|
|
1850
|
+
*/
|
|
1851
|
+
cache_reserve?: ActionParameters.CacheReserve;
|
|
1852
|
+
/**
|
|
1853
|
+
* TTL (Time to Live) specifies the maximum time to cache a resource in the
|
|
1854
|
+
* Cloudflare edge network.
|
|
1855
|
+
*/
|
|
1856
|
+
edge_ttl?: ActionParameters.EdgeTTL;
|
|
1857
|
+
/**
|
|
1858
|
+
* When enabled, Cloudflare will aim to strictly adhere to RFC 7234.
|
|
1859
|
+
*/
|
|
1860
|
+
origin_cache_control?: boolean;
|
|
1861
|
+
/**
|
|
1862
|
+
* Generate Cloudflare error pages from issues sent from the origin server. When
|
|
1863
|
+
* on, error pages will trigger for issues from the origin
|
|
1864
|
+
*/
|
|
1865
|
+
origin_error_page_passthru?: boolean;
|
|
1866
|
+
/**
|
|
1867
|
+
* Define a timeout value between two successive read operations to your origin
|
|
1868
|
+
* server. Historically, the timeout value between two read options from Cloudflare
|
|
1869
|
+
* to an origin server is 100 seconds. If you are attempting to reduce HTTP 524
|
|
1870
|
+
* errors because of timeouts from an origin server, try increasing this timeout
|
|
1871
|
+
* value.
|
|
1872
|
+
*/
|
|
1873
|
+
read_timeout?: number;
|
|
1874
|
+
/**
|
|
1875
|
+
* Specify whether or not Cloudflare should respect strong ETag (entity tag)
|
|
1876
|
+
* headers. When off, Cloudflare converts strong ETag headers to weak ETag headers.
|
|
1877
|
+
*/
|
|
1878
|
+
respect_strong_etags?: boolean;
|
|
1879
|
+
/**
|
|
1880
|
+
* Define if Cloudflare should serve stale content while getting the latest content
|
|
1881
|
+
* from the origin. If on, Cloudflare will not serve stale content while getting
|
|
1882
|
+
* the latest content from the origin.
|
|
1883
|
+
*/
|
|
1884
|
+
serve_stale?: ActionParameters.ServeStale;
|
|
1885
|
+
}
|
|
1886
|
+
namespace ActionParameters {
|
|
1887
|
+
/**
|
|
1888
|
+
* Specify how long client browsers should cache the response. Cloudflare cache
|
|
1889
|
+
* purge will not purge content cached on client browsers, so high browser TTLs may
|
|
1890
|
+
* lead to stale content.
|
|
1891
|
+
*/
|
|
1892
|
+
interface BrowserTTL {
|
|
1893
|
+
/**
|
|
1894
|
+
* Determines which browser ttl mode to use.
|
|
1895
|
+
*/
|
|
1896
|
+
mode: 'respect_origin' | 'bypass_by_default' | 'override_origin';
|
|
1897
|
+
/**
|
|
1898
|
+
* The TTL (in seconds) if you choose override_origin mode.
|
|
1899
|
+
*/
|
|
1900
|
+
default?: number;
|
|
1901
|
+
}
|
|
1902
|
+
/**
|
|
1903
|
+
* Define which components of the request are included or excluded from the cache
|
|
1904
|
+
* key Cloudflare uses to store the response in cache.
|
|
1905
|
+
*/
|
|
1906
|
+
interface CacheKey {
|
|
1907
|
+
/**
|
|
1908
|
+
* Separate cached content based on the visitor’s device type
|
|
1909
|
+
*/
|
|
1910
|
+
cache_by_device_type?: boolean;
|
|
1911
|
+
/**
|
|
1912
|
+
* Protect from web cache deception attacks while allowing static assets to be
|
|
1913
|
+
* cached
|
|
1914
|
+
*/
|
|
1915
|
+
cache_deception_armor?: boolean;
|
|
1916
|
+
/**
|
|
1917
|
+
* Customize which components of the request are included or excluded from the
|
|
1918
|
+
* cache key.
|
|
1919
|
+
*/
|
|
1920
|
+
custom_key?: CacheKey.CustomKey;
|
|
1921
|
+
/**
|
|
1922
|
+
* Treat requests with the same query parameters the same, regardless of the order
|
|
1923
|
+
* those query parameters are in. A value of true ignores the query strings' order.
|
|
1924
|
+
*/
|
|
1925
|
+
ignore_query_strings_order?: boolean;
|
|
1926
|
+
}
|
|
1927
|
+
namespace CacheKey {
|
|
1928
|
+
/**
|
|
1929
|
+
* Customize which components of the request are included or excluded from the
|
|
1930
|
+
* cache key.
|
|
1931
|
+
*/
|
|
1932
|
+
interface CustomKey {
|
|
1933
|
+
/**
|
|
1934
|
+
* The cookies to include in building the cache key.
|
|
1935
|
+
*/
|
|
1936
|
+
cookie?: CustomKey.Cookie;
|
|
1937
|
+
/**
|
|
1938
|
+
* The header names and values to include in building the cache key.
|
|
1939
|
+
*/
|
|
1940
|
+
header?: CustomKey.Header;
|
|
1941
|
+
/**
|
|
1942
|
+
* Whether to use the original host or the resolved host in the cache key.
|
|
1943
|
+
*/
|
|
1944
|
+
host?: CustomKey.Host;
|
|
1945
|
+
/**
|
|
1946
|
+
* Use the presence or absence of parameters in the query string to build the cache
|
|
1947
|
+
* key.
|
|
1948
|
+
*/
|
|
1949
|
+
query_string?: CustomKey.QueryString;
|
|
1950
|
+
/**
|
|
1951
|
+
* Characteristics of the request user agent used in building the cache key.
|
|
1952
|
+
*/
|
|
1953
|
+
user?: CustomKey.User;
|
|
1954
|
+
}
|
|
1955
|
+
namespace CustomKey {
|
|
1956
|
+
/**
|
|
1957
|
+
* The cookies to include in building the cache key.
|
|
1958
|
+
*/
|
|
1959
|
+
interface Cookie {
|
|
1960
|
+
/**
|
|
1961
|
+
* Checks for the presence of these cookie names. The presence of these cookies is
|
|
1962
|
+
* used in building the cache key.
|
|
1963
|
+
*/
|
|
1964
|
+
check_presence?: Array<string>;
|
|
1965
|
+
/**
|
|
1966
|
+
* Include these cookies' names and their values.
|
|
1967
|
+
*/
|
|
1968
|
+
include?: Array<string>;
|
|
1969
|
+
}
|
|
1970
|
+
/**
|
|
1971
|
+
* The header names and values to include in building the cache key.
|
|
1972
|
+
*/
|
|
1973
|
+
interface Header {
|
|
1974
|
+
/**
|
|
1975
|
+
* Checks for the presence of these header names. The presence of these headers is
|
|
1976
|
+
* used in building the cache key.
|
|
1977
|
+
*/
|
|
1978
|
+
check_presence?: Array<string>;
|
|
1979
|
+
/**
|
|
1980
|
+
* Whether or not to include the origin header. A value of true will exclude the
|
|
1981
|
+
* origin header in the cache key.
|
|
1982
|
+
*/
|
|
1983
|
+
exclude_origin?: boolean;
|
|
1984
|
+
/**
|
|
1985
|
+
* Include these headers' names and their values.
|
|
1986
|
+
*/
|
|
1987
|
+
include?: Array<string>;
|
|
1988
|
+
}
|
|
1989
|
+
/**
|
|
1990
|
+
* Whether to use the original host or the resolved host in the cache key.
|
|
1991
|
+
*/
|
|
1992
|
+
interface Host {
|
|
1993
|
+
/**
|
|
1994
|
+
* Use the resolved host in the cache key. A value of true will use the resolved
|
|
1995
|
+
* host, while a value or false will use the original host.
|
|
1996
|
+
*/
|
|
1997
|
+
resolved?: boolean;
|
|
1998
|
+
}
|
|
1999
|
+
/**
|
|
2000
|
+
* Use the presence or absence of parameters in the query string to build the cache
|
|
2001
|
+
* key.
|
|
2002
|
+
*/
|
|
2003
|
+
interface QueryString {
|
|
2004
|
+
/**
|
|
2005
|
+
* build the cache key using all query string parameters EXCECPT these excluded
|
|
2006
|
+
* parameters
|
|
2007
|
+
*/
|
|
2008
|
+
exclude?: QueryString.Exclude;
|
|
2009
|
+
/**
|
|
2010
|
+
* build the cache key using a list of query string parameters that ARE in the
|
|
2011
|
+
* request.
|
|
2012
|
+
*/
|
|
2013
|
+
include?: QueryString.Include;
|
|
2014
|
+
}
|
|
2015
|
+
namespace QueryString {
|
|
2016
|
+
/**
|
|
2017
|
+
* build the cache key using all query string parameters EXCECPT these excluded
|
|
2018
|
+
* parameters
|
|
2019
|
+
*/
|
|
2020
|
+
interface Exclude {
|
|
2021
|
+
/**
|
|
2022
|
+
* Exclude all query string parameters from use in building the cache key.
|
|
2023
|
+
*/
|
|
2024
|
+
all?: boolean;
|
|
2025
|
+
/**
|
|
2026
|
+
* A list of query string parameters NOT used to build the cache key. All
|
|
2027
|
+
* parameters present in the request but missing in this list will be used to build
|
|
2028
|
+
* the cache key.
|
|
2029
|
+
*/
|
|
2030
|
+
list?: Array<string>;
|
|
2031
|
+
}
|
|
2032
|
+
/**
|
|
2033
|
+
* build the cache key using a list of query string parameters that ARE in the
|
|
2034
|
+
* request.
|
|
2035
|
+
*/
|
|
2036
|
+
interface Include {
|
|
2037
|
+
/**
|
|
2038
|
+
* Use all query string parameters in the cache key.
|
|
2039
|
+
*/
|
|
2040
|
+
all?: boolean;
|
|
2041
|
+
/**
|
|
2042
|
+
* A list of query string parameters used to build the cache key.
|
|
2043
|
+
*/
|
|
2044
|
+
list?: Array<string>;
|
|
2045
|
+
}
|
|
2046
|
+
}
|
|
2047
|
+
/**
|
|
2048
|
+
* Characteristics of the request user agent used in building the cache key.
|
|
2049
|
+
*/
|
|
2050
|
+
interface User {
|
|
2051
|
+
/**
|
|
2052
|
+
* Use the user agent's device type in the cache key.
|
|
2053
|
+
*/
|
|
2054
|
+
device_type?: boolean;
|
|
2055
|
+
/**
|
|
2056
|
+
* Use the user agents's country in the cache key.
|
|
2057
|
+
*/
|
|
2058
|
+
geo?: boolean;
|
|
2059
|
+
/**
|
|
2060
|
+
* Use the user agent's language in the cache key.
|
|
2061
|
+
*/
|
|
2062
|
+
lang?: boolean;
|
|
2063
|
+
}
|
|
2064
|
+
}
|
|
2065
|
+
}
|
|
2066
|
+
/**
|
|
2067
|
+
* Mark whether the request's response from origin is eligible for Cache Reserve
|
|
2068
|
+
* (requires a Cache Reserve add-on plan).
|
|
2069
|
+
*/
|
|
2070
|
+
interface CacheReserve {
|
|
2071
|
+
/**
|
|
2072
|
+
* Determines whether cache reserve is enabled. If this is true and a request meets
|
|
2073
|
+
* eligibility criteria, Cloudflare will write the resource to cache reserve.
|
|
2074
|
+
*/
|
|
2075
|
+
eligible: boolean;
|
|
2076
|
+
/**
|
|
2077
|
+
* The minimum file size eligible for store in cache reserve.
|
|
2078
|
+
*/
|
|
2079
|
+
min_file_size: number;
|
|
2080
|
+
}
|
|
2081
|
+
/**
|
|
2082
|
+
* TTL (Time to Live) specifies the maximum time to cache a resource in the
|
|
2083
|
+
* Cloudflare edge network.
|
|
2084
|
+
*/
|
|
2085
|
+
interface EdgeTTL {
|
|
2086
|
+
/**
|
|
2087
|
+
* The TTL (in seconds) if you choose override_origin mode.
|
|
2088
|
+
*/
|
|
2089
|
+
default: number;
|
|
2090
|
+
/**
|
|
2091
|
+
* edge ttl options
|
|
2092
|
+
*/
|
|
2093
|
+
mode: 'respect_origin' | 'bypass_by_default' | 'override_origin';
|
|
2094
|
+
/**
|
|
2095
|
+
* List of single status codes, or status code ranges to apply the selected mode
|
|
2096
|
+
*/
|
|
2097
|
+
status_code_ttl: Array<EdgeTTL.StatusCodeTTL>;
|
|
2098
|
+
}
|
|
2099
|
+
namespace EdgeTTL {
|
|
2100
|
+
/**
|
|
2101
|
+
* Specify how long Cloudflare should cache the response based on the status code
|
|
2102
|
+
* from the origin. Can be a single status code or a range or status codes
|
|
2103
|
+
*/
|
|
2104
|
+
interface StatusCodeTTL {
|
|
2105
|
+
/**
|
|
2106
|
+
* Time to cache a response (in seconds). A value of 0 is equivalent to setting the
|
|
2107
|
+
* Cache-Control header with the value "no-cache". A value of -1 is equivalent to
|
|
2108
|
+
* setting Cache-Control header with the value of "no-store".
|
|
2109
|
+
*/
|
|
2110
|
+
value: number;
|
|
2111
|
+
/**
|
|
2112
|
+
* The range of status codes used to apply the selected mode.
|
|
2113
|
+
*/
|
|
2114
|
+
status_code_range?: StatusCodeTTL.StatusCodeRange;
|
|
2115
|
+
/**
|
|
2116
|
+
* Set the ttl for responses with this specific status code
|
|
2117
|
+
*/
|
|
2118
|
+
status_code_value?: number;
|
|
2119
|
+
}
|
|
2120
|
+
namespace StatusCodeTTL {
|
|
2121
|
+
/**
|
|
2122
|
+
* The range of status codes used to apply the selected mode.
|
|
2123
|
+
*/
|
|
2124
|
+
interface StatusCodeRange {
|
|
2125
|
+
/**
|
|
2126
|
+
* response status code lower bound
|
|
2127
|
+
*/
|
|
2128
|
+
from: number;
|
|
2129
|
+
/**
|
|
2130
|
+
* response status code upper bound
|
|
2131
|
+
*/
|
|
2132
|
+
to: number;
|
|
2133
|
+
}
|
|
2134
|
+
}
|
|
2135
|
+
}
|
|
986
2136
|
/**
|
|
987
|
-
*
|
|
2137
|
+
* Define if Cloudflare should serve stale content while getting the latest content
|
|
2138
|
+
* from the origin. If on, Cloudflare will not serve stale content while getting
|
|
2139
|
+
* the latest content from the origin.
|
|
988
2140
|
*/
|
|
989
|
-
|
|
2141
|
+
interface ServeStale {
|
|
2142
|
+
/**
|
|
2143
|
+
* Defines whether Cloudflare should serve stale content while updating. If true,
|
|
2144
|
+
* Cloudflare will not serve stale content while getting the latest content from
|
|
2145
|
+
* the origin.
|
|
2146
|
+
*/
|
|
2147
|
+
disable_stale_while_updating: boolean;
|
|
2148
|
+
}
|
|
990
2149
|
}
|
|
991
2150
|
}
|
|
992
|
-
export interface
|
|
993
|
-
/**
|
|
994
|
-
* The timestamp of when the rule was last modified.
|
|
995
|
-
*/
|
|
996
|
-
last_updated: string;
|
|
997
|
-
/**
|
|
998
|
-
* The version of the rule.
|
|
999
|
-
*/
|
|
1000
|
-
version: string;
|
|
2151
|
+
export interface SetCacheSettingsRuleParam {
|
|
1001
2152
|
/**
|
|
1002
2153
|
* The unique ID of the rule.
|
|
1003
2154
|
*/
|
|
@@ -1009,11 +2160,7 @@ export interface SetCacheSettingsRule {
|
|
|
1009
2160
|
/**
|
|
1010
2161
|
* The parameters configuring the rule's action.
|
|
1011
2162
|
*/
|
|
1012
|
-
action_parameters?:
|
|
1013
|
-
/**
|
|
1014
|
-
* The categories of the rule.
|
|
1015
|
-
*/
|
|
1016
|
-
categories?: Array<string>;
|
|
2163
|
+
action_parameters?: SetCacheSettingsRuleParam.ActionParameters;
|
|
1017
2164
|
/**
|
|
1018
2165
|
* An informative description of the rule.
|
|
1019
2166
|
*/
|
|
@@ -1029,13 +2176,13 @@ export interface SetCacheSettingsRule {
|
|
|
1029
2176
|
/**
|
|
1030
2177
|
* An object configuring the rule's logging behavior.
|
|
1031
2178
|
*/
|
|
1032
|
-
logging?:
|
|
2179
|
+
logging?: LoggingParam;
|
|
1033
2180
|
/**
|
|
1034
2181
|
* The reference of the rule (the rule ID by default).
|
|
1035
2182
|
*/
|
|
1036
2183
|
ref?: string;
|
|
1037
2184
|
}
|
|
1038
|
-
export declare namespace
|
|
2185
|
+
export declare namespace SetCacheSettingsRuleParam {
|
|
1039
2186
|
/**
|
|
1040
2187
|
* The parameters configuring the rule's action.
|
|
1041
2188
|
*/
|
|
@@ -1497,6 +2644,126 @@ export declare namespace SetConfigRule {
|
|
|
1497
2644
|
}
|
|
1498
2645
|
}
|
|
1499
2646
|
}
|
|
2647
|
+
export interface SetConfigRuleParam {
|
|
2648
|
+
/**
|
|
2649
|
+
* The unique ID of the rule.
|
|
2650
|
+
*/
|
|
2651
|
+
id?: string;
|
|
2652
|
+
/**
|
|
2653
|
+
* The action to perform when the rule matches.
|
|
2654
|
+
*/
|
|
2655
|
+
action?: 'set_config';
|
|
2656
|
+
/**
|
|
2657
|
+
* The parameters configuring the rule's action.
|
|
2658
|
+
*/
|
|
2659
|
+
action_parameters?: SetConfigRuleParam.ActionParameters;
|
|
2660
|
+
/**
|
|
2661
|
+
* An informative description of the rule.
|
|
2662
|
+
*/
|
|
2663
|
+
description?: string;
|
|
2664
|
+
/**
|
|
2665
|
+
* Whether the rule should be executed.
|
|
2666
|
+
*/
|
|
2667
|
+
enabled?: boolean;
|
|
2668
|
+
/**
|
|
2669
|
+
* The expression defining which traffic will match the rule.
|
|
2670
|
+
*/
|
|
2671
|
+
expression?: string;
|
|
2672
|
+
/**
|
|
2673
|
+
* An object configuring the rule's logging behavior.
|
|
2674
|
+
*/
|
|
2675
|
+
logging?: LoggingParam;
|
|
2676
|
+
/**
|
|
2677
|
+
* The reference of the rule (the rule ID by default).
|
|
2678
|
+
*/
|
|
2679
|
+
ref?: string;
|
|
2680
|
+
}
|
|
2681
|
+
export declare namespace SetConfigRuleParam {
|
|
2682
|
+
/**
|
|
2683
|
+
* The parameters configuring the rule's action.
|
|
2684
|
+
*/
|
|
2685
|
+
interface ActionParameters {
|
|
2686
|
+
/**
|
|
2687
|
+
* Turn on or off Automatic HTTPS Rewrites.
|
|
2688
|
+
*/
|
|
2689
|
+
automatic_https_rewrites?: boolean;
|
|
2690
|
+
/**
|
|
2691
|
+
* Select which file extensions to minify automatically.
|
|
2692
|
+
*/
|
|
2693
|
+
autominify?: ActionParameters.Autominify;
|
|
2694
|
+
/**
|
|
2695
|
+
* Turn on or off Browser Integrity Check.
|
|
2696
|
+
*/
|
|
2697
|
+
bic?: boolean;
|
|
2698
|
+
/**
|
|
2699
|
+
* Turn off all active Cloudflare Apps.
|
|
2700
|
+
*/
|
|
2701
|
+
disable_apps?: boolean;
|
|
2702
|
+
/**
|
|
2703
|
+
* Turn off Zaraz.
|
|
2704
|
+
*/
|
|
2705
|
+
disable_zaraz?: boolean;
|
|
2706
|
+
/**
|
|
2707
|
+
* Turn on or off Email Obfuscation.
|
|
2708
|
+
*/
|
|
2709
|
+
email_obfuscation?: boolean;
|
|
2710
|
+
/**
|
|
2711
|
+
* Turn on or off the Hotlink Protection.
|
|
2712
|
+
*/
|
|
2713
|
+
hotlink_protection?: boolean;
|
|
2714
|
+
/**
|
|
2715
|
+
* Turn on or off Mirage.
|
|
2716
|
+
*/
|
|
2717
|
+
mirage?: boolean;
|
|
2718
|
+
/**
|
|
2719
|
+
* Turn on or off Opportunistic Encryption.
|
|
2720
|
+
*/
|
|
2721
|
+
opportunistic_encryption?: boolean;
|
|
2722
|
+
/**
|
|
2723
|
+
* Configure the Polish level.
|
|
2724
|
+
*/
|
|
2725
|
+
polish?: 'off' | 'lossless' | 'lossy';
|
|
2726
|
+
/**
|
|
2727
|
+
* Turn on or off Rocket Loader
|
|
2728
|
+
*/
|
|
2729
|
+
rocket_loader?: boolean;
|
|
2730
|
+
/**
|
|
2731
|
+
* Configure the Security Level.
|
|
2732
|
+
*/
|
|
2733
|
+
security_level?: 'off' | 'essentially_off' | 'low' | 'medium' | 'high' | 'under_attack';
|
|
2734
|
+
/**
|
|
2735
|
+
* Turn on or off Server Side Excludes.
|
|
2736
|
+
*/
|
|
2737
|
+
server_side_excludes?: boolean;
|
|
2738
|
+
/**
|
|
2739
|
+
* Configure the SSL level.
|
|
2740
|
+
*/
|
|
2741
|
+
ssl?: 'off' | 'flexible' | 'full' | 'strict' | 'origin_pull';
|
|
2742
|
+
/**
|
|
2743
|
+
* Turn on or off Signed Exchanges (SXG).
|
|
2744
|
+
*/
|
|
2745
|
+
sxg?: boolean;
|
|
2746
|
+
}
|
|
2747
|
+
namespace ActionParameters {
|
|
2748
|
+
/**
|
|
2749
|
+
* Select which file extensions to minify automatically.
|
|
2750
|
+
*/
|
|
2751
|
+
interface Autominify {
|
|
2752
|
+
/**
|
|
2753
|
+
* Minify CSS files.
|
|
2754
|
+
*/
|
|
2755
|
+
css?: boolean;
|
|
2756
|
+
/**
|
|
2757
|
+
* Minify HTML files.
|
|
2758
|
+
*/
|
|
2759
|
+
html?: boolean;
|
|
2760
|
+
/**
|
|
2761
|
+
* Minify JS files.
|
|
2762
|
+
*/
|
|
2763
|
+
js?: boolean;
|
|
2764
|
+
}
|
|
2765
|
+
}
|
|
2766
|
+
}
|
|
1500
2767
|
export interface SkipRule {
|
|
1501
2768
|
/**
|
|
1502
2769
|
* The timestamp of when the rule was last modified.
|
|
@@ -1552,7 +2819,72 @@ export declare namespace SkipRule {
|
|
|
1552
2819
|
* A list of phases to skip the execution of. This option is incompatible with the
|
|
1553
2820
|
* ruleset and rulesets options.
|
|
1554
2821
|
*/
|
|
1555
|
-
phases?: Array<
|
|
2822
|
+
phases?: Array<RulesetsAPI.Phase>;
|
|
2823
|
+
/**
|
|
2824
|
+
* A list of legacy security products to skip the execution of.
|
|
2825
|
+
*/
|
|
2826
|
+
products?: Array<'bic' | 'hot' | 'rateLimit' | 'securityLevel' | 'uaBlock' | 'waf' | 'zoneLockdown'>;
|
|
2827
|
+
/**
|
|
2828
|
+
* A mapping of ruleset IDs to a list of rule IDs in that ruleset to skip the
|
|
2829
|
+
* execution of. This option is incompatible with the ruleset option.
|
|
2830
|
+
*/
|
|
2831
|
+
rules?: Record<string, Array<string>>;
|
|
2832
|
+
/**
|
|
2833
|
+
* A ruleset to skip the execution of. This option is incompatible with the
|
|
2834
|
+
* rulesets, rules and phases options.
|
|
2835
|
+
*/
|
|
2836
|
+
ruleset?: 'current';
|
|
2837
|
+
/**
|
|
2838
|
+
* A list of ruleset IDs to skip the execution of. This option is incompatible with
|
|
2839
|
+
* the ruleset and phases options.
|
|
2840
|
+
*/
|
|
2841
|
+
rulesets?: Array<string>;
|
|
2842
|
+
}
|
|
2843
|
+
}
|
|
2844
|
+
export interface SkipRuleParam {
|
|
2845
|
+
/**
|
|
2846
|
+
* The unique ID of the rule.
|
|
2847
|
+
*/
|
|
2848
|
+
id?: string;
|
|
2849
|
+
/**
|
|
2850
|
+
* The action to perform when the rule matches.
|
|
2851
|
+
*/
|
|
2852
|
+
action?: 'skip';
|
|
2853
|
+
/**
|
|
2854
|
+
* The parameters configuring the rule's action.
|
|
2855
|
+
*/
|
|
2856
|
+
action_parameters?: SkipRuleParam.ActionParameters;
|
|
2857
|
+
/**
|
|
2858
|
+
* An informative description of the rule.
|
|
2859
|
+
*/
|
|
2860
|
+
description?: string;
|
|
2861
|
+
/**
|
|
2862
|
+
* Whether the rule should be executed.
|
|
2863
|
+
*/
|
|
2864
|
+
enabled?: boolean;
|
|
2865
|
+
/**
|
|
2866
|
+
* The expression defining which traffic will match the rule.
|
|
2867
|
+
*/
|
|
2868
|
+
expression?: string;
|
|
2869
|
+
/**
|
|
2870
|
+
* An object configuring the rule's logging behavior.
|
|
2871
|
+
*/
|
|
2872
|
+
logging?: LoggingParam;
|
|
2873
|
+
/**
|
|
2874
|
+
* The reference of the rule (the rule ID by default).
|
|
2875
|
+
*/
|
|
2876
|
+
ref?: string;
|
|
2877
|
+
}
|
|
2878
|
+
export declare namespace SkipRuleParam {
|
|
2879
|
+
/**
|
|
2880
|
+
* The parameters configuring the rule's action.
|
|
2881
|
+
*/
|
|
2882
|
+
interface ActionParameters {
|
|
2883
|
+
/**
|
|
2884
|
+
* A list of phases to skip the execution of. This option is incompatible with the
|
|
2885
|
+
* ruleset and rulesets options.
|
|
2886
|
+
*/
|
|
2887
|
+
phases?: Array<RulesetsAPI.PhaseParam>;
|
|
1556
2888
|
/**
|
|
1557
2889
|
* A list of legacy security products to skip the execution of.
|
|
1558
2890
|
*/
|
|
@@ -1585,7 +2917,7 @@ export interface RuleCreateResponse {
|
|
|
1585
2917
|
/**
|
|
1586
2918
|
* The kind of the ruleset.
|
|
1587
2919
|
*/
|
|
1588
|
-
kind:
|
|
2920
|
+
kind: RulesetsAPI.Kind;
|
|
1589
2921
|
/**
|
|
1590
2922
|
* The timestamp of when the ruleset was last modified.
|
|
1591
2923
|
*/
|
|
@@ -1597,7 +2929,7 @@ export interface RuleCreateResponse {
|
|
|
1597
2929
|
/**
|
|
1598
2930
|
* The phase of the ruleset.
|
|
1599
2931
|
*/
|
|
1600
|
-
phase:
|
|
2932
|
+
phase: RulesetsAPI.Phase;
|
|
1601
2933
|
/**
|
|
1602
2934
|
* The list of rules in the ruleset.
|
|
1603
2935
|
*/
|
|
@@ -1622,7 +2954,7 @@ export interface RuleDeleteResponse {
|
|
|
1622
2954
|
/**
|
|
1623
2955
|
* The kind of the ruleset.
|
|
1624
2956
|
*/
|
|
1625
|
-
kind:
|
|
2957
|
+
kind: RulesetsAPI.Kind;
|
|
1626
2958
|
/**
|
|
1627
2959
|
* The timestamp of when the ruleset was last modified.
|
|
1628
2960
|
*/
|
|
@@ -1634,7 +2966,7 @@ export interface RuleDeleteResponse {
|
|
|
1634
2966
|
/**
|
|
1635
2967
|
* The phase of the ruleset.
|
|
1636
2968
|
*/
|
|
1637
|
-
phase:
|
|
2969
|
+
phase: RulesetsAPI.Phase;
|
|
1638
2970
|
/**
|
|
1639
2971
|
* The list of rules in the ruleset.
|
|
1640
2972
|
*/
|
|
@@ -1659,7 +2991,7 @@ export interface RuleEditResponse {
|
|
|
1659
2991
|
/**
|
|
1660
2992
|
* The kind of the ruleset.
|
|
1661
2993
|
*/
|
|
1662
|
-
kind:
|
|
2994
|
+
kind: RulesetsAPI.Kind;
|
|
1663
2995
|
/**
|
|
1664
2996
|
* The timestamp of when the ruleset was last modified.
|
|
1665
2997
|
*/
|
|
@@ -1671,7 +3003,7 @@ export interface RuleEditResponse {
|
|
|
1671
3003
|
/**
|
|
1672
3004
|
* The phase of the ruleset.
|
|
1673
3005
|
*/
|
|
1674
|
-
phase:
|
|
3006
|
+
phase: RulesetsAPI.Phase;
|
|
1675
3007
|
/**
|
|
1676
3008
|
* The list of rules in the ruleset.
|
|
1677
3009
|
*/
|
|
@@ -1725,7 +3057,7 @@ export declare namespace RuleCreateParams {
|
|
|
1725
3057
|
/**
|
|
1726
3058
|
* Body param: An object configuring the rule's logging behavior.
|
|
1727
3059
|
*/
|
|
1728
|
-
logging?:
|
|
3060
|
+
logging?: LoggingParam;
|
|
1729
3061
|
/**
|
|
1730
3062
|
* Body param: The reference of the rule (the rule ID by default).
|
|
1731
3063
|
*/
|
|
@@ -1799,7 +3131,7 @@ export declare namespace RuleCreateParams {
|
|
|
1799
3131
|
/**
|
|
1800
3132
|
* Body param: An object configuring the rule's logging behavior.
|
|
1801
3133
|
*/
|
|
1802
|
-
logging?:
|
|
3134
|
+
logging?: LoggingParam;
|
|
1803
3135
|
/**
|
|
1804
3136
|
* Body param: The reference of the rule (the rule ID by default).
|
|
1805
3137
|
*/
|
|
@@ -1843,7 +3175,7 @@ export declare namespace RuleCreateParams {
|
|
|
1843
3175
|
/**
|
|
1844
3176
|
* Body param: An object configuring the rule's logging behavior.
|
|
1845
3177
|
*/
|
|
1846
|
-
logging?:
|
|
3178
|
+
logging?: LoggingParam;
|
|
1847
3179
|
/**
|
|
1848
3180
|
* Body param: The reference of the rule (the rule ID by default).
|
|
1849
3181
|
*/
|
|
@@ -1909,7 +3241,7 @@ export declare namespace RuleCreateParams {
|
|
|
1909
3241
|
/**
|
|
1910
3242
|
* Body param: An object configuring the rule's logging behavior.
|
|
1911
3243
|
*/
|
|
1912
|
-
logging?:
|
|
3244
|
+
logging?: LoggingParam;
|
|
1913
3245
|
/**
|
|
1914
3246
|
* Body param: The reference of the rule (the rule ID by default).
|
|
1915
3247
|
*/
|
|
@@ -2060,7 +3392,7 @@ export declare namespace RuleCreateParams {
|
|
|
2060
3392
|
/**
|
|
2061
3393
|
* Body param: An object configuring the rule's logging behavior.
|
|
2062
3394
|
*/
|
|
2063
|
-
logging?:
|
|
3395
|
+
logging?: LoggingParam;
|
|
2064
3396
|
/**
|
|
2065
3397
|
* Body param: The reference of the rule (the rule ID by default).
|
|
2066
3398
|
*/
|
|
@@ -2104,7 +3436,7 @@ export declare namespace RuleCreateParams {
|
|
|
2104
3436
|
/**
|
|
2105
3437
|
* Body param: An object configuring the rule's logging behavior.
|
|
2106
3438
|
*/
|
|
2107
|
-
logging?:
|
|
3439
|
+
logging?: LoggingParam;
|
|
2108
3440
|
/**
|
|
2109
3441
|
* Body param: The reference of the rule (the rule ID by default).
|
|
2110
3442
|
*/
|
|
@@ -2148,7 +3480,7 @@ export declare namespace RuleCreateParams {
|
|
|
2148
3480
|
/**
|
|
2149
3481
|
* Body param: An object configuring the rule's logging behavior.
|
|
2150
3482
|
*/
|
|
2151
|
-
logging?:
|
|
3483
|
+
logging?: LoggingParam;
|
|
2152
3484
|
/**
|
|
2153
3485
|
* Body param: The reference of the rule (the rule ID by default).
|
|
2154
3486
|
*/
|
|
@@ -2192,7 +3524,7 @@ export declare namespace RuleCreateParams {
|
|
|
2192
3524
|
/**
|
|
2193
3525
|
* Body param: An object configuring the rule's logging behavior.
|
|
2194
3526
|
*/
|
|
2195
|
-
logging?:
|
|
3527
|
+
logging?: LoggingParam;
|
|
2196
3528
|
/**
|
|
2197
3529
|
* Body param: The reference of the rule (the rule ID by default).
|
|
2198
3530
|
*/
|
|
@@ -2297,7 +3629,7 @@ export declare namespace RuleCreateParams {
|
|
|
2297
3629
|
/**
|
|
2298
3630
|
* Body param: An object configuring the rule's logging behavior.
|
|
2299
3631
|
*/
|
|
2300
|
-
logging?:
|
|
3632
|
+
logging?: LoggingParam;
|
|
2301
3633
|
/**
|
|
2302
3634
|
* Body param: The reference of the rule (the rule ID by default).
|
|
2303
3635
|
*/
|
|
@@ -2351,11 +3683,11 @@ export declare namespace RuleCreateParams {
|
|
|
2351
3683
|
/**
|
|
2352
3684
|
* Path portion rewrite.
|
|
2353
3685
|
*/
|
|
2354
|
-
path?: RulesAPI.
|
|
3686
|
+
path?: RulesAPI.RewriteURIPartParam;
|
|
2355
3687
|
/**
|
|
2356
3688
|
* Query portion rewrite.
|
|
2357
3689
|
*/
|
|
2358
|
-
query?: RulesAPI.
|
|
3690
|
+
query?: RulesAPI.RewriteURIPartParam;
|
|
2359
3691
|
}
|
|
2360
3692
|
}
|
|
2361
3693
|
}
|
|
@@ -2397,7 +3729,7 @@ export declare namespace RuleCreateParams {
|
|
|
2397
3729
|
/**
|
|
2398
3730
|
* Body param: An object configuring the rule's logging behavior.
|
|
2399
3731
|
*/
|
|
2400
|
-
logging?:
|
|
3732
|
+
logging?: LoggingParam;
|
|
2401
3733
|
/**
|
|
2402
3734
|
* Body param: The reference of the rule (the rule ID by default).
|
|
2403
3735
|
*/
|
|
@@ -2419,7 +3751,7 @@ export declare namespace RuleCreateParams {
|
|
|
2419
3751
|
/**
|
|
2420
3752
|
* Override the Server Name Indication (SNI).
|
|
2421
3753
|
*/
|
|
2422
|
-
sni?: ActionParameters.
|
|
3754
|
+
sni?: ActionParameters.SNI;
|
|
2423
3755
|
}
|
|
2424
3756
|
namespace ActionParameters {
|
|
2425
3757
|
/**
|
|
@@ -2438,7 +3770,7 @@ export declare namespace RuleCreateParams {
|
|
|
2438
3770
|
/**
|
|
2439
3771
|
* Override the Server Name Indication (SNI).
|
|
2440
3772
|
*/
|
|
2441
|
-
interface
|
|
3773
|
+
interface SNI {
|
|
2442
3774
|
/**
|
|
2443
3775
|
* The SNI override.
|
|
2444
3776
|
*/
|
|
@@ -2484,7 +3816,7 @@ export declare namespace RuleCreateParams {
|
|
|
2484
3816
|
/**
|
|
2485
3817
|
* Body param: An object configuring the rule's logging behavior.
|
|
2486
3818
|
*/
|
|
2487
|
-
logging?:
|
|
3819
|
+
logging?: LoggingParam;
|
|
2488
3820
|
/**
|
|
2489
3821
|
* Body param: The reference of the rule (the rule ID by default).
|
|
2490
3822
|
*/
|
|
@@ -2540,7 +3872,7 @@ export declare namespace RuleCreateParams {
|
|
|
2540
3872
|
/**
|
|
2541
3873
|
* Body param: An object configuring the rule's logging behavior.
|
|
2542
3874
|
*/
|
|
2543
|
-
logging?:
|
|
3875
|
+
logging?: LoggingParam;
|
|
2544
3876
|
/**
|
|
2545
3877
|
* Body param: The reference of the rule (the rule ID by default).
|
|
2546
3878
|
*/
|
|
@@ -2603,7 +3935,7 @@ export declare namespace RuleCreateParams {
|
|
|
2603
3935
|
/**
|
|
2604
3936
|
* Body param: An object configuring the rule's logging behavior.
|
|
2605
3937
|
*/
|
|
2606
|
-
logging?:
|
|
3938
|
+
logging?: LoggingParam;
|
|
2607
3939
|
/**
|
|
2608
3940
|
* Body param: The reference of the rule (the rule ID by default).
|
|
2609
3941
|
*/
|
|
@@ -2733,7 +4065,7 @@ export declare namespace RuleCreateParams {
|
|
|
2733
4065
|
/**
|
|
2734
4066
|
* Body param: An object configuring the rule's logging behavior.
|
|
2735
4067
|
*/
|
|
2736
|
-
logging?:
|
|
4068
|
+
logging?: LoggingParam;
|
|
2737
4069
|
/**
|
|
2738
4070
|
* Body param: The reference of the rule (the rule ID by default).
|
|
2739
4071
|
*/
|
|
@@ -2748,7 +4080,7 @@ export declare namespace RuleCreateParams {
|
|
|
2748
4080
|
* A list of phases to skip the execution of. This option is incompatible with the
|
|
2749
4081
|
* ruleset and rulesets options.
|
|
2750
4082
|
*/
|
|
2751
|
-
phases?: Array<
|
|
4083
|
+
phases?: Array<RulesetsAPI.PhaseParam>;
|
|
2752
4084
|
/**
|
|
2753
4085
|
* A list of legacy security products to skip the execution of.
|
|
2754
4086
|
*/
|
|
@@ -2808,7 +4140,7 @@ export declare namespace RuleCreateParams {
|
|
|
2808
4140
|
/**
|
|
2809
4141
|
* Body param: An object configuring the rule's logging behavior.
|
|
2810
4142
|
*/
|
|
2811
|
-
logging?:
|
|
4143
|
+
logging?: LoggingParam;
|
|
2812
4144
|
/**
|
|
2813
4145
|
* Body param: The reference of the rule (the rule ID by default).
|
|
2814
4146
|
*/
|
|
@@ -3195,7 +4527,7 @@ export declare namespace RuleEditParams {
|
|
|
3195
4527
|
/**
|
|
3196
4528
|
* Body param: An object configuring the rule's logging behavior.
|
|
3197
4529
|
*/
|
|
3198
|
-
logging?:
|
|
4530
|
+
logging?: LoggingParam;
|
|
3199
4531
|
/**
|
|
3200
4532
|
* Body param: The reference of the rule (the rule ID by default).
|
|
3201
4533
|
*/
|
|
@@ -3269,7 +4601,7 @@ export declare namespace RuleEditParams {
|
|
|
3269
4601
|
/**
|
|
3270
4602
|
* Body param: An object configuring the rule's logging behavior.
|
|
3271
4603
|
*/
|
|
3272
|
-
logging?:
|
|
4604
|
+
logging?: LoggingParam;
|
|
3273
4605
|
/**
|
|
3274
4606
|
* Body param: The reference of the rule (the rule ID by default).
|
|
3275
4607
|
*/
|
|
@@ -3313,7 +4645,7 @@ export declare namespace RuleEditParams {
|
|
|
3313
4645
|
/**
|
|
3314
4646
|
* Body param: An object configuring the rule's logging behavior.
|
|
3315
4647
|
*/
|
|
3316
|
-
logging?:
|
|
4648
|
+
logging?: LoggingParam;
|
|
3317
4649
|
/**
|
|
3318
4650
|
* Body param: The reference of the rule (the rule ID by default).
|
|
3319
4651
|
*/
|
|
@@ -3379,7 +4711,7 @@ export declare namespace RuleEditParams {
|
|
|
3379
4711
|
/**
|
|
3380
4712
|
* Body param: An object configuring the rule's logging behavior.
|
|
3381
4713
|
*/
|
|
3382
|
-
logging?:
|
|
4714
|
+
logging?: LoggingParam;
|
|
3383
4715
|
/**
|
|
3384
4716
|
* Body param: The reference of the rule (the rule ID by default).
|
|
3385
4717
|
*/
|
|
@@ -3530,7 +4862,7 @@ export declare namespace RuleEditParams {
|
|
|
3530
4862
|
/**
|
|
3531
4863
|
* Body param: An object configuring the rule's logging behavior.
|
|
3532
4864
|
*/
|
|
3533
|
-
logging?:
|
|
4865
|
+
logging?: LoggingParam;
|
|
3534
4866
|
/**
|
|
3535
4867
|
* Body param: The reference of the rule (the rule ID by default).
|
|
3536
4868
|
*/
|
|
@@ -3574,7 +4906,7 @@ export declare namespace RuleEditParams {
|
|
|
3574
4906
|
/**
|
|
3575
4907
|
* Body param: An object configuring the rule's logging behavior.
|
|
3576
4908
|
*/
|
|
3577
|
-
logging?:
|
|
4909
|
+
logging?: LoggingParam;
|
|
3578
4910
|
/**
|
|
3579
4911
|
* Body param: The reference of the rule (the rule ID by default).
|
|
3580
4912
|
*/
|
|
@@ -3618,7 +4950,7 @@ export declare namespace RuleEditParams {
|
|
|
3618
4950
|
/**
|
|
3619
4951
|
* Body param: An object configuring the rule's logging behavior.
|
|
3620
4952
|
*/
|
|
3621
|
-
logging?:
|
|
4953
|
+
logging?: LoggingParam;
|
|
3622
4954
|
/**
|
|
3623
4955
|
* Body param: The reference of the rule (the rule ID by default).
|
|
3624
4956
|
*/
|
|
@@ -3662,7 +4994,7 @@ export declare namespace RuleEditParams {
|
|
|
3662
4994
|
/**
|
|
3663
4995
|
* Body param: An object configuring the rule's logging behavior.
|
|
3664
4996
|
*/
|
|
3665
|
-
logging?:
|
|
4997
|
+
logging?: LoggingParam;
|
|
3666
4998
|
/**
|
|
3667
4999
|
* Body param: The reference of the rule (the rule ID by default).
|
|
3668
5000
|
*/
|
|
@@ -3767,7 +5099,7 @@ export declare namespace RuleEditParams {
|
|
|
3767
5099
|
/**
|
|
3768
5100
|
* Body param: An object configuring the rule's logging behavior.
|
|
3769
5101
|
*/
|
|
3770
|
-
logging?:
|
|
5102
|
+
logging?: LoggingParam;
|
|
3771
5103
|
/**
|
|
3772
5104
|
* Body param: The reference of the rule (the rule ID by default).
|
|
3773
5105
|
*/
|
|
@@ -3821,11 +5153,11 @@ export declare namespace RuleEditParams {
|
|
|
3821
5153
|
/**
|
|
3822
5154
|
* Path portion rewrite.
|
|
3823
5155
|
*/
|
|
3824
|
-
path?: RulesAPI.
|
|
5156
|
+
path?: RulesAPI.RewriteURIPartParam;
|
|
3825
5157
|
/**
|
|
3826
5158
|
* Query portion rewrite.
|
|
3827
5159
|
*/
|
|
3828
|
-
query?: RulesAPI.
|
|
5160
|
+
query?: RulesAPI.RewriteURIPartParam;
|
|
3829
5161
|
}
|
|
3830
5162
|
}
|
|
3831
5163
|
}
|
|
@@ -3867,7 +5199,7 @@ export declare namespace RuleEditParams {
|
|
|
3867
5199
|
/**
|
|
3868
5200
|
* Body param: An object configuring the rule's logging behavior.
|
|
3869
5201
|
*/
|
|
3870
|
-
logging?:
|
|
5202
|
+
logging?: LoggingParam;
|
|
3871
5203
|
/**
|
|
3872
5204
|
* Body param: The reference of the rule (the rule ID by default).
|
|
3873
5205
|
*/
|
|
@@ -3889,7 +5221,7 @@ export declare namespace RuleEditParams {
|
|
|
3889
5221
|
/**
|
|
3890
5222
|
* Override the Server Name Indication (SNI).
|
|
3891
5223
|
*/
|
|
3892
|
-
sni?: ActionParameters.
|
|
5224
|
+
sni?: ActionParameters.SNI;
|
|
3893
5225
|
}
|
|
3894
5226
|
namespace ActionParameters {
|
|
3895
5227
|
/**
|
|
@@ -3908,7 +5240,7 @@ export declare namespace RuleEditParams {
|
|
|
3908
5240
|
/**
|
|
3909
5241
|
* Override the Server Name Indication (SNI).
|
|
3910
5242
|
*/
|
|
3911
|
-
interface
|
|
5243
|
+
interface SNI {
|
|
3912
5244
|
/**
|
|
3913
5245
|
* The SNI override.
|
|
3914
5246
|
*/
|
|
@@ -3954,7 +5286,7 @@ export declare namespace RuleEditParams {
|
|
|
3954
5286
|
/**
|
|
3955
5287
|
* Body param: An object configuring the rule's logging behavior.
|
|
3956
5288
|
*/
|
|
3957
|
-
logging?:
|
|
5289
|
+
logging?: LoggingParam;
|
|
3958
5290
|
/**
|
|
3959
5291
|
* Body param: The reference of the rule (the rule ID by default).
|
|
3960
5292
|
*/
|
|
@@ -4010,7 +5342,7 @@ export declare namespace RuleEditParams {
|
|
|
4010
5342
|
/**
|
|
4011
5343
|
* Body param: An object configuring the rule's logging behavior.
|
|
4012
5344
|
*/
|
|
4013
|
-
logging?:
|
|
5345
|
+
logging?: LoggingParam;
|
|
4014
5346
|
/**
|
|
4015
5347
|
* Body param: The reference of the rule (the rule ID by default).
|
|
4016
5348
|
*/
|
|
@@ -4073,7 +5405,7 @@ export declare namespace RuleEditParams {
|
|
|
4073
5405
|
/**
|
|
4074
5406
|
* Body param: An object configuring the rule's logging behavior.
|
|
4075
5407
|
*/
|
|
4076
|
-
logging?:
|
|
5408
|
+
logging?: LoggingParam;
|
|
4077
5409
|
/**
|
|
4078
5410
|
* Body param: The reference of the rule (the rule ID by default).
|
|
4079
5411
|
*/
|
|
@@ -4203,7 +5535,7 @@ export declare namespace RuleEditParams {
|
|
|
4203
5535
|
/**
|
|
4204
5536
|
* Body param: An object configuring the rule's logging behavior.
|
|
4205
5537
|
*/
|
|
4206
|
-
logging?:
|
|
5538
|
+
logging?: LoggingParam;
|
|
4207
5539
|
/**
|
|
4208
5540
|
* Body param: The reference of the rule (the rule ID by default).
|
|
4209
5541
|
*/
|
|
@@ -4218,7 +5550,7 @@ export declare namespace RuleEditParams {
|
|
|
4218
5550
|
* A list of phases to skip the execution of. This option is incompatible with the
|
|
4219
5551
|
* ruleset and rulesets options.
|
|
4220
5552
|
*/
|
|
4221
|
-
phases?: Array<
|
|
5553
|
+
phases?: Array<RulesetsAPI.PhaseParam>;
|
|
4222
5554
|
/**
|
|
4223
5555
|
* A list of legacy security products to skip the execution of.
|
|
4224
5556
|
*/
|
|
@@ -4278,7 +5610,7 @@ export declare namespace RuleEditParams {
|
|
|
4278
5610
|
/**
|
|
4279
5611
|
* Body param: An object configuring the rule's logging behavior.
|
|
4280
5612
|
*/
|
|
4281
|
-
logging?:
|
|
5613
|
+
logging?: LoggingParam;
|
|
4282
5614
|
/**
|
|
4283
5615
|
* Body param: The reference of the rule (the rule ID by default).
|
|
4284
5616
|
*/
|