cloudflare 6.1.0 → 6.3.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 +405 -0
- package/index.d.mts +9 -0
- package/index.d.ts +9 -0
- package/index.d.ts.map +1 -1
- package/index.js +9 -0
- package/index.js.map +1 -1
- package/index.mjs +9 -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/models/models.d.ts +5 -0
- package/resources/ai/models/models.d.ts.map +1 -1
- package/resources/ai/models/models.js.map +1 -1
- package/resources/ai/models/models.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 +75 -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 +75 -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/billing.d.ts +2 -2
- package/resources/billing/billing.d.ts.map +1 -1
- package/resources/billing/billing.js.map +1 -1
- package/resources/billing/billing.mjs.map +1 -1
- package/resources/billing/index.d.ts +1 -1
- package/resources/billing/index.d.ts.map +1 -1
- package/resources/billing/index.js.map +1 -1
- package/resources/billing/index.mjs +1 -1
- package/resources/billing/index.mjs.map +1 -1
- package/resources/billing/usage.d.ts +213 -3
- package/resources/billing/usage.d.ts.map +1 -1
- package/resources/billing/usage.js +20 -4
- package/resources/billing/usage.js.map +1 -1
- package/resources/billing/usage.mjs +20 -4
- package/resources/billing/usage.mjs.map +1 -1
- package/resources/cloudforce-one/threat-events/countries.d.ts +1 -0
- package/resources/cloudforce-one/threat-events/countries.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/custom-certificates/custom-certificates.d.ts +9 -7
- package/resources/custom-certificates/custom-certificates.d.ts.map +1 -1
- package/resources/custom-certificates/custom-certificates.js +0 -2
- package/resources/custom-certificates/custom-certificates.js.map +1 -1
- package/resources/custom-certificates/custom-certificates.mjs +0 -2
- package/resources/custom-certificates/custom-certificates.mjs.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/dls/dls.d.ts +14 -0
- package/resources/dls/dls.d.ts.map +1 -0
- package/resources/dls/dls.js +44 -0
- package/resources/dls/dls.js.map +1 -0
- package/resources/dls/dls.mjs +17 -0
- package/resources/dls/dls.mjs.map +1 -0
- package/resources/dls/index.d.ts +4 -0
- package/resources/dls/index.d.ts.map +1 -0
- package/resources/dls/index.js +12 -0
- package/resources/dls/index.js.map +1 -0
- package/resources/dls/index.mjs +5 -0
- package/resources/dls/index.mjs.map +1 -0
- package/resources/dls/regional-services/index.d.ts +3 -0
- package/resources/dls/regional-services/index.d.ts.map +1 -0
- package/resources/dls/regional-services/index.js +10 -0
- package/resources/dls/regional-services/index.js.map +1 -0
- package/resources/dls/regional-services/index.mjs +4 -0
- package/resources/dls/regional-services/index.mjs.map +1 -0
- package/resources/dls/regional-services/prefix-bindings.d.ts +197 -0
- package/resources/dls/regional-services/prefix-bindings.d.ts.map +1 -0
- package/resources/dls/regional-services/prefix-bindings.js +103 -0
- package/resources/dls/regional-services/prefix-bindings.js.map +1 -0
- package/resources/dls/regional-services/prefix-bindings.mjs +98 -0
- package/resources/dls/regional-services/prefix-bindings.mjs.map +1 -0
- package/resources/dls/regional-services/regional-services.d.ts +10 -0
- package/resources/dls/regional-services/regional-services.d.ts.map +1 -0
- package/resources/dls/regional-services/regional-services.js +40 -0
- package/resources/dls/regional-services/regional-services.js.map +1 -0
- package/resources/dls/regional-services/regional-services.mjs +13 -0
- package/resources/dls/regional-services/regional-services.mjs.map +1 -0
- package/resources/dls/regional-services.d.ts +2 -0
- package/resources/dls/regional-services.d.ts.map +1 -0
- package/resources/dls/regional-services.js +19 -0
- package/resources/dls/regional-services.js.map +1 -0
- package/resources/dls/regional-services.mjs +3 -0
- package/resources/dls/regional-services.mjs.map +1 -0
- package/resources/dls/regions.d.ts +68 -0
- package/resources/dls/regions.d.ts.map +1 -0
- package/resources/dls/regions.js +46 -0
- package/resources/dls/regions.js.map +1 -0
- package/resources/dls/regions.mjs +41 -0
- package/resources/dls/regions.mjs.map +1 -0
- package/resources/dls.d.ts +2 -0
- package/resources/dls.d.ts.map +1 -0
- package/resources/dls.js +19 -0
- package/resources/dls.js.map +1 -0
- package/resources/dls.mjs +3 -0
- package/resources/dls.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-sending/email-sending.d.ts +2 -2
- package/resources/index.d.ts +3 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +9 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -0
- package/resources/index.mjs.map +1 -1
- package/resources/intel/indicator-feeds/indicator-feeds.d.ts +10 -0
- 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/intel/sinkholes.d.ts +9 -9
- package/resources/intel/sinkholes.js +1 -1
- package/resources/intel/sinkholes.mjs +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/logpush/datasets/fields.d.ts +2 -2
- package/resources/logpush/datasets/fields.d.ts.map +1 -1
- package/resources/logpush/datasets/fields.js.map +1 -1
- package/resources/logpush/datasets/fields.mjs.map +1 -1
- package/resources/logpush/datasets/jobs.d.ts +2 -2
- package/resources/logpush/datasets/jobs.d.ts.map +1 -1
- package/resources/logpush/datasets/jobs.js.map +1 -1
- package/resources/logpush/datasets/jobs.mjs.map +1 -1
- package/resources/logpush/jobs.d.ts +2 -2
- package/resources/logpush/jobs.d.ts.map +1 -1
- package/resources/logpush/jobs.js.map +1 -1
- package/resources/logpush/jobs.mjs.map +1 -1
- package/resources/organizations/billing/billing.d.ts +10 -0
- package/resources/organizations/billing/billing.d.ts.map +1 -0
- package/resources/organizations/billing/billing.js +39 -0
- package/resources/organizations/billing/billing.js.map +1 -0
- package/resources/organizations/billing/billing.mjs +12 -0
- package/resources/organizations/billing/billing.mjs.map +1 -0
- package/resources/organizations/billing/index.d.ts +3 -0
- package/resources/organizations/billing/index.d.ts.map +1 -0
- package/resources/organizations/billing/index.js +9 -0
- package/resources/organizations/billing/index.js.map +1 -0
- package/resources/organizations/billing/index.mjs +4 -0
- package/resources/organizations/billing/index.mjs.map +1 -0
- package/resources/organizations/billing/usage.d.ts +210 -0
- package/resources/organizations/billing/usage.d.ts.map +1 -0
- package/resources/organizations/billing/usage.js +19 -0
- package/resources/organizations/billing/usage.js.map +1 -0
- package/resources/organizations/billing/usage.mjs +15 -0
- package/resources/organizations/billing/usage.mjs.map +1 -0
- package/resources/organizations/billing.d.ts +2 -0
- package/resources/organizations/billing.d.ts.map +1 -0
- package/resources/organizations/billing.js +19 -0
- package/resources/organizations/billing.js.map +1 -0
- package/resources/organizations/billing.mjs +3 -0
- package/resources/organizations/billing.mjs.map +1 -0
- package/resources/organizations/index.d.ts +1 -0
- package/resources/organizations/index.d.ts.map +1 -1
- package/resources/organizations/index.js +5 -3
- package/resources/organizations/index.js.map +1 -1
- package/resources/organizations/index.mjs +1 -0
- package/resources/organizations/index.mjs.map +1 -1
- package/resources/organizations/organization-profile.d.ts +2 -2
- package/resources/organizations/organization-profile.js +2 -2
- package/resources/organizations/organization-profile.mjs +2 -2
- package/resources/organizations/organizations.d.ts +9 -5
- package/resources/organizations/organizations.d.ts.map +1 -1
- package/resources/organizations/organizations.js +8 -4
- package/resources/organizations/organizations.js.map +1 -1
- package/resources/organizations/organizations.mjs +8 -4
- package/resources/organizations/organizations.mjs.map +1 -1
- package/resources/r2/buckets/buckets.d.ts +4 -0
- package/resources/r2/buckets/buckets.d.ts.map +1 -1
- package/resources/r2/buckets/buckets.js +5 -0
- package/resources/r2/buckets/buckets.js.map +1 -1
- package/resources/r2/buckets/buckets.mjs +5 -0
- package/resources/r2/buckets/buckets.mjs.map +1 -1
- package/resources/r2/buckets/index.d.ts +1 -0
- package/resources/r2/buckets/index.d.ts.map +1 -1
- package/resources/r2/buckets/index.js +4 -1
- package/resources/r2/buckets/index.js.map +1 -1
- package/resources/r2/buckets/index.mjs +1 -0
- package/resources/r2/buckets/index.mjs.map +1 -1
- package/resources/r2/buckets/objects.d.ts +281 -0
- package/resources/r2/buckets/objects.d.ts.map +1 -0
- package/resources/r2/buckets/objects.js +151 -0
- package/resources/r2/buckets/objects.js.map +1 -0
- package/resources/r2/buckets/objects.mjs +146 -0
- package/resources/r2/buckets/objects.mjs.map +1 -0
- 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/http/http.d.ts +31 -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/index.d.ts +1 -1
- package/resources/secrets-store/index.d.ts.map +1 -1
- package/resources/secrets-store/index.js.map +1 -1
- package/resources/secrets-store/index.mjs.map +1 -1
- package/resources/secrets-store/secrets-store.d.ts +2 -2
- package/resources/secrets-store/secrets-store.d.ts.map +1 -1
- package/resources/secrets-store/secrets-store.js.map +1 -1
- package/resources/secrets-store/secrets-store.mjs.map +1 -1
- package/resources/secrets-store/stores/index.d.ts +1 -1
- package/resources/secrets-store/stores/index.d.ts.map +1 -1
- package/resources/secrets-store/stores/index.js.map +1 -1
- package/resources/secrets-store/stores/index.mjs.map +1 -1
- package/resources/secrets-store/stores/stores.d.ts +51 -2
- package/resources/secrets-store/stores/stores.d.ts.map +1 -1
- package/resources/secrets-store/stores/stores.js +23 -2
- package/resources/secrets-store/stores/stores.js.map +1 -1
- package/resources/secrets-store/stores/stores.mjs +23 -2
- package/resources/secrets-store/stores/stores.mjs.map +1 -1
- package/resources/spectrum/apps.d.ts +30 -0
- package/resources/spectrum/apps.d.ts.map +1 -1
- package/resources/spectrum/apps.js.map +1 -1
- package/resources/spectrum/apps.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/workers/beta/workers/workers.d.ts +32 -0
- package/resources/workers/beta/workers/workers.d.ts.map +1 -1
- package/resources/workers/beta/workers/workers.js.map +1 -1
- package/resources/workers/beta/workers/workers.mjs.map +1 -1
- package/resources/workers/observability/destinations.d.ts +5 -5
- package/resources/workers/observability/destinations.d.ts.map +1 -1
- package/resources/workers/observability/index.d.ts +1 -0
- package/resources/workers/observability/index.d.ts.map +1 -1
- package/resources/workers/observability/index.js +4 -1
- package/resources/workers/observability/index.js.map +1 -1
- package/resources/workers/observability/index.mjs +1 -0
- package/resources/workers/observability/index.mjs.map +1 -1
- package/resources/workers/observability/observability.d.ts +4 -0
- package/resources/workers/observability/observability.d.ts.map +1 -1
- package/resources/workers/observability/observability.js +5 -0
- package/resources/workers/observability/observability.js.map +1 -1
- package/resources/workers/observability/observability.mjs +5 -0
- package/resources/workers/observability/observability.mjs.map +1 -1
- package/resources/workers/observability/queries.d.ts +471 -0
- package/resources/workers/observability/queries.d.ts.map +1 -0
- package/resources/workers/observability/queries.js +52 -0
- package/resources/workers/observability/queries.js.map +1 -0
- package/resources/workers/observability/queries.mjs +47 -0
- package/resources/workers/observability/queries.mjs.map +1 -0
- package/resources/workers/observability/telemetry.d.ts +62 -36
- package/resources/workers/observability/telemetry.d.ts.map +1 -1
- package/resources/workers/observability/telemetry.js.map +1 -1
- package/resources/workers/observability/telemetry.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 +24 -0
- package/resources/workers/scripts/script-and-version-settings.d.ts.map +1 -1
- package/resources/workers/scripts/scripts.d.ts +42 -2
- package/resources/workers/scripts/scripts.d.ts.map +1 -1
- package/resources/workers/scripts/scripts.js.map +1 -1
- package/resources/workers/scripts/scripts.mjs.map +1 -1
- package/resources/workers/scripts/secrets.d.ts +137 -1
- package/resources/workers/scripts/secrets.d.ts.map +1 -1
- package/resources/workers/scripts/secrets.js +27 -0
- package/resources/workers/scripts/secrets.js.map +1 -1
- package/resources/workers/scripts/secrets.mjs +27 -0
- package/resources/workers/scripts/secrets.mjs.map +1 -1
- package/resources/workers/scripts/settings.d.ts +8 -0
- package/resources/workers/scripts/settings.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.d.ts +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts +18 -2
- 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 +138 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.js +28 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.mjs +28 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts +24 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts.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/access.d.ts +4 -0
- package/resources/zero-trust/access/access.d.ts.map +1 -1
- package/resources/zero-trust/access/access.js +5 -0
- package/resources/zero-trust/access/access.js.map +1 -1
- package/resources/zero-trust/access/access.mjs +5 -0
- package/resources/zero-trust/access/access.mjs.map +1 -1
- package/resources/zero-trust/access/ai-controls/mcp/portals.d.ts +190 -0
- package/resources/zero-trust/access/ai-controls/mcp/portals.d.ts.map +1 -1
- package/resources/zero-trust/access/ai-controls/mcp/portals.js.map +1 -1
- package/resources/zero-trust/access/ai-controls/mcp/portals.mjs.map +1 -1
- package/resources/zero-trust/access/ai-controls/mcp/servers.d.ts +202 -2
- package/resources/zero-trust/access/ai-controls/mcp/servers.d.ts.map +1 -1
- package/resources/zero-trust/access/ai-controls/mcp/servers.js +2 -1
- package/resources/zero-trust/access/ai-controls/mcp/servers.js.map +1 -1
- package/resources/zero-trust/access/ai-controls/mcp/servers.mjs +2 -1
- package/resources/zero-trust/access/ai-controls/mcp/servers.mjs.map +1 -1
- package/resources/zero-trust/access/applications/policies.d.ts +32 -2
- package/resources/zero-trust/access/applications/policies.d.ts.map +1 -1
- package/resources/zero-trust/access/applications/policies.js.map +1 -1
- package/resources/zero-trust/access/applications/policies.mjs.map +1 -1
- package/resources/zero-trust/access/index.d.ts +1 -0
- package/resources/zero-trust/access/index.d.ts.map +1 -1
- package/resources/zero-trust/access/index.js +4 -1
- package/resources/zero-trust/access/index.js.map +1 -1
- package/resources/zero-trust/access/index.mjs +1 -0
- package/resources/zero-trust/access/index.mjs.map +1 -1
- package/resources/zero-trust/access/saml-certificates.d.ts +248 -0
- package/resources/zero-trust/access/saml-certificates.d.ts.map +1 -0
- package/resources/zero-trust/access/saml-certificates.js +100 -0
- package/resources/zero-trust/access/saml-certificates.js.map +1 -0
- package/resources/zero-trust/access/saml-certificates.mjs +95 -0
- package/resources/zero-trust/access/saml-certificates.mjs.map +1 -0
- 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/posture/posture.d.ts +10 -0
- package/resources/zero-trust/devices/posture/posture.d.ts.map +1 -1
- package/resources/zero-trust/devices/posture/posture.js.map +1 -1
- package/resources/zero-trust/devices/posture/posture.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/identity-providers.d.ts +2689 -108
- package/resources/zero-trust/identity-providers/identity-providers.d.ts.map +1 -1
- package/resources/zero-trust/identity-providers/identity-providers.js +4 -0
- package/resources/zero-trust/identity-providers/identity-providers.js.map +1 -1
- package/resources/zero-trust/identity-providers/identity-providers.mjs +4 -0
- package/resources/zero-trust/identity-providers/identity-providers.mjs.map +1 -1
- package/resources/zero-trust/identity-providers/index.d.ts +1 -0
- package/resources/zero-trust/identity-providers/index.d.ts.map +1 -1
- package/resources/zero-trust/identity-providers/index.js +3 -1
- package/resources/zero-trust/identity-providers/index.js.map +1 -1
- package/resources/zero-trust/identity-providers/index.mjs +1 -0
- package/resources/zero-trust/identity-providers/index.mjs.map +1 -1
- package/resources/zero-trust/identity-providers/saml-certificate.d.ts +91 -0
- package/resources/zero-trust/identity-providers/saml-certificate.d.ts.map +1 -0
- package/resources/zero-trust/identity-providers/saml-certificate.js +37 -0
- package/resources/zero-trust/identity-providers/saml-certificate.js.map +1 -0
- package/resources/zero-trust/identity-providers/saml-certificate.mjs +33 -0
- package/resources/zero-trust/identity-providers/saml-certificate.mjs.map +1 -0
- 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/src/index.ts +15 -0
- package/src/resources/acm/custom-trust-store.ts +9 -6
- package/src/resources/ai/models/models.ts +6 -0
- 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 +76 -21
- package/src/resources/aisearch/namespaces/instances/instances.ts +76 -21
- package/src/resources/billing/api.md +3 -1
- package/src/resources/billing/billing.ts +3 -1
- package/src/resources/billing/index.ts +7 -1
- package/src/resources/billing/usage.ts +268 -7
- package/src/resources/cloudforce-one/threat-events/countries.ts +2 -0
- package/src/resources/cloudforce-one/threat-events/threat-events.ts +1 -1
- package/src/resources/custom-certificates/custom-certificates.ts +10 -8
- 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/dls/api.md +33 -0
- package/src/resources/dls/dls.ts +38 -0
- package/src/resources/dls/index.ts +12 -0
- package/src/resources/dls/regional-services/index.ts +17 -0
- package/src/resources/dls/regional-services/prefix-bindings.ts +301 -0
- package/src/resources/dls/regional-services/regional-services.ts +42 -0
- package/src/resources/dls/regional-services.ts +3 -0
- package/src/resources/dls/regions.ts +118 -0
- package/src/resources/dls.ts +3 -0
- package/src/resources/email-security/investigate/investigate.ts +17 -0
- package/src/resources/email-sending/email-sending.ts +2 -2
- package/src/resources/index.ts +3 -0
- package/src/resources/intel/indicator-feeds/indicator-feeds.ts +11 -0
- package/src/resources/intel/miscategorizations.ts +5 -0
- package/src/resources/intel/sinkholes.ts +9 -9
- 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/logpush/datasets/fields.ts +3 -0
- package/src/resources/logpush/datasets/jobs.ts +3 -0
- package/src/resources/logpush/jobs.ts +2 -0
- package/src/resources/organizations/api.md +12 -0
- package/src/resources/organizations/billing/billing.ts +15 -0
- package/src/resources/organizations/billing/index.ts +4 -0
- package/src/resources/organizations/billing/usage.ts +270 -0
- package/src/resources/organizations/billing.ts +3 -0
- package/src/resources/organizations/index.ts +1 -0
- package/src/resources/organizations/organization-profile.ts +2 -2
- package/src/resources/organizations/organizations.ts +11 -5
- package/src/resources/r2/api.md +15 -0
- package/src/resources/r2/buckets/buckets.ts +27 -0
- package/src/resources/r2/buckets/index.ts +11 -0
- package/src/resources/r2/buckets/objects.ts +419 -0
- 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/http/http.ts +96 -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/api.md +2 -0
- package/src/resources/secrets-store/index.ts +2 -0
- package/src/resources/secrets-store/secrets-store.ts +4 -0
- package/src/resources/secrets-store/stores/index.ts +2 -0
- package/src/resources/secrets-store/stores/stores.ts +74 -3
- package/src/resources/spectrum/apps.ts +36 -0
- package/src/resources/url-scanner/scans.ts +58 -0
- package/src/resources/user/user.ts +12 -2
- package/src/resources/workers/api.md +14 -0
- package/src/resources/workers/beta/workers/workers.ts +36 -0
- package/src/resources/workers/observability/destinations.ts +5 -5
- package/src/resources/workers/observability/index.ts +8 -0
- package/src/resources/workers/observability/observability.ts +21 -0
- package/src/resources/workers/observability/queries.ts +825 -0
- package/src/resources/workers/observability/telemetry.ts +84 -36
- package/src/resources/workers/scripts/index.ts +2 -0
- package/src/resources/workers/scripts/script-and-version-settings.ts +27 -0
- package/src/resources/workers/scripts/scripts.ts +49 -0
- package/src/resources/workers/scripts/secrets.ts +180 -0
- package/src/resources/workers/scripts/settings.ts +9 -0
- package/src/resources/workers-for-platforms/api.md +2 -0
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/index.ts +2 -0
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.ts +22 -0
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.ts +185 -0
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.ts +27 -0
- package/src/resources/workflows/instances/instances.ts +6 -0
- package/src/resources/zero-trust/access/access.ts +29 -0
- package/src/resources/zero-trust/access/ai-controls/mcp/portals.ts +236 -0
- package/src/resources/zero-trust/access/ai-controls/mcp/servers.ts +246 -2
- package/src/resources/zero-trust/access/applications/policies.ts +38 -2
- package/src/resources/zero-trust/access/index.ts +11 -0
- package/src/resources/zero-trust/access/saml-certificates.ts +343 -0
- package/src/resources/zero-trust/api.md +51 -0
- package/src/resources/zero-trust/devices/fleet-status.ts +5 -0
- package/src/resources/zero-trust/devices/posture/posture.ts +12 -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/identity-providers.ts +3045 -38
- package/src/resources/zero-trust/identity-providers/index.ts +5 -0
- package/src/resources/zero-trust/identity-providers/saml-certificate.ts +119 -0
- 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/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import { APIResource } from "../../../resource.js";
|
|
2
|
+
import * as Core from "../../../core.js";
|
|
3
|
+
import * as SpendingLimitAPI from "./spending-limit.js";
|
|
4
|
+
import { SpendingLimit, SpendingLimitCreateParams, SpendingLimitCreateResponse, SpendingLimitDeleteParams, SpendingLimitDeleteResponse, SpendingLimitGetParams, SpendingLimitGetResponse } from "./spending-limit.js";
|
|
5
|
+
import * as TopupAPI from "./topup/topup.js";
|
|
6
|
+
import { Topup, TopupCreateParams, TopupCreateResponse, TopupStatusParams, TopupStatusResponse } from "./topup/topup.js";
|
|
7
|
+
export declare class Billing extends APIResource {
|
|
8
|
+
topup: TopupAPI.Topup;
|
|
9
|
+
spendingLimit: SpendingLimitAPI.SpendingLimit;
|
|
10
|
+
/**
|
|
11
|
+
* Retrieve the current credit balance, payment method info, and top-up
|
|
12
|
+
* configuration.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* const response =
|
|
17
|
+
* await client.aiGateway.billing.creditBalance({
|
|
18
|
+
* account_id: 'account_id',
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
creditBalance(params: BillingCreditBalanceParams, options?: Core.RequestOptions): Core.APIPromise<BillingCreditBalanceResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Retrieve a list of past invoices with pagination, optionally filtered by type.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```ts
|
|
28
|
+
* const response =
|
|
29
|
+
* await client.aiGateway.billing.invoiceHistory({
|
|
30
|
+
* account_id: 'account_id',
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
invoiceHistory(params: BillingInvoiceHistoryParams, options?: Core.RequestOptions): Core.APIPromise<BillingInvoiceHistoryResponse>;
|
|
35
|
+
/**
|
|
36
|
+
* Retrieve a preview of the upcoming invoice including line items and tax.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* const response =
|
|
41
|
+
* await client.aiGateway.billing.invoicePreview({
|
|
42
|
+
* account_id: 'account_id',
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
invoicePreview(params: BillingInvoicePreviewParams, options?: Core.RequestOptions): Core.APIPromise<BillingInvoicePreviewResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* Retrieve aggregated usage meter event summaries for the given time range.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```ts
|
|
52
|
+
* const response =
|
|
53
|
+
* await client.aiGateway.billing.usageHistory({
|
|
54
|
+
* account_id: 'account_id',
|
|
55
|
+
* value_grouping_window: 'day',
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
usageHistory(params: BillingUsageHistoryParams, options?: Core.RequestOptions): Core.APIPromise<BillingUsageHistoryResponse>;
|
|
60
|
+
}
|
|
61
|
+
export interface BillingCreditBalanceResponse {
|
|
62
|
+
balance: number;
|
|
63
|
+
has_default_payment_method: boolean;
|
|
64
|
+
payment_method: BillingCreditBalanceResponse.PaymentMethod | null;
|
|
65
|
+
topup_config: BillingCreditBalanceResponse.TopupConfig;
|
|
66
|
+
first_topup_success?: boolean;
|
|
67
|
+
}
|
|
68
|
+
export declare namespace BillingCreditBalanceResponse {
|
|
69
|
+
interface PaymentMethod {
|
|
70
|
+
brand?: string;
|
|
71
|
+
last4?: string;
|
|
72
|
+
}
|
|
73
|
+
interface TopupConfig {
|
|
74
|
+
amount: number | null;
|
|
75
|
+
disabledReason: string | null;
|
|
76
|
+
error: string | null;
|
|
77
|
+
lastFailedAt: number | null;
|
|
78
|
+
threshold: number | null;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
export interface BillingInvoiceHistoryResponse {
|
|
82
|
+
invoices: Array<BillingInvoiceHistoryResponse.Invoice>;
|
|
83
|
+
pagination: BillingInvoiceHistoryResponse.Pagination;
|
|
84
|
+
}
|
|
85
|
+
export declare namespace BillingInvoiceHistoryResponse {
|
|
86
|
+
interface Invoice {
|
|
87
|
+
amount_due: number;
|
|
88
|
+
amount_paid: number;
|
|
89
|
+
amount_remaining: number;
|
|
90
|
+
currency: string;
|
|
91
|
+
id?: string | null;
|
|
92
|
+
attempt_count?: number;
|
|
93
|
+
attempted?: boolean;
|
|
94
|
+
auto_advance?: boolean | null;
|
|
95
|
+
created?: number;
|
|
96
|
+
created_by?: string;
|
|
97
|
+
description?: string | null;
|
|
98
|
+
invoice_origin?: string;
|
|
99
|
+
invoice_pdf?: string | null;
|
|
100
|
+
status?: string | null;
|
|
101
|
+
}
|
|
102
|
+
interface Pagination {
|
|
103
|
+
has_more: boolean;
|
|
104
|
+
page: number;
|
|
105
|
+
per_page: number;
|
|
106
|
+
total_count: number;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
export interface BillingInvoicePreviewResponse {
|
|
110
|
+
id: string;
|
|
111
|
+
amount_due: number;
|
|
112
|
+
amount_paid: number;
|
|
113
|
+
amount_remaining: number;
|
|
114
|
+
currency: string;
|
|
115
|
+
invoice_lines: Array<BillingInvoicePreviewResponse.InvoiceLine>;
|
|
116
|
+
period_end: number;
|
|
117
|
+
period_start: number;
|
|
118
|
+
status: 'draft' | 'open' | 'paid' | 'uncollectible' | 'void';
|
|
119
|
+
}
|
|
120
|
+
export declare namespace BillingInvoicePreviewResponse {
|
|
121
|
+
interface InvoiceLine {
|
|
122
|
+
amount: number;
|
|
123
|
+
currency: string;
|
|
124
|
+
description: string | null;
|
|
125
|
+
period: InvoiceLine.Period;
|
|
126
|
+
pricing: InvoiceLine.Pricing;
|
|
127
|
+
quantity: number;
|
|
128
|
+
pretax_credit_amounts?: Array<InvoiceLine.PretaxCreditAmount>;
|
|
129
|
+
}
|
|
130
|
+
namespace InvoiceLine {
|
|
131
|
+
interface Period {
|
|
132
|
+
end: number;
|
|
133
|
+
start: number;
|
|
134
|
+
}
|
|
135
|
+
interface Pricing {
|
|
136
|
+
unit_amount_decimal: string | null;
|
|
137
|
+
}
|
|
138
|
+
interface PretaxCreditAmount {
|
|
139
|
+
amount: number;
|
|
140
|
+
type: string;
|
|
141
|
+
credit_balance_transaction?: string | null;
|
|
142
|
+
discount?: string | null;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
export interface BillingUsageHistoryResponse {
|
|
147
|
+
history: Array<BillingUsageHistoryResponse.History>;
|
|
148
|
+
}
|
|
149
|
+
export declare namespace BillingUsageHistoryResponse {
|
|
150
|
+
interface History {
|
|
151
|
+
id: string;
|
|
152
|
+
aggregated_value: number;
|
|
153
|
+
end_time: number;
|
|
154
|
+
start_time: number;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
export interface BillingCreditBalanceParams {
|
|
158
|
+
/**
|
|
159
|
+
* Cloudflare account ID.
|
|
160
|
+
*/
|
|
161
|
+
account_id: string;
|
|
162
|
+
}
|
|
163
|
+
export interface BillingInvoiceHistoryParams {
|
|
164
|
+
/**
|
|
165
|
+
* Path param: Cloudflare account ID.
|
|
166
|
+
*/
|
|
167
|
+
account_id: string;
|
|
168
|
+
/**
|
|
169
|
+
* Query param: Filter invoice type: auto, manual, or all.
|
|
170
|
+
*/
|
|
171
|
+
type?: 'auto' | 'all' | 'manual';
|
|
172
|
+
}
|
|
173
|
+
export interface BillingInvoicePreviewParams {
|
|
174
|
+
/**
|
|
175
|
+
* Cloudflare account ID.
|
|
176
|
+
*/
|
|
177
|
+
account_id: string;
|
|
178
|
+
}
|
|
179
|
+
export interface BillingUsageHistoryParams {
|
|
180
|
+
/**
|
|
181
|
+
* Path param: Cloudflare account ID.
|
|
182
|
+
*/
|
|
183
|
+
account_id: string;
|
|
184
|
+
/**
|
|
185
|
+
* Query param: Grouping window for usage data.
|
|
186
|
+
*/
|
|
187
|
+
value_grouping_window: 'day' | 'hour';
|
|
188
|
+
/**
|
|
189
|
+
* Query param: End time as Unix timestamp in milliseconds.
|
|
190
|
+
*/
|
|
191
|
+
end_time?: number | null;
|
|
192
|
+
/**
|
|
193
|
+
* Query param: Start time as Unix timestamp in milliseconds.
|
|
194
|
+
*/
|
|
195
|
+
start_time?: number | null;
|
|
196
|
+
}
|
|
197
|
+
export declare namespace Billing {
|
|
198
|
+
export { type BillingCreditBalanceResponse as BillingCreditBalanceResponse, type BillingInvoiceHistoryResponse as BillingInvoiceHistoryResponse, type BillingInvoicePreviewResponse as BillingInvoicePreviewResponse, type BillingUsageHistoryResponse as BillingUsageHistoryResponse, type BillingCreditBalanceParams as BillingCreditBalanceParams, type BillingInvoiceHistoryParams as BillingInvoiceHistoryParams, type BillingInvoicePreviewParams as BillingInvoicePreviewParams, type BillingUsageHistoryParams as BillingUsageHistoryParams, };
|
|
199
|
+
export { Topup as Topup, type TopupCreateResponse as TopupCreateResponse, type TopupStatusResponse as TopupStatusResponse, type TopupCreateParams as TopupCreateParams, type TopupStatusParams as TopupStatusParams, };
|
|
200
|
+
export { SpendingLimit as SpendingLimit, type SpendingLimitCreateResponse as SpendingLimitCreateResponse, type SpendingLimitDeleteResponse as SpendingLimitDeleteResponse, type SpendingLimitGetResponse as SpendingLimitGetResponse, type SpendingLimitCreateParams as SpendingLimitCreateParams, type SpendingLimitDeleteParams as SpendingLimitDeleteParams, type SpendingLimitGetParams as SpendingLimitGetParams, };
|
|
201
|
+
}
|
|
202
|
+
//# sourceMappingURL=billing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing.d.ts","sourceRoot":"","sources":["../../../src/resources/ai-gateway/billing/billing.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,111 @@
|
|
|
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.Billing = void 0;
|
|
28
|
+
const resource_1 = require("../../../resource.js");
|
|
29
|
+
const SpendingLimitAPI = __importStar(require("./spending-limit.js"));
|
|
30
|
+
const spending_limit_1 = require("./spending-limit.js");
|
|
31
|
+
const TopupAPI = __importStar(require("./topup/topup.js"));
|
|
32
|
+
const topup_1 = require("./topup/topup.js");
|
|
33
|
+
class Billing extends resource_1.APIResource {
|
|
34
|
+
constructor() {
|
|
35
|
+
super(...arguments);
|
|
36
|
+
this.topup = new TopupAPI.Topup(this._client);
|
|
37
|
+
this.spendingLimit = new SpendingLimitAPI.SpendingLimit(this._client);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Retrieve the current credit balance, payment method info, and top-up
|
|
41
|
+
* configuration.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```ts
|
|
45
|
+
* const response =
|
|
46
|
+
* await client.aiGateway.billing.creditBalance({
|
|
47
|
+
* account_id: 'account_id',
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
creditBalance(params, options) {
|
|
52
|
+
const { account_id } = params;
|
|
53
|
+
return this._client.get(`/accounts/${account_id}/ai-gateway/billing/credit-balance`, options)._thenUnwrap((obj) => obj.result);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Retrieve a list of past invoices with pagination, optionally filtered by type.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* ```ts
|
|
60
|
+
* const response =
|
|
61
|
+
* await client.aiGateway.billing.invoiceHistory({
|
|
62
|
+
* account_id: 'account_id',
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
invoiceHistory(params, options) {
|
|
67
|
+
const { account_id, ...query } = params;
|
|
68
|
+
return this._client.get(`/accounts/${account_id}/ai-gateway/billing/invoice-history`, {
|
|
69
|
+
query,
|
|
70
|
+
...options,
|
|
71
|
+
})._thenUnwrap((obj) => obj.result);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Retrieve a preview of the upcoming invoice including line items and tax.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* ```ts
|
|
78
|
+
* const response =
|
|
79
|
+
* await client.aiGateway.billing.invoicePreview({
|
|
80
|
+
* account_id: 'account_id',
|
|
81
|
+
* });
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
invoicePreview(params, options) {
|
|
85
|
+
const { account_id } = params;
|
|
86
|
+
return this._client.get(`/accounts/${account_id}/ai-gateway/billing/invoice-preview`, options)._thenUnwrap((obj) => obj.result);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Retrieve aggregated usage meter event summaries for the given time range.
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* ```ts
|
|
93
|
+
* const response =
|
|
94
|
+
* await client.aiGateway.billing.usageHistory({
|
|
95
|
+
* account_id: 'account_id',
|
|
96
|
+
* value_grouping_window: 'day',
|
|
97
|
+
* });
|
|
98
|
+
* ```
|
|
99
|
+
*/
|
|
100
|
+
usageHistory(params, options) {
|
|
101
|
+
const { account_id, ...query } = params;
|
|
102
|
+
return this._client.get(`/accounts/${account_id}/ai-gateway/billing/usage-history`, {
|
|
103
|
+
query,
|
|
104
|
+
...options,
|
|
105
|
+
})._thenUnwrap((obj) => obj.result);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.Billing = Billing;
|
|
109
|
+
Billing.Topup = topup_1.Topup;
|
|
110
|
+
Billing.SpendingLimit = spending_limit_1.SpendingLimit;
|
|
111
|
+
//# sourceMappingURL=billing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing.js","sourceRoot":"","sources":["../../../src/resources/ai-gateway/billing/billing.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,mDAAgD;AAEhD,sEAAqD;AACrD,wDAQ0B;AAC1B,2DAA0C;AAC1C,4CAMuB;AAEvB,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,kBAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAmGnG,CAAC;IAjGC;;;;;;;;;;;OAWG;IACH,aAAa,CACX,MAAkC,EAClC,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CACd,aAAa,UAAU,oCAAoC,EAC3D,OAAO,CAEV,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;;;;;;;;;OAUG;IACH,cAAc,CACZ,MAAmC,EACnC,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACxC,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,UAAU,qCAAqC,EAAE;YAC7E,KAAK;YACL,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;;;;;;;;;OAUG;IACH,cAAc,CACZ,MAAmC,EACnC,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CACd,aAAa,UAAU,qCAAqC,EAC5D,OAAO,CAEV,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;;;;;;;;;;OAWG;IACH,YAAY,CACV,MAAiC,EACjC,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACxC,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,UAAU,mCAAmC,EAAE;YAC3E,KAAK;YACL,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;CACF;AArGD,0BAqGC;AA8MD,OAAO,CAAC,KAAK,GAAG,aAAK,CAAC;AACtB,OAAO,CAAC,aAAa,GAAG,8BAAa,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../resource.mjs";
|
|
3
|
+
import * as SpendingLimitAPI from "./spending-limit.mjs";
|
|
4
|
+
import { SpendingLimit, } from "./spending-limit.mjs";
|
|
5
|
+
import * as TopupAPI from "./topup/topup.mjs";
|
|
6
|
+
import { Topup, } from "./topup/topup.mjs";
|
|
7
|
+
export class Billing extends APIResource {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments);
|
|
10
|
+
this.topup = new TopupAPI.Topup(this._client);
|
|
11
|
+
this.spendingLimit = new SpendingLimitAPI.SpendingLimit(this._client);
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Retrieve the current credit balance, payment method info, and top-up
|
|
15
|
+
* configuration.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```ts
|
|
19
|
+
* const response =
|
|
20
|
+
* await client.aiGateway.billing.creditBalance({
|
|
21
|
+
* account_id: 'account_id',
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
creditBalance(params, options) {
|
|
26
|
+
const { account_id } = params;
|
|
27
|
+
return this._client.get(`/accounts/${account_id}/ai-gateway/billing/credit-balance`, options)._thenUnwrap((obj) => obj.result);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Retrieve a list of past invoices with pagination, optionally filtered by type.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* const response =
|
|
35
|
+
* await client.aiGateway.billing.invoiceHistory({
|
|
36
|
+
* account_id: 'account_id',
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
invoiceHistory(params, options) {
|
|
41
|
+
const { account_id, ...query } = params;
|
|
42
|
+
return this._client.get(`/accounts/${account_id}/ai-gateway/billing/invoice-history`, {
|
|
43
|
+
query,
|
|
44
|
+
...options,
|
|
45
|
+
})._thenUnwrap((obj) => obj.result);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Retrieve a preview of the upcoming invoice including line items and tax.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```ts
|
|
52
|
+
* const response =
|
|
53
|
+
* await client.aiGateway.billing.invoicePreview({
|
|
54
|
+
* account_id: 'account_id',
|
|
55
|
+
* });
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
invoicePreview(params, options) {
|
|
59
|
+
const { account_id } = params;
|
|
60
|
+
return this._client.get(`/accounts/${account_id}/ai-gateway/billing/invoice-preview`, options)._thenUnwrap((obj) => obj.result);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Retrieve aggregated usage meter event summaries for the given time range.
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* ```ts
|
|
67
|
+
* const response =
|
|
68
|
+
* await client.aiGateway.billing.usageHistory({
|
|
69
|
+
* account_id: 'account_id',
|
|
70
|
+
* value_grouping_window: 'day',
|
|
71
|
+
* });
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
usageHistory(params, options) {
|
|
75
|
+
const { account_id, ...query } = params;
|
|
76
|
+
return this._client.get(`/accounts/${account_id}/ai-gateway/billing/usage-history`, {
|
|
77
|
+
query,
|
|
78
|
+
...options,
|
|
79
|
+
})._thenUnwrap((obj) => obj.result);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
Billing.Topup = Topup;
|
|
83
|
+
Billing.SpendingLimit = SpendingLimit;
|
|
84
|
+
//# sourceMappingURL=billing.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing.mjs","sourceRoot":"","sources":["../../../src/resources/ai-gateway/billing/billing.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,gBAAgB;OACrB,EACL,aAAa,GAOd;OACM,KAAK,QAAQ;OACb,EACL,KAAK,GAKN;AAED,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,kBAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAmGnG,CAAC;IAjGC;;;;;;;;;;;OAWG;IACH,aAAa,CACX,MAAkC,EAClC,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CACd,aAAa,UAAU,oCAAoC,EAC3D,OAAO,CAEV,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;;;;;;;;;OAUG;IACH,cAAc,CACZ,MAAmC,EACnC,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACxC,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,UAAU,qCAAqC,EAAE;YAC7E,KAAK;YACL,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;;;;;;;;;OAUG;IACH,cAAc,CACZ,MAAmC,EACnC,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CACd,aAAa,UAAU,qCAAqC,EAC5D,OAAO,CAEV,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;;;;;;;;;;OAWG;IACH,YAAY,CACV,MAAiC,EACjC,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACxC,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,UAAU,mCAAmC,EAAE;YAC3E,KAAK;YACL,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;CACF;AA8MD,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC;AACtB,OAAO,CAAC,aAAa,GAAG,aAAa,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { Billing, type BillingCreditBalanceResponse, type BillingInvoiceHistoryResponse, type BillingInvoicePreviewResponse, type BillingUsageHistoryResponse, type BillingCreditBalanceParams, type BillingInvoiceHistoryParams, type BillingInvoicePreviewParams, type BillingUsageHistoryParams, } from "./billing.js";
|
|
2
|
+
export { SpendingLimit, type SpendingLimitCreateResponse, type SpendingLimitDeleteResponse, type SpendingLimitGetResponse, type SpendingLimitCreateParams, type SpendingLimitDeleteParams, type SpendingLimitGetParams, } from "./spending-limit.js";
|
|
3
|
+
export { Topup, type TopupCreateResponse, type TopupStatusResponse, type TopupCreateParams, type TopupStatusParams, } from "./topup/index.js";
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/ai-gateway/billing/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,GAC/B,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,aAAa,EACb,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,sBAAsB,GAC5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,KAAK,EACL,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
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.Topup = exports.SpendingLimit = exports.Billing = void 0;
|
|
5
|
+
var billing_1 = require("./billing.js");
|
|
6
|
+
Object.defineProperty(exports, "Billing", { enumerable: true, get: function () { return billing_1.Billing; } });
|
|
7
|
+
var spending_limit_1 = require("./spending-limit.js");
|
|
8
|
+
Object.defineProperty(exports, "SpendingLimit", { enumerable: true, get: function () { return spending_limit_1.SpendingLimit; } });
|
|
9
|
+
var index_1 = require("./topup/index.js");
|
|
10
|
+
Object.defineProperty(exports, "Topup", { enumerable: true, get: function () { return index_1.Topup; } });
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/ai-gateway/billing/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAUmB;AATjB,kGAAA,OAAO,OAAA;AAUT,sDAQ0B;AAPxB,+GAAA,aAAa,OAAA;AAQf,0CAMuB;AALrB,8FAAA,KAAK,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/ai-gateway/billing/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,OAAO,GASR;OACM,EACL,aAAa,GAOd;OACM,EACL,KAAK,GAKN"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { APIResource } from "../../../resource.js";
|
|
2
|
+
import * as Core from "../../../core.js";
|
|
3
|
+
export declare class SpendingLimit extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Configure a spending limit with amount, strategy, and duration.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```ts
|
|
9
|
+
* const spendingLimit =
|
|
10
|
+
* await client.aiGateway.billing.spendingLimit.create({
|
|
11
|
+
* account_id: 'account_id',
|
|
12
|
+
* amount: 10000,
|
|
13
|
+
* duration: 'monthly',
|
|
14
|
+
* strategy: 'fixed',
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
create(params: SpendingLimitCreateParams, options?: Core.RequestOptions): Core.APIPromise<SpendingLimitCreateResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Remove the spending limit for the account.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* const spendingLimit =
|
|
25
|
+
* await client.aiGateway.billing.spendingLimit.delete({
|
|
26
|
+
* account_id: 'account_id',
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
delete(params: SpendingLimitDeleteParams, options?: Core.RequestOptions): Core.APIPromise<SpendingLimitDeleteResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* Retrieve the current spending limit configuration for the account.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* const spendingLimit =
|
|
37
|
+
* await client.aiGateway.billing.spendingLimit.get({
|
|
38
|
+
* account_id: 'account_id',
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
get(params: SpendingLimitGetParams, options?: Core.RequestOptions): Core.APIPromise<SpendingLimitGetResponse>;
|
|
43
|
+
}
|
|
44
|
+
export type SpendingLimitCreateResponse = unknown;
|
|
45
|
+
export type SpendingLimitDeleteResponse = unknown;
|
|
46
|
+
export interface SpendingLimitGetResponse {
|
|
47
|
+
config: SpendingLimitGetResponse.Config;
|
|
48
|
+
enabled: boolean;
|
|
49
|
+
}
|
|
50
|
+
export declare namespace SpendingLimitGetResponse {
|
|
51
|
+
interface Config {
|
|
52
|
+
amount: number | null;
|
|
53
|
+
duration: string | null;
|
|
54
|
+
strategy: string | null;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
export interface SpendingLimitCreateParams {
|
|
58
|
+
/**
|
|
59
|
+
* Path param: Cloudflare account ID.
|
|
60
|
+
*/
|
|
61
|
+
account_id: string;
|
|
62
|
+
/**
|
|
63
|
+
* Body param: Spending limit amount in cents (min 100).
|
|
64
|
+
*/
|
|
65
|
+
amount: number;
|
|
66
|
+
/**
|
|
67
|
+
* Body param: Spending limit duration.
|
|
68
|
+
*/
|
|
69
|
+
duration: 'daily' | 'weekly' | 'monthly';
|
|
70
|
+
/**
|
|
71
|
+
* Body param: Spending limit strategy.
|
|
72
|
+
*/
|
|
73
|
+
strategy: 'fixed' | 'sliding';
|
|
74
|
+
}
|
|
75
|
+
export interface SpendingLimitDeleteParams {
|
|
76
|
+
/**
|
|
77
|
+
* Cloudflare account ID.
|
|
78
|
+
*/
|
|
79
|
+
account_id: string;
|
|
80
|
+
}
|
|
81
|
+
export interface SpendingLimitGetParams {
|
|
82
|
+
/**
|
|
83
|
+
* Cloudflare account ID.
|
|
84
|
+
*/
|
|
85
|
+
account_id: string;
|
|
86
|
+
}
|
|
87
|
+
export declare namespace SpendingLimit {
|
|
88
|
+
export { type SpendingLimitCreateResponse as SpendingLimitCreateResponse, type SpendingLimitDeleteResponse as SpendingLimitDeleteResponse, type SpendingLimitGetResponse as SpendingLimitGetResponse, type SpendingLimitCreateParams as SpendingLimitCreateParams, type SpendingLimitDeleteParams as SpendingLimitDeleteParams, type SpendingLimitGetParams as SpendingLimitGetParams, };
|
|
89
|
+
}
|
|
90
|
+
//# sourceMappingURL=spending-limit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spending-limit.d.ts","sourceRoot":"","sources":["../../../src/resources/ai-gateway/billing/spending-limit.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AAEtC,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,MAAM,EAAE,yBAAyB,EACjC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,2BAA2B,CAAC;IAU/C;;;;;;;;;;OAUG;IACH,MAAM,CACJ,MAAM,EAAE,yBAAyB,EACjC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,2BAA2B,CAAC;IAU/C;;;;;;;;;;OAUG;IACH,GAAG,CACD,MAAM,EAAE,sBAAsB,EAC9B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,wBAAwB,CAAC;CAS7C;AAED,MAAM,MAAM,2BAA2B,GAAG,OAAO,CAAC;AAElD,MAAM,MAAM,2BAA2B,GAAG,OAAO,CAAC;AAElD,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,wBAAwB,CAAC,MAAM,CAAC;IAExC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,yBAAiB,wBAAwB,CAAC;IACxC,UAAiB,MAAM;QACrB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QAEtB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QAExB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;KACzB;CACF;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;IAEzC;;OAEG;IACH,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAC;CAC/B;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -0,0 +1,60 @@
|
|
|
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.SpendingLimit = void 0;
|
|
5
|
+
const resource_1 = require("../../../resource.js");
|
|
6
|
+
class SpendingLimit extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Configure a spending limit with amount, strategy, and duration.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* const spendingLimit =
|
|
13
|
+
* await client.aiGateway.billing.spendingLimit.create({
|
|
14
|
+
* account_id: 'account_id',
|
|
15
|
+
* amount: 10000,
|
|
16
|
+
* duration: 'monthly',
|
|
17
|
+
* strategy: 'fixed',
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
create(params, options) {
|
|
22
|
+
const { account_id, ...body } = params;
|
|
23
|
+
return this._client.post(`/accounts/${account_id}/ai-gateway/billing/spending-limit`, {
|
|
24
|
+
body,
|
|
25
|
+
...options,
|
|
26
|
+
})._thenUnwrap((obj) => obj.result);
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Remove the spending limit for the account.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* const spendingLimit =
|
|
34
|
+
* await client.aiGateway.billing.spendingLimit.delete({
|
|
35
|
+
* account_id: 'account_id',
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
delete(params, options) {
|
|
40
|
+
const { account_id } = params;
|
|
41
|
+
return this._client.delete(`/accounts/${account_id}/ai-gateway/billing/spending-limit`, options)._thenUnwrap((obj) => obj.result);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Retrieve the current spending limit configuration for the account.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```ts
|
|
48
|
+
* const spendingLimit =
|
|
49
|
+
* await client.aiGateway.billing.spendingLimit.get({
|
|
50
|
+
* account_id: 'account_id',
|
|
51
|
+
* });
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
get(params, options) {
|
|
55
|
+
const { account_id } = params;
|
|
56
|
+
return this._client.get(`/accounts/${account_id}/ai-gateway/billing/spending-limit`, options)._thenUnwrap((obj) => obj.result);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.SpendingLimit = SpendingLimit;
|
|
60
|
+
//# sourceMappingURL=spending-limit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spending-limit.js","sourceRoot":"","sources":["../../../src/resources/ai-gateway/billing/spending-limit.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mDAAgD;AAGhD,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,MAAiC,EACjC,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACvC,OACE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,UAAU,oCAAoC,EAAE;YAC7E,IAAI;YACJ,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CACJ,MAAiC,EACjC,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OACE,IAAI,CAAC,OAAO,CAAC,MAAM,CACjB,aAAa,UAAU,oCAAoC,EAC3D,OAAO,CAEV,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;;;;;;;;;OAUG;IACH,GAAG,CACD,MAA8B,EAC9B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CACd,aAAa,UAAU,oCAAoC,EAC3D,OAAO,CAEV,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;CACF;AA3ED,sCA2EC"}
|