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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buckets.d.ts","sourceRoot":"","sources":["../../../src/resources/r2/buckets/buckets.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AACtC,OAAO,KAAK,OAAO,MAAM,QAAQ,CAAC;AAClC,OAAO,EACL,IAAI,EACJ,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,qBAAqB,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EACL,6BAA6B,EAC7B,+BAA+B,EAC/B,0BAA0B,EAC1B,4BAA4B,EAC5B,2BAA2B,EAC3B,6BAA6B,EAC7B,6BAA6B,EAC7B,+BAA+B,EAC/B,kBAAkB,EACnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,YAAY,MAAM,aAAa,CAAC;AAC5C,OAAO,EACL,SAAS,EACT,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,QAAQ,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,KAAK,EA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sAPI = __importStar(require("./metrics.js"));
|
|
38
38
|
const metrics_1 = require("./metrics.js");
|
|
39
|
+
const ObjectsAPI = __importStar(require("./objects.js"));
|
|
40
|
+
const objects_1 = require("./objects.js");
|
|
39
41
|
const SippyAPI = __importStar(require("./sippy.js"));
|
|
40
42
|
const sippy_1 = require("./sippy.js");
|
|
41
43
|
const DomainsAPI = __importStar(require("./domains/domains.js"));
|
|
@@ -50,6 +52,7 @@ class Buckets extends resource_1.APIResource {
|
|
|
50
52
|
this.locks = new LocksAPI.Locks(this._client);
|
|
51
53
|
this.metrics = new MetricsAPI.Metrics(this._client);
|
|
52
54
|
this.sippy = new SippyAPI.SippyResource(this._client);
|
|
55
|
+
this.objects = new ObjectsAPI.Objects(this._client);
|
|
53
56
|
}
|
|
54
57
|
/**
|
|
55
58
|
* Creates a new R2 bucket.
|
|
@@ -180,4 +183,6 @@ Buckets.EventNotifications = event_notifications_1.EventNotifications;
|
|
|
180
183
|
Buckets.Locks = locks_1.Locks;
|
|
181
184
|
Buckets.Metrics = metrics_1.Metrics;
|
|
182
185
|
Buckets.SippyResource = sippy_1.SippyResource;
|
|
186
|
+
Buckets.Objects = objects_1.Objects;
|
|
187
|
+
Buckets.ObjectListResponsesCursorPagination = objects_1.ObjectListResponsesCursorPagination;
|
|
183
188
|
//# sourceMappingURL=buckets.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buckets.js","sourceRoot":"","sources":["../../../src/resources/r2/buckets/buckets.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,mDAAgD;AAEhD,mDAAkC;AAClC,oCAQgB;AAChB,gFAA+D;AAC/D,kEAU+B;AAC/B,6DAA4C;AAC5C,8CAMqB;AACrB,qDAAoC;AACpC,sCAAsG;AACtG,yDAAwC;AACxC,0CAA0E;AAC1E,qDAAoC;AACpC,sCAQiB;AACjB,iEAAgD;AAChD,kDAA4C;AAE5C,MAAa,OAAQ,SAA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LocksAPI from "./locks.mjs";
|
|
|
10
10
|
import { Locks } from "./locks.mjs";
|
|
11
11
|
import * as MetricsAPI from "./metrics.mjs";
|
|
12
12
|
import { Metrics } from "./metrics.mjs";
|
|
13
|
+
import * as ObjectsAPI from "./objects.mjs";
|
|
14
|
+
import { ObjectListResponsesCursorPagination, Objects, } from "./objects.mjs";
|
|
13
15
|
import * as SippyAPI from "./sippy.mjs";
|
|
14
16
|
import { SippyResource, } from "./sippy.mjs";
|
|
15
17
|
import * as DomainsAPI from "./domains/domains.mjs";
|
|
@@ -24,6 +26,7 @@ export class Buckets extends APIResource {
|
|
|
24
26
|
this.locks = new LocksAPI.Locks(this._client);
|
|
25
27
|
this.metrics = new MetricsAPI.Metrics(this._client);
|
|
26
28
|
this.sippy = new SippyAPI.SippyResource(this._client);
|
|
29
|
+
this.objects = new ObjectsAPI.Objects(this._client);
|
|
27
30
|
}
|
|
28
31
|
/**
|
|
29
32
|
* Creates a new R2 bucket.
|
|
@@ -153,4 +156,6 @@ Buckets.EventNotifications = EventNotifications;
|
|
|
153
156
|
Buckets.Locks = Locks;
|
|
154
157
|
Buckets.Metrics = Metrics;
|
|
155
158
|
Buckets.SippyResource = SippyResource;
|
|
159
|
+
Buckets.Objects = Objects;
|
|
160
|
+
Buckets.ObjectListResponsesCursorPagination = ObjectListResponsesCursorPagination;
|
|
156
161
|
//# sourceMappingURL=buckets.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buckets.mjs","sourceRoot":"","sources":["../../../src/resources/r2/buckets/buckets.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,OAAO;OACZ,EACL,IAAI,GAOL;OACM,KAAK,qBAAqB;OAC1B,EASL,kBAAkB,GACnB;OACM,KAAK,YAAY;OACjB,EACL,SAAS,GAKV;OACM,KAAK,QAAQ;OACb,EAAwE,KAAK,EAAE;OAC/E,KAAK,UAAU;OACf,EAAwC,OAAO,EAAE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GAAG,OAAO,CAAC;AAC1B,OAAO,CAAC,aAAa,GAAG,aAAa,CAAC;AACtC,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC;AAC1B,OAAO,CAAC,mCAAmC,GAAG,mCAAmC,CAAC"}
|
|
@@ -5,5 +5,6 @@ export { EventNotifications, type EventNotificationUpdateResponse, type EventNot
|
|
|
5
5
|
export { Lifecycle, type LifecycleUpdateResponse, type LifecycleGetResponse, type LifecycleUpdateParams, type LifecycleGetParams, } from "./lifecycle.js";
|
|
6
6
|
export { Locks, type LockUpdateResponse, type LockGetResponse, type LockUpdateParams, type LockGetParams, } from "./locks.js";
|
|
7
7
|
export { Metrics, type MetricListResponse, type MetricListParams } from "./metrics.js";
|
|
8
|
+
export { ObjectListResponsesCursorPagination, Objects, type ObjectListResponse, type ObjectDeleteResponse, type ObjectUploadResponse, type ObjectListParams, type ObjectDeleteParams, type ObjectGetParams, type ObjectUploadParams, } from "./objects.js";
|
|
8
9
|
export { SippyResource, type Provider, type Sippy, type SippyDeleteResponse, type SippyUpdateParams, type SippyDeleteParams, type SippyGetParams, } from "./sippy.js";
|
|
9
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/r2/buckets/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,eAAe,GACrB,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,IAAI,EACJ,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,aAAa,GACnB,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EACL,kBAAkB,EAClB,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,0BAA0B,GAChC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,SAAS,EACT,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,GACxB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,KAAK,EACL,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,aAAa,GACnB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,WAAW,CAAC;AACpF,OAAO,EACL,aAAa,EACb,KAAK,QAAQ,EACb,KAAK,KAAK,EACV,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,cAAc,GACpB,MAAM,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/r2/buckets/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,eAAe,GACrB,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,IAAI,EACJ,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,aAAa,GACnB,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EACL,kBAAkB,EAClB,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,0BAA0B,GAChC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,SAAS,EACT,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,GACxB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,KAAK,EACL,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,aAAa,GACnB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,WAAW,CAAC;AACpF,OAAO,EACL,mCAAmC,EACnC,OAAO,EACP,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,kBAAkB,GACxB,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,aAAa,EACb,KAAK,QAAQ,EACb,KAAK,KAAK,EACV,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,cAAc,GACpB,MAAM,SAAS,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.SippyResource = exports.Metrics = exports.Locks = exports.Lifecycle = exports.EventNotifications = exports.Domains = exports.CORS = exports.Buckets = void 0;
|
|
4
|
+
exports.SippyResource = exports.Objects = exports.ObjectListResponsesCursorPagination = exports.Metrics = exports.Locks = exports.Lifecycle = exports.EventNotifications = exports.Domains = exports.CORS = exports.Buckets = void 0;
|
|
5
5
|
var buckets_1 = require("./buckets.js");
|
|
6
6
|
Object.defineProperty(exports, "Buckets", { enumerable: true, get: function () { return buckets_1.Buckets; } });
|
|
7
7
|
var cors_1 = require("./cors.js");
|
|
@@ -16,6 +16,9 @@ var locks_1 = require("./locks.js");
|
|
|
16
16
|
Object.defineProperty(exports, "Locks", { enumerable: true, get: function () { return locks_1.Locks; } });
|
|
17
17
|
var metrics_1 = require("./metrics.js");
|
|
18
18
|
Object.defineProperty(exports, "Metrics", { enumerable: true, get: function () { return metrics_1.Metrics; } });
|
|
19
|
+
var objects_1 = require("./objects.js");
|
|
20
|
+
Object.defineProperty(exports, "ObjectListResponsesCursorPagination", { enumerable: true, get: function () { return objects_1.ObjectListResponsesCursorPagination; } });
|
|
21
|
+
Object.defineProperty(exports, "Objects", { enumerable: true, get: function () { return objects_1.Objects; } });
|
|
19
22
|
var sippy_1 = require("./sippy.js");
|
|
20
23
|
Object.defineProperty(exports, "SippyResource", { enumerable: true, get: function () { return sippy_1.SippyResource; } });
|
|
21
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/r2/buckets/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAUmB;AATjB,kGAAA,OAAO,OAAA;AAUT,kCAQgB;AAPd,4FAAA,IAAI,OAAA;AAQN,4CAA0C;AAAjC,gGAAA,OAAO,OAAA;AAChB,gEAU+B;AAT7B,yHAAA,kBAAkB,OAAA;AAUpB,4CAMqB;AALnB,sGAAA,SAAS,OAAA;AAMX,oCAMiB;AALf,8FAAA,KAAK,OAAA;AAMP,wCAAoF;AAA3E,kGAAA,OAAO,OAAA;AAChB,oCAQiB;AAPf,sGAAA,aAAa,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/r2/buckets/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAUmB;AATjB,kGAAA,OAAO,OAAA;AAUT,kCAQgB;AAPd,4FAAA,IAAI,OAAA;AAQN,4CAA0C;AAAjC,gGAAA,OAAO,OAAA;AAChB,gEAU+B;AAT7B,yHAAA,kBAAkB,OAAA;AAUpB,4CAMqB;AALnB,sGAAA,SAAS,OAAA;AAMX,oCAMiB;AALf,8FAAA,KAAK,OAAA;AAMP,wCAAoF;AAA3E,kGAAA,OAAO,OAAA;AAChB,wCAUmB;AATjB,8HAAA,mCAAmC,OAAA;AACnC,kGAAA,OAAO,OAAA;AAST,oCAQiB;AAPf,sGAAA,aAAa,OAAA"}
|
|
@@ -6,5 +6,6 @@ export { EventNotifications, } from "./event-notifications.mjs";
|
|
|
6
6
|
export { Lifecycle, } from "./lifecycle.mjs";
|
|
7
7
|
export { Locks, } from "./locks.mjs";
|
|
8
8
|
export { Metrics } from "./metrics.mjs";
|
|
9
|
+
export { ObjectListResponsesCursorPagination, Objects, } from "./objects.mjs";
|
|
9
10
|
export { SippyResource, } from "./sippy.mjs";
|
|
10
11
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/r2/buckets/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,OAAO,GASR;OACM,EACL,IAAI,GAOL;OACM,EAAE,OAAO,EAAE;OACX,EACL,kBAAkB,GASnB;OACM,EACL,SAAS,GAKV;OACM,EACL,KAAK,GAKN;OACM,EAAE,OAAO,EAAkD;OAC3D,EACL,aAAa,GAOd"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/r2/buckets/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,OAAO,GASR;OACM,EACL,IAAI,GAOL;OACM,EAAE,OAAO,EAAE;OACX,EACL,kBAAkB,GASnB;OACM,EACL,SAAS,GAKV;OACM,EACL,KAAK,GAKN;OACM,EAAE,OAAO,EAAkD;OAC3D,EACL,mCAAmC,EACnC,OAAO,GAQR;OACM,EACL,aAAa,GAOd"}
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
import { APIResource } from "../../../resource.js";
|
|
2
|
+
import * as Core from "../../../core.js";
|
|
3
|
+
import { CursorPagination, type CursorPaginationParams } from "../../../pagination.js";
|
|
4
|
+
import { type BlobLike } from "../../../uploads.js";
|
|
5
|
+
import { type Response } from "../../../_shims/index.js";
|
|
6
|
+
export declare class Objects extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Lists objects in an R2 bucket. Returns object metadata including key, size,
|
|
9
|
+
* etag, last modified date, HTTP metadata, and custom metadata.
|
|
10
|
+
*
|
|
11
|
+
* For most workloads, we recommend using R2's
|
|
12
|
+
* [S3-compatible API](https://developers.cloudflare.com/r2/api/s3/api/) or a
|
|
13
|
+
* [Worker with an R2 binding](https://developers.cloudflare.com/r2/api/workers/workers-api-reference/)
|
|
14
|
+
* instead.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```ts
|
|
18
|
+
* // Automatically fetches more pages as needed.
|
|
19
|
+
* for await (const objectListResponse of client.r2.buckets.objects.list(
|
|
20
|
+
* 'example-bucket',
|
|
21
|
+
* { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
22
|
+
* )) {
|
|
23
|
+
* // ...
|
|
24
|
+
* }
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
list(bucketName: string, params: ObjectListParams, options?: Core.RequestOptions): Core.PagePromise<ObjectListResponsesCursorPagination, ObjectListResponse>;
|
|
28
|
+
/**
|
|
29
|
+
* Deletes an object from an R2 bucket.
|
|
30
|
+
*
|
|
31
|
+
* For most workloads, we recommend using R2's
|
|
32
|
+
* [S3-compatible API](https://developers.cloudflare.com/r2/api/s3/api/) or a
|
|
33
|
+
* [Worker with an R2 binding](https://developers.cloudflare.com/r2/api/workers/workers-api-reference/)
|
|
34
|
+
* instead.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const object = await client.r2.buckets.objects.delete(
|
|
39
|
+
* 'example-bucket',
|
|
40
|
+
* 'path/to/my-object.txt',
|
|
41
|
+
* { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
42
|
+
* );
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
delete(bucketName: string, objectKey: string, params: ObjectDeleteParams, options?: Core.RequestOptions): Core.APIPromise<ObjectDeleteResponse>;
|
|
46
|
+
/**
|
|
47
|
+
* Retrieves an object from an R2 bucket. Returns the object body along with
|
|
48
|
+
* metadata headers.
|
|
49
|
+
*
|
|
50
|
+
* For most workloads, we recommend using R2's
|
|
51
|
+
* [S3-compatible API](https://developers.cloudflare.com/r2/api/s3/api/) or a
|
|
52
|
+
* [Worker with an R2 binding](https://developers.cloudflare.com/r2/api/workers/workers-api-reference/)
|
|
53
|
+
* instead.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* const object = await client.r2.buckets.objects.get(
|
|
58
|
+
* 'example-bucket',
|
|
59
|
+
* 'path/to/my-object.txt',
|
|
60
|
+
* { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
61
|
+
* );
|
|
62
|
+
*
|
|
63
|
+
* const content = await object.blob();
|
|
64
|
+
* console.log(content);
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
get(bucketName: string, objectKey: string, params: ObjectGetParams, options?: Core.RequestOptions): Core.APIPromise<Response>;
|
|
68
|
+
/**
|
|
69
|
+
* Uploads an object to an R2 bucket. The object body is provided as the request
|
|
70
|
+
* body. Returns metadata about the uploaded object.
|
|
71
|
+
*
|
|
72
|
+
* The maximum upload size for this endpoint is 300 MB. For most workloads, we
|
|
73
|
+
* recommend using R2's
|
|
74
|
+
* [S3-compatible API](https://developers.cloudflare.com/r2/api/s3/api/) or a
|
|
75
|
+
* [Worker with an R2 binding](https://developers.cloudflare.com/r2/api/workers/workers-api-reference/)
|
|
76
|
+
* instead.
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* ```ts
|
|
80
|
+
* const response = await client.r2.buckets.objects.upload(
|
|
81
|
+
* 'example-bucket',
|
|
82
|
+
* 'path/to/my-object.txt',
|
|
83
|
+
* fs.createReadStream('path/to/file'),
|
|
84
|
+
* { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
85
|
+
* );
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
88
|
+
upload(bucketName: string, objectKey: string, body: string | ArrayBufferView | ArrayBuffer | BlobLike, params: ObjectUploadParams, options?: Core.RequestOptions): Core.APIPromise<ObjectUploadResponse>;
|
|
89
|
+
}
|
|
90
|
+
export declare class ObjectListResponsesCursorPagination extends CursorPagination<ObjectListResponse> {
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Metadata for an R2 object.
|
|
94
|
+
*/
|
|
95
|
+
export interface ObjectListResponse {
|
|
96
|
+
/**
|
|
97
|
+
* Custom metadata key-value pairs associated with the object.
|
|
98
|
+
*/
|
|
99
|
+
custom_metadata?: {
|
|
100
|
+
[key: string]: string;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* The entity tag for the object. In JSON list/get responses this is the raw hex
|
|
104
|
+
* digest (without surrounding quotes). The HTTP `ETag` response header on Get
|
|
105
|
+
* Object follows RFC 7232 and IS wrapped in surrounding double-quotes.
|
|
106
|
+
*/
|
|
107
|
+
etag?: string;
|
|
108
|
+
/**
|
|
109
|
+
* HTTP metadata associated with an R2 object.
|
|
110
|
+
*/
|
|
111
|
+
http_metadata?: ObjectListResponse.HTTPMetadata;
|
|
112
|
+
/**
|
|
113
|
+
* The object key (name).
|
|
114
|
+
*/
|
|
115
|
+
key?: string;
|
|
116
|
+
/**
|
|
117
|
+
* The date and time the object was last modified.
|
|
118
|
+
*/
|
|
119
|
+
last_modified?: string;
|
|
120
|
+
/**
|
|
121
|
+
* The size of the object in bytes.
|
|
122
|
+
*/
|
|
123
|
+
size?: number;
|
|
124
|
+
/**
|
|
125
|
+
* Whether the object is encrypted with a customer-supplied encryption key.
|
|
126
|
+
*/
|
|
127
|
+
ssec?: boolean;
|
|
128
|
+
/**
|
|
129
|
+
* Storage class for newly uploaded objects, unless specified otherwise.
|
|
130
|
+
*/
|
|
131
|
+
storage_class?: 'Standard' | 'InfrequentAccess';
|
|
132
|
+
}
|
|
133
|
+
export declare namespace ObjectListResponse {
|
|
134
|
+
/**
|
|
135
|
+
* HTTP metadata associated with an R2 object.
|
|
136
|
+
*/
|
|
137
|
+
interface HTTPMetadata {
|
|
138
|
+
/**
|
|
139
|
+
* Specifies caching behavior for the object.
|
|
140
|
+
*/
|
|
141
|
+
cacheControl?: string;
|
|
142
|
+
/**
|
|
143
|
+
* The date and time at which the object's cache entry expires.
|
|
144
|
+
*/
|
|
145
|
+
cacheExpiry?: string;
|
|
146
|
+
/**
|
|
147
|
+
* Specifies presentational information for the object.
|
|
148
|
+
*/
|
|
149
|
+
contentDisposition?: string;
|
|
150
|
+
/**
|
|
151
|
+
* Specifies the content encoding applied to the object.
|
|
152
|
+
*/
|
|
153
|
+
contentEncoding?: string;
|
|
154
|
+
/**
|
|
155
|
+
* The language of the object content.
|
|
156
|
+
*/
|
|
157
|
+
contentLanguage?: string;
|
|
158
|
+
/**
|
|
159
|
+
* The MIME type of the object.
|
|
160
|
+
*/
|
|
161
|
+
contentType?: string;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Result of a successful object deletion.
|
|
166
|
+
*/
|
|
167
|
+
export interface ObjectDeleteResponse {
|
|
168
|
+
/**
|
|
169
|
+
* The key (name) of the deleted object.
|
|
170
|
+
*/
|
|
171
|
+
key?: string;
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Result of a successful object upload.
|
|
175
|
+
*/
|
|
176
|
+
export interface ObjectUploadResponse {
|
|
177
|
+
/**
|
|
178
|
+
* The entity tag for the uploaded object.
|
|
179
|
+
*/
|
|
180
|
+
etag?: string;
|
|
181
|
+
/**
|
|
182
|
+
* The key (name) of the uploaded object.
|
|
183
|
+
*/
|
|
184
|
+
key?: string;
|
|
185
|
+
/**
|
|
186
|
+
* The size of the uploaded object in bytes (as a string).
|
|
187
|
+
*/
|
|
188
|
+
size?: string;
|
|
189
|
+
/**
|
|
190
|
+
* Storage class for newly uploaded objects, unless specified otherwise.
|
|
191
|
+
*/
|
|
192
|
+
storage_class?: 'Standard' | 'InfrequentAccess';
|
|
193
|
+
/**
|
|
194
|
+
* The date and time the object was uploaded.
|
|
195
|
+
*/
|
|
196
|
+
uploaded?: string;
|
|
197
|
+
/**
|
|
198
|
+
* The version UUID of the uploaded object.
|
|
199
|
+
*/
|
|
200
|
+
version?: string;
|
|
201
|
+
}
|
|
202
|
+
export interface ObjectListParams extends CursorPaginationParams {
|
|
203
|
+
/**
|
|
204
|
+
* Path param: Account ID.
|
|
205
|
+
*/
|
|
206
|
+
account_id: string;
|
|
207
|
+
/**
|
|
208
|
+
* Query param: A single character used to group keys. All keys that contain the
|
|
209
|
+
* delimiter between the prefix and the first occurrence of the delimiter after the
|
|
210
|
+
* prefix are grouped under a single result element.
|
|
211
|
+
*/
|
|
212
|
+
delimiter?: string;
|
|
213
|
+
/**
|
|
214
|
+
* Query param: Restricts results to only those objects whose keys begin with the
|
|
215
|
+
* specified prefix.
|
|
216
|
+
*/
|
|
217
|
+
prefix?: string;
|
|
218
|
+
/**
|
|
219
|
+
* Query param: Returns objects with keys that come after the specified key in
|
|
220
|
+
* lexicographic order.
|
|
221
|
+
*/
|
|
222
|
+
start_after?: string;
|
|
223
|
+
/**
|
|
224
|
+
* Header param: Jurisdiction where objects in this bucket are guaranteed to be
|
|
225
|
+
* stored.
|
|
226
|
+
*/
|
|
227
|
+
jurisdiction?: 'default' | 'eu' | 'fedramp';
|
|
228
|
+
}
|
|
229
|
+
export interface ObjectDeleteParams {
|
|
230
|
+
/**
|
|
231
|
+
* Path param: Account ID.
|
|
232
|
+
*/
|
|
233
|
+
account_id: string;
|
|
234
|
+
/**
|
|
235
|
+
* Header param: Jurisdiction where objects in this bucket are guaranteed to be
|
|
236
|
+
* stored.
|
|
237
|
+
*/
|
|
238
|
+
jurisdiction?: 'default' | 'eu' | 'fedramp';
|
|
239
|
+
}
|
|
240
|
+
export interface ObjectGetParams {
|
|
241
|
+
/**
|
|
242
|
+
* Path param: Account ID.
|
|
243
|
+
*/
|
|
244
|
+
account_id: string;
|
|
245
|
+
/**
|
|
246
|
+
* Header param: Jurisdiction where objects in this bucket are guaranteed to be
|
|
247
|
+
* stored.
|
|
248
|
+
*/
|
|
249
|
+
jurisdiction?: 'default' | 'eu' | 'fedramp';
|
|
250
|
+
/**
|
|
251
|
+
* Header param: Returns the object only if it has been modified since the
|
|
252
|
+
* specified time. Must be formatted as an HTTP-date (RFC 7231), e.g.
|
|
253
|
+
* `Tue, 15 Jan 2024 10:30:00 GMT`.
|
|
254
|
+
*/
|
|
255
|
+
'If-Modified-Since'?: string;
|
|
256
|
+
/**
|
|
257
|
+
* Header param: Returns the object only if its ETag does not match the given
|
|
258
|
+
* value.
|
|
259
|
+
*/
|
|
260
|
+
'If-None-Match'?: string;
|
|
261
|
+
}
|
|
262
|
+
export interface ObjectUploadParams {
|
|
263
|
+
/**
|
|
264
|
+
* Path param: Account ID.
|
|
265
|
+
*/
|
|
266
|
+
account_id: string;
|
|
267
|
+
/**
|
|
268
|
+
* Header param: Jurisdiction where objects in this bucket are guaranteed to be
|
|
269
|
+
* stored.
|
|
270
|
+
*/
|
|
271
|
+
jurisdiction?: 'default' | 'eu' | 'fedramp';
|
|
272
|
+
/**
|
|
273
|
+
* Header param: Storage class for newly uploaded objects, unless specified
|
|
274
|
+
* otherwise.
|
|
275
|
+
*/
|
|
276
|
+
'cf-r2-storage-class'?: 'Standard' | 'InfrequentAccess';
|
|
277
|
+
}
|
|
278
|
+
export declare namespace Objects {
|
|
279
|
+
export { type ObjectListResponse as ObjectListResponse, type ObjectDeleteResponse as ObjectDeleteResponse, type ObjectUploadResponse as ObjectUploadResponse, ObjectListResponsesCursorPagination as ObjectListResponsesCursorPagination, type ObjectListParams as ObjectListParams, type ObjectDeleteParams as ObjectDeleteParams, type ObjectGetParams as ObjectGetParams, type ObjectUploadParams as ObjectUploadParams, };
|
|
280
|
+
}
|
|
281
|
+
//# sourceMappingURL=objects.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"objects.d.ts","sourceRoot":"","sources":["../../../src/resources/r2/buckets/objects.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AACpF,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,IAAI,CACF,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,gBAAgB,EACxB,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,WAAW,CAAC,mCAAmC,EAAE,kBAAkB,CAAC;IAkB5E;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,oBAAoB,CAAC;IAexC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,GAAG,CACD,UAAU,EAAE,M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;IAE7B;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,YAAY,CAAC,EAAE,SAAS,GAAG,IAAI,GAAG,SAAS,CAAC;IAE5C;;;OAGG;IACH,qBAAqB,CAAC,EAAE,UAAU,GAAG,kBAAkB,CAAC;CACzD;AAID,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,mCAAmC,IAAI,mCAAmC,EAC1E,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -0,0 +1,151 @@
|
|
|
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.ObjectListResponsesCursorPagination = exports.Objects = void 0;
|
|
5
|
+
const resource_1 = require("../../../resource.js");
|
|
6
|
+
const pagination_1 = require("../../../pagination.js");
|
|
7
|
+
class Objects extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Lists objects in an R2 bucket. Returns object metadata including key, size,
|
|
10
|
+
* etag, last modified date, HTTP metadata, and custom metadata.
|
|
11
|
+
*
|
|
12
|
+
* For most workloads, we recommend using R2's
|
|
13
|
+
* [S3-compatible API](https://developers.cloudflare.com/r2/api/s3/api/) or a
|
|
14
|
+
* [Worker with an R2 binding](https://developers.cloudflare.com/r2/api/workers/workers-api-reference/)
|
|
15
|
+
* instead.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```ts
|
|
19
|
+
* // Automatically fetches more pages as needed.
|
|
20
|
+
* for await (const objectListResponse of client.r2.buckets.objects.list(
|
|
21
|
+
* 'example-bucket',
|
|
22
|
+
* { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
23
|
+
* )) {
|
|
24
|
+
* // ...
|
|
25
|
+
* }
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
list(bucketName, params, options) {
|
|
29
|
+
const { account_id, jurisdiction, ...query } = params;
|
|
30
|
+
return this._client.getAPIList(`/accounts/${account_id}/r2/buckets/${bucketName}/objects`, ObjectListResponsesCursorPagination, {
|
|
31
|
+
query,
|
|
32
|
+
...options,
|
|
33
|
+
headers: {
|
|
34
|
+
...(jurisdiction?.toString() != null ?
|
|
35
|
+
{ 'cf-r2-jurisdiction': jurisdiction?.toString() }
|
|
36
|
+
: undefined),
|
|
37
|
+
...options?.headers,
|
|
38
|
+
},
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Deletes an object from an R2 bucket.
|
|
43
|
+
*
|
|
44
|
+
* For most workloads, we recommend using R2's
|
|
45
|
+
* [S3-compatible API](https://developers.cloudflare.com/r2/api/s3/api/) or a
|
|
46
|
+
* [Worker with an R2 binding](https://developers.cloudflare.com/r2/api/workers/workers-api-reference/)
|
|
47
|
+
* instead.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```ts
|
|
51
|
+
* const object = await client.r2.buckets.objects.delete(
|
|
52
|
+
* 'example-bucket',
|
|
53
|
+
* 'path/to/my-object.txt',
|
|
54
|
+
* { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
55
|
+
* );
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
delete(bucketName, objectKey, params, options) {
|
|
59
|
+
const { account_id, jurisdiction } = params;
|
|
60
|
+
return this._client.delete(`/accounts/${account_id}/r2/buckets/${bucketName}/objects/${objectKey}`, {
|
|
61
|
+
...options,
|
|
62
|
+
headers: {
|
|
63
|
+
...(jurisdiction?.toString() != null ?
|
|
64
|
+
{ 'cf-r2-jurisdiction': jurisdiction?.toString() }
|
|
65
|
+
: undefined),
|
|
66
|
+
...options?.headers,
|
|
67
|
+
},
|
|
68
|
+
})._thenUnwrap((obj) => obj.result);
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Retrieves an object from an R2 bucket. Returns the object body along with
|
|
72
|
+
* metadata headers.
|
|
73
|
+
*
|
|
74
|
+
* For most workloads, we recommend using R2's
|
|
75
|
+
* [S3-compatible API](https://developers.cloudflare.com/r2/api/s3/api/) or a
|
|
76
|
+
* [Worker with an R2 binding](https://developers.cloudflare.com/r2/api/workers/workers-api-reference/)
|
|
77
|
+
* instead.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* ```ts
|
|
81
|
+
* const object = await client.r2.buckets.objects.get(
|
|
82
|
+
* 'example-bucket',
|
|
83
|
+
* 'path/to/my-object.txt',
|
|
84
|
+
* { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
85
|
+
* );
|
|
86
|
+
*
|
|
87
|
+
* const content = await object.blob();
|
|
88
|
+
* console.log(content);
|
|
89
|
+
* ```
|
|
90
|
+
*/
|
|
91
|
+
get(bucketName, objectKey, params, options) {
|
|
92
|
+
const { account_id, jurisdiction, 'If-Modified-Since': ifModifiedSince, 'If-None-Match': ifNoneMatch, } = params;
|
|
93
|
+
return this._client.get(`/accounts/${account_id}/r2/buckets/${bucketName}/objects/${objectKey}`, {
|
|
94
|
+
...options,
|
|
95
|
+
headers: {
|
|
96
|
+
Accept: 'application/octet-stream',
|
|
97
|
+
...(jurisdiction?.toString() != null ?
|
|
98
|
+
{ 'cf-r2-jurisdiction': jurisdiction?.toString() }
|
|
99
|
+
: undefined),
|
|
100
|
+
...(ifModifiedSince != null ? { 'If-Modified-Since': ifModifiedSince } : undefined),
|
|
101
|
+
...(ifNoneMatch != null ? { 'If-None-Match': ifNoneMatch } : undefined),
|
|
102
|
+
...options?.headers,
|
|
103
|
+
},
|
|
104
|
+
__binaryResponse: true,
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Uploads an object to an R2 bucket. The object body is provided as the request
|
|
109
|
+
* body. Returns metadata about the uploaded object.
|
|
110
|
+
*
|
|
111
|
+
* The maximum upload size for this endpoint is 300 MB. For most workloads, we
|
|
112
|
+
* recommend using R2's
|
|
113
|
+
* [S3-compatible API](https://developers.cloudflare.com/r2/api/s3/api/) or a
|
|
114
|
+
* [Worker with an R2 binding](https://developers.cloudflare.com/r2/api/workers/workers-api-reference/)
|
|
115
|
+
* instead.
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
* ```ts
|
|
119
|
+
* const response = await client.r2.buckets.objects.upload(
|
|
120
|
+
* 'example-bucket',
|
|
121
|
+
* 'path/to/my-object.txt',
|
|
122
|
+
* fs.createReadStream('path/to/file'),
|
|
123
|
+
* { account_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
124
|
+
* );
|
|
125
|
+
* ```
|
|
126
|
+
*/
|
|
127
|
+
upload(bucketName, objectKey, body, params, options) {
|
|
128
|
+
const { account_id, jurisdiction, 'cf-r2-storage-class': cfR2StorageClass } = params;
|
|
129
|
+
return this._client.put(`/accounts/${account_id}/r2/buckets/${bucketName}/objects/${objectKey}`, {
|
|
130
|
+
body: body,
|
|
131
|
+
...options,
|
|
132
|
+
headers: {
|
|
133
|
+
'Content-Type': 'application/octet-stream',
|
|
134
|
+
...(jurisdiction?.toString() != null ?
|
|
135
|
+
{ 'cf-r2-jurisdiction': jurisdiction?.toString() }
|
|
136
|
+
: undefined),
|
|
137
|
+
...(cfR2StorageClass?.toString() != null ?
|
|
138
|
+
{ 'cf-r2-storage-class': cfR2StorageClass?.toString() }
|
|
139
|
+
: undefined),
|
|
140
|
+
...options?.headers,
|
|
141
|
+
},
|
|
142
|
+
__binaryRequest: true,
|
|
143
|
+
})._thenUnwrap((obj) => obj.result);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
exports.Objects = Objects;
|
|
147
|
+
class ObjectListResponsesCursorPagination extends pagination_1.CursorPagination {
|
|
148
|
+
}
|
|
149
|
+
exports.ObjectListResponsesCursorPagination = ObjectListResponsesCursorPagination;
|
|
150
|
+
Objects.ObjectListResponsesCursorPagination = ObjectListResponsesCursorPagination;
|
|
151
|
+
//# sourceMappingURL=objects.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"objects.js","sourceRoot":"","sources":["../../../src/resources/r2/buckets/objects.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mDAAgD;AAEhD,uDAAoF;AAIpF,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,IAAI,CACF,UAAkB,EAClB,MAAwB,EACxB,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,aAAa,UAAU,eAAe,UAAU,UAAU,EAC1D,mCAAmC,EACnC;YACE,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE;gBACP,GAAG,CAAC,YAAY,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;oBACpC,EAAE,oBAAoB,EAAE,YAAY,EAAE,QAAQ,EAAE,EAAE;oBACpD,CAAC,CAAC,SAAS,CAAC;gBACZ,GAAG,OAAO,EAAE,OAAO;aACpB;SACF,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,UAAkB,EAClB,SAAiB,EACjB,MAA0B,EAC1B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,MAAM,CAAC;QAC5C,OACE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,aAAa,UAA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