@distilled.cloud/cloudflare 0.29.0 → 0.29.1
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/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +26 -26
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +114 -123
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/acm.d.ts.map +1 -1
- package/lib/services/acm.js +23 -23
- package/lib/services/acm.js.map +1 -1
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +132 -132
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +213 -207
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai-security.d.ts.map +1 -1
- package/lib/services/ai-security.js +13 -13
- package/lib/services/ai-security.js.map +1 -1
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +62 -62
- package/lib/services/ai.js.map +1 -1
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +187 -193
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +78 -78
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +168 -177
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/argo.js +12 -12
- package/lib/services/argo.js.map +1 -1
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +9 -9
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +11 -11
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +18 -30
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/botnet-feed.d.ts.map +1 -1
- package/lib/services/botnet-feed.js +12 -12
- package/lib/services/botnet-feed.js.map +1 -1
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +59 -59
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +103 -103
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +72 -72
- package/lib/services/cache.js.map +1 -1
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +31 -31
- package/lib/services/calls.js.map +1 -1
- package/lib/services/certificate-authorities.js +6 -6
- package/lib/services/certificate-authorities.js.map +1 -1
- package/lib/services/client-certificates.js +18 -18
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/cloud-connector.d.ts.map +1 -1
- package/lib/services/cloud-connector.js +8 -8
- package/lib/services/cloud-connector.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +178 -178
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/connectivity.js +25 -25
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/containers.js +49 -49
- package/lib/services/containers.js.map +1 -1
- package/lib/services/content-scanning.d.ts.map +1 -1
- package/lib/services/content-scanning.js +29 -29
- package/lib/services/content-scanning.js.map +1 -1
- package/lib/services/csam-scanner.d.ts.map +1 -1
- package/lib/services/csam-scanner.js +8 -8
- package/lib/services/csam-scanner.js.map +1 -1
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +24 -24
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-csrs.d.ts.map +1 -1
- package/lib/services/custom-csrs.js +22 -22
- package/lib/services/custom-csrs.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +40 -40
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/custom-nameservers.js +11 -11
- package/lib/services/custom-nameservers.js.map +1 -1
- package/lib/services/custom-pages.d.ts.map +1 -1
- package/lib/services/custom-pages.js +43 -43
- package/lib/services/custom-pages.js.map +1 -1
- package/lib/services/d1.d.ts +4 -4
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +69 -51
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dcv-delegation.js +3 -3
- package/lib/services/dcv-delegation.js.map +1 -1
- package/lib/services/ddos-protection.js +126 -126
- package/lib/services/ddos-protection.js.map +1 -1
- package/lib/services/diagnostics.js +27 -27
- package/lib/services/diagnostics.js.map +1 -1
- package/lib/services/dls.d.ts.map +1 -1
- package/lib/services/dls.js +26 -26
- package/lib/services/dls.js.map +1 -1
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +34 -34
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +268 -268
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +11 -11
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-auth.d.ts.map +1 -1
- package/lib/services/email-auth.js +13 -13
- package/lib/services/email-auth.js.map +1 -1
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +70 -70
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +195 -195
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/email-sending.d.ts.map +1 -1
- package/lib/services/email-sending.js +28 -28
- package/lib/services/email-sending.js.map +1 -1
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +25 -25
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +149 -149
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/flagship.d.ts.map +1 -1
- package/lib/services/flagship.js +52 -52
- package/lib/services/flagship.js.map +1 -1
- package/lib/services/fraud.js +8 -8
- package/lib/services/fraud.js.map +1 -1
- package/lib/services/google-tag-gateway.d.ts.map +1 -1
- package/lib/services/google-tag-gateway.js +7 -7
- package/lib/services/google-tag-gateway.js.map +1 -1
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +31 -31
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +10 -10
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +32 -32
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +113 -113
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +59 -59
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +102 -102
- package/lib/services/intel.js.map +1 -1
- package/lib/services/ips.js +5 -5
- package/lib/services/ips.js.map +1 -1
- package/lib/services/keyless-certificates.js +17 -17
- package/lib/services/keyless-certificates.js.map +1 -1
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +54 -54
- package/lib/services/kv.js.map +1 -1
- package/lib/services/leaked-credential-checks.d.ts.map +1 -1
- package/lib/services/leaked-credential-checks.js +22 -22
- package/lib/services/leaked-credential-checks.js.map +1 -1
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +139 -157
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +69 -69
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +58 -58
- package/lib/services/logs.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +138 -168
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +47 -65
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +340 -364
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/managed-transforms.js +11 -11
- package/lib/services/managed-transforms.js.map +1 -1
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +25 -25
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/moq.d.ts.map +1 -1
- package/lib/services/moq.js +23 -23
- package/lib/services/moq.js.map +1 -1
- package/lib/services/mtls-certificates.d.ts.map +1 -1
- package/lib/services/mtls-certificates.js +17 -17
- package/lib/services/mtls-certificates.js.map +1 -1
- package/lib/services/network-interconnects.d.ts.map +1 -1
- package/lib/services/network-interconnects.js +56 -56
- package/lib/services/network-interconnects.js.map +1 -1
- package/lib/services/organizations.d.ts.map +1 -1
- package/lib/services/organizations.js +42 -42
- package/lib/services/organizations.js.map +1 -1
- package/lib/services/origin-ca-certificates.js +14 -14
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/origin-post-quantum-encryption.js +6 -6
- package/lib/services/origin-post-quantum-encryption.js.map +1 -1
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
- package/lib/services/origin-tls-client-auth.js +52 -52
- package/lib/services/origin-tls-client-auth.js.map +1 -1
- package/lib/services/origin-tls-compliance-modes.js +12 -12
- package/lib/services/origin-tls-compliance-modes.js.map +1 -1
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +62 -62
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/page-shield.d.ts.map +1 -1
- package/lib/services/page-shield.js +45 -48
- package/lib/services/page-shield.js.map +1 -1
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +78 -78
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +102 -102
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +100 -103
- package/lib/services/queues.js.map +1 -1
- package/lib/services/r2-data-catalog.d.ts.map +1 -1
- package/lib/services/r2-data-catalog.js +42 -42
- package/lib/services/r2-data-catalog.js.map +1 -1
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +190 -190
- package/lib/services/r2.js.map +1 -1
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +991 -1009
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +24 -24
- package/lib/services/rate-limits.js.map +1 -1
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +276 -276
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/registrar.d.ts.map +1 -1
- package/lib/services/registrar.js +28 -28
- package/lib/services/registrar.js.map +1 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +7 -7
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +49 -49
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/resource-tagging.d.ts.map +1 -1
- package/lib/services/resource-tagging.js +56 -56
- package/lib/services/resource-tagging.js.map +1 -1
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +50 -50
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +2 -2
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +226 -190
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +35 -35
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +43 -46
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +41 -41
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/security-center.d.ts.map +1 -1
- package/lib/services/security-center.js +54 -57
- package/lib/services/security-center.js.map +1 -1
- package/lib/services/security-txt.d.ts.map +1 -1
- package/lib/services/security-txt.js +12 -12
- package/lib/services/security-txt.js.map +1 -1
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +31 -31
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +35 -35
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +41 -41
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +48 -48
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +147 -147
- package/lib/services/stream.js.map +1 -1
- package/lib/services/tenant-custom-nameservers.js +11 -11
- package/lib/services/tenant-custom-nameservers.js.map +1 -1
- package/lib/services/tenants.d.ts.map +1 -1
- package/lib/services/tenants.js +28 -28
- package/lib/services/tenants.js.map +1 -1
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +56 -56
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +27 -54
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/url-normalization.js +9 -9
- package/lib/services/url-normalization.js.map +1 -1
- package/lib/services/url-scanner.d.ts.map +1 -1
- package/lib/services/url-scanner.js +120 -120
- package/lib/services/url-scanner.js.map +1 -1
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +95 -95
- package/lib/services/user.js.map +1 -1
- package/lib/services/vectorize.d.ts +10 -10
- package/lib/services/vectorize.d.ts.map +1 -1
- package/lib/services/vectorize.js +59 -57
- package/lib/services/vectorize.js.map +1 -1
- package/lib/services/vulnerability-scanner.d.ts.map +1 -1
- package/lib/services/vulnerability-scanner.js +95 -95
- package/lib/services/vulnerability-scanner.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +81 -81
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/web3.d.ts.map +1 -1
- package/lib/services/web3.js +39 -39
- package/lib/services/web3.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +139 -139
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +420 -420
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +88 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +36 -39
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +1765 -1771
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +168 -168
- package/lib/services/zones.js.map +1 -1
- package/package.json +3 -2
- package/src/services/abuse-reports.ts +35 -36
- package/src/services/accounts.ts +714 -760
- package/src/services/acm.ts +115 -125
- package/src/services/addressing.ts +484 -512
- package/src/services/ai-gateway.ts +653 -672
- package/src/services/ai-security.ts +47 -53
- package/src/services/ai.ts +172 -185
- package/src/services/aisearch.ts +1814 -1861
- package/src/services/alerting.ts +710 -742
- package/src/services/api-gateway.ts +481 -508
- package/src/services/argo.ts +12 -12
- package/src/services/audit-logs.ts +45 -49
- package/src/services/billing.ts +121 -136
- package/src/services/bot-management.ts +122 -136
- package/src/services/botnet-feed.ts +68 -74
- package/src/services/brand-protection.ts +275 -294
- package/src/services/browser-rendering.ts +758 -769
- package/src/services/cache.ts +148 -158
- package/src/services/calls.ts +110 -120
- package/src/services/certificate-authorities.ts +6 -6
- package/src/services/client-certificates.ts +18 -18
- package/src/services/cloud-connector.ts +11 -12
- package/src/services/cloudforce-one.ts +589 -617
- package/src/services/connectivity.ts +25 -25
- package/src/services/containers.ts +49 -49
- package/src/services/content-scanning.ts +80 -89
- package/src/services/csam-scanner.ts +16 -17
- package/src/services/custom-certificates.ts +36 -38
- package/src/services/custom-csrs.ts +103 -105
- package/src/services/custom-hostnames.ts +44 -45
- package/src/services/custom-nameservers.ts +11 -11
- package/src/services/custom-pages.ts +173 -184
- package/src/services/d1.ts +335 -325
- package/src/services/dcv-delegation.ts +3 -3
- package/src/services/ddos-protection.ts +126 -126
- package/src/services/diagnostics.ts +27 -27
- package/src/services/dls.ts +82 -86
- package/src/services/dns-firewall.ts +65 -69
- package/src/services/dns.ts +1080 -1107
- package/src/services/durable-objects.ts +36 -38
- package/src/services/email-auth.ts +47 -52
- package/src/services/email-routing.ts +264 -288
- package/src/services/email-security.ts +205 -208
- package/src/services/email-sending.ts +94 -99
- package/src/services/filters.ts +97 -111
- package/src/services/firewall.ts +698 -753
- package/src/services/flagship.ts +321 -336
- package/src/services/fraud.ts +8 -8
- package/src/services/google-tag-gateway.ts +17 -19
- package/src/services/healthchecks.ts +269 -286
- package/src/services/hostnames.ts +94 -99
- package/src/services/hyperdrive.ts +310 -324
- package/src/services/iam.ts +205 -212
- package/src/services/images.ts +138 -150
- package/src/services/intel.ts +248 -261
- package/src/services/ips.ts +5 -5
- package/src/services/keyless-certificates.ts +17 -17
- package/src/services/kv.ts +106 -110
- package/src/services/leaked-credential-checks.ts +49 -53
- package/src/services/load-balancers.ts +1119 -1212
- package/src/services/logpush.ts +298 -313
- package/src/services/logs.ts +74 -77
- package/src/services/magic-cloud-networking.ts +1219 -1311
- package/src/services/magic-network-monitoring.ts +647 -685
- package/src/services/magic-transit.ts +1988 -2119
- package/src/services/managed-transforms.ts +11 -11
- package/src/services/memberships.ts +101 -105
- package/src/services/moq.ts +100 -110
- package/src/services/mtls-certificates.ts +30 -32
- package/src/services/network-interconnects.ts +137 -145
- package/src/services/organizations.ts +189 -192
- package/src/services/origin-ca-certificates.ts +14 -14
- package/src/services/origin-post-quantum-encryption.ts +6 -6
- package/src/services/origin-tls-client-auth.ts +219 -236
- package/src/services/origin-tls-compliance-modes.ts +12 -12
- package/src/services/page-rules.ts +365 -373
- package/src/services/page-shield.ts +489 -528
- package/src/services/pages.ts +309 -319
- package/src/services/pipelines.ts +534 -573
- package/src/services/queues.ts +598 -635
- package/src/services/r2-data-catalog.ts +59 -60
- package/src/services/r2.ts +654 -689
- package/src/services/radar.ts +3395 -3487
- package/src/services/rate-limits.ts +81 -93
- package/src/services/realtime-kit.ts +386 -399
- package/src/services/registrar.ts +90 -96
- package/src/services/request-tracers.ts +41 -43
- package/src/services/resource-sharing.ts +293 -305
- package/src/services/resource-tagging.ts +354 -366
- package/src/services/rules.ts +272 -292
- package/src/services/rulesets.ts +1214 -1116
- package/src/services/rum.ts +252 -273
- package/src/services/schema-validation.ts +284 -305
- package/src/services/secrets-store.ts +130 -138
- package/src/services/security-center.ts +64 -69
- package/src/services/security-txt.ts +48 -50
- package/src/services/snippets.ts +132 -142
- package/src/services/spectrum.ts +75 -80
- package/src/services/speed.ts +385 -397
- package/src/services/ssl.ts +64 -65
- package/src/services/stream.ts +658 -718
- package/src/services/tenant-custom-nameservers.ts +11 -11
- package/src/services/tenants.ts +86 -93
- package/src/services/token-validation.ts +145 -151
- package/src/services/turnstile.ts +344 -381
- package/src/services/url-normalization.ts +9 -9
- package/src/services/url-scanner.ts +393 -399
- package/src/services/user.ts +479 -503
- package/src/services/vectorize.ts +215 -230
- package/src/services/vulnerability-scanner.ts +145 -148
- package/src/services/waiting-rooms.ts +759 -825
- package/src/services/web3.ts +186 -197
- package/src/services/workers-for-platforms.ts +408 -432
- package/src/services/workers.ts +1175 -1239
- package/src/services/workflows.ts +585 -616
- package/src/services/zaraz.ts +168 -192
- package/src/services/zero-trust.ts +2965 -3074
- package/src/services/zones.ts +753 -785
|
@@ -48,7 +48,7 @@ interface AlwaysUseHTTPS {
|
|
|
48
48
|
/** If enabled, any ` http://`` URL is converted to `https://` through a 301 redirect. */
|
|
49
49
|
id?: "always_use_https" | null;
|
|
50
50
|
}
|
|
51
|
-
const AlwaysUseHTTPS = /*@__PURE__*/
|
|
51
|
+
const AlwaysUseHTTPS = /*@__PURE__*/ Schema.suspend(() =>
|
|
52
52
|
Schema.Struct({
|
|
53
53
|
id: Schema.optional(
|
|
54
54
|
Schema.Union([Schema.Literal("always_use_https"), Schema.Null]),
|
|
@@ -62,7 +62,7 @@ interface AutomaticHTTPSRewrites {
|
|
|
62
62
|
/** The status of Automatic HTTPS Rewrites. */
|
|
63
63
|
value?: "on" | "off" | (string & {}) | null;
|
|
64
64
|
}
|
|
65
|
-
const AutomaticHTTPSRewrites = /*@__PURE__*/
|
|
65
|
+
const AutomaticHTTPSRewrites = /*@__PURE__*/ Schema.suspend(() =>
|
|
66
66
|
Schema.Struct({
|
|
67
67
|
id: Schema.optional(
|
|
68
68
|
Schema.Union([Schema.Literal("automatic_https_rewrites"), Schema.Null]),
|
|
@@ -82,7 +82,7 @@ interface BrowserCacheTTL {
|
|
|
82
82
|
/** The number of seconds to cache resources for. Setting this to 0 enables "Respect Existing Headers". */
|
|
83
83
|
value?: number | null;
|
|
84
84
|
}
|
|
85
|
-
const BrowserCacheTTL = /*@__PURE__*/
|
|
85
|
+
const BrowserCacheTTL = /*@__PURE__*/ Schema.suspend(() =>
|
|
86
86
|
Schema.Struct({
|
|
87
87
|
id: Schema.optional(
|
|
88
88
|
Schema.Union([Schema.Literal("browser_cache_ttl"), Schema.Null]),
|
|
@@ -97,7 +97,7 @@ interface BrowserCheck {
|
|
|
97
97
|
/** The status of Browser Integrity Check. */
|
|
98
98
|
value?: "on" | "off" | (string & {}) | null;
|
|
99
99
|
}
|
|
100
|
-
const BrowserCheck = /*@__PURE__*/
|
|
100
|
+
const BrowserCheck = /*@__PURE__*/ Schema.suspend(() =>
|
|
101
101
|
Schema.Struct({
|
|
102
102
|
id: Schema.optional(
|
|
103
103
|
Schema.Union([Schema.Literal("browser_check"), Schema.Null]),
|
|
@@ -117,7 +117,7 @@ interface BypassCacheOnCookie {
|
|
|
117
117
|
/** The regular expression to use for matching cookie names in the request. Refer to [Bypass Cache on Cookie setting](https://developers.cloudflare.com/rules/page-rules/reference/additional-reference/#byp */
|
|
118
118
|
value?: string | null;
|
|
119
119
|
}
|
|
120
|
-
const BypassCacheOnCookie = /*@__PURE__*/
|
|
120
|
+
const BypassCacheOnCookie = /*@__PURE__*/ Schema.suspend(() =>
|
|
121
121
|
Schema.Struct({
|
|
122
122
|
id: Schema.optional(
|
|
123
123
|
Schema.Union([Schema.Literal("bypass_cache_on_cookie"), Schema.Null]),
|
|
@@ -132,7 +132,7 @@ interface CacheByDeviceType {
|
|
|
132
132
|
/** The status of Cache By Device Type. */
|
|
133
133
|
value?: "on" | "off" | (string & {}) | null;
|
|
134
134
|
}
|
|
135
|
-
const CacheByDeviceType = /*@__PURE__*/
|
|
135
|
+
const CacheByDeviceType = /*@__PURE__*/ Schema.suspend(() =>
|
|
136
136
|
Schema.Struct({
|
|
137
137
|
id: Schema.optional(
|
|
138
138
|
Schema.Union([Schema.Literal("cache_by_device_type"), Schema.Null]),
|
|
@@ -152,7 +152,7 @@ interface CacheDeceptionArmor {
|
|
|
152
152
|
/** The status of Cache Deception Armor. */
|
|
153
153
|
value?: "on" | "off" | (string & {}) | null;
|
|
154
154
|
}
|
|
155
|
-
const CacheDeceptionArmor = /*@__PURE__*/
|
|
155
|
+
const CacheDeceptionArmor = /*@__PURE__*/ Schema.suspend(() =>
|
|
156
156
|
Schema.Struct({
|
|
157
157
|
id: Schema.optional(
|
|
158
158
|
Schema.Union([Schema.Literal("cache_deception_armor"), Schema.Null]),
|
|
@@ -172,7 +172,7 @@ interface Cookie {
|
|
|
172
172
|
/** A list of cookies to include. */
|
|
173
173
|
include?: string[] | null;
|
|
174
174
|
}
|
|
175
|
-
const Cookie = /*@__PURE__*/
|
|
175
|
+
const Cookie = /*@__PURE__*/ Schema.suspend(() =>
|
|
176
176
|
Schema.Struct({
|
|
177
177
|
checkPresence: Schema.optional(
|
|
178
178
|
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
@@ -193,7 +193,7 @@ interface Header {
|
|
|
193
193
|
/** A list of headers to include. */
|
|
194
194
|
include?: string[] | null;
|
|
195
195
|
}
|
|
196
|
-
const Header = /*@__PURE__*/
|
|
196
|
+
const Header = /*@__PURE__*/ Schema.suspend(() =>
|
|
197
197
|
Schema.Struct({
|
|
198
198
|
checkPresence: Schema.optional(
|
|
199
199
|
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
@@ -217,7 +217,7 @@ interface Host {
|
|
|
217
217
|
/** Whether to include the Host header in the HTTP request sent to the origin. */
|
|
218
218
|
resolved?: boolean | null;
|
|
219
219
|
}
|
|
220
|
-
const Host = /*@__PURE__*/
|
|
220
|
+
const Host = /*@__PURE__*/ Schema.suspend(() =>
|
|
221
221
|
Schema.Struct({
|
|
222
222
|
resolved: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
223
223
|
}),
|
|
@@ -229,7 +229,7 @@ interface QueryString {
|
|
|
229
229
|
/** Include all query string parameters. */
|
|
230
230
|
include?: "*" | string[] | null;
|
|
231
231
|
}
|
|
232
|
-
const QueryString = /*@__PURE__*/
|
|
232
|
+
const QueryString = /*@__PURE__*/ Schema.suspend(() =>
|
|
233
233
|
Schema.Struct({
|
|
234
234
|
exclude: Schema.optional(
|
|
235
235
|
Schema.Union([
|
|
@@ -254,7 +254,7 @@ interface User {
|
|
|
254
254
|
/** Includes the first language code contained in the `Accept-Language` header sent by the client. */
|
|
255
255
|
lang?: boolean | null;
|
|
256
256
|
}
|
|
257
|
-
const User = /*@__PURE__*/
|
|
257
|
+
const User = /*@__PURE__*/ Schema.suspend(() =>
|
|
258
258
|
Schema.Struct({
|
|
259
259
|
deviceType: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
260
260
|
geo: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -290,7 +290,7 @@ interface Value {
|
|
|
290
290
|
lang?: boolean | null;
|
|
291
291
|
} | null;
|
|
292
292
|
}
|
|
293
|
-
const Value = /*@__PURE__*/
|
|
293
|
+
const Value = /*@__PURE__*/ Schema.suspend(() =>
|
|
294
294
|
Schema.Struct({
|
|
295
295
|
cookie: Schema.optional(Schema.Union([Cookie, Schema.Null])),
|
|
296
296
|
header: Schema.optional(Schema.Union([Header, Schema.Null])),
|
|
@@ -333,7 +333,7 @@ interface CacheKeyFields {
|
|
|
333
333
|
} | null;
|
|
334
334
|
} | null;
|
|
335
335
|
}
|
|
336
|
-
const CacheKeyFields = /*@__PURE__*/
|
|
336
|
+
const CacheKeyFields = /*@__PURE__*/ Schema.suspend(() =>
|
|
337
337
|
Schema.Struct({
|
|
338
338
|
id: Schema.optional(
|
|
339
339
|
Schema.Union([Schema.Literal("cache_key_fields"), Schema.Null]),
|
|
@@ -355,7 +355,7 @@ interface CacheLevel {
|
|
|
355
355
|
| (string & {})
|
|
356
356
|
| null;
|
|
357
357
|
}
|
|
358
|
-
const CacheLevel = /*@__PURE__*/
|
|
358
|
+
const CacheLevel = /*@__PURE__*/ Schema.suspend(() =>
|
|
359
359
|
Schema.Struct({
|
|
360
360
|
id: Schema.optional(
|
|
361
361
|
Schema.Union([Schema.Literal("cache_level"), Schema.Null]),
|
|
@@ -384,7 +384,7 @@ interface CacheOnCookie {
|
|
|
384
384
|
/** The regular expression to use for matching cookie names in the request. */
|
|
385
385
|
value?: string | null;
|
|
386
386
|
}
|
|
387
|
-
const CacheOnCookie = /*@__PURE__*/
|
|
387
|
+
const CacheOnCookie = /*@__PURE__*/ Schema.suspend(() =>
|
|
388
388
|
Schema.Struct({
|
|
389
389
|
id: Schema.optional(
|
|
390
390
|
Schema.Union([Schema.Literal("cache_on_cookie"), Schema.Null]),
|
|
@@ -399,7 +399,7 @@ interface CacheTTLByStatus {
|
|
|
399
399
|
/** A JSON object containing status codes and their corresponding TTLs. Each key-value pair in the cache TTL by status cache rule has the following syntax - `status_code`: An integer value such as 200 or */
|
|
400
400
|
value?: Record<string, unknown> | null;
|
|
401
401
|
}
|
|
402
|
-
const CacheTTLByStatus = /*@__PURE__*/
|
|
402
|
+
const CacheTTLByStatus = /*@__PURE__*/ Schema.suspend(() =>
|
|
403
403
|
Schema.Struct({
|
|
404
404
|
id: Schema.optional(
|
|
405
405
|
Schema.Union([Schema.Literal("cache_ttl_by_status"), Schema.Null]),
|
|
@@ -414,7 +414,7 @@ interface DisableApps {
|
|
|
414
414
|
/** Turn off all active [Cloudflare Apps](https://developers.cloudflare.com/support/more-dashboard-apps/cloudflare-apps/) (deprecated). */
|
|
415
415
|
id?: "disable_apps" | null;
|
|
416
416
|
}
|
|
417
|
-
const DisableApps = /*@__PURE__*/
|
|
417
|
+
const DisableApps = /*@__PURE__*/ Schema.suspend(() =>
|
|
418
418
|
Schema.Struct({
|
|
419
419
|
id: Schema.optional(
|
|
420
420
|
Schema.Union([Schema.Literal("disable_apps"), Schema.Null]),
|
|
@@ -426,7 +426,7 @@ interface DisablePerformance {
|
|
|
426
426
|
/** Turn off [Rocket Loader](https://developers.cloudflare.com/speed/optimization/content/rocket-loader/), and [Polish](https://developers.cloudflare.com/images/polish/). */
|
|
427
427
|
id?: "disable_performance" | null;
|
|
428
428
|
}
|
|
429
|
-
const DisablePerformance = /*@__PURE__*/
|
|
429
|
+
const DisablePerformance = /*@__PURE__*/ Schema.suspend(() =>
|
|
430
430
|
Schema.Struct({
|
|
431
431
|
id: Schema.optional(
|
|
432
432
|
Schema.Union([Schema.Literal("disable_performance"), Schema.Null]),
|
|
@@ -438,7 +438,7 @@ interface DisableSecurity {
|
|
|
438
438
|
/** Turn off [Email Obfuscation](https://developers.cloudflare.com/waf/tools/scrape-shield/email-address-obfuscation/), [Rate Limiting (previous version, deprecated)](https://developers.cloudflare.com/waf */
|
|
439
439
|
id?: "disable_security" | null;
|
|
440
440
|
}
|
|
441
|
-
const DisableSecurity = /*@__PURE__*/
|
|
441
|
+
const DisableSecurity = /*@__PURE__*/ Schema.suspend(() =>
|
|
442
442
|
Schema.Struct({
|
|
443
443
|
id: Schema.optional(
|
|
444
444
|
Schema.Union([Schema.Literal("disable_security"), Schema.Null]),
|
|
@@ -450,7 +450,7 @@ interface DisableZaraz {
|
|
|
450
450
|
/** Turn off [Zaraz](https://developers.cloudflare.com/zaraz/). */
|
|
451
451
|
id?: "disable_zaraz" | null;
|
|
452
452
|
}
|
|
453
|
-
const DisableZaraz = /*@__PURE__*/
|
|
453
|
+
const DisableZaraz = /*@__PURE__*/ Schema.suspend(() =>
|
|
454
454
|
Schema.Struct({
|
|
455
455
|
id: Schema.optional(
|
|
456
456
|
Schema.Union([Schema.Literal("disable_zaraz"), Schema.Null]),
|
|
@@ -463,7 +463,7 @@ interface EdgeCacheTTL {
|
|
|
463
463
|
id?: "edge_cache_ttl" | null;
|
|
464
464
|
value?: number | null;
|
|
465
465
|
}
|
|
466
|
-
const EdgeCacheTTL = /*@__PURE__*/
|
|
466
|
+
const EdgeCacheTTL = /*@__PURE__*/ Schema.suspend(() =>
|
|
467
467
|
Schema.Struct({
|
|
468
468
|
id: Schema.optional(
|
|
469
469
|
Schema.Union([Schema.Literal("edge_cache_ttl"), Schema.Null]),
|
|
@@ -478,7 +478,7 @@ interface EmailObfuscation {
|
|
|
478
478
|
/** The status of Email Obfuscation. */
|
|
479
479
|
value?: "on" | "off" | (string & {}) | null;
|
|
480
480
|
}
|
|
481
|
-
const EmailObfuscation = /*@__PURE__*/
|
|
481
|
+
const EmailObfuscation = /*@__PURE__*/ Schema.suspend(() =>
|
|
482
482
|
Schema.Struct({
|
|
483
483
|
id: Schema.optional(
|
|
484
484
|
Schema.Union([Schema.Literal("email_obfuscation"), Schema.Null]),
|
|
@@ -498,7 +498,7 @@ interface ExplicitCacheControl {
|
|
|
498
498
|
/** The status of Origin Cache Control. */
|
|
499
499
|
value?: "on" | "off" | (string & {}) | null;
|
|
500
500
|
}
|
|
501
|
-
const ExplicitCacheControl = /*@__PURE__*/
|
|
501
|
+
const ExplicitCacheControl = /*@__PURE__*/ Schema.suspend(() =>
|
|
502
502
|
Schema.Struct({
|
|
503
503
|
id: Schema.optional(
|
|
504
504
|
Schema.Union([Schema.Literal("explicit_cache_control"), Schema.Null]),
|
|
@@ -518,7 +518,7 @@ interface Value2 {
|
|
|
518
518
|
/** The URL to redirect the request to. Notes: ${num} refers to the position of '\ ' in the constraint value. */
|
|
519
519
|
url?: string | null;
|
|
520
520
|
}
|
|
521
|
-
const Value2 = /*@__PURE__*/
|
|
521
|
+
const Value2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
522
522
|
Schema.Struct({
|
|
523
523
|
statusCode: Schema.optional(
|
|
524
524
|
Schema.Union([
|
|
@@ -538,7 +538,7 @@ interface ForwardingURL {
|
|
|
538
538
|
url?: string | null;
|
|
539
539
|
} | null;
|
|
540
540
|
}
|
|
541
|
-
const ForwardingURL = /*@__PURE__*/
|
|
541
|
+
const ForwardingURL = /*@__PURE__*/ Schema.suspend(() =>
|
|
542
542
|
Schema.Struct({
|
|
543
543
|
id: Schema.optional(
|
|
544
544
|
Schema.Union([Schema.Literal("forwarding_url"), Schema.Null]),
|
|
@@ -553,7 +553,7 @@ interface HostHeaderOverride {
|
|
|
553
553
|
/** The hostname to use in the `Host` header */
|
|
554
554
|
value?: string | null;
|
|
555
555
|
}
|
|
556
|
-
const HostHeaderOverride = /*@__PURE__*/
|
|
556
|
+
const HostHeaderOverride = /*@__PURE__*/ Schema.suspend(() =>
|
|
557
557
|
Schema.Struct({
|
|
558
558
|
id: Schema.optional(
|
|
559
559
|
Schema.Union([Schema.Literal("host_header_override"), Schema.Null]),
|
|
@@ -568,7 +568,7 @@ interface Ipgeolocation {
|
|
|
568
568
|
/** The status of adding the IP Geolocation Header. */
|
|
569
569
|
value?: "on" | "off" | (string & {}) | null;
|
|
570
570
|
}
|
|
571
|
-
const Ipgeolocation = /*@__PURE__*/
|
|
571
|
+
const Ipgeolocation = /*@__PURE__*/ Schema.suspend(() =>
|
|
572
572
|
Schema.Struct({
|
|
573
573
|
id: Schema.optional(
|
|
574
574
|
Schema.Union([Schema.Literal("ip_geolocation"), Schema.Null]),
|
|
@@ -588,7 +588,7 @@ interface Mirage {
|
|
|
588
588
|
/** The status of Mirage. */
|
|
589
589
|
value?: "on" | "off" | (string & {}) | null;
|
|
590
590
|
}
|
|
591
|
-
const Mirage = /*@__PURE__*/
|
|
591
|
+
const Mirage = /*@__PURE__*/ Schema.suspend(() =>
|
|
592
592
|
Schema.Struct({
|
|
593
593
|
id: Schema.optional(Schema.Union([Schema.Literal("mirage"), Schema.Null])),
|
|
594
594
|
value: Schema.optional(
|
|
@@ -606,7 +606,7 @@ interface OpportunisticEncryption {
|
|
|
606
606
|
/** The status of Opportunistic Encryption. */
|
|
607
607
|
value?: "on" | "off" | (string & {}) | null;
|
|
608
608
|
}
|
|
609
|
-
const OpportunisticEncryption = /*@__PURE__*/
|
|
609
|
+
const OpportunisticEncryption = /*@__PURE__*/ Schema.suspend(() =>
|
|
610
610
|
Schema.Struct({
|
|
611
611
|
id: Schema.optional(
|
|
612
612
|
Schema.Union([Schema.Literal("opportunistic_encryption"), Schema.Null]),
|
|
@@ -626,7 +626,7 @@ interface OriginErrorPagePassThru {
|
|
|
626
626
|
/** The status of Origin Error Page Passthru. */
|
|
627
627
|
value?: "on" | "off" | (string & {}) | null;
|
|
628
628
|
}
|
|
629
|
-
const OriginErrorPagePassThru = /*@__PURE__*/
|
|
629
|
+
const OriginErrorPagePassThru = /*@__PURE__*/ Schema.suspend(() =>
|
|
630
630
|
Schema.Struct({
|
|
631
631
|
id: Schema.optional(
|
|
632
632
|
Schema.Union([
|
|
@@ -649,7 +649,7 @@ interface Polish {
|
|
|
649
649
|
/** The level of Polish you want applied to your origin. */
|
|
650
650
|
value?: "off" | "lossless" | "lossy" | (string & {}) | null;
|
|
651
651
|
}
|
|
652
|
-
const Polish = /*@__PURE__*/
|
|
652
|
+
const Polish = /*@__PURE__*/ Schema.suspend(() =>
|
|
653
653
|
Schema.Struct({
|
|
654
654
|
id: Schema.optional(Schema.Union([Schema.Literal("polish"), Schema.Null])),
|
|
655
655
|
value: Schema.optional(
|
|
@@ -670,7 +670,7 @@ interface ResolveOverride {
|
|
|
670
670
|
/** The origin address you want to override with. */
|
|
671
671
|
value?: string | null;
|
|
672
672
|
}
|
|
673
|
-
const ResolveOverride = /*@__PURE__*/
|
|
673
|
+
const ResolveOverride = /*@__PURE__*/ Schema.suspend(() =>
|
|
674
674
|
Schema.Struct({
|
|
675
675
|
id: Schema.optional(
|
|
676
676
|
Schema.Union([Schema.Literal("resolve_override"), Schema.Null]),
|
|
@@ -685,7 +685,7 @@ interface RespectStrongEtag {
|
|
|
685
685
|
/** The status of Respect Strong ETags */
|
|
686
686
|
value?: "on" | "off" | (string & {}) | null;
|
|
687
687
|
}
|
|
688
|
-
const RespectStrongEtag = /*@__PURE__*/
|
|
688
|
+
const RespectStrongEtag = /*@__PURE__*/ Schema.suspend(() =>
|
|
689
689
|
Schema.Struct({
|
|
690
690
|
id: Schema.optional(
|
|
691
691
|
Schema.Union([Schema.Literal("respect_strong_etag"), Schema.Null]),
|
|
@@ -705,7 +705,7 @@ interface ResponseBuffering {
|
|
|
705
705
|
/** The status of Response Buffering */
|
|
706
706
|
value?: "on" | "off" | (string & {}) | null;
|
|
707
707
|
}
|
|
708
|
-
const ResponseBuffering = /*@__PURE__*/
|
|
708
|
+
const ResponseBuffering = /*@__PURE__*/ Schema.suspend(() =>
|
|
709
709
|
Schema.Struct({
|
|
710
710
|
id: Schema.optional(
|
|
711
711
|
Schema.Union([Schema.Literal("response_buffering"), Schema.Null]),
|
|
@@ -725,7 +725,7 @@ interface RocketLoader {
|
|
|
725
725
|
/** The status of Rocket Loader */
|
|
726
726
|
value?: "on" | "off" | (string & {}) | null;
|
|
727
727
|
}
|
|
728
|
-
const RocketLoader = /*@__PURE__*/
|
|
728
|
+
const RocketLoader = /*@__PURE__*/ Schema.suspend(() =>
|
|
729
729
|
Schema.Struct({
|
|
730
730
|
id: Schema.optional(
|
|
731
731
|
Schema.Union([Schema.Literal("rocket_loader"), Schema.Null]),
|
|
@@ -752,7 +752,7 @@ interface SecurityLevel {
|
|
|
752
752
|
| (string & {})
|
|
753
753
|
| null;
|
|
754
754
|
}
|
|
755
|
-
const SecurityLevel = /*@__PURE__*/
|
|
755
|
+
const SecurityLevel = /*@__PURE__*/ Schema.suspend(() =>
|
|
756
756
|
Schema.Struct({
|
|
757
757
|
id: Schema.optional(
|
|
758
758
|
Schema.Union([Schema.Literal("security_level"), Schema.Null]),
|
|
@@ -782,7 +782,7 @@ interface SortQueryStringForCache {
|
|
|
782
782
|
/** The status of Query String Sort */
|
|
783
783
|
value?: "on" | "off" | (string & {}) | null;
|
|
784
784
|
}
|
|
785
|
-
const SortQueryStringForCache = /*@__PURE__*/
|
|
785
|
+
const SortQueryStringForCache = /*@__PURE__*/ Schema.suspend(() =>
|
|
786
786
|
Schema.Struct({
|
|
787
787
|
id: Schema.optional(
|
|
788
788
|
Schema.Union([
|
|
@@ -812,7 +812,7 @@ interface Ssl {
|
|
|
812
812
|
| (string & {})
|
|
813
813
|
| null;
|
|
814
814
|
}
|
|
815
|
-
const Ssl = /*@__PURE__*/
|
|
815
|
+
const Ssl = /*@__PURE__*/ Schema.suspend(() =>
|
|
816
816
|
Schema.Struct({
|
|
817
817
|
id: Schema.optional(Schema.Union([Schema.Literal("ssl"), Schema.Null])),
|
|
818
818
|
value: Schema.optional(
|
|
@@ -833,7 +833,7 @@ interface TrueClientIPHeader {
|
|
|
833
833
|
/** The status of True Client IP Header. */
|
|
834
834
|
value?: "on" | "off" | (string & {}) | null;
|
|
835
835
|
}
|
|
836
|
-
const TrueClientIPHeader = /*@__PURE__*/
|
|
836
|
+
const TrueClientIPHeader = /*@__PURE__*/ Schema.suspend(() =>
|
|
837
837
|
Schema.Struct({
|
|
838
838
|
id: Schema.optional(
|
|
839
839
|
Schema.Union([Schema.Literal("true_client_ip_header"), Schema.Null]),
|
|
@@ -853,7 +853,7 @@ interface Waf {
|
|
|
853
853
|
/** The status of WAF managed rules (previous version). */
|
|
854
854
|
value?: "on" | "off" | (string & {}) | null;
|
|
855
855
|
}
|
|
856
|
-
const Waf = /*@__PURE__*/
|
|
856
|
+
const Waf = /*@__PURE__*/ Schema.suspend(() =>
|
|
857
857
|
Schema.Struct({
|
|
858
858
|
id: Schema.optional(Schema.Union([Schema.Literal("waf"), Schema.Null])),
|
|
859
859
|
value: Schema.optional(
|
|
@@ -877,7 +877,7 @@ interface Constraint {
|
|
|
877
877
|
/** The URL pattern to match against the current request. The pattern may contain up to four asterisks ('\ ') as placeholders. */
|
|
878
878
|
value: string;
|
|
879
879
|
}
|
|
880
|
-
const Constraint = /*@__PURE__*/
|
|
880
|
+
const Constraint = /*@__PURE__*/ Schema.suspend(() =>
|
|
881
881
|
Schema.Struct({
|
|
882
882
|
operator: Schema.Union([
|
|
883
883
|
Schema.Literals([
|
|
@@ -908,7 +908,7 @@ interface Target {
|
|
|
908
908
|
/** A target based on the URL of the request. */
|
|
909
909
|
target?: "url" | null;
|
|
910
910
|
}
|
|
911
|
-
const Target = /*@__PURE__*/
|
|
911
|
+
const Target = /*@__PURE__*/ Schema.suspend(() =>
|
|
912
912
|
Schema.Struct({
|
|
913
913
|
constraint: Schema.optional(Schema.Union([Constraint, Schema.Null])),
|
|
914
914
|
target: Schema.optional(Schema.Union([Schema.Literal("url"), Schema.Null])),
|
|
@@ -1086,7 +1086,7 @@ interface PageRule {
|
|
|
1086
1086
|
target?: "url" | null;
|
|
1087
1087
|
}[];
|
|
1088
1088
|
}
|
|
1089
|
-
const PageRule = /*@__PURE__*/
|
|
1089
|
+
const PageRule = /*@__PURE__*/ Schema.suspend(() =>
|
|
1090
1090
|
Schema.Struct({
|
|
1091
1091
|
id: Schema.String,
|
|
1092
1092
|
actions: Schema.Array(
|
|
@@ -1158,17 +1158,16 @@ export interface GetPageRuleRequest {
|
|
|
1158
1158
|
zoneId: string;
|
|
1159
1159
|
}
|
|
1160
1160
|
|
|
1161
|
-
export const GetPageRuleRequest = /*@__PURE__*/
|
|
1162
|
-
(
|
|
1163
|
-
Schema.
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
),
|
|
1161
|
+
export const GetPageRuleRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1162
|
+
Schema.Struct({
|
|
1163
|
+
pageruleId: Schema.String.pipe(T.HttpPath("pageruleId")),
|
|
1164
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1165
|
+
}).pipe(
|
|
1166
|
+
T.Http({
|
|
1167
|
+
method: "GET",
|
|
1168
|
+
path: "/zones/{zone_id}/pagerules/{pageruleId}",
|
|
1169
|
+
}),
|
|
1170
|
+
),
|
|
1172
1171
|
) as unknown as Schema.Codec<GetPageRuleRequest>;
|
|
1173
1172
|
|
|
1174
1173
|
export interface GetPageRuleResponse {
|
|
@@ -1343,69 +1342,68 @@ export interface GetPageRuleResponse {
|
|
|
1343
1342
|
}[];
|
|
1344
1343
|
}
|
|
1345
1344
|
|
|
1346
|
-
export const GetPageRuleResponse = /*@__PURE__*/
|
|
1347
|
-
(
|
|
1348
|
-
Schema.
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
Waf,
|
|
1386
|
-
]),
|
|
1387
|
-
),
|
|
1388
|
-
createdOn: Schema.String,
|
|
1389
|
-
modifiedOn: Schema.String,
|
|
1390
|
-
priority: Schema.Number,
|
|
1391
|
-
status: Schema.Union([
|
|
1392
|
-
Schema.Literals(["active", "disabled"]),
|
|
1393
|
-
Schema.String,
|
|
1345
|
+
export const GetPageRuleResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1346
|
+
Schema.Struct({
|
|
1347
|
+
id: Schema.String,
|
|
1348
|
+
actions: Schema.Array(
|
|
1349
|
+
Schema.Union([
|
|
1350
|
+
AlwaysUseHTTPS,
|
|
1351
|
+
AutomaticHTTPSRewrites,
|
|
1352
|
+
BrowserCacheTTL,
|
|
1353
|
+
BrowserCheck,
|
|
1354
|
+
BypassCacheOnCookie,
|
|
1355
|
+
CacheByDeviceType,
|
|
1356
|
+
CacheDeceptionArmor,
|
|
1357
|
+
CacheKeyFields,
|
|
1358
|
+
CacheLevel,
|
|
1359
|
+
CacheOnCookie,
|
|
1360
|
+
CacheTTLByStatus,
|
|
1361
|
+
DisableApps,
|
|
1362
|
+
DisablePerformance,
|
|
1363
|
+
DisableSecurity,
|
|
1364
|
+
DisableZaraz,
|
|
1365
|
+
EdgeCacheTTL,
|
|
1366
|
+
EmailObfuscation,
|
|
1367
|
+
ExplicitCacheControl,
|
|
1368
|
+
ForwardingURL,
|
|
1369
|
+
HostHeaderOverride,
|
|
1370
|
+
Ipgeolocation,
|
|
1371
|
+
Mirage,
|
|
1372
|
+
OpportunisticEncryption,
|
|
1373
|
+
OriginErrorPagePassThru,
|
|
1374
|
+
Polish,
|
|
1375
|
+
ResolveOverride,
|
|
1376
|
+
RespectStrongEtag,
|
|
1377
|
+
ResponseBuffering,
|
|
1378
|
+
RocketLoader,
|
|
1379
|
+
SecurityLevel,
|
|
1380
|
+
SortQueryStringForCache,
|
|
1381
|
+
Ssl,
|
|
1382
|
+
TrueClientIPHeader,
|
|
1383
|
+
Waf,
|
|
1394
1384
|
]),
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1385
|
+
),
|
|
1386
|
+
createdOn: Schema.String,
|
|
1387
|
+
modifiedOn: Schema.String,
|
|
1388
|
+
priority: Schema.Number,
|
|
1389
|
+
status: Schema.Union([
|
|
1390
|
+
Schema.Literals(["active", "disabled"]),
|
|
1391
|
+
Schema.String,
|
|
1392
|
+
]),
|
|
1393
|
+
targets: Schema.Array(Target),
|
|
1394
|
+
})
|
|
1395
|
+
.pipe(
|
|
1396
|
+
Schema.encodeKeys({
|
|
1397
|
+
id: "id",
|
|
1398
|
+
actions: "actions",
|
|
1399
|
+
createdOn: "created_on",
|
|
1400
|
+
modifiedOn: "modified_on",
|
|
1401
|
+
priority: "priority",
|
|
1402
|
+
status: "status",
|
|
1403
|
+
targets: "targets",
|
|
1404
|
+
}),
|
|
1405
|
+
)
|
|
1406
|
+
.pipe(T.ResponsePath("result")),
|
|
1409
1407
|
) as unknown as Schema.Codec<GetPageRuleResponse>;
|
|
1410
1408
|
|
|
1411
1409
|
export type GetPageRuleError = DefaultErrors | PageRuleNotFound | Forbidden;
|
|
@@ -1415,7 +1413,7 @@ export const getPageRule: API.OperationMethod<
|
|
|
1415
1413
|
GetPageRuleResponse,
|
|
1416
1414
|
GetPageRuleError,
|
|
1417
1415
|
Credentials | HttpClient.HttpClient
|
|
1418
|
-
> = /*@__PURE__*/
|
|
1416
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1419
1417
|
input: GetPageRuleRequest,
|
|
1420
1418
|
output: GetPageRuleResponse,
|
|
1421
1419
|
errors: [PageRuleNotFound, Forbidden],
|
|
@@ -1434,23 +1432,22 @@ export interface ListPageRulesRequest {
|
|
|
1434
1432
|
status?: "active" | "disabled" | (string & {});
|
|
1435
1433
|
}
|
|
1436
1434
|
|
|
1437
|
-
export const ListPageRulesRequest = /*@__PURE__*/
|
|
1438
|
-
(
|
|
1439
|
-
Schema.
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/pagerules" })),
|
|
1435
|
+
export const ListPageRulesRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1436
|
+
Schema.Struct({
|
|
1437
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1438
|
+
direction: Schema.optional(
|
|
1439
|
+
Schema.Union([Schema.Literals(["asc", "desc"]), Schema.String]),
|
|
1440
|
+
).pipe(T.HttpQuery("direction")),
|
|
1441
|
+
match: Schema.optional(
|
|
1442
|
+
Schema.Union([Schema.Literals(["any", "all"]), Schema.String]),
|
|
1443
|
+
).pipe(T.HttpQuery("match")),
|
|
1444
|
+
order: Schema.optional(
|
|
1445
|
+
Schema.Union([Schema.Literals(["status", "priority"]), Schema.String]),
|
|
1446
|
+
).pipe(T.HttpQuery("order")),
|
|
1447
|
+
status: Schema.optional(
|
|
1448
|
+
Schema.Union([Schema.Literals(["active", "disabled"]), Schema.String]),
|
|
1449
|
+
).pipe(T.HttpQuery("status")),
|
|
1450
|
+
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/pagerules" })),
|
|
1454
1451
|
) as unknown as Schema.Codec<ListPageRulesRequest>;
|
|
1455
1452
|
|
|
1456
1453
|
export type ListPageRulesResponse = {
|
|
@@ -1618,8 +1615,8 @@ export type ListPageRulesResponse = {
|
|
|
1618
1615
|
}[];
|
|
1619
1616
|
}[];
|
|
1620
1617
|
|
|
1621
|
-
export const ListPageRulesResponse = /*@__PURE__*/
|
|
1622
|
-
|
|
1618
|
+
export const ListPageRulesResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
1619
|
+
Schema.Array(PageRule).pipe(T.ResponsePath("result")),
|
|
1623
1620
|
) as unknown as Schema.Codec<ListPageRulesResponse>;
|
|
1624
1621
|
|
|
1625
1622
|
export type ListPageRulesError =
|
|
@@ -1632,7 +1629,7 @@ export const listPageRules: API.OperationMethod<
|
|
|
1632
1629
|
ListPageRulesResponse,
|
|
1633
1630
|
ListPageRulesError,
|
|
1634
1631
|
Credentials | HttpClient.HttpClient
|
|
1635
|
-
> = /*@__PURE__*/
|
|
1632
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1636
1633
|
input: ListPageRulesRequest,
|
|
1637
1634
|
output: ListPageRulesResponse,
|
|
1638
1635
|
errors: [Forbidden, InvalidZoneIdentifier],
|
|
@@ -1748,54 +1745,53 @@ export interface CreatePageRuleRequest {
|
|
|
1748
1745
|
status?: "active" | "disabled" | (string & {});
|
|
1749
1746
|
}
|
|
1750
1747
|
|
|
1751
|
-
export const CreatePageRuleRequest = /*@__PURE__*/
|
|
1752
|
-
(
|
|
1753
|
-
Schema.
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
}).pipe(T.Http({ method: "POST", path: "/zones/{zone_id}/pagerules" })),
|
|
1748
|
+
export const CreatePageRuleRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
1749
|
+
Schema.Struct({
|
|
1750
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1751
|
+
actions: Schema.Array(
|
|
1752
|
+
Schema.Union([
|
|
1753
|
+
AlwaysUseHTTPS,
|
|
1754
|
+
AutomaticHTTPSRewrites,
|
|
1755
|
+
BrowserCacheTTL,
|
|
1756
|
+
BrowserCheck,
|
|
1757
|
+
BypassCacheOnCookie,
|
|
1758
|
+
CacheByDeviceType,
|
|
1759
|
+
CacheDeceptionArmor,
|
|
1760
|
+
CacheKeyFields,
|
|
1761
|
+
CacheLevel,
|
|
1762
|
+
CacheOnCookie,
|
|
1763
|
+
CacheTTLByStatus,
|
|
1764
|
+
DisableApps,
|
|
1765
|
+
DisablePerformance,
|
|
1766
|
+
DisableSecurity,
|
|
1767
|
+
DisableZaraz,
|
|
1768
|
+
EdgeCacheTTL,
|
|
1769
|
+
EmailObfuscation,
|
|
1770
|
+
ExplicitCacheControl,
|
|
1771
|
+
ForwardingURL,
|
|
1772
|
+
HostHeaderOverride,
|
|
1773
|
+
Ipgeolocation,
|
|
1774
|
+
Mirage,
|
|
1775
|
+
OpportunisticEncryption,
|
|
1776
|
+
OriginErrorPagePassThru,
|
|
1777
|
+
Polish,
|
|
1778
|
+
ResolveOverride,
|
|
1779
|
+
RespectStrongEtag,
|
|
1780
|
+
ResponseBuffering,
|
|
1781
|
+
RocketLoader,
|
|
1782
|
+
SecurityLevel,
|
|
1783
|
+
SortQueryStringForCache,
|
|
1784
|
+
Ssl,
|
|
1785
|
+
TrueClientIPHeader,
|
|
1786
|
+
Waf,
|
|
1787
|
+
]),
|
|
1788
|
+
),
|
|
1789
|
+
targets: Schema.Array(Target),
|
|
1790
|
+
priority: Schema.optional(Schema.Number),
|
|
1791
|
+
status: Schema.optional(
|
|
1792
|
+
Schema.Union([Schema.Literals(["active", "disabled"]), Schema.String]),
|
|
1793
|
+
),
|
|
1794
|
+
}).pipe(T.Http({ method: "POST", path: "/zones/{zone_id}/pagerules" })),
|
|
1799
1795
|
) as unknown as Schema.Codec<CreatePageRuleRequest>;
|
|
1800
1796
|
|
|
1801
1797
|
export interface CreatePageRuleResponse {
|
|
@@ -1971,7 +1967,7 @@ export interface CreatePageRuleResponse {
|
|
|
1971
1967
|
}
|
|
1972
1968
|
|
|
1973
1969
|
export const CreatePageRuleResponse =
|
|
1974
|
-
/*@__PURE__*/
|
|
1970
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1975
1971
|
Schema.Struct({
|
|
1976
1972
|
id: Schema.String,
|
|
1977
1973
|
actions: Schema.Array(
|
|
@@ -2042,7 +2038,7 @@ export const createPageRule: API.OperationMethod<
|
|
|
2042
2038
|
CreatePageRuleResponse,
|
|
2043
2039
|
CreatePageRuleError,
|
|
2044
2040
|
Credentials | HttpClient.HttpClient
|
|
2045
|
-
> = /*@__PURE__*/
|
|
2041
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2046
2042
|
input: CreatePageRuleRequest,
|
|
2047
2043
|
output: CreatePageRuleResponse,
|
|
2048
2044
|
errors: [Forbidden],
|
|
@@ -2159,60 +2155,59 @@ export interface UpdatePageRuleRequest {
|
|
|
2159
2155
|
status?: "active" | "disabled" | (string & {});
|
|
2160
2156
|
}
|
|
2161
2157
|
|
|
2162
|
-
export const UpdatePageRuleRequest = /*@__PURE__*/
|
|
2163
|
-
(
|
|
2164
|
-
Schema.
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
Schema.Union([Schema.Literals(["active", "disabled"]), Schema.String]),
|
|
2209
|
-
),
|
|
2210
|
-
}).pipe(
|
|
2211
|
-
T.Http({
|
|
2212
|
-
method: "PUT",
|
|
2213
|
-
path: "/zones/{zone_id}/pagerules/{pageruleId}",
|
|
2214
|
-
}),
|
|
2158
|
+
export const UpdatePageRuleRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
2159
|
+
Schema.Struct({
|
|
2160
|
+
pageruleId: Schema.String.pipe(T.HttpPath("pageruleId")),
|
|
2161
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2162
|
+
actions: Schema.Array(
|
|
2163
|
+
Schema.Union([
|
|
2164
|
+
AlwaysUseHTTPS,
|
|
2165
|
+
AutomaticHTTPSRewrites,
|
|
2166
|
+
BrowserCacheTTL,
|
|
2167
|
+
BrowserCheck,
|
|
2168
|
+
BypassCacheOnCookie,
|
|
2169
|
+
CacheByDeviceType,
|
|
2170
|
+
CacheDeceptionArmor,
|
|
2171
|
+
CacheKeyFields,
|
|
2172
|
+
CacheLevel,
|
|
2173
|
+
CacheOnCookie,
|
|
2174
|
+
CacheTTLByStatus,
|
|
2175
|
+
DisableApps,
|
|
2176
|
+
DisablePerformance,
|
|
2177
|
+
DisableSecurity,
|
|
2178
|
+
DisableZaraz,
|
|
2179
|
+
EdgeCacheTTL,
|
|
2180
|
+
EmailObfuscation,
|
|
2181
|
+
ExplicitCacheControl,
|
|
2182
|
+
ForwardingURL,
|
|
2183
|
+
HostHeaderOverride,
|
|
2184
|
+
Ipgeolocation,
|
|
2185
|
+
Mirage,
|
|
2186
|
+
OpportunisticEncryption,
|
|
2187
|
+
OriginErrorPagePassThru,
|
|
2188
|
+
Polish,
|
|
2189
|
+
ResolveOverride,
|
|
2190
|
+
RespectStrongEtag,
|
|
2191
|
+
ResponseBuffering,
|
|
2192
|
+
RocketLoader,
|
|
2193
|
+
SecurityLevel,
|
|
2194
|
+
SortQueryStringForCache,
|
|
2195
|
+
Ssl,
|
|
2196
|
+
TrueClientIPHeader,
|
|
2197
|
+
Waf,
|
|
2198
|
+
]),
|
|
2199
|
+
),
|
|
2200
|
+
targets: Schema.Array(Target),
|
|
2201
|
+
priority: Schema.optional(Schema.Number),
|
|
2202
|
+
status: Schema.optional(
|
|
2203
|
+
Schema.Union([Schema.Literals(["active", "disabled"]), Schema.String]),
|
|
2215
2204
|
),
|
|
2205
|
+
}).pipe(
|
|
2206
|
+
T.Http({
|
|
2207
|
+
method: "PUT",
|
|
2208
|
+
path: "/zones/{zone_id}/pagerules/{pageruleId}",
|
|
2209
|
+
}),
|
|
2210
|
+
),
|
|
2216
2211
|
) as unknown as Schema.Codec<UpdatePageRuleRequest>;
|
|
2217
2212
|
|
|
2218
2213
|
export interface UpdatePageRuleResponse {
|
|
@@ -2388,7 +2383,7 @@ export interface UpdatePageRuleResponse {
|
|
|
2388
2383
|
}
|
|
2389
2384
|
|
|
2390
2385
|
export const UpdatePageRuleResponse =
|
|
2391
|
-
/*@__PURE__*/
|
|
2386
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2392
2387
|
Schema.Struct({
|
|
2393
2388
|
id: Schema.String,
|
|
2394
2389
|
actions: Schema.Array(
|
|
@@ -2459,7 +2454,7 @@ export const updatePageRule: API.OperationMethod<
|
|
|
2459
2454
|
UpdatePageRuleResponse,
|
|
2460
2455
|
UpdatePageRuleError,
|
|
2461
2456
|
Credentials | HttpClient.HttpClient
|
|
2462
|
-
> = /*@__PURE__*/
|
|
2457
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2463
2458
|
input: UpdatePageRuleRequest,
|
|
2464
2459
|
output: UpdatePageRuleResponse,
|
|
2465
2460
|
errors: [PageRuleNotFound, Forbidden],
|
|
@@ -2576,62 +2571,61 @@ export interface PatchPageRuleRequest {
|
|
|
2576
2571
|
}[];
|
|
2577
2572
|
}
|
|
2578
2573
|
|
|
2579
|
-
export const PatchPageRuleRequest = /*@__PURE__*/
|
|
2580
|
-
(
|
|
2581
|
-
Schema.
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
Schema.
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
]),
|
|
2622
|
-
),
|
|
2623
|
-
),
|
|
2624
|
-
priority: Schema.optional(Schema.Number),
|
|
2625
|
-
status: Schema.optional(
|
|
2626
|
-
Schema.Union([Schema.Literals(["active", "disabled"]), Schema.String]),
|
|
2574
|
+
export const PatchPageRuleRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
2575
|
+
Schema.Struct({
|
|
2576
|
+
pageruleId: Schema.String.pipe(T.HttpPath("pageruleId")),
|
|
2577
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2578
|
+
actions: Schema.optional(
|
|
2579
|
+
Schema.Array(
|
|
2580
|
+
Schema.Union([
|
|
2581
|
+
AlwaysUseHTTPS,
|
|
2582
|
+
AutomaticHTTPSRewrites,
|
|
2583
|
+
BrowserCacheTTL,
|
|
2584
|
+
BrowserCheck,
|
|
2585
|
+
BypassCacheOnCookie,
|
|
2586
|
+
CacheByDeviceType,
|
|
2587
|
+
CacheDeceptionArmor,
|
|
2588
|
+
CacheKeyFields,
|
|
2589
|
+
CacheLevel,
|
|
2590
|
+
CacheOnCookie,
|
|
2591
|
+
CacheTTLByStatus,
|
|
2592
|
+
DisableApps,
|
|
2593
|
+
DisablePerformance,
|
|
2594
|
+
DisableSecurity,
|
|
2595
|
+
DisableZaraz,
|
|
2596
|
+
EdgeCacheTTL,
|
|
2597
|
+
EmailObfuscation,
|
|
2598
|
+
ExplicitCacheControl,
|
|
2599
|
+
ForwardingURL,
|
|
2600
|
+
HostHeaderOverride,
|
|
2601
|
+
Ipgeolocation,
|
|
2602
|
+
Mirage,
|
|
2603
|
+
OpportunisticEncryption,
|
|
2604
|
+
OriginErrorPagePassThru,
|
|
2605
|
+
Polish,
|
|
2606
|
+
ResolveOverride,
|
|
2607
|
+
RespectStrongEtag,
|
|
2608
|
+
ResponseBuffering,
|
|
2609
|
+
RocketLoader,
|
|
2610
|
+
SecurityLevel,
|
|
2611
|
+
SortQueryStringForCache,
|
|
2612
|
+
Ssl,
|
|
2613
|
+
TrueClientIPHeader,
|
|
2614
|
+
Waf,
|
|
2615
|
+
]),
|
|
2627
2616
|
),
|
|
2628
|
-
targets: Schema.optional(Schema.Array(Target)),
|
|
2629
|
-
}).pipe(
|
|
2630
|
-
T.Http({
|
|
2631
|
-
method: "PATCH",
|
|
2632
|
-
path: "/zones/{zone_id}/pagerules/{pageruleId}",
|
|
2633
|
-
}),
|
|
2634
2617
|
),
|
|
2618
|
+
priority: Schema.optional(Schema.Number),
|
|
2619
|
+
status: Schema.optional(
|
|
2620
|
+
Schema.Union([Schema.Literals(["active", "disabled"]), Schema.String]),
|
|
2621
|
+
),
|
|
2622
|
+
targets: Schema.optional(Schema.Array(Target)),
|
|
2623
|
+
}).pipe(
|
|
2624
|
+
T.Http({
|
|
2625
|
+
method: "PATCH",
|
|
2626
|
+
path: "/zones/{zone_id}/pagerules/{pageruleId}",
|
|
2627
|
+
}),
|
|
2628
|
+
),
|
|
2635
2629
|
) as unknown as Schema.Codec<PatchPageRuleRequest>;
|
|
2636
2630
|
|
|
2637
2631
|
export interface PatchPageRuleResponse {
|
|
@@ -2806,69 +2800,68 @@ export interface PatchPageRuleResponse {
|
|
|
2806
2800
|
}[];
|
|
2807
2801
|
}
|
|
2808
2802
|
|
|
2809
|
-
export const PatchPageRuleResponse = /*@__PURE__*/
|
|
2810
|
-
(
|
|
2811
|
-
Schema.
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
Waf,
|
|
2849
|
-
]),
|
|
2850
|
-
),
|
|
2851
|
-
createdOn: Schema.String,
|
|
2852
|
-
modifiedOn: Schema.String,
|
|
2853
|
-
priority: Schema.Number,
|
|
2854
|
-
status: Schema.Union([
|
|
2855
|
-
Schema.Literals(["active", "disabled"]),
|
|
2856
|
-
Schema.String,
|
|
2803
|
+
export const PatchPageRuleResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
2804
|
+
Schema.Struct({
|
|
2805
|
+
id: Schema.String,
|
|
2806
|
+
actions: Schema.Array(
|
|
2807
|
+
Schema.Union([
|
|
2808
|
+
AlwaysUseHTTPS,
|
|
2809
|
+
AutomaticHTTPSRewrites,
|
|
2810
|
+
BrowserCacheTTL,
|
|
2811
|
+
BrowserCheck,
|
|
2812
|
+
BypassCacheOnCookie,
|
|
2813
|
+
CacheByDeviceType,
|
|
2814
|
+
CacheDeceptionArmor,
|
|
2815
|
+
CacheKeyFields,
|
|
2816
|
+
CacheLevel,
|
|
2817
|
+
CacheOnCookie,
|
|
2818
|
+
CacheTTLByStatus,
|
|
2819
|
+
DisableApps,
|
|
2820
|
+
DisablePerformance,
|
|
2821
|
+
DisableSecurity,
|
|
2822
|
+
DisableZaraz,
|
|
2823
|
+
EdgeCacheTTL,
|
|
2824
|
+
EmailObfuscation,
|
|
2825
|
+
ExplicitCacheControl,
|
|
2826
|
+
ForwardingURL,
|
|
2827
|
+
HostHeaderOverride,
|
|
2828
|
+
Ipgeolocation,
|
|
2829
|
+
Mirage,
|
|
2830
|
+
OpportunisticEncryption,
|
|
2831
|
+
OriginErrorPagePassThru,
|
|
2832
|
+
Polish,
|
|
2833
|
+
ResolveOverride,
|
|
2834
|
+
RespectStrongEtag,
|
|
2835
|
+
ResponseBuffering,
|
|
2836
|
+
RocketLoader,
|
|
2837
|
+
SecurityLevel,
|
|
2838
|
+
SortQueryStringForCache,
|
|
2839
|
+
Ssl,
|
|
2840
|
+
TrueClientIPHeader,
|
|
2841
|
+
Waf,
|
|
2857
2842
|
]),
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2843
|
+
),
|
|
2844
|
+
createdOn: Schema.String,
|
|
2845
|
+
modifiedOn: Schema.String,
|
|
2846
|
+
priority: Schema.Number,
|
|
2847
|
+
status: Schema.Union([
|
|
2848
|
+
Schema.Literals(["active", "disabled"]),
|
|
2849
|
+
Schema.String,
|
|
2850
|
+
]),
|
|
2851
|
+
targets: Schema.Array(Target),
|
|
2852
|
+
})
|
|
2853
|
+
.pipe(
|
|
2854
|
+
Schema.encodeKeys({
|
|
2855
|
+
id: "id",
|
|
2856
|
+
actions: "actions",
|
|
2857
|
+
createdOn: "created_on",
|
|
2858
|
+
modifiedOn: "modified_on",
|
|
2859
|
+
priority: "priority",
|
|
2860
|
+
status: "status",
|
|
2861
|
+
targets: "targets",
|
|
2862
|
+
}),
|
|
2863
|
+
)
|
|
2864
|
+
.pipe(T.ResponsePath("result")),
|
|
2872
2865
|
) as unknown as Schema.Codec<PatchPageRuleResponse>;
|
|
2873
2866
|
|
|
2874
2867
|
export type PatchPageRuleError = DefaultErrors | PageRuleNotFound | Forbidden;
|
|
@@ -2878,7 +2871,7 @@ export const patchPageRule: API.OperationMethod<
|
|
|
2878
2871
|
PatchPageRuleResponse,
|
|
2879
2872
|
PatchPageRuleError,
|
|
2880
2873
|
Credentials | HttpClient.HttpClient
|
|
2881
|
-
> = /*@__PURE__*/
|
|
2874
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2882
2875
|
input: PatchPageRuleRequest,
|
|
2883
2876
|
output: PatchPageRuleResponse,
|
|
2884
2877
|
errors: [PageRuleNotFound, Forbidden],
|
|
@@ -2890,17 +2883,16 @@ export interface DeletePageRuleRequest {
|
|
|
2890
2883
|
zoneId: string;
|
|
2891
2884
|
}
|
|
2892
2885
|
|
|
2893
|
-
export const DeletePageRuleRequest = /*@__PURE__*/
|
|
2894
|
-
(
|
|
2895
|
-
Schema.
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
),
|
|
2886
|
+
export const DeletePageRuleRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
2887
|
+
Schema.Struct({
|
|
2888
|
+
pageruleId: Schema.String.pipe(T.HttpPath("pageruleId")),
|
|
2889
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2890
|
+
}).pipe(
|
|
2891
|
+
T.Http({
|
|
2892
|
+
method: "DELETE",
|
|
2893
|
+
path: "/zones/{zone_id}/pagerules/{pageruleId}",
|
|
2894
|
+
}),
|
|
2895
|
+
),
|
|
2904
2896
|
) as unknown as Schema.Codec<DeletePageRuleRequest>;
|
|
2905
2897
|
|
|
2906
2898
|
export interface DeletePageRuleResponse {
|
|
@@ -2909,7 +2901,7 @@ export interface DeletePageRuleResponse {
|
|
|
2909
2901
|
}
|
|
2910
2902
|
|
|
2911
2903
|
export const DeletePageRuleResponse =
|
|
2912
|
-
/*@__PURE__*/
|
|
2904
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2913
2905
|
Schema.Struct({
|
|
2914
2906
|
id: Schema.String,
|
|
2915
2907
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -2922,7 +2914,7 @@ export const deletePageRule: API.OperationMethod<
|
|
|
2922
2914
|
DeletePageRuleResponse,
|
|
2923
2915
|
DeletePageRuleError,
|
|
2924
2916
|
Credentials | HttpClient.HttpClient
|
|
2925
|
-
> = /*@__PURE__*/
|
|
2917
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2926
2918
|
input: DeletePageRuleRequest,
|
|
2927
2919
|
output: DeletePageRuleResponse,
|
|
2928
2920
|
errors: [PageRuleNotFound, Forbidden],
|