@distilled.cloud/cloudflare 0.29.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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
package/src/services/zones.ts
CHANGED
|
@@ -115,7 +115,7 @@ export class ZoneHoldsRequireEnterprise extends T.applyErrorMatchers(
|
|
|
115
115
|
interface Source {
|
|
116
116
|
pointer?: string | null;
|
|
117
117
|
}
|
|
118
|
-
const Source = /*@__PURE__*/
|
|
118
|
+
const Source = /*@__PURE__*/ Schema.suspend(() =>
|
|
119
119
|
Schema.Struct({
|
|
120
120
|
pointer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
121
121
|
}),
|
|
@@ -127,7 +127,7 @@ interface Error2 {
|
|
|
127
127
|
documentationUrl?: string | null;
|
|
128
128
|
source?: { pointer?: string | null } | null;
|
|
129
129
|
}
|
|
130
|
-
const Error2 = /*@__PURE__*/
|
|
130
|
+
const Error2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
131
131
|
Schema.Struct({
|
|
132
132
|
code: Schema.Number,
|
|
133
133
|
message: Schema.String,
|
|
@@ -157,7 +157,7 @@ interface ResultInfo {
|
|
|
157
157
|
/** The number of total pages in the entire result set. */
|
|
158
158
|
totalPages?: number | null;
|
|
159
159
|
}
|
|
160
|
-
const ResultInfo = /*@__PURE__*/
|
|
160
|
+
const ResultInfo = /*@__PURE__*/ Schema.suspend(() =>
|
|
161
161
|
Schema.Struct({
|
|
162
162
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
163
163
|
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -179,7 +179,7 @@ interface ListCursor {
|
|
|
179
179
|
after?: string | null;
|
|
180
180
|
before?: string | null;
|
|
181
181
|
}
|
|
182
|
-
const ListCursor = /*@__PURE__*/
|
|
182
|
+
const ListCursor = /*@__PURE__*/ Schema.suspend(() =>
|
|
183
183
|
Schema.Struct({
|
|
184
184
|
after: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
185
185
|
before: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -195,7 +195,7 @@ interface Environment {
|
|
|
195
195
|
version: number | null;
|
|
196
196
|
httpApplicationId?: string | null;
|
|
197
197
|
}
|
|
198
|
-
const Environment = /*@__PURE__*/
|
|
198
|
+
const Environment = /*@__PURE__*/ Schema.suspend(() =>
|
|
199
199
|
Schema.Struct({
|
|
200
200
|
expression: Schema.String,
|
|
201
201
|
lockedOnDeployment: Schema.Union([Schema.Boolean, Schema.Null]),
|
|
@@ -247,7 +247,7 @@ interface ListPlansResponseResult {
|
|
|
247
247
|
/** The amount you will be billed for this plan. */
|
|
248
248
|
price?: number | null;
|
|
249
249
|
}
|
|
250
|
-
const ListPlansResponseResult = /*@__PURE__*/
|
|
250
|
+
const ListPlansResponseResult = /*@__PURE__*/ Schema.suspend(() =>
|
|
251
251
|
Schema.Struct({
|
|
252
252
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
253
253
|
canSubscribe: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -301,7 +301,7 @@ interface Component {
|
|
|
301
301
|
/** The unit price of the addon. */
|
|
302
302
|
unitPrice?: number | null;
|
|
303
303
|
}
|
|
304
|
-
const Component = /*@__PURE__*/
|
|
304
|
+
const Component = /*@__PURE__*/ Schema.suspend(() =>
|
|
305
305
|
Schema.Struct({
|
|
306
306
|
default: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
307
307
|
name: Schema.optional(
|
|
@@ -360,26 +360,25 @@ interface GetRatePlanResponseResult {
|
|
|
360
360
|
/** The plan name. */
|
|
361
361
|
name?: string | null;
|
|
362
362
|
}
|
|
363
|
-
const GetRatePlanResponseResult = /*@__PURE__*/
|
|
364
|
-
(
|
|
365
|
-
Schema.
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
363
|
+
const GetRatePlanResponseResult = /*@__PURE__*/ Schema.suspend(() =>
|
|
364
|
+
Schema.Struct({
|
|
365
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
366
|
+
components: Schema.optional(
|
|
367
|
+
Schema.Union([Schema.Array(Component), Schema.Null]),
|
|
368
|
+
),
|
|
369
|
+
currency: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
370
|
+
duration: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
371
|
+
frequency: Schema.optional(
|
|
372
|
+
Schema.Union([
|
|
373
373
|
Schema.Union([
|
|
374
|
-
Schema.
|
|
375
|
-
|
|
376
|
-
Schema.String,
|
|
377
|
-
]),
|
|
378
|
-
Schema.Null,
|
|
374
|
+
Schema.Literals(["weekly", "monthly", "quarterly", "yearly"]),
|
|
375
|
+
Schema.String,
|
|
379
376
|
]),
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
377
|
+
Schema.Null,
|
|
378
|
+
]),
|
|
379
|
+
),
|
|
380
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
381
|
+
}),
|
|
383
382
|
) as unknown as Schema.Codec<GetRatePlanResponseResult>;
|
|
384
383
|
|
|
385
384
|
interface ZeroRTT {
|
|
@@ -392,7 +391,7 @@ interface ZeroRTT {
|
|
|
392
391
|
/** last time this setting was modified. */
|
|
393
392
|
modifiedOn?: string | null;
|
|
394
393
|
}
|
|
395
|
-
const ZeroRTT = /*@__PURE__*/
|
|
394
|
+
const ZeroRTT = /*@__PURE__*/ Schema.suspend(() =>
|
|
396
395
|
Schema.Struct({
|
|
397
396
|
id: Schema.Literal("0rtt"),
|
|
398
397
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
@@ -418,7 +417,7 @@ interface AdvancedDDoS {
|
|
|
418
417
|
/** last time this setting was modified. */
|
|
419
418
|
modifiedOn?: string | null;
|
|
420
419
|
}
|
|
421
|
-
const AdvancedDDoS = /*@__PURE__*/
|
|
420
|
+
const AdvancedDDoS = /*@__PURE__*/ Schema.suspend(() =>
|
|
422
421
|
Schema.Struct({
|
|
423
422
|
id: Schema.Literal("advanced_ddos"),
|
|
424
423
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
@@ -440,7 +439,7 @@ interface Value {
|
|
|
440
439
|
/** Egress pool id which refers to a grouping of dedicated egress IPs through which Cloudflare will connect to origin. */
|
|
441
440
|
poolId?: string | null;
|
|
442
441
|
}
|
|
443
|
-
const Value = /*@__PURE__*/
|
|
442
|
+
const Value = /*@__PURE__*/ Schema.suspend(() =>
|
|
444
443
|
Schema.Struct({
|
|
445
444
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
446
445
|
poolId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -455,7 +454,7 @@ interface ZonesCacheRulesAegis {
|
|
|
455
454
|
/** Value of the zone setting. */
|
|
456
455
|
value?: { enabled?: boolean | null; poolId?: string | null } | null;
|
|
457
456
|
}
|
|
458
|
-
const ZonesCacheRulesAegis = /*@__PURE__*/
|
|
457
|
+
const ZonesCacheRulesAegis = /*@__PURE__*/ Schema.suspend(() =>
|
|
459
458
|
Schema.Struct({
|
|
460
459
|
id: Schema.Literal("aegis"),
|
|
461
460
|
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -475,7 +474,7 @@ interface AlwaysOnline {
|
|
|
475
474
|
/** last time this setting was modified. */
|
|
476
475
|
modifiedOn?: string | null;
|
|
477
476
|
}
|
|
478
|
-
const AlwaysOnline = /*@__PURE__*/
|
|
477
|
+
const AlwaysOnline = /*@__PURE__*/ Schema.suspend(() =>
|
|
479
478
|
Schema.Struct({
|
|
480
479
|
id: Schema.Literal("always_online"),
|
|
481
480
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
@@ -501,21 +500,20 @@ interface ZonesSchemasAlwaysUseHTTPS {
|
|
|
501
500
|
/** last time this setting was modified. */
|
|
502
501
|
modifiedOn?: string | null;
|
|
503
502
|
}
|
|
504
|
-
const ZonesSchemasAlwaysUseHTTPS = /*@__PURE__*/
|
|
505
|
-
(
|
|
506
|
-
Schema.
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
),
|
|
503
|
+
const ZonesSchemasAlwaysUseHTTPS = /*@__PURE__*/ Schema.suspend(() =>
|
|
504
|
+
Schema.Struct({
|
|
505
|
+
id: Schema.Literal("always_use_https"),
|
|
506
|
+
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
507
|
+
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
508
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
509
|
+
}).pipe(
|
|
510
|
+
Schema.encodeKeys({
|
|
511
|
+
id: "id",
|
|
512
|
+
value: "value",
|
|
513
|
+
editable: "editable",
|
|
514
|
+
modifiedOn: "modified_on",
|
|
515
|
+
}),
|
|
516
|
+
),
|
|
519
517
|
) as unknown as Schema.Codec<ZonesSchemasAlwaysUseHTTPS>;
|
|
520
518
|
|
|
521
519
|
interface ZonesSchemasAutomaticHTTPSRewrites {
|
|
@@ -529,7 +527,7 @@ interface ZonesSchemasAutomaticHTTPSRewrites {
|
|
|
529
527
|
modifiedOn?: string | null;
|
|
530
528
|
}
|
|
531
529
|
const ZonesSchemasAutomaticHTTPSRewrites =
|
|
532
|
-
/*@__PURE__*/
|
|
530
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
533
531
|
Schema.Struct({
|
|
534
532
|
id: Schema.Literal("automatic_https_rewrites"),
|
|
535
533
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
@@ -555,7 +553,7 @@ interface Brotli {
|
|
|
555
553
|
/** last time this setting was modified. */
|
|
556
554
|
modifiedOn?: string | null;
|
|
557
555
|
}
|
|
558
|
-
const Brotli = /*@__PURE__*/
|
|
556
|
+
const Brotli = /*@__PURE__*/ Schema.suspend(() =>
|
|
559
557
|
Schema.Struct({
|
|
560
558
|
id: Schema.Literal("brotli"),
|
|
561
559
|
value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
|
|
@@ -581,21 +579,20 @@ interface ZonesSchemasBrowserCacheTTL {
|
|
|
581
579
|
/** last time this setting was modified. */
|
|
582
580
|
modifiedOn?: string | null;
|
|
583
581
|
}
|
|
584
|
-
const ZonesSchemasBrowserCacheTTL = /*@__PURE__*/
|
|
585
|
-
(
|
|
586
|
-
Schema.
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
),
|
|
582
|
+
const ZonesSchemasBrowserCacheTTL = /*@__PURE__*/ Schema.suspend(() =>
|
|
583
|
+
Schema.Struct({
|
|
584
|
+
id: Schema.Literal("browser_cache_ttl"),
|
|
585
|
+
value: Schema.Number,
|
|
586
|
+
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
587
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
588
|
+
}).pipe(
|
|
589
|
+
Schema.encodeKeys({
|
|
590
|
+
id: "id",
|
|
591
|
+
value: "value",
|
|
592
|
+
editable: "editable",
|
|
593
|
+
modifiedOn: "modified_on",
|
|
594
|
+
}),
|
|
595
|
+
),
|
|
599
596
|
) as unknown as Schema.Codec<ZonesSchemasBrowserCacheTTL>;
|
|
600
597
|
|
|
601
598
|
interface ZonesSchemasBrowserCheck {
|
|
@@ -608,21 +605,20 @@ interface ZonesSchemasBrowserCheck {
|
|
|
608
605
|
/** last time this setting was modified. */
|
|
609
606
|
modifiedOn?: string | null;
|
|
610
607
|
}
|
|
611
|
-
const ZonesSchemasBrowserCheck = /*@__PURE__*/
|
|
612
|
-
(
|
|
613
|
-
Schema.
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
),
|
|
608
|
+
const ZonesSchemasBrowserCheck = /*@__PURE__*/ Schema.suspend(() =>
|
|
609
|
+
Schema.Struct({
|
|
610
|
+
id: Schema.Literal("browser_check"),
|
|
611
|
+
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
612
|
+
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
613
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
614
|
+
}).pipe(
|
|
615
|
+
Schema.encodeKeys({
|
|
616
|
+
id: "id",
|
|
617
|
+
value: "value",
|
|
618
|
+
editable: "editable",
|
|
619
|
+
modifiedOn: "modified_on",
|
|
620
|
+
}),
|
|
621
|
+
),
|
|
626
622
|
) as unknown as Schema.Codec<ZonesSchemasBrowserCheck>;
|
|
627
623
|
|
|
628
624
|
interface ZonesSchemasCacheLevel {
|
|
@@ -635,7 +631,7 @@ interface ZonesSchemasCacheLevel {
|
|
|
635
631
|
/** last time this setting was modified. */
|
|
636
632
|
modifiedOn?: string | null;
|
|
637
633
|
}
|
|
638
|
-
const ZonesSchemasCacheLevel = /*@__PURE__*/
|
|
634
|
+
const ZonesSchemasCacheLevel = /*@__PURE__*/ Schema.suspend(() =>
|
|
639
635
|
Schema.Struct({
|
|
640
636
|
id: Schema.Literal("cache_level"),
|
|
641
637
|
value: Schema.Union([
|
|
@@ -679,7 +675,7 @@ interface ChallengeTTL {
|
|
|
679
675
|
/** last time this setting was modified. */
|
|
680
676
|
modifiedOn?: string | null;
|
|
681
677
|
}
|
|
682
|
-
const ChallengeTTL = /*@__PURE__*/
|
|
678
|
+
const ChallengeTTL = /*@__PURE__*/ Schema.suspend(() =>
|
|
683
679
|
Schema.Struct({
|
|
684
680
|
id: Schema.Literal("challenge_ttl"),
|
|
685
681
|
value: Schema.Union([
|
|
@@ -723,21 +719,20 @@ interface ZonesChinaNetworkEnabled {
|
|
|
723
719
|
/** last time this setting was modified. */
|
|
724
720
|
modifiedOn?: string | null;
|
|
725
721
|
}
|
|
726
|
-
const ZonesChinaNetworkEnabled = /*@__PURE__*/
|
|
727
|
-
(
|
|
728
|
-
Schema.
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
),
|
|
722
|
+
const ZonesChinaNetworkEnabled = /*@__PURE__*/ Schema.suspend(() =>
|
|
723
|
+
Schema.Struct({
|
|
724
|
+
id: Schema.Literal("china_network_enabled"),
|
|
725
|
+
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
726
|
+
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
727
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
728
|
+
}).pipe(
|
|
729
|
+
Schema.encodeKeys({
|
|
730
|
+
id: "id",
|
|
731
|
+
value: "value",
|
|
732
|
+
editable: "editable",
|
|
733
|
+
modifiedOn: "modified_on",
|
|
734
|
+
}),
|
|
735
|
+
),
|
|
741
736
|
) as unknown as Schema.Codec<ZonesChinaNetworkEnabled>;
|
|
742
737
|
|
|
743
738
|
interface ZonesContentConverter {
|
|
@@ -750,7 +745,7 @@ interface ZonesContentConverter {
|
|
|
750
745
|
/** last time this setting was modified. */
|
|
751
746
|
modifiedOn?: string | null;
|
|
752
747
|
}
|
|
753
|
-
const ZonesContentConverter = /*@__PURE__*/
|
|
748
|
+
const ZonesContentConverter = /*@__PURE__*/ Schema.suspend(() =>
|
|
754
749
|
Schema.Struct({
|
|
755
750
|
id: Schema.Literal("content_converter"),
|
|
756
751
|
value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
|
|
@@ -776,7 +771,7 @@ interface Ciphers {
|
|
|
776
771
|
/** last time this setting was modified. */
|
|
777
772
|
modifiedOn?: string | null;
|
|
778
773
|
}
|
|
779
|
-
const Ciphers = /*@__PURE__*/
|
|
774
|
+
const Ciphers = /*@__PURE__*/ Schema.suspend(() =>
|
|
780
775
|
Schema.Struct({
|
|
781
776
|
id: Schema.Literal("ciphers"),
|
|
782
777
|
value: Schema.Array(Schema.String),
|
|
@@ -802,7 +797,7 @@ interface ZonesCNAMEFlattening {
|
|
|
802
797
|
/** last time this setting was modified. */
|
|
803
798
|
modifiedOn?: string | null;
|
|
804
799
|
}
|
|
805
|
-
const ZonesCNAMEFlattening = /*@__PURE__*/
|
|
800
|
+
const ZonesCNAMEFlattening = /*@__PURE__*/ Schema.suspend(() =>
|
|
806
801
|
Schema.Struct({
|
|
807
802
|
id: Schema.Literal("cname_flattening"),
|
|
808
803
|
value: Schema.Union([
|
|
@@ -833,7 +828,7 @@ interface DevelopmentMode {
|
|
|
833
828
|
/** Value of the zone setting. Notes: The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been */
|
|
834
829
|
timeRemaining?: number | null;
|
|
835
830
|
}
|
|
836
|
-
const DevelopmentMode = /*@__PURE__*/
|
|
831
|
+
const DevelopmentMode = /*@__PURE__*/ Schema.suspend(() =>
|
|
837
832
|
Schema.Struct({
|
|
838
833
|
id: Schema.Literal("development_mode"),
|
|
839
834
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
@@ -861,7 +856,7 @@ interface EarlyHints {
|
|
|
861
856
|
/** last time this setting was modified. */
|
|
862
857
|
modifiedOn?: string | null;
|
|
863
858
|
}
|
|
864
|
-
const EarlyHints = /*@__PURE__*/
|
|
859
|
+
const EarlyHints = /*@__PURE__*/ Schema.suspend(() =>
|
|
865
860
|
Schema.Struct({
|
|
866
861
|
id: Schema.Literal("early_hints"),
|
|
867
862
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
@@ -909,46 +904,45 @@ interface ZonesSchemasEdgeCacheTTL {
|
|
|
909
904
|
/** last time this setting was modified. */
|
|
910
905
|
modifiedOn?: string | null;
|
|
911
906
|
}
|
|
912
|
-
const ZonesSchemasEdgeCacheTTL = /*@__PURE__*/
|
|
913
|
-
(
|
|
914
|
-
Schema.
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
"604800",
|
|
939
|
-
]),
|
|
940
|
-
Schema.String,
|
|
907
|
+
const ZonesSchemasEdgeCacheTTL = /*@__PURE__*/ Schema.suspend(() =>
|
|
908
|
+
Schema.Struct({
|
|
909
|
+
id: Schema.Literal("edge_cache_ttl"),
|
|
910
|
+
value: Schema.Union([
|
|
911
|
+
Schema.Literals([
|
|
912
|
+
"30",
|
|
913
|
+
"60",
|
|
914
|
+
"300",
|
|
915
|
+
"1200",
|
|
916
|
+
"1800",
|
|
917
|
+
"3600",
|
|
918
|
+
"7200",
|
|
919
|
+
"10800",
|
|
920
|
+
"14400",
|
|
921
|
+
"18000",
|
|
922
|
+
"28800",
|
|
923
|
+
"43200",
|
|
924
|
+
"57600",
|
|
925
|
+
"72000",
|
|
926
|
+
"86400",
|
|
927
|
+
"172800",
|
|
928
|
+
"259200",
|
|
929
|
+
"345600",
|
|
930
|
+
"432000",
|
|
931
|
+
"518400",
|
|
932
|
+
"604800",
|
|
941
933
|
]),
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
934
|
+
Schema.String,
|
|
935
|
+
]),
|
|
936
|
+
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
937
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
938
|
+
}).pipe(
|
|
939
|
+
Schema.encodeKeys({
|
|
940
|
+
id: "id",
|
|
941
|
+
value: "value",
|
|
942
|
+
editable: "editable",
|
|
943
|
+
modifiedOn: "modified_on",
|
|
944
|
+
}),
|
|
945
|
+
),
|
|
952
946
|
) as unknown as Schema.Codec<ZonesSchemasEdgeCacheTTL>;
|
|
953
947
|
|
|
954
948
|
interface ZonesSchemasEmailObfuscation {
|
|
@@ -961,21 +955,20 @@ interface ZonesSchemasEmailObfuscation {
|
|
|
961
955
|
/** last time this setting was modified. */
|
|
962
956
|
modifiedOn?: string | null;
|
|
963
957
|
}
|
|
964
|
-
const ZonesSchemasEmailObfuscation = /*@__PURE__*/
|
|
965
|
-
(
|
|
966
|
-
Schema.
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
),
|
|
958
|
+
const ZonesSchemasEmailObfuscation = /*@__PURE__*/ Schema.suspend(() =>
|
|
959
|
+
Schema.Struct({
|
|
960
|
+
id: Schema.Literal("email_obfuscation"),
|
|
961
|
+
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
962
|
+
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
963
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
964
|
+
}).pipe(
|
|
965
|
+
Schema.encodeKeys({
|
|
966
|
+
id: "id",
|
|
967
|
+
value: "value",
|
|
968
|
+
editable: "editable",
|
|
969
|
+
modifiedOn: "modified_on",
|
|
970
|
+
}),
|
|
971
|
+
),
|
|
979
972
|
) as unknown as Schema.Codec<ZonesSchemasEmailObfuscation>;
|
|
980
973
|
|
|
981
974
|
interface H2Prioritization {
|
|
@@ -988,7 +981,7 @@ interface H2Prioritization {
|
|
|
988
981
|
/** last time this setting was modified. */
|
|
989
982
|
modifiedOn?: string | null;
|
|
990
983
|
}
|
|
991
|
-
const H2Prioritization = /*@__PURE__*/
|
|
984
|
+
const H2Prioritization = /*@__PURE__*/ Schema.suspend(() =>
|
|
992
985
|
Schema.Struct({
|
|
993
986
|
id: Schema.Literal("h2_prioritization"),
|
|
994
987
|
value: Schema.Union([
|
|
@@ -1017,7 +1010,7 @@ interface HotlinkProtection {
|
|
|
1017
1010
|
/** last time this setting was modified. */
|
|
1018
1011
|
modifiedOn?: string | null;
|
|
1019
1012
|
}
|
|
1020
|
-
const HotlinkProtection = /*@__PURE__*/
|
|
1013
|
+
const HotlinkProtection = /*@__PURE__*/ Schema.suspend(() =>
|
|
1021
1014
|
Schema.Struct({
|
|
1022
1015
|
id: Schema.Literal("hotlink_protection"),
|
|
1023
1016
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
@@ -1043,7 +1036,7 @@ interface Http2 {
|
|
|
1043
1036
|
/** last time this setting was modified. */
|
|
1044
1037
|
modifiedOn?: string | null;
|
|
1045
1038
|
}
|
|
1046
|
-
const Http2 = /*@__PURE__*/
|
|
1039
|
+
const Http2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
1047
1040
|
Schema.Struct({
|
|
1048
1041
|
id: Schema.Literal("http2"),
|
|
1049
1042
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
@@ -1069,7 +1062,7 @@ interface Http3 {
|
|
|
1069
1062
|
/** last time this setting was modified. */
|
|
1070
1063
|
modifiedOn?: string | null;
|
|
1071
1064
|
}
|
|
1072
|
-
const Http3 = /*@__PURE__*/
|
|
1065
|
+
const Http3 = /*@__PURE__*/ Schema.suspend(() =>
|
|
1073
1066
|
Schema.Struct({
|
|
1074
1067
|
id: Schema.Literal("http3"),
|
|
1075
1068
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
@@ -1095,7 +1088,7 @@ interface ImageResizing {
|
|
|
1095
1088
|
/** last time this setting was modified. */
|
|
1096
1089
|
modifiedOn?: string | null;
|
|
1097
1090
|
}
|
|
1098
|
-
const ImageResizing = /*@__PURE__*/
|
|
1091
|
+
const ImageResizing = /*@__PURE__*/ Schema.suspend(() =>
|
|
1099
1092
|
Schema.Struct({
|
|
1100
1093
|
id: Schema.Literal("image_resizing"),
|
|
1101
1094
|
value: Schema.Union([
|
|
@@ -1124,21 +1117,20 @@ interface ZonesSchemasIPGeolocation {
|
|
|
1124
1117
|
/** last time this setting was modified. */
|
|
1125
1118
|
modifiedOn?: string | null;
|
|
1126
1119
|
}
|
|
1127
|
-
const ZonesSchemasIPGeolocation = /*@__PURE__*/
|
|
1128
|
-
(
|
|
1129
|
-
Schema.
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
),
|
|
1120
|
+
const ZonesSchemasIPGeolocation = /*@__PURE__*/ Schema.suspend(() =>
|
|
1121
|
+
Schema.Struct({
|
|
1122
|
+
id: Schema.Literal("ip_geolocation"),
|
|
1123
|
+
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
1124
|
+
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1125
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1126
|
+
}).pipe(
|
|
1127
|
+
Schema.encodeKeys({
|
|
1128
|
+
id: "id",
|
|
1129
|
+
value: "value",
|
|
1130
|
+
editable: "editable",
|
|
1131
|
+
modifiedOn: "modified_on",
|
|
1132
|
+
}),
|
|
1133
|
+
),
|
|
1142
1134
|
) as unknown as Schema.Codec<ZonesSchemasIPGeolocation>;
|
|
1143
1135
|
|
|
1144
1136
|
interface Ipv6 {
|
|
@@ -1151,7 +1143,7 @@ interface Ipv6 {
|
|
|
1151
1143
|
/** last time this setting was modified. */
|
|
1152
1144
|
modifiedOn?: string | null;
|
|
1153
1145
|
}
|
|
1154
|
-
const Ipv6 = /*@__PURE__*/
|
|
1146
|
+
const Ipv6 = /*@__PURE__*/ Schema.suspend(() =>
|
|
1155
1147
|
Schema.Struct({
|
|
1156
1148
|
id: Schema.Literal("ipv6"),
|
|
1157
1149
|
value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
|
|
@@ -1196,7 +1188,7 @@ interface ZonesMaxUpload {
|
|
|
1196
1188
|
/** last time this setting was modified. */
|
|
1197
1189
|
modifiedOn?: string | null;
|
|
1198
1190
|
}
|
|
1199
|
-
const ZonesMaxUpload = /*@__PURE__*/
|
|
1191
|
+
const ZonesMaxUpload = /*@__PURE__*/ Schema.suspend(() =>
|
|
1200
1192
|
Schema.Struct({
|
|
1201
1193
|
id: Schema.Literal("max_upload"),
|
|
1202
1194
|
value: Schema.Union([
|
|
@@ -1244,7 +1236,7 @@ interface MinTLSVersion {
|
|
|
1244
1236
|
/** last time this setting was modified. */
|
|
1245
1237
|
modifiedOn?: string | null;
|
|
1246
1238
|
}
|
|
1247
|
-
const MinTLSVersion = /*@__PURE__*/
|
|
1239
|
+
const MinTLSVersion = /*@__PURE__*/ Schema.suspend(() =>
|
|
1248
1240
|
Schema.Struct({
|
|
1249
1241
|
id: Schema.Literal("min_tls_version"),
|
|
1250
1242
|
value: Schema.Union([
|
|
@@ -1273,7 +1265,7 @@ interface ZonesSchemasMirage {
|
|
|
1273
1265
|
/** last time this setting was modified. */
|
|
1274
1266
|
modifiedOn?: string | null;
|
|
1275
1267
|
}
|
|
1276
|
-
const ZonesSchemasMirage = /*@__PURE__*/
|
|
1268
|
+
const ZonesSchemasMirage = /*@__PURE__*/ Schema.suspend(() =>
|
|
1277
1269
|
Schema.Struct({
|
|
1278
1270
|
id: Schema.Literal("mirage"),
|
|
1279
1271
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
@@ -1292,7 +1284,7 @@ const ZonesSchemasMirage = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
1292
1284
|
interface Value2 {
|
|
1293
1285
|
enabled?: boolean | null;
|
|
1294
1286
|
}
|
|
1295
|
-
const Value2 = /*@__PURE__*/
|
|
1287
|
+
const Value2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
1296
1288
|
Schema.Struct({
|
|
1297
1289
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1298
1290
|
}),
|
|
@@ -1308,7 +1300,7 @@ interface Nel {
|
|
|
1308
1300
|
/** last time this setting was modified. */
|
|
1309
1301
|
modifiedOn?: string | null;
|
|
1310
1302
|
}
|
|
1311
|
-
const Nel = /*@__PURE__*/
|
|
1303
|
+
const Nel = /*@__PURE__*/ Schema.suspend(() =>
|
|
1312
1304
|
Schema.Struct({
|
|
1313
1305
|
id: Schema.Literal("nel"),
|
|
1314
1306
|
value: Value2,
|
|
@@ -1335,7 +1327,7 @@ interface ZonesSchemasOpportunisticEncryption {
|
|
|
1335
1327
|
modifiedOn?: string | null;
|
|
1336
1328
|
}
|
|
1337
1329
|
const ZonesSchemasOpportunisticEncryption =
|
|
1338
|
-
/*@__PURE__*/
|
|
1330
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1339
1331
|
Schema.Struct({
|
|
1340
1332
|
id: Schema.Literal("opportunistic_encryption"),
|
|
1341
1333
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
@@ -1361,7 +1353,7 @@ interface OpportunisticOnion {
|
|
|
1361
1353
|
/** last time this setting was modified. */
|
|
1362
1354
|
modifiedOn?: string | null;
|
|
1363
1355
|
}
|
|
1364
|
-
const OpportunisticOnion = /*@__PURE__*/
|
|
1356
|
+
const OpportunisticOnion = /*@__PURE__*/ Schema.suspend(() =>
|
|
1365
1357
|
Schema.Struct({
|
|
1366
1358
|
id: Schema.Literal("opportunistic_onion"),
|
|
1367
1359
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
@@ -1387,7 +1379,7 @@ interface OrangeToOrange {
|
|
|
1387
1379
|
/** last time this setting was modified. */
|
|
1388
1380
|
modifiedOn?: string | null;
|
|
1389
1381
|
}
|
|
1390
|
-
const OrangeToOrange = /*@__PURE__*/
|
|
1382
|
+
const OrangeToOrange = /*@__PURE__*/ Schema.suspend(() =>
|
|
1391
1383
|
Schema.Struct({
|
|
1392
1384
|
id: Schema.Literal("orange_to_orange"),
|
|
1393
1385
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
@@ -1414,7 +1406,7 @@ interface ZonesSchemasOriginErrorPagePassThru {
|
|
|
1414
1406
|
modifiedOn?: string | null;
|
|
1415
1407
|
}
|
|
1416
1408
|
const ZonesSchemasOriginErrorPagePassThru =
|
|
1417
|
-
/*@__PURE__*/
|
|
1409
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1418
1410
|
Schema.Struct({
|
|
1419
1411
|
id: Schema.Literal("origin_error_page_pass_thru"),
|
|
1420
1412
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
@@ -1439,7 +1431,7 @@ interface ZonesCacheRulesOriginH2MaxStreams {
|
|
|
1439
1431
|
value?: number | null;
|
|
1440
1432
|
}
|
|
1441
1433
|
const ZonesCacheRulesOriginH2MaxStreams =
|
|
1442
|
-
/*@__PURE__*/
|
|
1434
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1443
1435
|
Schema.Struct({
|
|
1444
1436
|
id: Schema.Literal("origin_h2_max_streams"),
|
|
1445
1437
|
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1462,7 +1454,7 @@ interface ZonesCacheRulesOriginMaxHTTPVersion {
|
|
|
1462
1454
|
value?: "2" | "1" | (string & {}) | null;
|
|
1463
1455
|
}
|
|
1464
1456
|
const ZonesCacheRulesOriginMaxHTTPVersion =
|
|
1465
|
-
/*@__PURE__*/
|
|
1457
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1466
1458
|
Schema.Struct({
|
|
1467
1459
|
id: Schema.Literal("origin_max_http_version"),
|
|
1468
1460
|
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1491,7 +1483,7 @@ interface ZonesSchemasPolish {
|
|
|
1491
1483
|
/** last time this setting was modified. */
|
|
1492
1484
|
modifiedOn?: string | null;
|
|
1493
1485
|
}
|
|
1494
|
-
const ZonesSchemasPolish = /*@__PURE__*/
|
|
1486
|
+
const ZonesSchemasPolish = /*@__PURE__*/ Schema.suspend(() =>
|
|
1495
1487
|
Schema.Struct({
|
|
1496
1488
|
id: Schema.Literal("polish"),
|
|
1497
1489
|
value: Schema.Union([
|
|
@@ -1520,7 +1512,7 @@ interface PrefetchPreload {
|
|
|
1520
1512
|
/** last time this setting was modified. */
|
|
1521
1513
|
modifiedOn?: string | null;
|
|
1522
1514
|
}
|
|
1523
|
-
const PrefetchPreload = /*@__PURE__*/
|
|
1515
|
+
const PrefetchPreload = /*@__PURE__*/ Schema.suspend(() =>
|
|
1524
1516
|
Schema.Struct({
|
|
1525
1517
|
id: Schema.Literal("prefetch_preload"),
|
|
1526
1518
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
@@ -1546,7 +1538,7 @@ interface ZonesPrivacyPass {
|
|
|
1546
1538
|
/** last time this setting was modified. */
|
|
1547
1539
|
modifiedOn?: string | null;
|
|
1548
1540
|
}
|
|
1549
|
-
const ZonesPrivacyPass = /*@__PURE__*/
|
|
1541
|
+
const ZonesPrivacyPass = /*@__PURE__*/ Schema.suspend(() =>
|
|
1550
1542
|
Schema.Struct({
|
|
1551
1543
|
id: Schema.Literal("privacy_pass"),
|
|
1552
1544
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
@@ -1572,7 +1564,7 @@ interface ProxyReadTimeout {
|
|
|
1572
1564
|
/** last time this setting was modified. */
|
|
1573
1565
|
modifiedOn?: string | null;
|
|
1574
1566
|
}
|
|
1575
|
-
const ProxyReadTimeout = /*@__PURE__*/
|
|
1567
|
+
const ProxyReadTimeout = /*@__PURE__*/ Schema.suspend(() =>
|
|
1576
1568
|
Schema.Struct({
|
|
1577
1569
|
id: Schema.Literal("proxy_read_timeout"),
|
|
1578
1570
|
value: Schema.Number,
|
|
@@ -1598,7 +1590,7 @@ interface PseudoIPV4 {
|
|
|
1598
1590
|
/** last time this setting was modified. */
|
|
1599
1591
|
modifiedOn?: string | null;
|
|
1600
1592
|
}
|
|
1601
|
-
const PseudoIPV4 = /*@__PURE__*/
|
|
1593
|
+
const PseudoIPV4 = /*@__PURE__*/ Schema.suspend(() =>
|
|
1602
1594
|
Schema.Struct({
|
|
1603
1595
|
id: Schema.Literal("pseudo_ipv4"),
|
|
1604
1596
|
value: Schema.Union([
|
|
@@ -1627,21 +1619,20 @@ interface ZonesRedirectsForAITraining {
|
|
|
1627
1619
|
/** last time this setting was modified. */
|
|
1628
1620
|
modifiedOn?: string | null;
|
|
1629
1621
|
}
|
|
1630
|
-
const ZonesRedirectsForAITraining = /*@__PURE__*/
|
|
1631
|
-
(
|
|
1632
|
-
Schema.
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
),
|
|
1622
|
+
const ZonesRedirectsForAITraining = /*@__PURE__*/ Schema.suspend(() =>
|
|
1623
|
+
Schema.Struct({
|
|
1624
|
+
id: Schema.Literal("redirects_for_ai_training"),
|
|
1625
|
+
value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
|
|
1626
|
+
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1627
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1628
|
+
}).pipe(
|
|
1629
|
+
Schema.encodeKeys({
|
|
1630
|
+
id: "id",
|
|
1631
|
+
value: "value",
|
|
1632
|
+
editable: "editable",
|
|
1633
|
+
modifiedOn: "modified_on",
|
|
1634
|
+
}),
|
|
1635
|
+
),
|
|
1645
1636
|
) as unknown as Schema.Codec<ZonesRedirectsForAITraining>;
|
|
1646
1637
|
|
|
1647
1638
|
interface ZonesReplaceInsecureJS {
|
|
@@ -1654,7 +1645,7 @@ interface ZonesReplaceInsecureJS {
|
|
|
1654
1645
|
/** last time this setting was modified. */
|
|
1655
1646
|
modifiedOn?: string | null;
|
|
1656
1647
|
}
|
|
1657
|
-
const ZonesReplaceInsecureJS = /*@__PURE__*/
|
|
1648
|
+
const ZonesReplaceInsecureJS = /*@__PURE__*/ Schema.suspend(() =>
|
|
1658
1649
|
Schema.Struct({
|
|
1659
1650
|
id: Schema.Literal("replace_insecure_js"),
|
|
1660
1651
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
@@ -1681,7 +1672,7 @@ interface ZonesSchemasResponseBuffering {
|
|
|
1681
1672
|
modifiedOn?: string | null;
|
|
1682
1673
|
}
|
|
1683
1674
|
const ZonesSchemasResponseBuffering =
|
|
1684
|
-
/*@__PURE__*/
|
|
1675
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1685
1676
|
Schema.Struct({
|
|
1686
1677
|
id: Schema.Literal("response_buffering"),
|
|
1687
1678
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
@@ -1707,21 +1698,20 @@ interface ZonesSchemasRocketLoader {
|
|
|
1707
1698
|
/** last time this setting was modified. */
|
|
1708
1699
|
modifiedOn?: string | null;
|
|
1709
1700
|
}
|
|
1710
|
-
const ZonesSchemasRocketLoader = /*@__PURE__*/
|
|
1711
|
-
(
|
|
1712
|
-
Schema.
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
),
|
|
1701
|
+
const ZonesSchemasRocketLoader = /*@__PURE__*/ Schema.suspend(() =>
|
|
1702
|
+
Schema.Struct({
|
|
1703
|
+
id: Schema.Literal("rocket_loader"),
|
|
1704
|
+
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
1705
|
+
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1706
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1707
|
+
}).pipe(
|
|
1708
|
+
Schema.encodeKeys({
|
|
1709
|
+
id: "id",
|
|
1710
|
+
value: "value",
|
|
1711
|
+
editable: "editable",
|
|
1712
|
+
modifiedOn: "modified_on",
|
|
1713
|
+
}),
|
|
1714
|
+
),
|
|
1725
1715
|
) as unknown as Schema.Codec<ZonesSchemasRocketLoader>;
|
|
1726
1716
|
|
|
1727
1717
|
interface AutomaticPlatformOptimization {
|
|
@@ -1739,7 +1729,7 @@ interface AutomaticPlatformOptimization {
|
|
|
1739
1729
|
wpPlugin: boolean;
|
|
1740
1730
|
}
|
|
1741
1731
|
const AutomaticPlatformOptimization =
|
|
1742
|
-
/*@__PURE__*/
|
|
1732
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1743
1733
|
Schema.Struct({
|
|
1744
1734
|
cacheByDeviceType: Schema.Boolean,
|
|
1745
1735
|
cf: Schema.Boolean,
|
|
@@ -1777,7 +1767,7 @@ interface ZonesSchemasAutomaticPlatformOptimization {
|
|
|
1777
1767
|
modifiedOn?: string | null;
|
|
1778
1768
|
}
|
|
1779
1769
|
const ZonesSchemasAutomaticPlatformOptimization =
|
|
1780
|
-
/*@__PURE__*/
|
|
1770
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1781
1771
|
Schema.Struct({
|
|
1782
1772
|
id: Schema.Literal("automatic_platform_optimization"),
|
|
1783
1773
|
value: AutomaticPlatformOptimization,
|
|
@@ -1803,7 +1793,7 @@ interface ZonesSearchForAgents {
|
|
|
1803
1793
|
/** last time this setting was modified. */
|
|
1804
1794
|
modifiedOn?: string | null;
|
|
1805
1795
|
}
|
|
1806
|
-
const ZonesSearchForAgents = /*@__PURE__*/
|
|
1796
|
+
const ZonesSearchForAgents = /*@__PURE__*/ Schema.suspend(() =>
|
|
1807
1797
|
Schema.Struct({
|
|
1808
1798
|
id: Schema.Literal("search_for_agents"),
|
|
1809
1799
|
value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
|
|
@@ -1831,7 +1821,7 @@ interface StrictTransportSecurity {
|
|
|
1831
1821
|
/** Enable automatic preload of the HSTS configuration. */
|
|
1832
1822
|
preload?: boolean | null;
|
|
1833
1823
|
}
|
|
1834
|
-
const StrictTransportSecurity = /*@__PURE__*/
|
|
1824
|
+
const StrictTransportSecurity = /*@__PURE__*/ Schema.suspend(() =>
|
|
1835
1825
|
Schema.Struct({
|
|
1836
1826
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1837
1827
|
includeSubdomains: Schema.optional(
|
|
@@ -1861,7 +1851,7 @@ interface Value3 {
|
|
|
1861
1851
|
preload?: boolean | null;
|
|
1862
1852
|
} | null;
|
|
1863
1853
|
}
|
|
1864
|
-
const Value3 = /*@__PURE__*/
|
|
1854
|
+
const Value3 = /*@__PURE__*/ Schema.suspend(() =>
|
|
1865
1855
|
Schema.Struct({
|
|
1866
1856
|
strictTransportSecurity: Schema.optional(
|
|
1867
1857
|
Schema.Union([StrictTransportSecurity, Schema.Null]),
|
|
@@ -1889,7 +1879,7 @@ interface SecurityHeaders {
|
|
|
1889
1879
|
/** last time this setting was modified. */
|
|
1890
1880
|
modifiedOn?: string | null;
|
|
1891
1881
|
}
|
|
1892
|
-
const SecurityHeaders = /*@__PURE__*/
|
|
1882
|
+
const SecurityHeaders = /*@__PURE__*/ Schema.suspend(() =>
|
|
1893
1883
|
Schema.Struct({
|
|
1894
1884
|
id: Schema.Literal("security_header"),
|
|
1895
1885
|
value: Value3,
|
|
@@ -1922,31 +1912,30 @@ interface ZonesSchemasSecurityLevel {
|
|
|
1922
1912
|
/** last time this setting was modified. */
|
|
1923
1913
|
modifiedOn?: string | null;
|
|
1924
1914
|
}
|
|
1925
|
-
const ZonesSchemasSecurityLevel = /*@__PURE__*/
|
|
1926
|
-
(
|
|
1927
|
-
Schema.
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
"under_attack",
|
|
1937
|
-
]),
|
|
1938
|
-
Schema.String,
|
|
1915
|
+
const ZonesSchemasSecurityLevel = /*@__PURE__*/ Schema.suspend(() =>
|
|
1916
|
+
Schema.Struct({
|
|
1917
|
+
id: Schema.Literal("security_level"),
|
|
1918
|
+
value: Schema.Union([
|
|
1919
|
+
Schema.Literals([
|
|
1920
|
+
"off",
|
|
1921
|
+
"essentially_off",
|
|
1922
|
+
"low",
|
|
1923
|
+
"medium",
|
|
1924
|
+
"high",
|
|
1925
|
+
"under_attack",
|
|
1939
1926
|
]),
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1927
|
+
Schema.String,
|
|
1928
|
+
]),
|
|
1929
|
+
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1930
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1931
|
+
}).pipe(
|
|
1932
|
+
Schema.encodeKeys({
|
|
1933
|
+
id: "id",
|
|
1934
|
+
value: "value",
|
|
1935
|
+
editable: "editable",
|
|
1936
|
+
modifiedOn: "modified_on",
|
|
1937
|
+
}),
|
|
1938
|
+
),
|
|
1950
1939
|
) as unknown as Schema.Codec<ZonesSchemasSecurityLevel>;
|
|
1951
1940
|
|
|
1952
1941
|
interface ServerSideExcludes {
|
|
@@ -1959,7 +1948,7 @@ interface ServerSideExcludes {
|
|
|
1959
1948
|
/** last time this setting was modified. */
|
|
1960
1949
|
modifiedOn?: string | null;
|
|
1961
1950
|
}
|
|
1962
|
-
const ServerSideExcludes = /*@__PURE__*/
|
|
1951
|
+
const ServerSideExcludes = /*@__PURE__*/ Schema.suspend(() =>
|
|
1963
1952
|
Schema.Struct({
|
|
1964
1953
|
id: Schema.Literal("server_side_exclude"),
|
|
1965
1954
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
@@ -1985,7 +1974,7 @@ interface ZonesSha1Support {
|
|
|
1985
1974
|
/** last time this setting was modified. */
|
|
1986
1975
|
modifiedOn?: string | null;
|
|
1987
1976
|
}
|
|
1988
|
-
const ZonesSha1Support = /*@__PURE__*/
|
|
1977
|
+
const ZonesSha1Support = /*@__PURE__*/ Schema.suspend(() =>
|
|
1989
1978
|
Schema.Struct({
|
|
1990
1979
|
id: Schema.Literal("sha1_support"),
|
|
1991
1980
|
value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
|
|
@@ -2012,7 +2001,7 @@ interface ZonesSchemasSortQueryStringForCache {
|
|
|
2012
2001
|
modifiedOn?: string | null;
|
|
2013
2002
|
}
|
|
2014
2003
|
const ZonesSchemasSortQueryStringForCache =
|
|
2015
|
-
/*@__PURE__*/
|
|
2004
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2016
2005
|
Schema.Struct({
|
|
2017
2006
|
id: Schema.Literal("sort_query_string_for_cache"),
|
|
2018
2007
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
@@ -2038,7 +2027,7 @@ interface ZonesSchemasSSL {
|
|
|
2038
2027
|
/** last time this setting was modified. */
|
|
2039
2028
|
modifiedOn?: string | null;
|
|
2040
2029
|
}
|
|
2041
|
-
const ZonesSchemasSSL = /*@__PURE__*/
|
|
2030
|
+
const ZonesSchemasSSL = /*@__PURE__*/ Schema.suspend(() =>
|
|
2042
2031
|
Schema.Struct({
|
|
2043
2032
|
id: Schema.Literal("ssl"),
|
|
2044
2033
|
value: Schema.Union([
|
|
@@ -2063,7 +2052,7 @@ interface Sslrecommender {
|
|
|
2063
2052
|
/** ssl-recommender enrollment setting. */
|
|
2064
2053
|
enabled?: boolean | null;
|
|
2065
2054
|
}
|
|
2066
|
-
const Sslrecommender = /*@__PURE__*/
|
|
2055
|
+
const Sslrecommender = /*@__PURE__*/ Schema.suspend(() =>
|
|
2067
2056
|
Schema.Struct({
|
|
2068
2057
|
id: Schema.optional(
|
|
2069
2058
|
Schema.Union([Schema.Literal("ssl_recommender"), Schema.Null]),
|
|
@@ -2082,7 +2071,7 @@ interface ZonesTLS12Only {
|
|
|
2082
2071
|
/** last time this setting was modified. */
|
|
2083
2072
|
modifiedOn?: string | null;
|
|
2084
2073
|
}
|
|
2085
|
-
const ZonesTLS12Only = /*@__PURE__*/
|
|
2074
|
+
const ZonesTLS12Only = /*@__PURE__*/ Schema.suspend(() =>
|
|
2086
2075
|
Schema.Struct({
|
|
2087
2076
|
id: Schema.Literal("tls_1_2_only"),
|
|
2088
2077
|
value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
|
|
@@ -2108,7 +2097,7 @@ interface Tls13 {
|
|
|
2108
2097
|
/** last time this setting was modified. */
|
|
2109
2098
|
modifiedOn?: string | null;
|
|
2110
2099
|
}
|
|
2111
|
-
const Tls13 = /*@__PURE__*/
|
|
2100
|
+
const Tls13 = /*@__PURE__*/ Schema.suspend(() =>
|
|
2112
2101
|
Schema.Struct({
|
|
2113
2102
|
id: Schema.Literal("tls_1_3"),
|
|
2114
2103
|
value: Schema.Union([Schema.Literals(["on", "off", "zrt"]), Schema.String]),
|
|
@@ -2134,7 +2123,7 @@ interface TlsclientAuth {
|
|
|
2134
2123
|
/** last time this setting was modified. */
|
|
2135
2124
|
modifiedOn?: string | null;
|
|
2136
2125
|
}
|
|
2137
|
-
const TlsclientAuth = /*@__PURE__*/
|
|
2126
|
+
const TlsclientAuth = /*@__PURE__*/ Schema.suspend(() =>
|
|
2138
2127
|
Schema.Struct({
|
|
2139
2128
|
id: Schema.Literal("tls_client_auth"),
|
|
2140
2129
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
@@ -2160,7 +2149,7 @@ interface ZonesTransformations {
|
|
|
2160
2149
|
/** last time this setting was modified. */
|
|
2161
2150
|
modifiedOn?: string | null;
|
|
2162
2151
|
}
|
|
2163
|
-
const ZonesTransformations = /*@__PURE__*/
|
|
2152
|
+
const ZonesTransformations = /*@__PURE__*/ Schema.suspend(() =>
|
|
2164
2153
|
Schema.Struct({
|
|
2165
2154
|
id: Schema.Literal("transformations"),
|
|
2166
2155
|
value: Schema.Union([
|
|
@@ -2190,7 +2179,7 @@ interface ZonesTransformationsAllowedOrigins {
|
|
|
2190
2179
|
modifiedOn?: string | null;
|
|
2191
2180
|
}
|
|
2192
2181
|
const ZonesTransformationsAllowedOrigins =
|
|
2193
|
-
/*@__PURE__*/
|
|
2182
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2194
2183
|
Schema.Struct({
|
|
2195
2184
|
id: Schema.Literal("transformations_allowed_origins"),
|
|
2196
2185
|
value: Schema.String,
|
|
@@ -2217,7 +2206,7 @@ interface ZonesSchemasTrueClientIPHeader {
|
|
|
2217
2206
|
modifiedOn?: string | null;
|
|
2218
2207
|
}
|
|
2219
2208
|
const ZonesSchemasTrueClientIPHeader =
|
|
2220
|
-
/*@__PURE__*/
|
|
2209
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2221
2210
|
Schema.Struct({
|
|
2222
2211
|
id: Schema.Literal("true_client_ip_header"),
|
|
2223
2212
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
@@ -2243,7 +2232,7 @@ interface ZonesSchemasWAF {
|
|
|
2243
2232
|
/** last time this setting was modified. */
|
|
2244
2233
|
modifiedOn?: string | null;
|
|
2245
2234
|
}
|
|
2246
|
-
const ZonesSchemasWAF = /*@__PURE__*/
|
|
2235
|
+
const ZonesSchemasWAF = /*@__PURE__*/ Schema.suspend(() =>
|
|
2247
2236
|
Schema.Struct({
|
|
2248
2237
|
id: Schema.Literal("waf"),
|
|
2249
2238
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
@@ -2269,7 +2258,7 @@ interface WebP {
|
|
|
2269
2258
|
/** last time this setting was modified. */
|
|
2270
2259
|
modifiedOn?: string | null;
|
|
2271
2260
|
}
|
|
2272
|
-
const WebP = /*@__PURE__*/
|
|
2261
|
+
const WebP = /*@__PURE__*/ Schema.suspend(() =>
|
|
2273
2262
|
Schema.Struct({
|
|
2274
2263
|
id: Schema.Literal("webp"),
|
|
2275
2264
|
value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
|
|
@@ -2295,7 +2284,7 @@ interface Websocket {
|
|
|
2295
2284
|
/** last time this setting was modified. */
|
|
2296
2285
|
modifiedOn?: string | null;
|
|
2297
2286
|
}
|
|
2298
|
-
const Websocket = /*@__PURE__*/
|
|
2287
|
+
const Websocket = /*@__PURE__*/ Schema.suspend(() =>
|
|
2299
2288
|
Schema.Struct({
|
|
2300
2289
|
id: Schema.Literal("websockets"),
|
|
2301
2290
|
value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
|
|
@@ -2339,7 +2328,7 @@ interface RatePlan {
|
|
|
2339
2328
|
/** The list of sets this rate plan applies to. Returns array of strings. */
|
|
2340
2329
|
sets?: string[] | null;
|
|
2341
2330
|
}
|
|
2342
|
-
const RatePlan = /*@__PURE__*/
|
|
2331
|
+
const RatePlan = /*@__PURE__*/ Schema.suspend(() =>
|
|
2343
2332
|
Schema.Struct({
|
|
2344
2333
|
id: Schema.optional(
|
|
2345
2334
|
Schema.Union([
|
|
@@ -2390,7 +2379,7 @@ interface Account {
|
|
|
2390
2379
|
/** The name of the account. */
|
|
2391
2380
|
name?: string | null;
|
|
2392
2381
|
}
|
|
2393
|
-
const Account = /*@__PURE__*/
|
|
2382
|
+
const Account = /*@__PURE__*/ Schema.suspend(() =>
|
|
2394
2383
|
Schema.Struct({
|
|
2395
2384
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2396
2385
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2412,7 +2401,7 @@ interface Meta {
|
|
|
2412
2401
|
phishingDetected?: boolean | null;
|
|
2413
2402
|
step?: number | null;
|
|
2414
2403
|
}
|
|
2415
|
-
const Meta = /*@__PURE__*/
|
|
2404
|
+
const Meta = /*@__PURE__*/ Schema.suspend(() =>
|
|
2416
2405
|
Schema.Struct({
|
|
2417
2406
|
cdnOnly: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2418
2407
|
customCertificateQuota: Schema.optional(
|
|
@@ -2446,7 +2435,7 @@ interface Owner {
|
|
|
2446
2435
|
/** The type of owner. */
|
|
2447
2436
|
type?: string | null;
|
|
2448
2437
|
}
|
|
2449
|
-
const Owner = /*@__PURE__*/
|
|
2438
|
+
const Owner = /*@__PURE__*/ Schema.suspend(() =>
|
|
2450
2439
|
Schema.Struct({
|
|
2451
2440
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2452
2441
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2476,7 +2465,7 @@ interface Plan {
|
|
|
2476
2465
|
/** How much the customer is paying. */
|
|
2477
2466
|
price?: number | null;
|
|
2478
2467
|
}
|
|
2479
|
-
const Plan = /*@__PURE__*/
|
|
2468
|
+
const Plan = /*@__PURE__*/ Schema.suspend(() =>
|
|
2480
2469
|
Schema.Struct({
|
|
2481
2470
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2482
2471
|
canSubscribe: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -2512,7 +2501,7 @@ interface TenantUnit {
|
|
|
2512
2501
|
/** Identifier */
|
|
2513
2502
|
id?: string | null;
|
|
2514
2503
|
}
|
|
2515
|
-
const TenantUnit = /*@__PURE__*/
|
|
2504
|
+
const TenantUnit = /*@__PURE__*/ Schema.suspend(() =>
|
|
2516
2505
|
Schema.Struct({
|
|
2517
2506
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2518
2507
|
}),
|
|
@@ -2591,7 +2580,7 @@ interface ListZonesResponseResult {
|
|
|
2591
2580
|
/** Verification key for partial zone setup. */
|
|
2592
2581
|
verificationKey?: string | null;
|
|
2593
2582
|
}
|
|
2594
|
-
const ListZonesResponseResult = /*@__PURE__*/
|
|
2583
|
+
const ListZonesResponseResult = /*@__PURE__*/ Schema.suspend(() =>
|
|
2595
2584
|
Schema.Struct({
|
|
2596
2585
|
id: Schema.String,
|
|
2597
2586
|
account: Account,
|
|
@@ -2676,21 +2665,20 @@ interface ListZonesResponseResultInfo {
|
|
|
2676
2665
|
perPage?: number | null;
|
|
2677
2666
|
totalCount?: number | null;
|
|
2678
2667
|
}
|
|
2679
|
-
const ListZonesResponseResultInfo = /*@__PURE__*/
|
|
2680
|
-
(
|
|
2681
|
-
Schema.
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
),
|
|
2668
|
+
const ListZonesResponseResultInfo = /*@__PURE__*/ Schema.suspend(() =>
|
|
2669
|
+
Schema.Struct({
|
|
2670
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2671
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2672
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2673
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2674
|
+
}).pipe(
|
|
2675
|
+
Schema.encodeKeys({
|
|
2676
|
+
count: "count",
|
|
2677
|
+
page: "page",
|
|
2678
|
+
perPage: "per_page",
|
|
2679
|
+
totalCount: "total_count",
|
|
2680
|
+
}),
|
|
2681
|
+
),
|
|
2694
2682
|
) as unknown as Schema.Codec<ListZonesResponseResultInfo>;
|
|
2695
2683
|
|
|
2696
2684
|
// =============================================================================
|
|
@@ -2703,7 +2691,7 @@ export interface TriggerActivationCheckRequest {
|
|
|
2703
2691
|
}
|
|
2704
2692
|
|
|
2705
2693
|
export const TriggerActivationCheckRequest =
|
|
2706
|
-
/*@__PURE__*/
|
|
2694
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2707
2695
|
Schema.Struct({
|
|
2708
2696
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2709
2697
|
}).pipe(
|
|
@@ -2717,7 +2705,7 @@ export interface TriggerActivationCheckResponse {
|
|
|
2717
2705
|
}
|
|
2718
2706
|
|
|
2719
2707
|
export const TriggerActivationCheckResponse =
|
|
2720
|
-
/*@__PURE__*/
|
|
2708
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2721
2709
|
Schema.Struct({
|
|
2722
2710
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2723
2711
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -2730,7 +2718,7 @@ export const triggerActivationCheck: API.OperationMethod<
|
|
|
2730
2718
|
TriggerActivationCheckResponse,
|
|
2731
2719
|
TriggerActivationCheckError,
|
|
2732
2720
|
Credentials | HttpClient.HttpClient
|
|
2733
|
-
> = /*@__PURE__*/
|
|
2721
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2734
2722
|
input: TriggerActivationCheckRequest,
|
|
2735
2723
|
output: TriggerActivationCheckResponse,
|
|
2736
2724
|
errors: [],
|
|
@@ -2745,11 +2733,10 @@ export interface GetCtAlertingRequest {
|
|
|
2745
2733
|
zoneId: string;
|
|
2746
2734
|
}
|
|
2747
2735
|
|
|
2748
|
-
export const GetCtAlertingRequest = /*@__PURE__*/
|
|
2749
|
-
(
|
|
2750
|
-
Schema.
|
|
2751
|
-
|
|
2752
|
-
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/ct/alerting" })),
|
|
2736
|
+
export const GetCtAlertingRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
2737
|
+
Schema.Struct({
|
|
2738
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2739
|
+
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/ct/alerting" })),
|
|
2753
2740
|
) as unknown as Schema.Codec<GetCtAlertingRequest>;
|
|
2754
2741
|
|
|
2755
2742
|
export interface GetCtAlertingResponse {
|
|
@@ -2759,14 +2746,13 @@ export interface GetCtAlertingResponse {
|
|
|
2759
2746
|
emails?: string[] | null;
|
|
2760
2747
|
}
|
|
2761
2748
|
|
|
2762
|
-
export const GetCtAlertingResponse = /*@__PURE__*/
|
|
2763
|
-
(
|
|
2764
|
-
Schema.
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
}).pipe(T.ResponsePath("result")),
|
|
2749
|
+
export const GetCtAlertingResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
2750
|
+
Schema.Struct({
|
|
2751
|
+
enabled: Schema.Boolean,
|
|
2752
|
+
emails: Schema.optional(
|
|
2753
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
2754
|
+
),
|
|
2755
|
+
}).pipe(T.ResponsePath("result")),
|
|
2770
2756
|
) as unknown as Schema.Codec<GetCtAlertingResponse>;
|
|
2771
2757
|
|
|
2772
2758
|
export type GetCtAlertingError = DefaultErrors;
|
|
@@ -2776,7 +2762,7 @@ export const getCtAlerting: API.OperationMethod<
|
|
|
2776
2762
|
GetCtAlertingResponse,
|
|
2777
2763
|
GetCtAlertingError,
|
|
2778
2764
|
Credentials | HttpClient.HttpClient
|
|
2779
|
-
> = /*@__PURE__*/
|
|
2765
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2780
2766
|
input: GetCtAlertingRequest,
|
|
2781
2767
|
output: GetCtAlertingResponse,
|
|
2782
2768
|
errors: [],
|
|
@@ -2792,7 +2778,7 @@ export interface PatchCtAlertingRequest {
|
|
|
2792
2778
|
}
|
|
2793
2779
|
|
|
2794
2780
|
export const PatchCtAlertingRequest =
|
|
2795
|
-
/*@__PURE__*/
|
|
2781
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2796
2782
|
Schema.Struct({
|
|
2797
2783
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2798
2784
|
enabled: Schema.Boolean,
|
|
@@ -2808,7 +2794,7 @@ export interface PatchCtAlertingResponse {
|
|
|
2808
2794
|
}
|
|
2809
2795
|
|
|
2810
2796
|
export const PatchCtAlertingResponse =
|
|
2811
|
-
/*@__PURE__*/
|
|
2797
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2812
2798
|
Schema.Struct({
|
|
2813
2799
|
enabled: Schema.Boolean,
|
|
2814
2800
|
emails: Schema.optional(
|
|
@@ -2824,7 +2810,7 @@ export const patchCtAlerting: API.OperationMethod<
|
|
|
2824
2810
|
PatchCtAlertingResponse,
|
|
2825
2811
|
PatchCtAlertingError,
|
|
2826
2812
|
Credentials | HttpClient.HttpClient
|
|
2827
|
-
> = /*@__PURE__*/
|
|
2813
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2828
2814
|
input: PatchCtAlertingRequest,
|
|
2829
2815
|
output: PatchCtAlertingResponse,
|
|
2830
2816
|
errors: [],
|
|
@@ -2840,7 +2826,7 @@ export interface GetCustomNameserverRequest {
|
|
|
2840
2826
|
}
|
|
2841
2827
|
|
|
2842
2828
|
export const GetCustomNameserverRequest =
|
|
2843
|
-
/*@__PURE__*/
|
|
2829
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2844
2830
|
Schema.Struct({
|
|
2845
2831
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2846
2832
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/custom_ns" })),
|
|
@@ -2879,7 +2865,7 @@ export interface GetCustomNameserverResponse {
|
|
|
2879
2865
|
}
|
|
2880
2866
|
|
|
2881
2867
|
export const GetCustomNameserverResponse =
|
|
2882
|
-
/*@__PURE__*/
|
|
2868
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2883
2869
|
Schema.Struct({
|
|
2884
2870
|
errors: Schema.optional(
|
|
2885
2871
|
Schema.Union([Schema.Array(Error2), Schema.Null]),
|
|
@@ -2917,7 +2903,7 @@ export const getCustomNameserver: API.OperationMethod<
|
|
|
2917
2903
|
GetCustomNameserverResponse,
|
|
2918
2904
|
GetCustomNameserverError,
|
|
2919
2905
|
Credentials | HttpClient.HttpClient
|
|
2920
|
-
> = /*@__PURE__*/
|
|
2906
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2921
2907
|
input: GetCustomNameserverRequest,
|
|
2922
2908
|
output: GetCustomNameserverResponse,
|
|
2923
2909
|
errors: [InvalidZoneIdentifier, Forbidden],
|
|
@@ -2933,7 +2919,7 @@ export interface PutCustomNameserverRequest {
|
|
|
2933
2919
|
}
|
|
2934
2920
|
|
|
2935
2921
|
export const PutCustomNameserverRequest =
|
|
2936
|
-
/*@__PURE__*/
|
|
2922
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2937
2923
|
Schema.Struct({
|
|
2938
2924
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2939
2925
|
enabled: Schema.optional(Schema.Boolean),
|
|
@@ -2949,7 +2935,7 @@ export interface PutCustomNameserverResponse {
|
|
|
2949
2935
|
}
|
|
2950
2936
|
|
|
2951
2937
|
export const PutCustomNameserverResponse =
|
|
2952
|
-
/*@__PURE__*/
|
|
2938
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2953
2939
|
Schema.Struct({
|
|
2954
2940
|
result: Schema.Unknown,
|
|
2955
2941
|
}),
|
|
@@ -2966,7 +2952,7 @@ export const putCustomNameserver: API.PaginatedOperationMethod<
|
|
|
2966
2952
|
PutCustomNameserverResponse,
|
|
2967
2953
|
PutCustomNameserverError,
|
|
2968
2954
|
Credentials | HttpClient.HttpClient
|
|
2969
|
-
> = /*@__PURE__*/
|
|
2955
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
2970
2956
|
input: PutCustomNameserverRequest,
|
|
2971
2957
|
output: PutCustomNameserverResponse,
|
|
2972
2958
|
errors: [InvalidZoneIdentifier, CustomNameserverSetNotFound, Forbidden],
|
|
@@ -2986,7 +2972,7 @@ export interface ListEnvironmentsRequest {
|
|
|
2986
2972
|
}
|
|
2987
2973
|
|
|
2988
2974
|
export const ListEnvironmentsRequest =
|
|
2989
|
-
/*@__PURE__*/
|
|
2975
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2990
2976
|
Schema.Struct({
|
|
2991
2977
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2992
2978
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/environments" })),
|
|
@@ -3005,7 +2991,7 @@ export interface ListEnvironmentsResponse {
|
|
|
3005
2991
|
}
|
|
3006
2992
|
|
|
3007
2993
|
export const ListEnvironmentsResponse =
|
|
3008
|
-
/*@__PURE__*/
|
|
2994
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3009
2995
|
Schema.Struct({
|
|
3010
2996
|
environments: Schema.Array(Environment),
|
|
3011
2997
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -3018,7 +3004,7 @@ export const listEnvironments: API.OperationMethod<
|
|
|
3018
3004
|
ListEnvironmentsResponse,
|
|
3019
3005
|
ListEnvironmentsError,
|
|
3020
3006
|
Credentials | HttpClient.HttpClient
|
|
3021
|
-
> = /*@__PURE__*/
|
|
3007
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3022
3008
|
input: ListEnvironmentsRequest,
|
|
3023
3009
|
output: ListEnvironmentsResponse,
|
|
3024
3010
|
errors: [],
|
|
@@ -3040,7 +3026,7 @@ export interface CreateEnvironmentRequest {
|
|
|
3040
3026
|
}
|
|
3041
3027
|
|
|
3042
3028
|
export const CreateEnvironmentRequest =
|
|
3043
|
-
/*@__PURE__*/
|
|
3029
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3044
3030
|
Schema.Struct({
|
|
3045
3031
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3046
3032
|
environments: Schema.Array(Environment),
|
|
@@ -3060,7 +3046,7 @@ export interface CreateEnvironmentResponse {
|
|
|
3060
3046
|
}
|
|
3061
3047
|
|
|
3062
3048
|
export const CreateEnvironmentResponse =
|
|
3063
|
-
/*@__PURE__*/
|
|
3049
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3064
3050
|
Schema.Struct({
|
|
3065
3051
|
environments: Schema.Array(Environment),
|
|
3066
3052
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -3073,7 +3059,7 @@ export const createEnvironment: API.OperationMethod<
|
|
|
3073
3059
|
CreateEnvironmentResponse,
|
|
3074
3060
|
CreateEnvironmentError,
|
|
3075
3061
|
Credentials | HttpClient.HttpClient
|
|
3076
|
-
> = /*@__PURE__*/
|
|
3062
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3077
3063
|
input: CreateEnvironmentRequest,
|
|
3078
3064
|
output: CreateEnvironmentResponse,
|
|
3079
3065
|
errors: [],
|
|
@@ -3095,7 +3081,7 @@ export interface UpdateEnvironmentRequest {
|
|
|
3095
3081
|
}
|
|
3096
3082
|
|
|
3097
3083
|
export const UpdateEnvironmentRequest =
|
|
3098
|
-
/*@__PURE__*/
|
|
3084
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3099
3085
|
Schema.Struct({
|
|
3100
3086
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3101
3087
|
environments: Schema.Array(Environment),
|
|
@@ -3115,7 +3101,7 @@ export interface UpdateEnvironmentResponse {
|
|
|
3115
3101
|
}
|
|
3116
3102
|
|
|
3117
3103
|
export const UpdateEnvironmentResponse =
|
|
3118
|
-
/*@__PURE__*/
|
|
3104
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3119
3105
|
Schema.Struct({
|
|
3120
3106
|
environments: Schema.Array(Environment),
|
|
3121
3107
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -3128,7 +3114,7 @@ export const updateEnvironment: API.OperationMethod<
|
|
|
3128
3114
|
UpdateEnvironmentResponse,
|
|
3129
3115
|
UpdateEnvironmentError,
|
|
3130
3116
|
Credentials | HttpClient.HttpClient
|
|
3131
|
-
> = /*@__PURE__*/
|
|
3117
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3132
3118
|
input: UpdateEnvironmentRequest,
|
|
3133
3119
|
output: UpdateEnvironmentResponse,
|
|
3134
3120
|
errors: [],
|
|
@@ -3150,7 +3136,7 @@ export interface PatchEnvironmentRequest {
|
|
|
3150
3136
|
}
|
|
3151
3137
|
|
|
3152
3138
|
export const PatchEnvironmentRequest =
|
|
3153
|
-
/*@__PURE__*/
|
|
3139
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3154
3140
|
Schema.Struct({
|
|
3155
3141
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3156
3142
|
environments: Schema.Array(Environment),
|
|
@@ -3170,7 +3156,7 @@ export interface PatchEnvironmentResponse {
|
|
|
3170
3156
|
}
|
|
3171
3157
|
|
|
3172
3158
|
export const PatchEnvironmentResponse =
|
|
3173
|
-
/*@__PURE__*/
|
|
3159
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3174
3160
|
Schema.Struct({
|
|
3175
3161
|
environments: Schema.Array(Environment),
|
|
3176
3162
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -3183,7 +3169,7 @@ export const patchEnvironment: API.OperationMethod<
|
|
|
3183
3169
|
PatchEnvironmentResponse,
|
|
3184
3170
|
PatchEnvironmentError,
|
|
3185
3171
|
Credentials | HttpClient.HttpClient
|
|
3186
|
-
> = /*@__PURE__*/
|
|
3172
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3187
3173
|
input: PatchEnvironmentRequest,
|
|
3188
3174
|
output: PatchEnvironmentResponse,
|
|
3189
3175
|
errors: [],
|
|
@@ -3196,7 +3182,7 @@ export interface DeleteEnvironmentRequest {
|
|
|
3196
3182
|
}
|
|
3197
3183
|
|
|
3198
3184
|
export const DeleteEnvironmentRequest =
|
|
3199
|
-
/*@__PURE__*/
|
|
3185
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3200
3186
|
Schema.Struct({
|
|
3201
3187
|
environmentId: Schema.String.pipe(T.HttpPath("environmentId")),
|
|
3202
3188
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
@@ -3221,7 +3207,7 @@ export interface DeleteEnvironmentResponse {
|
|
|
3221
3207
|
}
|
|
3222
3208
|
|
|
3223
3209
|
export const DeleteEnvironmentResponse =
|
|
3224
|
-
/*@__PURE__*/
|
|
3210
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3225
3211
|
Schema.Struct({
|
|
3226
3212
|
environments: Schema.Array(Environment),
|
|
3227
3213
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -3234,7 +3220,7 @@ export const deleteEnvironment: API.OperationMethod<
|
|
|
3234
3220
|
DeleteEnvironmentResponse,
|
|
3235
3221
|
DeleteEnvironmentError,
|
|
3236
3222
|
Credentials | HttpClient.HttpClient
|
|
3237
|
-
> = /*@__PURE__*/
|
|
3223
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3238
3224
|
input: DeleteEnvironmentRequest,
|
|
3239
3225
|
output: DeleteEnvironmentResponse,
|
|
3240
3226
|
errors: [],
|
|
@@ -3247,7 +3233,7 @@ export interface RollbackEnvironmentRequest {
|
|
|
3247
3233
|
}
|
|
3248
3234
|
|
|
3249
3235
|
export const RollbackEnvironmentRequest =
|
|
3250
|
-
/*@__PURE__*/
|
|
3236
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3251
3237
|
Schema.Struct({
|
|
3252
3238
|
environmentId: Schema.String.pipe(T.HttpPath("environmentId")),
|
|
3253
3239
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
@@ -3272,7 +3258,7 @@ export interface RollbackEnvironmentResponse {
|
|
|
3272
3258
|
}
|
|
3273
3259
|
|
|
3274
3260
|
export const RollbackEnvironmentResponse =
|
|
3275
|
-
/*@__PURE__*/
|
|
3261
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3276
3262
|
Schema.Struct({
|
|
3277
3263
|
environments: Schema.Array(Environment),
|
|
3278
3264
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -3285,7 +3271,7 @@ export const rollbackEnvironment: API.OperationMethod<
|
|
|
3285
3271
|
RollbackEnvironmentResponse,
|
|
3286
3272
|
RollbackEnvironmentError,
|
|
3287
3273
|
Credentials | HttpClient.HttpClient
|
|
3288
|
-
> = /*@__PURE__*/
|
|
3274
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3289
3275
|
input: RollbackEnvironmentRequest,
|
|
3290
3276
|
output: RollbackEnvironmentResponse,
|
|
3291
3277
|
errors: [],
|
|
@@ -3300,7 +3286,7 @@ export interface GetHoldRequest {
|
|
|
3300
3286
|
zoneId: string;
|
|
3301
3287
|
}
|
|
3302
3288
|
|
|
3303
|
-
export const GetHoldRequest = /*@__PURE__*/
|
|
3289
|
+
export const GetHoldRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
3304
3290
|
Schema.Struct({
|
|
3305
3291
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3306
3292
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/hold" })),
|
|
@@ -3312,7 +3298,7 @@ export interface GetHoldResponse {
|
|
|
3312
3298
|
includeSubdomains?: unknown | null;
|
|
3313
3299
|
}
|
|
3314
3300
|
|
|
3315
|
-
export const GetHoldResponse = /*@__PURE__*/
|
|
3301
|
+
export const GetHoldResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
3316
3302
|
Schema.Struct({
|
|
3317
3303
|
hold: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3318
3304
|
holdAfter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3337,7 +3323,7 @@ export const getHold: API.OperationMethod<
|
|
|
3337
3323
|
GetHoldResponse,
|
|
3338
3324
|
GetHoldError,
|
|
3339
3325
|
Credentials | HttpClient.HttpClient
|
|
3340
|
-
> = /*@__PURE__*/
|
|
3326
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3341
3327
|
input: GetHoldRequest,
|
|
3342
3328
|
output: GetHoldResponse,
|
|
3343
3329
|
errors: [InvalidZoneIdentifier, Forbidden],
|
|
@@ -3350,14 +3336,13 @@ export interface CreateHoldRequest {
|
|
|
3350
3336
|
includeSubdomains?: boolean;
|
|
3351
3337
|
}
|
|
3352
3338
|
|
|
3353
|
-
export const CreateHoldRequest = /*@__PURE__*/
|
|
3354
|
-
(
|
|
3355
|
-
Schema.
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
}).pipe(T.Http({ method: "POST", path: "/zones/{zone_id}/hold" })),
|
|
3339
|
+
export const CreateHoldRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
3340
|
+
Schema.Struct({
|
|
3341
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3342
|
+
includeSubdomains: Schema.optional(Schema.Boolean).pipe(
|
|
3343
|
+
T.HttpQuery("include_subdomains"),
|
|
3344
|
+
),
|
|
3345
|
+
}).pipe(T.Http({ method: "POST", path: "/zones/{zone_id}/hold" })),
|
|
3361
3346
|
) as unknown as Schema.Codec<CreateHoldRequest>;
|
|
3362
3347
|
|
|
3363
3348
|
export interface CreateHoldResponse {
|
|
@@ -3366,23 +3351,22 @@ export interface CreateHoldResponse {
|
|
|
3366
3351
|
includeSubdomains?: unknown | null;
|
|
3367
3352
|
}
|
|
3368
3353
|
|
|
3369
|
-
export const CreateHoldResponse = /*@__PURE__*/
|
|
3370
|
-
(
|
|
3371
|
-
Schema.
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
.
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
.pipe(T.ResponsePath("result")),
|
|
3354
|
+
export const CreateHoldResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
3355
|
+
Schema.Struct({
|
|
3356
|
+
hold: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3357
|
+
holdAfter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3358
|
+
includeSubdomains: Schema.optional(
|
|
3359
|
+
Schema.Union([Schema.Unknown, Schema.Null]),
|
|
3360
|
+
),
|
|
3361
|
+
})
|
|
3362
|
+
.pipe(
|
|
3363
|
+
Schema.encodeKeys({
|
|
3364
|
+
hold: "hold",
|
|
3365
|
+
holdAfter: "hold_after",
|
|
3366
|
+
includeSubdomains: "include_subdomains",
|
|
3367
|
+
}),
|
|
3368
|
+
)
|
|
3369
|
+
.pipe(T.ResponsePath("result")),
|
|
3386
3370
|
) as unknown as Schema.Codec<CreateHoldResponse>;
|
|
3387
3371
|
|
|
3388
3372
|
export type CreateHoldError =
|
|
@@ -3396,7 +3380,7 @@ export const createHold: API.OperationMethod<
|
|
|
3396
3380
|
CreateHoldResponse,
|
|
3397
3381
|
CreateHoldError,
|
|
3398
3382
|
Credentials | HttpClient.HttpClient
|
|
3399
|
-
> = /*@__PURE__*/
|
|
3383
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3400
3384
|
input: CreateHoldRequest,
|
|
3401
3385
|
output: CreateHoldResponse,
|
|
3402
3386
|
errors: [ZoneHoldsRequireEnterprise, InvalidZoneIdentifier, Forbidden],
|
|
@@ -3411,7 +3395,7 @@ export interface PatchHoldRequest {
|
|
|
3411
3395
|
includeSubdomains?: boolean;
|
|
3412
3396
|
}
|
|
3413
3397
|
|
|
3414
|
-
export const PatchHoldRequest = /*@__PURE__*/
|
|
3398
|
+
export const PatchHoldRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
3415
3399
|
Schema.Struct({
|
|
3416
3400
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3417
3401
|
holdAfter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3431,23 +3415,22 @@ export interface PatchHoldResponse {
|
|
|
3431
3415
|
includeSubdomains?: unknown | null;
|
|
3432
3416
|
}
|
|
3433
3417
|
|
|
3434
|
-
export const PatchHoldResponse = /*@__PURE__*/
|
|
3435
|
-
(
|
|
3436
|
-
Schema.
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
.
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
.pipe(T.ResponsePath("result")),
|
|
3418
|
+
export const PatchHoldResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
3419
|
+
Schema.Struct({
|
|
3420
|
+
hold: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3421
|
+
holdAfter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3422
|
+
includeSubdomains: Schema.optional(
|
|
3423
|
+
Schema.Union([Schema.Unknown, Schema.Null]),
|
|
3424
|
+
),
|
|
3425
|
+
})
|
|
3426
|
+
.pipe(
|
|
3427
|
+
Schema.encodeKeys({
|
|
3428
|
+
hold: "hold",
|
|
3429
|
+
holdAfter: "hold_after",
|
|
3430
|
+
includeSubdomains: "include_subdomains",
|
|
3431
|
+
}),
|
|
3432
|
+
)
|
|
3433
|
+
.pipe(T.ResponsePath("result")),
|
|
3451
3434
|
) as unknown as Schema.Codec<PatchHoldResponse>;
|
|
3452
3435
|
|
|
3453
3436
|
export type PatchHoldError =
|
|
@@ -3462,7 +3445,7 @@ export const patchHold: API.OperationMethod<
|
|
|
3462
3445
|
PatchHoldResponse,
|
|
3463
3446
|
PatchHoldError,
|
|
3464
3447
|
Credentials | HttpClient.HttpClient
|
|
3465
|
-
> = /*@__PURE__*/
|
|
3448
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3466
3449
|
input: PatchHoldRequest,
|
|
3467
3450
|
output: PatchHoldResponse,
|
|
3468
3451
|
errors: [
|
|
@@ -3480,12 +3463,11 @@ export interface DeleteHoldRequest {
|
|
|
3480
3463
|
holdAfter?: string;
|
|
3481
3464
|
}
|
|
3482
3465
|
|
|
3483
|
-
export const DeleteHoldRequest = /*@__PURE__*/
|
|
3484
|
-
(
|
|
3485
|
-
Schema.
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
}).pipe(T.Http({ method: "DELETE", path: "/zones/{zone_id}/hold" })),
|
|
3466
|
+
export const DeleteHoldRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
3467
|
+
Schema.Struct({
|
|
3468
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3469
|
+
holdAfter: Schema.optional(Schema.String).pipe(T.HttpQuery("hold_after")),
|
|
3470
|
+
}).pipe(T.Http({ method: "DELETE", path: "/zones/{zone_id}/hold" })),
|
|
3489
3471
|
) as unknown as Schema.Codec<DeleteHoldRequest>;
|
|
3490
3472
|
|
|
3491
3473
|
export interface DeleteHoldResponse {
|
|
@@ -3494,23 +3476,22 @@ export interface DeleteHoldResponse {
|
|
|
3494
3476
|
includeSubdomains?: unknown | null;
|
|
3495
3477
|
}
|
|
3496
3478
|
|
|
3497
|
-
export const DeleteHoldResponse = /*@__PURE__*/
|
|
3498
|
-
(
|
|
3499
|
-
Schema.
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
.
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
.pipe(T.ResponsePath("result")),
|
|
3479
|
+
export const DeleteHoldResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
3480
|
+
Schema.Struct({
|
|
3481
|
+
hold: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3482
|
+
holdAfter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3483
|
+
includeSubdomains: Schema.optional(
|
|
3484
|
+
Schema.Union([Schema.Unknown, Schema.Null]),
|
|
3485
|
+
),
|
|
3486
|
+
})
|
|
3487
|
+
.pipe(
|
|
3488
|
+
Schema.encodeKeys({
|
|
3489
|
+
hold: "hold",
|
|
3490
|
+
holdAfter: "hold_after",
|
|
3491
|
+
includeSubdomains: "include_subdomains",
|
|
3492
|
+
}),
|
|
3493
|
+
)
|
|
3494
|
+
.pipe(T.ResponsePath("result")),
|
|
3514
3495
|
) as unknown as Schema.Codec<DeleteHoldResponse>;
|
|
3515
3496
|
|
|
3516
3497
|
export type DeleteHoldError = DefaultErrors | InvalidZoneIdentifier | Forbidden;
|
|
@@ -3520,7 +3501,7 @@ export const deleteHold: API.OperationMethod<
|
|
|
3520
3501
|
DeleteHoldResponse,
|
|
3521
3502
|
DeleteHoldError,
|
|
3522
3503
|
Credentials | HttpClient.HttpClient
|
|
3523
|
-
> = /*@__PURE__*/
|
|
3504
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3524
3505
|
input: DeleteHoldRequest,
|
|
3525
3506
|
output: DeleteHoldResponse,
|
|
3526
3507
|
errors: [InvalidZoneIdentifier, Forbidden],
|
|
@@ -3536,7 +3517,7 @@ export interface GetPlanRequest {
|
|
|
3536
3517
|
zoneId: string;
|
|
3537
3518
|
}
|
|
3538
3519
|
|
|
3539
|
-
export const GetPlanRequest = /*@__PURE__*/
|
|
3520
|
+
export const GetPlanRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
3540
3521
|
Schema.Struct({
|
|
3541
3522
|
planIdentifier: Schema.String.pipe(T.HttpPath("planIdentifier")),
|
|
3542
3523
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
@@ -3577,7 +3558,7 @@ export interface GetPlanResponse {
|
|
|
3577
3558
|
price?: number | null;
|
|
3578
3559
|
}
|
|
3579
3560
|
|
|
3580
|
-
export const GetPlanResponse = /*@__PURE__*/
|
|
3561
|
+
export const GetPlanResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
3581
3562
|
Schema.Struct({
|
|
3582
3563
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3583
3564
|
canSubscribe: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -3626,7 +3607,7 @@ export const getPlan: API.OperationMethod<
|
|
|
3626
3607
|
GetPlanResponse,
|
|
3627
3608
|
GetPlanError,
|
|
3628
3609
|
Credentials | HttpClient.HttpClient
|
|
3629
|
-
> = /*@__PURE__*/
|
|
3610
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3630
3611
|
input: GetPlanRequest,
|
|
3631
3612
|
output: GetPlanResponse,
|
|
3632
3613
|
errors: [],
|
|
@@ -3637,7 +3618,7 @@ export interface ListPlansRequest {
|
|
|
3637
3618
|
zoneId: string;
|
|
3638
3619
|
}
|
|
3639
3620
|
|
|
3640
|
-
export const ListPlansRequest = /*@__PURE__*/
|
|
3621
|
+
export const ListPlansRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
3641
3622
|
Schema.Struct({
|
|
3642
3623
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3643
3624
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/available_plans" })),
|
|
@@ -3664,11 +3645,10 @@ export interface ListPlansResponse {
|
|
|
3664
3645
|
}[];
|
|
3665
3646
|
}
|
|
3666
3647
|
|
|
3667
|
-
export const ListPlansResponse = /*@__PURE__*/
|
|
3668
|
-
(
|
|
3669
|
-
Schema.
|
|
3670
|
-
|
|
3671
|
-
}),
|
|
3648
|
+
export const ListPlansResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
3649
|
+
Schema.Struct({
|
|
3650
|
+
result: Schema.Array(ListPlansResponseResult),
|
|
3651
|
+
}),
|
|
3672
3652
|
) as unknown as Schema.Codec<ListPlansResponse>;
|
|
3673
3653
|
|
|
3674
3654
|
export type ListPlansError = DefaultErrors;
|
|
@@ -3678,7 +3658,7 @@ export const listPlans: API.PaginatedOperationMethod<
|
|
|
3678
3658
|
ListPlansResponse,
|
|
3679
3659
|
ListPlansError,
|
|
3680
3660
|
Credentials | HttpClient.HttpClient
|
|
3681
|
-
> = /*@__PURE__*/
|
|
3661
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3682
3662
|
input: ListPlansRequest,
|
|
3683
3663
|
output: ListPlansResponse,
|
|
3684
3664
|
errors: [],
|
|
@@ -3696,14 +3676,13 @@ export interface GetRatePlanRequest {
|
|
|
3696
3676
|
/** Identifier */
|
|
3697
3677
|
zoneId: string;
|
|
3698
3678
|
}
|
|
3699
|
-
|
|
3700
|
-
export const GetRatePlanRequest = /*@__PURE__*/
|
|
3701
|
-
(
|
|
3702
|
-
Schema.
|
|
3703
|
-
|
|
3704
|
-
})
|
|
3705
|
-
|
|
3706
|
-
),
|
|
3679
|
+
|
|
3680
|
+
export const GetRatePlanRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
3681
|
+
Schema.Struct({
|
|
3682
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3683
|
+
}).pipe(
|
|
3684
|
+
T.Http({ method: "GET", path: "/zones/{zone_id}/available_rate_plans" }),
|
|
3685
|
+
),
|
|
3707
3686
|
) as unknown as Schema.Codec<GetRatePlanRequest>;
|
|
3708
3687
|
|
|
3709
3688
|
export interface GetRatePlanResponse {
|
|
@@ -3735,11 +3714,10 @@ export interface GetRatePlanResponse {
|
|
|
3735
3714
|
}[];
|
|
3736
3715
|
}
|
|
3737
3716
|
|
|
3738
|
-
export const GetRatePlanResponse = /*@__PURE__*/
|
|
3739
|
-
(
|
|
3740
|
-
Schema.
|
|
3741
|
-
|
|
3742
|
-
}),
|
|
3717
|
+
export const GetRatePlanResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
3718
|
+
Schema.Struct({
|
|
3719
|
+
result: Schema.Array(GetRatePlanResponseResult),
|
|
3720
|
+
}),
|
|
3743
3721
|
) as unknown as Schema.Codec<GetRatePlanResponse>;
|
|
3744
3722
|
|
|
3745
3723
|
export type GetRatePlanError = DefaultErrors;
|
|
@@ -3749,7 +3727,7 @@ export const getRatePlan: API.PaginatedOperationMethod<
|
|
|
3749
3727
|
GetRatePlanResponse,
|
|
3750
3728
|
GetRatePlanError,
|
|
3751
3729
|
Credentials | HttpClient.HttpClient
|
|
3752
|
-
> = /*@__PURE__*/
|
|
3730
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3753
3731
|
input: GetRatePlanRequest,
|
|
3754
3732
|
output: GetRatePlanResponse,
|
|
3755
3733
|
errors: [],
|
|
@@ -3769,14 +3747,13 @@ export interface GetSettingRequest {
|
|
|
3769
3747
|
zoneId: string;
|
|
3770
3748
|
}
|
|
3771
3749
|
|
|
3772
|
-
export const GetSettingRequest = /*@__PURE__*/
|
|
3773
|
-
(
|
|
3774
|
-
Schema.
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
})
|
|
3778
|
-
|
|
3779
|
-
),
|
|
3750
|
+
export const GetSettingRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
3751
|
+
Schema.Struct({
|
|
3752
|
+
settingId: Schema.String.pipe(T.HttpPath("settingId")),
|
|
3753
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3754
|
+
}).pipe(
|
|
3755
|
+
T.Http({ method: "GET", path: "/zones/{zone_id}/settings/{settingId}" }),
|
|
3756
|
+
),
|
|
3780
3757
|
) as unknown as Schema.Codec<GetSettingRequest>;
|
|
3781
3758
|
|
|
3782
3759
|
export type GetSettingResponse =
|
|
@@ -4230,73 +4207,72 @@ export type GetSettingResponse =
|
|
|
4230
4207
|
modifiedOn?: string | null;
|
|
4231
4208
|
};
|
|
4232
4209
|
|
|
4233
|
-
export const GetSettingResponse = /*@__PURE__*/
|
|
4234
|
-
(
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
]).pipe(T.ResponsePath("result")),
|
|
4210
|
+
export const GetSettingResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
4211
|
+
Schema.Union([
|
|
4212
|
+
ZeroRTT,
|
|
4213
|
+
AdvancedDDoS,
|
|
4214
|
+
AlwaysOnline,
|
|
4215
|
+
ZonesSchemasAlwaysUseHTTPS,
|
|
4216
|
+
ZonesSchemasAutomaticHTTPSRewrites,
|
|
4217
|
+
Brotli,
|
|
4218
|
+
ZonesSchemasBrowserCacheTTL,
|
|
4219
|
+
ZonesSchemasBrowserCheck,
|
|
4220
|
+
ZonesSchemasCacheLevel,
|
|
4221
|
+
ChallengeTTL,
|
|
4222
|
+
ZonesChinaNetworkEnabled,
|
|
4223
|
+
ZonesContentConverter,
|
|
4224
|
+
Ciphers,
|
|
4225
|
+
ZonesCNAMEFlattening,
|
|
4226
|
+
DevelopmentMode,
|
|
4227
|
+
EarlyHints,
|
|
4228
|
+
ZonesSchemasEdgeCacheTTL,
|
|
4229
|
+
ZonesSchemasEmailObfuscation,
|
|
4230
|
+
H2Prioritization,
|
|
4231
|
+
HotlinkProtection,
|
|
4232
|
+
Http2,
|
|
4233
|
+
Http3,
|
|
4234
|
+
ImageResizing,
|
|
4235
|
+
ZonesSchemasIPGeolocation,
|
|
4236
|
+
Ipv6,
|
|
4237
|
+
ZonesMaxUpload,
|
|
4238
|
+
MinTLSVersion,
|
|
4239
|
+
ZonesSchemasMirage,
|
|
4240
|
+
Nel,
|
|
4241
|
+
ZonesSchemasOpportunisticEncryption,
|
|
4242
|
+
OpportunisticOnion,
|
|
4243
|
+
OrangeToOrange,
|
|
4244
|
+
ZonesSchemasOriginErrorPagePassThru,
|
|
4245
|
+
ZonesSchemasPolish,
|
|
4246
|
+
PrefetchPreload,
|
|
4247
|
+
ZonesPrivacyPass,
|
|
4248
|
+
ProxyReadTimeout,
|
|
4249
|
+
PseudoIPV4,
|
|
4250
|
+
ZonesRedirectsForAITraining,
|
|
4251
|
+
ZonesReplaceInsecureJS,
|
|
4252
|
+
ZonesSchemasResponseBuffering,
|
|
4253
|
+
ZonesSchemasRocketLoader,
|
|
4254
|
+
ZonesSchemasAutomaticPlatformOptimization,
|
|
4255
|
+
ZonesSearchForAgents,
|
|
4256
|
+
SecurityHeaders,
|
|
4257
|
+
ZonesSchemasSecurityLevel,
|
|
4258
|
+
ServerSideExcludes,
|
|
4259
|
+
ZonesSha1Support,
|
|
4260
|
+
ZonesSchemasSortQueryStringForCache,
|
|
4261
|
+
ZonesSchemasSSL,
|
|
4262
|
+
ZonesTLS12Only,
|
|
4263
|
+
Tls13,
|
|
4264
|
+
TlsclientAuth,
|
|
4265
|
+
ZonesTransformations,
|
|
4266
|
+
ZonesTransformationsAllowedOrigins,
|
|
4267
|
+
ZonesSchemasTrueClientIPHeader,
|
|
4268
|
+
ZonesSchemasWAF,
|
|
4269
|
+
WebP,
|
|
4270
|
+
Websocket,
|
|
4271
|
+
ZonesCacheRulesAegis,
|
|
4272
|
+
ZonesCacheRulesOriginH2MaxStreams,
|
|
4273
|
+
ZonesCacheRulesOriginMaxHTTPVersion,
|
|
4274
|
+
Sslrecommender,
|
|
4275
|
+
]).pipe(T.ResponsePath("result")),
|
|
4300
4276
|
) as unknown as Schema.Codec<GetSettingResponse>;
|
|
4301
4277
|
|
|
4302
4278
|
export type GetSettingError = DefaultErrors | InvalidZoneIdentifier | Forbidden;
|
|
@@ -4306,7 +4282,7 @@ export const getSetting: API.OperationMethod<
|
|
|
4306
4282
|
GetSettingResponse,
|
|
4307
4283
|
GetSettingError,
|
|
4308
4284
|
Credentials | HttpClient.HttpClient
|
|
4309
|
-
> = /*@__PURE__*/
|
|
4285
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4310
4286
|
input: GetSettingRequest,
|
|
4311
4287
|
output: GetSettingResponse,
|
|
4312
4288
|
errors: [InvalidZoneIdentifier, Forbidden],
|
|
@@ -4322,19 +4298,18 @@ export interface PatchSettingRequest {
|
|
|
4322
4298
|
value?: unknown;
|
|
4323
4299
|
}
|
|
4324
4300
|
|
|
4325
|
-
export const PatchSettingRequest = /*@__PURE__*/
|
|
4326
|
-
(
|
|
4327
|
-
Schema.
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
),
|
|
4301
|
+
export const PatchSettingRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
4302
|
+
Schema.Struct({
|
|
4303
|
+
settingId: Schema.String.pipe(T.HttpPath("settingId")),
|
|
4304
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
4305
|
+
enabled: Schema.optional(Schema.Boolean),
|
|
4306
|
+
value: Schema.optional(Schema.Unknown),
|
|
4307
|
+
}).pipe(
|
|
4308
|
+
T.Http({
|
|
4309
|
+
method: "PATCH",
|
|
4310
|
+
path: "/zones/{zone_id}/settings/{settingId}",
|
|
4311
|
+
}),
|
|
4312
|
+
),
|
|
4338
4313
|
) as unknown as Schema.Codec<PatchSettingRequest>;
|
|
4339
4314
|
|
|
4340
4315
|
export type PatchSettingResponse =
|
|
@@ -4788,73 +4763,72 @@ export type PatchSettingResponse =
|
|
|
4788
4763
|
modifiedOn?: string | null;
|
|
4789
4764
|
};
|
|
4790
4765
|
|
|
4791
|
-
export const PatchSettingResponse = /*@__PURE__*/
|
|
4792
|
-
(
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
]).pipe(T.ResponsePath("result")),
|
|
4766
|
+
export const PatchSettingResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
4767
|
+
Schema.Union([
|
|
4768
|
+
ZeroRTT,
|
|
4769
|
+
AdvancedDDoS,
|
|
4770
|
+
AlwaysOnline,
|
|
4771
|
+
ZonesSchemasAlwaysUseHTTPS,
|
|
4772
|
+
ZonesSchemasAutomaticHTTPSRewrites,
|
|
4773
|
+
Brotli,
|
|
4774
|
+
ZonesSchemasBrowserCacheTTL,
|
|
4775
|
+
ZonesSchemasBrowserCheck,
|
|
4776
|
+
ZonesSchemasCacheLevel,
|
|
4777
|
+
ChallengeTTL,
|
|
4778
|
+
ZonesChinaNetworkEnabled,
|
|
4779
|
+
ZonesContentConverter,
|
|
4780
|
+
Ciphers,
|
|
4781
|
+
ZonesCNAMEFlattening,
|
|
4782
|
+
DevelopmentMode,
|
|
4783
|
+
EarlyHints,
|
|
4784
|
+
ZonesSchemasEdgeCacheTTL,
|
|
4785
|
+
ZonesSchemasEmailObfuscation,
|
|
4786
|
+
H2Prioritization,
|
|
4787
|
+
HotlinkProtection,
|
|
4788
|
+
Http2,
|
|
4789
|
+
Http3,
|
|
4790
|
+
ImageResizing,
|
|
4791
|
+
ZonesSchemasIPGeolocation,
|
|
4792
|
+
Ipv6,
|
|
4793
|
+
ZonesMaxUpload,
|
|
4794
|
+
MinTLSVersion,
|
|
4795
|
+
ZonesSchemasMirage,
|
|
4796
|
+
Nel,
|
|
4797
|
+
ZonesSchemasOpportunisticEncryption,
|
|
4798
|
+
OpportunisticOnion,
|
|
4799
|
+
OrangeToOrange,
|
|
4800
|
+
ZonesSchemasOriginErrorPagePassThru,
|
|
4801
|
+
ZonesSchemasPolish,
|
|
4802
|
+
PrefetchPreload,
|
|
4803
|
+
ZonesPrivacyPass,
|
|
4804
|
+
ProxyReadTimeout,
|
|
4805
|
+
PseudoIPV4,
|
|
4806
|
+
ZonesRedirectsForAITraining,
|
|
4807
|
+
ZonesReplaceInsecureJS,
|
|
4808
|
+
ZonesSchemasResponseBuffering,
|
|
4809
|
+
ZonesSchemasRocketLoader,
|
|
4810
|
+
ZonesSchemasAutomaticPlatformOptimization,
|
|
4811
|
+
ZonesSearchForAgents,
|
|
4812
|
+
SecurityHeaders,
|
|
4813
|
+
ZonesSchemasSecurityLevel,
|
|
4814
|
+
ServerSideExcludes,
|
|
4815
|
+
ZonesSha1Support,
|
|
4816
|
+
ZonesSchemasSortQueryStringForCache,
|
|
4817
|
+
ZonesSchemasSSL,
|
|
4818
|
+
ZonesTLS12Only,
|
|
4819
|
+
Tls13,
|
|
4820
|
+
TlsclientAuth,
|
|
4821
|
+
ZonesTransformations,
|
|
4822
|
+
ZonesTransformationsAllowedOrigins,
|
|
4823
|
+
ZonesSchemasTrueClientIPHeader,
|
|
4824
|
+
ZonesSchemasWAF,
|
|
4825
|
+
WebP,
|
|
4826
|
+
Websocket,
|
|
4827
|
+
ZonesCacheRulesAegis,
|
|
4828
|
+
ZonesCacheRulesOriginH2MaxStreams,
|
|
4829
|
+
ZonesCacheRulesOriginMaxHTTPVersion,
|
|
4830
|
+
Sslrecommender,
|
|
4831
|
+
]).pipe(T.ResponsePath("result")),
|
|
4858
4832
|
) as unknown as Schema.Codec<PatchSettingResponse>;
|
|
4859
4833
|
|
|
4860
4834
|
export type PatchSettingError =
|
|
@@ -4867,7 +4841,7 @@ export const patchSetting: API.OperationMethod<
|
|
|
4867
4841
|
PatchSettingResponse,
|
|
4868
4842
|
PatchSettingError,
|
|
4869
4843
|
Credentials | HttpClient.HttpClient
|
|
4870
|
-
> = /*@__PURE__*/
|
|
4844
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4871
4845
|
input: PatchSettingRequest,
|
|
4872
4846
|
output: PatchSettingResponse,
|
|
4873
4847
|
errors: [InvalidZoneIdentifier, Forbidden],
|
|
@@ -4883,7 +4857,7 @@ export interface GetSubscriptionRequest {
|
|
|
4883
4857
|
}
|
|
4884
4858
|
|
|
4885
4859
|
export const GetSubscriptionRequest =
|
|
4886
|
-
/*@__PURE__*/
|
|
4860
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4887
4861
|
Schema.Struct({
|
|
4888
4862
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
4889
4863
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/subscription" })),
|
|
@@ -4945,7 +4919,7 @@ export interface GetSubscriptionResponse {
|
|
|
4945
4919
|
}
|
|
4946
4920
|
|
|
4947
4921
|
export const GetSubscriptionResponse =
|
|
4948
|
-
/*@__PURE__*/
|
|
4922
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4949
4923
|
Schema.Struct({
|
|
4950
4924
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4951
4925
|
currency: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -5012,7 +4986,7 @@ export const getSubscription: API.OperationMethod<
|
|
|
5012
4986
|
GetSubscriptionResponse,
|
|
5013
4987
|
GetSubscriptionError,
|
|
5014
4988
|
Credentials | HttpClient.HttpClient
|
|
5015
|
-
> = /*@__PURE__*/
|
|
4989
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
5016
4990
|
input: GetSubscriptionRequest,
|
|
5017
4991
|
output: GetSubscriptionResponse,
|
|
5018
4992
|
errors: [],
|
|
@@ -5047,7 +5021,7 @@ export interface CreateSubscriptionRequest {
|
|
|
5047
5021
|
}
|
|
5048
5022
|
|
|
5049
5023
|
export const CreateSubscriptionRequest =
|
|
5050
|
-
/*@__PURE__*/
|
|
5024
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
5051
5025
|
Schema.Struct({
|
|
5052
5026
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
5053
5027
|
frequency: Schema.optional(
|
|
@@ -5119,7 +5093,7 @@ export interface CreateSubscriptionResponse {
|
|
|
5119
5093
|
}
|
|
5120
5094
|
|
|
5121
5095
|
export const CreateSubscriptionResponse =
|
|
5122
|
-
/*@__PURE__*/
|
|
5096
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
5123
5097
|
Schema.Struct({
|
|
5124
5098
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5125
5099
|
currency: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -5186,7 +5160,7 @@ export const createSubscription: API.OperationMethod<
|
|
|
5186
5160
|
CreateSubscriptionResponse,
|
|
5187
5161
|
CreateSubscriptionError,
|
|
5188
5162
|
Credentials | HttpClient.HttpClient
|
|
5189
|
-
> = /*@__PURE__*/
|
|
5163
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
5190
5164
|
input: CreateSubscriptionRequest,
|
|
5191
5165
|
output: CreateSubscriptionResponse,
|
|
5192
5166
|
errors: [],
|
|
@@ -5221,7 +5195,7 @@ export interface UpdateSubscriptionRequest {
|
|
|
5221
5195
|
}
|
|
5222
5196
|
|
|
5223
5197
|
export const UpdateSubscriptionRequest =
|
|
5224
|
-
/*@__PURE__*/
|
|
5198
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
5225
5199
|
Schema.Struct({
|
|
5226
5200
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
5227
5201
|
frequency: Schema.optional(
|
|
@@ -5293,7 +5267,7 @@ export interface UpdateSubscriptionResponse {
|
|
|
5293
5267
|
}
|
|
5294
5268
|
|
|
5295
5269
|
export const UpdateSubscriptionResponse =
|
|
5296
|
-
/*@__PURE__*/
|
|
5270
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
5297
5271
|
Schema.Struct({
|
|
5298
5272
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5299
5273
|
currency: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -5360,7 +5334,7 @@ export const updateSubscription: API.OperationMethod<
|
|
|
5360
5334
|
UpdateSubscriptionResponse,
|
|
5361
5335
|
UpdateSubscriptionError,
|
|
5362
5336
|
Credentials | HttpClient.HttpClient
|
|
5363
|
-
> = /*@__PURE__*/
|
|
5337
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
5364
5338
|
input: UpdateSubscriptionRequest,
|
|
5365
5339
|
output: UpdateSubscriptionResponse,
|
|
5366
5340
|
errors: [],
|
|
@@ -5375,7 +5349,7 @@ export interface GetZoneRequest {
|
|
|
5375
5349
|
zoneId: string;
|
|
5376
5350
|
}
|
|
5377
5351
|
|
|
5378
|
-
export const GetZoneRequest = /*@__PURE__*/
|
|
5352
|
+
export const GetZoneRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
5379
5353
|
Schema.Struct({
|
|
5380
5354
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
5381
5355
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}" })),
|
|
@@ -5455,7 +5429,7 @@ export interface GetZoneResponse {
|
|
|
5455
5429
|
verificationKey?: string | null;
|
|
5456
5430
|
}
|
|
5457
5431
|
|
|
5458
|
-
export const GetZoneResponse = /*@__PURE__*/
|
|
5432
|
+
export const GetZoneResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
5459
5433
|
Schema.Struct({
|
|
5460
5434
|
id: Schema.String,
|
|
5461
5435
|
account: Account,
|
|
@@ -5543,7 +5517,7 @@ export const getZone: API.OperationMethod<
|
|
|
5543
5517
|
GetZoneResponse,
|
|
5544
5518
|
GetZoneError,
|
|
5545
5519
|
Credentials | HttpClient.HttpClient
|
|
5546
|
-
> = /*@__PURE__*/
|
|
5520
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
5547
5521
|
input: GetZoneRequest,
|
|
5548
5522
|
output: GetZoneResponse,
|
|
5549
5523
|
errors: [InvalidZoneIdentifier],
|
|
@@ -5573,7 +5547,7 @@ export interface ListZonesRequest {
|
|
|
5573
5547
|
type?: ("full" | "partial" | "secondary" | "internal" | (string & {}))[];
|
|
5574
5548
|
}
|
|
5575
5549
|
|
|
5576
|
-
export const ListZonesRequest = /*@__PURE__*/
|
|
5550
|
+
export const ListZonesRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
5577
5551
|
Schema.Struct({
|
|
5578
5552
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
5579
5553
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -5678,14 +5652,13 @@ export interface ListZonesResponse {
|
|
|
5678
5652
|
} | null;
|
|
5679
5653
|
}
|
|
5680
5654
|
|
|
5681
|
-
export const ListZonesResponse = /*@__PURE__*/
|
|
5682
|
-
(
|
|
5683
|
-
Schema.
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
|
|
5655
|
+
export const ListZonesResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
5656
|
+
Schema.Struct({
|
|
5657
|
+
result: Schema.Array(ListZonesResponseResult),
|
|
5658
|
+
resultInfo: Schema.optional(
|
|
5659
|
+
Schema.Union([ListZonesResponseResultInfo, Schema.Null]),
|
|
5660
|
+
),
|
|
5661
|
+
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
|
|
5689
5662
|
) as unknown as Schema.Codec<ListZonesResponse>;
|
|
5690
5663
|
|
|
5691
5664
|
export type ListZonesError = DefaultErrors;
|
|
@@ -5695,7 +5668,7 @@ export const listZones: API.PaginatedOperationMethod<
|
|
|
5695
5668
|
ListZonesResponse,
|
|
5696
5669
|
ListZonesError,
|
|
5697
5670
|
Credentials | HttpClient.HttpClient
|
|
5698
|
-
> = /*@__PURE__*/
|
|
5671
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
5699
5672
|
input: ListZonesRequest,
|
|
5700
5673
|
output: ListZonesResponse,
|
|
5701
5674
|
errors: [],
|
|
@@ -5716,18 +5689,17 @@ export interface CreateZoneRequest {
|
|
|
5716
5689
|
type?: "full" | "partial" | "secondary" | "internal" | (string & {});
|
|
5717
5690
|
}
|
|
5718
5691
|
|
|
5719
|
-
export const CreateZoneRequest = /*@__PURE__*/
|
|
5720
|
-
(
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
Schema.
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
}).pipe(T.Http({ method: "POST", path: "/zones" })),
|
|
5692
|
+
export const CreateZoneRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
5693
|
+
Schema.Struct({
|
|
5694
|
+
account: TenantUnit,
|
|
5695
|
+
name: Schema.String,
|
|
5696
|
+
type: Schema.optional(
|
|
5697
|
+
Schema.Union([
|
|
5698
|
+
Schema.Literals(["full", "partial", "secondary", "internal"]),
|
|
5699
|
+
Schema.String,
|
|
5700
|
+
]),
|
|
5701
|
+
),
|
|
5702
|
+
}).pipe(T.Http({ method: "POST", path: "/zones" })),
|
|
5731
5703
|
) as unknown as Schema.Codec<CreateZoneRequest>;
|
|
5732
5704
|
|
|
5733
5705
|
export interface CreateZoneResponse {
|
|
@@ -5804,86 +5776,85 @@ export interface CreateZoneResponse {
|
|
|
5804
5776
|
verificationKey?: string | null;
|
|
5805
5777
|
}
|
|
5806
5778
|
|
|
5807
|
-
export const CreateZoneResponse = /*@__PURE__*/
|
|
5808
|
-
(
|
|
5809
|
-
Schema.
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
|
|
5818
|
-
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
|
|
5779
|
+
export const CreateZoneResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
5780
|
+
Schema.Struct({
|
|
5781
|
+
id: Schema.String,
|
|
5782
|
+
account: Account,
|
|
5783
|
+
activatedOn: Schema.Union([Schema.String, Schema.Null]),
|
|
5784
|
+
createdOn: Schema.String,
|
|
5785
|
+
developmentMode: Schema.Number,
|
|
5786
|
+
meta: Meta,
|
|
5787
|
+
modifiedOn: Schema.String,
|
|
5788
|
+
name: Schema.String,
|
|
5789
|
+
nameServers: Schema.Array(Schema.String),
|
|
5790
|
+
originalDnshost: Schema.Union([Schema.String, Schema.Null]),
|
|
5791
|
+
originalNameServers: Schema.Union([
|
|
5792
|
+
Schema.Array(Schema.String),
|
|
5793
|
+
Schema.Null,
|
|
5794
|
+
]),
|
|
5795
|
+
originalRegistrar: Schema.Union([Schema.String, Schema.Null]),
|
|
5796
|
+
owner: Owner,
|
|
5797
|
+
plan: Plan,
|
|
5798
|
+
cnameSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5799
|
+
paused: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
5800
|
+
permissions: Schema.optional(
|
|
5801
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
5802
|
+
),
|
|
5803
|
+
status: Schema.optional(
|
|
5804
|
+
Schema.Union([
|
|
5833
5805
|
Schema.Union([
|
|
5834
|
-
Schema.
|
|
5835
|
-
|
|
5836
|
-
Schema.String,
|
|
5837
|
-
]),
|
|
5838
|
-
Schema.Null,
|
|
5806
|
+
Schema.Literals(["initializing", "pending", "active", "moved"]),
|
|
5807
|
+
Schema.String,
|
|
5839
5808
|
]),
|
|
5840
|
-
|
|
5841
|
-
|
|
5842
|
-
|
|
5843
|
-
|
|
5809
|
+
Schema.Null,
|
|
5810
|
+
]),
|
|
5811
|
+
),
|
|
5812
|
+
tenant: Schema.optional(Schema.Union([Account, Schema.Null])),
|
|
5813
|
+
tenantUnit: Schema.optional(Schema.Union([TenantUnit, Schema.Null])),
|
|
5814
|
+
type: Schema.optional(
|
|
5815
|
+
Schema.Union([
|
|
5844
5816
|
Schema.Union([
|
|
5845
|
-
Schema.
|
|
5846
|
-
|
|
5847
|
-
Schema.String,
|
|
5848
|
-
]),
|
|
5849
|
-
Schema.Null,
|
|
5817
|
+
Schema.Literals(["full", "partial", "secondary", "internal"]),
|
|
5818
|
+
Schema.String,
|
|
5850
5819
|
]),
|
|
5851
|
-
|
|
5852
|
-
|
|
5853
|
-
|
|
5854
|
-
|
|
5855
|
-
|
|
5856
|
-
|
|
5857
|
-
|
|
5858
|
-
|
|
5859
|
-
|
|
5860
|
-
|
|
5861
|
-
|
|
5862
|
-
|
|
5863
|
-
|
|
5864
|
-
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
|
|
5868
|
-
|
|
5869
|
-
|
|
5870
|
-
|
|
5871
|
-
|
|
5872
|
-
|
|
5873
|
-
|
|
5874
|
-
|
|
5875
|
-
|
|
5876
|
-
|
|
5877
|
-
|
|
5878
|
-
|
|
5879
|
-
|
|
5880
|
-
|
|
5881
|
-
|
|
5882
|
-
|
|
5883
|
-
|
|
5884
|
-
|
|
5885
|
-
|
|
5886
|
-
|
|
5820
|
+
Schema.Null,
|
|
5821
|
+
]),
|
|
5822
|
+
),
|
|
5823
|
+
vanityNameServers: Schema.optional(
|
|
5824
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
5825
|
+
),
|
|
5826
|
+
verificationKey: Schema.optional(
|
|
5827
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
5828
|
+
),
|
|
5829
|
+
})
|
|
5830
|
+
.pipe(
|
|
5831
|
+
Schema.encodeKeys({
|
|
5832
|
+
id: "id",
|
|
5833
|
+
account: "account",
|
|
5834
|
+
activatedOn: "activated_on",
|
|
5835
|
+
createdOn: "created_on",
|
|
5836
|
+
developmentMode: "development_mode",
|
|
5837
|
+
meta: "meta",
|
|
5838
|
+
modifiedOn: "modified_on",
|
|
5839
|
+
name: "name",
|
|
5840
|
+
nameServers: "name_servers",
|
|
5841
|
+
originalDnshost: "original_dnshost",
|
|
5842
|
+
originalNameServers: "original_name_servers",
|
|
5843
|
+
originalRegistrar: "original_registrar",
|
|
5844
|
+
owner: "owner",
|
|
5845
|
+
plan: "plan",
|
|
5846
|
+
cnameSuffix: "cname_suffix",
|
|
5847
|
+
paused: "paused",
|
|
5848
|
+
permissions: "permissions",
|
|
5849
|
+
status: "status",
|
|
5850
|
+
tenant: "tenant",
|
|
5851
|
+
tenantUnit: "tenant_unit",
|
|
5852
|
+
type: "type",
|
|
5853
|
+
vanityNameServers: "vanity_name_servers",
|
|
5854
|
+
verificationKey: "verification_key",
|
|
5855
|
+
}),
|
|
5856
|
+
)
|
|
5857
|
+
.pipe(T.ResponsePath("result")),
|
|
5887
5858
|
) as unknown as Schema.Codec<CreateZoneResponse>;
|
|
5888
5859
|
|
|
5889
5860
|
export type CreateZoneError =
|
|
@@ -5899,7 +5870,7 @@ export const createZone: API.OperationMethod<
|
|
|
5899
5870
|
CreateZoneResponse,
|
|
5900
5871
|
CreateZoneError,
|
|
5901
5872
|
Credentials | HttpClient.HttpClient
|
|
5902
|
-
> = /*@__PURE__*/
|
|
5873
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
5903
5874
|
input: CreateZoneRequest,
|
|
5904
5875
|
output: CreateZoneResponse,
|
|
5905
5876
|
errors: [
|
|
@@ -5922,7 +5893,7 @@ export interface PatchZoneRequest {
|
|
|
5922
5893
|
vanityNameServers?: string[];
|
|
5923
5894
|
}
|
|
5924
5895
|
|
|
5925
|
-
export const PatchZoneRequest = /*@__PURE__*/
|
|
5896
|
+
export const PatchZoneRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
5926
5897
|
Schema.Struct({
|
|
5927
5898
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
5928
5899
|
paused: Schema.optional(Schema.Boolean),
|
|
@@ -6017,86 +5988,85 @@ export interface PatchZoneResponse {
|
|
|
6017
5988
|
verificationKey?: string | null;
|
|
6018
5989
|
}
|
|
6019
5990
|
|
|
6020
|
-
export const PatchZoneResponse = /*@__PURE__*/
|
|
6021
|
-
(
|
|
6022
|
-
Schema.
|
|
6023
|
-
|
|
6024
|
-
|
|
6025
|
-
|
|
6026
|
-
|
|
6027
|
-
|
|
6028
|
-
|
|
6029
|
-
|
|
6030
|
-
|
|
6031
|
-
|
|
6032
|
-
|
|
6033
|
-
|
|
6034
|
-
|
|
6035
|
-
|
|
6036
|
-
|
|
6037
|
-
|
|
6038
|
-
|
|
6039
|
-
|
|
6040
|
-
|
|
6041
|
-
|
|
6042
|
-
|
|
6043
|
-
|
|
6044
|
-
|
|
6045
|
-
|
|
5991
|
+
export const PatchZoneResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
5992
|
+
Schema.Struct({
|
|
5993
|
+
id: Schema.String,
|
|
5994
|
+
account: Account,
|
|
5995
|
+
activatedOn: Schema.Union([Schema.String, Schema.Null]),
|
|
5996
|
+
createdOn: Schema.String,
|
|
5997
|
+
developmentMode: Schema.Number,
|
|
5998
|
+
meta: Meta,
|
|
5999
|
+
modifiedOn: Schema.String,
|
|
6000
|
+
name: Schema.String,
|
|
6001
|
+
nameServers: Schema.Array(Schema.String),
|
|
6002
|
+
originalDnshost: Schema.Union([Schema.String, Schema.Null]),
|
|
6003
|
+
originalNameServers: Schema.Union([
|
|
6004
|
+
Schema.Array(Schema.String),
|
|
6005
|
+
Schema.Null,
|
|
6006
|
+
]),
|
|
6007
|
+
originalRegistrar: Schema.Union([Schema.String, Schema.Null]),
|
|
6008
|
+
owner: Owner,
|
|
6009
|
+
plan: Plan,
|
|
6010
|
+
cnameSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6011
|
+
paused: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
6012
|
+
permissions: Schema.optional(
|
|
6013
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
6014
|
+
),
|
|
6015
|
+
status: Schema.optional(
|
|
6016
|
+
Schema.Union([
|
|
6046
6017
|
Schema.Union([
|
|
6047
|
-
Schema.
|
|
6048
|
-
|
|
6049
|
-
Schema.String,
|
|
6050
|
-
]),
|
|
6051
|
-
Schema.Null,
|
|
6018
|
+
Schema.Literals(["initializing", "pending", "active", "moved"]),
|
|
6019
|
+
Schema.String,
|
|
6052
6020
|
]),
|
|
6053
|
-
|
|
6054
|
-
|
|
6055
|
-
|
|
6056
|
-
|
|
6021
|
+
Schema.Null,
|
|
6022
|
+
]),
|
|
6023
|
+
),
|
|
6024
|
+
tenant: Schema.optional(Schema.Union([Account, Schema.Null])),
|
|
6025
|
+
tenantUnit: Schema.optional(Schema.Union([TenantUnit, Schema.Null])),
|
|
6026
|
+
type: Schema.optional(
|
|
6027
|
+
Schema.Union([
|
|
6057
6028
|
Schema.Union([
|
|
6058
|
-
Schema.
|
|
6059
|
-
|
|
6060
|
-
Schema.String,
|
|
6061
|
-
]),
|
|
6062
|
-
Schema.Null,
|
|
6029
|
+
Schema.Literals(["full", "partial", "secondary", "internal"]),
|
|
6030
|
+
Schema.String,
|
|
6063
6031
|
]),
|
|
6064
|
-
|
|
6065
|
-
|
|
6066
|
-
|
|
6067
|
-
|
|
6068
|
-
|
|
6069
|
-
|
|
6070
|
-
|
|
6071
|
-
|
|
6072
|
-
|
|
6073
|
-
|
|
6074
|
-
|
|
6075
|
-
|
|
6076
|
-
|
|
6077
|
-
|
|
6078
|
-
|
|
6079
|
-
|
|
6080
|
-
|
|
6081
|
-
|
|
6082
|
-
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
|
-
|
|
6086
|
-
|
|
6087
|
-
|
|
6088
|
-
|
|
6089
|
-
|
|
6090
|
-
|
|
6091
|
-
|
|
6092
|
-
|
|
6093
|
-
|
|
6094
|
-
|
|
6095
|
-
|
|
6096
|
-
|
|
6097
|
-
|
|
6098
|
-
|
|
6099
|
-
|
|
6032
|
+
Schema.Null,
|
|
6033
|
+
]),
|
|
6034
|
+
),
|
|
6035
|
+
vanityNameServers: Schema.optional(
|
|
6036
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
6037
|
+
),
|
|
6038
|
+
verificationKey: Schema.optional(
|
|
6039
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
6040
|
+
),
|
|
6041
|
+
})
|
|
6042
|
+
.pipe(
|
|
6043
|
+
Schema.encodeKeys({
|
|
6044
|
+
id: "id",
|
|
6045
|
+
account: "account",
|
|
6046
|
+
activatedOn: "activated_on",
|
|
6047
|
+
createdOn: "created_on",
|
|
6048
|
+
developmentMode: "development_mode",
|
|
6049
|
+
meta: "meta",
|
|
6050
|
+
modifiedOn: "modified_on",
|
|
6051
|
+
name: "name",
|
|
6052
|
+
nameServers: "name_servers",
|
|
6053
|
+
originalDnshost: "original_dnshost",
|
|
6054
|
+
originalNameServers: "original_name_servers",
|
|
6055
|
+
originalRegistrar: "original_registrar",
|
|
6056
|
+
owner: "owner",
|
|
6057
|
+
plan: "plan",
|
|
6058
|
+
cnameSuffix: "cname_suffix",
|
|
6059
|
+
paused: "paused",
|
|
6060
|
+
permissions: "permissions",
|
|
6061
|
+
status: "status",
|
|
6062
|
+
tenant: "tenant",
|
|
6063
|
+
tenantUnit: "tenant_unit",
|
|
6064
|
+
type: "type",
|
|
6065
|
+
vanityNameServers: "vanity_name_servers",
|
|
6066
|
+
verificationKey: "verification_key",
|
|
6067
|
+
}),
|
|
6068
|
+
)
|
|
6069
|
+
.pipe(T.ResponsePath("result")),
|
|
6100
6070
|
) as unknown as Schema.Codec<PatchZoneResponse>;
|
|
6101
6071
|
|
|
6102
6072
|
export type PatchZoneError = DefaultErrors | InvalidZoneIdentifier;
|
|
@@ -6106,7 +6076,7 @@ export const patchZone: API.OperationMethod<
|
|
|
6106
6076
|
PatchZoneResponse,
|
|
6107
6077
|
PatchZoneError,
|
|
6108
6078
|
Credentials | HttpClient.HttpClient
|
|
6109
|
-
> = /*@__PURE__*/
|
|
6079
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
6110
6080
|
input: PatchZoneRequest,
|
|
6111
6081
|
output: PatchZoneResponse,
|
|
6112
6082
|
errors: [InvalidZoneIdentifier],
|
|
@@ -6117,11 +6087,10 @@ export interface DeleteZoneRequest {
|
|
|
6117
6087
|
zoneId: string;
|
|
6118
6088
|
}
|
|
6119
6089
|
|
|
6120
|
-
export const DeleteZoneRequest = /*@__PURE__*/
|
|
6121
|
-
(
|
|
6122
|
-
Schema.
|
|
6123
|
-
|
|
6124
|
-
}).pipe(T.Http({ method: "DELETE", path: "/zones/{zone_id}" })),
|
|
6090
|
+
export const DeleteZoneRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
6091
|
+
Schema.Struct({
|
|
6092
|
+
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
6093
|
+
}).pipe(T.Http({ method: "DELETE", path: "/zones/{zone_id}" })),
|
|
6125
6094
|
) as unknown as Schema.Codec<DeleteZoneRequest>;
|
|
6126
6095
|
|
|
6127
6096
|
export interface DeleteZoneResponse {
|
|
@@ -6129,11 +6098,10 @@ export interface DeleteZoneResponse {
|
|
|
6129
6098
|
id: string;
|
|
6130
6099
|
}
|
|
6131
6100
|
|
|
6132
|
-
export const DeleteZoneResponse = /*@__PURE__*/
|
|
6133
|
-
(
|
|
6134
|
-
Schema.
|
|
6135
|
-
|
|
6136
|
-
}).pipe(T.ResponsePath("result")),
|
|
6101
|
+
export const DeleteZoneResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
6102
|
+
Schema.Struct({
|
|
6103
|
+
id: Schema.String,
|
|
6104
|
+
}).pipe(T.ResponsePath("result")),
|
|
6137
6105
|
) as unknown as Schema.Codec<DeleteZoneResponse>;
|
|
6138
6106
|
|
|
6139
6107
|
export type DeleteZoneError = DefaultErrors | InvalidZoneIdentifier;
|
|
@@ -6143,7 +6111,7 @@ export const deleteZone: API.OperationMethod<
|
|
|
6143
6111
|
DeleteZoneResponse,
|
|
6144
6112
|
DeleteZoneError,
|
|
6145
6113
|
Credentials | HttpClient.HttpClient
|
|
6146
|
-
> = /*@__PURE__*/
|
|
6114
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
6147
6115
|
input: DeleteZoneRequest,
|
|
6148
6116
|
output: DeleteZoneResponse,
|
|
6149
6117
|
errors: [InvalidZoneIdentifier],
|