@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,732 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cloudflare SSL API
|
|
3
|
+
*
|
|
4
|
+
* Generated from Cloudflare TypeScript SDK.
|
|
5
|
+
* DO NOT EDIT - regenerate with: bun scripts/generate.ts --service ssl
|
|
6
|
+
*/
|
|
7
|
+
import * as Schema from "effect/Schema";
|
|
8
|
+
import * as API from "../client/api.js";
|
|
9
|
+
import * as T from "../traits";
|
|
10
|
+
import {} from "../errors";
|
|
11
|
+
export const CreateAnalyzeRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
12
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
13
|
+
bundleMethod: Schema.optional(Schema.Literals(["ubiquitous", "optimal", "force"])),
|
|
14
|
+
certificate: Schema.optional(Schema.String),
|
|
15
|
+
}).pipe(Schema.encodeKeys({
|
|
16
|
+
bundleMethod: "bundle_method",
|
|
17
|
+
certificate: "certificate",
|
|
18
|
+
}), T.Http({ method: "POST", path: "/zones/{zone_id}/ssl/analyze" }));
|
|
19
|
+
export const CreateAnalyzeResponse =
|
|
20
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Unknown;
|
|
21
|
+
export const createAnalyze = API.make(() => ({
|
|
22
|
+
input: CreateAnalyzeRequest,
|
|
23
|
+
output: CreateAnalyzeResponse,
|
|
24
|
+
errors: [],
|
|
25
|
+
}));
|
|
26
|
+
export const GetCertificatePackRequest =
|
|
27
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
28
|
+
certificatePackId: Schema.String.pipe(T.HttpPath("certificatePackId")),
|
|
29
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
30
|
+
}).pipe(T.Http({
|
|
31
|
+
method: "GET",
|
|
32
|
+
path: "/zones/{zone_id}/ssl/certificate_packs/{certificatePackId}",
|
|
33
|
+
}));
|
|
34
|
+
export const GetCertificatePackResponse =
|
|
35
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
36
|
+
id: Schema.String,
|
|
37
|
+
certificates: Schema.Array(Schema.Struct({
|
|
38
|
+
id: Schema.String,
|
|
39
|
+
hosts: Schema.Array(Schema.String),
|
|
40
|
+
status: Schema.String,
|
|
41
|
+
bundleMethod: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
42
|
+
expiresOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
43
|
+
geoRestrictions: Schema.optional(Schema.Union([
|
|
44
|
+
Schema.Struct({
|
|
45
|
+
label: Schema.optional(Schema.Union([
|
|
46
|
+
Schema.Literals(["us", "eu", "highest_security"]),
|
|
47
|
+
Schema.Null,
|
|
48
|
+
])),
|
|
49
|
+
}),
|
|
50
|
+
Schema.Null,
|
|
51
|
+
])),
|
|
52
|
+
issuer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
53
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
54
|
+
priority: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
55
|
+
signature: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
56
|
+
uploadedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
57
|
+
zoneId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
58
|
+
}).pipe(Schema.encodeKeys({
|
|
59
|
+
id: "id",
|
|
60
|
+
hosts: "hosts",
|
|
61
|
+
status: "status",
|
|
62
|
+
bundleMethod: "bundle_method",
|
|
63
|
+
expiresOn: "expires_on",
|
|
64
|
+
geoRestrictions: "geo_restrictions",
|
|
65
|
+
issuer: "issuer",
|
|
66
|
+
modifiedOn: "modified_on",
|
|
67
|
+
priority: "priority",
|
|
68
|
+
signature: "signature",
|
|
69
|
+
uploadedOn: "uploaded_on",
|
|
70
|
+
zoneId: "zone_id",
|
|
71
|
+
}))),
|
|
72
|
+
hosts: Schema.Array(Schema.String),
|
|
73
|
+
status: Schema.Literals([
|
|
74
|
+
"active",
|
|
75
|
+
"initializing",
|
|
76
|
+
"pending_validation",
|
|
77
|
+
"deleted",
|
|
78
|
+
"pending_issuance",
|
|
79
|
+
"pending_deployment",
|
|
80
|
+
"pending_deletion",
|
|
81
|
+
"pending_expiration",
|
|
82
|
+
"expired",
|
|
83
|
+
"initializing_timed_out",
|
|
84
|
+
"validation_timed_out",
|
|
85
|
+
"issuance_timed_out",
|
|
86
|
+
"deployment_timed_out",
|
|
87
|
+
"deletion_timed_out",
|
|
88
|
+
"pending_cleanup",
|
|
89
|
+
"staging_deployment",
|
|
90
|
+
"staging_active",
|
|
91
|
+
"deactivating",
|
|
92
|
+
"inactive",
|
|
93
|
+
"backup_issued",
|
|
94
|
+
"holding_deployment",
|
|
95
|
+
]),
|
|
96
|
+
type: Schema.Literals([
|
|
97
|
+
"mh_custom",
|
|
98
|
+
"managed_hostname",
|
|
99
|
+
"sni_custom",
|
|
100
|
+
"universal",
|
|
101
|
+
"advanced",
|
|
102
|
+
"total_tls",
|
|
103
|
+
"keyless",
|
|
104
|
+
"legacy_custom",
|
|
105
|
+
]),
|
|
106
|
+
certificateAuthority: Schema.optional(Schema.Union([
|
|
107
|
+
Schema.Literals(["google", "lets_encrypt", "ssl_com"]),
|
|
108
|
+
Schema.Null,
|
|
109
|
+
])),
|
|
110
|
+
cloudflareBranding: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
111
|
+
primaryCertificate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
112
|
+
validationErrors: Schema.optional(Schema.Union([
|
|
113
|
+
Schema.Array(Schema.Struct({
|
|
114
|
+
message: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
115
|
+
})),
|
|
116
|
+
Schema.Null,
|
|
117
|
+
])),
|
|
118
|
+
validationMethod: Schema.optional(Schema.Union([Schema.Literals(["txt", "http", "email"]), Schema.Null])),
|
|
119
|
+
validationRecords: Schema.optional(Schema.Union([
|
|
120
|
+
Schema.Array(Schema.Struct({
|
|
121
|
+
emails: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
122
|
+
httpBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
123
|
+
httpUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
124
|
+
txtName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
125
|
+
txtValue: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
126
|
+
}).pipe(Schema.encodeKeys({
|
|
127
|
+
emails: "emails",
|
|
128
|
+
httpBody: "http_body",
|
|
129
|
+
httpUrl: "http_url",
|
|
130
|
+
txtName: "txt_name",
|
|
131
|
+
txtValue: "txt_value",
|
|
132
|
+
}))),
|
|
133
|
+
Schema.Null,
|
|
134
|
+
])),
|
|
135
|
+
validityDays: Schema.optional(Schema.Union([Schema.Literals(["14", "30", "90", "365"]), Schema.Null])),
|
|
136
|
+
}).pipe(Schema.encodeKeys({
|
|
137
|
+
id: "id",
|
|
138
|
+
certificates: "certificates",
|
|
139
|
+
hosts: "hosts",
|
|
140
|
+
status: "status",
|
|
141
|
+
type: "type",
|
|
142
|
+
certificateAuthority: "certificate_authority",
|
|
143
|
+
cloudflareBranding: "cloudflare_branding",
|
|
144
|
+
primaryCertificate: "primary_certificate",
|
|
145
|
+
validationErrors: "validation_errors",
|
|
146
|
+
validationMethod: "validation_method",
|
|
147
|
+
validationRecords: "validation_records",
|
|
148
|
+
validityDays: "validity_days",
|
|
149
|
+
}));
|
|
150
|
+
export const getCertificatePack = API.make(() => ({
|
|
151
|
+
input: GetCertificatePackRequest,
|
|
152
|
+
output: GetCertificatePackResponse,
|
|
153
|
+
errors: [],
|
|
154
|
+
}));
|
|
155
|
+
export const ListCertificatePacksRequest =
|
|
156
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
157
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
158
|
+
status: Schema.optional(Schema.Literal("all")).pipe(T.HttpQuery("status")),
|
|
159
|
+
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/ssl/certificate_packs" }));
|
|
160
|
+
export const ListCertificatePacksResponse =
|
|
161
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Array(Schema.Struct({
|
|
162
|
+
id: Schema.String,
|
|
163
|
+
certificates: Schema.Array(Schema.Struct({
|
|
164
|
+
id: Schema.String,
|
|
165
|
+
hosts: Schema.Array(Schema.String),
|
|
166
|
+
status: Schema.String,
|
|
167
|
+
bundleMethod: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
168
|
+
expiresOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
169
|
+
geoRestrictions: Schema.optional(Schema.Union([
|
|
170
|
+
Schema.Struct({
|
|
171
|
+
label: Schema.optional(Schema.Union([
|
|
172
|
+
Schema.Literals(["us", "eu", "highest_security"]),
|
|
173
|
+
Schema.Null,
|
|
174
|
+
])),
|
|
175
|
+
}),
|
|
176
|
+
Schema.Null,
|
|
177
|
+
])),
|
|
178
|
+
issuer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
179
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
180
|
+
priority: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
181
|
+
signature: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
182
|
+
uploadedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
183
|
+
zoneId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
184
|
+
}).pipe(Schema.encodeKeys({
|
|
185
|
+
id: "id",
|
|
186
|
+
hosts: "hosts",
|
|
187
|
+
status: "status",
|
|
188
|
+
bundleMethod: "bundle_method",
|
|
189
|
+
expiresOn: "expires_on",
|
|
190
|
+
geoRestrictions: "geo_restrictions",
|
|
191
|
+
issuer: "issuer",
|
|
192
|
+
modifiedOn: "modified_on",
|
|
193
|
+
priority: "priority",
|
|
194
|
+
signature: "signature",
|
|
195
|
+
uploadedOn: "uploaded_on",
|
|
196
|
+
zoneId: "zone_id",
|
|
197
|
+
}))),
|
|
198
|
+
hosts: Schema.Array(Schema.String),
|
|
199
|
+
status: Schema.Literals([
|
|
200
|
+
"active",
|
|
201
|
+
"initializing",
|
|
202
|
+
"pending_validation",
|
|
203
|
+
"deleted",
|
|
204
|
+
"pending_issuance",
|
|
205
|
+
"pending_deployment",
|
|
206
|
+
"pending_deletion",
|
|
207
|
+
"pending_expiration",
|
|
208
|
+
"expired",
|
|
209
|
+
"initializing_timed_out",
|
|
210
|
+
"validation_timed_out",
|
|
211
|
+
"issuance_timed_out",
|
|
212
|
+
"deployment_timed_out",
|
|
213
|
+
"deletion_timed_out",
|
|
214
|
+
"pending_cleanup",
|
|
215
|
+
"staging_deployment",
|
|
216
|
+
"staging_active",
|
|
217
|
+
"deactivating",
|
|
218
|
+
"inactive",
|
|
219
|
+
"backup_issued",
|
|
220
|
+
"holding_deployment",
|
|
221
|
+
]),
|
|
222
|
+
type: Schema.Literals([
|
|
223
|
+
"mh_custom",
|
|
224
|
+
"managed_hostname",
|
|
225
|
+
"sni_custom",
|
|
226
|
+
"universal",
|
|
227
|
+
"advanced",
|
|
228
|
+
"total_tls",
|
|
229
|
+
"keyless",
|
|
230
|
+
"legacy_custom",
|
|
231
|
+
]),
|
|
232
|
+
certificateAuthority: Schema.optional(Schema.Union([
|
|
233
|
+
Schema.Literals(["google", "lets_encrypt", "ssl_com"]),
|
|
234
|
+
Schema.Null,
|
|
235
|
+
])),
|
|
236
|
+
cloudflareBranding: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
237
|
+
primaryCertificate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
238
|
+
validationErrors: Schema.optional(Schema.Union([
|
|
239
|
+
Schema.Array(Schema.Struct({
|
|
240
|
+
message: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
241
|
+
})),
|
|
242
|
+
Schema.Null,
|
|
243
|
+
])),
|
|
244
|
+
validationMethod: Schema.optional(Schema.Union([Schema.Literals(["txt", "http", "email"]), Schema.Null])),
|
|
245
|
+
validationRecords: Schema.optional(Schema.Union([
|
|
246
|
+
Schema.Array(Schema.Struct({
|
|
247
|
+
emails: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
248
|
+
httpBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
249
|
+
httpUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
250
|
+
txtName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
251
|
+
txtValue: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
252
|
+
}).pipe(Schema.encodeKeys({
|
|
253
|
+
emails: "emails",
|
|
254
|
+
httpBody: "http_body",
|
|
255
|
+
httpUrl: "http_url",
|
|
256
|
+
txtName: "txt_name",
|
|
257
|
+
txtValue: "txt_value",
|
|
258
|
+
}))),
|
|
259
|
+
Schema.Null,
|
|
260
|
+
])),
|
|
261
|
+
validityDays: Schema.optional(Schema.Union([Schema.Literals(["14", "30", "90", "365"]), Schema.Null])),
|
|
262
|
+
}).pipe(Schema.encodeKeys({
|
|
263
|
+
id: "id",
|
|
264
|
+
certificates: "certificates",
|
|
265
|
+
hosts: "hosts",
|
|
266
|
+
status: "status",
|
|
267
|
+
type: "type",
|
|
268
|
+
certificateAuthority: "certificate_authority",
|
|
269
|
+
cloudflareBranding: "cloudflare_branding",
|
|
270
|
+
primaryCertificate: "primary_certificate",
|
|
271
|
+
validationErrors: "validation_errors",
|
|
272
|
+
validationMethod: "validation_method",
|
|
273
|
+
validationRecords: "validation_records",
|
|
274
|
+
validityDays: "validity_days",
|
|
275
|
+
})));
|
|
276
|
+
export const listCertificatePacks = API.make(() => ({
|
|
277
|
+
input: ListCertificatePacksRequest,
|
|
278
|
+
output: ListCertificatePacksResponse,
|
|
279
|
+
errors: [],
|
|
280
|
+
}));
|
|
281
|
+
export const CreateCertificatePackRequest =
|
|
282
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
283
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
284
|
+
certificateAuthority: Schema.Literals([
|
|
285
|
+
"google",
|
|
286
|
+
"lets_encrypt",
|
|
287
|
+
"ssl_com",
|
|
288
|
+
]),
|
|
289
|
+
hosts: Schema.Array(Schema.String),
|
|
290
|
+
type: Schema.Literal("advanced"),
|
|
291
|
+
validationMethod: Schema.Literals(["txt", "http", "email"]),
|
|
292
|
+
validityDays: Schema.Literals(["14", "30", "90", "365"]),
|
|
293
|
+
cloudflareBranding: Schema.optional(Schema.Boolean),
|
|
294
|
+
}).pipe(Schema.encodeKeys({
|
|
295
|
+
certificateAuthority: "certificate_authority",
|
|
296
|
+
hosts: "hosts",
|
|
297
|
+
type: "type",
|
|
298
|
+
validationMethod: "validation_method",
|
|
299
|
+
validityDays: "validity_days",
|
|
300
|
+
cloudflareBranding: "cloudflare_branding",
|
|
301
|
+
}), T.Http({
|
|
302
|
+
method: "POST",
|
|
303
|
+
path: "/zones/{zone_id}/ssl/certificate_packs/order",
|
|
304
|
+
}));
|
|
305
|
+
export const CreateCertificatePackResponse =
|
|
306
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
307
|
+
id: Schema.String,
|
|
308
|
+
certificates: Schema.Array(Schema.Struct({
|
|
309
|
+
id: Schema.String,
|
|
310
|
+
hosts: Schema.Array(Schema.String),
|
|
311
|
+
status: Schema.String,
|
|
312
|
+
bundleMethod: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
313
|
+
expiresOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
314
|
+
geoRestrictions: Schema.optional(Schema.Union([
|
|
315
|
+
Schema.Struct({
|
|
316
|
+
label: Schema.optional(Schema.Union([
|
|
317
|
+
Schema.Literals(["us", "eu", "highest_security"]),
|
|
318
|
+
Schema.Null,
|
|
319
|
+
])),
|
|
320
|
+
}),
|
|
321
|
+
Schema.Null,
|
|
322
|
+
])),
|
|
323
|
+
issuer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
324
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
325
|
+
priority: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
326
|
+
signature: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
327
|
+
uploadedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
328
|
+
zoneId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
329
|
+
}).pipe(Schema.encodeKeys({
|
|
330
|
+
id: "id",
|
|
331
|
+
hosts: "hosts",
|
|
332
|
+
status: "status",
|
|
333
|
+
bundleMethod: "bundle_method",
|
|
334
|
+
expiresOn: "expires_on",
|
|
335
|
+
geoRestrictions: "geo_restrictions",
|
|
336
|
+
issuer: "issuer",
|
|
337
|
+
modifiedOn: "modified_on",
|
|
338
|
+
priority: "priority",
|
|
339
|
+
signature: "signature",
|
|
340
|
+
uploadedOn: "uploaded_on",
|
|
341
|
+
zoneId: "zone_id",
|
|
342
|
+
}))),
|
|
343
|
+
hosts: Schema.Array(Schema.String),
|
|
344
|
+
status: Schema.Literals([
|
|
345
|
+
"active",
|
|
346
|
+
"initializing",
|
|
347
|
+
"pending_validation",
|
|
348
|
+
"deleted",
|
|
349
|
+
"pending_issuance",
|
|
350
|
+
"pending_deployment",
|
|
351
|
+
"pending_deletion",
|
|
352
|
+
"pending_expiration",
|
|
353
|
+
"expired",
|
|
354
|
+
"initializing_timed_out",
|
|
355
|
+
"validation_timed_out",
|
|
356
|
+
"issuance_timed_out",
|
|
357
|
+
"deployment_timed_out",
|
|
358
|
+
"deletion_timed_out",
|
|
359
|
+
"pending_cleanup",
|
|
360
|
+
"staging_deployment",
|
|
361
|
+
"staging_active",
|
|
362
|
+
"deactivating",
|
|
363
|
+
"inactive",
|
|
364
|
+
"backup_issued",
|
|
365
|
+
"holding_deployment",
|
|
366
|
+
]),
|
|
367
|
+
type: Schema.Literals([
|
|
368
|
+
"mh_custom",
|
|
369
|
+
"managed_hostname",
|
|
370
|
+
"sni_custom",
|
|
371
|
+
"universal",
|
|
372
|
+
"advanced",
|
|
373
|
+
"total_tls",
|
|
374
|
+
"keyless",
|
|
375
|
+
"legacy_custom",
|
|
376
|
+
]),
|
|
377
|
+
certificateAuthority: Schema.optional(Schema.Union([
|
|
378
|
+
Schema.Literals(["google", "lets_encrypt", "ssl_com"]),
|
|
379
|
+
Schema.Null,
|
|
380
|
+
])),
|
|
381
|
+
cloudflareBranding: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
382
|
+
primaryCertificate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
383
|
+
validationErrors: Schema.optional(Schema.Union([
|
|
384
|
+
Schema.Array(Schema.Struct({
|
|
385
|
+
message: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
386
|
+
})),
|
|
387
|
+
Schema.Null,
|
|
388
|
+
])),
|
|
389
|
+
validationMethod: Schema.optional(Schema.Union([Schema.Literals(["txt", "http", "email"]), Schema.Null])),
|
|
390
|
+
validationRecords: Schema.optional(Schema.Union([
|
|
391
|
+
Schema.Array(Schema.Struct({
|
|
392
|
+
emails: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
393
|
+
httpBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
394
|
+
httpUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
395
|
+
txtName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
396
|
+
txtValue: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
397
|
+
}).pipe(Schema.encodeKeys({
|
|
398
|
+
emails: "emails",
|
|
399
|
+
httpBody: "http_body",
|
|
400
|
+
httpUrl: "http_url",
|
|
401
|
+
txtName: "txt_name",
|
|
402
|
+
txtValue: "txt_value",
|
|
403
|
+
}))),
|
|
404
|
+
Schema.Null,
|
|
405
|
+
])),
|
|
406
|
+
validityDays: Schema.optional(Schema.Union([Schema.Literals(["14", "30", "90", "365"]), Schema.Null])),
|
|
407
|
+
}).pipe(Schema.encodeKeys({
|
|
408
|
+
id: "id",
|
|
409
|
+
certificates: "certificates",
|
|
410
|
+
hosts: "hosts",
|
|
411
|
+
status: "status",
|
|
412
|
+
type: "type",
|
|
413
|
+
certificateAuthority: "certificate_authority",
|
|
414
|
+
cloudflareBranding: "cloudflare_branding",
|
|
415
|
+
primaryCertificate: "primary_certificate",
|
|
416
|
+
validationErrors: "validation_errors",
|
|
417
|
+
validationMethod: "validation_method",
|
|
418
|
+
validationRecords: "validation_records",
|
|
419
|
+
validityDays: "validity_days",
|
|
420
|
+
}));
|
|
421
|
+
export const createCertificatePack = API.make(() => ({
|
|
422
|
+
input: CreateCertificatePackRequest,
|
|
423
|
+
output: CreateCertificatePackResponse,
|
|
424
|
+
errors: [],
|
|
425
|
+
}));
|
|
426
|
+
export const PatchCertificatePackRequest =
|
|
427
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
428
|
+
certificatePackId: Schema.String.pipe(T.HttpPath("certificatePackId")),
|
|
429
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
430
|
+
cloudflareBranding: Schema.optional(Schema.Boolean),
|
|
431
|
+
}).pipe(Schema.encodeKeys({ cloudflareBranding: "cloudflare_branding" }), T.Http({
|
|
432
|
+
method: "PATCH",
|
|
433
|
+
path: "/zones/{zone_id}/ssl/certificate_packs/{certificatePackId}",
|
|
434
|
+
}));
|
|
435
|
+
export const PatchCertificatePackResponse =
|
|
436
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
437
|
+
id: Schema.String,
|
|
438
|
+
certificates: Schema.Array(Schema.Struct({
|
|
439
|
+
id: Schema.String,
|
|
440
|
+
hosts: Schema.Array(Schema.String),
|
|
441
|
+
status: Schema.String,
|
|
442
|
+
bundleMethod: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
443
|
+
expiresOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
444
|
+
geoRestrictions: Schema.optional(Schema.Union([
|
|
445
|
+
Schema.Struct({
|
|
446
|
+
label: Schema.optional(Schema.Union([
|
|
447
|
+
Schema.Literals(["us", "eu", "highest_security"]),
|
|
448
|
+
Schema.Null,
|
|
449
|
+
])),
|
|
450
|
+
}),
|
|
451
|
+
Schema.Null,
|
|
452
|
+
])),
|
|
453
|
+
issuer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
454
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
455
|
+
priority: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
456
|
+
signature: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
457
|
+
uploadedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
458
|
+
zoneId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
459
|
+
}).pipe(Schema.encodeKeys({
|
|
460
|
+
id: "id",
|
|
461
|
+
hosts: "hosts",
|
|
462
|
+
status: "status",
|
|
463
|
+
bundleMethod: "bundle_method",
|
|
464
|
+
expiresOn: "expires_on",
|
|
465
|
+
geoRestrictions: "geo_restrictions",
|
|
466
|
+
issuer: "issuer",
|
|
467
|
+
modifiedOn: "modified_on",
|
|
468
|
+
priority: "priority",
|
|
469
|
+
signature: "signature",
|
|
470
|
+
uploadedOn: "uploaded_on",
|
|
471
|
+
zoneId: "zone_id",
|
|
472
|
+
}))),
|
|
473
|
+
hosts: Schema.Array(Schema.String),
|
|
474
|
+
status: Schema.Literals([
|
|
475
|
+
"active",
|
|
476
|
+
"initializing",
|
|
477
|
+
"pending_validation",
|
|
478
|
+
"deleted",
|
|
479
|
+
"pending_issuance",
|
|
480
|
+
"pending_deployment",
|
|
481
|
+
"pending_deletion",
|
|
482
|
+
"pending_expiration",
|
|
483
|
+
"expired",
|
|
484
|
+
"initializing_timed_out",
|
|
485
|
+
"validation_timed_out",
|
|
486
|
+
"issuance_timed_out",
|
|
487
|
+
"deployment_timed_out",
|
|
488
|
+
"deletion_timed_out",
|
|
489
|
+
"pending_cleanup",
|
|
490
|
+
"staging_deployment",
|
|
491
|
+
"staging_active",
|
|
492
|
+
"deactivating",
|
|
493
|
+
"inactive",
|
|
494
|
+
"backup_issued",
|
|
495
|
+
"holding_deployment",
|
|
496
|
+
]),
|
|
497
|
+
type: Schema.Literals([
|
|
498
|
+
"mh_custom",
|
|
499
|
+
"managed_hostname",
|
|
500
|
+
"sni_custom",
|
|
501
|
+
"universal",
|
|
502
|
+
"advanced",
|
|
503
|
+
"total_tls",
|
|
504
|
+
"keyless",
|
|
505
|
+
"legacy_custom",
|
|
506
|
+
]),
|
|
507
|
+
certificateAuthority: Schema.optional(Schema.Union([
|
|
508
|
+
Schema.Literals(["google", "lets_encrypt", "ssl_com"]),
|
|
509
|
+
Schema.Null,
|
|
510
|
+
])),
|
|
511
|
+
cloudflareBranding: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
512
|
+
primaryCertificate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
513
|
+
validationErrors: Schema.optional(Schema.Union([
|
|
514
|
+
Schema.Array(Schema.Struct({
|
|
515
|
+
message: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
516
|
+
})),
|
|
517
|
+
Schema.Null,
|
|
518
|
+
])),
|
|
519
|
+
validationMethod: Schema.optional(Schema.Union([Schema.Literals(["txt", "http", "email"]), Schema.Null])),
|
|
520
|
+
validationRecords: Schema.optional(Schema.Union([
|
|
521
|
+
Schema.Array(Schema.Struct({
|
|
522
|
+
emails: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
523
|
+
httpBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
524
|
+
httpUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
525
|
+
txtName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
526
|
+
txtValue: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
527
|
+
}).pipe(Schema.encodeKeys({
|
|
528
|
+
emails: "emails",
|
|
529
|
+
httpBody: "http_body",
|
|
530
|
+
httpUrl: "http_url",
|
|
531
|
+
txtName: "txt_name",
|
|
532
|
+
txtValue: "txt_value",
|
|
533
|
+
}))),
|
|
534
|
+
Schema.Null,
|
|
535
|
+
])),
|
|
536
|
+
validityDays: Schema.optional(Schema.Union([Schema.Literals(["14", "30", "90", "365"]), Schema.Null])),
|
|
537
|
+
}).pipe(Schema.encodeKeys({
|
|
538
|
+
id: "id",
|
|
539
|
+
certificates: "certificates",
|
|
540
|
+
hosts: "hosts",
|
|
541
|
+
status: "status",
|
|
542
|
+
type: "type",
|
|
543
|
+
certificateAuthority: "certificate_authority",
|
|
544
|
+
cloudflareBranding: "cloudflare_branding",
|
|
545
|
+
primaryCertificate: "primary_certificate",
|
|
546
|
+
validationErrors: "validation_errors",
|
|
547
|
+
validationMethod: "validation_method",
|
|
548
|
+
validationRecords: "validation_records",
|
|
549
|
+
validityDays: "validity_days",
|
|
550
|
+
}));
|
|
551
|
+
export const patchCertificatePack = API.make(() => ({
|
|
552
|
+
input: PatchCertificatePackRequest,
|
|
553
|
+
output: PatchCertificatePackResponse,
|
|
554
|
+
errors: [],
|
|
555
|
+
}));
|
|
556
|
+
export const DeleteCertificatePackRequest =
|
|
557
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
558
|
+
certificatePackId: Schema.String.pipe(T.HttpPath("certificatePackId")),
|
|
559
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
560
|
+
}).pipe(T.Http({
|
|
561
|
+
method: "DELETE",
|
|
562
|
+
path: "/zones/{zone_id}/ssl/certificate_packs/{certificatePackId}",
|
|
563
|
+
}));
|
|
564
|
+
export const DeleteCertificatePackResponse =
|
|
565
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
566
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
567
|
+
});
|
|
568
|
+
export const deleteCertificatePack = API.make(() => ({
|
|
569
|
+
input: DeleteCertificatePackRequest,
|
|
570
|
+
output: DeleteCertificatePackResponse,
|
|
571
|
+
errors: [],
|
|
572
|
+
}));
|
|
573
|
+
export const GetCertificatePackQuotaRequest =
|
|
574
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
575
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
576
|
+
}).pipe(T.Http({
|
|
577
|
+
method: "GET",
|
|
578
|
+
path: "/zones/{zone_id}/ssl/certificate_packs/quota",
|
|
579
|
+
}));
|
|
580
|
+
export const GetCertificatePackQuotaResponse =
|
|
581
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
582
|
+
advanced: Schema.optional(Schema.Union([
|
|
583
|
+
Schema.Struct({
|
|
584
|
+
allocated: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
585
|
+
used: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
586
|
+
}),
|
|
587
|
+
Schema.Null,
|
|
588
|
+
])),
|
|
589
|
+
});
|
|
590
|
+
export const getCertificatePackQuota = API.make(() => ({
|
|
591
|
+
input: GetCertificatePackQuotaRequest,
|
|
592
|
+
output: GetCertificatePackQuotaResponse,
|
|
593
|
+
errors: [],
|
|
594
|
+
}));
|
|
595
|
+
export const GetRecommendationRequest =
|
|
596
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
597
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
598
|
+
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/ssl/recommendation" }));
|
|
599
|
+
export const GetRecommendationResponse =
|
|
600
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
601
|
+
id: Schema.String,
|
|
602
|
+
editable: Schema.Boolean,
|
|
603
|
+
modifiedOn: Schema.String,
|
|
604
|
+
value: Schema.Literals(["auto", "custom"]),
|
|
605
|
+
nextScheduledScan: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
606
|
+
}).pipe(Schema.encodeKeys({
|
|
607
|
+
id: "id",
|
|
608
|
+
editable: "editable",
|
|
609
|
+
modifiedOn: "modified_on",
|
|
610
|
+
value: "value",
|
|
611
|
+
nextScheduledScan: "next_scheduled_scan",
|
|
612
|
+
}));
|
|
613
|
+
export const getRecommendation = API.make(() => ({
|
|
614
|
+
input: GetRecommendationRequest,
|
|
615
|
+
output: GetRecommendationResponse,
|
|
616
|
+
errors: [],
|
|
617
|
+
}));
|
|
618
|
+
export const GetUniversalSettingRequest =
|
|
619
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
620
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
621
|
+
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/ssl/universal/settings" }));
|
|
622
|
+
export const GetUniversalSettingResponse =
|
|
623
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
624
|
+
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
625
|
+
});
|
|
626
|
+
export const getUniversalSetting = API.make(() => ({
|
|
627
|
+
input: GetUniversalSettingRequest,
|
|
628
|
+
output: GetUniversalSettingResponse,
|
|
629
|
+
errors: [],
|
|
630
|
+
}));
|
|
631
|
+
export const PatchUniversalSettingRequest =
|
|
632
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
633
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
634
|
+
enabled: Schema.optional(Schema.Boolean),
|
|
635
|
+
}).pipe(T.Http({
|
|
636
|
+
method: "PATCH",
|
|
637
|
+
path: "/zones/{zone_id}/ssl/universal/settings",
|
|
638
|
+
}));
|
|
639
|
+
export const PatchUniversalSettingResponse =
|
|
640
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
641
|
+
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
642
|
+
});
|
|
643
|
+
export const patchUniversalSetting = API.make(() => ({
|
|
644
|
+
input: PatchUniversalSettingRequest,
|
|
645
|
+
output: PatchUniversalSettingResponse,
|
|
646
|
+
errors: [],
|
|
647
|
+
}));
|
|
648
|
+
export const GetVerificationRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
649
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
650
|
+
retry: Schema.optional(Schema.Literal(true)).pipe(T.HttpQuery("retry")),
|
|
651
|
+
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/ssl/verification" }));
|
|
652
|
+
export const GetVerificationResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(Schema.Struct({
|
|
653
|
+
certificateStatus: Schema.Literals([
|
|
654
|
+
"initializing",
|
|
655
|
+
"authorizing",
|
|
656
|
+
"active",
|
|
657
|
+
"expired",
|
|
658
|
+
"issuing",
|
|
659
|
+
"timing_out",
|
|
660
|
+
"pending_deployment",
|
|
661
|
+
]),
|
|
662
|
+
brandCheck: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
663
|
+
certPackUuid: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
664
|
+
signature: Schema.optional(Schema.Union([
|
|
665
|
+
Schema.Literals(["ECDSAWithSHA256", "SHA1WithRSA", "SHA256WithRSA"]),
|
|
666
|
+
Schema.Null,
|
|
667
|
+
])),
|
|
668
|
+
validationMethod: Schema.optional(Schema.Union([Schema.Literals(["http", "txt", "cname"]), Schema.Null])),
|
|
669
|
+
verificationInfo: Schema.optional(Schema.Union([
|
|
670
|
+
Schema.Struct({
|
|
671
|
+
recordName: Schema.optional(Schema.Union([
|
|
672
|
+
Schema.Literals(["record_name", "http_url", "cname", "txt_name"]),
|
|
673
|
+
Schema.Null,
|
|
674
|
+
])),
|
|
675
|
+
recordTarget: Schema.optional(Schema.Union([
|
|
676
|
+
Schema.Literals([
|
|
677
|
+
"record_value",
|
|
678
|
+
"http_body",
|
|
679
|
+
"cname_target",
|
|
680
|
+
"txt_value",
|
|
681
|
+
]),
|
|
682
|
+
Schema.Null,
|
|
683
|
+
])),
|
|
684
|
+
}).pipe(Schema.encodeKeys({
|
|
685
|
+
recordName: "record_name",
|
|
686
|
+
recordTarget: "record_target",
|
|
687
|
+
})),
|
|
688
|
+
Schema.Null,
|
|
689
|
+
])),
|
|
690
|
+
verificationStatus: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
691
|
+
verificationType: Schema.optional(Schema.Union([Schema.Literals(["cname", "meta tag"]), Schema.Null])),
|
|
692
|
+
}).pipe(Schema.encodeKeys({
|
|
693
|
+
certificateStatus: "certificate_status",
|
|
694
|
+
brandCheck: "brand_check",
|
|
695
|
+
certPackUuid: "cert_pack_uuid",
|
|
696
|
+
signature: "signature",
|
|
697
|
+
validationMethod: "validation_method",
|
|
698
|
+
verificationInfo: "verification_info",
|
|
699
|
+
verificationStatus: "verification_status",
|
|
700
|
+
verificationType: "verification_type",
|
|
701
|
+
})));
|
|
702
|
+
export const getVerification = API.make(() => ({
|
|
703
|
+
input: GetVerificationRequest,
|
|
704
|
+
output: GetVerificationResponse,
|
|
705
|
+
errors: [],
|
|
706
|
+
}));
|
|
707
|
+
export const PatchVerificationRequest =
|
|
708
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
709
|
+
certificatePackId: Schema.String.pipe(T.HttpPath("certificatePackId")),
|
|
710
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
711
|
+
validationMethod: Schema.Literals(["http", "cname", "txt", "email"]),
|
|
712
|
+
}).pipe(Schema.encodeKeys({ validationMethod: "validation_method" }), T.Http({
|
|
713
|
+
method: "PATCH",
|
|
714
|
+
path: "/zones/{zone_id}/ssl/verification/{certificatePackId}",
|
|
715
|
+
}));
|
|
716
|
+
export const PatchVerificationResponse =
|
|
717
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
718
|
+
status: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
719
|
+
validationMethod: Schema.optional(Schema.Union([
|
|
720
|
+
Schema.Literals(["http", "cname", "txt", "email"]),
|
|
721
|
+
Schema.Null,
|
|
722
|
+
])),
|
|
723
|
+
}).pipe(Schema.encodeKeys({
|
|
724
|
+
status: "status",
|
|
725
|
+
validationMethod: "validation_method",
|
|
726
|
+
}));
|
|
727
|
+
export const patchVerification = API.make(() => ({
|
|
728
|
+
input: PatchVerificationRequest,
|
|
729
|
+
output: PatchVerificationResponse,
|
|
730
|
+
errors: [],
|
|
731
|
+
}));
|
|
732
|
+
//# sourceMappingURL=ssl.js.map
|