cloudflare 3.0.0 → 3.1.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 +159 -0
- package/index.d.mts +26 -286
- package/index.d.ts +26 -286
- package/index.d.ts.map +1 -1
- package/index.js +13 -37
- package/index.js.map +1 -1
- package/index.mjs +13 -37
- package/index.mjs.map +1 -1
- package/package.json +2 -3
- package/resources/accounts/accounts.d.ts +5 -13
- package/resources/accounts/accounts.d.ts.map +1 -1
- package/resources/accounts/accounts.js +0 -3
- package/resources/accounts/accounts.js.map +1 -1
- package/resources/accounts/accounts.mjs +0 -3
- package/resources/accounts/accounts.mjs.map +1 -1
- package/resources/accounts/index.d.ts +3 -3
- package/resources/accounts/index.d.ts.map +1 -1
- package/resources/accounts/index.js +3 -5
- package/resources/accounts/index.js.map +1 -1
- package/resources/accounts/index.mjs +2 -2
- package/resources/accounts/index.mjs.map +1 -1
- package/resources/accounts/members.d.ts +29 -191
- package/resources/accounts/members.d.ts.map +1 -1
- package/resources/accounts/members.js +5 -2
- package/resources/accounts/members.js.map +1 -1
- package/resources/accounts/members.mjs +5 -2
- package/resources/accounts/members.mjs.map +1 -1
- package/resources/accounts/roles.d.ts +4 -24
- package/resources/accounts/roles.d.ts.map +1 -1
- package/resources/accounts/roles.js +3 -30
- package/resources/accounts/roles.js.map +1 -1
- package/resources/accounts/roles.mjs +2 -5
- package/resources/accounts/roles.mjs.map +1 -1
- package/resources/addressing/address-maps/accounts.d.ts +12 -4
- package/resources/addressing/address-maps/accounts.d.ts.map +1 -1
- package/resources/addressing/address-maps/accounts.js +4 -4
- package/resources/addressing/address-maps/accounts.js.map +1 -1
- package/resources/addressing/address-maps/accounts.mjs +4 -4
- package/resources/addressing/address-maps/accounts.mjs.map +1 -1
- package/resources/addressing/address-maps/address-maps.d.ts +12 -8
- package/resources/addressing/address-maps/address-maps.d.ts.map +1 -1
- package/resources/addressing/address-maps/address-maps.js +10 -7
- package/resources/addressing/address-maps/address-maps.js.map +1 -1
- package/resources/addressing/address-maps/address-maps.mjs +8 -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 +2 -2
- package/resources/addressing/address-maps/index.js.map +1 -1
- package/resources/addressing/address-maps/index.mjs +1 -1
- package/resources/addressing/address-maps/index.mjs.map +1 -1
- package/resources/addressing/address-maps/ips.d.ts +12 -4
- package/resources/addressing/address-maps/ips.d.ts.map +1 -1
- package/resources/addressing/address-maps/ips.js +7 -4
- package/resources/addressing/address-maps/ips.js.map +1 -1
- package/resources/addressing/address-maps/ips.mjs +7 -4
- package/resources/addressing/address-maps/ips.mjs.map +1 -1
- package/resources/addressing/address-maps/zones.d.ts +14 -6
- package/resources/addressing/address-maps/zones.d.ts.map +1 -1
- package/resources/addressing/address-maps/zones.js +7 -35
- package/resources/addressing/address-maps/zones.js.map +1 -1
- package/resources/addressing/address-maps/zones.mjs +7 -35
- package/resources/addressing/address-maps/zones.mjs.map +1 -1
- package/resources/addressing/addressing.d.ts +4 -4
- package/resources/addressing/addressing.d.ts.map +1 -1
- package/resources/addressing/addressing.js +2 -2
- package/resources/addressing/addressing.js.map +1 -1
- package/resources/addressing/addressing.mjs +2 -2
- package/resources/addressing/addressing.mjs.map +1 -1
- package/resources/addressing/index.d.ts +2 -2
- package/resources/addressing/index.d.ts.map +1 -1
- package/resources/addressing/index.js +9 -9
- package/resources/addressing/index.js.map +1 -1
- package/resources/addressing/index.mjs +2 -2
- package/resources/addressing/index.mjs.map +1 -1
- package/resources/addressing/prefixes/bgp/bgp.d.ts +4 -4
- package/resources/addressing/prefixes/bgp/bgp.d.ts.map +1 -1
- package/resources/addressing/prefixes/bgp/bgp.js +2 -2
- package/resources/addressing/prefixes/bgp/bgp.js.map +1 -1
- package/resources/addressing/prefixes/bgp/bgp.mjs +2 -2
- package/resources/addressing/prefixes/bgp/bgp.mjs.map +1 -1
- package/resources/addressing/prefixes/bgp/bindings.d.ts +18 -10
- package/resources/addressing/prefixes/bgp/bindings.d.ts.map +1 -1
- package/resources/addressing/prefixes/bgp/bindings.js +6 -6
- package/resources/addressing/prefixes/bgp/bindings.js.map +1 -1
- package/resources/addressing/prefixes/bgp/bindings.mjs +4 -4
- package/resources/addressing/prefixes/bgp/bindings.mjs.map +1 -1
- package/resources/addressing/prefixes/bgp/index.d.ts +2 -2
- package/resources/addressing/prefixes/bgp/index.d.ts.map +1 -1
- package/resources/addressing/prefixes/bgp/index.js +5 -5
- package/resources/addressing/prefixes/bgp/index.js.map +1 -1
- package/resources/addressing/prefixes/bgp/index.mjs +2 -2
- package/resources/addressing/prefixes/bgp/index.mjs.map +1 -1
- package/resources/addressing/prefixes/bgp/prefixes.d.ts +10 -10
- package/resources/addressing/prefixes/bgp/prefixes.d.ts.map +1 -1
- package/resources/addressing/prefixes/bgp/prefixes.js +5 -5
- package/resources/addressing/prefixes/bgp/prefixes.js.map +1 -1
- package/resources/addressing/prefixes/bgp/prefixes.mjs +3 -3
- package/resources/addressing/prefixes/bgp/prefixes.mjs.map +1 -1
- package/resources/addressing/prefixes/delegations.d.ts +11 -7
- package/resources/addressing/prefixes/delegations.d.ts.map +1 -1
- package/resources/addressing/prefixes/delegations.js +8 -7
- package/resources/addressing/prefixes/delegations.js.map +1 -1
- package/resources/addressing/prefixes/delegations.mjs +6 -5
- package/resources/addressing/prefixes/delegations.mjs.map +1 -1
- package/resources/addressing/prefixes/index.d.ts +2 -2
- package/resources/addressing/prefixes/index.d.ts.map +1 -1
- package/resources/addressing/prefixes/index.js +5 -5
- package/resources/addressing/prefixes/index.js.map +1 -1
- package/resources/addressing/prefixes/index.mjs +2 -2
- package/resources/addressing/prefixes/index.mjs.map +1 -1
- package/resources/addressing/prefixes/prefixes.d.ts +15 -12
- package/resources/addressing/prefixes/prefixes.d.ts.map +1 -1
- package/resources/addressing/prefixes/prefixes.js +11 -8
- package/resources/addressing/prefixes/prefixes.js.map +1 -1
- package/resources/addressing/prefixes/prefixes.mjs +9 -6
- package/resources/addressing/prefixes/prefixes.mjs.map +1 -1
- package/resources/alerting/alerting.d.ts +13 -5
- package/resources/alerting/alerting.d.ts.map +1 -1
- package/resources/alerting/alerting.js +4 -4
- package/resources/alerting/alerting.js.map +1 -1
- package/resources/alerting/alerting.mjs +4 -4
- package/resources/alerting/alerting.mjs.map +1 -1
- package/resources/alerting/destinations/destinations.d.ts +3 -4
- package/resources/alerting/destinations/destinations.d.ts.map +1 -1
- package/resources/alerting/destinations/destinations.js +3 -3
- package/resources/alerting/destinations/destinations.js.map +1 -1
- package/resources/alerting/destinations/destinations.mjs +3 -3
- package/resources/alerting/destinations/destinations.mjs.map +1 -1
- package/resources/alerting/destinations/index.d.ts +2 -2
- package/resources/alerting/destinations/index.d.ts.map +1 -1
- package/resources/alerting/destinations/index.js +6 -6
- package/resources/alerting/destinations/index.js.map +1 -1
- package/resources/alerting/destinations/index.mjs +2 -2
- package/resources/alerting/destinations/index.mjs.map +1 -1
- package/resources/alerting/destinations/pagerduty.d.ts +5 -5
- package/resources/alerting/destinations/pagerduty.d.ts.map +1 -1
- package/resources/alerting/destinations/pagerduty.js +5 -5
- package/resources/alerting/destinations/pagerduty.js.map +1 -1
- package/resources/alerting/destinations/pagerduty.mjs +3 -3
- package/resources/alerting/destinations/pagerduty.mjs.map +1 -1
- package/resources/alerting/destinations/webhooks.d.ts +6 -6
- package/resources/alerting/destinations/webhooks.d.ts.map +1 -1
- package/resources/alerting/destinations/webhooks.js +6 -5
- package/resources/alerting/destinations/webhooks.js.map +1 -1
- package/resources/alerting/destinations/webhooks.mjs +4 -3
- package/resources/alerting/destinations/webhooks.mjs.map +1 -1
- package/resources/alerting/history.d.ts +7 -7
- package/resources/alerting/history.d.ts.map +1 -1
- package/resources/alerting/history.js +9 -9
- package/resources/alerting/history.js.map +1 -1
- package/resources/alerting/history.mjs +6 -6
- package/resources/alerting/history.mjs.map +1 -1
- package/resources/alerting/index.d.ts +2 -2
- package/resources/alerting/index.d.ts.map +1 -1
- package/resources/alerting/index.js +7 -7
- package/resources/alerting/index.js.map +1 -1
- package/resources/alerting/index.mjs +2 -2
- package/resources/alerting/index.mjs.map +1 -1
- package/resources/alerting/policies.d.ts +192 -537
- package/resources/alerting/policies.d.ts.map +1 -1
- package/resources/alerting/policies.js +5 -5
- package/resources/alerting/policies.js.map +1 -1
- package/resources/alerting/policies.mjs +3 -3
- package/resources/alerting/policies.mjs.map +1 -1
- package/resources/audit-logs.d.ts +5 -88
- package/resources/audit-logs.d.ts.map +1 -1
- package/resources/audit-logs.js +7 -33
- package/resources/audit-logs.js.map +1 -1
- package/resources/audit-logs.mjs +6 -8
- package/resources/audit-logs.mjs.map +1 -1
- package/resources/bot-management.d.ts +108 -222
- package/resources/bot-management.d.ts.map +1 -1
- package/resources/bot-management.js +0 -2
- package/resources/bot-management.js.map +1 -1
- package/resources/bot-management.mjs +0 -2
- package/resources/bot-management.mjs.map +1 -1
- package/resources/brand-protection.d.ts +60 -67
- package/resources/brand-protection.d.ts.map +1 -1
- package/resources/brand-protection.js +0 -2
- package/resources/brand-protection.js.map +1 -1
- package/resources/brand-protection.mjs +0 -2
- package/resources/brand-protection.mjs.map +1 -1
- package/resources/cache/cache-reserve.d.ts +21 -7
- package/resources/cache/cache-reserve.d.ts.map +1 -1
- package/resources/cache/cache-reserve.js +10 -7
- package/resources/cache/cache-reserve.js.map +1 -1
- package/resources/cache/cache-reserve.mjs +8 -5
- package/resources/cache/cache-reserve.mjs.map +1 -1
- package/resources/cache/cache.d.ts +10 -7
- package/resources/cache/cache.d.ts.map +1 -1
- package/resources/cache/cache.js +7 -5
- package/resources/cache/cache.js.map +1 -1
- package/resources/cache/cache.mjs +7 -5
- package/resources/cache/cache.mjs.map +1 -1
- package/resources/cache/index.d.ts +4 -4
- package/resources/cache/index.d.ts.map +1 -1
- package/resources/cache/index.js +3 -3
- package/resources/cache/index.js.map +1 -1
- package/resources/cache/index.mjs +2 -2
- package/resources/cache/index.mjs.map +1 -1
- package/resources/cache/regional-tiered-cache.d.ts +11 -6
- package/resources/cache/regional-tiered-cache.d.ts.map +1 -1
- package/resources/cache/regional-tiered-cache.js +5 -5
- package/resources/cache/regional-tiered-cache.js.map +1 -1
- package/resources/cache/regional-tiered-cache.mjs +3 -3
- package/resources/cache/regional-tiered-cache.mjs.map +1 -1
- package/resources/cache/smart-tiered-cache.d.ts +5 -1
- package/resources/cache/smart-tiered-cache.d.ts.map +1 -1
- package/resources/cache/smart-tiered-cache.js +5 -2
- package/resources/cache/smart-tiered-cache.js.map +1 -1
- package/resources/cache/smart-tiered-cache.mjs +5 -2
- package/resources/cache/smart-tiered-cache.mjs.map +1 -1
- package/resources/cache/variants.d.ts +49 -40
- 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/calls.d.ts +0 -11
- package/resources/calls.d.ts.map +1 -1
- package/resources/calls.js +0 -27
- package/resources/calls.js.map +1 -1
- package/resources/calls.mjs +0 -4
- package/resources/calls.mjs.map +1 -1
- package/resources/certificate-authorities/certificate-authorities.d.ts +3 -0
- package/resources/certificate-authorities/certificate-authorities.d.ts.map +1 -1
- package/resources/certificate-authorities/certificate-authorities.js.map +1 -1
- package/resources/certificate-authorities/certificate-authorities.mjs.map +1 -1
- package/resources/certificate-authorities/hostname-associations.d.ts +14 -4
- 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/certificate-authorities/index.d.ts +1 -1
- package/resources/certificate-authorities/index.d.ts.map +1 -1
- package/resources/certificate-authorities/index.js.map +1 -1
- package/resources/certificate-authorities/index.mjs.map +1 -1
- package/resources/challenges/challenges.d.ts +4 -3
- package/resources/challenges/challenges.d.ts.map +1 -1
- package/resources/challenges/challenges.js +1 -1
- package/resources/challenges/challenges.js.map +1 -1
- package/resources/challenges/challenges.mjs +1 -1
- package/resources/challenges/challenges.mjs.map +1 -1
- package/resources/challenges/index.d.ts +1 -1
- package/resources/challenges/index.d.ts.map +1 -1
- package/resources/challenges/index.js +2 -2
- package/resources/challenges/index.js.map +1 -1
- package/resources/challenges/index.mjs +1 -1
- package/resources/challenges/index.mjs.map +1 -1
- package/resources/challenges/widgets.d.ts +22 -16
- package/resources/challenges/widgets.d.ts.map +1 -1
- package/resources/challenges/widgets.js +5 -5
- package/resources/challenges/widgets.js.map +1 -1
- package/resources/challenges/widgets.mjs +3 -3
- package/resources/challenges/widgets.mjs.map +1 -1
- package/resources/client-certificates.d.ts +0 -10
- package/resources/client-certificates.d.ts.map +1 -1
- package/resources/client-certificates.js +0 -27
- package/resources/client-certificates.js.map +1 -1
- package/resources/client-certificates.mjs +0 -4
- package/resources/client-certificates.mjs.map +1 -1
- package/resources/cloudforce-one/cloudforce-one.d.ts +6 -6
- package/resources/cloudforce-one/cloudforce-one.d.ts.map +1 -1
- package/resources/cloudforce-one/cloudforce-one.js +1 -1
- package/resources/cloudforce-one/cloudforce-one.js.map +1 -1
- package/resources/cloudforce-one/cloudforce-one.mjs +1 -1
- package/resources/cloudforce-one/cloudforce-one.mjs.map +1 -1
- package/resources/cloudforce-one/index.d.ts +1 -1
- package/resources/cloudforce-one/index.d.ts.map +1 -1
- package/resources/cloudforce-one/index.js +2 -2
- package/resources/cloudforce-one/index.js.map +1 -1
- package/resources/cloudforce-one/index.mjs +1 -1
- package/resources/cloudforce-one/index.mjs.map +1 -1
- package/resources/cloudforce-one/requests/index.d.ts +3 -3
- package/resources/cloudforce-one/requests/index.d.ts.map +1 -1
- package/resources/cloudforce-one/requests/index.js +5 -5
- package/resources/cloudforce-one/requests/index.js.map +1 -1
- package/resources/cloudforce-one/requests/index.mjs +3 -3
- package/resources/cloudforce-one/requests/index.mjs.map +1 -1
- package/resources/cloudforce-one/requests/message.d.ts +7 -7
- package/resources/cloudforce-one/requests/message.d.ts.map +1 -1
- package/resources/cloudforce-one/requests/message.js +5 -5
- package/resources/cloudforce-one/requests/message.js.map +1 -1
- package/resources/cloudforce-one/requests/message.mjs +3 -3
- package/resources/cloudforce-one/requests/message.mjs.map +1 -1
- package/resources/cloudforce-one/requests/priority.d.ts +32 -11
- package/resources/cloudforce-one/requests/priority.d.ts.map +1 -1
- package/resources/cloudforce-one/requests/priority.js +5 -5
- package/resources/cloudforce-one/requests/priority.js.map +1 -1
- package/resources/cloudforce-one/requests/priority.mjs +3 -3
- package/resources/cloudforce-one/requests/priority.mjs.map +1 -1
- package/resources/cloudforce-one/requests/requests.d.ts +46 -44
- package/resources/cloudforce-one/requests/requests.d.ts.map +1 -1
- package/resources/cloudforce-one/requests/requests.js +9 -9
- package/resources/cloudforce-one/requests/requests.js.map +1 -1
- package/resources/cloudforce-one/requests/requests.mjs +7 -7
- package/resources/cloudforce-one/requests/requests.mjs.map +1 -1
- package/resources/custom-certificates/custom-certificates.d.ts +31 -64
- package/resources/custom-certificates/custom-certificates.d.ts.map +1 -1
- package/resources/custom-certificates/custom-certificates.js +5 -4
- package/resources/custom-certificates/custom-certificates.js.map +1 -1
- package/resources/custom-certificates/custom-certificates.mjs +5 -4
- package/resources/custom-certificates/custom-certificates.mjs.map +1 -1
- package/resources/custom-certificates/index.d.ts +1 -1
- package/resources/custom-certificates/index.d.ts.map +1 -1
- package/resources/custom-certificates/index.js +1 -2
- package/resources/custom-certificates/index.js.map +1 -1
- package/resources/custom-certificates/index.mjs +1 -1
- package/resources/custom-certificates/index.mjs.map +1 -1
- package/resources/custom-hostnames/custom-hostnames.d.ts +437 -34
- package/resources/custom-hostnames/custom-hostnames.d.ts.map +1 -1
- package/resources/custom-hostnames/custom-hostnames.js +5 -4
- package/resources/custom-hostnames/custom-hostnames.js.map +1 -1
- package/resources/custom-hostnames/custom-hostnames.mjs +5 -4
- package/resources/custom-hostnames/custom-hostnames.mjs.map +1 -1
- package/resources/custom-hostnames/fallback-origin.d.ts +8 -4
- package/resources/custom-hostnames/fallback-origin.d.ts.map +1 -1
- package/resources/custom-hostnames/fallback-origin.js +5 -2
- package/resources/custom-hostnames/fallback-origin.js.map +1 -1
- package/resources/custom-hostnames/fallback-origin.mjs +5 -2
- package/resources/custom-hostnames/fallback-origin.mjs.map +1 -1
- package/resources/custom-hostnames/index.d.ts +1 -1
- package/resources/custom-hostnames/index.d.ts.map +1 -1
- package/resources/custom-hostnames/index.js +1 -2
- package/resources/custom-hostnames/index.js.map +1 -1
- package/resources/custom-hostnames/index.mjs +1 -1
- package/resources/custom-hostnames/index.mjs.map +1 -1
- package/resources/custom-nameservers.d.ts +10 -15
- package/resources/custom-nameservers.d.ts.map +1 -1
- package/resources/custom-nameservers.js +10 -6
- package/resources/custom-nameservers.js.map +1 -1
- package/resources/custom-nameservers.mjs +10 -6
- package/resources/custom-nameservers.mjs.map +1 -1
- package/resources/d1/d1.d.ts +20 -6
- package/resources/d1/d1.d.ts.map +1 -1
- package/resources/d1/d1.js +7 -7
- package/resources/d1/d1.js.map +1 -1
- package/resources/d1/d1.mjs +5 -5
- package/resources/d1/d1.mjs.map +1 -1
- package/resources/d1/database.d.ts +30 -34
- package/resources/d1/database.d.ts.map +1 -1
- package/resources/d1/database.js +5 -5
- package/resources/d1/database.js.map +1 -1
- package/resources/d1/database.mjs +3 -3
- package/resources/d1/database.mjs.map +1 -1
- package/resources/d1/index.d.ts +2 -2
- package/resources/d1/index.d.ts.map +1 -1
- package/resources/d1/index.js +3 -3
- package/resources/d1/index.js.map +1 -1
- package/resources/d1/index.mjs +2 -2
- package/resources/d1/index.mjs.map +1 -1
- package/resources/diagnostics/diagnostics.d.ts +1 -1
- package/resources/diagnostics/diagnostics.d.ts.map +1 -1
- package/resources/diagnostics/index.d.ts +1 -1
- package/resources/diagnostics/index.d.ts.map +1 -1
- package/resources/diagnostics/index.js.map +1 -1
- package/resources/diagnostics/index.mjs +1 -1
- package/resources/diagnostics/index.mjs.map +1 -1
- package/resources/diagnostics/traceroutes.d.ts +5 -5
- package/resources/diagnostics/traceroutes.d.ts.map +1 -1
- package/resources/dns/analytics/analytics.d.ts +1 -1
- package/resources/dns/analytics/analytics.d.ts.map +1 -1
- package/resources/dns/analytics/index.d.ts +1 -1
- package/resources/dns/analytics/index.d.ts.map +1 -1
- package/resources/dns/analytics/index.js.map +1 -1
- package/resources/dns/analytics/index.mjs.map +1 -1
- package/resources/dns/analytics/reports/bytimes.d.ts +8 -42
- 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/analytics/reports/index.d.ts +2 -2
- package/resources/dns/analytics/reports/index.d.ts.map +1 -1
- package/resources/dns/analytics/reports/index.js +3 -3
- package/resources/dns/analytics/reports/index.js.map +1 -1
- package/resources/dns/analytics/reports/index.mjs +1 -1
- package/resources/dns/analytics/reports/index.mjs.map +1 -1
- package/resources/dns/analytics/reports/reports.d.ts +7 -7
- package/resources/dns/analytics/reports/reports.d.ts.map +1 -1
- package/resources/dns/dns.d.ts +71 -5
- package/resources/dns/dns.d.ts.map +1 -1
- package/resources/dns/dns.js +4 -4
- package/resources/dns/dns.js.map +1 -1
- package/resources/dns/dns.mjs +4 -4
- package/resources/dns/dns.mjs.map +1 -1
- package/resources/dns/firewall/analytics/reports/bytimes.d.ts +1 -1
- package/resources/dns/firewall/analytics/reports/bytimes.d.ts.map +1 -1
- package/resources/dns/firewall/analytics/reports/reports.d.ts +1 -1
- package/resources/dns/firewall/analytics/reports/reports.d.ts.map +1 -1
- package/resources/dns/firewall/firewall.d.ts +48 -67
- package/resources/dns/firewall/firewall.d.ts.map +1 -1
- package/resources/dns/firewall/firewall.js +18 -12
- package/resources/dns/firewall/firewall.js.map +1 -1
- package/resources/dns/firewall/firewall.mjs +15 -9
- 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/index.d.ts +2 -2
- package/resources/dns/index.d.ts.map +1 -1
- package/resources/dns/index.js +7 -7
- package/resources/dns/index.js.map +1 -1
- package/resources/dns/index.mjs +2 -2
- package/resources/dns/index.mjs.map +1 -1
- package/resources/dns/records.d.ts +1873 -2098
- package/resources/dns/records.d.ts.map +1 -1
- package/resources/dns/records.js +12 -9
- package/resources/dns/records.js.map +1 -1
- package/resources/dns/records.mjs +10 -7
- package/resources/dns/records.mjs.map +1 -1
- package/resources/dnssec.d.ts +5 -9
- package/resources/dnssec.d.ts.map +1 -1
- package/resources/dnssec.js +2 -4
- package/resources/dnssec.js.map +1 -1
- package/resources/dnssec.mjs +2 -4
- package/resources/dnssec.mjs.map +1 -1
- package/resources/durable-objects/durable-objects.d.ts +2 -2
- package/resources/durable-objects/durable-objects.d.ts.map +1 -1
- package/resources/durable-objects/durable-objects.js +1 -1
- package/resources/durable-objects/durable-objects.js.map +1 -1
- package/resources/durable-objects/durable-objects.mjs +1 -1
- package/resources/durable-objects/durable-objects.mjs.map +1 -1
- package/resources/durable-objects/index.d.ts +1 -1
- package/resources/durable-objects/index.d.ts.map +1 -1
- package/resources/durable-objects/index.js +4 -4
- package/resources/durable-objects/index.js.map +1 -1
- package/resources/durable-objects/index.mjs +1 -1
- package/resources/durable-objects/index.mjs.map +1 -1
- package/resources/durable-objects/namespaces/index.d.ts +1 -1
- package/resources/durable-objects/namespaces/index.d.ts.map +1 -1
- package/resources/durable-objects/namespaces/index.js +2 -2
- package/resources/durable-objects/namespaces/index.js.map +1 -1
- package/resources/durable-objects/namespaces/index.mjs +1 -1
- package/resources/durable-objects/namespaces/index.mjs.map +1 -1
- package/resources/durable-objects/namespaces/namespaces.d.ts +5 -5
- package/resources/durable-objects/namespaces/namespaces.d.ts.map +1 -1
- package/resources/durable-objects/namespaces/namespaces.js +5 -5
- package/resources/durable-objects/namespaces/namespaces.js.map +1 -1
- package/resources/durable-objects/namespaces/namespaces.mjs +3 -3
- package/resources/durable-objects/namespaces/namespaces.mjs.map +1 -1
- package/resources/email-routing/addresses.d.ts +9 -125
- package/resources/email-routing/addresses.d.ts.map +1 -1
- package/resources/email-routing/addresses.js +5 -5
- package/resources/email-routing/addresses.js.map +1 -1
- package/resources/email-routing/addresses.mjs +3 -3
- package/resources/email-routing/addresses.mjs.map +1 -1
- package/resources/email-routing/dns.d.ts +3 -3
- package/resources/email-routing/dns.d.ts.map +1 -1
- package/resources/email-routing/email-routing.d.ts +13 -128
- package/resources/email-routing/email-routing.d.ts.map +1 -1
- package/resources/email-routing/email-routing.js +12 -6
- package/resources/email-routing/email-routing.js.map +1 -1
- package/resources/email-routing/email-routing.mjs +12 -6
- package/resources/email-routing/email-routing.mjs.map +1 -1
- package/resources/email-routing/index.d.ts +4 -4
- package/resources/email-routing/index.d.ts.map +1 -1
- package/resources/email-routing/index.js +5 -5
- package/resources/email-routing/index.js.map +1 -1
- package/resources/email-routing/index.mjs +3 -3
- package/resources/email-routing/index.mjs.map +1 -1
- package/resources/email-routing/rules/catch-alls.d.ts +55 -49
- 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/index.d.ts +2 -2
- package/resources/email-routing/rules/index.d.ts.map +1 -1
- package/resources/email-routing/rules/index.js +4 -4
- package/resources/email-routing/rules/index.js.map +1 -1
- package/resources/email-routing/rules/index.mjs +2 -2
- package/resources/email-routing/rules/index.mjs.map +1 -1
- package/resources/email-routing/rules/rules.d.ts +39 -394
- package/resources/email-routing/rules/rules.d.ts.map +1 -1
- package/resources/email-routing/rules/rules.js +5 -5
- package/resources/email-routing/rules/rules.js.map +1 -1
- package/resources/email-routing/rules/rules.mjs +3 -3
- package/resources/email-routing/rules/rules.mjs.map +1 -1
- package/resources/event-notifications/event-notifications.d.ts +9 -0
- package/resources/event-notifications/event-notifications.d.ts.map +1 -0
- package/resources/{workers/deployments/deployments.js → event-notifications/event-notifications.js} +9 -9
- package/resources/event-notifications/event-notifications.js.map +1 -0
- package/resources/event-notifications/event-notifications.mjs +13 -0
- package/resources/event-notifications/event-notifications.mjs.map +1 -0
- package/resources/event-notifications/index.d.ts +3 -0
- package/resources/event-notifications/index.d.ts.map +1 -0
- package/resources/event-notifications/index.js +9 -0
- package/resources/event-notifications/index.js.map +1 -0
- package/resources/event-notifications/index.mjs +4 -0
- package/resources/event-notifications/index.mjs.map +1 -0
- package/resources/event-notifications/r2/configuration/configuration.d.ts +57 -0
- package/resources/event-notifications/r2/configuration/configuration.d.ts.map +1 -0
- package/resources/{user/firewall/firewall.js → event-notifications/r2/configuration/configuration.js} +17 -10
- package/resources/event-notifications/r2/configuration/configuration.js.map +1 -0
- package/resources/event-notifications/r2/configuration/configuration.mjs +21 -0
- package/resources/event-notifications/r2/configuration/configuration.mjs.map +1 -0
- package/resources/event-notifications/r2/configuration/index.d.ts +3 -0
- package/resources/event-notifications/r2/configuration/index.d.ts.map +1 -0
- package/resources/event-notifications/r2/configuration/index.js +9 -0
- package/resources/event-notifications/r2/configuration/index.js.map +1 -0
- package/resources/event-notifications/r2/configuration/index.mjs +4 -0
- package/resources/event-notifications/r2/configuration/index.mjs.map +1 -0
- package/resources/event-notifications/r2/configuration/queues.d.ts +58 -0
- package/resources/event-notifications/r2/configuration/queues.d.ts.map +1 -0
- package/resources/event-notifications/r2/configuration/queues.js +27 -0
- package/resources/event-notifications/r2/configuration/queues.js.map +1 -0
- package/resources/event-notifications/r2/configuration/queues.mjs +23 -0
- package/resources/event-notifications/r2/configuration/queues.mjs.map +1 -0
- package/resources/event-notifications/r2/index.d.ts +3 -0
- package/resources/event-notifications/r2/index.d.ts.map +1 -0
- package/resources/event-notifications/r2/index.js +9 -0
- package/resources/event-notifications/r2/index.js.map +1 -0
- package/resources/event-notifications/r2/index.mjs +4 -0
- package/resources/event-notifications/r2/index.mjs.map +1 -0
- package/resources/event-notifications/r2/r2.d.ts +11 -0
- package/resources/event-notifications/r2/r2.d.ts.map +1 -0
- package/resources/{zones/workers/workers.js → event-notifications/r2/r2.js} +9 -9
- package/resources/event-notifications/r2/r2.js.map +1 -0
- package/resources/event-notifications/r2/r2.mjs +13 -0
- package/resources/event-notifications/r2/r2.mjs.map +1 -0
- package/resources/filters.d.ts +8 -12
- package/resources/filters.d.ts.map +1 -1
- package/resources/filters.js +2 -29
- package/resources/filters.js.map +1 -1
- package/resources/filters.mjs +2 -6
- package/resources/filters.mjs.map +1 -1
- package/resources/firewall/access-rules.d.ts +80 -131
- package/resources/firewall/access-rules.d.ts.map +1 -1
- package/resources/firewall/access-rules.js +5 -2
- package/resources/firewall/access-rules.js.map +1 -1
- package/resources/firewall/access-rules.mjs +5 -2
- package/resources/firewall/access-rules.mjs.map +1 -1
- package/resources/firewall/firewall.d.ts +18 -5
- package/resources/firewall/firewall.d.ts.map +1 -1
- package/resources/firewall/firewall.js +2 -2
- package/resources/firewall/firewall.js.map +1 -1
- package/resources/firewall/firewall.mjs +2 -2
- package/resources/firewall/firewall.mjs.map +1 -1
- package/resources/firewall/index.d.ts +4 -4
- package/resources/firewall/index.d.ts.map +1 -1
- package/resources/firewall/index.js +5 -5
- package/resources/firewall/index.js.map +1 -1
- package/resources/firewall/index.mjs +2 -2
- package/resources/firewall/index.mjs.map +1 -1
- package/resources/firewall/lockdowns.d.ts +55 -36
- package/resources/firewall/lockdowns.d.ts.map +1 -1
- package/resources/firewall/lockdowns.js +10 -7
- package/resources/firewall/lockdowns.js.map +1 -1
- package/resources/firewall/lockdowns.mjs +8 -5
- package/resources/firewall/lockdowns.mjs.map +1 -1
- package/resources/firewall/rules.d.ts +45 -25
- package/resources/firewall/rules.d.ts.map +1 -1
- package/resources/firewall/rules.js +11 -7
- package/resources/firewall/rules.js.map +1 -1
- package/resources/firewall/rules.mjs +9 -5
- package/resources/firewall/rules.mjs.map +1 -1
- package/resources/firewall/ua-rules.d.ts +9 -47
- package/resources/firewall/ua-rules.d.ts.map +1 -1
- package/resources/firewall/ua-rules.js +5 -2
- package/resources/firewall/ua-rules.js.map +1 -1
- package/resources/firewall/ua-rules.mjs +5 -2
- 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 +4 -4
- package/resources/firewall/waf/index.js.map +1 -1
- package/resources/firewall/waf/index.mjs +1 -1
- package/resources/firewall/waf/index.mjs.map +1 -1
- package/resources/firewall/waf/overrides.d.ts +41 -29
- package/resources/firewall/waf/overrides.d.ts.map +1 -1
- package/resources/firewall/waf/overrides.js +10 -7
- package/resources/firewall/waf/overrides.js.map +1 -1
- package/resources/firewall/waf/overrides.mjs +8 -5
- package/resources/firewall/waf/overrides.mjs.map +1 -1
- package/resources/firewall/waf/packages/groups.d.ts +15 -7
- package/resources/firewall/waf/packages/groups.d.ts.map +1 -1
- package/resources/firewall/waf/packages/groups.js +5 -5
- package/resources/firewall/waf/packages/groups.js.map +1 -1
- package/resources/firewall/waf/packages/groups.mjs +3 -3
- package/resources/firewall/waf/packages/groups.mjs.map +1 -1
- package/resources/firewall/waf/packages/index.d.ts +2 -2
- package/resources/firewall/waf/packages/index.d.ts.map +1 -1
- package/resources/firewall/waf/packages/index.js +7 -7
- package/resources/firewall/waf/packages/index.js.map +1 -1
- package/resources/firewall/waf/packages/index.mjs +2 -2
- package/resources/firewall/waf/packages/index.mjs.map +1 -1
- package/resources/firewall/waf/packages/packages.d.ts +26 -37
- package/resources/firewall/waf/packages/packages.d.ts.map +1 -1
- package/resources/firewall/waf/packages/packages.js +2 -2
- package/resources/firewall/waf/packages/packages.js.map +1 -1
- package/resources/firewall/waf/packages/packages.mjs +2 -2
- package/resources/firewall/waf/packages/packages.mjs.map +1 -1
- package/resources/firewall/waf/packages/rules.d.ts +52 -107
- package/resources/firewall/waf/packages/rules.d.ts.map +1 -1
- package/resources/firewall/waf/packages/rules.js +5 -5
- package/resources/firewall/waf/packages/rules.js.map +1 -1
- package/resources/firewall/waf/packages/rules.mjs +3 -3
- package/resources/firewall/waf/packages/rules.mjs.map +1 -1
- package/resources/firewall/waf/waf.d.ts +6 -2
- package/resources/firewall/waf/waf.d.ts.map +1 -1
- package/resources/firewall/waf/waf.js +1 -1
- package/resources/firewall/waf/waf.js.map +1 -1
- package/resources/firewall/waf/waf.mjs +1 -1
- package/resources/firewall/waf/waf.mjs.map +1 -1
- package/resources/healthchecks/healthchecks.d.ts +141 -239
- package/resources/healthchecks/healthchecks.d.ts.map +1 -1
- package/resources/healthchecks/healthchecks.js +10 -6
- package/resources/healthchecks/healthchecks.js.map +1 -1
- package/resources/healthchecks/healthchecks.mjs +10 -6
- package/resources/healthchecks/healthchecks.mjs.map +1 -1
- package/resources/healthchecks/index.d.ts +1 -1
- package/resources/healthchecks/index.d.ts.map +1 -1
- package/resources/healthchecks/index.js +1 -2
- package/resources/healthchecks/index.js.map +1 -1
- package/resources/healthchecks/index.mjs +1 -1
- package/resources/healthchecks/index.mjs.map +1 -1
- package/resources/healthchecks/previews.d.ts +8 -60
- package/resources/healthchecks/previews.d.ts.map +1 -1
- package/resources/healthchecks/previews.js +5 -2
- package/resources/healthchecks/previews.js.map +1 -1
- package/resources/healthchecks/previews.mjs +5 -2
- package/resources/healthchecks/previews.mjs.map +1 -1
- package/resources/hostnames/settings/index.d.ts +1 -1
- package/resources/hostnames/settings/index.d.ts.map +1 -1
- package/resources/hostnames/settings/index.js.map +1 -1
- package/resources/hostnames/settings/index.mjs.map +1 -1
- package/resources/hostnames/settings/settings.d.ts +3 -2
- package/resources/hostnames/settings/settings.d.ts.map +1 -1
- package/resources/hostnames/settings/settings.js.map +1 -1
- package/resources/hostnames/settings/settings.mjs.map +1 -1
- package/resources/hostnames/settings/tls.d.ts +21 -16
- 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 +75 -60
- package/resources/hyperdrive/configs.d.ts.map +1 -1
- package/resources/hyperdrive/configs.js +4 -31
- package/resources/hyperdrive/configs.js.map +1 -1
- package/resources/hyperdrive/configs.mjs +3 -6
- package/resources/hyperdrive/configs.mjs.map +1 -1
- package/resources/hyperdrive/hyperdrive.d.ts +45 -11
- package/resources/hyperdrive/hyperdrive.d.ts.map +1 -1
- package/resources/hyperdrive/hyperdrive.js +5 -2
- package/resources/hyperdrive/hyperdrive.js.map +1 -1
- package/resources/hyperdrive/hyperdrive.mjs +3 -1
- package/resources/hyperdrive/hyperdrive.mjs.map +1 -1
- package/resources/hyperdrive/index.d.ts +2 -2
- package/resources/hyperdrive/index.d.ts.map +1 -1
- package/resources/hyperdrive/index.js +1 -2
- package/resources/hyperdrive/index.js.map +1 -1
- package/resources/hyperdrive/index.mjs +1 -1
- package/resources/hyperdrive/index.mjs.map +1 -1
- package/resources/images/v1/index.d.ts +3 -3
- package/resources/images/v1/index.d.ts.map +1 -1
- package/resources/images/v1/index.js.map +1 -1
- package/resources/images/v1/index.mjs +1 -1
- package/resources/images/v1/index.mjs.map +1 -1
- package/resources/images/v1/keys.d.ts +24 -17
- package/resources/images/v1/keys.d.ts.map +1 -1
- package/resources/images/v1/keys.js.map +1 -1
- package/resources/images/v1/keys.mjs.map +1 -1
- package/resources/images/v1/stats.d.ts +5 -5
- package/resources/images/v1/stats.d.ts.map +1 -1
- package/resources/images/v1/v1.d.ts +42 -38
- package/resources/images/v1/v1.d.ts.map +1 -1
- package/resources/images/v1/v1.js +5 -2
- package/resources/images/v1/v1.js.map +1 -1
- package/resources/images/v1/v1.mjs +5 -2
- package/resources/images/v1/v1.mjs.map +1 -1
- package/resources/images/v1/variants.d.ts +133 -45
- package/resources/images/v1/variants.d.ts.map +1 -1
- package/resources/images/v1/variants.js +5 -2
- package/resources/images/v1/variants.js.map +1 -1
- package/resources/images/v1/variants.mjs +5 -2
- package/resources/images/v1/variants.mjs.map +1 -1
- package/resources/images/v2/direct-uploads.d.ts +6 -0
- package/resources/images/v2/direct-uploads.d.ts.map +1 -1
- package/resources/images/v2/direct-uploads.js.map +1 -1
- package/resources/images/v2/direct-uploads.mjs.map +1 -1
- package/resources/index.d.ts +44 -43
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +16 -40
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +39 -38
- package/resources/index.mjs.map +1 -1
- package/resources/intel/asn/asn.d.ts +2 -3
- 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/index.d.ts +1 -1
- package/resources/intel/asn/index.d.ts.map +1 -1
- package/resources/intel/asn/index.js.map +1 -1
- package/resources/intel/asn/index.mjs.map +1 -1
- package/resources/intel/asn/subnets.d.ts +3 -3
- 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 +5 -0
- 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 +53 -50
- 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 +24 -17
- package/resources/intel/dns.d.ts.map +1 -1
- package/resources/intel/dns.js +36 -3
- package/resources/intel/dns.js.map +1 -1
- package/resources/intel/dns.mjs +11 -2
- package/resources/intel/dns.mjs.map +1 -1
- package/resources/intel/domain-history.d.ts +7 -7
- package/resources/intel/domain-history.d.ts.map +1 -1
- package/resources/intel/domain-history.js +5 -5
- package/resources/intel/domain-history.js.map +1 -1
- package/resources/intel/domain-history.mjs +3 -3
- package/resources/intel/domain-history.mjs.map +1 -1
- package/resources/intel/domains/domains.d.ts +9 -9
- package/resources/intel/domains/domains.d.ts.map +1 -1
- package/resources/intel/domains/index.d.ts +1 -1
- package/resources/intel/domains/index.d.ts.map +1 -1
- package/resources/intel/domains/index.js.map +1 -1
- package/resources/intel/domains/index.mjs.map +1 -1
- package/resources/intel/index.d.ts +8 -8
- package/resources/intel/index.d.ts.map +1 -1
- package/resources/intel/index.js +20 -19
- package/resources/intel/index.js.map +1 -1
- package/resources/intel/index.mjs +8 -8
- package/resources/intel/index.mjs.map +1 -1
- package/resources/intel/intel.d.ts +10 -11
- package/resources/intel/intel.d.ts.map +1 -1
- package/resources/intel/intel.js +4 -3
- package/resources/intel/intel.js.map +1 -1
- package/resources/intel/intel.mjs +4 -3
- package/resources/intel/intel.mjs.map +1 -1
- package/resources/intel/ip-lists.d.ts +3 -3
- package/resources/intel/ip-lists.d.ts.map +1 -1
- package/resources/intel/ips.d.ts +5 -5
- package/resources/intel/ips.d.ts.map +1 -1
- package/resources/intel/sinkholes.d.ts +5 -5
- package/resources/intel/sinkholes.d.ts.map +1 -1
- package/resources/intel/sinkholes.js +5 -5
- package/resources/intel/sinkholes.js.map +1 -1
- package/resources/intel/sinkholes.mjs +3 -3
- package/resources/intel/sinkholes.mjs.map +1 -1
- package/resources/intel/whois.d.ts +3 -3
- package/resources/intel/whois.d.ts.map +1 -1
- package/resources/intel/whois.js +25 -0
- package/resources/intel/whois.js.map +1 -1
- package/resources/intel/whois.mjs +2 -0
- package/resources/intel/whois.mjs.map +1 -1
- package/resources/ips.d.ts +0 -7
- package/resources/ips.d.ts.map +1 -1
- package/resources/ips.js +0 -27
- package/resources/ips.js.map +1 -1
- package/resources/ips.mjs +0 -4
- package/resources/ips.mjs.map +1 -1
- package/resources/keyless-certificates.d.ts +23 -121
- package/resources/keyless-certificates.d.ts.map +1 -1
- package/resources/keyless-certificates.js +9 -33
- package/resources/keyless-certificates.js.map +1 -1
- package/resources/keyless-certificates.mjs +7 -8
- package/resources/keyless-certificates.mjs.map +1 -1
- package/resources/kv/index.d.ts +1 -1
- package/resources/kv/index.d.ts.map +1 -1
- package/resources/kv/index.js +2 -2
- package/resources/kv/index.js.map +1 -1
- package/resources/kv/index.mjs +1 -1
- package/resources/kv/index.mjs.map +1 -1
- package/resources/kv/kv.d.ts +2 -2
- package/resources/kv/kv.d.ts.map +1 -1
- package/resources/kv/kv.js +1 -1
- package/resources/kv/kv.js.map +1 -1
- package/resources/kv/kv.mjs +1 -1
- package/resources/kv/kv.mjs.map +1 -1
- package/resources/kv/namespaces/index.d.ts +2 -2
- package/resources/kv/namespaces/index.d.ts.map +1 -1
- package/resources/kv/namespaces/index.js +7 -7
- package/resources/kv/namespaces/index.js.map +1 -1
- package/resources/kv/namespaces/index.mjs +2 -2
- package/resources/kv/namespaces/index.mjs.map +1 -1
- package/resources/kv/namespaces/keys.d.ts +5 -5
- package/resources/kv/namespaces/keys.d.ts.map +1 -1
- package/resources/kv/namespaces/keys.js +5 -5
- package/resources/kv/namespaces/keys.js.map +1 -1
- package/resources/kv/namespaces/keys.mjs +3 -3
- package/resources/kv/namespaces/keys.mjs.map +1 -1
- package/resources/kv/namespaces/namespaces.d.ts +13 -9
- package/resources/kv/namespaces/namespaces.d.ts.map +1 -1
- package/resources/kv/namespaces/namespaces.js +11 -8
- package/resources/kv/namespaces/namespaces.js.map +1 -1
- package/resources/kv/namespaces/namespaces.mjs +9 -6
- package/resources/kv/namespaces/namespaces.mjs.map +1 -1
- package/resources/kv/namespaces/values.d.ts +5 -1
- package/resources/kv/namespaces/values.d.ts.map +1 -1
- package/resources/kv/namespaces/values.js +5 -2
- package/resources/kv/namespaces/values.js.map +1 -1
- package/resources/kv/namespaces/values.mjs +5 -2
- package/resources/kv/namespaces/values.mjs.map +1 -1
- package/resources/load-balancers/index.d.ts +4 -4
- package/resources/load-balancers/index.d.ts.map +1 -1
- package/resources/load-balancers/index.js +3 -2
- package/resources/load-balancers/index.js.map +1 -1
- package/resources/load-balancers/index.mjs +3 -3
- package/resources/load-balancers/index.mjs.map +1 -1
- package/resources/load-balancers/load-balancers.d.ts +474 -1836
- package/resources/load-balancers/load-balancers.d.ts.map +1 -1
- package/resources/load-balancers/load-balancers.js +7 -4
- package/resources/load-balancers/load-balancers.js.map +1 -1
- package/resources/load-balancers/load-balancers.mjs +7 -4
- package/resources/load-balancers/load-balancers.mjs.map +1 -1
- package/resources/load-balancers/monitors/index.d.ts +1 -1
- package/resources/load-balancers/monitors/index.d.ts.map +1 -1
- package/resources/load-balancers/monitors/index.js +2 -1
- package/resources/load-balancers/monitors/index.js.map +1 -1
- package/resources/load-balancers/monitors/index.mjs +1 -1
- package/resources/load-balancers/monitors/index.mjs.map +1 -1
- package/resources/load-balancers/monitors/monitors.d.ts +101 -9
- package/resources/load-balancers/monitors/monitors.d.ts.map +1 -1
- package/resources/load-balancers/monitors/monitors.js +13 -6
- package/resources/load-balancers/monitors/monitors.js.map +1 -1
- package/resources/load-balancers/monitors/monitors.mjs +11 -5
- package/resources/load-balancers/monitors/monitors.mjs.map +1 -1
- package/resources/load-balancers/pools/index.d.ts +1 -1
- package/resources/load-balancers/pools/index.d.ts.map +1 -1
- package/resources/load-balancers/pools/index.js +2 -1
- package/resources/load-balancers/pools/index.js.map +1 -1
- package/resources/load-balancers/pools/index.mjs +1 -1
- package/resources/load-balancers/pools/index.mjs.map +1 -1
- package/resources/load-balancers/pools/pools.d.ts +108 -479
- package/resources/load-balancers/pools/pools.d.ts.map +1 -1
- package/resources/load-balancers/pools/pools.js +16 -6
- package/resources/load-balancers/pools/pools.js.map +1 -1
- package/resources/load-balancers/pools/pools.mjs +14 -5
- package/resources/load-balancers/pools/pools.mjs.map +1 -1
- package/resources/load-balancers/previews.d.ts +23 -2
- package/resources/load-balancers/previews.d.ts.map +1 -1
- package/resources/load-balancers/previews.js.map +1 -1
- package/resources/load-balancers/previews.mjs.map +1 -1
- package/resources/logpush/datasets/datasets.d.ts +0 -1
- package/resources/logpush/datasets/datasets.d.ts.map +1 -1
- package/resources/logpush/datasets/datasets.js.map +1 -1
- package/resources/logpush/datasets/datasets.mjs.map +1 -1
- package/resources/logpush/datasets/index.d.ts +1 -1
- package/resources/logpush/datasets/index.d.ts.map +1 -1
- package/resources/logpush/datasets/index.js +1 -2
- package/resources/logpush/datasets/index.js.map +1 -1
- package/resources/logpush/datasets/index.mjs +1 -1
- package/resources/logpush/datasets/index.mjs.map +1 -1
- package/resources/logpush/datasets/jobs.d.ts +5 -139
- package/resources/logpush/datasets/jobs.d.ts.map +1 -1
- package/resources/logpush/datasets/jobs.js +1 -5
- package/resources/logpush/datasets/jobs.js.map +1 -1
- package/resources/logpush/datasets/jobs.mjs +0 -3
- package/resources/logpush/datasets/jobs.mjs.map +1 -1
- package/resources/logpush/index.d.ts +2 -2
- package/resources/logpush/index.d.ts.map +1 -1
- package/resources/logpush/index.js +4 -3
- package/resources/logpush/index.js.map +1 -1
- package/resources/logpush/index.mjs +1 -1
- package/resources/logpush/index.mjs.map +1 -1
- package/resources/logpush/jobs.d.ts +152 -146
- package/resources/logpush/jobs.d.ts.map +1 -1
- package/resources/logpush/jobs.js +35 -5
- package/resources/logpush/jobs.js.map +1 -1
- package/resources/logpush/jobs.mjs +10 -4
- package/resources/logpush/jobs.mjs.map +1 -1
- package/resources/logpush/logpush.d.ts +4 -1
- package/resources/logpush/logpush.d.ts.map +1 -1
- package/resources/logpush/logpush.js +1 -0
- package/resources/logpush/logpush.js.map +1 -1
- package/resources/logpush/logpush.mjs +1 -0
- package/resources/logpush/logpush.mjs.map +1 -1
- package/resources/logpush/ownership.d.ts +5 -5
- package/resources/logpush/ownership.d.ts.map +1 -1
- package/resources/logs/control/cmb/config.d.ts +6 -2
- package/resources/logs/control/cmb/config.d.ts.map +1 -1
- package/resources/logs/control/cmb/config.js +5 -2
- package/resources/logs/control/cmb/config.js.map +1 -1
- package/resources/logs/control/cmb/config.mjs +5 -2
- package/resources/logs/control/cmb/config.mjs.map +1 -1
- package/resources/magic-network-monitoring/configs/configs.d.ts +35 -7
- package/resources/magic-network-monitoring/configs/configs.d.ts.map +1 -1
- package/resources/magic-network-monitoring/configs/configs.js +14 -8
- package/resources/magic-network-monitoring/configs/configs.js.map +1 -1
- package/resources/magic-network-monitoring/configs/configs.mjs +14 -8
- package/resources/magic-network-monitoring/configs/configs.mjs.map +1 -1
- package/resources/magic-network-monitoring/configs/full.d.ts +1 -1
- package/resources/magic-network-monitoring/configs/full.d.ts.map +1 -1
- package/resources/magic-network-monitoring/configs/full.js.map +1 -1
- package/resources/magic-network-monitoring/configs/full.mjs.map +1 -1
- package/resources/magic-network-monitoring/configs/index.d.ts +1 -1
- package/resources/magic-network-monitoring/configs/index.d.ts.map +1 -1
- package/resources/magic-network-monitoring/configs/index.js +3 -3
- package/resources/magic-network-monitoring/configs/index.js.map +1 -1
- package/resources/magic-network-monitoring/configs/index.mjs +1 -1
- package/resources/magic-network-monitoring/configs/index.mjs.map +1 -1
- package/resources/magic-network-monitoring/index.d.ts +1 -1
- package/resources/magic-network-monitoring/index.d.ts.map +1 -1
- package/resources/magic-network-monitoring/index.js +3 -3
- package/resources/magic-network-monitoring/index.js.map +1 -1
- package/resources/magic-network-monitoring/index.mjs +1 -1
- package/resources/magic-network-monitoring/index.mjs.map +1 -1
- package/resources/magic-network-monitoring/magic-network-monitoring.d.ts +1 -1
- package/resources/magic-network-monitoring/magic-network-monitoring.d.ts.map +1 -1
- package/resources/magic-network-monitoring/rules/advertisements.d.ts +10 -3
- package/resources/magic-network-monitoring/rules/advertisements.d.ts.map +1 -1
- package/resources/magic-network-monitoring/rules/advertisements.js +5 -2
- package/resources/magic-network-monitoring/rules/advertisements.js.map +1 -1
- package/resources/magic-network-monitoring/rules/advertisements.mjs +5 -2
- package/resources/magic-network-monitoring/rules/advertisements.mjs.map +1 -1
- package/resources/magic-network-monitoring/rules/index.d.ts +1 -1
- package/resources/magic-network-monitoring/rules/index.d.ts.map +1 -1
- package/resources/magic-network-monitoring/rules/index.js +3 -3
- package/resources/magic-network-monitoring/rules/index.js.map +1 -1
- package/resources/magic-network-monitoring/rules/index.mjs +1 -1
- package/resources/magic-network-monitoring/rules/index.mjs.map +1 -1
- package/resources/magic-network-monitoring/rules/rules.d.ts +32 -1
- package/resources/magic-network-monitoring/rules/rules.d.ts.map +1 -1
- package/resources/magic-network-monitoring/rules/rules.js +14 -8
- package/resources/magic-network-monitoring/rules/rules.js.map +1 -1
- package/resources/magic-network-monitoring/rules/rules.mjs +14 -8
- package/resources/magic-network-monitoring/rules/rules.mjs.map +1 -1
- package/resources/magic-transit/cf-interconnects.d.ts +5 -4
- package/resources/magic-transit/cf-interconnects.d.ts.map +1 -1
- package/resources/magic-transit/cf-interconnects.js.map +1 -1
- package/resources/magic-transit/cf-interconnects.mjs.map +1 -1
- package/resources/magic-transit/gre-tunnels.d.ts +9 -103
- package/resources/magic-transit/gre-tunnels.d.ts.map +1 -1
- package/resources/magic-transit/gre-tunnels.js +5 -2
- package/resources/magic-transit/gre-tunnels.js.map +1 -1
- package/resources/magic-transit/gre-tunnels.mjs +5 -2
- package/resources/magic-transit/gre-tunnels.mjs.map +1 -1
- package/resources/magic-transit/index.d.ts +3 -3
- package/resources/magic-transit/index.d.ts.map +1 -1
- package/resources/magic-transit/index.js +6 -5
- package/resources/magic-transit/index.js.map +1 -1
- package/resources/magic-transit/index.mjs +3 -3
- package/resources/magic-transit/index.mjs.map +1 -1
- package/resources/magic-transit/ipsec-tunnels.d.ts +36 -108
- package/resources/magic-transit/ipsec-tunnels.d.ts.map +1 -1
- package/resources/magic-transit/ipsec-tunnels.js +10 -4
- package/resources/magic-transit/ipsec-tunnels.js.map +1 -1
- package/resources/magic-transit/ipsec-tunnels.mjs +10 -4
- package/resources/magic-transit/ipsec-tunnels.mjs.map +1 -1
- package/resources/magic-transit/magic-transit.d.ts +46 -5
- package/resources/magic-transit/magic-transit.d.ts.map +1 -1
- package/resources/magic-transit/magic-transit.js +1 -0
- package/resources/magic-transit/magic-transit.js.map +1 -1
- package/resources/magic-transit/magic-transit.mjs +1 -0
- package/resources/magic-transit/magic-transit.mjs.map +1 -1
- package/resources/magic-transit/routes.d.ts +32 -49
- package/resources/magic-transit/routes.d.ts.map +1 -1
- package/resources/magic-transit/routes.js +5 -2
- package/resources/magic-transit/routes.js.map +1 -1
- package/resources/magic-transit/routes.mjs +5 -2
- package/resources/magic-transit/routes.mjs.map +1 -1
- package/resources/magic-transit/sites/acls.d.ts +103 -453
- package/resources/magic-transit/sites/acls.d.ts.map +1 -1
- package/resources/magic-transit/sites/acls.js +36 -4
- package/resources/magic-transit/sites/acls.js.map +1 -1
- package/resources/magic-transit/sites/acls.mjs +11 -3
- package/resources/magic-transit/sites/acls.mjs.map +1 -1
- package/resources/magic-transit/sites/index.d.ts +4 -4
- package/resources/magic-transit/sites/index.d.ts.map +1 -1
- package/resources/magic-transit/sites/index.js +5 -1
- package/resources/magic-transit/sites/index.js.map +1 -1
- package/resources/magic-transit/sites/index.mjs +4 -4
- package/resources/magic-transit/sites/index.mjs.map +1 -1
- package/resources/magic-transit/sites/lans.d.ts +158 -735
- package/resources/magic-transit/sites/lans.d.ts.map +1 -1
- package/resources/magic-transit/sites/lans.js +36 -4
- package/resources/magic-transit/sites/lans.js.map +1 -1
- package/resources/magic-transit/sites/lans.mjs +11 -3
- package/resources/magic-transit/sites/lans.mjs.map +1 -1
- package/resources/magic-transit/sites/sites.d.ts +115 -342
- package/resources/magic-transit/sites/sites.d.ts.map +1 -1
- package/resources/magic-transit/sites/sites.js +19 -4
- package/resources/magic-transit/sites/sites.js.map +1 -1
- package/resources/magic-transit/sites/sites.mjs +17 -3
- package/resources/magic-transit/sites/sites.mjs.map +1 -1
- package/resources/magic-transit/sites/wans.d.ts +92 -331
- package/resources/magic-transit/sites/wans.d.ts.map +1 -1
- package/resources/magic-transit/sites/wans.js +36 -4
- package/resources/magic-transit/sites/wans.js.map +1 -1
- package/resources/magic-transit/sites/wans.mjs +11 -3
- package/resources/magic-transit/sites/wans.mjs.map +1 -1
- package/resources/managed-headers.d.ts +14 -55
- package/resources/managed-headers.d.ts.map +1 -1
- package/resources/managed-headers.js +0 -2
- package/resources/managed-headers.js.map +1 -1
- package/resources/managed-headers.mjs +0 -2
- package/resources/managed-headers.mjs.map +1 -1
- package/resources/memberships.d.ts +15 -73
- package/resources/memberships.d.ts.map +1 -1
- package/resources/memberships.js +2 -29
- package/resources/memberships.js.map +1 -1
- package/resources/memberships.mjs +2 -6
- package/resources/memberships.mjs.map +1 -1
- package/resources/mtls-certificates/associations.d.ts +3 -3
- package/resources/mtls-certificates/associations.d.ts.map +1 -1
- package/resources/mtls-certificates/index.d.ts +2 -2
- package/resources/mtls-certificates/index.d.ts.map +1 -1
- package/resources/mtls-certificates/index.js +3 -4
- package/resources/mtls-certificates/index.js.map +1 -1
- package/resources/mtls-certificates/index.mjs +1 -1
- package/resources/mtls-certificates/index.mjs.map +1 -1
- package/resources/mtls-certificates/mtls-certificates.d.ts +8 -12
- package/resources/mtls-certificates/mtls-certificates.d.ts.map +1 -1
- package/resources/mtls-certificates/mtls-certificates.js +5 -4
- package/resources/mtls-certificates/mtls-certificates.js.map +1 -1
- package/resources/mtls-certificates/mtls-certificates.mjs +5 -4
- package/resources/mtls-certificates/mtls-certificates.mjs.map +1 -1
- package/resources/origin-ca-certificates.d.ts +10 -11
- package/resources/origin-ca-certificates.d.ts.map +1 -1
- package/resources/origin-ca-certificates.js +8 -36
- package/resources/origin-ca-certificates.js.map +1 -1
- package/resources/origin-ca-certificates.mjs +8 -13
- package/resources/origin-ca-certificates.mjs.map +1 -1
- package/resources/origin-post-quantum-encryption.d.ts +0 -7
- package/resources/origin-post-quantum-encryption.d.ts.map +1 -1
- package/resources/origin-post-quantum-encryption.js +0 -2
- package/resources/origin-post-quantum-encryption.js.map +1 -1
- package/resources/origin-post-quantum-encryption.mjs +0 -2
- package/resources/origin-post-quantum-encryption.mjs.map +1 -1
- package/resources/origin-tls-client-auth/hostnames/certificates.d.ts +118 -9
- package/resources/origin-tls-client-auth/hostnames/certificates.d.ts.map +1 -1
- package/resources/origin-tls-client-auth/hostnames/certificates.js +5 -5
- package/resources/origin-tls-client-auth/hostnames/certificates.js.map +1 -1
- package/resources/origin-tls-client-auth/hostnames/certificates.mjs +5 -5
- package/resources/origin-tls-client-auth/hostnames/certificates.mjs.map +1 -1
- package/resources/origin-tls-client-auth/hostnames/hostnames.d.ts +9 -35
- package/resources/origin-tls-client-auth/hostnames/hostnames.d.ts.map +1 -1
- package/resources/origin-tls-client-auth/hostnames/hostnames.js +3 -3
- package/resources/origin-tls-client-auth/hostnames/hostnames.js.map +1 -1
- package/resources/origin-tls-client-auth/hostnames/hostnames.mjs +1 -1
- package/resources/origin-tls-client-auth/hostnames/hostnames.mjs.map +1 -1
- package/resources/origin-tls-client-auth/hostnames/index.d.ts +2 -2
- package/resources/origin-tls-client-auth/hostnames/index.d.ts.map +1 -1
- package/resources/origin-tls-client-auth/hostnames/index.js +4 -4
- package/resources/origin-tls-client-auth/hostnames/index.js.map +1 -1
- package/resources/origin-tls-client-auth/hostnames/index.mjs +1 -1
- package/resources/origin-tls-client-auth/hostnames/index.mjs.map +1 -1
- package/resources/origin-tls-client-auth/index.d.ts +2 -2
- package/resources/origin-tls-client-auth/index.d.ts.map +1 -1
- package/resources/origin-tls-client-auth/index.js +2 -3
- package/resources/origin-tls-client-auth/index.js.map +1 -1
- package/resources/origin-tls-client-auth/index.mjs +2 -2
- package/resources/origin-tls-client-auth/index.mjs.map +1 -1
- package/resources/origin-tls-client-auth/origin-tls-client-auth.d.ts +22 -36
- 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 +9 -8
- 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 +7 -6
- package/resources/origin-tls-client-auth/origin-tls-client-auth.mjs.map +1 -1
- package/resources/page-shield/connections.d.ts +6 -6
- package/resources/page-shield/connections.d.ts.map +1 -1
- package/resources/page-shield/connections.js +8 -5
- package/resources/page-shield/connections.js.map +1 -1
- package/resources/page-shield/connections.mjs +6 -3
- package/resources/page-shield/connections.mjs.map +1 -1
- package/resources/page-shield/index.d.ts +4 -4
- package/resources/page-shield/index.d.ts.map +1 -1
- package/resources/page-shield/index.js +6 -6
- package/resources/page-shield/index.js.map +1 -1
- package/resources/page-shield/index.mjs +4 -4
- package/resources/page-shield/index.mjs.map +1 -1
- package/resources/page-shield/page-shield.d.ts +8 -13
- package/resources/page-shield/page-shield.d.ts.map +1 -1
- package/resources/page-shield/page-shield.js +3 -3
- package/resources/page-shield/page-shield.js.map +1 -1
- package/resources/page-shield/page-shield.mjs +3 -3
- package/resources/page-shield/page-shield.mjs.map +1 -1
- package/resources/page-shield/policies.d.ts +8 -8
- package/resources/page-shield/policies.d.ts.map +1 -1
- package/resources/page-shield/policies.js +5 -5
- package/resources/page-shield/policies.js.map +1 -1
- package/resources/page-shield/policies.mjs +3 -3
- package/resources/page-shield/policies.mjs.map +1 -1
- package/resources/page-shield/scripts.d.ts +5 -5
- package/resources/page-shield/scripts.d.ts.map +1 -1
- package/resources/page-shield/scripts.js +5 -5
- package/resources/page-shield/scripts.js.map +1 -1
- package/resources/page-shield/scripts.mjs +3 -3
- package/resources/page-shield/scripts.mjs.map +1 -1
- package/resources/pagerules/index.d.ts +2 -2
- package/resources/pagerules/index.d.ts.map +1 -1
- package/resources/pagerules/index.js +3 -3
- package/resources/pagerules/index.js.map +1 -1
- package/resources/pagerules/index.mjs +1 -1
- package/resources/pagerules/index.mjs.map +1 -1
- package/resources/pagerules/pagerules.d.ts +86 -222
- package/resources/pagerules/pagerules.d.ts.map +1 -1
- package/resources/pagerules/pagerules.js +5 -2
- package/resources/pagerules/pagerules.js.map +1 -1
- package/resources/pagerules/pagerules.mjs +5 -2
- package/resources/pagerules/pagerules.mjs.map +1 -1
- package/resources/pagerules/settings.d.ts +3 -3
- package/resources/pagerules/settings.d.ts.map +1 -1
- package/resources/pages/index.d.ts +1 -1
- package/resources/pages/index.d.ts.map +1 -1
- package/resources/pages/index.js +4 -4
- package/resources/pages/index.js.map +1 -1
- package/resources/pages/index.mjs +1 -1
- package/resources/pages/index.mjs.map +1 -1
- package/resources/pages/pages.d.ts +4 -3
- package/resources/pages/pages.d.ts.map +1 -1
- package/resources/pages/pages.js +1 -1
- package/resources/pages/pages.js.map +1 -1
- package/resources/pages/pages.mjs +1 -1
- package/resources/pages/pages.mjs.map +1 -1
- package/resources/pages/projects/deployments/deployments.d.ts +22 -10
- package/resources/pages/projects/deployments/deployments.d.ts.map +1 -1
- package/resources/pages/projects/deployments/deployments.js +9 -9
- package/resources/pages/projects/deployments/deployments.js.map +1 -1
- package/resources/pages/projects/deployments/deployments.mjs +9 -9
- package/resources/pages/projects/deployments/deployments.mjs.map +1 -1
- package/resources/pages/projects/domains.d.ts +10 -2
- package/resources/pages/projects/domains.d.ts.map +1 -1
- package/resources/pages/projects/domains.js +7 -4
- package/resources/pages/projects/domains.js.map +1 -1
- package/resources/pages/projects/domains.mjs +7 -4
- package/resources/pages/projects/domains.mjs.map +1 -1
- package/resources/pages/projects/index.d.ts +1 -1
- package/resources/pages/projects/index.d.ts.map +1 -1
- package/resources/pages/projects/index.js +4 -4
- package/resources/pages/projects/index.js.map +1 -1
- package/resources/pages/projects/index.mjs +1 -1
- package/resources/pages/projects/index.mjs.map +1 -1
- package/resources/pages/projects/projects.d.ts +45 -40
- package/resources/pages/projects/projects.d.ts.map +1 -1
- package/resources/pages/projects/projects.js +10 -7
- package/resources/pages/projects/projects.js.map +1 -1
- package/resources/pages/projects/projects.mjs +8 -5
- package/resources/pages/projects/projects.mjs.map +1 -1
- package/resources/pcaps/index.d.ts +2 -2
- package/resources/pcaps/index.d.ts.map +1 -1
- package/resources/pcaps/index.js +2 -3
- package/resources/pcaps/index.js.map +1 -1
- package/resources/pcaps/index.mjs +2 -2
- package/resources/pcaps/index.mjs.map +1 -1
- package/resources/pcaps/ownership.d.ts +7 -7
- package/resources/pcaps/ownership.d.ts.map +1 -1
- package/resources/pcaps/ownership.js +5 -5
- package/resources/pcaps/ownership.js.map +1 -1
- package/resources/pcaps/ownership.mjs +3 -3
- package/resources/pcaps/ownership.mjs.map +1 -1
- package/resources/pcaps/pcaps.d.ts +66 -326
- package/resources/pcaps/pcaps.d.ts.map +1 -1
- package/resources/pcaps/pcaps.js +2 -4
- package/resources/pcaps/pcaps.js.map +1 -1
- package/resources/pcaps/pcaps.mjs +2 -4
- package/resources/pcaps/pcaps.mjs.map +1 -1
- package/resources/plans.d.ts +0 -5
- package/resources/plans.d.ts.map +1 -1
- package/resources/plans.js +0 -27
- package/resources/plans.js.map +1 -1
- package/resources/plans.mjs +0 -4
- package/resources/plans.mjs.map +1 -1
- package/resources/queues/consumers.d.ts +24 -21
- package/resources/queues/consumers.d.ts.map +1 -1
- package/resources/queues/consumers.js +5 -2
- package/resources/queues/consumers.js.map +1 -1
- package/resources/queues/consumers.mjs +5 -2
- package/resources/queues/consumers.mjs.map +1 -1
- package/resources/queues/index.d.ts +3 -3
- package/resources/queues/index.d.ts.map +1 -1
- package/resources/queues/index.js +3 -4
- package/resources/queues/index.js.map +1 -1
- package/resources/queues/index.mjs +1 -1
- package/resources/queues/index.mjs.map +1 -1
- package/resources/queues/messages.d.ts +0 -47
- package/resources/queues/messages.d.ts.map +1 -1
- package/resources/queues/messages.js.map +1 -1
- package/resources/queues/messages.mjs.map +1 -1
- package/resources/queues/queues.d.ts +12 -57
- package/resources/queues/queues.d.ts.map +1 -1
- package/resources/queues/queues.js +9 -8
- package/resources/queues/queues.js.map +1 -1
- package/resources/queues/queues.mjs +7 -6
- package/resources/queues/queues.mjs.map +1 -1
- package/resources/r2/buckets.d.ts +7 -7
- package/resources/r2/buckets.d.ts.map +1 -1
- package/resources/r2/buckets.js +5 -5
- package/resources/r2/buckets.js.map +1 -1
- package/resources/r2/buckets.mjs +3 -3
- package/resources/r2/buckets.mjs.map +1 -1
- package/resources/r2/index.d.ts +2 -2
- package/resources/r2/index.d.ts.map +1 -1
- package/resources/r2/index.js +5 -5
- package/resources/r2/index.js.map +1 -1
- package/resources/r2/index.mjs +2 -2
- package/resources/r2/index.mjs.map +1 -1
- package/resources/r2/r2.d.ts +5 -4
- package/resources/r2/r2.d.ts.map +1 -1
- package/resources/r2/r2.js +3 -3
- package/resources/r2/r2.js.map +1 -1
- package/resources/r2/r2.mjs +3 -3
- package/resources/r2/r2.mjs.map +1 -1
- package/resources/r2/sippy.d.ts +14 -12
- package/resources/r2/sippy.d.ts.map +1 -1
- package/resources/r2/sippy.js +5 -5
- package/resources/r2/sippy.js.map +1 -1
- package/resources/r2/sippy.mjs +3 -3
- package/resources/r2/sippy.mjs.map +1 -1
- package/resources/radar/attacks/layer3/top/top.d.ts +10 -17
- package/resources/radar/attacks/layer3/top/top.d.ts.map +1 -1
- package/resources/radar/attacks/layer3/top/top.js.map +1 -1
- package/resources/radar/attacks/layer3/top/top.mjs.map +1 -1
- package/resources/radar/attacks/layer7/top/top.d.ts +10 -17
- package/resources/radar/attacks/layer7/top/top.d.ts.map +1 -1
- package/resources/radar/attacks/layer7/top/top.js.map +1 -1
- package/resources/radar/attacks/layer7/top/top.mjs.map +1 -1
- package/resources/radar/bgp/bgp.d.ts +2 -6
- package/resources/radar/bgp/bgp.d.ts.map +1 -1
- package/resources/radar/bgp/bgp.js +2 -2
- package/resources/radar/bgp/bgp.js.map +1 -1
- package/resources/radar/bgp/bgp.mjs +2 -2
- package/resources/radar/bgp/bgp.mjs.map +1 -1
- package/resources/radar/bgp/hijacks/events.d.ts +129 -0
- package/resources/radar/bgp/hijacks/events.d.ts.map +1 -0
- package/resources/radar/bgp/hijacks/events.js +50 -0
- package/resources/radar/bgp/hijacks/events.js.map +1 -0
- package/resources/radar/bgp/hijacks/events.mjs +22 -0
- package/resources/radar/bgp/hijacks/events.mjs.map +1 -0
- package/resources/radar/bgp/hijacks/hijacks.d.ts +12 -0
- package/resources/radar/bgp/hijacks/hijacks.d.ts.map +1 -0
- package/resources/{user/load-balancers/analytics/analytics.js → radar/bgp/hijacks/hijacks.js} +9 -9
- package/resources/radar/bgp/hijacks/hijacks.js.map +1 -0
- package/resources/radar/bgp/hijacks/hijacks.mjs +14 -0
- package/resources/radar/bgp/hijacks/hijacks.mjs.map +1 -0
- package/resources/radar/bgp/hijacks/index.d.ts +3 -0
- package/resources/radar/bgp/hijacks/index.d.ts.map +1 -0
- package/resources/radar/bgp/hijacks/index.js +10 -0
- package/resources/radar/bgp/hijacks/index.js.map +1 -0
- package/resources/radar/bgp/hijacks/index.mjs +4 -0
- package/resources/radar/bgp/hijacks/index.mjs.map +1 -0
- package/resources/radar/bgp/index.d.ts +2 -2
- package/resources/radar/bgp/index.d.ts.map +1 -1
- package/resources/radar/bgp/index.js +6 -6
- package/resources/radar/bgp/index.js.map +1 -1
- package/resources/radar/bgp/index.mjs +2 -2
- package/resources/radar/bgp/index.mjs.map +1 -1
- package/resources/radar/bgp/leaks/events.d.ts +101 -0
- package/resources/radar/bgp/leaks/events.d.ts.map +1 -0
- package/resources/{user/load-balancers/analytics → radar/bgp/leaks}/events.js +9 -6
- package/resources/radar/bgp/leaks/events.js.map +1 -0
- package/resources/radar/bgp/leaks/events.mjs +22 -0
- package/resources/radar/bgp/leaks/events.mjs.map +1 -0
- package/resources/radar/bgp/leaks/index.d.ts +3 -0
- package/resources/radar/bgp/leaks/index.d.ts.map +1 -0
- package/resources/radar/bgp/leaks/index.js +10 -0
- package/resources/radar/bgp/leaks/index.js.map +1 -0
- package/resources/radar/bgp/leaks/index.mjs +4 -0
- package/resources/radar/bgp/leaks/index.mjs.map +1 -0
- package/resources/radar/bgp/leaks/leaks.d.ts +12 -0
- package/resources/radar/bgp/leaks/leaks.d.ts.map +1 -0
- package/resources/{workers/services/services.js → radar/bgp/leaks/leaks.js} +10 -9
- package/resources/radar/bgp/leaks/leaks.js.map +1 -0
- package/resources/radar/bgp/leaks/leaks.mjs +14 -0
- package/resources/radar/bgp/leaks/leaks.mjs.map +1 -0
- package/resources/radar/bgp/routes.d.ts +4 -0
- package/resources/radar/bgp/routes.d.ts.map +1 -1
- package/resources/radar/bgp/routes.js.map +1 -1
- package/resources/radar/bgp/routes.mjs.map +1 -1
- package/resources/radar/email/email.d.ts +13 -0
- package/resources/radar/email/email.d.ts.map +1 -1
- package/resources/radar/email/email.js.map +1 -1
- package/resources/radar/email/email.mjs.map +1 -1
- package/resources/radar/email/index.d.ts +1 -1
- package/resources/radar/email/index.d.ts.map +1 -1
- package/resources/radar/email/index.js.map +1 -1
- package/resources/radar/email/index.mjs.map +1 -1
- package/resources/radar/email/routing/summary.d.ts +5 -24
- package/resources/radar/email/routing/summary.d.ts.map +1 -1
- package/resources/radar/email/routing/summary.js.map +1 -1
- package/resources/radar/email/routing/summary.mjs.map +1 -1
- package/resources/radar/email/routing/timeseries-groups.d.ts +5 -32
- package/resources/radar/email/routing/timeseries-groups.d.ts.map +1 -1
- package/resources/radar/email/routing/timeseries-groups.js.map +1 -1
- package/resources/radar/email/routing/timeseries-groups.mjs.map +1 -1
- package/resources/radar/email/security/summary.d.ts +5 -24
- package/resources/radar/email/security/summary.d.ts.map +1 -1
- package/resources/radar/email/security/summary.js.map +1 -1
- package/resources/radar/email/security/summary.mjs.map +1 -1
- package/resources/radar/email/security/timeseries-groups.d.ts +5 -32
- package/resources/radar/email/security/timeseries-groups.d.ts.map +1 -1
- package/resources/radar/email/security/timeseries-groups.js.map +1 -1
- package/resources/radar/email/security/timeseries-groups.mjs.map +1 -1
- package/resources/radar/email/security/top/tlds/malicious.d.ts +2 -5
- package/resources/radar/email/security/top/tlds/malicious.d.ts.map +1 -1
- package/resources/radar/email/security/top/tlds/malicious.js.map +1 -1
- package/resources/radar/email/security/top/tlds/malicious.mjs.map +1 -1
- package/resources/radar/email/security/top/tlds/spam.d.ts +2 -5
- package/resources/radar/email/security/top/tlds/spam.d.ts.map +1 -1
- package/resources/radar/email/security/top/tlds/spam.js.map +1 -1
- package/resources/radar/email/security/top/tlds/spam.mjs.map +1 -1
- package/resources/radar/email/security/top/tlds/spoof.d.ts +2 -5
- package/resources/radar/email/security/top/tlds/spoof.d.ts.map +1 -1
- package/resources/radar/email/security/top/tlds/spoof.js.map +1 -1
- package/resources/radar/email/security/top/tlds/spoof.mjs.map +1 -1
- package/resources/radar/email/security/top/tlds/tlds.d.ts +2 -5
- package/resources/radar/email/security/top/tlds/tlds.d.ts.map +1 -1
- package/resources/radar/email/security/top/tlds/tlds.js.map +1 -1
- package/resources/radar/email/security/top/tlds/tlds.mjs.map +1 -1
- package/resources/radar/http/http.d.ts +1 -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 +1 -1
- package/resources/radar/http/index.d.ts.map +1 -1
- package/resources/radar/http/index.js +3 -3
- package/resources/radar/http/index.js.map +1 -1
- package/resources/radar/http/index.mjs +1 -1
- package/resources/radar/http/index.mjs.map +1 -1
- package/resources/radar/http/top.d.ts +7 -10
- package/resources/radar/http/top.d.ts.map +1 -1
- package/resources/radar/http/top.js.map +1 -1
- package/resources/radar/http/top.mjs.map +1 -1
- package/resources/radar/index.d.ts +1 -1
- package/resources/radar/index.d.ts.map +1 -1
- package/resources/radar/index.js +11 -11
- package/resources/radar/index.js.map +1 -1
- package/resources/radar/index.mjs +1 -1
- package/resources/radar/index.mjs.map +1 -1
- package/resources/radar/radar.d.ts +2 -0
- package/resources/radar/radar.d.ts.map +1 -1
- package/resources/radar/radar.js.map +1 -1
- package/resources/radar/radar.mjs.map +1 -1
- package/resources/rate-limits.d.ts +21 -175
- package/resources/rate-limits.d.ts.map +1 -1
- package/resources/rate-limits.js +12 -33
- package/resources/rate-limits.js.map +1 -1
- package/resources/rate-limits.mjs +10 -8
- package/resources/rate-limits.mjs.map +1 -1
- package/resources/rate-plans.d.ts +1 -50
- package/resources/rate-plans.d.ts.map +1 -1
- package/resources/rate-plans.js +0 -2
- package/resources/rate-plans.js.map +1 -1
- package/resources/rate-plans.mjs +0 -2
- package/resources/rate-plans.mjs.map +1 -1
- package/resources/registrar/domains.d.ts +8 -151
- package/resources/registrar/domains.d.ts.map +1 -1
- package/resources/registrar/domains.js +5 -5
- package/resources/registrar/domains.js.map +1 -1
- package/resources/registrar/domains.mjs +3 -3
- package/resources/registrar/domains.mjs.map +1 -1
- package/resources/registrar/index.d.ts +1 -1
- package/resources/registrar/index.d.ts.map +1 -1
- package/resources/registrar/index.js +4 -4
- package/resources/registrar/index.js.map +1 -1
- package/resources/registrar/index.mjs +1 -1
- package/resources/registrar/index.mjs.map +1 -1
- package/resources/registrar/registrar.d.ts +2 -3
- package/resources/registrar/registrar.d.ts.map +1 -1
- package/resources/registrar/registrar.js +1 -1
- package/resources/registrar/registrar.js.map +1 -1
- package/resources/registrar/registrar.mjs +1 -1
- package/resources/registrar/registrar.mjs.map +1 -1
- package/resources/request-tracers/traces.d.ts +16 -8
- package/resources/request-tracers/traces.d.ts.map +1 -1
- package/resources/request-tracers/traces.js +3 -2
- package/resources/request-tracers/traces.js.map +1 -1
- package/resources/request-tracers/traces.mjs +3 -2
- package/resources/request-tracers/traces.mjs.map +1 -1
- package/resources/rules/index.d.ts +1 -1
- package/resources/rules/index.d.ts.map +1 -1
- package/resources/rules/index.js.map +1 -1
- package/resources/rules/index.mjs.map +1 -1
- package/resources/rules/lists/bulk-operations.d.ts +5 -0
- package/resources/rules/lists/bulk-operations.d.ts.map +1 -1
- package/resources/rules/lists/bulk-operations.js.map +1 -1
- package/resources/rules/lists/bulk-operations.mjs.map +1 -1
- package/resources/rules/lists/index.d.ts +3 -3
- package/resources/rules/lists/index.d.ts.map +1 -1
- package/resources/rules/lists/index.js +6 -6
- package/resources/rules/lists/index.js.map +1 -1
- package/resources/rules/lists/index.mjs +2 -2
- package/resources/rules/lists/index.mjs.map +1 -1
- package/resources/rules/lists/items.d.ts +18 -68
- package/resources/rules/lists/items.d.ts.map +1 -1
- package/resources/rules/lists/items.js.map +1 -1
- package/resources/rules/lists/items.mjs.map +1 -1
- package/resources/rules/lists/lists.d.ts +29 -1
- package/resources/rules/lists/lists.d.ts.map +1 -1
- package/resources/rules/lists/lists.js +5 -2
- package/resources/rules/lists/lists.js.map +1 -1
- package/resources/rules/lists/lists.mjs +5 -2
- package/resources/rules/lists/lists.mjs.map +1 -1
- package/resources/rules/rules.d.ts +2 -0
- package/resources/rules/rules.d.ts.map +1 -1
- package/resources/rules/rules.js.map +1 -1
- package/resources/rules/rules.mjs.map +1 -1
- package/resources/rulesets/index.d.ts +4 -4
- package/resources/rulesets/index.d.ts.map +1 -1
- package/resources/rulesets/index.js +3 -5
- package/resources/rulesets/index.js.map +1 -1
- package/resources/rulesets/index.mjs +4 -4
- package/resources/rulesets/index.mjs.map +1 -1
- package/resources/rulesets/phases/index.d.ts +2 -2
- package/resources/rulesets/phases/index.d.ts.map +1 -1
- package/resources/rulesets/phases/index.js +1 -2
- package/resources/rulesets/phases/index.js.map +1 -1
- package/resources/rulesets/phases/index.mjs +1 -1
- package/resources/rulesets/phases/index.mjs.map +1 -1
- package/resources/rulesets/phases/phases.d.ts +80 -353
- package/resources/rulesets/phases/phases.d.ts.map +1 -1
- package/resources/rulesets/phases/phases.js +0 -1
- package/resources/rulesets/phases/phases.js.map +1 -1
- package/resources/rulesets/phases/phases.mjs +0 -1
- package/resources/rulesets/phases/phases.mjs.map +1 -1
- package/resources/rulesets/phases/versions.d.ts +23 -20
- package/resources/rulesets/phases/versions.d.ts.map +1 -1
- package/resources/rulesets/phases/versions.js +4 -31
- package/resources/rulesets/phases/versions.js.map +1 -1
- package/resources/rulesets/phases/versions.mjs +3 -6
- package/resources/rulesets/phases/versions.mjs.map +1 -1
- package/resources/rulesets/rules.d.ts +4185 -347
- 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 +113 -1110
- package/resources/rulesets/rulesets.d.ts.map +1 -1
- package/resources/rulesets/rulesets.js +4 -7
- package/resources/rulesets/rulesets.js.map +1 -1
- package/resources/rulesets/rulesets.mjs +2 -5
- package/resources/rulesets/rulesets.mjs.map +1 -1
- package/resources/rulesets/versions/by-tag.d.ts +40 -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/index.d.ts +2 -2
- package/resources/rulesets/versions/index.d.ts.map +1 -1
- package/resources/rulesets/versions/index.js +1 -2
- package/resources/rulesets/versions/index.js.map +1 -1
- package/resources/rulesets/versions/index.mjs +1 -1
- package/resources/rulesets/versions/index.mjs.map +1 -1
- package/resources/rulesets/versions/versions.d.ts +24 -20
- package/resources/rulesets/versions/versions.d.ts.map +1 -1
- package/resources/rulesets/versions/versions.js +4 -8
- package/resources/rulesets/versions/versions.js.map +1 -1
- package/resources/rulesets/versions/versions.mjs +3 -6
- package/resources/rulesets/versions/versions.mjs.map +1 -1
- package/resources/rum/index.d.ts +1 -1
- package/resources/rum/index.d.ts.map +1 -1
- package/resources/rum/index.js +2 -2
- package/resources/rum/index.js.map +1 -1
- package/resources/rum/index.mjs +1 -1
- package/resources/rum/index.mjs.map +1 -1
- package/resources/rum/rum.d.ts +2 -2
- package/resources/rum/rum.d.ts.map +1 -1
- package/resources/rum/rum.js +1 -1
- package/resources/rum/rum.js.map +1 -1
- package/resources/rum/rum.mjs +1 -1
- package/resources/rum/rum.mjs.map +1 -1
- package/resources/rum/site-info.d.ts +10 -10
- package/resources/rum/site-info.d.ts.map +1 -1
- package/resources/rum/site-info.js +8 -5
- package/resources/rum/site-info.js.map +1 -1
- package/resources/rum/site-info.mjs +6 -3
- package/resources/rum/site-info.mjs.map +1 -1
- package/resources/secondary-dns/acls.d.ts +15 -8
- package/resources/secondary-dns/acls.d.ts.map +1 -1
- package/resources/secondary-dns/acls.js +10 -7
- package/resources/secondary-dns/acls.js.map +1 -1
- package/resources/secondary-dns/acls.mjs +8 -5
- package/resources/secondary-dns/acls.mjs.map +1 -1
- package/resources/secondary-dns/force-axfr.d.ts +12 -5
- package/resources/secondary-dns/force-axfr.d.ts.map +1 -1
- package/resources/secondary-dns/force-axfr.js +10 -7
- package/resources/secondary-dns/force-axfr.js.map +1 -1
- package/resources/secondary-dns/force-axfr.mjs +8 -5
- package/resources/secondary-dns/force-axfr.mjs.map +1 -1
- package/resources/secondary-dns/incoming.d.ts +42 -2
- package/resources/secondary-dns/incoming.d.ts.map +1 -1
- package/resources/secondary-dns/incoming.js +10 -7
- package/resources/secondary-dns/incoming.js.map +1 -1
- package/resources/secondary-dns/incoming.mjs +8 -5
- package/resources/secondary-dns/incoming.mjs.map +1 -1
- package/resources/secondary-dns/index.d.ts +6 -6
- package/resources/secondary-dns/index.d.ts.map +1 -1
- package/resources/secondary-dns/index.js +10 -10
- package/resources/secondary-dns/index.js.map +1 -1
- package/resources/secondary-dns/index.mjs +6 -6
- package/resources/secondary-dns/index.mjs.map +1 -1
- package/resources/secondary-dns/outgoing/index.d.ts +1 -1
- package/resources/secondary-dns/outgoing/index.d.ts.map +1 -1
- package/resources/secondary-dns/outgoing/index.js +2 -2
- package/resources/secondary-dns/outgoing/index.js.map +1 -1
- package/resources/secondary-dns/outgoing/index.mjs +1 -1
- package/resources/secondary-dns/outgoing/index.mjs.map +1 -1
- package/resources/secondary-dns/outgoing/outgoing.d.ts +69 -8
- package/resources/secondary-dns/outgoing/outgoing.d.ts.map +1 -1
- package/resources/secondary-dns/outgoing/outgoing.js +26 -14
- package/resources/secondary-dns/outgoing/outgoing.js.map +1 -1
- package/resources/secondary-dns/outgoing/outgoing.mjs +24 -12
- package/resources/secondary-dns/outgoing/outgoing.mjs.map +1 -1
- package/resources/secondary-dns/outgoing/status.d.ts +1 -1
- package/resources/secondary-dns/outgoing/status.d.ts.map +1 -1
- package/resources/secondary-dns/outgoing/status.js.map +1 -1
- package/resources/secondary-dns/outgoing/status.mjs.map +1 -1
- package/resources/secondary-dns/peers.d.ts +15 -8
- package/resources/secondary-dns/peers.d.ts.map +1 -1
- package/resources/secondary-dns/peers.js +10 -7
- package/resources/secondary-dns/peers.js.map +1 -1
- package/resources/secondary-dns/peers.mjs +8 -5
- package/resources/secondary-dns/peers.mjs.map +1 -1
- package/resources/secondary-dns/secondary-dns.d.ts +15 -12
- package/resources/secondary-dns/secondary-dns.d.ts.map +1 -1
- package/resources/secondary-dns/secondary-dns.js +9 -9
- package/resources/secondary-dns/secondary-dns.js.map +1 -1
- package/resources/secondary-dns/secondary-dns.mjs +9 -9
- package/resources/secondary-dns/secondary-dns.mjs.map +1 -1
- package/resources/secondary-dns/tsigs.d.ts +15 -8
- package/resources/secondary-dns/tsigs.d.ts.map +1 -1
- package/resources/secondary-dns/tsigs.js +10 -7
- package/resources/secondary-dns/tsigs.js.map +1 -1
- package/resources/secondary-dns/tsigs.mjs +8 -5
- package/resources/secondary-dns/tsigs.mjs.map +1 -1
- package/resources/shared.d.ts +328 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/shared.js +8 -0
- package/resources/shared.js.map +1 -1
- package/resources/shared.mjs +5 -1
- package/resources/shared.mjs.map +1 -1
- package/resources/snippets/index.d.ts +1 -1
- package/resources/snippets/index.d.ts.map +1 -1
- package/resources/snippets/index.js +1 -2
- package/resources/snippets/index.js.map +1 -1
- package/resources/snippets/index.mjs +1 -1
- package/resources/snippets/index.mjs.map +1 -1
- package/resources/snippets/snippets.d.ts +0 -5
- package/resources/snippets/snippets.d.ts.map +1 -1
- package/resources/snippets/snippets.js +0 -2
- package/resources/snippets/snippets.js.map +1 -1
- package/resources/snippets/snippets.mjs +0 -2
- package/resources/snippets/snippets.mjs.map +1 -1
- package/resources/spectrum/analytics/analytics.d.ts +1 -0
- package/resources/spectrum/analytics/analytics.d.ts.map +1 -1
- package/resources/spectrum/analytics/analytics.js.map +1 -1
- package/resources/spectrum/analytics/analytics.mjs.map +1 -1
- package/resources/spectrum/analytics/events/bytimes.d.ts +2 -1
- package/resources/spectrum/analytics/events/bytimes.d.ts.map +1 -1
- package/resources/spectrum/analytics/events/bytimes.js.map +1 -1
- package/resources/spectrum/analytics/events/bytimes.mjs.map +1 -1
- package/resources/spectrum/analytics/events/events.d.ts +3 -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/index.d.ts +1 -1
- package/resources/spectrum/analytics/events/index.d.ts.map +1 -1
- package/resources/spectrum/analytics/events/index.js.map +1 -1
- package/resources/spectrum/analytics/events/index.mjs.map +1 -1
- package/resources/spectrum/analytics/events/summaries.d.ts +2 -1
- package/resources/spectrum/analytics/events/summaries.d.ts.map +1 -1
- package/resources/spectrum/analytics/events/summaries.js.map +1 -1
- package/resources/spectrum/analytics/events/summaries.mjs.map +1 -1
- package/resources/spectrum/analytics/index.d.ts +1 -1
- package/resources/spectrum/analytics/index.d.ts.map +1 -1
- package/resources/spectrum/analytics/index.js.map +1 -1
- package/resources/spectrum/analytics/index.mjs.map +1 -1
- package/resources/spectrum/apps.d.ts +22 -251
- 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 +71 -0
- 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/availabilities.d.ts +7 -16
- package/resources/speed/availabilities.d.ts.map +1 -1
- package/resources/speed/availabilities.js.map +1 -1
- package/resources/speed/availabilities.mjs.map +1 -1
- package/resources/speed/index.d.ts +4 -4
- package/resources/speed/index.d.ts.map +1 -1
- package/resources/speed/index.js +6 -6
- package/resources/speed/index.js.map +1 -1
- package/resources/speed/index.mjs +3 -3
- package/resources/speed/index.mjs.map +1 -1
- package/resources/speed/pages.d.ts +3 -14
- package/resources/speed/pages.d.ts.map +1 -1
- package/resources/speed/pages.js.map +1 -1
- package/resources/speed/pages.mjs.map +1 -1
- package/resources/speed/schedule.d.ts +22 -5
- package/resources/speed/schedule.d.ts.map +1 -1
- package/resources/speed/schedule.js +5 -5
- package/resources/speed/schedule.js.map +1 -1
- package/resources/speed/schedule.mjs +3 -3
- package/resources/speed/schedule.mjs.map +1 -1
- package/resources/speed/speed.d.ts +82 -21
- package/resources/speed/speed.d.ts.map +1 -1
- package/resources/speed/speed.js +2 -2
- package/resources/speed/speed.js.map +1 -1
- package/resources/speed/speed.mjs +2 -2
- package/resources/speed/speed.mjs.map +1 -1
- package/resources/speed/tests.d.ts +11 -161
- package/resources/speed/tests.d.ts.map +1 -1
- package/resources/speed/tests.js.map +1 -1
- package/resources/speed/tests.mjs.map +1 -1
- package/resources/ssl/analyze.d.ts +3 -2
- package/resources/ssl/analyze.d.ts.map +1 -1
- package/resources/ssl/analyze.js.map +1 -1
- package/resources/ssl/analyze.mjs.map +1 -1
- package/resources/ssl/certificate-packs/certificate-packs.d.ts +14 -4
- package/resources/ssl/certificate-packs/certificate-packs.d.ts.map +1 -1
- package/resources/ssl/certificate-packs/certificate-packs.js +10 -4
- package/resources/ssl/certificate-packs/certificate-packs.js.map +1 -1
- package/resources/ssl/certificate-packs/certificate-packs.mjs +10 -4
- 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 +3 -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 +2 -2
- package/resources/ssl/index.d.ts.map +1 -1
- package/resources/ssl/index.js +3 -3
- package/resources/ssl/index.js.map +1 -1
- package/resources/ssl/index.mjs +1 -1
- package/resources/ssl/index.mjs.map +1 -1
- package/resources/ssl/ssl.d.ts +3 -2
- package/resources/ssl/ssl.d.ts.map +1 -1
- package/resources/ssl/ssl.js +2 -2
- package/resources/ssl/ssl.js.map +1 -1
- package/resources/ssl/ssl.mjs +2 -2
- package/resources/ssl/ssl.mjs.map +1 -1
- package/resources/ssl/verification.d.ts +7 -7
- package/resources/ssl/verification.d.ts.map +1 -1
- package/resources/ssl/verification.js +5 -5
- package/resources/ssl/verification.js.map +1 -1
- package/resources/ssl/verification.mjs +3 -3
- package/resources/ssl/verification.mjs.map +1 -1
- package/resources/storage/analytics.d.ts +12 -12
- package/resources/storage/analytics.d.ts.map +1 -1
- package/resources/storage/analytics.js.map +1 -1
- package/resources/storage/analytics.mjs.map +1 -1
- package/resources/storage/index.d.ts +1 -1
- package/resources/storage/index.d.ts.map +1 -1
- package/resources/storage/index.js +3 -3
- package/resources/storage/index.js.map +1 -1
- package/resources/storage/index.mjs +1 -1
- package/resources/storage/index.mjs.map +1 -1
- package/resources/storage/storage.d.ts +2 -2
- package/resources/storage/storage.d.ts.map +1 -1
- package/resources/stream/audio-tracks.d.ts +5 -5
- package/resources/stream/audio-tracks.d.ts.map +1 -1
- package/resources/stream/captions/captions.d.ts +39 -0
- package/resources/stream/captions/captions.d.ts.map +1 -0
- package/resources/{workers/deployments/by-scripts/by-scripts.js → stream/captions/captions.js} +12 -12
- package/resources/stream/captions/captions.js.map +1 -0
- package/resources/stream/captions/captions.mjs +20 -0
- package/resources/stream/captions/captions.mjs.map +1 -0
- package/resources/stream/captions/index.d.ts +3 -0
- package/resources/stream/captions/index.d.ts.map +1 -0
- package/resources/stream/captions/index.js +9 -0
- package/resources/stream/captions/index.js.map +1 -0
- package/resources/stream/captions/index.mjs +4 -0
- package/resources/stream/captions/index.mjs.map +1 -0
- package/resources/stream/captions/language/index.d.ts +3 -0
- package/resources/stream/captions/language/index.d.ts.map +1 -0
- package/resources/stream/captions/language/index.js +9 -0
- package/resources/stream/captions/language/index.js.map +1 -0
- package/resources/stream/captions/language/index.mjs +4 -0
- package/resources/stream/captions/language/index.mjs.map +1 -0
- package/resources/stream/captions/language/language.d.ts +58 -0
- package/resources/stream/captions/language/language.d.ts.map +1 -0
- package/resources/stream/captions/language/language.js +66 -0
- package/resources/stream/captions/language/language.js.map +1 -0
- package/resources/stream/{captions.mjs → captions/language/language.mjs} +18 -9
- package/resources/stream/captions/language/language.mjs.map +1 -0
- package/resources/stream/captions/language/vtt.d.ts +21 -0
- package/resources/stream/captions/language/vtt.d.ts.map +1 -0
- package/resources/stream/captions/language/vtt.js +21 -0
- package/resources/stream/captions/language/vtt.js.map +1 -0
- package/resources/stream/captions/language/vtt.mjs +17 -0
- package/resources/stream/captions/language/vtt.mjs.map +1 -0
- package/resources/stream/clip.d.ts +11 -10
- package/resources/stream/clip.d.ts.map +1 -1
- package/resources/stream/clip.js +5 -5
- package/resources/stream/clip.js.map +1 -1
- package/resources/stream/clip.mjs +3 -3
- package/resources/stream/clip.mjs.map +1 -1
- package/resources/stream/copy.d.ts +2 -2
- package/resources/stream/copy.d.ts.map +1 -1
- package/resources/stream/direct-upload.d.ts +3 -2
- package/resources/stream/direct-upload.d.ts.map +1 -1
- package/resources/stream/direct-upload.js.map +1 -1
- package/resources/stream/direct-upload.mjs.map +1 -1
- package/resources/stream/downloads.d.ts +7 -3
- package/resources/stream/downloads.d.ts.map +1 -1
- package/resources/stream/downloads.js +5 -2
- package/resources/stream/downloads.js.map +1 -1
- package/resources/stream/downloads.mjs +5 -2
- package/resources/stream/downloads.mjs.map +1 -1
- package/resources/stream/index.d.ts +7 -7
- package/resources/stream/index.d.ts.map +1 -1
- package/resources/stream/index.js +12 -13
- package/resources/stream/index.js.map +1 -1
- package/resources/stream/index.mjs +5 -5
- package/resources/stream/index.mjs.map +1 -1
- package/resources/stream/keys.d.ts +13 -5
- package/resources/stream/keys.d.ts.map +1 -1
- package/resources/stream/keys.js +35 -4
- package/resources/stream/keys.js.map +1 -1
- package/resources/stream/keys.mjs +12 -4
- package/resources/stream/keys.mjs.map +1 -1
- package/resources/stream/live-inputs/index.d.ts +2 -2
- package/resources/stream/live-inputs/index.d.ts.map +1 -1
- package/resources/stream/live-inputs/index.js +2 -2
- package/resources/stream/live-inputs/index.js.map +1 -1
- package/resources/stream/live-inputs/index.mjs +1 -1
- package/resources/stream/live-inputs/index.mjs.map +1 -1
- package/resources/stream/live-inputs/live-inputs.d.ts +20 -16
- package/resources/stream/live-inputs/live-inputs.d.ts.map +1 -1
- package/resources/stream/live-inputs/live-inputs.js +3 -2
- package/resources/stream/live-inputs/live-inputs.js.map +1 -1
- package/resources/stream/live-inputs/live-inputs.mjs +3 -2
- package/resources/stream/live-inputs/live-inputs.mjs.map +1 -1
- package/resources/stream/live-inputs/outputs.d.ts +12 -8
- package/resources/stream/live-inputs/outputs.d.ts.map +1 -1
- package/resources/stream/live-inputs/outputs.js +7 -7
- package/resources/stream/live-inputs/outputs.js.map +1 -1
- package/resources/stream/live-inputs/outputs.mjs +5 -5
- package/resources/stream/live-inputs/outputs.mjs.map +1 -1
- package/resources/stream/stream.d.ts +28 -33
- package/resources/stream/stream.d.ts.map +1 -1
- package/resources/stream/stream.js +12 -15
- package/resources/stream/stream.js.map +1 -1
- package/resources/stream/stream.mjs +10 -13
- package/resources/stream/stream.mjs.map +1 -1
- package/resources/stream/watermarks.d.ts +12 -12
- package/resources/stream/watermarks.d.ts.map +1 -1
- package/resources/stream/watermarks.js +10 -7
- package/resources/stream/watermarks.js.map +1 -1
- package/resources/stream/watermarks.mjs +8 -5
- package/resources/stream/watermarks.mjs.map +1 -1
- package/resources/stream/webhooks.d.ts +7 -3
- package/resources/stream/webhooks.d.ts.map +1 -1
- package/resources/stream/webhooks.js +5 -2
- package/resources/stream/webhooks.js.map +1 -1
- package/resources/stream/webhooks.mjs +5 -2
- package/resources/stream/webhooks.mjs.map +1 -1
- package/resources/subscriptions.d.ts +12 -259
- package/resources/subscriptions.d.ts.map +1 -1
- package/resources/subscriptions.js +9 -35
- package/resources/subscriptions.js.map +1 -1
- package/resources/subscriptions.mjs +8 -10
- package/resources/subscriptions.mjs.map +1 -1
- package/resources/url-normalization.d.ts +0 -7
- package/resources/url-normalization.d.ts.map +1 -1
- package/resources/url-normalization.js +0 -2
- package/resources/url-normalization.js.map +1 -1
- package/resources/url-normalization.mjs +0 -2
- package/resources/url-normalization.mjs.map +1 -1
- package/resources/url-scanner/index.d.ts +2 -2
- package/resources/url-scanner/index.d.ts.map +1 -1
- package/resources/url-scanner/index.js +3 -3
- package/resources/url-scanner/index.js.map +1 -1
- package/resources/url-scanner/index.mjs +1 -1
- package/resources/url-scanner/index.mjs.map +1 -1
- package/resources/url-scanner/scans.d.ts +39 -55
- package/resources/url-scanner/scans.d.ts.map +1 -1
- package/resources/url-scanner/scans.js.map +1 -1
- package/resources/url-scanner/scans.mjs.map +1 -1
- package/resources/url-scanner/url-scanner.d.ts +2 -3
- package/resources/url-scanner/url-scanner.d.ts.map +1 -1
- package/resources/url-scanner/url-scanner.js.map +1 -1
- package/resources/url-scanner/url-scanner.mjs.map +1 -1
- package/resources/user/audit-logs.d.ts +6 -85
- package/resources/user/audit-logs.d.ts.map +1 -1
- package/resources/user/audit-logs.js +4 -34
- package/resources/user/audit-logs.js.map +1 -1
- package/resources/user/audit-logs.mjs +3 -9
- package/resources/user/audit-logs.mjs.map +1 -1
- package/resources/user/billing/billing.d.ts +2 -2
- package/resources/user/billing/billing.d.ts.map +1 -1
- package/resources/user/billing/billing.js +1 -0
- package/resources/user/billing/billing.js.map +1 -1
- package/resources/user/billing/billing.mjs +1 -0
- package/resources/user/billing/billing.mjs.map +1 -1
- package/resources/user/billing/history.d.ts +22 -12
- package/resources/user/billing/history.d.ts.map +1 -1
- package/resources/user/billing/history.js +36 -4
- package/resources/user/billing/history.js.map +1 -1
- package/resources/user/billing/history.mjs +11 -3
- package/resources/user/billing/history.mjs.map +1 -1
- package/resources/user/billing/index.d.ts +1 -1
- package/resources/user/billing/index.d.ts.map +1 -1
- package/resources/user/billing/index.js +2 -1
- package/resources/user/billing/index.js.map +1 -1
- package/resources/user/billing/index.mjs +1 -1
- package/resources/user/billing/index.mjs.map +1 -1
- package/resources/user/index.d.ts +6 -8
- package/resources/user/index.d.ts.map +1 -1
- package/resources/user/index.js +9 -13
- package/resources/user/index.js.map +1 -1
- package/resources/user/index.mjs +5 -7
- package/resources/user/index.mjs.map +1 -1
- package/resources/user/invites.d.ts +7 -50
- package/resources/user/invites.d.ts.map +1 -1
- package/resources/user/invites.js +5 -5
- package/resources/user/invites.js.map +1 -1
- package/resources/user/invites.mjs +3 -3
- package/resources/user/invites.mjs.map +1 -1
- package/resources/user/organizations.d.ts +5 -2
- 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 +80 -311
- package/resources/user/subscriptions.d.ts.map +1 -1
- package/resources/user/subscriptions.js +7 -3
- package/resources/user/subscriptions.js.map +1 -1
- package/resources/user/subscriptions.mjs +5 -2
- package/resources/user/subscriptions.mjs.map +1 -1
- package/resources/user/tokens/index.d.ts +2 -2
- package/resources/user/tokens/index.d.ts.map +1 -1
- package/resources/user/tokens/index.js +5 -5
- package/resources/user/tokens/index.js.map +1 -1
- package/resources/user/tokens/index.mjs +2 -2
- package/resources/user/tokens/index.mjs.map +1 -1
- package/resources/user/tokens/tokens.d.ts +112 -54
- package/resources/user/tokens/tokens.d.ts.map +1 -1
- package/resources/user/tokens/tokens.js +4 -4
- package/resources/user/tokens/tokens.js.map +1 -1
- package/resources/user/tokens/tokens.mjs +4 -4
- package/resources/user/tokens/tokens.mjs.map +1 -1
- package/resources/user/tokens/value.d.ts +5 -5
- package/resources/user/tokens/value.d.ts.map +1 -1
- package/resources/user/tokens/value.js +5 -5
- package/resources/user/tokens/value.js.map +1 -1
- package/resources/user/tokens/value.mjs +3 -3
- package/resources/user/tokens/value.mjs.map +1 -1
- package/resources/user/user.d.ts +13 -72
- package/resources/user/user.d.ts.map +1 -1
- package/resources/user/user.js +14 -21
- package/resources/user/user.js.map +1 -1
- package/resources/user/user.mjs +12 -19
- package/resources/user/user.mjs.map +1 -1
- package/resources/vectorize/index.d.ts +1 -1
- package/resources/vectorize/index.d.ts.map +1 -1
- package/resources/vectorize/index.js +4 -4
- package/resources/vectorize/index.js.map +1 -1
- package/resources/vectorize/index.mjs +1 -1
- package/resources/vectorize/index.mjs.map +1 -1
- package/resources/vectorize/indexes.d.ts +118 -63
- package/resources/vectorize/indexes.d.ts.map +1 -1
- package/resources/vectorize/indexes.js +40 -24
- package/resources/vectorize/indexes.js.map +1 -1
- package/resources/vectorize/indexes.mjs +38 -22
- package/resources/vectorize/indexes.mjs.map +1 -1
- package/resources/vectorize/vectorize.d.ts +10 -6
- package/resources/vectorize/vectorize.d.ts.map +1 -1
- package/resources/vectorize/vectorize.js +1 -1
- package/resources/vectorize/vectorize.js.map +1 -1
- package/resources/vectorize/vectorize.mjs +1 -1
- package/resources/vectorize/vectorize.mjs.map +1 -1
- package/resources/waiting-rooms/events/details.d.ts +84 -3
- package/resources/waiting-rooms/events/details.d.ts.map +1 -1
- package/resources/waiting-rooms/events/details.js +3 -2
- package/resources/waiting-rooms/events/details.js.map +1 -1
- package/resources/waiting-rooms/events/details.mjs +3 -2
- package/resources/waiting-rooms/events/details.mjs.map +1 -1
- package/resources/waiting-rooms/events/events.d.ts +151 -89
- package/resources/waiting-rooms/events/events.d.ts.map +1 -1
- package/resources/waiting-rooms/events/events.js +25 -16
- package/resources/waiting-rooms/events/events.js.map +1 -1
- package/resources/waiting-rooms/events/events.mjs +23 -14
- package/resources/waiting-rooms/events/events.mjs.map +1 -1
- package/resources/waiting-rooms/events/index.d.ts +2 -2
- package/resources/waiting-rooms/events/index.d.ts.map +1 -1
- package/resources/waiting-rooms/events/index.js +2 -2
- package/resources/waiting-rooms/events/index.js.map +1 -1
- package/resources/waiting-rooms/events/index.mjs +1 -1
- package/resources/waiting-rooms/events/index.mjs.map +1 -1
- package/resources/waiting-rooms/index.d.ts +5 -5
- package/resources/waiting-rooms/index.d.ts.map +1 -1
- package/resources/waiting-rooms/index.js +7 -8
- package/resources/waiting-rooms/index.js.map +1 -1
- package/resources/waiting-rooms/index.mjs +3 -3
- package/resources/waiting-rooms/index.mjs.map +1 -1
- package/resources/waiting-rooms/page.d.ts +10 -6
- package/resources/waiting-rooms/page.d.ts.map +1 -1
- package/resources/waiting-rooms/page.js +3 -5
- package/resources/waiting-rooms/page.js.map +1 -1
- package/resources/waiting-rooms/page.mjs +3 -5
- package/resources/waiting-rooms/page.mjs.map +1 -1
- package/resources/waiting-rooms/rules.d.ts +58 -23
- package/resources/waiting-rooms/rules.d.ts.map +1 -1
- package/resources/waiting-rooms/rules.js +23 -15
- package/resources/waiting-rooms/rules.js.map +1 -1
- package/resources/waiting-rooms/rules.mjs +21 -13
- package/resources/waiting-rooms/rules.mjs.map +1 -1
- package/resources/waiting-rooms/settings.d.ts +35 -9
- package/resources/waiting-rooms/settings.d.ts.map +1 -1
- package/resources/waiting-rooms/settings.js +9 -9
- package/resources/waiting-rooms/settings.js.map +1 -1
- package/resources/waiting-rooms/settings.mjs +9 -9
- package/resources/waiting-rooms/settings.mjs.map +1 -1
- package/resources/waiting-rooms/statuses.d.ts +8 -1
- package/resources/waiting-rooms/statuses.d.ts.map +1 -1
- package/resources/waiting-rooms/statuses.js +3 -2
- package/resources/waiting-rooms/statuses.js.map +1 -1
- package/resources/waiting-rooms/statuses.mjs +3 -2
- package/resources/waiting-rooms/statuses.mjs.map +1 -1
- package/resources/waiting-rooms/waiting-rooms.d.ts +570 -337
- package/resources/waiting-rooms/waiting-rooms.d.ts.map +1 -1
- package/resources/waiting-rooms/waiting-rooms.js +26 -16
- package/resources/waiting-rooms/waiting-rooms.js.map +1 -1
- package/resources/waiting-rooms/waiting-rooms.mjs +26 -16
- package/resources/waiting-rooms/waiting-rooms.mjs.map +1 -1
- package/resources/warp-connector.d.ts +52 -558
- package/resources/warp-connector.d.ts.map +1 -1
- package/resources/warp-connector.js +0 -27
- package/resources/warp-connector.js.map +1 -1
- package/resources/warp-connector.mjs +0 -4
- package/resources/warp-connector.mjs.map +1 -1
- package/resources/web3/hostnames/hostnames.d.ts +11 -9
- package/resources/web3/hostnames/hostnames.d.ts.map +1 -1
- package/resources/web3/hostnames/hostnames.js +10 -7
- package/resources/web3/hostnames/hostnames.js.map +1 -1
- package/resources/web3/hostnames/hostnames.mjs +8 -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 +2 -2
- package/resources/web3/hostnames/index.js.map +1 -1
- package/resources/web3/hostnames/index.mjs +1 -1
- package/resources/web3/hostnames/index.mjs.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/content-lists.d.ts +28 -6
- 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 +82 -7
- 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 +2 -2
- 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/hostnames/ipfs-universal-paths/index.d.ts +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/index.d.ts.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/index.js.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/index.mjs +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/index.mjs.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/ipfs-universal-paths.d.ts +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/ipfs-universal-paths.d.ts.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 +2 -2
- package/resources/web3/index.js.map +1 -1
- package/resources/web3/index.mjs +1 -1
- package/resources/web3/index.mjs.map +1 -1
- package/resources/web3/web3.d.ts +3 -2
- package/resources/web3/web3.d.ts.map +1 -1
- package/resources/web3/web3.js +1 -1
- package/resources/web3/web3.js.map +1 -1
- package/resources/web3/web3.mjs +1 -1
- package/resources/web3/web3.mjs.map +1 -1
- package/resources/workers/ai.d.ts +19 -1
- package/resources/workers/ai.d.ts.map +1 -1
- package/resources/workers/ai.js.map +1 -1
- package/resources/workers/ai.mjs.map +1 -1
- package/resources/workers/domains.d.ts +14 -7
- package/resources/workers/domains.d.ts.map +1 -1
- package/resources/workers/domains.js +7 -6
- package/resources/workers/domains.js.map +1 -1
- package/resources/workers/domains.mjs +5 -4
- package/resources/workers/domains.mjs.map +1 -1
- package/resources/workers/index.d.ts +2 -6
- package/resources/workers/index.d.ts.map +1 -1
- package/resources/workers/index.js +7 -17
- package/resources/workers/index.js.map +1 -1
- package/resources/workers/index.mjs +2 -6
- package/resources/workers/index.mjs.map +1 -1
- package/resources/workers/scripts/content.d.ts +16 -20
- package/resources/workers/scripts/content.d.ts.map +1 -1
- package/resources/workers/scripts/content.js +10 -0
- package/resources/workers/scripts/content.js.map +1 -1
- package/resources/workers/scripts/content.mjs +10 -0
- package/resources/workers/scripts/content.mjs.map +1 -1
- package/resources/workers/scripts/deployments.d.ts +72 -0
- package/resources/workers/scripts/deployments.d.ts.map +1 -0
- package/resources/workers/scripts/deployments.js +32 -0
- package/resources/workers/scripts/deployments.js.map +1 -0
- package/resources/workers/scripts/deployments.mjs +28 -0
- package/resources/workers/scripts/deployments.mjs.map +1 -0
- package/resources/workers/scripts/index.d.ts +7 -8
- package/resources/workers/scripts/index.d.ts.map +1 -1
- package/resources/workers/scripts/index.js +10 -12
- package/resources/workers/scripts/index.js.map +1 -1
- package/resources/workers/scripts/index.mjs +5 -6
- package/resources/workers/scripts/index.mjs.map +1 -1
- package/resources/workers/scripts/schedules.d.ts +8 -16
- package/resources/workers/scripts/schedules.d.ts.map +1 -1
- package/resources/workers/scripts/schedules.js.map +1 -1
- package/resources/workers/scripts/schedules.mjs.map +1 -1
- package/resources/workers/scripts/scripts.d.ts +45 -166
- package/resources/workers/scripts/scripts.d.ts.map +1 -1
- package/resources/workers/scripts/scripts.js +13 -15
- package/resources/workers/scripts/scripts.js.map +1 -1
- package/resources/workers/scripts/scripts.mjs +11 -13
- package/resources/workers/scripts/scripts.mjs.map +1 -1
- package/resources/workers/scripts/settings.d.ts +16 -943
- package/resources/workers/scripts/settings.d.ts.map +1 -1
- package/resources/workers/scripts/settings.js +11 -5
- package/resources/workers/scripts/settings.js.map +1 -1
- package/resources/workers/scripts/settings.mjs +11 -5
- package/resources/workers/scripts/settings.mjs.map +1 -1
- package/resources/workers/scripts/tail.d.ts +37 -3
- package/resources/workers/scripts/tail.d.ts.map +1 -1
- package/resources/workers/scripts/tail.js +10 -4
- package/resources/workers/scripts/tail.js.map +1 -1
- package/resources/workers/scripts/tail.mjs +10 -4
- package/resources/workers/scripts/tail.mjs.map +1 -1
- package/resources/workers/scripts/versions.d.ts +126 -0
- package/resources/workers/scripts/versions.d.ts.map +1 -0
- package/resources/workers/scripts/versions.js +33 -0
- package/resources/workers/scripts/versions.js.map +1 -0
- package/resources/workers/scripts/versions.mjs +29 -0
- package/resources/workers/scripts/versions.mjs.map +1 -0
- package/resources/workers/workers.d.ts +290 -33
- package/resources/workers/workers.d.ts.map +1 -1
- package/resources/workers/workers.js +2 -16
- package/resources/workers/workers.js.map +1 -1
- package/resources/workers/workers.mjs +2 -16
- package/resources/workers/workers.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/index.d.ts +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/index.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/index.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/index.mjs +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/index.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/namespaces.d.ts +2 -2
- package/resources/workers-for-platforms/dispatch/namespaces/namespaces.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/namespaces.js +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/namespaces.mjs +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.d.ts +3 -171
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.js +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.mjs +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content.d.ts +5 -21
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.d.ts +3 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.js +9 -3
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.mjs +3 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts +37 -126
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.js +13 -3
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.mjs +13 -3
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.d.ts +69 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.d.ts.map +1 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.js +54 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.js.map +1 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.mjs +26 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.mjs.map +1 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts +41 -823
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.js +2 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.mjs +2 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.d.ts +58 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.d.ts.map +1 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.js +61 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.js.map +1 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.mjs +33 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.mjs.map +1 -0
- package/resources/zero-trust/access/access.d.ts +331 -16
- package/resources/zero-trust/access/access.d.ts.map +1 -1
- package/resources/zero-trust/access/access.js +7 -7
- package/resources/zero-trust/access/access.js.map +1 -1
- package/resources/zero-trust/access/access.mjs +7 -7
- package/resources/zero-trust/access/access.mjs.map +1 -1
- package/resources/zero-trust/access/applications/applications.d.ts +373 -633
- package/resources/zero-trust/access/applications/applications.d.ts.map +1 -1
- package/resources/zero-trust/access/applications/applications.js +7 -7
- package/resources/zero-trust/access/applications/applications.js.map +1 -1
- package/resources/zero-trust/access/applications/applications.mjs +5 -5
- package/resources/zero-trust/access/applications/applications.mjs.map +1 -1
- package/resources/zero-trust/access/applications/cas.d.ts +8 -8
- package/resources/zero-trust/access/applications/cas.d.ts.map +1 -1
- package/resources/zero-trust/access/applications/cas.js +5 -5
- package/resources/zero-trust/access/applications/cas.js.map +1 -1
- package/resources/zero-trust/access/applications/cas.mjs +3 -3
- package/resources/zero-trust/access/applications/cas.mjs.map +1 -1
- package/resources/zero-trust/access/applications/index.d.ts +4 -4
- package/resources/zero-trust/access/applications/index.d.ts.map +1 -1
- package/resources/zero-trust/access/applications/index.js +8 -8
- package/resources/zero-trust/access/applications/index.js.map +1 -1
- package/resources/zero-trust/access/applications/index.mjs +3 -3
- package/resources/zero-trust/access/applications/index.mjs.map +1 -1
- package/resources/zero-trust/access/applications/policies.d.ts +41 -2545
- package/resources/zero-trust/access/applications/policies.d.ts.map +1 -1
- package/resources/zero-trust/access/applications/policies.js +5 -5
- package/resources/zero-trust/access/applications/policies.js.map +1 -1
- package/resources/zero-trust/access/applications/policies.mjs +3 -3
- package/resources/zero-trust/access/applications/policies.mjs.map +1 -1
- package/resources/zero-trust/access/applications/user-policy-checks.d.ts +8 -8
- 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 +15 -9
- package/resources/zero-trust/access/bookmarks.d.ts.map +1 -1
- package/resources/zero-trust/access/bookmarks.js +20 -11
- package/resources/zero-trust/access/bookmarks.js.map +1 -1
- package/resources/zero-trust/access/bookmarks.mjs +18 -9
- package/resources/zero-trust/access/bookmarks.mjs.map +1 -1
- package/resources/zero-trust/access/certificates/certificates.d.ts +19 -14
- package/resources/zero-trust/access/certificates/certificates.d.ts.map +1 -1
- package/resources/zero-trust/access/certificates/certificates.js +5 -5
- package/resources/zero-trust/access/certificates/certificates.js.map +1 -1
- package/resources/zero-trust/access/certificates/certificates.mjs +3 -3
- package/resources/zero-trust/access/certificates/certificates.mjs.map +1 -1
- package/resources/zero-trust/access/certificates/index.d.ts +2 -2
- package/resources/zero-trust/access/certificates/index.d.ts.map +1 -1
- package/resources/zero-trust/access/certificates/index.js +2 -2
- package/resources/zero-trust/access/certificates/index.js.map +1 -1
- package/resources/zero-trust/access/certificates/index.mjs +1 -1
- package/resources/zero-trust/access/certificates/index.mjs.map +1 -1
- package/resources/zero-trust/access/certificates/settings.d.ts +5 -5
- package/resources/zero-trust/access/certificates/settings.d.ts.map +1 -1
- package/resources/zero-trust/access/custom-pages.d.ts +10 -10
- package/resources/zero-trust/access/custom-pages.d.ts.map +1 -1
- package/resources/zero-trust/access/custom-pages.js +5 -5
- package/resources/zero-trust/access/custom-pages.js.map +1 -1
- package/resources/zero-trust/access/custom-pages.mjs +3 -3
- package/resources/zero-trust/access/custom-pages.mjs.map +1 -1
- package/resources/zero-trust/access/groups.d.ts +20 -2765
- package/resources/zero-trust/access/groups.d.ts.map +1 -1
- package/resources/zero-trust/access/groups.js.map +1 -1
- package/resources/zero-trust/access/groups.mjs.map +1 -1
- package/resources/zero-trust/access/index.d.ts +9 -9
- package/resources/zero-trust/access/index.d.ts.map +1 -1
- package/resources/zero-trust/access/index.js +19 -19
- package/resources/zero-trust/access/index.js.map +1 -1
- package/resources/zero-trust/access/index.mjs +8 -8
- package/resources/zero-trust/access/index.mjs.map +1 -1
- package/resources/zero-trust/access/logs/access-requests.d.ts +3 -3
- package/resources/zero-trust/access/logs/access-requests.d.ts.map +1 -1
- package/resources/zero-trust/access/logs/access-requests.js +25 -0
- package/resources/zero-trust/access/logs/access-requests.js.map +1 -1
- package/resources/zero-trust/access/logs/access-requests.mjs +2 -0
- package/resources/zero-trust/access/logs/access-requests.mjs.map +1 -1
- package/resources/zero-trust/access/logs/index.d.ts +1 -1
- package/resources/zero-trust/access/logs/index.d.ts.map +1 -1
- package/resources/zero-trust/access/logs/index.js +3 -3
- package/resources/zero-trust/access/logs/index.js.map +1 -1
- package/resources/zero-trust/access/logs/index.mjs +1 -1
- package/resources/zero-trust/access/logs/index.mjs.map +1 -1
- package/resources/zero-trust/access/logs/logs.d.ts +0 -1
- package/resources/zero-trust/access/logs/logs.d.ts.map +1 -1
- package/resources/zero-trust/access/logs/logs.js.map +1 -1
- package/resources/zero-trust/access/logs/logs.mjs.map +1 -1
- package/resources/zero-trust/access/service-tokens.d.ts +10 -10
- package/resources/zero-trust/access/service-tokens.d.ts.map +1 -1
- package/resources/zero-trust/access/service-tokens.js +5 -5
- package/resources/zero-trust/access/service-tokens.js.map +1 -1
- package/resources/zero-trust/access/service-tokens.mjs +3 -3
- package/resources/zero-trust/access/service-tokens.mjs.map +1 -1
- package/resources/zero-trust/access/tags.d.ts +8 -8
- package/resources/zero-trust/access/tags.d.ts.map +1 -1
- package/resources/zero-trust/access/tags.js +5 -5
- package/resources/zero-trust/access/tags.js.map +1 -1
- package/resources/zero-trust/access/tags.mjs +3 -3
- package/resources/zero-trust/access/tags.mjs.map +1 -1
- package/resources/zero-trust/access/users/active-sessions.d.ts +4 -6
- package/resources/zero-trust/access/users/active-sessions.d.ts.map +1 -1
- package/resources/zero-trust/access/users/active-sessions.js.map +1 -1
- package/resources/zero-trust/access/users/active-sessions.mjs.map +1 -1
- package/resources/zero-trust/access/users/index.d.ts +2 -2
- package/resources/zero-trust/access/users/index.d.ts.map +1 -1
- package/resources/zero-trust/access/users/index.js +4 -4
- package/resources/zero-trust/access/users/index.js.map +1 -1
- package/resources/zero-trust/access/users/index.mjs +1 -1
- package/resources/zero-trust/access/users/index.mjs.map +1 -1
- package/resources/zero-trust/access/users/last-seen-identity.d.ts +11 -13
- package/resources/zero-trust/access/users/last-seen-identity.d.ts.map +1 -1
- package/resources/zero-trust/access/users/last-seen-identity.js.map +1 -1
- package/resources/zero-trust/access/users/last-seen-identity.mjs.map +1 -1
- package/resources/zero-trust/access/users/users.d.ts +6 -6
- package/resources/zero-trust/access/users/users.d.ts.map +1 -1
- package/resources/zero-trust/access/users/users.js +5 -5
- package/resources/zero-trust/access/users/users.js.map +1 -1
- package/resources/zero-trust/access/users/users.mjs +3 -3
- package/resources/zero-trust/access/users/users.mjs.map +1 -1
- package/resources/zero-trust/devices/devices.d.ts +36 -17
- package/resources/zero-trust/devices/devices.d.ts.map +1 -1
- package/resources/zero-trust/devices/devices.js +8 -8
- package/resources/zero-trust/devices/devices.js.map +1 -1
- package/resources/zero-trust/devices/devices.mjs +6 -6
- package/resources/zero-trust/devices/devices.mjs.map +1 -1
- package/resources/zero-trust/devices/dex-tests.d.ts +115 -42
- package/resources/zero-trust/devices/dex-tests.d.ts.map +1 -1
- package/resources/zero-trust/devices/dex-tests.js +5 -5
- package/resources/zero-trust/devices/dex-tests.js.map +1 -1
- package/resources/zero-trust/devices/dex-tests.mjs +3 -3
- package/resources/zero-trust/devices/dex-tests.mjs.map +1 -1
- package/resources/zero-trust/devices/index.d.ts +6 -6
- package/resources/zero-trust/devices/index.d.ts.map +1 -1
- package/resources/zero-trust/devices/index.js +14 -14
- package/resources/zero-trust/devices/index.js.map +1 -1
- package/resources/zero-trust/devices/index.mjs +5 -5
- package/resources/zero-trust/devices/index.mjs.map +1 -1
- package/resources/zero-trust/devices/networks.d.ts +18 -11
- package/resources/zero-trust/devices/networks.d.ts.map +1 -1
- package/resources/zero-trust/devices/networks.js +10 -7
- package/resources/zero-trust/devices/networks.js.map +1 -1
- package/resources/zero-trust/devices/networks.mjs +8 -5
- package/resources/zero-trust/devices/networks.mjs.map +1 -1
- package/resources/zero-trust/devices/policies/excludes.d.ts +8 -8
- package/resources/zero-trust/devices/policies/excludes.js +5 -5
- package/resources/zero-trust/devices/policies/excludes.mjs +3 -3
- package/resources/zero-trust/devices/policies/fallback-domains.d.ts +10 -8
- package/resources/zero-trust/devices/policies/fallback-domains.d.ts.map +1 -1
- package/resources/zero-trust/devices/policies/fallback-domains.js +5 -5
- package/resources/zero-trust/devices/policies/fallback-domains.js.map +1 -1
- package/resources/zero-trust/devices/policies/fallback-domains.mjs +3 -3
- package/resources/zero-trust/devices/policies/fallback-domains.mjs.map +1 -1
- package/resources/zero-trust/devices/policies/includes.d.ts +8 -8
- package/resources/zero-trust/devices/policies/includes.d.ts.map +1 -1
- package/resources/zero-trust/devices/policies/includes.js +5 -5
- package/resources/zero-trust/devices/policies/includes.js.map +1 -1
- package/resources/zero-trust/devices/policies/includes.mjs +3 -3
- package/resources/zero-trust/devices/policies/includes.mjs.map +1 -1
- package/resources/zero-trust/devices/policies/index.d.ts +4 -4
- package/resources/zero-trust/devices/policies/index.d.ts.map +1 -1
- package/resources/zero-trust/devices/policies/index.js +7 -7
- package/resources/zero-trust/devices/policies/index.js.map +1 -1
- package/resources/zero-trust/devices/policies/index.mjs +4 -4
- package/resources/zero-trust/devices/policies/index.mjs.map +1 -1
- package/resources/zero-trust/devices/policies/policies.d.ts +39 -20
- package/resources/zero-trust/devices/policies/policies.d.ts.map +1 -1
- package/resources/zero-trust/devices/policies/policies.js +13 -10
- package/resources/zero-trust/devices/policies/policies.js.map +1 -1
- package/resources/zero-trust/devices/policies/policies.mjs +11 -8
- package/resources/zero-trust/devices/policies/policies.mjs.map +1 -1
- package/resources/zero-trust/devices/posture/index.d.ts +2 -2
- package/resources/zero-trust/devices/posture/index.d.ts.map +1 -1
- package/resources/zero-trust/devices/posture/index.js +4 -4
- package/resources/zero-trust/devices/posture/index.js.map +1 -1
- package/resources/zero-trust/devices/posture/index.mjs +1 -1
- package/resources/zero-trust/devices/posture/index.mjs.map +1 -1
- package/resources/zero-trust/devices/posture/integrations.d.ts +19 -12
- package/resources/zero-trust/devices/posture/integrations.d.ts.map +1 -1
- package/resources/zero-trust/devices/posture/integrations.js +10 -7
- package/resources/zero-trust/devices/posture/integrations.js.map +1 -1
- package/resources/zero-trust/devices/posture/integrations.mjs +8 -5
- package/resources/zero-trust/devices/posture/integrations.mjs.map +1 -1
- package/resources/zero-trust/devices/posture/posture.d.ts +322 -857
- package/resources/zero-trust/devices/posture/posture.d.ts.map +1 -1
- package/resources/zero-trust/devices/posture/posture.js +6 -3
- package/resources/zero-trust/devices/posture/posture.js.map +1 -1
- package/resources/zero-trust/devices/posture/posture.mjs +6 -3
- package/resources/zero-trust/devices/posture/posture.mjs.map +1 -1
- package/resources/zero-trust/devices/revoke.d.ts +2 -2
- package/resources/zero-trust/devices/revoke.d.ts.map +1 -1
- package/resources/zero-trust/devices/revoke.js.map +1 -1
- package/resources/zero-trust/devices/revoke.mjs.map +1 -1
- package/resources/zero-trust/devices/settings.d.ts +4 -4
- package/resources/zero-trust/devices/settings.d.ts.map +1 -1
- package/resources/zero-trust/devices/settings.js.map +1 -1
- package/resources/zero-trust/devices/settings.mjs.map +1 -1
- package/resources/zero-trust/devices/unrevoke.d.ts +2 -2
- package/resources/zero-trust/devices/unrevoke.d.ts.map +1 -1
- package/resources/zero-trust/dex/dex.d.ts +97 -5
- package/resources/zero-trust/dex/dex.d.ts.map +1 -1
- package/resources/zero-trust/dex/dex.js.map +1 -1
- package/resources/zero-trust/dex/dex.mjs.map +1 -1
- package/resources/zero-trust/dex/fleet-status/devices.d.ts +7 -5
- package/resources/zero-trust/dex/fleet-status/devices.d.ts.map +1 -1
- package/resources/zero-trust/dex/fleet-status/devices.js +5 -5
- package/resources/zero-trust/dex/fleet-status/devices.js.map +1 -1
- package/resources/zero-trust/dex/fleet-status/devices.mjs +3 -3
- package/resources/zero-trust/dex/fleet-status/devices.mjs.map +1 -1
- package/resources/zero-trust/dex/fleet-status/fleet-status.d.ts +15 -44
- package/resources/zero-trust/dex/fleet-status/fleet-status.d.ts.map +1 -1
- package/resources/zero-trust/dex/fleet-status/fleet-status.js +1 -1
- package/resources/zero-trust/dex/fleet-status/fleet-status.js.map +1 -1
- package/resources/zero-trust/dex/fleet-status/fleet-status.mjs +1 -1
- package/resources/zero-trust/dex/fleet-status/fleet-status.mjs.map +1 -1
- package/resources/zero-trust/dex/fleet-status/index.d.ts +2 -2
- package/resources/zero-trust/dex/fleet-status/index.d.ts.map +1 -1
- package/resources/zero-trust/dex/fleet-status/index.js +2 -2
- package/resources/zero-trust/dex/fleet-status/index.js.map +1 -1
- package/resources/zero-trust/dex/fleet-status/index.mjs +1 -1
- package/resources/zero-trust/dex/fleet-status/index.mjs.map +1 -1
- package/resources/zero-trust/dex/http-tests/http-tests.d.ts +25 -103
- package/resources/zero-trust/dex/http-tests/http-tests.d.ts.map +1 -1
- package/resources/zero-trust/dex/http-tests/http-tests.js.map +1 -1
- package/resources/zero-trust/dex/http-tests/http-tests.mjs.map +1 -1
- package/resources/zero-trust/dex/http-tests/index.d.ts +2 -2
- package/resources/zero-trust/dex/http-tests/index.d.ts.map +1 -1
- package/resources/zero-trust/dex/http-tests/index.js.map +1 -1
- package/resources/zero-trust/dex/http-tests/index.mjs +1 -1
- package/resources/zero-trust/dex/http-tests/index.mjs.map +1 -1
- package/resources/zero-trust/dex/http-tests/percentiles.d.ts +27 -60
- package/resources/zero-trust/dex/http-tests/percentiles.d.ts.map +1 -1
- package/resources/zero-trust/dex/http-tests/percentiles.js.map +1 -1
- package/resources/zero-trust/dex/http-tests/percentiles.mjs.map +1 -1
- package/resources/zero-trust/dex/index.d.ts +5 -5
- package/resources/zero-trust/dex/index.d.ts.map +1 -1
- package/resources/zero-trust/dex/index.js +8 -8
- package/resources/zero-trust/dex/index.js.map +1 -1
- package/resources/zero-trust/dex/index.mjs +2 -2
- package/resources/zero-trust/dex/index.mjs.map +1 -1
- package/resources/zero-trust/dex/tests/index.d.ts +2 -2
- package/resources/zero-trust/dex/tests/index.d.ts.map +1 -1
- package/resources/zero-trust/dex/tests/index.js +2 -2
- package/resources/zero-trust/dex/tests/index.js.map +1 -1
- package/resources/zero-trust/dex/tests/index.mjs +2 -2
- package/resources/zero-trust/dex/tests/index.mjs.map +1 -1
- package/resources/zero-trust/dex/tests/tests.d.ts +29 -65
- package/resources/zero-trust/dex/tests/tests.d.ts.map +1 -1
- package/resources/zero-trust/dex/tests/tests.js +1 -0
- package/resources/zero-trust/dex/tests/tests.js.map +1 -1
- package/resources/zero-trust/dex/tests/tests.mjs +1 -0
- package/resources/zero-trust/dex/tests/tests.mjs.map +1 -1
- package/resources/zero-trust/dex/tests/unique-devices.d.ts +3 -3
- package/resources/zero-trust/dex/tests/unique-devices.d.ts.map +1 -1
- package/resources/zero-trust/dex/tests/unique-devices.js +25 -0
- package/resources/zero-trust/dex/tests/unique-devices.js.map +1 -1
- package/resources/zero-trust/dex/tests/unique-devices.mjs +2 -0
- package/resources/zero-trust/dex/tests/unique-devices.mjs.map +1 -1
- package/resources/zero-trust/dex/traceroute-test-results/index.d.ts +1 -1
- package/resources/zero-trust/dex/traceroute-test-results/index.d.ts.map +1 -1
- package/resources/zero-trust/dex/traceroute-test-results/index.js.map +1 -1
- package/resources/zero-trust/dex/traceroute-test-results/index.mjs +1 -1
- package/resources/zero-trust/dex/traceroute-test-results/index.mjs.map +1 -1
- package/resources/zero-trust/dex/traceroute-test-results/network-path.d.ts +5 -5
- package/resources/zero-trust/dex/traceroute-test-results/network-path.d.ts.map +1 -1
- package/resources/zero-trust/dex/traceroute-test-results/traceroute-test-results.d.ts +1 -1
- package/resources/zero-trust/dex/traceroute-test-results/traceroute-test-results.d.ts.map +1 -1
- package/resources/zero-trust/dex/traceroute-tests.d.ts +21 -221
- package/resources/zero-trust/dex/traceroute-tests.d.ts.map +1 -1
- package/resources/zero-trust/dex/traceroute-tests.js.map +1 -1
- package/resources/zero-trust/dex/traceroute-tests.mjs.map +1 -1
- package/resources/zero-trust/dlp/datasets/datasets.d.ts +16 -16
- package/resources/zero-trust/dlp/datasets/datasets.d.ts.map +1 -1
- package/resources/zero-trust/dlp/datasets/datasets.js +5 -5
- package/resources/zero-trust/dlp/datasets/datasets.js.map +1 -1
- package/resources/zero-trust/dlp/datasets/datasets.mjs +3 -3
- package/resources/zero-trust/dlp/datasets/datasets.mjs.map +1 -1
- package/resources/zero-trust/dlp/datasets/index.d.ts +2 -2
- package/resources/zero-trust/dlp/datasets/index.d.ts.map +1 -1
- package/resources/zero-trust/dlp/datasets/index.js +2 -2
- package/resources/zero-trust/dlp/datasets/index.js.map +1 -1
- package/resources/zero-trust/dlp/datasets/index.mjs +1 -1
- package/resources/zero-trust/dlp/datasets/index.mjs.map +1 -1
- package/resources/zero-trust/dlp/datasets/upload.d.ts +11 -4
- package/resources/zero-trust/dlp/datasets/upload.d.ts.map +1 -1
- package/resources/zero-trust/dlp/datasets/upload.js +5 -2
- package/resources/zero-trust/dlp/datasets/upload.js.map +1 -1
- package/resources/zero-trust/dlp/datasets/upload.mjs +5 -2
- package/resources/zero-trust/dlp/datasets/upload.mjs.map +1 -1
- package/resources/zero-trust/dlp/dlp.d.ts +8 -7
- package/resources/zero-trust/dlp/dlp.d.ts.map +1 -1
- package/resources/zero-trust/dlp/dlp.js +2 -2
- package/resources/zero-trust/dlp/dlp.js.map +1 -1
- package/resources/zero-trust/dlp/dlp.mjs +2 -2
- package/resources/zero-trust/dlp/dlp.mjs.map +1 -1
- package/resources/zero-trust/dlp/index.d.ts +3 -3
- package/resources/zero-trust/dlp/index.d.ts.map +1 -1
- package/resources/zero-trust/dlp/index.js +7 -7
- package/resources/zero-trust/dlp/index.js.map +1 -1
- package/resources/zero-trust/dlp/index.mjs +2 -2
- package/resources/zero-trust/dlp/index.mjs.map +1 -1
- package/resources/zero-trust/dlp/patterns.d.ts +2 -5
- package/resources/zero-trust/dlp/patterns.d.ts.map +1 -1
- package/resources/zero-trust/dlp/patterns.js.map +1 -1
- package/resources/zero-trust/dlp/patterns.mjs.map +1 -1
- package/resources/zero-trust/dlp/profiles/custom.d.ts +34 -140
- package/resources/zero-trust/dlp/profiles/custom.d.ts.map +1 -1
- package/resources/zero-trust/dlp/profiles/custom.js +5 -2
- package/resources/zero-trust/dlp/profiles/custom.js.map +1 -1
- package/resources/zero-trust/dlp/profiles/custom.mjs +5 -2
- package/resources/zero-trust/dlp/profiles/custom.mjs.map +1 -1
- package/resources/zero-trust/dlp/profiles/index.d.ts +3 -3
- package/resources/zero-trust/dlp/profiles/index.d.ts.map +1 -1
- package/resources/zero-trust/dlp/profiles/index.js +4 -4
- package/resources/zero-trust/dlp/profiles/index.js.map +1 -1
- package/resources/zero-trust/dlp/profiles/index.mjs +1 -1
- package/resources/zero-trust/dlp/profiles/index.mjs.map +1 -1
- package/resources/zero-trust/dlp/profiles/predefined.d.ts +9 -60
- package/resources/zero-trust/dlp/profiles/predefined.d.ts.map +1 -1
- package/resources/zero-trust/dlp/profiles/predefined.js.map +1 -1
- package/resources/zero-trust/dlp/profiles/predefined.mjs.map +1 -1
- package/resources/zero-trust/dlp/profiles/profiles.d.ts +36 -9
- package/resources/zero-trust/dlp/profiles/profiles.d.ts.map +1 -1
- package/resources/zero-trust/dlp/profiles/profiles.js +5 -5
- package/resources/zero-trust/dlp/profiles/profiles.js.map +1 -1
- package/resources/zero-trust/dlp/profiles/profiles.mjs +3 -3
- package/resources/zero-trust/dlp/profiles/profiles.mjs.map +1 -1
- package/resources/zero-trust/gateway/app-types.d.ts +6 -6
- package/resources/zero-trust/gateway/app-types.d.ts.map +1 -1
- package/resources/zero-trust/gateway/app-types.js +5 -5
- package/resources/zero-trust/gateway/app-types.js.map +1 -1
- package/resources/zero-trust/gateway/app-types.mjs +3 -3
- package/resources/zero-trust/gateway/app-types.mjs.map +1 -1
- package/resources/zero-trust/gateway/audit-ssh-settings.d.ts +4 -4
- package/resources/zero-trust/gateway/audit-ssh-settings.d.ts.map +1 -1
- package/resources/zero-trust/gateway/audit-ssh-settings.js.map +1 -1
- package/resources/zero-trust/gateway/audit-ssh-settings.mjs.map +1 -1
- package/resources/zero-trust/gateway/categories.d.ts +7 -7
- package/resources/zero-trust/gateway/categories.d.ts.map +1 -1
- package/resources/zero-trust/gateway/categories.js +5 -5
- package/resources/zero-trust/gateway/categories.js.map +1 -1
- package/resources/zero-trust/gateway/categories.mjs +3 -3
- package/resources/zero-trust/gateway/categories.mjs.map +1 -1
- package/resources/zero-trust/gateway/configurations.d.ts +228 -1088
- 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/gateway.d.ts +34 -14
- package/resources/zero-trust/gateway/gateway.d.ts.map +1 -1
- package/resources/zero-trust/gateway/gateway.js +6 -6
- package/resources/zero-trust/gateway/gateway.js.map +1 -1
- package/resources/zero-trust/gateway/gateway.mjs +6 -6
- package/resources/zero-trust/gateway/gateway.mjs.map +1 -1
- package/resources/zero-trust/gateway/index.d.ts +9 -9
- package/resources/zero-trust/gateway/index.d.ts.map +1 -1
- package/resources/zero-trust/gateway/index.js +17 -17
- package/resources/zero-trust/gateway/index.js.map +1 -1
- package/resources/zero-trust/gateway/index.mjs +7 -7
- package/resources/zero-trust/gateway/index.mjs.map +1 -1
- package/resources/zero-trust/gateway/lists/index.d.ts +1 -1
- package/resources/zero-trust/gateway/lists/index.d.ts.map +1 -1
- package/resources/zero-trust/gateway/lists/index.js +4 -4
- package/resources/zero-trust/gateway/lists/index.js.map +1 -1
- package/resources/zero-trust/gateway/lists/index.mjs +1 -1
- package/resources/zero-trust/gateway/lists/index.mjs.map +1 -1
- package/resources/zero-trust/gateway/lists/items.d.ts +2 -10
- package/resources/zero-trust/gateway/lists/items.d.ts.map +1 -1
- package/resources/zero-trust/gateway/lists/items.js.map +1 -1
- package/resources/zero-trust/gateway/lists/items.mjs.map +1 -1
- package/resources/zero-trust/gateway/lists/lists.d.ts +27 -37
- package/resources/zero-trust/gateway/lists/lists.d.ts.map +1 -1
- package/resources/zero-trust/gateway/lists/lists.js +10 -7
- package/resources/zero-trust/gateway/lists/lists.js.map +1 -1
- package/resources/zero-trust/gateway/lists/lists.mjs +8 -5
- package/resources/zero-trust/gateway/lists/lists.mjs.map +1 -1
- package/resources/zero-trust/gateway/locations.d.ts +25 -35
- package/resources/zero-trust/gateway/locations.d.ts.map +1 -1
- package/resources/zero-trust/gateway/locations.js +10 -7
- package/resources/zero-trust/gateway/locations.js.map +1 -1
- package/resources/zero-trust/gateway/locations.mjs +8 -5
- package/resources/zero-trust/gateway/locations.mjs.map +1 -1
- package/resources/zero-trust/gateway/logging.d.ts +6 -6
- package/resources/zero-trust/gateway/logging.d.ts.map +1 -1
- package/resources/zero-trust/gateway/logging.js.map +1 -1
- package/resources/zero-trust/gateway/logging.mjs.map +1 -1
- package/resources/zero-trust/gateway/proxy-endpoints.d.ts +25 -20
- package/resources/zero-trust/gateway/proxy-endpoints.d.ts.map +1 -1
- package/resources/zero-trust/gateway/proxy-endpoints.js +10 -7
- package/resources/zero-trust/gateway/proxy-endpoints.js.map +1 -1
- package/resources/zero-trust/gateway/proxy-endpoints.mjs +8 -5
- package/resources/zero-trust/gateway/proxy-endpoints.mjs.map +1 -1
- package/resources/zero-trust/gateway/rules.d.ts +318 -957
- package/resources/zero-trust/gateway/rules.d.ts.map +1 -1
- package/resources/zero-trust/gateway/rules.js +10 -7
- package/resources/zero-trust/gateway/rules.js.map +1 -1
- package/resources/zero-trust/gateway/rules.mjs +8 -5
- package/resources/zero-trust/gateway/rules.mjs.map +1 -1
- package/resources/zero-trust/identity-providers.d.ts +289 -2404
- 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/index.d.ts +8 -7
- package/resources/zero-trust/index.d.ts.map +1 -1
- package/resources/zero-trust/index.js +20 -18
- package/resources/zero-trust/index.js.map +1 -1
- package/resources/zero-trust/index.mjs +8 -7
- package/resources/zero-trust/index.mjs.map +1 -1
- package/resources/zero-trust/networks/index.d.ts +2 -2
- package/resources/zero-trust/networks/index.d.ts.map +1 -1
- package/resources/zero-trust/networks/index.js +5 -5
- package/resources/zero-trust/networks/index.js.map +1 -1
- package/resources/zero-trust/networks/index.mjs +2 -2
- package/resources/zero-trust/networks/index.mjs.map +1 -1
- package/resources/zero-trust/networks/networks.d.ts +6 -5
- package/resources/zero-trust/networks/networks.d.ts.map +1 -1
- package/resources/zero-trust/networks/networks.js +2 -2
- package/resources/zero-trust/networks/networks.js.map +1 -1
- package/resources/zero-trust/networks/networks.mjs +2 -2
- package/resources/zero-trust/networks/networks.mjs.map +1 -1
- package/resources/zero-trust/networks/routes/index.d.ts +1 -1
- package/resources/zero-trust/networks/routes/index.d.ts.map +1 -1
- package/resources/zero-trust/networks/routes/index.js +2 -2
- package/resources/zero-trust/networks/routes/index.js.map +1 -1
- package/resources/zero-trust/networks/routes/index.mjs +1 -1
- package/resources/zero-trust/networks/routes/index.mjs.map +1 -1
- package/resources/zero-trust/networks/routes/ips.d.ts +3 -5
- package/resources/zero-trust/networks/routes/ips.d.ts.map +1 -1
- package/resources/zero-trust/networks/routes/ips.js.map +1 -1
- package/resources/zero-trust/networks/routes/ips.mjs.map +1 -1
- package/resources/zero-trust/networks/routes/networks.d.ts +13 -7
- package/resources/zero-trust/networks/routes/networks.d.ts.map +1 -1
- package/resources/zero-trust/networks/routes/networks.js +2 -2
- package/resources/zero-trust/networks/routes/networks.js.map +1 -1
- package/resources/zero-trust/networks/routes/networks.mjs +2 -2
- package/resources/zero-trust/networks/routes/networks.mjs.map +1 -1
- package/resources/zero-trust/networks/routes/routes.d.ts +78 -60
- package/resources/zero-trust/networks/routes/routes.d.ts.map +1 -1
- package/resources/zero-trust/networks/routes/routes.js +8 -5
- package/resources/zero-trust/networks/routes/routes.js.map +1 -1
- package/resources/zero-trust/networks/routes/routes.mjs +6 -3
- package/resources/zero-trust/networks/routes/routes.mjs.map +1 -1
- package/resources/zero-trust/networks/virtual-networks.d.ts +21 -17
- package/resources/zero-trust/networks/virtual-networks.d.ts.map +1 -1
- package/resources/zero-trust/networks/virtual-networks.js +10 -7
- package/resources/zero-trust/networks/virtual-networks.js.map +1 -1
- package/resources/zero-trust/networks/virtual-networks.mjs +8 -5
- package/resources/zero-trust/networks/virtual-networks.mjs.map +1 -1
- package/resources/zero-trust/organizations.d.ts +34 -79
- 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/risk-scoring/behaviours.d.ts +50 -0
- package/resources/zero-trust/risk-scoring/behaviours.d.ts.map +1 -0
- package/resources/zero-trust/risk-scoring/behaviours.js +26 -0
- package/resources/zero-trust/risk-scoring/behaviours.js.map +1 -0
- package/resources/zero-trust/risk-scoring/behaviours.mjs +22 -0
- package/resources/zero-trust/risk-scoring/behaviours.mjs.map +1 -0
- package/resources/zero-trust/risk-scoring/index.d.ts +4 -0
- package/resources/zero-trust/risk-scoring/index.d.ts.map +1 -0
- package/resources/zero-trust/risk-scoring/index.js +11 -0
- package/resources/zero-trust/risk-scoring/index.js.map +1 -0
- package/resources/zero-trust/risk-scoring/index.mjs +5 -0
- package/resources/zero-trust/risk-scoring/index.mjs.map +1 -0
- package/resources/zero-trust/risk-scoring/risk-scoring.d.ts +54 -0
- package/resources/zero-trust/risk-scoring/risk-scoring.d.ts.map +1 -0
- package/resources/zero-trust/risk-scoring/risk-scoring.js +59 -0
- package/resources/zero-trust/risk-scoring/risk-scoring.js.map +1 -0
- package/resources/zero-trust/risk-scoring/risk-scoring.mjs +32 -0
- package/resources/zero-trust/risk-scoring/risk-scoring.mjs.map +1 -0
- package/resources/zero-trust/risk-scoring/summary.d.ts +37 -0
- package/resources/zero-trust/risk-scoring/summary.d.ts.map +1 -0
- package/resources/zero-trust/risk-scoring/summary.js +21 -0
- package/resources/zero-trust/risk-scoring/summary.js.map +1 -0
- package/resources/zero-trust/risk-scoring/summary.mjs +17 -0
- package/resources/zero-trust/risk-scoring/summary.mjs.map +1 -0
- package/resources/zero-trust/seats.d.ts +3 -3
- package/resources/zero-trust/seats.d.ts.map +1 -1
- package/resources/zero-trust/tunnels/configurations.d.ts +10 -6
- package/resources/zero-trust/tunnels/configurations.d.ts.map +1 -1
- package/resources/zero-trust/tunnels/configurations.js.map +1 -1
- package/resources/zero-trust/tunnels/configurations.mjs.map +1 -1
- package/resources/zero-trust/tunnels/connections.d.ts +7 -7
- package/resources/zero-trust/tunnels/connections.d.ts.map +1 -1
- package/resources/zero-trust/tunnels/connectors.d.ts +1 -1
- package/resources/zero-trust/tunnels/connectors.d.ts.map +1 -1
- package/resources/zero-trust/tunnels/index.d.ts +2 -2
- package/resources/zero-trust/tunnels/index.d.ts.map +1 -1
- package/resources/zero-trust/tunnels/index.js +6 -6
- package/resources/zero-trust/tunnels/index.js.map +1 -1
- package/resources/zero-trust/tunnels/index.mjs +2 -2
- package/resources/zero-trust/tunnels/index.mjs.map +1 -1
- package/resources/zero-trust/tunnels/tunnels.d.ts +105 -251
- package/resources/zero-trust/tunnels/tunnels.d.ts.map +1 -1
- package/resources/zero-trust/tunnels/tunnels.js.map +1 -1
- package/resources/zero-trust/tunnels/tunnels.mjs.map +1 -1
- package/resources/zero-trust/zero-trust.d.ts +44 -6
- package/resources/zero-trust/zero-trust.d.ts.map +1 -1
- package/resources/zero-trust/zero-trust.js +4 -1
- package/resources/zero-trust/zero-trust.js.map +1 -1
- package/resources/zero-trust/zero-trust.mjs +4 -1
- package/resources/zero-trust/zero-trust.mjs.map +1 -1
- package/resources/zones/dns-settings.d.ts +37 -37
- 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/holds.d.ts +5 -17
- package/resources/zones/holds.d.ts.map +1 -1
- package/resources/zones/holds.js.map +1 -1
- package/resources/zones/holds.mjs.map +1 -1
- package/resources/zones/index.d.ts +5 -6
- package/resources/zones/index.d.ts.map +1 -1
- package/resources/zones/index.js +3 -7
- package/resources/zones/index.js.map +1 -1
- package/resources/zones/index.mjs +4 -5
- package/resources/zones/index.mjs.map +1 -1
- package/resources/zones/settings/advanced-ddos.d.ts +3 -3
- package/resources/zones/settings/advanced-ddos.d.ts.map +1 -1
- package/resources/zones/settings/advanced-ddos.js +25 -0
- package/resources/zones/settings/advanced-ddos.js.map +1 -1
- package/resources/zones/settings/advanced-ddos.mjs +2 -0
- package/resources/zones/settings/advanced-ddos.mjs.map +1 -1
- package/resources/zones/settings/always-online.d.ts +6 -6
- package/resources/zones/settings/always-online.d.ts.map +1 -1
- package/resources/zones/settings/always-online.js +5 -5
- package/resources/zones/settings/always-online.js.map +1 -1
- package/resources/zones/settings/always-online.mjs +3 -3
- package/resources/zones/settings/always-online.mjs.map +1 -1
- package/resources/zones/settings/always-use-https.d.ts +4 -4
- package/resources/zones/settings/always-use-https.d.ts.map +1 -1
- package/resources/zones/settings/always-use-https.js +25 -0
- package/resources/zones/settings/always-use-https.js.map +1 -1
- package/resources/zones/settings/always-use-https.mjs +2 -0
- package/resources/zones/settings/always-use-https.mjs.map +1 -1
- package/resources/zones/settings/automatic-https-rewrites.d.ts +4 -4
- package/resources/zones/settings/automatic-https-rewrites.d.ts.map +1 -1
- package/resources/zones/settings/automatic-https-rewrites.js +25 -0
- package/resources/zones/settings/automatic-https-rewrites.js.map +1 -1
- package/resources/zones/settings/automatic-https-rewrites.mjs +2 -0
- package/resources/zones/settings/automatic-https-rewrites.mjs.map +1 -1
- package/resources/zones/settings/automatic-platform-optimization.d.ts +7 -7
- package/resources/zones/settings/automatic-platform-optimization.d.ts.map +1 -1
- package/resources/zones/settings/automatic-platform-optimization.js +5 -5
- package/resources/zones/settings/automatic-platform-optimization.js.map +1 -1
- package/resources/zones/settings/automatic-platform-optimization.mjs +3 -3
- package/resources/zones/settings/automatic-platform-optimization.mjs.map +1 -1
- package/resources/zones/settings/brotli.d.ts +6 -6
- package/resources/zones/settings/brotli.d.ts.map +1 -1
- package/resources/zones/settings/brotli.js +5 -5
- package/resources/zones/settings/brotli.js.map +1 -1
- package/resources/zones/settings/brotli.mjs +3 -3
- package/resources/zones/settings/brotli.mjs.map +1 -1
- package/resources/zones/settings/browser-cache-ttl.d.ts +6 -6
- package/resources/zones/settings/browser-cache-ttl.d.ts.map +1 -1
- package/resources/zones/settings/browser-cache-ttl.js +5 -5
- package/resources/zones/settings/browser-cache-ttl.js.map +1 -1
- package/resources/zones/settings/browser-cache-ttl.mjs +3 -3
- package/resources/zones/settings/browser-cache-ttl.mjs.map +1 -1
- package/resources/zones/settings/browser-check.d.ts +6 -6
- package/resources/zones/settings/browser-check.d.ts.map +1 -1
- package/resources/zones/settings/browser-check.js +5 -5
- package/resources/zones/settings/browser-check.js.map +1 -1
- package/resources/zones/settings/browser-check.mjs +3 -3
- package/resources/zones/settings/browser-check.mjs.map +1 -1
- package/resources/zones/settings/cache-level.d.ts +6 -6
- package/resources/zones/settings/cache-level.d.ts.map +1 -1
- package/resources/zones/settings/cache-level.js +5 -5
- package/resources/zones/settings/cache-level.js.map +1 -1
- package/resources/zones/settings/cache-level.mjs +3 -3
- package/resources/zones/settings/cache-level.mjs.map +1 -1
- package/resources/zones/settings/challenge-ttl.d.ts +6 -6
- package/resources/zones/settings/challenge-ttl.d.ts.map +1 -1
- package/resources/zones/settings/challenge-ttl.js +5 -5
- package/resources/zones/settings/challenge-ttl.js.map +1 -1
- package/resources/zones/settings/challenge-ttl.mjs +3 -3
- package/resources/zones/settings/challenge-ttl.mjs.map +1 -1
- package/resources/zones/settings/ciphers.d.ts +4 -4
- package/resources/zones/settings/ciphers.d.ts.map +1 -1
- package/resources/zones/settings/ciphers.js +25 -0
- package/resources/zones/settings/ciphers.js.map +1 -1
- package/resources/zones/settings/ciphers.mjs +2 -0
- package/resources/zones/settings/ciphers.mjs.map +1 -1
- package/resources/zones/settings/development-mode.d.ts +6 -6
- package/resources/zones/settings/development-mode.d.ts.map +1 -1
- package/resources/zones/settings/development-mode.js +5 -5
- package/resources/zones/settings/development-mode.js.map +1 -1
- package/resources/zones/settings/development-mode.mjs +3 -3
- package/resources/zones/settings/development-mode.mjs.map +1 -1
- package/resources/zones/settings/early-hints.d.ts +4 -4
- package/resources/zones/settings/early-hints.d.ts.map +1 -1
- package/resources/zones/settings/early-hints.js +25 -0
- package/resources/zones/settings/early-hints.js.map +1 -1
- package/resources/zones/settings/early-hints.mjs +2 -0
- package/resources/zones/settings/early-hints.mjs.map +1 -1
- package/resources/zones/settings/email-obfuscation.d.ts +6 -6
- package/resources/zones/settings/email-obfuscation.d.ts.map +1 -1
- package/resources/zones/settings/email-obfuscation.js +5 -5
- package/resources/zones/settings/email-obfuscation.js.map +1 -1
- package/resources/zones/settings/email-obfuscation.mjs +3 -3
- package/resources/zones/settings/email-obfuscation.mjs.map +1 -1
- package/resources/zones/settings/font-settings.d.ts +4 -4
- package/resources/zones/settings/font-settings.d.ts.map +1 -1
- package/resources/zones/settings/font-settings.js +25 -0
- package/resources/zones/settings/font-settings.js.map +1 -1
- package/resources/zones/settings/font-settings.mjs +2 -0
- package/resources/zones/settings/font-settings.mjs.map +1 -1
- package/resources/zones/settings/h2-prioritization.d.ts +7 -7
- package/resources/zones/settings/h2-prioritization.d.ts.map +1 -1
- package/resources/zones/settings/h2-prioritization.js +5 -5
- package/resources/zones/settings/h2-prioritization.js.map +1 -1
- package/resources/zones/settings/h2-prioritization.mjs +3 -3
- package/resources/zones/settings/h2-prioritization.mjs.map +1 -1
- package/resources/zones/settings/hotlink-protection.d.ts +6 -6
- package/resources/zones/settings/hotlink-protection.d.ts.map +1 -1
- package/resources/zones/settings/hotlink-protection.js +5 -5
- package/resources/zones/settings/hotlink-protection.js.map +1 -1
- package/resources/zones/settings/hotlink-protection.mjs +3 -3
- package/resources/zones/settings/hotlink-protection.mjs.map +1 -1
- package/resources/zones/settings/http2.d.ts +6 -6
- package/resources/zones/settings/http2.d.ts.map +1 -1
- package/resources/zones/settings/http2.js +5 -5
- package/resources/zones/settings/http2.js.map +1 -1
- package/resources/zones/settings/http2.mjs +3 -3
- package/resources/zones/settings/http2.mjs.map +1 -1
- package/resources/zones/settings/http3.d.ts +6 -6
- package/resources/zones/settings/http3.d.ts.map +1 -1
- package/resources/zones/settings/http3.js +5 -5
- package/resources/zones/settings/http3.js.map +1 -1
- package/resources/zones/settings/http3.mjs +3 -3
- package/resources/zones/settings/http3.mjs.map +1 -1
- package/resources/zones/settings/image-resizing.d.ts +7 -7
- package/resources/zones/settings/image-resizing.d.ts.map +1 -1
- package/resources/zones/settings/image-resizing.js +5 -5
- package/resources/zones/settings/image-resizing.js.map +1 -1
- package/resources/zones/settings/image-resizing.mjs +3 -3
- package/resources/zones/settings/image-resizing.mjs.map +1 -1
- package/resources/zones/settings/index.d.ts +52 -52
- package/resources/zones/settings/index.d.ts.map +1 -1
- package/resources/zones/settings/index.js +50 -50
- package/resources/zones/settings/index.js.map +1 -1
- package/resources/zones/settings/index.mjs +46 -46
- package/resources/zones/settings/index.mjs.map +1 -1
- package/resources/zones/settings/ip-geolocation.d.ts +6 -6
- package/resources/zones/settings/ip-geolocation.d.ts.map +1 -1
- package/resources/zones/settings/ip-geolocation.js +5 -5
- package/resources/zones/settings/ip-geolocation.js.map +1 -1
- package/resources/zones/settings/ip-geolocation.mjs +3 -3
- package/resources/zones/settings/ip-geolocation.mjs.map +1 -1
- package/resources/zones/settings/ipv6.d.ts +6 -6
- package/resources/zones/settings/ipv6.d.ts.map +1 -1
- package/resources/zones/settings/ipv6.js +5 -5
- package/resources/zones/settings/ipv6.js.map +1 -1
- package/resources/zones/settings/ipv6.mjs +3 -3
- package/resources/zones/settings/ipv6.mjs.map +1 -1
- package/resources/zones/settings/min-tls-version.d.ts +6 -6
- package/resources/zones/settings/min-tls-version.d.ts.map +1 -1
- package/resources/zones/settings/min-tls-version.js +5 -5
- package/resources/zones/settings/min-tls-version.js.map +1 -1
- package/resources/zones/settings/min-tls-version.mjs +3 -3
- package/resources/zones/settings/min-tls-version.mjs.map +1 -1
- package/resources/zones/settings/minify.d.ts +8 -8
- package/resources/zones/settings/minify.d.ts.map +1 -1
- package/resources/zones/settings/minify.js +5 -5
- package/resources/zones/settings/minify.js.map +1 -1
- package/resources/zones/settings/minify.mjs +3 -3
- package/resources/zones/settings/minify.mjs.map +1 -1
- package/resources/zones/settings/mirage.d.ts +6 -6
- package/resources/zones/settings/mirage.d.ts.map +1 -1
- package/resources/zones/settings/mirage.js +5 -5
- package/resources/zones/settings/mirage.js.map +1 -1
- package/resources/zones/settings/mirage.mjs +3 -3
- package/resources/zones/settings/mirage.mjs.map +1 -1
- package/resources/zones/settings/mobile-redirect.d.ts +8 -8
- package/resources/zones/settings/mobile-redirect.d.ts.map +1 -1
- package/resources/zones/settings/mobile-redirect.js +5 -5
- package/resources/zones/settings/mobile-redirect.js.map +1 -1
- package/resources/zones/settings/mobile-redirect.mjs +3 -3
- package/resources/zones/settings/mobile-redirect.mjs.map +1 -1
- package/resources/zones/settings/nel.d.ts +9 -9
- package/resources/zones/settings/nel.d.ts.map +1 -1
- package/resources/zones/settings/nel.js +5 -5
- package/resources/zones/settings/nel.js.map +1 -1
- package/resources/zones/settings/nel.mjs +3 -3
- package/resources/zones/settings/nel.mjs.map +1 -1
- package/resources/zones/settings/opportunistic-encryption.d.ts +6 -6
- package/resources/zones/settings/opportunistic-encryption.d.ts.map +1 -1
- package/resources/zones/settings/opportunistic-encryption.js +5 -5
- package/resources/zones/settings/opportunistic-encryption.js.map +1 -1
- package/resources/zones/settings/opportunistic-encryption.mjs +3 -3
- package/resources/zones/settings/opportunistic-encryption.mjs.map +1 -1
- package/resources/zones/settings/opportunistic-onion.d.ts +6 -6
- package/resources/zones/settings/opportunistic-onion.d.ts.map +1 -1
- package/resources/zones/settings/opportunistic-onion.js +5 -5
- package/resources/zones/settings/opportunistic-onion.js.map +1 -1
- package/resources/zones/settings/opportunistic-onion.mjs +3 -3
- package/resources/zones/settings/opportunistic-onion.mjs.map +1 -1
- package/resources/zones/settings/orange-to-orange.d.ts +7 -7
- package/resources/zones/settings/orange-to-orange.d.ts.map +1 -1
- package/resources/zones/settings/orange-to-orange.js +5 -5
- package/resources/zones/settings/orange-to-orange.js.map +1 -1
- package/resources/zones/settings/orange-to-orange.mjs +3 -3
- package/resources/zones/settings/orange-to-orange.mjs.map +1 -1
- package/resources/zones/settings/origin-error-page-pass-thru.d.ts +6 -6
- package/resources/zones/settings/origin-error-page-pass-thru.d.ts.map +1 -1
- package/resources/zones/settings/origin-error-page-pass-thru.js +5 -5
- package/resources/zones/settings/origin-error-page-pass-thru.js.map +1 -1
- package/resources/zones/settings/origin-error-page-pass-thru.mjs +3 -3
- package/resources/zones/settings/origin-error-page-pass-thru.mjs.map +1 -1
- package/resources/zones/settings/origin-max-http-version.d.ts +9 -4
- package/resources/zones/settings/origin-max-http-version.d.ts.map +1 -1
- package/resources/zones/settings/origin-max-http-version.js +5 -5
- package/resources/zones/settings/origin-max-http-version.js.map +1 -1
- package/resources/zones/settings/origin-max-http-version.mjs +3 -3
- package/resources/zones/settings/origin-max-http-version.mjs.map +1 -1
- package/resources/zones/settings/polish.d.ts +7 -7
- package/resources/zones/settings/polish.d.ts.map +1 -1
- package/resources/zones/settings/polish.js +5 -5
- package/resources/zones/settings/polish.js.map +1 -1
- package/resources/zones/settings/polish.mjs +3 -3
- package/resources/zones/settings/polish.mjs.map +1 -1
- package/resources/zones/settings/prefetch-preload.d.ts +6 -6
- package/resources/zones/settings/prefetch-preload.d.ts.map +1 -1
- package/resources/zones/settings/prefetch-preload.js +5 -5
- package/resources/zones/settings/prefetch-preload.js.map +1 -1
- package/resources/zones/settings/prefetch-preload.mjs +3 -3
- package/resources/zones/settings/prefetch-preload.mjs.map +1 -1
- package/resources/zones/settings/proxy-read-timeout.d.ts +7 -7
- package/resources/zones/settings/proxy-read-timeout.d.ts.map +1 -1
- package/resources/zones/settings/proxy-read-timeout.js +5 -5
- package/resources/zones/settings/proxy-read-timeout.js.map +1 -1
- package/resources/zones/settings/proxy-read-timeout.mjs +3 -3
- package/resources/zones/settings/proxy-read-timeout.mjs.map +1 -1
- package/resources/zones/settings/pseudo-ipv4.d.ts +6 -6
- package/resources/zones/settings/pseudo-ipv4.d.ts.map +1 -1
- package/resources/zones/settings/pseudo-ipv4.js +5 -5
- package/resources/zones/settings/pseudo-ipv4.js.map +1 -1
- package/resources/zones/settings/pseudo-ipv4.mjs +3 -3
- package/resources/zones/settings/pseudo-ipv4.mjs.map +1 -1
- package/resources/zones/settings/response-buffering.d.ts +6 -6
- package/resources/zones/settings/response-buffering.d.ts.map +1 -1
- package/resources/zones/settings/response-buffering.js +5 -5
- package/resources/zones/settings/response-buffering.js.map +1 -1
- package/resources/zones/settings/response-buffering.mjs +3 -3
- package/resources/zones/settings/response-buffering.mjs.map +1 -1
- package/resources/zones/settings/rocket-loader.d.ts +7 -7
- package/resources/zones/settings/rocket-loader.d.ts.map +1 -1
- package/resources/zones/settings/rocket-loader.js +5 -5
- package/resources/zones/settings/rocket-loader.js.map +1 -1
- package/resources/zones/settings/rocket-loader.mjs +3 -3
- package/resources/zones/settings/rocket-loader.mjs.map +1 -1
- package/resources/zones/settings/security-headers.d.ts +6 -6
- package/resources/zones/settings/security-headers.d.ts.map +1 -1
- package/resources/zones/settings/security-headers.js +25 -0
- package/resources/zones/settings/security-headers.js.map +1 -1
- package/resources/zones/settings/security-headers.mjs +2 -0
- package/resources/zones/settings/security-headers.mjs.map +1 -1
- package/resources/zones/settings/security-level.d.ts +6 -6
- package/resources/zones/settings/security-level.d.ts.map +1 -1
- package/resources/zones/settings/security-level.js +5 -5
- package/resources/zones/settings/security-level.js.map +1 -1
- package/resources/zones/settings/security-level.mjs +3 -3
- package/resources/zones/settings/security-level.mjs.map +1 -1
- package/resources/zones/settings/server-side-excludes.d.ts +4 -4
- package/resources/zones/settings/server-side-excludes.d.ts.map +1 -1
- package/resources/zones/settings/server-side-excludes.js +25 -0
- package/resources/zones/settings/server-side-excludes.js.map +1 -1
- package/resources/zones/settings/server-side-excludes.mjs +2 -0
- package/resources/zones/settings/server-side-excludes.mjs.map +1 -1
- package/resources/zones/settings/settings.d.ts +86 -482
- package/resources/zones/settings/settings.d.ts.map +1 -1
- package/resources/zones/settings/settings.js +86 -100
- package/resources/zones/settings/settings.js.map +1 -1
- package/resources/zones/settings/settings.mjs +86 -100
- package/resources/zones/settings/settings.mjs.map +1 -1
- package/resources/zones/settings/sort-query-string-for-cache.d.ts +6 -6
- package/resources/zones/settings/sort-query-string-for-cache.d.ts.map +1 -1
- package/resources/zones/settings/sort-query-string-for-cache.js +5 -5
- package/resources/zones/settings/sort-query-string-for-cache.js.map +1 -1
- package/resources/zones/settings/sort-query-string-for-cache.mjs +3 -3
- package/resources/zones/settings/sort-query-string-for-cache.mjs.map +1 -1
- package/resources/zones/settings/ssl-recommender.d.ts +7 -7
- package/resources/zones/settings/ssl-recommender.d.ts.map +1 -1
- package/resources/zones/settings/ssl-recommender.js +5 -5
- package/resources/zones/settings/ssl-recommender.js.map +1 -1
- package/resources/zones/settings/ssl-recommender.mjs +3 -3
- package/resources/zones/settings/ssl-recommender.mjs.map +1 -1
- package/resources/zones/settings/ssl.d.ts +6 -6
- package/resources/zones/settings/ssl.d.ts.map +1 -1
- package/resources/zones/settings/ssl.js +5 -5
- package/resources/zones/settings/ssl.js.map +1 -1
- package/resources/zones/settings/ssl.mjs +3 -3
- package/resources/zones/settings/ssl.mjs.map +1 -1
- package/resources/zones/settings/tls-1-3.d.ts +6 -6
- package/resources/zones/settings/tls-1-3.d.ts.map +1 -1
- package/resources/zones/settings/tls-1-3.js +5 -5
- package/resources/zones/settings/tls-1-3.js.map +1 -1
- package/resources/zones/settings/tls-1-3.mjs +3 -3
- package/resources/zones/settings/tls-1-3.mjs.map +1 -1
- package/resources/zones/settings/tls-client-auth.d.ts +6 -6
- package/resources/zones/settings/tls-client-auth.d.ts.map +1 -1
- package/resources/zones/settings/tls-client-auth.js +5 -5
- package/resources/zones/settings/tls-client-auth.js.map +1 -1
- package/resources/zones/settings/tls-client-auth.mjs +3 -3
- package/resources/zones/settings/tls-client-auth.mjs.map +1 -1
- package/resources/zones/settings/true-client-ip-header.d.ts +6 -6
- package/resources/zones/settings/true-client-ip-header.d.ts.map +1 -1
- package/resources/zones/settings/true-client-ip-header.js +5 -5
- package/resources/zones/settings/true-client-ip-header.js.map +1 -1
- package/resources/zones/settings/true-client-ip-header.mjs +3 -3
- package/resources/zones/settings/true-client-ip-header.mjs.map +1 -1
- package/resources/zones/settings/waf.d.ts +6 -6
- package/resources/zones/settings/waf.d.ts.map +1 -1
- package/resources/zones/settings/waf.js +5 -5
- package/resources/zones/settings/waf.js.map +1 -1
- package/resources/zones/settings/waf.mjs +3 -3
- package/resources/zones/settings/waf.mjs.map +1 -1
- package/resources/zones/settings/webp.d.ts +6 -6
- package/resources/zones/settings/webp.d.ts.map +1 -1
- package/resources/zones/settings/webp.js +5 -5
- package/resources/zones/settings/webp.js.map +1 -1
- package/resources/zones/settings/webp.mjs +3 -3
- package/resources/zones/settings/webp.mjs.map +1 -1
- package/resources/zones/settings/websocket.d.ts +6 -6
- package/resources/zones/settings/websocket.d.ts.map +1 -1
- package/resources/zones/settings/websocket.js +5 -5
- package/resources/zones/settings/websocket.js.map +1 -1
- package/resources/zones/settings/websocket.mjs +3 -3
- package/resources/zones/settings/websocket.mjs.map +1 -1
- package/resources/zones/settings/zero-rtt.d.ts +6 -6
- package/resources/zones/settings/zero-rtt.d.ts.map +1 -1
- package/resources/zones/settings/zero-rtt.js +5 -5
- package/resources/zones/settings/zero-rtt.js.map +1 -1
- package/resources/zones/settings/zero-rtt.mjs +3 -3
- package/resources/zones/settings/zero-rtt.mjs.map +1 -1
- package/resources/zones/subscriptions.d.ts +11 -191
- package/resources/zones/subscriptions.d.ts.map +1 -1
- package/resources/zones/subscriptions.js +4 -31
- package/resources/zones/subscriptions.js.map +1 -1
- package/resources/zones/subscriptions.mjs +3 -6
- package/resources/zones/subscriptions.mjs.map +1 -1
- package/resources/zones/zones.d.ts +3 -23
- package/resources/zones/zones.d.ts.map +1 -1
- package/resources/zones/zones.js +0 -6
- package/resources/zones/zones.js.map +1 -1
- package/resources/zones/zones.mjs +0 -6
- package/resources/zones/zones.mjs.map +1 -1
- package/src/index.ts +33 -293
- package/src/resources/accounts/accounts.ts +6 -13
- package/src/resources/accounts/index.ts +3 -14
- package/src/resources/accounts/members.ts +38 -271
- package/src/resources/accounts/roles.ts +8 -28
- package/src/resources/addressing/address-maps/accounts.ts +18 -8
- package/src/resources/addressing/address-maps/address-maps.ts +20 -15
- package/src/resources/addressing/address-maps/index.ts +2 -2
- package/src/resources/addressing/address-maps/ips.ts +21 -11
- package/src/resources/addressing/address-maps/zones.ts +24 -47
- package/src/resources/addressing/addressing.ts +4 -4
- package/src/resources/addressing/index.ts +6 -6
- package/src/resources/addressing/prefixes/bgp/bgp.ts +4 -4
- package/src/resources/addressing/prefixes/bgp/bindings.ts +27 -19
- package/src/resources/addressing/prefixes/bgp/index.ts +5 -5
- package/src/resources/addressing/prefixes/bgp/prefixes.ts +13 -13
- package/src/resources/addressing/prefixes/delegations.ts +16 -11
- package/src/resources/addressing/prefixes/index.ts +5 -6
- package/src/resources/addressing/prefixes/prefixes.ts +25 -29
- package/src/resources/alerting/alerting.ts +14 -5
- package/src/resources/alerting/destinations/destinations.ts +3 -4
- package/src/resources/alerting/destinations/index.ts +6 -7
- package/src/resources/alerting/destinations/pagerduty.ts +5 -5
- package/src/resources/alerting/destinations/webhooks.ts +8 -12
- package/src/resources/alerting/history.ts +8 -8
- package/src/resources/alerting/index.ts +7 -10
- package/src/resources/alerting/policies.ts +198 -632
- package/src/resources/audit-logs.ts +9 -112
- package/src/resources/bot-management.ts +120 -255
- package/src/resources/brand-protection.ts +64 -78
- package/src/resources/cache/cache-reserve.ts +29 -11
- package/src/resources/cache/cache.ts +11 -8
- package/src/resources/cache/index.ts +8 -4
- package/src/resources/cache/regional-tiered-cache.ts +12 -6
- package/src/resources/cache/smart-tiered-cache.ts +11 -6
- package/src/resources/cache/variants.ts +54 -43
- package/src/resources/calls.ts +0 -12
- package/src/resources/certificate-authorities/certificate-authorities.ts +3 -0
- package/src/resources/certificate-authorities/hostname-associations.ts +19 -6
- package/src/resources/certificate-authorities/index.ts +3 -0
- package/src/resources/challenges/challenges.ts +4 -3
- package/src/resources/challenges/index.ts +4 -3
- package/src/resources/challenges/widgets.ts +29 -26
- package/src/resources/client-certificates.ts +0 -11
- package/src/resources/cloudforce-one/cloudforce-one.ts +6 -6
- package/src/resources/cloudforce-one/index.ts +6 -6
- package/src/resources/cloudforce-one/requests/index.ts +17 -15
- package/src/resources/cloudforce-one/requests/message.ts +9 -9
- package/src/resources/cloudforce-one/requests/priority.ts +41 -18
- package/src/resources/cloudforce-one/requests/requests.ts +60 -64
- package/src/resources/custom-certificates/custom-certificates.ts +38 -71
- package/src/resources/custom-certificates/index.ts +1 -14
- package/src/resources/custom-hostnames/custom-hostnames.ts +596 -36
- package/src/resources/custom-hostnames/fallback-origin.ts +14 -8
- package/src/resources/custom-hostnames/index.ts +1 -15
- package/src/resources/custom-nameservers.ts +21 -23
- package/src/resources/d1/d1.ts +26 -6
- package/src/resources/d1/database.ts +47 -50
- package/src/resources/d1/index.ts +5 -5
- package/src/resources/diagnostics/diagnostics.ts +1 -1
- package/src/resources/diagnostics/index.ts +1 -6
- package/src/resources/diagnostics/traceroutes.ts +5 -5
- package/src/resources/dns/analytics/analytics.ts +1 -1
- package/src/resources/dns/analytics/index.ts +1 -1
- package/src/resources/dns/analytics/reports/bytimes.ts +9 -61
- package/src/resources/dns/analytics/reports/index.ts +2 -2
- package/src/resources/dns/analytics/reports/reports.ts +8 -8
- package/src/resources/dns/dns.ts +90 -5
- package/src/resources/dns/firewall/analytics/reports/bytimes.ts +2 -2
- package/src/resources/dns/firewall/analytics/reports/reports.ts +2 -2
- package/src/resources/dns/firewall/firewall.ts +64 -85
- package/src/resources/dns/firewall/index.ts +6 -3
- package/src/resources/dns/index.ts +42 -15
- package/src/resources/dns/records.ts +1984 -2243
- package/src/resources/dnssec.ts +8 -12
- package/src/resources/durable-objects/durable-objects.ts +2 -2
- package/src/resources/durable-objects/index.ts +1 -6
- package/src/resources/durable-objects/namespaces/index.ts +1 -6
- package/src/resources/durable-objects/namespaces/namespaces.ts +6 -6
- package/src/resources/email-routing/addresses.ts +14 -154
- package/src/resources/email-routing/dns.ts +3 -3
- package/src/resources/email-routing/email-routing.ts +27 -157
- package/src/resources/email-routing/index.ts +12 -25
- package/src/resources/email-routing/rules/catch-alls.ts +59 -50
- package/src/resources/email-routing/rules/index.ts +12 -8
- package/src/resources/email-routing/rules/rules.ts +45 -470
- package/src/resources/event-notifications/event-notifications.ts +12 -0
- package/src/resources/event-notifications/index.ts +4 -0
- package/src/resources/event-notifications/r2/configuration/configuration.ts +82 -0
- package/src/resources/event-notifications/r2/configuration/index.ts +10 -0
- package/src/resources/event-notifications/r2/configuration/queues.ts +98 -0
- package/src/resources/event-notifications/r2/index.ts +4 -0
- package/src/resources/event-notifications/r2/r2.ts +14 -0
- package/src/resources/filters.ts +14 -20
- package/src/resources/firewall/access-rules.ts +108 -168
- package/src/resources/firewall/firewall.ts +18 -5
- package/src/resources/firewall/index.ts +25 -12
- package/src/resources/firewall/lockdowns.ts +71 -51
- package/src/resources/firewall/rules.ts +60 -34
- package/src/resources/firewall/ua-rules.ts +18 -64
- package/src/resources/firewall/waf/index.ts +13 -9
- package/src/resources/firewall/waf/overrides.ts +53 -41
- package/src/resources/firewall/waf/packages/groups.ts +18 -8
- package/src/resources/firewall/waf/packages/index.ts +19 -17
- package/src/resources/firewall/waf/packages/packages.ts +27 -45
- package/src/resources/firewall/waf/packages/rules.ts +64 -123
- package/src/resources/firewall/waf/waf.ts +6 -2
- package/src/resources/healthchecks/healthchecks.ts +187 -340
- package/src/resources/healthchecks/index.ts +1 -12
- package/src/resources/healthchecks/previews.ts +13 -89
- package/src/resources/hostnames/settings/index.ts +3 -2
- package/src/resources/hostnames/settings/settings.ts +3 -2
- package/src/resources/hostnames/settings/tls.ts +24 -18
- package/src/resources/hyperdrive/configs.ts +91 -68
- package/src/resources/hyperdrive/hyperdrive.ts +55 -11
- package/src/resources/hyperdrive/index.ts +1 -7
- package/src/resources/images/v1/index.ts +15 -4
- package/src/resources/images/v1/keys.ts +29 -20
- package/src/resources/images/v1/stats.ts +6 -6
- package/src/resources/images/v1/v1.ts +48 -46
- package/src/resources/images/v1/variants.ts +160 -55
- package/src/resources/images/v2/direct-uploads.ts +7 -0
- package/src/resources/index.ts +44 -371
- package/src/resources/intel/asn/asn.ts +3 -5
- package/src/resources/intel/asn/index.ts +1 -1
- package/src/resources/intel/asn/subnets.ts +3 -3
- package/src/resources/intel/attack-surface-report/attack-surface-report.ts +5 -0
- package/src/resources/intel/attack-surface-report/index.ts +5 -0
- package/src/resources/intel/attack-surface-report/issues.ts +63 -102
- package/src/resources/intel/dns.ts +35 -24
- package/src/resources/intel/domain-history.ts +7 -7
- package/src/resources/intel/domains/domains.ts +10 -10
- package/src/resources/intel/domains/index.ts +1 -1
- package/src/resources/intel/index.ts +13 -13
- package/src/resources/intel/intel.ts +12 -11
- package/src/resources/intel/ip-lists.ts +3 -3
- package/src/resources/intel/ips.ts +5 -5
- package/src/resources/intel/sinkholes.ts +6 -10
- package/src/resources/intel/whois.ts +4 -4
- package/src/resources/ips.ts +0 -8
- package/src/resources/keyless-certificates.ts +33 -147
- package/src/resources/kv/index.ts +2 -2
- package/src/resources/kv/kv.ts +2 -2
- package/src/resources/kv/namespaces/index.ts +12 -12
- package/src/resources/kv/namespaces/keys.ts +6 -6
- package/src/resources/kv/namespaces/namespaces.ts +21 -16
- package/src/resources/kv/namespaces/values.ts +11 -6
- package/src/resources/load-balancers/index.ts +6 -13
- package/src/resources/load-balancers/load-balancers.ts +537 -2036
- package/src/resources/load-balancers/monitors/index.ts +2 -0
- package/src/resources/load-balancers/monitors/monitors.ts +131 -27
- package/src/resources/load-balancers/pools/index.ts +2 -0
- package/src/resources/load-balancers/pools/pools.ts +139 -596
- package/src/resources/load-balancers/previews.ts +31 -3
- package/src/resources/logpush/datasets/datasets.ts +0 -1
- package/src/resources/logpush/datasets/index.ts +1 -1
- package/src/resources/logpush/datasets/jobs.ts +5 -162
- package/src/resources/logpush/index.ts +5 -2
- package/src/resources/logpush/jobs.ts +186 -186
- package/src/resources/logpush/logpush.ts +4 -1
- package/src/resources/logpush/ownership.ts +7 -7
- package/src/resources/logs/control/cmb/config.ts +12 -6
- package/src/resources/magic-network-monitoring/configs/configs.ts +56 -34
- package/src/resources/magic-network-monitoring/configs/full.ts +2 -5
- package/src/resources/magic-network-monitoring/configs/index.ts +2 -2
- package/src/resources/magic-network-monitoring/index.ts +2 -2
- package/src/resources/magic-network-monitoring/magic-network-monitoring.ts +1 -1
- package/src/resources/magic-network-monitoring/rules/advertisements.ts +16 -8
- package/src/resources/magic-network-monitoring/rules/index.ts +1 -5
- package/src/resources/magic-network-monitoring/rules/rules.ts +50 -13
- package/src/resources/magic-transit/cf-interconnects.ts +5 -4
- package/src/resources/magic-transit/gre-tunnels.ts +15 -123
- package/src/resources/magic-transit/index.ts +23 -21
- package/src/resources/magic-transit/ipsec-tunnels.ts +49 -131
- package/src/resources/magic-transit/magic-transit.ts +53 -5
- package/src/resources/magic-transit/routes.ts +42 -60
- package/src/resources/magic-transit/sites/acls.ts +119 -551
- package/src/resources/magic-transit/sites/index.ts +18 -18
- package/src/resources/magic-transit/sites/lans.ts +171 -881
- package/src/resources/magic-transit/sites/sites.ts +134 -419
- package/src/resources/magic-transit/sites/wans.ts +105 -396
- package/src/resources/managed-headers.ts +14 -62
- package/src/resources/memberships.ts +20 -98
- package/src/resources/mtls-certificates/associations.ts +3 -3
- package/src/resources/mtls-certificates/index.ts +2 -11
- package/src/resources/mtls-certificates/mtls-certificates.ts +15 -18
- package/src/resources/origin-ca-certificates.ts +25 -13
- package/src/resources/origin-post-quantum-encryption.ts +0 -8
- package/src/resources/origin-tls-client-auth/hostnames/certificates.ts +170 -15
- package/src/resources/origin-tls-client-auth/hostnames/hostnames.ts +10 -42
- package/src/resources/origin-tls-client-auth/hostnames/index.ts +12 -10
- package/src/resources/origin-tls-client-auth/index.ts +3 -16
- package/src/resources/origin-tls-client-auth/origin-tls-client-auth.ts +37 -44
- package/src/resources/page-shield/connections.ts +10 -11
- package/src/resources/page-shield/index.ts +7 -13
- package/src/resources/page-shield/page-shield.ts +9 -16
- package/src/resources/page-shield/policies.ts +9 -17
- package/src/resources/page-shield/scripts.ts +6 -9
- package/src/resources/pagerules/index.ts +2 -17
- package/src/resources/pagerules/pagerules.ts +99 -253
- package/src/resources/pagerules/settings.ts +4 -4
- package/src/resources/pages/index.ts +5 -4
- package/src/resources/pages/pages.ts +4 -3
- package/src/resources/pages/projects/deployments/deployments.ts +36 -21
- package/src/resources/pages/projects/domains.ts +19 -9
- package/src/resources/pages/projects/index.ts +17 -16
- package/src/resources/pages/projects/projects.ts +57 -52
- package/src/resources/pcaps/index.ts +3 -12
- package/src/resources/pcaps/ownership.ts +9 -15
- package/src/resources/pcaps/pcaps.ts +79 -410
- package/src/resources/plans.ts +0 -6
- package/src/resources/queues/consumers.ts +38 -34
- package/src/resources/queues/index.ts +2 -20
- package/src/resources/queues/messages.ts +0 -73
- package/src/resources/queues/queues.ts +22 -99
- package/src/resources/r2/buckets.ts +10 -10
- package/src/resources/r2/index.ts +6 -5
- package/src/resources/r2/r2.ts +5 -4
- package/src/resources/r2/sippy.ts +17 -14
- package/src/resources/radar/attacks/layer3/top/top.ts +10 -21
- package/src/resources/radar/attacks/layer7/top/top.ts +10 -21
- package/src/resources/radar/bgp/bgp.ts +2 -6
- package/src/resources/radar/bgp/hijacks/events.ts +212 -0
- package/src/resources/{user/load-balancers/analytics/analytics.ts → radar/bgp/hijacks/hijacks.ts} +4 -4
- package/src/resources/radar/bgp/hijacks/index.ts +4 -0
- package/src/resources/radar/bgp/index.ts +2 -2
- package/src/resources/radar/bgp/leaks/events.ts +172 -0
- package/src/resources/radar/bgp/leaks/index.ts +4 -0
- package/src/resources/radar/bgp/leaks/leaks.ts +15 -0
- package/src/resources/radar/bgp/routes.ts +5 -0
- package/src/resources/radar/email/email.ts +19 -0
- package/src/resources/radar/email/index.ts +1 -1
- package/src/resources/radar/email/routing/summary.ts +5 -36
- package/src/resources/radar/email/routing/timeseries-groups.ts +5 -44
- package/src/resources/radar/email/security/summary.ts +5 -36
- package/src/resources/radar/email/security/timeseries-groups.ts +5 -44
- package/src/resources/radar/email/security/top/tlds/malicious.ts +2 -7
- package/src/resources/radar/email/security/top/tlds/spam.ts +2 -7
- package/src/resources/radar/email/security/top/tlds/spoof.ts +2 -7
- package/src/resources/radar/email/security/top/tlds/tlds.ts +2 -7
- package/src/resources/radar/http/http.ts +1 -0
- package/src/resources/radar/http/index.ts +8 -7
- package/src/resources/radar/http/top.ts +9 -14
- package/src/resources/radar/index.ts +1 -1
- package/src/resources/radar/radar.ts +2 -0
- package/src/resources/rate-limits.ts +44 -213
- package/src/resources/rate-plans.ts +1 -60
- package/src/resources/registrar/domains.ts +9 -190
- package/src/resources/registrar/index.ts +3 -4
- package/src/resources/registrar/registrar.ts +2 -3
- package/src/resources/request-tracers/traces.ts +19 -13
- package/src/resources/rules/index.ts +2 -0
- package/src/resources/rules/lists/bulk-operations.ts +6 -0
- package/src/resources/rules/lists/index.ts +16 -12
- package/src/resources/rules/lists/items.ts +21 -96
- package/src/resources/rules/lists/lists.ts +43 -5
- package/src/resources/rules/rules.ts +2 -0
- package/src/resources/rulesets/index.ts +35 -14
- package/src/resources/rulesets/phases/index.ts +2 -8
- package/src/resources/rulesets/phases/phases.ts +190 -446
- package/src/resources/rulesets/phases/versions.ts +46 -25
- package/src/resources/rulesets/rules.ts +5033 -292
- package/src/resources/rulesets/rulesets.ts +257 -1397
- package/src/resources/rulesets/versions/by-tag.ts +88 -3
- package/src/resources/rulesets/versions/index.ts +2 -3
- package/src/resources/rulesets/versions/versions.ts +47 -25
- package/src/resources/rum/index.ts +2 -2
- package/src/resources/rum/rum.ts +2 -2
- package/src/resources/rum/site-info.ts +17 -22
- package/src/resources/secondary-dns/acls.ts +25 -27
- package/src/resources/secondary-dns/force-axfr.ts +18 -9
- package/src/resources/secondary-dns/incoming.ts +56 -6
- package/src/resources/secondary-dns/index.ts +25 -22
- package/src/resources/secondary-dns/outgoing/index.ts +5 -3
- package/src/resources/secondary-dns/outgoing/outgoing.ts +101 -30
- package/src/resources/secondary-dns/outgoing/status.ts +2 -5
- package/src/resources/secondary-dns/peers.ts +25 -32
- package/src/resources/secondary-dns/secondary-dns.ts +15 -12
- package/src/resources/secondary-dns/tsigs.ts +25 -32
- package/src/resources/shared.ts +419 -0
- package/src/resources/snippets/index.ts +1 -7
- package/src/resources/snippets/snippets.ts +0 -5
- package/src/resources/spectrum/analytics/analytics.ts +1 -0
- package/src/resources/spectrum/analytics/events/bytimes.ts +2 -1
- package/src/resources/spectrum/analytics/events/events.ts +4 -0
- package/src/resources/spectrum/analytics/events/index.ts +1 -1
- package/src/resources/spectrum/analytics/events/summaries.ts +2 -1
- package/src/resources/spectrum/analytics/index.ts +1 -1
- package/src/resources/spectrum/apps.ts +25 -288
- package/src/resources/spectrum/index.ts +1 -0
- package/src/resources/spectrum/spectrum.ts +82 -0
- package/src/resources/speed/availabilities.ts +8 -43
- package/src/resources/speed/index.ts +5 -13
- package/src/resources/speed/pages.ts +3 -37
- package/src/resources/speed/schedule.ts +46 -5
- package/src/resources/speed/speed.ts +101 -24
- package/src/resources/speed/tests.ts +13 -224
- package/src/resources/ssl/analyze.ts +3 -2
- package/src/resources/ssl/certificate-packs/certificate-packs.ts +27 -14
- package/src/resources/ssl/certificate-packs/index.ts +1 -0
- package/src/resources/ssl/certificate-packs/order.ts +3 -2
- package/src/resources/ssl/index.ts +4 -3
- package/src/resources/ssl/ssl.ts +3 -2
- package/src/resources/ssl/verification.ts +7 -7
- package/src/resources/storage/analytics.ts +14 -17
- package/src/resources/storage/index.ts +1 -7
- package/src/resources/storage/storage.ts +2 -2
- package/src/resources/stream/audio-tracks.ts +7 -7
- package/src/resources/stream/captions/captions.ts +58 -0
- package/src/resources/stream/captions/index.ts +10 -0
- package/src/resources/stream/captions/language/index.ts +10 -0
- package/src/resources/stream/captions/language/language.ts +110 -0
- package/src/resources/stream/captions/language/vtt.ts +37 -0
- package/src/resources/stream/clip.ts +12 -11
- package/src/resources/stream/copy.ts +3 -3
- package/src/resources/stream/direct-upload.ts +3 -2
- package/src/resources/stream/downloads.ts +13 -8
- package/src/resources/stream/index.ts +19 -39
- package/src/resources/stream/keys.ts +25 -13
- package/src/resources/stream/live-inputs/index.ts +3 -3
- package/src/resources/stream/live-inputs/live-inputs.ts +26 -20
- package/src/resources/stream/live-inputs/outputs.ts +18 -13
- package/src/resources/stream/stream.ts +37 -46
- package/src/resources/stream/watermarks.ts +21 -25
- package/src/resources/stream/webhooks.ts +13 -7
- package/src/resources/subscriptions.ts +18 -310
- package/src/resources/url-normalization.ts +0 -8
- package/src/resources/url-scanner/index.ts +3 -1
- package/src/resources/url-scanner/scans.ts +53 -76
- package/src/resources/url-scanner/url-scanner.ts +2 -3
- package/src/resources/user/audit-logs.ts +9 -111
- package/src/resources/user/billing/billing.ts +2 -2
- package/src/resources/user/billing/history.ts +36 -21
- package/src/resources/user/billing/index.ts +1 -1
- package/src/resources/user/index.ts +32 -30
- package/src/resources/user/invites.ts +8 -61
- package/src/resources/user/organizations.ts +11 -3
- package/src/resources/user/subscriptions.ts +93 -366
- package/src/resources/user/tokens/index.ts +10 -6
- package/src/resources/user/tokens/tokens.ts +137 -61
- package/src/resources/user/tokens/value.ts +6 -10
- package/src/resources/user/user.ts +13 -85
- package/src/resources/vectorize/index.ts +11 -7
- package/src/resources/vectorize/indexes.ts +176 -113
- package/src/resources/vectorize/vectorize.ts +10 -6
- package/src/resources/waiting-rooms/events/details.ts +102 -6
- package/src/resources/waiting-rooms/events/events.ts +186 -112
- package/src/resources/waiting-rooms/events/index.ts +6 -3
- package/src/resources/waiting-rooms/index.ts +20 -21
- package/src/resources/waiting-rooms/page.ts +15 -14
- package/src/resources/waiting-rooms/rules.ts +80 -37
- package/src/resources/waiting-rooms/settings.ts +47 -23
- package/src/resources/waiting-rooms/statuses.ts +11 -2
- package/src/resources/waiting-rooms/waiting-rooms.ts +663 -396
- package/src/resources/warp-connector.ts +68 -674
- package/src/resources/web3/hostnames/hostnames.ts +20 -24
- package/src/resources/web3/hostnames/index.ts +3 -2
- package/src/resources/web3/hostnames/ipfs-universal-paths/content-lists/content-lists.ts +33 -8
- package/src/resources/web3/hostnames/ipfs-universal-paths/content-lists/entries.ts +105 -10
- package/src/resources/web3/hostnames/ipfs-universal-paths/content-lists/index.ts +5 -2
- package/src/resources/web3/hostnames/ipfs-universal-paths/index.ts +1 -5
- package/src/resources/web3/hostnames/ipfs-universal-paths/ipfs-universal-paths.ts +1 -1
- package/src/resources/web3/index.ts +3 -2
- package/src/resources/web3/web3.ts +3 -2
- package/src/resources/workers/ai.ts +24 -1
- package/src/resources/workers/domains.ts +20 -18
- package/src/resources/workers/index.ts +13 -37
- package/src/resources/workers/scripts/content.ts +26 -20
- package/src/resources/workers/scripts/deployments.ts +118 -0
- package/src/resources/workers/scripts/index.ts +30 -25
- package/src/resources/workers/scripts/schedules.ts +9 -20
- package/src/resources/workers/scripts/scripts.ts +50 -205
- package/src/resources/workers/scripts/settings.ts +22 -1184
- package/src/resources/workers/scripts/tail.ts +54 -15
- package/src/resources/workers/scripts/versions.ts +194 -0
- package/src/resources/workers/workers.ts +360 -33
- package/src/resources/workers-for-platforms/dispatch/namespaces/index.ts +1 -7
- package/src/resources/workers-for-platforms/dispatch/namespaces/namespaces.ts +2 -2
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.ts +9 -217
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/content.ts +6 -24
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/index.ts +18 -6
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.ts +42 -157
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.ts +107 -0
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.ts +69 -1051
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.ts +109 -0
- package/src/resources/zero-trust/access/access.ts +392 -16
- package/src/resources/zero-trust/access/applications/applications.ts +484 -815
- package/src/resources/zero-trust/access/applications/cas.ts +10 -13
- package/src/resources/zero-trust/access/applications/index.ts +33 -19
- package/src/resources/zero-trust/access/applications/policies.ts +130 -3196
- package/src/resources/zero-trust/access/applications/user-policy-checks.ts +13 -10
- package/src/resources/zero-trust/access/bookmarks.ts +34 -26
- package/src/resources/zero-trust/access/certificates/certificates.ts +26 -25
- package/src/resources/zero-trust/access/certificates/index.ts +4 -3
- package/src/resources/zero-trust/access/certificates/settings.ts +5 -5
- package/src/resources/zero-trust/access/custom-pages.ts +14 -14
- package/src/resources/zero-trust/access/groups.ts +64 -3419
- package/src/resources/zero-trust/access/index.ts +68 -37
- package/src/resources/zero-trust/access/logs/access-requests.ts +3 -3
- package/src/resources/zero-trust/access/logs/index.ts +1 -1
- package/src/resources/zero-trust/access/logs/logs.ts +0 -1
- package/src/resources/zero-trust/access/service-tokens.ts +16 -22
- package/src/resources/zero-trust/access/tags.ts +12 -19
- package/src/resources/zero-trust/access/users/active-sessions.ts +4 -7
- package/src/resources/zero-trust/access/users/index.ts +2 -2
- package/src/resources/zero-trust/access/users/last-seen-identity.ts +12 -15
- package/src/resources/zero-trust/access/users/users.ts +7 -7
- package/src/resources/zero-trust/devices/devices.ts +38 -22
- package/src/resources/zero-trust/devices/dex-tests.ts +138 -49
- package/src/resources/zero-trust/devices/index.ts +47 -28
- package/src/resources/zero-trust/devices/networks.ts +28 -23
- package/src/resources/zero-trust/devices/policies/excludes.ts +9 -9
- package/src/resources/zero-trust/devices/policies/fallback-domains.ts +12 -9
- package/src/resources/zero-trust/devices/policies/includes.ts +9 -9
- package/src/resources/zero-trust/devices/policies/index.ts +17 -16
- package/src/resources/zero-trust/devices/policies/policies.ts +52 -31
- package/src/resources/zero-trust/devices/posture/index.ts +29 -12
- package/src/resources/zero-trust/devices/posture/integrations.ts +29 -21
- package/src/resources/zero-trust/devices/posture/posture.ts +427 -1114
- package/src/resources/zero-trust/devices/revoke.ts +3 -6
- package/src/resources/zero-trust/devices/settings.ts +6 -12
- package/src/resources/zero-trust/devices/unrevoke.ts +3 -3
- package/src/resources/zero-trust/dex/dex.ts +121 -5
- package/src/resources/zero-trust/dex/fleet-status/devices.ts +10 -9
- package/src/resources/zero-trust/dex/fleet-status/fleet-status.ts +17 -54
- package/src/resources/zero-trust/dex/fleet-status/index.ts +3 -2
- package/src/resources/zero-trust/dex/http-tests/http-tests.ts +30 -128
- package/src/resources/zero-trust/dex/http-tests/index.ts +2 -6
- package/src/resources/zero-trust/dex/http-tests/percentiles.ts +31 -70
- package/src/resources/zero-trust/dex/index.ts +14 -14
- package/src/resources/zero-trust/dex/tests/index.ts +3 -7
- package/src/resources/zero-trust/dex/tests/tests.ts +35 -86
- package/src/resources/zero-trust/dex/tests/unique-devices.ts +4 -7
- package/src/resources/zero-trust/dex/traceroute-test-results/index.ts +1 -5
- package/src/resources/zero-trust/dex/traceroute-test-results/network-path.ts +6 -6
- package/src/resources/zero-trust/dex/traceroute-test-results/traceroute-test-results.ts +1 -1
- package/src/resources/zero-trust/dex/traceroute-tests.ts +26 -277
- package/src/resources/zero-trust/dlp/datasets/datasets.ts +20 -24
- package/src/resources/zero-trust/dlp/datasets/index.ts +5 -5
- package/src/resources/zero-trust/dlp/datasets/upload.ts +18 -10
- package/src/resources/zero-trust/dlp/dlp.ts +8 -7
- package/src/resources/zero-trust/dlp/index.ts +15 -13
- package/src/resources/zero-trust/dlp/patterns.ts +3 -7
- package/src/resources/zero-trust/dlp/profiles/custom.ts +41 -159
- package/src/resources/zero-trust/dlp/profiles/index.ts +13 -10
- package/src/resources/zero-trust/dlp/profiles/predefined.ts +10 -67
- package/src/resources/zero-trust/dlp/profiles/profiles.ts +44 -14
- package/src/resources/zero-trust/gateway/app-types.ts +7 -13
- package/src/resources/zero-trust/gateway/audit-ssh-settings.ts +6 -9
- package/src/resources/zero-trust/gateway/categories.ts +8 -8
- package/src/resources/zero-trust/gateway/configurations.ts +230 -1238
- package/src/resources/zero-trust/gateway/gateway.ts +34 -14
- package/src/resources/zero-trust/gateway/index.ts +54 -49
- package/src/resources/zero-trust/gateway/lists/index.ts +4 -3
- package/src/resources/zero-trust/gateway/lists/items.ts +2 -12
- package/src/resources/zero-trust/gateway/lists/lists.ts +39 -61
- package/src/resources/zero-trust/gateway/locations.ts +35 -53
- package/src/resources/zero-trust/gateway/logging.ts +8 -14
- package/src/resources/zero-trust/gateway/proxy-endpoints.ts +36 -34
- package/src/resources/zero-trust/gateway/rules.ts +353 -1106
- package/src/resources/zero-trust/identity-providers.ts +370 -3553
- package/src/resources/zero-trust/index.ts +69 -33
- package/src/resources/zero-trust/networks/index.ts +7 -6
- package/src/resources/zero-trust/networks/networks.ts +6 -5
- package/src/resources/zero-trust/networks/routes/index.ts +4 -3
- package/src/resources/zero-trust/networks/routes/ips.ts +4 -10
- package/src/resources/zero-trust/networks/routes/networks.ts +20 -12
- package/src/resources/zero-trust/networks/routes/routes.ts +93 -78
- package/src/resources/zero-trust/networks/virtual-networks.ts +29 -24
- package/src/resources/zero-trust/organizations.ts +43 -107
- package/src/resources/zero-trust/risk-scoring/behaviours.ts +85 -0
- package/src/resources/zero-trust/risk-scoring/index.ts +15 -0
- package/src/resources/zero-trust/risk-scoring/risk-scoring.ts +111 -0
- package/src/resources/zero-trust/risk-scoring/summary.ts +71 -0
- package/src/resources/zero-trust/seats.ts +3 -3
- package/src/resources/zero-trust/tunnels/configurations.ts +10 -6
- package/src/resources/zero-trust/tunnels/connections.ts +7 -7
- package/src/resources/zero-trust/tunnels/connectors.ts +2 -2
- package/src/resources/zero-trust/tunnels/index.ts +15 -12
- package/src/resources/zero-trust/tunnels/tunnels.ts +116 -295
- package/src/resources/zero-trust/zero-trust.ts +44 -6
- package/src/resources/zones/dns-settings.ts +42 -41
- package/src/resources/zones/holds.ts +8 -26
- package/src/resources/zones/index.ts +5 -32
- package/src/resources/zones/settings/advanced-ddos.ts +4 -7
- package/src/resources/zones/settings/always-online.ts +8 -14
- package/src/resources/zones/settings/always-use-https.ts +6 -12
- package/src/resources/zones/settings/automatic-https-rewrites.ts +6 -6
- package/src/resources/zones/settings/automatic-platform-optimization.ts +9 -9
- package/src/resources/zones/settings/brotli.ts +8 -10
- package/src/resources/zones/settings/browser-cache-ttl.ts +8 -14
- package/src/resources/zones/settings/browser-check.ts +8 -14
- package/src/resources/zones/settings/cache-level.ts +8 -8
- package/src/resources/zones/settings/challenge-ttl.ts +8 -14
- package/src/resources/zones/settings/ciphers.ts +6 -8
- package/src/resources/zones/settings/development-mode.ts +8 -14
- package/src/resources/zones/settings/early-hints.ts +6 -6
- package/src/resources/zones/settings/email-obfuscation.ts +8 -14
- package/src/resources/zones/settings/font-settings.ts +6 -6
- package/src/resources/zones/settings/h2-prioritization.ts +9 -15
- package/src/resources/zones/settings/hotlink-protection.ts +8 -11
- package/src/resources/zones/settings/http2.ts +8 -10
- package/src/resources/zones/settings/http3.ts +8 -10
- package/src/resources/zones/settings/image-resizing.ts +9 -15
- package/src/resources/zones/settings/index.ts +89 -106
- package/src/resources/zones/settings/ip-geolocation.ts +8 -14
- package/src/resources/zones/settings/ipv6.ts +8 -10
- package/src/resources/zones/settings/min-tls-version.ts +8 -14
- package/src/resources/zones/settings/minify.ts +10 -12
- package/src/resources/zones/settings/mirage.ts +8 -10
- package/src/resources/zones/settings/mobile-redirect.ts +10 -16
- package/src/resources/zones/settings/nel.ts +11 -13
- package/src/resources/zones/settings/opportunistic-encryption.ts +8 -8
- package/src/resources/zones/settings/opportunistic-onion.ts +8 -8
- package/src/resources/zones/settings/orange-to-orange.ts +9 -15
- package/src/resources/zones/settings/origin-error-page-pass-thru.ts +8 -8
- package/src/resources/zones/settings/origin-max-http-version.ts +10 -4
- package/src/resources/zones/settings/polish.ts +9 -11
- package/src/resources/zones/settings/prefetch-preload.ts +8 -14
- package/src/resources/zones/settings/proxy-read-timeout.ts +9 -15
- package/src/resources/zones/settings/pseudo-ipv4.ts +8 -8
- package/src/resources/zones/settings/response-buffering.ts +8 -11
- package/src/resources/zones/settings/rocket-loader.ts +9 -15
- package/src/resources/zones/settings/security-headers.ts +8 -14
- package/src/resources/zones/settings/security-level.ts +8 -14
- package/src/resources/zones/settings/server-side-excludes.ts +6 -6
- package/src/resources/zones/settings/settings.ts +104 -797
- package/src/resources/zones/settings/sort-query-string-for-cache.ts +8 -8
- package/src/resources/zones/settings/ssl-recommender.ts +9 -15
- package/src/resources/zones/settings/ssl.ts +8 -10
- package/src/resources/zones/settings/tls-1-3.ts +8 -10
- package/src/resources/zones/settings/tls-client-auth.ts +8 -14
- package/src/resources/zones/settings/true-client-ip-header.ts +8 -8
- package/src/resources/zones/settings/waf.ts +8 -10
- package/src/resources/zones/settings/webp.ts +8 -10
- package/src/resources/zones/settings/websocket.ts +8 -8
- package/src/resources/zones/settings/zero-rtt.ts +8 -10
- package/src/resources/zones/subscriptions.ts +13 -228
- package/src/resources/zones/zones.ts +3 -23
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/radar/bgp/hijacks.d.ts +0 -120
- package/resources/radar/bgp/hijacks.d.ts.map +0 -1
- package/resources/radar/bgp/hijacks.js +0 -18
- package/resources/radar/bgp/hijacks.js.map +0 -1
- package/resources/radar/bgp/hijacks.mjs +0 -14
- package/resources/radar/bgp/hijacks.mjs.map +0 -1
- package/resources/radar/bgp/leaks.d.ts +0 -92
- package/resources/radar/bgp/leaks.d.ts.map +0 -1
- package/resources/radar/bgp/leaks.js +0 -18
- package/resources/radar/bgp/leaks.js.map +0 -1
- package/resources/radar/bgp/leaks.mjs +0 -14
- package/resources/radar/bgp/leaks.mjs.map +0 -1
- package/resources/stream/captions.d.ts +0 -63
- package/resources/stream/captions.d.ts.map +0 -1
- package/resources/stream/captions.js +0 -34
- package/resources/stream/captions.js.map +0 -1
- package/resources/stream/captions.mjs.map +0 -1
- package/resources/user/firewall/access-rules.d.ts +0 -279
- package/resources/user/firewall/access-rules.d.ts.map +0 -1
- package/resources/user/firewall/access-rules.js +0 -77
- package/resources/user/firewall/access-rules.js.map +0 -1
- package/resources/user/firewall/access-rules.mjs +0 -49
- package/resources/user/firewall/access-rules.mjs.map +0 -1
- package/resources/user/firewall/firewall.d.ts +0 -15
- package/resources/user/firewall/firewall.d.ts.map +0 -1
- package/resources/user/firewall/firewall.js.map +0 -1
- package/resources/user/firewall/firewall.mjs +0 -14
- package/resources/user/firewall/firewall.mjs.map +0 -1
- package/resources/user/firewall/index.d.ts +0 -3
- package/resources/user/firewall/index.d.ts.map +0 -1
- package/resources/user/firewall/index.js +0 -10
- package/resources/user/firewall/index.js.map +0 -1
- package/resources/user/firewall/index.mjs +0 -4
- package/resources/user/firewall/index.mjs.map +0 -1
- package/resources/user/load-balancers/analytics/analytics.d.ts +0 -12
- package/resources/user/load-balancers/analytics/analytics.d.ts.map +0 -1
- package/resources/user/load-balancers/analytics/analytics.js.map +0 -1
- package/resources/user/load-balancers/analytics/analytics.mjs +0 -14
- package/resources/user/load-balancers/analytics/analytics.mjs.map +0 -1
- package/resources/user/load-balancers/analytics/events.d.ts +0 -54
- package/resources/user/load-balancers/analytics/events.d.ts.map +0 -1
- package/resources/user/load-balancers/analytics/events.js.map +0 -1
- package/resources/user/load-balancers/analytics/events.mjs +0 -19
- package/resources/user/load-balancers/analytics/events.mjs.map +0 -1
- package/resources/user/load-balancers/analytics/index.d.ts +0 -3
- package/resources/user/load-balancers/analytics/index.d.ts.map +0 -1
- package/resources/user/load-balancers/analytics/index.js +0 -10
- package/resources/user/load-balancers/analytics/index.js.map +0 -1
- package/resources/user/load-balancers/analytics/index.mjs +0 -4
- package/resources/user/load-balancers/analytics/index.mjs.map +0 -1
- package/resources/user/load-balancers/index.d.ts +0 -6
- package/resources/user/load-balancers/index.d.ts.map +0 -1
- package/resources/user/load-balancers/index.js +0 -17
- package/resources/user/load-balancers/index.js.map +0 -1
- package/resources/user/load-balancers/index.mjs +0 -7
- package/resources/user/load-balancers/index.mjs.map +0 -1
- package/resources/user/load-balancers/load-balancers.d.ts +0 -39
- package/resources/user/load-balancers/load-balancers.d.ts.map +0 -1
- package/resources/user/load-balancers/load-balancers.js +0 -51
- package/resources/user/load-balancers/load-balancers.js.map +0 -1
- package/resources/user/load-balancers/load-balancers.mjs +0 -24
- package/resources/user/load-balancers/load-balancers.mjs.map +0 -1
- package/resources/user/load-balancers/monitors.d.ts +0 -493
- package/resources/user/load-balancers/monitors.d.ts.map +0 -1
- package/resources/user/load-balancers/monitors.js +0 -98
- package/resources/user/load-balancers/monitors.js.map +0 -1
- package/resources/user/load-balancers/monitors.mjs +0 -70
- package/resources/user/load-balancers/monitors.mjs.map +0 -1
- package/resources/user/load-balancers/pools.d.ts +0 -1078
- package/resources/user/load-balancers/pools.d.ts.map +0 -1
- package/resources/user/load-balancers/pools.js +0 -102
- package/resources/user/load-balancers/pools.js.map +0 -1
- package/resources/user/load-balancers/pools.mjs +0 -74
- package/resources/user/load-balancers/pools.mjs.map +0 -1
- package/resources/user/load-balancers/preview.d.ts +0 -34
- package/resources/user/load-balancers/preview.d.ts.map +0 -1
- package/resources/user/load-balancers/preview.js +0 -17
- package/resources/user/load-balancers/preview.js.map +0 -1
- package/resources/user/load-balancers/preview.mjs +0 -13
- package/resources/user/load-balancers/preview.mjs.map +0 -1
- package/resources/workers/deployments/by-scripts/by-scripts.d.ts +0 -29
- package/resources/workers/deployments/by-scripts/by-scripts.d.ts.map +0 -1
- package/resources/workers/deployments/by-scripts/by-scripts.js.map +0 -1
- package/resources/workers/deployments/by-scripts/by-scripts.mjs +0 -20
- package/resources/workers/deployments/by-scripts/by-scripts.mjs.map +0 -1
- package/resources/workers/deployments/by-scripts/details.d.ts +0 -26
- package/resources/workers/deployments/by-scripts/details.d.ts.map +0 -1
- package/resources/workers/deployments/by-scripts/details.js +0 -18
- package/resources/workers/deployments/by-scripts/details.js.map +0 -1
- package/resources/workers/deployments/by-scripts/details.mjs +0 -14
- package/resources/workers/deployments/by-scripts/details.mjs.map +0 -1
- package/resources/workers/deployments/by-scripts/index.d.ts +0 -3
- package/resources/workers/deployments/by-scripts/index.d.ts.map +0 -1
- package/resources/workers/deployments/by-scripts/index.js +0 -9
- package/resources/workers/deployments/by-scripts/index.js.map +0 -1
- package/resources/workers/deployments/by-scripts/index.mjs +0 -4
- package/resources/workers/deployments/by-scripts/index.mjs.map +0 -1
- package/resources/workers/deployments/deployments.d.ts +0 -11
- package/resources/workers/deployments/deployments.d.ts.map +0 -1
- package/resources/workers/deployments/deployments.js.map +0 -1
- package/resources/workers/deployments/deployments.mjs +0 -13
- package/resources/workers/deployments/deployments.mjs.map +0 -1
- package/resources/workers/deployments/index.d.ts +0 -3
- package/resources/workers/deployments/index.d.ts.map +0 -1
- package/resources/workers/deployments/index.js +0 -9
- package/resources/workers/deployments/index.js.map +0 -1
- package/resources/workers/deployments/index.mjs +0 -4
- package/resources/workers/deployments/index.mjs.map +0 -1
- package/resources/workers/filters.d.ts +0 -95
- package/resources/workers/filters.d.ts.map +0 -1
- package/resources/workers/filters.js +0 -71
- package/resources/workers/filters.js.map +0 -1
- package/resources/workers/filters.mjs +0 -43
- package/resources/workers/filters.mjs.map +0 -1
- package/resources/workers/routes.d.ts +0 -99
- package/resources/workers/routes.d.ts.map +0 -1
- package/resources/workers/routes.js +0 -78
- package/resources/workers/routes.js.map +0 -1
- package/resources/workers/routes.mjs +0 -50
- package/resources/workers/routes.mjs.map +0 -1
- package/resources/workers/scripts/bindings.d.ts +0 -49
- package/resources/workers/scripts/bindings.d.ts.map +0 -1
- package/resources/workers/scripts/bindings.js +0 -18
- package/resources/workers/scripts/bindings.js.map +0 -1
- package/resources/workers/scripts/bindings.mjs +0 -14
- package/resources/workers/scripts/bindings.mjs.map +0 -1
- package/resources/workers/scripts/content-v2.d.ts +0 -20
- package/resources/workers/scripts/content-v2.d.ts.map +0 -1
- package/resources/workers/scripts/content-v2.js +0 -21
- package/resources/workers/scripts/content-v2.js.map +0 -1
- package/resources/workers/scripts/content-v2.mjs +0 -17
- package/resources/workers/scripts/content-v2.mjs.map +0 -1
- package/resources/workers/scripts/usage-model.d.ts +0 -43
- package/resources/workers/scripts/usage-model.d.ts.map +0 -1
- package/resources/workers/scripts/usage-model.js +0 -29
- package/resources/workers/scripts/usage-model.js.map +0 -1
- package/resources/workers/scripts/usage-model.mjs +0 -25
- package/resources/workers/scripts/usage-model.mjs.map +0 -1
- package/resources/workers/services/environments/content.d.ts +0 -75
- package/resources/workers/services/environments/content.d.ts.map +0 -1
- package/resources/workers/services/environments/content.js +0 -34
- package/resources/workers/services/environments/content.js.map +0 -1
- package/resources/workers/services/environments/content.mjs +0 -30
- package/resources/workers/services/environments/content.mjs.map +0 -1
- package/resources/workers/services/environments/environments.d.ts +0 -18
- package/resources/workers/services/environments/environments.d.ts.map +0 -1
- package/resources/workers/services/environments/environments.js +0 -43
- package/resources/workers/services/environments/environments.js.map +0 -1
- package/resources/workers/services/environments/environments.mjs +0 -16
- package/resources/workers/services/environments/environments.mjs.map +0 -1
- package/resources/workers/services/environments/index.d.ts +0 -4
- package/resources/workers/services/environments/index.d.ts.map +0 -1
- package/resources/workers/services/environments/index.js +0 -11
- package/resources/workers/services/environments/index.js.map +0 -1
- package/resources/workers/services/environments/index.mjs +0 -5
- package/resources/workers/services/environments/index.mjs.map +0 -1
- package/resources/workers/services/environments/settings.d.ts +0 -972
- package/resources/workers/services/environments/settings.d.ts.map +0 -1
- package/resources/workers/services/environments/settings.js +0 -25
- package/resources/workers/services/environments/settings.js.map +0 -1
- package/resources/workers/services/environments/settings.mjs +0 -21
- package/resources/workers/services/environments/settings.mjs.map +0 -1
- package/resources/workers/services/index.d.ts +0 -3
- package/resources/workers/services/index.d.ts.map +0 -1
- package/resources/workers/services/index.js +0 -9
- package/resources/workers/services/index.js.map +0 -1
- package/resources/workers/services/index.mjs +0 -4
- package/resources/workers/services/index.mjs.map +0 -1
- package/resources/workers/services/services.d.ts +0 -9
- package/resources/workers/services/services.d.ts.map +0 -1
- package/resources/workers/services/services.js.map +0 -1
- package/resources/workers/services/services.mjs +0 -13
- package/resources/workers/services/services.mjs.map +0 -1
- package/resources/zones/workers/index.d.ts +0 -3
- package/resources/zones/workers/index.d.ts.map +0 -1
- package/resources/zones/workers/index.js +0 -9
- package/resources/zones/workers/index.js.map +0 -1
- package/resources/zones/workers/index.mjs +0 -4
- package/resources/zones/workers/index.mjs.map +0 -1
- package/resources/zones/workers/script.d.ts +0 -45
- package/resources/zones/workers/script.d.ts.map +0 -1
- package/resources/zones/workers/script.js +0 -36
- package/resources/zones/workers/script.js.map +0 -1
- package/resources/zones/workers/script.mjs +0 -32
- package/resources/zones/workers/script.mjs.map +0 -1
- package/resources/zones/workers/workers.d.ts +0 -13
- package/resources/zones/workers/workers.d.ts.map +0 -1
- package/resources/zones/workers/workers.js.map +0 -1
- package/resources/zones/workers/workers.mjs +0 -13
- package/resources/zones/workers/workers.mjs.map +0 -1
- package/src/resources/radar/bgp/hijacks.ts +0 -194
- package/src/resources/radar/bgp/leaks.ts +0 -154
- package/src/resources/stream/captions.ts +0 -115
- package/src/resources/user/firewall/access-rules.ts +0 -382
- package/src/resources/user/firewall/firewall.ts +0 -18
- package/src/resources/user/firewall/index.ts +0 -12
- package/src/resources/user/load-balancers/analytics/events.ts +0 -87
- package/src/resources/user/load-balancers/analytics/index.ts +0 -4
- package/src/resources/user/load-balancers/index.ts +0 -31
- package/src/resources/user/load-balancers/load-balancers.ts +0 -42
- package/src/resources/user/load-balancers/monitors.ts +0 -658
- package/src/resources/user/load-balancers/pools.ts +0 -1381
- package/src/resources/user/load-balancers/preview.ts +0 -50
- package/src/resources/workers/deployments/by-scripts/by-scripts.ts +0 -48
- package/src/resources/workers/deployments/by-scripts/details.ts +0 -47
- package/src/resources/workers/deployments/by-scripts/index.ts +0 -4
- package/src/resources/workers/deployments/deployments.ts +0 -14
- package/src/resources/workers/deployments/index.ts +0 -4
- package/src/resources/workers/filters.ts +0 -153
- package/src/resources/workers/routes.ts +0 -163
- package/src/resources/workers/scripts/bindings.ts +0 -69
- package/src/resources/workers/scripts/content-v2.ts +0 -34
- package/src/resources/workers/scripts/usage-model.ts +0 -76
- package/src/resources/workers/services/environments/content.ts +0 -124
- package/src/resources/workers/services/environments/environments.ts +0 -21
- package/src/resources/workers/services/environments/index.ts +0 -11
- package/src/resources/workers/services/environments/settings.ts +0 -1239
- package/src/resources/workers/services/index.ts +0 -4
- package/src/resources/workers/services/services.ts +0 -12
- package/src/resources/zones/workers/index.ts +0 -10
- package/src/resources/zones/workers/script.ts +0 -70
- package/src/resources/zones/workers/workers.ts +0 -16
|
@@ -1,26 +1,3586 @@
|
|
|
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';
|
|
5
4
|
export declare class Rules extends APIResource {
|
|
6
5
|
/**
|
|
7
6
|
* Adds a new rule to an account or zone ruleset. The rule will be added to the end
|
|
8
7
|
* of the existing list of rules in the ruleset by default.
|
|
9
8
|
*/
|
|
10
|
-
create(rulesetId: string, params: RuleCreateParams, options?: Core.RequestOptions): Core.APIPromise<
|
|
9
|
+
create(rulesetId: string, params: RuleCreateParams, options?: Core.RequestOptions): Core.APIPromise<RuleCreateResponse>;
|
|
11
10
|
/**
|
|
12
11
|
* Deletes an existing rule from an account or zone ruleset.
|
|
13
12
|
*/
|
|
14
|
-
delete(rulesetId: string, ruleId: string, params?: RuleDeleteParams, options?: Core.RequestOptions): Core.APIPromise<
|
|
15
|
-
delete(rulesetId: string, ruleId: string, options?: Core.RequestOptions): Core.APIPromise<
|
|
13
|
+
delete(rulesetId: string, ruleId: string, params?: RuleDeleteParams, options?: Core.RequestOptions): Core.APIPromise<RuleDeleteResponse>;
|
|
14
|
+
delete(rulesetId: string, ruleId: string, options?: Core.RequestOptions): Core.APIPromise<RuleDeleteResponse>;
|
|
16
15
|
/**
|
|
17
16
|
* Updates an existing rule in an account or zone ruleset.
|
|
18
17
|
*/
|
|
19
|
-
edit(rulesetId: string, ruleId: string, params: RuleEditParams, options?: Core.RequestOptions): Core.APIPromise<
|
|
18
|
+
edit(rulesetId: string, ruleId: string, params: RuleEditParams, options?: Core.RequestOptions): Core.APIPromise<RuleEditResponse>;
|
|
20
19
|
}
|
|
21
|
-
export
|
|
20
|
+
export interface BlockRule {
|
|
21
|
+
/**
|
|
22
|
+
* The timestamp of when the rule was last modified.
|
|
23
|
+
*/
|
|
24
|
+
last_updated: string;
|
|
25
|
+
/**
|
|
26
|
+
* The version of the rule.
|
|
27
|
+
*/
|
|
28
|
+
version: string;
|
|
29
|
+
/**
|
|
30
|
+
* The unique ID of the rule.
|
|
31
|
+
*/
|
|
32
|
+
id?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The action to perform when the rule matches.
|
|
35
|
+
*/
|
|
36
|
+
action?: 'block';
|
|
37
|
+
/**
|
|
38
|
+
* The parameters configuring the rule's action.
|
|
39
|
+
*/
|
|
40
|
+
action_parameters?: BlockRule.ActionParameters;
|
|
41
|
+
/**
|
|
42
|
+
* The categories of the rule.
|
|
43
|
+
*/
|
|
44
|
+
categories?: Array<string>;
|
|
45
|
+
/**
|
|
46
|
+
* An informative description of the rule.
|
|
47
|
+
*/
|
|
48
|
+
description?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Whether the rule should be executed.
|
|
51
|
+
*/
|
|
52
|
+
enabled?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* The expression defining which traffic will match the rule.
|
|
55
|
+
*/
|
|
56
|
+
expression?: string;
|
|
57
|
+
/**
|
|
58
|
+
* An object configuring the rule's logging behavior.
|
|
59
|
+
*/
|
|
60
|
+
logging?: Logging;
|
|
61
|
+
/**
|
|
62
|
+
* The reference of the rule (the rule ID by default).
|
|
63
|
+
*/
|
|
64
|
+
ref?: string;
|
|
65
|
+
}
|
|
66
|
+
export declare namespace BlockRule {
|
|
67
|
+
/**
|
|
68
|
+
* The parameters configuring the rule's action.
|
|
69
|
+
*/
|
|
70
|
+
interface ActionParameters {
|
|
71
|
+
/**
|
|
72
|
+
* The response to show when the block is applied.
|
|
73
|
+
*/
|
|
74
|
+
response?: ActionParameters.Response;
|
|
75
|
+
}
|
|
76
|
+
namespace ActionParameters {
|
|
77
|
+
/**
|
|
78
|
+
* The response to show when the block is applied.
|
|
79
|
+
*/
|
|
80
|
+
interface Response {
|
|
81
|
+
/**
|
|
82
|
+
* The content to return.
|
|
83
|
+
*/
|
|
84
|
+
content: string;
|
|
85
|
+
/**
|
|
86
|
+
* The type of the content to return.
|
|
87
|
+
*/
|
|
88
|
+
content_type: string;
|
|
89
|
+
/**
|
|
90
|
+
* The status code to return.
|
|
91
|
+
*/
|
|
92
|
+
status_code: number;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
export interface ChallengeRule {
|
|
97
|
+
/**
|
|
98
|
+
* The timestamp of when the rule was last modified.
|
|
99
|
+
*/
|
|
100
|
+
last_updated: string;
|
|
101
|
+
/**
|
|
102
|
+
* The version of the rule.
|
|
103
|
+
*/
|
|
104
|
+
version: string;
|
|
105
|
+
/**
|
|
106
|
+
* The unique ID of the rule.
|
|
107
|
+
*/
|
|
108
|
+
id?: string;
|
|
109
|
+
/**
|
|
110
|
+
* The action to perform when the rule matches.
|
|
111
|
+
*/
|
|
112
|
+
action?: 'challenge';
|
|
113
|
+
/**
|
|
114
|
+
* The parameters configuring the rule's action.
|
|
115
|
+
*/
|
|
116
|
+
action_parameters?: unknown;
|
|
117
|
+
/**
|
|
118
|
+
* The categories of the rule.
|
|
119
|
+
*/
|
|
120
|
+
categories?: Array<string>;
|
|
121
|
+
/**
|
|
122
|
+
* An informative description of the rule.
|
|
123
|
+
*/
|
|
124
|
+
description?: string;
|
|
125
|
+
/**
|
|
126
|
+
* Whether the rule should be executed.
|
|
127
|
+
*/
|
|
128
|
+
enabled?: boolean;
|
|
129
|
+
/**
|
|
130
|
+
* The expression defining which traffic will match the rule.
|
|
131
|
+
*/
|
|
132
|
+
expression?: string;
|
|
133
|
+
/**
|
|
134
|
+
* An object configuring the rule's logging behavior.
|
|
135
|
+
*/
|
|
136
|
+
logging?: Logging;
|
|
137
|
+
/**
|
|
138
|
+
* The reference of the rule (the rule ID by default).
|
|
139
|
+
*/
|
|
140
|
+
ref?: string;
|
|
141
|
+
}
|
|
142
|
+
export interface CompressResponseRule {
|
|
143
|
+
/**
|
|
144
|
+
* The timestamp of when the rule was last modified.
|
|
145
|
+
*/
|
|
146
|
+
last_updated: string;
|
|
147
|
+
/**
|
|
148
|
+
* The version of the rule.
|
|
149
|
+
*/
|
|
150
|
+
version: string;
|
|
151
|
+
/**
|
|
152
|
+
* The unique ID of the rule.
|
|
153
|
+
*/
|
|
154
|
+
id?: string;
|
|
155
|
+
/**
|
|
156
|
+
* The action to perform when the rule matches.
|
|
157
|
+
*/
|
|
158
|
+
action?: 'compress_response';
|
|
159
|
+
/**
|
|
160
|
+
* The parameters configuring the rule's action.
|
|
161
|
+
*/
|
|
162
|
+
action_parameters?: CompressResponseRule.ActionParameters;
|
|
163
|
+
/**
|
|
164
|
+
* The categories of the rule.
|
|
165
|
+
*/
|
|
166
|
+
categories?: Array<string>;
|
|
167
|
+
/**
|
|
168
|
+
* An informative description of the rule.
|
|
169
|
+
*/
|
|
170
|
+
description?: string;
|
|
171
|
+
/**
|
|
172
|
+
* Whether the rule should be executed.
|
|
173
|
+
*/
|
|
174
|
+
enabled?: boolean;
|
|
175
|
+
/**
|
|
176
|
+
* The expression defining which traffic will match the rule.
|
|
177
|
+
*/
|
|
178
|
+
expression?: string;
|
|
179
|
+
/**
|
|
180
|
+
* An object configuring the rule's logging behavior.
|
|
181
|
+
*/
|
|
182
|
+
logging?: Logging;
|
|
183
|
+
/**
|
|
184
|
+
* The reference of the rule (the rule ID by default).
|
|
185
|
+
*/
|
|
186
|
+
ref?: string;
|
|
187
|
+
}
|
|
188
|
+
export declare namespace CompressResponseRule {
|
|
189
|
+
/**
|
|
190
|
+
* The parameters configuring the rule's action.
|
|
191
|
+
*/
|
|
192
|
+
interface ActionParameters {
|
|
193
|
+
/**
|
|
194
|
+
* Custom order for compression algorithms.
|
|
195
|
+
*/
|
|
196
|
+
algorithms?: Array<ActionParameters.Algorithm>;
|
|
197
|
+
}
|
|
198
|
+
namespace ActionParameters {
|
|
199
|
+
/**
|
|
200
|
+
* Compression algorithm to enable.
|
|
201
|
+
*/
|
|
202
|
+
interface Algorithm {
|
|
203
|
+
/**
|
|
204
|
+
* Name of compression algorithm to enable.
|
|
205
|
+
*/
|
|
206
|
+
name?: 'none' | 'auto' | 'default' | 'gzip' | 'brotli';
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
export interface ExecuteRule {
|
|
211
|
+
/**
|
|
212
|
+
* The timestamp of when the rule was last modified.
|
|
213
|
+
*/
|
|
214
|
+
last_updated: string;
|
|
215
|
+
/**
|
|
216
|
+
* The version of the rule.
|
|
217
|
+
*/
|
|
218
|
+
version: string;
|
|
219
|
+
/**
|
|
220
|
+
* The unique ID of the rule.
|
|
221
|
+
*/
|
|
222
|
+
id?: string;
|
|
223
|
+
/**
|
|
224
|
+
* The action to perform when the rule matches.
|
|
225
|
+
*/
|
|
226
|
+
action?: 'execute';
|
|
227
|
+
/**
|
|
228
|
+
* The parameters configuring the rule's action.
|
|
229
|
+
*/
|
|
230
|
+
action_parameters?: ExecuteRule.ActionParameters;
|
|
231
|
+
/**
|
|
232
|
+
* The categories of the rule.
|
|
233
|
+
*/
|
|
234
|
+
categories?: Array<string>;
|
|
235
|
+
/**
|
|
236
|
+
* An informative description of the rule.
|
|
237
|
+
*/
|
|
238
|
+
description?: string;
|
|
239
|
+
/**
|
|
240
|
+
* Whether the rule should be executed.
|
|
241
|
+
*/
|
|
242
|
+
enabled?: boolean;
|
|
243
|
+
/**
|
|
244
|
+
* The expression defining which traffic will match the rule.
|
|
245
|
+
*/
|
|
246
|
+
expression?: string;
|
|
247
|
+
/**
|
|
248
|
+
* An object configuring the rule's logging behavior.
|
|
249
|
+
*/
|
|
250
|
+
logging?: Logging;
|
|
251
|
+
/**
|
|
252
|
+
* The reference of the rule (the rule ID by default).
|
|
253
|
+
*/
|
|
254
|
+
ref?: string;
|
|
255
|
+
}
|
|
256
|
+
export declare namespace ExecuteRule {
|
|
257
|
+
/**
|
|
258
|
+
* The parameters configuring the rule's action.
|
|
259
|
+
*/
|
|
260
|
+
interface ActionParameters {
|
|
261
|
+
/**
|
|
262
|
+
* The ID of the ruleset to execute.
|
|
263
|
+
*/
|
|
264
|
+
id: string;
|
|
265
|
+
/**
|
|
266
|
+
* The configuration to use for matched data logging.
|
|
267
|
+
*/
|
|
268
|
+
matched_data?: ActionParameters.MatchedData;
|
|
269
|
+
/**
|
|
270
|
+
* A set of overrides to apply to the target ruleset.
|
|
271
|
+
*/
|
|
272
|
+
overrides?: ActionParameters.Overrides;
|
|
273
|
+
}
|
|
274
|
+
namespace ActionParameters {
|
|
275
|
+
/**
|
|
276
|
+
* The configuration to use for matched data logging.
|
|
277
|
+
*/
|
|
278
|
+
interface MatchedData {
|
|
279
|
+
/**
|
|
280
|
+
* The public key to encrypt matched data logs with.
|
|
281
|
+
*/
|
|
282
|
+
public_key: string;
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* A set of overrides to apply to the target ruleset.
|
|
286
|
+
*/
|
|
287
|
+
interface Overrides {
|
|
288
|
+
/**
|
|
289
|
+
* An action to override all rules with. This option has lower precedence than rule
|
|
290
|
+
* and category overrides.
|
|
291
|
+
*/
|
|
292
|
+
action?: string;
|
|
293
|
+
/**
|
|
294
|
+
* A list of category-level overrides. This option has the second-highest
|
|
295
|
+
* precedence after rule-level overrides.
|
|
296
|
+
*/
|
|
297
|
+
categories?: Array<Overrides.Category>;
|
|
298
|
+
/**
|
|
299
|
+
* Whether to enable execution of all rules. This option has lower precedence than
|
|
300
|
+
* rule and category overrides.
|
|
301
|
+
*/
|
|
302
|
+
enabled?: boolean;
|
|
303
|
+
/**
|
|
304
|
+
* A list of rule-level overrides. This option has the highest precedence.
|
|
305
|
+
*/
|
|
306
|
+
rules?: Array<Overrides.Rule>;
|
|
307
|
+
/**
|
|
308
|
+
* A sensitivity level to set for all rules. This option has lower precedence than
|
|
309
|
+
* rule and category overrides and is only applicable for DDoS phases.
|
|
310
|
+
*/
|
|
311
|
+
sensitivity_level?: 'default' | 'medium' | 'low' | 'eoff';
|
|
312
|
+
}
|
|
313
|
+
namespace Overrides {
|
|
314
|
+
/**
|
|
315
|
+
* A category-level override
|
|
316
|
+
*/
|
|
317
|
+
interface Category {
|
|
318
|
+
/**
|
|
319
|
+
* The name of the category to override.
|
|
320
|
+
*/
|
|
321
|
+
category: string;
|
|
322
|
+
/**
|
|
323
|
+
* The action to override rules in the category with.
|
|
324
|
+
*/
|
|
325
|
+
action?: string;
|
|
326
|
+
/**
|
|
327
|
+
* Whether to enable execution of rules in the category.
|
|
328
|
+
*/
|
|
329
|
+
enabled?: boolean;
|
|
330
|
+
/**
|
|
331
|
+
* The sensitivity level to use for rules in the category.
|
|
332
|
+
*/
|
|
333
|
+
sensitivity_level?: 'default' | 'medium' | 'low' | 'eoff';
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* A rule-level override
|
|
337
|
+
*/
|
|
338
|
+
interface Rule {
|
|
339
|
+
/**
|
|
340
|
+
* The ID of the rule to override.
|
|
341
|
+
*/
|
|
342
|
+
id: string;
|
|
343
|
+
/**
|
|
344
|
+
* The action to override the rule with.
|
|
345
|
+
*/
|
|
346
|
+
action?: string;
|
|
347
|
+
/**
|
|
348
|
+
* Whether to enable execution of the rule.
|
|
349
|
+
*/
|
|
350
|
+
enabled?: boolean;
|
|
351
|
+
/**
|
|
352
|
+
* The score threshold to use for the rule.
|
|
353
|
+
*/
|
|
354
|
+
score_threshold?: number;
|
|
355
|
+
/**
|
|
356
|
+
* The sensitivity level to use for the rule.
|
|
357
|
+
*/
|
|
358
|
+
sensitivity_level?: 'default' | 'medium' | 'low' | 'eoff';
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
export interface JSChallengeRule {
|
|
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;
|
|
418
|
+
/**
|
|
419
|
+
* The unique ID of the rule.
|
|
420
|
+
*/
|
|
421
|
+
id?: string;
|
|
422
|
+
/**
|
|
423
|
+
* The action to perform when the rule matches.
|
|
424
|
+
*/
|
|
425
|
+
action?: 'log';
|
|
426
|
+
/**
|
|
427
|
+
* The parameters configuring the rule's action.
|
|
428
|
+
*/
|
|
429
|
+
action_parameters?: unknown;
|
|
430
|
+
/**
|
|
431
|
+
* The categories of the rule.
|
|
432
|
+
*/
|
|
433
|
+
categories?: Array<string>;
|
|
434
|
+
/**
|
|
435
|
+
* An informative description of the rule.
|
|
436
|
+
*/
|
|
437
|
+
description?: string;
|
|
438
|
+
/**
|
|
439
|
+
* Whether the rule should be executed.
|
|
440
|
+
*/
|
|
441
|
+
enabled?: boolean;
|
|
442
|
+
/**
|
|
443
|
+
* The expression defining which traffic will match the rule.
|
|
444
|
+
*/
|
|
445
|
+
expression?: string;
|
|
446
|
+
/**
|
|
447
|
+
* An object configuring the rule's logging behavior.
|
|
448
|
+
*/
|
|
449
|
+
logging?: Logging;
|
|
450
|
+
/**
|
|
451
|
+
* The reference of the rule (the rule ID by default).
|
|
452
|
+
*/
|
|
453
|
+
ref?: string;
|
|
454
|
+
}
|
|
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 {
|
|
557
|
+
/**
|
|
558
|
+
* The parameters configuring the rule's action.
|
|
559
|
+
*/
|
|
560
|
+
interface ActionParameters {
|
|
561
|
+
/**
|
|
562
|
+
* Serve a redirect based on a bulk list lookup.
|
|
563
|
+
*/
|
|
564
|
+
from_list?: ActionParameters.FromList;
|
|
565
|
+
/**
|
|
566
|
+
* Serve a redirect based on the request properties.
|
|
567
|
+
*/
|
|
568
|
+
from_value?: ActionParameters.FromValue;
|
|
569
|
+
}
|
|
570
|
+
namespace ActionParameters {
|
|
571
|
+
/**
|
|
572
|
+
* Serve a redirect based on a bulk list lookup.
|
|
573
|
+
*/
|
|
574
|
+
interface FromList {
|
|
575
|
+
/**
|
|
576
|
+
* Expression that evaluates to the list lookup key.
|
|
577
|
+
*/
|
|
578
|
+
key?: string;
|
|
579
|
+
/**
|
|
580
|
+
* The name of the list to match against.
|
|
581
|
+
*/
|
|
582
|
+
name?: string;
|
|
583
|
+
}
|
|
584
|
+
/**
|
|
585
|
+
* Serve a redirect based on the request properties.
|
|
586
|
+
*/
|
|
587
|
+
interface FromValue {
|
|
588
|
+
/**
|
|
589
|
+
* Keep the query string of the original request.
|
|
590
|
+
*/
|
|
591
|
+
preserve_query_string?: boolean;
|
|
592
|
+
/**
|
|
593
|
+
* The status code to be used for the redirect.
|
|
594
|
+
*/
|
|
595
|
+
status_code?: 301 | 302 | 303 | 307 | 308;
|
|
596
|
+
/**
|
|
597
|
+
* The URL to redirect the request to.
|
|
598
|
+
*/
|
|
599
|
+
target_url?: FromValue.StaticURLRedirect | FromValue.DynamicURLRedirect;
|
|
600
|
+
}
|
|
601
|
+
namespace FromValue {
|
|
602
|
+
interface StaticURLRedirect {
|
|
603
|
+
/**
|
|
604
|
+
* The URL to redirect the request to.
|
|
605
|
+
*/
|
|
606
|
+
value?: string;
|
|
607
|
+
}
|
|
608
|
+
interface DynamicURLRedirect {
|
|
609
|
+
/**
|
|
610
|
+
* An expression to evaluate to get the URL to redirect the request to.
|
|
611
|
+
*/
|
|
612
|
+
expression?: string;
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
export interface RewriteRule {
|
|
618
|
+
/**
|
|
619
|
+
* The timestamp of when the rule was last modified.
|
|
620
|
+
*/
|
|
621
|
+
last_updated: string;
|
|
622
|
+
/**
|
|
623
|
+
* The version of the rule.
|
|
624
|
+
*/
|
|
625
|
+
version: string;
|
|
626
|
+
/**
|
|
627
|
+
* The unique ID of the rule.
|
|
628
|
+
*/
|
|
629
|
+
id?: string;
|
|
630
|
+
/**
|
|
631
|
+
* The action to perform when the rule matches.
|
|
632
|
+
*/
|
|
633
|
+
action?: 'rewrite';
|
|
634
|
+
/**
|
|
635
|
+
* The parameters configuring the rule's action.
|
|
636
|
+
*/
|
|
637
|
+
action_parameters?: RewriteRule.ActionParameters;
|
|
638
|
+
/**
|
|
639
|
+
* The categories of the rule.
|
|
640
|
+
*/
|
|
641
|
+
categories?: Array<string>;
|
|
642
|
+
/**
|
|
643
|
+
* An informative description of the rule.
|
|
644
|
+
*/
|
|
645
|
+
description?: string;
|
|
646
|
+
/**
|
|
647
|
+
* Whether the rule should be executed.
|
|
648
|
+
*/
|
|
649
|
+
enabled?: boolean;
|
|
650
|
+
/**
|
|
651
|
+
* The expression defining which traffic will match the rule.
|
|
652
|
+
*/
|
|
653
|
+
expression?: string;
|
|
654
|
+
/**
|
|
655
|
+
* An object configuring the rule's logging behavior.
|
|
656
|
+
*/
|
|
657
|
+
logging?: Logging;
|
|
658
|
+
/**
|
|
659
|
+
* The reference of the rule (the rule ID by default).
|
|
660
|
+
*/
|
|
661
|
+
ref?: string;
|
|
662
|
+
}
|
|
663
|
+
export declare namespace RewriteRule {
|
|
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;
|
|
743
|
+
/**
|
|
744
|
+
* The unique ID of the rule.
|
|
745
|
+
*/
|
|
746
|
+
id?: string;
|
|
747
|
+
/**
|
|
748
|
+
* The action to perform when the rule matches.
|
|
749
|
+
*/
|
|
750
|
+
action?: 'route';
|
|
751
|
+
/**
|
|
752
|
+
* The parameters configuring the rule's action.
|
|
753
|
+
*/
|
|
754
|
+
action_parameters?: RouteRule.ActionParameters;
|
|
755
|
+
/**
|
|
756
|
+
* The categories of the rule.
|
|
757
|
+
*/
|
|
758
|
+
categories?: Array<string>;
|
|
759
|
+
/**
|
|
760
|
+
* An informative description of the rule.
|
|
761
|
+
*/
|
|
762
|
+
description?: string;
|
|
763
|
+
/**
|
|
764
|
+
* Whether the rule should be executed.
|
|
765
|
+
*/
|
|
766
|
+
enabled?: boolean;
|
|
767
|
+
/**
|
|
768
|
+
* The expression defining which traffic will match the rule.
|
|
769
|
+
*/
|
|
770
|
+
expression?: string;
|
|
771
|
+
/**
|
|
772
|
+
* An object configuring the rule's logging behavior.
|
|
773
|
+
*/
|
|
774
|
+
logging?: Logging;
|
|
775
|
+
/**
|
|
776
|
+
* The reference of the rule (the rule ID by default).
|
|
777
|
+
*/
|
|
778
|
+
ref?: string;
|
|
779
|
+
}
|
|
780
|
+
export declare namespace RouteRule {
|
|
781
|
+
/**
|
|
782
|
+
* The parameters configuring the rule's action.
|
|
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.
|
|
826
|
+
*/
|
|
827
|
+
last_updated: string;
|
|
828
|
+
/**
|
|
829
|
+
* The version of the rule.
|
|
830
|
+
*/
|
|
831
|
+
version: string;
|
|
832
|
+
/**
|
|
833
|
+
* The unique ID of the rule.
|
|
834
|
+
*/
|
|
835
|
+
id?: string;
|
|
836
|
+
/**
|
|
837
|
+
* The action to perform when the rule matches.
|
|
838
|
+
*/
|
|
839
|
+
action?: string;
|
|
840
|
+
/**
|
|
841
|
+
* The parameters configuring the rule's action.
|
|
842
|
+
*/
|
|
843
|
+
action_parameters?: unknown;
|
|
844
|
+
/**
|
|
845
|
+
* The categories of the rule.
|
|
846
|
+
*/
|
|
847
|
+
categories?: Array<string>;
|
|
848
|
+
/**
|
|
849
|
+
* An informative description of the rule.
|
|
850
|
+
*/
|
|
851
|
+
description?: string;
|
|
852
|
+
/**
|
|
853
|
+
* Whether the rule should be executed.
|
|
854
|
+
*/
|
|
855
|
+
enabled?: boolean;
|
|
856
|
+
/**
|
|
857
|
+
* The expression defining which traffic will match the rule.
|
|
858
|
+
*/
|
|
859
|
+
expression?: string;
|
|
860
|
+
/**
|
|
861
|
+
* An object configuring the rule's logging behavior.
|
|
862
|
+
*/
|
|
863
|
+
logging?: Logging;
|
|
864
|
+
/**
|
|
865
|
+
* The reference of the rule (the rule ID by default).
|
|
866
|
+
*/
|
|
867
|
+
ref?: string;
|
|
868
|
+
}
|
|
869
|
+
export interface ScoreRule {
|
|
870
|
+
/**
|
|
871
|
+
* The timestamp of when the rule was last modified.
|
|
872
|
+
*/
|
|
873
|
+
last_updated: string;
|
|
874
|
+
/**
|
|
875
|
+
* The version of the rule.
|
|
876
|
+
*/
|
|
877
|
+
version: string;
|
|
878
|
+
/**
|
|
879
|
+
* The unique ID of the rule.
|
|
880
|
+
*/
|
|
881
|
+
id?: string;
|
|
882
|
+
/**
|
|
883
|
+
* The action to perform when the rule matches.
|
|
884
|
+
*/
|
|
885
|
+
action?: 'score';
|
|
886
|
+
/**
|
|
887
|
+
* The parameters configuring the rule's action.
|
|
888
|
+
*/
|
|
889
|
+
action_parameters?: ScoreRule.ActionParameters;
|
|
890
|
+
/**
|
|
891
|
+
* The categories of the rule.
|
|
892
|
+
*/
|
|
893
|
+
categories?: Array<string>;
|
|
894
|
+
/**
|
|
895
|
+
* An informative description of the rule.
|
|
896
|
+
*/
|
|
897
|
+
description?: string;
|
|
898
|
+
/**
|
|
899
|
+
* Whether the rule should be executed.
|
|
900
|
+
*/
|
|
901
|
+
enabled?: boolean;
|
|
902
|
+
/**
|
|
903
|
+
* The expression defining which traffic will match the rule.
|
|
904
|
+
*/
|
|
905
|
+
expression?: string;
|
|
906
|
+
/**
|
|
907
|
+
* An object configuring the rule's logging behavior.
|
|
908
|
+
*/
|
|
909
|
+
logging?: Logging;
|
|
910
|
+
/**
|
|
911
|
+
* The reference of the rule (the rule ID by default).
|
|
912
|
+
*/
|
|
913
|
+
ref?: string;
|
|
914
|
+
}
|
|
915
|
+
export declare namespace ScoreRule {
|
|
916
|
+
/**
|
|
917
|
+
* The parameters configuring the rule's action.
|
|
918
|
+
*/
|
|
919
|
+
interface ActionParameters {
|
|
920
|
+
/**
|
|
921
|
+
* Increment contains the delta to change the score and can be either positive or
|
|
922
|
+
* negative.
|
|
923
|
+
*/
|
|
924
|
+
increment?: number;
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
export interface ServeErrorRule {
|
|
928
|
+
/**
|
|
929
|
+
* The timestamp of when the rule was last modified.
|
|
930
|
+
*/
|
|
931
|
+
last_updated: string;
|
|
932
|
+
/**
|
|
933
|
+
* The version of the rule.
|
|
934
|
+
*/
|
|
935
|
+
version: string;
|
|
936
|
+
/**
|
|
937
|
+
* The unique ID of the rule.
|
|
938
|
+
*/
|
|
939
|
+
id?: string;
|
|
940
|
+
/**
|
|
941
|
+
* The action to perform when the rule matches.
|
|
942
|
+
*/
|
|
943
|
+
action?: 'serve_error';
|
|
944
|
+
/**
|
|
945
|
+
* The parameters configuring the rule's action.
|
|
946
|
+
*/
|
|
947
|
+
action_parameters?: ServeErrorRule.ActionParameters;
|
|
948
|
+
/**
|
|
949
|
+
* The categories of the rule.
|
|
950
|
+
*/
|
|
951
|
+
categories?: Array<string>;
|
|
952
|
+
/**
|
|
953
|
+
* An informative description of the rule.
|
|
954
|
+
*/
|
|
955
|
+
description?: string;
|
|
956
|
+
/**
|
|
957
|
+
* Whether the rule should be executed.
|
|
958
|
+
*/
|
|
959
|
+
enabled?: boolean;
|
|
960
|
+
/**
|
|
961
|
+
* The expression defining which traffic will match the rule.
|
|
962
|
+
*/
|
|
963
|
+
expression?: string;
|
|
964
|
+
/**
|
|
965
|
+
* An object configuring the rule's logging behavior.
|
|
966
|
+
*/
|
|
967
|
+
logging?: Logging;
|
|
968
|
+
/**
|
|
969
|
+
* The reference of the rule (the rule ID by default).
|
|
970
|
+
*/
|
|
971
|
+
ref?: string;
|
|
972
|
+
}
|
|
973
|
+
export declare namespace ServeErrorRule {
|
|
974
|
+
/**
|
|
975
|
+
* The parameters configuring the rule's action.
|
|
976
|
+
*/
|
|
977
|
+
interface ActionParameters {
|
|
978
|
+
/**
|
|
979
|
+
* Error response content.
|
|
980
|
+
*/
|
|
981
|
+
content?: string;
|
|
982
|
+
/**
|
|
983
|
+
* Content-type header to set with the response.
|
|
984
|
+
*/
|
|
985
|
+
content_type?: 'application/json' | 'text/xml' | 'text/plain' | 'text/html';
|
|
986
|
+
/**
|
|
987
|
+
* The status code to use for the error.
|
|
988
|
+
*/
|
|
989
|
+
status_code?: number;
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
export interface SetCacheSettingsRule {
|
|
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;
|
|
1001
|
+
/**
|
|
1002
|
+
* The unique ID of the rule.
|
|
1003
|
+
*/
|
|
1004
|
+
id?: string;
|
|
1005
|
+
/**
|
|
1006
|
+
* The action to perform when the rule matches.
|
|
1007
|
+
*/
|
|
1008
|
+
action?: 'set_cache_settings';
|
|
1009
|
+
/**
|
|
1010
|
+
* The parameters configuring the rule's action.
|
|
1011
|
+
*/
|
|
1012
|
+
action_parameters?: SetCacheSettingsRule.ActionParameters;
|
|
1013
|
+
/**
|
|
1014
|
+
* The categories of the rule.
|
|
1015
|
+
*/
|
|
1016
|
+
categories?: Array<string>;
|
|
1017
|
+
/**
|
|
1018
|
+
* An informative description of the rule.
|
|
1019
|
+
*/
|
|
1020
|
+
description?: string;
|
|
1021
|
+
/**
|
|
1022
|
+
* Whether the rule should be executed.
|
|
1023
|
+
*/
|
|
1024
|
+
enabled?: boolean;
|
|
1025
|
+
/**
|
|
1026
|
+
* The expression defining which traffic will match the rule.
|
|
1027
|
+
*/
|
|
1028
|
+
expression?: string;
|
|
1029
|
+
/**
|
|
1030
|
+
* An object configuring the rule's logging behavior.
|
|
1031
|
+
*/
|
|
1032
|
+
logging?: Logging;
|
|
1033
|
+
/**
|
|
1034
|
+
* The reference of the rule (the rule ID by default).
|
|
1035
|
+
*/
|
|
1036
|
+
ref?: string;
|
|
1037
|
+
}
|
|
1038
|
+
export declare namespace SetCacheSettingsRule {
|
|
1039
|
+
/**
|
|
1040
|
+
* The parameters configuring the rule's action.
|
|
1041
|
+
*/
|
|
1042
|
+
interface ActionParameters {
|
|
1043
|
+
/**
|
|
1044
|
+
* List of additional ports that caching can be enabled on.
|
|
1045
|
+
*/
|
|
1046
|
+
additional_cacheable_ports?: Array<number>;
|
|
1047
|
+
/**
|
|
1048
|
+
* Specify how long client browsers should cache the response. Cloudflare cache
|
|
1049
|
+
* purge will not purge content cached on client browsers, so high browser TTLs may
|
|
1050
|
+
* lead to stale content.
|
|
1051
|
+
*/
|
|
1052
|
+
browser_ttl?: ActionParameters.BrowserTTL;
|
|
1053
|
+
/**
|
|
1054
|
+
* Mark whether the request’s response from origin is eligible for caching. Caching
|
|
1055
|
+
* itself will still depend on the cache-control header and your other caching
|
|
1056
|
+
* configurations.
|
|
1057
|
+
*/
|
|
1058
|
+
cache?: boolean;
|
|
1059
|
+
/**
|
|
1060
|
+
* Define which components of the request are included or excluded from the cache
|
|
1061
|
+
* key Cloudflare uses to store the response in cache.
|
|
1062
|
+
*/
|
|
1063
|
+
cache_key?: ActionParameters.CacheKey;
|
|
1064
|
+
/**
|
|
1065
|
+
* Mark whether the request's response from origin is eligible for Cache Reserve
|
|
1066
|
+
* (requires a Cache Reserve add-on plan).
|
|
1067
|
+
*/
|
|
1068
|
+
cache_reserve?: ActionParameters.CacheReserve;
|
|
1069
|
+
/**
|
|
1070
|
+
* TTL (Time to Live) specifies the maximum time to cache a resource in the
|
|
1071
|
+
* Cloudflare edge network.
|
|
1072
|
+
*/
|
|
1073
|
+
edge_ttl?: ActionParameters.EdgeTTL;
|
|
1074
|
+
/**
|
|
1075
|
+
* When enabled, Cloudflare will aim to strictly adhere to RFC 7234.
|
|
1076
|
+
*/
|
|
1077
|
+
origin_cache_control?: boolean;
|
|
1078
|
+
/**
|
|
1079
|
+
* Generate Cloudflare error pages from issues sent from the origin server. When
|
|
1080
|
+
* on, error pages will trigger for issues from the origin
|
|
1081
|
+
*/
|
|
1082
|
+
origin_error_page_passthru?: boolean;
|
|
1083
|
+
/**
|
|
1084
|
+
* Define a timeout value between two successive read operations to your origin
|
|
1085
|
+
* server. Historically, the timeout value between two read options from Cloudflare
|
|
1086
|
+
* to an origin server is 100 seconds. If you are attempting to reduce HTTP 524
|
|
1087
|
+
* errors because of timeouts from an origin server, try increasing this timeout
|
|
1088
|
+
* value.
|
|
1089
|
+
*/
|
|
1090
|
+
read_timeout?: number;
|
|
1091
|
+
/**
|
|
1092
|
+
* Specify whether or not Cloudflare should respect strong ETag (entity tag)
|
|
1093
|
+
* headers. When off, Cloudflare converts strong ETag headers to weak ETag headers.
|
|
1094
|
+
*/
|
|
1095
|
+
respect_strong_etags?: boolean;
|
|
1096
|
+
/**
|
|
1097
|
+
* Define if Cloudflare should serve stale content while getting the latest content
|
|
1098
|
+
* from the origin. If on, Cloudflare will not serve stale content while getting
|
|
1099
|
+
* the latest content from the origin.
|
|
1100
|
+
*/
|
|
1101
|
+
serve_stale?: ActionParameters.ServeStale;
|
|
1102
|
+
}
|
|
1103
|
+
namespace ActionParameters {
|
|
1104
|
+
/**
|
|
1105
|
+
* Specify how long client browsers should cache the response. Cloudflare cache
|
|
1106
|
+
* purge will not purge content cached on client browsers, so high browser TTLs may
|
|
1107
|
+
* lead to stale content.
|
|
1108
|
+
*/
|
|
1109
|
+
interface BrowserTTL {
|
|
1110
|
+
/**
|
|
1111
|
+
* Determines which browser ttl mode to use.
|
|
1112
|
+
*/
|
|
1113
|
+
mode: 'respect_origin' | 'bypass_by_default' | 'override_origin';
|
|
1114
|
+
/**
|
|
1115
|
+
* The TTL (in seconds) if you choose override_origin mode.
|
|
1116
|
+
*/
|
|
1117
|
+
default?: number;
|
|
1118
|
+
}
|
|
1119
|
+
/**
|
|
1120
|
+
* Define which components of the request are included or excluded from the cache
|
|
1121
|
+
* key Cloudflare uses to store the response in cache.
|
|
1122
|
+
*/
|
|
1123
|
+
interface CacheKey {
|
|
1124
|
+
/**
|
|
1125
|
+
* Separate cached content based on the visitor’s device type
|
|
1126
|
+
*/
|
|
1127
|
+
cache_by_device_type?: boolean;
|
|
1128
|
+
/**
|
|
1129
|
+
* Protect from web cache deception attacks while allowing static assets to be
|
|
1130
|
+
* cached
|
|
1131
|
+
*/
|
|
1132
|
+
cache_deception_armor?: boolean;
|
|
1133
|
+
/**
|
|
1134
|
+
* Customize which components of the request are included or excluded from the
|
|
1135
|
+
* cache key.
|
|
1136
|
+
*/
|
|
1137
|
+
custom_key?: CacheKey.CustomKey;
|
|
1138
|
+
/**
|
|
1139
|
+
* Treat requests with the same query parameters the same, regardless of the order
|
|
1140
|
+
* those query parameters are in. A value of true ignores the query strings' order.
|
|
1141
|
+
*/
|
|
1142
|
+
ignore_query_strings_order?: boolean;
|
|
1143
|
+
}
|
|
1144
|
+
namespace CacheKey {
|
|
1145
|
+
/**
|
|
1146
|
+
* Customize which components of the request are included or excluded from the
|
|
1147
|
+
* cache key.
|
|
1148
|
+
*/
|
|
1149
|
+
interface CustomKey {
|
|
1150
|
+
/**
|
|
1151
|
+
* The cookies to include in building the cache key.
|
|
1152
|
+
*/
|
|
1153
|
+
cookie?: CustomKey.Cookie;
|
|
1154
|
+
/**
|
|
1155
|
+
* The header names and values to include in building the cache key.
|
|
1156
|
+
*/
|
|
1157
|
+
header?: CustomKey.Header;
|
|
1158
|
+
/**
|
|
1159
|
+
* Whether to use the original host or the resolved host in the cache key.
|
|
1160
|
+
*/
|
|
1161
|
+
host?: CustomKey.Host;
|
|
1162
|
+
/**
|
|
1163
|
+
* Use the presence or absence of parameters in the query string to build the cache
|
|
1164
|
+
* key.
|
|
1165
|
+
*/
|
|
1166
|
+
query_string?: CustomKey.QueryString;
|
|
1167
|
+
/**
|
|
1168
|
+
* Characteristics of the request user agent used in building the cache key.
|
|
1169
|
+
*/
|
|
1170
|
+
user?: CustomKey.User;
|
|
1171
|
+
}
|
|
1172
|
+
namespace CustomKey {
|
|
1173
|
+
/**
|
|
1174
|
+
* The cookies to include in building the cache key.
|
|
1175
|
+
*/
|
|
1176
|
+
interface Cookie {
|
|
1177
|
+
/**
|
|
1178
|
+
* Checks for the presence of these cookie names. The presence of these cookies is
|
|
1179
|
+
* used in building the cache key.
|
|
1180
|
+
*/
|
|
1181
|
+
check_presence?: Array<string>;
|
|
1182
|
+
/**
|
|
1183
|
+
* Include these cookies' names and their values.
|
|
1184
|
+
*/
|
|
1185
|
+
include?: Array<string>;
|
|
1186
|
+
}
|
|
1187
|
+
/**
|
|
1188
|
+
* The header names and values to include in building the cache key.
|
|
1189
|
+
*/
|
|
1190
|
+
interface Header {
|
|
1191
|
+
/**
|
|
1192
|
+
* Checks for the presence of these header names. The presence of these headers is
|
|
1193
|
+
* used in building the cache key.
|
|
1194
|
+
*/
|
|
1195
|
+
check_presence?: Array<string>;
|
|
1196
|
+
/**
|
|
1197
|
+
* Whether or not to include the origin header. A value of true will exclude the
|
|
1198
|
+
* origin header in the cache key.
|
|
1199
|
+
*/
|
|
1200
|
+
exclude_origin?: boolean;
|
|
1201
|
+
/**
|
|
1202
|
+
* Include these headers' names and their values.
|
|
1203
|
+
*/
|
|
1204
|
+
include?: Array<string>;
|
|
1205
|
+
}
|
|
1206
|
+
/**
|
|
1207
|
+
* Whether to use the original host or the resolved host in the cache key.
|
|
1208
|
+
*/
|
|
1209
|
+
interface Host {
|
|
1210
|
+
/**
|
|
1211
|
+
* Use the resolved host in the cache key. A value of true will use the resolved
|
|
1212
|
+
* host, while a value or false will use the original host.
|
|
1213
|
+
*/
|
|
1214
|
+
resolved?: boolean;
|
|
1215
|
+
}
|
|
1216
|
+
/**
|
|
1217
|
+
* Use the presence or absence of parameters in the query string to build the cache
|
|
1218
|
+
* key.
|
|
1219
|
+
*/
|
|
1220
|
+
interface QueryString {
|
|
1221
|
+
/**
|
|
1222
|
+
* build the cache key using all query string parameters EXCECPT these excluded
|
|
1223
|
+
* parameters
|
|
1224
|
+
*/
|
|
1225
|
+
exclude?: QueryString.Exclude;
|
|
1226
|
+
/**
|
|
1227
|
+
* build the cache key using a list of query string parameters that ARE in the
|
|
1228
|
+
* request.
|
|
1229
|
+
*/
|
|
1230
|
+
include?: QueryString.Include;
|
|
1231
|
+
}
|
|
1232
|
+
namespace QueryString {
|
|
1233
|
+
/**
|
|
1234
|
+
* build the cache key using all query string parameters EXCECPT these excluded
|
|
1235
|
+
* parameters
|
|
1236
|
+
*/
|
|
1237
|
+
interface Exclude {
|
|
1238
|
+
/**
|
|
1239
|
+
* Exclude all query string parameters from use in building the cache key.
|
|
1240
|
+
*/
|
|
1241
|
+
all?: boolean;
|
|
1242
|
+
/**
|
|
1243
|
+
* A list of query string parameters NOT used to build the cache key. All
|
|
1244
|
+
* parameters present in the request but missing in this list will be used to build
|
|
1245
|
+
* the cache key.
|
|
1246
|
+
*/
|
|
1247
|
+
list?: Array<string>;
|
|
1248
|
+
}
|
|
1249
|
+
/**
|
|
1250
|
+
* build the cache key using a list of query string parameters that ARE in the
|
|
1251
|
+
* request.
|
|
1252
|
+
*/
|
|
1253
|
+
interface Include {
|
|
1254
|
+
/**
|
|
1255
|
+
* Use all query string parameters in the cache key.
|
|
1256
|
+
*/
|
|
1257
|
+
all?: boolean;
|
|
1258
|
+
/**
|
|
1259
|
+
* A list of query string parameters used to build the cache key.
|
|
1260
|
+
*/
|
|
1261
|
+
list?: Array<string>;
|
|
1262
|
+
}
|
|
1263
|
+
}
|
|
1264
|
+
/**
|
|
1265
|
+
* Characteristics of the request user agent used in building the cache key.
|
|
1266
|
+
*/
|
|
1267
|
+
interface User {
|
|
1268
|
+
/**
|
|
1269
|
+
* Use the user agent's device type in the cache key.
|
|
1270
|
+
*/
|
|
1271
|
+
device_type?: boolean;
|
|
1272
|
+
/**
|
|
1273
|
+
* Use the user agents's country in the cache key.
|
|
1274
|
+
*/
|
|
1275
|
+
geo?: boolean;
|
|
1276
|
+
/**
|
|
1277
|
+
* Use the user agent's language in the cache key.
|
|
1278
|
+
*/
|
|
1279
|
+
lang?: boolean;
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
/**
|
|
1284
|
+
* Mark whether the request's response from origin is eligible for Cache Reserve
|
|
1285
|
+
* (requires a Cache Reserve add-on plan).
|
|
1286
|
+
*/
|
|
1287
|
+
interface CacheReserve {
|
|
1288
|
+
/**
|
|
1289
|
+
* Determines whether cache reserve is enabled. If this is true and a request meets
|
|
1290
|
+
* eligibility criteria, Cloudflare will write the resource to cache reserve.
|
|
1291
|
+
*/
|
|
1292
|
+
eligible: boolean;
|
|
1293
|
+
/**
|
|
1294
|
+
* The minimum file size eligible for store in cache reserve.
|
|
1295
|
+
*/
|
|
1296
|
+
min_file_size: number;
|
|
1297
|
+
}
|
|
1298
|
+
/**
|
|
1299
|
+
* TTL (Time to Live) specifies the maximum time to cache a resource in the
|
|
1300
|
+
* Cloudflare edge network.
|
|
1301
|
+
*/
|
|
1302
|
+
interface EdgeTTL {
|
|
1303
|
+
/**
|
|
1304
|
+
* The TTL (in seconds) if you choose override_origin mode.
|
|
1305
|
+
*/
|
|
1306
|
+
default: number;
|
|
1307
|
+
/**
|
|
1308
|
+
* edge ttl options
|
|
1309
|
+
*/
|
|
1310
|
+
mode: 'respect_origin' | 'bypass_by_default' | 'override_origin';
|
|
1311
|
+
/**
|
|
1312
|
+
* List of single status codes, or status code ranges to apply the selected mode
|
|
1313
|
+
*/
|
|
1314
|
+
status_code_ttl: Array<EdgeTTL.StatusCodeTTL>;
|
|
1315
|
+
}
|
|
1316
|
+
namespace EdgeTTL {
|
|
1317
|
+
/**
|
|
1318
|
+
* Specify how long Cloudflare should cache the response based on the status code
|
|
1319
|
+
* from the origin. Can be a single status code or a range or status codes
|
|
1320
|
+
*/
|
|
1321
|
+
interface StatusCodeTTL {
|
|
1322
|
+
/**
|
|
1323
|
+
* Time to cache a response (in seconds). A value of 0 is equivalent to setting the
|
|
1324
|
+
* Cache-Control header with the value "no-cache". A value of -1 is equivalent to
|
|
1325
|
+
* setting Cache-Control header with the value of "no-store".
|
|
1326
|
+
*/
|
|
1327
|
+
value: number;
|
|
1328
|
+
/**
|
|
1329
|
+
* The range of status codes used to apply the selected mode.
|
|
1330
|
+
*/
|
|
1331
|
+
status_code_range?: StatusCodeTTL.StatusCodeRange;
|
|
1332
|
+
/**
|
|
1333
|
+
* Set the ttl for responses with this specific status code
|
|
1334
|
+
*/
|
|
1335
|
+
status_code_value?: number;
|
|
1336
|
+
}
|
|
1337
|
+
namespace StatusCodeTTL {
|
|
1338
|
+
/**
|
|
1339
|
+
* The range of status codes used to apply the selected mode.
|
|
1340
|
+
*/
|
|
1341
|
+
interface StatusCodeRange {
|
|
1342
|
+
/**
|
|
1343
|
+
* response status code lower bound
|
|
1344
|
+
*/
|
|
1345
|
+
from: number;
|
|
1346
|
+
/**
|
|
1347
|
+
* response status code upper bound
|
|
1348
|
+
*/
|
|
1349
|
+
to: number;
|
|
1350
|
+
}
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
/**
|
|
1354
|
+
* Define if Cloudflare should serve stale content while getting the latest content
|
|
1355
|
+
* from the origin. If on, Cloudflare will not serve stale content while getting
|
|
1356
|
+
* the latest content from the origin.
|
|
1357
|
+
*/
|
|
1358
|
+
interface ServeStale {
|
|
1359
|
+
/**
|
|
1360
|
+
* Defines whether Cloudflare should serve stale content while updating. If true,
|
|
1361
|
+
* Cloudflare will not serve stale content while getting the latest content from
|
|
1362
|
+
* the origin.
|
|
1363
|
+
*/
|
|
1364
|
+
disable_stale_while_updating: boolean;
|
|
1365
|
+
}
|
|
1366
|
+
}
|
|
1367
|
+
}
|
|
1368
|
+
export interface SetConfigRule {
|
|
1369
|
+
/**
|
|
1370
|
+
* The timestamp of when the rule was last modified.
|
|
1371
|
+
*/
|
|
1372
|
+
last_updated: string;
|
|
1373
|
+
/**
|
|
1374
|
+
* The version of the rule.
|
|
1375
|
+
*/
|
|
1376
|
+
version: string;
|
|
1377
|
+
/**
|
|
1378
|
+
* The unique ID of the rule.
|
|
1379
|
+
*/
|
|
1380
|
+
id?: string;
|
|
1381
|
+
/**
|
|
1382
|
+
* The action to perform when the rule matches.
|
|
1383
|
+
*/
|
|
1384
|
+
action?: 'set_config';
|
|
1385
|
+
/**
|
|
1386
|
+
* The parameters configuring the rule's action.
|
|
1387
|
+
*/
|
|
1388
|
+
action_parameters?: SetConfigRule.ActionParameters;
|
|
1389
|
+
/**
|
|
1390
|
+
* The categories of the rule.
|
|
1391
|
+
*/
|
|
1392
|
+
categories?: Array<string>;
|
|
1393
|
+
/**
|
|
1394
|
+
* An informative description of the rule.
|
|
1395
|
+
*/
|
|
1396
|
+
description?: string;
|
|
1397
|
+
/**
|
|
1398
|
+
* Whether the rule should be executed.
|
|
1399
|
+
*/
|
|
1400
|
+
enabled?: boolean;
|
|
1401
|
+
/**
|
|
1402
|
+
* The expression defining which traffic will match the rule.
|
|
1403
|
+
*/
|
|
1404
|
+
expression?: string;
|
|
1405
|
+
/**
|
|
1406
|
+
* An object configuring the rule's logging behavior.
|
|
1407
|
+
*/
|
|
1408
|
+
logging?: Logging;
|
|
1409
|
+
/**
|
|
1410
|
+
* The reference of the rule (the rule ID by default).
|
|
1411
|
+
*/
|
|
1412
|
+
ref?: string;
|
|
1413
|
+
}
|
|
1414
|
+
export declare namespace SetConfigRule {
|
|
1415
|
+
/**
|
|
1416
|
+
* The parameters configuring the rule's action.
|
|
1417
|
+
*/
|
|
1418
|
+
interface ActionParameters {
|
|
1419
|
+
/**
|
|
1420
|
+
* Turn on or off Automatic HTTPS Rewrites.
|
|
1421
|
+
*/
|
|
1422
|
+
automatic_https_rewrites?: boolean;
|
|
1423
|
+
/**
|
|
1424
|
+
* Select which file extensions to minify automatically.
|
|
1425
|
+
*/
|
|
1426
|
+
autominify?: ActionParameters.Autominify;
|
|
1427
|
+
/**
|
|
1428
|
+
* Turn on or off Browser Integrity Check.
|
|
1429
|
+
*/
|
|
1430
|
+
bic?: boolean;
|
|
1431
|
+
/**
|
|
1432
|
+
* Turn off all active Cloudflare Apps.
|
|
1433
|
+
*/
|
|
1434
|
+
disable_apps?: boolean;
|
|
1435
|
+
/**
|
|
1436
|
+
* Turn off Zaraz.
|
|
1437
|
+
*/
|
|
1438
|
+
disable_zaraz?: boolean;
|
|
1439
|
+
/**
|
|
1440
|
+
* Turn on or off Email Obfuscation.
|
|
1441
|
+
*/
|
|
1442
|
+
email_obfuscation?: boolean;
|
|
1443
|
+
/**
|
|
1444
|
+
* Turn on or off the Hotlink Protection.
|
|
1445
|
+
*/
|
|
1446
|
+
hotlink_protection?: boolean;
|
|
1447
|
+
/**
|
|
1448
|
+
* Turn on or off Mirage.
|
|
1449
|
+
*/
|
|
1450
|
+
mirage?: boolean;
|
|
1451
|
+
/**
|
|
1452
|
+
* Turn on or off Opportunistic Encryption.
|
|
1453
|
+
*/
|
|
1454
|
+
opportunistic_encryption?: boolean;
|
|
1455
|
+
/**
|
|
1456
|
+
* Configure the Polish level.
|
|
1457
|
+
*/
|
|
1458
|
+
polish?: 'off' | 'lossless' | 'lossy';
|
|
1459
|
+
/**
|
|
1460
|
+
* Turn on or off Rocket Loader
|
|
1461
|
+
*/
|
|
1462
|
+
rocket_loader?: boolean;
|
|
1463
|
+
/**
|
|
1464
|
+
* Configure the Security Level.
|
|
1465
|
+
*/
|
|
1466
|
+
security_level?: 'off' | 'essentially_off' | 'low' | 'medium' | 'high' | 'under_attack';
|
|
1467
|
+
/**
|
|
1468
|
+
* Turn on or off Server Side Excludes.
|
|
1469
|
+
*/
|
|
1470
|
+
server_side_excludes?: boolean;
|
|
1471
|
+
/**
|
|
1472
|
+
* Configure the SSL level.
|
|
1473
|
+
*/
|
|
1474
|
+
ssl?: 'off' | 'flexible' | 'full' | 'strict' | 'origin_pull';
|
|
1475
|
+
/**
|
|
1476
|
+
* Turn on or off Signed Exchanges (SXG).
|
|
1477
|
+
*/
|
|
1478
|
+
sxg?: boolean;
|
|
1479
|
+
}
|
|
1480
|
+
namespace ActionParameters {
|
|
1481
|
+
/**
|
|
1482
|
+
* Select which file extensions to minify automatically.
|
|
1483
|
+
*/
|
|
1484
|
+
interface Autominify {
|
|
1485
|
+
/**
|
|
1486
|
+
* Minify CSS files.
|
|
1487
|
+
*/
|
|
1488
|
+
css?: boolean;
|
|
1489
|
+
/**
|
|
1490
|
+
* Minify HTML files.
|
|
1491
|
+
*/
|
|
1492
|
+
html?: boolean;
|
|
1493
|
+
/**
|
|
1494
|
+
* Minify JS files.
|
|
1495
|
+
*/
|
|
1496
|
+
js?: boolean;
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
}
|
|
1500
|
+
export interface SkipRule {
|
|
1501
|
+
/**
|
|
1502
|
+
* The timestamp of when the rule was last modified.
|
|
1503
|
+
*/
|
|
1504
|
+
last_updated: string;
|
|
1505
|
+
/**
|
|
1506
|
+
* The version of the rule.
|
|
1507
|
+
*/
|
|
1508
|
+
version: string;
|
|
1509
|
+
/**
|
|
1510
|
+
* The unique ID of the rule.
|
|
1511
|
+
*/
|
|
1512
|
+
id?: string;
|
|
1513
|
+
/**
|
|
1514
|
+
* The action to perform when the rule matches.
|
|
1515
|
+
*/
|
|
1516
|
+
action?: 'skip';
|
|
1517
|
+
/**
|
|
1518
|
+
* The parameters configuring the rule's action.
|
|
1519
|
+
*/
|
|
1520
|
+
action_parameters?: SkipRule.ActionParameters;
|
|
1521
|
+
/**
|
|
1522
|
+
* The categories of the rule.
|
|
1523
|
+
*/
|
|
1524
|
+
categories?: Array<string>;
|
|
1525
|
+
/**
|
|
1526
|
+
* An informative description of the rule.
|
|
1527
|
+
*/
|
|
1528
|
+
description?: string;
|
|
1529
|
+
/**
|
|
1530
|
+
* Whether the rule should be executed.
|
|
1531
|
+
*/
|
|
1532
|
+
enabled?: boolean;
|
|
1533
|
+
/**
|
|
1534
|
+
* The expression defining which traffic will match the rule.
|
|
1535
|
+
*/
|
|
1536
|
+
expression?: string;
|
|
1537
|
+
/**
|
|
1538
|
+
* An object configuring the rule's logging behavior.
|
|
1539
|
+
*/
|
|
1540
|
+
logging?: Logging;
|
|
1541
|
+
/**
|
|
1542
|
+
* The reference of the rule (the rule ID by default).
|
|
1543
|
+
*/
|
|
1544
|
+
ref?: string;
|
|
1545
|
+
}
|
|
1546
|
+
export declare namespace SkipRule {
|
|
1547
|
+
/**
|
|
1548
|
+
* The parameters configuring the rule's action.
|
|
1549
|
+
*/
|
|
1550
|
+
interface ActionParameters {
|
|
1551
|
+
/**
|
|
1552
|
+
* A list of phases to skip the execution of. This option is incompatible with the
|
|
1553
|
+
* ruleset and rulesets options.
|
|
1554
|
+
*/
|
|
1555
|
+
phases?: Array<'ddos_l4' | 'ddos_l7' | 'http_config_settings' | 'http_custom_errors' | 'http_log_custom_fields' | 'http_ratelimit' | 'http_request_cache_settings' | 'http_request_dynamic_redirect' | 'http_request_firewall_custom' | 'http_request_firewall_managed' | 'http_request_late_transform' | 'http_request_origin' | 'http_request_redirect' | 'http_request_sanitize' | 'http_request_sbfm' | 'http_request_select_configuration' | 'http_request_transform' | 'http_response_compression' | 'http_response_firewall_managed' | 'http_response_headers_transform' | 'magic_transit' | 'magic_transit_ids_managed' | 'magic_transit_managed'>;
|
|
1556
|
+
/**
|
|
1557
|
+
* A list of legacy security products to skip the execution of.
|
|
1558
|
+
*/
|
|
1559
|
+
products?: Array<'bic' | 'hot' | 'rateLimit' | 'securityLevel' | 'uaBlock' | 'waf' | 'zoneLockdown'>;
|
|
1560
|
+
/**
|
|
1561
|
+
* A mapping of ruleset IDs to a list of rule IDs in that ruleset to skip the
|
|
1562
|
+
* execution of. This option is incompatible with the ruleset option.
|
|
1563
|
+
*/
|
|
1564
|
+
rules?: Record<string, Array<string>>;
|
|
1565
|
+
/**
|
|
1566
|
+
* A ruleset to skip the execution of. This option is incompatible with the
|
|
1567
|
+
* rulesets, rules and phases options.
|
|
1568
|
+
*/
|
|
1569
|
+
ruleset?: 'current';
|
|
1570
|
+
/**
|
|
1571
|
+
* A list of ruleset IDs to skip the execution of. This option is incompatible with
|
|
1572
|
+
* the ruleset and phases options.
|
|
1573
|
+
*/
|
|
1574
|
+
rulesets?: Array<string>;
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
/**
|
|
1578
|
+
* A ruleset object.
|
|
1579
|
+
*/
|
|
1580
|
+
export interface RuleCreateResponse {
|
|
1581
|
+
/**
|
|
1582
|
+
* The unique ID of the ruleset.
|
|
1583
|
+
*/
|
|
1584
|
+
id: string;
|
|
1585
|
+
/**
|
|
1586
|
+
* The kind of the ruleset.
|
|
1587
|
+
*/
|
|
1588
|
+
kind: 'managed' | 'custom' | 'root' | 'zone';
|
|
1589
|
+
/**
|
|
1590
|
+
* The timestamp of when the ruleset was last modified.
|
|
1591
|
+
*/
|
|
1592
|
+
last_updated: string;
|
|
1593
|
+
/**
|
|
1594
|
+
* The human-readable name of the ruleset.
|
|
1595
|
+
*/
|
|
1596
|
+
name: string;
|
|
1597
|
+
/**
|
|
1598
|
+
* The phase of the ruleset.
|
|
1599
|
+
*/
|
|
1600
|
+
phase: 'ddos_l4' | 'ddos_l7' | 'http_config_settings' | 'http_custom_errors' | 'http_log_custom_fields' | 'http_ratelimit' | 'http_request_cache_settings' | 'http_request_dynamic_redirect' | 'http_request_firewall_custom' | 'http_request_firewall_managed' | 'http_request_late_transform' | 'http_request_origin' | 'http_request_redirect' | 'http_request_sanitize' | 'http_request_sbfm' | 'http_request_select_configuration' | 'http_request_transform' | 'http_response_compression' | 'http_response_firewall_managed' | 'http_response_headers_transform' | 'magic_transit' | 'magic_transit_ids_managed' | 'magic_transit_managed';
|
|
1601
|
+
/**
|
|
1602
|
+
* The list of rules in the ruleset.
|
|
1603
|
+
*/
|
|
1604
|
+
rules: Array<BlockRule | ChallengeRule | CompressResponseRule | ExecuteRule | JSChallengeRule | LogRule | ManagedChallengeRule | RedirectRule | RewriteRule | RouteRule | ScoreRule | ServeErrorRule | SetConfigRule | SkipRule | SetCacheSettingsRule>;
|
|
1605
|
+
/**
|
|
1606
|
+
* The version of the ruleset.
|
|
1607
|
+
*/
|
|
1608
|
+
version: string;
|
|
1609
|
+
/**
|
|
1610
|
+
* An informative description of the ruleset.
|
|
1611
|
+
*/
|
|
1612
|
+
description?: string;
|
|
1613
|
+
}
|
|
1614
|
+
/**
|
|
1615
|
+
* A ruleset object.
|
|
1616
|
+
*/
|
|
1617
|
+
export interface RuleDeleteResponse {
|
|
1618
|
+
/**
|
|
1619
|
+
* The unique ID of the ruleset.
|
|
1620
|
+
*/
|
|
1621
|
+
id: string;
|
|
1622
|
+
/**
|
|
1623
|
+
* The kind of the ruleset.
|
|
1624
|
+
*/
|
|
1625
|
+
kind: 'managed' | 'custom' | 'root' | 'zone';
|
|
1626
|
+
/**
|
|
1627
|
+
* The timestamp of when the ruleset was last modified.
|
|
1628
|
+
*/
|
|
1629
|
+
last_updated: string;
|
|
1630
|
+
/**
|
|
1631
|
+
* The human-readable name of the ruleset.
|
|
1632
|
+
*/
|
|
1633
|
+
name: string;
|
|
1634
|
+
/**
|
|
1635
|
+
* The phase of the ruleset.
|
|
1636
|
+
*/
|
|
1637
|
+
phase: 'ddos_l4' | 'ddos_l7' | 'http_config_settings' | 'http_custom_errors' | 'http_log_custom_fields' | 'http_ratelimit' | 'http_request_cache_settings' | 'http_request_dynamic_redirect' | 'http_request_firewall_custom' | 'http_request_firewall_managed' | 'http_request_late_transform' | 'http_request_origin' | 'http_request_redirect' | 'http_request_sanitize' | 'http_request_sbfm' | 'http_request_select_configuration' | 'http_request_transform' | 'http_response_compression' | 'http_response_firewall_managed' | 'http_response_headers_transform' | 'magic_transit' | 'magic_transit_ids_managed' | 'magic_transit_managed';
|
|
1638
|
+
/**
|
|
1639
|
+
* The list of rules in the ruleset.
|
|
1640
|
+
*/
|
|
1641
|
+
rules: Array<BlockRule | ChallengeRule | CompressResponseRule | ExecuteRule | JSChallengeRule | LogRule | ManagedChallengeRule | RedirectRule | RewriteRule | RouteRule | ScoreRule | ServeErrorRule | SetConfigRule | SkipRule | SetCacheSettingsRule>;
|
|
1642
|
+
/**
|
|
1643
|
+
* The version of the ruleset.
|
|
1644
|
+
*/
|
|
1645
|
+
version: string;
|
|
1646
|
+
/**
|
|
1647
|
+
* An informative description of the ruleset.
|
|
1648
|
+
*/
|
|
1649
|
+
description?: string;
|
|
1650
|
+
}
|
|
1651
|
+
/**
|
|
1652
|
+
* A ruleset object.
|
|
1653
|
+
*/
|
|
1654
|
+
export interface RuleEditResponse {
|
|
1655
|
+
/**
|
|
1656
|
+
* The unique ID of the ruleset.
|
|
1657
|
+
*/
|
|
1658
|
+
id: string;
|
|
1659
|
+
/**
|
|
1660
|
+
* The kind of the ruleset.
|
|
1661
|
+
*/
|
|
1662
|
+
kind: 'managed' | 'custom' | 'root' | 'zone';
|
|
1663
|
+
/**
|
|
1664
|
+
* The timestamp of when the ruleset was last modified.
|
|
1665
|
+
*/
|
|
1666
|
+
last_updated: string;
|
|
1667
|
+
/**
|
|
1668
|
+
* The human-readable name of the ruleset.
|
|
1669
|
+
*/
|
|
1670
|
+
name: string;
|
|
1671
|
+
/**
|
|
1672
|
+
* The phase of the ruleset.
|
|
1673
|
+
*/
|
|
1674
|
+
phase: 'ddos_l4' | 'ddos_l7' | 'http_config_settings' | 'http_custom_errors' | 'http_log_custom_fields' | 'http_ratelimit' | 'http_request_cache_settings' | 'http_request_dynamic_redirect' | 'http_request_firewall_custom' | 'http_request_firewall_managed' | 'http_request_late_transform' | 'http_request_origin' | 'http_request_redirect' | 'http_request_sanitize' | 'http_request_sbfm' | 'http_request_select_configuration' | 'http_request_transform' | 'http_response_compression' | 'http_response_firewall_managed' | 'http_response_headers_transform' | 'magic_transit' | 'magic_transit_ids_managed' | 'magic_transit_managed';
|
|
1675
|
+
/**
|
|
1676
|
+
* The list of rules in the ruleset.
|
|
1677
|
+
*/
|
|
1678
|
+
rules: Array<BlockRule | ChallengeRule | CompressResponseRule | ExecuteRule | JSChallengeRule | LogRule | ManagedChallengeRule | RedirectRule | RewriteRule | RouteRule | ScoreRule | ServeErrorRule | SetConfigRule | SkipRule | SetCacheSettingsRule>;
|
|
1679
|
+
/**
|
|
1680
|
+
* The version of the ruleset.
|
|
1681
|
+
*/
|
|
1682
|
+
version: string;
|
|
1683
|
+
/**
|
|
1684
|
+
* An informative description of the ruleset.
|
|
1685
|
+
*/
|
|
1686
|
+
description?: string;
|
|
1687
|
+
}
|
|
1688
|
+
export type RuleCreateParams = RuleCreateParams.BlockRule | RuleCreateParams.ChallengeRule | RuleCreateParams.CompressResponseRule | RuleCreateParams.ExecuteRule | RuleCreateParams.JSChallengeRule | RuleCreateParams.LogRule | RuleCreateParams.ManagedChallengeRule | RuleCreateParams.RedirectRule | RuleCreateParams.RewriteRule | RuleCreateParams.RouteRule | RuleCreateParams.ScoreRule | RuleCreateParams.ServeErrorRule | RuleCreateParams.SetConfigRule | RuleCreateParams.SkipRule | RuleCreateParams.SetCacheSettingsRule;
|
|
22
1689
|
export declare namespace RuleCreateParams {
|
|
23
|
-
interface
|
|
1690
|
+
interface BlockRule {
|
|
1691
|
+
/**
|
|
1692
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
1693
|
+
* Zone ID.
|
|
1694
|
+
*/
|
|
1695
|
+
account_id?: string;
|
|
1696
|
+
/**
|
|
1697
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
1698
|
+
* Account ID.
|
|
1699
|
+
*/
|
|
1700
|
+
zone_id?: string;
|
|
1701
|
+
/**
|
|
1702
|
+
* Body param: The unique ID of the rule.
|
|
1703
|
+
*/
|
|
1704
|
+
id?: string;
|
|
1705
|
+
/**
|
|
1706
|
+
* Body param: The action to perform when the rule matches.
|
|
1707
|
+
*/
|
|
1708
|
+
action?: 'block';
|
|
1709
|
+
/**
|
|
1710
|
+
* Body param: The parameters configuring the rule's action.
|
|
1711
|
+
*/
|
|
1712
|
+
action_parameters?: RuleCreateParams.BlockRule.ActionParameters;
|
|
1713
|
+
/**
|
|
1714
|
+
* Body param: An informative description of the rule.
|
|
1715
|
+
*/
|
|
1716
|
+
description?: string;
|
|
1717
|
+
/**
|
|
1718
|
+
* Body param: Whether the rule should be executed.
|
|
1719
|
+
*/
|
|
1720
|
+
enabled?: boolean;
|
|
1721
|
+
/**
|
|
1722
|
+
* Body param: The expression defining which traffic will match the rule.
|
|
1723
|
+
*/
|
|
1724
|
+
expression?: string;
|
|
1725
|
+
/**
|
|
1726
|
+
* Body param: An object configuring the rule's logging behavior.
|
|
1727
|
+
*/
|
|
1728
|
+
logging?: Logging;
|
|
1729
|
+
/**
|
|
1730
|
+
* Body param: The reference of the rule (the rule ID by default).
|
|
1731
|
+
*/
|
|
1732
|
+
ref?: string;
|
|
1733
|
+
}
|
|
1734
|
+
namespace BlockRule {
|
|
1735
|
+
/**
|
|
1736
|
+
* The parameters configuring the rule's action.
|
|
1737
|
+
*/
|
|
1738
|
+
interface ActionParameters {
|
|
1739
|
+
/**
|
|
1740
|
+
* The response to show when the block is applied.
|
|
1741
|
+
*/
|
|
1742
|
+
response?: ActionParameters.Response;
|
|
1743
|
+
}
|
|
1744
|
+
namespace ActionParameters {
|
|
1745
|
+
/**
|
|
1746
|
+
* The response to show when the block is applied.
|
|
1747
|
+
*/
|
|
1748
|
+
interface Response {
|
|
1749
|
+
/**
|
|
1750
|
+
* The content to return.
|
|
1751
|
+
*/
|
|
1752
|
+
content: string;
|
|
1753
|
+
/**
|
|
1754
|
+
* The type of the content to return.
|
|
1755
|
+
*/
|
|
1756
|
+
content_type: string;
|
|
1757
|
+
/**
|
|
1758
|
+
* The status code to return.
|
|
1759
|
+
*/
|
|
1760
|
+
status_code: number;
|
|
1761
|
+
}
|
|
1762
|
+
}
|
|
1763
|
+
}
|
|
1764
|
+
interface ChallengeRule {
|
|
1765
|
+
/**
|
|
1766
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
1767
|
+
* Zone ID.
|
|
1768
|
+
*/
|
|
1769
|
+
account_id?: string;
|
|
1770
|
+
/**
|
|
1771
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
1772
|
+
* Account ID.
|
|
1773
|
+
*/
|
|
1774
|
+
zone_id?: string;
|
|
1775
|
+
/**
|
|
1776
|
+
* Body param: The unique ID of the rule.
|
|
1777
|
+
*/
|
|
1778
|
+
id?: string;
|
|
1779
|
+
/**
|
|
1780
|
+
* Body param: The action to perform when the rule matches.
|
|
1781
|
+
*/
|
|
1782
|
+
action?: 'challenge';
|
|
1783
|
+
/**
|
|
1784
|
+
* Body param: The parameters configuring the rule's action.
|
|
1785
|
+
*/
|
|
1786
|
+
action_parameters?: unknown;
|
|
1787
|
+
/**
|
|
1788
|
+
* Body param: An informative description of the rule.
|
|
1789
|
+
*/
|
|
1790
|
+
description?: string;
|
|
1791
|
+
/**
|
|
1792
|
+
* Body param: Whether the rule should be executed.
|
|
1793
|
+
*/
|
|
1794
|
+
enabled?: boolean;
|
|
1795
|
+
/**
|
|
1796
|
+
* Body param: The expression defining which traffic will match the rule.
|
|
1797
|
+
*/
|
|
1798
|
+
expression?: string;
|
|
1799
|
+
/**
|
|
1800
|
+
* Body param: An object configuring the rule's logging behavior.
|
|
1801
|
+
*/
|
|
1802
|
+
logging?: Logging;
|
|
1803
|
+
/**
|
|
1804
|
+
* Body param: The reference of the rule (the rule ID by default).
|
|
1805
|
+
*/
|
|
1806
|
+
ref?: string;
|
|
1807
|
+
}
|
|
1808
|
+
interface CompressResponseRule {
|
|
1809
|
+
/**
|
|
1810
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
1811
|
+
* Zone ID.
|
|
1812
|
+
*/
|
|
1813
|
+
account_id?: string;
|
|
1814
|
+
/**
|
|
1815
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
1816
|
+
* Account ID.
|
|
1817
|
+
*/
|
|
1818
|
+
zone_id?: string;
|
|
1819
|
+
/**
|
|
1820
|
+
* Body param: The unique ID of the rule.
|
|
1821
|
+
*/
|
|
1822
|
+
id?: string;
|
|
1823
|
+
/**
|
|
1824
|
+
* Body param: The action to perform when the rule matches.
|
|
1825
|
+
*/
|
|
1826
|
+
action?: 'compress_response';
|
|
1827
|
+
/**
|
|
1828
|
+
* Body param: The parameters configuring the rule's action.
|
|
1829
|
+
*/
|
|
1830
|
+
action_parameters?: RuleCreateParams.CompressResponseRule.ActionParameters;
|
|
1831
|
+
/**
|
|
1832
|
+
* Body param: An informative description of the rule.
|
|
1833
|
+
*/
|
|
1834
|
+
description?: string;
|
|
1835
|
+
/**
|
|
1836
|
+
* Body param: Whether the rule should be executed.
|
|
1837
|
+
*/
|
|
1838
|
+
enabled?: boolean;
|
|
1839
|
+
/**
|
|
1840
|
+
* Body param: The expression defining which traffic will match the rule.
|
|
1841
|
+
*/
|
|
1842
|
+
expression?: string;
|
|
1843
|
+
/**
|
|
1844
|
+
* Body param: An object configuring the rule's logging behavior.
|
|
1845
|
+
*/
|
|
1846
|
+
logging?: Logging;
|
|
1847
|
+
/**
|
|
1848
|
+
* Body param: The reference of the rule (the rule ID by default).
|
|
1849
|
+
*/
|
|
1850
|
+
ref?: string;
|
|
1851
|
+
}
|
|
1852
|
+
namespace CompressResponseRule {
|
|
1853
|
+
/**
|
|
1854
|
+
* The parameters configuring the rule's action.
|
|
1855
|
+
*/
|
|
1856
|
+
interface ActionParameters {
|
|
1857
|
+
/**
|
|
1858
|
+
* Custom order for compression algorithms.
|
|
1859
|
+
*/
|
|
1860
|
+
algorithms?: Array<ActionParameters.Algorithm>;
|
|
1861
|
+
}
|
|
1862
|
+
namespace ActionParameters {
|
|
1863
|
+
/**
|
|
1864
|
+
* Compression algorithm to enable.
|
|
1865
|
+
*/
|
|
1866
|
+
interface Algorithm {
|
|
1867
|
+
/**
|
|
1868
|
+
* Name of compression algorithm to enable.
|
|
1869
|
+
*/
|
|
1870
|
+
name?: 'none' | 'auto' | 'default' | 'gzip' | 'brotli';
|
|
1871
|
+
}
|
|
1872
|
+
}
|
|
1873
|
+
}
|
|
1874
|
+
interface ExecuteRule {
|
|
1875
|
+
/**
|
|
1876
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
1877
|
+
* Zone ID.
|
|
1878
|
+
*/
|
|
1879
|
+
account_id?: string;
|
|
1880
|
+
/**
|
|
1881
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
1882
|
+
* Account ID.
|
|
1883
|
+
*/
|
|
1884
|
+
zone_id?: string;
|
|
1885
|
+
/**
|
|
1886
|
+
* Body param: The unique ID of the rule.
|
|
1887
|
+
*/
|
|
1888
|
+
id?: string;
|
|
1889
|
+
/**
|
|
1890
|
+
* Body param: The action to perform when the rule matches.
|
|
1891
|
+
*/
|
|
1892
|
+
action?: 'execute';
|
|
1893
|
+
/**
|
|
1894
|
+
* Body param: The parameters configuring the rule's action.
|
|
1895
|
+
*/
|
|
1896
|
+
action_parameters?: RuleCreateParams.ExecuteRule.ActionParameters;
|
|
1897
|
+
/**
|
|
1898
|
+
* Body param: An informative description of the rule.
|
|
1899
|
+
*/
|
|
1900
|
+
description?: string;
|
|
1901
|
+
/**
|
|
1902
|
+
* Body param: Whether the rule should be executed.
|
|
1903
|
+
*/
|
|
1904
|
+
enabled?: boolean;
|
|
1905
|
+
/**
|
|
1906
|
+
* Body param: The expression defining which traffic will match the rule.
|
|
1907
|
+
*/
|
|
1908
|
+
expression?: string;
|
|
1909
|
+
/**
|
|
1910
|
+
* Body param: An object configuring the rule's logging behavior.
|
|
1911
|
+
*/
|
|
1912
|
+
logging?: Logging;
|
|
1913
|
+
/**
|
|
1914
|
+
* Body param: The reference of the rule (the rule ID by default).
|
|
1915
|
+
*/
|
|
1916
|
+
ref?: string;
|
|
1917
|
+
}
|
|
1918
|
+
namespace ExecuteRule {
|
|
1919
|
+
/**
|
|
1920
|
+
* The parameters configuring the rule's action.
|
|
1921
|
+
*/
|
|
1922
|
+
interface ActionParameters {
|
|
1923
|
+
/**
|
|
1924
|
+
* The ID of the ruleset to execute.
|
|
1925
|
+
*/
|
|
1926
|
+
id: string;
|
|
1927
|
+
/**
|
|
1928
|
+
* The configuration to use for matched data logging.
|
|
1929
|
+
*/
|
|
1930
|
+
matched_data?: ActionParameters.MatchedData;
|
|
1931
|
+
/**
|
|
1932
|
+
* A set of overrides to apply to the target ruleset.
|
|
1933
|
+
*/
|
|
1934
|
+
overrides?: ActionParameters.Overrides;
|
|
1935
|
+
}
|
|
1936
|
+
namespace ActionParameters {
|
|
1937
|
+
/**
|
|
1938
|
+
* The configuration to use for matched data logging.
|
|
1939
|
+
*/
|
|
1940
|
+
interface MatchedData {
|
|
1941
|
+
/**
|
|
1942
|
+
* The public key to encrypt matched data logs with.
|
|
1943
|
+
*/
|
|
1944
|
+
public_key: string;
|
|
1945
|
+
}
|
|
1946
|
+
/**
|
|
1947
|
+
* A set of overrides to apply to the target ruleset.
|
|
1948
|
+
*/
|
|
1949
|
+
interface Overrides {
|
|
1950
|
+
/**
|
|
1951
|
+
* An action to override all rules with. This option has lower precedence than rule
|
|
1952
|
+
* and category overrides.
|
|
1953
|
+
*/
|
|
1954
|
+
action?: string;
|
|
1955
|
+
/**
|
|
1956
|
+
* A list of category-level overrides. This option has the second-highest
|
|
1957
|
+
* precedence after rule-level overrides.
|
|
1958
|
+
*/
|
|
1959
|
+
categories?: Array<Overrides.Category>;
|
|
1960
|
+
/**
|
|
1961
|
+
* Whether to enable execution of all rules. This option has lower precedence than
|
|
1962
|
+
* rule and category overrides.
|
|
1963
|
+
*/
|
|
1964
|
+
enabled?: boolean;
|
|
1965
|
+
/**
|
|
1966
|
+
* A list of rule-level overrides. This option has the highest precedence.
|
|
1967
|
+
*/
|
|
1968
|
+
rules?: Array<Overrides.Rule>;
|
|
1969
|
+
/**
|
|
1970
|
+
* A sensitivity level to set for all rules. This option has lower precedence than
|
|
1971
|
+
* rule and category overrides and is only applicable for DDoS phases.
|
|
1972
|
+
*/
|
|
1973
|
+
sensitivity_level?: 'default' | 'medium' | 'low' | 'eoff';
|
|
1974
|
+
}
|
|
1975
|
+
namespace Overrides {
|
|
1976
|
+
/**
|
|
1977
|
+
* A category-level override
|
|
1978
|
+
*/
|
|
1979
|
+
interface Category {
|
|
1980
|
+
/**
|
|
1981
|
+
* The name of the category to override.
|
|
1982
|
+
*/
|
|
1983
|
+
category: string;
|
|
1984
|
+
/**
|
|
1985
|
+
* The action to override rules in the category with.
|
|
1986
|
+
*/
|
|
1987
|
+
action?: string;
|
|
1988
|
+
/**
|
|
1989
|
+
* Whether to enable execution of rules in the category.
|
|
1990
|
+
*/
|
|
1991
|
+
enabled?: boolean;
|
|
1992
|
+
/**
|
|
1993
|
+
* The sensitivity level to use for rules in the category.
|
|
1994
|
+
*/
|
|
1995
|
+
sensitivity_level?: 'default' | 'medium' | 'low' | 'eoff';
|
|
1996
|
+
}
|
|
1997
|
+
/**
|
|
1998
|
+
* A rule-level override
|
|
1999
|
+
*/
|
|
2000
|
+
interface Rule {
|
|
2001
|
+
/**
|
|
2002
|
+
* The ID of the rule to override.
|
|
2003
|
+
*/
|
|
2004
|
+
id: string;
|
|
2005
|
+
/**
|
|
2006
|
+
* The action to override the rule with.
|
|
2007
|
+
*/
|
|
2008
|
+
action?: string;
|
|
2009
|
+
/**
|
|
2010
|
+
* Whether to enable execution of the rule.
|
|
2011
|
+
*/
|
|
2012
|
+
enabled?: boolean;
|
|
2013
|
+
/**
|
|
2014
|
+
* The score threshold to use for the rule.
|
|
2015
|
+
*/
|
|
2016
|
+
score_threshold?: number;
|
|
2017
|
+
/**
|
|
2018
|
+
* The sensitivity level to use for the rule.
|
|
2019
|
+
*/
|
|
2020
|
+
sensitivity_level?: 'default' | 'medium' | 'low' | 'eoff';
|
|
2021
|
+
}
|
|
2022
|
+
}
|
|
2023
|
+
}
|
|
2024
|
+
}
|
|
2025
|
+
interface JSChallengeRule {
|
|
2026
|
+
/**
|
|
2027
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
2028
|
+
* Zone ID.
|
|
2029
|
+
*/
|
|
2030
|
+
account_id?: string;
|
|
2031
|
+
/**
|
|
2032
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
2033
|
+
* Account ID.
|
|
2034
|
+
*/
|
|
2035
|
+
zone_id?: string;
|
|
2036
|
+
/**
|
|
2037
|
+
* Body param: The unique ID of the rule.
|
|
2038
|
+
*/
|
|
2039
|
+
id?: string;
|
|
2040
|
+
/**
|
|
2041
|
+
* Body param: The action to perform when the rule matches.
|
|
2042
|
+
*/
|
|
2043
|
+
action?: 'js_challenge';
|
|
2044
|
+
/**
|
|
2045
|
+
* Body param: The parameters configuring the rule's action.
|
|
2046
|
+
*/
|
|
2047
|
+
action_parameters?: unknown;
|
|
2048
|
+
/**
|
|
2049
|
+
* Body param: An informative description of the rule.
|
|
2050
|
+
*/
|
|
2051
|
+
description?: string;
|
|
2052
|
+
/**
|
|
2053
|
+
* Body param: Whether the rule should be executed.
|
|
2054
|
+
*/
|
|
2055
|
+
enabled?: boolean;
|
|
2056
|
+
/**
|
|
2057
|
+
* Body param: The expression defining which traffic will match the rule.
|
|
2058
|
+
*/
|
|
2059
|
+
expression?: string;
|
|
2060
|
+
/**
|
|
2061
|
+
* Body param: An object configuring the rule's logging behavior.
|
|
2062
|
+
*/
|
|
2063
|
+
logging?: Logging;
|
|
2064
|
+
/**
|
|
2065
|
+
* Body param: The reference of the rule (the rule ID by default).
|
|
2066
|
+
*/
|
|
2067
|
+
ref?: string;
|
|
2068
|
+
}
|
|
2069
|
+
interface LogRule {
|
|
2070
|
+
/**
|
|
2071
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
2072
|
+
* Zone ID.
|
|
2073
|
+
*/
|
|
2074
|
+
account_id?: string;
|
|
2075
|
+
/**
|
|
2076
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
2077
|
+
* Account ID.
|
|
2078
|
+
*/
|
|
2079
|
+
zone_id?: string;
|
|
2080
|
+
/**
|
|
2081
|
+
* Body param: The unique ID of the rule.
|
|
2082
|
+
*/
|
|
2083
|
+
id?: string;
|
|
2084
|
+
/**
|
|
2085
|
+
* Body param: The action to perform when the rule matches.
|
|
2086
|
+
*/
|
|
2087
|
+
action?: 'log';
|
|
2088
|
+
/**
|
|
2089
|
+
* Body param: The parameters configuring the rule's action.
|
|
2090
|
+
*/
|
|
2091
|
+
action_parameters?: unknown;
|
|
2092
|
+
/**
|
|
2093
|
+
* Body param: An informative description of the rule.
|
|
2094
|
+
*/
|
|
2095
|
+
description?: string;
|
|
2096
|
+
/**
|
|
2097
|
+
* Body param: Whether the rule should be executed.
|
|
2098
|
+
*/
|
|
2099
|
+
enabled?: boolean;
|
|
2100
|
+
/**
|
|
2101
|
+
* Body param: The expression defining which traffic will match the rule.
|
|
2102
|
+
*/
|
|
2103
|
+
expression?: string;
|
|
2104
|
+
/**
|
|
2105
|
+
* Body param: An object configuring the rule's logging behavior.
|
|
2106
|
+
*/
|
|
2107
|
+
logging?: Logging;
|
|
2108
|
+
/**
|
|
2109
|
+
* Body param: The reference of the rule (the rule ID by default).
|
|
2110
|
+
*/
|
|
2111
|
+
ref?: string;
|
|
2112
|
+
}
|
|
2113
|
+
interface ManagedChallengeRule {
|
|
2114
|
+
/**
|
|
2115
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
2116
|
+
* Zone ID.
|
|
2117
|
+
*/
|
|
2118
|
+
account_id?: string;
|
|
2119
|
+
/**
|
|
2120
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
2121
|
+
* Account ID.
|
|
2122
|
+
*/
|
|
2123
|
+
zone_id?: string;
|
|
2124
|
+
/**
|
|
2125
|
+
* Body param: The unique ID of the rule.
|
|
2126
|
+
*/
|
|
2127
|
+
id?: string;
|
|
2128
|
+
/**
|
|
2129
|
+
* Body param: The action to perform when the rule matches.
|
|
2130
|
+
*/
|
|
2131
|
+
action?: 'managed_challenge';
|
|
2132
|
+
/**
|
|
2133
|
+
* Body param: The parameters configuring the rule's action.
|
|
2134
|
+
*/
|
|
2135
|
+
action_parameters?: unknown;
|
|
2136
|
+
/**
|
|
2137
|
+
* Body param: An informative description of the rule.
|
|
2138
|
+
*/
|
|
2139
|
+
description?: string;
|
|
2140
|
+
/**
|
|
2141
|
+
* Body param: Whether the rule should be executed.
|
|
2142
|
+
*/
|
|
2143
|
+
enabled?: boolean;
|
|
2144
|
+
/**
|
|
2145
|
+
* Body param: The expression defining which traffic will match the rule.
|
|
2146
|
+
*/
|
|
2147
|
+
expression?: string;
|
|
2148
|
+
/**
|
|
2149
|
+
* Body param: An object configuring the rule's logging behavior.
|
|
2150
|
+
*/
|
|
2151
|
+
logging?: Logging;
|
|
2152
|
+
/**
|
|
2153
|
+
* Body param: The reference of the rule (the rule ID by default).
|
|
2154
|
+
*/
|
|
2155
|
+
ref?: string;
|
|
2156
|
+
}
|
|
2157
|
+
interface RedirectRule {
|
|
2158
|
+
/**
|
|
2159
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
2160
|
+
* Zone ID.
|
|
2161
|
+
*/
|
|
2162
|
+
account_id?: string;
|
|
2163
|
+
/**
|
|
2164
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
2165
|
+
* Account ID.
|
|
2166
|
+
*/
|
|
2167
|
+
zone_id?: string;
|
|
2168
|
+
/**
|
|
2169
|
+
* Body param: The unique ID of the rule.
|
|
2170
|
+
*/
|
|
2171
|
+
id?: string;
|
|
2172
|
+
/**
|
|
2173
|
+
* Body param: The action to perform when the rule matches.
|
|
2174
|
+
*/
|
|
2175
|
+
action?: 'redirect';
|
|
2176
|
+
/**
|
|
2177
|
+
* Body param: The parameters configuring the rule's action.
|
|
2178
|
+
*/
|
|
2179
|
+
action_parameters?: RuleCreateParams.RedirectRule.ActionParameters;
|
|
2180
|
+
/**
|
|
2181
|
+
* Body param: An informative description of the rule.
|
|
2182
|
+
*/
|
|
2183
|
+
description?: string;
|
|
2184
|
+
/**
|
|
2185
|
+
* Body param: Whether the rule should be executed.
|
|
2186
|
+
*/
|
|
2187
|
+
enabled?: boolean;
|
|
2188
|
+
/**
|
|
2189
|
+
* Body param: The expression defining which traffic will match the rule.
|
|
2190
|
+
*/
|
|
2191
|
+
expression?: string;
|
|
2192
|
+
/**
|
|
2193
|
+
* Body param: An object configuring the rule's logging behavior.
|
|
2194
|
+
*/
|
|
2195
|
+
logging?: Logging;
|
|
2196
|
+
/**
|
|
2197
|
+
* Body param: The reference of the rule (the rule ID by default).
|
|
2198
|
+
*/
|
|
2199
|
+
ref?: string;
|
|
2200
|
+
}
|
|
2201
|
+
namespace RedirectRule {
|
|
2202
|
+
/**
|
|
2203
|
+
* The parameters configuring the rule's action.
|
|
2204
|
+
*/
|
|
2205
|
+
interface ActionParameters {
|
|
2206
|
+
/**
|
|
2207
|
+
* Serve a redirect based on a bulk list lookup.
|
|
2208
|
+
*/
|
|
2209
|
+
from_list?: ActionParameters.FromList;
|
|
2210
|
+
/**
|
|
2211
|
+
* Serve a redirect based on the request properties.
|
|
2212
|
+
*/
|
|
2213
|
+
from_value?: ActionParameters.FromValue;
|
|
2214
|
+
}
|
|
2215
|
+
namespace ActionParameters {
|
|
2216
|
+
/**
|
|
2217
|
+
* Serve a redirect based on a bulk list lookup.
|
|
2218
|
+
*/
|
|
2219
|
+
interface FromList {
|
|
2220
|
+
/**
|
|
2221
|
+
* Expression that evaluates to the list lookup key.
|
|
2222
|
+
*/
|
|
2223
|
+
key?: string;
|
|
2224
|
+
/**
|
|
2225
|
+
* The name of the list to match against.
|
|
2226
|
+
*/
|
|
2227
|
+
name?: string;
|
|
2228
|
+
}
|
|
2229
|
+
/**
|
|
2230
|
+
* Serve a redirect based on the request properties.
|
|
2231
|
+
*/
|
|
2232
|
+
interface FromValue {
|
|
2233
|
+
/**
|
|
2234
|
+
* Keep the query string of the original request.
|
|
2235
|
+
*/
|
|
2236
|
+
preserve_query_string?: boolean;
|
|
2237
|
+
/**
|
|
2238
|
+
* The status code to be used for the redirect.
|
|
2239
|
+
*/
|
|
2240
|
+
status_code?: 301 | 302 | 303 | 307 | 308;
|
|
2241
|
+
/**
|
|
2242
|
+
* The URL to redirect the request to.
|
|
2243
|
+
*/
|
|
2244
|
+
target_url?: FromValue.StaticURLRedirect | FromValue.DynamicURLRedirect;
|
|
2245
|
+
}
|
|
2246
|
+
namespace FromValue {
|
|
2247
|
+
interface StaticURLRedirect {
|
|
2248
|
+
/**
|
|
2249
|
+
* The URL to redirect the request to.
|
|
2250
|
+
*/
|
|
2251
|
+
value?: string;
|
|
2252
|
+
}
|
|
2253
|
+
interface DynamicURLRedirect {
|
|
2254
|
+
/**
|
|
2255
|
+
* An expression to evaluate to get the URL to redirect the request to.
|
|
2256
|
+
*/
|
|
2257
|
+
expression?: string;
|
|
2258
|
+
}
|
|
2259
|
+
}
|
|
2260
|
+
}
|
|
2261
|
+
}
|
|
2262
|
+
interface RewriteRule {
|
|
2263
|
+
/**
|
|
2264
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
2265
|
+
* Zone ID.
|
|
2266
|
+
*/
|
|
2267
|
+
account_id?: string;
|
|
2268
|
+
/**
|
|
2269
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
2270
|
+
* Account ID.
|
|
2271
|
+
*/
|
|
2272
|
+
zone_id?: string;
|
|
2273
|
+
/**
|
|
2274
|
+
* Body param: The unique ID of the rule.
|
|
2275
|
+
*/
|
|
2276
|
+
id?: string;
|
|
2277
|
+
/**
|
|
2278
|
+
* Body param: The action to perform when the rule matches.
|
|
2279
|
+
*/
|
|
2280
|
+
action?: 'rewrite';
|
|
2281
|
+
/**
|
|
2282
|
+
* Body param: The parameters configuring the rule's action.
|
|
2283
|
+
*/
|
|
2284
|
+
action_parameters?: RuleCreateParams.RewriteRule.ActionParameters;
|
|
2285
|
+
/**
|
|
2286
|
+
* Body param: An informative description of the rule.
|
|
2287
|
+
*/
|
|
2288
|
+
description?: string;
|
|
2289
|
+
/**
|
|
2290
|
+
* Body param: Whether the rule should be executed.
|
|
2291
|
+
*/
|
|
2292
|
+
enabled?: boolean;
|
|
2293
|
+
/**
|
|
2294
|
+
* Body param: The expression defining which traffic will match the rule.
|
|
2295
|
+
*/
|
|
2296
|
+
expression?: string;
|
|
2297
|
+
/**
|
|
2298
|
+
* Body param: An object configuring the rule's logging behavior.
|
|
2299
|
+
*/
|
|
2300
|
+
logging?: Logging;
|
|
2301
|
+
/**
|
|
2302
|
+
* Body param: The reference of the rule (the rule ID by default).
|
|
2303
|
+
*/
|
|
2304
|
+
ref?: string;
|
|
2305
|
+
}
|
|
2306
|
+
namespace RewriteRule {
|
|
2307
|
+
/**
|
|
2308
|
+
* The parameters configuring the rule's action.
|
|
2309
|
+
*/
|
|
2310
|
+
interface ActionParameters {
|
|
2311
|
+
/**
|
|
2312
|
+
* Map of request headers to modify.
|
|
2313
|
+
*/
|
|
2314
|
+
headers?: Record<string, ActionParameters.RemoveHeader | ActionParameters.StaticHeader | ActionParameters.DynamicHeader>;
|
|
2315
|
+
/**
|
|
2316
|
+
* URI to rewrite the request to.
|
|
2317
|
+
*/
|
|
2318
|
+
uri?: ActionParameters.URI;
|
|
2319
|
+
}
|
|
2320
|
+
namespace ActionParameters {
|
|
2321
|
+
/**
|
|
2322
|
+
* Remove the header from the request.
|
|
2323
|
+
*/
|
|
2324
|
+
interface RemoveHeader {
|
|
2325
|
+
operation: 'remove';
|
|
2326
|
+
}
|
|
2327
|
+
/**
|
|
2328
|
+
* Set a request header with a static value.
|
|
2329
|
+
*/
|
|
2330
|
+
interface StaticHeader {
|
|
2331
|
+
operation: 'set';
|
|
2332
|
+
/**
|
|
2333
|
+
* Static value for the header.
|
|
2334
|
+
*/
|
|
2335
|
+
value: string;
|
|
2336
|
+
}
|
|
2337
|
+
/**
|
|
2338
|
+
* Set a request header with a dynamic value.
|
|
2339
|
+
*/
|
|
2340
|
+
interface DynamicHeader {
|
|
2341
|
+
/**
|
|
2342
|
+
* Expression for the header value.
|
|
2343
|
+
*/
|
|
2344
|
+
expression: string;
|
|
2345
|
+
operation: 'set';
|
|
2346
|
+
}
|
|
2347
|
+
/**
|
|
2348
|
+
* URI to rewrite the request to.
|
|
2349
|
+
*/
|
|
2350
|
+
interface URI {
|
|
2351
|
+
/**
|
|
2352
|
+
* Path portion rewrite.
|
|
2353
|
+
*/
|
|
2354
|
+
path?: RulesAPI.RewriteURIPart;
|
|
2355
|
+
/**
|
|
2356
|
+
* Query portion rewrite.
|
|
2357
|
+
*/
|
|
2358
|
+
query?: RulesAPI.RewriteURIPart;
|
|
2359
|
+
}
|
|
2360
|
+
}
|
|
2361
|
+
}
|
|
2362
|
+
interface RouteRule {
|
|
2363
|
+
/**
|
|
2364
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
2365
|
+
* Zone ID.
|
|
2366
|
+
*/
|
|
2367
|
+
account_id?: string;
|
|
2368
|
+
/**
|
|
2369
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
2370
|
+
* Account ID.
|
|
2371
|
+
*/
|
|
2372
|
+
zone_id?: string;
|
|
2373
|
+
/**
|
|
2374
|
+
* Body param: The unique ID of the rule.
|
|
2375
|
+
*/
|
|
2376
|
+
id?: string;
|
|
2377
|
+
/**
|
|
2378
|
+
* Body param: The action to perform when the rule matches.
|
|
2379
|
+
*/
|
|
2380
|
+
action?: 'route';
|
|
2381
|
+
/**
|
|
2382
|
+
* Body param: The parameters configuring the rule's action.
|
|
2383
|
+
*/
|
|
2384
|
+
action_parameters?: RuleCreateParams.RouteRule.ActionParameters;
|
|
2385
|
+
/**
|
|
2386
|
+
* Body param: An informative description of the rule.
|
|
2387
|
+
*/
|
|
2388
|
+
description?: string;
|
|
2389
|
+
/**
|
|
2390
|
+
* Body param: Whether the rule should be executed.
|
|
2391
|
+
*/
|
|
2392
|
+
enabled?: boolean;
|
|
2393
|
+
/**
|
|
2394
|
+
* Body param: The expression defining which traffic will match the rule.
|
|
2395
|
+
*/
|
|
2396
|
+
expression?: string;
|
|
2397
|
+
/**
|
|
2398
|
+
* Body param: An object configuring the rule's logging behavior.
|
|
2399
|
+
*/
|
|
2400
|
+
logging?: Logging;
|
|
2401
|
+
/**
|
|
2402
|
+
* Body param: The reference of the rule (the rule ID by default).
|
|
2403
|
+
*/
|
|
2404
|
+
ref?: string;
|
|
2405
|
+
}
|
|
2406
|
+
namespace RouteRule {
|
|
2407
|
+
/**
|
|
2408
|
+
* The parameters configuring the rule's action.
|
|
2409
|
+
*/
|
|
2410
|
+
interface ActionParameters {
|
|
2411
|
+
/**
|
|
2412
|
+
* Rewrite the HTTP Host header.
|
|
2413
|
+
*/
|
|
2414
|
+
host_header?: string;
|
|
2415
|
+
/**
|
|
2416
|
+
* Override the IP/TCP destination.
|
|
2417
|
+
*/
|
|
2418
|
+
origin?: ActionParameters.Origin;
|
|
2419
|
+
/**
|
|
2420
|
+
* Override the Server Name Indication (SNI).
|
|
2421
|
+
*/
|
|
2422
|
+
sni?: ActionParameters.Sni;
|
|
2423
|
+
}
|
|
2424
|
+
namespace ActionParameters {
|
|
2425
|
+
/**
|
|
2426
|
+
* Override the IP/TCP destination.
|
|
2427
|
+
*/
|
|
2428
|
+
interface Origin {
|
|
2429
|
+
/**
|
|
2430
|
+
* Override the resolved hostname.
|
|
2431
|
+
*/
|
|
2432
|
+
host?: string;
|
|
2433
|
+
/**
|
|
2434
|
+
* Override the destination port.
|
|
2435
|
+
*/
|
|
2436
|
+
port?: number;
|
|
2437
|
+
}
|
|
2438
|
+
/**
|
|
2439
|
+
* Override the Server Name Indication (SNI).
|
|
2440
|
+
*/
|
|
2441
|
+
interface Sni {
|
|
2442
|
+
/**
|
|
2443
|
+
* The SNI override.
|
|
2444
|
+
*/
|
|
2445
|
+
value: string;
|
|
2446
|
+
}
|
|
2447
|
+
}
|
|
2448
|
+
}
|
|
2449
|
+
interface ScoreRule {
|
|
2450
|
+
/**
|
|
2451
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
2452
|
+
* Zone ID.
|
|
2453
|
+
*/
|
|
2454
|
+
account_id?: string;
|
|
2455
|
+
/**
|
|
2456
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
2457
|
+
* Account ID.
|
|
2458
|
+
*/
|
|
2459
|
+
zone_id?: string;
|
|
2460
|
+
/**
|
|
2461
|
+
* Body param: The unique ID of the rule.
|
|
2462
|
+
*/
|
|
2463
|
+
id?: string;
|
|
2464
|
+
/**
|
|
2465
|
+
* Body param: The action to perform when the rule matches.
|
|
2466
|
+
*/
|
|
2467
|
+
action?: 'score';
|
|
2468
|
+
/**
|
|
2469
|
+
* Body param: The parameters configuring the rule's action.
|
|
2470
|
+
*/
|
|
2471
|
+
action_parameters?: RuleCreateParams.ScoreRule.ActionParameters;
|
|
2472
|
+
/**
|
|
2473
|
+
* Body param: An informative description of the rule.
|
|
2474
|
+
*/
|
|
2475
|
+
description?: string;
|
|
2476
|
+
/**
|
|
2477
|
+
* Body param: Whether the rule should be executed.
|
|
2478
|
+
*/
|
|
2479
|
+
enabled?: boolean;
|
|
2480
|
+
/**
|
|
2481
|
+
* Body param: The expression defining which traffic will match the rule.
|
|
2482
|
+
*/
|
|
2483
|
+
expression?: string;
|
|
2484
|
+
/**
|
|
2485
|
+
* Body param: An object configuring the rule's logging behavior.
|
|
2486
|
+
*/
|
|
2487
|
+
logging?: Logging;
|
|
2488
|
+
/**
|
|
2489
|
+
* Body param: The reference of the rule (the rule ID by default).
|
|
2490
|
+
*/
|
|
2491
|
+
ref?: string;
|
|
2492
|
+
}
|
|
2493
|
+
namespace ScoreRule {
|
|
2494
|
+
/**
|
|
2495
|
+
* The parameters configuring the rule's action.
|
|
2496
|
+
*/
|
|
2497
|
+
interface ActionParameters {
|
|
2498
|
+
/**
|
|
2499
|
+
* Increment contains the delta to change the score and can be either positive or
|
|
2500
|
+
* negative.
|
|
2501
|
+
*/
|
|
2502
|
+
increment?: number;
|
|
2503
|
+
}
|
|
2504
|
+
}
|
|
2505
|
+
interface ServeErrorRule {
|
|
2506
|
+
/**
|
|
2507
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
2508
|
+
* Zone ID.
|
|
2509
|
+
*/
|
|
2510
|
+
account_id?: string;
|
|
2511
|
+
/**
|
|
2512
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
2513
|
+
* Account ID.
|
|
2514
|
+
*/
|
|
2515
|
+
zone_id?: string;
|
|
2516
|
+
/**
|
|
2517
|
+
* Body param: The unique ID of the rule.
|
|
2518
|
+
*/
|
|
2519
|
+
id?: string;
|
|
2520
|
+
/**
|
|
2521
|
+
* Body param: The action to perform when the rule matches.
|
|
2522
|
+
*/
|
|
2523
|
+
action?: 'serve_error';
|
|
2524
|
+
/**
|
|
2525
|
+
* Body param: The parameters configuring the rule's action.
|
|
2526
|
+
*/
|
|
2527
|
+
action_parameters?: RuleCreateParams.ServeErrorRule.ActionParameters;
|
|
2528
|
+
/**
|
|
2529
|
+
* Body param: An informative description of the rule.
|
|
2530
|
+
*/
|
|
2531
|
+
description?: string;
|
|
2532
|
+
/**
|
|
2533
|
+
* Body param: Whether the rule should be executed.
|
|
2534
|
+
*/
|
|
2535
|
+
enabled?: boolean;
|
|
2536
|
+
/**
|
|
2537
|
+
* Body param: The expression defining which traffic will match the rule.
|
|
2538
|
+
*/
|
|
2539
|
+
expression?: string;
|
|
2540
|
+
/**
|
|
2541
|
+
* Body param: An object configuring the rule's logging behavior.
|
|
2542
|
+
*/
|
|
2543
|
+
logging?: Logging;
|
|
2544
|
+
/**
|
|
2545
|
+
* Body param: The reference of the rule (the rule ID by default).
|
|
2546
|
+
*/
|
|
2547
|
+
ref?: string;
|
|
2548
|
+
}
|
|
2549
|
+
namespace ServeErrorRule {
|
|
2550
|
+
/**
|
|
2551
|
+
* The parameters configuring the rule's action.
|
|
2552
|
+
*/
|
|
2553
|
+
interface ActionParameters {
|
|
2554
|
+
/**
|
|
2555
|
+
* Error response content.
|
|
2556
|
+
*/
|
|
2557
|
+
content?: string;
|
|
2558
|
+
/**
|
|
2559
|
+
* Content-type header to set with the response.
|
|
2560
|
+
*/
|
|
2561
|
+
content_type?: 'application/json' | 'text/xml' | 'text/plain' | 'text/html';
|
|
2562
|
+
/**
|
|
2563
|
+
* The status code to use for the error.
|
|
2564
|
+
*/
|
|
2565
|
+
status_code?: number;
|
|
2566
|
+
}
|
|
2567
|
+
}
|
|
2568
|
+
interface SetConfigRule {
|
|
2569
|
+
/**
|
|
2570
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
2571
|
+
* Zone ID.
|
|
2572
|
+
*/
|
|
2573
|
+
account_id?: string;
|
|
2574
|
+
/**
|
|
2575
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
2576
|
+
* Account ID.
|
|
2577
|
+
*/
|
|
2578
|
+
zone_id?: string;
|
|
2579
|
+
/**
|
|
2580
|
+
* Body param: The unique ID of the rule.
|
|
2581
|
+
*/
|
|
2582
|
+
id?: string;
|
|
2583
|
+
/**
|
|
2584
|
+
* Body param: The action to perform when the rule matches.
|
|
2585
|
+
*/
|
|
2586
|
+
action?: 'set_config';
|
|
2587
|
+
/**
|
|
2588
|
+
* Body param: The parameters configuring the rule's action.
|
|
2589
|
+
*/
|
|
2590
|
+
action_parameters?: RuleCreateParams.SetConfigRule.ActionParameters;
|
|
2591
|
+
/**
|
|
2592
|
+
* Body param: An informative description of the rule.
|
|
2593
|
+
*/
|
|
2594
|
+
description?: string;
|
|
2595
|
+
/**
|
|
2596
|
+
* Body param: Whether the rule should be executed.
|
|
2597
|
+
*/
|
|
2598
|
+
enabled?: boolean;
|
|
2599
|
+
/**
|
|
2600
|
+
* Body param: The expression defining which traffic will match the rule.
|
|
2601
|
+
*/
|
|
2602
|
+
expression?: string;
|
|
2603
|
+
/**
|
|
2604
|
+
* Body param: An object configuring the rule's logging behavior.
|
|
2605
|
+
*/
|
|
2606
|
+
logging?: Logging;
|
|
2607
|
+
/**
|
|
2608
|
+
* Body param: The reference of the rule (the rule ID by default).
|
|
2609
|
+
*/
|
|
2610
|
+
ref?: string;
|
|
2611
|
+
}
|
|
2612
|
+
namespace SetConfigRule {
|
|
2613
|
+
/**
|
|
2614
|
+
* The parameters configuring the rule's action.
|
|
2615
|
+
*/
|
|
2616
|
+
interface ActionParameters {
|
|
2617
|
+
/**
|
|
2618
|
+
* Turn on or off Automatic HTTPS Rewrites.
|
|
2619
|
+
*/
|
|
2620
|
+
automatic_https_rewrites?: boolean;
|
|
2621
|
+
/**
|
|
2622
|
+
* Select which file extensions to minify automatically.
|
|
2623
|
+
*/
|
|
2624
|
+
autominify?: ActionParameters.Autominify;
|
|
2625
|
+
/**
|
|
2626
|
+
* Turn on or off Browser Integrity Check.
|
|
2627
|
+
*/
|
|
2628
|
+
bic?: boolean;
|
|
2629
|
+
/**
|
|
2630
|
+
* Turn off all active Cloudflare Apps.
|
|
2631
|
+
*/
|
|
2632
|
+
disable_apps?: boolean;
|
|
2633
|
+
/**
|
|
2634
|
+
* Turn off Zaraz.
|
|
2635
|
+
*/
|
|
2636
|
+
disable_zaraz?: boolean;
|
|
2637
|
+
/**
|
|
2638
|
+
* Turn on or off Email Obfuscation.
|
|
2639
|
+
*/
|
|
2640
|
+
email_obfuscation?: boolean;
|
|
2641
|
+
/**
|
|
2642
|
+
* Turn on or off the Hotlink Protection.
|
|
2643
|
+
*/
|
|
2644
|
+
hotlink_protection?: boolean;
|
|
2645
|
+
/**
|
|
2646
|
+
* Turn on or off Mirage.
|
|
2647
|
+
*/
|
|
2648
|
+
mirage?: boolean;
|
|
2649
|
+
/**
|
|
2650
|
+
* Turn on or off Opportunistic Encryption.
|
|
2651
|
+
*/
|
|
2652
|
+
opportunistic_encryption?: boolean;
|
|
2653
|
+
/**
|
|
2654
|
+
* Configure the Polish level.
|
|
2655
|
+
*/
|
|
2656
|
+
polish?: 'off' | 'lossless' | 'lossy';
|
|
2657
|
+
/**
|
|
2658
|
+
* Turn on or off Rocket Loader
|
|
2659
|
+
*/
|
|
2660
|
+
rocket_loader?: boolean;
|
|
2661
|
+
/**
|
|
2662
|
+
* Configure the Security Level.
|
|
2663
|
+
*/
|
|
2664
|
+
security_level?: 'off' | 'essentially_off' | 'low' | 'medium' | 'high' | 'under_attack';
|
|
2665
|
+
/**
|
|
2666
|
+
* Turn on or off Server Side Excludes.
|
|
2667
|
+
*/
|
|
2668
|
+
server_side_excludes?: boolean;
|
|
2669
|
+
/**
|
|
2670
|
+
* Configure the SSL level.
|
|
2671
|
+
*/
|
|
2672
|
+
ssl?: 'off' | 'flexible' | 'full' | 'strict' | 'origin_pull';
|
|
2673
|
+
/**
|
|
2674
|
+
* Turn on or off Signed Exchanges (SXG).
|
|
2675
|
+
*/
|
|
2676
|
+
sxg?: boolean;
|
|
2677
|
+
}
|
|
2678
|
+
namespace ActionParameters {
|
|
2679
|
+
/**
|
|
2680
|
+
* Select which file extensions to minify automatically.
|
|
2681
|
+
*/
|
|
2682
|
+
interface Autominify {
|
|
2683
|
+
/**
|
|
2684
|
+
* Minify CSS files.
|
|
2685
|
+
*/
|
|
2686
|
+
css?: boolean;
|
|
2687
|
+
/**
|
|
2688
|
+
* Minify HTML files.
|
|
2689
|
+
*/
|
|
2690
|
+
html?: boolean;
|
|
2691
|
+
/**
|
|
2692
|
+
* Minify JS files.
|
|
2693
|
+
*/
|
|
2694
|
+
js?: boolean;
|
|
2695
|
+
}
|
|
2696
|
+
}
|
|
2697
|
+
}
|
|
2698
|
+
interface SkipRule {
|
|
2699
|
+
/**
|
|
2700
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
2701
|
+
* Zone ID.
|
|
2702
|
+
*/
|
|
2703
|
+
account_id?: string;
|
|
2704
|
+
/**
|
|
2705
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
2706
|
+
* Account ID.
|
|
2707
|
+
*/
|
|
2708
|
+
zone_id?: string;
|
|
2709
|
+
/**
|
|
2710
|
+
* Body param: The unique ID of the rule.
|
|
2711
|
+
*/
|
|
2712
|
+
id?: string;
|
|
2713
|
+
/**
|
|
2714
|
+
* Body param: The action to perform when the rule matches.
|
|
2715
|
+
*/
|
|
2716
|
+
action?: 'skip';
|
|
2717
|
+
/**
|
|
2718
|
+
* Body param: The parameters configuring the rule's action.
|
|
2719
|
+
*/
|
|
2720
|
+
action_parameters?: RuleCreateParams.SkipRule.ActionParameters;
|
|
2721
|
+
/**
|
|
2722
|
+
* Body param: An informative description of the rule.
|
|
2723
|
+
*/
|
|
2724
|
+
description?: string;
|
|
2725
|
+
/**
|
|
2726
|
+
* Body param: Whether the rule should be executed.
|
|
2727
|
+
*/
|
|
2728
|
+
enabled?: boolean;
|
|
2729
|
+
/**
|
|
2730
|
+
* Body param: The expression defining which traffic will match the rule.
|
|
2731
|
+
*/
|
|
2732
|
+
expression?: string;
|
|
2733
|
+
/**
|
|
2734
|
+
* Body param: An object configuring the rule's logging behavior.
|
|
2735
|
+
*/
|
|
2736
|
+
logging?: Logging;
|
|
2737
|
+
/**
|
|
2738
|
+
* Body param: The reference of the rule (the rule ID by default).
|
|
2739
|
+
*/
|
|
2740
|
+
ref?: string;
|
|
2741
|
+
}
|
|
2742
|
+
namespace SkipRule {
|
|
2743
|
+
/**
|
|
2744
|
+
* The parameters configuring the rule's action.
|
|
2745
|
+
*/
|
|
2746
|
+
interface ActionParameters {
|
|
2747
|
+
/**
|
|
2748
|
+
* A list of phases to skip the execution of. This option is incompatible with the
|
|
2749
|
+
* ruleset and rulesets options.
|
|
2750
|
+
*/
|
|
2751
|
+
phases?: Array<'ddos_l4' | 'ddos_l7' | 'http_config_settings' | 'http_custom_errors' | 'http_log_custom_fields' | 'http_ratelimit' | 'http_request_cache_settings' | 'http_request_dynamic_redirect' | 'http_request_firewall_custom' | 'http_request_firewall_managed' | 'http_request_late_transform' | 'http_request_origin' | 'http_request_redirect' | 'http_request_sanitize' | 'http_request_sbfm' | 'http_request_select_configuration' | 'http_request_transform' | 'http_response_compression' | 'http_response_firewall_managed' | 'http_response_headers_transform' | 'magic_transit' | 'magic_transit_ids_managed' | 'magic_transit_managed'>;
|
|
2752
|
+
/**
|
|
2753
|
+
* A list of legacy security products to skip the execution of.
|
|
2754
|
+
*/
|
|
2755
|
+
products?: Array<'bic' | 'hot' | 'rateLimit' | 'securityLevel' | 'uaBlock' | 'waf' | 'zoneLockdown'>;
|
|
2756
|
+
/**
|
|
2757
|
+
* A mapping of ruleset IDs to a list of rule IDs in that ruleset to skip the
|
|
2758
|
+
* execution of. This option is incompatible with the ruleset option.
|
|
2759
|
+
*/
|
|
2760
|
+
rules?: Record<string, Array<string>>;
|
|
2761
|
+
/**
|
|
2762
|
+
* A ruleset to skip the execution of. This option is incompatible with the
|
|
2763
|
+
* rulesets, rules and phases options.
|
|
2764
|
+
*/
|
|
2765
|
+
ruleset?: 'current';
|
|
2766
|
+
/**
|
|
2767
|
+
* A list of ruleset IDs to skip the execution of. This option is incompatible with
|
|
2768
|
+
* the ruleset and phases options.
|
|
2769
|
+
*/
|
|
2770
|
+
rulesets?: Array<string>;
|
|
2771
|
+
}
|
|
2772
|
+
}
|
|
2773
|
+
interface SetCacheSettingsRule {
|
|
2774
|
+
/**
|
|
2775
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
2776
|
+
* Zone ID.
|
|
2777
|
+
*/
|
|
2778
|
+
account_id?: string;
|
|
2779
|
+
/**
|
|
2780
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
2781
|
+
* Account ID.
|
|
2782
|
+
*/
|
|
2783
|
+
zone_id?: string;
|
|
2784
|
+
/**
|
|
2785
|
+
* Body param: The unique ID of the rule.
|
|
2786
|
+
*/
|
|
2787
|
+
id?: string;
|
|
2788
|
+
/**
|
|
2789
|
+
* Body param: The action to perform when the rule matches.
|
|
2790
|
+
*/
|
|
2791
|
+
action?: 'set_cache_settings';
|
|
2792
|
+
/**
|
|
2793
|
+
* Body param: The parameters configuring the rule's action.
|
|
2794
|
+
*/
|
|
2795
|
+
action_parameters?: RuleCreateParams.SetCacheSettingsRule.ActionParameters;
|
|
2796
|
+
/**
|
|
2797
|
+
* Body param: An informative description of the rule.
|
|
2798
|
+
*/
|
|
2799
|
+
description?: string;
|
|
2800
|
+
/**
|
|
2801
|
+
* Body param: Whether the rule should be executed.
|
|
2802
|
+
*/
|
|
2803
|
+
enabled?: boolean;
|
|
2804
|
+
/**
|
|
2805
|
+
* Body param: The expression defining which traffic will match the rule.
|
|
2806
|
+
*/
|
|
2807
|
+
expression?: string;
|
|
2808
|
+
/**
|
|
2809
|
+
* Body param: An object configuring the rule's logging behavior.
|
|
2810
|
+
*/
|
|
2811
|
+
logging?: Logging;
|
|
2812
|
+
/**
|
|
2813
|
+
* Body param: The reference of the rule (the rule ID by default).
|
|
2814
|
+
*/
|
|
2815
|
+
ref?: string;
|
|
2816
|
+
}
|
|
2817
|
+
namespace SetCacheSettingsRule {
|
|
2818
|
+
/**
|
|
2819
|
+
* The parameters configuring the rule's action.
|
|
2820
|
+
*/
|
|
2821
|
+
interface ActionParameters {
|
|
2822
|
+
/**
|
|
2823
|
+
* List of additional ports that caching can be enabled on.
|
|
2824
|
+
*/
|
|
2825
|
+
additional_cacheable_ports?: Array<number>;
|
|
2826
|
+
/**
|
|
2827
|
+
* Specify how long client browsers should cache the response. Cloudflare cache
|
|
2828
|
+
* purge will not purge content cached on client browsers, so high browser TTLs may
|
|
2829
|
+
* lead to stale content.
|
|
2830
|
+
*/
|
|
2831
|
+
browser_ttl?: ActionParameters.BrowserTTL;
|
|
2832
|
+
/**
|
|
2833
|
+
* Mark whether the request’s response from origin is eligible for caching. Caching
|
|
2834
|
+
* itself will still depend on the cache-control header and your other caching
|
|
2835
|
+
* configurations.
|
|
2836
|
+
*/
|
|
2837
|
+
cache?: boolean;
|
|
2838
|
+
/**
|
|
2839
|
+
* Define which components of the request are included or excluded from the cache
|
|
2840
|
+
* key Cloudflare uses to store the response in cache.
|
|
2841
|
+
*/
|
|
2842
|
+
cache_key?: ActionParameters.CacheKey;
|
|
2843
|
+
/**
|
|
2844
|
+
* Mark whether the request's response from origin is eligible for Cache Reserve
|
|
2845
|
+
* (requires a Cache Reserve add-on plan).
|
|
2846
|
+
*/
|
|
2847
|
+
cache_reserve?: ActionParameters.CacheReserve;
|
|
2848
|
+
/**
|
|
2849
|
+
* TTL (Time to Live) specifies the maximum time to cache a resource in the
|
|
2850
|
+
* Cloudflare edge network.
|
|
2851
|
+
*/
|
|
2852
|
+
edge_ttl?: ActionParameters.EdgeTTL;
|
|
2853
|
+
/**
|
|
2854
|
+
* When enabled, Cloudflare will aim to strictly adhere to RFC 7234.
|
|
2855
|
+
*/
|
|
2856
|
+
origin_cache_control?: boolean;
|
|
2857
|
+
/**
|
|
2858
|
+
* Generate Cloudflare error pages from issues sent from the origin server. When
|
|
2859
|
+
* on, error pages will trigger for issues from the origin
|
|
2860
|
+
*/
|
|
2861
|
+
origin_error_page_passthru?: boolean;
|
|
2862
|
+
/**
|
|
2863
|
+
* Define a timeout value between two successive read operations to your origin
|
|
2864
|
+
* server. Historically, the timeout value between two read options from Cloudflare
|
|
2865
|
+
* to an origin server is 100 seconds. If you are attempting to reduce HTTP 524
|
|
2866
|
+
* errors because of timeouts from an origin server, try increasing this timeout
|
|
2867
|
+
* value.
|
|
2868
|
+
*/
|
|
2869
|
+
read_timeout?: number;
|
|
2870
|
+
/**
|
|
2871
|
+
* Specify whether or not Cloudflare should respect strong ETag (entity tag)
|
|
2872
|
+
* headers. When off, Cloudflare converts strong ETag headers to weak ETag headers.
|
|
2873
|
+
*/
|
|
2874
|
+
respect_strong_etags?: boolean;
|
|
2875
|
+
/**
|
|
2876
|
+
* Define if Cloudflare should serve stale content while getting the latest content
|
|
2877
|
+
* from the origin. If on, Cloudflare will not serve stale content while getting
|
|
2878
|
+
* the latest content from the origin.
|
|
2879
|
+
*/
|
|
2880
|
+
serve_stale?: ActionParameters.ServeStale;
|
|
2881
|
+
}
|
|
2882
|
+
namespace ActionParameters {
|
|
2883
|
+
/**
|
|
2884
|
+
* Specify how long client browsers should cache the response. Cloudflare cache
|
|
2885
|
+
* purge will not purge content cached on client browsers, so high browser TTLs may
|
|
2886
|
+
* lead to stale content.
|
|
2887
|
+
*/
|
|
2888
|
+
interface BrowserTTL {
|
|
2889
|
+
/**
|
|
2890
|
+
* Determines which browser ttl mode to use.
|
|
2891
|
+
*/
|
|
2892
|
+
mode: 'respect_origin' | 'bypass_by_default' | 'override_origin';
|
|
2893
|
+
/**
|
|
2894
|
+
* The TTL (in seconds) if you choose override_origin mode.
|
|
2895
|
+
*/
|
|
2896
|
+
default?: number;
|
|
2897
|
+
}
|
|
2898
|
+
/**
|
|
2899
|
+
* Define which components of the request are included or excluded from the cache
|
|
2900
|
+
* key Cloudflare uses to store the response in cache.
|
|
2901
|
+
*/
|
|
2902
|
+
interface CacheKey {
|
|
2903
|
+
/**
|
|
2904
|
+
* Separate cached content based on the visitor’s device type
|
|
2905
|
+
*/
|
|
2906
|
+
cache_by_device_type?: boolean;
|
|
2907
|
+
/**
|
|
2908
|
+
* Protect from web cache deception attacks while allowing static assets to be
|
|
2909
|
+
* cached
|
|
2910
|
+
*/
|
|
2911
|
+
cache_deception_armor?: boolean;
|
|
2912
|
+
/**
|
|
2913
|
+
* Customize which components of the request are included or excluded from the
|
|
2914
|
+
* cache key.
|
|
2915
|
+
*/
|
|
2916
|
+
custom_key?: CacheKey.CustomKey;
|
|
2917
|
+
/**
|
|
2918
|
+
* Treat requests with the same query parameters the same, regardless of the order
|
|
2919
|
+
* those query parameters are in. A value of true ignores the query strings' order.
|
|
2920
|
+
*/
|
|
2921
|
+
ignore_query_strings_order?: boolean;
|
|
2922
|
+
}
|
|
2923
|
+
namespace CacheKey {
|
|
2924
|
+
/**
|
|
2925
|
+
* Customize which components of the request are included or excluded from the
|
|
2926
|
+
* cache key.
|
|
2927
|
+
*/
|
|
2928
|
+
interface CustomKey {
|
|
2929
|
+
/**
|
|
2930
|
+
* The cookies to include in building the cache key.
|
|
2931
|
+
*/
|
|
2932
|
+
cookie?: CustomKey.Cookie;
|
|
2933
|
+
/**
|
|
2934
|
+
* The header names and values to include in building the cache key.
|
|
2935
|
+
*/
|
|
2936
|
+
header?: CustomKey.Header;
|
|
2937
|
+
/**
|
|
2938
|
+
* Whether to use the original host or the resolved host in the cache key.
|
|
2939
|
+
*/
|
|
2940
|
+
host?: CustomKey.Host;
|
|
2941
|
+
/**
|
|
2942
|
+
* Use the presence or absence of parameters in the query string to build the cache
|
|
2943
|
+
* key.
|
|
2944
|
+
*/
|
|
2945
|
+
query_string?: CustomKey.QueryString;
|
|
2946
|
+
/**
|
|
2947
|
+
* Characteristics of the request user agent used in building the cache key.
|
|
2948
|
+
*/
|
|
2949
|
+
user?: CustomKey.User;
|
|
2950
|
+
}
|
|
2951
|
+
namespace CustomKey {
|
|
2952
|
+
/**
|
|
2953
|
+
* The cookies to include in building the cache key.
|
|
2954
|
+
*/
|
|
2955
|
+
interface Cookie {
|
|
2956
|
+
/**
|
|
2957
|
+
* Checks for the presence of these cookie names. The presence of these cookies is
|
|
2958
|
+
* used in building the cache key.
|
|
2959
|
+
*/
|
|
2960
|
+
check_presence?: Array<string>;
|
|
2961
|
+
/**
|
|
2962
|
+
* Include these cookies' names and their values.
|
|
2963
|
+
*/
|
|
2964
|
+
include?: Array<string>;
|
|
2965
|
+
}
|
|
2966
|
+
/**
|
|
2967
|
+
* The header names and values to include in building the cache key.
|
|
2968
|
+
*/
|
|
2969
|
+
interface Header {
|
|
2970
|
+
/**
|
|
2971
|
+
* Checks for the presence of these header names. The presence of these headers is
|
|
2972
|
+
* used in building the cache key.
|
|
2973
|
+
*/
|
|
2974
|
+
check_presence?: Array<string>;
|
|
2975
|
+
/**
|
|
2976
|
+
* Whether or not to include the origin header. A value of true will exclude the
|
|
2977
|
+
* origin header in the cache key.
|
|
2978
|
+
*/
|
|
2979
|
+
exclude_origin?: boolean;
|
|
2980
|
+
/**
|
|
2981
|
+
* Include these headers' names and their values.
|
|
2982
|
+
*/
|
|
2983
|
+
include?: Array<string>;
|
|
2984
|
+
}
|
|
2985
|
+
/**
|
|
2986
|
+
* Whether to use the original host or the resolved host in the cache key.
|
|
2987
|
+
*/
|
|
2988
|
+
interface Host {
|
|
2989
|
+
/**
|
|
2990
|
+
* Use the resolved host in the cache key. A value of true will use the resolved
|
|
2991
|
+
* host, while a value or false will use the original host.
|
|
2992
|
+
*/
|
|
2993
|
+
resolved?: boolean;
|
|
2994
|
+
}
|
|
2995
|
+
/**
|
|
2996
|
+
* Use the presence or absence of parameters in the query string to build the cache
|
|
2997
|
+
* key.
|
|
2998
|
+
*/
|
|
2999
|
+
interface QueryString {
|
|
3000
|
+
/**
|
|
3001
|
+
* build the cache key using all query string parameters EXCECPT these excluded
|
|
3002
|
+
* parameters
|
|
3003
|
+
*/
|
|
3004
|
+
exclude?: QueryString.Exclude;
|
|
3005
|
+
/**
|
|
3006
|
+
* build the cache key using a list of query string parameters that ARE in the
|
|
3007
|
+
* request.
|
|
3008
|
+
*/
|
|
3009
|
+
include?: QueryString.Include;
|
|
3010
|
+
}
|
|
3011
|
+
namespace QueryString {
|
|
3012
|
+
/**
|
|
3013
|
+
* build the cache key using all query string parameters EXCECPT these excluded
|
|
3014
|
+
* parameters
|
|
3015
|
+
*/
|
|
3016
|
+
interface Exclude {
|
|
3017
|
+
/**
|
|
3018
|
+
* Exclude all query string parameters from use in building the cache key.
|
|
3019
|
+
*/
|
|
3020
|
+
all?: boolean;
|
|
3021
|
+
/**
|
|
3022
|
+
* A list of query string parameters NOT used to build the cache key. All
|
|
3023
|
+
* parameters present in the request but missing in this list will be used to build
|
|
3024
|
+
* the cache key.
|
|
3025
|
+
*/
|
|
3026
|
+
list?: Array<string>;
|
|
3027
|
+
}
|
|
3028
|
+
/**
|
|
3029
|
+
* build the cache key using a list of query string parameters that ARE in the
|
|
3030
|
+
* request.
|
|
3031
|
+
*/
|
|
3032
|
+
interface Include {
|
|
3033
|
+
/**
|
|
3034
|
+
* Use all query string parameters in the cache key.
|
|
3035
|
+
*/
|
|
3036
|
+
all?: boolean;
|
|
3037
|
+
/**
|
|
3038
|
+
* A list of query string parameters used to build the cache key.
|
|
3039
|
+
*/
|
|
3040
|
+
list?: Array<string>;
|
|
3041
|
+
}
|
|
3042
|
+
}
|
|
3043
|
+
/**
|
|
3044
|
+
* Characteristics of the request user agent used in building the cache key.
|
|
3045
|
+
*/
|
|
3046
|
+
interface User {
|
|
3047
|
+
/**
|
|
3048
|
+
* Use the user agent's device type in the cache key.
|
|
3049
|
+
*/
|
|
3050
|
+
device_type?: boolean;
|
|
3051
|
+
/**
|
|
3052
|
+
* Use the user agents's country in the cache key.
|
|
3053
|
+
*/
|
|
3054
|
+
geo?: boolean;
|
|
3055
|
+
/**
|
|
3056
|
+
* Use the user agent's language in the cache key.
|
|
3057
|
+
*/
|
|
3058
|
+
lang?: boolean;
|
|
3059
|
+
}
|
|
3060
|
+
}
|
|
3061
|
+
}
|
|
3062
|
+
/**
|
|
3063
|
+
* Mark whether the request's response from origin is eligible for Cache Reserve
|
|
3064
|
+
* (requires a Cache Reserve add-on plan).
|
|
3065
|
+
*/
|
|
3066
|
+
interface CacheReserve {
|
|
3067
|
+
/**
|
|
3068
|
+
* Determines whether cache reserve is enabled. If this is true and a request meets
|
|
3069
|
+
* eligibility criteria, Cloudflare will write the resource to cache reserve.
|
|
3070
|
+
*/
|
|
3071
|
+
eligible: boolean;
|
|
3072
|
+
/**
|
|
3073
|
+
* The minimum file size eligible for store in cache reserve.
|
|
3074
|
+
*/
|
|
3075
|
+
min_file_size: number;
|
|
3076
|
+
}
|
|
3077
|
+
/**
|
|
3078
|
+
* TTL (Time to Live) specifies the maximum time to cache a resource in the
|
|
3079
|
+
* Cloudflare edge network.
|
|
3080
|
+
*/
|
|
3081
|
+
interface EdgeTTL {
|
|
3082
|
+
/**
|
|
3083
|
+
* The TTL (in seconds) if you choose override_origin mode.
|
|
3084
|
+
*/
|
|
3085
|
+
default: number;
|
|
3086
|
+
/**
|
|
3087
|
+
* edge ttl options
|
|
3088
|
+
*/
|
|
3089
|
+
mode: 'respect_origin' | 'bypass_by_default' | 'override_origin';
|
|
3090
|
+
/**
|
|
3091
|
+
* List of single status codes, or status code ranges to apply the selected mode
|
|
3092
|
+
*/
|
|
3093
|
+
status_code_ttl: Array<EdgeTTL.StatusCodeTTL>;
|
|
3094
|
+
}
|
|
3095
|
+
namespace EdgeTTL {
|
|
3096
|
+
/**
|
|
3097
|
+
* Specify how long Cloudflare should cache the response based on the status code
|
|
3098
|
+
* from the origin. Can be a single status code or a range or status codes
|
|
3099
|
+
*/
|
|
3100
|
+
interface StatusCodeTTL {
|
|
3101
|
+
/**
|
|
3102
|
+
* Time to cache a response (in seconds). A value of 0 is equivalent to setting the
|
|
3103
|
+
* Cache-Control header with the value "no-cache". A value of -1 is equivalent to
|
|
3104
|
+
* setting Cache-Control header with the value of "no-store".
|
|
3105
|
+
*/
|
|
3106
|
+
value: number;
|
|
3107
|
+
/**
|
|
3108
|
+
* The range of status codes used to apply the selected mode.
|
|
3109
|
+
*/
|
|
3110
|
+
status_code_range?: StatusCodeTTL.StatusCodeRange;
|
|
3111
|
+
/**
|
|
3112
|
+
* Set the ttl for responses with this specific status code
|
|
3113
|
+
*/
|
|
3114
|
+
status_code_value?: number;
|
|
3115
|
+
}
|
|
3116
|
+
namespace StatusCodeTTL {
|
|
3117
|
+
/**
|
|
3118
|
+
* The range of status codes used to apply the selected mode.
|
|
3119
|
+
*/
|
|
3120
|
+
interface StatusCodeRange {
|
|
3121
|
+
/**
|
|
3122
|
+
* response status code lower bound
|
|
3123
|
+
*/
|
|
3124
|
+
from: number;
|
|
3125
|
+
/**
|
|
3126
|
+
* response status code upper bound
|
|
3127
|
+
*/
|
|
3128
|
+
to: number;
|
|
3129
|
+
}
|
|
3130
|
+
}
|
|
3131
|
+
}
|
|
3132
|
+
/**
|
|
3133
|
+
* Define if Cloudflare should serve stale content while getting the latest content
|
|
3134
|
+
* from the origin. If on, Cloudflare will not serve stale content while getting
|
|
3135
|
+
* the latest content from the origin.
|
|
3136
|
+
*/
|
|
3137
|
+
interface ServeStale {
|
|
3138
|
+
/**
|
|
3139
|
+
* Defines whether Cloudflare should serve stale content while updating. If true,
|
|
3140
|
+
* Cloudflare will not serve stale content while getting the latest content from
|
|
3141
|
+
* the origin.
|
|
3142
|
+
*/
|
|
3143
|
+
disable_stale_while_updating: boolean;
|
|
3144
|
+
}
|
|
3145
|
+
}
|
|
3146
|
+
}
|
|
3147
|
+
}
|
|
3148
|
+
export interface RuleDeleteParams {
|
|
3149
|
+
/**
|
|
3150
|
+
* The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
|
|
3151
|
+
*/
|
|
3152
|
+
account_id?: string;
|
|
3153
|
+
/**
|
|
3154
|
+
* The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
|
|
3155
|
+
*/
|
|
3156
|
+
zone_id?: string;
|
|
3157
|
+
}
|
|
3158
|
+
export type RuleEditParams = RuleEditParams.BlockRule | RuleEditParams.ChallengeRule | RuleEditParams.CompressResponseRule | RuleEditParams.ExecuteRule | RuleEditParams.JSChallengeRule | RuleEditParams.LogRule | RuleEditParams.ManagedChallengeRule | RuleEditParams.RedirectRule | RuleEditParams.RewriteRule | RuleEditParams.RouteRule | RuleEditParams.ScoreRule | RuleEditParams.ServeErrorRule | RuleEditParams.SetConfigRule | RuleEditParams.SkipRule | RuleEditParams.SetCacheSettingsRule;
|
|
3159
|
+
export declare namespace RuleEditParams {
|
|
3160
|
+
interface BlockRule {
|
|
3161
|
+
/**
|
|
3162
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
3163
|
+
* Zone ID.
|
|
3164
|
+
*/
|
|
3165
|
+
account_id?: string;
|
|
3166
|
+
/**
|
|
3167
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
3168
|
+
* Account ID.
|
|
3169
|
+
*/
|
|
3170
|
+
zone_id?: string;
|
|
3171
|
+
/**
|
|
3172
|
+
* Body param: The unique ID of the rule.
|
|
3173
|
+
*/
|
|
3174
|
+
id?: string;
|
|
3175
|
+
/**
|
|
3176
|
+
* Body param: The action to perform when the rule matches.
|
|
3177
|
+
*/
|
|
3178
|
+
action?: 'block';
|
|
3179
|
+
/**
|
|
3180
|
+
* Body param: The parameters configuring the rule's action.
|
|
3181
|
+
*/
|
|
3182
|
+
action_parameters?: RuleEditParams.BlockRule.ActionParameters;
|
|
3183
|
+
/**
|
|
3184
|
+
* Body param: An informative description of the rule.
|
|
3185
|
+
*/
|
|
3186
|
+
description?: string;
|
|
3187
|
+
/**
|
|
3188
|
+
* Body param: Whether the rule should be executed.
|
|
3189
|
+
*/
|
|
3190
|
+
enabled?: boolean;
|
|
3191
|
+
/**
|
|
3192
|
+
* Body param: The expression defining which traffic will match the rule.
|
|
3193
|
+
*/
|
|
3194
|
+
expression?: string;
|
|
3195
|
+
/**
|
|
3196
|
+
* Body param: An object configuring the rule's logging behavior.
|
|
3197
|
+
*/
|
|
3198
|
+
logging?: Logging;
|
|
3199
|
+
/**
|
|
3200
|
+
* Body param: The reference of the rule (the rule ID by default).
|
|
3201
|
+
*/
|
|
3202
|
+
ref?: string;
|
|
3203
|
+
}
|
|
3204
|
+
namespace BlockRule {
|
|
3205
|
+
/**
|
|
3206
|
+
* The parameters configuring the rule's action.
|
|
3207
|
+
*/
|
|
3208
|
+
interface ActionParameters {
|
|
3209
|
+
/**
|
|
3210
|
+
* The response to show when the block is applied.
|
|
3211
|
+
*/
|
|
3212
|
+
response?: ActionParameters.Response;
|
|
3213
|
+
}
|
|
3214
|
+
namespace ActionParameters {
|
|
3215
|
+
/**
|
|
3216
|
+
* The response to show when the block is applied.
|
|
3217
|
+
*/
|
|
3218
|
+
interface Response {
|
|
3219
|
+
/**
|
|
3220
|
+
* The content to return.
|
|
3221
|
+
*/
|
|
3222
|
+
content: string;
|
|
3223
|
+
/**
|
|
3224
|
+
* The type of the content to return.
|
|
3225
|
+
*/
|
|
3226
|
+
content_type: string;
|
|
3227
|
+
/**
|
|
3228
|
+
* The status code to return.
|
|
3229
|
+
*/
|
|
3230
|
+
status_code: number;
|
|
3231
|
+
}
|
|
3232
|
+
}
|
|
3233
|
+
}
|
|
3234
|
+
interface ChallengeRule {
|
|
3235
|
+
/**
|
|
3236
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
3237
|
+
* Zone ID.
|
|
3238
|
+
*/
|
|
3239
|
+
account_id?: string;
|
|
3240
|
+
/**
|
|
3241
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
3242
|
+
* Account ID.
|
|
3243
|
+
*/
|
|
3244
|
+
zone_id?: string;
|
|
3245
|
+
/**
|
|
3246
|
+
* Body param: The unique ID of the rule.
|
|
3247
|
+
*/
|
|
3248
|
+
id?: string;
|
|
3249
|
+
/**
|
|
3250
|
+
* Body param: The action to perform when the rule matches.
|
|
3251
|
+
*/
|
|
3252
|
+
action?: 'challenge';
|
|
3253
|
+
/**
|
|
3254
|
+
* Body param: The parameters configuring the rule's action.
|
|
3255
|
+
*/
|
|
3256
|
+
action_parameters?: unknown;
|
|
3257
|
+
/**
|
|
3258
|
+
* Body param: An informative description of the rule.
|
|
3259
|
+
*/
|
|
3260
|
+
description?: string;
|
|
3261
|
+
/**
|
|
3262
|
+
* Body param: Whether the rule should be executed.
|
|
3263
|
+
*/
|
|
3264
|
+
enabled?: boolean;
|
|
3265
|
+
/**
|
|
3266
|
+
* Body param: The expression defining which traffic will match the rule.
|
|
3267
|
+
*/
|
|
3268
|
+
expression?: string;
|
|
3269
|
+
/**
|
|
3270
|
+
* Body param: An object configuring the rule's logging behavior.
|
|
3271
|
+
*/
|
|
3272
|
+
logging?: Logging;
|
|
3273
|
+
/**
|
|
3274
|
+
* Body param: The reference of the rule (the rule ID by default).
|
|
3275
|
+
*/
|
|
3276
|
+
ref?: string;
|
|
3277
|
+
}
|
|
3278
|
+
interface CompressResponseRule {
|
|
3279
|
+
/**
|
|
3280
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
3281
|
+
* Zone ID.
|
|
3282
|
+
*/
|
|
3283
|
+
account_id?: string;
|
|
3284
|
+
/**
|
|
3285
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
3286
|
+
* Account ID.
|
|
3287
|
+
*/
|
|
3288
|
+
zone_id?: string;
|
|
3289
|
+
/**
|
|
3290
|
+
* Body param: The unique ID of the rule.
|
|
3291
|
+
*/
|
|
3292
|
+
id?: string;
|
|
3293
|
+
/**
|
|
3294
|
+
* Body param: The action to perform when the rule matches.
|
|
3295
|
+
*/
|
|
3296
|
+
action?: 'compress_response';
|
|
3297
|
+
/**
|
|
3298
|
+
* Body param: The parameters configuring the rule's action.
|
|
3299
|
+
*/
|
|
3300
|
+
action_parameters?: RuleEditParams.CompressResponseRule.ActionParameters;
|
|
3301
|
+
/**
|
|
3302
|
+
* Body param: An informative description of the rule.
|
|
3303
|
+
*/
|
|
3304
|
+
description?: string;
|
|
3305
|
+
/**
|
|
3306
|
+
* Body param: Whether the rule should be executed.
|
|
3307
|
+
*/
|
|
3308
|
+
enabled?: boolean;
|
|
3309
|
+
/**
|
|
3310
|
+
* Body param: The expression defining which traffic will match the rule.
|
|
3311
|
+
*/
|
|
3312
|
+
expression?: string;
|
|
3313
|
+
/**
|
|
3314
|
+
* Body param: An object configuring the rule's logging behavior.
|
|
3315
|
+
*/
|
|
3316
|
+
logging?: Logging;
|
|
3317
|
+
/**
|
|
3318
|
+
* Body param: The reference of the rule (the rule ID by default).
|
|
3319
|
+
*/
|
|
3320
|
+
ref?: string;
|
|
3321
|
+
}
|
|
3322
|
+
namespace CompressResponseRule {
|
|
3323
|
+
/**
|
|
3324
|
+
* The parameters configuring the rule's action.
|
|
3325
|
+
*/
|
|
3326
|
+
interface ActionParameters {
|
|
3327
|
+
/**
|
|
3328
|
+
* Custom order for compression algorithms.
|
|
3329
|
+
*/
|
|
3330
|
+
algorithms?: Array<ActionParameters.Algorithm>;
|
|
3331
|
+
}
|
|
3332
|
+
namespace ActionParameters {
|
|
3333
|
+
/**
|
|
3334
|
+
* Compression algorithm to enable.
|
|
3335
|
+
*/
|
|
3336
|
+
interface Algorithm {
|
|
3337
|
+
/**
|
|
3338
|
+
* Name of compression algorithm to enable.
|
|
3339
|
+
*/
|
|
3340
|
+
name?: 'none' | 'auto' | 'default' | 'gzip' | 'brotli';
|
|
3341
|
+
}
|
|
3342
|
+
}
|
|
3343
|
+
}
|
|
3344
|
+
interface ExecuteRule {
|
|
3345
|
+
/**
|
|
3346
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
3347
|
+
* Zone ID.
|
|
3348
|
+
*/
|
|
3349
|
+
account_id?: string;
|
|
3350
|
+
/**
|
|
3351
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
3352
|
+
* Account ID.
|
|
3353
|
+
*/
|
|
3354
|
+
zone_id?: string;
|
|
3355
|
+
/**
|
|
3356
|
+
* Body param: The unique ID of the rule.
|
|
3357
|
+
*/
|
|
3358
|
+
id?: string;
|
|
3359
|
+
/**
|
|
3360
|
+
* Body param: The action to perform when the rule matches.
|
|
3361
|
+
*/
|
|
3362
|
+
action?: 'execute';
|
|
3363
|
+
/**
|
|
3364
|
+
* Body param: The parameters configuring the rule's action.
|
|
3365
|
+
*/
|
|
3366
|
+
action_parameters?: RuleEditParams.ExecuteRule.ActionParameters;
|
|
3367
|
+
/**
|
|
3368
|
+
* Body param: An informative description of the rule.
|
|
3369
|
+
*/
|
|
3370
|
+
description?: string;
|
|
3371
|
+
/**
|
|
3372
|
+
* Body param: Whether the rule should be executed.
|
|
3373
|
+
*/
|
|
3374
|
+
enabled?: boolean;
|
|
3375
|
+
/**
|
|
3376
|
+
* Body param: The expression defining which traffic will match the rule.
|
|
3377
|
+
*/
|
|
3378
|
+
expression?: string;
|
|
3379
|
+
/**
|
|
3380
|
+
* Body param: An object configuring the rule's logging behavior.
|
|
3381
|
+
*/
|
|
3382
|
+
logging?: Logging;
|
|
3383
|
+
/**
|
|
3384
|
+
* Body param: The reference of the rule (the rule ID by default).
|
|
3385
|
+
*/
|
|
3386
|
+
ref?: string;
|
|
3387
|
+
}
|
|
3388
|
+
namespace ExecuteRule {
|
|
3389
|
+
/**
|
|
3390
|
+
* The parameters configuring the rule's action.
|
|
3391
|
+
*/
|
|
3392
|
+
interface ActionParameters {
|
|
3393
|
+
/**
|
|
3394
|
+
* The ID of the ruleset to execute.
|
|
3395
|
+
*/
|
|
3396
|
+
id: string;
|
|
3397
|
+
/**
|
|
3398
|
+
* The configuration to use for matched data logging.
|
|
3399
|
+
*/
|
|
3400
|
+
matched_data?: ActionParameters.MatchedData;
|
|
3401
|
+
/**
|
|
3402
|
+
* A set of overrides to apply to the target ruleset.
|
|
3403
|
+
*/
|
|
3404
|
+
overrides?: ActionParameters.Overrides;
|
|
3405
|
+
}
|
|
3406
|
+
namespace ActionParameters {
|
|
3407
|
+
/**
|
|
3408
|
+
* The configuration to use for matched data logging.
|
|
3409
|
+
*/
|
|
3410
|
+
interface MatchedData {
|
|
3411
|
+
/**
|
|
3412
|
+
* The public key to encrypt matched data logs with.
|
|
3413
|
+
*/
|
|
3414
|
+
public_key: string;
|
|
3415
|
+
}
|
|
3416
|
+
/**
|
|
3417
|
+
* A set of overrides to apply to the target ruleset.
|
|
3418
|
+
*/
|
|
3419
|
+
interface Overrides {
|
|
3420
|
+
/**
|
|
3421
|
+
* An action to override all rules with. This option has lower precedence than rule
|
|
3422
|
+
* and category overrides.
|
|
3423
|
+
*/
|
|
3424
|
+
action?: string;
|
|
3425
|
+
/**
|
|
3426
|
+
* A list of category-level overrides. This option has the second-highest
|
|
3427
|
+
* precedence after rule-level overrides.
|
|
3428
|
+
*/
|
|
3429
|
+
categories?: Array<Overrides.Category>;
|
|
3430
|
+
/**
|
|
3431
|
+
* Whether to enable execution of all rules. This option has lower precedence than
|
|
3432
|
+
* rule and category overrides.
|
|
3433
|
+
*/
|
|
3434
|
+
enabled?: boolean;
|
|
3435
|
+
/**
|
|
3436
|
+
* A list of rule-level overrides. This option has the highest precedence.
|
|
3437
|
+
*/
|
|
3438
|
+
rules?: Array<Overrides.Rule>;
|
|
3439
|
+
/**
|
|
3440
|
+
* A sensitivity level to set for all rules. This option has lower precedence than
|
|
3441
|
+
* rule and category overrides and is only applicable for DDoS phases.
|
|
3442
|
+
*/
|
|
3443
|
+
sensitivity_level?: 'default' | 'medium' | 'low' | 'eoff';
|
|
3444
|
+
}
|
|
3445
|
+
namespace Overrides {
|
|
3446
|
+
/**
|
|
3447
|
+
* A category-level override
|
|
3448
|
+
*/
|
|
3449
|
+
interface Category {
|
|
3450
|
+
/**
|
|
3451
|
+
* The name of the category to override.
|
|
3452
|
+
*/
|
|
3453
|
+
category: string;
|
|
3454
|
+
/**
|
|
3455
|
+
* The action to override rules in the category with.
|
|
3456
|
+
*/
|
|
3457
|
+
action?: string;
|
|
3458
|
+
/**
|
|
3459
|
+
* Whether to enable execution of rules in the category.
|
|
3460
|
+
*/
|
|
3461
|
+
enabled?: boolean;
|
|
3462
|
+
/**
|
|
3463
|
+
* The sensitivity level to use for rules in the category.
|
|
3464
|
+
*/
|
|
3465
|
+
sensitivity_level?: 'default' | 'medium' | 'low' | 'eoff';
|
|
3466
|
+
}
|
|
3467
|
+
/**
|
|
3468
|
+
* A rule-level override
|
|
3469
|
+
*/
|
|
3470
|
+
interface Rule {
|
|
3471
|
+
/**
|
|
3472
|
+
* The ID of the rule to override.
|
|
3473
|
+
*/
|
|
3474
|
+
id: string;
|
|
3475
|
+
/**
|
|
3476
|
+
* The action to override the rule with.
|
|
3477
|
+
*/
|
|
3478
|
+
action?: string;
|
|
3479
|
+
/**
|
|
3480
|
+
* Whether to enable execution of the rule.
|
|
3481
|
+
*/
|
|
3482
|
+
enabled?: boolean;
|
|
3483
|
+
/**
|
|
3484
|
+
* The score threshold to use for the rule.
|
|
3485
|
+
*/
|
|
3486
|
+
score_threshold?: number;
|
|
3487
|
+
/**
|
|
3488
|
+
* The sensitivity level to use for the rule.
|
|
3489
|
+
*/
|
|
3490
|
+
sensitivity_level?: 'default' | 'medium' | 'low' | 'eoff';
|
|
3491
|
+
}
|
|
3492
|
+
}
|
|
3493
|
+
}
|
|
3494
|
+
}
|
|
3495
|
+
interface JSChallengeRule {
|
|
3496
|
+
/**
|
|
3497
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
3498
|
+
* Zone ID.
|
|
3499
|
+
*/
|
|
3500
|
+
account_id?: string;
|
|
3501
|
+
/**
|
|
3502
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
3503
|
+
* Account ID.
|
|
3504
|
+
*/
|
|
3505
|
+
zone_id?: string;
|
|
3506
|
+
/**
|
|
3507
|
+
* Body param: The unique ID of the rule.
|
|
3508
|
+
*/
|
|
3509
|
+
id?: string;
|
|
3510
|
+
/**
|
|
3511
|
+
* Body param: The action to perform when the rule matches.
|
|
3512
|
+
*/
|
|
3513
|
+
action?: 'js_challenge';
|
|
3514
|
+
/**
|
|
3515
|
+
* Body param: The parameters configuring the rule's action.
|
|
3516
|
+
*/
|
|
3517
|
+
action_parameters?: unknown;
|
|
3518
|
+
/**
|
|
3519
|
+
* Body param: An informative description of the rule.
|
|
3520
|
+
*/
|
|
3521
|
+
description?: string;
|
|
3522
|
+
/**
|
|
3523
|
+
* Body param: Whether the rule should be executed.
|
|
3524
|
+
*/
|
|
3525
|
+
enabled?: boolean;
|
|
3526
|
+
/**
|
|
3527
|
+
* Body param: The expression defining which traffic will match the rule.
|
|
3528
|
+
*/
|
|
3529
|
+
expression?: string;
|
|
3530
|
+
/**
|
|
3531
|
+
* Body param: An object configuring the rule's logging behavior.
|
|
3532
|
+
*/
|
|
3533
|
+
logging?: Logging;
|
|
3534
|
+
/**
|
|
3535
|
+
* Body param: The reference of the rule (the rule ID by default).
|
|
3536
|
+
*/
|
|
3537
|
+
ref?: string;
|
|
3538
|
+
}
|
|
3539
|
+
interface LogRule {
|
|
3540
|
+
/**
|
|
3541
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
3542
|
+
* Zone ID.
|
|
3543
|
+
*/
|
|
3544
|
+
account_id?: string;
|
|
3545
|
+
/**
|
|
3546
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
3547
|
+
* Account ID.
|
|
3548
|
+
*/
|
|
3549
|
+
zone_id?: string;
|
|
3550
|
+
/**
|
|
3551
|
+
* Body param: The unique ID of the rule.
|
|
3552
|
+
*/
|
|
3553
|
+
id?: string;
|
|
3554
|
+
/**
|
|
3555
|
+
* Body param: The action to perform when the rule matches.
|
|
3556
|
+
*/
|
|
3557
|
+
action?: 'log';
|
|
3558
|
+
/**
|
|
3559
|
+
* Body param: The parameters configuring the rule's action.
|
|
3560
|
+
*/
|
|
3561
|
+
action_parameters?: unknown;
|
|
3562
|
+
/**
|
|
3563
|
+
* Body param: An informative description of the rule.
|
|
3564
|
+
*/
|
|
3565
|
+
description?: string;
|
|
3566
|
+
/**
|
|
3567
|
+
* Body param: Whether the rule should be executed.
|
|
3568
|
+
*/
|
|
3569
|
+
enabled?: boolean;
|
|
3570
|
+
/**
|
|
3571
|
+
* Body param: The expression defining which traffic will match the rule.
|
|
3572
|
+
*/
|
|
3573
|
+
expression?: string;
|
|
3574
|
+
/**
|
|
3575
|
+
* Body param: An object configuring the rule's logging behavior.
|
|
3576
|
+
*/
|
|
3577
|
+
logging?: Logging;
|
|
3578
|
+
/**
|
|
3579
|
+
* Body param: The reference of the rule (the rule ID by default).
|
|
3580
|
+
*/
|
|
3581
|
+
ref?: string;
|
|
3582
|
+
}
|
|
3583
|
+
interface ManagedChallengeRule {
|
|
24
3584
|
/**
|
|
25
3585
|
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
26
3586
|
* Zone ID.
|
|
@@ -38,11 +3598,11 @@ export declare namespace RuleCreateParams {
|
|
|
38
3598
|
/**
|
|
39
3599
|
* Body param: The action to perform when the rule matches.
|
|
40
3600
|
*/
|
|
41
|
-
action?: '
|
|
3601
|
+
action?: 'managed_challenge';
|
|
42
3602
|
/**
|
|
43
3603
|
* Body param: The parameters configuring the rule's action.
|
|
44
3604
|
*/
|
|
45
|
-
action_parameters?:
|
|
3605
|
+
action_parameters?: unknown;
|
|
46
3606
|
/**
|
|
47
3607
|
* Body param: An informative description of the rule.
|
|
48
3608
|
*/
|
|
@@ -58,52 +3618,13 @@ export declare namespace RuleCreateParams {
|
|
|
58
3618
|
/**
|
|
59
3619
|
* Body param: An object configuring the rule's logging behavior.
|
|
60
3620
|
*/
|
|
61
|
-
logging?:
|
|
3621
|
+
logging?: Logging;
|
|
62
3622
|
/**
|
|
63
3623
|
* Body param: The reference of the rule (the rule ID by default).
|
|
64
3624
|
*/
|
|
65
3625
|
ref?: string;
|
|
66
3626
|
}
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* The parameters configuring the rule's action.
|
|
70
|
-
*/
|
|
71
|
-
interface ActionParameters {
|
|
72
|
-
/**
|
|
73
|
-
* The response to show when the block is applied.
|
|
74
|
-
*/
|
|
75
|
-
response?: ActionParameters.Response;
|
|
76
|
-
}
|
|
77
|
-
namespace ActionParameters {
|
|
78
|
-
/**
|
|
79
|
-
* The response to show when the block is applied.
|
|
80
|
-
*/
|
|
81
|
-
interface Response {
|
|
82
|
-
/**
|
|
83
|
-
* The content to return.
|
|
84
|
-
*/
|
|
85
|
-
content: string;
|
|
86
|
-
/**
|
|
87
|
-
* The type of the content to return.
|
|
88
|
-
*/
|
|
89
|
-
content_type: string;
|
|
90
|
-
/**
|
|
91
|
-
* The status code to return.
|
|
92
|
-
*/
|
|
93
|
-
status_code: number;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* An object configuring the rule's logging behavior.
|
|
98
|
-
*/
|
|
99
|
-
interface Logging {
|
|
100
|
-
/**
|
|
101
|
-
* Whether to generate a log when the rule matches.
|
|
102
|
-
*/
|
|
103
|
-
enabled: boolean;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
interface RulesetsExecuteRule {
|
|
3627
|
+
interface RedirectRule {
|
|
107
3628
|
/**
|
|
108
3629
|
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
109
3630
|
* Zone ID.
|
|
@@ -121,11 +3642,11 @@ export declare namespace RuleCreateParams {
|
|
|
121
3642
|
/**
|
|
122
3643
|
* Body param: The action to perform when the rule matches.
|
|
123
3644
|
*/
|
|
124
|
-
action?: '
|
|
3645
|
+
action?: 'redirect';
|
|
125
3646
|
/**
|
|
126
3647
|
* Body param: The parameters configuring the rule's action.
|
|
127
3648
|
*/
|
|
128
|
-
action_parameters?:
|
|
3649
|
+
action_parameters?: RuleEditParams.RedirectRule.ActionParameters;
|
|
129
3650
|
/**
|
|
130
3651
|
* Body param: An informative description of the rule.
|
|
131
3652
|
*/
|
|
@@ -141,129 +3662,74 @@ export declare namespace RuleCreateParams {
|
|
|
141
3662
|
/**
|
|
142
3663
|
* Body param: An object configuring the rule's logging behavior.
|
|
143
3664
|
*/
|
|
144
|
-
logging?:
|
|
3665
|
+
logging?: Logging;
|
|
145
3666
|
/**
|
|
146
3667
|
* Body param: The reference of the rule (the rule ID by default).
|
|
147
3668
|
*/
|
|
148
3669
|
ref?: string;
|
|
149
3670
|
}
|
|
150
|
-
namespace
|
|
3671
|
+
namespace RedirectRule {
|
|
151
3672
|
/**
|
|
152
3673
|
* The parameters configuring the rule's action.
|
|
153
3674
|
*/
|
|
154
3675
|
interface ActionParameters {
|
|
155
3676
|
/**
|
|
156
|
-
*
|
|
157
|
-
*/
|
|
158
|
-
id: string;
|
|
159
|
-
/**
|
|
160
|
-
* The configuration to use for matched data logging.
|
|
3677
|
+
* Serve a redirect based on a bulk list lookup.
|
|
161
3678
|
*/
|
|
162
|
-
|
|
3679
|
+
from_list?: ActionParameters.FromList;
|
|
163
3680
|
/**
|
|
164
|
-
*
|
|
3681
|
+
* Serve a redirect based on the request properties.
|
|
165
3682
|
*/
|
|
166
|
-
|
|
3683
|
+
from_value?: ActionParameters.FromValue;
|
|
167
3684
|
}
|
|
168
3685
|
namespace ActionParameters {
|
|
169
3686
|
/**
|
|
170
|
-
*
|
|
3687
|
+
* Serve a redirect based on a bulk list lookup.
|
|
171
3688
|
*/
|
|
172
|
-
interface
|
|
3689
|
+
interface FromList {
|
|
173
3690
|
/**
|
|
174
|
-
*
|
|
3691
|
+
* Expression that evaluates to the list lookup key.
|
|
175
3692
|
*/
|
|
176
|
-
|
|
3693
|
+
key?: string;
|
|
3694
|
+
/**
|
|
3695
|
+
* The name of the list to match against.
|
|
3696
|
+
*/
|
|
3697
|
+
name?: string;
|
|
177
3698
|
}
|
|
178
3699
|
/**
|
|
179
|
-
*
|
|
3700
|
+
* Serve a redirect based on the request properties.
|
|
180
3701
|
*/
|
|
181
|
-
interface
|
|
3702
|
+
interface FromValue {
|
|
182
3703
|
/**
|
|
183
|
-
*
|
|
184
|
-
* and category overrides.
|
|
185
|
-
*/
|
|
186
|
-
action?: string;
|
|
187
|
-
/**
|
|
188
|
-
* A list of category-level overrides. This option has the second-highest
|
|
189
|
-
* precedence after rule-level overrides.
|
|
190
|
-
*/
|
|
191
|
-
categories?: Array<Overrides.Category>;
|
|
192
|
-
/**
|
|
193
|
-
* Whether to enable execution of all rules. This option has lower precedence than
|
|
194
|
-
* rule and category overrides.
|
|
3704
|
+
* Keep the query string of the original request.
|
|
195
3705
|
*/
|
|
196
|
-
|
|
3706
|
+
preserve_query_string?: boolean;
|
|
197
3707
|
/**
|
|
198
|
-
*
|
|
3708
|
+
* The status code to be used for the redirect.
|
|
199
3709
|
*/
|
|
200
|
-
|
|
3710
|
+
status_code?: 301 | 302 | 303 | 307 | 308;
|
|
201
3711
|
/**
|
|
202
|
-
*
|
|
203
|
-
* rule and category overrides and is only applicable for DDoS phases.
|
|
3712
|
+
* The URL to redirect the request to.
|
|
204
3713
|
*/
|
|
205
|
-
|
|
3714
|
+
target_url?: FromValue.StaticURLRedirect | FromValue.DynamicURLRedirect;
|
|
206
3715
|
}
|
|
207
|
-
namespace
|
|
208
|
-
|
|
209
|
-
* A category-level override
|
|
210
|
-
*/
|
|
211
|
-
interface Category {
|
|
212
|
-
/**
|
|
213
|
-
* The name of the category to override.
|
|
214
|
-
*/
|
|
215
|
-
category: string;
|
|
216
|
-
/**
|
|
217
|
-
* The action to override rules in the category with.
|
|
218
|
-
*/
|
|
219
|
-
action?: string;
|
|
220
|
-
/**
|
|
221
|
-
* Whether to enable execution of rules in the category.
|
|
222
|
-
*/
|
|
223
|
-
enabled?: boolean;
|
|
3716
|
+
namespace FromValue {
|
|
3717
|
+
interface StaticURLRedirect {
|
|
224
3718
|
/**
|
|
225
|
-
* The
|
|
3719
|
+
* The URL to redirect the request to.
|
|
226
3720
|
*/
|
|
227
|
-
|
|
3721
|
+
value?: string;
|
|
228
3722
|
}
|
|
229
|
-
|
|
230
|
-
* A rule-level override
|
|
231
|
-
*/
|
|
232
|
-
interface Rule {
|
|
233
|
-
/**
|
|
234
|
-
* The ID of the rule to override.
|
|
235
|
-
*/
|
|
236
|
-
id: string;
|
|
237
|
-
/**
|
|
238
|
-
* The action to override the rule with.
|
|
239
|
-
*/
|
|
240
|
-
action?: string;
|
|
241
|
-
/**
|
|
242
|
-
* Whether to enable execution of the rule.
|
|
243
|
-
*/
|
|
244
|
-
enabled?: boolean;
|
|
245
|
-
/**
|
|
246
|
-
* The score threshold to use for the rule.
|
|
247
|
-
*/
|
|
248
|
-
score_threshold?: number;
|
|
3723
|
+
interface DynamicURLRedirect {
|
|
249
3724
|
/**
|
|
250
|
-
*
|
|
3725
|
+
* An expression to evaluate to get the URL to redirect the request to.
|
|
251
3726
|
*/
|
|
252
|
-
|
|
3727
|
+
expression?: string;
|
|
253
3728
|
}
|
|
254
3729
|
}
|
|
255
3730
|
}
|
|
256
|
-
/**
|
|
257
|
-
* An object configuring the rule's logging behavior.
|
|
258
|
-
*/
|
|
259
|
-
interface Logging {
|
|
260
|
-
/**
|
|
261
|
-
* Whether to generate a log when the rule matches.
|
|
262
|
-
*/
|
|
263
|
-
enabled: boolean;
|
|
264
|
-
}
|
|
265
3731
|
}
|
|
266
|
-
interface
|
|
3732
|
+
interface RewriteRule {
|
|
267
3733
|
/**
|
|
268
3734
|
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
269
3735
|
* Zone ID.
|
|
@@ -281,11 +3747,11 @@ export declare namespace RuleCreateParams {
|
|
|
281
3747
|
/**
|
|
282
3748
|
* Body param: The action to perform when the rule matches.
|
|
283
3749
|
*/
|
|
284
|
-
action?: '
|
|
3750
|
+
action?: 'rewrite';
|
|
285
3751
|
/**
|
|
286
3752
|
* Body param: The parameters configuring the rule's action.
|
|
287
3753
|
*/
|
|
288
|
-
action_parameters?:
|
|
3754
|
+
action_parameters?: RuleEditParams.RewriteRule.ActionParameters;
|
|
289
3755
|
/**
|
|
290
3756
|
* Body param: An informative description of the rule.
|
|
291
3757
|
*/
|
|
@@ -301,24 +3767,69 @@ export declare namespace RuleCreateParams {
|
|
|
301
3767
|
/**
|
|
302
3768
|
* Body param: An object configuring the rule's logging behavior.
|
|
303
3769
|
*/
|
|
304
|
-
logging?:
|
|
3770
|
+
logging?: Logging;
|
|
305
3771
|
/**
|
|
306
3772
|
* Body param: The reference of the rule (the rule ID by default).
|
|
307
3773
|
*/
|
|
308
3774
|
ref?: string;
|
|
309
3775
|
}
|
|
310
|
-
namespace
|
|
3776
|
+
namespace RewriteRule {
|
|
311
3777
|
/**
|
|
312
|
-
*
|
|
3778
|
+
* The parameters configuring the rule's action.
|
|
313
3779
|
*/
|
|
314
|
-
interface
|
|
3780
|
+
interface ActionParameters {
|
|
3781
|
+
/**
|
|
3782
|
+
* Map of request headers to modify.
|
|
3783
|
+
*/
|
|
3784
|
+
headers?: Record<string, ActionParameters.RemoveHeader | ActionParameters.StaticHeader | ActionParameters.DynamicHeader>;
|
|
3785
|
+
/**
|
|
3786
|
+
* URI to rewrite the request to.
|
|
3787
|
+
*/
|
|
3788
|
+
uri?: ActionParameters.URI;
|
|
3789
|
+
}
|
|
3790
|
+
namespace ActionParameters {
|
|
3791
|
+
/**
|
|
3792
|
+
* Remove the header from the request.
|
|
3793
|
+
*/
|
|
3794
|
+
interface RemoveHeader {
|
|
3795
|
+
operation: 'remove';
|
|
3796
|
+
}
|
|
3797
|
+
/**
|
|
3798
|
+
* Set a request header with a static value.
|
|
3799
|
+
*/
|
|
3800
|
+
interface StaticHeader {
|
|
3801
|
+
operation: 'set';
|
|
3802
|
+
/**
|
|
3803
|
+
* Static value for the header.
|
|
3804
|
+
*/
|
|
3805
|
+
value: string;
|
|
3806
|
+
}
|
|
3807
|
+
/**
|
|
3808
|
+
* Set a request header with a dynamic value.
|
|
3809
|
+
*/
|
|
3810
|
+
interface DynamicHeader {
|
|
3811
|
+
/**
|
|
3812
|
+
* Expression for the header value.
|
|
3813
|
+
*/
|
|
3814
|
+
expression: string;
|
|
3815
|
+
operation: 'set';
|
|
3816
|
+
}
|
|
315
3817
|
/**
|
|
316
|
-
*
|
|
3818
|
+
* URI to rewrite the request to.
|
|
317
3819
|
*/
|
|
318
|
-
|
|
3820
|
+
interface URI {
|
|
3821
|
+
/**
|
|
3822
|
+
* Path portion rewrite.
|
|
3823
|
+
*/
|
|
3824
|
+
path?: RulesAPI.RewriteURIPart;
|
|
3825
|
+
/**
|
|
3826
|
+
* Query portion rewrite.
|
|
3827
|
+
*/
|
|
3828
|
+
query?: RulesAPI.RewriteURIPart;
|
|
3829
|
+
}
|
|
319
3830
|
}
|
|
320
3831
|
}
|
|
321
|
-
interface
|
|
3832
|
+
interface RouteRule {
|
|
322
3833
|
/**
|
|
323
3834
|
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
324
3835
|
* Zone ID.
|
|
@@ -336,11 +3847,11 @@ export declare namespace RuleCreateParams {
|
|
|
336
3847
|
/**
|
|
337
3848
|
* Body param: The action to perform when the rule matches.
|
|
338
3849
|
*/
|
|
339
|
-
action?: '
|
|
3850
|
+
action?: 'route';
|
|
340
3851
|
/**
|
|
341
3852
|
* Body param: The parameters configuring the rule's action.
|
|
342
3853
|
*/
|
|
343
|
-
action_parameters?:
|
|
3854
|
+
action_parameters?: RuleEditParams.RouteRule.ActionParameters;
|
|
344
3855
|
/**
|
|
345
3856
|
* Body param: An informative description of the rule.
|
|
346
3857
|
*/
|
|
@@ -356,66 +3867,56 @@ export declare namespace RuleCreateParams {
|
|
|
356
3867
|
/**
|
|
357
3868
|
* Body param: An object configuring the rule's logging behavior.
|
|
358
3869
|
*/
|
|
359
|
-
logging?:
|
|
3870
|
+
logging?: Logging;
|
|
360
3871
|
/**
|
|
361
3872
|
* Body param: The reference of the rule (the rule ID by default).
|
|
362
3873
|
*/
|
|
363
3874
|
ref?: string;
|
|
364
3875
|
}
|
|
365
|
-
namespace
|
|
3876
|
+
namespace RouteRule {
|
|
366
3877
|
/**
|
|
367
3878
|
* The parameters configuring the rule's action.
|
|
368
3879
|
*/
|
|
369
3880
|
interface ActionParameters {
|
|
370
3881
|
/**
|
|
371
|
-
*
|
|
372
|
-
* ruleset and rulesets options.
|
|
373
|
-
*/
|
|
374
|
-
phases?: Array<'ddos_l4' | 'ddos_l7' | 'http_config_settings' | 'http_custom_errors' | 'http_log_custom_fields' | 'http_ratelimit' | 'http_request_cache_settings' | 'http_request_dynamic_redirect' | 'http_request_firewall_custom' | 'http_request_firewall_managed' | 'http_request_late_transform' | 'http_request_origin' | 'http_request_redirect' | 'http_request_sanitize' | 'http_request_sbfm' | 'http_request_select_configuration' | 'http_request_transform' | 'http_response_compression' | 'http_response_firewall_managed' | 'http_response_headers_transform' | 'magic_transit' | 'magic_transit_ids_managed' | 'magic_transit_managed'>;
|
|
375
|
-
/**
|
|
376
|
-
* A list of legacy security products to skip the execution of.
|
|
3882
|
+
* Rewrite the HTTP Host header.
|
|
377
3883
|
*/
|
|
378
|
-
|
|
3884
|
+
host_header?: string;
|
|
379
3885
|
/**
|
|
380
|
-
*
|
|
381
|
-
* execution of. This option is incompatible with the ruleset option.
|
|
3886
|
+
* Override the IP/TCP destination.
|
|
382
3887
|
*/
|
|
383
|
-
|
|
3888
|
+
origin?: ActionParameters.Origin;
|
|
384
3889
|
/**
|
|
385
|
-
*
|
|
386
|
-
* rulesets, rules and phases options.
|
|
3890
|
+
* Override the Server Name Indication (SNI).
|
|
387
3891
|
*/
|
|
388
|
-
|
|
3892
|
+
sni?: ActionParameters.Sni;
|
|
3893
|
+
}
|
|
3894
|
+
namespace ActionParameters {
|
|
389
3895
|
/**
|
|
390
|
-
*
|
|
391
|
-
* the ruleset and phases options.
|
|
3896
|
+
* Override the IP/TCP destination.
|
|
392
3897
|
*/
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
3898
|
+
interface Origin {
|
|
3899
|
+
/**
|
|
3900
|
+
* Override the resolved hostname.
|
|
3901
|
+
*/
|
|
3902
|
+
host?: string;
|
|
3903
|
+
/**
|
|
3904
|
+
* Override the destination port.
|
|
3905
|
+
*/
|
|
3906
|
+
port?: number;
|
|
3907
|
+
}
|
|
399
3908
|
/**
|
|
400
|
-
*
|
|
3909
|
+
* Override the Server Name Indication (SNI).
|
|
401
3910
|
*/
|
|
402
|
-
|
|
3911
|
+
interface Sni {
|
|
3912
|
+
/**
|
|
3913
|
+
* The SNI override.
|
|
3914
|
+
*/
|
|
3915
|
+
value: string;
|
|
3916
|
+
}
|
|
403
3917
|
}
|
|
404
3918
|
}
|
|
405
|
-
|
|
406
|
-
export interface RuleDeleteParams {
|
|
407
|
-
/**
|
|
408
|
-
* The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
|
|
409
|
-
*/
|
|
410
|
-
account_id?: string;
|
|
411
|
-
/**
|
|
412
|
-
* The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
|
|
413
|
-
*/
|
|
414
|
-
zone_id?: string;
|
|
415
|
-
}
|
|
416
|
-
export type RuleEditParams = RuleEditParams.RulesetsBlockRule | RuleEditParams.RulesetsExecuteRule | RuleEditParams.RulesetsLogRule | RuleEditParams.RulesetsSkipRule;
|
|
417
|
-
export declare namespace RuleEditParams {
|
|
418
|
-
interface RulesetsBlockRule {
|
|
3919
|
+
interface ScoreRule {
|
|
419
3920
|
/**
|
|
420
3921
|
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
421
3922
|
* Zone ID.
|
|
@@ -433,11 +3934,11 @@ export declare namespace RuleEditParams {
|
|
|
433
3934
|
/**
|
|
434
3935
|
* Body param: The action to perform when the rule matches.
|
|
435
3936
|
*/
|
|
436
|
-
action?: '
|
|
3937
|
+
action?: 'score';
|
|
437
3938
|
/**
|
|
438
3939
|
* Body param: The parameters configuring the rule's action.
|
|
439
3940
|
*/
|
|
440
|
-
action_parameters?: RuleEditParams.
|
|
3941
|
+
action_parameters?: RuleEditParams.ScoreRule.ActionParameters;
|
|
441
3942
|
/**
|
|
442
3943
|
* Body param: An informative description of the rule.
|
|
443
3944
|
*/
|
|
@@ -453,52 +3954,88 @@ export declare namespace RuleEditParams {
|
|
|
453
3954
|
/**
|
|
454
3955
|
* Body param: An object configuring the rule's logging behavior.
|
|
455
3956
|
*/
|
|
456
|
-
logging?:
|
|
3957
|
+
logging?: Logging;
|
|
457
3958
|
/**
|
|
458
3959
|
* Body param: The reference of the rule (the rule ID by default).
|
|
459
3960
|
*/
|
|
460
3961
|
ref?: string;
|
|
461
3962
|
}
|
|
462
|
-
namespace
|
|
3963
|
+
namespace ScoreRule {
|
|
463
3964
|
/**
|
|
464
3965
|
* The parameters configuring the rule's action.
|
|
465
3966
|
*/
|
|
466
3967
|
interface ActionParameters {
|
|
467
3968
|
/**
|
|
468
|
-
*
|
|
469
|
-
|
|
470
|
-
response?: ActionParameters.Response;
|
|
471
|
-
}
|
|
472
|
-
namespace ActionParameters {
|
|
473
|
-
/**
|
|
474
|
-
* The response to show when the block is applied.
|
|
3969
|
+
* Increment contains the delta to change the score and can be either positive or
|
|
3970
|
+
* negative.
|
|
475
3971
|
*/
|
|
476
|
-
|
|
477
|
-
/**
|
|
478
|
-
* The content to return.
|
|
479
|
-
*/
|
|
480
|
-
content: string;
|
|
481
|
-
/**
|
|
482
|
-
* The type of the content to return.
|
|
483
|
-
*/
|
|
484
|
-
content_type: string;
|
|
485
|
-
/**
|
|
486
|
-
* The status code to return.
|
|
487
|
-
*/
|
|
488
|
-
status_code: number;
|
|
489
|
-
}
|
|
3972
|
+
increment?: number;
|
|
490
3973
|
}
|
|
3974
|
+
}
|
|
3975
|
+
interface ServeErrorRule {
|
|
3976
|
+
/**
|
|
3977
|
+
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
3978
|
+
* Zone ID.
|
|
3979
|
+
*/
|
|
3980
|
+
account_id?: string;
|
|
3981
|
+
/**
|
|
3982
|
+
* Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
|
|
3983
|
+
* Account ID.
|
|
3984
|
+
*/
|
|
3985
|
+
zone_id?: string;
|
|
3986
|
+
/**
|
|
3987
|
+
* Body param: The unique ID of the rule.
|
|
3988
|
+
*/
|
|
3989
|
+
id?: string;
|
|
3990
|
+
/**
|
|
3991
|
+
* Body param: The action to perform when the rule matches.
|
|
3992
|
+
*/
|
|
3993
|
+
action?: 'serve_error';
|
|
3994
|
+
/**
|
|
3995
|
+
* Body param: The parameters configuring the rule's action.
|
|
3996
|
+
*/
|
|
3997
|
+
action_parameters?: RuleEditParams.ServeErrorRule.ActionParameters;
|
|
3998
|
+
/**
|
|
3999
|
+
* Body param: An informative description of the rule.
|
|
4000
|
+
*/
|
|
4001
|
+
description?: string;
|
|
4002
|
+
/**
|
|
4003
|
+
* Body param: Whether the rule should be executed.
|
|
4004
|
+
*/
|
|
4005
|
+
enabled?: boolean;
|
|
4006
|
+
/**
|
|
4007
|
+
* Body param: The expression defining which traffic will match the rule.
|
|
4008
|
+
*/
|
|
4009
|
+
expression?: string;
|
|
4010
|
+
/**
|
|
4011
|
+
* Body param: An object configuring the rule's logging behavior.
|
|
4012
|
+
*/
|
|
4013
|
+
logging?: Logging;
|
|
491
4014
|
/**
|
|
492
|
-
*
|
|
4015
|
+
* Body param: The reference of the rule (the rule ID by default).
|
|
4016
|
+
*/
|
|
4017
|
+
ref?: string;
|
|
4018
|
+
}
|
|
4019
|
+
namespace ServeErrorRule {
|
|
4020
|
+
/**
|
|
4021
|
+
* The parameters configuring the rule's action.
|
|
493
4022
|
*/
|
|
494
|
-
interface
|
|
4023
|
+
interface ActionParameters {
|
|
4024
|
+
/**
|
|
4025
|
+
* Error response content.
|
|
4026
|
+
*/
|
|
4027
|
+
content?: string;
|
|
4028
|
+
/**
|
|
4029
|
+
* Content-type header to set with the response.
|
|
4030
|
+
*/
|
|
4031
|
+
content_type?: 'application/json' | 'text/xml' | 'text/plain' | 'text/html';
|
|
495
4032
|
/**
|
|
496
|
-
*
|
|
4033
|
+
* The status code to use for the error.
|
|
497
4034
|
*/
|
|
498
|
-
|
|
4035
|
+
status_code?: number;
|
|
499
4036
|
}
|
|
500
4037
|
}
|
|
501
|
-
interface
|
|
4038
|
+
interface SetConfigRule {
|
|
502
4039
|
/**
|
|
503
4040
|
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
504
4041
|
* Zone ID.
|
|
@@ -516,11 +4053,11 @@ export declare namespace RuleEditParams {
|
|
|
516
4053
|
/**
|
|
517
4054
|
* Body param: The action to perform when the rule matches.
|
|
518
4055
|
*/
|
|
519
|
-
action?: '
|
|
4056
|
+
action?: 'set_config';
|
|
520
4057
|
/**
|
|
521
4058
|
* Body param: The parameters configuring the rule's action.
|
|
522
4059
|
*/
|
|
523
|
-
action_parameters?: RuleEditParams.
|
|
4060
|
+
action_parameters?: RuleEditParams.SetConfigRule.ActionParameters;
|
|
524
4061
|
/**
|
|
525
4062
|
* Body param: An informative description of the rule.
|
|
526
4063
|
*/
|
|
@@ -536,129 +4073,99 @@ export declare namespace RuleEditParams {
|
|
|
536
4073
|
/**
|
|
537
4074
|
* Body param: An object configuring the rule's logging behavior.
|
|
538
4075
|
*/
|
|
539
|
-
logging?:
|
|
4076
|
+
logging?: Logging;
|
|
540
4077
|
/**
|
|
541
4078
|
* Body param: The reference of the rule (the rule ID by default).
|
|
542
4079
|
*/
|
|
543
4080
|
ref?: string;
|
|
544
4081
|
}
|
|
545
|
-
namespace
|
|
4082
|
+
namespace SetConfigRule {
|
|
546
4083
|
/**
|
|
547
4084
|
* The parameters configuring the rule's action.
|
|
548
4085
|
*/
|
|
549
4086
|
interface ActionParameters {
|
|
550
4087
|
/**
|
|
551
|
-
*
|
|
4088
|
+
* Turn on or off Automatic HTTPS Rewrites.
|
|
552
4089
|
*/
|
|
553
|
-
|
|
4090
|
+
automatic_https_rewrites?: boolean;
|
|
554
4091
|
/**
|
|
555
|
-
*
|
|
4092
|
+
* Select which file extensions to minify automatically.
|
|
556
4093
|
*/
|
|
557
|
-
|
|
4094
|
+
autominify?: ActionParameters.Autominify;
|
|
558
4095
|
/**
|
|
559
|
-
*
|
|
4096
|
+
* Turn on or off Browser Integrity Check.
|
|
560
4097
|
*/
|
|
561
|
-
|
|
562
|
-
}
|
|
563
|
-
namespace ActionParameters {
|
|
4098
|
+
bic?: boolean;
|
|
564
4099
|
/**
|
|
565
|
-
*
|
|
4100
|
+
* Turn off all active Cloudflare Apps.
|
|
566
4101
|
*/
|
|
567
|
-
|
|
568
|
-
/**
|
|
569
|
-
* The public key to encrypt matched data logs with.
|
|
570
|
-
*/
|
|
571
|
-
public_key: string;
|
|
572
|
-
}
|
|
4102
|
+
disable_apps?: boolean;
|
|
573
4103
|
/**
|
|
574
|
-
*
|
|
4104
|
+
* Turn off Zaraz.
|
|
575
4105
|
*/
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
4106
|
+
disable_zaraz?: boolean;
|
|
4107
|
+
/**
|
|
4108
|
+
* Turn on or off Email Obfuscation.
|
|
4109
|
+
*/
|
|
4110
|
+
email_obfuscation?: boolean;
|
|
4111
|
+
/**
|
|
4112
|
+
* Turn on or off the Hotlink Protection.
|
|
4113
|
+
*/
|
|
4114
|
+
hotlink_protection?: boolean;
|
|
4115
|
+
/**
|
|
4116
|
+
* Turn on or off Mirage.
|
|
4117
|
+
*/
|
|
4118
|
+
mirage?: boolean;
|
|
4119
|
+
/**
|
|
4120
|
+
* Turn on or off Opportunistic Encryption.
|
|
4121
|
+
*/
|
|
4122
|
+
opportunistic_encryption?: boolean;
|
|
4123
|
+
/**
|
|
4124
|
+
* Configure the Polish level.
|
|
4125
|
+
*/
|
|
4126
|
+
polish?: 'off' | 'lossless' | 'lossy';
|
|
4127
|
+
/**
|
|
4128
|
+
* Turn on or off Rocket Loader
|
|
4129
|
+
*/
|
|
4130
|
+
rocket_loader?: boolean;
|
|
4131
|
+
/**
|
|
4132
|
+
* Configure the Security Level.
|
|
4133
|
+
*/
|
|
4134
|
+
security_level?: 'off' | 'essentially_off' | 'low' | 'medium' | 'high' | 'under_attack';
|
|
4135
|
+
/**
|
|
4136
|
+
* Turn on or off Server Side Excludes.
|
|
4137
|
+
*/
|
|
4138
|
+
server_side_excludes?: boolean;
|
|
4139
|
+
/**
|
|
4140
|
+
* Configure the SSL level.
|
|
4141
|
+
*/
|
|
4142
|
+
ssl?: 'off' | 'flexible' | 'full' | 'strict' | 'origin_pull';
|
|
4143
|
+
/**
|
|
4144
|
+
* Turn on or off Signed Exchanges (SXG).
|
|
4145
|
+
*/
|
|
4146
|
+
sxg?: boolean;
|
|
4147
|
+
}
|
|
4148
|
+
namespace ActionParameters {
|
|
4149
|
+
/**
|
|
4150
|
+
* Select which file extensions to minify automatically.
|
|
4151
|
+
*/
|
|
4152
|
+
interface Autominify {
|
|
596
4153
|
/**
|
|
597
|
-
*
|
|
598
|
-
* rule and category overrides and is only applicable for DDoS phases.
|
|
4154
|
+
* Minify CSS files.
|
|
599
4155
|
*/
|
|
600
|
-
|
|
601
|
-
}
|
|
602
|
-
namespace Overrides {
|
|
4156
|
+
css?: boolean;
|
|
603
4157
|
/**
|
|
604
|
-
*
|
|
4158
|
+
* Minify HTML files.
|
|
605
4159
|
*/
|
|
606
|
-
|
|
607
|
-
/**
|
|
608
|
-
* The name of the category to override.
|
|
609
|
-
*/
|
|
610
|
-
category: string;
|
|
611
|
-
/**
|
|
612
|
-
* The action to override rules in the category with.
|
|
613
|
-
*/
|
|
614
|
-
action?: string;
|
|
615
|
-
/**
|
|
616
|
-
* Whether to enable execution of rules in the category.
|
|
617
|
-
*/
|
|
618
|
-
enabled?: boolean;
|
|
619
|
-
/**
|
|
620
|
-
* The sensitivity level to use for rules in the category.
|
|
621
|
-
*/
|
|
622
|
-
sensitivity_level?: 'default' | 'medium' | 'low' | 'eoff';
|
|
623
|
-
}
|
|
4160
|
+
html?: boolean;
|
|
624
4161
|
/**
|
|
625
|
-
*
|
|
4162
|
+
* Minify JS files.
|
|
626
4163
|
*/
|
|
627
|
-
|
|
628
|
-
/**
|
|
629
|
-
* The ID of the rule to override.
|
|
630
|
-
*/
|
|
631
|
-
id: string;
|
|
632
|
-
/**
|
|
633
|
-
* The action to override the rule with.
|
|
634
|
-
*/
|
|
635
|
-
action?: string;
|
|
636
|
-
/**
|
|
637
|
-
* Whether to enable execution of the rule.
|
|
638
|
-
*/
|
|
639
|
-
enabled?: boolean;
|
|
640
|
-
/**
|
|
641
|
-
* The score threshold to use for the rule.
|
|
642
|
-
*/
|
|
643
|
-
score_threshold?: number;
|
|
644
|
-
/**
|
|
645
|
-
* The sensitivity level to use for the rule.
|
|
646
|
-
*/
|
|
647
|
-
sensitivity_level?: 'default' | 'medium' | 'low' | 'eoff';
|
|
648
|
-
}
|
|
4164
|
+
js?: boolean;
|
|
649
4165
|
}
|
|
650
4166
|
}
|
|
651
|
-
/**
|
|
652
|
-
* An object configuring the rule's logging behavior.
|
|
653
|
-
*/
|
|
654
|
-
interface Logging {
|
|
655
|
-
/**
|
|
656
|
-
* Whether to generate a log when the rule matches.
|
|
657
|
-
*/
|
|
658
|
-
enabled: boolean;
|
|
659
|
-
}
|
|
660
4167
|
}
|
|
661
|
-
interface
|
|
4168
|
+
interface SkipRule {
|
|
662
4169
|
/**
|
|
663
4170
|
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
664
4171
|
* Zone ID.
|
|
@@ -676,11 +4183,11 @@ export declare namespace RuleEditParams {
|
|
|
676
4183
|
/**
|
|
677
4184
|
* Body param: The action to perform when the rule matches.
|
|
678
4185
|
*/
|
|
679
|
-
action?: '
|
|
4186
|
+
action?: 'skip';
|
|
680
4187
|
/**
|
|
681
4188
|
* Body param: The parameters configuring the rule's action.
|
|
682
4189
|
*/
|
|
683
|
-
action_parameters?:
|
|
4190
|
+
action_parameters?: RuleEditParams.SkipRule.ActionParameters;
|
|
684
4191
|
/**
|
|
685
4192
|
* Body param: An informative description of the rule.
|
|
686
4193
|
*/
|
|
@@ -696,24 +4203,44 @@ export declare namespace RuleEditParams {
|
|
|
696
4203
|
/**
|
|
697
4204
|
* Body param: An object configuring the rule's logging behavior.
|
|
698
4205
|
*/
|
|
699
|
-
logging?:
|
|
4206
|
+
logging?: Logging;
|
|
700
4207
|
/**
|
|
701
4208
|
* Body param: The reference of the rule (the rule ID by default).
|
|
702
4209
|
*/
|
|
703
4210
|
ref?: string;
|
|
704
4211
|
}
|
|
705
|
-
namespace
|
|
4212
|
+
namespace SkipRule {
|
|
706
4213
|
/**
|
|
707
|
-
*
|
|
4214
|
+
* The parameters configuring the rule's action.
|
|
708
4215
|
*/
|
|
709
|
-
interface
|
|
4216
|
+
interface ActionParameters {
|
|
4217
|
+
/**
|
|
4218
|
+
* A list of phases to skip the execution of. This option is incompatible with the
|
|
4219
|
+
* ruleset and rulesets options.
|
|
4220
|
+
*/
|
|
4221
|
+
phases?: Array<'ddos_l4' | 'ddos_l7' | 'http_config_settings' | 'http_custom_errors' | 'http_log_custom_fields' | 'http_ratelimit' | 'http_request_cache_settings' | 'http_request_dynamic_redirect' | 'http_request_firewall_custom' | 'http_request_firewall_managed' | 'http_request_late_transform' | 'http_request_origin' | 'http_request_redirect' | 'http_request_sanitize' | 'http_request_sbfm' | 'http_request_select_configuration' | 'http_request_transform' | 'http_response_compression' | 'http_response_firewall_managed' | 'http_response_headers_transform' | 'magic_transit' | 'magic_transit_ids_managed' | 'magic_transit_managed'>;
|
|
4222
|
+
/**
|
|
4223
|
+
* A list of legacy security products to skip the execution of.
|
|
4224
|
+
*/
|
|
4225
|
+
products?: Array<'bic' | 'hot' | 'rateLimit' | 'securityLevel' | 'uaBlock' | 'waf' | 'zoneLockdown'>;
|
|
4226
|
+
/**
|
|
4227
|
+
* A mapping of ruleset IDs to a list of rule IDs in that ruleset to skip the
|
|
4228
|
+
* execution of. This option is incompatible with the ruleset option.
|
|
4229
|
+
*/
|
|
4230
|
+
rules?: Record<string, Array<string>>;
|
|
4231
|
+
/**
|
|
4232
|
+
* A ruleset to skip the execution of. This option is incompatible with the
|
|
4233
|
+
* rulesets, rules and phases options.
|
|
4234
|
+
*/
|
|
4235
|
+
ruleset?: 'current';
|
|
710
4236
|
/**
|
|
711
|
-
*
|
|
4237
|
+
* A list of ruleset IDs to skip the execution of. This option is incompatible with
|
|
4238
|
+
* the ruleset and phases options.
|
|
712
4239
|
*/
|
|
713
|
-
|
|
4240
|
+
rulesets?: Array<string>;
|
|
714
4241
|
}
|
|
715
4242
|
}
|
|
716
|
-
interface
|
|
4243
|
+
interface SetCacheSettingsRule {
|
|
717
4244
|
/**
|
|
718
4245
|
* Path param: The Account ID to use for this endpoint. Mutually exclusive with the
|
|
719
4246
|
* Zone ID.
|
|
@@ -731,11 +4258,11 @@ export declare namespace RuleEditParams {
|
|
|
731
4258
|
/**
|
|
732
4259
|
* Body param: The action to perform when the rule matches.
|
|
733
4260
|
*/
|
|
734
|
-
action?: '
|
|
4261
|
+
action?: 'set_cache_settings';
|
|
735
4262
|
/**
|
|
736
4263
|
* Body param: The parameters configuring the rule's action.
|
|
737
4264
|
*/
|
|
738
|
-
action_parameters?: RuleEditParams.
|
|
4265
|
+
action_parameters?: RuleEditParams.SetCacheSettingsRule.ActionParameters;
|
|
739
4266
|
/**
|
|
740
4267
|
* Body param: An informative description of the rule.
|
|
741
4268
|
*/
|
|
@@ -751,54 +4278,365 @@ export declare namespace RuleEditParams {
|
|
|
751
4278
|
/**
|
|
752
4279
|
* Body param: An object configuring the rule's logging behavior.
|
|
753
4280
|
*/
|
|
754
|
-
logging?:
|
|
4281
|
+
logging?: Logging;
|
|
755
4282
|
/**
|
|
756
4283
|
* Body param: The reference of the rule (the rule ID by default).
|
|
757
4284
|
*/
|
|
758
4285
|
ref?: string;
|
|
759
4286
|
}
|
|
760
|
-
namespace
|
|
4287
|
+
namespace SetCacheSettingsRule {
|
|
761
4288
|
/**
|
|
762
4289
|
* The parameters configuring the rule's action.
|
|
763
4290
|
*/
|
|
764
4291
|
interface ActionParameters {
|
|
765
4292
|
/**
|
|
766
|
-
*
|
|
767
|
-
* ruleset and rulesets options.
|
|
4293
|
+
* List of additional ports that caching can be enabled on.
|
|
768
4294
|
*/
|
|
769
|
-
|
|
4295
|
+
additional_cacheable_ports?: Array<number>;
|
|
770
4296
|
/**
|
|
771
|
-
*
|
|
4297
|
+
* Specify how long client browsers should cache the response. Cloudflare cache
|
|
4298
|
+
* purge will not purge content cached on client browsers, so high browser TTLs may
|
|
4299
|
+
* lead to stale content.
|
|
772
4300
|
*/
|
|
773
|
-
|
|
4301
|
+
browser_ttl?: ActionParameters.BrowserTTL;
|
|
774
4302
|
/**
|
|
775
|
-
*
|
|
776
|
-
*
|
|
4303
|
+
* Mark whether the request’s response from origin is eligible for caching. Caching
|
|
4304
|
+
* itself will still depend on the cache-control header and your other caching
|
|
4305
|
+
* configurations.
|
|
777
4306
|
*/
|
|
778
|
-
|
|
4307
|
+
cache?: boolean;
|
|
779
4308
|
/**
|
|
780
|
-
*
|
|
781
|
-
*
|
|
4309
|
+
* Define which components of the request are included or excluded from the cache
|
|
4310
|
+
* key Cloudflare uses to store the response in cache.
|
|
782
4311
|
*/
|
|
783
|
-
|
|
4312
|
+
cache_key?: ActionParameters.CacheKey;
|
|
784
4313
|
/**
|
|
785
|
-
*
|
|
786
|
-
*
|
|
4314
|
+
* Mark whether the request's response from origin is eligible for Cache Reserve
|
|
4315
|
+
* (requires a Cache Reserve add-on plan).
|
|
787
4316
|
*/
|
|
788
|
-
|
|
4317
|
+
cache_reserve?: ActionParameters.CacheReserve;
|
|
4318
|
+
/**
|
|
4319
|
+
* TTL (Time to Live) specifies the maximum time to cache a resource in the
|
|
4320
|
+
* Cloudflare edge network.
|
|
4321
|
+
*/
|
|
4322
|
+
edge_ttl?: ActionParameters.EdgeTTL;
|
|
4323
|
+
/**
|
|
4324
|
+
* When enabled, Cloudflare will aim to strictly adhere to RFC 7234.
|
|
4325
|
+
*/
|
|
4326
|
+
origin_cache_control?: boolean;
|
|
4327
|
+
/**
|
|
4328
|
+
* Generate Cloudflare error pages from issues sent from the origin server. When
|
|
4329
|
+
* on, error pages will trigger for issues from the origin
|
|
4330
|
+
*/
|
|
4331
|
+
origin_error_page_passthru?: boolean;
|
|
4332
|
+
/**
|
|
4333
|
+
* Define a timeout value between two successive read operations to your origin
|
|
4334
|
+
* server. Historically, the timeout value between two read options from Cloudflare
|
|
4335
|
+
* to an origin server is 100 seconds. If you are attempting to reduce HTTP 524
|
|
4336
|
+
* errors because of timeouts from an origin server, try increasing this timeout
|
|
4337
|
+
* value.
|
|
4338
|
+
*/
|
|
4339
|
+
read_timeout?: number;
|
|
4340
|
+
/**
|
|
4341
|
+
* Specify whether or not Cloudflare should respect strong ETag (entity tag)
|
|
4342
|
+
* headers. When off, Cloudflare converts strong ETag headers to weak ETag headers.
|
|
4343
|
+
*/
|
|
4344
|
+
respect_strong_etags?: boolean;
|
|
4345
|
+
/**
|
|
4346
|
+
* Define if Cloudflare should serve stale content while getting the latest content
|
|
4347
|
+
* from the origin. If on, Cloudflare will not serve stale content while getting
|
|
4348
|
+
* the latest content from the origin.
|
|
4349
|
+
*/
|
|
4350
|
+
serve_stale?: ActionParameters.ServeStale;
|
|
789
4351
|
}
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
4352
|
+
namespace ActionParameters {
|
|
4353
|
+
/**
|
|
4354
|
+
* Specify how long client browsers should cache the response. Cloudflare cache
|
|
4355
|
+
* purge will not purge content cached on client browsers, so high browser TTLs may
|
|
4356
|
+
* lead to stale content.
|
|
4357
|
+
*/
|
|
4358
|
+
interface BrowserTTL {
|
|
4359
|
+
/**
|
|
4360
|
+
* Determines which browser ttl mode to use.
|
|
4361
|
+
*/
|
|
4362
|
+
mode: 'respect_origin' | 'bypass_by_default' | 'override_origin';
|
|
4363
|
+
/**
|
|
4364
|
+
* The TTL (in seconds) if you choose override_origin mode.
|
|
4365
|
+
*/
|
|
4366
|
+
default?: number;
|
|
4367
|
+
}
|
|
4368
|
+
/**
|
|
4369
|
+
* Define which components of the request are included or excluded from the cache
|
|
4370
|
+
* key Cloudflare uses to store the response in cache.
|
|
4371
|
+
*/
|
|
4372
|
+
interface CacheKey {
|
|
4373
|
+
/**
|
|
4374
|
+
* Separate cached content based on the visitor’s device type
|
|
4375
|
+
*/
|
|
4376
|
+
cache_by_device_type?: boolean;
|
|
4377
|
+
/**
|
|
4378
|
+
* Protect from web cache deception attacks while allowing static assets to be
|
|
4379
|
+
* cached
|
|
4380
|
+
*/
|
|
4381
|
+
cache_deception_armor?: boolean;
|
|
4382
|
+
/**
|
|
4383
|
+
* Customize which components of the request are included or excluded from the
|
|
4384
|
+
* cache key.
|
|
4385
|
+
*/
|
|
4386
|
+
custom_key?: CacheKey.CustomKey;
|
|
4387
|
+
/**
|
|
4388
|
+
* Treat requests with the same query parameters the same, regardless of the order
|
|
4389
|
+
* those query parameters are in. A value of true ignores the query strings' order.
|
|
4390
|
+
*/
|
|
4391
|
+
ignore_query_strings_order?: boolean;
|
|
4392
|
+
}
|
|
4393
|
+
namespace CacheKey {
|
|
4394
|
+
/**
|
|
4395
|
+
* Customize which components of the request are included or excluded from the
|
|
4396
|
+
* cache key.
|
|
4397
|
+
*/
|
|
4398
|
+
interface CustomKey {
|
|
4399
|
+
/**
|
|
4400
|
+
* The cookies to include in building the cache key.
|
|
4401
|
+
*/
|
|
4402
|
+
cookie?: CustomKey.Cookie;
|
|
4403
|
+
/**
|
|
4404
|
+
* The header names and values to include in building the cache key.
|
|
4405
|
+
*/
|
|
4406
|
+
header?: CustomKey.Header;
|
|
4407
|
+
/**
|
|
4408
|
+
* Whether to use the original host or the resolved host in the cache key.
|
|
4409
|
+
*/
|
|
4410
|
+
host?: CustomKey.Host;
|
|
4411
|
+
/**
|
|
4412
|
+
* Use the presence or absence of parameters in the query string to build the cache
|
|
4413
|
+
* key.
|
|
4414
|
+
*/
|
|
4415
|
+
query_string?: CustomKey.QueryString;
|
|
4416
|
+
/**
|
|
4417
|
+
* Characteristics of the request user agent used in building the cache key.
|
|
4418
|
+
*/
|
|
4419
|
+
user?: CustomKey.User;
|
|
4420
|
+
}
|
|
4421
|
+
namespace CustomKey {
|
|
4422
|
+
/**
|
|
4423
|
+
* The cookies to include in building the cache key.
|
|
4424
|
+
*/
|
|
4425
|
+
interface Cookie {
|
|
4426
|
+
/**
|
|
4427
|
+
* Checks for the presence of these cookie names. The presence of these cookies is
|
|
4428
|
+
* used in building the cache key.
|
|
4429
|
+
*/
|
|
4430
|
+
check_presence?: Array<string>;
|
|
4431
|
+
/**
|
|
4432
|
+
* Include these cookies' names and their values.
|
|
4433
|
+
*/
|
|
4434
|
+
include?: Array<string>;
|
|
4435
|
+
}
|
|
4436
|
+
/**
|
|
4437
|
+
* The header names and values to include in building the cache key.
|
|
4438
|
+
*/
|
|
4439
|
+
interface Header {
|
|
4440
|
+
/**
|
|
4441
|
+
* Checks for the presence of these header names. The presence of these headers is
|
|
4442
|
+
* used in building the cache key.
|
|
4443
|
+
*/
|
|
4444
|
+
check_presence?: Array<string>;
|
|
4445
|
+
/**
|
|
4446
|
+
* Whether or not to include the origin header. A value of true will exclude the
|
|
4447
|
+
* origin header in the cache key.
|
|
4448
|
+
*/
|
|
4449
|
+
exclude_origin?: boolean;
|
|
4450
|
+
/**
|
|
4451
|
+
* Include these headers' names and their values.
|
|
4452
|
+
*/
|
|
4453
|
+
include?: Array<string>;
|
|
4454
|
+
}
|
|
4455
|
+
/**
|
|
4456
|
+
* Whether to use the original host or the resolved host in the cache key.
|
|
4457
|
+
*/
|
|
4458
|
+
interface Host {
|
|
4459
|
+
/**
|
|
4460
|
+
* Use the resolved host in the cache key. A value of true will use the resolved
|
|
4461
|
+
* host, while a value or false will use the original host.
|
|
4462
|
+
*/
|
|
4463
|
+
resolved?: boolean;
|
|
4464
|
+
}
|
|
4465
|
+
/**
|
|
4466
|
+
* Use the presence or absence of parameters in the query string to build the cache
|
|
4467
|
+
* key.
|
|
4468
|
+
*/
|
|
4469
|
+
interface QueryString {
|
|
4470
|
+
/**
|
|
4471
|
+
* build the cache key using all query string parameters EXCECPT these excluded
|
|
4472
|
+
* parameters
|
|
4473
|
+
*/
|
|
4474
|
+
exclude?: QueryString.Exclude;
|
|
4475
|
+
/**
|
|
4476
|
+
* build the cache key using a list of query string parameters that ARE in the
|
|
4477
|
+
* request.
|
|
4478
|
+
*/
|
|
4479
|
+
include?: QueryString.Include;
|
|
4480
|
+
}
|
|
4481
|
+
namespace QueryString {
|
|
4482
|
+
/**
|
|
4483
|
+
* build the cache key using all query string parameters EXCECPT these excluded
|
|
4484
|
+
* parameters
|
|
4485
|
+
*/
|
|
4486
|
+
interface Exclude {
|
|
4487
|
+
/**
|
|
4488
|
+
* Exclude all query string parameters from use in building the cache key.
|
|
4489
|
+
*/
|
|
4490
|
+
all?: boolean;
|
|
4491
|
+
/**
|
|
4492
|
+
* A list of query string parameters NOT used to build the cache key. All
|
|
4493
|
+
* parameters present in the request but missing in this list will be used to build
|
|
4494
|
+
* the cache key.
|
|
4495
|
+
*/
|
|
4496
|
+
list?: Array<string>;
|
|
4497
|
+
}
|
|
4498
|
+
/**
|
|
4499
|
+
* build the cache key using a list of query string parameters that ARE in the
|
|
4500
|
+
* request.
|
|
4501
|
+
*/
|
|
4502
|
+
interface Include {
|
|
4503
|
+
/**
|
|
4504
|
+
* Use all query string parameters in the cache key.
|
|
4505
|
+
*/
|
|
4506
|
+
all?: boolean;
|
|
4507
|
+
/**
|
|
4508
|
+
* A list of query string parameters used to build the cache key.
|
|
4509
|
+
*/
|
|
4510
|
+
list?: Array<string>;
|
|
4511
|
+
}
|
|
4512
|
+
}
|
|
4513
|
+
/**
|
|
4514
|
+
* Characteristics of the request user agent used in building the cache key.
|
|
4515
|
+
*/
|
|
4516
|
+
interface User {
|
|
4517
|
+
/**
|
|
4518
|
+
* Use the user agent's device type in the cache key.
|
|
4519
|
+
*/
|
|
4520
|
+
device_type?: boolean;
|
|
4521
|
+
/**
|
|
4522
|
+
* Use the user agents's country in the cache key.
|
|
4523
|
+
*/
|
|
4524
|
+
geo?: boolean;
|
|
4525
|
+
/**
|
|
4526
|
+
* Use the user agent's language in the cache key.
|
|
4527
|
+
*/
|
|
4528
|
+
lang?: boolean;
|
|
4529
|
+
}
|
|
4530
|
+
}
|
|
4531
|
+
}
|
|
794
4532
|
/**
|
|
795
|
-
*
|
|
4533
|
+
* Mark whether the request's response from origin is eligible for Cache Reserve
|
|
4534
|
+
* (requires a Cache Reserve add-on plan).
|
|
796
4535
|
*/
|
|
797
|
-
|
|
4536
|
+
interface CacheReserve {
|
|
4537
|
+
/**
|
|
4538
|
+
* Determines whether cache reserve is enabled. If this is true and a request meets
|
|
4539
|
+
* eligibility criteria, Cloudflare will write the resource to cache reserve.
|
|
4540
|
+
*/
|
|
4541
|
+
eligible: boolean;
|
|
4542
|
+
/**
|
|
4543
|
+
* The minimum file size eligible for store in cache reserve.
|
|
4544
|
+
*/
|
|
4545
|
+
min_file_size: number;
|
|
4546
|
+
}
|
|
4547
|
+
/**
|
|
4548
|
+
* TTL (Time to Live) specifies the maximum time to cache a resource in the
|
|
4549
|
+
* Cloudflare edge network.
|
|
4550
|
+
*/
|
|
4551
|
+
interface EdgeTTL {
|
|
4552
|
+
/**
|
|
4553
|
+
* The TTL (in seconds) if you choose override_origin mode.
|
|
4554
|
+
*/
|
|
4555
|
+
default: number;
|
|
4556
|
+
/**
|
|
4557
|
+
* edge ttl options
|
|
4558
|
+
*/
|
|
4559
|
+
mode: 'respect_origin' | 'bypass_by_default' | 'override_origin';
|
|
4560
|
+
/**
|
|
4561
|
+
* List of single status codes, or status code ranges to apply the selected mode
|
|
4562
|
+
*/
|
|
4563
|
+
status_code_ttl: Array<EdgeTTL.StatusCodeTTL>;
|
|
4564
|
+
}
|
|
4565
|
+
namespace EdgeTTL {
|
|
4566
|
+
/**
|
|
4567
|
+
* Specify how long Cloudflare should cache the response based on the status code
|
|
4568
|
+
* from the origin. Can be a single status code or a range or status codes
|
|
4569
|
+
*/
|
|
4570
|
+
interface StatusCodeTTL {
|
|
4571
|
+
/**
|
|
4572
|
+
* Time to cache a response (in seconds). A value of 0 is equivalent to setting the
|
|
4573
|
+
* Cache-Control header with the value "no-cache". A value of -1 is equivalent to
|
|
4574
|
+
* setting Cache-Control header with the value of "no-store".
|
|
4575
|
+
*/
|
|
4576
|
+
value: number;
|
|
4577
|
+
/**
|
|
4578
|
+
* The range of status codes used to apply the selected mode.
|
|
4579
|
+
*/
|
|
4580
|
+
status_code_range?: StatusCodeTTL.StatusCodeRange;
|
|
4581
|
+
/**
|
|
4582
|
+
* Set the ttl for responses with this specific status code
|
|
4583
|
+
*/
|
|
4584
|
+
status_code_value?: number;
|
|
4585
|
+
}
|
|
4586
|
+
namespace StatusCodeTTL {
|
|
4587
|
+
/**
|
|
4588
|
+
* The range of status codes used to apply the selected mode.
|
|
4589
|
+
*/
|
|
4590
|
+
interface StatusCodeRange {
|
|
4591
|
+
/**
|
|
4592
|
+
* response status code lower bound
|
|
4593
|
+
*/
|
|
4594
|
+
from: number;
|
|
4595
|
+
/**
|
|
4596
|
+
* response status code upper bound
|
|
4597
|
+
*/
|
|
4598
|
+
to: number;
|
|
4599
|
+
}
|
|
4600
|
+
}
|
|
4601
|
+
}
|
|
4602
|
+
/**
|
|
4603
|
+
* Define if Cloudflare should serve stale content while getting the latest content
|
|
4604
|
+
* from the origin. If on, Cloudflare will not serve stale content while getting
|
|
4605
|
+
* the latest content from the origin.
|
|
4606
|
+
*/
|
|
4607
|
+
interface ServeStale {
|
|
4608
|
+
/**
|
|
4609
|
+
* Defines whether Cloudflare should serve stale content while updating. If true,
|
|
4610
|
+
* Cloudflare will not serve stale content while getting the latest content from
|
|
4611
|
+
* the origin.
|
|
4612
|
+
*/
|
|
4613
|
+
disable_stale_while_updating: boolean;
|
|
4614
|
+
}
|
|
798
4615
|
}
|
|
799
4616
|
}
|
|
800
4617
|
}
|
|
801
4618
|
export declare namespace Rules {
|
|
4619
|
+
export import BlockRule = RulesAPI.BlockRule;
|
|
4620
|
+
export import ChallengeRule = RulesAPI.ChallengeRule;
|
|
4621
|
+
export import CompressResponseRule = RulesAPI.CompressResponseRule;
|
|
4622
|
+
export import ExecuteRule = RulesAPI.ExecuteRule;
|
|
4623
|
+
export import JSChallengeRule = RulesAPI.JSChallengeRule;
|
|
4624
|
+
export import LogRule = RulesAPI.LogRule;
|
|
4625
|
+
export import Logging = RulesAPI.Logging;
|
|
4626
|
+
export import ManagedChallengeRule = RulesAPI.ManagedChallengeRule;
|
|
4627
|
+
export import RedirectRule = RulesAPI.RedirectRule;
|
|
4628
|
+
export import RewriteRule = RulesAPI.RewriteRule;
|
|
4629
|
+
export import RewriteURIPart = RulesAPI.RewriteURIPart;
|
|
4630
|
+
export import RouteRule = RulesAPI.RouteRule;
|
|
4631
|
+
export import RulesetRule = RulesAPI.RulesetRule;
|
|
4632
|
+
export import ScoreRule = RulesAPI.ScoreRule;
|
|
4633
|
+
export import ServeErrorRule = RulesAPI.ServeErrorRule;
|
|
4634
|
+
export import SetCacheSettingsRule = RulesAPI.SetCacheSettingsRule;
|
|
4635
|
+
export import SetConfigRule = RulesAPI.SetConfigRule;
|
|
4636
|
+
export import SkipRule = RulesAPI.SkipRule;
|
|
4637
|
+
export import RuleCreateResponse = RulesAPI.RuleCreateResponse;
|
|
4638
|
+
export import RuleDeleteResponse = RulesAPI.RuleDeleteResponse;
|
|
4639
|
+
export import RuleEditResponse = RulesAPI.RuleEditResponse;
|
|
802
4640
|
export import RuleCreateParams = RulesAPI.RuleCreateParams;
|
|
803
4641
|
export import RuleDeleteParams = RulesAPI.RuleDeleteParams;
|
|
804
4642
|
export import RuleEditParams = RulesAPI.RuleEditParams;
|