cloudflare 5.1.0 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +69 -0
- package/package.json +1 -1
- package/resources/addressing/prefixes/prefixes.d.ts +16 -8
- package/resources/addressing/prefixes/prefixes.d.ts.map +1 -1
- package/resources/addressing/prefixes/prefixes.js.map +1 -1
- package/resources/addressing/prefixes/prefixes.mjs.map +1 -1
- package/resources/ai/ai.d.ts +4 -0
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js +5 -0
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs +5 -0
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/index.d.ts +1 -0
- package/resources/ai/index.d.ts.map +1 -1
- package/resources/ai/index.js +4 -1
- package/resources/ai/index.js.map +1 -1
- package/resources/ai/index.mjs +1 -0
- package/resources/ai/index.mjs.map +1 -1
- package/resources/ai/to-markdown.d.ts +29 -0
- package/resources/ai/to-markdown.d.ts.map +1 -0
- package/resources/ai/to-markdown.js +27 -0
- package/resources/ai/to-markdown.js.map +1 -0
- package/resources/ai/to-markdown.mjs +22 -0
- package/resources/ai/to-markdown.mjs.map +1 -0
- package/resources/ai-gateway/ai-gateway.d.ts +204 -12
- package/resources/ai-gateway/ai-gateway.d.ts.map +1 -1
- package/resources/ai-gateway/ai-gateway.js.map +1 -1
- package/resources/ai-gateway/ai-gateway.mjs.map +1 -1
- package/resources/ai-gateway/logs.d.ts +2 -2
- package/resources/ai-gateway/logs.d.ts.map +1 -1
- package/resources/ai-gateway/logs.js.map +1 -1
- package/resources/ai-gateway/logs.mjs.map +1 -1
- package/resources/alerting/destinations/pagerduty.d.ts +9 -21
- package/resources/alerting/destinations/pagerduty.d.ts.map +1 -1
- package/resources/alerting/destinations/pagerduty.js.map +1 -1
- package/resources/alerting/destinations/pagerduty.mjs.map +1 -1
- package/resources/alerting/destinations/webhooks.d.ts +9 -21
- package/resources/alerting/destinations/webhooks.d.ts.map +1 -1
- package/resources/alerting/destinations/webhooks.js.map +1 -1
- package/resources/alerting/destinations/webhooks.mjs.map +1 -1
- package/resources/alerting/policies.d.ts +10 -3
- package/resources/alerting/policies.d.ts.map +1 -1
- package/resources/alerting/policies.js.map +1 -1
- package/resources/alerting/policies.mjs.map +1 -1
- package/resources/bot-management.d.ts +49 -0
- package/resources/bot-management.d.ts.map +1 -1
- package/resources/bot-management.js +1 -0
- package/resources/bot-management.js.map +1 -1
- package/resources/bot-management.mjs +1 -0
- package/resources/bot-management.mjs.map +1 -1
- package/resources/browser-rendering/json.d.ts +3 -3
- package/resources/browser-rendering/json.d.ts.map +1 -1
- package/resources/browser-rendering/links.d.ts +4 -0
- package/resources/browser-rendering/links.d.ts.map +1 -1
- package/resources/calls/turn.d.ts.map +1 -1
- package/resources/calls/turn.js +1 -1
- package/resources/calls/turn.js.map +1 -1
- package/resources/calls/turn.mjs +1 -1
- package/resources/calls/turn.mjs.map +1 -1
- package/resources/cloudforce-one/threat-events/crons.d.ts +0 -47
- package/resources/cloudforce-one/threat-events/crons.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/crons.js +0 -30
- package/resources/cloudforce-one/threat-events/crons.js.map +1 -1
- package/resources/cloudforce-one/threat-events/crons.mjs +0 -30
- package/resources/cloudforce-one/threat-events/crons.mjs.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/datasets.d.ts +2 -2
- package/resources/cloudforce-one/threat-events/datasets/datasets.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/datasets.js.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/datasets.mjs.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/health.d.ts +0 -120
- package/resources/cloudforce-one/threat-events/datasets/health.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/health.js +0 -16
- package/resources/cloudforce-one/threat-events/datasets/health.js.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/health.mjs +0 -16
- package/resources/cloudforce-one/threat-events/datasets/health.mjs.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/index.d.ts +1 -1
- package/resources/cloudforce-one/threat-events/datasets/index.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/index.js.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/index.mjs.map +1 -1
- package/resources/cloudforce-one/threat-events/index.d.ts +1 -1
- package/resources/cloudforce-one/threat-events/index.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/index.js.map +1 -1
- package/resources/cloudforce-one/threat-events/index.mjs +1 -1
- package/resources/cloudforce-one/threat-events/index.mjs.map +1 -1
- package/resources/cloudforce-one/threat-events/tags.d.ts +79 -4
- package/resources/cloudforce-one/threat-events/tags.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/tags.js +2 -2
- package/resources/cloudforce-one/threat-events/tags.mjs +2 -2
- package/resources/cloudforce-one/threat-events/threat-events.d.ts +27 -4
- package/resources/cloudforce-one/threat-events/threat-events.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/threat-events.js +2 -0
- package/resources/cloudforce-one/threat-events/threat-events.js.map +1 -1
- package/resources/cloudforce-one/threat-events/threat-events.mjs +2 -0
- package/resources/cloudforce-one/threat-events/threat-events.mjs.map +1 -1
- package/resources/dns/dns.d.ts +4 -4
- package/resources/dns/dns.d.ts.map +1 -1
- package/resources/dns/dns.js +1 -0
- package/resources/dns/dns.js.map +1 -1
- package/resources/dns/dns.mjs +2 -1
- package/resources/dns/dns.mjs.map +1 -1
- package/resources/dns/index.d.ts +2 -2
- package/resources/dns/index.d.ts.map +1 -1
- package/resources/dns/index.js +2 -1
- package/resources/dns/index.js.map +1 -1
- package/resources/dns/index.mjs +1 -1
- package/resources/dns/index.mjs.map +1 -1
- package/resources/dns/records.d.ts +174 -5
- package/resources/dns/records.d.ts.map +1 -1
- package/resources/dns/records.js +60 -6
- package/resources/dns/records.js.map +1 -1
- package/resources/dns/records.mjs +59 -6
- package/resources/dns/records.mjs.map +1 -1
- package/resources/dns/settings/account/account.d.ts +48 -45
- package/resources/dns/settings/account/account.d.ts.map +1 -1
- package/resources/dns/settings/account/account.js.map +1 -1
- package/resources/dns/settings/account/account.mjs.map +1 -1
- package/resources/dns/settings/index.d.ts +1 -1
- package/resources/dns/settings/index.d.ts.map +1 -1
- package/resources/dns/settings/index.js.map +1 -1
- package/resources/dns/settings/index.mjs.map +1 -1
- package/resources/dns/settings/settings.d.ts +0 -87
- package/resources/dns/settings/settings.d.ts.map +1 -1
- package/resources/dns/settings/settings.js.map +1 -1
- package/resources/dns/settings/settings.mjs.map +1 -1
- package/resources/dns/settings/zone.d.ts +49 -46
- package/resources/dns/settings/zone.d.ts.map +1 -1
- package/resources/dns-firewall/dns-firewall.d.ts +156 -48
- package/resources/dns-firewall/dns-firewall.d.ts.map +1 -1
- package/resources/dns-firewall/dns-firewall.js.map +1 -1
- package/resources/dns-firewall/dns-firewall.mjs.map +1 -1
- package/resources/email-routing/dns.d.ts +2 -4
- package/resources/email-routing/dns.d.ts.map +1 -1
- package/resources/email-routing/dns.js +0 -2
- package/resources/email-routing/dns.js.map +1 -1
- package/resources/email-routing/dns.mjs +0 -2
- package/resources/email-routing/dns.mjs.map +1 -1
- package/resources/email-security/settings/domains.d.ts +6 -0
- package/resources/email-security/settings/domains.d.ts.map +1 -1
- package/resources/email-security/settings/domains.js.map +1 -1
- package/resources/email-security/settings/domains.mjs.map +1 -1
- package/resources/images/v1/stats.d.ts +3 -1
- package/resources/images/v1/stats.d.ts.map +1 -1
- package/resources/images/v1/stats.js +3 -1
- package/resources/images/v1/stats.js.map +1 -1
- package/resources/images/v1/stats.mjs +3 -1
- package/resources/images/v1/stats.mjs.map +1 -1
- package/resources/intel/indicator-feeds/downloads.d.ts +0 -36
- package/resources/intel/indicator-feeds/downloads.d.ts.map +1 -1
- package/resources/intel/indicator-feeds/downloads.js +0 -15
- package/resources/intel/indicator-feeds/downloads.js.map +1 -1
- package/resources/intel/indicator-feeds/downloads.mjs +0 -15
- package/resources/intel/indicator-feeds/downloads.mjs.map +1 -1
- package/resources/intel/indicator-feeds/index.d.ts +1 -1
- package/resources/intel/indicator-feeds/index.d.ts.map +1 -1
- package/resources/intel/indicator-feeds/index.js.map +1 -1
- package/resources/intel/indicator-feeds/index.mjs.map +1 -1
- package/resources/intel/indicator-feeds/indicator-feeds.d.ts +2 -2
- package/resources/intel/indicator-feeds/indicator-feeds.d.ts.map +1 -1
- package/resources/intel/indicator-feeds/indicator-feeds.js.map +1 -1
- package/resources/intel/indicator-feeds/indicator-feeds.mjs.map +1 -1
- package/resources/load-balancers/index.d.ts +1 -0
- package/resources/load-balancers/index.d.ts.map +1 -1
- package/resources/load-balancers/index.js +4 -1
- package/resources/load-balancers/index.js.map +1 -1
- package/resources/load-balancers/index.mjs +1 -0
- package/resources/load-balancers/index.mjs.map +1 -1
- package/resources/load-balancers/load-balancers.d.ts +4 -0
- package/resources/load-balancers/load-balancers.d.ts.map +1 -1
- package/resources/load-balancers/load-balancers.js +5 -0
- package/resources/load-balancers/load-balancers.js.map +1 -1
- package/resources/load-balancers/load-balancers.mjs +5 -0
- package/resources/load-balancers/load-balancers.mjs.map +1 -1
- package/resources/load-balancers/monitor-groups.d.ts +313 -0
- package/resources/load-balancers/monitor-groups.d.ts.map +1 -0
- package/resources/load-balancers/monitor-groups.js +153 -0
- package/resources/load-balancers/monitor-groups.js.map +1 -0
- package/resources/load-balancers/monitor-groups.mjs +148 -0
- package/resources/load-balancers/monitor-groups.mjs.map +1 -0
- package/resources/load-balancers/pools/pools.d.ts +20 -0
- package/resources/load-balancers/pools/pools.d.ts.map +1 -1
- package/resources/load-balancers/pools/pools.js.map +1 -1
- package/resources/load-balancers/pools/pools.mjs.map +1 -1
- package/resources/logs/rayid.d.ts +1 -1
- package/resources/logs/received/fields.d.ts +1 -1
- package/resources/logs/received/received.d.ts +1 -1
- package/resources/magic-transit/cf-interconnects.d.ts +25 -0
- package/resources/magic-transit/cf-interconnects.d.ts.map +1 -1
- package/resources/magic-transit/gre-tunnels.d.ts +40 -0
- package/resources/magic-transit/gre-tunnels.d.ts.map +1 -1
- package/resources/magic-transit/ipsec-tunnels.d.ts +124 -0
- package/resources/magic-transit/ipsec-tunnels.d.ts.map +1 -1
- package/resources/magic-transit/pcaps/download.d.ts +1 -1
- package/resources/magic-transit/pcaps/ownership.d.ts +4 -4
- package/resources/magic-transit/pcaps/pcaps.d.ts +6 -6
- package/resources/magic-transit/pcaps/pcaps.js +1 -1
- package/resources/magic-transit/pcaps/pcaps.mjs +1 -1
- package/resources/page-rules.d.ts +20 -4
- package/resources/page-rules.d.ts.map +1 -1
- package/resources/page-rules.js +20 -4
- package/resources/page-rules.js.map +1 -1
- package/resources/page-rules.mjs +20 -4
- package/resources/page-rules.mjs.map +1 -1
- package/resources/page-shield/connections.d.ts +1 -1
- package/resources/page-shield/cookies.d.ts +1 -1
- package/resources/page-shield/scripts.d.ts +1 -1
- package/resources/radar/ai/inference/summary.d.ts +2 -10
- package/resources/radar/ai/inference/summary.d.ts.map +1 -1
- package/resources/radar/ai/inference/summary.js.map +1 -1
- package/resources/radar/ai/inference/summary.mjs.map +1 -1
- package/resources/radar/ai/inference/timeseries-groups/summary.d.ts +2 -10
- package/resources/radar/ai/inference/timeseries-groups/summary.d.ts.map +1 -1
- package/resources/radar/ai/inference/timeseries-groups/summary.js.map +1 -1
- package/resources/radar/ai/inference/timeseries-groups/summary.mjs.map +1 -1
- package/resources/radar/entities/asns.d.ts +56 -1
- package/resources/radar/entities/asns.d.ts.map +1 -1
- package/resources/radar/entities/asns.js +6 -0
- package/resources/radar/entities/asns.js.map +1 -1
- package/resources/radar/entities/asns.mjs +6 -0
- package/resources/radar/entities/asns.mjs.map +1 -1
- package/resources/radar/entities/entities.d.ts +2 -2
- package/resources/radar/entities/entities.d.ts.map +1 -1
- package/resources/radar/entities/entities.js.map +1 -1
- package/resources/radar/entities/entities.mjs.map +1 -1
- package/resources/radar/entities/index.d.ts +1 -1
- package/resources/radar/entities/index.d.ts.map +1 -1
- package/resources/radar/entities/index.js.map +1 -1
- package/resources/radar/entities/index.mjs.map +1 -1
- package/resources/radar/http/ases/ases.d.ts +7 -0
- package/resources/radar/http/ases/ases.d.ts.map +1 -1
- package/resources/radar/http/ases/ases.js.map +1 -1
- package/resources/radar/http/ases/ases.mjs.map +1 -1
- package/resources/radar/http/ases/bot-class.d.ts +7 -0
- package/resources/radar/http/ases/bot-class.d.ts.map +1 -1
- package/resources/radar/http/ases/browser-family.d.ts +7 -0
- package/resources/radar/http/ases/browser-family.d.ts.map +1 -1
- package/resources/radar/http/ases/device-type.d.ts +7 -0
- package/resources/radar/http/ases/device-type.d.ts.map +1 -1
- package/resources/radar/http/ases/http-method.d.ts +7 -0
- package/resources/radar/http/ases/http-method.d.ts.map +1 -1
- package/resources/radar/http/ases/http-protocol.d.ts +7 -0
- package/resources/radar/http/ases/http-protocol.d.ts.map +1 -1
- package/resources/radar/http/ases/ip-version.d.ts +7 -0
- package/resources/radar/http/ases/ip-version.d.ts.map +1 -1
- package/resources/radar/http/ases/os.d.ts +7 -0
- package/resources/radar/http/ases/os.d.ts.map +1 -1
- package/resources/radar/http/ases/tls-version.d.ts +7 -0
- package/resources/radar/http/ases/tls-version.d.ts.map +1 -1
- package/resources/radar/http/http.d.ts +7 -0
- package/resources/radar/http/http.d.ts.map +1 -1
- package/resources/radar/http/http.js.map +1 -1
- package/resources/radar/http/http.mjs.map +1 -1
- package/resources/radar/http/locations/bot-class.d.ts +7 -0
- package/resources/radar/http/locations/bot-class.d.ts.map +1 -1
- package/resources/radar/http/locations/browser-family.d.ts +7 -0
- package/resources/radar/http/locations/browser-family.d.ts.map +1 -1
- package/resources/radar/http/locations/device-type.d.ts +7 -0
- package/resources/radar/http/locations/device-type.d.ts.map +1 -1
- package/resources/radar/http/locations/http-method.d.ts +7 -0
- package/resources/radar/http/locations/http-method.d.ts.map +1 -1
- package/resources/radar/http/locations/http-protocol.d.ts +7 -0
- package/resources/radar/http/locations/http-protocol.d.ts.map +1 -1
- package/resources/radar/http/locations/ip-version.d.ts +7 -0
- package/resources/radar/http/locations/ip-version.d.ts.map +1 -1
- package/resources/radar/http/locations/locations.d.ts +7 -0
- package/resources/radar/http/locations/locations.d.ts.map +1 -1
- package/resources/radar/http/locations/locations.js.map +1 -1
- package/resources/radar/http/locations/locations.mjs.map +1 -1
- package/resources/radar/http/locations/os.d.ts +7 -0
- package/resources/radar/http/locations/os.d.ts.map +1 -1
- package/resources/radar/http/locations/tls-version.d.ts +7 -0
- package/resources/radar/http/locations/tls-version.d.ts.map +1 -1
- package/resources/radar/http/summary.d.ts +64 -38
- package/resources/radar/http/summary.d.ts.map +1 -1
- package/resources/radar/http/summary.js.map +1 -1
- package/resources/radar/http/summary.mjs.map +1 -1
- package/resources/radar/http/timeseries-groups.d.ts +80 -50
- package/resources/radar/http/timeseries-groups.d.ts.map +1 -1
- package/resources/radar/http/timeseries-groups.js.map +1 -1
- package/resources/radar/http/timeseries-groups.mjs.map +1 -1
- package/resources/radar/http/top.d.ts +14 -0
- package/resources/radar/http/top.d.ts.map +1 -1
- package/resources/radar/leaked-credentials/summary.d.ts +2 -10
- package/resources/radar/leaked-credentials/summary.d.ts.map +1 -1
- package/resources/radar/leaked-credentials/summary.js.map +1 -1
- package/resources/radar/leaked-credentials/summary.mjs.map +1 -1
- package/resources/radar/leaked-credentials/timeseries-groups.d.ts +2 -10
- package/resources/radar/leaked-credentials/timeseries-groups.d.ts.map +1 -1
- package/resources/radar/leaked-credentials/timeseries-groups.js.map +1 -1
- package/resources/radar/leaked-credentials/timeseries-groups.mjs.map +1 -1
- package/resources/radar/netflows/netflows.d.ts +15 -4
- package/resources/radar/netflows/netflows.d.ts.map +1 -1
- package/resources/radar/netflows/netflows.js.map +1 -1
- package/resources/radar/netflows/netflows.mjs.map +1 -1
- package/resources/radar/netflows/top.d.ts +14 -0
- package/resources/radar/netflows/top.d.ts.map +1 -1
- package/resources/radar/search.d.ts +2 -2
- package/resources/radar/search.d.ts.map +1 -1
- package/resources/request-tracers/traces.d.ts +1 -1
- package/resources/resource-sharing/recipients.d.ts +77 -1
- package/resources/resource-sharing/recipients.d.ts.map +1 -1
- package/resources/resource-sharing/recipients.js +5 -2
- package/resources/resource-sharing/recipients.js.map +1 -1
- package/resources/resource-sharing/recipients.mjs +5 -2
- package/resources/resource-sharing/recipients.mjs.map +1 -1
- package/resources/resource-sharing/resource-sharing.d.ts +347 -2
- package/resources/resource-sharing/resource-sharing.d.ts.map +1 -1
- package/resources/resource-sharing/resource-sharing.js +5 -2
- package/resources/resource-sharing/resource-sharing.js.map +1 -1
- package/resources/resource-sharing/resource-sharing.mjs +5 -2
- package/resources/resource-sharing/resource-sharing.mjs.map +1 -1
- package/resources/resource-sharing/resources.d.ts +7 -7
- package/resources/resource-sharing/resources.d.ts.map +1 -1
- package/resources/resource-sharing/resources.js.map +1 -1
- package/resources/resource-sharing/resources.mjs.map +1 -1
- package/resources/rules/lists/items.d.ts +9 -0
- package/resources/rules/lists/items.d.ts.map +1 -1
- package/resources/rules/lists/items.js +9 -0
- package/resources/rules/lists/items.js.map +1 -1
- package/resources/rules/lists/items.mjs +9 -0
- package/resources/rules/lists/items.mjs.map +1 -1
- package/resources/snippets/snippets.d.ts +1 -4
- package/resources/snippets/snippets.d.ts.map +1 -1
- package/resources/snippets/snippets.js.map +1 -1
- package/resources/snippets/snippets.mjs.map +1 -1
- package/resources/stream/downloads.d.ts +4 -2
- package/resources/stream/downloads.d.ts.map +1 -1
- package/resources/stream/downloads.js +4 -2
- package/resources/stream/downloads.js.map +1 -1
- package/resources/stream/downloads.mjs +4 -2
- package/resources/stream/downloads.mjs.map +1 -1
- package/resources/workers/beta/beta.d.ts +2 -2
- package/resources/workers/beta/beta.d.ts.map +1 -1
- package/resources/workers/beta/beta.js.map +1 -1
- package/resources/workers/beta/beta.mjs.map +1 -1
- package/resources/workers/beta/index.d.ts +1 -1
- package/resources/workers/beta/index.d.ts.map +1 -1
- package/resources/workers/beta/index.js.map +1 -1
- package/resources/workers/beta/index.mjs.map +1 -1
- package/resources/workers/beta/workers/index.d.ts +1 -1
- package/resources/workers/beta/workers/index.d.ts.map +1 -1
- package/resources/workers/beta/workers/index.js.map +1 -1
- package/resources/workers/beta/workers/index.mjs.map +1 -1
- package/resources/workers/beta/workers/versions.d.ts +276 -17
- package/resources/workers/beta/workers/versions.d.ts.map +1 -1
- package/resources/workers/beta/workers/versions.js +8 -7
- package/resources/workers/beta/workers/versions.js.map +1 -1
- package/resources/workers/beta/workers/versions.mjs +8 -7
- package/resources/workers/beta/workers/versions.mjs.map +1 -1
- package/resources/workers/beta/workers/workers.d.ts +133 -18
- package/resources/workers/beta/workers/workers.d.ts.map +1 -1
- package/resources/workers/beta/workers/workers.js +35 -4
- package/resources/workers/beta/workers/workers.js.map +1 -1
- package/resources/workers/beta/workers/workers.mjs +35 -4
- package/resources/workers/beta/workers/workers.mjs.map +1 -1
- package/resources/workers/index.d.ts +1 -1
- package/resources/workers/index.d.ts.map +1 -1
- package/resources/workers/index.js.map +1 -1
- package/resources/workers/index.mjs.map +1 -1
- package/resources/workers/scripts/index.d.ts +1 -1
- package/resources/workers/scripts/index.d.ts.map +1 -1
- package/resources/workers/scripts/index.js.map +1 -1
- package/resources/workers/scripts/index.mjs.map +1 -1
- package/resources/workers/scripts/script-and-version-settings.d.ts +354 -15
- package/resources/workers/scripts/script-and-version-settings.d.ts.map +1 -1
- package/resources/workers/scripts/scripts.d.ts +206 -10
- package/resources/workers/scripts/scripts.d.ts.map +1 -1
- package/resources/workers/scripts/scripts.js +17 -0
- package/resources/workers/scripts/scripts.js.map +1 -1
- package/resources/workers/scripts/scripts.mjs +17 -0
- package/resources/workers/scripts/scripts.mjs.map +1 -1
- package/resources/workers/scripts/secrets.d.ts +10 -2
- package/resources/workers/scripts/secrets.d.ts.map +1 -1
- package/resources/workers/scripts/secrets.js +10 -4
- package/resources/workers/scripts/secrets.js.map +1 -1
- package/resources/workers/scripts/secrets.mjs +10 -4
- package/resources/workers/scripts/secrets.mjs.map +1 -1
- package/resources/workers/scripts/settings.d.ts +12 -0
- package/resources/workers/scripts/settings.d.ts.map +1 -1
- package/resources/workers/scripts/versions.d.ts +327 -12
- package/resources/workers/scripts/versions.d.ts.map +1 -1
- package/resources/workers/scripts/versions.js.map +1 -1
- package/resources/workers/scripts/versions.mjs.map +1 -1
- package/resources/workers/workers.d.ts +2 -2
- package/resources/workers/workers.d.ts.map +1 -1
- package/resources/workers/workers.js.map +1 -1
- package/resources/workers/workers.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.d.ts +109 -4
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts +121 -9
- 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/workers-for-platforms/dispatch/namespaces/scripts/secrets.d.ts +10 -2
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.js +4 -4
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.mjs +4 -4
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts +354 -15
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.d.ts +2 -8
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.js +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.mjs +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.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/zero-trust/access/applications/applications.d.ts +0 -84
- 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/bookmarks.d.ts +0 -2
- package/resources/zero-trust/access/bookmarks.d.ts.map +1 -1
- package/resources/zero-trust/access/bookmarks.js.map +1 -1
- package/resources/zero-trust/access/bookmarks.mjs.map +1 -1
- package/resources/zero-trust/access/certificates/certificates.d.ts +0 -2
- package/resources/zero-trust/access/certificates/certificates.d.ts.map +1 -1
- package/resources/zero-trust/access/certificates/certificates.js.map +1 -1
- package/resources/zero-trust/access/certificates/certificates.mjs.map +1 -1
- package/resources/zero-trust/access/custom-pages.d.ts +0 -20
- package/resources/zero-trust/access/custom-pages.d.ts.map +1 -1
- package/resources/zero-trust/access/custom-pages.js.map +1 -1
- package/resources/zero-trust/access/custom-pages.mjs.map +1 -1
- package/resources/zero-trust/access/groups.d.ts +0 -8
- package/resources/zero-trust/access/groups.d.ts.map +1 -1
- package/resources/zero-trust/access/groups.js.map +1 -1
- package/resources/zero-trust/access/groups.mjs.map +1 -1
- package/resources/zero-trust/access/service-tokens.d.ts +37 -8
- package/resources/zero-trust/access/service-tokens.d.ts.map +1 -1
- package/resources/zero-trust/access/service-tokens.js +5 -2
- package/resources/zero-trust/access/service-tokens.js.map +1 -1
- package/resources/zero-trust/access/service-tokens.mjs +5 -2
- package/resources/zero-trust/access/service-tokens.mjs.map +1 -1
- package/resources/zero-trust/access/tags.d.ts +0 -6
- package/resources/zero-trust/access/tags.d.ts.map +1 -1
- package/resources/zero-trust/access/tags.js.map +1 -1
- package/resources/zero-trust/access/tags.mjs.map +1 -1
- package/resources/zero-trust/devices/devices_.d.ts +94 -1
- package/resources/zero-trust/devices/devices_.d.ts.map +1 -1
- package/resources/zero-trust/devices/devices_.js +5 -2
- package/resources/zero-trust/devices/devices_.js.map +1 -1
- package/resources/zero-trust/devices/devices_.mjs +5 -2
- package/resources/zero-trust/devices/devices_.mjs.map +1 -1
- package/resources/zero-trust/devices/registrations.d.ts +70 -1
- package/resources/zero-trust/devices/registrations.d.ts.map +1 -1
- package/resources/zero-trust/devices/registrations.js +5 -2
- package/resources/zero-trust/devices/registrations.js.map +1 -1
- package/resources/zero-trust/devices/registrations.mjs +5 -2
- package/resources/zero-trust/devices/registrations.mjs.map +1 -1
- package/resources/zero-trust/gateway/app-types.d.ts +10 -10
- package/resources/zero-trust/gateway/app-types.js +1 -1
- package/resources/zero-trust/gateway/app-types.mjs +1 -1
- package/resources/zero-trust/gateway/audit-ssh-settings.d.ts +11 -11
- package/resources/zero-trust/gateway/audit-ssh-settings.js +5 -5
- package/resources/zero-trust/gateway/audit-ssh-settings.mjs +5 -5
- package/resources/zero-trust/gateway/categories.d.ts +17 -19
- package/resources/zero-trust/gateway/categories.d.ts.map +1 -1
- package/resources/zero-trust/gateway/categories.js +1 -1
- package/resources/zero-trust/gateway/categories.js.map +1 -1
- package/resources/zero-trust/gateway/categories.mjs +1 -1
- package/resources/zero-trust/gateway/categories.mjs.map +1 -1
- package/resources/zero-trust/gateway/certificates.d.ts +84 -83
- package/resources/zero-trust/gateway/certificates.d.ts.map +1 -1
- package/resources/zero-trust/gateway/certificates.js +7 -7
- package/resources/zero-trust/gateway/certificates.js.map +1 -1
- package/resources/zero-trust/gateway/certificates.mjs +7 -7
- package/resources/zero-trust/gateway/certificates.mjs.map +1 -1
- package/resources/zero-trust/gateway/configurations/configurations.d.ts +212 -192
- package/resources/zero-trust/gateway/configurations/configurations.d.ts.map +1 -1
- package/resources/zero-trust/gateway/configurations/configurations.js +7 -7
- package/resources/zero-trust/gateway/configurations/configurations.js.map +1 -1
- package/resources/zero-trust/gateway/configurations/configurations.mjs +7 -7
- package/resources/zero-trust/gateway/configurations/configurations.mjs.map +1 -1
- package/resources/zero-trust/gateway/configurations/custom-certificate.d.ts +1 -1
- package/resources/zero-trust/gateway/configurations/custom-certificate.js +1 -1
- package/resources/zero-trust/gateway/configurations/custom-certificate.mjs +1 -1
- package/resources/zero-trust/gateway/gateway.d.ts +8 -8
- package/resources/zero-trust/gateway/gateway.js +2 -2
- package/resources/zero-trust/gateway/gateway.mjs +2 -2
- package/resources/zero-trust/gateway/lists/items.d.ts +2 -2
- package/resources/zero-trust/gateway/lists/items.js +1 -1
- package/resources/zero-trust/gateway/lists/items.mjs +1 -1
- package/resources/zero-trust/gateway/lists/lists.d.ts +32 -32
- package/resources/zero-trust/gateway/lists/lists.js +3 -3
- package/resources/zero-trust/gateway/lists/lists.mjs +3 -3
- package/resources/zero-trust/gateway/locations.d.ts +84 -98
- package/resources/zero-trust/gateway/locations.d.ts.map +1 -1
- package/resources/zero-trust/gateway/locations.js +5 -5
- package/resources/zero-trust/gateway/locations.js.map +1 -1
- package/resources/zero-trust/gateway/locations.mjs +5 -5
- package/resources/zero-trust/gateway/locations.mjs.map +1 -1
- package/resources/zero-trust/gateway/logging.d.ts +60 -23
- package/resources/zero-trust/gateway/logging.d.ts.map +1 -1
- package/resources/zero-trust/gateway/logging.js +2 -2
- package/resources/zero-trust/gateway/logging.mjs +2 -2
- package/resources/zero-trust/gateway/proxy-endpoints.d.ts +16 -16
- package/resources/zero-trust/gateway/proxy-endpoints.js +5 -5
- package/resources/zero-trust/gateway/proxy-endpoints.mjs +5 -5
- package/resources/zero-trust/gateway/rules.d.ts +514 -439
- package/resources/zero-trust/gateway/rules.d.ts.map +1 -1
- package/resources/zero-trust/gateway/rules.js +8 -10
- package/resources/zero-trust/gateway/rules.js.map +1 -1
- package/resources/zero-trust/gateway/rules.mjs +8 -10
- package/resources/zero-trust/gateway/rules.mjs.map +1 -1
- package/resources/zero-trust/networks/hostname-routes.d.ts +188 -0
- package/resources/zero-trust/networks/hostname-routes.d.ts.map +1 -0
- package/resources/zero-trust/networks/hostname-routes.js +100 -0
- package/resources/zero-trust/networks/hostname-routes.js.map +1 -0
- package/resources/zero-trust/networks/hostname-routes.mjs +95 -0
- package/resources/zero-trust/networks/hostname-routes.mjs.map +1 -0
- package/resources/zero-trust/networks/index.d.ts +1 -0
- package/resources/zero-trust/networks/index.d.ts.map +1 -1
- package/resources/zero-trust/networks/index.js +4 -1
- package/resources/zero-trust/networks/index.js.map +1 -1
- package/resources/zero-trust/networks/index.mjs +1 -0
- package/resources/zero-trust/networks/index.mjs.map +1 -1
- package/resources/zero-trust/networks/networks.d.ts +4 -0
- package/resources/zero-trust/networks/networks.d.ts.map +1 -1
- package/resources/zero-trust/networks/networks.js +5 -0
- package/resources/zero-trust/networks/networks.js.map +1 -1
- package/resources/zero-trust/networks/networks.mjs +5 -0
- package/resources/zero-trust/networks/networks.mjs.map +1 -1
- package/resources/zero-trust/organizations/doh.d.ts +0 -6
- package/resources/zero-trust/organizations/doh.d.ts.map +1 -1
- package/resources/zero-trust/organizations/organizations.d.ts +0 -2
- package/resources/zero-trust/organizations/organizations.d.ts.map +1 -1
- package/resources/zero-trust/organizations/organizations.js.map +1 -1
- package/resources/zero-trust/organizations/organizations.mjs.map +1 -1
- package/resources/zero-trust/tunnels/cloudflared/configurations.d.ts +0 -24
- package/resources/zero-trust/tunnels/cloudflared/configurations.d.ts.map +1 -1
- package/src/resources/addressing/prefixes/prefixes.ts +16 -8
- package/src/resources/ai/ai.ts +17 -0
- package/src/resources/ai/index.ts +6 -0
- package/src/resources/ai/to-markdown.ts +61 -0
- package/src/resources/ai-gateway/ai-gateway.ts +282 -12
- package/src/resources/ai-gateway/logs.ts +4 -2
- package/src/resources/alerting/destinations/pagerduty.ts +12 -25
- package/src/resources/alerting/destinations/webhooks.ts +12 -25
- package/src/resources/alerting/policies.ts +14 -3
- package/src/resources/bot-management.ts +61 -0
- package/src/resources/browser-rendering/json.ts +1 -1
- package/src/resources/browser-rendering/links.ts +5 -0
- package/src/resources/calls/turn.ts +5 -1
- package/src/resources/cloudforce-one/threat-events/crons.ts +1 -67
- package/src/resources/cloudforce-one/threat-events/datasets/datasets.ts +2 -6
- package/src/resources/cloudforce-one/threat-events/datasets/health.ts +1 -175
- package/src/resources/cloudforce-one/threat-events/datasets/index.ts +1 -1
- package/src/resources/cloudforce-one/threat-events/index.ts +1 -7
- package/src/resources/cloudforce-one/threat-events/tags.ts +110 -5
- package/src/resources/cloudforce-one/threat-events/threat-events.ts +45 -10
- package/src/resources/dns/dns.ts +15 -2
- package/src/resources/dns/index.ts +7 -1
- package/src/resources/dns/records.ts +267 -8
- package/src/resources/dns/settings/account/account.ts +48 -45
- package/src/resources/dns/settings/index.ts +1 -1
- package/src/resources/dns/settings/settings.ts +0 -104
- package/src/resources/dns/settings/zone.ts +49 -46
- package/src/resources/dns-firewall/dns-firewall.ts +156 -48
- package/src/resources/email-routing/dns.ts +2 -4
- package/src/resources/email-security/settings/domains.ts +12 -0
- package/src/resources/images/v1/stats.ts +3 -1
- package/src/resources/intel/indicator-feeds/downloads.ts +1 -55
- package/src/resources/intel/indicator-feeds/index.ts +1 -1
- package/src/resources/intel/indicator-feeds/indicator-feeds.ts +2 -6
- package/src/resources/load-balancers/index.ts +11 -0
- package/src/resources/load-balancers/load-balancers.ts +27 -0
- package/src/resources/load-balancers/monitor-groups.ts +436 -0
- package/src/resources/load-balancers/pools/pools.ts +24 -0
- package/src/resources/logs/rayid.ts +1 -1
- package/src/resources/logs/received/fields.ts +1 -1
- package/src/resources/logs/received/received.ts +1 -1
- package/src/resources/magic-transit/cf-interconnects.ts +30 -0
- package/src/resources/magic-transit/gre-tunnels.ts +48 -0
- package/src/resources/magic-transit/ipsec-tunnels.ts +144 -0
- package/src/resources/magic-transit/pcaps/download.ts +1 -1
- package/src/resources/magic-transit/pcaps/ownership.ts +4 -4
- package/src/resources/magic-transit/pcaps/pcaps.ts +6 -6
- package/src/resources/page-rules.ts +20 -4
- package/src/resources/page-shield/connections.ts +1 -1
- package/src/resources/page-shield/cookies.ts +1 -1
- package/src/resources/page-shield/scripts.ts +1 -1
- package/src/resources/radar/ai/inference/summary.ts +2 -10
- package/src/resources/radar/ai/inference/timeseries-groups/summary.ts +2 -10
- package/src/resources/radar/entities/asns.ts +86 -0
- package/src/resources/radar/entities/entities.ts +4 -0
- package/src/resources/radar/entities/index.ts +2 -0
- package/src/resources/radar/http/ases/ases.ts +8 -0
- package/src/resources/radar/http/ases/bot-class.ts +8 -0
- package/src/resources/radar/http/ases/browser-family.ts +8 -0
- package/src/resources/radar/http/ases/device-type.ts +8 -0
- package/src/resources/radar/http/ases/http-method.ts +8 -0
- package/src/resources/radar/http/ases/http-protocol.ts +8 -0
- package/src/resources/radar/http/ases/ip-version.ts +8 -0
- package/src/resources/radar/http/ases/os.ts +8 -0
- package/src/resources/radar/http/ases/tls-version.ts +8 -0
- package/src/resources/radar/http/http.ts +8 -0
- package/src/resources/radar/http/locations/bot-class.ts +8 -0
- package/src/resources/radar/http/locations/browser-family.ts +8 -0
- package/src/resources/radar/http/locations/device-type.ts +8 -0
- package/src/resources/radar/http/locations/http-method.ts +8 -0
- package/src/resources/radar/http/locations/http-protocol.ts +8 -0
- package/src/resources/radar/http/locations/ip-version.ts +8 -0
- package/src/resources/radar/http/locations/locations.ts +8 -0
- package/src/resources/radar/http/locations/os.ts +8 -0
- package/src/resources/radar/http/locations/tls-version.ts +8 -0
- package/src/resources/radar/http/summary.ts +72 -38
- package/src/resources/radar/http/timeseries-groups.ts +90 -50
- package/src/resources/radar/http/top.ts +16 -0
- package/src/resources/radar/leaked-credentials/summary.ts +2 -10
- package/src/resources/radar/leaked-credentials/timeseries-groups.ts +2 -10
- package/src/resources/radar/netflows/netflows.ts +17 -4
- package/src/resources/radar/netflows/top.ts +16 -0
- package/src/resources/radar/search.ts +2 -0
- package/src/resources/request-tracers/traces.ts +1 -1
- package/src/resources/resource-sharing/recipients.ts +100 -6
- package/src/resources/resource-sharing/resource-sharing.ts +470 -6
- package/src/resources/resource-sharing/resources.ts +49 -7
- package/src/resources/rules/lists/items.ts +9 -0
- package/src/resources/snippets/snippets.ts +2 -5
- package/src/resources/stream/downloads.ts +4 -2
- package/src/resources/workers/beta/beta.ts +2 -0
- package/src/resources/workers/beta/index.ts +1 -0
- package/src/resources/workers/beta/workers/index.ts +1 -0
- package/src/resources/workers/beta/workers/versions.ts +331 -16
- package/src/resources/workers/beta/workers/workers.ts +160 -18
- package/src/resources/workers/index.ts +2 -0
- package/src/resources/workers/scripts/index.ts +2 -0
- package/src/resources/workers/scripts/script-and-version-settings.ts +438 -12
- package/src/resources/workers/scripts/scripts.ts +261 -8
- package/src/resources/workers/scripts/secrets.ts +22 -12
- package/src/resources/workers/scripts/settings.ts +15 -0
- package/src/resources/workers/scripts/versions.ts +405 -9
- package/src/resources/workers/workers.ts +4 -0
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.ts +136 -4
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.ts +149 -8
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.ts +16 -6
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.ts +438 -12
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.ts +2 -8
- package/src/resources/workflows/instances/instances.ts +6 -0
- package/src/resources/zero-trust/access/applications/applications.ts +0 -168
- package/src/resources/zero-trust/access/bookmarks.ts +0 -4
- package/src/resources/zero-trust/access/certificates/certificates.ts +0 -4
- package/src/resources/zero-trust/access/custom-pages.ts +0 -28
- package/src/resources/zero-trust/access/groups.ts +0 -16
- package/src/resources/zero-trust/access/service-tokens.ts +47 -20
- package/src/resources/zero-trust/access/tags.ts +0 -9
- package/src/resources/zero-trust/devices/devices_.ts +114 -6
- package/src/resources/zero-trust/devices/registrations.ts +88 -6
- package/src/resources/zero-trust/gateway/app-types.ts +10 -10
- package/src/resources/zero-trust/gateway/audit-ssh-settings.ts +11 -11
- package/src/resources/zero-trust/gateway/categories.ts +17 -19
- package/src/resources/zero-trust/gateway/certificates.ts +84 -83
- package/src/resources/zero-trust/gateway/configurations/configurations.ts +212 -192
- package/src/resources/zero-trust/gateway/configurations/custom-certificate.ts +1 -1
- package/src/resources/zero-trust/gateway/gateway.ts +8 -8
- package/src/resources/zero-trust/gateway/lists/items.ts +2 -2
- package/src/resources/zero-trust/gateway/lists/lists.ts +32 -32
- package/src/resources/zero-trust/gateway/locations.ts +84 -98
- package/src/resources/zero-trust/gateway/logging.ts +60 -23
- package/src/resources/zero-trust/gateway/proxy-endpoints.ts +16 -16
- package/src/resources/zero-trust/gateway/rules.ts +515 -440
- package/src/resources/zero-trust/networks/hostname-routes.ts +283 -0
- package/src/resources/zero-trust/networks/index.ts +10 -0
- package/src/resources/zero-trust/networks/networks.ts +25 -0
- package/src/resources/zero-trust/organizations/doh.ts +0 -12
- package/src/resources/zero-trust/organizations/organizations.ts +0 -4
- package/src/resources/zero-trust/tunnels/cloudflared/configurations.ts +0 -28
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -71,9 +71,12 @@ export interface ScriptAndVersionSettingEditResponse {
|
|
|
71
71
|
| ScriptAndVersionSettingEditResponse.WorkersBindingKindAssets
|
|
72
72
|
| ScriptAndVersionSettingEditResponse.WorkersBindingKindBrowser
|
|
73
73
|
| ScriptAndVersionSettingEditResponse.WorkersBindingKindD1
|
|
74
|
+
| ScriptAndVersionSettingEditResponse.WorkersBindingKindDataBlob
|
|
74
75
|
| ScriptAndVersionSettingEditResponse.WorkersBindingKindDispatchNamespace
|
|
75
76
|
| ScriptAndVersionSettingEditResponse.WorkersBindingKindDurableObjectNamespace
|
|
76
77
|
| ScriptAndVersionSettingEditResponse.WorkersBindingKindHyperdrive
|
|
78
|
+
| ScriptAndVersionSettingEditResponse.WorkersBindingKindInherit
|
|
79
|
+
| ScriptAndVersionSettingEditResponse.WorkersBindingKindImages
|
|
77
80
|
| ScriptAndVersionSettingEditResponse.WorkersBindingKindJson
|
|
78
81
|
| ScriptAndVersionSettingEditResponse.WorkersBindingKindKVNamespace
|
|
79
82
|
| ScriptAndVersionSettingEditResponse.WorkersBindingKindMTLSCertificate
|
|
@@ -82,13 +85,16 @@ export interface ScriptAndVersionSettingEditResponse {
|
|
|
82
85
|
| ScriptAndVersionSettingEditResponse.WorkersBindingKindQueue
|
|
83
86
|
| ScriptAndVersionSettingEditResponse.WorkersBindingKindR2Bucket
|
|
84
87
|
| ScriptAndVersionSettingEditResponse.WorkersBindingKindSecretText
|
|
88
|
+
| ScriptAndVersionSettingEditResponse.WorkersBindingKindSendEmail
|
|
85
89
|
| ScriptAndVersionSettingEditResponse.WorkersBindingKindService
|
|
86
90
|
| ScriptAndVersionSettingEditResponse.WorkersBindingKindTailConsumer
|
|
91
|
+
| ScriptAndVersionSettingEditResponse.WorkersBindingKindTextBlob
|
|
87
92
|
| ScriptAndVersionSettingEditResponse.WorkersBindingKindVectorize
|
|
88
93
|
| ScriptAndVersionSettingEditResponse.WorkersBindingKindVersionMetadata
|
|
89
94
|
| ScriptAndVersionSettingEditResponse.WorkersBindingKindSecretsStoreSecret
|
|
90
95
|
| ScriptAndVersionSettingEditResponse.WorkersBindingKindSecretKey
|
|
91
96
|
| ScriptAndVersionSettingEditResponse.WorkersBindingKindWorkflow
|
|
97
|
+
| ScriptAndVersionSettingEditResponse.WorkersBindingKindWasmModule
|
|
92
98
|
>;
|
|
93
99
|
|
|
94
100
|
/**
|
|
@@ -126,7 +132,7 @@ export interface ScriptAndVersionSettingEditResponse {
|
|
|
126
132
|
placement?: ScriptAndVersionSettingEditResponse.Placement;
|
|
127
133
|
|
|
128
134
|
/**
|
|
129
|
-
* Tags
|
|
135
|
+
* Tags associated with the Worker.
|
|
130
136
|
*/
|
|
131
137
|
tags?: Array<string>;
|
|
132
138
|
|
|
@@ -212,6 +218,24 @@ export namespace ScriptAndVersionSettingEditResponse {
|
|
|
212
218
|
type: 'd1';
|
|
213
219
|
}
|
|
214
220
|
|
|
221
|
+
export interface WorkersBindingKindDataBlob {
|
|
222
|
+
/**
|
|
223
|
+
* A JavaScript variable name for the binding.
|
|
224
|
+
*/
|
|
225
|
+
name: string;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* The name of the file containing the data content. Only accepted for
|
|
229
|
+
* `service worker syntax` Workers.
|
|
230
|
+
*/
|
|
231
|
+
part: string;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* @deprecated The kind of resource that the binding provides.
|
|
235
|
+
*/
|
|
236
|
+
type: 'data_blob';
|
|
237
|
+
}
|
|
238
|
+
|
|
215
239
|
export interface WorkersBindingKindDispatchNamespace {
|
|
216
240
|
/**
|
|
217
241
|
* A JavaScript variable name for the binding.
|
|
@@ -319,6 +343,44 @@ export namespace ScriptAndVersionSettingEditResponse {
|
|
|
319
343
|
type: 'hyperdrive';
|
|
320
344
|
}
|
|
321
345
|
|
|
346
|
+
export interface WorkersBindingKindInherit {
|
|
347
|
+
/**
|
|
348
|
+
* The name of the inherited binding.
|
|
349
|
+
*/
|
|
350
|
+
name: string;
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* The kind of resource that the binding provides.
|
|
354
|
+
*/
|
|
355
|
+
type: 'inherit';
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* The old name of the inherited binding. If set, the binding will be renamed from
|
|
359
|
+
* `old_name` to `name` in the new version. If not set, the binding will keep the
|
|
360
|
+
* same name between versions.
|
|
361
|
+
*/
|
|
362
|
+
old_name?: string;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Identifier for the version to inherit the binding from, which can be the version
|
|
366
|
+
* ID or the literal "latest" to inherit from the latest version. Defaults to
|
|
367
|
+
* inheriting the binding from the latest version.
|
|
368
|
+
*/
|
|
369
|
+
version_id?: string;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
export interface WorkersBindingKindImages {
|
|
373
|
+
/**
|
|
374
|
+
* A JavaScript variable name for the binding.
|
|
375
|
+
*/
|
|
376
|
+
name: string;
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* The kind of resource that the binding provides.
|
|
380
|
+
*/
|
|
381
|
+
type: 'images';
|
|
382
|
+
}
|
|
383
|
+
|
|
322
384
|
export interface WorkersBindingKindJson {
|
|
323
385
|
/**
|
|
324
386
|
* JSON data to use.
|
|
@@ -436,6 +498,13 @@ export namespace ScriptAndVersionSettingEditResponse {
|
|
|
436
498
|
* The kind of resource that the binding provides.
|
|
437
499
|
*/
|
|
438
500
|
type: 'r2_bucket';
|
|
501
|
+
|
|
502
|
+
/**
|
|
503
|
+
* The
|
|
504
|
+
* [jurisdiction](https://developers.cloudflare.com/r2/reference/data-location/#jurisdictional-restrictions)
|
|
505
|
+
* of the R2 bucket.
|
|
506
|
+
*/
|
|
507
|
+
jurisdiction?: 'eu' | 'fedramp';
|
|
439
508
|
}
|
|
440
509
|
|
|
441
510
|
export interface WorkersBindingKindSecretText {
|
|
@@ -450,12 +519,34 @@ export namespace ScriptAndVersionSettingEditResponse {
|
|
|
450
519
|
type: 'secret_text';
|
|
451
520
|
}
|
|
452
521
|
|
|
453
|
-
export interface
|
|
522
|
+
export interface WorkersBindingKindSendEmail {
|
|
454
523
|
/**
|
|
455
|
-
*
|
|
524
|
+
* A JavaScript variable name for the binding.
|
|
525
|
+
*/
|
|
526
|
+
name: string;
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* The kind of resource that the binding provides.
|
|
530
|
+
*/
|
|
531
|
+
type: 'send_email';
|
|
532
|
+
|
|
533
|
+
/**
|
|
534
|
+
* List of allowed destination addresses.
|
|
535
|
+
*/
|
|
536
|
+
allowed_destination_addresses?: Array<string>;
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* List of allowed sender addresses.
|
|
456
540
|
*/
|
|
457
|
-
|
|
541
|
+
allowed_sender_addresses?: Array<string>;
|
|
458
542
|
|
|
543
|
+
/**
|
|
544
|
+
* Destination address for the email.
|
|
545
|
+
*/
|
|
546
|
+
destination_address?: string;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
export interface WorkersBindingKindService {
|
|
459
550
|
/**
|
|
460
551
|
* A JavaScript variable name for the binding.
|
|
461
552
|
*/
|
|
@@ -470,6 +561,11 @@ export namespace ScriptAndVersionSettingEditResponse {
|
|
|
470
561
|
* The kind of resource that the binding provides.
|
|
471
562
|
*/
|
|
472
563
|
type: 'service';
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* Optional environment if the Worker utilizes one.
|
|
567
|
+
*/
|
|
568
|
+
environment?: string;
|
|
473
569
|
}
|
|
474
570
|
|
|
475
571
|
export interface WorkersBindingKindTailConsumer {
|
|
@@ -489,6 +585,24 @@ export namespace ScriptAndVersionSettingEditResponse {
|
|
|
489
585
|
type: 'tail_consumer';
|
|
490
586
|
}
|
|
491
587
|
|
|
588
|
+
export interface WorkersBindingKindTextBlob {
|
|
589
|
+
/**
|
|
590
|
+
* A JavaScript variable name for the binding.
|
|
591
|
+
*/
|
|
592
|
+
name: string;
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* The name of the file containing the text content. Only accepted for
|
|
596
|
+
* `service worker syntax` Workers.
|
|
597
|
+
*/
|
|
598
|
+
part: string;
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* @deprecated The kind of resource that the binding provides.
|
|
602
|
+
*/
|
|
603
|
+
type: 'text_blob';
|
|
604
|
+
}
|
|
605
|
+
|
|
492
606
|
export interface WorkersBindingKindVectorize {
|
|
493
607
|
/**
|
|
494
608
|
* Name of the Vectorize index to bind to.
|
|
@@ -601,6 +715,24 @@ export namespace ScriptAndVersionSettingEditResponse {
|
|
|
601
715
|
script_name?: string;
|
|
602
716
|
}
|
|
603
717
|
|
|
718
|
+
export interface WorkersBindingKindWasmModule {
|
|
719
|
+
/**
|
|
720
|
+
* A JavaScript variable name for the binding.
|
|
721
|
+
*/
|
|
722
|
+
name: string;
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* The name of the file containing the WebAssembly module content. Only accepted
|
|
726
|
+
* for `service worker syntax` Workers.
|
|
727
|
+
*/
|
|
728
|
+
part: string;
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* @deprecated The kind of resource that the binding provides.
|
|
732
|
+
*/
|
|
733
|
+
type: 'wasm_module';
|
|
734
|
+
}
|
|
735
|
+
|
|
604
736
|
/**
|
|
605
737
|
* Limits to apply for this Worker.
|
|
606
738
|
*/
|
|
@@ -649,10 +781,20 @@ export namespace ScriptAndVersionSettingEditResponse {
|
|
|
649
781
|
*/
|
|
650
782
|
invocation_logs: boolean;
|
|
651
783
|
|
|
784
|
+
/**
|
|
785
|
+
* A list of destinations where logs will be exported to.
|
|
786
|
+
*/
|
|
787
|
+
destinations?: Array<string>;
|
|
788
|
+
|
|
652
789
|
/**
|
|
653
790
|
* The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%). Default is 1.
|
|
654
791
|
*/
|
|
655
792
|
head_sampling_rate?: number | null;
|
|
793
|
+
|
|
794
|
+
/**
|
|
795
|
+
* Whether log persistence is enabled for the Worker.
|
|
796
|
+
*/
|
|
797
|
+
persist?: boolean;
|
|
656
798
|
}
|
|
657
799
|
}
|
|
658
800
|
|
|
@@ -681,9 +823,12 @@ export interface ScriptAndVersionSettingGetResponse {
|
|
|
681
823
|
| ScriptAndVersionSettingGetResponse.WorkersBindingKindAssets
|
|
682
824
|
| ScriptAndVersionSettingGetResponse.WorkersBindingKindBrowser
|
|
683
825
|
| ScriptAndVersionSettingGetResponse.WorkersBindingKindD1
|
|
826
|
+
| ScriptAndVersionSettingGetResponse.WorkersBindingKindDataBlob
|
|
684
827
|
| ScriptAndVersionSettingGetResponse.WorkersBindingKindDispatchNamespace
|
|
685
828
|
| ScriptAndVersionSettingGetResponse.WorkersBindingKindDurableObjectNamespace
|
|
686
829
|
| ScriptAndVersionSettingGetResponse.WorkersBindingKindHyperdrive
|
|
830
|
+
| ScriptAndVersionSettingGetResponse.WorkersBindingKindInherit
|
|
831
|
+
| ScriptAndVersionSettingGetResponse.WorkersBindingKindImages
|
|
687
832
|
| ScriptAndVersionSettingGetResponse.WorkersBindingKindJson
|
|
688
833
|
| ScriptAndVersionSettingGetResponse.WorkersBindingKindKVNamespace
|
|
689
834
|
| ScriptAndVersionSettingGetResponse.WorkersBindingKindMTLSCertificate
|
|
@@ -692,13 +837,16 @@ export interface ScriptAndVersionSettingGetResponse {
|
|
|
692
837
|
| ScriptAndVersionSettingGetResponse.WorkersBindingKindQueue
|
|
693
838
|
| ScriptAndVersionSettingGetResponse.WorkersBindingKindR2Bucket
|
|
694
839
|
| ScriptAndVersionSettingGetResponse.WorkersBindingKindSecretText
|
|
840
|
+
| ScriptAndVersionSettingGetResponse.WorkersBindingKindSendEmail
|
|
695
841
|
| ScriptAndVersionSettingGetResponse.WorkersBindingKindService
|
|
696
842
|
| ScriptAndVersionSettingGetResponse.WorkersBindingKindTailConsumer
|
|
843
|
+
| ScriptAndVersionSettingGetResponse.WorkersBindingKindTextBlob
|
|
697
844
|
| ScriptAndVersionSettingGetResponse.WorkersBindingKindVectorize
|
|
698
845
|
| ScriptAndVersionSettingGetResponse.WorkersBindingKindVersionMetadata
|
|
699
846
|
| ScriptAndVersionSettingGetResponse.WorkersBindingKindSecretsStoreSecret
|
|
700
847
|
| ScriptAndVersionSettingGetResponse.WorkersBindingKindSecretKey
|
|
701
848
|
| ScriptAndVersionSettingGetResponse.WorkersBindingKindWorkflow
|
|
849
|
+
| ScriptAndVersionSettingGetResponse.WorkersBindingKindWasmModule
|
|
702
850
|
>;
|
|
703
851
|
|
|
704
852
|
/**
|
|
@@ -736,7 +884,7 @@ export interface ScriptAndVersionSettingGetResponse {
|
|
|
736
884
|
placement?: ScriptAndVersionSettingGetResponse.Placement;
|
|
737
885
|
|
|
738
886
|
/**
|
|
739
|
-
* Tags
|
|
887
|
+
* Tags associated with the Worker.
|
|
740
888
|
*/
|
|
741
889
|
tags?: Array<string>;
|
|
742
890
|
|
|
@@ -822,6 +970,24 @@ export namespace ScriptAndVersionSettingGetResponse {
|
|
|
822
970
|
type: 'd1';
|
|
823
971
|
}
|
|
824
972
|
|
|
973
|
+
export interface WorkersBindingKindDataBlob {
|
|
974
|
+
/**
|
|
975
|
+
* A JavaScript variable name for the binding.
|
|
976
|
+
*/
|
|
977
|
+
name: string;
|
|
978
|
+
|
|
979
|
+
/**
|
|
980
|
+
* The name of the file containing the data content. Only accepted for
|
|
981
|
+
* `service worker syntax` Workers.
|
|
982
|
+
*/
|
|
983
|
+
part: string;
|
|
984
|
+
|
|
985
|
+
/**
|
|
986
|
+
* @deprecated The kind of resource that the binding provides.
|
|
987
|
+
*/
|
|
988
|
+
type: 'data_blob';
|
|
989
|
+
}
|
|
990
|
+
|
|
825
991
|
export interface WorkersBindingKindDispatchNamespace {
|
|
826
992
|
/**
|
|
827
993
|
* A JavaScript variable name for the binding.
|
|
@@ -929,6 +1095,44 @@ export namespace ScriptAndVersionSettingGetResponse {
|
|
|
929
1095
|
type: 'hyperdrive';
|
|
930
1096
|
}
|
|
931
1097
|
|
|
1098
|
+
export interface WorkersBindingKindInherit {
|
|
1099
|
+
/**
|
|
1100
|
+
* The name of the inherited binding.
|
|
1101
|
+
*/
|
|
1102
|
+
name: string;
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* The kind of resource that the binding provides.
|
|
1106
|
+
*/
|
|
1107
|
+
type: 'inherit';
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* The old name of the inherited binding. If set, the binding will be renamed from
|
|
1111
|
+
* `old_name` to `name` in the new version. If not set, the binding will keep the
|
|
1112
|
+
* same name between versions.
|
|
1113
|
+
*/
|
|
1114
|
+
old_name?: string;
|
|
1115
|
+
|
|
1116
|
+
/**
|
|
1117
|
+
* Identifier for the version to inherit the binding from, which can be the version
|
|
1118
|
+
* ID or the literal "latest" to inherit from the latest version. Defaults to
|
|
1119
|
+
* inheriting the binding from the latest version.
|
|
1120
|
+
*/
|
|
1121
|
+
version_id?: string;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
export interface WorkersBindingKindImages {
|
|
1125
|
+
/**
|
|
1126
|
+
* A JavaScript variable name for the binding.
|
|
1127
|
+
*/
|
|
1128
|
+
name: string;
|
|
1129
|
+
|
|
1130
|
+
/**
|
|
1131
|
+
* The kind of resource that the binding provides.
|
|
1132
|
+
*/
|
|
1133
|
+
type: 'images';
|
|
1134
|
+
}
|
|
1135
|
+
|
|
932
1136
|
export interface WorkersBindingKindJson {
|
|
933
1137
|
/**
|
|
934
1138
|
* JSON data to use.
|
|
@@ -1046,6 +1250,13 @@ export namespace ScriptAndVersionSettingGetResponse {
|
|
|
1046
1250
|
* The kind of resource that the binding provides.
|
|
1047
1251
|
*/
|
|
1048
1252
|
type: 'r2_bucket';
|
|
1253
|
+
|
|
1254
|
+
/**
|
|
1255
|
+
* The
|
|
1256
|
+
* [jurisdiction](https://developers.cloudflare.com/r2/reference/data-location/#jurisdictional-restrictions)
|
|
1257
|
+
* of the R2 bucket.
|
|
1258
|
+
*/
|
|
1259
|
+
jurisdiction?: 'eu' | 'fedramp';
|
|
1049
1260
|
}
|
|
1050
1261
|
|
|
1051
1262
|
export interface WorkersBindingKindSecretText {
|
|
@@ -1060,12 +1271,34 @@ export namespace ScriptAndVersionSettingGetResponse {
|
|
|
1060
1271
|
type: 'secret_text';
|
|
1061
1272
|
}
|
|
1062
1273
|
|
|
1063
|
-
export interface
|
|
1274
|
+
export interface WorkersBindingKindSendEmail {
|
|
1064
1275
|
/**
|
|
1065
|
-
*
|
|
1276
|
+
* A JavaScript variable name for the binding.
|
|
1277
|
+
*/
|
|
1278
|
+
name: string;
|
|
1279
|
+
|
|
1280
|
+
/**
|
|
1281
|
+
* The kind of resource that the binding provides.
|
|
1282
|
+
*/
|
|
1283
|
+
type: 'send_email';
|
|
1284
|
+
|
|
1285
|
+
/**
|
|
1286
|
+
* List of allowed destination addresses.
|
|
1287
|
+
*/
|
|
1288
|
+
allowed_destination_addresses?: Array<string>;
|
|
1289
|
+
|
|
1290
|
+
/**
|
|
1291
|
+
* List of allowed sender addresses.
|
|
1292
|
+
*/
|
|
1293
|
+
allowed_sender_addresses?: Array<string>;
|
|
1294
|
+
|
|
1295
|
+
/**
|
|
1296
|
+
* Destination address for the email.
|
|
1066
1297
|
*/
|
|
1067
|
-
|
|
1298
|
+
destination_address?: string;
|
|
1299
|
+
}
|
|
1068
1300
|
|
|
1301
|
+
export interface WorkersBindingKindService {
|
|
1069
1302
|
/**
|
|
1070
1303
|
* A JavaScript variable name for the binding.
|
|
1071
1304
|
*/
|
|
@@ -1080,6 +1313,11 @@ export namespace ScriptAndVersionSettingGetResponse {
|
|
|
1080
1313
|
* The kind of resource that the binding provides.
|
|
1081
1314
|
*/
|
|
1082
1315
|
type: 'service';
|
|
1316
|
+
|
|
1317
|
+
/**
|
|
1318
|
+
* Optional environment if the Worker utilizes one.
|
|
1319
|
+
*/
|
|
1320
|
+
environment?: string;
|
|
1083
1321
|
}
|
|
1084
1322
|
|
|
1085
1323
|
export interface WorkersBindingKindTailConsumer {
|
|
@@ -1099,6 +1337,24 @@ export namespace ScriptAndVersionSettingGetResponse {
|
|
|
1099
1337
|
type: 'tail_consumer';
|
|
1100
1338
|
}
|
|
1101
1339
|
|
|
1340
|
+
export interface WorkersBindingKindTextBlob {
|
|
1341
|
+
/**
|
|
1342
|
+
* A JavaScript variable name for the binding.
|
|
1343
|
+
*/
|
|
1344
|
+
name: string;
|
|
1345
|
+
|
|
1346
|
+
/**
|
|
1347
|
+
* The name of the file containing the text content. Only accepted for
|
|
1348
|
+
* `service worker syntax` Workers.
|
|
1349
|
+
*/
|
|
1350
|
+
part: string;
|
|
1351
|
+
|
|
1352
|
+
/**
|
|
1353
|
+
* @deprecated The kind of resource that the binding provides.
|
|
1354
|
+
*/
|
|
1355
|
+
type: 'text_blob';
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1102
1358
|
export interface WorkersBindingKindVectorize {
|
|
1103
1359
|
/**
|
|
1104
1360
|
* Name of the Vectorize index to bind to.
|
|
@@ -1211,6 +1467,24 @@ export namespace ScriptAndVersionSettingGetResponse {
|
|
|
1211
1467
|
script_name?: string;
|
|
1212
1468
|
}
|
|
1213
1469
|
|
|
1470
|
+
export interface WorkersBindingKindWasmModule {
|
|
1471
|
+
/**
|
|
1472
|
+
* A JavaScript variable name for the binding.
|
|
1473
|
+
*/
|
|
1474
|
+
name: string;
|
|
1475
|
+
|
|
1476
|
+
/**
|
|
1477
|
+
* The name of the file containing the WebAssembly module content. Only accepted
|
|
1478
|
+
* for `service worker syntax` Workers.
|
|
1479
|
+
*/
|
|
1480
|
+
part: string;
|
|
1481
|
+
|
|
1482
|
+
/**
|
|
1483
|
+
* @deprecated The kind of resource that the binding provides.
|
|
1484
|
+
*/
|
|
1485
|
+
type: 'wasm_module';
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1214
1488
|
/**
|
|
1215
1489
|
* Limits to apply for this Worker.
|
|
1216
1490
|
*/
|
|
@@ -1259,10 +1533,20 @@ export namespace ScriptAndVersionSettingGetResponse {
|
|
|
1259
1533
|
*/
|
|
1260
1534
|
invocation_logs: boolean;
|
|
1261
1535
|
|
|
1536
|
+
/**
|
|
1537
|
+
* A list of destinations where logs will be exported to.
|
|
1538
|
+
*/
|
|
1539
|
+
destinations?: Array<string>;
|
|
1540
|
+
|
|
1262
1541
|
/**
|
|
1263
1542
|
* The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%). Default is 1.
|
|
1264
1543
|
*/
|
|
1265
1544
|
head_sampling_rate?: number | null;
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* Whether log persistence is enabled for the Worker.
|
|
1548
|
+
*/
|
|
1549
|
+
persist?: boolean;
|
|
1266
1550
|
}
|
|
1267
1551
|
}
|
|
1268
1552
|
|
|
@@ -1304,9 +1588,12 @@ export namespace ScriptAndVersionSettingEditParams {
|
|
|
1304
1588
|
| Settings.WorkersBindingKindAssets
|
|
1305
1589
|
| Settings.WorkersBindingKindBrowser
|
|
1306
1590
|
| Settings.WorkersBindingKindD1
|
|
1591
|
+
| Settings.WorkersBindingKindDataBlob
|
|
1307
1592
|
| Settings.WorkersBindingKindDispatchNamespace
|
|
1308
1593
|
| Settings.WorkersBindingKindDurableObjectNamespace
|
|
1309
1594
|
| Settings.WorkersBindingKindHyperdrive
|
|
1595
|
+
| Settings.WorkersBindingKindInherit
|
|
1596
|
+
| Settings.WorkersBindingKindImages
|
|
1310
1597
|
| Settings.WorkersBindingKindJson
|
|
1311
1598
|
| Settings.WorkersBindingKindKVNamespace
|
|
1312
1599
|
| Settings.WorkersBindingKindMTLSCertificate
|
|
@@ -1315,13 +1602,16 @@ export namespace ScriptAndVersionSettingEditParams {
|
|
|
1315
1602
|
| Settings.WorkersBindingKindQueue
|
|
1316
1603
|
| Settings.WorkersBindingKindR2Bucket
|
|
1317
1604
|
| Settings.WorkersBindingKindSecretText
|
|
1605
|
+
| Settings.WorkersBindingKindSendEmail
|
|
1318
1606
|
| Settings.WorkersBindingKindService
|
|
1319
1607
|
| Settings.WorkersBindingKindTailConsumer
|
|
1608
|
+
| Settings.WorkersBindingKindTextBlob
|
|
1320
1609
|
| Settings.WorkersBindingKindVectorize
|
|
1321
1610
|
| Settings.WorkersBindingKindVersionMetadata
|
|
1322
1611
|
| Settings.WorkersBindingKindSecretsStoreSecret
|
|
1323
1612
|
| Settings.WorkersBindingKindSecretKey
|
|
1324
1613
|
| Settings.WorkersBindingKindWorkflow
|
|
1614
|
+
| Settings.WorkersBindingKindWasmModule
|
|
1325
1615
|
>;
|
|
1326
1616
|
|
|
1327
1617
|
/**
|
|
@@ -1364,7 +1654,7 @@ export namespace ScriptAndVersionSettingEditParams {
|
|
|
1364
1654
|
placement?: Settings.Placement;
|
|
1365
1655
|
|
|
1366
1656
|
/**
|
|
1367
|
-
* Tags
|
|
1657
|
+
* Tags associated with the Worker.
|
|
1368
1658
|
*/
|
|
1369
1659
|
tags?: Array<string>;
|
|
1370
1660
|
|
|
@@ -1450,6 +1740,24 @@ export namespace ScriptAndVersionSettingEditParams {
|
|
|
1450
1740
|
type: 'd1';
|
|
1451
1741
|
}
|
|
1452
1742
|
|
|
1743
|
+
export interface WorkersBindingKindDataBlob {
|
|
1744
|
+
/**
|
|
1745
|
+
* A JavaScript variable name for the binding.
|
|
1746
|
+
*/
|
|
1747
|
+
name: string;
|
|
1748
|
+
|
|
1749
|
+
/**
|
|
1750
|
+
* The name of the file containing the data content. Only accepted for
|
|
1751
|
+
* `service worker syntax` Workers.
|
|
1752
|
+
*/
|
|
1753
|
+
part: string;
|
|
1754
|
+
|
|
1755
|
+
/**
|
|
1756
|
+
* @deprecated The kind of resource that the binding provides.
|
|
1757
|
+
*/
|
|
1758
|
+
type: 'data_blob';
|
|
1759
|
+
}
|
|
1760
|
+
|
|
1453
1761
|
export interface WorkersBindingKindDispatchNamespace {
|
|
1454
1762
|
/**
|
|
1455
1763
|
* A JavaScript variable name for the binding.
|
|
@@ -1557,6 +1865,44 @@ export namespace ScriptAndVersionSettingEditParams {
|
|
|
1557
1865
|
type: 'hyperdrive';
|
|
1558
1866
|
}
|
|
1559
1867
|
|
|
1868
|
+
export interface WorkersBindingKindInherit {
|
|
1869
|
+
/**
|
|
1870
|
+
* The name of the inherited binding.
|
|
1871
|
+
*/
|
|
1872
|
+
name: string;
|
|
1873
|
+
|
|
1874
|
+
/**
|
|
1875
|
+
* The kind of resource that the binding provides.
|
|
1876
|
+
*/
|
|
1877
|
+
type: 'inherit';
|
|
1878
|
+
|
|
1879
|
+
/**
|
|
1880
|
+
* The old name of the inherited binding. If set, the binding will be renamed from
|
|
1881
|
+
* `old_name` to `name` in the new version. If not set, the binding will keep the
|
|
1882
|
+
* same name between versions.
|
|
1883
|
+
*/
|
|
1884
|
+
old_name?: string;
|
|
1885
|
+
|
|
1886
|
+
/**
|
|
1887
|
+
* Identifier for the version to inherit the binding from, which can be the version
|
|
1888
|
+
* ID or the literal "latest" to inherit from the latest version. Defaults to
|
|
1889
|
+
* inheriting the binding from the latest version.
|
|
1890
|
+
*/
|
|
1891
|
+
version_id?: string;
|
|
1892
|
+
}
|
|
1893
|
+
|
|
1894
|
+
export interface WorkersBindingKindImages {
|
|
1895
|
+
/**
|
|
1896
|
+
* A JavaScript variable name for the binding.
|
|
1897
|
+
*/
|
|
1898
|
+
name: string;
|
|
1899
|
+
|
|
1900
|
+
/**
|
|
1901
|
+
* The kind of resource that the binding provides.
|
|
1902
|
+
*/
|
|
1903
|
+
type: 'images';
|
|
1904
|
+
}
|
|
1905
|
+
|
|
1560
1906
|
export interface WorkersBindingKindJson {
|
|
1561
1907
|
/**
|
|
1562
1908
|
* JSON data to use.
|
|
@@ -1674,6 +2020,13 @@ export namespace ScriptAndVersionSettingEditParams {
|
|
|
1674
2020
|
* The kind of resource that the binding provides.
|
|
1675
2021
|
*/
|
|
1676
2022
|
type: 'r2_bucket';
|
|
2023
|
+
|
|
2024
|
+
/**
|
|
2025
|
+
* The
|
|
2026
|
+
* [jurisdiction](https://developers.cloudflare.com/r2/reference/data-location/#jurisdictional-restrictions)
|
|
2027
|
+
* of the R2 bucket.
|
|
2028
|
+
*/
|
|
2029
|
+
jurisdiction?: 'eu' | 'fedramp';
|
|
1677
2030
|
}
|
|
1678
2031
|
|
|
1679
2032
|
export interface WorkersBindingKindSecretText {
|
|
@@ -1693,12 +2046,34 @@ export namespace ScriptAndVersionSettingEditParams {
|
|
|
1693
2046
|
type: 'secret_text';
|
|
1694
2047
|
}
|
|
1695
2048
|
|
|
1696
|
-
export interface
|
|
2049
|
+
export interface WorkersBindingKindSendEmail {
|
|
1697
2050
|
/**
|
|
1698
|
-
*
|
|
2051
|
+
* A JavaScript variable name for the binding.
|
|
2052
|
+
*/
|
|
2053
|
+
name: string;
|
|
2054
|
+
|
|
2055
|
+
/**
|
|
2056
|
+
* The kind of resource that the binding provides.
|
|
2057
|
+
*/
|
|
2058
|
+
type: 'send_email';
|
|
2059
|
+
|
|
2060
|
+
/**
|
|
2061
|
+
* List of allowed destination addresses.
|
|
1699
2062
|
*/
|
|
1700
|
-
|
|
2063
|
+
allowed_destination_addresses?: Array<string>;
|
|
1701
2064
|
|
|
2065
|
+
/**
|
|
2066
|
+
* List of allowed sender addresses.
|
|
2067
|
+
*/
|
|
2068
|
+
allowed_sender_addresses?: Array<string>;
|
|
2069
|
+
|
|
2070
|
+
/**
|
|
2071
|
+
* Destination address for the email.
|
|
2072
|
+
*/
|
|
2073
|
+
destination_address?: string;
|
|
2074
|
+
}
|
|
2075
|
+
|
|
2076
|
+
export interface WorkersBindingKindService {
|
|
1702
2077
|
/**
|
|
1703
2078
|
* A JavaScript variable name for the binding.
|
|
1704
2079
|
*/
|
|
@@ -1713,6 +2088,11 @@ export namespace ScriptAndVersionSettingEditParams {
|
|
|
1713
2088
|
* The kind of resource that the binding provides.
|
|
1714
2089
|
*/
|
|
1715
2090
|
type: 'service';
|
|
2091
|
+
|
|
2092
|
+
/**
|
|
2093
|
+
* Optional environment if the Worker utilizes one.
|
|
2094
|
+
*/
|
|
2095
|
+
environment?: string;
|
|
1716
2096
|
}
|
|
1717
2097
|
|
|
1718
2098
|
export interface WorkersBindingKindTailConsumer {
|
|
@@ -1732,6 +2112,24 @@ export namespace ScriptAndVersionSettingEditParams {
|
|
|
1732
2112
|
type: 'tail_consumer';
|
|
1733
2113
|
}
|
|
1734
2114
|
|
|
2115
|
+
export interface WorkersBindingKindTextBlob {
|
|
2116
|
+
/**
|
|
2117
|
+
* A JavaScript variable name for the binding.
|
|
2118
|
+
*/
|
|
2119
|
+
name: string;
|
|
2120
|
+
|
|
2121
|
+
/**
|
|
2122
|
+
* The name of the file containing the text content. Only accepted for
|
|
2123
|
+
* `service worker syntax` Workers.
|
|
2124
|
+
*/
|
|
2125
|
+
part: string;
|
|
2126
|
+
|
|
2127
|
+
/**
|
|
2128
|
+
* @deprecated The kind of resource that the binding provides.
|
|
2129
|
+
*/
|
|
2130
|
+
type: 'text_blob';
|
|
2131
|
+
}
|
|
2132
|
+
|
|
1735
2133
|
export interface WorkersBindingKindVectorize {
|
|
1736
2134
|
/**
|
|
1737
2135
|
* Name of the Vectorize index to bind to.
|
|
@@ -1856,6 +2254,24 @@ export namespace ScriptAndVersionSettingEditParams {
|
|
|
1856
2254
|
script_name?: string;
|
|
1857
2255
|
}
|
|
1858
2256
|
|
|
2257
|
+
export interface WorkersBindingKindWasmModule {
|
|
2258
|
+
/**
|
|
2259
|
+
* A JavaScript variable name for the binding.
|
|
2260
|
+
*/
|
|
2261
|
+
name: string;
|
|
2262
|
+
|
|
2263
|
+
/**
|
|
2264
|
+
* The name of the file containing the WebAssembly module content. Only accepted
|
|
2265
|
+
* for `service worker syntax` Workers.
|
|
2266
|
+
*/
|
|
2267
|
+
part: string;
|
|
2268
|
+
|
|
2269
|
+
/**
|
|
2270
|
+
* @deprecated The kind of resource that the binding provides.
|
|
2271
|
+
*/
|
|
2272
|
+
type: 'wasm_module';
|
|
2273
|
+
}
|
|
2274
|
+
|
|
1859
2275
|
/**
|
|
1860
2276
|
* Limits to apply for this Worker.
|
|
1861
2277
|
*/
|
|
@@ -1922,10 +2338,20 @@ export namespace ScriptAndVersionSettingEditParams {
|
|
|
1922
2338
|
*/
|
|
1923
2339
|
invocation_logs: boolean;
|
|
1924
2340
|
|
|
2341
|
+
/**
|
|
2342
|
+
* A list of destinations where logs will be exported to.
|
|
2343
|
+
*/
|
|
2344
|
+
destinations?: Array<string>;
|
|
2345
|
+
|
|
1925
2346
|
/**
|
|
1926
2347
|
* The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%). Default is 1.
|
|
1927
2348
|
*/
|
|
1928
2349
|
head_sampling_rate?: number | null;
|
|
2350
|
+
|
|
2351
|
+
/**
|
|
2352
|
+
* Whether log persistence is enabled for the Worker.
|
|
2353
|
+
*/
|
|
2354
|
+
persist?: boolean;
|
|
1929
2355
|
}
|
|
1930
2356
|
}
|
|
1931
2357
|
|