cloudflare 4.4.0 → 4.5.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 +72 -0
- package/README.md +2 -4
- package/core.d.ts +7 -4
- package/core.d.ts.map +1 -1
- package/core.js +16 -9
- package/core.js.map +1 -1
- package/core.mjs +16 -9
- package/core.mjs.map +1 -1
- package/index.d.mts +4 -1
- package/index.d.ts +4 -1
- package/index.d.ts.map +1 -1
- package/index.js +7 -3
- package/index.js.map +1 -1
- package/index.mjs +7 -3
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/accounts/tokens/index.d.ts +1 -1
- package/resources/accounts/tokens/index.d.ts.map +1 -1
- package/resources/accounts/tokens/index.js +1 -2
- package/resources/accounts/tokens/index.js.map +1 -1
- package/resources/accounts/tokens/index.mjs +1 -1
- package/resources/accounts/tokens/index.mjs.map +1 -1
- package/resources/accounts/tokens/permission-groups.d.ts +41 -22
- package/resources/accounts/tokens/permission-groups.d.ts.map +1 -1
- package/resources/accounts/tokens/permission-groups.js +12 -15
- package/resources/accounts/tokens/permission-groups.js.map +1 -1
- package/resources/accounts/tokens/permission-groups.mjs +11 -13
- package/resources/accounts/tokens/permission-groups.mjs.map +1 -1
- package/resources/accounts/tokens/tokens.d.ts +8 -19
- package/resources/accounts/tokens/tokens.d.ts.map +1 -1
- package/resources/accounts/tokens/tokens.js +2 -14
- package/resources/accounts/tokens/tokens.js.map +1 -1
- package/resources/accounts/tokens/tokens.mjs +3 -15
- package/resources/accounts/tokens/tokens.mjs.map +1 -1
- package/resources/ai/ai.d.ts +6 -2
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai-gateway/logs.d.ts +3 -1
- package/resources/ai-gateway/logs.d.ts.map +1 -1
- package/resources/alerting/available-alerts.d.ts +3 -1
- package/resources/alerting/available-alerts.d.ts.map +1 -1
- package/resources/alerting/destinations/eligible.d.ts +3 -1
- package/resources/alerting/destinations/eligible.d.ts.map +1 -1
- package/resources/api-gateway/discovery/operations.d.ts +6 -2
- package/resources/api-gateway/discovery/operations.d.ts.map +1 -1
- package/resources/api-gateway/operations/schema-validation.d.ts +9 -29
- package/resources/api-gateway/operations/schema-validation.d.ts.map +1 -1
- package/resources/api-gateway/operations/schema-validation.js +3 -27
- package/resources/api-gateway/operations/schema-validation.js.map +1 -1
- package/resources/api-gateway/operations/schema-validation.mjs +3 -27
- package/resources/api-gateway/operations/schema-validation.mjs.map +1 -1
- package/resources/api-gateway/settings/schema-validation.d.ts +3 -22
- package/resources/api-gateway/settings/schema-validation.d.ts.map +1 -1
- package/resources/api-gateway/settings/schema-validation.js +3 -22
- package/resources/api-gateway/settings/schema-validation.js.map +1 -1
- package/resources/api-gateway/settings/schema-validation.mjs +3 -22
- package/resources/api-gateway/settings/schema-validation.mjs.map +1 -1
- package/resources/api-gateway/user-schemas/hosts.d.ts +1 -9
- package/resources/api-gateway/user-schemas/hosts.d.ts.map +1 -1
- package/resources/api-gateway/user-schemas/hosts.js +1 -9
- package/resources/api-gateway/user-schemas/hosts.js.map +1 -1
- package/resources/api-gateway/user-schemas/hosts.mjs +1 -9
- package/resources/api-gateway/user-schemas/hosts.mjs.map +1 -1
- package/resources/api-gateway/user-schemas/operations.d.ts +1 -10
- package/resources/api-gateway/user-schemas/operations.d.ts.map +1 -1
- package/resources/api-gateway/user-schemas/operations.js +1 -10
- package/resources/api-gateway/user-schemas/operations.js.map +1 -1
- package/resources/api-gateway/user-schemas/operations.mjs +1 -10
- package/resources/api-gateway/user-schemas/operations.mjs.map +1 -1
- package/resources/api-gateway/user-schemas/user-schemas.d.ts +5 -42
- package/resources/api-gateway/user-schemas/user-schemas.d.ts.map +1 -1
- package/resources/api-gateway/user-schemas/user-schemas.js +5 -42
- package/resources/api-gateway/user-schemas/user-schemas.js.map +1 -1
- package/resources/api-gateway/user-schemas/user-schemas.mjs +5 -42
- package/resources/api-gateway/user-schemas/user-schemas.mjs.map +1 -1
- package/resources/bot-management.d.ts +36 -24
- package/resources/bot-management.d.ts.map +1 -1
- package/resources/brand-protection/brand-protection.d.ts +205 -0
- package/resources/brand-protection/brand-protection.d.ts.map +1 -0
- package/resources/brand-protection/brand-protection.js +85 -0
- package/resources/brand-protection/brand-protection.js.map +1 -0
- package/resources/brand-protection/brand-protection.mjs +58 -0
- package/resources/brand-protection/brand-protection.mjs.map +1 -0
- package/resources/brand-protection/index.d.ts +6 -0
- package/resources/brand-protection/index.d.ts.map +1 -0
- package/resources/brand-protection/index.js +15 -0
- package/resources/brand-protection/index.js.map +1 -0
- package/resources/brand-protection/index.mjs +7 -0
- package/resources/brand-protection/index.mjs.map +1 -0
- package/resources/brand-protection/logo-matches.d.ts +4 -0
- package/resources/brand-protection/logo-matches.d.ts.map +1 -0
- package/resources/brand-protection/logo-matches.js +9 -0
- package/resources/brand-protection/logo-matches.js.map +1 -0
- package/resources/brand-protection/logo-matches.mjs +5 -0
- package/resources/brand-protection/logo-matches.mjs.map +1 -0
- package/resources/brand-protection/logos.d.ts +4 -0
- package/resources/brand-protection/logos.d.ts.map +1 -0
- package/resources/brand-protection/logos.js +9 -0
- package/resources/brand-protection/logos.js.map +1 -0
- package/resources/brand-protection/logos.mjs +5 -0
- package/resources/brand-protection/logos.mjs.map +1 -0
- package/resources/brand-protection/matches.d.ts +4 -0
- package/resources/brand-protection/matches.d.ts.map +1 -0
- package/resources/brand-protection/matches.js +9 -0
- package/resources/brand-protection/matches.js.map +1 -0
- package/resources/brand-protection/matches.mjs +5 -0
- package/resources/brand-protection/matches.mjs.map +1 -0
- package/resources/brand-protection/queries.d.ts +4 -0
- package/resources/brand-protection/queries.d.ts.map +1 -0
- package/resources/brand-protection/queries.js +9 -0
- package/resources/brand-protection/queries.js.map +1 -0
- package/resources/brand-protection/queries.mjs +5 -0
- package/resources/brand-protection/queries.mjs.map +1 -0
- package/resources/brand-protection.d.ts +1 -188
- package/resources/brand-protection.d.ts.map +1 -1
- package/resources/brand-protection.js +15 -39
- package/resources/brand-protection.js.map +1 -1
- package/resources/brand-protection.mjs +1 -37
- package/resources/brand-protection.mjs.map +1 -1
- package/resources/browser-rendering/content.d.ts +3 -1
- package/resources/browser-rendering/content.d.ts.map +1 -1
- package/resources/browser-rendering/json.d.ts +9 -3
- package/resources/browser-rendering/json.d.ts.map +1 -1
- package/resources/browser-rendering/links.d.ts +3 -1
- package/resources/browser-rendering/links.d.ts.map +1 -1
- package/resources/browser-rendering/markdown.d.ts +3 -1
- package/resources/browser-rendering/markdown.d.ts.map +1 -1
- package/resources/browser-rendering/pdf.d.ts +87 -1
- package/resources/browser-rendering/pdf.d.ts.map +1 -1
- package/resources/browser-rendering/scrape.d.ts +3 -1
- package/resources/browser-rendering/scrape.d.ts.map +1 -1
- package/resources/browser-rendering/screenshot.d.ts +3 -1
- package/resources/browser-rendering/screenshot.d.ts.map +1 -1
- package/resources/browser-rendering/snapshot.d.ts +3 -1
- package/resources/browser-rendering/snapshot.d.ts.map +1 -1
- package/resources/cache/cache.d.ts +3 -1
- package/resources/cache/cache.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/threat-events.d.ts +20 -52
- package/resources/cloudforce-one/threat-events/threat-events.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/threat-events.js +0 -4
- package/resources/cloudforce-one/threat-events/threat-events.js.map +1 -1
- package/resources/cloudforce-one/threat-events/threat-events.mjs +0 -4
- package/resources/cloudforce-one/threat-events/threat-events.mjs.map +1 -1
- package/resources/custom-hostnames/certificate-pack/certificates.d.ts +3 -1
- package/resources/custom-hostnames/certificate-pack/certificates.d.ts.map +1 -1
- package/resources/custom-hostnames/custom-hostnames.d.ts +21 -7
- package/resources/custom-hostnames/custom-hostnames.d.ts.map +1 -1
- package/resources/dns/records.d.ts +661 -658
- package/resources/dns/records.d.ts.map +1 -1
- package/resources/dns/records.js +3 -0
- package/resources/dns/records.js.map +1 -1
- package/resources/dns/records.mjs +3 -0
- package/resources/dns/records.mjs.map +1 -1
- package/resources/dns-firewall/reverse-dns.d.ts +9 -3
- package/resources/dns-firewall/reverse-dns.d.ts.map +1 -1
- package/resources/email-security/investigate/investigate.d.ts +8 -0
- package/resources/email-security/investigate/investigate.d.ts.map +1 -1
- package/resources/email-security/investigate/investigate.js.map +1 -1
- package/resources/email-security/investigate/investigate.mjs.map +1 -1
- package/resources/email-security/investigate/move.d.ts +10 -10
- package/resources/email-security/investigate/move.d.ts.map +1 -1
- package/resources/email-security/settings/domains.d.ts +3 -3
- package/resources/email-security/settings/domains.d.ts.map +1 -1
- package/resources/email-security/settings/trusted-domains.d.ts +5 -5
- package/resources/email-security/settings/trusted-domains.d.ts.map +1 -1
- package/resources/firewall/lockdowns.d.ts +2 -2
- package/resources/firewall/ua-rules.d.ts +171 -6
- package/resources/firewall/ua-rules.d.ts.map +1 -1
- package/resources/firewall/ua-rules.js.map +1 -1
- package/resources/firewall/ua-rules.mjs.map +1 -1
- package/resources/firewall/waf/overrides.d.ts +10 -4
- package/resources/firewall/waf/overrides.d.ts.map +1 -1
- package/resources/healthchecks/healthchecks.d.ts +6 -2
- package/resources/healthchecks/healthchecks.d.ts.map +1 -1
- package/resources/hyperdrive/configs.d.ts +15 -0
- package/resources/hyperdrive/configs.d.ts.map +1 -1
- package/resources/hyperdrive/configs.js.map +1 -1
- package/resources/hyperdrive/configs.mjs.map +1 -1
- package/resources/hyperdrive/hyperdrive.d.ts +5 -0
- package/resources/hyperdrive/hyperdrive.d.ts.map +1 -1
- package/resources/hyperdrive/hyperdrive.js.map +1 -1
- package/resources/hyperdrive/hyperdrive.mjs.map +1 -1
- package/resources/images/v1/v1.d.ts +5 -1
- package/resources/images/v1/v1.d.ts.map +1 -1
- package/resources/images/v1/v1.js.map +1 -1
- package/resources/images/v1/v1.mjs.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/kv/namespaces/keys.d.ts +44 -52
- package/resources/kv/namespaces/keys.d.ts.map +1 -1
- package/resources/kv/namespaces/keys.js +3 -4
- package/resources/kv/namespaces/keys.js.map +1 -1
- package/resources/kv/namespaces/keys.mjs +3 -4
- package/resources/kv/namespaces/keys.mjs.map +1 -1
- package/resources/kv/namespaces/metadata.d.ts +2 -5
- package/resources/kv/namespaces/metadata.d.ts.map +1 -1
- package/resources/kv/namespaces/namespaces.d.ts +46 -51
- package/resources/kv/namespaces/namespaces.d.ts.map +1 -1
- package/resources/kv/namespaces/namespaces.js +4 -5
- package/resources/kv/namespaces/namespaces.js.map +1 -1
- package/resources/kv/namespaces/namespaces.mjs +4 -5
- package/resources/kv/namespaces/namespaces.mjs.map +1 -1
- package/resources/kv/namespaces/values.d.ts +10 -12
- package/resources/kv/namespaces/values.d.ts.map +1 -1
- package/resources/kv/namespaces/values.js +1 -7
- package/resources/kv/namespaces/values.js.map +1 -1
- package/resources/kv/namespaces/values.mjs +1 -7
- package/resources/kv/namespaces/values.mjs.map +1 -1
- package/resources/load-balancers/load-balancers.d.ts +60 -20
- package/resources/load-balancers/load-balancers.d.ts.map +1 -1
- package/resources/load-balancers/monitors/monitors.d.ts +12 -4
- package/resources/load-balancers/monitors/monitors.d.ts.map +1 -1
- package/resources/load-balancers/monitors/previews.d.ts +6 -2
- package/resources/load-balancers/monitors/previews.d.ts.map +1 -1
- package/resources/load-balancers/pools/health.d.ts +6 -2
- package/resources/load-balancers/pools/health.d.ts.map +1 -1
- package/resources/load-balancers/previews.d.ts +6 -2
- package/resources/load-balancers/previews.d.ts.map +1 -1
- package/resources/logpush/jobs.d.ts +63 -35
- package/resources/logpush/jobs.d.ts.map +1 -1
- package/resources/logpush/jobs.js +39 -0
- package/resources/logpush/jobs.js.map +1 -1
- package/resources/logpush/jobs.mjs +39 -0
- package/resources/logpush/jobs.mjs.map +1 -1
- package/resources/magic-cloud-networking/catalog-syncs/catalog-syncs.d.ts +15 -5
- package/resources/magic-cloud-networking/catalog-syncs/catalog-syncs.d.ts.map +1 -1
- package/resources/magic-cloud-networking/on-ramps/on-ramps.d.ts +195 -65
- package/resources/magic-cloud-networking/on-ramps/on-ramps.d.ts.map +1 -1
- package/resources/magic-cloud-networking/resources.d.ts +30 -10
- package/resources/magic-cloud-networking/resources.d.ts.map +1 -1
- package/resources/magic-transit/connectors/connectors.d.ts +106 -2
- package/resources/magic-transit/connectors/connectors.d.ts.map +1 -1
- package/resources/magic-transit/connectors/connectors.js +33 -1
- package/resources/magic-transit/connectors/connectors.js.map +1 -1
- package/resources/magic-transit/connectors/connectors.mjs +33 -1
- package/resources/magic-transit/connectors/connectors.mjs.map +1 -1
- package/resources/magic-transit/connectors/index.d.ts +1 -1
- package/resources/magic-transit/connectors/index.d.ts.map +1 -1
- package/resources/magic-transit/connectors/index.js.map +1 -1
- package/resources/magic-transit/connectors/index.mjs.map +1 -1
- package/resources/magic-transit/index.d.ts +1 -1
- package/resources/magic-transit/index.d.ts.map +1 -1
- package/resources/magic-transit/index.js.map +1 -1
- package/resources/magic-transit/index.mjs.map +1 -1
- package/resources/magic-transit/magic-transit.d.ts +2 -2
- package/resources/magic-transit/magic-transit.d.ts.map +1 -1
- package/resources/magic-transit/magic-transit.js.map +1 -1
- package/resources/magic-transit/magic-transit.mjs.map +1 -1
- package/resources/magic-transit/sites/lans.d.ts +6 -2
- package/resources/magic-transit/sites/lans.d.ts.map +1 -1
- package/resources/page-rules.d.ts +12 -4
- package/resources/page-rules.d.ts.map +1 -1
- package/resources/pages/projects/projects.d.ts +237 -79
- package/resources/pages/projects/projects.d.ts.map +1 -1
- package/resources/pages/projects/projects.js.map +1 -1
- package/resources/pages/projects/projects.mjs.map +1 -1
- package/resources/radar/ai/bots/summary.d.ts +3 -1
- package/resources/radar/ai/bots/summary.d.ts.map +1 -1
- package/resources/radar/ai/inference/summary.d.ts +6 -2
- package/resources/radar/ai/inference/summary.d.ts.map +1 -1
- package/resources/radar/as112/summary.d.ts +6 -2
- package/resources/radar/as112/summary.d.ts.map +1 -1
- package/resources/radar/attacks/layer3/summary.d.ts +9 -3
- package/resources/radar/attacks/layer3/summary.d.ts.map +1 -1
- package/resources/radar/attacks/layer7/summary.d.ts +15 -5
- package/resources/radar/attacks/layer7/summary.d.ts.map +1 -1
- package/resources/radar/bots/bots.d.ts +588 -0
- package/resources/radar/bots/bots.d.ts.map +1 -0
- package/resources/radar/bots/bots.js +73 -0
- package/resources/radar/bots/bots.js.map +1 -0
- package/resources/radar/bots/bots.mjs +46 -0
- package/resources/radar/bots/bots.mjs.map +1 -0
- package/resources/radar/bots/index.d.ts +3 -0
- package/resources/radar/bots/index.d.ts.map +1 -0
- package/resources/radar/bots/index.js +9 -0
- package/resources/radar/bots/index.js.map +1 -0
- package/resources/radar/bots/index.mjs +4 -0
- package/resources/radar/bots/index.mjs.map +1 -0
- package/resources/radar/bots/web-crawlers.d.ts +258 -0
- package/resources/radar/bots/web-crawlers.d.ts.map +1 -0
- package/resources/radar/bots/web-crawlers.js +28 -0
- package/resources/radar/bots/web-crawlers.js.map +1 -0
- package/resources/radar/bots/web-crawlers.mjs +24 -0
- package/resources/radar/bots/web-crawlers.mjs.map +1 -0
- package/resources/radar/bots.d.ts +2 -0
- package/resources/radar/bots.d.ts.map +1 -0
- package/resources/radar/bots.js +19 -0
- package/resources/radar/bots.js.map +1 -0
- package/resources/radar/bots.mjs +3 -0
- package/resources/radar/bots.mjs.map +1 -0
- package/resources/radar/dns/summary.d.ts +6 -2
- package/resources/radar/dns/summary.d.ts.map +1 -1
- package/resources/radar/entities/asns.d.ts +0 -12
- package/resources/radar/entities/asns.d.ts.map +1 -1
- package/resources/radar/index.d.ts +1 -0
- package/resources/radar/index.d.ts.map +1 -1
- package/resources/radar/index.js +25 -23
- package/resources/radar/index.js.map +1 -1
- package/resources/radar/index.mjs +1 -0
- package/resources/radar/index.mjs.map +1 -1
- package/resources/radar/radar.d.ts +4 -0
- package/resources/radar/radar.d.ts.map +1 -1
- package/resources/radar/radar.js +4 -0
- package/resources/radar/radar.js.map +1 -1
- package/resources/radar/radar.mjs +4 -0
- package/resources/radar/radar.mjs.map +1 -1
- package/resources/radar/search.d.ts +3 -3
- package/resources/radar/search.d.ts.map +1 -1
- package/resources/radar/search.js +1 -1
- package/resources/radar/search.mjs +1 -1
- package/resources/radar/verified-bots/top.d.ts +2 -9
- package/resources/radar/verified-bots/top.d.ts.map +1 -1
- package/resources/radar/verified-bots/top.js.map +1 -1
- package/resources/radar/verified-bots/top.mjs.map +1 -1
- package/resources/rate-limits.d.ts +4 -4
- package/resources/request-tracers/traces.d.ts +6 -2
- package/resources/request-tracers/traces.d.ts.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 +2 -1
- package/resources/rules/index.js.map +1 -1
- package/resources/rules/index.mjs +1 -1
- package/resources/rules/index.mjs.map +1 -1
- package/resources/rules/lists/bulk-operations.d.ts +17 -38
- package/resources/rules/lists/bulk-operations.d.ts.map +1 -1
- package/resources/rules/lists/index.d.ts +2 -2
- package/resources/rules/lists/index.d.ts.map +1 -1
- package/resources/rules/lists/index.js +3 -1
- 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 +114 -159
- package/resources/rules/lists/items.d.ts.map +1 -1
- package/resources/rules/lists/items.js +20 -15
- package/resources/rules/lists/items.js.map +1 -1
- package/resources/rules/lists/items.mjs +18 -14
- package/resources/rules/lists/items.mjs.map +1 -1
- package/resources/rules/lists/lists.d.ts +119 -237
- package/resources/rules/lists/lists.d.ts.map +1 -1
- package/resources/rules/lists/lists.js +13 -4
- package/resources/rules/lists/lists.js.map +1 -1
- package/resources/rules/lists/lists.mjs +12 -4
- package/resources/rules/lists/lists.mjs.map +1 -1
- package/resources/rules/rules.d.ts +2 -2
- package/resources/rules/rules.d.ts.map +1 -1
- package/resources/rules/rules.js +1 -0
- package/resources/rules/rules.js.map +1 -1
- package/resources/rules/rules.mjs +2 -1
- package/resources/rules/rules.mjs.map +1 -1
- package/resources/rulesets/rules.d.ts +36 -12
- package/resources/rulesets/rules.d.ts.map +1 -1
- package/resources/schema-validation/settings/operations.d.ts +6 -2
- package/resources/schema-validation/settings/operations.d.ts.map +1 -1
- package/resources/shared.d.ts +13 -3
- package/resources/shared.d.ts.map +1 -1
- package/resources/spectrum/analytics/events/bytimes.d.ts +9 -3
- package/resources/spectrum/analytics/events/bytimes.d.ts.map +1 -1
- package/resources/spectrum/analytics/events/summaries.d.ts +9 -3
- package/resources/spectrum/analytics/events/summaries.d.ts.map +1 -1
- package/resources/url-scanner/scans.d.ts +6 -2
- package/resources/url-scanner/scans.d.ts.map +1 -1
- package/resources/user/tokens/index.d.ts +1 -1
- package/resources/user/tokens/index.d.ts.map +1 -1
- package/resources/user/tokens/index.js.map +1 -1
- package/resources/user/tokens/index.mjs.map +1 -1
- package/resources/user/tokens/permission-groups.d.ts +12 -1
- package/resources/user/tokens/permission-groups.d.ts.map +1 -1
- package/resources/user/tokens/permission-groups.js +9 -13
- package/resources/user/tokens/permission-groups.js.map +1 -1
- package/resources/user/tokens/permission-groups.mjs +9 -13
- package/resources/user/tokens/permission-groups.mjs.map +1 -1
- package/resources/user/tokens/tokens.d.ts +8 -19
- package/resources/user/tokens/tokens.d.ts.map +1 -1
- package/resources/user/tokens/tokens.js +2 -13
- package/resources/user/tokens/tokens.js.map +1 -1
- package/resources/user/tokens/tokens.mjs +2 -13
- package/resources/user/tokens/tokens.mjs.map +1 -1
- package/resources/workers/assets/upload.d.ts +3 -1
- package/resources/workers/assets/upload.d.ts.map +1 -1
- package/resources/workers/observability/telemetry.d.ts +26 -6
- package/resources/workers/observability/telemetry.d.ts.map +1 -1
- package/resources/workers/scripts/assets/upload.d.ts +3 -1
- package/resources/workers/scripts/assets/upload.d.ts.map +1 -1
- package/resources/workers/scripts/scripts.d.ts +10 -2
- package/resources/workers/scripts/scripts.d.ts.map +1 -1
- package/resources/workers/scripts/scripts.js.map +1 -1
- package/resources/workers/scripts/scripts.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/asset-upload.d.ts +3 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/asset-upload.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts +10 -2
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.mjs.map +1 -1
- package/resources/workflows/instances/instances.d.ts +5 -0
- package/resources/workflows/instances/instances.d.ts.map +1 -1
- package/resources/workflows/instances/instances.js.map +1 -1
- package/resources/workflows/instances/instances.mjs.map +1 -1
- package/resources/zaraz/config.d.ts +84 -28
- package/resources/zaraz/config.d.ts.map +1 -1
- package/resources/zaraz/history/configs.d.ts +3 -1
- package/resources/zaraz/history/configs.d.ts.map +1 -1
- package/resources/zaraz/zaraz.d.ts +18 -6
- package/resources/zaraz/zaraz.d.ts.map +1 -1
- package/resources/zero-trust/access/applications/applications.d.ts +50 -15
- package/resources/zero-trust/access/applications/applications.d.ts.map +1 -1
- package/resources/zero-trust/access/applications/applications.js.map +1 -1
- package/resources/zero-trust/access/applications/applications.mjs.map +1 -1
- package/resources/zero-trust/access/applications/policies.d.ts +46 -2
- package/resources/zero-trust/access/applications/policies.d.ts.map +1 -1
- package/resources/zero-trust/access/applications/policies.js.map +1 -1
- package/resources/zero-trust/access/applications/policies.mjs.map +1 -1
- package/resources/zero-trust/access/users/active-sessions.d.ts +9 -3
- package/resources/zero-trust/access/users/active-sessions.d.ts.map +1 -1
- package/resources/zero-trust/access/users/last-seen-identity.d.ts +6 -2
- package/resources/zero-trust/access/users/last-seen-identity.d.ts.map +1 -1
- package/resources/zero-trust/devices/devices_.d.ts +1 -1
- package/resources/zero-trust/devices/dex-tests.d.ts +1 -1
- package/resources/zero-trust/devices/dex-tests.js +1 -1
- package/resources/zero-trust/devices/dex-tests.mjs +1 -1
- package/resources/zero-trust/devices/override-codes.d.ts +3 -1
- package/resources/zero-trust/devices/override-codes.d.ts.map +1 -1
- package/resources/zero-trust/devices/registrations.d.ts +4 -4
- package/resources/zero-trust/dex/commands/commands.d.ts +3 -1
- package/resources/zero-trust/dex/commands/commands.d.ts.map +1 -1
- package/resources/zero-trust/dlp/datasets/datasets.d.ts +3 -3
- package/resources/zero-trust/dlp/datasets/datasets.d.ts.map +1 -1
- package/resources/zero-trust/dlp/datasets/upload.d.ts +1 -1
- package/resources/zero-trust/dlp/datasets/upload.d.ts.map +1 -1
- package/resources/zero-trust/dlp/datasets/versions/entries.d.ts +1 -1
- package/resources/zero-trust/dlp/datasets/versions/entries.d.ts.map +1 -1
- package/resources/zero-trust/dlp/datasets/versions/versions.d.ts +1 -1
- package/resources/zero-trust/dlp/datasets/versions/versions.d.ts.map +1 -1
- package/resources/zero-trust/dlp/dlp.d.ts +2 -2
- 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/email/rules.d.ts +3 -1
- package/resources/zero-trust/dlp/email/rules.d.ts.map +1 -1
- package/resources/zero-trust/dlp/entries/custom.d.ts +219 -0
- package/resources/zero-trust/dlp/entries/custom.d.ts.map +1 -0
- package/resources/zero-trust/dlp/entries/custom.js +68 -0
- package/resources/zero-trust/dlp/entries/custom.js.map +1 -0
- package/resources/zero-trust/dlp/entries/custom.mjs +64 -0
- package/resources/zero-trust/dlp/entries/custom.mjs.map +1 -0
- package/resources/zero-trust/dlp/entries/entries.d.ts +413 -0
- package/resources/zero-trust/dlp/entries/entries.d.ts.map +1 -0
- package/resources/zero-trust/dlp/entries/entries.js +140 -0
- package/resources/zero-trust/dlp/entries/entries.js.map +1 -0
- package/resources/zero-trust/dlp/entries/entries.mjs +112 -0
- package/resources/zero-trust/dlp/entries/entries.mjs.map +1 -0
- package/resources/zero-trust/dlp/entries/index.d.ts +5 -0
- package/resources/zero-trust/dlp/entries/index.d.ts.map +1 -0
- package/resources/zero-trust/dlp/entries/index.js +14 -0
- package/resources/zero-trust/dlp/entries/index.js.map +1 -0
- package/resources/zero-trust/dlp/entries/index.mjs +6 -0
- package/resources/zero-trust/dlp/entries/index.mjs.map +1 -0
- package/resources/zero-trust/dlp/entries/integration.d.ts +98 -0
- package/resources/zero-trust/dlp/entries/integration.d.ts.map +1 -0
- package/resources/zero-trust/dlp/entries/integration.js +65 -0
- package/resources/zero-trust/dlp/entries/integration.js.map +1 -0
- package/resources/zero-trust/dlp/entries/integration.mjs +61 -0
- package/resources/zero-trust/dlp/entries/integration.mjs.map +1 -0
- package/resources/zero-trust/dlp/entries/predefined.d.ts +122 -0
- package/resources/zero-trust/dlp/entries/predefined.d.ts.map +1 -0
- package/resources/zero-trust/dlp/entries/predefined.js +65 -0
- package/resources/zero-trust/dlp/entries/predefined.js.map +1 -0
- package/resources/zero-trust/dlp/entries/predefined.mjs +61 -0
- package/resources/zero-trust/dlp/entries/predefined.mjs.map +1 -0
- package/resources/zero-trust/dlp/entries.d.ts +1 -400
- package/resources/zero-trust/dlp/entries.d.ts.map +1 -1
- package/resources/zero-trust/dlp/entries.js +15 -98
- package/resources/zero-trust/dlp/entries.js.map +1 -1
- package/resources/zero-trust/dlp/entries.mjs +1 -95
- package/resources/zero-trust/dlp/entries.mjs.map +1 -1
- package/resources/zero-trust/dlp/index.d.ts +1 -1
- package/resources/zero-trust/dlp/index.d.ts.map +1 -1
- package/resources/zero-trust/dlp/index.js +6 -6
- package/resources/zero-trust/dlp/index.js.map +1 -1
- package/resources/zero-trust/dlp/index.mjs +1 -1
- package/resources/zero-trust/dlp/profiles/custom.d.ts +15 -5
- package/resources/zero-trust/dlp/profiles/custom.d.ts.map +1 -1
- package/resources/zero-trust/dlp/profiles/index.d.ts +1 -1
- package/resources/zero-trust/dlp/profiles/index.d.ts.map +1 -1
- package/resources/zero-trust/dlp/profiles/index.js.map +1 -1
- package/resources/zero-trust/dlp/profiles/index.mjs.map +1 -1
- package/resources/zero-trust/dlp/profiles/predefined.d.ts +76 -4
- package/resources/zero-trust/dlp/profiles/predefined.d.ts.map +1 -1
- package/resources/zero-trust/dlp/profiles/predefined.js +36 -0
- package/resources/zero-trust/dlp/profiles/predefined.js.map +1 -1
- package/resources/zero-trust/dlp/profiles/predefined.mjs +36 -0
- package/resources/zero-trust/dlp/profiles/predefined.mjs.map +1 -1
- package/resources/zero-trust/dlp/profiles/profiles.d.ts +11 -11
- package/resources/zero-trust/dlp/profiles/profiles.d.ts.map +1 -1
- package/resources/zero-trust/dlp/profiles/profiles.js.map +1 -1
- package/resources/zero-trust/dlp/profiles/profiles.mjs.map +1 -1
- package/resources/zero-trust/gateway/configurations/configurations.d.ts +18 -26
- package/resources/zero-trust/gateway/configurations/configurations.d.ts.map +1 -1
- package/resources/zero-trust/gateway/configurations/configurations.js.map +1 -1
- package/resources/zero-trust/gateway/configurations/configurations.mjs.map +1 -1
- package/resources/zero-trust/gateway/lists/lists.d.ts +28 -14
- package/resources/zero-trust/gateway/lists/lists.d.ts.map +1 -1
- package/resources/zero-trust/gateway/lists/lists.js.map +1 -1
- package/resources/zero-trust/gateway/lists/lists.mjs.map +1 -1
- package/resources/zero-trust/gateway/rules.d.ts +6 -2
- package/resources/zero-trust/gateway/rules.d.ts.map +1 -1
- package/resources/zero-trust/risk-scoring/behaviours.d.ts +9 -3
- package/resources/zero-trust/risk-scoring/behaviours.d.ts.map +1 -1
- package/resources/zones/index.d.ts +1 -1
- package/resources/zones/index.d.ts.map +1 -1
- package/resources/zones/index.js.map +1 -1
- package/resources/zones/index.mjs +1 -1
- package/resources/zones/index.mjs.map +1 -1
- package/resources/zones/subscriptions.d.ts +74 -0
- package/resources/zones/subscriptions.d.ts.map +1 -1
- package/resources/zones/subscriptions.js +44 -0
- package/resources/zones/subscriptions.js.map +1 -1
- package/resources/zones/subscriptions.mjs +44 -0
- package/resources/zones/subscriptions.mjs.map +1 -1
- package/resources/zones/zones.d.ts +2 -2
- package/resources/zones/zones.d.ts.map +1 -1
- package/resources/zones/zones.js.map +1 -1
- package/resources/zones/zones.mjs +1 -1
- package/resources/zones/zones.mjs.map +1 -1
- package/src/core.ts +17 -8
- package/src/index.ts +11 -1
- package/src/resources/accounts/tokens/index.ts +0 -1
- package/src/resources/accounts/tokens/permission-groups.ts +59 -36
- package/src/resources/accounts/tokens/tokens.ts +7 -21
- package/src/resources/ai/ai.ts +2 -2
- package/src/resources/ai-gateway/logs.ts +1 -1
- package/src/resources/alerting/available-alerts.ts +1 -1
- package/src/resources/alerting/destinations/eligible.ts +1 -1
- package/src/resources/api-gateway/discovery/operations.ts +2 -2
- package/src/resources/api-gateway/operations/schema-validation.ts +5 -29
- package/src/resources/api-gateway/settings/schema-validation.ts +3 -22
- package/src/resources/api-gateway/user-schemas/hosts.ts +1 -9
- package/src/resources/api-gateway/user-schemas/operations.ts +1 -10
- package/src/resources/api-gateway/user-schemas/user-schemas.ts +5 -42
- package/src/resources/bot-management.ts +36 -24
- package/src/resources/brand-protection/brand-protection.ts +275 -0
- package/src/resources/brand-protection/index.ts +7 -0
- package/src/resources/brand-protection/logo-matches.ts +5 -0
- package/src/resources/brand-protection/logos.ts +5 -0
- package/src/resources/brand-protection/matches.ts +5 -0
- package/src/resources/brand-protection/queries.ts +5 -0
- package/src/resources/brand-protection.ts +1 -247
- package/src/resources/browser-rendering/content.ts +1 -1
- package/src/resources/browser-rendering/json.ts +3 -3
- package/src/resources/browser-rendering/links.ts +1 -1
- package/src/resources/browser-rendering/markdown.ts +1 -1
- package/src/resources/browser-rendering/pdf.ts +106 -1
- package/src/resources/browser-rendering/scrape.ts +1 -1
- package/src/resources/browser-rendering/screenshot.ts +1 -1
- package/src/resources/browser-rendering/snapshot.ts +1 -1
- package/src/resources/cache/cache.ts +1 -1
- package/src/resources/cloudforce-one/threat-events/threat-events.ts +19 -87
- package/src/resources/custom-hostnames/certificate-pack/certificates.ts +1 -1
- package/src/resources/custom-hostnames/custom-hostnames.ts +7 -7
- package/src/resources/dns/records.ts +773 -770
- package/src/resources/dns-firewall/reverse-dns.ts +3 -3
- package/src/resources/email-security/investigate/investigate.ts +10 -0
- package/src/resources/email-security/investigate/move.ts +12 -12
- package/src/resources/email-security/settings/domains.ts +3 -3
- package/src/resources/email-security/settings/trusted-domains.ts +5 -5
- package/src/resources/firewall/lockdowns.ts +2 -2
- package/src/resources/firewall/ua-rules.ts +199 -6
- package/src/resources/firewall/waf/overrides.ts +4 -4
- package/src/resources/healthchecks/healthchecks.ts +2 -2
- package/src/resources/hyperdrive/configs.ts +18 -0
- package/src/resources/hyperdrive/hyperdrive.ts +6 -0
- package/src/resources/images/v1/v1.ts +6 -1
- package/src/resources/index.ts +1 -1
- package/src/resources/kv/namespaces/keys.ts +38 -52
- package/src/resources/kv/namespaces/metadata.ts +2 -5
- package/src/resources/kv/namespaces/namespaces.ts +40 -51
- package/src/resources/kv/namespaces/values.ts +12 -19
- package/src/resources/load-balancers/load-balancers.ts +20 -20
- package/src/resources/load-balancers/monitors/monitors.ts +4 -4
- package/src/resources/load-balancers/monitors/previews.ts +2 -2
- package/src/resources/load-balancers/pools/health.ts +2 -2
- package/src/resources/load-balancers/previews.ts +2 -2
- package/src/resources/logpush/jobs.ts +63 -35
- package/src/resources/magic-cloud-networking/catalog-syncs/catalog-syncs.ts +5 -5
- package/src/resources/magic-cloud-networking/on-ramps/on-ramps.ts +65 -65
- package/src/resources/magic-cloud-networking/resources.ts +10 -10
- package/src/resources/magic-transit/connectors/connectors.ts +167 -1
- package/src/resources/magic-transit/connectors/index.ts +4 -0
- package/src/resources/magic-transit/index.ts +4 -0
- package/src/resources/magic-transit/magic-transit.ts +8 -0
- package/src/resources/magic-transit/sites/lans.ts +2 -2
- package/src/resources/page-rules.ts +4 -4
- package/src/resources/pages/projects/projects.ts +93 -88
- package/src/resources/radar/ai/bots/summary.ts +1 -1
- package/src/resources/radar/ai/inference/summary.ts +2 -2
- package/src/resources/radar/as112/summary.ts +2 -2
- package/src/resources/radar/attacks/layer3/summary.ts +3 -3
- package/src/resources/radar/attacks/layer7/summary.ts +5 -5
- package/src/resources/radar/bots/bots.ts +927 -0
- package/src/resources/radar/bots/index.ts +22 -0
- package/src/resources/radar/bots/web-crawlers.ts +384 -0
- package/src/resources/radar/bots.ts +3 -0
- package/src/resources/radar/dns/summary.ts +2 -2
- package/src/resources/radar/entities/asns.ts +0 -15
- package/src/resources/radar/index.ts +13 -0
- package/src/resources/radar/radar.ts +30 -0
- package/src/resources/radar/search.ts +3 -3
- package/src/resources/radar/verified-bots/top.ts +2 -9
- package/src/resources/rate-limits.ts +4 -4
- package/src/resources/request-tracers/traces.ts +2 -2
- package/src/resources/rules/index.ts +1 -1
- package/src/resources/rules/lists/bulk-operations.ts +17 -45
- package/src/resources/rules/lists/index.ts +2 -1
- package/src/resources/rules/lists/items.ts +128 -181
- package/src/resources/rules/lists/lists.ts +141 -286
- package/src/resources/rules/rules.ts +3 -2
- package/src/resources/rulesets/rules.ts +40 -40
- package/src/resources/schema-validation/settings/operations.ts +2 -2
- package/src/resources/shared.ts +3 -3
- package/src/resources/spectrum/analytics/events/bytimes.ts +3 -3
- package/src/resources/spectrum/analytics/events/summaries.ts +3 -3
- package/src/resources/url-scanner/scans.ts +2 -2
- package/src/resources/user/tokens/index.ts +1 -0
- package/src/resources/user/tokens/permission-groups.ts +29 -5
- package/src/resources/user/tokens/tokens.ts +9 -18
- package/src/resources/workers/assets/upload.ts +1 -1
- package/src/resources/workers/observability/telemetry.ts +30 -30
- package/src/resources/workers/scripts/assets/upload.ts +1 -1
- package/src/resources/workers/scripts/scripts.ts +9 -2
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/asset-upload.ts +1 -1
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.ts +9 -2
- package/src/resources/workflows/instances/instances.ts +7 -0
- package/src/resources/zaraz/config.ts +38 -36
- package/src/resources/zaraz/history/configs.ts +1 -1
- package/src/resources/zaraz/zaraz.ts +6 -6
- package/src/resources/zero-trust/access/applications/applications.ts +21 -15
- package/src/resources/zero-trust/access/applications/policies.ts +54 -0
- package/src/resources/zero-trust/access/users/active-sessions.ts +3 -3
- package/src/resources/zero-trust/access/users/last-seen-identity.ts +2 -2
- package/src/resources/zero-trust/devices/devices_.ts +1 -1
- package/src/resources/zero-trust/devices/dex-tests.ts +1 -1
- package/src/resources/zero-trust/devices/override-codes.ts +1 -1
- package/src/resources/zero-trust/devices/registrations.ts +4 -4
- package/src/resources/zero-trust/dex/commands/commands.ts +1 -1
- package/src/resources/zero-trust/dlp/datasets/datasets.ts +3 -3
- package/src/resources/zero-trust/dlp/datasets/upload.ts +1 -1
- package/src/resources/zero-trust/dlp/datasets/versions/entries.ts +1 -1
- package/src/resources/zero-trust/dlp/datasets/versions/versions.ts +1 -1
- package/src/resources/zero-trust/dlp/dlp.ts +15 -15
- package/src/resources/zero-trust/dlp/email/rules.ts +1 -1
- package/src/resources/zero-trust/dlp/entries/custom.ts +342 -0
- package/src/resources/zero-trust/dlp/entries/entries.ts +727 -0
- package/src/resources/zero-trust/dlp/entries/index.ts +43 -0
- package/src/resources/zero-trust/dlp/entries/integration.ts +165 -0
- package/src/resources/zero-trust/dlp/entries/predefined.ts +191 -0
- package/src/resources/zero-trust/dlp/entries.ts +1 -658
- package/src/resources/zero-trust/dlp/index.ts +1 -1
- package/src/resources/zero-trust/dlp/profiles/custom.ts +24 -4
- package/src/resources/zero-trust/dlp/profiles/index.ts +3 -0
- package/src/resources/zero-trust/dlp/profiles/predefined.ts +115 -3
- package/src/resources/zero-trust/dlp/profiles/profiles.ts +15 -9
- package/src/resources/zero-trust/gateway/configurations/configurations.ts +22 -30
- package/src/resources/zero-trust/gateway/lists/lists.ts +32 -16
- package/src/resources/zero-trust/gateway/rules.ts +2 -2
- package/src/resources/zero-trust/risk-scoring/behaviours.ts +3 -3
- package/src/resources/zones/index.ts +6 -1
- package/src/resources/zones/subscriptions.ts +117 -1
- package/src/resources/zones/zones.ts +12 -2
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-schemas.d.ts","sourceRoot":"","sources":["../../../src/resources/api-gateway/user-schemas/user-schemas.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AACtC,OAAO,KAAK,QAAQ,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,sCAAsC,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAC1G,OAAO,KAAK,aAAa,MAAM,cAAc,CAAC;AAC9C,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,2CAA2C,EAC3C,UAAU,EACX,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AAE9F,qBAAa,WAAY,SAAQ,WAAW;IAC1C,UAAU,EAAE,aAAa,CAAC,UAAU,CAA8C;IAClF,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IAEzD
|
|
1
|
+
{"version":3,"file":"user-schemas.d.ts","sourceRoot":"","sources":["../../../src/resources/api-gateway/user-schemas/user-schemas.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AACtC,OAAO,KAAK,QAAQ,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,sCAAsC,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAC1G,OAAO,KAAK,aAAa,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C,IAAI,2CAA2C,EAC1F,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,sCAAsC,IAAI,sCAAsC,EAChF,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
|
|
@@ -41,15 +41,7 @@ class UserSchemas extends resource_1.APIResource {
|
|
|
41
41
|
/**
|
|
42
42
|
* Upload a schema to a zone
|
|
43
43
|
*
|
|
44
|
-
* @
|
|
45
|
-
* ```ts
|
|
46
|
-
* const schemaUpload =
|
|
47
|
-
* await client.apiGateway.userSchemas.create({
|
|
48
|
-
* zone_id: '023e105f4ecef8ad9ca31a8372d0c353',
|
|
49
|
-
* file: fs.createReadStream('path/to/file'),
|
|
50
|
-
* kind: 'openapi_v3',
|
|
51
|
-
* });
|
|
52
|
-
* ```
|
|
44
|
+
* @deprecated Use [Schema Validation API](https://developers.cloudflare.com/api/resources/schema_validation/) instead.
|
|
53
45
|
*/
|
|
54
46
|
create(params, options) {
|
|
55
47
|
const { zone_id, ...body } = params;
|
|
@@ -58,15 +50,7 @@ class UserSchemas extends resource_1.APIResource {
|
|
|
58
50
|
/**
|
|
59
51
|
* Retrieve information about all schemas on a zone
|
|
60
52
|
*
|
|
61
|
-
* @
|
|
62
|
-
* ```ts
|
|
63
|
-
* // Automatically fetches more pages as needed.
|
|
64
|
-
* for await (const publicSchema of client.apiGateway.userSchemas.list(
|
|
65
|
-
* { zone_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
66
|
-
* )) {
|
|
67
|
-
* // ...
|
|
68
|
-
* }
|
|
69
|
-
* ```
|
|
53
|
+
* @deprecated Use [Schema Validation API](https://developers.cloudflare.com/api/resources/schema_validation/) instead.
|
|
70
54
|
*/
|
|
71
55
|
list(params, options) {
|
|
72
56
|
const { zone_id, ...query } = params;
|
|
@@ -75,14 +59,7 @@ class UserSchemas extends resource_1.APIResource {
|
|
|
75
59
|
/**
|
|
76
60
|
* Delete a schema
|
|
77
61
|
*
|
|
78
|
-
* @
|
|
79
|
-
* ```ts
|
|
80
|
-
* const userSchema =
|
|
81
|
-
* await client.apiGateway.userSchemas.delete(
|
|
82
|
-
* 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415',
|
|
83
|
-
* { zone_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
84
|
-
* );
|
|
85
|
-
* ```
|
|
62
|
+
* @deprecated Use [Schema Validation API](https://developers.cloudflare.com/api/resources/schema_validation/) instead.
|
|
86
63
|
*/
|
|
87
64
|
delete(schemaId, params, options) {
|
|
88
65
|
const { zone_id } = params;
|
|
@@ -91,14 +68,7 @@ class UserSchemas extends resource_1.APIResource {
|
|
|
91
68
|
/**
|
|
92
69
|
* Enable validation for a schema
|
|
93
70
|
*
|
|
94
|
-
* @
|
|
95
|
-
* ```ts
|
|
96
|
-
* const publicSchema =
|
|
97
|
-
* await client.apiGateway.userSchemas.edit(
|
|
98
|
-
* 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415',
|
|
99
|
-
* { zone_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
100
|
-
* );
|
|
101
|
-
* ```
|
|
71
|
+
* @deprecated Use [Schema Validation API](https://developers.cloudflare.com/api/resources/schema_validation/) instead.
|
|
102
72
|
*/
|
|
103
73
|
edit(schemaId, params, options) {
|
|
104
74
|
const { zone_id, ...body } = params;
|
|
@@ -110,14 +80,7 @@ class UserSchemas extends resource_1.APIResource {
|
|
|
110
80
|
/**
|
|
111
81
|
* Retrieve information about a specific schema on a zone
|
|
112
82
|
*
|
|
113
|
-
* @
|
|
114
|
-
* ```ts
|
|
115
|
-
* const publicSchema =
|
|
116
|
-
* await client.apiGateway.userSchemas.get(
|
|
117
|
-
* 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415',
|
|
118
|
-
* { zone_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
119
|
-
* );
|
|
120
|
-
* ```
|
|
83
|
+
* @deprecated Use [Schema Validation API](https://developers.cloudflare.com/api/resources/schema_validation/) instead.
|
|
121
84
|
*/
|
|
122
85
|
get(schemaId, params, options) {
|
|
123
86
|
const { zone_id, ...query } = params;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-schemas.js","sourceRoot":"","sources":["../../../src/resources/api-gateway/user-schemas/user-schemas.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,mDAAgD;AAChD,uDAAsC;AACtC,qDAAoC;AACpC,sCAA0G;AAC1G,+DAA8C;AAC9C,gDAKsB;AACtB,uDAA8F;AAE9F,MAAa,WAAY,SAAQ,sBAAW;IAA5C;;QACE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClF,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"user-schemas.js","sourceRoot":"","sources":["../../../src/resources/api-gateway/user-schemas/user-schemas.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,mDAAgD;AAChD,uDAAsC;AACtC,qDAAoC;AACpC,sCAA0G;AAC1G,+DAA8C;AAC9C,gDAKsB;AACtB,uDAA8F;AAE9F,MAAa,WAAY,SAAQ,sBAAW;IAA5C;;QACE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClF,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAqF3D,CAAC;IAnFC;;;;OAIG;IACH,MAAM,CAAC,MAA8B,EAAE,OAA6B;QAClE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OACE,IAAI,CAAC,OAAO,CAAC,I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CAAC,UAAU,OAAO,6BAA6B,QAAQ,EAAE,EAAE;YACzE,KAAK;YACL,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;CACF;AAvFD,kCAuFC;AAED,MAAa,kCAAmC,SAAQ,kCAAmC;CAAG;AAA9F,gFAA8F;AA8K9F,WAAW,CAAC,kCAAkC,GAAG,kCAAkC,CAAC;AACpF,WAAW,CAAC,UAAU,GAAG,uBAAU,CAAC;AACpC,WAAW,CAAC,2CAA2C,GAAG,wDAA2C,CAAC;AACtG,WAAW,CAAC,KAAK,GAAG,aAAK,CAAC;AAC1B,WAAW,CAAC,sCAAsC,GAAG,8CAAsC,CAAC"}
|
|
@@ -15,15 +15,7 @@ export class UserSchemas extends APIResource {
|
|
|
15
15
|
/**
|
|
16
16
|
* Upload a schema to a zone
|
|
17
17
|
*
|
|
18
|
-
* @
|
|
19
|
-
* ```ts
|
|
20
|
-
* const schemaUpload =
|
|
21
|
-
* await client.apiGateway.userSchemas.create({
|
|
22
|
-
* zone_id: '023e105f4ecef8ad9ca31a8372d0c353',
|
|
23
|
-
* file: fs.createReadStream('path/to/file'),
|
|
24
|
-
* kind: 'openapi_v3',
|
|
25
|
-
* });
|
|
26
|
-
* ```
|
|
18
|
+
* @deprecated Use [Schema Validation API](https://developers.cloudflare.com/api/resources/schema_validation/) instead.
|
|
27
19
|
*/
|
|
28
20
|
create(params, options) {
|
|
29
21
|
const { zone_id, ...body } = params;
|
|
@@ -32,15 +24,7 @@ export class UserSchemas extends APIResource {
|
|
|
32
24
|
/**
|
|
33
25
|
* Retrieve information about all schemas on a zone
|
|
34
26
|
*
|
|
35
|
-
* @
|
|
36
|
-
* ```ts
|
|
37
|
-
* // Automatically fetches more pages as needed.
|
|
38
|
-
* for await (const publicSchema of client.apiGateway.userSchemas.list(
|
|
39
|
-
* { zone_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
40
|
-
* )) {
|
|
41
|
-
* // ...
|
|
42
|
-
* }
|
|
43
|
-
* ```
|
|
27
|
+
* @deprecated Use [Schema Validation API](https://developers.cloudflare.com/api/resources/schema_validation/) instead.
|
|
44
28
|
*/
|
|
45
29
|
list(params, options) {
|
|
46
30
|
const { zone_id, ...query } = params;
|
|
@@ -49,14 +33,7 @@ export class UserSchemas extends APIResource {
|
|
|
49
33
|
/**
|
|
50
34
|
* Delete a schema
|
|
51
35
|
*
|
|
52
|
-
* @
|
|
53
|
-
* ```ts
|
|
54
|
-
* const userSchema =
|
|
55
|
-
* await client.apiGateway.userSchemas.delete(
|
|
56
|
-
* 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415',
|
|
57
|
-
* { zone_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
58
|
-
* );
|
|
59
|
-
* ```
|
|
36
|
+
* @deprecated Use [Schema Validation API](https://developers.cloudflare.com/api/resources/schema_validation/) instead.
|
|
60
37
|
*/
|
|
61
38
|
delete(schemaId, params, options) {
|
|
62
39
|
const { zone_id } = params;
|
|
@@ -65,14 +42,7 @@ export class UserSchemas extends APIResource {
|
|
|
65
42
|
/**
|
|
66
43
|
* Enable validation for a schema
|
|
67
44
|
*
|
|
68
|
-
* @
|
|
69
|
-
* ```ts
|
|
70
|
-
* const publicSchema =
|
|
71
|
-
* await client.apiGateway.userSchemas.edit(
|
|
72
|
-
* 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415',
|
|
73
|
-
* { zone_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
74
|
-
* );
|
|
75
|
-
* ```
|
|
45
|
+
* @deprecated Use [Schema Validation API](https://developers.cloudflare.com/api/resources/schema_validation/) instead.
|
|
76
46
|
*/
|
|
77
47
|
edit(schemaId, params, options) {
|
|
78
48
|
const { zone_id, ...body } = params;
|
|
@@ -84,14 +54,7 @@ export class UserSchemas extends APIResource {
|
|
|
84
54
|
/**
|
|
85
55
|
* Retrieve information about a specific schema on a zone
|
|
86
56
|
*
|
|
87
|
-
* @
|
|
88
|
-
* ```ts
|
|
89
|
-
* const publicSchema =
|
|
90
|
-
* await client.apiGateway.userSchemas.get(
|
|
91
|
-
* 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415',
|
|
92
|
-
* { zone_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
93
|
-
* );
|
|
94
|
-
* ```
|
|
57
|
+
* @deprecated Use [Schema Validation API](https://developers.cloudflare.com/api/resources/schema_validation/) instead.
|
|
95
58
|
*/
|
|
96
59
|
get(schemaId, params, options) {
|
|
97
60
|
const { zone_id, ...query } = params;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-schemas.mjs","sourceRoot":"","sources":["../../../src/resources/api-gateway/user-schemas/user-schemas.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,IAAI;OACT,KAAK,QAAQ;OACb,EAAoC,sCAAsC,EAAE,KAAK,EAAE;OACnF,KAAK,aAAa;OAClB,EAGL,2CAA2C,EAC3C,UAAU,GACX;OACM,EAAE,qBAAqB,EAAoC;AAElE,MAAM,OAAO,WAAY,SAAQ,WAAW;IAA5C;;QACE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClF,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"user-schemas.mjs","sourceRoot":"","sources":["../../../src/resources/api-gateway/user-schemas/user-schemas.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,IAAI;OACT,KAAK,QAAQ;OACb,EAAoC,sCAAsC,EAAE,KAAK,EAAE;OACnF,KAAK,aAAa;OAClB,EAGL,2CAA2C,EAC3C,UAAU,GACX;OACM,EAAE,qBAAqB,EAAoC;AAElE,MAAM,OAAO,WAA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AK,CAAC,UAAU,OAAO,6BAA6B,QAAQ,EAAE,EAAE;YAC3E,IAAI;YACJ,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;;;OAIG;IACH,GAAG,CACD,QAAgB,EAChB,MAA2B,EAC3B,OAA6B;QAE7B,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACrC,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,OAAO,6BAA6B,QAAQ,EAAE,EAAE;YACzE,KAAK;YACL,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;CACF;AAED,MAAM,OAAO,kCAAmC,SAAQ,qBAAmC;CAAG;AA8K9F,WAAW,CAAC,kCAAkC,GAAG,kCAAkC,CAAC;AACpF,WAAW,CAAC,UAAU,GAAG,UAAU,CAAC;AACpC,WAAW,CAAC,2CAA2C,GAAG,2CAA2C,CAAC;AACtG,WAAW,CAAC,KAAK,GAAG,KAAK,CAAC;AAC1B,WAAW,CAAC,sCAAsC,GAAG,sCAAsC,CAAC"}
|
|
@@ -90,9 +90,10 @@ export declare class BotManagement extends APIResource {
|
|
|
90
90
|
}
|
|
91
91
|
export interface BotFightModeConfiguration {
|
|
92
92
|
/**
|
|
93
|
-
* Enable rule to block AI Scrapers and Crawlers.
|
|
93
|
+
* Enable rule to block AI Scrapers and Crawlers. Please note the value
|
|
94
|
+
* `only_on_ad_pages` is currently not available for Enterprise customers.
|
|
94
95
|
*/
|
|
95
|
-
ai_bots_protection?: 'block' | 'disabled';
|
|
96
|
+
ai_bots_protection?: 'block' | 'disabled' | 'only_on_ad_pages';
|
|
96
97
|
/**
|
|
97
98
|
* Enable rule to punish AI Scrapers and Crawlers via a link maze.
|
|
98
99
|
*/
|
|
@@ -153,9 +154,10 @@ export declare namespace BotFightModeConfiguration {
|
|
|
153
154
|
}
|
|
154
155
|
export interface BotFightModeConfigurationParam {
|
|
155
156
|
/**
|
|
156
|
-
* Enable rule to block AI Scrapers and Crawlers.
|
|
157
|
+
* Enable rule to block AI Scrapers and Crawlers. Please note the value
|
|
158
|
+
* `only_on_ad_pages` is currently not available for Enterprise customers.
|
|
157
159
|
*/
|
|
158
|
-
ai_bots_protection?: 'block' | 'disabled';
|
|
160
|
+
ai_bots_protection?: 'block' | 'disabled' | 'only_on_ad_pages';
|
|
159
161
|
/**
|
|
160
162
|
* Enable rule to punish AI Scrapers and Crawlers via a link maze.
|
|
161
163
|
*/
|
|
@@ -172,9 +174,10 @@ export interface BotFightModeConfigurationParam {
|
|
|
172
174
|
}
|
|
173
175
|
export interface SubscriptionConfiguration {
|
|
174
176
|
/**
|
|
175
|
-
* Enable rule to block AI Scrapers and Crawlers.
|
|
177
|
+
* Enable rule to block AI Scrapers and Crawlers. Please note the value
|
|
178
|
+
* `only_on_ad_pages` is currently not available for Enterprise customers.
|
|
176
179
|
*/
|
|
177
|
-
ai_bots_protection?: 'block' | 'disabled';
|
|
180
|
+
ai_bots_protection?: 'block' | 'disabled' | 'only_on_ad_pages';
|
|
178
181
|
/**
|
|
179
182
|
* Automatically update to the newest bot detection models created by Cloudflare as
|
|
180
183
|
* they are released.
|
|
@@ -242,9 +245,10 @@ export declare namespace SubscriptionConfiguration {
|
|
|
242
245
|
}
|
|
243
246
|
export interface SubscriptionConfigurationParam {
|
|
244
247
|
/**
|
|
245
|
-
* Enable rule to block AI Scrapers and Crawlers.
|
|
248
|
+
* Enable rule to block AI Scrapers and Crawlers. Please note the value
|
|
249
|
+
* `only_on_ad_pages` is currently not available for Enterprise customers.
|
|
246
250
|
*/
|
|
247
|
-
ai_bots_protection?: 'block' | 'disabled';
|
|
251
|
+
ai_bots_protection?: 'block' | 'disabled' | 'only_on_ad_pages';
|
|
248
252
|
/**
|
|
249
253
|
* Automatically update to the newest bot detection models created by Cloudflare as
|
|
250
254
|
* they are released.
|
|
@@ -268,9 +272,10 @@ export interface SubscriptionConfigurationParam {
|
|
|
268
272
|
}
|
|
269
273
|
export interface SuperBotFightModeDefinitelyConfiguration {
|
|
270
274
|
/**
|
|
271
|
-
* Enable rule to block AI Scrapers and Crawlers.
|
|
275
|
+
* Enable rule to block AI Scrapers and Crawlers. Please note the value
|
|
276
|
+
* `only_on_ad_pages` is currently not available for Enterprise customers.
|
|
272
277
|
*/
|
|
273
|
-
ai_bots_protection?: 'block' | 'disabled';
|
|
278
|
+
ai_bots_protection?: 'block' | 'disabled' | 'only_on_ad_pages';
|
|
274
279
|
/**
|
|
275
280
|
* Enable rule to punish AI Scrapers and Crawlers via a link maze.
|
|
276
281
|
*/
|
|
@@ -328,9 +333,10 @@ export declare namespace SuperBotFightModeDefinitelyConfiguration {
|
|
|
328
333
|
}
|
|
329
334
|
export interface SuperBotFightModeDefinitelyConfigurationParam {
|
|
330
335
|
/**
|
|
331
|
-
* Enable rule to block AI Scrapers and Crawlers.
|
|
336
|
+
* Enable rule to block AI Scrapers and Crawlers. Please note the value
|
|
337
|
+
* `only_on_ad_pages` is currently not available for Enterprise customers.
|
|
332
338
|
*/
|
|
333
|
-
ai_bots_protection?: 'block' | 'disabled';
|
|
339
|
+
ai_bots_protection?: 'block' | 'disabled' | 'only_on_ad_pages';
|
|
334
340
|
/**
|
|
335
341
|
* Enable rule to punish AI Scrapers and Crawlers via a link maze.
|
|
336
342
|
*/
|
|
@@ -361,9 +367,10 @@ export interface SuperBotFightModeDefinitelyConfigurationParam {
|
|
|
361
367
|
}
|
|
362
368
|
export interface SuperBotFightModeLikelyConfiguration {
|
|
363
369
|
/**
|
|
364
|
-
* Enable rule to block AI Scrapers and Crawlers.
|
|
370
|
+
* Enable rule to block AI Scrapers and Crawlers. Please note the value
|
|
371
|
+
* `only_on_ad_pages` is currently not available for Enterprise customers.
|
|
365
372
|
*/
|
|
366
|
-
ai_bots_protection?: 'block' | 'disabled';
|
|
373
|
+
ai_bots_protection?: 'block' | 'disabled' | 'only_on_ad_pages';
|
|
367
374
|
/**
|
|
368
375
|
* Enable rule to punish AI Scrapers and Crawlers via a link maze.
|
|
369
376
|
*/
|
|
@@ -420,9 +427,10 @@ export declare namespace SuperBotFightModeLikelyConfiguration {
|
|
|
420
427
|
}
|
|
421
428
|
export interface SuperBotFightModeLikelyConfigurationParam {
|
|
422
429
|
/**
|
|
423
|
-
* Enable rule to block AI Scrapers and Crawlers.
|
|
430
|
+
* Enable rule to block AI Scrapers and Crawlers. Please note the value
|
|
431
|
+
* `only_on_ad_pages` is currently not available for Enterprise customers.
|
|
424
432
|
*/
|
|
425
|
-
ai_bots_protection?: 'block' | 'disabled';
|
|
433
|
+
ai_bots_protection?: 'block' | 'disabled' | 'only_on_ad_pages';
|
|
426
434
|
/**
|
|
427
435
|
* Enable rule to punish AI Scrapers and Crawlers via a link maze.
|
|
428
436
|
*/
|
|
@@ -465,9 +473,10 @@ export declare namespace BotManagementUpdateParams {
|
|
|
465
473
|
*/
|
|
466
474
|
zone_id: string;
|
|
467
475
|
/**
|
|
468
|
-
* Body param: Enable rule to block AI Scrapers and Crawlers.
|
|
476
|
+
* Body param: Enable rule to block AI Scrapers and Crawlers. Please note the value
|
|
477
|
+
* `only_on_ad_pages` is currently not available for Enterprise customers.
|
|
469
478
|
*/
|
|
470
|
-
ai_bots_protection?: 'block' | 'disabled';
|
|
479
|
+
ai_bots_protection?: 'block' | 'disabled' | 'only_on_ad_pages';
|
|
471
480
|
/**
|
|
472
481
|
* Body param: Enable rule to punish AI Scrapers and Crawlers via a link maze.
|
|
473
482
|
*/
|
|
@@ -489,9 +498,10 @@ export declare namespace BotManagementUpdateParams {
|
|
|
489
498
|
*/
|
|
490
499
|
zone_id: string;
|
|
491
500
|
/**
|
|
492
|
-
* Body param: Enable rule to block AI Scrapers and Crawlers.
|
|
501
|
+
* Body param: Enable rule to block AI Scrapers and Crawlers. Please note the value
|
|
502
|
+
* `only_on_ad_pages` is currently not available for Enterprise customers.
|
|
493
503
|
*/
|
|
494
|
-
ai_bots_protection?: 'block' | 'disabled';
|
|
504
|
+
ai_bots_protection?: 'block' | 'disabled' | 'only_on_ad_pages';
|
|
495
505
|
/**
|
|
496
506
|
* Body param: Enable rule to punish AI Scrapers and Crawlers via a link maze.
|
|
497
507
|
*/
|
|
@@ -529,9 +539,10 @@ export declare namespace BotManagementUpdateParams {
|
|
|
529
539
|
*/
|
|
530
540
|
zone_id: string;
|
|
531
541
|
/**
|
|
532
|
-
* Body param: Enable rule to block AI Scrapers and Crawlers.
|
|
542
|
+
* Body param: Enable rule to block AI Scrapers and Crawlers. Please note the value
|
|
543
|
+
* `only_on_ad_pages` is currently not available for Enterprise customers.
|
|
533
544
|
*/
|
|
534
|
-
ai_bots_protection?: 'block' | 'disabled';
|
|
545
|
+
ai_bots_protection?: 'block' | 'disabled' | 'only_on_ad_pages';
|
|
535
546
|
/**
|
|
536
547
|
* Body param: Enable rule to punish AI Scrapers and Crawlers via a link maze.
|
|
537
548
|
*/
|
|
@@ -574,9 +585,10 @@ export declare namespace BotManagementUpdateParams {
|
|
|
574
585
|
*/
|
|
575
586
|
zone_id: string;
|
|
576
587
|
/**
|
|
577
|
-
* Body param: Enable rule to block AI Scrapers and Crawlers.
|
|
588
|
+
* Body param: Enable rule to block AI Scrapers and Crawlers. Please note the value
|
|
589
|
+
* `only_on_ad_pages` is currently not available for Enterprise customers.
|
|
578
590
|
*/
|
|
579
|
-
ai_bots_protection?: 'block' | 'disabled';
|
|
591
|
+
ai_bots_protection?: 'block' | 'disabled' | 'only_on_ad_pages';
|
|
580
592
|
/**
|
|
581
593
|
* Body param: Automatically update to the newest bot detection models created by
|
|
582
594
|
* Cloudflare as they are released.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bot-management.d.ts","sourceRoot":"","sources":["../src/resources/bot-management.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EA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API from "./logo-matches.js";
|
|
4
|
+
import { LogoMatches } from "./logo-matches.js";
|
|
5
|
+
import * as LogosAPI from "./logos.js";
|
|
6
|
+
import { Logos } from "./logos.js";
|
|
7
|
+
import * as MatchesAPI from "./matches.js";
|
|
8
|
+
import { Matches } from "./matches.js";
|
|
9
|
+
import * as QueriesAPI from "./queries.js";
|
|
10
|
+
import { Queries } from "./queries.js";
|
|
11
|
+
export declare class BrandProtection extends APIResource {
|
|
12
|
+
queries: QueriesAPI.Queries;
|
|
13
|
+
matches: MatchesAPI.Matches;
|
|
14
|
+
logos: LogosAPI.Logos;
|
|
15
|
+
logoMatches: LogoMatchesAPI.LogoMatches;
|
|
16
|
+
/**
|
|
17
|
+
* Submit suspicious URL for scanning.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const submit = await client.brandProtection.submit({
|
|
22
|
+
* account_id: '023e105f4ecef8ad9ca31a8372d0c353',
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
submit(params: BrandProtectionSubmitParams, options?: Core.RequestOptions): Core.APIPromise<Submit>;
|
|
27
|
+
/**
|
|
28
|
+
* Gets phishing details about a URL.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* const info = await client.brandProtection.urlInfo({
|
|
33
|
+
* account_id: '023e105f4ecef8ad9ca31a8372d0c353',
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
urlInfo(params: BrandProtectionURLInfoParams, options?: Core.RequestOptions): Core.APIPromise<Info>;
|
|
38
|
+
}
|
|
39
|
+
export interface Info {
|
|
40
|
+
/**
|
|
41
|
+
* List of categorizations applied to this submission.
|
|
42
|
+
*/
|
|
43
|
+
categorizations?: Array<Info.Categorization>;
|
|
44
|
+
/**
|
|
45
|
+
* List of model results for completed scans.
|
|
46
|
+
*/
|
|
47
|
+
model_results?: Array<URLInfoModelResults>;
|
|
48
|
+
/**
|
|
49
|
+
* List of signatures that matched against site content found when crawling the
|
|
50
|
+
* URL.
|
|
51
|
+
*/
|
|
52
|
+
rule_matches?: Array<RuleMatch>;
|
|
53
|
+
/**
|
|
54
|
+
* Status of the most recent scan found.
|
|
55
|
+
*/
|
|
56
|
+
scan_status?: ScanStatus;
|
|
57
|
+
/**
|
|
58
|
+
* For internal use.
|
|
59
|
+
*/
|
|
60
|
+
screenshot_download_signature?: string;
|
|
61
|
+
/**
|
|
62
|
+
* For internal use.
|
|
63
|
+
*/
|
|
64
|
+
screenshot_path?: string;
|
|
65
|
+
/**
|
|
66
|
+
* URL that was submitted.
|
|
67
|
+
*/
|
|
68
|
+
url?: string;
|
|
69
|
+
}
|
|
70
|
+
export declare namespace Info {
|
|
71
|
+
interface Categorization {
|
|
72
|
+
/**
|
|
73
|
+
* Name of the category applied.
|
|
74
|
+
*/
|
|
75
|
+
category?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Result of human review for this categorization.
|
|
78
|
+
*/
|
|
79
|
+
verification_status?: string;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export interface RuleMatch {
|
|
83
|
+
/**
|
|
84
|
+
* For internal use.
|
|
85
|
+
*/
|
|
86
|
+
banning?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* For internal use.
|
|
89
|
+
*/
|
|
90
|
+
blocking?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Description of the signature that matched.
|
|
93
|
+
*/
|
|
94
|
+
description?: string;
|
|
95
|
+
/**
|
|
96
|
+
* Name of the signature that matched.
|
|
97
|
+
*/
|
|
98
|
+
name?: string;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Status of the most recent scan found.
|
|
102
|
+
*/
|
|
103
|
+
export interface ScanStatus {
|
|
104
|
+
/**
|
|
105
|
+
* Timestamp of when the submission was processed.
|
|
106
|
+
*/
|
|
107
|
+
last_processed?: string;
|
|
108
|
+
/**
|
|
109
|
+
* For internal use.
|
|
110
|
+
*/
|
|
111
|
+
scan_complete?: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Status code that the crawler received when loading the submitted URL.
|
|
114
|
+
*/
|
|
115
|
+
status_code?: number;
|
|
116
|
+
/**
|
|
117
|
+
* ID of the most recent submission.
|
|
118
|
+
*/
|
|
119
|
+
submission_id?: number;
|
|
120
|
+
}
|
|
121
|
+
export interface Submit {
|
|
122
|
+
/**
|
|
123
|
+
* URLs that were excluded from scanning because their domain is in our no-scan
|
|
124
|
+
* list.
|
|
125
|
+
*/
|
|
126
|
+
excluded_urls?: Array<Submit.ExcludedURL>;
|
|
127
|
+
/**
|
|
128
|
+
* URLs that were skipped because the same URL is currently being scanned.
|
|
129
|
+
*/
|
|
130
|
+
skipped_urls?: Array<Submit.SkippedURL>;
|
|
131
|
+
/**
|
|
132
|
+
* URLs that were successfully submitted for scanning.
|
|
133
|
+
*/
|
|
134
|
+
submitted_urls?: Array<Submit.SubmittedURL>;
|
|
135
|
+
}
|
|
136
|
+
export declare namespace Submit {
|
|
137
|
+
interface ExcludedURL {
|
|
138
|
+
/**
|
|
139
|
+
* URL that was excluded.
|
|
140
|
+
*/
|
|
141
|
+
url?: string;
|
|
142
|
+
}
|
|
143
|
+
interface SkippedURL {
|
|
144
|
+
/**
|
|
145
|
+
* URL that was skipped.
|
|
146
|
+
*/
|
|
147
|
+
url?: string;
|
|
148
|
+
/**
|
|
149
|
+
* ID of the submission of that URL that is currently scanning.
|
|
150
|
+
*/
|
|
151
|
+
url_id?: number;
|
|
152
|
+
}
|
|
153
|
+
interface SubmittedURL {
|
|
154
|
+
/**
|
|
155
|
+
* URL that was submitted.
|
|
156
|
+
*/
|
|
157
|
+
url?: string;
|
|
158
|
+
/**
|
|
159
|
+
* ID assigned to this URL submission. Used to retrieve scanning results.
|
|
160
|
+
*/
|
|
161
|
+
url_id?: number;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
export interface URLInfoModelResults {
|
|
165
|
+
/**
|
|
166
|
+
* Name of the model.
|
|
167
|
+
*/
|
|
168
|
+
model_name?: string;
|
|
169
|
+
/**
|
|
170
|
+
* This is the score that is outputted by the model for this submission.
|
|
171
|
+
*/
|
|
172
|
+
model_score?: number;
|
|
173
|
+
}
|
|
174
|
+
export interface BrandProtectionSubmitParams {
|
|
175
|
+
/**
|
|
176
|
+
* Path param: Identifier.
|
|
177
|
+
*/
|
|
178
|
+
account_id: string;
|
|
179
|
+
/**
|
|
180
|
+
* Body param: URL(s) to filter submissions results by.
|
|
181
|
+
*/
|
|
182
|
+
url?: string;
|
|
183
|
+
}
|
|
184
|
+
export interface BrandProtectionURLInfoParams {
|
|
185
|
+
/**
|
|
186
|
+
* Path param: Identifier.
|
|
187
|
+
*/
|
|
188
|
+
account_id: string;
|
|
189
|
+
/**
|
|
190
|
+
* Query param: Submission URL(s) to filter submission results by.
|
|
191
|
+
*/
|
|
192
|
+
url?: Array<string>;
|
|
193
|
+
/**
|
|
194
|
+
* Query param: Submission ID(s) to filter submission results by.
|
|
195
|
+
*/
|
|
196
|
+
url_id?: Array<number>;
|
|
197
|
+
}
|
|
198
|
+
export declare namespace BrandProtection {
|
|
199
|
+
export { type Info as Info, type RuleMatch as RuleMatch, type ScanStatus as ScanStatus, type Submit as Submit, type URLInfoModelResults as URLInfoModelResults, type BrandProtectionSubmitParams as BrandProtectionSubmitParams, type BrandProtectionURLInfoParams as BrandProtectionURLInfoParams, };
|
|
200
|
+
export { Queries as Queries };
|
|
201
|
+
export { Matches as Matches };
|
|
202
|
+
export { Logos as Logos };
|
|
203
|
+
export { LogoMatches as LogoMatches };
|
|
204
|
+
}
|
|
205
|
+
//# sourceMappingURL=brand-protection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brand-protection.d.ts","sourceRoot":"","sources":["../../src/resources/brand-protection/brand-protection.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OA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