cloudflare 6.0.0 → 6.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 +293 -0
- package/index.d.mts +6 -0
- package/index.d.ts +6 -0
- package/index.d.ts.map +1 -1
- package/index.js +6 -0
- package/index.js.map +1 -1
- package/index.mjs +6 -0
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/acm/custom-trust-store.d.ts +9 -6
- package/resources/acm/custom-trust-store.d.ts.map +1 -1
- package/resources/acm/custom-trust-store.js +5 -4
- package/resources/acm/custom-trust-store.js.map +1 -1
- package/resources/acm/custom-trust-store.mjs +5 -4
- package/resources/acm/custom-trust-store.mjs.map +1 -1
- package/resources/ai-gateway/ai-gateway.d.ts +241 -0
- package/resources/ai-gateway/ai-gateway.d.ts.map +1 -1
- package/resources/ai-gateway/ai-gateway.js +4 -0
- package/resources/ai-gateway/ai-gateway.js.map +1 -1
- package/resources/ai-gateway/ai-gateway.mjs +4 -0
- package/resources/ai-gateway/ai-gateway.mjs.map +1 -1
- package/resources/ai-gateway/billing/billing.d.ts +202 -0
- package/resources/ai-gateway/billing/billing.d.ts.map +1 -0
- package/resources/ai-gateway/billing/billing.js +111 -0
- package/resources/ai-gateway/billing/billing.js.map +1 -0
- package/resources/ai-gateway/billing/billing.mjs +84 -0
- package/resources/ai-gateway/billing/billing.mjs.map +1 -0
- package/resources/ai-gateway/billing/index.d.ts +4 -0
- package/resources/ai-gateway/billing/index.d.ts.map +1 -0
- package/resources/ai-gateway/billing/index.js +11 -0
- package/resources/ai-gateway/billing/index.js.map +1 -0
- package/resources/ai-gateway/billing/index.mjs +5 -0
- package/resources/ai-gateway/billing/index.mjs.map +1 -0
- package/resources/ai-gateway/billing/spending-limit.d.ts +90 -0
- package/resources/ai-gateway/billing/spending-limit.d.ts.map +1 -0
- package/resources/ai-gateway/billing/spending-limit.js +60 -0
- package/resources/ai-gateway/billing/spending-limit.js.map +1 -0
- package/resources/ai-gateway/billing/spending-limit.mjs +56 -0
- package/resources/ai-gateway/billing/spending-limit.mjs.map +1 -0
- package/resources/ai-gateway/billing/topup/config.d.ts +84 -0
- package/resources/ai-gateway/billing/topup/config.d.ts.map +1 -0
- package/resources/ai-gateway/billing/topup/config.js +59 -0
- package/resources/ai-gateway/billing/topup/config.js.map +1 -0
- package/resources/ai-gateway/billing/topup/config.mjs +55 -0
- package/resources/ai-gateway/billing/topup/config.mjs.map +1 -0
- package/resources/ai-gateway/billing/topup/index.d.ts +3 -0
- package/resources/ai-gateway/billing/topup/index.d.ts.map +1 -0
- package/resources/ai-gateway/billing/topup/index.js +9 -0
- package/resources/ai-gateway/billing/topup/index.js.map +1 -0
- package/resources/ai-gateway/billing/topup/index.mjs +4 -0
- package/resources/ai-gateway/billing/topup/index.mjs.map +1 -0
- package/resources/ai-gateway/billing/topup/topup.d.ts +83 -0
- package/resources/ai-gateway/billing/topup/topup.d.ts.map +1 -0
- package/resources/ai-gateway/billing/topup/topup.js +76 -0
- package/resources/ai-gateway/billing/topup/topup.js.map +1 -0
- package/resources/ai-gateway/billing/topup/topup.mjs +49 -0
- package/resources/ai-gateway/billing/topup/topup.mjs.map +1 -0
- package/resources/ai-gateway/billing/topup.d.ts +2 -0
- package/resources/ai-gateway/billing/topup.d.ts.map +1 -0
- package/resources/ai-gateway/billing/topup.js +19 -0
- package/resources/ai-gateway/billing/topup.js.map +1 -0
- package/resources/ai-gateway/billing/topup.mjs +3 -0
- package/resources/ai-gateway/billing/topup.mjs.map +1 -0
- package/resources/ai-gateway/billing.d.ts +2 -0
- package/resources/ai-gateway/billing.d.ts.map +1 -0
- package/resources/ai-gateway/billing.js +19 -0
- package/resources/ai-gateway/billing.js.map +1 -0
- package/resources/ai-gateway/billing.mjs +3 -0
- package/resources/ai-gateway/billing.mjs.map +1 -0
- package/resources/ai-gateway/dynamic-routing.d.ts +17 -0
- package/resources/ai-gateway/dynamic-routing.d.ts.map +1 -1
- package/resources/ai-gateway/dynamic-routing.js +5 -2
- package/resources/ai-gateway/dynamic-routing.js.map +1 -1
- package/resources/ai-gateway/dynamic-routing.mjs +5 -2
- package/resources/ai-gateway/dynamic-routing.mjs.map +1 -1
- package/resources/ai-gateway/index.d.ts +1 -0
- package/resources/ai-gateway/index.d.ts.map +1 -1
- package/resources/ai-gateway/index.js +3 -1
- package/resources/ai-gateway/index.js.map +1 -1
- package/resources/ai-gateway/index.mjs +1 -0
- package/resources/ai-gateway/index.mjs.map +1 -1
- package/resources/ai-security/ai-security.d.ts +70 -0
- package/resources/ai-security/ai-security.d.ts.map +1 -0
- package/resources/ai-security/ai-security.js +69 -0
- package/resources/ai-security/ai-security.js.map +1 -0
- package/resources/ai-security/ai-security.mjs +42 -0
- package/resources/ai-security/ai-security.mjs.map +1 -0
- package/resources/ai-security/custom-topics.d.ts +105 -0
- package/resources/ai-security/custom-topics.d.ts.map +1 -0
- package/resources/ai-security/custom-topics.js +48 -0
- package/resources/ai-security/custom-topics.js.map +1 -0
- package/resources/ai-security/custom-topics.mjs +44 -0
- package/resources/ai-security/custom-topics.mjs.map +1 -0
- package/resources/ai-security/index.d.ts +3 -0
- package/resources/ai-security/index.d.ts.map +1 -0
- package/resources/ai-security/index.js +9 -0
- package/resources/ai-security/index.js.map +1 -0
- package/resources/ai-security/index.mjs +4 -0
- package/resources/ai-security/index.mjs.map +1 -0
- package/resources/ai-security.d.ts +2 -0
- package/resources/ai-security.d.ts.map +1 -0
- package/resources/ai-security.js +19 -0
- package/resources/ai-security.js.map +1 -0
- package/resources/ai-security.mjs +3 -0
- package/resources/ai-security.mjs.map +1 -0
- package/resources/aisearch/instances/instances.d.ts +112 -21
- package/resources/aisearch/instances/instances.d.ts.map +1 -1
- package/resources/aisearch/instances/instances.js.map +1 -1
- package/resources/aisearch/instances/instances.mjs.map +1 -1
- package/resources/aisearch/namespaces/instances/instances.d.ts +112 -21
- package/resources/aisearch/namespaces/instances/instances.d.ts.map +1 -1
- package/resources/aisearch/namespaces/instances/instances.js.map +1 -1
- package/resources/aisearch/namespaces/instances/instances.mjs.map +1 -1
- package/resources/billing/usage.d.ts +3 -1
- package/resources/billing/usage.d.ts.map +1 -1
- package/resources/cloudforce-one/threat-events/threat-events.d.ts +1 -1
- package/resources/cloudforce-one/threat-events/threat-events.d.ts.map +1 -1
- package/resources/d1/d1.d.ts +3 -3
- package/resources/d1/database/database.d.ts +17 -0
- package/resources/d1/database/database.d.ts.map +1 -1
- package/resources/d1/database/database.js.map +1 -1
- package/resources/d1/database/database.mjs.map +1 -1
- package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.d.ts +26 -0
- package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.js +59 -0
- package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.mjs +32 -0
- package/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.d.ts +180 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.js +99 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.mjs +71 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.d.ts +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.js +10 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.mjs +4 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/index.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.d.ts +157 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.js +57 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.mjs +53 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist/items.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist.d.ts +2 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist.js +19 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist.mjs +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/allowlist.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/index.d.ts +7 -0
- package/resources/ddos-protection/advanced-tcp-protection/index.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/index.js +20 -0
- package/resources/ddos-protection/advanced-tcp-protection/index.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/index.mjs +8 -0
- package/resources/ddos-protection/advanced-tcp-protection/index.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.d.ts +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.js +11 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.mjs +4 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/index.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.d.ts +157 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.js +57 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.mjs +53 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/items.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.d.ts +257 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.js +129 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.mjs +100 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes.d.ts +2 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes.js +19 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes.mjs +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/prefixes.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/status.d.ts +57 -0
- package/resources/ddos-protection/advanced-tcp-protection/status.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/status.js +42 -0
- package/resources/ddos-protection/advanced-tcp-protection/status.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/status.mjs +38 -0
- package/resources/ddos-protection/advanced-tcp-protection/status.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.d.ts +174 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.js +96 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.mjs +68 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.d.ts +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.js +10 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.mjs +4 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.d.ts +150 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.js +57 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.mjs +53 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.d.ts +2 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.js +19 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.mjs +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.d.ts +4 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.js +13 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.mjs +5 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.d.ts +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.js +10 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.mjs +4 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.d.ts +203 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.js +57 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.mjs +53 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.d.ts +234 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.js +98 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.mjs +70 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.d.ts +2 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.js +19 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.mjs +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.d.ts +14 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.js +45 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.mjs +18 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection.d.ts +2 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection.js +19 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection.mjs +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/syn-protection.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.d.ts +174 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.js +96 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.mjs +68 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.d.ts +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.js +10 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.mjs +4 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.d.ts +150 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.js +57 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.mjs +53 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.d.ts +2 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.js +19 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.mjs +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.d.ts +4 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.js +13 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.mjs +5 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.d.ts +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.js +10 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.mjs +4 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.d.ts +190 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.js +57 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.mjs +53 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.d.ts +220 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.js +98 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.mjs +70 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.d.ts +2 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.js +19 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.mjs +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.d.ts +14 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.js +45 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.mjs +18 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.d.ts +2 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.js +19 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.mjs +3 -0
- package/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.mjs.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection.d.ts +2 -0
- package/resources/ddos-protection/advanced-tcp-protection.d.ts.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection.js +19 -0
- package/resources/ddos-protection/advanced-tcp-protection.js.map +1 -0
- package/resources/ddos-protection/advanced-tcp-protection.mjs +3 -0
- package/resources/ddos-protection/advanced-tcp-protection.mjs.map +1 -0
- package/resources/ddos-protection/ddos-protection.d.ts +10 -0
- package/resources/ddos-protection/ddos-protection.d.ts.map +1 -0
- package/resources/ddos-protection/ddos-protection.js +39 -0
- package/resources/ddos-protection/ddos-protection.js.map +1 -0
- package/resources/ddos-protection/ddos-protection.mjs +12 -0
- package/resources/ddos-protection/ddos-protection.mjs.map +1 -0
- package/resources/ddos-protection/index.d.ts +3 -0
- package/resources/ddos-protection/index.d.ts.map +1 -0
- package/resources/ddos-protection/index.js +9 -0
- package/resources/ddos-protection/index.js.map +1 -0
- package/resources/ddos-protection/index.mjs +4 -0
- package/resources/ddos-protection/index.mjs.map +1 -0
- package/resources/ddos-protection.d.ts +2 -0
- package/resources/ddos-protection.d.ts.map +1 -0
- package/resources/ddos-protection.js +19 -0
- package/resources/ddos-protection.js.map +1 -0
- package/resources/ddos-protection.mjs +3 -0
- package/resources/ddos-protection.mjs.map +1 -0
- package/resources/email-security/investigate/investigate.d.ts +10 -0
- package/resources/email-security/investigate/investigate.d.ts.map +1 -1
- package/resources/email-security/investigate/investigate.js.map +1 -1
- package/resources/email-security/investigate/investigate.mjs.map +1 -1
- package/resources/email-security/submissions.d.ts +6 -0
- package/resources/email-security/submissions.d.ts.map +1 -1
- package/resources/email-security/submissions.js.map +1 -1
- package/resources/email-security/submissions.mjs.map +1 -1
- package/resources/index.d.ts +2 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/intel/indicator-feeds/indicator-feeds.d.ts +101 -1
- 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/intel/miscategorizations.d.ts +5 -0
- package/resources/intel/miscategorizations.d.ts.map +1 -1
- package/resources/intel/miscategorizations.js +5 -0
- package/resources/intel/miscategorizations.js.map +1 -1
- package/resources/intel/miscategorizations.mjs +5 -0
- package/resources/intel/miscategorizations.mjs.map +1 -1
- package/resources/load-balancers/index.d.ts +1 -1
- package/resources/load-balancers/index.d.ts.map +1 -1
- package/resources/load-balancers/index.js +9 -9
- package/resources/load-balancers/index.js.map +1 -1
- package/resources/load-balancers/index.mjs +1 -1
- package/resources/load-balancers/load-balancers.d.ts +2 -2
- package/resources/load-balancers/load-balancers.d.ts.map +1 -1
- package/resources/load-balancers/load-balancers.js +2 -2
- package/resources/load-balancers/load-balancers.js.map +1 -1
- package/resources/load-balancers/load-balancers.mjs +2 -2
- package/resources/load-balancers/load-balancers.mjs.map +1 -1
- package/resources/load-balancers/monitor-groups/index.d.ts +3 -0
- package/resources/load-balancers/monitor-groups/index.d.ts.map +1 -0
- package/resources/load-balancers/monitor-groups/index.js +11 -0
- package/resources/load-balancers/monitor-groups/index.js.map +1 -0
- package/resources/load-balancers/monitor-groups/index.mjs +4 -0
- package/resources/load-balancers/monitor-groups/index.mjs.map +1 -0
- package/resources/load-balancers/monitor-groups/monitor-groups.d.ts +299 -0
- package/resources/load-balancers/monitor-groups/monitor-groups.d.ts.map +1 -0
- package/resources/load-balancers/monitor-groups/monitor-groups.js +181 -0
- package/resources/load-balancers/monitor-groups/monitor-groups.js.map +1 -0
- package/resources/load-balancers/monitor-groups/monitor-groups.mjs +153 -0
- package/resources/load-balancers/monitor-groups/monitor-groups.mjs.map +1 -0
- package/resources/load-balancers/monitor-groups/references.d.ts +38 -0
- package/resources/load-balancers/monitor-groups/references.d.ts.map +1 -0
- package/resources/load-balancers/monitor-groups/references.js +32 -0
- package/resources/load-balancers/monitor-groups/references.js.map +1 -0
- package/resources/load-balancers/monitor-groups/references.mjs +27 -0
- package/resources/load-balancers/monitor-groups/references.mjs.map +1 -0
- package/resources/load-balancers/monitor-groups.d.ts +1 -312
- package/resources/load-balancers/monitor-groups.d.ts.map +1 -1
- package/resources/load-balancers/monitor-groups.js +15 -149
- package/resources/load-balancers/monitor-groups.js.map +1 -1
- package/resources/load-balancers/monitor-groups.mjs +1 -146
- package/resources/load-balancers/monitor-groups.mjs.map +1 -1
- package/resources/radar/bgp/bgp.d.ts +2 -2
- package/resources/radar/bgp/bgp.d.ts.map +1 -1
- package/resources/radar/bgp/bgp.js +2 -2
- package/resources/radar/bgp/bgp.js.map +1 -1
- package/resources/radar/bgp/bgp.mjs +2 -2
- package/resources/radar/bgp/bgp.mjs.map +1 -1
- package/resources/radar/bgp/index.d.ts +1 -1
- package/resources/radar/bgp/index.d.ts.map +1 -1
- package/resources/radar/bgp/index.js +8 -8
- package/resources/radar/bgp/index.js.map +1 -1
- package/resources/radar/bgp/index.mjs +1 -1
- package/resources/radar/bgp/ips/index.d.ts +3 -0
- package/resources/radar/bgp/ips/index.d.ts.map +1 -0
- package/resources/radar/bgp/ips/index.js +9 -0
- package/resources/radar/bgp/ips/index.js.map +1 -0
- package/resources/radar/bgp/ips/index.mjs +4 -0
- package/resources/radar/bgp/ips/index.mjs.map +1 -0
- package/resources/radar/bgp/ips/ips.d.ts +187 -0
- package/resources/radar/bgp/ips/ips.d.ts.map +1 -0
- package/resources/radar/bgp/ips/ips.js +46 -0
- package/resources/radar/bgp/ips/ips.js.map +1 -0
- package/resources/radar/bgp/ips/ips.mjs +19 -0
- package/resources/radar/bgp/ips/ips.mjs.map +1 -0
- package/resources/radar/bgp/ips/top.d.ts +55 -0
- package/resources/radar/bgp/ips/top.d.ts.map +1 -0
- package/resources/radar/bgp/ips/top.js +16 -0
- package/resources/radar/bgp/ips/top.js.map +1 -0
- package/resources/radar/bgp/ips/top.mjs +12 -0
- package/resources/radar/bgp/ips/top.mjs.map +1 -0
- package/resources/radar/bgp/ips.d.ts +1 -182
- package/resources/radar/bgp/ips.d.ts.map +1 -1
- package/resources/radar/bgp/ips.js +15 -12
- package/resources/radar/bgp/ips.js.map +1 -1
- package/resources/radar/bgp/ips.mjs +1 -10
- package/resources/radar/bgp/ips.mjs.map +1 -1
- package/resources/radar/bgp/rpki/index.d.ts +1 -0
- package/resources/radar/bgp/rpki/index.d.ts.map +1 -1
- package/resources/radar/bgp/rpki/index.js +3 -1
- package/resources/radar/bgp/rpki/index.js.map +1 -1
- package/resources/radar/bgp/rpki/index.mjs +1 -0
- package/resources/radar/bgp/rpki/index.mjs.map +1 -1
- package/resources/radar/bgp/rpki/roas.d.ts +78 -0
- package/resources/radar/bgp/rpki/roas.d.ts.map +1 -0
- package/resources/radar/bgp/rpki/roas.js +16 -0
- package/resources/radar/bgp/rpki/roas.js.map +1 -0
- package/resources/radar/bgp/rpki/roas.mjs +12 -0
- package/resources/radar/bgp/rpki/roas.mjs.map +1 -0
- package/resources/radar/bgp/rpki/rpki.d.ts +4 -0
- package/resources/radar/bgp/rpki/rpki.d.ts.map +1 -1
- package/resources/radar/bgp/rpki/rpki.js +4 -0
- package/resources/radar/bgp/rpki/rpki.js.map +1 -1
- package/resources/radar/bgp/rpki/rpki.mjs +4 -0
- package/resources/radar/bgp/rpki/rpki.mjs.map +1 -1
- package/resources/radar/dns/dns.d.ts +3 -3
- package/resources/radar/dns/dns.d.ts.map +1 -1
- package/resources/radar/dns/dns.js.map +1 -1
- package/resources/radar/dns/dns.mjs.map +1 -1
- package/resources/radar/http/http.d.ts +19 -4
- 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/post-quantum/tls.d.ts +28 -3
- package/resources/radar/post-quantum/tls.d.ts.map +1 -1
- package/resources/radar/post-quantum/tls.js +3 -2
- package/resources/radar/post-quantum/tls.js.map +1 -1
- package/resources/radar/post-quantum/tls.mjs +3 -2
- package/resources/radar/post-quantum/tls.mjs.map +1 -1
- package/resources/radar/quality/iqi.d.ts +1 -3
- package/resources/radar/quality/iqi.d.ts.map +1 -1
- package/resources/resource-sharing/resource-sharing.d.ts +14 -7
- package/resources/resource-sharing/resource-sharing.d.ts.map +1 -1
- package/resources/resource-sharing/resource-sharing.js.map +1 -1
- 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/secrets-store/stores/stores.d.ts +11 -2
- package/resources/secrets-store/stores/stores.d.ts.map +1 -1
- package/resources/secrets-store/stores/stores.js +9 -3
- package/resources/secrets-store/stores/stores.js.map +1 -1
- package/resources/secrets-store/stores/stores.mjs +9 -3
- package/resources/secrets-store/stores/stores.mjs.map +1 -1
- package/resources/security-center/insights/audit-logs.d.ts +192 -0
- package/resources/security-center/insights/audit-logs.d.ts.map +1 -0
- package/resources/security-center/insights/audit-logs.js +64 -0
- package/resources/security-center/insights/audit-logs.js.map +1 -0
- package/resources/security-center/insights/audit-logs.mjs +58 -0
- package/resources/security-center/insights/audit-logs.mjs.map +1 -0
- package/resources/security-center/insights/class.d.ts +8 -0
- package/resources/security-center/insights/class.d.ts.map +1 -1
- package/resources/security-center/insights/class.js.map +1 -1
- package/resources/security-center/insights/class.mjs.map +1 -1
- package/resources/security-center/insights/classification.d.ts +77 -0
- package/resources/security-center/insights/classification.d.ts.map +1 -0
- package/resources/security-center/insights/classification.js +43 -0
- package/resources/security-center/insights/classification.js.map +1 -0
- package/resources/security-center/insights/classification.mjs +39 -0
- package/resources/security-center/insights/classification.mjs.map +1 -0
- package/resources/security-center/insights/context.d.ts +31 -0
- package/resources/security-center/insights/context.d.ts.map +1 -0
- package/resources/security-center/insights/context.js +26 -0
- package/resources/security-center/insights/context.js.map +1 -0
- package/resources/security-center/insights/context.mjs +22 -0
- package/resources/security-center/insights/context.mjs.map +1 -0
- package/resources/security-center/insights/index.d.ts +3 -0
- package/resources/security-center/insights/index.d.ts.map +1 -1
- package/resources/security-center/insights/index.js +9 -1
- package/resources/security-center/insights/index.js.map +1 -1
- package/resources/security-center/insights/index.mjs +3 -0
- package/resources/security-center/insights/index.mjs.map +1 -1
- package/resources/security-center/insights/insights.d.ts +30 -0
- package/resources/security-center/insights/insights.d.ts.map +1 -1
- package/resources/security-center/insights/insights.js +22 -0
- package/resources/security-center/insights/insights.js.map +1 -1
- package/resources/security-center/insights/insights.mjs +22 -0
- package/resources/security-center/insights/insights.mjs.map +1 -1
- package/resources/security-center/insights/severity.d.ts +8 -0
- package/resources/security-center/insights/severity.d.ts.map +1 -1
- package/resources/security-center/insights/severity.js.map +1 -1
- package/resources/security-center/insights/severity.mjs.map +1 -1
- package/resources/security-center/insights/type.d.ts +7 -0
- package/resources/security-center/insights/type.d.ts.map +1 -1
- package/resources/security-center/insights/type.js.map +1 -1
- package/resources/security-center/insights/type.mjs.map +1 -1
- package/resources/url-scanner/scans.d.ts +36 -0
- package/resources/url-scanner/scans.d.ts.map +1 -1
- package/resources/user/user.d.ts +10 -2
- package/resources/user/user.d.ts.map +1 -1
- package/resources/user/user.js.map +1 -1
- package/resources/user/user.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/logs/access-requests.d.ts +19 -8
- package/resources/zero-trust/access/logs/access-requests.d.ts.map +1 -1
- package/resources/zero-trust/access/logs/scim/updates.d.ts +20 -8
- package/resources/zero-trust/access/logs/scim/updates.d.ts.map +1 -1
- package/resources/zero-trust/access/logs/scim/updates.js.map +1 -1
- package/resources/zero-trust/access/logs/scim/updates.mjs.map +1 -1
- package/resources/zero-trust/devices/deployment-groups.d.ts +203 -0
- package/resources/zero-trust/devices/deployment-groups.d.ts.map +1 -0
- package/resources/zero-trust/devices/deployment-groups.js +111 -0
- package/resources/zero-trust/devices/deployment-groups.js.map +1 -0
- package/resources/zero-trust/devices/deployment-groups.mjs +106 -0
- package/resources/zero-trust/devices/deployment-groups.mjs.map +1 -0
- package/resources/zero-trust/devices/devices.d.ts +4 -0
- package/resources/zero-trust/devices/devices.d.ts.map +1 -1
- package/resources/zero-trust/devices/devices.js +5 -0
- package/resources/zero-trust/devices/devices.js.map +1 -1
- package/resources/zero-trust/devices/devices.mjs +5 -0
- package/resources/zero-trust/devices/devices.mjs.map +1 -1
- package/resources/zero-trust/devices/fleet-status.d.ts +4 -0
- package/resources/zero-trust/devices/fleet-status.d.ts.map +1 -1
- package/resources/zero-trust/devices/index.d.ts +1 -0
- package/resources/zero-trust/devices/index.d.ts.map +1 -1
- package/resources/zero-trust/devices/index.js +4 -1
- package/resources/zero-trust/devices/index.js.map +1 -1
- package/resources/zero-trust/devices/index.mjs +1 -0
- package/resources/zero-trust/devices/index.mjs.map +1 -1
- package/resources/zero-trust/dex/fleet-status/devices.d.ts +4 -0
- package/resources/zero-trust/dex/fleet-status/devices.d.ts.map +1 -1
- package/resources/zero-trust/dex/fleet-status/devices.js.map +1 -1
- package/resources/zero-trust/dex/fleet-status/devices.mjs.map +1 -1
- package/resources/zero-trust/dlp/entries/custom.d.ts +59 -25
- package/resources/zero-trust/dlp/entries/custom.d.ts.map +1 -1
- package/resources/zero-trust/dlp/entries/custom.js.map +1 -1
- package/resources/zero-trust/dlp/entries/custom.mjs.map +1 -1
- package/resources/zero-trust/dlp/entries/entries.d.ts +71 -26
- package/resources/zero-trust/dlp/entries/entries.d.ts.map +1 -1
- package/resources/zero-trust/dlp/entries/entries.js.map +1 -1
- package/resources/zero-trust/dlp/entries/entries.mjs.map +1 -1
- package/resources/zero-trust/dlp/entries/integration.d.ts +59 -25
- package/resources/zero-trust/dlp/entries/integration.d.ts.map +1 -1
- package/resources/zero-trust/dlp/entries/integration.js.map +1 -1
- package/resources/zero-trust/dlp/entries/integration.mjs.map +1 -1
- package/resources/zero-trust/dlp/entries/predefined.d.ts +59 -25
- package/resources/zero-trust/dlp/entries/predefined.d.ts.map +1 -1
- package/resources/zero-trust/dlp/entries/predefined.js.map +1 -1
- package/resources/zero-trust/dlp/entries/predefined.mjs.map +1 -1
- package/resources/zero-trust/dlp/profiles/custom.d.ts +24 -2
- package/resources/zero-trust/dlp/profiles/custom.d.ts.map +1 -1
- package/resources/zero-trust/dlp/profiles/predefined.d.ts +12 -1
- package/resources/zero-trust/dlp/profiles/predefined.d.ts.map +1 -1
- package/resources/zero-trust/dlp/profiles/profiles.d.ts +60 -5
- package/resources/zero-trust/dlp/profiles/profiles.d.ts.map +1 -1
- package/resources/zero-trust/dlp/profiles/profiles.js.map +1 -1
- package/resources/zero-trust/dlp/profiles/profiles.mjs.map +1 -1
- package/resources/zero-trust/identity-providers/scim/groups.d.ts +10 -4
- package/resources/zero-trust/identity-providers/scim/groups.d.ts.map +1 -1
- package/resources/zero-trust/identity-providers/scim/groups.js.map +1 -1
- package/resources/zero-trust/identity-providers/scim/groups.mjs.map +1 -1
- package/resources/zero-trust/identity-providers/scim/users.d.ts +10 -4
- package/resources/zero-trust/identity-providers/scim/users.d.ts.map +1 -1
- package/resources/zero-trust/identity-providers/scim/users.js.map +1 -1
- package/resources/zero-trust/identity-providers/scim/users.mjs.map +1 -1
- package/resources/zero-trust/index.d.ts +1 -0
- package/resources/zero-trust/index.d.ts.map +1 -1
- package/resources/zero-trust/index.js +8 -6
- package/resources/zero-trust/index.js.map +1 -1
- package/resources/zero-trust/index.mjs +1 -0
- package/resources/zero-trust/index.mjs.map +1 -1
- package/resources/zero-trust/resource-library/applications.d.ts +238 -0
- package/resources/zero-trust/resource-library/applications.d.ts.map +1 -0
- package/resources/zero-trust/resource-library/applications.js +47 -0
- package/resources/zero-trust/resource-library/applications.js.map +1 -0
- package/resources/zero-trust/resource-library/applications.mjs +42 -0
- package/resources/zero-trust/resource-library/applications.mjs.map +1 -0
- package/resources/zero-trust/resource-library/categories.d.ts +94 -0
- package/resources/zero-trust/resource-library/categories.d.ts.map +1 -0
- package/resources/zero-trust/resource-library/categories.js +47 -0
- package/resources/zero-trust/resource-library/categories.js.map +1 -0
- package/resources/zero-trust/resource-library/categories.mjs +42 -0
- package/resources/zero-trust/resource-library/categories.mjs.map +1 -0
- package/resources/zero-trust/resource-library/index.d.ts +4 -0
- package/resources/zero-trust/resource-library/index.d.ts.map +1 -0
- package/resources/zero-trust/resource-library/index.js +13 -0
- package/resources/zero-trust/resource-library/index.js.map +1 -0
- package/resources/zero-trust/resource-library/index.mjs +5 -0
- package/resources/zero-trust/resource-library/index.mjs.map +1 -0
- package/resources/zero-trust/resource-library/resource-library.d.ts +14 -0
- package/resources/zero-trust/resource-library/resource-library.d.ts.map +1 -0
- package/resources/zero-trust/resource-library/resource-library.js +45 -0
- package/resources/zero-trust/resource-library/resource-library.js.map +1 -0
- package/resources/zero-trust/resource-library/resource-library.mjs +18 -0
- package/resources/zero-trust/resource-library/resource-library.mjs.map +1 -0
- package/resources/zero-trust/resource-library.d.ts +2 -0
- package/resources/zero-trust/resource-library.d.ts.map +1 -0
- package/resources/zero-trust/resource-library.js +19 -0
- package/resources/zero-trust/resource-library.js.map +1 -0
- package/resources/zero-trust/resource-library.mjs +3 -0
- package/resources/zero-trust/resource-library.mjs.map +1 -0
- package/resources/zero-trust/zero-trust.d.ts +4 -0
- package/resources/zero-trust/zero-trust.d.ts.map +1 -1
- package/resources/zero-trust/zero-trust.js +4 -0
- package/resources/zero-trust/zero-trust.js.map +1 -1
- package/resources/zero-trust/zero-trust.mjs +4 -0
- package/resources/zero-trust/zero-trust.mjs.map +1 -1
- package/resources/zones/custom-nameservers.d.ts +4 -0
- package/resources/zones/custom-nameservers.d.ts.map +1 -1
- package/resources/zones/custom-nameservers.js.map +1 -1
- package/resources/zones/custom-nameservers.mjs.map +1 -1
- package/resources/zones/settings.d.ts +52 -2
- package/resources/zones/settings.d.ts.map +1 -1
- package/resources/zones/zones.d.ts +6 -0
- package/resources/zones/zones.d.ts.map +1 -1
- package/resources/zones/zones.js.map +1 -1
- package/resources/zones/zones.mjs.map +1 -1
- package/src/index.ts +10 -0
- package/src/resources/acm/custom-trust-store.ts +9 -6
- package/src/resources/ai-gateway/ai-gateway.ts +449 -0
- package/src/resources/ai-gateway/api.md +56 -0
- package/src/resources/ai-gateway/billing/billing.ts +363 -0
- package/src/resources/ai-gateway/billing/index.ts +29 -0
- package/src/resources/ai-gateway/billing/spending-limit.ts +148 -0
- package/src/resources/ai-gateway/billing/topup/config.ts +133 -0
- package/src/resources/ai-gateway/billing/topup/index.ts +18 -0
- package/src/resources/ai-gateway/billing/topup/topup.ts +139 -0
- package/src/resources/ai-gateway/billing/topup.ts +3 -0
- package/src/resources/ai-gateway/billing.ts +3 -0
- package/src/resources/ai-gateway/dynamic-routing.ts +30 -2
- package/src/resources/ai-gateway/index.ts +11 -0
- package/src/resources/ai-security/ai-security.ts +117 -0
- package/src/resources/ai-security/api.md +23 -0
- package/src/resources/ai-security/custom-topics.ts +143 -0
- package/src/resources/ai-security/index.ts +10 -0
- package/src/resources/ai-security.ts +3 -0
- package/src/resources/aisearch/instances/instances.ts +119 -21
- package/src/resources/aisearch/namespaces/instances/instances.ts +119 -21
- package/src/resources/billing/usage.ts +3 -1
- package/src/resources/cloudforce-one/threat-events/threat-events.ts +1 -1
- package/src/resources/d1/d1.ts +3 -3
- package/src/resources/d1/database/database.ts +19 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/advanced-tcp-protection.ts +93 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/allowlist/allowlist.ts +277 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/allowlist/index.ts +21 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/allowlist/items.ts +233 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/allowlist.ts +3 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/index.ts +35 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/prefixes/index.ts +24 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/prefixes/items.ts +233 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.ts +377 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/prefixes.ts +3 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/status.ts +87 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/filters.ts +266 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/index.ts +21 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters/items.ts +224 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/filters.ts +3 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/index.ts +23 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/index.ts +21 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/items.ts +287 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules/rules.ts +337 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/rules.ts +3 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection/syn-protection.ts +59 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/syn-protection.ts +3 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/filters.ts +266 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/index.ts +21 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters/items.ts +224 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/filters.ts +3 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/index.ts +23 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/index.ts +21 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/items.ts +271 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules/rules.ts +320 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/rules.ts +3 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection/tcp-flow-protection.ts +59 -0
- package/src/resources/ddos-protection/advanced-tcp-protection/tcp-flow-protection.ts +3 -0
- package/src/resources/ddos-protection/advanced-tcp-protection.ts +3 -0
- package/src/resources/ddos-protection/api.md +189 -0
- package/src/resources/ddos-protection/ddos-protection.ts +16 -0
- package/src/resources/ddos-protection/index.ts +4 -0
- package/src/resources/ddos-protection.ts +3 -0
- package/src/resources/email-security/investigate/investigate.ts +17 -0
- package/src/resources/email-security/submissions.ts +7 -0
- package/src/resources/index.ts +2 -0
- package/src/resources/intel/indicator-feeds/indicator-feeds.ts +118 -1
- package/src/resources/intel/miscategorizations.ts +5 -0
- package/src/resources/load-balancers/api.md +17 -7
- package/src/resources/load-balancers/index.ts +1 -1
- package/src/resources/load-balancers/load-balancers.ts +12 -12
- package/src/resources/load-balancers/monitor-groups/index.ts +19 -0
- package/src/resources/load-balancers/monitor-groups/monitor-groups.ts +433 -0
- package/src/resources/load-balancers/monitor-groups/references.ts +63 -0
- package/src/resources/load-balancers/monitor-groups.ts +1 -434
- package/src/resources/radar/api.md +22 -2
- package/src/resources/radar/bgp/bgp.ts +2 -2
- package/src/resources/radar/bgp/index.ts +1 -1
- package/src/resources/radar/bgp/ips/index.ts +4 -0
- package/src/resources/radar/bgp/ips/ips.ts +295 -0
- package/src/resources/radar/bgp/ips/top.ts +84 -0
- package/src/resources/radar/bgp/ips.ts +1 -285
- package/src/resources/radar/bgp/rpki/index.ts +1 -0
- package/src/resources/radar/bgp/rpki/roas.ts +120 -0
- package/src/resources/radar/bgp/rpki/rpki.ts +10 -0
- package/src/resources/radar/dns/dns.ts +7 -4
- package/src/resources/radar/http/http.ts +24 -0
- package/src/resources/radar/post-quantum/tls.ts +32 -3
- package/src/resources/radar/quality/iqi.ts +2 -6
- package/src/resources/resource-sharing/resource-sharing.ts +21 -6
- package/src/resources/resource-sharing/resources.ts +14 -7
- package/src/resources/secrets-store/stores/stores.ts +17 -7
- package/src/resources/security-center/api.md +32 -0
- package/src/resources/security-center/insights/audit-logs.ts +313 -0
- package/src/resources/security-center/insights/class.ts +8 -0
- package/src/resources/security-center/insights/classification.ts +127 -0
- package/src/resources/security-center/insights/context.ts +46 -0
- package/src/resources/security-center/insights/index.ts +15 -0
- package/src/resources/security-center/insights/insights.ts +62 -0
- package/src/resources/security-center/insights/severity.ts +8 -0
- package/src/resources/security-center/insights/type.ts +7 -0
- package/src/resources/url-scanner/scans.ts +58 -0
- package/src/resources/user/user.ts +12 -2
- package/src/resources/workflows/instances/instances.ts +6 -0
- package/src/resources/zero-trust/access/logs/access-requests.ts +19 -8
- package/src/resources/zero-trust/access/logs/scim/updates.ts +20 -8
- package/src/resources/zero-trust/api.md +41 -0
- package/src/resources/zero-trust/devices/deployment-groups.ts +302 -0
- package/src/resources/zero-trust/devices/devices.ts +29 -0
- package/src/resources/zero-trust/devices/fleet-status.ts +5 -0
- package/src/resources/zero-trust/devices/index.ts +11 -0
- package/src/resources/zero-trust/dex/fleet-status/devices.ts +5 -0
- package/src/resources/zero-trust/dlp/entries/custom.ts +78 -25
- package/src/resources/zero-trust/dlp/entries/entries.ts +96 -25
- package/src/resources/zero-trust/dlp/entries/integration.ts +78 -25
- package/src/resources/zero-trust/dlp/entries/predefined.ts +78 -25
- package/src/resources/zero-trust/dlp/profiles/custom.ts +36 -0
- package/src/resources/zero-trust/dlp/profiles/predefined.ts +18 -0
- package/src/resources/zero-trust/dlp/profiles/profiles.ts +90 -0
- package/src/resources/zero-trust/identity-providers/scim/groups.ts +10 -4
- package/src/resources/zero-trust/identity-providers/scim/users.ts +10 -4
- package/src/resources/zero-trust/index.ts +1 -0
- package/src/resources/zero-trust/resource-library/applications.ts +315 -0
- package/src/resources/zero-trust/resource-library/categories.ts +140 -0
- package/src/resources/zero-trust/resource-library/index.ts +19 -0
- package/src/resources/zero-trust/resource-library/resource-library.ts +51 -0
- package/src/resources/zero-trust/resource-library.ts +3 -0
- package/src/resources/zero-trust/zero-trust.ts +6 -0
- package/src/resources/zones/custom-nameservers.ts +5 -0
- package/src/resources/zones/settings.ts +60 -0
- package/src/resources/zones/zones.ts +7 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import { APIResource } from "../../../../resource.js";
|
|
2
|
+
import * as Core from "../../../../core.js";
|
|
3
|
+
import * as ItemsAPI from "./items.js";
|
|
4
|
+
import { ItemDeleteParams, ItemDeleteResponse, ItemEditParams, ItemEditResponse, ItemGetParams, ItemGetResponse, Items } from "./items.js";
|
|
5
|
+
import { SinglePage, V4PagePaginationArray, type V4PagePaginationArrayParams } from "../../../../pagination.js";
|
|
6
|
+
export declare class Prefixes extends APIResource {
|
|
7
|
+
items: ItemsAPI.Items;
|
|
8
|
+
/**
|
|
9
|
+
* Create a prefix for an account.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const prefix =
|
|
14
|
+
* await client.DDoSProtection.advancedTCPProtection.prefixes.create(
|
|
15
|
+
* {
|
|
16
|
+
* account_id: '023e105f4ecef8ad9ca31a8372d0c353',
|
|
17
|
+
* comment: 'comment',
|
|
18
|
+
* excluded: true,
|
|
19
|
+
* prefix: '192.0.2.0/24',
|
|
20
|
+
* },
|
|
21
|
+
* );
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
create(params: PrefixCreateParams, options?: Core.RequestOptions): Core.APIPromise<PrefixCreateResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* List all prefixes for an account.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```ts
|
|
30
|
+
* // Automatically fetches more pages as needed.
|
|
31
|
+
* for await (const prefixListResponse of client.DDoSProtection.advancedTCPProtection.prefixes.list(
|
|
32
|
+
* { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
33
|
+
* )) {
|
|
34
|
+
* // ...
|
|
35
|
+
* }
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
list(params: PrefixListParams, options?: Core.RequestOptions): Core.PagePromise<PrefixListResponsesV4PagePaginationArray, PrefixListResponse>;
|
|
39
|
+
/**
|
|
40
|
+
* Create multiple prefixes for an account.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```ts
|
|
44
|
+
* // Automatically fetches more pages as needed.
|
|
45
|
+
* for await (const prefixBulkCreateResponse of client.DDoSProtection.advancedTCPProtection.prefixes.bulkCreate(
|
|
46
|
+
* {
|
|
47
|
+
* account_id: '023e105f4ecef8ad9ca31a8372d0c353',
|
|
48
|
+
* body: [
|
|
49
|
+
* {
|
|
50
|
+
* comment: 'comment',
|
|
51
|
+
* excluded: true,
|
|
52
|
+
* prefix: '192.0.2.0/24',
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* },
|
|
56
|
+
* )) {
|
|
57
|
+
* // ...
|
|
58
|
+
* }
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
bulkCreate(params: PrefixBulkCreateParams, options?: Core.RequestOptions): Core.PagePromise<PrefixBulkCreateResponsesSinglePage, PrefixBulkCreateResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* Delete all prefixes for an account.
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* ```ts
|
|
67
|
+
* const response =
|
|
68
|
+
* await client.DDoSProtection.advancedTCPProtection.prefixes.bulkDelete(
|
|
69
|
+
* { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
70
|
+
* );
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
bulkDelete(params: PrefixBulkDeleteParams, options?: Core.RequestOptions): Core.APIPromise<PrefixBulkDeleteResponse>;
|
|
74
|
+
}
|
|
75
|
+
export declare class PrefixListResponsesV4PagePaginationArray extends V4PagePaginationArray<PrefixListResponse> {
|
|
76
|
+
}
|
|
77
|
+
export declare class PrefixBulkCreateResponsesSinglePage extends SinglePage<PrefixBulkCreateResponse> {
|
|
78
|
+
}
|
|
79
|
+
export interface PrefixCreateResponse {
|
|
80
|
+
/**
|
|
81
|
+
* The unique ID of the prefix.
|
|
82
|
+
*/
|
|
83
|
+
id: string;
|
|
84
|
+
/**
|
|
85
|
+
* A comment describing the prefix.
|
|
86
|
+
*/
|
|
87
|
+
comment: string;
|
|
88
|
+
/**
|
|
89
|
+
* The creation timestamp of the prefix.
|
|
90
|
+
*/
|
|
91
|
+
created_on: string;
|
|
92
|
+
/**
|
|
93
|
+
* Whether to exclude the prefix from protection.
|
|
94
|
+
*/
|
|
95
|
+
excluded: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* The last modification timestamp of the prefix.
|
|
98
|
+
*/
|
|
99
|
+
modified_on: string;
|
|
100
|
+
/**
|
|
101
|
+
* The prefix in CIDR format.
|
|
102
|
+
*/
|
|
103
|
+
prefix: string;
|
|
104
|
+
}
|
|
105
|
+
export interface PrefixListResponse {
|
|
106
|
+
/**
|
|
107
|
+
* The unique ID of the prefix.
|
|
108
|
+
*/
|
|
109
|
+
id: string;
|
|
110
|
+
/**
|
|
111
|
+
* A comment describing the prefix.
|
|
112
|
+
*/
|
|
113
|
+
comment: string;
|
|
114
|
+
/**
|
|
115
|
+
* The creation timestamp of the prefix.
|
|
116
|
+
*/
|
|
117
|
+
created_on: string;
|
|
118
|
+
/**
|
|
119
|
+
* Whether to exclude the prefix from protection.
|
|
120
|
+
*/
|
|
121
|
+
excluded: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* The last modification timestamp of the prefix.
|
|
124
|
+
*/
|
|
125
|
+
modified_on: string;
|
|
126
|
+
/**
|
|
127
|
+
* The prefix in CIDR format.
|
|
128
|
+
*/
|
|
129
|
+
prefix: string;
|
|
130
|
+
}
|
|
131
|
+
export interface PrefixBulkCreateResponse {
|
|
132
|
+
/**
|
|
133
|
+
* The unique ID of the prefix.
|
|
134
|
+
*/
|
|
135
|
+
id: string;
|
|
136
|
+
/**
|
|
137
|
+
* A comment describing the prefix.
|
|
138
|
+
*/
|
|
139
|
+
comment: string;
|
|
140
|
+
/**
|
|
141
|
+
* The creation timestamp of the prefix.
|
|
142
|
+
*/
|
|
143
|
+
created_on: string;
|
|
144
|
+
/**
|
|
145
|
+
* Whether to exclude the prefix from protection.
|
|
146
|
+
*/
|
|
147
|
+
excluded: boolean;
|
|
148
|
+
/**
|
|
149
|
+
* The last modification timestamp of the prefix.
|
|
150
|
+
*/
|
|
151
|
+
modified_on: string;
|
|
152
|
+
/**
|
|
153
|
+
* The prefix in CIDR format.
|
|
154
|
+
*/
|
|
155
|
+
prefix: string;
|
|
156
|
+
}
|
|
157
|
+
export interface PrefixBulkDeleteResponse {
|
|
158
|
+
errors: Array<PrefixBulkDeleteResponse.Error>;
|
|
159
|
+
messages: Array<PrefixBulkDeleteResponse.Message>;
|
|
160
|
+
/**
|
|
161
|
+
* Whether the API call was successful.
|
|
162
|
+
*/
|
|
163
|
+
success: true;
|
|
164
|
+
}
|
|
165
|
+
export declare namespace PrefixBulkDeleteResponse {
|
|
166
|
+
interface Error {
|
|
167
|
+
code: number;
|
|
168
|
+
message: string;
|
|
169
|
+
documentation_url?: string;
|
|
170
|
+
source?: Error.Source;
|
|
171
|
+
}
|
|
172
|
+
namespace Error {
|
|
173
|
+
interface Source {
|
|
174
|
+
pointer?: string;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
interface Message {
|
|
178
|
+
code: number;
|
|
179
|
+
message: string;
|
|
180
|
+
documentation_url?: string;
|
|
181
|
+
source?: Message.Source;
|
|
182
|
+
}
|
|
183
|
+
namespace Message {
|
|
184
|
+
interface Source {
|
|
185
|
+
pointer?: string;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
export interface PrefixCreateParams {
|
|
190
|
+
/**
|
|
191
|
+
* Path param: Identifier.
|
|
192
|
+
*/
|
|
193
|
+
account_id: string;
|
|
194
|
+
/**
|
|
195
|
+
* Body param: A comment describing the prefix.
|
|
196
|
+
*/
|
|
197
|
+
comment: string;
|
|
198
|
+
/**
|
|
199
|
+
* Body param: Whether to exclude the prefix from protection.
|
|
200
|
+
*/
|
|
201
|
+
excluded: boolean;
|
|
202
|
+
/**
|
|
203
|
+
* Body param: The prefix to add in CIDR format.
|
|
204
|
+
*/
|
|
205
|
+
prefix: string;
|
|
206
|
+
}
|
|
207
|
+
export interface PrefixListParams extends V4PagePaginationArrayParams {
|
|
208
|
+
/**
|
|
209
|
+
* Path param: Identifier.
|
|
210
|
+
*/
|
|
211
|
+
account_id: string;
|
|
212
|
+
/**
|
|
213
|
+
* Query param: The direction of ordering (ASC or DESC). Defaults to 'ASC'.
|
|
214
|
+
*/
|
|
215
|
+
direction?: string;
|
|
216
|
+
/**
|
|
217
|
+
* Query param: The field to order by. Defaults to 'prefix'.
|
|
218
|
+
*/
|
|
219
|
+
order?: string;
|
|
220
|
+
}
|
|
221
|
+
export interface PrefixBulkCreateParams {
|
|
222
|
+
/**
|
|
223
|
+
* Path param: Identifier.
|
|
224
|
+
*/
|
|
225
|
+
account_id: string;
|
|
226
|
+
/**
|
|
227
|
+
* Body param
|
|
228
|
+
*/
|
|
229
|
+
body: Array<PrefixBulkCreateParams.Body>;
|
|
230
|
+
}
|
|
231
|
+
export declare namespace PrefixBulkCreateParams {
|
|
232
|
+
interface Body {
|
|
233
|
+
/**
|
|
234
|
+
* A comment describing the prefix.
|
|
235
|
+
*/
|
|
236
|
+
comment: string;
|
|
237
|
+
/**
|
|
238
|
+
* Whether to exclude the prefix from protection.
|
|
239
|
+
*/
|
|
240
|
+
excluded: boolean;
|
|
241
|
+
/**
|
|
242
|
+
* The prefix to add in CIDR format.
|
|
243
|
+
*/
|
|
244
|
+
prefix: string;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
export interface PrefixBulkDeleteParams {
|
|
248
|
+
/**
|
|
249
|
+
* Identifier.
|
|
250
|
+
*/
|
|
251
|
+
account_id: string;
|
|
252
|
+
}
|
|
253
|
+
export declare namespace Prefixes {
|
|
254
|
+
export { type PrefixCreateResponse as PrefixCreateResponse, type PrefixListResponse as PrefixListResponse, type PrefixBulkCreateResponse as PrefixBulkCreateResponse, type PrefixBulkDeleteResponse as PrefixBulkDeleteResponse, PrefixListResponsesV4PagePaginationArray as PrefixListResponsesV4PagePaginationArray, PrefixBulkCreateResponsesSinglePage as PrefixBulkCreateResponsesSinglePage, type PrefixCreateParams as PrefixCreateParams, type PrefixListParams as PrefixListParams, type PrefixBulkCreateParams as PrefixBulkCreateParams, type PrefixBulkDeleteParams as PrefixBulkDeleteParams, };
|
|
255
|
+
export { Items as Items, type ItemDeleteResponse as ItemDeleteResponse, type ItemEditResponse as ItemEditResponse, type ItemGetResponse as ItemGetResponse, type ItemDeleteParams as ItemDeleteParams, type ItemEditParams as ItemEditParams, type ItemGetParams as ItemGetParams, };
|
|
256
|
+
}
|
|
257
|
+
//# sourceMappingURL=prefixes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prefixes.d.ts","sourceRoot":"","sources":["../../../../src/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
20
|
+
if (mod && mod.__esModule) return mod;
|
|
21
|
+
var result = {};
|
|
22
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
23
|
+
__setModuleDefault(result, mod);
|
|
24
|
+
return result;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.PrefixBulkCreateResponsesSinglePage = exports.PrefixListResponsesV4PagePaginationArray = exports.Prefixes = void 0;
|
|
28
|
+
const resource_1 = require("../../../../resource.js");
|
|
29
|
+
const ItemsAPI = __importStar(require("./items.js"));
|
|
30
|
+
const items_1 = require("./items.js");
|
|
31
|
+
const pagination_1 = require("../../../../pagination.js");
|
|
32
|
+
class Prefixes extends resource_1.APIResource {
|
|
33
|
+
constructor() {
|
|
34
|
+
super(...arguments);
|
|
35
|
+
this.items = new ItemsAPI.Items(this._client);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Create a prefix for an account.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const prefix =
|
|
43
|
+
* await client.DDoSProtection.advancedTCPProtection.prefixes.create(
|
|
44
|
+
* {
|
|
45
|
+
* account_id: '023e105f4ecef8ad9ca31a8372d0c353',
|
|
46
|
+
* comment: 'comment',
|
|
47
|
+
* excluded: true,
|
|
48
|
+
* prefix: '192.0.2.0/24',
|
|
49
|
+
* },
|
|
50
|
+
* );
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
create(params, options) {
|
|
54
|
+
const { account_id, ...body } = params;
|
|
55
|
+
return this._client.post(`/accounts/${account_id}/magic/advanced_tcp_protection/configs/prefixes`, {
|
|
56
|
+
body,
|
|
57
|
+
...options,
|
|
58
|
+
})._thenUnwrap((obj) => obj.result);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* List all prefixes for an account.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```ts
|
|
65
|
+
* // Automatically fetches more pages as needed.
|
|
66
|
+
* for await (const prefixListResponse of client.DDoSProtection.advancedTCPProtection.prefixes.list(
|
|
67
|
+
* { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
68
|
+
* )) {
|
|
69
|
+
* // ...
|
|
70
|
+
* }
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
list(params, options) {
|
|
74
|
+
const { account_id, ...query } = params;
|
|
75
|
+
return this._client.getAPIList(`/accounts/${account_id}/magic/advanced_tcp_protection/configs/prefixes`, PrefixListResponsesV4PagePaginationArray, { query, ...options });
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Create multiple prefixes for an account.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* ```ts
|
|
82
|
+
* // Automatically fetches more pages as needed.
|
|
83
|
+
* for await (const prefixBulkCreateResponse of client.DDoSProtection.advancedTCPProtection.prefixes.bulkCreate(
|
|
84
|
+
* {
|
|
85
|
+
* account_id: '023e105f4ecef8ad9ca31a8372d0c353',
|
|
86
|
+
* body: [
|
|
87
|
+
* {
|
|
88
|
+
* comment: 'comment',
|
|
89
|
+
* excluded: true,
|
|
90
|
+
* prefix: '192.0.2.0/24',
|
|
91
|
+
* },
|
|
92
|
+
* ],
|
|
93
|
+
* },
|
|
94
|
+
* )) {
|
|
95
|
+
* // ...
|
|
96
|
+
* }
|
|
97
|
+
* ```
|
|
98
|
+
*/
|
|
99
|
+
bulkCreate(params, options) {
|
|
100
|
+
const { account_id, body } = params;
|
|
101
|
+
return this._client.getAPIList(`/accounts/${account_id}/magic/advanced_tcp_protection/configs/prefixes/bulk`, PrefixBulkCreateResponsesSinglePage, { body: body, method: 'post', ...options });
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Delete all prefixes for an account.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* ```ts
|
|
108
|
+
* const response =
|
|
109
|
+
* await client.DDoSProtection.advancedTCPProtection.prefixes.bulkDelete(
|
|
110
|
+
* { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
111
|
+
* );
|
|
112
|
+
* ```
|
|
113
|
+
*/
|
|
114
|
+
bulkDelete(params, options) {
|
|
115
|
+
const { account_id } = params;
|
|
116
|
+
return this._client.delete(`/accounts/${account_id}/magic/advanced_tcp_protection/configs/prefixes`, options);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
exports.Prefixes = Prefixes;
|
|
120
|
+
class PrefixListResponsesV4PagePaginationArray extends pagination_1.V4PagePaginationArray {
|
|
121
|
+
}
|
|
122
|
+
exports.PrefixListResponsesV4PagePaginationArray = PrefixListResponsesV4PagePaginationArray;
|
|
123
|
+
class PrefixBulkCreateResponsesSinglePage extends pagination_1.SinglePage {
|
|
124
|
+
}
|
|
125
|
+
exports.PrefixBulkCreateResponsesSinglePage = PrefixBulkCreateResponsesSinglePage;
|
|
126
|
+
Prefixes.PrefixListResponsesV4PagePaginationArray = PrefixListResponsesV4PagePaginationArray;
|
|
127
|
+
Prefixes.PrefixBulkCreateResponsesSinglePage = PrefixBulkCreateResponsesSinglePage;
|
|
128
|
+
Prefixes.Items = items_1.Items;
|
|
129
|
+
//# sourceMappingURL=prefixes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prefixes.js","sourceRoot":"","sources":["../../../../src/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,sDAAmD;AAEnD,qDAAoC;AACpC,sCAQiB;AACjB,0DAA6G;AAE7G,MAAa,QAAS,SAAQ,sBAAW;IAAzC;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA4G3D,CAAC;IA1GC;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,MAA0B,EAAE,OAA6B;QAC9D,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACvC,OACE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,UAAU,iDAAiD,EAAE;YAC1F,IAAI;YACJ,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,MAAwB,EACxB,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,aAAa,UAAU,iDAAiD,EACxE,wCAAwC,EACxC,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,UAAU,CACR,MAA8B,EAC9B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,aAAa,UAAU,sDAAsD,EAC7E,mCAAmC,EACnC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,EAAE,CAC3C,CAAC;IACJ,CAAC;IAED;;;;;;;;;;OAUG;IACH,UAAU,CACR,MAA8B,EAC9B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CACxB,aAAa,UAAU,iDAAiD,EACxE,OAAO,CACR,CAAC;IACJ,CAAC;CACF;AA7GD,4BA6GC;AAED,MAAa,wCAAyC,SAAQ,kCAAyC;CAAG;AAA1G,4FAA0G;AAE1G,MAAa,mCAAoC,SAAQ,uBAAoC;CAAG;AAAhG,kFAAgG;AA4NhG,QAAQ,CAAC,wCAAwC,GAAG,wCAAwC,CAAC;AAC7F,QAAQ,CAAC,mCAAmC,GAAG,mCAAmC,CAAC;AACnF,QAAQ,CAAC,KAAK,GAAG,aAAK,CAAC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../../resource.mjs";
|
|
3
|
+
import * as ItemsAPI from "./items.mjs";
|
|
4
|
+
import { Items, } from "./items.mjs";
|
|
5
|
+
import { SinglePage, V4PagePaginationArray } from "../../../../pagination.mjs";
|
|
6
|
+
export class Prefixes extends APIResource {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.items = new ItemsAPI.Items(this._client);
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Create a prefix for an account.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* const prefix =
|
|
17
|
+
* await client.DDoSProtection.advancedTCPProtection.prefixes.create(
|
|
18
|
+
* {
|
|
19
|
+
* account_id: '023e105f4ecef8ad9ca31a8372d0c353',
|
|
20
|
+
* comment: 'comment',
|
|
21
|
+
* excluded: true,
|
|
22
|
+
* prefix: '192.0.2.0/24',
|
|
23
|
+
* },
|
|
24
|
+
* );
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
create(params, options) {
|
|
28
|
+
const { account_id, ...body } = params;
|
|
29
|
+
return this._client.post(`/accounts/${account_id}/magic/advanced_tcp_protection/configs/prefixes`, {
|
|
30
|
+
body,
|
|
31
|
+
...options,
|
|
32
|
+
})._thenUnwrap((obj) => obj.result);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* List all prefixes for an account.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```ts
|
|
39
|
+
* // Automatically fetches more pages as needed.
|
|
40
|
+
* for await (const prefixListResponse of client.DDoSProtection.advancedTCPProtection.prefixes.list(
|
|
41
|
+
* { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
42
|
+
* )) {
|
|
43
|
+
* // ...
|
|
44
|
+
* }
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
list(params, options) {
|
|
48
|
+
const { account_id, ...query } = params;
|
|
49
|
+
return this._client.getAPIList(`/accounts/${account_id}/magic/advanced_tcp_protection/configs/prefixes`, PrefixListResponsesV4PagePaginationArray, { query, ...options });
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Create multiple prefixes for an account.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```ts
|
|
56
|
+
* // Automatically fetches more pages as needed.
|
|
57
|
+
* for await (const prefixBulkCreateResponse of client.DDoSProtection.advancedTCPProtection.prefixes.bulkCreate(
|
|
58
|
+
* {
|
|
59
|
+
* account_id: '023e105f4ecef8ad9ca31a8372d0c353',
|
|
60
|
+
* body: [
|
|
61
|
+
* {
|
|
62
|
+
* comment: 'comment',
|
|
63
|
+
* excluded: true,
|
|
64
|
+
* prefix: '192.0.2.0/24',
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* },
|
|
68
|
+
* )) {
|
|
69
|
+
* // ...
|
|
70
|
+
* }
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
bulkCreate(params, options) {
|
|
74
|
+
const { account_id, body } = params;
|
|
75
|
+
return this._client.getAPIList(`/accounts/${account_id}/magic/advanced_tcp_protection/configs/prefixes/bulk`, PrefixBulkCreateResponsesSinglePage, { body: body, method: 'post', ...options });
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Delete all prefixes for an account.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* ```ts
|
|
82
|
+
* const response =
|
|
83
|
+
* await client.DDoSProtection.advancedTCPProtection.prefixes.bulkDelete(
|
|
84
|
+
* { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
85
|
+
* );
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
88
|
+
bulkDelete(params, options) {
|
|
89
|
+
const { account_id } = params;
|
|
90
|
+
return this._client.delete(`/accounts/${account_id}/magic/advanced_tcp_protection/configs/prefixes`, options);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
export class PrefixListResponsesV4PagePaginationArray extends V4PagePaginationArray {
|
|
94
|
+
}
|
|
95
|
+
export class PrefixBulkCreateResponsesSinglePage extends SinglePage {
|
|
96
|
+
}
|
|
97
|
+
Prefixes.PrefixListResponsesV4PagePaginationArray = PrefixListResponsesV4PagePaginationArray;
|
|
98
|
+
Prefixes.PrefixBulkCreateResponsesSinglePage = PrefixBulkCreateResponsesSinglePage;
|
|
99
|
+
Prefixes.Items = Items;
|
|
100
|
+
//# sourceMappingURL=prefixes.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prefixes.mjs","sourceRoot":"","sources":["../../../../src/resources/ddos-protection/advanced-tcp-protection/prefixes/prefixes.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,QAAQ;OACb,EAOL,KAAK,GACN;OACM,EAAE,UAAU,EAAE,qBAAqB,EAAoC;AAE9E,MAAM,OAAO,QAAS,SAAQ,WAAW;IAAzC;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA4G3D,CAAC;IA1GC;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,MAA0B,EAAE,OAA6B;QAC9D,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACvC,OACE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,UAAU,iDAAiD,EAAE;YAC1F,IAAI;YACJ,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,MAAwB,EACxB,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,aAAa,UAAU,iDAAiD,EACxE,wCAAwC,EACxC,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,UAAU,CACR,MAA8B,EAC9B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,aAAa,UAAU,sDAAsD,EAC7E,mCAAmC,EACnC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,EAAE,CAC3C,CAAC;IACJ,CAAC;IAED;;;;;;;;;;OAUG;IACH,UAAU,CACR,MAA8B,EAC9B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CACxB,aAAa,UAAU,iDAAiD,EACxE,OAAO,CACR,CAAC;IACJ,CAAC;CACF;AAED,MAAM,OAAO,wCAAyC,SAAQ,qBAAyC;CAAG;AAE1G,MAAM,OAAO,mCAAoC,SAAQ,UAAoC;CAAG;AA4NhG,QAAQ,CAAC,wCAAwC,GAAG,wCAAwC,CAAC;AAC7F,QAAQ,CAAC,mCAAmC,GAAG,mCAAmC,CAAC;AACnF,QAAQ,CAAC,KAAK,GAAG,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prefixes.d.ts","sourceRoot":"","sources":["../../../src/resources/ddos-protection/advanced-tcp-protection/prefixes.ts"],"names":[],"mappings":"AAEA,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
__exportStar(require("./prefixes/index.js"), exports);
|
|
19
|
+
//# sourceMappingURL=prefixes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prefixes.js","sourceRoot":"","sources":["../../../src/resources/ddos-protection/advanced-tcp-protection/prefixes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;AAEtF,sDAAiC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prefixes.mjs","sourceRoot":"","sources":["../../../src/resources/ddos-protection/advanced-tcp-protection/prefixes.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { APIResource } from "../../../resource.js";
|
|
2
|
+
import * as Core from "../../../core.js";
|
|
3
|
+
export declare class Status extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Update the protection status of the account.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```ts
|
|
9
|
+
* const response =
|
|
10
|
+
* await client.DDoSProtection.advancedTCPProtection.status.edit(
|
|
11
|
+
* {
|
|
12
|
+
* account_id: '023e105f4ecef8ad9ca31a8372d0c353',
|
|
13
|
+
* enabled: true,
|
|
14
|
+
* },
|
|
15
|
+
* );
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
edit(params: StatusEditParams, options?: Core.RequestOptions): Core.APIPromise<StatusEditResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Get the protection status of the account.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* const status =
|
|
25
|
+
* await client.DDoSProtection.advancedTCPProtection.status.get(
|
|
26
|
+
* { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
27
|
+
* );
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
get(params: StatusGetParams, options?: Core.RequestOptions): Core.APIPromise<StatusGetResponse>;
|
|
31
|
+
}
|
|
32
|
+
export interface StatusEditResponse {
|
|
33
|
+
enabled: boolean;
|
|
34
|
+
}
|
|
35
|
+
export interface StatusGetResponse {
|
|
36
|
+
enabled: boolean;
|
|
37
|
+
}
|
|
38
|
+
export interface StatusEditParams {
|
|
39
|
+
/**
|
|
40
|
+
* Path param: Identifier.
|
|
41
|
+
*/
|
|
42
|
+
account_id: string;
|
|
43
|
+
/**
|
|
44
|
+
* Body param: Enables or disables protection.
|
|
45
|
+
*/
|
|
46
|
+
enabled: boolean;
|
|
47
|
+
}
|
|
48
|
+
export interface StatusGetParams {
|
|
49
|
+
/**
|
|
50
|
+
* Identifier.
|
|
51
|
+
*/
|
|
52
|
+
account_id: string;
|
|
53
|
+
}
|
|
54
|
+
export declare namespace Status {
|
|
55
|
+
export { type StatusEditResponse as StatusEditResponse, type StatusGetResponse as StatusGetResponse, type StatusEditParams as StatusEditParams, type StatusGetParams as StatusGetParams, };
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../src/resources/ddos-protection/advanced-tcp-protection/status.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AAEtC,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;;;;;OAaG;IACH,IAAI,CAAC,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,kBAAkB,CAAC;IAUlG;;;;;;;;;;OAUG;IACH,GAAG,CAAC,MAAM,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,iBAAiB,CAAC;CAShG;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Status = void 0;
|
|
5
|
+
const resource_1 = require("../../../resource.js");
|
|
6
|
+
class Status extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Update the protection status of the account.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* const response =
|
|
13
|
+
* await client.DDoSProtection.advancedTCPProtection.status.edit(
|
|
14
|
+
* {
|
|
15
|
+
* account_id: '023e105f4ecef8ad9ca31a8372d0c353',
|
|
16
|
+
* enabled: true,
|
|
17
|
+
* },
|
|
18
|
+
* );
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
edit(params, options) {
|
|
22
|
+
const { account_id, ...body } = params;
|
|
23
|
+
return this._client.patch(`/accounts/${account_id}/magic/advanced_tcp_protection/configs/tcp_protection_status`, { body, ...options })._thenUnwrap((obj) => obj.result);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Get the protection status of the account.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```ts
|
|
30
|
+
* const status =
|
|
31
|
+
* await client.DDoSProtection.advancedTCPProtection.status.get(
|
|
32
|
+
* { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
33
|
+
* );
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
get(params, options) {
|
|
37
|
+
const { account_id } = params;
|
|
38
|
+
return this._client.get(`/accounts/${account_id}/magic/advanced_tcp_protection/configs/tcp_protection_status`, options)._thenUnwrap((obj) => obj.result);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.Status = Status;
|
|
42
|
+
//# sourceMappingURL=status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.js","sourceRoot":"","sources":["../../../src/resources/ddos-protection/advanced-tcp-protection/status.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mDAAgD;AAGhD,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;;;;;;;;;;;OAaG;IACH,IAAI,CAAC,MAAwB,EAAE,OAA6B;QAC1D,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACvC,OACE,IAAI,CAAC,OAAO,CAAC,KAAK,CAChB,aAAa,UAAU,8DAA8D,EACrF,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAEvB,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;;;;;;;;;OAUG;IACH,GAAG,CAAC,MAAuB,EAAE,OAA6B;QACxD,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CACd,aAAa,UAAU,8DAA8D,EACrF,OAAO,CAEV,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;CACF;AA7CD,wBA6CC"}
|