cloudflare 3.0.0-beta.10 → 3.0.0-beta.11
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 +9 -0
- 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-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/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-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,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 WebP extends APIResource {
|
|
4
4
|
/**
|
|
5
5
|
* When the client requesting the image supports the WebP image codec, and WebP
|
|
6
6
|
* offers a performance advantage over the original image format, Cloudflare will
|
|
@@ -20,6 +20,6 @@ export class Webp extends APIResource {
|
|
|
20
20
|
return this._client.get(`/zones/${zone_id}/settings/webp`, options)._thenUnwrap((obj) => obj.result);
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
(function (
|
|
24
|
-
})(
|
|
23
|
+
(function (WebP) {
|
|
24
|
+
})(WebP || (WebP = {}));
|
|
25
25
|
//# sourceMappingURL=webp.mjs.map
|
package/src/index.ts
CHANGED
|
@@ -154,8 +154,8 @@ export class Cloudflare extends Core.APIClient {
|
|
|
154
154
|
subscriptions: API.Subscriptions = new API.Subscriptions(this);
|
|
155
155
|
acm: API.ACM = new API.ACM(this);
|
|
156
156
|
argo: API.Argo = new API.Argo(this);
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
plans: API.Plans = new API.Plans(this);
|
|
158
|
+
ratePlans: API.RatePlans = new API.RatePlans(this);
|
|
159
159
|
certificateAuthorities: API.CertificateAuthorities = new API.CertificateAuthorities(this);
|
|
160
160
|
clientCertificates: API.ClientCertificates = new API.ClientCertificates(this);
|
|
161
161
|
customCertificates: API.CustomCertificates = new API.CustomCertificates(this);
|
|
@@ -467,13 +467,13 @@ export namespace Cloudflare {
|
|
|
467
467
|
|
|
468
468
|
export import Argo = API.Argo;
|
|
469
469
|
|
|
470
|
-
export import
|
|
470
|
+
export import Plans = API.Plans;
|
|
471
471
|
export import BillSubsAPIAvailableRatePlan = API.BillSubsAPIAvailableRatePlan;
|
|
472
|
-
export import
|
|
472
|
+
export import PlanListResponse = API.PlanListResponse;
|
|
473
473
|
|
|
474
|
-
export import
|
|
474
|
+
export import RatePlans = API.RatePlans;
|
|
475
475
|
export import BillSubsRatePlan = API.BillSubsRatePlan;
|
|
476
|
-
export import
|
|
476
|
+
export import RatePlanGetResponse = API.RatePlanGetResponse;
|
|
477
477
|
|
|
478
478
|
export import CertificateAuthorities = API.CertificateAuthorities;
|
|
479
479
|
|
|
@@ -535,6 +535,10 @@ export namespace Cloudflare {
|
|
|
535
535
|
export import DNSSECGetParams = API.DNSSECGetParams;
|
|
536
536
|
|
|
537
537
|
export import EmailRouting = API.EmailRouting;
|
|
538
|
+
export import EmailSettings = API.EmailSettings;
|
|
539
|
+
export import EmailRoutingDisableResponse = API.EmailRoutingDisableResponse;
|
|
540
|
+
export import EmailRoutingEnableResponse = API.EmailRoutingEnableResponse;
|
|
541
|
+
export import EmailRoutingGetResponse = API.EmailRoutingGetResponse;
|
|
538
542
|
|
|
539
543
|
export import Filters = API.Filters;
|
|
540
544
|
export import LegacyJhsFilter = API.LegacyJhsFilter;
|
|
@@ -1,14 +1,36 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from "../../resource";
|
|
4
|
-
import * as
|
|
4
|
+
import * as AvailableAlertsAPI from "./available-alerts";
|
|
5
|
+
import * as HistoryAPI from "./history";
|
|
6
|
+
import * as PoliciesAPI from "./policies";
|
|
7
|
+
import * as DestinationsAPI from "./destinations/destinations";
|
|
5
8
|
|
|
6
9
|
export class Alerting extends APIResource {
|
|
7
|
-
|
|
10
|
+
availableAlerts: AvailableAlertsAPI.AvailableAlerts = new AvailableAlertsAPI.AvailableAlerts(this._client);
|
|
11
|
+
destinations: DestinationsAPI.Destinations = new DestinationsAPI.Destinations(this._client);
|
|
12
|
+
history: HistoryAPI.History = new HistoryAPI.History(this._client);
|
|
13
|
+
policies: PoliciesAPI.Policies = new PoliciesAPI.Policies(this._client);
|
|
8
14
|
}
|
|
9
15
|
|
|
10
16
|
export namespace Alerting {
|
|
11
|
-
export import
|
|
12
|
-
export import
|
|
13
|
-
export import
|
|
17
|
+
export import AvailableAlerts = AvailableAlertsAPI.AvailableAlerts;
|
|
18
|
+
export import AvailableAlertListResponse = AvailableAlertsAPI.AvailableAlertListResponse;
|
|
19
|
+
export import AvailableAlertListParams = AvailableAlertsAPI.AvailableAlertListParams;
|
|
20
|
+
export import Destinations = DestinationsAPI.Destinations;
|
|
21
|
+
export import History = HistoryAPI.History;
|
|
22
|
+
export import AaaHistory = HistoryAPI.AaaHistory;
|
|
23
|
+
export import AaaHistoriesV4PagePaginationArray = HistoryAPI.AaaHistoriesV4PagePaginationArray;
|
|
24
|
+
export import HistoryListParams = HistoryAPI.HistoryListParams;
|
|
25
|
+
export import Policies = PoliciesAPI.Policies;
|
|
26
|
+
export import AaaPolicies = PoliciesAPI.AaaPolicies;
|
|
27
|
+
export import PolicyCreateResponse = PoliciesAPI.PolicyCreateResponse;
|
|
28
|
+
export import PolicyUpdateResponse = PoliciesAPI.PolicyUpdateResponse;
|
|
29
|
+
export import PolicyListResponse = PoliciesAPI.PolicyListResponse;
|
|
30
|
+
export import PolicyDeleteResponse = PoliciesAPI.PolicyDeleteResponse;
|
|
31
|
+
export import PolicyCreateParams = PoliciesAPI.PolicyCreateParams;
|
|
32
|
+
export import PolicyUpdateParams = PoliciesAPI.PolicyUpdateParams;
|
|
33
|
+
export import PolicyListParams = PoliciesAPI.PolicyListParams;
|
|
34
|
+
export import PolicyDeleteParams = PoliciesAPI.PolicyDeleteParams;
|
|
35
|
+
export import PolicyGetParams = PoliciesAPI.PolicyGetParams;
|
|
14
36
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import * as Core from "../../core";
|
|
4
|
+
import { APIResource } from "../../resource";
|
|
5
|
+
import * as AvailableAlertsAPI from "./available-alerts";
|
|
6
|
+
|
|
7
|
+
export class AvailableAlerts extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Gets a list of all alert types for which an account is eligible.
|
|
10
|
+
*/
|
|
11
|
+
list(
|
|
12
|
+
params: AvailableAlertListParams,
|
|
13
|
+
options?: Core.RequestOptions,
|
|
14
|
+
): Core.APIPromise<AvailableAlertListResponse | null> {
|
|
15
|
+
const { account_id } = params;
|
|
16
|
+
return (
|
|
17
|
+
this._client.get(`/accounts/${account_id}/alerting/v3/available_alerts`, options) as Core.APIPromise<{
|
|
18
|
+
result: AvailableAlertListResponse | null;
|
|
19
|
+
}>
|
|
20
|
+
)._thenUnwrap((obj) => obj.result);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export type AvailableAlertListResponse = unknown | Array<unknown> | string;
|
|
25
|
+
|
|
26
|
+
export interface AvailableAlertListParams {
|
|
27
|
+
/**
|
|
28
|
+
* The account id
|
|
29
|
+
*/
|
|
30
|
+
account_id: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export namespace AvailableAlerts {
|
|
34
|
+
export import AvailableAlertListResponse = AvailableAlertsAPI.AvailableAlertListResponse;
|
|
35
|
+
export import AvailableAlertListParams = AvailableAlertsAPI.AvailableAlertListParams;
|
|
36
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from "
|
|
3
|
+
import { APIResource } from "../../../resource";
|
|
4
4
|
import * as EligibleAPI from "./eligible";
|
|
5
5
|
import * as PagerdutyAPI from "./pagerduty";
|
|
6
6
|
import * as WebhooksAPI from "./webhooks";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import * as Core from "
|
|
4
|
-
import { APIResource } from "
|
|
3
|
+
import * as Core from "../../../core";
|
|
4
|
+
import { APIResource } from "../../../resource";
|
|
5
5
|
import * as EligibleAPI from "./eligible";
|
|
6
6
|
|
|
7
7
|
export class Eligible extends APIResource {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import * as Core from "
|
|
4
|
-
import { APIResource } from "
|
|
3
|
+
import * as Core from "../../../core";
|
|
4
|
+
import { APIResource } from "../../../resource";
|
|
5
5
|
import * as PagerdutyAPI from "./pagerduty";
|
|
6
6
|
|
|
7
7
|
export class Pagerduty extends APIResource {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import * as Core from "
|
|
4
|
-
import { APIResource } from "
|
|
3
|
+
import * as Core from "../../../core";
|
|
4
|
+
import { APIResource } from "../../../resource";
|
|
5
5
|
import * as WebhooksAPI from "./webhooks";
|
|
6
6
|
|
|
7
7
|
export class Webhooks extends APIResource {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import * as Core from "
|
|
4
|
-
import { APIResource } from "
|
|
5
|
-
import * as
|
|
6
|
-
import { V4PagePaginationArray, type V4PagePaginationArrayParams } from "
|
|
3
|
+
import * as Core from "../../core";
|
|
4
|
+
import { APIResource } from "../../resource";
|
|
5
|
+
import * as HistoryAPI from "./history";
|
|
6
|
+
import { V4PagePaginationArray, type V4PagePaginationArrayParams } from "../../pagination";
|
|
7
7
|
|
|
8
|
-
export class
|
|
8
|
+
export class History extends APIResource {
|
|
9
9
|
/**
|
|
10
10
|
* Gets a list of history records for notifications sent to an account. The records
|
|
11
11
|
* are displayed for last `x` number of days based on the zone plan (free = 30, pro
|
|
@@ -93,8 +93,8 @@ export interface HistoryListParams extends V4PagePaginationArrayParams {
|
|
|
93
93
|
since?: string;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
export namespace
|
|
97
|
-
export import AaaHistory =
|
|
98
|
-
export import AaaHistoriesV4PagePaginationArray =
|
|
99
|
-
export import HistoryListParams =
|
|
96
|
+
export namespace History {
|
|
97
|
+
export import AaaHistory = HistoryAPI.AaaHistory;
|
|
98
|
+
export import AaaHistoriesV4PagePaginationArray = HistoryAPI.AaaHistoriesV4PagePaginationArray;
|
|
99
|
+
export import HistoryListParams = HistoryAPI.HistoryListParams;
|
|
100
100
|
}
|
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
export { AaaHistory, HistoryListParams, AaaHistoriesV4PagePaginationArray, History } from './history';
|
|
4
|
+
export {
|
|
5
|
+
AaaPolicies,
|
|
6
|
+
PolicyCreateResponse,
|
|
7
|
+
PolicyUpdateResponse,
|
|
8
|
+
PolicyListResponse,
|
|
9
|
+
PolicyDeleteResponse,
|
|
10
|
+
PolicyCreateParams,
|
|
11
|
+
PolicyUpdateParams,
|
|
12
|
+
PolicyListParams,
|
|
13
|
+
PolicyDeleteParams,
|
|
14
|
+
PolicyGetParams,
|
|
15
|
+
Policies,
|
|
16
|
+
} from './policies';
|
|
3
17
|
export { Alerting } from './alerting';
|
|
4
|
-
export {
|
|
18
|
+
export { AvailableAlertListResponse, AvailableAlertListParams, AvailableAlerts } from './available-alerts';
|
|
19
|
+
export { Destinations } from './destinations/index';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import * as Core from "
|
|
4
|
-
import { APIResource } from "
|
|
3
|
+
import * as Core from "../../core";
|
|
4
|
+
import { APIResource } from "../../resource";
|
|
5
5
|
import * as PoliciesAPI from "./policies";
|
|
6
6
|
|
|
7
7
|
export class Policies extends APIResource {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import * as Core from "
|
|
4
|
-
import { APIResource } from "
|
|
5
|
-
import { isRequestOptions } from "
|
|
3
|
+
import * as Core from "../../core";
|
|
4
|
+
import { APIResource } from "../../resource";
|
|
5
|
+
import { isRequestOptions } from "../../core";
|
|
6
6
|
import * as AddressesAPI from "./addresses";
|
|
7
|
-
import { V4PagePaginationArray, type V4PagePaginationArrayParams } from "
|
|
7
|
+
import { V4PagePaginationArray, type V4PagePaginationArrayParams } from "../../pagination";
|
|
8
8
|
|
|
9
9
|
export class Addresses extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import * as Core from "
|
|
4
|
-
import { APIResource } from "
|
|
3
|
+
import * as Core from "../../core";
|
|
4
|
+
import { APIResource } from "../../resource";
|
|
5
5
|
import * as DNSAPI from "./dns";
|
|
6
6
|
|
|
7
7
|
export class DNS extends APIResource {
|
|
@@ -1,16 +1,253 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
import * as Core from "../../core";
|
|
3
4
|
import { APIResource } from "../../resource";
|
|
4
|
-
import * as
|
|
5
|
+
import * as EmailRoutingAPI from "./email-routing";
|
|
6
|
+
import * as AddressesAPI from "./addresses";
|
|
7
|
+
import * as DNSAPI from "./dns";
|
|
8
|
+
import * as RulesAPI from "./rules/rules";
|
|
5
9
|
|
|
6
10
|
export class EmailRouting extends APIResource {
|
|
7
|
-
|
|
11
|
+
dns: DNSAPI.DNS = new DNSAPI.DNS(this._client);
|
|
12
|
+
rules: RulesAPI.Rules = new RulesAPI.Rules(this._client);
|
|
13
|
+
addresses: AddressesAPI.Addresses = new AddressesAPI.Addresses(this._client);
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Disable your Email Routing zone. Also removes additional MX records previously
|
|
17
|
+
* required for Email Routing to work.
|
|
18
|
+
*/
|
|
19
|
+
disable(
|
|
20
|
+
zoneIdentifier: string,
|
|
21
|
+
options?: Core.RequestOptions,
|
|
22
|
+
): Core.APIPromise<EmailRoutingDisableResponse> {
|
|
23
|
+
return (
|
|
24
|
+
this._client.post(`/zones/${zoneIdentifier}/email/routing/disable`, options) as Core.APIPromise<{
|
|
25
|
+
result: EmailRoutingDisableResponse;
|
|
26
|
+
}>
|
|
27
|
+
)._thenUnwrap((obj) => obj.result);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Enable you Email Routing zone. Add and lock the necessary MX and SPF records.
|
|
32
|
+
*/
|
|
33
|
+
enable(zoneIdentifier: string, options?: Core.RequestOptions): Core.APIPromise<EmailRoutingEnableResponse> {
|
|
34
|
+
return (
|
|
35
|
+
this._client.post(`/zones/${zoneIdentifier}/email/routing/enable`, options) as Core.APIPromise<{
|
|
36
|
+
result: EmailRoutingEnableResponse;
|
|
37
|
+
}>
|
|
38
|
+
)._thenUnwrap((obj) => obj.result);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Get information about the settings for your Email Routing zone.
|
|
43
|
+
*/
|
|
44
|
+
get(zoneIdentifier: string, options?: Core.RequestOptions): Core.APIPromise<EmailRoutingGetResponse> {
|
|
45
|
+
return (
|
|
46
|
+
this._client.get(`/zones/${zoneIdentifier}/email/routing`, options) as Core.APIPromise<{
|
|
47
|
+
result: EmailRoutingGetResponse;
|
|
48
|
+
}>
|
|
49
|
+
)._thenUnwrap((obj) => obj.result);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export interface EmailSettings {
|
|
54
|
+
/**
|
|
55
|
+
* Email Routing settings identifier.
|
|
56
|
+
*/
|
|
57
|
+
id?: string;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* The date and time the settings have been created.
|
|
61
|
+
*/
|
|
62
|
+
created?: string;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* State of the zone settings for Email Routing.
|
|
66
|
+
*/
|
|
67
|
+
enabled?: true | false;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* The date and time the settings have been modified.
|
|
71
|
+
*/
|
|
72
|
+
modified?: string;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Domain of your zone.
|
|
76
|
+
*/
|
|
77
|
+
name?: string;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Flag to check if the user skipped the configuration wizard.
|
|
81
|
+
*/
|
|
82
|
+
skip_wizard?: true | false;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Show the state of your account, and the type or configuration error.
|
|
86
|
+
*/
|
|
87
|
+
status?: 'ready' | 'unconfigured' | 'misconfigured' | 'misconfigured/locked' | 'unlocked';
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @deprecated: Email Routing settings tag. (Deprecated, replaced by Email Routing
|
|
91
|
+
* settings identifier)
|
|
92
|
+
*/
|
|
93
|
+
tag?: string;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export interface EmailRoutingDisableResponse {
|
|
97
|
+
/**
|
|
98
|
+
* Email Routing settings identifier.
|
|
99
|
+
*/
|
|
100
|
+
id?: string;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* The date and time the settings have been created.
|
|
104
|
+
*/
|
|
105
|
+
created?: string;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* State of the zone settings for Email Routing.
|
|
109
|
+
*/
|
|
110
|
+
enabled?: true | false;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* The date and time the settings have been modified.
|
|
114
|
+
*/
|
|
115
|
+
modified?: string;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Domain of your zone.
|
|
119
|
+
*/
|
|
120
|
+
name?: string;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Flag to check if the user skipped the configuration wizard.
|
|
124
|
+
*/
|
|
125
|
+
skip_wizard?: true | false;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Show the state of your account, and the type or configuration error.
|
|
129
|
+
*/
|
|
130
|
+
status?: 'ready' | 'unconfigured' | 'misconfigured' | 'misconfigured/locked' | 'unlocked';
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* @deprecated: Email Routing settings tag. (Deprecated, replaced by Email Routing
|
|
134
|
+
* settings identifier)
|
|
135
|
+
*/
|
|
136
|
+
tag?: string;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export interface EmailRoutingEnableResponse {
|
|
140
|
+
/**
|
|
141
|
+
* Email Routing settings identifier.
|
|
142
|
+
*/
|
|
143
|
+
id?: string;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* The date and time the settings have been created.
|
|
147
|
+
*/
|
|
148
|
+
created?: string;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* State of the zone settings for Email Routing.
|
|
152
|
+
*/
|
|
153
|
+
enabled?: true | false;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* The date and time the settings have been modified.
|
|
157
|
+
*/
|
|
158
|
+
modified?: string;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Domain of your zone.
|
|
162
|
+
*/
|
|
163
|
+
name?: string;
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Flag to check if the user skipped the configuration wizard.
|
|
167
|
+
*/
|
|
168
|
+
skip_wizard?: true | false;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Show the state of your account, and the type or configuration error.
|
|
172
|
+
*/
|
|
173
|
+
status?: 'ready' | 'unconfigured' | 'misconfigured' | 'misconfigured/locked' | 'unlocked';
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* @deprecated: Email Routing settings tag. (Deprecated, replaced by Email Routing
|
|
177
|
+
* settings identifier)
|
|
178
|
+
*/
|
|
179
|
+
tag?: string;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export interface EmailRoutingGetResponse {
|
|
183
|
+
/**
|
|
184
|
+
* Email Routing settings identifier.
|
|
185
|
+
*/
|
|
186
|
+
id?: string;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* The date and time the settings have been created.
|
|
190
|
+
*/
|
|
191
|
+
created?: string;
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* State of the zone settings for Email Routing.
|
|
195
|
+
*/
|
|
196
|
+
enabled?: true | false;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* The date and time the settings have been modified.
|
|
200
|
+
*/
|
|
201
|
+
modified?: string;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Domain of your zone.
|
|
205
|
+
*/
|
|
206
|
+
name?: string;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Flag to check if the user skipped the configuration wizard.
|
|
210
|
+
*/
|
|
211
|
+
skip_wizard?: true | false;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Show the state of your account, and the type or configuration error.
|
|
215
|
+
*/
|
|
216
|
+
status?: 'ready' | 'unconfigured' | 'misconfigured' | 'misconfigured/locked' | 'unlocked';
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* @deprecated: Email Routing settings tag. (Deprecated, replaced by Email Routing
|
|
220
|
+
* settings identifier)
|
|
221
|
+
*/
|
|
222
|
+
tag?: string;
|
|
8
223
|
}
|
|
9
224
|
|
|
10
225
|
export namespace EmailRouting {
|
|
11
|
-
export import
|
|
12
|
-
export import
|
|
13
|
-
export import
|
|
14
|
-
export import
|
|
15
|
-
export import
|
|
226
|
+
export import EmailSettings = EmailRoutingAPI.EmailSettings;
|
|
227
|
+
export import EmailRoutingDisableResponse = EmailRoutingAPI.EmailRoutingDisableResponse;
|
|
228
|
+
export import EmailRoutingEnableResponse = EmailRoutingAPI.EmailRoutingEnableResponse;
|
|
229
|
+
export import EmailRoutingGetResponse = EmailRoutingAPI.EmailRoutingGetResponse;
|
|
230
|
+
export import DNS = DNSAPI.DNS;
|
|
231
|
+
export import EmailDNSRecord = DNSAPI.EmailDNSRecord;
|
|
232
|
+
export import DNSGetResponse = DNSAPI.DNSGetResponse;
|
|
233
|
+
export import Rules = RulesAPI.Rules;
|
|
234
|
+
export import EmailRules = RulesAPI.EmailRules;
|
|
235
|
+
export import RuleCreateResponse = RulesAPI.RuleCreateResponse;
|
|
236
|
+
export import RuleUpdateResponse = RulesAPI.RuleUpdateResponse;
|
|
237
|
+
export import RuleListResponse = RulesAPI.RuleListResponse;
|
|
238
|
+
export import RuleDeleteResponse = RulesAPI.RuleDeleteResponse;
|
|
239
|
+
export import RuleGetResponse = RulesAPI.RuleGetResponse;
|
|
240
|
+
export import RuleListResponsesV4PagePaginationArray = RulesAPI.RuleListResponsesV4PagePaginationArray;
|
|
241
|
+
export import RuleCreateParams = RulesAPI.RuleCreateParams;
|
|
242
|
+
export import RuleUpdateParams = RulesAPI.RuleUpdateParams;
|
|
243
|
+
export import RuleListParams = RulesAPI.RuleListParams;
|
|
244
|
+
export import Addresses = AddressesAPI.Addresses;
|
|
245
|
+
export import EmailAddresses = AddressesAPI.EmailAddresses;
|
|
246
|
+
export import AddressCreateResponse = AddressesAPI.AddressCreateResponse;
|
|
247
|
+
export import AddressListResponse = AddressesAPI.AddressListResponse;
|
|
248
|
+
export import AddressDeleteResponse = AddressesAPI.AddressDeleteResponse;
|
|
249
|
+
export import AddressGetResponse = AddressesAPI.AddressGetResponse;
|
|
250
|
+
export import AddressListResponsesV4PagePaginationArray = AddressesAPI.AddressListResponsesV4PagePaginationArray;
|
|
251
|
+
export import AddressCreateParams = AddressesAPI.AddressCreateParams;
|
|
252
|
+
export import AddressListParams = AddressesAPI.AddressListParams;
|
|
16
253
|
}
|
|
@@ -1,10 +1,34 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
export {
|
|
3
|
+
export {
|
|
4
|
+
EmailAddresses,
|
|
5
|
+
AddressCreateResponse,
|
|
6
|
+
AddressListResponse,
|
|
7
|
+
AddressDeleteResponse,
|
|
8
|
+
AddressGetResponse,
|
|
9
|
+
AddressCreateParams,
|
|
10
|
+
AddressListParams,
|
|
11
|
+
AddressListResponsesV4PagePaginationArray,
|
|
12
|
+
Addresses,
|
|
13
|
+
} from './addresses';
|
|
14
|
+
export { EmailDNSRecord, DNSGetResponse, DNS } from './dns';
|
|
15
|
+
export {
|
|
16
|
+
EmailRules,
|
|
17
|
+
RuleCreateResponse,
|
|
18
|
+
RuleUpdateResponse,
|
|
19
|
+
RuleListResponse,
|
|
20
|
+
RuleDeleteResponse,
|
|
21
|
+
RuleGetResponse,
|
|
22
|
+
RuleCreateParams,
|
|
23
|
+
RuleUpdateParams,
|
|
24
|
+
RuleListParams,
|
|
25
|
+
RuleListResponsesV4PagePaginationArray,
|
|
26
|
+
Rules,
|
|
27
|
+
} from './rules/index';
|
|
4
28
|
export {
|
|
5
29
|
EmailSettings,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from './routing
|
|
30
|
+
EmailRoutingDisableResponse,
|
|
31
|
+
EmailRoutingEnableResponse,
|
|
32
|
+
EmailRoutingGetResponse,
|
|
33
|
+
EmailRouting,
|
|
34
|
+
} from './email-routing';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import * as Core from "
|
|
4
|
-
import { APIResource } from "
|
|
3
|
+
import * as Core from "../../../core";
|
|
4
|
+
import { APIResource } from "../../../resource";
|
|
5
5
|
import * as CatchAllsAPI from "./catch-alls";
|
|
6
6
|
|
|
7
7
|
export class CatchAlls extends APIResource {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import * as Core from "
|
|
4
|
-
import { APIResource } from "
|
|
5
|
-
import { isRequestOptions } from "
|
|
3
|
+
import * as Core from "../../../core";
|
|
4
|
+
import { APIResource } from "../../../resource";
|
|
5
|
+
import { isRequestOptions } from "../../../core";
|
|
6
6
|
import * as RulesAPI from "./rules";
|
|
7
7
|
import * as CatchAllsAPI from "./catch-alls";
|
|
8
|
-
import { V4PagePaginationArray, type V4PagePaginationArrayParams } from "
|
|
8
|
+
import { V4PagePaginationArray, type V4PagePaginationArrayParams } from "../../../pagination";
|
|
9
9
|
|
|
10
10
|
export class Rules extends APIResource {
|
|
11
11
|
catchAlls: CatchAllsAPI.CatchAlls = new CatchAllsAPI.CatchAlls(this._client);
|
package/src/resources/index.ts
CHANGED
|
@@ -22,8 +22,8 @@ export {
|
|
|
22
22
|
AuditLogListResponsesV4PagePaginationArray,
|
|
23
23
|
AuditLogs,
|
|
24
24
|
} from './audit-logs';
|
|
25
|
-
export { BillSubsAPIAvailableRatePlan,
|
|
26
|
-
export { BillSubsRatePlan,
|
|
25
|
+
export { BillSubsAPIAvailableRatePlan, PlanListResponse, Plans } from './plans';
|
|
26
|
+
export { BillSubsRatePlan, RatePlanGetResponse, RatePlans } from './rate-plans';
|
|
27
27
|
export { Billing } from './billing/billing';
|
|
28
28
|
export {
|
|
29
29
|
BotManagementUpdateResponse,
|
|
@@ -73,7 +73,13 @@ export {
|
|
|
73
73
|
} from './dnssec';
|
|
74
74
|
export { Diagnostics } from './diagnostics/diagnostics';
|
|
75
75
|
export { DurableObjects } from './durable-objects/durable-objects';
|
|
76
|
-
export {
|
|
76
|
+
export {
|
|
77
|
+
EmailSettings,
|
|
78
|
+
EmailRoutingDisableResponse,
|
|
79
|
+
EmailRoutingEnableResponse,
|
|
80
|
+
EmailRoutingGetResponse,
|
|
81
|
+
EmailRouting,
|
|
82
|
+
} from './email-routing/email-routing';
|
|
77
83
|
export { Firewall } from './firewall/firewall';
|
|
78
84
|
export {
|
|
79
85
|
HealthchecksHealthchecks,
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
|
|
3
3
|
export { Control } from './control/index';
|
|
4
4
|
export { Logs } from './logs';
|
|
5
|
-
export {
|
|
5
|
+
export { RayIDGetResponse, RayIDGetParams, RayID } from './rayid';
|
|
6
6
|
export { ReceivedGetResponse, ReceivedGetParams, Received } from './received/index';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from "../../resource";
|
|
4
|
-
import * as
|
|
4
|
+
import * as RayIDAPI from "./rayid";
|
|
5
5
|
import * as ControlAPI from "./control/control";
|
|
6
6
|
import * as ReceivedAPI from "./received/received";
|
|
7
7
|
|
|
8
8
|
export class Logs extends APIResource {
|
|
9
9
|
control: ControlAPI.Control = new ControlAPI.Control(this._client);
|
|
10
|
-
|
|
10
|
+
RayID: RayIDAPI.RayID = new RayIDAPI.RayID(this._client);
|
|
11
11
|
received: ReceivedAPI.Received = new ReceivedAPI.Received(this._client);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export namespace Logs {
|
|
15
15
|
export import Control = ControlAPI.Control;
|
|
16
|
-
export import
|
|
17
|
-
export import
|
|
18
|
-
export import
|
|
16
|
+
export import RayID = RayIDAPI.RayID;
|
|
17
|
+
export import RayIDGetResponse = RayIDAPI.RayIDGetResponse;
|
|
18
|
+
export import RayIDGetParams = RayIDAPI.RayIDGetParams;
|
|
19
19
|
export import Received = ReceivedAPI.Received;
|
|
20
20
|
export import ReceivedGetResponse = ReceivedAPI.ReceivedGetResponse;
|
|
21
21
|
export import ReceivedGetParams = ReceivedAPI.ReceivedGetParams;
|