@distilled.cloud/cloudflare 0.0.0 → 0.2.0-alpha
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/lib/auth.d.ts +13 -0
- package/lib/auth.d.ts.map +1 -0
- package/lib/auth.js +12 -0
- package/lib/auth.js.map +1 -0
- package/lib/category.d.ts +2 -0
- package/lib/category.d.ts.map +1 -0
- package/lib/category.js +2 -0
- package/lib/category.js.map +1 -0
- package/lib/client/api.d.ts +14 -0
- package/lib/client/api.d.ts.map +1 -0
- package/lib/client/api.js +197 -0
- package/lib/client/api.js.map +1 -0
- package/lib/client/index.d.ts +8 -0
- package/lib/client/index.d.ts.map +1 -0
- package/lib/client/index.js +8 -0
- package/lib/client/index.js.map +1 -0
- package/lib/credentials.d.ts +14 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +17 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +48 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +38 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +10 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +10 -0
- package/lib/index.js.map +1 -0
- package/lib/retry.d.ts +14 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +14 -0
- package/lib/retry.js.map +1 -0
- package/lib/schemas.d.ts +29 -0
- package/lib/schemas.d.ts.map +1 -0
- package/lib/schemas.js +34 -0
- package/lib/schemas.js.map +1 -0
- package/lib/services/abuse-reports.d.ts +224 -0
- package/lib/services/abuse-reports.d.ts.map +1 -0
- package/lib/services/abuse-reports.js +353 -0
- package/lib/services/abuse-reports.js.map +1 -0
- package/lib/services/accounts.d.ts +682 -0
- package/lib/services/accounts.d.ts.map +1 -0
- package/lib/services/accounts.js +805 -0
- package/lib/services/accounts.js.map +1 -0
- package/lib/services/acm.d.ts +73 -0
- package/lib/services/acm.d.ts.map +1 -0
- package/lib/services/acm.js +76 -0
- package/lib/services/acm.js.map +1 -0
- package/lib/services/addressing.d.ts +1208 -0
- package/lib/services/addressing.d.ts.map +1 -0
- package/lib/services/addressing.js +1776 -0
- package/lib/services/addressing.js.map +1 -0
- package/lib/services/ai-gateway.d.ts +956 -0
- package/lib/services/ai-gateway.d.ts.map +1 -0
- package/lib/services/ai-gateway.js +1706 -0
- package/lib/services/ai-gateway.js.map +1 -0
- package/lib/services/ai.d.ts +243 -0
- package/lib/services/ai.d.ts.map +1 -0
- package/lib/services/ai.js +299 -0
- package/lib/services/ai.js.map +1 -0
- package/lib/services/aisearch.d.ts +915 -0
- package/lib/services/aisearch.d.ts.map +1 -0
- package/lib/services/aisearch.js +2425 -0
- package/lib/services/aisearch.js.map +1 -0
- package/lib/services/alerting.d.ts +718 -0
- package/lib/services/alerting.d.ts.map +1 -0
- package/lib/services/alerting.js +1388 -0
- package/lib/services/alerting.js.map +1 -0
- package/lib/services/api-gateway.d.ts +830 -0
- package/lib/services/api-gateway.d.ts.map +1 -0
- package/lib/services/api-gateway.js +1548 -0
- package/lib/services/api-gateway.js.map +1 -0
- package/lib/services/argo.d.ts +101 -0
- package/lib/services/argo.d.ts.map +1 -0
- package/lib/services/argo.js +105 -0
- package/lib/services/argo.js.map +1 -0
- package/lib/services/audit-logs.d.ts +46 -0
- package/lib/services/audit-logs.d.ts.map +1 -0
- package/lib/services/audit-logs.js +37 -0
- package/lib/services/audit-logs.js.map +1 -0
- package/lib/services/billing.d.ts +62 -0
- package/lib/services/billing.d.ts.map +1 -0
- package/lib/services/billing.js +100 -0
- package/lib/services/billing.js.map +1 -0
- package/lib/services/bot-management.d.ts +124 -0
- package/lib/services/bot-management.d.ts.map +1 -0
- package/lib/services/bot-management.js +262 -0
- package/lib/services/bot-management.js.map +1 -0
- package/lib/services/botnet-feed.d.ts +65 -0
- package/lib/services/botnet-feed.d.ts.map +1 -0
- package/lib/services/botnet-feed.js +84 -0
- package/lib/services/botnet-feed.js.map +1 -0
- package/lib/services/brand-protection.d.ts +188 -0
- package/lib/services/brand-protection.d.ts.map +1 -0
- package/lib/services/brand-protection.js +214 -0
- package/lib/services/brand-protection.js.map +1 -0
- package/lib/services/browser-rendering.d.ts +857 -0
- package/lib/services/browser-rendering.d.ts.map +1 -0
- package/lib/services/browser-rendering.js +1141 -0
- package/lib/services/browser-rendering.js.map +1 -0
- package/lib/services/cache.d.ts +287 -0
- package/lib/services/cache.d.ts.map +1 -0
- package/lib/services/cache.js +330 -0
- package/lib/services/cache.js.map +1 -0
- package/lib/services/calls.d.ts +202 -0
- package/lib/services/calls.d.ts.map +1 -0
- package/lib/services/calls.js +175 -0
- package/lib/services/calls.js.map +1 -0
- package/lib/services/certificate-authorities.d.ts +40 -0
- package/lib/services/certificate-authorities.d.ts.map +1 -0
- package/lib/services/certificate-authorities.js +49 -0
- package/lib/services/certificate-authorities.js.map +1 -0
- package/lib/services/client-certificates.d.ts +254 -0
- package/lib/services/client-certificates.d.ts.map +1 -0
- package/lib/services/client-certificates.js +350 -0
- package/lib/services/client-certificates.js.map +1 -0
- package/lib/services/cloud-connector.d.ts +59 -0
- package/lib/services/cloud-connector.d.ts.map +1 -0
- package/lib/services/cloud-connector.js +84 -0
- package/lib/services/cloud-connector.js.map +1 -0
- package/lib/services/cloudforce-one.d.ts +1318 -0
- package/lib/services/cloudforce-one.d.ts.map +1 -0
- package/lib/services/cloudforce-one.js +1684 -0
- package/lib/services/cloudforce-one.js.map +1 -0
- package/lib/services/connectivity.d.ts +248 -0
- package/lib/services/connectivity.d.ts.map +1 -0
- package/lib/services/connectivity.js +377 -0
- package/lib/services/connectivity.js.map +1 -0
- package/lib/services/content-scanning.d.ts +131 -0
- package/lib/services/content-scanning.d.ts.map +1 -0
- package/lib/services/content-scanning.js +156 -0
- package/lib/services/content-scanning.js.map +1 -0
- package/lib/services/custom-certificates.d.ts +211 -0
- package/lib/services/custom-certificates.d.ts.map +1 -0
- package/lib/services/custom-certificates.js +309 -0
- package/lib/services/custom-certificates.js.map +1 -0
- package/lib/services/custom-hostnames.d.ts +525 -0
- package/lib/services/custom-hostnames.d.ts.map +1 -0
- package/lib/services/custom-hostnames.js +1164 -0
- package/lib/services/custom-hostnames.js.map +1 -0
- package/lib/services/custom-nameservers.d.ts +67 -0
- package/lib/services/custom-nameservers.d.ts.map +1 -0
- package/lib/services/custom-nameservers.js +80 -0
- package/lib/services/custom-nameservers.js.map +1 -0
- package/lib/services/custom-pages.d.ts +74 -0
- package/lib/services/custom-pages.d.ts.map +1 -0
- package/lib/services/custom-pages.js +125 -0
- package/lib/services/custom-pages.js.map +1 -0
- package/lib/services/d1.d.ts +326 -0
- package/lib/services/d1.d.ts.map +1 -0
- package/lib/services/d1.js +448 -0
- package/lib/services/d1.js.map +1 -0
- package/lib/services/dcv-delegation.d.ts +24 -0
- package/lib/services/dcv-delegation.d.ts.map +1 -0
- package/lib/services/dcv-delegation.js +24 -0
- package/lib/services/dcv-delegation.js.map +1 -0
- package/lib/services/diagnostics.d.ts +175 -0
- package/lib/services/diagnostics.d.ts.map +1 -0
- package/lib/services/diagnostics.js +273 -0
- package/lib/services/diagnostics.js.map +1 -0
- package/lib/services/dns-firewall.d.ts +288 -0
- package/lib/services/dns-firewall.d.ts.map +1 -0
- package/lib/services/dns-firewall.js +373 -0
- package/lib/services/dns-firewall.js.map +1 -0
- package/lib/services/dns.d.ts +2946 -0
- package/lib/services/dns.d.ts.map +1 -0
- package/lib/services/dns.js +4511 -0
- package/lib/services/dns.js.map +1 -0
- package/lib/services/durable-objects.d.ts +61 -0
- package/lib/services/durable-objects.d.ts.map +1 -0
- package/lib/services/durable-objects.js +66 -0
- package/lib/services/durable-objects.js.map +1 -0
- package/lib/services/email-routing.d.ts +542 -0
- package/lib/services/email-routing.d.ts.map +1 -0
- package/lib/services/email-routing.js +662 -0
- package/lib/services/email-routing.js.map +1 -0
- package/lib/services/email-security.d.ts +1131 -0
- package/lib/services/email-security.d.ts.map +1 -0
- package/lib/services/email-security.js +2065 -0
- package/lib/services/email-security.js.map +1 -0
- package/lib/services/filters.d.ts +157 -0
- package/lib/services/filters.d.ts.map +1 -0
- package/lib/services/filters.js +135 -0
- package/lib/services/filters.js.map +1 -0
- package/lib/services/firewall.d.ts +1080 -0
- package/lib/services/firewall.d.ts.map +1 -0
- package/lib/services/firewall.js +1881 -0
- package/lib/services/firewall.js.map +1 -0
- package/lib/services/healthchecks.d.ts +464 -0
- package/lib/services/healthchecks.d.ts.map +1 -0
- package/lib/services/healthchecks.js +838 -0
- package/lib/services/healthchecks.js.map +1 -0
- package/lib/services/hostnames.d.ts +74 -0
- package/lib/services/hostnames.d.ts.map +1 -0
- package/lib/services/hostnames.js +100 -0
- package/lib/services/hostnames.js.map +1 -0
- package/lib/services/hyperdrive.d.ts +203 -0
- package/lib/services/hyperdrive.d.ts.map +1 -0
- package/lib/services/hyperdrive.js +299 -0
- package/lib/services/hyperdrive.js.map +1 -0
- package/lib/services/iam.d.ts +554 -0
- package/lib/services/iam.d.ts.map +1 -0
- package/lib/services/iam.js +743 -0
- package/lib/services/iam.js.map +1 -0
- package/lib/services/images.d.ts +403 -0
- package/lib/services/images.d.ts.map +1 -0
- package/lib/services/images.js +417 -0
- package/lib/services/images.js.map +1 -0
- package/lib/services/intel.d.ts +768 -0
- package/lib/services/intel.d.ts.map +1 -0
- package/lib/services/intel.js +1179 -0
- package/lib/services/intel.js.map +1 -0
- package/lib/services/ips.d.ts +28 -0
- package/lib/services/ips.d.ts.map +1 -0
- package/lib/services/ips.js +39 -0
- package/lib/services/ips.js.map +1 -0
- package/lib/services/keyless-certificates.d.ts +177 -0
- package/lib/services/keyless-certificates.d.ts.map +1 -0
- package/lib/services/keyless-certificates.js +216 -0
- package/lib/services/keyless-certificates.js.map +1 -0
- package/lib/services/kv.d.ts +339 -0
- package/lib/services/kv.d.ts.map +1 -0
- package/lib/services/kv.js +402 -0
- package/lib/services/kv.js.map +1 -0
- package/lib/services/leaked-credential-checks.d.ts +119 -0
- package/lib/services/leaked-credential-checks.d.ts.map +1 -0
- package/lib/services/leaked-credential-checks.js +130 -0
- package/lib/services/leaked-credential-checks.js.map +1 -0
- package/lib/services/load-balancers.d.ts +1767 -0
- package/lib/services/load-balancers.d.ts.map +1 -0
- package/lib/services/load-balancers.js +3068 -0
- package/lib/services/load-balancers.js.map +1 -0
- package/lib/services/logpush.d.ts +401 -0
- package/lib/services/logpush.d.ts.map +1 -0
- package/lib/services/logpush.js +724 -0
- package/lib/services/logpush.js.map +1 -0
- package/lib/services/logs.d.ts +125 -0
- package/lib/services/logs.d.ts.map +1 -0
- package/lib/services/logs.js +145 -0
- package/lib/services/logs.js.map +1 -0
- package/lib/services/magic-cloud-networking.d.ts +1599 -0
- package/lib/services/magic-cloud-networking.d.ts.map +1 -0
- package/lib/services/magic-cloud-networking.js +5205 -0
- package/lib/services/magic-cloud-networking.js.map +1 -0
- package/lib/services/magic-network-monitoring.d.ts +379 -0
- package/lib/services/magic-network-monitoring.d.ts.map +1 -0
- package/lib/services/magic-network-monitoring.js +535 -0
- package/lib/services/magic-network-monitoring.js.map +1 -0
- package/lib/services/magic-transit.d.ts +3650 -0
- package/lib/services/magic-transit.d.ts.map +1 -0
- package/lib/services/magic-transit.js +6120 -0
- package/lib/services/magic-transit.js.map +1 -0
- package/lib/services/managed-transforms.d.ts +79 -0
- package/lib/services/managed-transforms.d.ts.map +1 -0
- package/lib/services/managed-transforms.js +107 -0
- package/lib/services/managed-transforms.js.map +1 -0
- package/lib/services/memberships.d.ts +172 -0
- package/lib/services/memberships.d.ts.map +1 -0
- package/lib/services/memberships.js +282 -0
- package/lib/services/memberships.js.map +1 -0
- package/lib/services/mtls-certificates.d.ts +140 -0
- package/lib/services/mtls-certificates.d.ts.map +1 -0
- package/lib/services/mtls-certificates.js +173 -0
- package/lib/services/mtls-certificates.js.map +1 -0
- package/lib/services/network-interconnects.d.ts +410 -0
- package/lib/services/network-interconnects.d.ts.map +1 -0
- package/lib/services/network-interconnects.js +583 -0
- package/lib/services/network-interconnects.js.map +1 -0
- package/lib/services/organizations.d.ts +201 -0
- package/lib/services/organizations.d.ts.map +1 -0
- package/lib/services/organizations.js +355 -0
- package/lib/services/organizations.js.map +1 -0
- package/lib/services/origin-ca-certificates.d.ts +99 -0
- package/lib/services/origin-ca-certificates.d.ts.map +1 -0
- package/lib/services/origin-ca-certificates.js +156 -0
- package/lib/services/origin-ca-certificates.js.map +1 -0
- package/lib/services/origin-post-quantum-encryption.d.ts +50 -0
- package/lib/services/origin-post-quantum-encryption.d.ts.map +1 -0
- package/lib/services/origin-post-quantum-encryption.js +60 -0
- package/lib/services/origin-post-quantum-encryption.js.map +1 -0
- package/lib/services/origin-tls-client-auth.d.ts +273 -0
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -0
- package/lib/services/origin-tls-client-auth.js +401 -0
- package/lib/services/origin-tls-client-auth.js.map +1 -0
- package/lib/services/page-rules.d.ts +773 -0
- package/lib/services/page-rules.d.ts.map +1 -0
- package/lib/services/page-rules.js +1365 -0
- package/lib/services/page-rules.js.map +1 -0
- package/lib/services/page-shield.d.ts +426 -0
- package/lib/services/page-shield.d.ts.map +1 -0
- package/lib/services/page-shield.js +484 -0
- package/lib/services/page-shield.js.map +1 -0
- package/lib/services/pages.d.ts +1654 -0
- package/lib/services/pages.d.ts.map +1 -0
- package/lib/services/pages.js +2954 -0
- package/lib/services/pages.js.map +1 -0
- package/lib/services/pipelines.d.ts +1461 -0
- package/lib/services/pipelines.d.ts.map +1 -0
- package/lib/services/pipelines.js +2912 -0
- package/lib/services/pipelines.js.map +1 -0
- package/lib/services/queues.d.ts +807 -0
- package/lib/services/queues.d.ts.map +1 -0
- package/lib/services/queues.js +1194 -0
- package/lib/services/queues.js.map +1 -0
- package/lib/services/r2-data-catalog.d.ts +341 -0
- package/lib/services/r2-data-catalog.d.ts.map +1 -0
- package/lib/services/r2-data-catalog.js +499 -0
- package/lib/services/r2-data-catalog.js.map +1 -0
- package/lib/services/r2.d.ts +1041 -0
- package/lib/services/r2.d.ts.map +1 -0
- package/lib/services/r2.js +1384 -0
- package/lib/services/r2.js.map +1 -0
- package/lib/services/radar.d.ts +9276 -0
- package/lib/services/radar.d.ts.map +1 -0
- package/lib/services/radar.js +20491 -0
- package/lib/services/radar.js.map +1 -0
- package/lib/services/rate-limits.d.ts +315 -0
- package/lib/services/rate-limits.d.ts.map +1 -0
- package/lib/services/rate-limits.js +521 -0
- package/lib/services/rate-limits.js.map +1 -0
- package/lib/services/realtime-kit.d.ts +2728 -0
- package/lib/services/realtime-kit.d.ts.map +1 -0
- package/lib/services/realtime-kit.js +5401 -0
- package/lib/services/realtime-kit.js.map +1 -0
- package/lib/services/registrar.d.ts +81 -0
- package/lib/services/registrar.d.ts.map +1 -0
- package/lib/services/registrar.js +154 -0
- package/lib/services/registrar.js.map +1 -0
- package/lib/services/request-tracers.d.ts +61 -0
- package/lib/services/request-tracers.d.ts.map +1 -0
- package/lib/services/request-tracers.js +82 -0
- package/lib/services/request-tracers.js.map +1 -0
- package/lib/services/resource-sharing.d.ts +540 -0
- package/lib/services/resource-sharing.d.ts.map +1 -0
- package/lib/services/resource-sharing.js +846 -0
- package/lib/services/resource-sharing.js.map +1 -0
- package/lib/services/rules.d.ts +297 -0
- package/lib/services/rules.d.ts.map +1 -0
- package/lib/services/rules.js +396 -0
- package/lib/services/rules.js.map +1 -0
- package/lib/services/rulesets.d.ts +3300 -0
- package/lib/services/rulesets.d.ts.map +1 -0
- package/lib/services/rulesets.js +7852 -0
- package/lib/services/rulesets.js.map +1 -0
- package/lib/services/rum.d.ts +289 -0
- package/lib/services/rum.d.ts.map +1 -0
- package/lib/services/rum.js +409 -0
- package/lib/services/rum.js.map +1 -0
- package/lib/services/schema-validation.d.ts +240 -0
- package/lib/services/schema-validation.d.ts.map +1 -0
- package/lib/services/schema-validation.js +306 -0
- package/lib/services/schema-validation.js.map +1 -0
- package/lib/services/secrets-store.d.ts +321 -0
- package/lib/services/secrets-store.d.ts.map +1 -0
- package/lib/services/secrets-store.js +385 -0
- package/lib/services/secrets-store.js.map +1 -0
- package/lib/services/security-center.d.ts +102 -0
- package/lib/services/security-center.d.ts.map +1 -0
- package/lib/services/security-center.js +170 -0
- package/lib/services/security-center.js.map +1 -0
- package/lib/services/security-txt.d.ts +105 -0
- package/lib/services/security-txt.d.ts.map +1 -0
- package/lib/services/security-txt.js +136 -0
- package/lib/services/security-txt.js.map +1 -0
- package/lib/services/snippets.d.ts +138 -0
- package/lib/services/snippets.d.ts.map +1 -0
- package/lib/services/snippets.js +178 -0
- package/lib/services/snippets.js.map +1 -0
- package/lib/services/spectrum.d.ts +316 -0
- package/lib/services/spectrum.d.ts.map +1 -0
- package/lib/services/spectrum.js +510 -0
- package/lib/services/spectrum.js.map +1 -0
- package/lib/services/speed.d.ts +227 -0
- package/lib/services/speed.d.ts.map +1 -0
- package/lib/services/speed.js +444 -0
- package/lib/services/speed.js.map +1 -0
- package/lib/services/ssl.d.ts +370 -0
- package/lib/services/ssl.d.ts.map +1 -0
- package/lib/services/ssl.js +732 -0
- package/lib/services/ssl.js.map +1 -0
- package/lib/services/stream.d.ts +1014 -0
- package/lib/services/stream.d.ts.map +1 -0
- package/lib/services/stream.js +1049 -0
- package/lib/services/stream.js.map +1 -0
- package/lib/services/token-validation.d.ts +547 -0
- package/lib/services/token-validation.d.ts.map +1 -0
- package/lib/services/token-validation.js +768 -0
- package/lib/services/token-validation.js.map +1 -0
- package/lib/services/turnstile.d.ts +248 -0
- package/lib/services/turnstile.d.ts.map +1 -0
- package/lib/services/turnstile.js +308 -0
- package/lib/services/turnstile.js.map +1 -0
- package/lib/services/url-normalization.d.ts +53 -0
- package/lib/services/url-normalization.d.ts.map +1 -0
- package/lib/services/url-normalization.js +52 -0
- package/lib/services/url-normalization.js.map +1 -0
- package/lib/services/url-scanner.d.ts +612 -0
- package/lib/services/url-scanner.d.ts.map +1 -0
- package/lib/services/url-scanner.js +915 -0
- package/lib/services/url-scanner.js.map +1 -0
- package/lib/services/user.d.ts +441 -0
- package/lib/services/user.d.ts.map +1 -0
- package/lib/services/user.js +567 -0
- package/lib/services/user.js.map +1 -0
- package/lib/services/vectorize.d.ts +282 -0
- package/lib/services/vectorize.d.ts.map +1 -0
- package/lib/services/vectorize.js +340 -0
- package/lib/services/vectorize.js.map +1 -0
- package/lib/services/waiting-rooms.d.ts +1009 -0
- package/lib/services/waiting-rooms.d.ts.map +1 -0
- package/lib/services/waiting-rooms.js +1757 -0
- package/lib/services/waiting-rooms.js.map +1 -0
- package/lib/services/web3.d.ts +274 -0
- package/lib/services/web3.d.ts.map +1 -0
- package/lib/services/web3.js +362 -0
- package/lib/services/web3.js.map +1 -0
- package/lib/services/workers-for-platforms.d.ts +1224 -0
- package/lib/services/workers-for-platforms.d.ts.map +1 -0
- package/lib/services/workers-for-platforms.js +2078 -0
- package/lib/services/workers-for-platforms.js.map +1 -0
- package/lib/services/workers.d.ts +3498 -0
- package/lib/services/workers.d.ts.map +1 -0
- package/lib/services/workers.js +5967 -0
- package/lib/services/workers.js.map +1 -0
- package/lib/services/workflows.d.ts +359 -0
- package/lib/services/workflows.d.ts.map +1 -0
- package/lib/services/workflows.js +516 -0
- package/lib/services/workflows.js.map +1 -0
- package/lib/services/zaraz.d.ts +300 -0
- package/lib/services/zaraz.d.ts.map +1 -0
- package/lib/services/zaraz.js +298 -0
- package/lib/services/zaraz.js.map +1 -0
- package/lib/services/zero-trust.d.ts +15449 -0
- package/lib/services/zero-trust.d.ts.map +1 -0
- package/lib/services/zero-trust.js +29194 -0
- package/lib/services/zero-trust.js.map +1 -0
- package/lib/services/zones.d.ts +1278 -0
- package/lib/services/zones.d.ts.map +1 -0
- package/lib/services/zones.js +2416 -0
- package/lib/services/zones.js.map +1 -0
- package/lib/traits.d.ts +28 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +26 -0
- package/lib/traits.js.map +1 -0
- package/package.json +67 -5
- package/src/auth.ts +14 -0
- package/src/category.ts +1 -0
- package/src/client/api.ts +269 -0
- package/src/client/index.ts +7 -0
- package/src/credentials.ts +30 -0
- package/src/errors.ts +65 -0
- package/src/index.ts +9 -0
- package/src/retry.ts +35 -0
- package/src/schemas.ts +51 -0
- package/src/services/abuse-reports.ts +747 -0
- package/src/services/accounts.ts +1947 -0
- package/src/services/acm.ts +170 -0
- package/src/services/addressing.ts +3947 -0
- package/src/services/ai-gateway.ts +3335 -0
- package/src/services/ai.ts +727 -0
- package/src/services/aisearch.ts +4750 -0
- package/src/services/alerting.ts +2947 -0
- package/src/services/api-gateway.ts +3391 -0
- package/src/services/argo.ts +254 -0
- package/src/services/audit-logs.ts +90 -0
- package/src/services/billing.ts +172 -0
- package/src/services/bot-management.ts +541 -0
- package/src/services/botnet-feed.ts +193 -0
- package/src/services/brand-protection.ts +553 -0
- package/src/services/browser-rendering.ts +2707 -0
- package/src/services/cache.ts +827 -0
- package/src/services/calls.ts +483 -0
- package/src/services/certificate-authorities.ts +110 -0
- package/src/services/client-certificates.ts +718 -0
- package/src/services/cloud-connector.ts +181 -0
- package/src/services/cloudforce-one.ts +3876 -0
- package/src/services/connectivity.ts +629 -0
- package/src/services/content-scanning.ts +385 -0
- package/src/services/custom-certificates.ts +611 -0
- package/src/services/custom-hostnames.ts +2453 -0
- package/src/services/custom-nameservers.ts +182 -0
- package/src/services/custom-pages.ts +264 -0
- package/src/services/d1.ts +1034 -0
- package/src/services/dcv-delegation.ts +52 -0
- package/src/services/diagnostics.ts +603 -0
- package/src/services/dns-firewall.ts +823 -0
- package/src/services/dns.ts +8897 -0
- package/src/services/durable-objects.ts +148 -0
- package/src/services/email-routing.ts +1602 -0
- package/src/services/email-security.ts +4283 -0
- package/src/services/filters.ts +370 -0
- package/src/services/firewall.ts +3896 -0
- package/src/services/healthchecks.ts +1750 -0
- package/src/services/hostnames.ts +218 -0
- package/src/services/hyperdrive.ts +592 -0
- package/src/services/iam.ts +1668 -0
- package/src/services/images.ts +1086 -0
- package/src/services/intel.ts +2768 -0
- package/src/services/ips.ts +88 -0
- package/src/services/keyless-certificates.ts +462 -0
- package/src/services/kv.ts +1011 -0
- package/src/services/leaked-credential-checks.ts +325 -0
- package/src/services/load-balancers.ts +6438 -0
- package/src/services/logpush.ts +1667 -0
- package/src/services/logs.ts +375 -0
- package/src/services/magic-cloud-networking.ts +10020 -0
- package/src/services/magic-network-monitoring.ts +1156 -0
- package/src/services/magic-transit.ts +13050 -0
- package/src/services/managed-transforms.ts +237 -0
- package/src/services/memberships.ts +615 -0
- package/src/services/mtls-certificates.ts +374 -0
- package/src/services/network-interconnects.ts +1253 -0
- package/src/services/organizations.ts +674 -0
- package/src/services/origin-ca-certificates.ts +303 -0
- package/src/services/origin-post-quantum-encryption.ts +128 -0
- package/src/services/origin-tls-client-auth.ts +878 -0
- package/src/services/page-rules.ts +2612 -0
- package/src/services/page-shield.ts +1195 -0
- package/src/services/pages.ts +5709 -0
- package/src/services/pipelines.ts +6000 -0
- package/src/services/queues.ts +2629 -0
- package/src/services/r2-data-catalog.ts +1119 -0
- package/src/services/r2.ts +3348 -0
- package/src/services/radar.ts +42152 -0
- package/src/services/rate-limits.ts +1150 -0
- package/src/services/realtime-kit.ts +11079 -0
- package/src/services/registrar.ts +295 -0
- package/src/services/request-tracers.ts +158 -0
- package/src/services/resource-sharing.ts +1832 -0
- package/src/services/rules.ts +837 -0
- package/src/services/rulesets.ts +15144 -0
- package/src/services/rum.ts +901 -0
- package/src/services/schema-validation.ts +733 -0
- package/src/services/secrets-store.ts +860 -0
- package/src/services/security-center.ts +397 -0
- package/src/services/security-txt.ts +315 -0
- package/src/services/snippets.ts +420 -0
- package/src/services/spectrum.ts +1103 -0
- package/src/services/speed.ts +1056 -0
- package/src/services/ssl.ts +1587 -0
- package/src/services/stream.ts +2756 -0
- package/src/services/token-validation.ts +1585 -0
- package/src/services/turnstile.ts +643 -0
- package/src/services/url-normalization.ts +129 -0
- package/src/services/url-scanner.ts +1851 -0
- package/src/services/user.ts +1384 -0
- package/src/services/vectorize.ts +816 -0
- package/src/services/waiting-rooms.ts +3807 -0
- package/src/services/web3.ts +834 -0
- package/src/services/workers-for-platforms.ts +3859 -0
- package/src/services/workers.ts +11637 -0
- package/src/services/workflows.ts +1124 -0
- package/src/services/zaraz.ts +797 -0
- package/src/services/zero-trust.ts +58933 -0
- package/src/services/zones.ts +4875 -0
- package/src/traits.ts +47 -0
- package/README.md +0 -15
- package/bun.lock +0 -26
- package/index.ts +0 -1
- package/tsconfig.json +0 -29
|
@@ -0,0 +1,830 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cloudflare API-GATEWAY API
|
|
3
|
+
*
|
|
4
|
+
* Generated from Cloudflare TypeScript SDK.
|
|
5
|
+
* DO NOT EDIT - regenerate with: bun scripts/generate.ts --service api-gateway
|
|
6
|
+
*/
|
|
7
|
+
import * as Schema from "effect/Schema";
|
|
8
|
+
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
9
|
+
import * as API from "../client/api.ts";
|
|
10
|
+
import type { Credentials } from "../credentials";
|
|
11
|
+
import { type DefaultErrors } from "../errors";
|
|
12
|
+
declare const InvalidObjectIdentifier_base: Schema.ErrorClass<InvalidObjectIdentifier, Schema.TaggedStruct<"InvalidObjectIdentifier", {
|
|
13
|
+
readonly code: Schema.Number;
|
|
14
|
+
readonly message: Schema.String;
|
|
15
|
+
}>, import("effect/Cause").YieldableError>;
|
|
16
|
+
export declare class InvalidObjectIdentifier extends InvalidObjectIdentifier_base {
|
|
17
|
+
}
|
|
18
|
+
declare const NotEntitled_base: Schema.ErrorClass<NotEntitled, Schema.TaggedStruct<"NotEntitled", {
|
|
19
|
+
readonly code: Schema.Number;
|
|
20
|
+
readonly message: Schema.String;
|
|
21
|
+
}>, import("effect/Cause").YieldableError>;
|
|
22
|
+
export declare class NotEntitled extends NotEntitled_base {
|
|
23
|
+
}
|
|
24
|
+
declare const OperationNotFound_base: Schema.ErrorClass<OperationNotFound, Schema.TaggedStruct<"OperationNotFound", {
|
|
25
|
+
readonly code: Schema.Number;
|
|
26
|
+
readonly message: Schema.String;
|
|
27
|
+
}>, import("effect/Cause").YieldableError>;
|
|
28
|
+
export declare class OperationNotFound extends OperationNotFound_base {
|
|
29
|
+
}
|
|
30
|
+
declare const SchemaNotFound_base: Schema.ErrorClass<SchemaNotFound, Schema.TaggedStruct<"SchemaNotFound", {
|
|
31
|
+
readonly code: Schema.Number;
|
|
32
|
+
readonly message: Schema.String;
|
|
33
|
+
}>, import("effect/Cause").YieldableError>;
|
|
34
|
+
export declare class SchemaNotFound extends SchemaNotFound_base {
|
|
35
|
+
}
|
|
36
|
+
export interface GetConfigurationRequest {
|
|
37
|
+
/** Path param: Identifier. */
|
|
38
|
+
zoneId: string;
|
|
39
|
+
/** Query param: Ensures that the configuration is written or retrieved in normalized fashion */
|
|
40
|
+
normalize?: boolean;
|
|
41
|
+
}
|
|
42
|
+
export declare const GetConfigurationRequest: Schema.Schema<GetConfigurationRequest>;
|
|
43
|
+
export interface GetConfigurationResponse {
|
|
44
|
+
authIdCharacteristics: ({
|
|
45
|
+
name: string;
|
|
46
|
+
type: "header" | "cookie";
|
|
47
|
+
} | {
|
|
48
|
+
name: string;
|
|
49
|
+
type: "jwt";
|
|
50
|
+
})[];
|
|
51
|
+
}
|
|
52
|
+
export declare const GetConfigurationResponse: Schema.Schema<GetConfigurationResponse>;
|
|
53
|
+
export type GetConfigurationError = DefaultErrors | InvalidObjectIdentifier | NotEntitled;
|
|
54
|
+
export declare const getConfiguration: API.OperationMethod<GetConfigurationRequest, GetConfigurationResponse, GetConfigurationError, Credentials | HttpClient.HttpClient>;
|
|
55
|
+
export interface PutConfigurationRequest {
|
|
56
|
+
/** Path param: Identifier. */
|
|
57
|
+
zoneId: string;
|
|
58
|
+
/** Query param: Ensures that the configuration is written or retrieved in normalized fashion */
|
|
59
|
+
normalize?: boolean;
|
|
60
|
+
/** Body param: */
|
|
61
|
+
authIdCharacteristics: ({
|
|
62
|
+
name: string;
|
|
63
|
+
type: "header" | "cookie";
|
|
64
|
+
} | {
|
|
65
|
+
name: string;
|
|
66
|
+
type: "jwt";
|
|
67
|
+
})[];
|
|
68
|
+
}
|
|
69
|
+
export declare const PutConfigurationRequest: Schema.Schema<PutConfigurationRequest>;
|
|
70
|
+
export interface PutConfigurationResponse {
|
|
71
|
+
authIdCharacteristics: ({
|
|
72
|
+
name: string;
|
|
73
|
+
type: "header" | "cookie";
|
|
74
|
+
} | {
|
|
75
|
+
name: string;
|
|
76
|
+
type: "jwt";
|
|
77
|
+
})[];
|
|
78
|
+
}
|
|
79
|
+
export declare const PutConfigurationResponse: Schema.Schema<PutConfigurationResponse>;
|
|
80
|
+
export type PutConfigurationError = DefaultErrors | InvalidObjectIdentifier | NotEntitled;
|
|
81
|
+
export declare const putConfiguration: API.OperationMethod<PutConfigurationRequest, PutConfigurationResponse, PutConfigurationError, Credentials | HttpClient.HttpClient>;
|
|
82
|
+
export interface GetDiscoveryRequest {
|
|
83
|
+
/** Identifier. */
|
|
84
|
+
zoneId: string;
|
|
85
|
+
}
|
|
86
|
+
export declare const GetDiscoveryRequest: Schema.Schema<GetDiscoveryRequest>;
|
|
87
|
+
export interface GetDiscoveryResponse {
|
|
88
|
+
schemas: unknown[];
|
|
89
|
+
timestamp: string;
|
|
90
|
+
}
|
|
91
|
+
export declare const GetDiscoveryResponse: Schema.Schema<GetDiscoveryResponse>;
|
|
92
|
+
export type GetDiscoveryError = DefaultErrors | InvalidObjectIdentifier | NotEntitled;
|
|
93
|
+
export declare const getDiscovery: API.OperationMethod<GetDiscoveryRequest, GetDiscoveryResponse, GetDiscoveryError, Credentials | HttpClient.HttpClient>;
|
|
94
|
+
export interface ListDiscoveryOperationsRequest {
|
|
95
|
+
/** Path param: Identifier. */
|
|
96
|
+
zoneId: string;
|
|
97
|
+
/** Query param: When `true`, only return API Discovery results that are not saved into API Shield Endpoint Management */
|
|
98
|
+
diff?: boolean;
|
|
99
|
+
/** Query param: Direction to order results. */
|
|
100
|
+
direction?: "asc" | "desc";
|
|
101
|
+
/** Query param: Filter results to only include endpoints containing this pattern. */
|
|
102
|
+
endpoint?: string;
|
|
103
|
+
/** Query param: Filter results to only include the specified hosts. */
|
|
104
|
+
host?: string[];
|
|
105
|
+
/** Query param: Filter results to only include the specified HTTP methods. */
|
|
106
|
+
method?: string[];
|
|
107
|
+
/** Query param: Field to order by */
|
|
108
|
+
order?: "host" | "method" | "endpoint" | "traffic_stats.requests" | "traffic_stats.last_updated";
|
|
109
|
+
/** Query param: Filter results to only include discovery results sourced from a particular discovery engine - `ML` - Discovered operations that were sourced using ML API Discovery - `SessionIdentifier` */
|
|
110
|
+
origin?: "ML" | "SessionIdentifier" | "LabelDiscovery";
|
|
111
|
+
/** Query param: Filter results to only include discovery results in a particular state. States are as follows - `review` - Discovered operations that are not saved into API Shield Endpoint Management - */
|
|
112
|
+
state?: "review" | "saved" | "ignored";
|
|
113
|
+
}
|
|
114
|
+
export declare const ListDiscoveryOperationsRequest: Schema.Schema<ListDiscoveryOperationsRequest>;
|
|
115
|
+
export type ListDiscoveryOperationsResponse = unknown;
|
|
116
|
+
export declare const ListDiscoveryOperationsResponse: Schema.Schema<unknown>;
|
|
117
|
+
export type ListDiscoveryOperationsError = DefaultErrors;
|
|
118
|
+
export declare const listDiscoveryOperations: API.OperationMethod<ListDiscoveryOperationsRequest, ListDiscoveryOperationsResponse, ListDiscoveryOperationsError, Credentials | HttpClient.HttpClient>;
|
|
119
|
+
export interface PatchDiscoveryOperationRequest {
|
|
120
|
+
operationId: string;
|
|
121
|
+
/** Path param: Identifier. */
|
|
122
|
+
zoneId: string;
|
|
123
|
+
/** Body param: Mark state of operation in API Discovery - `review` - Mark operation as for review - `ignored` - Mark operation as ignored */
|
|
124
|
+
state?: "review" | "ignored";
|
|
125
|
+
}
|
|
126
|
+
export declare const PatchDiscoveryOperationRequest: Schema.Schema<PatchDiscoveryOperationRequest>;
|
|
127
|
+
export interface PatchDiscoveryOperationResponse {
|
|
128
|
+
/** State of operation in API Discovery - `review` - Operation is not saved into API Shield Endpoint Management - `saved` - Operation is saved into API Shield Endpoint Management - `ignored` - Operation */
|
|
129
|
+
state?: "review" | "saved" | "ignored" | null;
|
|
130
|
+
}
|
|
131
|
+
export declare const PatchDiscoveryOperationResponse: Schema.Schema<PatchDiscoveryOperationResponse>;
|
|
132
|
+
export type PatchDiscoveryOperationError = DefaultErrors | InvalidObjectIdentifier | NotEntitled;
|
|
133
|
+
export declare const patchDiscoveryOperation: API.OperationMethod<PatchDiscoveryOperationRequest, PatchDiscoveryOperationResponse, PatchDiscoveryOperationError, Credentials | HttpClient.HttpClient>;
|
|
134
|
+
export interface BulkPatchDiscoveryOperationsRequest {
|
|
135
|
+
/** Path param: Identifier. */
|
|
136
|
+
zoneId: string;
|
|
137
|
+
/** Body param: */
|
|
138
|
+
body: Record<string, unknown>;
|
|
139
|
+
}
|
|
140
|
+
export declare const BulkPatchDiscoveryOperationsRequest: Schema.Schema<BulkPatchDiscoveryOperationsRequest>;
|
|
141
|
+
export type BulkPatchDiscoveryOperationsResponse = Record<string, unknown>;
|
|
142
|
+
export declare const BulkPatchDiscoveryOperationsResponse: Schema.Schema<BulkPatchDiscoveryOperationsResponse>;
|
|
143
|
+
export type BulkPatchDiscoveryOperationsError = DefaultErrors | InvalidObjectIdentifier | NotEntitled;
|
|
144
|
+
export declare const bulkPatchDiscoveryOperations: API.OperationMethod<BulkPatchDiscoveryOperationsRequest, BulkPatchDiscoveryOperationsResponse, BulkPatchDiscoveryOperationsError, Credentials | HttpClient.HttpClient>;
|
|
145
|
+
export interface CreateExpressionTemplateFallthroughRequest {
|
|
146
|
+
/** Path param: Identifier. */
|
|
147
|
+
zoneId: string;
|
|
148
|
+
/** Body param: List of hosts to be targeted in the expression */
|
|
149
|
+
hosts: string[];
|
|
150
|
+
}
|
|
151
|
+
export declare const CreateExpressionTemplateFallthroughRequest: Schema.Schema<CreateExpressionTemplateFallthroughRequest>;
|
|
152
|
+
export interface CreateExpressionTemplateFallthroughResponse {
|
|
153
|
+
/** WAF Expression for fallthrough */
|
|
154
|
+
expression: string;
|
|
155
|
+
/** Title for the expression */
|
|
156
|
+
title: string;
|
|
157
|
+
}
|
|
158
|
+
export declare const CreateExpressionTemplateFallthroughResponse: Schema.Schema<CreateExpressionTemplateFallthroughResponse>;
|
|
159
|
+
export type CreateExpressionTemplateFallthroughError = DefaultErrors | InvalidObjectIdentifier;
|
|
160
|
+
export declare const createExpressionTemplateFallthrough: API.OperationMethod<CreateExpressionTemplateFallthroughRequest, CreateExpressionTemplateFallthroughResponse, CreateExpressionTemplateFallthroughError, Credentials | HttpClient.HttpClient>;
|
|
161
|
+
export interface GetOperationRequest {
|
|
162
|
+
operationId: string;
|
|
163
|
+
/** Path param: Identifier. */
|
|
164
|
+
zoneId: string;
|
|
165
|
+
/** Query param: Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description for more details on the spe */
|
|
166
|
+
feature?: ("thresholds" | "parameter_schemas" | "schema_info")[];
|
|
167
|
+
}
|
|
168
|
+
export declare const GetOperationRequest: Schema.Schema<GetOperationRequest>;
|
|
169
|
+
export interface GetOperationResponse {
|
|
170
|
+
/** The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during insertion. This will further be Cloudflare-n */
|
|
171
|
+
endpoint: string;
|
|
172
|
+
/** RFC3986-compliant host. */
|
|
173
|
+
host: string;
|
|
174
|
+
lastUpdated: string;
|
|
175
|
+
/** The HTTP method used to access the endpoint. */
|
|
176
|
+
method: "GET" | "POST" | "HEAD" | "OPTIONS" | "PUT" | "DELETE" | "CONNECT" | "PATCH" | "TRACE";
|
|
177
|
+
/** UUID. */
|
|
178
|
+
operationId: string;
|
|
179
|
+
features?: {
|
|
180
|
+
thresholds?: {
|
|
181
|
+
authIdTokens?: number | null;
|
|
182
|
+
dataPoints?: number | null;
|
|
183
|
+
lastUpdated?: string | null;
|
|
184
|
+
p50?: number | null;
|
|
185
|
+
p90?: number | null;
|
|
186
|
+
p99?: number | null;
|
|
187
|
+
periodSeconds?: number | null;
|
|
188
|
+
requests?: number | null;
|
|
189
|
+
suggestedThreshold?: number | null;
|
|
190
|
+
} | null;
|
|
191
|
+
} | {
|
|
192
|
+
parameterSchemas: {
|
|
193
|
+
lastUpdated?: string | null;
|
|
194
|
+
parameterSchemas?: {
|
|
195
|
+
parameters?: unknown[] | null;
|
|
196
|
+
responses?: null;
|
|
197
|
+
} | null;
|
|
198
|
+
};
|
|
199
|
+
} | {
|
|
200
|
+
apiRouting?: {
|
|
201
|
+
lastUpdated?: string | null;
|
|
202
|
+
route?: string | null;
|
|
203
|
+
} | null;
|
|
204
|
+
} | {
|
|
205
|
+
confidenceIntervals?: {
|
|
206
|
+
lastUpdated?: string | null;
|
|
207
|
+
suggestedThreshold?: {
|
|
208
|
+
confidenceIntervals?: {
|
|
209
|
+
p90?: {
|
|
210
|
+
lower?: number | null;
|
|
211
|
+
upper?: number | null;
|
|
212
|
+
} | null;
|
|
213
|
+
p95?: {
|
|
214
|
+
lower?: number | null;
|
|
215
|
+
upper?: number | null;
|
|
216
|
+
} | null;
|
|
217
|
+
p99?: {
|
|
218
|
+
lower?: number | null;
|
|
219
|
+
upper?: number | null;
|
|
220
|
+
} | null;
|
|
221
|
+
} | null;
|
|
222
|
+
mean?: number | null;
|
|
223
|
+
} | null;
|
|
224
|
+
} | null;
|
|
225
|
+
} | {
|
|
226
|
+
schemaInfo?: {
|
|
227
|
+
activeSchema?: {
|
|
228
|
+
id?: string | null;
|
|
229
|
+
createdAt?: string | null;
|
|
230
|
+
isLearned?: boolean | null;
|
|
231
|
+
name?: string | null;
|
|
232
|
+
} | null;
|
|
233
|
+
learnedAvailable?: boolean | null;
|
|
234
|
+
mitigationAction?: "none" | "log" | "block" | null;
|
|
235
|
+
} | null;
|
|
236
|
+
} | null;
|
|
237
|
+
}
|
|
238
|
+
export declare const GetOperationResponse: Schema.Schema<GetOperationResponse>;
|
|
239
|
+
export type GetOperationError = DefaultErrors | InvalidObjectIdentifier | OperationNotFound;
|
|
240
|
+
export declare const getOperation: API.OperationMethod<GetOperationRequest, GetOperationResponse, GetOperationError, Credentials | HttpClient.HttpClient>;
|
|
241
|
+
export interface ListOperationsRequest {
|
|
242
|
+
/** Path param: Identifier. */
|
|
243
|
+
zoneId: string;
|
|
244
|
+
/** Query param: Direction to order results. */
|
|
245
|
+
direction?: "asc" | "desc";
|
|
246
|
+
/** Query param: Filter results to only include endpoints containing this pattern. */
|
|
247
|
+
endpoint?: string;
|
|
248
|
+
/** Query param: Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description for more details on the spe */
|
|
249
|
+
feature?: ("thresholds" | "parameter_schemas" | "schema_info")[];
|
|
250
|
+
/** Query param: Filter results to only include the specified hosts. */
|
|
251
|
+
host?: string[];
|
|
252
|
+
/** Query param: Filter results to only include the specified HTTP methods. */
|
|
253
|
+
method?: string[];
|
|
254
|
+
/** Query param: Field to order by. When requesting a feature, the feature keys are available for ordering as well, e.g., `thresholds.suggested_threshold`. */
|
|
255
|
+
order?: "method" | "host" | "endpoint" | "thresholds.$key";
|
|
256
|
+
}
|
|
257
|
+
export declare const ListOperationsRequest: Schema.Schema<ListOperationsRequest>;
|
|
258
|
+
export type ListOperationsResponse = {
|
|
259
|
+
endpoint: string;
|
|
260
|
+
host: string;
|
|
261
|
+
lastUpdated: string;
|
|
262
|
+
method: "GET" | "POST" | "HEAD" | "OPTIONS" | "PUT" | "DELETE" | "CONNECT" | "PATCH" | "TRACE";
|
|
263
|
+
operationId: string;
|
|
264
|
+
features?: {
|
|
265
|
+
thresholds?: {
|
|
266
|
+
authIdTokens?: number | null;
|
|
267
|
+
dataPoints?: number | null;
|
|
268
|
+
lastUpdated?: string | null;
|
|
269
|
+
p50?: number | null;
|
|
270
|
+
p90?: number | null;
|
|
271
|
+
p99?: number | null;
|
|
272
|
+
periodSeconds?: number | null;
|
|
273
|
+
requests?: number | null;
|
|
274
|
+
suggestedThreshold?: number | null;
|
|
275
|
+
} | null;
|
|
276
|
+
} | {
|
|
277
|
+
parameterSchemas: {
|
|
278
|
+
lastUpdated?: string | null;
|
|
279
|
+
parameterSchemas?: {
|
|
280
|
+
parameters?: unknown[] | null;
|
|
281
|
+
responses?: null;
|
|
282
|
+
} | null;
|
|
283
|
+
};
|
|
284
|
+
} | {
|
|
285
|
+
apiRouting?: {
|
|
286
|
+
lastUpdated?: string | null;
|
|
287
|
+
route?: string | null;
|
|
288
|
+
} | null;
|
|
289
|
+
} | {
|
|
290
|
+
confidenceIntervals?: {
|
|
291
|
+
lastUpdated?: string | null;
|
|
292
|
+
suggestedThreshold?: {
|
|
293
|
+
confidenceIntervals?: {
|
|
294
|
+
p90?: {
|
|
295
|
+
lower?: number | null;
|
|
296
|
+
upper?: number | null;
|
|
297
|
+
} | null;
|
|
298
|
+
p95?: {
|
|
299
|
+
lower?: number | null;
|
|
300
|
+
upper?: number | null;
|
|
301
|
+
} | null;
|
|
302
|
+
p99?: {
|
|
303
|
+
lower?: number | null;
|
|
304
|
+
upper?: number | null;
|
|
305
|
+
} | null;
|
|
306
|
+
} | null;
|
|
307
|
+
mean?: number | null;
|
|
308
|
+
} | null;
|
|
309
|
+
} | null;
|
|
310
|
+
} | {
|
|
311
|
+
schemaInfo?: {
|
|
312
|
+
activeSchema?: {
|
|
313
|
+
id?: string | null;
|
|
314
|
+
createdAt?: string | null;
|
|
315
|
+
isLearned?: boolean | null;
|
|
316
|
+
name?: string | null;
|
|
317
|
+
} | null;
|
|
318
|
+
learnedAvailable?: boolean | null;
|
|
319
|
+
mitigationAction?: "none" | "log" | "block" | null;
|
|
320
|
+
} | null;
|
|
321
|
+
} | null;
|
|
322
|
+
}[];
|
|
323
|
+
export declare const ListOperationsResponse: Schema.Schema<ListOperationsResponse>;
|
|
324
|
+
export type ListOperationsError = DefaultErrors;
|
|
325
|
+
export declare const listOperations: API.OperationMethod<ListOperationsRequest, ListOperationsResponse, ListOperationsError, Credentials | HttpClient.HttpClient>;
|
|
326
|
+
export interface CreateOperationRequest {
|
|
327
|
+
/** Path param: Identifier. */
|
|
328
|
+
zoneId: string;
|
|
329
|
+
/** Body param: The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during insertion. This will further be */
|
|
330
|
+
endpoint: string;
|
|
331
|
+
/** Body param: RFC3986-compliant host. */
|
|
332
|
+
host: string;
|
|
333
|
+
/** Body param: The HTTP method used to access the endpoint. */
|
|
334
|
+
method: "GET" | "POST" | "HEAD" | "OPTIONS" | "PUT" | "DELETE" | "CONNECT" | "PATCH" | "TRACE";
|
|
335
|
+
}
|
|
336
|
+
export declare const CreateOperationRequest: Schema.Schema<CreateOperationRequest>;
|
|
337
|
+
export interface CreateOperationResponse {
|
|
338
|
+
/** The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during insertion. This will further be Cloudflare-n */
|
|
339
|
+
endpoint: string;
|
|
340
|
+
/** RFC3986-compliant host. */
|
|
341
|
+
host: string;
|
|
342
|
+
lastUpdated: string;
|
|
343
|
+
/** The HTTP method used to access the endpoint. */
|
|
344
|
+
method: "GET" | "POST" | "HEAD" | "OPTIONS" | "PUT" | "DELETE" | "CONNECT" | "PATCH" | "TRACE";
|
|
345
|
+
/** UUID. */
|
|
346
|
+
operationId: string;
|
|
347
|
+
features?: {
|
|
348
|
+
thresholds?: {
|
|
349
|
+
authIdTokens?: number | null;
|
|
350
|
+
dataPoints?: number | null;
|
|
351
|
+
lastUpdated?: string | null;
|
|
352
|
+
p50?: number | null;
|
|
353
|
+
p90?: number | null;
|
|
354
|
+
p99?: number | null;
|
|
355
|
+
periodSeconds?: number | null;
|
|
356
|
+
requests?: number | null;
|
|
357
|
+
suggestedThreshold?: number | null;
|
|
358
|
+
} | null;
|
|
359
|
+
} | {
|
|
360
|
+
parameterSchemas: {
|
|
361
|
+
lastUpdated?: string | null;
|
|
362
|
+
parameterSchemas?: {
|
|
363
|
+
parameters?: unknown[] | null;
|
|
364
|
+
responses?: null;
|
|
365
|
+
} | null;
|
|
366
|
+
};
|
|
367
|
+
} | {
|
|
368
|
+
apiRouting?: {
|
|
369
|
+
lastUpdated?: string | null;
|
|
370
|
+
route?: string | null;
|
|
371
|
+
} | null;
|
|
372
|
+
} | {
|
|
373
|
+
confidenceIntervals?: {
|
|
374
|
+
lastUpdated?: string | null;
|
|
375
|
+
suggestedThreshold?: {
|
|
376
|
+
confidenceIntervals?: {
|
|
377
|
+
p90?: {
|
|
378
|
+
lower?: number | null;
|
|
379
|
+
upper?: number | null;
|
|
380
|
+
} | null;
|
|
381
|
+
p95?: {
|
|
382
|
+
lower?: number | null;
|
|
383
|
+
upper?: number | null;
|
|
384
|
+
} | null;
|
|
385
|
+
p99?: {
|
|
386
|
+
lower?: number | null;
|
|
387
|
+
upper?: number | null;
|
|
388
|
+
} | null;
|
|
389
|
+
} | null;
|
|
390
|
+
mean?: number | null;
|
|
391
|
+
} | null;
|
|
392
|
+
} | null;
|
|
393
|
+
} | {
|
|
394
|
+
schemaInfo?: {
|
|
395
|
+
activeSchema?: {
|
|
396
|
+
id?: string | null;
|
|
397
|
+
createdAt?: string | null;
|
|
398
|
+
isLearned?: boolean | null;
|
|
399
|
+
name?: string | null;
|
|
400
|
+
} | null;
|
|
401
|
+
learnedAvailable?: boolean | null;
|
|
402
|
+
mitigationAction?: "none" | "log" | "block" | null;
|
|
403
|
+
} | null;
|
|
404
|
+
} | null;
|
|
405
|
+
}
|
|
406
|
+
export declare const CreateOperationResponse: Schema.Schema<CreateOperationResponse>;
|
|
407
|
+
export type CreateOperationError = DefaultErrors | InvalidObjectIdentifier;
|
|
408
|
+
export declare const createOperation: API.OperationMethod<CreateOperationRequest, CreateOperationResponse, CreateOperationError, Credentials | HttpClient.HttpClient>;
|
|
409
|
+
export interface DeleteOperationRequest {
|
|
410
|
+
operationId: string;
|
|
411
|
+
/** Identifier. */
|
|
412
|
+
zoneId: string;
|
|
413
|
+
}
|
|
414
|
+
export declare const DeleteOperationRequest: Schema.Schema<DeleteOperationRequest>;
|
|
415
|
+
export interface DeleteOperationResponse {
|
|
416
|
+
errors: unknown;
|
|
417
|
+
messages: unknown;
|
|
418
|
+
/** Whether the API call was successful. */
|
|
419
|
+
success: true;
|
|
420
|
+
}
|
|
421
|
+
export declare const DeleteOperationResponse: Schema.Schema<DeleteOperationResponse>;
|
|
422
|
+
export type DeleteOperationError = DefaultErrors | InvalidObjectIdentifier | OperationNotFound;
|
|
423
|
+
export declare const deleteOperation: API.OperationMethod<DeleteOperationRequest, DeleteOperationResponse, DeleteOperationError, Credentials | HttpClient.HttpClient>;
|
|
424
|
+
export interface BulkCreateOperationsRequest {
|
|
425
|
+
/** Path param: Identifier. */
|
|
426
|
+
zoneId: string;
|
|
427
|
+
/** Body param: */
|
|
428
|
+
body: {
|
|
429
|
+
endpoint: string;
|
|
430
|
+
host: string;
|
|
431
|
+
method: "GET" | "POST" | "HEAD" | "OPTIONS" | "PUT" | "DELETE" | "CONNECT" | "PATCH" | "TRACE";
|
|
432
|
+
}[];
|
|
433
|
+
}
|
|
434
|
+
export declare const BulkCreateOperationsRequest: Schema.Schema<BulkCreateOperationsRequest>;
|
|
435
|
+
export type BulkCreateOperationsResponse = {
|
|
436
|
+
endpoint: string;
|
|
437
|
+
host: string;
|
|
438
|
+
lastUpdated: string;
|
|
439
|
+
method: "GET" | "POST" | "HEAD" | "OPTIONS" | "PUT" | "DELETE" | "CONNECT" | "PATCH" | "TRACE";
|
|
440
|
+
operationId: string;
|
|
441
|
+
features?: {
|
|
442
|
+
thresholds?: {
|
|
443
|
+
authIdTokens?: number | null;
|
|
444
|
+
dataPoints?: number | null;
|
|
445
|
+
lastUpdated?: string | null;
|
|
446
|
+
p50?: number | null;
|
|
447
|
+
p90?: number | null;
|
|
448
|
+
p99?: number | null;
|
|
449
|
+
periodSeconds?: number | null;
|
|
450
|
+
requests?: number | null;
|
|
451
|
+
suggestedThreshold?: number | null;
|
|
452
|
+
} | null;
|
|
453
|
+
} | {
|
|
454
|
+
parameterSchemas: {
|
|
455
|
+
lastUpdated?: string | null;
|
|
456
|
+
parameterSchemas?: {
|
|
457
|
+
parameters?: unknown[] | null;
|
|
458
|
+
responses?: null;
|
|
459
|
+
} | null;
|
|
460
|
+
};
|
|
461
|
+
} | {
|
|
462
|
+
apiRouting?: {
|
|
463
|
+
lastUpdated?: string | null;
|
|
464
|
+
route?: string | null;
|
|
465
|
+
} | null;
|
|
466
|
+
} | {
|
|
467
|
+
confidenceIntervals?: {
|
|
468
|
+
lastUpdated?: string | null;
|
|
469
|
+
suggestedThreshold?: {
|
|
470
|
+
confidenceIntervals?: {
|
|
471
|
+
p90?: {
|
|
472
|
+
lower?: number | null;
|
|
473
|
+
upper?: number | null;
|
|
474
|
+
} | null;
|
|
475
|
+
p95?: {
|
|
476
|
+
lower?: number | null;
|
|
477
|
+
upper?: number | null;
|
|
478
|
+
} | null;
|
|
479
|
+
p99?: {
|
|
480
|
+
lower?: number | null;
|
|
481
|
+
upper?: number | null;
|
|
482
|
+
} | null;
|
|
483
|
+
} | null;
|
|
484
|
+
mean?: number | null;
|
|
485
|
+
} | null;
|
|
486
|
+
} | null;
|
|
487
|
+
} | {
|
|
488
|
+
schemaInfo?: {
|
|
489
|
+
activeSchema?: {
|
|
490
|
+
id?: string | null;
|
|
491
|
+
createdAt?: string | null;
|
|
492
|
+
isLearned?: boolean | null;
|
|
493
|
+
name?: string | null;
|
|
494
|
+
} | null;
|
|
495
|
+
learnedAvailable?: boolean | null;
|
|
496
|
+
mitigationAction?: "none" | "log" | "block" | null;
|
|
497
|
+
} | null;
|
|
498
|
+
} | null;
|
|
499
|
+
}[];
|
|
500
|
+
export declare const BulkCreateOperationsResponse: Schema.Schema<BulkCreateOperationsResponse>;
|
|
501
|
+
export type BulkCreateOperationsError = DefaultErrors;
|
|
502
|
+
export declare const bulkCreateOperations: API.OperationMethod<BulkCreateOperationsRequest, BulkCreateOperationsResponse, BulkCreateOperationsError, Credentials | HttpClient.HttpClient>;
|
|
503
|
+
export interface BulkDeleteOperationsRequest {
|
|
504
|
+
/** Identifier. */
|
|
505
|
+
zoneId: string;
|
|
506
|
+
}
|
|
507
|
+
export declare const BulkDeleteOperationsRequest: Schema.Schema<BulkDeleteOperationsRequest>;
|
|
508
|
+
export interface BulkDeleteOperationsResponse {
|
|
509
|
+
errors: unknown;
|
|
510
|
+
messages: unknown;
|
|
511
|
+
/** Whether the API call was successful. */
|
|
512
|
+
success: true;
|
|
513
|
+
}
|
|
514
|
+
export declare const BulkDeleteOperationsResponse: Schema.Schema<BulkDeleteOperationsResponse>;
|
|
515
|
+
export type BulkDeleteOperationsError = DefaultErrors | InvalidObjectIdentifier;
|
|
516
|
+
export declare const bulkDeleteOperations: API.OperationMethod<BulkDeleteOperationsRequest, BulkDeleteOperationsResponse, BulkDeleteOperationsError, Credentials | HttpClient.HttpClient>;
|
|
517
|
+
export interface GetOperationSchemaValidationRequest {
|
|
518
|
+
operationId: string;
|
|
519
|
+
/** Identifier. */
|
|
520
|
+
zoneId: string;
|
|
521
|
+
}
|
|
522
|
+
export declare const GetOperationSchemaValidationRequest: Schema.Schema<GetOperationSchemaValidationRequest>;
|
|
523
|
+
export interface GetOperationSchemaValidationResponse {
|
|
524
|
+
/** When set, this applies a mitigation action to this operation - `log` log request when request does not conform to schema for this operation - `block` deny access to the site when request does not con */
|
|
525
|
+
mitigationAction?: "log" | "block" | "none" | null;
|
|
526
|
+
/** UUID. */
|
|
527
|
+
operationId?: string | null;
|
|
528
|
+
}
|
|
529
|
+
export declare const GetOperationSchemaValidationResponse: Schema.Schema<GetOperationSchemaValidationResponse>;
|
|
530
|
+
export type GetOperationSchemaValidationError = DefaultErrors | InvalidObjectIdentifier | OperationNotFound;
|
|
531
|
+
export declare const getOperationSchemaValidation: API.OperationMethod<GetOperationSchemaValidationRequest, GetOperationSchemaValidationResponse, GetOperationSchemaValidationError, Credentials | HttpClient.HttpClient>;
|
|
532
|
+
export interface PutOperationSchemaValidationRequest {
|
|
533
|
+
operationId: string;
|
|
534
|
+
/** Path param: Identifier. */
|
|
535
|
+
zoneId: string;
|
|
536
|
+
/** Body param: When set, this applies a mitigation action to this operation - `log` log request when request does not conform to schema for this operation - `block` deny access to the site when request */
|
|
537
|
+
mitigationAction?: "log" | "block" | "none" | null;
|
|
538
|
+
}
|
|
539
|
+
export declare const PutOperationSchemaValidationRequest: Schema.Schema<PutOperationSchemaValidationRequest>;
|
|
540
|
+
export interface PutOperationSchemaValidationResponse {
|
|
541
|
+
/** When set, this applies a mitigation action to this operation - `log` log request when request does not conform to schema for this operation - `block` deny access to the site when request does not con */
|
|
542
|
+
mitigationAction?: "log" | "block" | "none" | null;
|
|
543
|
+
/** UUID. */
|
|
544
|
+
operationId?: string | null;
|
|
545
|
+
}
|
|
546
|
+
export declare const PutOperationSchemaValidationResponse: Schema.Schema<PutOperationSchemaValidationResponse>;
|
|
547
|
+
export type PutOperationSchemaValidationError = DefaultErrors | InvalidObjectIdentifier | OperationNotFound;
|
|
548
|
+
export declare const putOperationSchemaValidation: API.OperationMethod<PutOperationSchemaValidationRequest, PutOperationSchemaValidationResponse, PutOperationSchemaValidationError, Credentials | HttpClient.HttpClient>;
|
|
549
|
+
export interface PatchOperationSchemaValidationRequest {
|
|
550
|
+
/** Path param: Identifier. */
|
|
551
|
+
zoneId: string;
|
|
552
|
+
/** Body param: */
|
|
553
|
+
settingsMultipleRequest: unknown;
|
|
554
|
+
}
|
|
555
|
+
export declare const PatchOperationSchemaValidationRequest: Schema.Schema<PatchOperationSchemaValidationRequest>;
|
|
556
|
+
export type PatchOperationSchemaValidationResponse = Record<string, unknown>;
|
|
557
|
+
export declare const PatchOperationSchemaValidationResponse: Schema.Schema<PatchOperationSchemaValidationResponse>;
|
|
558
|
+
export type PatchOperationSchemaValidationError = DefaultErrors | InvalidObjectIdentifier;
|
|
559
|
+
export declare const patchOperationSchemaValidation: API.OperationMethod<PatchOperationSchemaValidationRequest, PatchOperationSchemaValidationResponse, PatchOperationSchemaValidationError, Credentials | HttpClient.HttpClient>;
|
|
560
|
+
export interface ListSchemasRequest {
|
|
561
|
+
/** Path param: Identifier. */
|
|
562
|
+
zoneId: string;
|
|
563
|
+
/** Query param: Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description for more details on the spe */
|
|
564
|
+
feature?: ("thresholds" | "parameter_schemas" | "schema_info")[];
|
|
565
|
+
/** Query param: Receive schema only for the given host(s). */
|
|
566
|
+
host?: string[];
|
|
567
|
+
}
|
|
568
|
+
export declare const ListSchemasRequest: Schema.Schema<ListSchemasRequest>;
|
|
569
|
+
export interface ListSchemasResponse {
|
|
570
|
+
schemas?: unknown[] | null;
|
|
571
|
+
timestamp?: string | null;
|
|
572
|
+
}
|
|
573
|
+
export declare const ListSchemasResponse: Schema.Schema<ListSchemasResponse>;
|
|
574
|
+
export type ListSchemasError = DefaultErrors | InvalidObjectIdentifier;
|
|
575
|
+
export declare const listSchemas: API.OperationMethod<ListSchemasRequest, ListSchemasResponse, ListSchemasError, Credentials | HttpClient.HttpClient>;
|
|
576
|
+
export interface GetSettingSchemaValidationRequest {
|
|
577
|
+
/** Identifier. */
|
|
578
|
+
zoneId: string;
|
|
579
|
+
}
|
|
580
|
+
export declare const GetSettingSchemaValidationRequest: Schema.Schema<GetSettingSchemaValidationRequest>;
|
|
581
|
+
export type GetSettingSchemaValidationResponse = unknown;
|
|
582
|
+
export declare const GetSettingSchemaValidationResponse: Schema.Schema<unknown>;
|
|
583
|
+
export type GetSettingSchemaValidationError = DefaultErrors | InvalidObjectIdentifier;
|
|
584
|
+
export declare const getSettingSchemaValidation: API.OperationMethod<GetSettingSchemaValidationRequest, GetSettingSchemaValidationResponse, GetSettingSchemaValidationError, Credentials | HttpClient.HttpClient>;
|
|
585
|
+
export interface PutSettingSchemaValidationRequest {
|
|
586
|
+
/** Path param: Identifier. */
|
|
587
|
+
zoneId: string;
|
|
588
|
+
/** Body param: The default mitigation action used when there is no mitigation action defined on the operation Mitigation actions are as follows: - `log` - log request when request does not conform to s */
|
|
589
|
+
validationDefaultMitigationAction: "none" | "log" | "block";
|
|
590
|
+
/** Body param: When set, this overrides both zone level and operation level mitigation actions. - `none` will skip running schema validation entirely for the request - `null` indicates that no override */
|
|
591
|
+
validationOverrideMitigationAction?: "none" | "disable_override" | null;
|
|
592
|
+
}
|
|
593
|
+
export declare const PutSettingSchemaValidationRequest: Schema.Schema<PutSettingSchemaValidationRequest>;
|
|
594
|
+
export type PutSettingSchemaValidationResponse = unknown;
|
|
595
|
+
export declare const PutSettingSchemaValidationResponse: Schema.Schema<unknown>;
|
|
596
|
+
export type PutSettingSchemaValidationError = DefaultErrors | InvalidObjectIdentifier;
|
|
597
|
+
export declare const putSettingSchemaValidation: API.OperationMethod<PutSettingSchemaValidationRequest, PutSettingSchemaValidationResponse, PutSettingSchemaValidationError, Credentials | HttpClient.HttpClient>;
|
|
598
|
+
export interface PatchSettingSchemaValidationRequest {
|
|
599
|
+
/** Path param: Identifier. */
|
|
600
|
+
zoneId: string;
|
|
601
|
+
/** Body param: The default mitigation action used when there is no mitigation action defined on the operation Mitigation actions are as follows: - `log` - log request when request does not conform to sc */
|
|
602
|
+
validationDefaultMitigationAction?: "none" | "log" | "block" | null;
|
|
603
|
+
/** Body param: When set, this overrides both zone level and operation level mitigation actions. - `none` will skip running schema validation entirely for the request To clear any override, use the spec */
|
|
604
|
+
validationOverrideMitigationAction?: "none" | "disable_override" | null;
|
|
605
|
+
}
|
|
606
|
+
export declare const PatchSettingSchemaValidationRequest: Schema.Schema<PatchSettingSchemaValidationRequest>;
|
|
607
|
+
export type PatchSettingSchemaValidationResponse = unknown;
|
|
608
|
+
export declare const PatchSettingSchemaValidationResponse: Schema.Schema<unknown>;
|
|
609
|
+
export type PatchSettingSchemaValidationError = DefaultErrors | InvalidObjectIdentifier;
|
|
610
|
+
export declare const patchSettingSchemaValidation: API.OperationMethod<PatchSettingSchemaValidationRequest, PatchSettingSchemaValidationResponse, PatchSettingSchemaValidationError, Credentials | HttpClient.HttpClient>;
|
|
611
|
+
export interface GetUserSchemaRequest {
|
|
612
|
+
schemaId: string;
|
|
613
|
+
/** Path param: Identifier. */
|
|
614
|
+
zoneId: string;
|
|
615
|
+
/** Query param: Omit the source-files of schemas and only retrieve their meta-data. */
|
|
616
|
+
omitSource?: boolean;
|
|
617
|
+
}
|
|
618
|
+
export declare const GetUserSchemaRequest: Schema.Schema<GetUserSchemaRequest>;
|
|
619
|
+
export interface GetUserSchemaResponse {
|
|
620
|
+
createdAt: string;
|
|
621
|
+
/** Kind of schema */
|
|
622
|
+
kind: "openapi_v3";
|
|
623
|
+
/** Name of the schema */
|
|
624
|
+
name: string;
|
|
625
|
+
/** UUID. */
|
|
626
|
+
schemaId: string;
|
|
627
|
+
/** Source of the schema */
|
|
628
|
+
source?: string | null;
|
|
629
|
+
/** Flag whether schema is enabled for validation. */
|
|
630
|
+
validationEnabled?: boolean | null;
|
|
631
|
+
}
|
|
632
|
+
export declare const GetUserSchemaResponse: Schema.Schema<GetUserSchemaResponse>;
|
|
633
|
+
export type GetUserSchemaError = DefaultErrors | InvalidObjectIdentifier | SchemaNotFound;
|
|
634
|
+
export declare const getUserSchema: API.OperationMethod<GetUserSchemaRequest, GetUserSchemaResponse, GetUserSchemaError, Credentials | HttpClient.HttpClient>;
|
|
635
|
+
export interface ListUserSchemasRequest {
|
|
636
|
+
/** Path param: Identifier. */
|
|
637
|
+
zoneId: string;
|
|
638
|
+
/** Query param: Omit the source-files of schemas and only retrieve their meta-data. */
|
|
639
|
+
omitSource?: boolean;
|
|
640
|
+
/** Query param: Flag whether schema is enabled for validation. */
|
|
641
|
+
validationEnabled?: boolean;
|
|
642
|
+
}
|
|
643
|
+
export declare const ListUserSchemasRequest: Schema.Schema<ListUserSchemasRequest>;
|
|
644
|
+
export type ListUserSchemasResponse = {
|
|
645
|
+
createdAt: string;
|
|
646
|
+
kind: "openapi_v3";
|
|
647
|
+
name: string;
|
|
648
|
+
schemaId: string;
|
|
649
|
+
source?: string | null;
|
|
650
|
+
validationEnabled?: boolean | null;
|
|
651
|
+
}[];
|
|
652
|
+
export declare const ListUserSchemasResponse: Schema.Schema<ListUserSchemasResponse>;
|
|
653
|
+
export type ListUserSchemasError = DefaultErrors;
|
|
654
|
+
export declare const listUserSchemas: API.OperationMethod<ListUserSchemasRequest, ListUserSchemasResponse, ListUserSchemasError, Credentials | HttpClient.HttpClient>;
|
|
655
|
+
export interface CreateUserSchemaRequest {
|
|
656
|
+
/** Path param: Identifier. */
|
|
657
|
+
zoneId: string;
|
|
658
|
+
/** Body param: Schema file bytes */
|
|
659
|
+
file: File | Blob;
|
|
660
|
+
/** Body param: Kind of schema */
|
|
661
|
+
kind: "openapi_v3";
|
|
662
|
+
/** Body param: Name of the schema */
|
|
663
|
+
name?: string;
|
|
664
|
+
/** Body param: Flag whether schema is enabled for validation. */
|
|
665
|
+
validationEnabled?: true | false;
|
|
666
|
+
}
|
|
667
|
+
export declare const CreateUserSchemaRequest: Schema.Schema<CreateUserSchemaRequest>;
|
|
668
|
+
export interface CreateUserSchemaResponse {
|
|
669
|
+
schema: {
|
|
670
|
+
createdAt: string;
|
|
671
|
+
kind: "openapi_v3";
|
|
672
|
+
name: string;
|
|
673
|
+
schemaId: string;
|
|
674
|
+
source?: string | null;
|
|
675
|
+
validationEnabled?: boolean | null;
|
|
676
|
+
};
|
|
677
|
+
uploadDetails?: {
|
|
678
|
+
warnings?: {
|
|
679
|
+
code: number;
|
|
680
|
+
locations?: string[] | null;
|
|
681
|
+
message?: string | null;
|
|
682
|
+
}[] | null;
|
|
683
|
+
} | null;
|
|
684
|
+
}
|
|
685
|
+
export declare const CreateUserSchemaResponse: Schema.Schema<CreateUserSchemaResponse>;
|
|
686
|
+
export type CreateUserSchemaError = DefaultErrors | InvalidObjectIdentifier;
|
|
687
|
+
export declare const createUserSchema: API.OperationMethod<CreateUserSchemaRequest, CreateUserSchemaResponse, CreateUserSchemaError, Credentials | HttpClient.HttpClient>;
|
|
688
|
+
export interface PatchUserSchemaRequest {
|
|
689
|
+
schemaId: string;
|
|
690
|
+
/** Path param: Identifier. */
|
|
691
|
+
zoneId: string;
|
|
692
|
+
/** Body param: Flag whether schema is enabled for validation. */
|
|
693
|
+
validationEnabled?: true;
|
|
694
|
+
}
|
|
695
|
+
export declare const PatchUserSchemaRequest: Schema.Schema<PatchUserSchemaRequest>;
|
|
696
|
+
export interface PatchUserSchemaResponse {
|
|
697
|
+
createdAt: string;
|
|
698
|
+
/** Kind of schema */
|
|
699
|
+
kind: "openapi_v3";
|
|
700
|
+
/** Name of the schema */
|
|
701
|
+
name: string;
|
|
702
|
+
/** UUID. */
|
|
703
|
+
schemaId: string;
|
|
704
|
+
/** Source of the schema */
|
|
705
|
+
source?: string | null;
|
|
706
|
+
/** Flag whether schema is enabled for validation. */
|
|
707
|
+
validationEnabled?: boolean | null;
|
|
708
|
+
}
|
|
709
|
+
export declare const PatchUserSchemaResponse: Schema.Schema<PatchUserSchemaResponse>;
|
|
710
|
+
export type PatchUserSchemaError = DefaultErrors | InvalidObjectIdentifier | SchemaNotFound;
|
|
711
|
+
export declare const patchUserSchema: API.OperationMethod<PatchUserSchemaRequest, PatchUserSchemaResponse, PatchUserSchemaError, Credentials | HttpClient.HttpClient>;
|
|
712
|
+
export interface DeleteUserSchemaRequest {
|
|
713
|
+
schemaId: string;
|
|
714
|
+
/** Identifier. */
|
|
715
|
+
zoneId: string;
|
|
716
|
+
}
|
|
717
|
+
export declare const DeleteUserSchemaRequest: Schema.Schema<DeleteUserSchemaRequest>;
|
|
718
|
+
export interface DeleteUserSchemaResponse {
|
|
719
|
+
errors: unknown;
|
|
720
|
+
messages: unknown;
|
|
721
|
+
/** Whether the API call was successful. */
|
|
722
|
+
success: true;
|
|
723
|
+
}
|
|
724
|
+
export declare const DeleteUserSchemaResponse: Schema.Schema<DeleteUserSchemaResponse>;
|
|
725
|
+
export type DeleteUserSchemaError = DefaultErrors | InvalidObjectIdentifier | SchemaNotFound;
|
|
726
|
+
export declare const deleteUserSchema: API.OperationMethod<DeleteUserSchemaRequest, DeleteUserSchemaResponse, DeleteUserSchemaError, Credentials | HttpClient.HttpClient>;
|
|
727
|
+
export interface ListUserSchemaHostsRequest {
|
|
728
|
+
/** Path param: Identifier. */
|
|
729
|
+
zoneId: string;
|
|
730
|
+
}
|
|
731
|
+
export declare const ListUserSchemaHostsRequest: Schema.Schema<ListUserSchemaHostsRequest>;
|
|
732
|
+
export type ListUserSchemaHostsResponse = {
|
|
733
|
+
createdAt: string;
|
|
734
|
+
hosts: string[];
|
|
735
|
+
name: string;
|
|
736
|
+
schemaId: string;
|
|
737
|
+
}[];
|
|
738
|
+
export declare const ListUserSchemaHostsResponse: Schema.Schema<ListUserSchemaHostsResponse>;
|
|
739
|
+
export type ListUserSchemaHostsError = DefaultErrors;
|
|
740
|
+
export declare const listUserSchemaHosts: API.OperationMethod<ListUserSchemaHostsRequest, ListUserSchemaHostsResponse, ListUserSchemaHostsError, Credentials | HttpClient.HttpClient>;
|
|
741
|
+
export interface ListUserSchemaOperationsRequest {
|
|
742
|
+
schemaId: string;
|
|
743
|
+
/** Path param: Identifier. */
|
|
744
|
+
zoneId: string;
|
|
745
|
+
/** Query param: Filter results to only include endpoints containing this pattern. */
|
|
746
|
+
endpoint?: string;
|
|
747
|
+
/** Query param: Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description for more details on the spe */
|
|
748
|
+
feature?: ("thresholds" | "parameter_schemas" | "schema_info")[];
|
|
749
|
+
/** Query param: Filter results to only include the specified hosts. */
|
|
750
|
+
host?: string[];
|
|
751
|
+
/** Query param: Filter results to only include the specified HTTP methods. */
|
|
752
|
+
method?: string[];
|
|
753
|
+
/** Query param: Filter results by whether operations exist in API Shield Endpoint Management or not. `new` will just return operations from the schema that do not exist in API Shield Endpoint Management. */
|
|
754
|
+
operationStatus?: "new" | "existing";
|
|
755
|
+
}
|
|
756
|
+
export declare const ListUserSchemaOperationsRequest: Schema.Schema<ListUserSchemaOperationsRequest>;
|
|
757
|
+
export type ListUserSchemaOperationsResponse = ({
|
|
758
|
+
endpoint: string;
|
|
759
|
+
host: string;
|
|
760
|
+
lastUpdated: string;
|
|
761
|
+
method: "GET" | "POST" | "HEAD" | "OPTIONS" | "PUT" | "DELETE" | "CONNECT" | "PATCH" | "TRACE";
|
|
762
|
+
operationId: string;
|
|
763
|
+
features?: {
|
|
764
|
+
thresholds?: {
|
|
765
|
+
authIdTokens?: number | null;
|
|
766
|
+
dataPoints?: number | null;
|
|
767
|
+
lastUpdated?: string | null;
|
|
768
|
+
p50?: number | null;
|
|
769
|
+
p90?: number | null;
|
|
770
|
+
p99?: number | null;
|
|
771
|
+
periodSeconds?: number | null;
|
|
772
|
+
requests?: number | null;
|
|
773
|
+
suggestedThreshold?: number | null;
|
|
774
|
+
} | null;
|
|
775
|
+
} | {
|
|
776
|
+
parameterSchemas: {
|
|
777
|
+
lastUpdated?: string | null;
|
|
778
|
+
parameterSchemas?: {
|
|
779
|
+
parameters?: unknown[] | null;
|
|
780
|
+
responses?: null;
|
|
781
|
+
} | null;
|
|
782
|
+
};
|
|
783
|
+
} | {
|
|
784
|
+
apiRouting?: {
|
|
785
|
+
lastUpdated?: string | null;
|
|
786
|
+
route?: string | null;
|
|
787
|
+
} | null;
|
|
788
|
+
} | {
|
|
789
|
+
confidenceIntervals?: {
|
|
790
|
+
lastUpdated?: string | null;
|
|
791
|
+
suggestedThreshold?: {
|
|
792
|
+
confidenceIntervals?: {
|
|
793
|
+
p90?: {
|
|
794
|
+
lower?: number | null;
|
|
795
|
+
upper?: number | null;
|
|
796
|
+
} | null;
|
|
797
|
+
p95?: {
|
|
798
|
+
lower?: number | null;
|
|
799
|
+
upper?: number | null;
|
|
800
|
+
} | null;
|
|
801
|
+
p99?: {
|
|
802
|
+
lower?: number | null;
|
|
803
|
+
upper?: number | null;
|
|
804
|
+
} | null;
|
|
805
|
+
} | null;
|
|
806
|
+
mean?: number | null;
|
|
807
|
+
} | null;
|
|
808
|
+
} | null;
|
|
809
|
+
} | {
|
|
810
|
+
schemaInfo?: {
|
|
811
|
+
activeSchema?: {
|
|
812
|
+
id?: string | null;
|
|
813
|
+
createdAt?: string | null;
|
|
814
|
+
isLearned?: boolean | null;
|
|
815
|
+
name?: string | null;
|
|
816
|
+
} | null;
|
|
817
|
+
learnedAvailable?: boolean | null;
|
|
818
|
+
mitigationAction?: "none" | "log" | "block" | null;
|
|
819
|
+
} | null;
|
|
820
|
+
} | null;
|
|
821
|
+
} | {
|
|
822
|
+
endpoint: string;
|
|
823
|
+
host: string;
|
|
824
|
+
method: "GET" | "POST" | "HEAD" | "OPTIONS" | "PUT" | "DELETE" | "CONNECT" | "PATCH" | "TRACE";
|
|
825
|
+
})[];
|
|
826
|
+
export declare const ListUserSchemaOperationsResponse: Schema.Schema<ListUserSchemaOperationsResponse>;
|
|
827
|
+
export type ListUserSchemaOperationsError = DefaultErrors;
|
|
828
|
+
export declare const listUserSchemaOperations: API.OperationMethod<ListUserSchemaOperationsRequest, ListUserSchemaOperationsResponse, ListUserSchemaOperationsError, Credentials | HttpClient.HttpClient>;
|
|
829
|
+
export {};
|
|
830
|
+
//# sourceMappingURL=api-gateway.d.ts.map
|