cloudflare 3.0.0-beta.10 → 3.0.0-beta.12
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 +18 -0
- package/core.d.ts.map +1 -1
- package/core.js +1 -1
- package/core.js.map +1 -1
- package/core.mjs +1 -1
- package/core.mjs.map +1 -1
- package/index.d.mts +10 -6
- package/index.d.ts +10 -6
- package/index.d.ts.map +1 -1
- package/index.js +4 -4
- package/index.js.map +1 -1
- package/index.mjs +4 -4
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/alerting/alerting.d.ts +27 -5
- package/resources/alerting/alerting.d.ts.map +1 -1
- package/resources/alerting/alerting.js +13 -3
- package/resources/alerting/alerting.js.map +1 -1
- package/resources/alerting/alerting.mjs +13 -3
- package/resources/alerting/alerting.mjs.map +1 -1
- package/resources/alerting/available-alerts.d.ts +21 -0
- package/resources/alerting/available-alerts.d.ts.map +1 -0
- package/resources/alerting/available-alerts.js +18 -0
- package/resources/alerting/available-alerts.js.map +1 -0
- package/resources/alerting/available-alerts.mjs +14 -0
- package/resources/alerting/available-alerts.mjs.map +1 -0
- package/resources/alerting/{v3/destinations → destinations}/destinations.d.ts +3 -3
- package/resources/alerting/destinations/destinations.d.ts.map +1 -0
- package/resources/alerting/{v3/destinations → destinations}/destinations.js +3 -3
- package/resources/alerting/destinations/destinations.js.map +1 -0
- package/resources/alerting/{v3/destinations → destinations}/destinations.mjs +3 -3
- package/resources/alerting/destinations/destinations.mjs.map +1 -0
- package/resources/alerting/{v3/destinations → destinations}/eligible.d.ts +1 -1
- package/resources/alerting/destinations/eligible.d.ts.map +1 -0
- package/resources/alerting/destinations/eligible.js.map +1 -0
- package/resources/alerting/destinations/eligible.mjs.map +1 -0
- package/resources/alerting/destinations/index.d.ts.map +1 -0
- package/resources/alerting/destinations/index.js.map +1 -0
- package/resources/alerting/destinations/index.mjs.map +1 -0
- package/resources/alerting/{v3/destinations → destinations}/pagerduty.d.ts +1 -1
- package/resources/alerting/destinations/pagerduty.d.ts.map +1 -0
- package/resources/alerting/destinations/pagerduty.js.map +1 -0
- package/resources/alerting/destinations/pagerduty.mjs.map +1 -0
- package/resources/alerting/{v3/destinations → destinations}/webhooks.d.ts +1 -1
- package/resources/alerting/destinations/webhooks.d.ts.map +1 -0
- package/resources/alerting/destinations/webhooks.js.map +1 -0
- package/resources/alerting/destinations/webhooks.mjs.map +1 -0
- package/resources/alerting/{v3/histories.d.ts → history.d.ts} +7 -7
- package/resources/alerting/history.d.ts.map +1 -0
- package/resources/alerting/{v3/histories.js → history.js} +8 -8
- package/resources/alerting/history.js.map +1 -0
- package/resources/alerting/{v3/histories.mjs → history.mjs} +6 -6
- package/resources/alerting/history.mjs.map +1 -0
- package/resources/alerting/index.d.ts +4 -1
- package/resources/alerting/index.d.ts.map +1 -1
- package/resources/alerting/index.js +10 -3
- package/resources/alerting/index.js.map +1 -1
- package/resources/alerting/index.mjs +4 -1
- package/resources/alerting/index.mjs.map +1 -1
- package/resources/alerting/{v3/policies.d.ts → policies.d.ts} +1 -1
- package/resources/alerting/policies.d.ts.map +1 -0
- package/resources/alerting/policies.js.map +1 -0
- package/resources/alerting/policies.mjs.map +1 -0
- package/resources/email-routing/{routing/addresses.d.ts → addresses.d.ts} +1 -1
- package/resources/email-routing/addresses.d.ts.map +1 -0
- package/resources/email-routing/{routing/addresses.js → addresses.js} +1 -1
- package/resources/email-routing/addresses.js.map +1 -0
- package/resources/email-routing/{routing/addresses.mjs → addresses.mjs} +1 -1
- package/resources/email-routing/addresses.mjs.map +1 -0
- package/resources/email-routing/{routing/dns.d.ts → dns.d.ts} +1 -1
- package/resources/email-routing/dns.d.ts.map +1 -0
- package/resources/email-routing/dns.js.map +1 -0
- package/resources/email-routing/dns.mjs.map +1 -0
- package/resources/email-routing/email-routing.d.ts +188 -7
- package/resources/email-routing/email-routing.d.ts.map +1 -1
- package/resources/email-routing/email-routing.js +30 -3
- package/resources/email-routing/email-routing.js.map +1 -1
- package/resources/email-routing/email-routing.mjs +30 -3
- package/resources/email-routing/email-routing.mjs.map +1 -1
- package/resources/email-routing/index.d.ts +4 -2
- package/resources/email-routing/index.d.ts.map +1 -1
- package/resources/email-routing/index.js +9 -3
- package/resources/email-routing/index.js.map +1 -1
- package/resources/email-routing/index.mjs +4 -2
- package/resources/email-routing/index.mjs.map +1 -1
- package/resources/email-routing/{routing/rules → rules}/catch-alls.d.ts +1 -1
- package/resources/email-routing/rules/catch-alls.d.ts.map +1 -0
- package/resources/email-routing/rules/catch-alls.js.map +1 -0
- package/resources/email-routing/rules/catch-alls.mjs.map +1 -0
- package/resources/email-routing/rules/index.d.ts.map +1 -0
- package/resources/email-routing/rules/index.js.map +1 -0
- package/resources/email-routing/rules/index.mjs.map +1 -0
- package/resources/email-routing/{routing/rules → rules}/rules.d.ts +2 -2
- package/resources/email-routing/rules/rules.d.ts.map +1 -0
- package/resources/email-routing/{routing/rules → rules}/rules.js +2 -2
- package/resources/email-routing/rules/rules.js.map +1 -0
- package/resources/email-routing/{routing/rules → rules}/rules.mjs +2 -2
- package/resources/email-routing/rules/rules.mjs.map +1 -0
- package/resources/index.d.ts +3 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -5
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -3
- package/resources/index.mjs.map +1 -1
- package/resources/logs/index.d.ts +1 -1
- package/resources/logs/index.js +2 -2
- package/resources/logs/index.mjs +1 -1
- package/resources/logs/logs.d.ts +5 -5
- package/resources/logs/logs.js +3 -3
- package/resources/logs/logs.mjs +3 -3
- package/resources/logs/rayid.d.ts +9 -9
- package/resources/logs/rayid.js +5 -5
- package/resources/logs/rayid.mjs +3 -3
- package/resources/magic-transit/sites/acls.d.ts +28 -28
- package/resources/magic-transit/sites/index.d.ts +2 -2
- package/resources/magic-transit/sites/index.js +3 -3
- package/resources/magic-transit/sites/index.mjs +2 -2
- package/resources/magic-transit/sites/lans.d.ts +77 -77
- package/resources/magic-transit/sites/lans.js +5 -5
- package/resources/magic-transit/sites/lans.mjs +3 -3
- package/resources/magic-transit/sites/sites.d.ts +26 -26
- package/resources/magic-transit/sites/sites.js +6 -6
- package/resources/magic-transit/sites/sites.mjs +6 -6
- package/resources/magic-transit/sites/wans.d.ts +63 -63
- package/resources/magic-transit/sites/wans.js +5 -5
- package/resources/magic-transit/sites/wans.mjs +3 -3
- package/resources/pcaps/{downloads.d.ts → download.d.ts} +5 -5
- package/resources/pcaps/download.d.ts.map +1 -0
- package/resources/pcaps/{downloads.js → download.js} +6 -6
- package/resources/pcaps/download.js.map +1 -0
- package/resources/pcaps/{downloads.mjs → download.mjs} +4 -4
- package/resources/pcaps/download.mjs.map +1 -0
- package/resources/pcaps/index.d.ts +2 -2
- package/resources/pcaps/index.d.ts.map +1 -1
- package/resources/pcaps/index.js +5 -5
- package/resources/pcaps/index.js.map +1 -1
- package/resources/pcaps/index.mjs +2 -2
- package/resources/pcaps/index.mjs.map +1 -1
- package/resources/pcaps/{ownerships.d.ts → ownership.d.ts} +10 -10
- package/resources/pcaps/ownership.d.ts.map +1 -0
- package/resources/pcaps/{ownerships.js → ownership.js} +6 -6
- package/resources/pcaps/ownership.js.map +1 -0
- package/resources/pcaps/{ownerships.mjs → ownership.mjs} +4 -4
- package/resources/pcaps/ownership.mjs.map +1 -0
- package/resources/pcaps/pcaps.d.ts +13 -13
- package/resources/pcaps/pcaps.d.ts.map +1 -1
- package/resources/pcaps/pcaps.js +6 -6
- package/resources/pcaps/pcaps.js.map +1 -1
- package/resources/pcaps/pcaps.mjs +6 -6
- package/resources/pcaps/pcaps.mjs.map +1 -1
- package/resources/{available-plans.d.ts → plans.d.ts} +8 -8
- package/resources/plans.d.ts.map +1 -0
- package/resources/{available-plans.js → plans.js} +6 -6
- package/resources/plans.js.map +1 -0
- package/resources/{available-plans.mjs → plans.mjs} +4 -4
- package/resources/plans.mjs.map +1 -0
- package/resources/{available-rate-plans.d.ts → rate-plans.d.ts} +12 -12
- package/resources/rate-plans.d.ts.map +1 -0
- package/resources/{available-rate-plans.js → rate-plans.js} +6 -6
- package/resources/rate-plans.js.map +1 -0
- package/resources/{available-rate-plans.mjs → rate-plans.mjs} +4 -4
- package/resources/rate-plans.mjs.map +1 -0
- package/resources/rulesets/versions/{by-tags.d.ts → by-tag.d.ts} +5 -5
- package/resources/rulesets/versions/by-tag.d.ts.map +1 -0
- package/resources/rulesets/versions/{by-tags.js → by-tag.js} +6 -6
- package/resources/rulesets/versions/by-tag.js.map +1 -0
- package/resources/rulesets/versions/{by-tags.mjs → by-tag.mjs} +4 -4
- package/resources/rulesets/versions/by-tag.mjs.map +1 -0
- package/resources/rulesets/versions/index.d.ts +1 -1
- package/resources/rulesets/versions/index.d.ts.map +1 -1
- package/resources/rulesets/versions/index.js +3 -3
- package/resources/rulesets/versions/index.js.map +1 -1
- package/resources/rulesets/versions/index.mjs +1 -1
- package/resources/rulesets/versions/index.mjs.map +1 -1
- package/resources/rulesets/versions/versions.d.ts +4 -4
- package/resources/rulesets/versions/versions.d.ts.map +1 -1
- package/resources/rulesets/versions/versions.js +3 -3
- package/resources/rulesets/versions/versions.js.map +1 -1
- package/resources/rulesets/versions/versions.mjs +3 -3
- package/resources/rulesets/versions/versions.mjs.map +1 -1
- package/resources/rum/index.d.ts +1 -1
- package/resources/rum/index.d.ts.map +1 -1
- package/resources/rum/index.js +4 -4
- package/resources/rum/index.js.map +1 -1
- package/resources/rum/index.mjs +1 -1
- package/resources/rum/index.mjs.map +1 -1
- package/resources/rum/rum.d.ts +11 -11
- package/resources/rum/rum.d.ts.map +1 -1
- package/resources/rum/rum.js +4 -4
- package/resources/rum/rum.js.map +1 -1
- package/resources/rum/rum.mjs +4 -4
- package/resources/rum/rum.mjs.map +1 -1
- package/resources/rum/{site-infos.d.ts → site-info.d.ts} +12 -12
- package/resources/rum/site-info.d.ts.map +1 -0
- package/resources/rum/{site-infos.js → site-info.js} +8 -8
- package/resources/rum/site-info.js.map +1 -0
- package/resources/rum/{site-infos.mjs → site-info.mjs} +6 -6
- package/resources/rum/site-info.mjs.map +1 -0
- package/resources/stream/{clips.d.ts → clip.d.ts} +6 -6
- package/resources/stream/clip.d.ts.map +1 -0
- package/resources/stream/{clips.js → clip.js} +6 -6
- package/resources/stream/clip.js.map +1 -0
- package/resources/stream/{clips.mjs → clip.mjs} +4 -4
- package/resources/stream/clip.mjs.map +1 -0
- package/resources/stream/{copies.d.ts → copy.d.ts} +5 -5
- package/resources/stream/copy.d.ts.map +1 -0
- package/resources/stream/{copies.js → copy.js} +6 -6
- package/resources/stream/copy.js.map +1 -0
- package/resources/stream/{copies.mjs → copy.mjs} +4 -4
- package/resources/stream/copy.mjs.map +1 -0
- package/resources/stream/{direct-uploads.d.ts → direct-upload.d.ts} +6 -6
- package/resources/stream/direct-upload.d.ts.map +1 -0
- package/resources/stream/{direct-uploads.js → direct-upload.js} +6 -6
- package/resources/stream/direct-upload.js.map +1 -0
- package/resources/stream/{direct-uploads.mjs → direct-upload.mjs} +4 -4
- package/resources/stream/direct-upload.mjs.map +1 -0
- package/resources/stream/{embeds.d.ts → embed.d.ts} +6 -6
- package/resources/stream/embed.d.ts.map +1 -0
- package/resources/stream/{embeds.js → embed.js} +6 -6
- package/resources/stream/embed.js.map +1 -0
- package/resources/stream/{embeds.mjs → embed.mjs} +4 -4
- package/resources/stream/embed.mjs.map +1 -0
- package/resources/stream/index.d.ts +5 -5
- package/resources/stream/index.d.ts.map +1 -1
- package/resources/stream/index.js +11 -11
- package/resources/stream/index.js.map +1 -1
- package/resources/stream/index.mjs +5 -5
- package/resources/stream/index.mjs.map +1 -1
- package/resources/stream/stream.d.ts +24 -24
- package/resources/stream/stream.d.ts.map +1 -1
- package/resources/stream/stream.js +15 -15
- package/resources/stream/stream.js.map +1 -1
- package/resources/stream/stream.mjs +15 -15
- package/resources/stream/stream.mjs.map +1 -1
- package/resources/stream/{tokens.d.ts → token.d.ts} +6 -6
- package/resources/stream/token.d.ts.map +1 -0
- package/resources/stream/{tokens.js → token.js} +6 -6
- package/resources/stream/token.js.map +1 -0
- package/resources/stream/{tokens.mjs → token.mjs} +4 -4
- package/resources/stream/token.mjs.map +1 -0
- package/resources/workers/ai.d.ts +1 -0
- package/resources/workers/ai.d.ts.map +1 -1
- package/resources/workers/ai.js.map +1 -1
- package/resources/workers/ai.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/{content/bindings.d.ts → bindings.d.ts} +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.d.ts.map +1 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.js.map +1 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.mjs.map +1 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/{content/scripts.d.ts → content.d.ts} +12 -12
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content.d.ts.map +1 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/{content/scripts.js → content.js} +6 -6
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content.js.map +1 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/{content/scripts.mjs → content.mjs} +4 -4
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content.mjs.map +1 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.d.ts +3 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.js +7 -3
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.mjs +3 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts +15 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.js +7 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.mjs +7 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/{content/settings.d.ts → settings.d.ts} +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts.map +1 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.js.map +1 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.mjs.map +1 -0
- package/resources/zero-trust/access/applications/applications.d.ts +24 -0
- 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/devices/devices.d.ts +10 -10
- package/resources/zero-trust/devices/devices.d.ts.map +1 -1
- package/resources/zero-trust/devices/devices.js +6 -6
- package/resources/zero-trust/devices/devices.js.map +1 -1
- package/resources/zero-trust/devices/devices.mjs +6 -6
- package/resources/zero-trust/devices/devices.mjs.map +1 -1
- package/resources/zero-trust/devices/index.d.ts +2 -2
- package/resources/zero-trust/devices/index.d.ts.map +1 -1
- package/resources/zero-trust/devices/index.js +5 -5
- package/resources/zero-trust/devices/index.js.map +1 -1
- package/resources/zero-trust/devices/index.mjs +2 -2
- package/resources/zero-trust/devices/index.mjs.map +1 -1
- package/resources/zero-trust/devices/{revokes.d.ts → revoke.d.ts} +6 -6
- package/resources/zero-trust/devices/revoke.d.ts.map +1 -0
- package/resources/zero-trust/devices/{revokes.js → revoke.js} +6 -6
- package/resources/zero-trust/devices/revoke.js.map +1 -0
- package/resources/zero-trust/devices/{revokes.mjs → revoke.mjs} +4 -4
- package/resources/zero-trust/devices/revoke.mjs.map +1 -0
- package/resources/zero-trust/devices/{unrevokes.d.ts → unrevoke.d.ts} +6 -6
- package/resources/zero-trust/devices/unrevoke.d.ts.map +1 -0
- package/resources/zero-trust/devices/{unrevokes.js → unrevoke.js} +6 -6
- package/resources/zero-trust/devices/unrevoke.js.map +1 -0
- package/resources/zero-trust/devices/{unrevokes.mjs → unrevoke.mjs} +4 -4
- package/resources/zero-trust/devices/unrevoke.mjs.map +1 -0
- package/resources/zones/settings/index.d.ts +1 -1
- package/resources/zones/settings/index.js +2 -2
- package/resources/zones/settings/index.mjs +1 -1
- package/resources/zones/settings/settings.d.ts +9 -9
- package/resources/zones/settings/settings.js +3 -3
- package/resources/zones/settings/settings.mjs +3 -3
- package/resources/zones/settings/webp.d.ts +11 -11
- package/resources/zones/settings/webp.js +5 -5
- package/resources/zones/settings/webp.mjs +3 -3
- package/src/core.ts +2 -1
- package/src/index.ts +10 -6
- package/src/resources/alerting/alerting.ts +27 -5
- package/src/resources/alerting/available-alerts.ts +36 -0
- package/src/resources/alerting/{v3/destinations → destinations}/destinations.ts +1 -1
- package/src/resources/alerting/{v3/destinations → destinations}/eligible.ts +2 -2
- package/src/resources/alerting/{v3/destinations → destinations}/pagerduty.ts +2 -2
- package/src/resources/alerting/{v3/destinations → destinations}/webhooks.ts +2 -2
- package/src/resources/alerting/{v3/histories.ts → history.ts} +9 -9
- package/src/resources/alerting/index.ts +16 -1
- package/src/resources/alerting/{v3/policies.ts → policies.ts} +2 -2
- package/src/resources/email-routing/{routing/addresses.ts → addresses.ts} +4 -4
- package/src/resources/email-routing/{routing/dns.ts → dns.ts} +2 -2
- package/src/resources/email-routing/email-routing.ts +244 -7
- package/src/resources/email-routing/index.ts +30 -6
- package/src/resources/email-routing/{routing/rules → rules}/catch-alls.ts +2 -2
- package/src/resources/email-routing/{routing/rules → rules}/rules.ts +4 -4
- package/src/resources/index.ts +9 -3
- package/src/resources/logs/index.ts +1 -1
- package/src/resources/logs/logs.ts +5 -5
- package/src/resources/logs/rayid.ts +12 -12
- package/src/resources/magic-transit/sites/acls.ts +28 -28
- package/src/resources/magic-transit/sites/index.ts +22 -22
- package/src/resources/magic-transit/sites/lans.ts +87 -87
- package/src/resources/magic-transit/sites/sites.ts +26 -26
- package/src/resources/magic-transit/sites/wans.ts +73 -73
- package/src/resources/pcaps/{downloads.ts → download.ts} +4 -4
- package/src/resources/pcaps/index.ts +3 -3
- package/src/resources/pcaps/{ownerships.ts → ownership.ts} +9 -9
- package/src/resources/pcaps/pcaps.ts +13 -13
- package/src/resources/{available-plans.ts → plans.ts} +8 -11
- package/src/resources/{available-rate-plans.ts → rate-plans.ts} +12 -16
- package/src/resources/rulesets/versions/{by-tags.ts → by-tag.ts} +4 -4
- package/src/resources/rulesets/versions/index.ts +1 -1
- package/src/resources/rulesets/versions/versions.ts +4 -4
- package/src/resources/rum/index.ts +2 -2
- package/src/resources/rum/rum.ts +11 -11
- package/src/resources/rum/{site-infos.ts → site-info.ts} +11 -11
- package/src/resources/stream/{clips.ts → clip.ts} +5 -5
- package/src/resources/stream/{copies.ts → copy.ts} +4 -4
- package/src/resources/stream/{direct-uploads.ts → direct-upload.ts} +5 -5
- package/src/resources/stream/{embeds.ts → embed.ts} +5 -5
- package/src/resources/stream/index.ts +5 -5
- package/src/resources/stream/stream.ts +24 -24
- package/src/resources/stream/{tokens.ts → token.ts} +5 -5
- package/src/resources/workers/ai.ts +2 -0
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/{content/bindings.ts → bindings.ts} +2 -2
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/{content/scripts.ts → content.ts} +16 -16
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/index.ts +9 -1
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.ts +15 -1
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/{content/settings.ts → settings.ts} +2 -2
- package/src/resources/zero-trust/access/applications/applications.ts +27 -0
- package/src/resources/zero-trust/devices/devices.ts +10 -10
- package/src/resources/zero-trust/devices/index.ts +2 -2
- package/src/resources/zero-trust/devices/{revokes.ts → revoke.ts} +5 -5
- package/src/resources/zero-trust/devices/{unrevokes.ts → unrevoke.ts} +5 -5
- package/src/resources/zones/settings/index.ts +1 -1
- package/src/resources/zones/settings/settings.ts +9 -9
- package/src/resources/zones/settings/webp.ts +13 -13
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/alerting/v3/destinations/destinations.d.ts.map +0 -1
- package/resources/alerting/v3/destinations/destinations.js.map +0 -1
- package/resources/alerting/v3/destinations/destinations.mjs.map +0 -1
- package/resources/alerting/v3/destinations/eligible.d.ts.map +0 -1
- package/resources/alerting/v3/destinations/eligible.js.map +0 -1
- package/resources/alerting/v3/destinations/eligible.mjs.map +0 -1
- package/resources/alerting/v3/destinations/index.d.ts.map +0 -1
- package/resources/alerting/v3/destinations/index.js.map +0 -1
- package/resources/alerting/v3/destinations/index.mjs.map +0 -1
- package/resources/alerting/v3/destinations/pagerduty.d.ts.map +0 -1
- package/resources/alerting/v3/destinations/pagerduty.js.map +0 -1
- package/resources/alerting/v3/destinations/pagerduty.mjs.map +0 -1
- package/resources/alerting/v3/destinations/webhooks.d.ts.map +0 -1
- package/resources/alerting/v3/destinations/webhooks.js.map +0 -1
- package/resources/alerting/v3/destinations/webhooks.mjs.map +0 -1
- package/resources/alerting/v3/histories.d.ts.map +0 -1
- package/resources/alerting/v3/histories.js.map +0 -1
- package/resources/alerting/v3/histories.mjs.map +0 -1
- package/resources/alerting/v3/index.d.ts +0 -5
- package/resources/alerting/v3/index.d.ts.map +0 -1
- package/resources/alerting/v3/index.js +0 -14
- package/resources/alerting/v3/index.js.map +0 -1
- package/resources/alerting/v3/index.mjs +0 -6
- package/resources/alerting/v3/index.mjs.map +0 -1
- package/resources/alerting/v3/policies.d.ts.map +0 -1
- package/resources/alerting/v3/policies.js.map +0 -1
- package/resources/alerting/v3/policies.mjs.map +0 -1
- package/resources/alerting/v3/v3.d.ts +0 -43
- package/resources/alerting/v3/v3.d.ts.map +0 -1
- package/resources/alerting/v3/v3.js +0 -54
- package/resources/alerting/v3/v3.js.map +0 -1
- package/resources/alerting/v3/v3.mjs +0 -27
- package/resources/alerting/v3/v3.mjs.map +0 -1
- package/resources/available-plans.d.ts.map +0 -1
- package/resources/available-plans.js.map +0 -1
- package/resources/available-plans.mjs.map +0 -1
- package/resources/available-rate-plans.d.ts.map +0 -1
- package/resources/available-rate-plans.js.map +0 -1
- package/resources/available-rate-plans.mjs.map +0 -1
- package/resources/email-routing/routing/addresses.d.ts.map +0 -1
- package/resources/email-routing/routing/addresses.js.map +0 -1
- package/resources/email-routing/routing/addresses.mjs.map +0 -1
- package/resources/email-routing/routing/dns.d.ts.map +0 -1
- package/resources/email-routing/routing/dns.js.map +0 -1
- package/resources/email-routing/routing/dns.mjs.map +0 -1
- package/resources/email-routing/routing/index.d.ts +0 -5
- package/resources/email-routing/routing/index.d.ts.map +0 -1
- package/resources/email-routing/routing/index.js +0 -15
- package/resources/email-routing/routing/index.js.map +0 -1
- package/resources/email-routing/routing/index.mjs +0 -6
- package/resources/email-routing/routing/index.mjs.map +0 -1
- package/resources/email-routing/routing/routing.d.ts +0 -194
- package/resources/email-routing/routing/routing.d.ts.map +0 -1
- package/resources/email-routing/routing/routing.js +0 -67
- package/resources/email-routing/routing/routing.js.map +0 -1
- package/resources/email-routing/routing/routing.mjs +0 -40
- package/resources/email-routing/routing/routing.mjs.map +0 -1
- package/resources/email-routing/routing/rules/catch-alls.d.ts.map +0 -1
- package/resources/email-routing/routing/rules/catch-alls.js.map +0 -1
- package/resources/email-routing/routing/rules/catch-alls.mjs.map +0 -1
- package/resources/email-routing/routing/rules/index.d.ts.map +0 -1
- package/resources/email-routing/routing/rules/index.js.map +0 -1
- package/resources/email-routing/routing/rules/index.mjs.map +0 -1
- package/resources/email-routing/routing/rules/rules.d.ts.map +0 -1
- package/resources/email-routing/routing/rules/rules.js.map +0 -1
- package/resources/email-routing/routing/rules/rules.mjs.map +0 -1
- package/resources/pcaps/downloads.d.ts.map +0 -1
- package/resources/pcaps/downloads.js.map +0 -1
- package/resources/pcaps/downloads.mjs.map +0 -1
- package/resources/pcaps/ownerships.d.ts.map +0 -1
- package/resources/pcaps/ownerships.js.map +0 -1
- package/resources/pcaps/ownerships.mjs.map +0 -1
- package/resources/rulesets/versions/by-tags.d.ts.map +0 -1
- package/resources/rulesets/versions/by-tags.js.map +0 -1
- package/resources/rulesets/versions/by-tags.mjs.map +0 -1
- package/resources/rum/site-infos.d.ts.map +0 -1
- package/resources/rum/site-infos.js.map +0 -1
- package/resources/rum/site-infos.mjs.map +0 -1
- package/resources/stream/clips.d.ts.map +0 -1
- package/resources/stream/clips.js.map +0 -1
- package/resources/stream/clips.mjs.map +0 -1
- package/resources/stream/copies.d.ts.map +0 -1
- package/resources/stream/copies.js.map +0 -1
- package/resources/stream/copies.mjs.map +0 -1
- package/resources/stream/direct-uploads.d.ts.map +0 -1
- package/resources/stream/direct-uploads.js.map +0 -1
- package/resources/stream/direct-uploads.mjs.map +0 -1
- package/resources/stream/embeds.d.ts.map +0 -1
- package/resources/stream/embeds.js.map +0 -1
- package/resources/stream/embeds.mjs.map +0 -1
- package/resources/stream/tokens.d.ts.map +0 -1
- package/resources/stream/tokens.js.map +0 -1
- package/resources/stream/tokens.mjs.map +0 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content/bindings.d.ts.map +0 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content/bindings.js.map +0 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content/bindings.mjs.map +0 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content/content.d.ts +0 -23
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content/content.d.ts.map +0 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content/content.js +0 -46
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content/content.js.map +0 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content/content.mjs +0 -19
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content/content.mjs.map +0 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content/index.d.ts +0 -5
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content/index.d.ts.map +0 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content/index.js +0 -13
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content/index.js.map +0 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content/index.mjs +0 -6
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content/index.mjs.map +0 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content/scripts.d.ts.map +0 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content/scripts.js.map +0 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content/scripts.mjs.map +0 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content/settings.d.ts.map +0 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content/settings.js.map +0 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content/settings.mjs.map +0 -1
- package/resources/zero-trust/devices/revokes.d.ts.map +0 -1
- package/resources/zero-trust/devices/revokes.js.map +0 -1
- package/resources/zero-trust/devices/revokes.mjs.map +0 -1
- package/resources/zero-trust/devices/unrevokes.d.ts.map +0 -1
- package/resources/zero-trust/devices/unrevokes.js.map +0 -1
- package/resources/zero-trust/devices/unrevokes.mjs.map +0 -1
- package/src/resources/alerting/v3/index.ts +0 -18
- package/src/resources/alerting/v3/v3.ts +0 -56
- package/src/resources/email-routing/routing/index.ts +0 -34
- package/src/resources/email-routing/routing/routing.ts +0 -250
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/content/content.ts +0 -26
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/content/index.ts +0 -12
- /package/resources/alerting/{v3/destinations → destinations}/eligible.js +0 -0
- /package/resources/alerting/{v3/destinations → destinations}/eligible.mjs +0 -0
- /package/resources/alerting/{v3/destinations → destinations}/index.d.ts +0 -0
- /package/resources/alerting/{v3/destinations → destinations}/index.js +0 -0
- /package/resources/alerting/{v3/destinations → destinations}/index.mjs +0 -0
- /package/resources/alerting/{v3/destinations → destinations}/pagerduty.js +0 -0
- /package/resources/alerting/{v3/destinations → destinations}/pagerduty.mjs +0 -0
- /package/resources/alerting/{v3/destinations → destinations}/webhooks.js +0 -0
- /package/resources/alerting/{v3/destinations → destinations}/webhooks.mjs +0 -0
- /package/resources/alerting/{v3/policies.js → policies.js} +0 -0
- /package/resources/alerting/{v3/policies.mjs → policies.mjs} +0 -0
- /package/resources/email-routing/{routing/dns.js → dns.js} +0 -0
- /package/resources/email-routing/{routing/dns.mjs → dns.mjs} +0 -0
- /package/resources/email-routing/{routing/rules → rules}/catch-alls.js +0 -0
- /package/resources/email-routing/{routing/rules → rules}/catch-alls.mjs +0 -0
- /package/resources/email-routing/{routing/rules → rules}/index.d.ts +0 -0
- /package/resources/email-routing/{routing/rules → rules}/index.js +0 -0
- /package/resources/email-routing/{routing/rules → rules}/index.mjs +0 -0
- /package/resources/workers-for-platforms/dispatch/namespaces/scripts/{content/bindings.js → bindings.js} +0 -0
- /package/resources/workers-for-platforms/dispatch/namespaces/scripts/{content/bindings.mjs → bindings.mjs} +0 -0
- /package/resources/workers-for-platforms/dispatch/namespaces/scripts/{content/settings.js → settings.js} +0 -0
- /package/resources/workers-for-platforms/dispatch/namespaces/scripts/{content/settings.mjs → settings.mjs} +0 -0
- /package/src/resources/alerting/{v3/destinations → destinations}/index.ts +0 -0
- /package/src/resources/email-routing/{routing/rules → rules}/index.ts +0 -0
package/src/resources/rum/rum.ts
CHANGED
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from "../../resource";
|
|
4
4
|
import * as RulesAPI from "./rules";
|
|
5
|
-
import * as
|
|
5
|
+
import * as SiteInfoAPI from "./site-info";
|
|
6
6
|
|
|
7
7
|
export class RUM extends APIResource {
|
|
8
|
-
|
|
8
|
+
siteInfo: SiteInfoAPI.SiteInfo = new SiteInfoAPI.SiteInfo(this._client);
|
|
9
9
|
rules: RulesAPI.Rules = new RulesAPI.Rules(this._client);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
export namespace RUM {
|
|
13
|
-
export import
|
|
14
|
-
export import RUMSite =
|
|
15
|
-
export import SiteInfoDeleteResponse =
|
|
16
|
-
export import RUMSitesV4PagePaginationArray =
|
|
17
|
-
export import SiteInfoCreateParams =
|
|
18
|
-
export import SiteInfoUpdateParams =
|
|
19
|
-
export import SiteInfoListParams =
|
|
20
|
-
export import SiteInfoDeleteParams =
|
|
21
|
-
export import SiteInfoGetParams =
|
|
13
|
+
export import SiteInfo = SiteInfoAPI.SiteInfo;
|
|
14
|
+
export import RUMSite = SiteInfoAPI.RUMSite;
|
|
15
|
+
export import SiteInfoDeleteResponse = SiteInfoAPI.SiteInfoDeleteResponse;
|
|
16
|
+
export import RUMSitesV4PagePaginationArray = SiteInfoAPI.RUMSitesV4PagePaginationArray;
|
|
17
|
+
export import SiteInfoCreateParams = SiteInfoAPI.SiteInfoCreateParams;
|
|
18
|
+
export import SiteInfoUpdateParams = SiteInfoAPI.SiteInfoUpdateParams;
|
|
19
|
+
export import SiteInfoListParams = SiteInfoAPI.SiteInfoListParams;
|
|
20
|
+
export import SiteInfoDeleteParams = SiteInfoAPI.SiteInfoDeleteParams;
|
|
21
|
+
export import SiteInfoGetParams = SiteInfoAPI.SiteInfoGetParams;
|
|
22
22
|
export import Rules = RulesAPI.Rules;
|
|
23
23
|
export import RUMRule = RulesAPI.RUMRule;
|
|
24
24
|
export import RuleListResponse = RulesAPI.RuleListResponse;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../../core";
|
|
4
4
|
import { APIResource } from "../../resource";
|
|
5
|
-
import * as
|
|
5
|
+
import * as SiteInfoAPI from "./site-info";
|
|
6
6
|
import * as RulesAPI from "./rules";
|
|
7
7
|
import { V4PagePaginationArray, type V4PagePaginationArrayParams } from "../../pagination";
|
|
8
8
|
|
|
9
|
-
export class
|
|
9
|
+
export class SiteInfo extends APIResource {
|
|
10
10
|
/**
|
|
11
11
|
* Creates a new Web Analytics site.
|
|
12
12
|
*/
|
|
@@ -214,13 +214,13 @@ export interface SiteInfoGetParams {
|
|
|
214
214
|
account_id: string;
|
|
215
215
|
}
|
|
216
216
|
|
|
217
|
-
export namespace
|
|
218
|
-
export import RUMSite =
|
|
219
|
-
export import SiteInfoDeleteResponse =
|
|
220
|
-
export import RUMSitesV4PagePaginationArray =
|
|
221
|
-
export import SiteInfoCreateParams =
|
|
222
|
-
export import SiteInfoUpdateParams =
|
|
223
|
-
export import SiteInfoListParams =
|
|
224
|
-
export import SiteInfoDeleteParams =
|
|
225
|
-
export import SiteInfoGetParams =
|
|
217
|
+
export namespace SiteInfo {
|
|
218
|
+
export import RUMSite = SiteInfoAPI.RUMSite;
|
|
219
|
+
export import SiteInfoDeleteResponse = SiteInfoAPI.SiteInfoDeleteResponse;
|
|
220
|
+
export import RUMSitesV4PagePaginationArray = SiteInfoAPI.RUMSitesV4PagePaginationArray;
|
|
221
|
+
export import SiteInfoCreateParams = SiteInfoAPI.SiteInfoCreateParams;
|
|
222
|
+
export import SiteInfoUpdateParams = SiteInfoAPI.SiteInfoUpdateParams;
|
|
223
|
+
export import SiteInfoListParams = SiteInfoAPI.SiteInfoListParams;
|
|
224
|
+
export import SiteInfoDeleteParams = SiteInfoAPI.SiteInfoDeleteParams;
|
|
225
|
+
export import SiteInfoGetParams = SiteInfoAPI.SiteInfoGetParams;
|
|
226
226
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../../core";
|
|
4
4
|
import { APIResource } from "../../resource";
|
|
5
|
-
import * as
|
|
5
|
+
import * as ClipAPI from "./clip";
|
|
6
6
|
|
|
7
|
-
export class
|
|
7
|
+
export class Clip extends APIResource {
|
|
8
8
|
/**
|
|
9
9
|
* Clips a video based on the specified start and end times provided in seconds.
|
|
10
10
|
*/
|
|
@@ -192,7 +192,7 @@ export namespace ClipCreateParams {
|
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export namespace
|
|
196
|
-
export import StreamClipping =
|
|
197
|
-
export import ClipCreateParams =
|
|
195
|
+
export namespace Clip {
|
|
196
|
+
export import StreamClipping = ClipAPI.StreamClipping;
|
|
197
|
+
export import ClipCreateParams = ClipAPI.ClipCreateParams;
|
|
198
198
|
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../../core";
|
|
4
4
|
import { APIResource } from "../../resource";
|
|
5
|
-
import * as
|
|
5
|
+
import * as CopyAPI from "./copy";
|
|
6
6
|
import * as StreamAPI from "./stream";
|
|
7
7
|
|
|
8
|
-
export class
|
|
8
|
+
export class Copy extends APIResource {
|
|
9
9
|
/**
|
|
10
10
|
* Uploads a video to Stream from a provided URL.
|
|
11
11
|
*/
|
|
@@ -114,6 +114,6 @@ export namespace CopyCreateParams {
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export namespace
|
|
118
|
-
export import CopyCreateParams =
|
|
117
|
+
export namespace Copy {
|
|
118
|
+
export import CopyCreateParams = CopyAPI.CopyCreateParams;
|
|
119
119
|
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../../core";
|
|
4
4
|
import { APIResource } from "../../resource";
|
|
5
|
-
import * as
|
|
5
|
+
import * as DirectUploadAPI from "./direct-upload";
|
|
6
6
|
import * as WatermarksAPI from "./watermarks";
|
|
7
7
|
|
|
8
|
-
export class
|
|
8
|
+
export class DirectUpload extends APIResource {
|
|
9
9
|
/**
|
|
10
10
|
* Creates a direct upload that allows video uploads without an API key.
|
|
11
11
|
*/
|
|
@@ -127,7 +127,7 @@ export namespace DirectUploadCreateParams {
|
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
export namespace
|
|
131
|
-
export import DirectUploadCreateResponse =
|
|
132
|
-
export import DirectUploadCreateParams =
|
|
130
|
+
export namespace DirectUpload {
|
|
131
|
+
export import DirectUploadCreateResponse = DirectUploadAPI.DirectUploadCreateResponse;
|
|
132
|
+
export import DirectUploadCreateParams = DirectUploadAPI.DirectUploadCreateParams;
|
|
133
133
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../../core";
|
|
4
4
|
import { APIResource } from "../../resource";
|
|
5
|
-
import * as
|
|
5
|
+
import * as EmbedAPI from "./embed";
|
|
6
6
|
|
|
7
|
-
export class
|
|
7
|
+
export class Embed extends APIResource {
|
|
8
8
|
/**
|
|
9
9
|
* Fetches an HTML code snippet to embed a video in a web page delivered through
|
|
10
10
|
* Cloudflare. On success, returns an HTML fragment for use on web pages to display
|
|
@@ -25,7 +25,7 @@ export interface EmbedGetParams {
|
|
|
25
25
|
account_id: string;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
export namespace
|
|
29
|
-
export import EmbedGetResponse =
|
|
30
|
-
export import EmbedGetParams =
|
|
28
|
+
export namespace Embed {
|
|
29
|
+
export import EmbedGetResponse = EmbedAPI.EmbedGetResponse;
|
|
30
|
+
export import EmbedGetParams = EmbedAPI.EmbedGetParams;
|
|
31
31
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
export { CopyCreateParams,
|
|
4
|
-
export { DirectUploadCreateResponse, DirectUploadCreateParams,
|
|
3
|
+
export { CopyCreateParams, Copy } from './copy';
|
|
4
|
+
export { DirectUploadCreateResponse, DirectUploadCreateParams, DirectUpload } from './direct-upload';
|
|
5
5
|
export {
|
|
6
6
|
DownloadCreateResponse,
|
|
7
7
|
DownloadDeleteResponse,
|
|
@@ -11,7 +11,7 @@ export {
|
|
|
11
11
|
DownloadGetParams,
|
|
12
12
|
Downloads,
|
|
13
13
|
} from './downloads';
|
|
14
|
-
export { EmbedGetResponse, EmbedGetParams,
|
|
14
|
+
export { EmbedGetResponse, EmbedGetParams, Embed } from './embed';
|
|
15
15
|
export {
|
|
16
16
|
StreamAdditionalAudio,
|
|
17
17
|
AudioTrackDeleteResponse,
|
|
@@ -32,7 +32,7 @@ export {
|
|
|
32
32
|
CaptionGetParams,
|
|
33
33
|
Captions,
|
|
34
34
|
} from './captions';
|
|
35
|
-
export { StreamClipping, ClipCreateParams,
|
|
35
|
+
export { StreamClipping, ClipCreateParams, Clip } from './clip';
|
|
36
36
|
export {
|
|
37
37
|
StreamKeys,
|
|
38
38
|
KeyDeleteResponse,
|
|
@@ -73,7 +73,7 @@ export {
|
|
|
73
73
|
WatermarkGetParams,
|
|
74
74
|
Watermarks,
|
|
75
75
|
} from './watermarks';
|
|
76
|
-
export { TokenCreateResponse, TokenCreateParams,
|
|
76
|
+
export { TokenCreateResponse, TokenCreateParams, Token } from './token';
|
|
77
77
|
export { VideoStorageUsageResponse, VideoStorageUsageParams, Videos } from './videos';
|
|
78
78
|
export {
|
|
79
79
|
WebhookUpdateResponse,
|
|
@@ -5,13 +5,13 @@ import { APIResource } from "../../resource";
|
|
|
5
5
|
import * as StreamAPI from "./stream";
|
|
6
6
|
import * as AudioTracksAPI from "./audio-tracks";
|
|
7
7
|
import * as CaptionsAPI from "./captions";
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
8
|
+
import * as ClipAPI from "./clip";
|
|
9
|
+
import * as CopyAPI from "./copy";
|
|
10
|
+
import * as DirectUploadAPI from "./direct-upload";
|
|
11
11
|
import * as DownloadsAPI from "./downloads";
|
|
12
|
-
import * as
|
|
12
|
+
import * as EmbedAPI from "./embed";
|
|
13
13
|
import * as KeysAPI from "./keys";
|
|
14
|
-
import * as
|
|
14
|
+
import * as TokenAPI from "./token";
|
|
15
15
|
import * as VideosAPI from "./videos";
|
|
16
16
|
import * as WatermarksAPI from "./watermarks";
|
|
17
17
|
import * as WebhooksAPI from "./webhooks";
|
|
@@ -20,17 +20,17 @@ import * as LiveInputsAPI from "./live-inputs/live-inputs";
|
|
|
20
20
|
export class Stream extends APIResource {
|
|
21
21
|
audioTracks: AudioTracksAPI.AudioTracks = new AudioTracksAPI.AudioTracks(this._client);
|
|
22
22
|
videos: VideosAPI.Videos = new VideosAPI.Videos(this._client);
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
clip: ClipAPI.Clip = new ClipAPI.Clip(this._client);
|
|
24
|
+
copy: CopyAPI.Copy = new CopyAPI.Copy(this._client);
|
|
25
|
+
directUpload: DirectUploadAPI.DirectUpload = new DirectUploadAPI.DirectUpload(this._client);
|
|
26
26
|
keys: KeysAPI.Keys = new KeysAPI.Keys(this._client);
|
|
27
27
|
liveInputs: LiveInputsAPI.LiveInputs = new LiveInputsAPI.LiveInputs(this._client);
|
|
28
28
|
watermarks: WatermarksAPI.Watermarks = new WatermarksAPI.Watermarks(this._client);
|
|
29
29
|
webhooks: WebhooksAPI.Webhooks = new WebhooksAPI.Webhooks(this._client);
|
|
30
30
|
captions: CaptionsAPI.Captions = new CaptionsAPI.Captions(this._client);
|
|
31
31
|
downloads: DownloadsAPI.Downloads = new DownloadsAPI.Downloads(this._client);
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
embed: EmbedAPI.Embed = new EmbedAPI.Embed(this._client);
|
|
33
|
+
token: TokenAPI.Token = new TokenAPI.Token(this._client);
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
* Initiates a video upload using the TUS protocol. On success, the server responds
|
|
@@ -410,14 +410,14 @@ export namespace Stream {
|
|
|
410
410
|
export import Videos = VideosAPI.Videos;
|
|
411
411
|
export import VideoStorageUsageResponse = VideosAPI.VideoStorageUsageResponse;
|
|
412
412
|
export import VideoStorageUsageParams = VideosAPI.VideoStorageUsageParams;
|
|
413
|
-
export import
|
|
414
|
-
export import StreamClipping =
|
|
415
|
-
export import ClipCreateParams =
|
|
416
|
-
export import
|
|
417
|
-
export import CopyCreateParams =
|
|
418
|
-
export import
|
|
419
|
-
export import DirectUploadCreateResponse =
|
|
420
|
-
export import DirectUploadCreateParams =
|
|
413
|
+
export import Clip = ClipAPI.Clip;
|
|
414
|
+
export import StreamClipping = ClipAPI.StreamClipping;
|
|
415
|
+
export import ClipCreateParams = ClipAPI.ClipCreateParams;
|
|
416
|
+
export import Copy = CopyAPI.Copy;
|
|
417
|
+
export import CopyCreateParams = CopyAPI.CopyCreateParams;
|
|
418
|
+
export import DirectUpload = DirectUploadAPI.DirectUpload;
|
|
419
|
+
export import DirectUploadCreateResponse = DirectUploadAPI.DirectUploadCreateResponse;
|
|
420
|
+
export import DirectUploadCreateParams = DirectUploadAPI.DirectUploadCreateParams;
|
|
421
421
|
export import Keys = KeysAPI.Keys;
|
|
422
422
|
export import StreamKeys = KeysAPI.StreamKeys;
|
|
423
423
|
export import KeyDeleteResponse = KeysAPI.KeyDeleteResponse;
|
|
@@ -465,10 +465,10 @@ export namespace Stream {
|
|
|
465
465
|
export import DownloadCreateParams = DownloadsAPI.DownloadCreateParams;
|
|
466
466
|
export import DownloadDeleteParams = DownloadsAPI.DownloadDeleteParams;
|
|
467
467
|
export import DownloadGetParams = DownloadsAPI.DownloadGetParams;
|
|
468
|
-
export import
|
|
469
|
-
export import EmbedGetResponse =
|
|
470
|
-
export import EmbedGetParams =
|
|
471
|
-
export import
|
|
472
|
-
export import TokenCreateResponse =
|
|
473
|
-
export import TokenCreateParams =
|
|
468
|
+
export import Embed = EmbedAPI.Embed;
|
|
469
|
+
export import EmbedGetResponse = EmbedAPI.EmbedGetResponse;
|
|
470
|
+
export import EmbedGetParams = EmbedAPI.EmbedGetParams;
|
|
471
|
+
export import Token = TokenAPI.Token;
|
|
472
|
+
export import TokenCreateResponse = TokenAPI.TokenCreateResponse;
|
|
473
|
+
export import TokenCreateParams = TokenAPI.TokenCreateParams;
|
|
474
474
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../../core";
|
|
4
4
|
import { APIResource } from "../../resource";
|
|
5
|
-
import * as
|
|
5
|
+
import * as TokenAPI from "./token";
|
|
6
6
|
|
|
7
|
-
export class
|
|
7
|
+
export class Token extends APIResource {
|
|
8
8
|
/**
|
|
9
9
|
* Creates a signed URL token for a video. If a body is not provided in the
|
|
10
10
|
* request, a token is created with default values.
|
|
@@ -112,7 +112,7 @@ export namespace TokenCreateParams {
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
export namespace
|
|
116
|
-
export import TokenCreateResponse =
|
|
117
|
-
export import TokenCreateParams =
|
|
115
|
+
export namespace Token {
|
|
116
|
+
export import TokenCreateResponse = TokenAPI.TokenCreateResponse;
|
|
117
|
+
export import TokenCreateParams = TokenAPI.TokenCreateParams;
|
|
118
118
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import * as Core from "
|
|
4
|
-
import { APIResource } from "
|
|
3
|
+
import * as Core from "../../../../../core";
|
|
4
|
+
import { APIResource } from "../../../../../resource";
|
|
5
5
|
import * as BindingsAPI from "./bindings";
|
|
6
6
|
|
|
7
7
|
export class Bindings extends APIResource {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import * as Core from "
|
|
4
|
-
import { APIResource } from "
|
|
5
|
-
import { type Response } from "
|
|
6
|
-
import * as
|
|
7
|
-
import * as ScriptsAPI from "
|
|
8
|
-
import { type Uploadable, multipartFormRequestOptions } from "
|
|
3
|
+
import * as Core from "../../../../../core";
|
|
4
|
+
import { APIResource } from "../../../../../resource";
|
|
5
|
+
import { type Response } from "../../../../../_shims/index";
|
|
6
|
+
import * as ContentAPI from "./content";
|
|
7
|
+
import * as ScriptsAPI from "../../../../workers/scripts/scripts";
|
|
8
|
+
import { type Uploadable, multipartFormRequestOptions } from "../../../../../core";
|
|
9
9
|
|
|
10
|
-
export class
|
|
10
|
+
export class Content extends APIResource {
|
|
11
11
|
/**
|
|
12
12
|
* Put script content for a script uploaded to a Workers for Platforms namespace.
|
|
13
13
|
*/
|
|
14
14
|
update(
|
|
15
15
|
dispatchNamespace: string,
|
|
16
16
|
scriptName: string,
|
|
17
|
-
params:
|
|
17
|
+
params: ContentUpdateParams,
|
|
18
18
|
options?: Core.RequestOptions,
|
|
19
19
|
): Core.APIPromise<ScriptsAPI.WorkersScript> {
|
|
20
20
|
const {
|
|
@@ -46,7 +46,7 @@ export class Scripts extends APIResource {
|
|
|
46
46
|
get(
|
|
47
47
|
dispatchNamespace: string,
|
|
48
48
|
scriptName: string,
|
|
49
|
-
params:
|
|
49
|
+
params: ContentGetParams,
|
|
50
50
|
options?: Core.RequestOptions,
|
|
51
51
|
): Core.APIPromise<Response> {
|
|
52
52
|
const { account_id } = params;
|
|
@@ -57,7 +57,7 @@ export class Scripts extends APIResource {
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
export interface
|
|
60
|
+
export interface ContentUpdateParams {
|
|
61
61
|
/**
|
|
62
62
|
* Path param: Identifier
|
|
63
63
|
*/
|
|
@@ -77,7 +77,7 @@ export interface ScriptUpdateParams {
|
|
|
77
77
|
* Body param: JSON encoded metadata about the uploaded parts and Worker
|
|
78
78
|
* configuration.
|
|
79
79
|
*/
|
|
80
|
-
metadata?:
|
|
80
|
+
metadata?: ContentUpdateParams.Metadata;
|
|
81
81
|
|
|
82
82
|
/**
|
|
83
83
|
* Header param: The multipart name of a script upload part containing script
|
|
@@ -92,7 +92,7 @@ export interface ScriptUpdateParams {
|
|
|
92
92
|
'CF-WORKER-MAIN-MODULE-PART'?: string;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
export namespace
|
|
95
|
+
export namespace ContentUpdateParams {
|
|
96
96
|
/**
|
|
97
97
|
* JSON encoded metadata about the uploaded parts and Worker configuration.
|
|
98
98
|
*/
|
|
@@ -112,14 +112,14 @@ export namespace ScriptUpdateParams {
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
export interface
|
|
115
|
+
export interface ContentGetParams {
|
|
116
116
|
/**
|
|
117
117
|
* Identifier
|
|
118
118
|
*/
|
|
119
119
|
account_id: string;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
export namespace
|
|
123
|
-
export import
|
|
124
|
-
export import
|
|
122
|
+
export namespace Content {
|
|
123
|
+
export import ContentUpdateParams = ContentAPI.ContentUpdateParams;
|
|
124
|
+
export import ContentGetParams = ContentAPI.ContentGetParams;
|
|
125
125
|
}
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
export {
|
|
3
|
+
export { BindingGetResponse, BindingGetParams, Bindings } from './bindings';
|
|
4
|
+
export { ContentUpdateParams, ContentGetParams, Content } from './content';
|
|
5
|
+
export {
|
|
6
|
+
SettingEditResponse,
|
|
7
|
+
SettingGetResponse,
|
|
8
|
+
SettingEditParams,
|
|
9
|
+
SettingGetParams,
|
|
10
|
+
Settings,
|
|
11
|
+
} from './settings';
|
|
4
12
|
export {
|
|
5
13
|
WorkersNamespaceScript,
|
|
6
14
|
ScriptUpdateParams,
|
|
@@ -4,11 +4,15 @@ import * as Core from "../../../../../core";
|
|
|
4
4
|
import { APIResource } from "../../../../../resource";
|
|
5
5
|
import * as ScriptsScriptsAPI from "./scripts";
|
|
6
6
|
import * as ScriptsAPI from "../../../../workers/scripts/scripts";
|
|
7
|
-
import * as
|
|
7
|
+
import * as BindingsAPI from "./bindings";
|
|
8
|
+
import * as ContentAPI from "./content";
|
|
9
|
+
import * as SettingsAPI from "./settings";
|
|
8
10
|
import { type Uploadable, maybeMultipartFormRequestOptions } from "../../../../../core";
|
|
9
11
|
|
|
10
12
|
export class Scripts extends APIResource {
|
|
11
13
|
content: ContentAPI.Content = new ContentAPI.Content(this._client);
|
|
14
|
+
settings: SettingsAPI.Settings = new SettingsAPI.Settings(this._client);
|
|
15
|
+
bindings: BindingsAPI.Bindings = new BindingsAPI.Bindings(this._client);
|
|
12
16
|
|
|
13
17
|
/**
|
|
14
18
|
* Upload a worker module to a Workers for Platforms namespace.
|
|
@@ -369,4 +373,14 @@ export namespace Scripts {
|
|
|
369
373
|
export import ScriptDeleteParams = ScriptsScriptsAPI.ScriptDeleteParams;
|
|
370
374
|
export import ScriptGetParams = ScriptsScriptsAPI.ScriptGetParams;
|
|
371
375
|
export import Content = ContentAPI.Content;
|
|
376
|
+
export import ContentUpdateParams = ContentAPI.ContentUpdateParams;
|
|
377
|
+
export import ContentGetParams = ContentAPI.ContentGetParams;
|
|
378
|
+
export import Settings = SettingsAPI.Settings;
|
|
379
|
+
export import SettingEditResponse = SettingsAPI.SettingEditResponse;
|
|
380
|
+
export import SettingGetResponse = SettingsAPI.SettingGetResponse;
|
|
381
|
+
export import SettingEditParams = SettingsAPI.SettingEditParams;
|
|
382
|
+
export import SettingGetParams = SettingsAPI.SettingGetParams;
|
|
383
|
+
export import Bindings = BindingsAPI.Bindings;
|
|
384
|
+
export import BindingGetResponse = BindingsAPI.BindingGetResponse;
|
|
385
|
+
export import BindingGetParams = BindingsAPI.BindingGetParams;
|
|
372
386
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import * as Core from "
|
|
4
|
-
import { APIResource } from "
|
|
3
|
+
import * as Core from "../../../../../core";
|
|
4
|
+
import { APIResource } from "../../../../../resource";
|
|
5
5
|
import * as SettingsAPI from "./settings";
|
|
6
6
|
|
|
7
7
|
export class Settings extends APIResource {
|
|
@@ -552,6 +552,15 @@ export namespace AccessApps {
|
|
|
552
552
|
*/
|
|
553
553
|
public_key?: string;
|
|
554
554
|
|
|
555
|
+
/**
|
|
556
|
+
* A [JSONata] (https://jsonata.org/) expression that transforms an application's
|
|
557
|
+
* user identities into attribute assertions in the SAML response. The expression
|
|
558
|
+
* can transform id, email, name, and groups values. It can also transform fields
|
|
559
|
+
* listed in the saml_attributes or oidc_fields of the identity provider used to
|
|
560
|
+
* authenticate. The output of this expression must be a JSON object.
|
|
561
|
+
*/
|
|
562
|
+
saml_attribute_transform_jsonata?: string;
|
|
563
|
+
|
|
555
564
|
/**
|
|
556
565
|
* A globally unique name for an identity or service provider.
|
|
557
566
|
*/
|
|
@@ -1539,6 +1548,15 @@ export namespace ApplicationCreateParams {
|
|
|
1539
1548
|
*/
|
|
1540
1549
|
public_key?: string;
|
|
1541
1550
|
|
|
1551
|
+
/**
|
|
1552
|
+
* A [JSONata] (https://jsonata.org/) expression that transforms an application's
|
|
1553
|
+
* user identities into attribute assertions in the SAML response. The expression
|
|
1554
|
+
* can transform id, email, name, and groups values. It can also transform fields
|
|
1555
|
+
* listed in the saml_attributes or oidc_fields of the identity provider used to
|
|
1556
|
+
* authenticate. The output of this expression must be a JSON object.
|
|
1557
|
+
*/
|
|
1558
|
+
saml_attribute_transform_jsonata?: string;
|
|
1559
|
+
|
|
1542
1560
|
/**
|
|
1543
1561
|
* A globally unique name for an identity or service provider.
|
|
1544
1562
|
*/
|
|
@@ -2479,6 +2497,15 @@ export namespace ApplicationUpdateParams {
|
|
|
2479
2497
|
*/
|
|
2480
2498
|
public_key?: string;
|
|
2481
2499
|
|
|
2500
|
+
/**
|
|
2501
|
+
* A [JSONata] (https://jsonata.org/) expression that transforms an application's
|
|
2502
|
+
* user identities into attribute assertions in the SAML response. The expression
|
|
2503
|
+
* can transform id, email, name, and groups values. It can also transform fields
|
|
2504
|
+
* listed in the saml_attributes or oidc_fields of the identity provider used to
|
|
2505
|
+
* authenticate. The output of this expression must be a JSON object.
|
|
2506
|
+
*/
|
|
2507
|
+
saml_attribute_transform_jsonata?: string;
|
|
2508
|
+
|
|
2482
2509
|
/**
|
|
2483
2510
|
* A globally unique name for an identity or service provider.
|
|
2484
2511
|
*/
|
|
@@ -6,9 +6,9 @@ import * as DevicesAPI from "./devices";
|
|
|
6
6
|
import * as DEXTestsAPI from "./dex-tests";
|
|
7
7
|
import * as NetworksAPI from "./networks";
|
|
8
8
|
import * as OverrideCodesAPI from "./override-codes";
|
|
9
|
-
import * as
|
|
9
|
+
import * as RevokeAPI from "./revoke";
|
|
10
10
|
import * as SettingsAPI from "./settings";
|
|
11
|
-
import * as
|
|
11
|
+
import * as UnrevokeAPI from "./unrevoke";
|
|
12
12
|
import * as PoliciesAPI from "./policies/policies";
|
|
13
13
|
import * as PostureAPI from "./posture/posture";
|
|
14
14
|
|
|
@@ -17,9 +17,9 @@ export class Devices extends APIResource {
|
|
|
17
17
|
networks: NetworksAPI.Networks = new NetworksAPI.Networks(this._client);
|
|
18
18
|
policies: PoliciesAPI.Policies = new PoliciesAPI.Policies(this._client);
|
|
19
19
|
posture: PostureAPI.Posture = new PostureAPI.Posture(this._client);
|
|
20
|
-
|
|
20
|
+
revoke: RevokeAPI.Revoke = new RevokeAPI.Revoke(this._client);
|
|
21
21
|
settings: SettingsAPI.Settings = new SettingsAPI.Settings(this._client);
|
|
22
|
-
|
|
22
|
+
unrevoke: UnrevokeAPI.Unrevoke = new UnrevokeAPI.Unrevoke(this._client);
|
|
23
23
|
overrideCodes: OverrideCodesAPI.OverrideCodes = new OverrideCodesAPI.OverrideCodes(this._client);
|
|
24
24
|
|
|
25
25
|
/**
|
|
@@ -220,16 +220,16 @@ export namespace Devices {
|
|
|
220
220
|
export import PostureListParams = PostureAPI.PostureListParams;
|
|
221
221
|
export import PostureDeleteParams = PostureAPI.PostureDeleteParams;
|
|
222
222
|
export import PostureGetParams = PostureAPI.PostureGetParams;
|
|
223
|
-
export import
|
|
224
|
-
export import RevokeCreateResponse =
|
|
225
|
-
export import RevokeCreateParams =
|
|
223
|
+
export import Revoke = RevokeAPI.Revoke;
|
|
224
|
+
export import RevokeCreateResponse = RevokeAPI.RevokeCreateResponse;
|
|
225
|
+
export import RevokeCreateParams = RevokeAPI.RevokeCreateParams;
|
|
226
226
|
export import Settings = SettingsAPI.Settings;
|
|
227
227
|
export import TeamsDevicesZeroTrustAccountDeviceSettings = SettingsAPI.TeamsDevicesZeroTrustAccountDeviceSettings;
|
|
228
228
|
export import SettingUpdateParams = SettingsAPI.SettingUpdateParams;
|
|
229
229
|
export import SettingListParams = SettingsAPI.SettingListParams;
|
|
230
|
-
export import
|
|
231
|
-
export import UnrevokeCreateResponse =
|
|
232
|
-
export import UnrevokeCreateParams =
|
|
230
|
+
export import Unrevoke = UnrevokeAPI.Unrevoke;
|
|
231
|
+
export import UnrevokeCreateResponse = UnrevokeAPI.UnrevokeCreateResponse;
|
|
232
|
+
export import UnrevokeCreateParams = UnrevokeAPI.UnrevokeCreateParams;
|
|
233
233
|
export import OverrideCodes = OverrideCodesAPI.OverrideCodes;
|
|
234
234
|
export import OverrideCodeListResponse = OverrideCodesAPI.OverrideCodeListResponse;
|
|
235
235
|
export import OverrideCodeListParams = OverrideCodesAPI.OverrideCodeListParams;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
export { OverrideCodeListResponse, OverrideCodeListParams, OverrideCodes } from './override-codes';
|
|
4
|
-
export { RevokeCreateResponse, RevokeCreateParams,
|
|
4
|
+
export { RevokeCreateResponse, RevokeCreateParams, Revoke } from './revoke';
|
|
5
5
|
export {
|
|
6
6
|
TeamsDevicesDeviceDEXTestSchemasHTTP,
|
|
7
7
|
DEXTestListResponse,
|
|
@@ -60,4 +60,4 @@ export {
|
|
|
60
60
|
SettingListParams,
|
|
61
61
|
Settings,
|
|
62
62
|
} from './settings';
|
|
63
|
-
export { UnrevokeCreateResponse, UnrevokeCreateParams,
|
|
63
|
+
export { UnrevokeCreateResponse, UnrevokeCreateParams, Unrevoke } from './unrevoke';
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../../../core";
|
|
4
4
|
import { APIResource } from "../../../resource";
|
|
5
|
-
import * as
|
|
5
|
+
import * as RevokeAPI from "./revoke";
|
|
6
6
|
|
|
7
|
-
export class
|
|
7
|
+
export class Revoke extends APIResource {
|
|
8
8
|
/**
|
|
9
9
|
* Revokes a list of devices.
|
|
10
10
|
*/
|
|
@@ -36,7 +36,7 @@ export interface RevokeCreateParams {
|
|
|
36
36
|
body: Array<string>;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
export namespace
|
|
40
|
-
export import RevokeCreateResponse =
|
|
41
|
-
export import RevokeCreateParams =
|
|
39
|
+
export namespace Revoke {
|
|
40
|
+
export import RevokeCreateResponse = RevokeAPI.RevokeCreateResponse;
|
|
41
|
+
export import RevokeCreateParams = RevokeAPI.RevokeCreateParams;
|
|
42
42
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../../../core";
|
|
4
4
|
import { APIResource } from "../../../resource";
|
|
5
|
-
import * as
|
|
5
|
+
import * as UnrevokeAPI from "./unrevoke";
|
|
6
6
|
|
|
7
|
-
export class
|
|
7
|
+
export class Unrevoke extends APIResource {
|
|
8
8
|
/**
|
|
9
9
|
* Unrevokes a list of devices.
|
|
10
10
|
*/
|
|
@@ -36,7 +36,7 @@ export interface UnrevokeCreateParams {
|
|
|
36
36
|
body: Array<string>;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
export namespace
|
|
40
|
-
export import UnrevokeCreateResponse =
|
|
41
|
-
export import UnrevokeCreateParams =
|
|
39
|
+
export namespace Unrevoke {
|
|
40
|
+
export import UnrevokeCreateResponse = UnrevokeAPI.UnrevokeCreateResponse;
|
|
41
|
+
export import UnrevokeCreateParams = UnrevokeAPI.UnrevokeCreateParams;
|
|
42
42
|
}
|