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
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../../../core";
|
|
4
4
|
import { APIResource } from "../../../resource";
|
|
5
|
-
import * as
|
|
5
|
+
import * as WANsAPI from "./wans";
|
|
6
6
|
|
|
7
|
-
export class
|
|
7
|
+
export class WANs extends APIResource {
|
|
8
8
|
/**
|
|
9
9
|
* Creates a new WAN.
|
|
10
10
|
*/
|
|
11
11
|
create(
|
|
12
12
|
siteId: string,
|
|
13
|
-
params:
|
|
13
|
+
params: WANCreateParams,
|
|
14
14
|
options?: Core.RequestOptions,
|
|
15
|
-
): Core.APIPromise<
|
|
15
|
+
): Core.APIPromise<WANCreateResponse> {
|
|
16
16
|
const { account_id, ...body } = params;
|
|
17
17
|
return (
|
|
18
18
|
this._client.post(`/accounts/${account_id}/magic/sites/${siteId}/wans`, {
|
|
19
19
|
body,
|
|
20
20
|
...options,
|
|
21
|
-
}) as Core.APIPromise<{ result:
|
|
21
|
+
}) as Core.APIPromise<{ result: WANCreateResponse }>
|
|
22
22
|
)._thenUnwrap((obj) => obj.result);
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -28,15 +28,15 @@ export class Wans extends APIResource {
|
|
|
28
28
|
update(
|
|
29
29
|
siteId: string,
|
|
30
30
|
wanId: string,
|
|
31
|
-
params:
|
|
31
|
+
params: WANUpdateParams,
|
|
32
32
|
options?: Core.RequestOptions,
|
|
33
|
-
): Core.APIPromise<
|
|
33
|
+
): Core.APIPromise<WANUpdateResponse> {
|
|
34
34
|
const { account_id, ...body } = params;
|
|
35
35
|
return (
|
|
36
36
|
this._client.put(`/accounts/${account_id}/magic/sites/${siteId}/wans/${wanId}`, {
|
|
37
37
|
body,
|
|
38
38
|
...options,
|
|
39
|
-
}) as Core.APIPromise<{ result:
|
|
39
|
+
}) as Core.APIPromise<{ result: WANUpdateResponse }>
|
|
40
40
|
)._thenUnwrap((obj) => obj.result);
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -45,13 +45,13 @@ export class Wans extends APIResource {
|
|
|
45
45
|
*/
|
|
46
46
|
list(
|
|
47
47
|
siteId: string,
|
|
48
|
-
params:
|
|
48
|
+
params: WANListParams,
|
|
49
49
|
options?: Core.RequestOptions,
|
|
50
|
-
): Core.APIPromise<
|
|
50
|
+
): Core.APIPromise<WANListResponse> {
|
|
51
51
|
const { account_id } = params;
|
|
52
52
|
return (
|
|
53
53
|
this._client.get(`/accounts/${account_id}/magic/sites/${siteId}/wans`, options) as Core.APIPromise<{
|
|
54
|
-
result:
|
|
54
|
+
result: WANListResponse;
|
|
55
55
|
}>
|
|
56
56
|
)._thenUnwrap((obj) => obj.result);
|
|
57
57
|
}
|
|
@@ -62,15 +62,15 @@ export class Wans extends APIResource {
|
|
|
62
62
|
delete(
|
|
63
63
|
siteId: string,
|
|
64
64
|
wanId: string,
|
|
65
|
-
params:
|
|
65
|
+
params: WANDeleteParams,
|
|
66
66
|
options?: Core.RequestOptions,
|
|
67
|
-
): Core.APIPromise<
|
|
67
|
+
): Core.APIPromise<WANDeleteResponse> {
|
|
68
68
|
const { account_id } = params;
|
|
69
69
|
return (
|
|
70
70
|
this._client.delete(
|
|
71
71
|
`/accounts/${account_id}/magic/sites/${siteId}/wans/${wanId}`,
|
|
72
72
|
options,
|
|
73
|
-
) as Core.APIPromise<{ result:
|
|
73
|
+
) as Core.APIPromise<{ result: WANDeleteResponse }>
|
|
74
74
|
)._thenUnwrap((obj) => obj.result);
|
|
75
75
|
}
|
|
76
76
|
|
|
@@ -80,25 +80,25 @@ export class Wans extends APIResource {
|
|
|
80
80
|
get(
|
|
81
81
|
siteId: string,
|
|
82
82
|
wanId: string,
|
|
83
|
-
params:
|
|
83
|
+
params: WANGetParams,
|
|
84
84
|
options?: Core.RequestOptions,
|
|
85
|
-
): Core.APIPromise<
|
|
85
|
+
): Core.APIPromise<WANGetResponse> {
|
|
86
86
|
const { account_id } = params;
|
|
87
87
|
return (
|
|
88
88
|
this._client.get(
|
|
89
89
|
`/accounts/${account_id}/magic/sites/${siteId}/wans/${wanId}`,
|
|
90
90
|
options,
|
|
91
|
-
) as Core.APIPromise<{ result:
|
|
91
|
+
) as Core.APIPromise<{ result: WANGetResponse }>
|
|
92
92
|
)._thenUnwrap((obj) => obj.result);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
export interface
|
|
97
|
-
wans?: Array<
|
|
96
|
+
export interface WANCreateResponse {
|
|
97
|
+
wans?: Array<WANCreateResponse.WAN>;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
export namespace
|
|
101
|
-
export interface
|
|
100
|
+
export namespace WANCreateResponse {
|
|
101
|
+
export interface WAN {
|
|
102
102
|
/**
|
|
103
103
|
* Identifier
|
|
104
104
|
*/
|
|
@@ -122,7 +122,7 @@ export namespace WanCreateResponse {
|
|
|
122
122
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
123
123
|
* availability mode.
|
|
124
124
|
*/
|
|
125
|
-
static_addressing?:
|
|
125
|
+
static_addressing?: WAN.StaticAddressing;
|
|
126
126
|
|
|
127
127
|
/**
|
|
128
128
|
* VLAN port number.
|
|
@@ -130,7 +130,7 @@ export namespace WanCreateResponse {
|
|
|
130
130
|
vlan_tag?: number;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
export namespace
|
|
133
|
+
export namespace WAN {
|
|
134
134
|
/**
|
|
135
135
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
136
136
|
* availability mode.
|
|
@@ -154,12 +154,12 @@ export namespace WanCreateResponse {
|
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
export interface
|
|
158
|
-
wan?:
|
|
157
|
+
export interface WANUpdateResponse {
|
|
158
|
+
wan?: WANUpdateResponse.WAN;
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export namespace
|
|
162
|
-
export interface
|
|
161
|
+
export namespace WANUpdateResponse {
|
|
162
|
+
export interface WAN {
|
|
163
163
|
/**
|
|
164
164
|
* Identifier
|
|
165
165
|
*/
|
|
@@ -183,7 +183,7 @@ export namespace WanUpdateResponse {
|
|
|
183
183
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
184
184
|
* availability mode.
|
|
185
185
|
*/
|
|
186
|
-
static_addressing?:
|
|
186
|
+
static_addressing?: WAN.StaticAddressing;
|
|
187
187
|
|
|
188
188
|
/**
|
|
189
189
|
* VLAN port number.
|
|
@@ -191,7 +191,7 @@ export namespace WanUpdateResponse {
|
|
|
191
191
|
vlan_tag?: number;
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
export namespace
|
|
194
|
+
export namespace WAN {
|
|
195
195
|
/**
|
|
196
196
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
197
197
|
* availability mode.
|
|
@@ -215,12 +215,12 @@ export namespace WanUpdateResponse {
|
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
export interface
|
|
219
|
-
wans?: Array<
|
|
218
|
+
export interface WANListResponse {
|
|
219
|
+
wans?: Array<WANListResponse.WAN>;
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
export namespace
|
|
223
|
-
export interface
|
|
222
|
+
export namespace WANListResponse {
|
|
223
|
+
export interface WAN {
|
|
224
224
|
/**
|
|
225
225
|
* Identifier
|
|
226
226
|
*/
|
|
@@ -244,7 +244,7 @@ export namespace WanListResponse {
|
|
|
244
244
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
245
245
|
* availability mode.
|
|
246
246
|
*/
|
|
247
|
-
static_addressing?:
|
|
247
|
+
static_addressing?: WAN.StaticAddressing;
|
|
248
248
|
|
|
249
249
|
/**
|
|
250
250
|
* VLAN port number.
|
|
@@ -252,7 +252,7 @@ export namespace WanListResponse {
|
|
|
252
252
|
vlan_tag?: number;
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
-
export namespace
|
|
255
|
+
export namespace WAN {
|
|
256
256
|
/**
|
|
257
257
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
258
258
|
* availability mode.
|
|
@@ -276,14 +276,14 @@ export namespace WanListResponse {
|
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
|
|
279
|
-
export interface
|
|
279
|
+
export interface WANDeleteResponse {
|
|
280
280
|
deleted?: boolean;
|
|
281
281
|
|
|
282
|
-
deleted_wan?:
|
|
282
|
+
deleted_wan?: WANDeleteResponse.DeletedWAN;
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
export namespace
|
|
286
|
-
export interface
|
|
285
|
+
export namespace WANDeleteResponse {
|
|
286
|
+
export interface DeletedWAN {
|
|
287
287
|
/**
|
|
288
288
|
* Identifier
|
|
289
289
|
*/
|
|
@@ -307,7 +307,7 @@ export namespace WanDeleteResponse {
|
|
|
307
307
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
308
308
|
* availability mode.
|
|
309
309
|
*/
|
|
310
|
-
static_addressing?:
|
|
310
|
+
static_addressing?: DeletedWAN.StaticAddressing;
|
|
311
311
|
|
|
312
312
|
/**
|
|
313
313
|
* VLAN port number.
|
|
@@ -315,7 +315,7 @@ export namespace WanDeleteResponse {
|
|
|
315
315
|
vlan_tag?: number;
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
-
export namespace
|
|
318
|
+
export namespace DeletedWAN {
|
|
319
319
|
/**
|
|
320
320
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
321
321
|
* availability mode.
|
|
@@ -339,12 +339,12 @@ export namespace WanDeleteResponse {
|
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
341
|
|
|
342
|
-
export interface
|
|
343
|
-
wan?:
|
|
342
|
+
export interface WANGetResponse {
|
|
343
|
+
wan?: WANGetResponse.WAN;
|
|
344
344
|
}
|
|
345
345
|
|
|
346
|
-
export namespace
|
|
347
|
-
export interface
|
|
346
|
+
export namespace WANGetResponse {
|
|
347
|
+
export interface WAN {
|
|
348
348
|
/**
|
|
349
349
|
* Identifier
|
|
350
350
|
*/
|
|
@@ -368,7 +368,7 @@ export namespace WanGetResponse {
|
|
|
368
368
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
369
369
|
* availability mode.
|
|
370
370
|
*/
|
|
371
|
-
static_addressing?:
|
|
371
|
+
static_addressing?: WAN.StaticAddressing;
|
|
372
372
|
|
|
373
373
|
/**
|
|
374
374
|
* VLAN port number.
|
|
@@ -376,7 +376,7 @@ export namespace WanGetResponse {
|
|
|
376
376
|
vlan_tag?: number;
|
|
377
377
|
}
|
|
378
378
|
|
|
379
|
-
export namespace
|
|
379
|
+
export namespace WAN {
|
|
380
380
|
/**
|
|
381
381
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
382
382
|
* availability mode.
|
|
@@ -400,7 +400,7 @@ export namespace WanGetResponse {
|
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
402
|
|
|
403
|
-
export interface
|
|
403
|
+
export interface WANCreateParams {
|
|
404
404
|
/**
|
|
405
405
|
* Path param: Identifier
|
|
406
406
|
*/
|
|
@@ -409,11 +409,11 @@ export interface WanCreateParams {
|
|
|
409
409
|
/**
|
|
410
410
|
* Body param:
|
|
411
411
|
*/
|
|
412
|
-
wan?:
|
|
412
|
+
wan?: WANCreateParams.WAN;
|
|
413
413
|
}
|
|
414
414
|
|
|
415
|
-
export namespace
|
|
416
|
-
export interface
|
|
415
|
+
export namespace WANCreateParams {
|
|
416
|
+
export interface WAN {
|
|
417
417
|
physport: number;
|
|
418
418
|
|
|
419
419
|
/**
|
|
@@ -429,10 +429,10 @@ export namespace WanCreateParams {
|
|
|
429
429
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
430
430
|
* availability mode.
|
|
431
431
|
*/
|
|
432
|
-
static_addressing?:
|
|
432
|
+
static_addressing?: WAN.StaticAddressing;
|
|
433
433
|
}
|
|
434
434
|
|
|
435
|
-
export namespace
|
|
435
|
+
export namespace WAN {
|
|
436
436
|
/**
|
|
437
437
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
438
438
|
* availability mode.
|
|
@@ -456,7 +456,7 @@ export namespace WanCreateParams {
|
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
458
|
|
|
459
|
-
export interface
|
|
459
|
+
export interface WANUpdateParams {
|
|
460
460
|
/**
|
|
461
461
|
* Path param: Identifier
|
|
462
462
|
*/
|
|
@@ -465,11 +465,11 @@ export interface WanUpdateParams {
|
|
|
465
465
|
/**
|
|
466
466
|
* Body param:
|
|
467
467
|
*/
|
|
468
|
-
wan?:
|
|
468
|
+
wan?: WANUpdateParams.WAN;
|
|
469
469
|
}
|
|
470
470
|
|
|
471
|
-
export namespace
|
|
472
|
-
export interface
|
|
471
|
+
export namespace WANUpdateParams {
|
|
472
|
+
export interface WAN {
|
|
473
473
|
description?: string;
|
|
474
474
|
|
|
475
475
|
physport?: number;
|
|
@@ -480,7 +480,7 @@ export namespace WanUpdateParams {
|
|
|
480
480
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
481
481
|
* availability mode.
|
|
482
482
|
*/
|
|
483
|
-
static_addressing?:
|
|
483
|
+
static_addressing?: WAN.StaticAddressing;
|
|
484
484
|
|
|
485
485
|
/**
|
|
486
486
|
* VLAN port number.
|
|
@@ -488,7 +488,7 @@ export namespace WanUpdateParams {
|
|
|
488
488
|
vlan_tag?: number;
|
|
489
489
|
}
|
|
490
490
|
|
|
491
|
-
export namespace
|
|
491
|
+
export namespace WAN {
|
|
492
492
|
/**
|
|
493
493
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
494
494
|
* availability mode.
|
|
@@ -512,36 +512,36 @@ export namespace WanUpdateParams {
|
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
514
|
|
|
515
|
-
export interface
|
|
515
|
+
export interface WANListParams {
|
|
516
516
|
/**
|
|
517
517
|
* Identifier
|
|
518
518
|
*/
|
|
519
519
|
account_id: string;
|
|
520
520
|
}
|
|
521
521
|
|
|
522
|
-
export interface
|
|
522
|
+
export interface WANDeleteParams {
|
|
523
523
|
/**
|
|
524
524
|
* Identifier
|
|
525
525
|
*/
|
|
526
526
|
account_id: string;
|
|
527
527
|
}
|
|
528
528
|
|
|
529
|
-
export interface
|
|
529
|
+
export interface WANGetParams {
|
|
530
530
|
/**
|
|
531
531
|
* Identifier
|
|
532
532
|
*/
|
|
533
533
|
account_id: string;
|
|
534
534
|
}
|
|
535
535
|
|
|
536
|
-
export namespace
|
|
537
|
-
export import
|
|
538
|
-
export import
|
|
539
|
-
export import
|
|
540
|
-
export import
|
|
541
|
-
export import
|
|
542
|
-
export import
|
|
543
|
-
export import
|
|
544
|
-
export import
|
|
545
|
-
export import
|
|
546
|
-
export import
|
|
536
|
+
export namespace WANs {
|
|
537
|
+
export import WANCreateResponse = WANsAPI.WANCreateResponse;
|
|
538
|
+
export import WANUpdateResponse = WANsAPI.WANUpdateResponse;
|
|
539
|
+
export import WANListResponse = WANsAPI.WANListResponse;
|
|
540
|
+
export import WANDeleteResponse = WANsAPI.WANDeleteResponse;
|
|
541
|
+
export import WANGetResponse = WANsAPI.WANGetResponse;
|
|
542
|
+
export import WANCreateParams = WANsAPI.WANCreateParams;
|
|
543
|
+
export import WANUpdateParams = WANsAPI.WANUpdateParams;
|
|
544
|
+
export import WANListParams = WANsAPI.WANListParams;
|
|
545
|
+
export import WANDeleteParams = WANsAPI.WANDeleteParams;
|
|
546
|
+
export import WANGetParams = WANsAPI.WANGetParams;
|
|
547
547
|
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import * as Core from "../../core";
|
|
4
4
|
import { APIResource } from "../../resource";
|
|
5
5
|
import { type Response } from "../../_shims/index";
|
|
6
|
-
import * as
|
|
6
|
+
import * as DownloadAPI from "./download";
|
|
7
7
|
|
|
8
|
-
export class
|
|
8
|
+
export class Download extends APIResource {
|
|
9
9
|
/**
|
|
10
10
|
* Download PCAP information into a file. Response is a binary PCAP file.
|
|
11
11
|
*/
|
|
@@ -25,6 +25,6 @@ export interface DownloadGetParams {
|
|
|
25
25
|
account_id: string;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
export namespace
|
|
29
|
-
export import DownloadGetParams =
|
|
28
|
+
export namespace Download {
|
|
29
|
+
export import DownloadGetParams = DownloadAPI.DownloadGetParams;
|
|
30
30
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
export { DownloadGetParams,
|
|
3
|
+
export { DownloadGetParams, Download } from './download';
|
|
4
4
|
export {
|
|
5
5
|
MagicVisibilityPCAPsOwnership,
|
|
6
6
|
OwnershipGetResponse,
|
|
@@ -8,8 +8,8 @@ export {
|
|
|
8
8
|
OwnershipDeleteParams,
|
|
9
9
|
OwnershipGetParams,
|
|
10
10
|
OwnershipValidateParams,
|
|
11
|
-
|
|
12
|
-
} from './
|
|
11
|
+
Ownership,
|
|
12
|
+
} from './ownership';
|
|
13
13
|
export {
|
|
14
14
|
PCAPCreateResponse,
|
|
15
15
|
PCAPListResponse,
|
|
@@ -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 OwnershipAPI from "./ownership";
|
|
6
6
|
|
|
7
|
-
export class
|
|
7
|
+
export class Ownership extends APIResource {
|
|
8
8
|
/**
|
|
9
9
|
* Adds an AWS or GCP bucket to use with full packet captures.
|
|
10
10
|
*/
|
|
@@ -146,11 +146,11 @@ export interface OwnershipValidateParams {
|
|
|
146
146
|
ownership_challenge: string;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
export namespace
|
|
150
|
-
export import MagicVisibilityPCAPsOwnership =
|
|
151
|
-
export import OwnershipGetResponse =
|
|
152
|
-
export import OwnershipCreateParams =
|
|
153
|
-
export import OwnershipDeleteParams =
|
|
154
|
-
export import OwnershipGetParams =
|
|
155
|
-
export import OwnershipValidateParams =
|
|
149
|
+
export namespace Ownership {
|
|
150
|
+
export import MagicVisibilityPCAPsOwnership = OwnershipAPI.MagicVisibilityPCAPsOwnership;
|
|
151
|
+
export import OwnershipGetResponse = OwnershipAPI.OwnershipGetResponse;
|
|
152
|
+
export import OwnershipCreateParams = OwnershipAPI.OwnershipCreateParams;
|
|
153
|
+
export import OwnershipDeleteParams = OwnershipAPI.OwnershipDeleteParams;
|
|
154
|
+
export import OwnershipGetParams = OwnershipAPI.OwnershipGetParams;
|
|
155
|
+
export import OwnershipValidateParams = OwnershipAPI.OwnershipValidateParams;
|
|
156
156
|
}
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
import * as Core from "../../core";
|
|
4
4
|
import { APIResource } from "../../resource";
|
|
5
5
|
import * as PCAPsAPI from "./pcaps";
|
|
6
|
-
import * as
|
|
7
|
-
import * as
|
|
6
|
+
import * as DownloadAPI from "./download";
|
|
7
|
+
import * as OwnershipAPI from "./ownership";
|
|
8
8
|
|
|
9
9
|
export class PCAPs extends APIResource {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
ownership: OwnershipAPI.Ownership = new OwnershipAPI.Ownership(this._client);
|
|
11
|
+
download: DownloadAPI.Download = new DownloadAPI.Download(this._client);
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Create new PCAP request for account.
|
|
@@ -787,13 +787,13 @@ export namespace PCAPs {
|
|
|
787
787
|
export import PCAPCreateParams = PCAPsAPI.PCAPCreateParams;
|
|
788
788
|
export import PCAPListParams = PCAPsAPI.PCAPListParams;
|
|
789
789
|
export import PCAPGetParams = PCAPsAPI.PCAPGetParams;
|
|
790
|
-
export import
|
|
791
|
-
export import MagicVisibilityPCAPsOwnership =
|
|
792
|
-
export import OwnershipGetResponse =
|
|
793
|
-
export import OwnershipCreateParams =
|
|
794
|
-
export import OwnershipDeleteParams =
|
|
795
|
-
export import OwnershipGetParams =
|
|
796
|
-
export import OwnershipValidateParams =
|
|
797
|
-
export import
|
|
798
|
-
export import DownloadGetParams =
|
|
790
|
+
export import Ownership = OwnershipAPI.Ownership;
|
|
791
|
+
export import MagicVisibilityPCAPsOwnership = OwnershipAPI.MagicVisibilityPCAPsOwnership;
|
|
792
|
+
export import OwnershipGetResponse = OwnershipAPI.OwnershipGetResponse;
|
|
793
|
+
export import OwnershipCreateParams = OwnershipAPI.OwnershipCreateParams;
|
|
794
|
+
export import OwnershipDeleteParams = OwnershipAPI.OwnershipDeleteParams;
|
|
795
|
+
export import OwnershipGetParams = OwnershipAPI.OwnershipGetParams;
|
|
796
|
+
export import OwnershipValidateParams = OwnershipAPI.OwnershipValidateParams;
|
|
797
|
+
export import Download = DownloadAPI.Download;
|
|
798
|
+
export import DownloadGetParams = DownloadAPI.DownloadGetParams;
|
|
799
799
|
}
|
|
@@ -2,19 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../core";
|
|
4
4
|
import { APIResource } from "../resource";
|
|
5
|
-
import * as
|
|
5
|
+
import * as PlansAPI from "./plans";
|
|
6
6
|
|
|
7
|
-
export class
|
|
7
|
+
export class Plans extends APIResource {
|
|
8
8
|
/**
|
|
9
9
|
* Lists available plans the zone can subscribe to.
|
|
10
10
|
*/
|
|
11
|
-
list(
|
|
12
|
-
zoneIdentifier: string,
|
|
13
|
-
options?: Core.RequestOptions,
|
|
14
|
-
): Core.APIPromise<AvailablePlanListResponse | null> {
|
|
11
|
+
list(zoneIdentifier: string, options?: Core.RequestOptions): Core.APIPromise<PlanListResponse | null> {
|
|
15
12
|
return (
|
|
16
13
|
this._client.get(`/zones/${zoneIdentifier}/available_plans`, options) as Core.APIPromise<{
|
|
17
|
-
result:
|
|
14
|
+
result: PlanListResponse | null;
|
|
18
15
|
}>
|
|
19
16
|
)._thenUnwrap((obj) => obj.result);
|
|
20
17
|
}
|
|
@@ -88,9 +85,9 @@ export interface BillSubsAPIAvailableRatePlan {
|
|
|
88
85
|
price?: number;
|
|
89
86
|
}
|
|
90
87
|
|
|
91
|
-
export type
|
|
88
|
+
export type PlanListResponse = Array<BillSubsAPIAvailableRatePlan>;
|
|
92
89
|
|
|
93
|
-
export namespace
|
|
94
|
-
export import BillSubsAPIAvailableRatePlan =
|
|
95
|
-
export import
|
|
90
|
+
export namespace Plans {
|
|
91
|
+
export import BillSubsAPIAvailableRatePlan = PlansAPI.BillSubsAPIAvailableRatePlan;
|
|
92
|
+
export import PlanListResponse = PlansAPI.PlanListResponse;
|
|
96
93
|
}
|
|
@@ -2,19 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../core";
|
|
4
4
|
import { APIResource } from "../resource";
|
|
5
|
-
import * as
|
|
5
|
+
import * as RatePlansAPI from "./rate-plans";
|
|
6
6
|
|
|
7
|
-
export class
|
|
7
|
+
export class RatePlans extends APIResource {
|
|
8
8
|
/**
|
|
9
9
|
* Lists all rate plans the zone can subscribe to.
|
|
10
10
|
*/
|
|
11
|
-
get(
|
|
12
|
-
zoneIdentifier: string,
|
|
13
|
-
options?: Core.RequestOptions,
|
|
14
|
-
): Core.APIPromise<AvailableRatePlanGetResponse | null> {
|
|
11
|
+
get(zoneIdentifier: string, options?: Core.RequestOptions): Core.APIPromise<RatePlanGetResponse | null> {
|
|
15
12
|
return (
|
|
16
13
|
this._client.get(`/zones/${zoneIdentifier}/available_rate_plans`, options) as Core.APIPromise<{
|
|
17
|
-
result:
|
|
14
|
+
result: RatePlanGetResponse | null;
|
|
18
15
|
}>
|
|
19
16
|
)._thenUnwrap((obj) => obj.result);
|
|
20
17
|
}
|
|
@@ -71,11 +68,10 @@ export namespace BillSubsRatePlan {
|
|
|
71
68
|
}
|
|
72
69
|
}
|
|
73
70
|
|
|
74
|
-
export type
|
|
75
|
-
Array<AvailableRatePlanGetResponse.AvailableRatePlanGetResponseItem>;
|
|
71
|
+
export type RatePlanGetResponse = Array<RatePlanGetResponse.RatePlanGetResponseItem>;
|
|
76
72
|
|
|
77
|
-
export namespace
|
|
78
|
-
export interface
|
|
73
|
+
export namespace RatePlanGetResponse {
|
|
74
|
+
export interface RatePlanGetResponseItem {
|
|
79
75
|
/**
|
|
80
76
|
* Plan identifier tag.
|
|
81
77
|
*/
|
|
@@ -84,7 +80,7 @@ export namespace AvailableRatePlanGetResponse {
|
|
|
84
80
|
/**
|
|
85
81
|
* Array of available components values for the plan.
|
|
86
82
|
*/
|
|
87
|
-
components?: Array<
|
|
83
|
+
components?: Array<RatePlanGetResponseItem.Component>;
|
|
88
84
|
|
|
89
85
|
/**
|
|
90
86
|
* The monetary unit in which pricing information is displayed.
|
|
@@ -107,7 +103,7 @@ export namespace AvailableRatePlanGetResponse {
|
|
|
107
103
|
name?: string;
|
|
108
104
|
}
|
|
109
105
|
|
|
110
|
-
export namespace
|
|
106
|
+
export namespace RatePlanGetResponseItem {
|
|
111
107
|
export interface Component {
|
|
112
108
|
/**
|
|
113
109
|
* The default amount allocated.
|
|
@@ -127,7 +123,7 @@ export namespace AvailableRatePlanGetResponse {
|
|
|
127
123
|
}
|
|
128
124
|
}
|
|
129
125
|
|
|
130
|
-
export namespace
|
|
131
|
-
export import BillSubsRatePlan =
|
|
132
|
-
export import
|
|
126
|
+
export namespace RatePlans {
|
|
127
|
+
export import BillSubsRatePlan = RatePlansAPI.BillSubsRatePlan;
|
|
128
|
+
export import RatePlanGetResponse = RatePlansAPI.RatePlanGetResponse;
|
|
133
129
|
}
|
|
@@ -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 ByTagAPI from "./by-tag";
|
|
6
6
|
import * as RulesetsAPI from "../rulesets";
|
|
7
7
|
|
|
8
|
-
export class
|
|
8
|
+
export class ByTag extends APIResource {
|
|
9
9
|
/**
|
|
10
10
|
* Fetches the rules of a managed account ruleset version for a given tag.
|
|
11
11
|
*/
|
|
@@ -33,6 +33,6 @@ export interface ByTagGetParams {
|
|
|
33
33
|
account_id: string;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
export namespace
|
|
37
|
-
export import ByTagGetParams =
|
|
36
|
+
export namespace ByTag {
|
|
37
|
+
export import ByTagGetParams = ByTagAPI.ByTagGetParams;
|
|
38
38
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
export { ByTagGetParams,
|
|
3
|
+
export { ByTagGetParams, ByTag } from './by-tag';
|
|
4
4
|
export { VersionListParams, VersionDeleteParams, VersionGetParams, Versions } from './versions';
|
|
@@ -6,10 +6,10 @@ import { isRequestOptions } from "../../../core";
|
|
|
6
6
|
import { CloudflareError } from "../../../error";
|
|
7
7
|
import * as VersionsAPI from "./versions";
|
|
8
8
|
import * as RulesetsAPI from "../rulesets";
|
|
9
|
-
import * as
|
|
9
|
+
import * as ByTagAPI from "./by-tag";
|
|
10
10
|
|
|
11
11
|
export class Versions extends APIResource {
|
|
12
|
-
|
|
12
|
+
byTag: ByTagAPI.ByTag = new ByTagAPI.ByTag(this._client);
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Fetches the versions of an account or zone ruleset.
|
|
@@ -187,6 +187,6 @@ export namespace Versions {
|
|
|
187
187
|
export import VersionListParams = VersionsAPI.VersionListParams;
|
|
188
188
|
export import VersionDeleteParams = VersionsAPI.VersionDeleteParams;
|
|
189
189
|
export import VersionGetParams = VersionsAPI.VersionGetParams;
|
|
190
|
-
export import
|
|
191
|
-
export import ByTagGetParams =
|
|
190
|
+
export import ByTag = ByTagAPI.ByTag;
|
|
191
|
+
export import ByTagGetParams = ByTagAPI.ByTagGetParams;
|
|
192
192
|
}
|