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
|
@@ -59,8 +59,11 @@ class Secrets extends resource_1.APIResource {
|
|
|
59
59
|
* ```
|
|
60
60
|
*/
|
|
61
61
|
delete(scriptName, secretName, params, options) {
|
|
62
|
-
const { account_id } = params;
|
|
63
|
-
return this._client.delete(`/accounts/${account_id}/workers/scripts/${scriptName}/secrets/${secretName}`,
|
|
62
|
+
const { account_id, url_encoded } = params;
|
|
63
|
+
return this._client.delete(`/accounts/${account_id}/workers/scripts/${scriptName}/secrets/${secretName}`, {
|
|
64
|
+
query: { url_encoded },
|
|
65
|
+
...options,
|
|
66
|
+
})._thenUnwrap((obj) => obj.result);
|
|
64
67
|
}
|
|
65
68
|
/**
|
|
66
69
|
* Get a given secret binding (value omitted) on a script.
|
|
@@ -75,8 +78,11 @@ class Secrets extends resource_1.APIResource {
|
|
|
75
78
|
* ```
|
|
76
79
|
*/
|
|
77
80
|
get(scriptName, secretName, params, options) {
|
|
78
|
-
const { account_id } = params;
|
|
79
|
-
return this._client.get(`/accounts/${account_id}/workers/scripts/${scriptName}/secrets/${secretName}`,
|
|
81
|
+
const { account_id, ...query } = params;
|
|
82
|
+
return this._client.get(`/accounts/${account_id}/workers/scripts/${scriptName}/secrets/${secretName}`, {
|
|
83
|
+
query,
|
|
84
|
+
...options,
|
|
85
|
+
})._thenUnwrap((obj) => obj.result);
|
|
80
86
|
}
|
|
81
87
|
}
|
|
82
88
|
exports.Secrets = Secrets;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secrets.js","sourceRoot":"","sources":["../../../src/resources/workers/scripts/secrets.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mDAAgD;AAEhD,uDAAiD;AAEjD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CACJ,UAAkB,EAClB,MAA0B,EAC1B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACvC,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,UAAU,oBAAoB,UAAU,UAAU,EAAE;YAChF,IAAI;YACJ,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,UAAkB,EAClB,MAAwB,EACxB,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,aAAa,UAAU,oBAAoB,UAAU,UAAU,EAC/D,6BAA6B,EAC7B,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,UAAkB,EAClB,UAAkB,EAClB,MAA0B,EAC1B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"secrets.js","sourceRoot":"","sources":["../../../src/resources/workers/scripts/secrets.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mDAAgD;AAEhD,uDAAiD;AAEjD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CACJ,UAAkB,EAClB,MAA0B,EAC1B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACvC,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,UAAU,oBAAoB,UAAU,UAAU,EAAE;YAChF,IAAI;YACJ,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,UAAkB,EAClB,MAAwB,EACxB,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,aAAa,UAAU,oBAAoB,UAAU,UAAU,EAC/D,6BAA6B,EAC7B,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,UAAkB,EAClB,UAAkB,EAClB,MAA0B,EAC1B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;QAC3C,OACE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,aAAa,UAAU,oBAAoB,UAAU,YAAY,UAAU,EAAE,EAAE;YACjG,KAAK,EAAE,EAAE,WAAW,EAAE;YACtB,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;;;;;;;;;;OAWG;IACH,GAAG,CACD,UAAkB,EAClB,UAAkB,EAClB,MAAuB,EACvB,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACxC,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,UAAU,oBAAoB,UAAU,YAAY,UAAU,EAAE,EAAE;YAC9F,KAAK;YACL,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;CACF;AA/GD,0BA+GC;AAED,MAAa,6BAA8B,SAAQ,uBAA8B;CAAG;AAApF,sEAAoF;AAgRpF,OAAO,CAAC,6BAA6B,GAAG,6BAA6B,CAAC"}
|
|
@@ -56,8 +56,11 @@ export class Secrets extends APIResource {
|
|
|
56
56
|
* ```
|
|
57
57
|
*/
|
|
58
58
|
delete(scriptName, secretName, params, options) {
|
|
59
|
-
const { account_id } = params;
|
|
60
|
-
return this._client.delete(`/accounts/${account_id}/workers/scripts/${scriptName}/secrets/${secretName}`,
|
|
59
|
+
const { account_id, url_encoded } = params;
|
|
60
|
+
return this._client.delete(`/accounts/${account_id}/workers/scripts/${scriptName}/secrets/${secretName}`, {
|
|
61
|
+
query: { url_encoded },
|
|
62
|
+
...options,
|
|
63
|
+
})._thenUnwrap((obj) => obj.result);
|
|
61
64
|
}
|
|
62
65
|
/**
|
|
63
66
|
* Get a given secret binding (value omitted) on a script.
|
|
@@ -72,8 +75,11 @@ export class Secrets extends APIResource {
|
|
|
72
75
|
* ```
|
|
73
76
|
*/
|
|
74
77
|
get(scriptName, secretName, params, options) {
|
|
75
|
-
const { account_id } = params;
|
|
76
|
-
return this._client.get(`/accounts/${account_id}/workers/scripts/${scriptName}/secrets/${secretName}`,
|
|
78
|
+
const { account_id, ...query } = params;
|
|
79
|
+
return this._client.get(`/accounts/${account_id}/workers/scripts/${scriptName}/secrets/${secretName}`, {
|
|
80
|
+
query,
|
|
81
|
+
...options,
|
|
82
|
+
})._thenUnwrap((obj) => obj.result);
|
|
77
83
|
}
|
|
78
84
|
}
|
|
79
85
|
export class SecretListResponsesSinglePage extends SinglePage {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secrets.mjs","sourceRoot":"","sources":["../../../src/resources/workers/scripts/secrets.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,UAAU,EAAE;AAErB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CACJ,UAAkB,EAClB,MAA0B,EAC1B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACvC,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,UAAU,oBAAoB,UAAU,UAAU,EAAE;YAChF,IAAI;YACJ,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,UAAkB,EAClB,MAAwB,EACxB,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,aAAa,UAAU,oBAAoB,UAAU,UAAU,EAC/D,6BAA6B,EAC7B,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,UAAkB,EAClB,UAAkB,EAClB,MAA0B,EAC1B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"secrets.mjs","sourceRoot":"","sources":["../../../src/resources/workers/scripts/secrets.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,UAAU,EAAE;AAErB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CACJ,UAAkB,EAClB,MAA0B,EAC1B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACvC,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,UAAU,oBAAoB,UAAU,UAAU,EAAE;YAChF,IAAI;YACJ,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,UAAkB,EAClB,MAAwB,EACxB,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,aAAa,UAAU,oBAAoB,UAAU,UAAU,EAC/D,6BAA6B,EAC7B,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,UAAkB,EAClB,UAAkB,EAClB,MAA0B,EAC1B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;QAC3C,OACE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,aAAa,UAAU,oBAAoB,UAAU,YAAY,UAAU,EAAE,EAAE;YACjG,KAAK,EAAE,EAAE,WAAW,EAAE;YACtB,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;;;;;;;;;;OAWG;IACH,GAAG,CACD,UAAkB,EAClB,UAAkB,EAClB,MAAuB,EACvB,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACxC,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,UAAU,oBAAoB,UAAU,YAAY,UAAU,EAAE,EAAE;YAC9F,KAAK;YACL,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;CACF;AAED,MAAM,OAAO,6BAA8B,SAAQ,UAA8B;CAAG;AAgRpF,OAAO,CAAC,6BAA6B,GAAG,6BAA6B,CAAC"}
|
|
@@ -47,6 +47,10 @@ export interface SettingEditParams {
|
|
|
47
47
|
* Body param: Observability settings for the Worker.
|
|
48
48
|
*/
|
|
49
49
|
observability?: SettingEditParams.Observability | null;
|
|
50
|
+
/**
|
|
51
|
+
* Body param: Tags associated with the Worker.
|
|
52
|
+
*/
|
|
53
|
+
tags?: Array<string>;
|
|
50
54
|
/**
|
|
51
55
|
* Body param: List of Workers that will consume logs from the attached Worker.
|
|
52
56
|
*/
|
|
@@ -86,10 +90,18 @@ export declare namespace SettingEditParams {
|
|
|
86
90
|
* are enabled for the Worker.
|
|
87
91
|
*/
|
|
88
92
|
invocation_logs: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* A list of destinations where logs will be exported to.
|
|
95
|
+
*/
|
|
96
|
+
destinations?: Array<string>;
|
|
89
97
|
/**
|
|
90
98
|
* The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%). Default is 1.
|
|
91
99
|
*/
|
|
92
100
|
head_sampling_rate?: number | null;
|
|
101
|
+
/**
|
|
102
|
+
* Whether log persistence is enabled for the Worker.
|
|
103
|
+
*/
|
|
104
|
+
persist?: boolean;
|
|
93
105
|
}
|
|
94
106
|
}
|
|
95
107
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/resources/workers/scripts/settings.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AACtC,OAAO,KAAK,UAAU,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,QAAQ,CAAC;AAElC,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,iBAAiB,EACzB,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,aAAa,CAAC;IAU5C;;;;;;;;;;;;;OAaG;IACH,GAAG,CACD,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,gBAAgB,EACxB,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,aAAa,CAAC;CAS7C;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,iBAAiB,CAAC,aAAa,GAAG,IAAI,CAAC;IAEvD;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC;CAC5D;AAED,yBAAiB,iBAAiB,CAAC;IACjC;;OAEG;IACH,UAAiB,aAAa;QAC5B;;WAEG;QACH,OAAO,EAAE,OAAO,CAAC;QAEjB;;;WAGG;QACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAEnC;;WAEG;QACH,IAAI,CAAC,EAAE,aAAa,CAAC,IAAI,GAAG,IAAI,CAAC;KAClC;IAED,UAAiB,aAAa,CAAC;QAC7B;;WAEG;QACH,UAAiB,IAAI;YACnB;;eAEG;YACH,OAAO,EAAE,OAAO,CAAC;YAEjB;;;;eAIG;YACH,eAAe,EAAE,OAAO,CAAC;YAEzB;;eAEG;YACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/resources/workers/scripts/settings.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AACtC,OAAO,KAAK,UAAU,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,QAAQ,CAAC;AAElC,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,iBAAiB,EACzB,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,aAAa,CAAC;IAU5C;;;;;;;;;;;;;OAaG;IACH,GAAG,CACD,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,gBAAgB,EACxB,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,aAAa,CAAC;CAS7C;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,iBAAiB,CAAC,aAAa,GAAG,IAAI,CAAC;IAEvD;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAErB;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC;CAC5D;AAED,yBAAiB,iBAAiB,CAAC;IACjC;;OAEG;IACH,UAAiB,aAAa;QAC5B;;WAEG;QACH,OAAO,EAAE,OAAO,CAAC;QAEjB;;;WAGG;QACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAEnC;;WAEG;QACH,IAAI,CAAC,EAAE,aAAa,CAAC,IAAI,GAAG,IAAI,CAAC;KAClC;IAED,UAAiB,aAAa,CAAC;QAC7B;;WAEG;QACH,UAAiB,IAAI;YACnB;;eAEG;YACH,OAAO,EAAE,OAAO,CAAC;YAEjB;;;;eAIG;YACH,eAAe,EAAE,OAAO,CAAC;YAEzB;;eAEG;YACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;YAE7B;;eAEG;YACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAEnC;;eAEG;YACH,OAAO,CAAC,EAAE,OAAO,CAAC;SACnB;KACF;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACnG"}
|
|
@@ -65,7 +65,7 @@ export declare namespace VersionCreateResponse {
|
|
|
65
65
|
* docs:
|
|
66
66
|
* https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/#bindings.
|
|
67
67
|
*/
|
|
68
|
-
bindings?: Array<Resources.WorkersBindingKindAI | Resources.WorkersBindingKindAnalyticsEngine | Resources.WorkersBindingKindAssets | Resources.WorkersBindingKindBrowser | Resources.WorkersBindingKindD1 | Resources.WorkersBindingKindDispatchNamespace | Resources.WorkersBindingKindDurableObjectNamespace | Resources.WorkersBindingKindHyperdrive | Resources.WorkersBindingKindJson | Resources.WorkersBindingKindKVNamespace | Resources.WorkersBindingKindMTLSCertificate | Resources.WorkersBindingKindPlainText | Resources.WorkersBindingKindPipelines | Resources.WorkersBindingKindQueue | Resources.WorkersBindingKindR2Bucket | Resources.WorkersBindingKindSecretText | Resources.WorkersBindingKindService | Resources.WorkersBindingKindTailConsumer | Resources.WorkersBindingKindVectorize | Resources.WorkersBindingKindVersionMetadata | Resources.WorkersBindingKindSecretsStoreSecret | Resources.WorkersBindingKindSecretKey | Resources.WorkersBindingKindWorkflow>;
|
|
68
|
+
bindings?: Array<Resources.WorkersBindingKindAI | Resources.WorkersBindingKindAnalyticsEngine | Resources.WorkersBindingKindAssets | Resources.WorkersBindingKindBrowser | Resources.WorkersBindingKindD1 | Resources.WorkersBindingKindDataBlob | Resources.WorkersBindingKindDispatchNamespace | Resources.WorkersBindingKindDurableObjectNamespace | Resources.WorkersBindingKindHyperdrive | Resources.WorkersBindingKindInherit | Resources.WorkersBindingKindImages | Resources.WorkersBindingKindJson | Resources.WorkersBindingKindKVNamespace | Resources.WorkersBindingKindMTLSCertificate | Resources.WorkersBindingKindPlainText | Resources.WorkersBindingKindPipelines | Resources.WorkersBindingKindQueue | Resources.WorkersBindingKindR2Bucket | Resources.WorkersBindingKindSecretText | Resources.WorkersBindingKindSendEmail | Resources.WorkersBindingKindService | Resources.WorkersBindingKindTailConsumer | Resources.WorkersBindingKindTextBlob | Resources.WorkersBindingKindVectorize | Resources.WorkersBindingKindVersionMetadata | Resources.WorkersBindingKindSecretsStoreSecret | Resources.WorkersBindingKindSecretKey | Resources.WorkersBindingKindWorkflow | Resources.WorkersBindingKindWasmModule>;
|
|
69
69
|
script?: Resources.Script;
|
|
70
70
|
script_runtime?: Resources.ScriptRuntime;
|
|
71
71
|
}
|
|
@@ -128,6 +128,21 @@ export declare namespace VersionCreateResponse {
|
|
|
128
128
|
*/
|
|
129
129
|
type: 'd1';
|
|
130
130
|
}
|
|
131
|
+
interface WorkersBindingKindDataBlob {
|
|
132
|
+
/**
|
|
133
|
+
* A JavaScript variable name for the binding.
|
|
134
|
+
*/
|
|
135
|
+
name: string;
|
|
136
|
+
/**
|
|
137
|
+
* The name of the file containing the data content. Only accepted for
|
|
138
|
+
* `service worker syntax` Workers.
|
|
139
|
+
*/
|
|
140
|
+
part: string;
|
|
141
|
+
/**
|
|
142
|
+
* @deprecated The kind of resource that the binding provides.
|
|
143
|
+
*/
|
|
144
|
+
type: 'data_blob';
|
|
145
|
+
}
|
|
131
146
|
interface WorkersBindingKindDispatchNamespace {
|
|
132
147
|
/**
|
|
133
148
|
* A JavaScript variable name for the binding.
|
|
@@ -218,6 +233,38 @@ export declare namespace VersionCreateResponse {
|
|
|
218
233
|
*/
|
|
219
234
|
type: 'hyperdrive';
|
|
220
235
|
}
|
|
236
|
+
interface WorkersBindingKindInherit {
|
|
237
|
+
/**
|
|
238
|
+
* The name of the inherited binding.
|
|
239
|
+
*/
|
|
240
|
+
name: string;
|
|
241
|
+
/**
|
|
242
|
+
* The kind of resource that the binding provides.
|
|
243
|
+
*/
|
|
244
|
+
type: 'inherit';
|
|
245
|
+
/**
|
|
246
|
+
* The old name of the inherited binding. If set, the binding will be renamed from
|
|
247
|
+
* `old_name` to `name` in the new version. If not set, the binding will keep the
|
|
248
|
+
* same name between versions.
|
|
249
|
+
*/
|
|
250
|
+
old_name?: string;
|
|
251
|
+
/**
|
|
252
|
+
* Identifier for the version to inherit the binding from, which can be the version
|
|
253
|
+
* ID or the literal "latest" to inherit from the latest version. Defaults to
|
|
254
|
+
* inheriting the binding from the latest version.
|
|
255
|
+
*/
|
|
256
|
+
version_id?: string;
|
|
257
|
+
}
|
|
258
|
+
interface WorkersBindingKindImages {
|
|
259
|
+
/**
|
|
260
|
+
* A JavaScript variable name for the binding.
|
|
261
|
+
*/
|
|
262
|
+
name: string;
|
|
263
|
+
/**
|
|
264
|
+
* The kind of resource that the binding provides.
|
|
265
|
+
*/
|
|
266
|
+
type: 'images';
|
|
267
|
+
}
|
|
221
268
|
interface WorkersBindingKindJson {
|
|
222
269
|
/**
|
|
223
270
|
* JSON data to use.
|
|
@@ -315,6 +362,12 @@ export declare namespace VersionCreateResponse {
|
|
|
315
362
|
* The kind of resource that the binding provides.
|
|
316
363
|
*/
|
|
317
364
|
type: 'r2_bucket';
|
|
365
|
+
/**
|
|
366
|
+
* The
|
|
367
|
+
* [jurisdiction](https://developers.cloudflare.com/r2/reference/data-location/#jurisdictional-restrictions)
|
|
368
|
+
* of the R2 bucket.
|
|
369
|
+
*/
|
|
370
|
+
jurisdiction?: 'eu' | 'fedramp';
|
|
318
371
|
}
|
|
319
372
|
interface WorkersBindingKindSecretText {
|
|
320
373
|
/**
|
|
@@ -326,11 +379,29 @@ export declare namespace VersionCreateResponse {
|
|
|
326
379
|
*/
|
|
327
380
|
type: 'secret_text';
|
|
328
381
|
}
|
|
329
|
-
interface
|
|
382
|
+
interface WorkersBindingKindSendEmail {
|
|
330
383
|
/**
|
|
331
|
-
*
|
|
384
|
+
* A JavaScript variable name for the binding.
|
|
385
|
+
*/
|
|
386
|
+
name: string;
|
|
387
|
+
/**
|
|
388
|
+
* The kind of resource that the binding provides.
|
|
389
|
+
*/
|
|
390
|
+
type: 'send_email';
|
|
391
|
+
/**
|
|
392
|
+
* List of allowed destination addresses.
|
|
332
393
|
*/
|
|
333
|
-
|
|
394
|
+
allowed_destination_addresses?: Array<string>;
|
|
395
|
+
/**
|
|
396
|
+
* List of allowed sender addresses.
|
|
397
|
+
*/
|
|
398
|
+
allowed_sender_addresses?: Array<string>;
|
|
399
|
+
/**
|
|
400
|
+
* Destination address for the email.
|
|
401
|
+
*/
|
|
402
|
+
destination_address?: string;
|
|
403
|
+
}
|
|
404
|
+
interface WorkersBindingKindService {
|
|
334
405
|
/**
|
|
335
406
|
* A JavaScript variable name for the binding.
|
|
336
407
|
*/
|
|
@@ -343,6 +414,10 @@ export declare namespace VersionCreateResponse {
|
|
|
343
414
|
* The kind of resource that the binding provides.
|
|
344
415
|
*/
|
|
345
416
|
type: 'service';
|
|
417
|
+
/**
|
|
418
|
+
* Optional environment if the Worker utilizes one.
|
|
419
|
+
*/
|
|
420
|
+
environment?: string;
|
|
346
421
|
}
|
|
347
422
|
interface WorkersBindingKindTailConsumer {
|
|
348
423
|
/**
|
|
@@ -358,6 +433,21 @@ export declare namespace VersionCreateResponse {
|
|
|
358
433
|
*/
|
|
359
434
|
type: 'tail_consumer';
|
|
360
435
|
}
|
|
436
|
+
interface WorkersBindingKindTextBlob {
|
|
437
|
+
/**
|
|
438
|
+
* A JavaScript variable name for the binding.
|
|
439
|
+
*/
|
|
440
|
+
name: string;
|
|
441
|
+
/**
|
|
442
|
+
* The name of the file containing the text content. Only accepted for
|
|
443
|
+
* `service worker syntax` Workers.
|
|
444
|
+
*/
|
|
445
|
+
part: string;
|
|
446
|
+
/**
|
|
447
|
+
* @deprecated The kind of resource that the binding provides.
|
|
448
|
+
*/
|
|
449
|
+
type: 'text_blob';
|
|
450
|
+
}
|
|
361
451
|
interface WorkersBindingKindVectorize {
|
|
362
452
|
/**
|
|
363
453
|
* Name of the Vectorize index to bind to.
|
|
@@ -449,6 +539,21 @@ export declare namespace VersionCreateResponse {
|
|
|
449
539
|
*/
|
|
450
540
|
script_name?: string;
|
|
451
541
|
}
|
|
542
|
+
interface WorkersBindingKindWasmModule {
|
|
543
|
+
/**
|
|
544
|
+
* A JavaScript variable name for the binding.
|
|
545
|
+
*/
|
|
546
|
+
name: string;
|
|
547
|
+
/**
|
|
548
|
+
* The name of the file containing the WebAssembly module content. Only accepted
|
|
549
|
+
* for `service worker syntax` Workers.
|
|
550
|
+
*/
|
|
551
|
+
part: string;
|
|
552
|
+
/**
|
|
553
|
+
* @deprecated The kind of resource that the binding provides.
|
|
554
|
+
*/
|
|
555
|
+
type: 'wasm_module';
|
|
556
|
+
}
|
|
452
557
|
interface Script {
|
|
453
558
|
etag?: string;
|
|
454
559
|
handlers?: Array<string>;
|
|
@@ -511,7 +616,7 @@ export declare namespace VersionGetResponse {
|
|
|
511
616
|
* docs:
|
|
512
617
|
* https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/#bindings.
|
|
513
618
|
*/
|
|
514
|
-
bindings?: Array<Resources.WorkersBindingKindAI | Resources.WorkersBindingKindAnalyticsEngine | Resources.WorkersBindingKindAssets | Resources.WorkersBindingKindBrowser | Resources.WorkersBindingKindD1 | Resources.WorkersBindingKindDispatchNamespace | Resources.WorkersBindingKindDurableObjectNamespace | Resources.WorkersBindingKindHyperdrive | Resources.WorkersBindingKindJson | Resources.WorkersBindingKindKVNamespace | Resources.WorkersBindingKindMTLSCertificate | Resources.WorkersBindingKindPlainText | Resources.WorkersBindingKindPipelines | Resources.WorkersBindingKindQueue | Resources.WorkersBindingKindR2Bucket | Resources.WorkersBindingKindSecretText | Resources.WorkersBindingKindService | Resources.WorkersBindingKindTailConsumer | Resources.WorkersBindingKindVectorize | Resources.WorkersBindingKindVersionMetadata | Resources.WorkersBindingKindSecretsStoreSecret | Resources.WorkersBindingKindSecretKey | Resources.WorkersBindingKindWorkflow>;
|
|
619
|
+
bindings?: Array<Resources.WorkersBindingKindAI | Resources.WorkersBindingKindAnalyticsEngine | Resources.WorkersBindingKindAssets | Resources.WorkersBindingKindBrowser | Resources.WorkersBindingKindD1 | Resources.WorkersBindingKindDataBlob | Resources.WorkersBindingKindDispatchNamespace | Resources.WorkersBindingKindDurableObjectNamespace | Resources.WorkersBindingKindHyperdrive | Resources.WorkersBindingKindInherit | Resources.WorkersBindingKindImages | Resources.WorkersBindingKindJson | Resources.WorkersBindingKindKVNamespace | Resources.WorkersBindingKindMTLSCertificate | Resources.WorkersBindingKindPlainText | Resources.WorkersBindingKindPipelines | Resources.WorkersBindingKindQueue | Resources.WorkersBindingKindR2Bucket | Resources.WorkersBindingKindSecretText | Resources.WorkersBindingKindSendEmail | Resources.WorkersBindingKindService | Resources.WorkersBindingKindTailConsumer | Resources.WorkersBindingKindTextBlob | Resources.WorkersBindingKindVectorize | Resources.WorkersBindingKindVersionMetadata | Resources.WorkersBindingKindSecretsStoreSecret | Resources.WorkersBindingKindSecretKey | Resources.WorkersBindingKindWorkflow | Resources.WorkersBindingKindWasmModule>;
|
|
515
620
|
script?: Resources.Script;
|
|
516
621
|
script_runtime?: Resources.ScriptRuntime;
|
|
517
622
|
}
|
|
@@ -574,6 +679,21 @@ export declare namespace VersionGetResponse {
|
|
|
574
679
|
*/
|
|
575
680
|
type: 'd1';
|
|
576
681
|
}
|
|
682
|
+
interface WorkersBindingKindDataBlob {
|
|
683
|
+
/**
|
|
684
|
+
* A JavaScript variable name for the binding.
|
|
685
|
+
*/
|
|
686
|
+
name: string;
|
|
687
|
+
/**
|
|
688
|
+
* The name of the file containing the data content. Only accepted for
|
|
689
|
+
* `service worker syntax` Workers.
|
|
690
|
+
*/
|
|
691
|
+
part: string;
|
|
692
|
+
/**
|
|
693
|
+
* @deprecated The kind of resource that the binding provides.
|
|
694
|
+
*/
|
|
695
|
+
type: 'data_blob';
|
|
696
|
+
}
|
|
577
697
|
interface WorkersBindingKindDispatchNamespace {
|
|
578
698
|
/**
|
|
579
699
|
* A JavaScript variable name for the binding.
|
|
@@ -664,6 +784,38 @@ export declare namespace VersionGetResponse {
|
|
|
664
784
|
*/
|
|
665
785
|
type: 'hyperdrive';
|
|
666
786
|
}
|
|
787
|
+
interface WorkersBindingKindInherit {
|
|
788
|
+
/**
|
|
789
|
+
* The name of the inherited binding.
|
|
790
|
+
*/
|
|
791
|
+
name: string;
|
|
792
|
+
/**
|
|
793
|
+
* The kind of resource that the binding provides.
|
|
794
|
+
*/
|
|
795
|
+
type: 'inherit';
|
|
796
|
+
/**
|
|
797
|
+
* The old name of the inherited binding. If set, the binding will be renamed from
|
|
798
|
+
* `old_name` to `name` in the new version. If not set, the binding will keep the
|
|
799
|
+
* same name between versions.
|
|
800
|
+
*/
|
|
801
|
+
old_name?: string;
|
|
802
|
+
/**
|
|
803
|
+
* Identifier for the version to inherit the binding from, which can be the version
|
|
804
|
+
* ID or the literal "latest" to inherit from the latest version. Defaults to
|
|
805
|
+
* inheriting the binding from the latest version.
|
|
806
|
+
*/
|
|
807
|
+
version_id?: string;
|
|
808
|
+
}
|
|
809
|
+
interface WorkersBindingKindImages {
|
|
810
|
+
/**
|
|
811
|
+
* A JavaScript variable name for the binding.
|
|
812
|
+
*/
|
|
813
|
+
name: string;
|
|
814
|
+
/**
|
|
815
|
+
* The kind of resource that the binding provides.
|
|
816
|
+
*/
|
|
817
|
+
type: 'images';
|
|
818
|
+
}
|
|
667
819
|
interface WorkersBindingKindJson {
|
|
668
820
|
/**
|
|
669
821
|
* JSON data to use.
|
|
@@ -761,6 +913,12 @@ export declare namespace VersionGetResponse {
|
|
|
761
913
|
* The kind of resource that the binding provides.
|
|
762
914
|
*/
|
|
763
915
|
type: 'r2_bucket';
|
|
916
|
+
/**
|
|
917
|
+
* The
|
|
918
|
+
* [jurisdiction](https://developers.cloudflare.com/r2/reference/data-location/#jurisdictional-restrictions)
|
|
919
|
+
* of the R2 bucket.
|
|
920
|
+
*/
|
|
921
|
+
jurisdiction?: 'eu' | 'fedramp';
|
|
764
922
|
}
|
|
765
923
|
interface WorkersBindingKindSecretText {
|
|
766
924
|
/**
|
|
@@ -772,11 +930,29 @@ export declare namespace VersionGetResponse {
|
|
|
772
930
|
*/
|
|
773
931
|
type: 'secret_text';
|
|
774
932
|
}
|
|
775
|
-
interface
|
|
933
|
+
interface WorkersBindingKindSendEmail {
|
|
776
934
|
/**
|
|
777
|
-
*
|
|
935
|
+
* A JavaScript variable name for the binding.
|
|
778
936
|
*/
|
|
779
|
-
|
|
937
|
+
name: string;
|
|
938
|
+
/**
|
|
939
|
+
* The kind of resource that the binding provides.
|
|
940
|
+
*/
|
|
941
|
+
type: 'send_email';
|
|
942
|
+
/**
|
|
943
|
+
* List of allowed destination addresses.
|
|
944
|
+
*/
|
|
945
|
+
allowed_destination_addresses?: Array<string>;
|
|
946
|
+
/**
|
|
947
|
+
* List of allowed sender addresses.
|
|
948
|
+
*/
|
|
949
|
+
allowed_sender_addresses?: Array<string>;
|
|
950
|
+
/**
|
|
951
|
+
* Destination address for the email.
|
|
952
|
+
*/
|
|
953
|
+
destination_address?: string;
|
|
954
|
+
}
|
|
955
|
+
interface WorkersBindingKindService {
|
|
780
956
|
/**
|
|
781
957
|
* A JavaScript variable name for the binding.
|
|
782
958
|
*/
|
|
@@ -789,6 +965,10 @@ export declare namespace VersionGetResponse {
|
|
|
789
965
|
* The kind of resource that the binding provides.
|
|
790
966
|
*/
|
|
791
967
|
type: 'service';
|
|
968
|
+
/**
|
|
969
|
+
* Optional environment if the Worker utilizes one.
|
|
970
|
+
*/
|
|
971
|
+
environment?: string;
|
|
792
972
|
}
|
|
793
973
|
interface WorkersBindingKindTailConsumer {
|
|
794
974
|
/**
|
|
@@ -804,6 +984,21 @@ export declare namespace VersionGetResponse {
|
|
|
804
984
|
*/
|
|
805
985
|
type: 'tail_consumer';
|
|
806
986
|
}
|
|
987
|
+
interface WorkersBindingKindTextBlob {
|
|
988
|
+
/**
|
|
989
|
+
* A JavaScript variable name for the binding.
|
|
990
|
+
*/
|
|
991
|
+
name: string;
|
|
992
|
+
/**
|
|
993
|
+
* The name of the file containing the text content. Only accepted for
|
|
994
|
+
* `service worker syntax` Workers.
|
|
995
|
+
*/
|
|
996
|
+
part: string;
|
|
997
|
+
/**
|
|
998
|
+
* @deprecated The kind of resource that the binding provides.
|
|
999
|
+
*/
|
|
1000
|
+
type: 'text_blob';
|
|
1001
|
+
}
|
|
807
1002
|
interface WorkersBindingKindVectorize {
|
|
808
1003
|
/**
|
|
809
1004
|
* Name of the Vectorize index to bind to.
|
|
@@ -895,6 +1090,21 @@ export declare namespace VersionGetResponse {
|
|
|
895
1090
|
*/
|
|
896
1091
|
script_name?: string;
|
|
897
1092
|
}
|
|
1093
|
+
interface WorkersBindingKindWasmModule {
|
|
1094
|
+
/**
|
|
1095
|
+
* A JavaScript variable name for the binding.
|
|
1096
|
+
*/
|
|
1097
|
+
name: string;
|
|
1098
|
+
/**
|
|
1099
|
+
* The name of the file containing the WebAssembly module content. Only accepted
|
|
1100
|
+
* for `service worker syntax` Workers.
|
|
1101
|
+
*/
|
|
1102
|
+
part: string;
|
|
1103
|
+
/**
|
|
1104
|
+
* @deprecated The kind of resource that the binding provides.
|
|
1105
|
+
*/
|
|
1106
|
+
type: 'wasm_module';
|
|
1107
|
+
}
|
|
898
1108
|
interface Script {
|
|
899
1109
|
etag?: string;
|
|
900
1110
|
handlers?: Array<string>;
|
|
@@ -967,7 +1177,7 @@ export declare namespace VersionCreateParams {
|
|
|
967
1177
|
* docs:
|
|
968
1178
|
* https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/#bindings.
|
|
969
1179
|
*/
|
|
970
|
-
bindings?: Array<Metadata.WorkersBindingKindAI | Metadata.WorkersBindingKindAnalyticsEngine | Metadata.WorkersBindingKindAssets | Metadata.WorkersBindingKindBrowser | Metadata.WorkersBindingKindD1 | Metadata.WorkersBindingKindDispatchNamespace | Metadata.WorkersBindingKindDurableObjectNamespace | Metadata.WorkersBindingKindHyperdrive | Metadata.WorkersBindingKindJson | Metadata.WorkersBindingKindKVNamespace | Metadata.WorkersBindingKindMTLSCertificate | Metadata.WorkersBindingKindPlainText | Metadata.WorkersBindingKindPipelines | Metadata.WorkersBindingKindQueue | Metadata.WorkersBindingKindR2Bucket | Metadata.WorkersBindingKindSecretText | Metadata.WorkersBindingKindService | Metadata.WorkersBindingKindTailConsumer | Metadata.WorkersBindingKindVectorize | Metadata.WorkersBindingKindVersionMetadata | Metadata.WorkersBindingKindSecretsStoreSecret | Metadata.WorkersBindingKindSecretKey | Metadata.WorkersBindingKindWorkflow>;
|
|
1180
|
+
bindings?: Array<Metadata.WorkersBindingKindAI | Metadata.WorkersBindingKindAnalyticsEngine | Metadata.WorkersBindingKindAssets | Metadata.WorkersBindingKindBrowser | Metadata.WorkersBindingKindD1 | Metadata.WorkersBindingKindDataBlob | Metadata.WorkersBindingKindDispatchNamespace | Metadata.WorkersBindingKindDurableObjectNamespace | Metadata.WorkersBindingKindHyperdrive | Metadata.WorkersBindingKindInherit | Metadata.WorkersBindingKindImages | Metadata.WorkersBindingKindJson | Metadata.WorkersBindingKindKVNamespace | Metadata.WorkersBindingKindMTLSCertificate | Metadata.WorkersBindingKindPlainText | Metadata.WorkersBindingKindPipelines | Metadata.WorkersBindingKindQueue | Metadata.WorkersBindingKindR2Bucket | Metadata.WorkersBindingKindSecretText | Metadata.WorkersBindingKindSendEmail | Metadata.WorkersBindingKindService | Metadata.WorkersBindingKindTailConsumer | Metadata.WorkersBindingKindTextBlob | Metadata.WorkersBindingKindVectorize | Metadata.WorkersBindingKindVersionMetadata | Metadata.WorkersBindingKindSecretsStoreSecret | Metadata.WorkersBindingKindSecretKey | Metadata.WorkersBindingKindWorkflow | Metadata.WorkersBindingKindWasmModule>;
|
|
971
1181
|
/**
|
|
972
1182
|
* Date indicating targeted support in the Workers runtime. Backwards incompatible
|
|
973
1183
|
* fixes to the runtime following this date will not affect this Worker.
|
|
@@ -1057,6 +1267,21 @@ export declare namespace VersionCreateParams {
|
|
|
1057
1267
|
*/
|
|
1058
1268
|
type: 'd1';
|
|
1059
1269
|
}
|
|
1270
|
+
interface WorkersBindingKindDataBlob {
|
|
1271
|
+
/**
|
|
1272
|
+
* A JavaScript variable name for the binding.
|
|
1273
|
+
*/
|
|
1274
|
+
name: string;
|
|
1275
|
+
/**
|
|
1276
|
+
* The name of the file containing the data content. Only accepted for
|
|
1277
|
+
* `service worker syntax` Workers.
|
|
1278
|
+
*/
|
|
1279
|
+
part: string;
|
|
1280
|
+
/**
|
|
1281
|
+
* @deprecated The kind of resource that the binding provides.
|
|
1282
|
+
*/
|
|
1283
|
+
type: 'data_blob';
|
|
1284
|
+
}
|
|
1060
1285
|
interface WorkersBindingKindDispatchNamespace {
|
|
1061
1286
|
/**
|
|
1062
1287
|
* A JavaScript variable name for the binding.
|
|
@@ -1147,6 +1372,38 @@ export declare namespace VersionCreateParams {
|
|
|
1147
1372
|
*/
|
|
1148
1373
|
type: 'hyperdrive';
|
|
1149
1374
|
}
|
|
1375
|
+
interface WorkersBindingKindInherit {
|
|
1376
|
+
/**
|
|
1377
|
+
* The name of the inherited binding.
|
|
1378
|
+
*/
|
|
1379
|
+
name: string;
|
|
1380
|
+
/**
|
|
1381
|
+
* The kind of resource that the binding provides.
|
|
1382
|
+
*/
|
|
1383
|
+
type: 'inherit';
|
|
1384
|
+
/**
|
|
1385
|
+
* The old name of the inherited binding. If set, the binding will be renamed from
|
|
1386
|
+
* `old_name` to `name` in the new version. If not set, the binding will keep the
|
|
1387
|
+
* same name between versions.
|
|
1388
|
+
*/
|
|
1389
|
+
old_name?: string;
|
|
1390
|
+
/**
|
|
1391
|
+
* Identifier for the version to inherit the binding from, which can be the version
|
|
1392
|
+
* ID or the literal "latest" to inherit from the latest version. Defaults to
|
|
1393
|
+
* inheriting the binding from the latest version.
|
|
1394
|
+
*/
|
|
1395
|
+
version_id?: string;
|
|
1396
|
+
}
|
|
1397
|
+
interface WorkersBindingKindImages {
|
|
1398
|
+
/**
|
|
1399
|
+
* A JavaScript variable name for the binding.
|
|
1400
|
+
*/
|
|
1401
|
+
name: string;
|
|
1402
|
+
/**
|
|
1403
|
+
* The kind of resource that the binding provides.
|
|
1404
|
+
*/
|
|
1405
|
+
type: 'images';
|
|
1406
|
+
}
|
|
1150
1407
|
interface WorkersBindingKindJson {
|
|
1151
1408
|
/**
|
|
1152
1409
|
* JSON data to use.
|
|
@@ -1244,6 +1501,12 @@ export declare namespace VersionCreateParams {
|
|
|
1244
1501
|
* The kind of resource that the binding provides.
|
|
1245
1502
|
*/
|
|
1246
1503
|
type: 'r2_bucket';
|
|
1504
|
+
/**
|
|
1505
|
+
* The
|
|
1506
|
+
* [jurisdiction](https://developers.cloudflare.com/r2/reference/data-location/#jurisdictional-restrictions)
|
|
1507
|
+
* of the R2 bucket.
|
|
1508
|
+
*/
|
|
1509
|
+
jurisdiction?: 'eu' | 'fedramp';
|
|
1247
1510
|
}
|
|
1248
1511
|
interface WorkersBindingKindSecretText {
|
|
1249
1512
|
/**
|
|
@@ -1259,11 +1522,29 @@ export declare namespace VersionCreateParams {
|
|
|
1259
1522
|
*/
|
|
1260
1523
|
type: 'secret_text';
|
|
1261
1524
|
}
|
|
1262
|
-
interface
|
|
1525
|
+
interface WorkersBindingKindSendEmail {
|
|
1263
1526
|
/**
|
|
1264
|
-
*
|
|
1527
|
+
* A JavaScript variable name for the binding.
|
|
1528
|
+
*/
|
|
1529
|
+
name: string;
|
|
1530
|
+
/**
|
|
1531
|
+
* The kind of resource that the binding provides.
|
|
1532
|
+
*/
|
|
1533
|
+
type: 'send_email';
|
|
1534
|
+
/**
|
|
1535
|
+
* List of allowed destination addresses.
|
|
1536
|
+
*/
|
|
1537
|
+
allowed_destination_addresses?: Array<string>;
|
|
1538
|
+
/**
|
|
1539
|
+
* List of allowed sender addresses.
|
|
1540
|
+
*/
|
|
1541
|
+
allowed_sender_addresses?: Array<string>;
|
|
1542
|
+
/**
|
|
1543
|
+
* Destination address for the email.
|
|
1265
1544
|
*/
|
|
1266
|
-
|
|
1545
|
+
destination_address?: string;
|
|
1546
|
+
}
|
|
1547
|
+
interface WorkersBindingKindService {
|
|
1267
1548
|
/**
|
|
1268
1549
|
* A JavaScript variable name for the binding.
|
|
1269
1550
|
*/
|
|
@@ -1276,6 +1557,10 @@ export declare namespace VersionCreateParams {
|
|
|
1276
1557
|
* The kind of resource that the binding provides.
|
|
1277
1558
|
*/
|
|
1278
1559
|
type: 'service';
|
|
1560
|
+
/**
|
|
1561
|
+
* Optional environment if the Worker utilizes one.
|
|
1562
|
+
*/
|
|
1563
|
+
environment?: string;
|
|
1279
1564
|
}
|
|
1280
1565
|
interface WorkersBindingKindTailConsumer {
|
|
1281
1566
|
/**
|
|
@@ -1291,6 +1576,21 @@ export declare namespace VersionCreateParams {
|
|
|
1291
1576
|
*/
|
|
1292
1577
|
type: 'tail_consumer';
|
|
1293
1578
|
}
|
|
1579
|
+
interface WorkersBindingKindTextBlob {
|
|
1580
|
+
/**
|
|
1581
|
+
* A JavaScript variable name for the binding.
|
|
1582
|
+
*/
|
|
1583
|
+
name: string;
|
|
1584
|
+
/**
|
|
1585
|
+
* The name of the file containing the text content. Only accepted for
|
|
1586
|
+
* `service worker syntax` Workers.
|
|
1587
|
+
*/
|
|
1588
|
+
part: string;
|
|
1589
|
+
/**
|
|
1590
|
+
* @deprecated The kind of resource that the binding provides.
|
|
1591
|
+
*/
|
|
1592
|
+
type: 'text_blob';
|
|
1593
|
+
}
|
|
1294
1594
|
interface WorkersBindingKindVectorize {
|
|
1295
1595
|
/**
|
|
1296
1596
|
* Name of the Vectorize index to bind to.
|
|
@@ -1392,6 +1692,21 @@ export declare namespace VersionCreateParams {
|
|
|
1392
1692
|
*/
|
|
1393
1693
|
script_name?: string;
|
|
1394
1694
|
}
|
|
1695
|
+
interface WorkersBindingKindWasmModule {
|
|
1696
|
+
/**
|
|
1697
|
+
* A JavaScript variable name for the binding.
|
|
1698
|
+
*/
|
|
1699
|
+
name: string;
|
|
1700
|
+
/**
|
|
1701
|
+
* The name of the file containing the WebAssembly module content. Only accepted
|
|
1702
|
+
* for `service worker syntax` Workers.
|
|
1703
|
+
*/
|
|
1704
|
+
part: string;
|
|
1705
|
+
/**
|
|
1706
|
+
* @deprecated The kind of resource that the binding provides.
|
|
1707
|
+
*/
|
|
1708
|
+
type: 'wasm_module';
|
|
1709
|
+
}
|
|
1395
1710
|
}
|
|
1396
1711
|
}
|
|
1397
1712
|
export interface VersionListParams extends V4PagePaginationParams {
|