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
|
@@ -8,14 +8,7 @@ export class SchemaValidation extends APIResource {
|
|
|
8
8
|
/**
|
|
9
9
|
* Updates zone level schema validation settings on the zone
|
|
10
10
|
*
|
|
11
|
-
* @
|
|
12
|
-
* ```ts
|
|
13
|
-
* const settings =
|
|
14
|
-
* await client.apiGateway.settings.schemaValidation.update({
|
|
15
|
-
* zone_id: '023e105f4ecef8ad9ca31a8372d0c353',
|
|
16
|
-
* validation_default_mitigation_action: 'block',
|
|
17
|
-
* });
|
|
18
|
-
* ```
|
|
11
|
+
* @deprecated Use [Schema Validation API](https://developers.cloudflare.com/api/resources/schema_validation/) instead.
|
|
19
12
|
*/
|
|
20
13
|
update(
|
|
21
14
|
params: SchemaValidationUpdateParams,
|
|
@@ -28,13 +21,7 @@ export class SchemaValidation extends APIResource {
|
|
|
28
21
|
/**
|
|
29
22
|
* Updates zone level schema validation settings on the zone
|
|
30
23
|
*
|
|
31
|
-
* @
|
|
32
|
-
* ```ts
|
|
33
|
-
* const settings =
|
|
34
|
-
* await client.apiGateway.settings.schemaValidation.edit({
|
|
35
|
-
* zone_id: '023e105f4ecef8ad9ca31a8372d0c353',
|
|
36
|
-
* });
|
|
37
|
-
* ```
|
|
24
|
+
* @deprecated Use [Schema Validation API](https://developers.cloudflare.com/api/resources/schema_validation/) instead.
|
|
38
25
|
*/
|
|
39
26
|
edit(
|
|
40
27
|
params: SchemaValidationEditParams,
|
|
@@ -50,13 +37,7 @@ export class SchemaValidation extends APIResource {
|
|
|
50
37
|
/**
|
|
51
38
|
* Retrieves zone level schema validation settings currently set on the zone
|
|
52
39
|
*
|
|
53
|
-
* @
|
|
54
|
-
* ```ts
|
|
55
|
-
* const settings =
|
|
56
|
-
* await client.apiGateway.settings.schemaValidation.get({
|
|
57
|
-
* zone_id: '023e105f4ecef8ad9ca31a8372d0c353',
|
|
58
|
-
* });
|
|
59
|
-
* ```
|
|
40
|
+
* @deprecated Use [Schema Validation API](https://developers.cloudflare.com/api/resources/schema_validation/) instead.
|
|
60
41
|
*/
|
|
61
42
|
get(
|
|
62
43
|
params: SchemaValidationGetParams,
|
|
@@ -8,15 +8,7 @@ export class Hosts extends APIResource {
|
|
|
8
8
|
/**
|
|
9
9
|
* Retrieve schema hosts in a zone
|
|
10
10
|
*
|
|
11
|
-
* @
|
|
12
|
-
* ```ts
|
|
13
|
-
* // Automatically fetches more pages as needed.
|
|
14
|
-
* for await (const hostListResponse of client.apiGateway.userSchemas.hosts.list(
|
|
15
|
-
* { zone_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
16
|
-
* )) {
|
|
17
|
-
* // ...
|
|
18
|
-
* }
|
|
19
|
-
* ```
|
|
11
|
+
* @deprecated Use [Schema Validation API](https://developers.cloudflare.com/api/resources/schema_validation/) instead.
|
|
20
12
|
*/
|
|
21
13
|
list(
|
|
22
14
|
params: HostListParams,
|
|
@@ -9,16 +9,7 @@ export class Operations extends APIResource {
|
|
|
9
9
|
* Retrieves all operations from the schema. Operations that already exist in API
|
|
10
10
|
* Shield Endpoint Management will be returned as full operations.
|
|
11
11
|
*
|
|
12
|
-
* @
|
|
13
|
-
* ```ts
|
|
14
|
-
* // Automatically fetches more pages as needed.
|
|
15
|
-
* for await (const operationListResponse of client.apiGateway.userSchemas.operations.list(
|
|
16
|
-
* 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415',
|
|
17
|
-
* { zone_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
18
|
-
* )) {
|
|
19
|
-
* // ...
|
|
20
|
-
* }
|
|
21
|
-
* ```
|
|
12
|
+
* @deprecated Use [Schema Validation API](https://developers.cloudflare.com/api/resources/schema_validation/) instead.
|
|
22
13
|
*/
|
|
23
14
|
list(
|
|
24
15
|
schemaId: string,
|
|
@@ -20,15 +20,7 @@ export class UserSchemas extends APIResource {
|
|
|
20
20
|
/**
|
|
21
21
|
* Upload a schema to a zone
|
|
22
22
|
*
|
|
23
|
-
* @
|
|
24
|
-
* ```ts
|
|
25
|
-
* const schemaUpload =
|
|
26
|
-
* await client.apiGateway.userSchemas.create({
|
|
27
|
-
* zone_id: '023e105f4ecef8ad9ca31a8372d0c353',
|
|
28
|
-
* file: fs.createReadStream('path/to/file'),
|
|
29
|
-
* kind: 'openapi_v3',
|
|
30
|
-
* });
|
|
31
|
-
* ```
|
|
23
|
+
* @deprecated Use [Schema Validation API](https://developers.cloudflare.com/api/resources/schema_validation/) instead.
|
|
32
24
|
*/
|
|
33
25
|
create(params: UserSchemaCreateParams, options?: Core.RequestOptions): Core.APIPromise<SchemaUpload> {
|
|
34
26
|
const { zone_id, ...body } = params;
|
|
@@ -43,15 +35,7 @@ export class UserSchemas extends APIResource {
|
|
|
43
35
|
/**
|
|
44
36
|
* Retrieve information about all schemas on a zone
|
|
45
37
|
*
|
|
46
|
-
* @
|
|
47
|
-
* ```ts
|
|
48
|
-
* // Automatically fetches more pages as needed.
|
|
49
|
-
* for await (const publicSchema of client.apiGateway.userSchemas.list(
|
|
50
|
-
* { zone_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
51
|
-
* )) {
|
|
52
|
-
* // ...
|
|
53
|
-
* }
|
|
54
|
-
* ```
|
|
38
|
+
* @deprecated Use [Schema Validation API](https://developers.cloudflare.com/api/resources/schema_validation/) instead.
|
|
55
39
|
*/
|
|
56
40
|
list(
|
|
57
41
|
params: UserSchemaListParams,
|
|
@@ -68,14 +52,7 @@ export class UserSchemas extends APIResource {
|
|
|
68
52
|
/**
|
|
69
53
|
* Delete a schema
|
|
70
54
|
*
|
|
71
|
-
* @
|
|
72
|
-
* ```ts
|
|
73
|
-
* const userSchema =
|
|
74
|
-
* await client.apiGateway.userSchemas.delete(
|
|
75
|
-
* 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415',
|
|
76
|
-
* { zone_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
77
|
-
* );
|
|
78
|
-
* ```
|
|
55
|
+
* @deprecated Use [Schema Validation API](https://developers.cloudflare.com/api/resources/schema_validation/) instead.
|
|
79
56
|
*/
|
|
80
57
|
delete(
|
|
81
58
|
schemaId: string,
|
|
@@ -89,14 +66,7 @@ export class UserSchemas extends APIResource {
|
|
|
89
66
|
/**
|
|
90
67
|
* Enable validation for a schema
|
|
91
68
|
*
|
|
92
|
-
* @
|
|
93
|
-
* ```ts
|
|
94
|
-
* const publicSchema =
|
|
95
|
-
* await client.apiGateway.userSchemas.edit(
|
|
96
|
-
* 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415',
|
|
97
|
-
* { zone_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
98
|
-
* );
|
|
99
|
-
* ```
|
|
69
|
+
* @deprecated Use [Schema Validation API](https://developers.cloudflare.com/api/resources/schema_validation/) instead.
|
|
100
70
|
*/
|
|
101
71
|
edit(
|
|
102
72
|
schemaId: string,
|
|
@@ -115,14 +85,7 @@ export class UserSchemas extends APIResource {
|
|
|
115
85
|
/**
|
|
116
86
|
* Retrieve information about a specific schema on a zone
|
|
117
87
|
*
|
|
118
|
-
* @
|
|
119
|
-
* ```ts
|
|
120
|
-
* const publicSchema =
|
|
121
|
-
* await client.apiGateway.userSchemas.get(
|
|
122
|
-
* 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415',
|
|
123
|
-
* { zone_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
124
|
-
* );
|
|
125
|
-
* ```
|
|
88
|
+
* @deprecated Use [Schema Validation API](https://developers.cloudflare.com/api/resources/schema_validation/) instead.
|
|
126
89
|
*/
|
|
127
90
|
get(
|
|
128
91
|
schemaId: string,
|
|
@@ -115,9 +115,10 @@ export class BotManagement extends APIResource {
|
|
|
115
115
|
|
|
116
116
|
export interface BotFightModeConfiguration {
|
|
117
117
|
/**
|
|
118
|
-
* Enable rule to block AI Scrapers and Crawlers.
|
|
118
|
+
* Enable rule to block AI Scrapers and Crawlers. Please note the value
|
|
119
|
+
* `only_on_ad_pages` is currently not available for Enterprise customers.
|
|
119
120
|
*/
|
|
120
|
-
ai_bots_protection?: 'block' | 'disabled';
|
|
121
|
+
ai_bots_protection?: 'block' | 'disabled' | 'only_on_ad_pages';
|
|
121
122
|
|
|
122
123
|
/**
|
|
123
124
|
* Enable rule to punish AI Scrapers and Crawlers via a link maze.
|
|
@@ -190,9 +191,10 @@ export namespace BotFightModeConfiguration {
|
|
|
190
191
|
|
|
191
192
|
export interface BotFightModeConfigurationParam {
|
|
192
193
|
/**
|
|
193
|
-
* Enable rule to block AI Scrapers and Crawlers.
|
|
194
|
+
* Enable rule to block AI Scrapers and Crawlers. Please note the value
|
|
195
|
+
* `only_on_ad_pages` is currently not available for Enterprise customers.
|
|
194
196
|
*/
|
|
195
|
-
ai_bots_protection?: 'block' | 'disabled';
|
|
197
|
+
ai_bots_protection?: 'block' | 'disabled' | 'only_on_ad_pages';
|
|
196
198
|
|
|
197
199
|
/**
|
|
198
200
|
* Enable rule to punish AI Scrapers and Crawlers via a link maze.
|
|
@@ -213,9 +215,10 @@ export interface BotFightModeConfigurationParam {
|
|
|
213
215
|
|
|
214
216
|
export interface SubscriptionConfiguration {
|
|
215
217
|
/**
|
|
216
|
-
* Enable rule to block AI Scrapers and Crawlers.
|
|
218
|
+
* Enable rule to block AI Scrapers and Crawlers. Please note the value
|
|
219
|
+
* `only_on_ad_pages` is currently not available for Enterprise customers.
|
|
217
220
|
*/
|
|
218
|
-
ai_bots_protection?: 'block' | 'disabled';
|
|
221
|
+
ai_bots_protection?: 'block' | 'disabled' | 'only_on_ad_pages';
|
|
219
222
|
|
|
220
223
|
/**
|
|
221
224
|
* Automatically update to the newest bot detection models created by Cloudflare as
|
|
@@ -296,9 +299,10 @@ export namespace SubscriptionConfiguration {
|
|
|
296
299
|
|
|
297
300
|
export interface SubscriptionConfigurationParam {
|
|
298
301
|
/**
|
|
299
|
-
* Enable rule to block AI Scrapers and Crawlers.
|
|
302
|
+
* Enable rule to block AI Scrapers and Crawlers. Please note the value
|
|
303
|
+
* `only_on_ad_pages` is currently not available for Enterprise customers.
|
|
300
304
|
*/
|
|
301
|
-
ai_bots_protection?: 'block' | 'disabled';
|
|
305
|
+
ai_bots_protection?: 'block' | 'disabled' | 'only_on_ad_pages';
|
|
302
306
|
|
|
303
307
|
/**
|
|
304
308
|
* Automatically update to the newest bot detection models created by Cloudflare as
|
|
@@ -327,9 +331,10 @@ export interface SubscriptionConfigurationParam {
|
|
|
327
331
|
|
|
328
332
|
export interface SuperBotFightModeDefinitelyConfiguration {
|
|
329
333
|
/**
|
|
330
|
-
* Enable rule to block AI Scrapers and Crawlers.
|
|
334
|
+
* Enable rule to block AI Scrapers and Crawlers. Please note the value
|
|
335
|
+
* `only_on_ad_pages` is currently not available for Enterprise customers.
|
|
331
336
|
*/
|
|
332
|
-
ai_bots_protection?: 'block' | 'disabled';
|
|
337
|
+
ai_bots_protection?: 'block' | 'disabled' | 'only_on_ad_pages';
|
|
333
338
|
|
|
334
339
|
/**
|
|
335
340
|
* Enable rule to punish AI Scrapers and Crawlers via a link maze.
|
|
@@ -398,9 +403,10 @@ export namespace SuperBotFightModeDefinitelyConfiguration {
|
|
|
398
403
|
|
|
399
404
|
export interface SuperBotFightModeDefinitelyConfigurationParam {
|
|
400
405
|
/**
|
|
401
|
-
* Enable rule to block AI Scrapers and Crawlers.
|
|
406
|
+
* Enable rule to block AI Scrapers and Crawlers. Please note the value
|
|
407
|
+
* `only_on_ad_pages` is currently not available for Enterprise customers.
|
|
402
408
|
*/
|
|
403
|
-
ai_bots_protection?: 'block' | 'disabled';
|
|
409
|
+
ai_bots_protection?: 'block' | 'disabled' | 'only_on_ad_pages';
|
|
404
410
|
|
|
405
411
|
/**
|
|
406
412
|
* Enable rule to punish AI Scrapers and Crawlers via a link maze.
|
|
@@ -438,9 +444,10 @@ export interface SuperBotFightModeDefinitelyConfigurationParam {
|
|
|
438
444
|
|
|
439
445
|
export interface SuperBotFightModeLikelyConfiguration {
|
|
440
446
|
/**
|
|
441
|
-
* Enable rule to block AI Scrapers and Crawlers.
|
|
447
|
+
* Enable rule to block AI Scrapers and Crawlers. Please note the value
|
|
448
|
+
* `only_on_ad_pages` is currently not available for Enterprise customers.
|
|
442
449
|
*/
|
|
443
|
-
ai_bots_protection?: 'block' | 'disabled';
|
|
450
|
+
ai_bots_protection?: 'block' | 'disabled' | 'only_on_ad_pages';
|
|
444
451
|
|
|
445
452
|
/**
|
|
446
453
|
* Enable rule to punish AI Scrapers and Crawlers via a link maze.
|
|
@@ -508,9 +515,10 @@ export namespace SuperBotFightModeLikelyConfiguration {
|
|
|
508
515
|
|
|
509
516
|
export interface SuperBotFightModeLikelyConfigurationParam {
|
|
510
517
|
/**
|
|
511
|
-
* Enable rule to block AI Scrapers and Crawlers.
|
|
518
|
+
* Enable rule to block AI Scrapers and Crawlers. Please note the value
|
|
519
|
+
* `only_on_ad_pages` is currently not available for Enterprise customers.
|
|
512
520
|
*/
|
|
513
|
-
ai_bots_protection?: 'block' | 'disabled';
|
|
521
|
+
ai_bots_protection?: 'block' | 'disabled' | 'only_on_ad_pages';
|
|
514
522
|
|
|
515
523
|
/**
|
|
516
524
|
* Enable rule to punish AI Scrapers and Crawlers via a link maze.
|
|
@@ -577,9 +585,10 @@ export declare namespace BotManagementUpdateParams {
|
|
|
577
585
|
zone_id: string;
|
|
578
586
|
|
|
579
587
|
/**
|
|
580
|
-
* 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.
|
|
581
590
|
*/
|
|
582
|
-
ai_bots_protection?: 'block' | 'disabled';
|
|
591
|
+
ai_bots_protection?: 'block' | 'disabled' | 'only_on_ad_pages';
|
|
583
592
|
|
|
584
593
|
/**
|
|
585
594
|
* Body param: Enable rule to punish AI Scrapers and Crawlers via a link maze.
|
|
@@ -606,9 +615,10 @@ export declare namespace BotManagementUpdateParams {
|
|
|
606
615
|
zone_id: string;
|
|
607
616
|
|
|
608
617
|
/**
|
|
609
|
-
* Body param: Enable rule to block AI Scrapers and Crawlers.
|
|
618
|
+
* Body param: Enable rule to block AI Scrapers and Crawlers. Please note the value
|
|
619
|
+
* `only_on_ad_pages` is currently not available for Enterprise customers.
|
|
610
620
|
*/
|
|
611
|
-
ai_bots_protection?: 'block' | 'disabled';
|
|
621
|
+
ai_bots_protection?: 'block' | 'disabled' | 'only_on_ad_pages';
|
|
612
622
|
|
|
613
623
|
/**
|
|
614
624
|
* Body param: Enable rule to punish AI Scrapers and Crawlers via a link maze.
|
|
@@ -654,9 +664,10 @@ export declare namespace BotManagementUpdateParams {
|
|
|
654
664
|
zone_id: string;
|
|
655
665
|
|
|
656
666
|
/**
|
|
657
|
-
* Body param: Enable rule to block AI Scrapers and Crawlers.
|
|
667
|
+
* Body param: Enable rule to block AI Scrapers and Crawlers. Please note the value
|
|
668
|
+
* `only_on_ad_pages` is currently not available for Enterprise customers.
|
|
658
669
|
*/
|
|
659
|
-
ai_bots_protection?: 'block' | 'disabled';
|
|
670
|
+
ai_bots_protection?: 'block' | 'disabled' | 'only_on_ad_pages';
|
|
660
671
|
|
|
661
672
|
/**
|
|
662
673
|
* Body param: Enable rule to punish AI Scrapers and Crawlers via a link maze.
|
|
@@ -708,9 +719,10 @@ export declare namespace BotManagementUpdateParams {
|
|
|
708
719
|
zone_id: string;
|
|
709
720
|
|
|
710
721
|
/**
|
|
711
|
-
* Body param: Enable rule to block AI Scrapers and Crawlers.
|
|
722
|
+
* Body param: Enable rule to block AI Scrapers and Crawlers. Please note the value
|
|
723
|
+
* `only_on_ad_pages` is currently not available for Enterprise customers.
|
|
712
724
|
*/
|
|
713
|
-
ai_bots_protection?: 'block' | 'disabled';
|
|
725
|
+
ai_bots_protection?: 'block' | 'disabled' | 'only_on_ad_pages';
|
|
714
726
|
|
|
715
727
|
/**
|
|
716
728
|
* Body param: Automatically update to the newest bot detection models created by
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../resource';
|
|
4
|
+
import * as Core from '../../core';
|
|
5
|
+
import * as LogoMatchesAPI from './logo-matches';
|
|
6
|
+
import { LogoMatches } from './logo-matches';
|
|
7
|
+
import * as LogosAPI from './logos';
|
|
8
|
+
import { Logos } from './logos';
|
|
9
|
+
import * as MatchesAPI from './matches';
|
|
10
|
+
import { Matches } from './matches';
|
|
11
|
+
import * as QueriesAPI from './queries';
|
|
12
|
+
import { Queries } from './queries';
|
|
13
|
+
|
|
14
|
+
export class BrandProtection extends APIResource {
|
|
15
|
+
queries: QueriesAPI.Queries = new QueriesAPI.Queries(this._client);
|
|
16
|
+
matches: MatchesAPI.Matches = new MatchesAPI.Matches(this._client);
|
|
17
|
+
logos: LogosAPI.Logos = new LogosAPI.Logos(this._client);
|
|
18
|
+
logoMatches: LogoMatchesAPI.LogoMatches = new LogoMatchesAPI.LogoMatches(this._client);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Submit suspicious URL for scanning.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* const submit = await client.brandProtection.submit({
|
|
26
|
+
* account_id: '023e105f4ecef8ad9ca31a8372d0c353',
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
submit(params: BrandProtectionSubmitParams, options?: Core.RequestOptions): Core.APIPromise<Submit> {
|
|
31
|
+
const { account_id, ...body } = params;
|
|
32
|
+
return (
|
|
33
|
+
this._client.post(`/accounts/${account_id}/brand-protection/submit`, {
|
|
34
|
+
body,
|
|
35
|
+
...options,
|
|
36
|
+
}) as Core.APIPromise<{ result: Submit }>
|
|
37
|
+
)._thenUnwrap((obj) => obj.result);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Gets phishing details about a URL.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```ts
|
|
45
|
+
* const info = await client.brandProtection.urlInfo({
|
|
46
|
+
* account_id: '023e105f4ecef8ad9ca31a8372d0c353',
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
urlInfo(params: BrandProtectionURLInfoParams, options?: Core.RequestOptions): Core.APIPromise<Info> {
|
|
51
|
+
const { account_id, ...query } = params;
|
|
52
|
+
return (
|
|
53
|
+
this._client.get(`/accounts/${account_id}/brand-protection/url-info`, {
|
|
54
|
+
query,
|
|
55
|
+
...options,
|
|
56
|
+
}) as Core.APIPromise<{ result: Info }>
|
|
57
|
+
)._thenUnwrap((obj) => obj.result);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export interface Info {
|
|
62
|
+
/**
|
|
63
|
+
* List of categorizations applied to this submission.
|
|
64
|
+
*/
|
|
65
|
+
categorizations?: Array<Info.Categorization>;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* List of model results for completed scans.
|
|
69
|
+
*/
|
|
70
|
+
model_results?: Array<URLInfoModelResults>;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* List of signatures that matched against site content found when crawling the
|
|
74
|
+
* URL.
|
|
75
|
+
*/
|
|
76
|
+
rule_matches?: Array<RuleMatch>;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Status of the most recent scan found.
|
|
80
|
+
*/
|
|
81
|
+
scan_status?: ScanStatus;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* For internal use.
|
|
85
|
+
*/
|
|
86
|
+
screenshot_download_signature?: string;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* For internal use.
|
|
90
|
+
*/
|
|
91
|
+
screenshot_path?: string;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* URL that was submitted.
|
|
95
|
+
*/
|
|
96
|
+
url?: string;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export namespace Info {
|
|
100
|
+
export interface Categorization {
|
|
101
|
+
/**
|
|
102
|
+
* Name of the category applied.
|
|
103
|
+
*/
|
|
104
|
+
category?: string;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Result of human review for this categorization.
|
|
108
|
+
*/
|
|
109
|
+
verification_status?: string;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export interface RuleMatch {
|
|
114
|
+
/**
|
|
115
|
+
* For internal use.
|
|
116
|
+
*/
|
|
117
|
+
banning?: boolean;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* For internal use.
|
|
121
|
+
*/
|
|
122
|
+
blocking?: boolean;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Description of the signature that matched.
|
|
126
|
+
*/
|
|
127
|
+
description?: string;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Name of the signature that matched.
|
|
131
|
+
*/
|
|
132
|
+
name?: string;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Status of the most recent scan found.
|
|
137
|
+
*/
|
|
138
|
+
export interface ScanStatus {
|
|
139
|
+
/**
|
|
140
|
+
* Timestamp of when the submission was processed.
|
|
141
|
+
*/
|
|
142
|
+
last_processed?: string;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* For internal use.
|
|
146
|
+
*/
|
|
147
|
+
scan_complete?: boolean;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Status code that the crawler received when loading the submitted URL.
|
|
151
|
+
*/
|
|
152
|
+
status_code?: number;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* ID of the most recent submission.
|
|
156
|
+
*/
|
|
157
|
+
submission_id?: number;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
export interface Submit {
|
|
161
|
+
/**
|
|
162
|
+
* URLs that were excluded from scanning because their domain is in our no-scan
|
|
163
|
+
* list.
|
|
164
|
+
*/
|
|
165
|
+
excluded_urls?: Array<Submit.ExcludedURL>;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* URLs that were skipped because the same URL is currently being scanned.
|
|
169
|
+
*/
|
|
170
|
+
skipped_urls?: Array<Submit.SkippedURL>;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* URLs that were successfully submitted for scanning.
|
|
174
|
+
*/
|
|
175
|
+
submitted_urls?: Array<Submit.SubmittedURL>;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export namespace Submit {
|
|
179
|
+
export interface ExcludedURL {
|
|
180
|
+
/**
|
|
181
|
+
* URL that was excluded.
|
|
182
|
+
*/
|
|
183
|
+
url?: string;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
export interface SkippedURL {
|
|
187
|
+
/**
|
|
188
|
+
* URL that was skipped.
|
|
189
|
+
*/
|
|
190
|
+
url?: string;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* ID of the submission of that URL that is currently scanning.
|
|
194
|
+
*/
|
|
195
|
+
url_id?: number;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export interface SubmittedURL {
|
|
199
|
+
/**
|
|
200
|
+
* URL that was submitted.
|
|
201
|
+
*/
|
|
202
|
+
url?: string;
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* ID assigned to this URL submission. Used to retrieve scanning results.
|
|
206
|
+
*/
|
|
207
|
+
url_id?: number;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export interface URLInfoModelResults {
|
|
212
|
+
/**
|
|
213
|
+
* Name of the model.
|
|
214
|
+
*/
|
|
215
|
+
model_name?: string;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* This is the score that is outputted by the model for this submission.
|
|
219
|
+
*/
|
|
220
|
+
model_score?: number;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export interface BrandProtectionSubmitParams {
|
|
224
|
+
/**
|
|
225
|
+
* Path param: Identifier.
|
|
226
|
+
*/
|
|
227
|
+
account_id: string;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Body param: URL(s) to filter submissions results by.
|
|
231
|
+
*/
|
|
232
|
+
url?: string;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export interface BrandProtectionURLInfoParams {
|
|
236
|
+
/**
|
|
237
|
+
* Path param: Identifier.
|
|
238
|
+
*/
|
|
239
|
+
account_id: string;
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Query param: Submission URL(s) to filter submission results by.
|
|
243
|
+
*/
|
|
244
|
+
url?: Array<string>;
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Query param: Submission ID(s) to filter submission results by.
|
|
248
|
+
*/
|
|
249
|
+
url_id?: Array<number>;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
BrandProtection.Queries = Queries;
|
|
253
|
+
BrandProtection.Matches = Matches;
|
|
254
|
+
BrandProtection.Logos = Logos;
|
|
255
|
+
BrandProtection.LogoMatches = LogoMatches;
|
|
256
|
+
|
|
257
|
+
export declare namespace BrandProtection {
|
|
258
|
+
export {
|
|
259
|
+
type Info as Info,
|
|
260
|
+
type RuleMatch as RuleMatch,
|
|
261
|
+
type ScanStatus as ScanStatus,
|
|
262
|
+
type Submit as Submit,
|
|
263
|
+
type URLInfoModelResults as URLInfoModelResults,
|
|
264
|
+
type BrandProtectionSubmitParams as BrandProtectionSubmitParams,
|
|
265
|
+
type BrandProtectionURLInfoParams as BrandProtectionURLInfoParams,
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
export { Queries as Queries };
|
|
269
|
+
|
|
270
|
+
export { Matches as Matches };
|
|
271
|
+
|
|
272
|
+
export { Logos as Logos };
|
|
273
|
+
|
|
274
|
+
export { LogoMatches as LogoMatches };
|
|
275
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
export { BrandProtection } from './brand-protection';
|
|
4
|
+
export { LogoMatches } from './logo-matches';
|
|
5
|
+
export { Logos } from './logos';
|
|
6
|
+
export { Matches } from './matches';
|
|
7
|
+
export { Queries } from './queries';
|