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
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import * as Core from 'cloudflare/core';
|
|
2
2
|
import { APIResource } from 'cloudflare/resource';
|
|
3
|
-
import * as
|
|
4
|
-
export declare class
|
|
3
|
+
import * as WANsAPI from 'cloudflare/resources/magic-transit/sites/wans';
|
|
4
|
+
export declare class WANs extends APIResource {
|
|
5
5
|
/**
|
|
6
6
|
* Creates a new WAN.
|
|
7
7
|
*/
|
|
8
|
-
create(siteId: string, params:
|
|
8
|
+
create(siteId: string, params: WANCreateParams, options?: Core.RequestOptions): Core.APIPromise<WANCreateResponse>;
|
|
9
9
|
/**
|
|
10
10
|
* Update a specific WAN.
|
|
11
11
|
*/
|
|
12
|
-
update(siteId: string, wanId: string, params:
|
|
12
|
+
update(siteId: string, wanId: string, params: WANUpdateParams, options?: Core.RequestOptions): Core.APIPromise<WANUpdateResponse>;
|
|
13
13
|
/**
|
|
14
14
|
* Lists WANs associated with an account and site.
|
|
15
15
|
*/
|
|
16
|
-
list(siteId: string, params:
|
|
16
|
+
list(siteId: string, params: WANListParams, options?: Core.RequestOptions): Core.APIPromise<WANListResponse>;
|
|
17
17
|
/**
|
|
18
18
|
* Remove a specific WAN.
|
|
19
19
|
*/
|
|
20
|
-
delete(siteId: string, wanId: string, params:
|
|
20
|
+
delete(siteId: string, wanId: string, params: WANDeleteParams, options?: Core.RequestOptions): Core.APIPromise<WANDeleteResponse>;
|
|
21
21
|
/**
|
|
22
22
|
* Get a specific WAN.
|
|
23
23
|
*/
|
|
24
|
-
get(siteId: string, wanId: string, params:
|
|
24
|
+
get(siteId: string, wanId: string, params: WANGetParams, options?: Core.RequestOptions): Core.APIPromise<WANGetResponse>;
|
|
25
25
|
}
|
|
26
|
-
export interface
|
|
27
|
-
wans?: Array<
|
|
26
|
+
export interface WANCreateResponse {
|
|
27
|
+
wans?: Array<WANCreateResponse.WAN>;
|
|
28
28
|
}
|
|
29
|
-
export declare namespace
|
|
30
|
-
interface
|
|
29
|
+
export declare namespace WANCreateResponse {
|
|
30
|
+
interface WAN {
|
|
31
31
|
/**
|
|
32
32
|
* Identifier
|
|
33
33
|
*/
|
|
@@ -46,13 +46,13 @@ export declare namespace WanCreateResponse {
|
|
|
46
46
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
47
47
|
* availability mode.
|
|
48
48
|
*/
|
|
49
|
-
static_addressing?:
|
|
49
|
+
static_addressing?: WAN.StaticAddressing;
|
|
50
50
|
/**
|
|
51
51
|
* VLAN port number.
|
|
52
52
|
*/
|
|
53
53
|
vlan_tag?: number;
|
|
54
54
|
}
|
|
55
|
-
namespace
|
|
55
|
+
namespace WAN {
|
|
56
56
|
/**
|
|
57
57
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
58
58
|
* availability mode.
|
|
@@ -73,11 +73,11 @@ export declare namespace WanCreateResponse {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
export interface
|
|
77
|
-
wan?:
|
|
76
|
+
export interface WANUpdateResponse {
|
|
77
|
+
wan?: WANUpdateResponse.WAN;
|
|
78
78
|
}
|
|
79
|
-
export declare namespace
|
|
80
|
-
interface
|
|
79
|
+
export declare namespace WANUpdateResponse {
|
|
80
|
+
interface WAN {
|
|
81
81
|
/**
|
|
82
82
|
* Identifier
|
|
83
83
|
*/
|
|
@@ -96,13 +96,13 @@ export declare namespace WanUpdateResponse {
|
|
|
96
96
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
97
97
|
* availability mode.
|
|
98
98
|
*/
|
|
99
|
-
static_addressing?:
|
|
99
|
+
static_addressing?: WAN.StaticAddressing;
|
|
100
100
|
/**
|
|
101
101
|
* VLAN port number.
|
|
102
102
|
*/
|
|
103
103
|
vlan_tag?: number;
|
|
104
104
|
}
|
|
105
|
-
namespace
|
|
105
|
+
namespace WAN {
|
|
106
106
|
/**
|
|
107
107
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
108
108
|
* availability mode.
|
|
@@ -123,11 +123,11 @@ export declare namespace WanUpdateResponse {
|
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
export interface
|
|
127
|
-
wans?: Array<
|
|
126
|
+
export interface WANListResponse {
|
|
127
|
+
wans?: Array<WANListResponse.WAN>;
|
|
128
128
|
}
|
|
129
|
-
export declare namespace
|
|
130
|
-
interface
|
|
129
|
+
export declare namespace WANListResponse {
|
|
130
|
+
interface WAN {
|
|
131
131
|
/**
|
|
132
132
|
* Identifier
|
|
133
133
|
*/
|
|
@@ -146,13 +146,13 @@ export declare namespace WanListResponse {
|
|
|
146
146
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
147
147
|
* availability mode.
|
|
148
148
|
*/
|
|
149
|
-
static_addressing?:
|
|
149
|
+
static_addressing?: WAN.StaticAddressing;
|
|
150
150
|
/**
|
|
151
151
|
* VLAN port number.
|
|
152
152
|
*/
|
|
153
153
|
vlan_tag?: number;
|
|
154
154
|
}
|
|
155
|
-
namespace
|
|
155
|
+
namespace WAN {
|
|
156
156
|
/**
|
|
157
157
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
158
158
|
* availability mode.
|
|
@@ -173,12 +173,12 @@ export declare namespace WanListResponse {
|
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
|
-
export interface
|
|
176
|
+
export interface WANDeleteResponse {
|
|
177
177
|
deleted?: boolean;
|
|
178
|
-
deleted_wan?:
|
|
178
|
+
deleted_wan?: WANDeleteResponse.DeletedWAN;
|
|
179
179
|
}
|
|
180
|
-
export declare namespace
|
|
181
|
-
interface
|
|
180
|
+
export declare namespace WANDeleteResponse {
|
|
181
|
+
interface DeletedWAN {
|
|
182
182
|
/**
|
|
183
183
|
* Identifier
|
|
184
184
|
*/
|
|
@@ -197,13 +197,13 @@ export declare namespace WanDeleteResponse {
|
|
|
197
197
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
198
198
|
* availability mode.
|
|
199
199
|
*/
|
|
200
|
-
static_addressing?:
|
|
200
|
+
static_addressing?: DeletedWAN.StaticAddressing;
|
|
201
201
|
/**
|
|
202
202
|
* VLAN port number.
|
|
203
203
|
*/
|
|
204
204
|
vlan_tag?: number;
|
|
205
205
|
}
|
|
206
|
-
namespace
|
|
206
|
+
namespace DeletedWAN {
|
|
207
207
|
/**
|
|
208
208
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
209
209
|
* availability mode.
|
|
@@ -224,11 +224,11 @@ export declare namespace WanDeleteResponse {
|
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
|
-
export interface
|
|
228
|
-
wan?:
|
|
227
|
+
export interface WANGetResponse {
|
|
228
|
+
wan?: WANGetResponse.WAN;
|
|
229
229
|
}
|
|
230
|
-
export declare namespace
|
|
231
|
-
interface
|
|
230
|
+
export declare namespace WANGetResponse {
|
|
231
|
+
interface WAN {
|
|
232
232
|
/**
|
|
233
233
|
* Identifier
|
|
234
234
|
*/
|
|
@@ -247,13 +247,13 @@ export declare namespace WanGetResponse {
|
|
|
247
247
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
248
248
|
* availability mode.
|
|
249
249
|
*/
|
|
250
|
-
static_addressing?:
|
|
250
|
+
static_addressing?: WAN.StaticAddressing;
|
|
251
251
|
/**
|
|
252
252
|
* VLAN port number.
|
|
253
253
|
*/
|
|
254
254
|
vlan_tag?: number;
|
|
255
255
|
}
|
|
256
|
-
namespace
|
|
256
|
+
namespace WAN {
|
|
257
257
|
/**
|
|
258
258
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
259
259
|
* availability mode.
|
|
@@ -274,7 +274,7 @@ export declare namespace WanGetResponse {
|
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
|
-
export interface
|
|
277
|
+
export interface WANCreateParams {
|
|
278
278
|
/**
|
|
279
279
|
* Path param: Identifier
|
|
280
280
|
*/
|
|
@@ -282,10 +282,10 @@ export interface WanCreateParams {
|
|
|
282
282
|
/**
|
|
283
283
|
* Body param:
|
|
284
284
|
*/
|
|
285
|
-
wan?:
|
|
285
|
+
wan?: WANCreateParams.WAN;
|
|
286
286
|
}
|
|
287
|
-
export declare namespace
|
|
288
|
-
interface
|
|
287
|
+
export declare namespace WANCreateParams {
|
|
288
|
+
interface WAN {
|
|
289
289
|
physport: number;
|
|
290
290
|
/**
|
|
291
291
|
* VLAN port number.
|
|
@@ -297,9 +297,9 @@ export declare namespace WanCreateParams {
|
|
|
297
297
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
298
298
|
* availability mode.
|
|
299
299
|
*/
|
|
300
|
-
static_addressing?:
|
|
300
|
+
static_addressing?: WAN.StaticAddressing;
|
|
301
301
|
}
|
|
302
|
-
namespace
|
|
302
|
+
namespace WAN {
|
|
303
303
|
/**
|
|
304
304
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
305
305
|
* availability mode.
|
|
@@ -320,7 +320,7 @@ export declare namespace WanCreateParams {
|
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
}
|
|
323
|
-
export interface
|
|
323
|
+
export interface WANUpdateParams {
|
|
324
324
|
/**
|
|
325
325
|
* Path param: Identifier
|
|
326
326
|
*/
|
|
@@ -328,10 +328,10 @@ export interface WanUpdateParams {
|
|
|
328
328
|
/**
|
|
329
329
|
* Body param:
|
|
330
330
|
*/
|
|
331
|
-
wan?:
|
|
331
|
+
wan?: WANUpdateParams.WAN;
|
|
332
332
|
}
|
|
333
|
-
export declare namespace
|
|
334
|
-
interface
|
|
333
|
+
export declare namespace WANUpdateParams {
|
|
334
|
+
interface WAN {
|
|
335
335
|
description?: string;
|
|
336
336
|
physport?: number;
|
|
337
337
|
priority?: number;
|
|
@@ -339,13 +339,13 @@ export declare namespace WanUpdateParams {
|
|
|
339
339
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
340
340
|
* availability mode.
|
|
341
341
|
*/
|
|
342
|
-
static_addressing?:
|
|
342
|
+
static_addressing?: WAN.StaticAddressing;
|
|
343
343
|
/**
|
|
344
344
|
* VLAN port number.
|
|
345
345
|
*/
|
|
346
346
|
vlan_tag?: number;
|
|
347
347
|
}
|
|
348
|
-
namespace
|
|
348
|
+
namespace WAN {
|
|
349
349
|
/**
|
|
350
350
|
* (optional) if omitted, use DHCP. Submit secondary_address when site is in high
|
|
351
351
|
* availability mode.
|
|
@@ -366,34 +366,34 @@ export declare namespace WanUpdateParams {
|
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
|
-
export interface
|
|
369
|
+
export interface WANListParams {
|
|
370
370
|
/**
|
|
371
371
|
* Identifier
|
|
372
372
|
*/
|
|
373
373
|
account_id: string;
|
|
374
374
|
}
|
|
375
|
-
export interface
|
|
375
|
+
export interface WANDeleteParams {
|
|
376
376
|
/**
|
|
377
377
|
* Identifier
|
|
378
378
|
*/
|
|
379
379
|
account_id: string;
|
|
380
380
|
}
|
|
381
|
-
export interface
|
|
381
|
+
export interface WANGetParams {
|
|
382
382
|
/**
|
|
383
383
|
* Identifier
|
|
384
384
|
*/
|
|
385
385
|
account_id: string;
|
|
386
386
|
}
|
|
387
|
-
export declare namespace
|
|
388
|
-
export import
|
|
389
|
-
export import
|
|
390
|
-
export import
|
|
391
|
-
export import
|
|
392
|
-
export import
|
|
393
|
-
export import
|
|
394
|
-
export import
|
|
395
|
-
export import
|
|
396
|
-
export import
|
|
397
|
-
export import
|
|
387
|
+
export declare namespace WANs {
|
|
388
|
+
export import WANCreateResponse = WANsAPI.WANCreateResponse;
|
|
389
|
+
export import WANUpdateResponse = WANsAPI.WANUpdateResponse;
|
|
390
|
+
export import WANListResponse = WANsAPI.WANListResponse;
|
|
391
|
+
export import WANDeleteResponse = WANsAPI.WANDeleteResponse;
|
|
392
|
+
export import WANGetResponse = WANsAPI.WANGetResponse;
|
|
393
|
+
export import WANCreateParams = WANsAPI.WANCreateParams;
|
|
394
|
+
export import WANUpdateParams = WANsAPI.WANUpdateParams;
|
|
395
|
+
export import WANListParams = WANsAPI.WANListParams;
|
|
396
|
+
export import WANDeleteParams = WANsAPI.WANDeleteParams;
|
|
397
|
+
export import WANGetParams = WANsAPI.WANGetParams;
|
|
398
398
|
}
|
|
399
399
|
//# sourceMappingURL=wans.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
4
|
+
exports.WANs = void 0;
|
|
5
5
|
const resource_1 = require("cloudflare/resource");
|
|
6
|
-
class
|
|
6
|
+
class WANs extends resource_1.APIResource {
|
|
7
7
|
/**
|
|
8
8
|
* Creates a new WAN.
|
|
9
9
|
*/
|
|
@@ -46,7 +46,7 @@ class Wans extends resource_1.APIResource {
|
|
|
46
46
|
return this._client.get(`/accounts/${account_id}/magic/sites/${siteId}/wans/${wanId}`, options)._thenUnwrap((obj) => obj.result);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
exports.
|
|
50
|
-
(function (
|
|
51
|
-
})(
|
|
49
|
+
exports.WANs = WANs;
|
|
50
|
+
(function (WANs) {
|
|
51
|
+
})(WANs = exports.WANs || (exports.WANs = {}));
|
|
52
52
|
//# sourceMappingURL=wans.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from 'cloudflare/resource';
|
|
3
|
-
export class
|
|
3
|
+
export class WANs extends APIResource {
|
|
4
4
|
/**
|
|
5
5
|
* Creates a new WAN.
|
|
6
6
|
*/
|
|
@@ -43,6 +43,6 @@ export class Wans extends APIResource {
|
|
|
43
43
|
return this._client.get(`/accounts/${account_id}/magic/sites/${siteId}/wans/${wanId}`, options)._thenUnwrap((obj) => obj.result);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
(function (
|
|
47
|
-
})(
|
|
46
|
+
(function (WANs) {
|
|
47
|
+
})(WANs || (WANs = {}));
|
|
48
48
|
//# sourceMappingURL=wans.mjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as Core from 'cloudflare/core';
|
|
2
2
|
import { APIResource } from 'cloudflare/resource';
|
|
3
3
|
import { type Response } from 'cloudflare/_shims/index';
|
|
4
|
-
import * as
|
|
5
|
-
export declare class
|
|
4
|
+
import * as DownloadAPI from 'cloudflare/resources/pcaps/download';
|
|
5
|
+
export declare class Download extends APIResource {
|
|
6
6
|
/**
|
|
7
7
|
* Download PCAP information into a file. Response is a binary PCAP file.
|
|
8
8
|
*/
|
|
@@ -14,7 +14,7 @@ export interface DownloadGetParams {
|
|
|
14
14
|
*/
|
|
15
15
|
account_id: string;
|
|
16
16
|
}
|
|
17
|
-
export declare namespace
|
|
18
|
-
export import DownloadGetParams =
|
|
17
|
+
export declare namespace Download {
|
|
18
|
+
export import DownloadGetParams = DownloadAPI.DownloadGetParams;
|
|
19
19
|
}
|
|
20
|
-
//# sourceMappingURL=
|
|
20
|
+
//# sourceMappingURL=download.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"download.d.ts","sourceRoot":"","sources":["../../src/resources/pcaps/download.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,KAAK,WAAW,MAAM,qCAAqC,CAAC;AAEnE,qBAAa,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC;CAOzG;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,yBAAiB,QAAQ,CAAC;IACxB,MAAM,QAAQ,iBAAiB,GAAG,WAAW,CAAC,iBAAiB,CAAC;CACjE"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
4
|
+
exports.Download = void 0;
|
|
5
5
|
const resource_1 = require("cloudflare/resource");
|
|
6
|
-
class
|
|
6
|
+
class Download extends resource_1.APIResource {
|
|
7
7
|
/**
|
|
8
8
|
* Download PCAP information into a file. Response is a binary PCAP file.
|
|
9
9
|
*/
|
|
@@ -15,7 +15,7 @@ class Downloads extends resource_1.APIResource {
|
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
exports.
|
|
19
|
-
(function (
|
|
20
|
-
})(
|
|
21
|
-
//# sourceMappingURL=
|
|
18
|
+
exports.Download = Download;
|
|
19
|
+
(function (Download) {
|
|
20
|
+
})(Download = exports.Download || (exports.Download = {}));
|
|
21
|
+
//# sourceMappingURL=download.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"download.js","sourceRoot":"","sources":["../../src/resources/pcaps/download.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAGtF,kDAAkD;AAIlD,MAAa,QAAS,SAAQ,sBAAW;IACvC;;OAEG;IACH,GAAG,CAAC,MAAc,EAAE,MAAyB,EAAE,OAA6B;QAC1E,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,UAAU,UAAU,MAAM,WAAW,EAAE;YAC1E,GAAG,OAAO;YACV,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;CACF;AAXD,4BAWC;AASD,WAAiB,QAAQ;AAEzB,CAAC,EAFgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAExB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from 'cloudflare/resource';
|
|
3
|
-
export class
|
|
3
|
+
export class Download extends APIResource {
|
|
4
4
|
/**
|
|
5
5
|
* Download PCAP information into a file. Response is a binary PCAP file.
|
|
6
6
|
*/
|
|
@@ -12,6 +12,6 @@ export class Downloads extends APIResource {
|
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
(function (
|
|
16
|
-
})(
|
|
17
|
-
//# sourceMappingURL=
|
|
15
|
+
(function (Download) {
|
|
16
|
+
})(Download || (Download = {}));
|
|
17
|
+
//# sourceMappingURL=download.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"download.mjs","sourceRoot":"","sources":["../../src/resources/pcaps/download.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAG/E,EAAE,WAAW,EAAE,MAAM,qBAAqB;AAIjD,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,GAAG,CAAC,MAAc,EAAE,MAAyB,EAAE,OAA6B;QAC1E,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,UAAU,UAAU,MAAM,WAAW,EAAE;YAC1E,GAAG,OAAO;YACV,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;CACF;AASD,WAAiB,QAAQ;AAEzB,CAAC,EAFgB,QAAQ,KAAR,QAAQ,QAExB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { DownloadGetParams,
|
|
2
|
-
export { MagicVisibilityPCAPsOwnership, OwnershipGetResponse, OwnershipCreateParams, OwnershipDeleteParams, OwnershipGetParams, OwnershipValidateParams,
|
|
1
|
+
export { DownloadGetParams, Download } from "./download.js";
|
|
2
|
+
export { MagicVisibilityPCAPsOwnership, OwnershipGetResponse, OwnershipCreateParams, OwnershipDeleteParams, OwnershipGetParams, OwnershipValidateParams, Ownership, } from "./ownership.js";
|
|
3
3
|
export { PCAPCreateResponse, PCAPListResponse, PCAPGetResponse, PCAPCreateParams, PCAPListParams, PCAPGetParams, PCAPs, } from "./pcaps.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/pcaps/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/pcaps/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,EACL,6BAA6B,EAC7B,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,EAClB,uBAAuB,EACvB,SAAS,GACV,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,kBAAkB,EAClB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,aAAa,EACb,KAAK,GACN,MAAM,SAAS,CAAC"}
|
package/resources/pcaps/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.PCAPs = exports.
|
|
5
|
-
var
|
|
6
|
-
Object.defineProperty(exports, "
|
|
7
|
-
var
|
|
8
|
-
Object.defineProperty(exports, "
|
|
4
|
+
exports.PCAPs = exports.Ownership = exports.Download = void 0;
|
|
5
|
+
var download_1 = require("./download.js");
|
|
6
|
+
Object.defineProperty(exports, "Download", { enumerable: true, get: function () { return download_1.Download; } });
|
|
7
|
+
var ownership_1 = require("./ownership.js");
|
|
8
|
+
Object.defineProperty(exports, "Ownership", { enumerable: true, get: function () { return ownership_1.Ownership; } });
|
|
9
9
|
var pcaps_1 = require("./pcaps.js");
|
|
10
10
|
Object.defineProperty(exports, "PCAPs", { enumerable: true, get: function () { return pcaps_1.PCAPs; } });
|
|
11
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/pcaps/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/pcaps/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAAyD;AAA7B,oGAAA,QAAQ,OAAA;AACpC,4CAQqB;AADnB,sGAAA,SAAS,OAAA;AAEX,oCAQiB;AADf,8FAAA,KAAK,OAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
2
|
+
export { Download } from "./download.mjs";
|
|
3
|
+
export { Ownership, } from "./ownership.mjs";
|
|
4
4
|
export { PCAPs, } from "./pcaps.mjs";
|
|
5
5
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/pcaps/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAqB,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/pcaps/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAqB,QAAQ,EAAE;OAC/B,EAOL,SAAS,GACV;OACM,EAOL,KAAK,GACN"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Core from 'cloudflare/core';
|
|
2
2
|
import { APIResource } from 'cloudflare/resource';
|
|
3
|
-
import * as
|
|
4
|
-
export declare class
|
|
3
|
+
import * as OwnershipAPI from 'cloudflare/resources/pcaps/ownership';
|
|
4
|
+
export declare class Ownership extends APIResource {
|
|
5
5
|
/**
|
|
6
6
|
* Adds an AWS or GCP bucket to use with full packet captures.
|
|
7
7
|
*/
|
|
@@ -84,12 +84,12 @@ export interface OwnershipValidateParams {
|
|
|
84
84
|
*/
|
|
85
85
|
ownership_challenge: string;
|
|
86
86
|
}
|
|
87
|
-
export declare namespace
|
|
88
|
-
export import MagicVisibilityPCAPsOwnership =
|
|
89
|
-
export import OwnershipGetResponse =
|
|
90
|
-
export import OwnershipCreateParams =
|
|
91
|
-
export import OwnershipDeleteParams =
|
|
92
|
-
export import OwnershipGetParams =
|
|
93
|
-
export import OwnershipValidateParams =
|
|
87
|
+
export declare namespace Ownership {
|
|
88
|
+
export import MagicVisibilityPCAPsOwnership = OwnershipAPI.MagicVisibilityPCAPsOwnership;
|
|
89
|
+
export import OwnershipGetResponse = OwnershipAPI.OwnershipGetResponse;
|
|
90
|
+
export import OwnershipCreateParams = OwnershipAPI.OwnershipCreateParams;
|
|
91
|
+
export import OwnershipDeleteParams = OwnershipAPI.OwnershipDeleteParams;
|
|
92
|
+
export import OwnershipGetParams = OwnershipAPI.OwnershipGetParams;
|
|
93
|
+
export import OwnershipValidateParams = OwnershipAPI.OwnershipValidateParams;
|
|
94
94
|
}
|
|
95
|
-
//# sourceMappingURL=
|
|
95
|
+
//# sourceMappingURL=ownership.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ownership.d.ts","sourceRoot":"","sources":["../../src/resources/pcaps/ownership.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,YAAY,MAAM,sCAAsC,CAAC;AAErE,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,MAAM,CACJ,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,6BAA6B,CAAC;IASjD;;OAEG;IACH,MAAM,CACJ,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;IAQxB;;OAEG;IACH,GAAG,CACD,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,oBAAoB,GAAG,IAAI,CAAC;IAS/C;;OAEG;IACH,QAAQ,CACN,MAAM,EAAE,uBAAuB,EAC/B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,6BAA6B,CAAC;CASlD;AAED,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IAEzC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,6BAA6B,CAAC,CAAC;AAExE,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,yBAAiB,SAAS,CAAC;IACzB,MAAM,QAAQ,6BAA6B,GAAG,YAAY,CAAC,6BAA6B,CAAC;IACzF,MAAM,QAAQ,oBAAoB,GAAG,YAAY,CAAC,oBAAoB,CAAC;IACvE,MAAM,QAAQ,qBAAqB,GAAG,YAAY,CAAC,qBAAqB,CAAC;IACzE,MAAM,QAAQ,qBAAqB,GAAG,YAAY,CAAC,qBAAqB,CAAC;IACzE,MAAM,QAAQ,kBAAkB,GAAG,YAAY,CAAC,kBAAkB,CAAC;IACnE,MAAM,QAAQ,uBAAuB,GAAG,YAAY,CAAC,uBAAuB,CAAC;CAC9E"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
4
|
+
exports.Ownership = void 0;
|
|
5
5
|
const resource_1 = require("cloudflare/resource");
|
|
6
|
-
class
|
|
6
|
+
class Ownership extends resource_1.APIResource {
|
|
7
7
|
/**
|
|
8
8
|
* Adds an AWS or GCP bucket to use with full packet captures.
|
|
9
9
|
*/
|
|
@@ -39,7 +39,7 @@ class Ownerships extends resource_1.APIResource {
|
|
|
39
39
|
})._thenUnwrap((obj) => obj.result);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
exports.
|
|
43
|
-
(function (
|
|
44
|
-
})(
|
|
45
|
-
//# sourceMappingURL=
|
|
42
|
+
exports.Ownership = Ownership;
|
|
43
|
+
(function (Ownership) {
|
|
44
|
+
})(Ownership = exports.Ownership || (exports.Ownership = {}));
|
|
45
|
+
//# sourceMappingURL=ownership.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ownership.js","sourceRoot":"","sources":["../../src/resources/pcaps/ownership.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAGtF,kDAAkD;AAGlD,MAAa,SAAU,SAAQ,sBAAW;IACxC;;OAEG;IACH,MAAM,CACJ,MAA6B,EAC7B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACvC,OACE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,UAAU,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAGlF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,WAAmB,EACnB,MAA6B,EAC7B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,aAAa,UAAU,oBAAoB,WAAW,EAAE,EAAE;YACnF,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;SAChD,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,GAAG,CACD,MAA0B,EAC1B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,UAAU,kBAAkB,EAAE,OAAO,CAGpE,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,MAA+B,EAC/B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACvC,OACE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,UAAU,2BAA2B,EAAE;YACpE,IAAI;YACJ,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;CACF;AA7DD,8BA6DC;AAiFD,WAAiB,SAAS;AAO1B,CAAC,EAPgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAOzB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from 'cloudflare/resource';
|
|
3
|
-
export class
|
|
3
|
+
export class Ownership extends APIResource {
|
|
4
4
|
/**
|
|
5
5
|
* Adds an AWS or GCP bucket to use with full packet captures.
|
|
6
6
|
*/
|
|
@@ -36,6 +36,6 @@ export class Ownerships extends APIResource {
|
|
|
36
36
|
})._thenUnwrap((obj) => obj.result);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
(function (
|
|
40
|
-
})(
|
|
41
|
-
//# sourceMappingURL=
|
|
39
|
+
(function (Ownership) {
|
|
40
|
+
})(Ownership || (Ownership = {}));
|
|
41
|
+
//# sourceMappingURL=ownership.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ownership.mjs","sourceRoot":"","sources":["../../src/resources/pcaps/ownership.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAG/E,EAAE,WAAW,EAAE,MAAM,qBAAqB;AAGjD,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,MAAM,CACJ,MAA6B,EAC7B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACvC,OACE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,UAAU,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAGlF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,WAAmB,EACnB,MAA6B,EAC7B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,aAAa,UAAU,oBAAoB,WAAW,EAAE,EAAE;YACnF,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;SAChD,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,GAAG,CACD,MAA0B,EAC1B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,UAAU,kBAAkB,EAAE,OAAO,CAGpE,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,MAA+B,EAC/B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACvC,OACE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,UAAU,2BAA2B,EAAE;YACpE,IAAI;YACJ,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;CACF;AAiFD,WAAiB,SAAS;AAO1B,CAAC,EAPgB,SAAS,KAAT,SAAS,QAOzB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as Core from 'cloudflare/core';
|
|
2
2
|
import { APIResource } from 'cloudflare/resource';
|
|
3
3
|
import * as PCAPsAPI from 'cloudflare/resources/pcaps/pcaps';
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
4
|
+
import * as DownloadAPI from 'cloudflare/resources/pcaps/download';
|
|
5
|
+
import * as OwnershipAPI from 'cloudflare/resources/pcaps/ownership';
|
|
6
6
|
export declare class PCAPs extends APIResource {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
ownership: OwnershipAPI.Ownership;
|
|
8
|
+
download: DownloadAPI.Download;
|
|
9
9
|
/**
|
|
10
10
|
* Create new PCAP request for account.
|
|
11
11
|
*/
|
|
@@ -584,14 +584,14 @@ export declare namespace PCAPs {
|
|
|
584
584
|
export import PCAPCreateParams = PCAPsAPI.PCAPCreateParams;
|
|
585
585
|
export import PCAPListParams = PCAPsAPI.PCAPListParams;
|
|
586
586
|
export import PCAPGetParams = PCAPsAPI.PCAPGetParams;
|
|
587
|
-
export import
|
|
588
|
-
export import MagicVisibilityPCAPsOwnership =
|
|
589
|
-
export import OwnershipGetResponse =
|
|
590
|
-
export import OwnershipCreateParams =
|
|
591
|
-
export import OwnershipDeleteParams =
|
|
592
|
-
export import OwnershipGetParams =
|
|
593
|
-
export import OwnershipValidateParams =
|
|
594
|
-
export import
|
|
595
|
-
export import DownloadGetParams =
|
|
587
|
+
export import Ownership = OwnershipAPI.Ownership;
|
|
588
|
+
export import MagicVisibilityPCAPsOwnership = OwnershipAPI.MagicVisibilityPCAPsOwnership;
|
|
589
|
+
export import OwnershipGetResponse = OwnershipAPI.OwnershipGetResponse;
|
|
590
|
+
export import OwnershipCreateParams = OwnershipAPI.OwnershipCreateParams;
|
|
591
|
+
export import OwnershipDeleteParams = OwnershipAPI.OwnershipDeleteParams;
|
|
592
|
+
export import OwnershipGetParams = OwnershipAPI.OwnershipGetParams;
|
|
593
|
+
export import OwnershipValidateParams = OwnershipAPI.OwnershipValidateParams;
|
|
594
|
+
export import Download = DownloadAPI.Download;
|
|
595
|
+
export import DownloadGetParams = DownloadAPI.DownloadGetParams;
|
|
596
596
|
}
|
|
597
597
|
//# sourceMappingURL=pcaps.d.ts.map
|