cloudflare 5.1.0 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +69 -0
- package/package.json +1 -1
- package/resources/addressing/prefixes/prefixes.d.ts +16 -8
- package/resources/addressing/prefixes/prefixes.d.ts.map +1 -1
- package/resources/addressing/prefixes/prefixes.js.map +1 -1
- package/resources/addressing/prefixes/prefixes.mjs.map +1 -1
- package/resources/ai/ai.d.ts +4 -0
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js +5 -0
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs +5 -0
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/index.d.ts +1 -0
- package/resources/ai/index.d.ts.map +1 -1
- package/resources/ai/index.js +4 -1
- package/resources/ai/index.js.map +1 -1
- package/resources/ai/index.mjs +1 -0
- package/resources/ai/index.mjs.map +1 -1
- package/resources/ai/to-markdown.d.ts +29 -0
- package/resources/ai/to-markdown.d.ts.map +1 -0
- package/resources/ai/to-markdown.js +27 -0
- package/resources/ai/to-markdown.js.map +1 -0
- package/resources/ai/to-markdown.mjs +22 -0
- package/resources/ai/to-markdown.mjs.map +1 -0
- package/resources/ai-gateway/ai-gateway.d.ts +204 -12
- package/resources/ai-gateway/ai-gateway.d.ts.map +1 -1
- package/resources/ai-gateway/ai-gateway.js.map +1 -1
- package/resources/ai-gateway/ai-gateway.mjs.map +1 -1
- package/resources/ai-gateway/logs.d.ts +2 -2
- package/resources/ai-gateway/logs.d.ts.map +1 -1
- package/resources/ai-gateway/logs.js.map +1 -1
- package/resources/ai-gateway/logs.mjs.map +1 -1
- package/resources/alerting/destinations/pagerduty.d.ts +9 -21
- package/resources/alerting/destinations/pagerduty.d.ts.map +1 -1
- package/resources/alerting/destinations/pagerduty.js.map +1 -1
- package/resources/alerting/destinations/pagerduty.mjs.map +1 -1
- package/resources/alerting/destinations/webhooks.d.ts +9 -21
- package/resources/alerting/destinations/webhooks.d.ts.map +1 -1
- package/resources/alerting/destinations/webhooks.js.map +1 -1
- package/resources/alerting/destinations/webhooks.mjs.map +1 -1
- package/resources/alerting/policies.d.ts +10 -3
- package/resources/alerting/policies.d.ts.map +1 -1
- package/resources/alerting/policies.js.map +1 -1
- package/resources/alerting/policies.mjs.map +1 -1
- package/resources/bot-management.d.ts +49 -0
- package/resources/bot-management.d.ts.map +1 -1
- package/resources/bot-management.js +1 -0
- package/resources/bot-management.js.map +1 -1
- package/resources/bot-management.mjs +1 -0
- package/resources/bot-management.mjs.map +1 -1
- package/resources/browser-rendering/json.d.ts +3 -3
- package/resources/browser-rendering/json.d.ts.map +1 -1
- package/resources/browser-rendering/links.d.ts +4 -0
- package/resources/browser-rendering/links.d.ts.map +1 -1
- package/resources/calls/turn.d.ts.map +1 -1
- package/resources/calls/turn.js +1 -1
- package/resources/calls/turn.js.map +1 -1
- package/resources/calls/turn.mjs +1 -1
- package/resources/calls/turn.mjs.map +1 -1
- package/resources/cloudforce-one/threat-events/crons.d.ts +0 -47
- package/resources/cloudforce-one/threat-events/crons.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/crons.js +0 -30
- package/resources/cloudforce-one/threat-events/crons.js.map +1 -1
- package/resources/cloudforce-one/threat-events/crons.mjs +0 -30
- package/resources/cloudforce-one/threat-events/crons.mjs.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/datasets.d.ts +2 -2
- package/resources/cloudforce-one/threat-events/datasets/datasets.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/datasets.js.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/datasets.mjs.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/health.d.ts +0 -120
- package/resources/cloudforce-one/threat-events/datasets/health.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/health.js +0 -16
- package/resources/cloudforce-one/threat-events/datasets/health.js.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/health.mjs +0 -16
- package/resources/cloudforce-one/threat-events/datasets/health.mjs.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/index.d.ts +1 -1
- package/resources/cloudforce-one/threat-events/datasets/index.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/index.js.map +1 -1
- package/resources/cloudforce-one/threat-events/datasets/index.mjs.map +1 -1
- package/resources/cloudforce-one/threat-events/index.d.ts +1 -1
- package/resources/cloudforce-one/threat-events/index.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/index.js.map +1 -1
- package/resources/cloudforce-one/threat-events/index.mjs +1 -1
- package/resources/cloudforce-one/threat-events/index.mjs.map +1 -1
- package/resources/cloudforce-one/threat-events/tags.d.ts +79 -4
- package/resources/cloudforce-one/threat-events/tags.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/tags.js +2 -2
- package/resources/cloudforce-one/threat-events/tags.mjs +2 -2
- package/resources/cloudforce-one/threat-events/threat-events.d.ts +27 -4
- package/resources/cloudforce-one/threat-events/threat-events.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/threat-events.js +2 -0
- package/resources/cloudforce-one/threat-events/threat-events.js.map +1 -1
- package/resources/cloudforce-one/threat-events/threat-events.mjs +2 -0
- package/resources/cloudforce-one/threat-events/threat-events.mjs.map +1 -1
- package/resources/dns/dns.d.ts +4 -4
- package/resources/dns/dns.d.ts.map +1 -1
- package/resources/dns/dns.js +1 -0
- package/resources/dns/dns.js.map +1 -1
- package/resources/dns/dns.mjs +2 -1
- package/resources/dns/dns.mjs.map +1 -1
- package/resources/dns/index.d.ts +2 -2
- package/resources/dns/index.d.ts.map +1 -1
- package/resources/dns/index.js +2 -1
- package/resources/dns/index.js.map +1 -1
- package/resources/dns/index.mjs +1 -1
- package/resources/dns/index.mjs.map +1 -1
- package/resources/dns/records.d.ts +174 -5
- package/resources/dns/records.d.ts.map +1 -1
- package/resources/dns/records.js +60 -6
- package/resources/dns/records.js.map +1 -1
- package/resources/dns/records.mjs +59 -6
- package/resources/dns/records.mjs.map +1 -1
- package/resources/dns/settings/account/account.d.ts +48 -45
- package/resources/dns/settings/account/account.d.ts.map +1 -1
- package/resources/dns/settings/account/account.js.map +1 -1
- package/resources/dns/settings/account/account.mjs.map +1 -1
- package/resources/dns/settings/index.d.ts +1 -1
- package/resources/dns/settings/index.d.ts.map +1 -1
- package/resources/dns/settings/index.js.map +1 -1
- package/resources/dns/settings/index.mjs.map +1 -1
- package/resources/dns/settings/settings.d.ts +0 -87
- package/resources/dns/settings/settings.d.ts.map +1 -1
- package/resources/dns/settings/settings.js.map +1 -1
- package/resources/dns/settings/settings.mjs.map +1 -1
- package/resources/dns/settings/zone.d.ts +49 -46
- package/resources/dns/settings/zone.d.ts.map +1 -1
- package/resources/dns-firewall/dns-firewall.d.ts +156 -48
- package/resources/dns-firewall/dns-firewall.d.ts.map +1 -1
- package/resources/dns-firewall/dns-firewall.js.map +1 -1
- package/resources/dns-firewall/dns-firewall.mjs.map +1 -1
- package/resources/email-routing/dns.d.ts +2 -4
- package/resources/email-routing/dns.d.ts.map +1 -1
- package/resources/email-routing/dns.js +0 -2
- package/resources/email-routing/dns.js.map +1 -1
- package/resources/email-routing/dns.mjs +0 -2
- package/resources/email-routing/dns.mjs.map +1 -1
- package/resources/email-security/settings/domains.d.ts +6 -0
- package/resources/email-security/settings/domains.d.ts.map +1 -1
- package/resources/email-security/settings/domains.js.map +1 -1
- package/resources/email-security/settings/domains.mjs.map +1 -1
- package/resources/images/v1/stats.d.ts +3 -1
- package/resources/images/v1/stats.d.ts.map +1 -1
- package/resources/images/v1/stats.js +3 -1
- package/resources/images/v1/stats.js.map +1 -1
- package/resources/images/v1/stats.mjs +3 -1
- package/resources/images/v1/stats.mjs.map +1 -1
- package/resources/intel/indicator-feeds/downloads.d.ts +0 -36
- package/resources/intel/indicator-feeds/downloads.d.ts.map +1 -1
- package/resources/intel/indicator-feeds/downloads.js +0 -15
- package/resources/intel/indicator-feeds/downloads.js.map +1 -1
- package/resources/intel/indicator-feeds/downloads.mjs +0 -15
- package/resources/intel/indicator-feeds/downloads.mjs.map +1 -1
- package/resources/intel/indicator-feeds/index.d.ts +1 -1
- package/resources/intel/indicator-feeds/index.d.ts.map +1 -1
- package/resources/intel/indicator-feeds/index.js.map +1 -1
- package/resources/intel/indicator-feeds/index.mjs.map +1 -1
- package/resources/intel/indicator-feeds/indicator-feeds.d.ts +2 -2
- package/resources/intel/indicator-feeds/indicator-feeds.d.ts.map +1 -1
- package/resources/intel/indicator-feeds/indicator-feeds.js.map +1 -1
- package/resources/intel/indicator-feeds/indicator-feeds.mjs.map +1 -1
- package/resources/load-balancers/index.d.ts +1 -0
- package/resources/load-balancers/index.d.ts.map +1 -1
- package/resources/load-balancers/index.js +4 -1
- package/resources/load-balancers/index.js.map +1 -1
- package/resources/load-balancers/index.mjs +1 -0
- package/resources/load-balancers/index.mjs.map +1 -1
- package/resources/load-balancers/load-balancers.d.ts +4 -0
- package/resources/load-balancers/load-balancers.d.ts.map +1 -1
- package/resources/load-balancers/load-balancers.js +5 -0
- package/resources/load-balancers/load-balancers.js.map +1 -1
- package/resources/load-balancers/load-balancers.mjs +5 -0
- package/resources/load-balancers/load-balancers.mjs.map +1 -1
- package/resources/load-balancers/monitor-groups.d.ts +313 -0
- package/resources/load-balancers/monitor-groups.d.ts.map +1 -0
- package/resources/load-balancers/monitor-groups.js +153 -0
- package/resources/load-balancers/monitor-groups.js.map +1 -0
- package/resources/load-balancers/monitor-groups.mjs +148 -0
- package/resources/load-balancers/monitor-groups.mjs.map +1 -0
- package/resources/load-balancers/pools/pools.d.ts +20 -0
- package/resources/load-balancers/pools/pools.d.ts.map +1 -1
- package/resources/load-balancers/pools/pools.js.map +1 -1
- package/resources/load-balancers/pools/pools.mjs.map +1 -1
- package/resources/logs/rayid.d.ts +1 -1
- package/resources/logs/received/fields.d.ts +1 -1
- package/resources/logs/received/received.d.ts +1 -1
- package/resources/magic-transit/cf-interconnects.d.ts +25 -0
- package/resources/magic-transit/cf-interconnects.d.ts.map +1 -1
- package/resources/magic-transit/gre-tunnels.d.ts +40 -0
- package/resources/magic-transit/gre-tunnels.d.ts.map +1 -1
- package/resources/magic-transit/ipsec-tunnels.d.ts +124 -0
- package/resources/magic-transit/ipsec-tunnels.d.ts.map +1 -1
- package/resources/magic-transit/pcaps/download.d.ts +1 -1
- package/resources/magic-transit/pcaps/ownership.d.ts +4 -4
- package/resources/magic-transit/pcaps/pcaps.d.ts +6 -6
- package/resources/magic-transit/pcaps/pcaps.js +1 -1
- package/resources/magic-transit/pcaps/pcaps.mjs +1 -1
- package/resources/page-rules.d.ts +20 -4
- package/resources/page-rules.d.ts.map +1 -1
- package/resources/page-rules.js +20 -4
- package/resources/page-rules.js.map +1 -1
- package/resources/page-rules.mjs +20 -4
- package/resources/page-rules.mjs.map +1 -1
- package/resources/page-shield/connections.d.ts +1 -1
- package/resources/page-shield/cookies.d.ts +1 -1
- package/resources/page-shield/scripts.d.ts +1 -1
- package/resources/radar/ai/inference/summary.d.ts +2 -10
- package/resources/radar/ai/inference/summary.d.ts.map +1 -1
- package/resources/radar/ai/inference/summary.js.map +1 -1
- package/resources/radar/ai/inference/summary.mjs.map +1 -1
- package/resources/radar/ai/inference/timeseries-groups/summary.d.ts +2 -10
- package/resources/radar/ai/inference/timeseries-groups/summary.d.ts.map +1 -1
- package/resources/radar/ai/inference/timeseries-groups/summary.js.map +1 -1
- package/resources/radar/ai/inference/timeseries-groups/summary.mjs.map +1 -1
- package/resources/radar/entities/asns.d.ts +56 -1
- package/resources/radar/entities/asns.d.ts.map +1 -1
- package/resources/radar/entities/asns.js +6 -0
- package/resources/radar/entities/asns.js.map +1 -1
- package/resources/radar/entities/asns.mjs +6 -0
- package/resources/radar/entities/asns.mjs.map +1 -1
- package/resources/radar/entities/entities.d.ts +2 -2
- package/resources/radar/entities/entities.d.ts.map +1 -1
- package/resources/radar/entities/entities.js.map +1 -1
- package/resources/radar/entities/entities.mjs.map +1 -1
- package/resources/radar/entities/index.d.ts +1 -1
- package/resources/radar/entities/index.d.ts.map +1 -1
- package/resources/radar/entities/index.js.map +1 -1
- package/resources/radar/entities/index.mjs.map +1 -1
- package/resources/radar/http/ases/ases.d.ts +7 -0
- package/resources/radar/http/ases/ases.d.ts.map +1 -1
- package/resources/radar/http/ases/ases.js.map +1 -1
- package/resources/radar/http/ases/ases.mjs.map +1 -1
- package/resources/radar/http/ases/bot-class.d.ts +7 -0
- package/resources/radar/http/ases/bot-class.d.ts.map +1 -1
- package/resources/radar/http/ases/browser-family.d.ts +7 -0
- package/resources/radar/http/ases/browser-family.d.ts.map +1 -1
- package/resources/radar/http/ases/device-type.d.ts +7 -0
- package/resources/radar/http/ases/device-type.d.ts.map +1 -1
- package/resources/radar/http/ases/http-method.d.ts +7 -0
- package/resources/radar/http/ases/http-method.d.ts.map +1 -1
- package/resources/radar/http/ases/http-protocol.d.ts +7 -0
- package/resources/radar/http/ases/http-protocol.d.ts.map +1 -1
- package/resources/radar/http/ases/ip-version.d.ts +7 -0
- package/resources/radar/http/ases/ip-version.d.ts.map +1 -1
- package/resources/radar/http/ases/os.d.ts +7 -0
- package/resources/radar/http/ases/os.d.ts.map +1 -1
- package/resources/radar/http/ases/tls-version.d.ts +7 -0
- package/resources/radar/http/ases/tls-version.d.ts.map +1 -1
- package/resources/radar/http/http.d.ts +7 -0
- package/resources/radar/http/http.d.ts.map +1 -1
- package/resources/radar/http/http.js.map +1 -1
- package/resources/radar/http/http.mjs.map +1 -1
- package/resources/radar/http/locations/bot-class.d.ts +7 -0
- package/resources/radar/http/locations/bot-class.d.ts.map +1 -1
- package/resources/radar/http/locations/browser-family.d.ts +7 -0
- package/resources/radar/http/locations/browser-family.d.ts.map +1 -1
- package/resources/radar/http/locations/device-type.d.ts +7 -0
- package/resources/radar/http/locations/device-type.d.ts.map +1 -1
- package/resources/radar/http/locations/http-method.d.ts +7 -0
- package/resources/radar/http/locations/http-method.d.ts.map +1 -1
- package/resources/radar/http/locations/http-protocol.d.ts +7 -0
- package/resources/radar/http/locations/http-protocol.d.ts.map +1 -1
- package/resources/radar/http/locations/ip-version.d.ts +7 -0
- package/resources/radar/http/locations/ip-version.d.ts.map +1 -1
- package/resources/radar/http/locations/locations.d.ts +7 -0
- package/resources/radar/http/locations/locations.d.ts.map +1 -1
- package/resources/radar/http/locations/locations.js.map +1 -1
- package/resources/radar/http/locations/locations.mjs.map +1 -1
- package/resources/radar/http/locations/os.d.ts +7 -0
- package/resources/radar/http/locations/os.d.ts.map +1 -1
- package/resources/radar/http/locations/tls-version.d.ts +7 -0
- package/resources/radar/http/locations/tls-version.d.ts.map +1 -1
- package/resources/radar/http/summary.d.ts +64 -38
- package/resources/radar/http/summary.d.ts.map +1 -1
- package/resources/radar/http/summary.js.map +1 -1
- package/resources/radar/http/summary.mjs.map +1 -1
- package/resources/radar/http/timeseries-groups.d.ts +80 -50
- package/resources/radar/http/timeseries-groups.d.ts.map +1 -1
- package/resources/radar/http/timeseries-groups.js.map +1 -1
- package/resources/radar/http/timeseries-groups.mjs.map +1 -1
- package/resources/radar/http/top.d.ts +14 -0
- package/resources/radar/http/top.d.ts.map +1 -1
- package/resources/radar/leaked-credentials/summary.d.ts +2 -10
- package/resources/radar/leaked-credentials/summary.d.ts.map +1 -1
- package/resources/radar/leaked-credentials/summary.js.map +1 -1
- package/resources/radar/leaked-credentials/summary.mjs.map +1 -1
- package/resources/radar/leaked-credentials/timeseries-groups.d.ts +2 -10
- package/resources/radar/leaked-credentials/timeseries-groups.d.ts.map +1 -1
- package/resources/radar/leaked-credentials/timeseries-groups.js.map +1 -1
- package/resources/radar/leaked-credentials/timeseries-groups.mjs.map +1 -1
- package/resources/radar/netflows/netflows.d.ts +15 -4
- package/resources/radar/netflows/netflows.d.ts.map +1 -1
- package/resources/radar/netflows/netflows.js.map +1 -1
- package/resources/radar/netflows/netflows.mjs.map +1 -1
- package/resources/radar/netflows/top.d.ts +14 -0
- package/resources/radar/netflows/top.d.ts.map +1 -1
- package/resources/radar/search.d.ts +2 -2
- package/resources/radar/search.d.ts.map +1 -1
- package/resources/request-tracers/traces.d.ts +1 -1
- package/resources/resource-sharing/recipients.d.ts +77 -1
- package/resources/resource-sharing/recipients.d.ts.map +1 -1
- package/resources/resource-sharing/recipients.js +5 -2
- package/resources/resource-sharing/recipients.js.map +1 -1
- package/resources/resource-sharing/recipients.mjs +5 -2
- package/resources/resource-sharing/recipients.mjs.map +1 -1
- package/resources/resource-sharing/resource-sharing.d.ts +347 -2
- package/resources/resource-sharing/resource-sharing.d.ts.map +1 -1
- package/resources/resource-sharing/resource-sharing.js +5 -2
- package/resources/resource-sharing/resource-sharing.js.map +1 -1
- package/resources/resource-sharing/resource-sharing.mjs +5 -2
- package/resources/resource-sharing/resource-sharing.mjs.map +1 -1
- package/resources/resource-sharing/resources.d.ts +7 -7
- package/resources/resource-sharing/resources.d.ts.map +1 -1
- package/resources/resource-sharing/resources.js.map +1 -1
- package/resources/resource-sharing/resources.mjs.map +1 -1
- package/resources/rules/lists/items.d.ts +9 -0
- package/resources/rules/lists/items.d.ts.map +1 -1
- package/resources/rules/lists/items.js +9 -0
- package/resources/rules/lists/items.js.map +1 -1
- package/resources/rules/lists/items.mjs +9 -0
- package/resources/rules/lists/items.mjs.map +1 -1
- package/resources/snippets/snippets.d.ts +1 -4
- package/resources/snippets/snippets.d.ts.map +1 -1
- package/resources/snippets/snippets.js.map +1 -1
- package/resources/snippets/snippets.mjs.map +1 -1
- package/resources/stream/downloads.d.ts +4 -2
- package/resources/stream/downloads.d.ts.map +1 -1
- package/resources/stream/downloads.js +4 -2
- package/resources/stream/downloads.js.map +1 -1
- package/resources/stream/downloads.mjs +4 -2
- package/resources/stream/downloads.mjs.map +1 -1
- package/resources/workers/beta/beta.d.ts +2 -2
- package/resources/workers/beta/beta.d.ts.map +1 -1
- package/resources/workers/beta/beta.js.map +1 -1
- package/resources/workers/beta/beta.mjs.map +1 -1
- package/resources/workers/beta/index.d.ts +1 -1
- package/resources/workers/beta/index.d.ts.map +1 -1
- package/resources/workers/beta/index.js.map +1 -1
- package/resources/workers/beta/index.mjs.map +1 -1
- package/resources/workers/beta/workers/index.d.ts +1 -1
- package/resources/workers/beta/workers/index.d.ts.map +1 -1
- package/resources/workers/beta/workers/index.js.map +1 -1
- package/resources/workers/beta/workers/index.mjs.map +1 -1
- package/resources/workers/beta/workers/versions.d.ts +276 -17
- package/resources/workers/beta/workers/versions.d.ts.map +1 -1
- package/resources/workers/beta/workers/versions.js +8 -7
- package/resources/workers/beta/workers/versions.js.map +1 -1
- package/resources/workers/beta/workers/versions.mjs +8 -7
- package/resources/workers/beta/workers/versions.mjs.map +1 -1
- package/resources/workers/beta/workers/workers.d.ts +133 -18
- package/resources/workers/beta/workers/workers.d.ts.map +1 -1
- package/resources/workers/beta/workers/workers.js +35 -4
- package/resources/workers/beta/workers/workers.js.map +1 -1
- package/resources/workers/beta/workers/workers.mjs +35 -4
- package/resources/workers/beta/workers/workers.mjs.map +1 -1
- package/resources/workers/index.d.ts +1 -1
- package/resources/workers/index.d.ts.map +1 -1
- package/resources/workers/index.js.map +1 -1
- package/resources/workers/index.mjs.map +1 -1
- package/resources/workers/scripts/index.d.ts +1 -1
- package/resources/workers/scripts/index.d.ts.map +1 -1
- package/resources/workers/scripts/index.js.map +1 -1
- package/resources/workers/scripts/index.mjs.map +1 -1
- package/resources/workers/scripts/script-and-version-settings.d.ts +354 -15
- package/resources/workers/scripts/script-and-version-settings.d.ts.map +1 -1
- package/resources/workers/scripts/scripts.d.ts +206 -10
- package/resources/workers/scripts/scripts.d.ts.map +1 -1
- package/resources/workers/scripts/scripts.js +17 -0
- package/resources/workers/scripts/scripts.js.map +1 -1
- package/resources/workers/scripts/scripts.mjs +17 -0
- package/resources/workers/scripts/scripts.mjs.map +1 -1
- package/resources/workers/scripts/secrets.d.ts +10 -2
- package/resources/workers/scripts/secrets.d.ts.map +1 -1
- package/resources/workers/scripts/secrets.js +10 -4
- package/resources/workers/scripts/secrets.js.map +1 -1
- package/resources/workers/scripts/secrets.mjs +10 -4
- package/resources/workers/scripts/secrets.mjs.map +1 -1
- package/resources/workers/scripts/settings.d.ts +12 -0
- package/resources/workers/scripts/settings.d.ts.map +1 -1
- package/resources/workers/scripts/versions.d.ts +327 -12
- package/resources/workers/scripts/versions.d.ts.map +1 -1
- package/resources/workers/scripts/versions.js.map +1 -1
- package/resources/workers/scripts/versions.mjs.map +1 -1
- package/resources/workers/workers.d.ts +2 -2
- package/resources/workers/workers.d.ts.map +1 -1
- package/resources/workers/workers.js.map +1 -1
- package/resources/workers/workers.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.d.ts +109 -4
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts +121 -9
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.d.ts +10 -2
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.js +4 -4
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.mjs +4 -4
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts +354 -15
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.d.ts +2 -8
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.js +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.mjs +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.mjs.map +1 -1
- package/resources/workflows/instances/instances.d.ts +5 -0
- package/resources/workflows/instances/instances.d.ts.map +1 -1
- package/resources/workflows/instances/instances.js.map +1 -1
- package/resources/workflows/instances/instances.mjs.map +1 -1
- package/resources/zero-trust/access/applications/applications.d.ts +0 -84
- package/resources/zero-trust/access/applications/applications.d.ts.map +1 -1
- package/resources/zero-trust/access/applications/applications.js.map +1 -1
- package/resources/zero-trust/access/applications/applications.mjs.map +1 -1
- package/resources/zero-trust/access/bookmarks.d.ts +0 -2
- package/resources/zero-trust/access/bookmarks.d.ts.map +1 -1
- package/resources/zero-trust/access/bookmarks.js.map +1 -1
- package/resources/zero-trust/access/bookmarks.mjs.map +1 -1
- package/resources/zero-trust/access/certificates/certificates.d.ts +0 -2
- package/resources/zero-trust/access/certificates/certificates.d.ts.map +1 -1
- package/resources/zero-trust/access/certificates/certificates.js.map +1 -1
- package/resources/zero-trust/access/certificates/certificates.mjs.map +1 -1
- package/resources/zero-trust/access/custom-pages.d.ts +0 -20
- package/resources/zero-trust/access/custom-pages.d.ts.map +1 -1
- package/resources/zero-trust/access/custom-pages.js.map +1 -1
- package/resources/zero-trust/access/custom-pages.mjs.map +1 -1
- package/resources/zero-trust/access/groups.d.ts +0 -8
- package/resources/zero-trust/access/groups.d.ts.map +1 -1
- package/resources/zero-trust/access/groups.js.map +1 -1
- package/resources/zero-trust/access/groups.mjs.map +1 -1
- package/resources/zero-trust/access/service-tokens.d.ts +37 -8
- package/resources/zero-trust/access/service-tokens.d.ts.map +1 -1
- package/resources/zero-trust/access/service-tokens.js +5 -2
- package/resources/zero-trust/access/service-tokens.js.map +1 -1
- package/resources/zero-trust/access/service-tokens.mjs +5 -2
- package/resources/zero-trust/access/service-tokens.mjs.map +1 -1
- package/resources/zero-trust/access/tags.d.ts +0 -6
- package/resources/zero-trust/access/tags.d.ts.map +1 -1
- package/resources/zero-trust/access/tags.js.map +1 -1
- package/resources/zero-trust/access/tags.mjs.map +1 -1
- package/resources/zero-trust/devices/devices_.d.ts +94 -1
- package/resources/zero-trust/devices/devices_.d.ts.map +1 -1
- package/resources/zero-trust/devices/devices_.js +5 -2
- package/resources/zero-trust/devices/devices_.js.map +1 -1
- package/resources/zero-trust/devices/devices_.mjs +5 -2
- package/resources/zero-trust/devices/devices_.mjs.map +1 -1
- package/resources/zero-trust/devices/registrations.d.ts +70 -1
- package/resources/zero-trust/devices/registrations.d.ts.map +1 -1
- package/resources/zero-trust/devices/registrations.js +5 -2
- package/resources/zero-trust/devices/registrations.js.map +1 -1
- package/resources/zero-trust/devices/registrations.mjs +5 -2
- package/resources/zero-trust/devices/registrations.mjs.map +1 -1
- package/resources/zero-trust/gateway/app-types.d.ts +10 -10
- package/resources/zero-trust/gateway/app-types.js +1 -1
- package/resources/zero-trust/gateway/app-types.mjs +1 -1
- package/resources/zero-trust/gateway/audit-ssh-settings.d.ts +11 -11
- package/resources/zero-trust/gateway/audit-ssh-settings.js +5 -5
- package/resources/zero-trust/gateway/audit-ssh-settings.mjs +5 -5
- package/resources/zero-trust/gateway/categories.d.ts +17 -19
- package/resources/zero-trust/gateway/categories.d.ts.map +1 -1
- package/resources/zero-trust/gateway/categories.js +1 -1
- package/resources/zero-trust/gateway/categories.js.map +1 -1
- package/resources/zero-trust/gateway/categories.mjs +1 -1
- package/resources/zero-trust/gateway/categories.mjs.map +1 -1
- package/resources/zero-trust/gateway/certificates.d.ts +84 -83
- package/resources/zero-trust/gateway/certificates.d.ts.map +1 -1
- package/resources/zero-trust/gateway/certificates.js +7 -7
- package/resources/zero-trust/gateway/certificates.js.map +1 -1
- package/resources/zero-trust/gateway/certificates.mjs +7 -7
- package/resources/zero-trust/gateway/certificates.mjs.map +1 -1
- package/resources/zero-trust/gateway/configurations/configurations.d.ts +212 -192
- package/resources/zero-trust/gateway/configurations/configurations.d.ts.map +1 -1
- package/resources/zero-trust/gateway/configurations/configurations.js +7 -7
- package/resources/zero-trust/gateway/configurations/configurations.js.map +1 -1
- package/resources/zero-trust/gateway/configurations/configurations.mjs +7 -7
- package/resources/zero-trust/gateway/configurations/configurations.mjs.map +1 -1
- package/resources/zero-trust/gateway/configurations/custom-certificate.d.ts +1 -1
- package/resources/zero-trust/gateway/configurations/custom-certificate.js +1 -1
- package/resources/zero-trust/gateway/configurations/custom-certificate.mjs +1 -1
- package/resources/zero-trust/gateway/gateway.d.ts +8 -8
- package/resources/zero-trust/gateway/gateway.js +2 -2
- package/resources/zero-trust/gateway/gateway.mjs +2 -2
- package/resources/zero-trust/gateway/lists/items.d.ts +2 -2
- package/resources/zero-trust/gateway/lists/items.js +1 -1
- package/resources/zero-trust/gateway/lists/items.mjs +1 -1
- package/resources/zero-trust/gateway/lists/lists.d.ts +32 -32
- package/resources/zero-trust/gateway/lists/lists.js +3 -3
- package/resources/zero-trust/gateway/lists/lists.mjs +3 -3
- package/resources/zero-trust/gateway/locations.d.ts +84 -98
- package/resources/zero-trust/gateway/locations.d.ts.map +1 -1
- package/resources/zero-trust/gateway/locations.js +5 -5
- package/resources/zero-trust/gateway/locations.js.map +1 -1
- package/resources/zero-trust/gateway/locations.mjs +5 -5
- package/resources/zero-trust/gateway/locations.mjs.map +1 -1
- package/resources/zero-trust/gateway/logging.d.ts +60 -23
- package/resources/zero-trust/gateway/logging.d.ts.map +1 -1
- package/resources/zero-trust/gateway/logging.js +2 -2
- package/resources/zero-trust/gateway/logging.mjs +2 -2
- package/resources/zero-trust/gateway/proxy-endpoints.d.ts +16 -16
- package/resources/zero-trust/gateway/proxy-endpoints.js +5 -5
- package/resources/zero-trust/gateway/proxy-endpoints.mjs +5 -5
- package/resources/zero-trust/gateway/rules.d.ts +514 -439
- package/resources/zero-trust/gateway/rules.d.ts.map +1 -1
- package/resources/zero-trust/gateway/rules.js +8 -10
- package/resources/zero-trust/gateway/rules.js.map +1 -1
- package/resources/zero-trust/gateway/rules.mjs +8 -10
- package/resources/zero-trust/gateway/rules.mjs.map +1 -1
- package/resources/zero-trust/networks/hostname-routes.d.ts +188 -0
- package/resources/zero-trust/networks/hostname-routes.d.ts.map +1 -0
- package/resources/zero-trust/networks/hostname-routes.js +100 -0
- package/resources/zero-trust/networks/hostname-routes.js.map +1 -0
- package/resources/zero-trust/networks/hostname-routes.mjs +95 -0
- package/resources/zero-trust/networks/hostname-routes.mjs.map +1 -0
- package/resources/zero-trust/networks/index.d.ts +1 -0
- package/resources/zero-trust/networks/index.d.ts.map +1 -1
- package/resources/zero-trust/networks/index.js +4 -1
- package/resources/zero-trust/networks/index.js.map +1 -1
- package/resources/zero-trust/networks/index.mjs +1 -0
- package/resources/zero-trust/networks/index.mjs.map +1 -1
- package/resources/zero-trust/networks/networks.d.ts +4 -0
- package/resources/zero-trust/networks/networks.d.ts.map +1 -1
- package/resources/zero-trust/networks/networks.js +5 -0
- package/resources/zero-trust/networks/networks.js.map +1 -1
- package/resources/zero-trust/networks/networks.mjs +5 -0
- package/resources/zero-trust/networks/networks.mjs.map +1 -1
- package/resources/zero-trust/organizations/doh.d.ts +0 -6
- package/resources/zero-trust/organizations/doh.d.ts.map +1 -1
- package/resources/zero-trust/organizations/organizations.d.ts +0 -2
- package/resources/zero-trust/organizations/organizations.d.ts.map +1 -1
- package/resources/zero-trust/organizations/organizations.js.map +1 -1
- package/resources/zero-trust/organizations/organizations.mjs.map +1 -1
- package/resources/zero-trust/tunnels/cloudflared/configurations.d.ts +0 -24
- package/resources/zero-trust/tunnels/cloudflared/configurations.d.ts.map +1 -1
- package/src/resources/addressing/prefixes/prefixes.ts +16 -8
- package/src/resources/ai/ai.ts +17 -0
- package/src/resources/ai/index.ts +6 -0
- package/src/resources/ai/to-markdown.ts +61 -0
- package/src/resources/ai-gateway/ai-gateway.ts +282 -12
- package/src/resources/ai-gateway/logs.ts +4 -2
- package/src/resources/alerting/destinations/pagerduty.ts +12 -25
- package/src/resources/alerting/destinations/webhooks.ts +12 -25
- package/src/resources/alerting/policies.ts +14 -3
- package/src/resources/bot-management.ts +61 -0
- package/src/resources/browser-rendering/json.ts +1 -1
- package/src/resources/browser-rendering/links.ts +5 -0
- package/src/resources/calls/turn.ts +5 -1
- package/src/resources/cloudforce-one/threat-events/crons.ts +1 -67
- package/src/resources/cloudforce-one/threat-events/datasets/datasets.ts +2 -6
- package/src/resources/cloudforce-one/threat-events/datasets/health.ts +1 -175
- package/src/resources/cloudforce-one/threat-events/datasets/index.ts +1 -1
- package/src/resources/cloudforce-one/threat-events/index.ts +1 -7
- package/src/resources/cloudforce-one/threat-events/tags.ts +110 -5
- package/src/resources/cloudforce-one/threat-events/threat-events.ts +45 -10
- package/src/resources/dns/dns.ts +15 -2
- package/src/resources/dns/index.ts +7 -1
- package/src/resources/dns/records.ts +267 -8
- package/src/resources/dns/settings/account/account.ts +48 -45
- package/src/resources/dns/settings/index.ts +1 -1
- package/src/resources/dns/settings/settings.ts +0 -104
- package/src/resources/dns/settings/zone.ts +49 -46
- package/src/resources/dns-firewall/dns-firewall.ts +156 -48
- package/src/resources/email-routing/dns.ts +2 -4
- package/src/resources/email-security/settings/domains.ts +12 -0
- package/src/resources/images/v1/stats.ts +3 -1
- package/src/resources/intel/indicator-feeds/downloads.ts +1 -55
- package/src/resources/intel/indicator-feeds/index.ts +1 -1
- package/src/resources/intel/indicator-feeds/indicator-feeds.ts +2 -6
- package/src/resources/load-balancers/index.ts +11 -0
- package/src/resources/load-balancers/load-balancers.ts +27 -0
- package/src/resources/load-balancers/monitor-groups.ts +436 -0
- package/src/resources/load-balancers/pools/pools.ts +24 -0
- package/src/resources/logs/rayid.ts +1 -1
- package/src/resources/logs/received/fields.ts +1 -1
- package/src/resources/logs/received/received.ts +1 -1
- package/src/resources/magic-transit/cf-interconnects.ts +30 -0
- package/src/resources/magic-transit/gre-tunnels.ts +48 -0
- package/src/resources/magic-transit/ipsec-tunnels.ts +144 -0
- package/src/resources/magic-transit/pcaps/download.ts +1 -1
- package/src/resources/magic-transit/pcaps/ownership.ts +4 -4
- package/src/resources/magic-transit/pcaps/pcaps.ts +6 -6
- package/src/resources/page-rules.ts +20 -4
- package/src/resources/page-shield/connections.ts +1 -1
- package/src/resources/page-shield/cookies.ts +1 -1
- package/src/resources/page-shield/scripts.ts +1 -1
- package/src/resources/radar/ai/inference/summary.ts +2 -10
- package/src/resources/radar/ai/inference/timeseries-groups/summary.ts +2 -10
- package/src/resources/radar/entities/asns.ts +86 -0
- package/src/resources/radar/entities/entities.ts +4 -0
- package/src/resources/radar/entities/index.ts +2 -0
- package/src/resources/radar/http/ases/ases.ts +8 -0
- package/src/resources/radar/http/ases/bot-class.ts +8 -0
- package/src/resources/radar/http/ases/browser-family.ts +8 -0
- package/src/resources/radar/http/ases/device-type.ts +8 -0
- package/src/resources/radar/http/ases/http-method.ts +8 -0
- package/src/resources/radar/http/ases/http-protocol.ts +8 -0
- package/src/resources/radar/http/ases/ip-version.ts +8 -0
- package/src/resources/radar/http/ases/os.ts +8 -0
- package/src/resources/radar/http/ases/tls-version.ts +8 -0
- package/src/resources/radar/http/http.ts +8 -0
- package/src/resources/radar/http/locations/bot-class.ts +8 -0
- package/src/resources/radar/http/locations/browser-family.ts +8 -0
- package/src/resources/radar/http/locations/device-type.ts +8 -0
- package/src/resources/radar/http/locations/http-method.ts +8 -0
- package/src/resources/radar/http/locations/http-protocol.ts +8 -0
- package/src/resources/radar/http/locations/ip-version.ts +8 -0
- package/src/resources/radar/http/locations/locations.ts +8 -0
- package/src/resources/radar/http/locations/os.ts +8 -0
- package/src/resources/radar/http/locations/tls-version.ts +8 -0
- package/src/resources/radar/http/summary.ts +72 -38
- package/src/resources/radar/http/timeseries-groups.ts +90 -50
- package/src/resources/radar/http/top.ts +16 -0
- package/src/resources/radar/leaked-credentials/summary.ts +2 -10
- package/src/resources/radar/leaked-credentials/timeseries-groups.ts +2 -10
- package/src/resources/radar/netflows/netflows.ts +17 -4
- package/src/resources/radar/netflows/top.ts +16 -0
- package/src/resources/radar/search.ts +2 -0
- package/src/resources/request-tracers/traces.ts +1 -1
- package/src/resources/resource-sharing/recipients.ts +100 -6
- package/src/resources/resource-sharing/resource-sharing.ts +470 -6
- package/src/resources/resource-sharing/resources.ts +49 -7
- package/src/resources/rules/lists/items.ts +9 -0
- package/src/resources/snippets/snippets.ts +2 -5
- package/src/resources/stream/downloads.ts +4 -2
- package/src/resources/workers/beta/beta.ts +2 -0
- package/src/resources/workers/beta/index.ts +1 -0
- package/src/resources/workers/beta/workers/index.ts +1 -0
- package/src/resources/workers/beta/workers/versions.ts +331 -16
- package/src/resources/workers/beta/workers/workers.ts +160 -18
- package/src/resources/workers/index.ts +2 -0
- package/src/resources/workers/scripts/index.ts +2 -0
- package/src/resources/workers/scripts/script-and-version-settings.ts +438 -12
- package/src/resources/workers/scripts/scripts.ts +261 -8
- package/src/resources/workers/scripts/secrets.ts +22 -12
- package/src/resources/workers/scripts/settings.ts +15 -0
- package/src/resources/workers/scripts/versions.ts +405 -9
- package/src/resources/workers/workers.ts +4 -0
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.ts +136 -4
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.ts +149 -8
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.ts +16 -6
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.ts +438 -12
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.ts +2 -8
- package/src/resources/workflows/instances/instances.ts +6 -0
- package/src/resources/zero-trust/access/applications/applications.ts +0 -168
- package/src/resources/zero-trust/access/bookmarks.ts +0 -4
- package/src/resources/zero-trust/access/certificates/certificates.ts +0 -4
- package/src/resources/zero-trust/access/custom-pages.ts +0 -28
- package/src/resources/zero-trust/access/groups.ts +0 -16
- package/src/resources/zero-trust/access/service-tokens.ts +47 -20
- package/src/resources/zero-trust/access/tags.ts +0 -9
- package/src/resources/zero-trust/devices/devices_.ts +114 -6
- package/src/resources/zero-trust/devices/registrations.ts +88 -6
- package/src/resources/zero-trust/gateway/app-types.ts +10 -10
- package/src/resources/zero-trust/gateway/audit-ssh-settings.ts +11 -11
- package/src/resources/zero-trust/gateway/categories.ts +17 -19
- package/src/resources/zero-trust/gateway/certificates.ts +84 -83
- package/src/resources/zero-trust/gateway/configurations/configurations.ts +212 -192
- package/src/resources/zero-trust/gateway/configurations/custom-certificate.ts +1 -1
- package/src/resources/zero-trust/gateway/gateway.ts +8 -8
- package/src/resources/zero-trust/gateway/lists/items.ts +2 -2
- package/src/resources/zero-trust/gateway/lists/lists.ts +32 -32
- package/src/resources/zero-trust/gateway/locations.ts +84 -98
- package/src/resources/zero-trust/gateway/logging.ts +60 -23
- package/src/resources/zero-trust/gateway/proxy-endpoints.ts +16 -16
- package/src/resources/zero-trust/gateway/rules.ts +515 -440
- package/src/resources/zero-trust/networks/hostname-routes.ts +283 -0
- package/src/resources/zero-trust/networks/index.ts +10 -0
- package/src/resources/zero-trust/networks/networks.ts +25 -0
- package/src/resources/zero-trust/organizations/doh.ts +0 -12
- package/src/resources/zero-trust/organizations/organizations.ts +0 -4
- package/src/resources/zero-trust/tunnels/cloudflared/configurations.ts +0 -28
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -165,11 +165,12 @@ export class ResourceSharing extends APIResource {
|
|
|
165
165
|
params: ResourceSharingGetParams,
|
|
166
166
|
options?: Core.RequestOptions,
|
|
167
167
|
): Core.APIPromise<ResourceSharingGetResponse> {
|
|
168
|
-
const { account_id } = params;
|
|
168
|
+
const { account_id, ...query } = params;
|
|
169
169
|
return (
|
|
170
|
-
this._client.get(`/accounts/${account_id}/shares/${shareId}`,
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
this._client.get(`/accounts/${account_id}/shares/${shareId}`, {
|
|
171
|
+
query,
|
|
172
|
+
...options,
|
|
173
|
+
}) as Core.APIPromise<{ result: ResourceSharingGetResponse }>
|
|
173
174
|
)._thenUnwrap((obj) => obj.result);
|
|
174
175
|
}
|
|
175
176
|
}
|
|
@@ -216,7 +217,92 @@ export interface ResourceSharingCreateResponse {
|
|
|
216
217
|
|
|
217
218
|
target_type: 'account' | 'organization';
|
|
218
219
|
|
|
220
|
+
/**
|
|
221
|
+
* The number of recipients in the 'associated' state. This field is only included
|
|
222
|
+
* when requested via the 'include_recipient_counts' parameter.
|
|
223
|
+
*/
|
|
224
|
+
associated_recipient_count?: number;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* The number of recipients in the 'associating' state. This field is only included
|
|
228
|
+
* when requested via the 'include_recipient_counts' parameter.
|
|
229
|
+
*/
|
|
230
|
+
associating_recipient_count?: number;
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* The number of recipients in the 'disassociated' state. This field is only
|
|
234
|
+
* included when requested via the 'include_recipient_counts' parameter.
|
|
235
|
+
*/
|
|
236
|
+
disassociated_recipient_count?: number;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* The number of recipients in the 'disassociating' state. This field is only
|
|
240
|
+
* included when requested via the 'include_recipient_counts' parameter.
|
|
241
|
+
*/
|
|
242
|
+
disassociating_recipient_count?: number;
|
|
243
|
+
|
|
219
244
|
kind?: 'sent' | 'received';
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* A list of resources that are part of the share. This field is only included when
|
|
248
|
+
* requested via the 'include_resources' parameter.
|
|
249
|
+
*/
|
|
250
|
+
resources?: Array<ResourceSharingCreateResponse.Resource>;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export namespace ResourceSharingCreateResponse {
|
|
254
|
+
export interface Resource {
|
|
255
|
+
/**
|
|
256
|
+
* Share Resource identifier.
|
|
257
|
+
*/
|
|
258
|
+
id: string;
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* When the share was created.
|
|
262
|
+
*/
|
|
263
|
+
created: string;
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Resource Metadata.
|
|
267
|
+
*/
|
|
268
|
+
meta: unknown;
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* When the share was modified.
|
|
272
|
+
*/
|
|
273
|
+
modified: string;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Account identifier.
|
|
277
|
+
*/
|
|
278
|
+
resource_account_id: string;
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Share Resource identifier.
|
|
282
|
+
*/
|
|
283
|
+
resource_id: string;
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* Resource Type.
|
|
287
|
+
*/
|
|
288
|
+
resource_type:
|
|
289
|
+
| 'custom-ruleset'
|
|
290
|
+
| 'widget'
|
|
291
|
+
| 'gateway-policy'
|
|
292
|
+
| 'gateway-destination-ip'
|
|
293
|
+
| 'gateway-block-page-settings'
|
|
294
|
+
| 'gateway-extended-email-matching';
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Resource Version.
|
|
298
|
+
*/
|
|
299
|
+
resource_version: number;
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* Resource Status.
|
|
303
|
+
*/
|
|
304
|
+
status: 'active' | 'deleting' | 'deleted';
|
|
305
|
+
}
|
|
220
306
|
}
|
|
221
307
|
|
|
222
308
|
export interface ResourceSharingUpdateResponse {
|
|
@@ -259,7 +345,92 @@ export interface ResourceSharingUpdateResponse {
|
|
|
259
345
|
|
|
260
346
|
target_type: 'account' | 'organization';
|
|
261
347
|
|
|
348
|
+
/**
|
|
349
|
+
* The number of recipients in the 'associated' state. This field is only included
|
|
350
|
+
* when requested via the 'include_recipient_counts' parameter.
|
|
351
|
+
*/
|
|
352
|
+
associated_recipient_count?: number;
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* The number of recipients in the 'associating' state. This field is only included
|
|
356
|
+
* when requested via the 'include_recipient_counts' parameter.
|
|
357
|
+
*/
|
|
358
|
+
associating_recipient_count?: number;
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* The number of recipients in the 'disassociated' state. This field is only
|
|
362
|
+
* included when requested via the 'include_recipient_counts' parameter.
|
|
363
|
+
*/
|
|
364
|
+
disassociated_recipient_count?: number;
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* The number of recipients in the 'disassociating' state. This field is only
|
|
368
|
+
* included when requested via the 'include_recipient_counts' parameter.
|
|
369
|
+
*/
|
|
370
|
+
disassociating_recipient_count?: number;
|
|
371
|
+
|
|
262
372
|
kind?: 'sent' | 'received';
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* A list of resources that are part of the share. This field is only included when
|
|
376
|
+
* requested via the 'include_resources' parameter.
|
|
377
|
+
*/
|
|
378
|
+
resources?: Array<ResourceSharingUpdateResponse.Resource>;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
export namespace ResourceSharingUpdateResponse {
|
|
382
|
+
export interface Resource {
|
|
383
|
+
/**
|
|
384
|
+
* Share Resource identifier.
|
|
385
|
+
*/
|
|
386
|
+
id: string;
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* When the share was created.
|
|
390
|
+
*/
|
|
391
|
+
created: string;
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* Resource Metadata.
|
|
395
|
+
*/
|
|
396
|
+
meta: unknown;
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* When the share was modified.
|
|
400
|
+
*/
|
|
401
|
+
modified: string;
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* Account identifier.
|
|
405
|
+
*/
|
|
406
|
+
resource_account_id: string;
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* Share Resource identifier.
|
|
410
|
+
*/
|
|
411
|
+
resource_id: string;
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* Resource Type.
|
|
415
|
+
*/
|
|
416
|
+
resource_type:
|
|
417
|
+
| 'custom-ruleset'
|
|
418
|
+
| 'widget'
|
|
419
|
+
| 'gateway-policy'
|
|
420
|
+
| 'gateway-destination-ip'
|
|
421
|
+
| 'gateway-block-page-settings'
|
|
422
|
+
| 'gateway-extended-email-matching';
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* Resource Version.
|
|
426
|
+
*/
|
|
427
|
+
resource_version: number;
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* Resource Status.
|
|
431
|
+
*/
|
|
432
|
+
status: 'active' | 'deleting' | 'deleted';
|
|
433
|
+
}
|
|
263
434
|
}
|
|
264
435
|
|
|
265
436
|
export interface ResourceSharingListResponse {
|
|
@@ -302,7 +473,92 @@ export interface ResourceSharingListResponse {
|
|
|
302
473
|
|
|
303
474
|
target_type: 'account' | 'organization';
|
|
304
475
|
|
|
476
|
+
/**
|
|
477
|
+
* The number of recipients in the 'associated' state. This field is only included
|
|
478
|
+
* when requested via the 'include_recipient_counts' parameter.
|
|
479
|
+
*/
|
|
480
|
+
associated_recipient_count?: number;
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* The number of recipients in the 'associating' state. This field is only included
|
|
484
|
+
* when requested via the 'include_recipient_counts' parameter.
|
|
485
|
+
*/
|
|
486
|
+
associating_recipient_count?: number;
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* The number of recipients in the 'disassociated' state. This field is only
|
|
490
|
+
* included when requested via the 'include_recipient_counts' parameter.
|
|
491
|
+
*/
|
|
492
|
+
disassociated_recipient_count?: number;
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* The number of recipients in the 'disassociating' state. This field is only
|
|
496
|
+
* included when requested via the 'include_recipient_counts' parameter.
|
|
497
|
+
*/
|
|
498
|
+
disassociating_recipient_count?: number;
|
|
499
|
+
|
|
305
500
|
kind?: 'sent' | 'received';
|
|
501
|
+
|
|
502
|
+
/**
|
|
503
|
+
* A list of resources that are part of the share. This field is only included when
|
|
504
|
+
* requested via the 'include_resources' parameter.
|
|
505
|
+
*/
|
|
506
|
+
resources?: Array<ResourceSharingListResponse.Resource>;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
export namespace ResourceSharingListResponse {
|
|
510
|
+
export interface Resource {
|
|
511
|
+
/**
|
|
512
|
+
* Share Resource identifier.
|
|
513
|
+
*/
|
|
514
|
+
id: string;
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* When the share was created.
|
|
518
|
+
*/
|
|
519
|
+
created: string;
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
* Resource Metadata.
|
|
523
|
+
*/
|
|
524
|
+
meta: unknown;
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* When the share was modified.
|
|
528
|
+
*/
|
|
529
|
+
modified: string;
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* Account identifier.
|
|
533
|
+
*/
|
|
534
|
+
resource_account_id: string;
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* Share Resource identifier.
|
|
538
|
+
*/
|
|
539
|
+
resource_id: string;
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
* Resource Type.
|
|
543
|
+
*/
|
|
544
|
+
resource_type:
|
|
545
|
+
| 'custom-ruleset'
|
|
546
|
+
| 'widget'
|
|
547
|
+
| 'gateway-policy'
|
|
548
|
+
| 'gateway-destination-ip'
|
|
549
|
+
| 'gateway-block-page-settings'
|
|
550
|
+
| 'gateway-extended-email-matching';
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* Resource Version.
|
|
554
|
+
*/
|
|
555
|
+
resource_version: number;
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* Resource Status.
|
|
559
|
+
*/
|
|
560
|
+
status: 'active' | 'deleting' | 'deleted';
|
|
561
|
+
}
|
|
306
562
|
}
|
|
307
563
|
|
|
308
564
|
export interface ResourceSharingDeleteResponse {
|
|
@@ -345,7 +601,92 @@ export interface ResourceSharingDeleteResponse {
|
|
|
345
601
|
|
|
346
602
|
target_type: 'account' | 'organization';
|
|
347
603
|
|
|
604
|
+
/**
|
|
605
|
+
* The number of recipients in the 'associated' state. This field is only included
|
|
606
|
+
* when requested via the 'include_recipient_counts' parameter.
|
|
607
|
+
*/
|
|
608
|
+
associated_recipient_count?: number;
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* The number of recipients in the 'associating' state. This field is only included
|
|
612
|
+
* when requested via the 'include_recipient_counts' parameter.
|
|
613
|
+
*/
|
|
614
|
+
associating_recipient_count?: number;
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* The number of recipients in the 'disassociated' state. This field is only
|
|
618
|
+
* included when requested via the 'include_recipient_counts' parameter.
|
|
619
|
+
*/
|
|
620
|
+
disassociated_recipient_count?: number;
|
|
621
|
+
|
|
622
|
+
/**
|
|
623
|
+
* The number of recipients in the 'disassociating' state. This field is only
|
|
624
|
+
* included when requested via the 'include_recipient_counts' parameter.
|
|
625
|
+
*/
|
|
626
|
+
disassociating_recipient_count?: number;
|
|
627
|
+
|
|
348
628
|
kind?: 'sent' | 'received';
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* A list of resources that are part of the share. This field is only included when
|
|
632
|
+
* requested via the 'include_resources' parameter.
|
|
633
|
+
*/
|
|
634
|
+
resources?: Array<ResourceSharingDeleteResponse.Resource>;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
export namespace ResourceSharingDeleteResponse {
|
|
638
|
+
export interface Resource {
|
|
639
|
+
/**
|
|
640
|
+
* Share Resource identifier.
|
|
641
|
+
*/
|
|
642
|
+
id: string;
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* When the share was created.
|
|
646
|
+
*/
|
|
647
|
+
created: string;
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* Resource Metadata.
|
|
651
|
+
*/
|
|
652
|
+
meta: unknown;
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* When the share was modified.
|
|
656
|
+
*/
|
|
657
|
+
modified: string;
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* Account identifier.
|
|
661
|
+
*/
|
|
662
|
+
resource_account_id: string;
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* Share Resource identifier.
|
|
666
|
+
*/
|
|
667
|
+
resource_id: string;
|
|
668
|
+
|
|
669
|
+
/**
|
|
670
|
+
* Resource Type.
|
|
671
|
+
*/
|
|
672
|
+
resource_type:
|
|
673
|
+
| 'custom-ruleset'
|
|
674
|
+
| 'widget'
|
|
675
|
+
| 'gateway-policy'
|
|
676
|
+
| 'gateway-destination-ip'
|
|
677
|
+
| 'gateway-block-page-settings'
|
|
678
|
+
| 'gateway-extended-email-matching';
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* Resource Version.
|
|
682
|
+
*/
|
|
683
|
+
resource_version: number;
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* Resource Status.
|
|
687
|
+
*/
|
|
688
|
+
status: 'active' | 'deleting' | 'deleted';
|
|
689
|
+
}
|
|
349
690
|
}
|
|
350
691
|
|
|
351
692
|
export interface ResourceSharingGetResponse {
|
|
@@ -388,7 +729,92 @@ export interface ResourceSharingGetResponse {
|
|
|
388
729
|
|
|
389
730
|
target_type: 'account' | 'organization';
|
|
390
731
|
|
|
732
|
+
/**
|
|
733
|
+
* The number of recipients in the 'associated' state. This field is only included
|
|
734
|
+
* when requested via the 'include_recipient_counts' parameter.
|
|
735
|
+
*/
|
|
736
|
+
associated_recipient_count?: number;
|
|
737
|
+
|
|
738
|
+
/**
|
|
739
|
+
* The number of recipients in the 'associating' state. This field is only included
|
|
740
|
+
* when requested via the 'include_recipient_counts' parameter.
|
|
741
|
+
*/
|
|
742
|
+
associating_recipient_count?: number;
|
|
743
|
+
|
|
744
|
+
/**
|
|
745
|
+
* The number of recipients in the 'disassociated' state. This field is only
|
|
746
|
+
* included when requested via the 'include_recipient_counts' parameter.
|
|
747
|
+
*/
|
|
748
|
+
disassociated_recipient_count?: number;
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* The number of recipients in the 'disassociating' state. This field is only
|
|
752
|
+
* included when requested via the 'include_recipient_counts' parameter.
|
|
753
|
+
*/
|
|
754
|
+
disassociating_recipient_count?: number;
|
|
755
|
+
|
|
391
756
|
kind?: 'sent' | 'received';
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* A list of resources that are part of the share. This field is only included when
|
|
760
|
+
* requested via the 'include_resources' parameter.
|
|
761
|
+
*/
|
|
762
|
+
resources?: Array<ResourceSharingGetResponse.Resource>;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
export namespace ResourceSharingGetResponse {
|
|
766
|
+
export interface Resource {
|
|
767
|
+
/**
|
|
768
|
+
* Share Resource identifier.
|
|
769
|
+
*/
|
|
770
|
+
id: string;
|
|
771
|
+
|
|
772
|
+
/**
|
|
773
|
+
* When the share was created.
|
|
774
|
+
*/
|
|
775
|
+
created: string;
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* Resource Metadata.
|
|
779
|
+
*/
|
|
780
|
+
meta: unknown;
|
|
781
|
+
|
|
782
|
+
/**
|
|
783
|
+
* When the share was modified.
|
|
784
|
+
*/
|
|
785
|
+
modified: string;
|
|
786
|
+
|
|
787
|
+
/**
|
|
788
|
+
* Account identifier.
|
|
789
|
+
*/
|
|
790
|
+
resource_account_id: string;
|
|
791
|
+
|
|
792
|
+
/**
|
|
793
|
+
* Share Resource identifier.
|
|
794
|
+
*/
|
|
795
|
+
resource_id: string;
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* Resource Type.
|
|
799
|
+
*/
|
|
800
|
+
resource_type:
|
|
801
|
+
| 'custom-ruleset'
|
|
802
|
+
| 'widget'
|
|
803
|
+
| 'gateway-policy'
|
|
804
|
+
| 'gateway-destination-ip'
|
|
805
|
+
| 'gateway-block-page-settings'
|
|
806
|
+
| 'gateway-extended-email-matching';
|
|
807
|
+
|
|
808
|
+
/**
|
|
809
|
+
* Resource Version.
|
|
810
|
+
*/
|
|
811
|
+
resource_version: number;
|
|
812
|
+
|
|
813
|
+
/**
|
|
814
|
+
* Resource Status.
|
|
815
|
+
*/
|
|
816
|
+
status: 'active' | 'deleting' | 'deleted';
|
|
817
|
+
}
|
|
392
818
|
}
|
|
393
819
|
|
|
394
820
|
export interface ResourceSharingCreateParams {
|
|
@@ -448,7 +874,13 @@ export namespace ResourceSharingCreateParams {
|
|
|
448
874
|
/**
|
|
449
875
|
* Resource Type.
|
|
450
876
|
*/
|
|
451
|
-
resource_type:
|
|
877
|
+
resource_type:
|
|
878
|
+
| 'custom-ruleset'
|
|
879
|
+
| 'widget'
|
|
880
|
+
| 'gateway-policy'
|
|
881
|
+
| 'gateway-destination-ip'
|
|
882
|
+
| 'gateway-block-page-settings'
|
|
883
|
+
| 'gateway-extended-email-matching';
|
|
452
884
|
}
|
|
453
885
|
}
|
|
454
886
|
|
|
@@ -475,6 +907,16 @@ export interface ResourceSharingListParams extends V4PagePaginationArrayParams {
|
|
|
475
907
|
*/
|
|
476
908
|
direction?: 'asc' | 'desc';
|
|
477
909
|
|
|
910
|
+
/**
|
|
911
|
+
* Query param: Include recipient counts in the response.
|
|
912
|
+
*/
|
|
913
|
+
include_recipient_counts?: boolean;
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* Query param: Include resources in the response.
|
|
917
|
+
*/
|
|
918
|
+
include_resources?: boolean;
|
|
919
|
+
|
|
478
920
|
/**
|
|
479
921
|
* Query param: Filter shares by kind.
|
|
480
922
|
*/
|
|
@@ -485,6 +927,18 @@ export interface ResourceSharingListParams extends V4PagePaginationArrayParams {
|
|
|
485
927
|
*/
|
|
486
928
|
order?: 'name' | 'created';
|
|
487
929
|
|
|
930
|
+
/**
|
|
931
|
+
* Query param: Filter share resources by resource_types.
|
|
932
|
+
*/
|
|
933
|
+
resource_types?: Array<
|
|
934
|
+
| 'custom-ruleset'
|
|
935
|
+
| 'widget'
|
|
936
|
+
| 'gateway-policy'
|
|
937
|
+
| 'gateway-destination-ip'
|
|
938
|
+
| 'gateway-block-page-settings'
|
|
939
|
+
| 'gateway-extended-email-matching'
|
|
940
|
+
>;
|
|
941
|
+
|
|
488
942
|
/**
|
|
489
943
|
* Query param: Filter shares by status.
|
|
490
944
|
*/
|
|
@@ -505,9 +959,19 @@ export interface ResourceSharingDeleteParams {
|
|
|
505
959
|
|
|
506
960
|
export interface ResourceSharingGetParams {
|
|
507
961
|
/**
|
|
508
|
-
* Account identifier.
|
|
962
|
+
* Path param: Account identifier.
|
|
509
963
|
*/
|
|
510
964
|
account_id: string;
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* Query param: Include recipient counts in the response.
|
|
968
|
+
*/
|
|
969
|
+
include_recipient_counts?: boolean;
|
|
970
|
+
|
|
971
|
+
/**
|
|
972
|
+
* Query param: Include resources in the response.
|
|
973
|
+
*/
|
|
974
|
+
include_resources?: boolean;
|
|
511
975
|
}
|
|
512
976
|
|
|
513
977
|
ResourceSharing.ResourceSharingListResponsesV4PagePaginationArray =
|
|
@@ -190,7 +190,13 @@ export interface ResourceCreateResponse {
|
|
|
190
190
|
/**
|
|
191
191
|
* Resource Type.
|
|
192
192
|
*/
|
|
193
|
-
resource_type:
|
|
193
|
+
resource_type:
|
|
194
|
+
| 'custom-ruleset'
|
|
195
|
+
| 'widget'
|
|
196
|
+
| 'gateway-policy'
|
|
197
|
+
| 'gateway-destination-ip'
|
|
198
|
+
| 'gateway-block-page-settings'
|
|
199
|
+
| 'gateway-extended-email-matching';
|
|
194
200
|
|
|
195
201
|
/**
|
|
196
202
|
* Resource Version.
|
|
@@ -237,7 +243,13 @@ export interface ResourceUpdateResponse {
|
|
|
237
243
|
/**
|
|
238
244
|
* Resource Type.
|
|
239
245
|
*/
|
|
240
|
-
resource_type:
|
|
246
|
+
resource_type:
|
|
247
|
+
| 'custom-ruleset'
|
|
248
|
+
| 'widget'
|
|
249
|
+
| 'gateway-policy'
|
|
250
|
+
| 'gateway-destination-ip'
|
|
251
|
+
| 'gateway-block-page-settings'
|
|
252
|
+
| 'gateway-extended-email-matching';
|
|
241
253
|
|
|
242
254
|
/**
|
|
243
255
|
* Resource Version.
|
|
@@ -284,7 +296,13 @@ export interface ResourceListResponse {
|
|
|
284
296
|
/**
|
|
285
297
|
* Resource Type.
|
|
286
298
|
*/
|
|
287
|
-
resource_type:
|
|
299
|
+
resource_type:
|
|
300
|
+
| 'custom-ruleset'
|
|
301
|
+
| 'widget'
|
|
302
|
+
| 'gateway-policy'
|
|
303
|
+
| 'gateway-destination-ip'
|
|
304
|
+
| 'gateway-block-page-settings'
|
|
305
|
+
| 'gateway-extended-email-matching';
|
|
288
306
|
|
|
289
307
|
/**
|
|
290
308
|
* Resource Version.
|
|
@@ -331,7 +349,13 @@ export interface ResourceDeleteResponse {
|
|
|
331
349
|
/**
|
|
332
350
|
* Resource Type.
|
|
333
351
|
*/
|
|
334
|
-
resource_type:
|
|
352
|
+
resource_type:
|
|
353
|
+
| 'custom-ruleset'
|
|
354
|
+
| 'widget'
|
|
355
|
+
| 'gateway-policy'
|
|
356
|
+
| 'gateway-destination-ip'
|
|
357
|
+
| 'gateway-block-page-settings'
|
|
358
|
+
| 'gateway-extended-email-matching';
|
|
335
359
|
|
|
336
360
|
/**
|
|
337
361
|
* Resource Version.
|
|
@@ -378,7 +402,13 @@ export interface ResourceGetResponse {
|
|
|
378
402
|
/**
|
|
379
403
|
* Resource Type.
|
|
380
404
|
*/
|
|
381
|
-
resource_type:
|
|
405
|
+
resource_type:
|
|
406
|
+
| 'custom-ruleset'
|
|
407
|
+
| 'widget'
|
|
408
|
+
| 'gateway-policy'
|
|
409
|
+
| 'gateway-destination-ip'
|
|
410
|
+
| 'gateway-block-page-settings'
|
|
411
|
+
| 'gateway-extended-email-matching';
|
|
382
412
|
|
|
383
413
|
/**
|
|
384
414
|
* Resource Version.
|
|
@@ -415,7 +445,13 @@ export interface ResourceCreateParams {
|
|
|
415
445
|
/**
|
|
416
446
|
* Body param: Resource Type.
|
|
417
447
|
*/
|
|
418
|
-
resource_type:
|
|
448
|
+
resource_type:
|
|
449
|
+
| 'custom-ruleset'
|
|
450
|
+
| 'widget'
|
|
451
|
+
| 'gateway-policy'
|
|
452
|
+
| 'gateway-destination-ip'
|
|
453
|
+
| 'gateway-block-page-settings'
|
|
454
|
+
| 'gateway-extended-email-matching';
|
|
419
455
|
}
|
|
420
456
|
|
|
421
457
|
export interface ResourceUpdateParams {
|
|
@@ -439,7 +475,13 @@ export interface ResourceListParams extends V4PagePaginationArrayParams {
|
|
|
439
475
|
/**
|
|
440
476
|
* Query param: Filter share resources by resource_type.
|
|
441
477
|
*/
|
|
442
|
-
resource_type?:
|
|
478
|
+
resource_type?:
|
|
479
|
+
| 'custom-ruleset'
|
|
480
|
+
| 'widget'
|
|
481
|
+
| 'gateway-policy'
|
|
482
|
+
| 'gateway-destination-ip'
|
|
483
|
+
| 'gateway-block-page-settings'
|
|
484
|
+
| 'gateway-extended-email-matching';
|
|
443
485
|
|
|
444
486
|
/**
|
|
445
487
|
* Query param: Filter share resources by status.
|
|
@@ -12,6 +12,9 @@ export class Items extends APIResource {
|
|
|
12
12
|
* This operation is asynchronous. To get current the operation status, invoke the
|
|
13
13
|
* `Get bulk operation status` endpoint with the returned `operation_id`.
|
|
14
14
|
*
|
|
15
|
+
* There is a limit of 1 pending bulk operation per account. If an outstanding bulk
|
|
16
|
+
* operation is in progress, the request will be rejected.
|
|
17
|
+
*
|
|
15
18
|
* @example
|
|
16
19
|
* ```ts
|
|
17
20
|
* const item = await client.rules.lists.items.create(
|
|
@@ -44,6 +47,9 @@ export class Items extends APIResource {
|
|
|
44
47
|
* This operation is asynchronous. To get current the operation status, invoke the
|
|
45
48
|
* `Get bulk operation status` endpoint with the returned `operation_id`.
|
|
46
49
|
*
|
|
50
|
+
* There is a limit of 1 pending bulk operation per account. If an outstanding bulk
|
|
51
|
+
* operation is in progress, the request will be rejected.
|
|
52
|
+
*
|
|
47
53
|
* @example
|
|
48
54
|
* ```ts
|
|
49
55
|
* const item = await client.rules.lists.items.update(
|
|
@@ -102,6 +108,9 @@ export class Items extends APIResource {
|
|
|
102
108
|
* This operation is asynchronous. To get current the operation status, invoke the
|
|
103
109
|
* `Get bulk operation status` endpoint with the returned `operation_id`.
|
|
104
110
|
*
|
|
111
|
+
* There is a limit of 1 pending bulk operation per account. If an outstanding bulk
|
|
112
|
+
* operation is in progress, the request will be rejected.
|
|
113
|
+
*
|
|
105
114
|
* @example
|
|
106
115
|
* ```ts
|
|
107
116
|
* const item = await client.rules.lists.items.delete(
|
|
@@ -160,15 +160,12 @@ export interface SnippetUpdateParams {
|
|
|
160
160
|
*/
|
|
161
161
|
zone_id: string;
|
|
162
162
|
|
|
163
|
-
/**
|
|
164
|
-
* Body param: The list of files belonging to the snippet.
|
|
165
|
-
*/
|
|
166
|
-
files: Array<Core.Uploadable>;
|
|
167
|
-
|
|
168
163
|
/**
|
|
169
164
|
* Body param: Metadata about the snippet.
|
|
170
165
|
*/
|
|
171
166
|
metadata: SnippetUpdateParams.Metadata;
|
|
167
|
+
|
|
168
|
+
[k: string]: Array<Core.Uploadable> | string | SnippetUpdateParams.Metadata | undefined;
|
|
172
169
|
}
|
|
173
170
|
|
|
174
171
|
export namespace SnippetUpdateParams {
|