@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/lib/services/zones.js
CHANGED
|
@@ -67,10 +67,10 @@ export class ZoneHoldsRequireEnterprise extends T.applyErrorMatchers(Schema.Tagg
|
|
|
67
67
|
},
|
|
68
68
|
]) {
|
|
69
69
|
}
|
|
70
|
-
const Source = /*@__PURE__*/
|
|
70
|
+
const Source = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
71
71
|
pointer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
72
72
|
}));
|
|
73
|
-
const Error2 = /*@__PURE__*/
|
|
73
|
+
const Error2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
74
74
|
code: Schema.Number,
|
|
75
75
|
message: Schema.String,
|
|
76
76
|
documentationUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -81,7 +81,7 @@ const Error2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
81
81
|
documentationUrl: "documentation_url",
|
|
82
82
|
source: "source",
|
|
83
83
|
})));
|
|
84
|
-
const ResultInfo = /*@__PURE__*/
|
|
84
|
+
const ResultInfo = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
85
85
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
86
86
|
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
87
87
|
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -94,11 +94,11 @@ const ResultInfo = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
|
|
|
94
94
|
totalCount: "total_count",
|
|
95
95
|
totalPages: "total_pages",
|
|
96
96
|
})));
|
|
97
|
-
const ListCursor = /*@__PURE__*/
|
|
97
|
+
const ListCursor = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
98
98
|
after: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
99
99
|
before: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
100
100
|
}));
|
|
101
|
-
const Environment = /*@__PURE__*/
|
|
101
|
+
const Environment = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
102
102
|
expression: Schema.String,
|
|
103
103
|
lockedOnDeployment: Schema.Union([Schema.Boolean, Schema.Null]),
|
|
104
104
|
name: Schema.String,
|
|
@@ -115,7 +115,7 @@ const Environment = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Stru
|
|
|
115
115
|
version: "version",
|
|
116
116
|
httpApplicationId: "http_application_id",
|
|
117
117
|
})));
|
|
118
|
-
const ListPlansResponseResult = /*@__PURE__*/
|
|
118
|
+
const ListPlansResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
119
119
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
120
120
|
canSubscribe: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
121
121
|
currency: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -144,7 +144,7 @@ const ListPlansResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
144
144
|
name: "name",
|
|
145
145
|
price: "price",
|
|
146
146
|
})));
|
|
147
|
-
const Component = /*@__PURE__*/
|
|
147
|
+
const Component = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
148
148
|
default: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
149
149
|
name: Schema.optional(Schema.Union([
|
|
150
150
|
Schema.Union([
|
|
@@ -164,7 +164,7 @@ const Component = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
|
|
|
164
164
|
name: "name",
|
|
165
165
|
unitPrice: "unit_price",
|
|
166
166
|
})));
|
|
167
|
-
const GetRatePlanResponseResult = /*@__PURE__*/
|
|
167
|
+
const GetRatePlanResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
168
168
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
169
169
|
components: Schema.optional(Schema.Union([Schema.Array(Component), Schema.Null])),
|
|
170
170
|
currency: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -178,7 +178,7 @@ const GetRatePlanResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
178
178
|
])),
|
|
179
179
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
180
180
|
}));
|
|
181
|
-
const ZeroRTT = /*@__PURE__*/
|
|
181
|
+
const ZeroRTT = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
182
182
|
id: Schema.Literal("0rtt"),
|
|
183
183
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
184
184
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -189,7 +189,7 @@ const ZeroRTT = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
189
189
|
editable: "editable",
|
|
190
190
|
modifiedOn: "modified_on",
|
|
191
191
|
})));
|
|
192
|
-
const AdvancedDDoS = /*@__PURE__*/
|
|
192
|
+
const AdvancedDDoS = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
193
193
|
id: Schema.Literal("advanced_ddos"),
|
|
194
194
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
195
195
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -200,16 +200,16 @@ const AdvancedDDoS = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
200
200
|
editable: "editable",
|
|
201
201
|
modifiedOn: "modified_on",
|
|
202
202
|
})));
|
|
203
|
-
const Value = /*@__PURE__*/
|
|
203
|
+
const Value = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
204
204
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
205
205
|
poolId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
206
206
|
}).pipe(Schema.encodeKeys({ enabled: "enabled", poolId: "pool_id" })));
|
|
207
|
-
const ZonesCacheRulesAegis = /*@__PURE__*/
|
|
207
|
+
const ZonesCacheRulesAegis = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
208
208
|
id: Schema.Literal("aegis"),
|
|
209
209
|
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
210
210
|
value: Schema.optional(Schema.Union([Value, Schema.Null])),
|
|
211
211
|
}).pipe(Schema.encodeKeys({ id: "id", modifiedOn: "modified_on", value: "value" })));
|
|
212
|
-
const AlwaysOnline = /*@__PURE__*/
|
|
212
|
+
const AlwaysOnline = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
213
213
|
id: Schema.Literal("always_online"),
|
|
214
214
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
215
215
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -220,7 +220,7 @@ const AlwaysOnline = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
220
220
|
editable: "editable",
|
|
221
221
|
modifiedOn: "modified_on",
|
|
222
222
|
})));
|
|
223
|
-
const ZonesSchemasAlwaysUseHTTPS = /*@__PURE__*/
|
|
223
|
+
const ZonesSchemasAlwaysUseHTTPS = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
224
224
|
id: Schema.Literal("always_use_https"),
|
|
225
225
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
226
226
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -232,7 +232,7 @@ const ZonesSchemasAlwaysUseHTTPS = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
232
232
|
modifiedOn: "modified_on",
|
|
233
233
|
})));
|
|
234
234
|
const ZonesSchemasAutomaticHTTPSRewrites =
|
|
235
|
-
/*@__PURE__*/
|
|
235
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
236
236
|
id: Schema.Literal("automatic_https_rewrites"),
|
|
237
237
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
238
238
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -243,7 +243,7 @@ const ZonesSchemasAutomaticHTTPSRewrites =
|
|
|
243
243
|
editable: "editable",
|
|
244
244
|
modifiedOn: "modified_on",
|
|
245
245
|
})));
|
|
246
|
-
const Brotli = /*@__PURE__*/
|
|
246
|
+
const Brotli = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
247
247
|
id: Schema.Literal("brotli"),
|
|
248
248
|
value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
|
|
249
249
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -254,7 +254,7 @@ const Brotli = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
254
254
|
editable: "editable",
|
|
255
255
|
modifiedOn: "modified_on",
|
|
256
256
|
})));
|
|
257
|
-
const ZonesSchemasBrowserCacheTTL = /*@__PURE__*/
|
|
257
|
+
const ZonesSchemasBrowserCacheTTL = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
258
258
|
id: Schema.Literal("browser_cache_ttl"),
|
|
259
259
|
value: Schema.Number,
|
|
260
260
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -265,7 +265,7 @@ const ZonesSchemasBrowserCacheTTL = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
265
265
|
editable: "editable",
|
|
266
266
|
modifiedOn: "modified_on",
|
|
267
267
|
})));
|
|
268
|
-
const ZonesSchemasBrowserCheck = /*@__PURE__*/
|
|
268
|
+
const ZonesSchemasBrowserCheck = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
269
269
|
id: Schema.Literal("browser_check"),
|
|
270
270
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
271
271
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -276,7 +276,7 @@ const ZonesSchemasBrowserCheck = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
276
276
|
editable: "editable",
|
|
277
277
|
modifiedOn: "modified_on",
|
|
278
278
|
})));
|
|
279
|
-
const ZonesSchemasCacheLevel = /*@__PURE__*/
|
|
279
|
+
const ZonesSchemasCacheLevel = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
280
280
|
id: Schema.Literal("cache_level"),
|
|
281
281
|
value: Schema.Union([
|
|
282
282
|
Schema.Literals(["aggressive", "basic", "simplified"]),
|
|
@@ -290,7 +290,7 @@ const ZonesSchemasCacheLevel = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
290
290
|
editable: "editable",
|
|
291
291
|
modifiedOn: "modified_on",
|
|
292
292
|
})));
|
|
293
|
-
const ChallengeTTL = /*@__PURE__*/
|
|
293
|
+
const ChallengeTTL = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
294
294
|
id: Schema.Literal("challenge_ttl"),
|
|
295
295
|
value: Schema.Union([
|
|
296
296
|
Schema.Literals([
|
|
@@ -319,7 +319,7 @@ const ChallengeTTL = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
319
319
|
editable: "editable",
|
|
320
320
|
modifiedOn: "modified_on",
|
|
321
321
|
})));
|
|
322
|
-
const ZonesChinaNetworkEnabled = /*@__PURE__*/
|
|
322
|
+
const ZonesChinaNetworkEnabled = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
323
323
|
id: Schema.Literal("china_network_enabled"),
|
|
324
324
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
325
325
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -330,7 +330,7 @@ const ZonesChinaNetworkEnabled = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
330
330
|
editable: "editable",
|
|
331
331
|
modifiedOn: "modified_on",
|
|
332
332
|
})));
|
|
333
|
-
const ZonesContentConverter = /*@__PURE__*/
|
|
333
|
+
const ZonesContentConverter = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
334
334
|
id: Schema.Literal("content_converter"),
|
|
335
335
|
value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
|
|
336
336
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -341,7 +341,7 @@ const ZonesContentConverter = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => S
|
|
|
341
341
|
editable: "editable",
|
|
342
342
|
modifiedOn: "modified_on",
|
|
343
343
|
})));
|
|
344
|
-
const Ciphers = /*@__PURE__*/
|
|
344
|
+
const Ciphers = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
345
345
|
id: Schema.Literal("ciphers"),
|
|
346
346
|
value: Schema.Array(Schema.String),
|
|
347
347
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -352,7 +352,7 @@ const Ciphers = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
352
352
|
editable: "editable",
|
|
353
353
|
modifiedOn: "modified_on",
|
|
354
354
|
})));
|
|
355
|
-
const ZonesCNAMEFlattening = /*@__PURE__*/
|
|
355
|
+
const ZonesCNAMEFlattening = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
356
356
|
id: Schema.Literal("cname_flattening"),
|
|
357
357
|
value: Schema.Union([
|
|
358
358
|
Schema.Literals(["flatten_at_root", "flatten_all"]),
|
|
@@ -366,7 +366,7 @@ const ZonesCNAMEFlattening = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Sc
|
|
|
366
366
|
editable: "editable",
|
|
367
367
|
modifiedOn: "modified_on",
|
|
368
368
|
})));
|
|
369
|
-
const DevelopmentMode = /*@__PURE__*/
|
|
369
|
+
const DevelopmentMode = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
370
370
|
id: Schema.Literal("development_mode"),
|
|
371
371
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
372
372
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -379,7 +379,7 @@ const DevelopmentMode = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.
|
|
|
379
379
|
modifiedOn: "modified_on",
|
|
380
380
|
timeRemaining: "time_remaining",
|
|
381
381
|
})));
|
|
382
|
-
const EarlyHints = /*@__PURE__*/
|
|
382
|
+
const EarlyHints = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
383
383
|
id: Schema.Literal("early_hints"),
|
|
384
384
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
385
385
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -390,7 +390,7 @@ const EarlyHints = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
|
|
|
390
390
|
editable: "editable",
|
|
391
391
|
modifiedOn: "modified_on",
|
|
392
392
|
})));
|
|
393
|
-
const ZonesSchemasEdgeCacheTTL = /*@__PURE__*/
|
|
393
|
+
const ZonesSchemasEdgeCacheTTL = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
394
394
|
id: Schema.Literal("edge_cache_ttl"),
|
|
395
395
|
value: Schema.Union([
|
|
396
396
|
Schema.Literals([
|
|
@@ -426,7 +426,7 @@ const ZonesSchemasEdgeCacheTTL = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
426
426
|
editable: "editable",
|
|
427
427
|
modifiedOn: "modified_on",
|
|
428
428
|
})));
|
|
429
|
-
const ZonesSchemasEmailObfuscation = /*@__PURE__*/
|
|
429
|
+
const ZonesSchemasEmailObfuscation = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
430
430
|
id: Schema.Literal("email_obfuscation"),
|
|
431
431
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
432
432
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -437,7 +437,7 @@ const ZonesSchemasEmailObfuscation = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
437
437
|
editable: "editable",
|
|
438
438
|
modifiedOn: "modified_on",
|
|
439
439
|
})));
|
|
440
|
-
const H2Prioritization = /*@__PURE__*/
|
|
440
|
+
const H2Prioritization = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
441
441
|
id: Schema.Literal("h2_prioritization"),
|
|
442
442
|
value: Schema.Union([
|
|
443
443
|
Schema.Literals(["on", "off", "custom"]),
|
|
@@ -451,7 +451,7 @@ const H2Prioritization = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema
|
|
|
451
451
|
editable: "editable",
|
|
452
452
|
modifiedOn: "modified_on",
|
|
453
453
|
})));
|
|
454
|
-
const HotlinkProtection = /*@__PURE__*/
|
|
454
|
+
const HotlinkProtection = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
455
455
|
id: Schema.Literal("hotlink_protection"),
|
|
456
456
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
457
457
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -462,7 +462,7 @@ const HotlinkProtection = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schem
|
|
|
462
462
|
editable: "editable",
|
|
463
463
|
modifiedOn: "modified_on",
|
|
464
464
|
})));
|
|
465
|
-
const Http2 = /*@__PURE__*/
|
|
465
|
+
const Http2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
466
466
|
id: Schema.Literal("http2"),
|
|
467
467
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
468
468
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -473,7 +473,7 @@ const Http2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
473
473
|
editable: "editable",
|
|
474
474
|
modifiedOn: "modified_on",
|
|
475
475
|
})));
|
|
476
|
-
const Http3 = /*@__PURE__*/
|
|
476
|
+
const Http3 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
477
477
|
id: Schema.Literal("http3"),
|
|
478
478
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
479
479
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -484,7 +484,7 @@ const Http3 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
484
484
|
editable: "editable",
|
|
485
485
|
modifiedOn: "modified_on",
|
|
486
486
|
})));
|
|
487
|
-
const ImageResizing = /*@__PURE__*/
|
|
487
|
+
const ImageResizing = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
488
488
|
id: Schema.Literal("image_resizing"),
|
|
489
489
|
value: Schema.Union([
|
|
490
490
|
Schema.Literals(["on", "off", "open"]),
|
|
@@ -498,7 +498,7 @@ const ImageResizing = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.St
|
|
|
498
498
|
editable: "editable",
|
|
499
499
|
modifiedOn: "modified_on",
|
|
500
500
|
})));
|
|
501
|
-
const ZonesSchemasIPGeolocation = /*@__PURE__*/
|
|
501
|
+
const ZonesSchemasIPGeolocation = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
502
502
|
id: Schema.Literal("ip_geolocation"),
|
|
503
503
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
504
504
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -509,7 +509,7 @@ const ZonesSchemasIPGeolocation = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
509
509
|
editable: "editable",
|
|
510
510
|
modifiedOn: "modified_on",
|
|
511
511
|
})));
|
|
512
|
-
const Ipv6 = /*@__PURE__*/
|
|
512
|
+
const Ipv6 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
513
513
|
id: Schema.Literal("ipv6"),
|
|
514
514
|
value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
|
|
515
515
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -520,7 +520,7 @@ const Ipv6 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
520
520
|
editable: "editable",
|
|
521
521
|
modifiedOn: "modified_on",
|
|
522
522
|
})));
|
|
523
|
-
const ZonesMaxUpload = /*@__PURE__*/
|
|
523
|
+
const ZonesMaxUpload = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
524
524
|
id: Schema.Literal("max_upload"),
|
|
525
525
|
value: Schema.Union([
|
|
526
526
|
Schema.Literals([
|
|
@@ -553,7 +553,7 @@ const ZonesMaxUpload = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.S
|
|
|
553
553
|
editable: "editable",
|
|
554
554
|
modifiedOn: "modified_on",
|
|
555
555
|
})));
|
|
556
|
-
const MinTLSVersion = /*@__PURE__*/
|
|
556
|
+
const MinTLSVersion = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
557
557
|
id: Schema.Literal("min_tls_version"),
|
|
558
558
|
value: Schema.Union([
|
|
559
559
|
Schema.Literals(["1.0", "1.1", "1.2", "1.3"]),
|
|
@@ -567,7 +567,7 @@ const MinTLSVersion = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.St
|
|
|
567
567
|
editable: "editable",
|
|
568
568
|
modifiedOn: "modified_on",
|
|
569
569
|
})));
|
|
570
|
-
const ZonesSchemasMirage = /*@__PURE__*/
|
|
570
|
+
const ZonesSchemasMirage = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
571
571
|
id: Schema.Literal("mirage"),
|
|
572
572
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
573
573
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -578,10 +578,10 @@ const ZonesSchemasMirage = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Sche
|
|
|
578
578
|
editable: "editable",
|
|
579
579
|
modifiedOn: "modified_on",
|
|
580
580
|
})));
|
|
581
|
-
const Value2 = /*@__PURE__*/
|
|
581
|
+
const Value2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
582
582
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
583
583
|
}));
|
|
584
|
-
const Nel = /*@__PURE__*/
|
|
584
|
+
const Nel = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
585
585
|
id: Schema.Literal("nel"),
|
|
586
586
|
value: Value2,
|
|
587
587
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -593,7 +593,7 @@ const Nel = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
593
593
|
modifiedOn: "modified_on",
|
|
594
594
|
})));
|
|
595
595
|
const ZonesSchemasOpportunisticEncryption =
|
|
596
|
-
/*@__PURE__*/
|
|
596
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
597
597
|
id: Schema.Literal("opportunistic_encryption"),
|
|
598
598
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
599
599
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -604,7 +604,7 @@ const ZonesSchemasOpportunisticEncryption =
|
|
|
604
604
|
editable: "editable",
|
|
605
605
|
modifiedOn: "modified_on",
|
|
606
606
|
})));
|
|
607
|
-
const OpportunisticOnion = /*@__PURE__*/
|
|
607
|
+
const OpportunisticOnion = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
608
608
|
id: Schema.Literal("opportunistic_onion"),
|
|
609
609
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
610
610
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -615,7 +615,7 @@ const OpportunisticOnion = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Sche
|
|
|
615
615
|
editable: "editable",
|
|
616
616
|
modifiedOn: "modified_on",
|
|
617
617
|
})));
|
|
618
|
-
const OrangeToOrange = /*@__PURE__*/
|
|
618
|
+
const OrangeToOrange = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
619
619
|
id: Schema.Literal("orange_to_orange"),
|
|
620
620
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
621
621
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -627,7 +627,7 @@ const OrangeToOrange = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.S
|
|
|
627
627
|
modifiedOn: "modified_on",
|
|
628
628
|
})));
|
|
629
629
|
const ZonesSchemasOriginErrorPagePassThru =
|
|
630
|
-
/*@__PURE__*/
|
|
630
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
631
631
|
id: Schema.Literal("origin_error_page_pass_thru"),
|
|
632
632
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
633
633
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -639,7 +639,7 @@ const ZonesSchemasOriginErrorPagePassThru =
|
|
|
639
639
|
modifiedOn: "modified_on",
|
|
640
640
|
})));
|
|
641
641
|
const ZonesCacheRulesOriginH2MaxStreams =
|
|
642
|
-
/*@__PURE__*/
|
|
642
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
643
643
|
id: Schema.Literal("origin_h2_max_streams"),
|
|
644
644
|
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
645
645
|
value: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -649,7 +649,7 @@ const ZonesCacheRulesOriginH2MaxStreams =
|
|
|
649
649
|
value: "value",
|
|
650
650
|
})));
|
|
651
651
|
const ZonesCacheRulesOriginMaxHTTPVersion =
|
|
652
|
-
/*@__PURE__*/
|
|
652
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
653
653
|
id: Schema.Literal("origin_max_http_version"),
|
|
654
654
|
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
655
655
|
value: Schema.optional(Schema.Union([
|
|
@@ -661,7 +661,7 @@ const ZonesCacheRulesOriginMaxHTTPVersion =
|
|
|
661
661
|
modifiedOn: "modified_on",
|
|
662
662
|
value: "value",
|
|
663
663
|
})));
|
|
664
|
-
const ZonesSchemasPolish = /*@__PURE__*/
|
|
664
|
+
const ZonesSchemasPolish = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
665
665
|
id: Schema.Literal("polish"),
|
|
666
666
|
value: Schema.Union([
|
|
667
667
|
Schema.Literals(["off", "lossless", "lossy"]),
|
|
@@ -675,7 +675,7 @@ const ZonesSchemasPolish = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Sche
|
|
|
675
675
|
editable: "editable",
|
|
676
676
|
modifiedOn: "modified_on",
|
|
677
677
|
})));
|
|
678
|
-
const PrefetchPreload = /*@__PURE__*/
|
|
678
|
+
const PrefetchPreload = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
679
679
|
id: Schema.Literal("prefetch_preload"),
|
|
680
680
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
681
681
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -686,7 +686,7 @@ const PrefetchPreload = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.
|
|
|
686
686
|
editable: "editable",
|
|
687
687
|
modifiedOn: "modified_on",
|
|
688
688
|
})));
|
|
689
|
-
const ZonesPrivacyPass = /*@__PURE__*/
|
|
689
|
+
const ZonesPrivacyPass = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
690
690
|
id: Schema.Literal("privacy_pass"),
|
|
691
691
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
692
692
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -697,7 +697,7 @@ const ZonesPrivacyPass = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema
|
|
|
697
697
|
editable: "editable",
|
|
698
698
|
modifiedOn: "modified_on",
|
|
699
699
|
})));
|
|
700
|
-
const ProxyReadTimeout = /*@__PURE__*/
|
|
700
|
+
const ProxyReadTimeout = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
701
701
|
id: Schema.Literal("proxy_read_timeout"),
|
|
702
702
|
value: Schema.Number,
|
|
703
703
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -708,7 +708,7 @@ const ProxyReadTimeout = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema
|
|
|
708
708
|
editable: "editable",
|
|
709
709
|
modifiedOn: "modified_on",
|
|
710
710
|
})));
|
|
711
|
-
const PseudoIPV4 = /*@__PURE__*/
|
|
711
|
+
const PseudoIPV4 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
712
712
|
id: Schema.Literal("pseudo_ipv4"),
|
|
713
713
|
value: Schema.Union([
|
|
714
714
|
Schema.Literals(["off", "add_header", "overwrite_header"]),
|
|
@@ -722,7 +722,7 @@ const PseudoIPV4 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
|
|
|
722
722
|
editable: "editable",
|
|
723
723
|
modifiedOn: "modified_on",
|
|
724
724
|
})));
|
|
725
|
-
const ZonesRedirectsForAITraining = /*@__PURE__*/
|
|
725
|
+
const ZonesRedirectsForAITraining = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
726
726
|
id: Schema.Literal("redirects_for_ai_training"),
|
|
727
727
|
value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
|
|
728
728
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -733,7 +733,7 @@ const ZonesRedirectsForAITraining = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
733
733
|
editable: "editable",
|
|
734
734
|
modifiedOn: "modified_on",
|
|
735
735
|
})));
|
|
736
|
-
const ZonesReplaceInsecureJS = /*@__PURE__*/
|
|
736
|
+
const ZonesReplaceInsecureJS = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
737
737
|
id: Schema.Literal("replace_insecure_js"),
|
|
738
738
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
739
739
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -745,7 +745,7 @@ const ZonesReplaceInsecureJS = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
745
745
|
modifiedOn: "modified_on",
|
|
746
746
|
})));
|
|
747
747
|
const ZonesSchemasResponseBuffering =
|
|
748
|
-
/*@__PURE__*/
|
|
748
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
749
749
|
id: Schema.Literal("response_buffering"),
|
|
750
750
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
751
751
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -756,7 +756,7 @@ const ZonesSchemasResponseBuffering =
|
|
|
756
756
|
editable: "editable",
|
|
757
757
|
modifiedOn: "modified_on",
|
|
758
758
|
})));
|
|
759
|
-
const ZonesSchemasRocketLoader = /*@__PURE__*/
|
|
759
|
+
const ZonesSchemasRocketLoader = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
760
760
|
id: Schema.Literal("rocket_loader"),
|
|
761
761
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
762
762
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -768,7 +768,7 @@ const ZonesSchemasRocketLoader = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
768
768
|
modifiedOn: "modified_on",
|
|
769
769
|
})));
|
|
770
770
|
const AutomaticPlatformOptimization =
|
|
771
|
-
/*@__PURE__*/
|
|
771
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
772
772
|
cacheByDeviceType: Schema.Boolean,
|
|
773
773
|
cf: Schema.Boolean,
|
|
774
774
|
enabled: Schema.Boolean,
|
|
@@ -784,7 +784,7 @@ const AutomaticPlatformOptimization =
|
|
|
784
784
|
wpPlugin: "wp_plugin",
|
|
785
785
|
})));
|
|
786
786
|
const ZonesSchemasAutomaticPlatformOptimization =
|
|
787
|
-
/*@__PURE__*/
|
|
787
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
788
788
|
id: Schema.Literal("automatic_platform_optimization"),
|
|
789
789
|
value: AutomaticPlatformOptimization,
|
|
790
790
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -795,7 +795,7 @@ const ZonesSchemasAutomaticPlatformOptimization =
|
|
|
795
795
|
editable: "editable",
|
|
796
796
|
modifiedOn: "modified_on",
|
|
797
797
|
})));
|
|
798
|
-
const ZonesSearchForAgents = /*@__PURE__*/
|
|
798
|
+
const ZonesSearchForAgents = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
799
799
|
id: Schema.Literal("search_for_agents"),
|
|
800
800
|
value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
|
|
801
801
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -806,7 +806,7 @@ const ZonesSearchForAgents = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Sc
|
|
|
806
806
|
editable: "editable",
|
|
807
807
|
modifiedOn: "modified_on",
|
|
808
808
|
})));
|
|
809
|
-
const StrictTransportSecurity = /*@__PURE__*/
|
|
809
|
+
const StrictTransportSecurity = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
810
810
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
811
811
|
includeSubdomains: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
812
812
|
maxAge: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -819,10 +819,10 @@ const StrictTransportSecurity = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
819
819
|
nosniff: "nosniff",
|
|
820
820
|
preload: "preload",
|
|
821
821
|
})));
|
|
822
|
-
const Value3 = /*@__PURE__*/
|
|
822
|
+
const Value3 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
823
823
|
strictTransportSecurity: Schema.optional(Schema.Union([StrictTransportSecurity, Schema.Null])),
|
|
824
824
|
}).pipe(Schema.encodeKeys({ strictTransportSecurity: "strict_transport_security" })));
|
|
825
|
-
const SecurityHeaders = /*@__PURE__*/
|
|
825
|
+
const SecurityHeaders = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
826
826
|
id: Schema.Literal("security_header"),
|
|
827
827
|
value: Value3,
|
|
828
828
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -833,7 +833,7 @@ const SecurityHeaders = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.
|
|
|
833
833
|
editable: "editable",
|
|
834
834
|
modifiedOn: "modified_on",
|
|
835
835
|
})));
|
|
836
|
-
const ZonesSchemasSecurityLevel = /*@__PURE__*/
|
|
836
|
+
const ZonesSchemasSecurityLevel = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
837
837
|
id: Schema.Literal("security_level"),
|
|
838
838
|
value: Schema.Union([
|
|
839
839
|
Schema.Literals([
|
|
@@ -854,7 +854,7 @@ const ZonesSchemasSecurityLevel = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
854
854
|
editable: "editable",
|
|
855
855
|
modifiedOn: "modified_on",
|
|
856
856
|
})));
|
|
857
|
-
const ServerSideExcludes = /*@__PURE__*/
|
|
857
|
+
const ServerSideExcludes = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
858
858
|
id: Schema.Literal("server_side_exclude"),
|
|
859
859
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
860
860
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -865,7 +865,7 @@ const ServerSideExcludes = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Sche
|
|
|
865
865
|
editable: "editable",
|
|
866
866
|
modifiedOn: "modified_on",
|
|
867
867
|
})));
|
|
868
|
-
const ZonesSha1Support = /*@__PURE__*/
|
|
868
|
+
const ZonesSha1Support = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
869
869
|
id: Schema.Literal("sha1_support"),
|
|
870
870
|
value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
|
|
871
871
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -877,7 +877,7 @@ const ZonesSha1Support = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema
|
|
|
877
877
|
modifiedOn: "modified_on",
|
|
878
878
|
})));
|
|
879
879
|
const ZonesSchemasSortQueryStringForCache =
|
|
880
|
-
/*@__PURE__*/
|
|
880
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
881
881
|
id: Schema.Literal("sort_query_string_for_cache"),
|
|
882
882
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
883
883
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -888,7 +888,7 @@ const ZonesSchemasSortQueryStringForCache =
|
|
|
888
888
|
editable: "editable",
|
|
889
889
|
modifiedOn: "modified_on",
|
|
890
890
|
})));
|
|
891
|
-
const ZonesSchemasSSL = /*@__PURE__*/
|
|
891
|
+
const ZonesSchemasSSL = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
892
892
|
id: Schema.Literal("ssl"),
|
|
893
893
|
value: Schema.Union([
|
|
894
894
|
Schema.Literals(["off", "flexible", "full", "strict"]),
|
|
@@ -902,11 +902,11 @@ const ZonesSchemasSSL = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.
|
|
|
902
902
|
editable: "editable",
|
|
903
903
|
modifiedOn: "modified_on",
|
|
904
904
|
})));
|
|
905
|
-
const Sslrecommender = /*@__PURE__*/
|
|
905
|
+
const Sslrecommender = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
906
906
|
id: Schema.optional(Schema.Union([Schema.Literal("ssl_recommender"), Schema.Null])),
|
|
907
907
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
908
908
|
}));
|
|
909
|
-
const ZonesTLS12Only = /*@__PURE__*/
|
|
909
|
+
const ZonesTLS12Only = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
910
910
|
id: Schema.Literal("tls_1_2_only"),
|
|
911
911
|
value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
|
|
912
912
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -917,7 +917,7 @@ const ZonesTLS12Only = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.S
|
|
|
917
917
|
editable: "editable",
|
|
918
918
|
modifiedOn: "modified_on",
|
|
919
919
|
})));
|
|
920
|
-
const Tls13 = /*@__PURE__*/
|
|
920
|
+
const Tls13 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
921
921
|
id: Schema.Literal("tls_1_3"),
|
|
922
922
|
value: Schema.Union([Schema.Literals(["on", "off", "zrt"]), Schema.String]),
|
|
923
923
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -928,7 +928,7 @@ const Tls13 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
928
928
|
editable: "editable",
|
|
929
929
|
modifiedOn: "modified_on",
|
|
930
930
|
})));
|
|
931
|
-
const TlsclientAuth = /*@__PURE__*/
|
|
931
|
+
const TlsclientAuth = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
932
932
|
id: Schema.Literal("tls_client_auth"),
|
|
933
933
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
934
934
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -939,7 +939,7 @@ const TlsclientAuth = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.St
|
|
|
939
939
|
editable: "editable",
|
|
940
940
|
modifiedOn: "modified_on",
|
|
941
941
|
})));
|
|
942
|
-
const ZonesTransformations = /*@__PURE__*/
|
|
942
|
+
const ZonesTransformations = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
943
943
|
id: Schema.Literal("transformations"),
|
|
944
944
|
value: Schema.Union([
|
|
945
945
|
Schema.Literals(["on", "off", "open"]),
|
|
@@ -954,7 +954,7 @@ const ZonesTransformations = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Sc
|
|
|
954
954
|
modifiedOn: "modified_on",
|
|
955
955
|
})));
|
|
956
956
|
const ZonesTransformationsAllowedOrigins =
|
|
957
|
-
/*@__PURE__*/
|
|
957
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
958
958
|
id: Schema.Literal("transformations_allowed_origins"),
|
|
959
959
|
value: Schema.String,
|
|
960
960
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -966,7 +966,7 @@ const ZonesTransformationsAllowedOrigins =
|
|
|
966
966
|
modifiedOn: "modified_on",
|
|
967
967
|
})));
|
|
968
968
|
const ZonesSchemasTrueClientIPHeader =
|
|
969
|
-
/*@__PURE__*/
|
|
969
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
970
970
|
id: Schema.Literal("true_client_ip_header"),
|
|
971
971
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
972
972
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -977,7 +977,7 @@ const ZonesSchemasTrueClientIPHeader =
|
|
|
977
977
|
editable: "editable",
|
|
978
978
|
modifiedOn: "modified_on",
|
|
979
979
|
})));
|
|
980
|
-
const ZonesSchemasWAF = /*@__PURE__*/
|
|
980
|
+
const ZonesSchemasWAF = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
981
981
|
id: Schema.Literal("waf"),
|
|
982
982
|
value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
|
|
983
983
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -988,7 +988,7 @@ const ZonesSchemasWAF = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.
|
|
|
988
988
|
editable: "editable",
|
|
989
989
|
modifiedOn: "modified_on",
|
|
990
990
|
})));
|
|
991
|
-
const WebP = /*@__PURE__*/
|
|
991
|
+
const WebP = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
992
992
|
id: Schema.Literal("webp"),
|
|
993
993
|
value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
|
|
994
994
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -999,7 +999,7 @@ const WebP = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
999
999
|
editable: "editable",
|
|
1000
1000
|
modifiedOn: "modified_on",
|
|
1001
1001
|
})));
|
|
1002
|
-
const Websocket = /*@__PURE__*/
|
|
1002
|
+
const Websocket = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1003
1003
|
id: Schema.Literal("websockets"),
|
|
1004
1004
|
value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
|
|
1005
1005
|
editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -1010,7 +1010,7 @@ const Websocket = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
|
|
|
1010
1010
|
editable: "editable",
|
|
1011
1011
|
modifiedOn: "modified_on",
|
|
1012
1012
|
})));
|
|
1013
|
-
const RatePlan = /*@__PURE__*/
|
|
1013
|
+
const RatePlan = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1014
1014
|
id: Schema.optional(Schema.Union([
|
|
1015
1015
|
Schema.Union([
|
|
1016
1016
|
Schema.Literals([
|
|
@@ -1044,11 +1044,11 @@ const RatePlan = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct(
|
|
|
1044
1044
|
scope: "scope",
|
|
1045
1045
|
sets: "sets",
|
|
1046
1046
|
})));
|
|
1047
|
-
const Account = /*@__PURE__*/
|
|
1047
|
+
const Account = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1048
1048
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1049
1049
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1050
1050
|
}));
|
|
1051
|
-
const Meta = /*@__PURE__*/
|
|
1051
|
+
const Meta = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1052
1052
|
cdnOnly: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1053
1053
|
customCertificateQuota: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1054
1054
|
dnsOnly: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -1065,12 +1065,12 @@ const Meta = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
1065
1065
|
phishingDetected: "phishing_detected",
|
|
1066
1066
|
step: "step",
|
|
1067
1067
|
})));
|
|
1068
|
-
const Owner = /*@__PURE__*/
|
|
1068
|
+
const Owner = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1069
1069
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1070
1070
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1071
1071
|
type: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1072
1072
|
}));
|
|
1073
|
-
const Plan = /*@__PURE__*/
|
|
1073
|
+
const Plan = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1074
1074
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1075
1075
|
canSubscribe: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1076
1076
|
currency: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1093,10 +1093,10 @@ const Plan = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
1093
1093
|
name: "name",
|
|
1094
1094
|
price: "price",
|
|
1095
1095
|
})));
|
|
1096
|
-
const TenantUnit = /*@__PURE__*/
|
|
1096
|
+
const TenantUnit = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1097
1097
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1098
1098
|
}));
|
|
1099
|
-
const ListZonesResponseResult = /*@__PURE__*/
|
|
1099
|
+
const ListZonesResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1100
1100
|
id: Schema.String,
|
|
1101
1101
|
account: Account,
|
|
1102
1102
|
activatedOn: Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -1160,7 +1160,7 @@ const ListZonesResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
1160
1160
|
vanityNameServers: "vanity_name_servers",
|
|
1161
1161
|
verificationKey: "verification_key",
|
|
1162
1162
|
})));
|
|
1163
|
-
const ListZonesResponseResultInfo = /*@__PURE__*/
|
|
1163
|
+
const ListZonesResponseResultInfo = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1164
1164
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1165
1165
|
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1166
1166
|
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -1172,52 +1172,52 @@ const ListZonesResponseResultInfo = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
1172
1172
|
totalCount: "total_count",
|
|
1173
1173
|
})));
|
|
1174
1174
|
export const TriggerActivationCheckRequest =
|
|
1175
|
-
/*@__PURE__*/
|
|
1175
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1176
1176
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1177
1177
|
}).pipe(T.Http({ method: "PUT", path: "/zones/{zone_id}/activation_check" })));
|
|
1178
1178
|
export const TriggerActivationCheckResponse =
|
|
1179
|
-
/*@__PURE__*/
|
|
1179
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1180
1180
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1181
1181
|
}).pipe(T.ResponsePath("result")));
|
|
1182
|
-
export const triggerActivationCheck = /*@__PURE__*/
|
|
1182
|
+
export const triggerActivationCheck = /*@__PURE__*/ API.make(() => ({
|
|
1183
1183
|
input: TriggerActivationCheckRequest,
|
|
1184
1184
|
output: TriggerActivationCheckResponse,
|
|
1185
1185
|
errors: [],
|
|
1186
1186
|
}));
|
|
1187
|
-
export const GetCtAlertingRequest = /*@__PURE__*/
|
|
1187
|
+
export const GetCtAlertingRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1188
1188
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1189
1189
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/ct/alerting" })));
|
|
1190
|
-
export const GetCtAlertingResponse = /*@__PURE__*/
|
|
1190
|
+
export const GetCtAlertingResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1191
1191
|
enabled: Schema.Boolean,
|
|
1192
1192
|
emails: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1193
1193
|
}).pipe(T.ResponsePath("result")));
|
|
1194
|
-
export const getCtAlerting = /*@__PURE__*/
|
|
1194
|
+
export const getCtAlerting = /*@__PURE__*/ API.make(() => ({
|
|
1195
1195
|
input: GetCtAlertingRequest,
|
|
1196
1196
|
output: GetCtAlertingResponse,
|
|
1197
1197
|
errors: [],
|
|
1198
1198
|
}));
|
|
1199
1199
|
export const PatchCtAlertingRequest =
|
|
1200
|
-
/*@__PURE__*/
|
|
1200
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1201
1201
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1202
1202
|
enabled: Schema.Boolean,
|
|
1203
1203
|
emails: Schema.optional(Schema.Array(Schema.String)),
|
|
1204
1204
|
}).pipe(T.Http({ method: "PATCH", path: "/zones/{zone_id}/ct/alerting" })));
|
|
1205
1205
|
export const PatchCtAlertingResponse =
|
|
1206
|
-
/*@__PURE__*/
|
|
1206
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1207
1207
|
enabled: Schema.Boolean,
|
|
1208
1208
|
emails: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1209
1209
|
}).pipe(T.ResponsePath("result")));
|
|
1210
|
-
export const patchCtAlerting = /*@__PURE__*/
|
|
1210
|
+
export const patchCtAlerting = /*@__PURE__*/ API.make(() => ({
|
|
1211
1211
|
input: PatchCtAlertingRequest,
|
|
1212
1212
|
output: PatchCtAlertingResponse,
|
|
1213
1213
|
errors: [],
|
|
1214
1214
|
}));
|
|
1215
1215
|
export const GetCustomNameserverRequest =
|
|
1216
|
-
/*@__PURE__*/
|
|
1216
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1217
1217
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1218
1218
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/custom_ns" })));
|
|
1219
1219
|
export const GetCustomNameserverResponse =
|
|
1220
|
-
/*@__PURE__*/
|
|
1220
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1221
1221
|
errors: Schema.optional(Schema.Union([Schema.Array(Error2), Schema.Null])),
|
|
1222
1222
|
messages: Schema.optional(Schema.Union([Schema.Array(Error2), Schema.Null])),
|
|
1223
1223
|
success: Schema.optional(Schema.Union([Schema.Literal(true), Schema.Null])),
|
|
@@ -1234,22 +1234,22 @@ export const GetCustomNameserverResponse =
|
|
|
1234
1234
|
resultInfo: "result_info",
|
|
1235
1235
|
}))
|
|
1236
1236
|
.pipe(T.ResponsePath("result")));
|
|
1237
|
-
export const getCustomNameserver = /*@__PURE__*/
|
|
1237
|
+
export const getCustomNameserver = /*@__PURE__*/ API.make(() => ({
|
|
1238
1238
|
input: GetCustomNameserverRequest,
|
|
1239
1239
|
output: GetCustomNameserverResponse,
|
|
1240
1240
|
errors: [InvalidZoneIdentifier, Forbidden],
|
|
1241
1241
|
}));
|
|
1242
1242
|
export const PutCustomNameserverRequest =
|
|
1243
|
-
/*@__PURE__*/
|
|
1243
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1244
1244
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1245
1245
|
enabled: Schema.optional(Schema.Boolean),
|
|
1246
1246
|
nsSet: Schema.optional(Schema.Number),
|
|
1247
1247
|
}).pipe(Schema.encodeKeys({ enabled: "enabled", nsSet: "ns_set" }), T.Http({ method: "PUT", path: "/zones/{zone_id}/custom_ns" })));
|
|
1248
1248
|
export const PutCustomNameserverResponse =
|
|
1249
|
-
/*@__PURE__*/
|
|
1249
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1250
1250
|
result: Schema.Unknown,
|
|
1251
1251
|
}));
|
|
1252
|
-
export const putCustomNameserver = /*@__PURE__*/
|
|
1252
|
+
export const putCustomNameserver = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1253
1253
|
input: PutCustomNameserverRequest,
|
|
1254
1254
|
output: PutCustomNameserverResponse,
|
|
1255
1255
|
errors: [InvalidZoneIdentifier, CustomNameserverSetNotFound, Forbidden],
|
|
@@ -1259,62 +1259,62 @@ export const putCustomNameserver = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated
|
|
|
1259
1259
|
},
|
|
1260
1260
|
}));
|
|
1261
1261
|
export const ListEnvironmentsRequest =
|
|
1262
|
-
/*@__PURE__*/
|
|
1262
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1263
1263
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1264
1264
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/environments" })));
|
|
1265
1265
|
export const ListEnvironmentsResponse =
|
|
1266
|
-
/*@__PURE__*/
|
|
1266
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1267
1267
|
environments: Schema.Array(Environment),
|
|
1268
1268
|
}).pipe(T.ResponsePath("result")));
|
|
1269
|
-
export const listEnvironments = /*@__PURE__*/
|
|
1269
|
+
export const listEnvironments = /*@__PURE__*/ API.make(() => ({
|
|
1270
1270
|
input: ListEnvironmentsRequest,
|
|
1271
1271
|
output: ListEnvironmentsResponse,
|
|
1272
1272
|
errors: [],
|
|
1273
1273
|
}));
|
|
1274
1274
|
export const CreateEnvironmentRequest =
|
|
1275
|
-
/*@__PURE__*/
|
|
1275
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1276
1276
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1277
1277
|
environments: Schema.Array(Environment),
|
|
1278
1278
|
}).pipe(T.Http({ method: "POST", path: "/zones/{zone_id}/environments" })));
|
|
1279
1279
|
export const CreateEnvironmentResponse =
|
|
1280
|
-
/*@__PURE__*/
|
|
1280
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1281
1281
|
environments: Schema.Array(Environment),
|
|
1282
1282
|
}).pipe(T.ResponsePath("result")));
|
|
1283
|
-
export const createEnvironment = /*@__PURE__*/
|
|
1283
|
+
export const createEnvironment = /*@__PURE__*/ API.make(() => ({
|
|
1284
1284
|
input: CreateEnvironmentRequest,
|
|
1285
1285
|
output: CreateEnvironmentResponse,
|
|
1286
1286
|
errors: [],
|
|
1287
1287
|
}));
|
|
1288
1288
|
export const UpdateEnvironmentRequest =
|
|
1289
|
-
/*@__PURE__*/
|
|
1289
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1290
1290
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1291
1291
|
environments: Schema.Array(Environment),
|
|
1292
1292
|
}).pipe(T.Http({ method: "PUT", path: "/zones/{zone_id}/environments" })));
|
|
1293
1293
|
export const UpdateEnvironmentResponse =
|
|
1294
|
-
/*@__PURE__*/
|
|
1294
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1295
1295
|
environments: Schema.Array(Environment),
|
|
1296
1296
|
}).pipe(T.ResponsePath("result")));
|
|
1297
|
-
export const updateEnvironment = /*@__PURE__*/
|
|
1297
|
+
export const updateEnvironment = /*@__PURE__*/ API.make(() => ({
|
|
1298
1298
|
input: UpdateEnvironmentRequest,
|
|
1299
1299
|
output: UpdateEnvironmentResponse,
|
|
1300
1300
|
errors: [],
|
|
1301
1301
|
}));
|
|
1302
1302
|
export const PatchEnvironmentRequest =
|
|
1303
|
-
/*@__PURE__*/
|
|
1303
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1304
1304
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1305
1305
|
environments: Schema.Array(Environment),
|
|
1306
1306
|
}).pipe(T.Http({ method: "PATCH", path: "/zones/{zone_id}/environments" })));
|
|
1307
1307
|
export const PatchEnvironmentResponse =
|
|
1308
|
-
/*@__PURE__*/
|
|
1308
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1309
1309
|
environments: Schema.Array(Environment),
|
|
1310
1310
|
}).pipe(T.ResponsePath("result")));
|
|
1311
|
-
export const patchEnvironment = /*@__PURE__*/
|
|
1311
|
+
export const patchEnvironment = /*@__PURE__*/ API.make(() => ({
|
|
1312
1312
|
input: PatchEnvironmentRequest,
|
|
1313
1313
|
output: PatchEnvironmentResponse,
|
|
1314
1314
|
errors: [],
|
|
1315
1315
|
}));
|
|
1316
1316
|
export const DeleteEnvironmentRequest =
|
|
1317
|
-
/*@__PURE__*/
|
|
1317
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1318
1318
|
environmentId: Schema.String.pipe(T.HttpPath("environmentId")),
|
|
1319
1319
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1320
1320
|
}).pipe(T.Http({
|
|
@@ -1322,16 +1322,16 @@ export const DeleteEnvironmentRequest =
|
|
|
1322
1322
|
path: "/zones/{zone_id}/environments/{environmentId}",
|
|
1323
1323
|
})));
|
|
1324
1324
|
export const DeleteEnvironmentResponse =
|
|
1325
|
-
/*@__PURE__*/
|
|
1325
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1326
1326
|
environments: Schema.Array(Environment),
|
|
1327
1327
|
}).pipe(T.ResponsePath("result")));
|
|
1328
|
-
export const deleteEnvironment = /*@__PURE__*/
|
|
1328
|
+
export const deleteEnvironment = /*@__PURE__*/ API.make(() => ({
|
|
1329
1329
|
input: DeleteEnvironmentRequest,
|
|
1330
1330
|
output: DeleteEnvironmentResponse,
|
|
1331
1331
|
errors: [],
|
|
1332
1332
|
}));
|
|
1333
1333
|
export const RollbackEnvironmentRequest =
|
|
1334
|
-
/*@__PURE__*/
|
|
1334
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1335
1335
|
environmentId: Schema.String.pipe(T.HttpPath("environmentId")),
|
|
1336
1336
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1337
1337
|
}).pipe(T.Http({
|
|
@@ -1339,18 +1339,18 @@ export const RollbackEnvironmentRequest =
|
|
|
1339
1339
|
path: "/zones/{zone_id}/environments/{environmentId}/rollback",
|
|
1340
1340
|
})));
|
|
1341
1341
|
export const RollbackEnvironmentResponse =
|
|
1342
|
-
/*@__PURE__*/
|
|
1342
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1343
1343
|
environments: Schema.Array(Environment),
|
|
1344
1344
|
}).pipe(T.ResponsePath("result")));
|
|
1345
|
-
export const rollbackEnvironment = /*@__PURE__*/
|
|
1345
|
+
export const rollbackEnvironment = /*@__PURE__*/ API.make(() => ({
|
|
1346
1346
|
input: RollbackEnvironmentRequest,
|
|
1347
1347
|
output: RollbackEnvironmentResponse,
|
|
1348
1348
|
errors: [],
|
|
1349
1349
|
}));
|
|
1350
|
-
export const GetHoldRequest = /*@__PURE__*/
|
|
1350
|
+
export const GetHoldRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1351
1351
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1352
1352
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/hold" })));
|
|
1353
|
-
export const GetHoldResponse = /*@__PURE__*/
|
|
1353
|
+
export const GetHoldResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1354
1354
|
hold: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1355
1355
|
holdAfter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1356
1356
|
includeSubdomains: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
|
|
@@ -1361,16 +1361,16 @@ export const GetHoldResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
1361
1361
|
includeSubdomains: "include_subdomains",
|
|
1362
1362
|
}))
|
|
1363
1363
|
.pipe(T.ResponsePath("result")));
|
|
1364
|
-
export const getHold = /*@__PURE__*/
|
|
1364
|
+
export const getHold = /*@__PURE__*/ API.make(() => ({
|
|
1365
1365
|
input: GetHoldRequest,
|
|
1366
1366
|
output: GetHoldResponse,
|
|
1367
1367
|
errors: [InvalidZoneIdentifier, Forbidden],
|
|
1368
1368
|
}));
|
|
1369
|
-
export const CreateHoldRequest = /*@__PURE__*/
|
|
1369
|
+
export const CreateHoldRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1370
1370
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1371
1371
|
includeSubdomains: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("include_subdomains")),
|
|
1372
1372
|
}).pipe(T.Http({ method: "POST", path: "/zones/{zone_id}/hold" })));
|
|
1373
|
-
export const CreateHoldResponse = /*@__PURE__*/
|
|
1373
|
+
export const CreateHoldResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1374
1374
|
hold: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1375
1375
|
holdAfter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1376
1376
|
includeSubdomains: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
|
|
@@ -1381,12 +1381,12 @@ export const CreateHoldResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
1381
1381
|
includeSubdomains: "include_subdomains",
|
|
1382
1382
|
}))
|
|
1383
1383
|
.pipe(T.ResponsePath("result")));
|
|
1384
|
-
export const createHold = /*@__PURE__*/
|
|
1384
|
+
export const createHold = /*@__PURE__*/ API.make(() => ({
|
|
1385
1385
|
input: CreateHoldRequest,
|
|
1386
1386
|
output: CreateHoldResponse,
|
|
1387
1387
|
errors: [ZoneHoldsRequireEnterprise, InvalidZoneIdentifier, Forbidden],
|
|
1388
1388
|
}));
|
|
1389
|
-
export const PatchHoldRequest = /*@__PURE__*/
|
|
1389
|
+
export const PatchHoldRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1390
1390
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1391
1391
|
holdAfter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1392
1392
|
includeSubdomains: Schema.optional(Schema.Boolean),
|
|
@@ -1394,7 +1394,7 @@ export const PatchHoldRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
1394
1394
|
holdAfter: "hold_after",
|
|
1395
1395
|
includeSubdomains: "include_subdomains",
|
|
1396
1396
|
}), T.Http({ method: "PATCH", path: "/zones/{zone_id}/hold" })));
|
|
1397
|
-
export const PatchHoldResponse = /*@__PURE__*/
|
|
1397
|
+
export const PatchHoldResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1398
1398
|
hold: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1399
1399
|
holdAfter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1400
1400
|
includeSubdomains: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
|
|
@@ -1405,7 +1405,7 @@ export const PatchHoldResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
1405
1405
|
includeSubdomains: "include_subdomains",
|
|
1406
1406
|
}))
|
|
1407
1407
|
.pipe(T.ResponsePath("result")));
|
|
1408
|
-
export const patchHold = /*@__PURE__*/
|
|
1408
|
+
export const patchHold = /*@__PURE__*/ API.make(() => ({
|
|
1409
1409
|
input: PatchHoldRequest,
|
|
1410
1410
|
output: PatchHoldResponse,
|
|
1411
1411
|
errors: [
|
|
@@ -1415,11 +1415,11 @@ export const patchHold = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
1415
1415
|
Forbidden,
|
|
1416
1416
|
],
|
|
1417
1417
|
}));
|
|
1418
|
-
export const DeleteHoldRequest = /*@__PURE__*/
|
|
1418
|
+
export const DeleteHoldRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1419
1419
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1420
1420
|
holdAfter: Schema.optional(Schema.String).pipe(T.HttpQuery("hold_after")),
|
|
1421
1421
|
}).pipe(T.Http({ method: "DELETE", path: "/zones/{zone_id}/hold" })));
|
|
1422
|
-
export const DeleteHoldResponse = /*@__PURE__*/
|
|
1422
|
+
export const DeleteHoldResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1423
1423
|
hold: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1424
1424
|
holdAfter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1425
1425
|
includeSubdomains: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
|
|
@@ -1430,19 +1430,19 @@ export const DeleteHoldResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
1430
1430
|
includeSubdomains: "include_subdomains",
|
|
1431
1431
|
}))
|
|
1432
1432
|
.pipe(T.ResponsePath("result")));
|
|
1433
|
-
export const deleteHold = /*@__PURE__*/
|
|
1433
|
+
export const deleteHold = /*@__PURE__*/ API.make(() => ({
|
|
1434
1434
|
input: DeleteHoldRequest,
|
|
1435
1435
|
output: DeleteHoldResponse,
|
|
1436
1436
|
errors: [InvalidZoneIdentifier, Forbidden],
|
|
1437
1437
|
}));
|
|
1438
|
-
export const GetPlanRequest = /*@__PURE__*/
|
|
1438
|
+
export const GetPlanRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1439
1439
|
planIdentifier: Schema.String.pipe(T.HttpPath("planIdentifier")),
|
|
1440
1440
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1441
1441
|
}).pipe(T.Http({
|
|
1442
1442
|
method: "GET",
|
|
1443
1443
|
path: "/zones/{zone_id}/available_plans/{planIdentifier}",
|
|
1444
1444
|
})));
|
|
1445
|
-
export const GetPlanResponse = /*@__PURE__*/
|
|
1445
|
+
export const GetPlanResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1446
1446
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1447
1447
|
canSubscribe: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1448
1448
|
currency: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1473,18 +1473,18 @@ export const GetPlanResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
1473
1473
|
price: "price",
|
|
1474
1474
|
}))
|
|
1475
1475
|
.pipe(T.ResponsePath("result")));
|
|
1476
|
-
export const getPlan = /*@__PURE__*/
|
|
1476
|
+
export const getPlan = /*@__PURE__*/ API.make(() => ({
|
|
1477
1477
|
input: GetPlanRequest,
|
|
1478
1478
|
output: GetPlanResponse,
|
|
1479
1479
|
errors: [],
|
|
1480
1480
|
}));
|
|
1481
|
-
export const ListPlansRequest = /*@__PURE__*/
|
|
1481
|
+
export const ListPlansRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1482
1482
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1483
1483
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/available_plans" })));
|
|
1484
|
-
export const ListPlansResponse = /*@__PURE__*/
|
|
1484
|
+
export const ListPlansResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1485
1485
|
result: Schema.Array(ListPlansResponseResult),
|
|
1486
1486
|
}));
|
|
1487
|
-
export const listPlans = /*@__PURE__*/
|
|
1487
|
+
export const listPlans = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1488
1488
|
input: ListPlansRequest,
|
|
1489
1489
|
output: ListPlansResponse,
|
|
1490
1490
|
errors: [],
|
|
@@ -1493,13 +1493,13 @@ export const listPlans = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
|
1493
1493
|
items: "result",
|
|
1494
1494
|
},
|
|
1495
1495
|
}));
|
|
1496
|
-
export const GetRatePlanRequest = /*@__PURE__*/
|
|
1496
|
+
export const GetRatePlanRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1497
1497
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1498
1498
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/available_rate_plans" })));
|
|
1499
|
-
export const GetRatePlanResponse = /*@__PURE__*/
|
|
1499
|
+
export const GetRatePlanResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1500
1500
|
result: Schema.Array(GetRatePlanResponseResult),
|
|
1501
1501
|
}));
|
|
1502
|
-
export const getRatePlan = /*@__PURE__*/
|
|
1502
|
+
export const getRatePlan = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1503
1503
|
input: GetRatePlanRequest,
|
|
1504
1504
|
output: GetRatePlanResponse,
|
|
1505
1505
|
errors: [],
|
|
@@ -1508,11 +1508,11 @@ export const getRatePlan = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => (
|
|
|
1508
1508
|
items: "result",
|
|
1509
1509
|
},
|
|
1510
1510
|
}));
|
|
1511
|
-
export const GetSettingRequest = /*@__PURE__*/
|
|
1511
|
+
export const GetSettingRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1512
1512
|
settingId: Schema.String.pipe(T.HttpPath("settingId")),
|
|
1513
1513
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1514
1514
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/settings/{settingId}" })));
|
|
1515
|
-
export const GetSettingResponse = /*@__PURE__*/
|
|
1515
|
+
export const GetSettingResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Union([
|
|
1516
1516
|
ZeroRTT,
|
|
1517
1517
|
AdvancedDDoS,
|
|
1518
1518
|
AlwaysOnline,
|
|
@@ -1577,12 +1577,12 @@ export const GetSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
1577
1577
|
ZonesCacheRulesOriginMaxHTTPVersion,
|
|
1578
1578
|
Sslrecommender,
|
|
1579
1579
|
]).pipe(T.ResponsePath("result")));
|
|
1580
|
-
export const getSetting = /*@__PURE__*/
|
|
1580
|
+
export const getSetting = /*@__PURE__*/ API.make(() => ({
|
|
1581
1581
|
input: GetSettingRequest,
|
|
1582
1582
|
output: GetSettingResponse,
|
|
1583
1583
|
errors: [InvalidZoneIdentifier, Forbidden],
|
|
1584
1584
|
}));
|
|
1585
|
-
export const PatchSettingRequest = /*@__PURE__*/
|
|
1585
|
+
export const PatchSettingRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1586
1586
|
settingId: Schema.String.pipe(T.HttpPath("settingId")),
|
|
1587
1587
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1588
1588
|
enabled: Schema.optional(Schema.Boolean),
|
|
@@ -1591,7 +1591,7 @@ export const PatchSettingRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
1591
1591
|
method: "PATCH",
|
|
1592
1592
|
path: "/zones/{zone_id}/settings/{settingId}",
|
|
1593
1593
|
})));
|
|
1594
|
-
export const PatchSettingResponse = /*@__PURE__*/
|
|
1594
|
+
export const PatchSettingResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Union([
|
|
1595
1595
|
ZeroRTT,
|
|
1596
1596
|
AdvancedDDoS,
|
|
1597
1597
|
AlwaysOnline,
|
|
@@ -1656,17 +1656,17 @@ export const PatchSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
1656
1656
|
ZonesCacheRulesOriginMaxHTTPVersion,
|
|
1657
1657
|
Sslrecommender,
|
|
1658
1658
|
]).pipe(T.ResponsePath("result")));
|
|
1659
|
-
export const patchSetting = /*@__PURE__*/
|
|
1659
|
+
export const patchSetting = /*@__PURE__*/ API.make(() => ({
|
|
1660
1660
|
input: PatchSettingRequest,
|
|
1661
1661
|
output: PatchSettingResponse,
|
|
1662
1662
|
errors: [InvalidZoneIdentifier, Forbidden],
|
|
1663
1663
|
}));
|
|
1664
1664
|
export const GetSubscriptionRequest =
|
|
1665
|
-
/*@__PURE__*/
|
|
1665
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1666
1666
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1667
1667
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/subscription" })));
|
|
1668
1668
|
export const GetSubscriptionResponse =
|
|
1669
|
-
/*@__PURE__*/
|
|
1669
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1670
1670
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1671
1671
|
currency: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1672
1672
|
currentPeriodEnd: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1713,13 +1713,13 @@ export const GetSubscriptionResponse =
|
|
|
1713
1713
|
state: "state",
|
|
1714
1714
|
}))
|
|
1715
1715
|
.pipe(T.ResponsePath("result")));
|
|
1716
|
-
export const getSubscription = /*@__PURE__*/
|
|
1716
|
+
export const getSubscription = /*@__PURE__*/ API.make(() => ({
|
|
1717
1717
|
input: GetSubscriptionRequest,
|
|
1718
1718
|
output: GetSubscriptionResponse,
|
|
1719
1719
|
errors: [],
|
|
1720
1720
|
}));
|
|
1721
1721
|
export const CreateSubscriptionRequest =
|
|
1722
|
-
/*@__PURE__*/
|
|
1722
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1723
1723
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1724
1724
|
frequency: Schema.optional(Schema.Union([
|
|
1725
1725
|
Schema.Literals(["weekly", "monthly", "quarterly", "yearly"]),
|
|
@@ -1728,7 +1728,7 @@ export const CreateSubscriptionRequest =
|
|
|
1728
1728
|
ratePlan: Schema.optional(RatePlan),
|
|
1729
1729
|
}).pipe(Schema.encodeKeys({ frequency: "frequency", ratePlan: "rate_plan" }), T.Http({ method: "POST", path: "/zones/{zone_id}/subscription" })));
|
|
1730
1730
|
export const CreateSubscriptionResponse =
|
|
1731
|
-
/*@__PURE__*/
|
|
1731
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1732
1732
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1733
1733
|
currency: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1734
1734
|
currentPeriodEnd: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1775,13 +1775,13 @@ export const CreateSubscriptionResponse =
|
|
|
1775
1775
|
state: "state",
|
|
1776
1776
|
}))
|
|
1777
1777
|
.pipe(T.ResponsePath("result")));
|
|
1778
|
-
export const createSubscription = /*@__PURE__*/
|
|
1778
|
+
export const createSubscription = /*@__PURE__*/ API.make(() => ({
|
|
1779
1779
|
input: CreateSubscriptionRequest,
|
|
1780
1780
|
output: CreateSubscriptionResponse,
|
|
1781
1781
|
errors: [],
|
|
1782
1782
|
}));
|
|
1783
1783
|
export const UpdateSubscriptionRequest =
|
|
1784
|
-
/*@__PURE__*/
|
|
1784
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1785
1785
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1786
1786
|
frequency: Schema.optional(Schema.Union([
|
|
1787
1787
|
Schema.Literals(["weekly", "monthly", "quarterly", "yearly"]),
|
|
@@ -1790,7 +1790,7 @@ export const UpdateSubscriptionRequest =
|
|
|
1790
1790
|
ratePlan: Schema.optional(RatePlan),
|
|
1791
1791
|
}).pipe(Schema.encodeKeys({ frequency: "frequency", ratePlan: "rate_plan" }), T.Http({ method: "PUT", path: "/zones/{zone_id}/subscription" })));
|
|
1792
1792
|
export const UpdateSubscriptionResponse =
|
|
1793
|
-
/*@__PURE__*/
|
|
1793
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1794
1794
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1795
1795
|
currency: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1796
1796
|
currentPeriodEnd: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1837,15 +1837,15 @@ export const UpdateSubscriptionResponse =
|
|
|
1837
1837
|
state: "state",
|
|
1838
1838
|
}))
|
|
1839
1839
|
.pipe(T.ResponsePath("result")));
|
|
1840
|
-
export const updateSubscription = /*@__PURE__*/
|
|
1840
|
+
export const updateSubscription = /*@__PURE__*/ API.make(() => ({
|
|
1841
1841
|
input: UpdateSubscriptionRequest,
|
|
1842
1842
|
output: UpdateSubscriptionResponse,
|
|
1843
1843
|
errors: [],
|
|
1844
1844
|
}));
|
|
1845
|
-
export const GetZoneRequest = /*@__PURE__*/
|
|
1845
|
+
export const GetZoneRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1846
1846
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1847
1847
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}" })));
|
|
1848
|
-
export const GetZoneResponse = /*@__PURE__*/
|
|
1848
|
+
export const GetZoneResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1849
1849
|
id: Schema.String,
|
|
1850
1850
|
account: Account,
|
|
1851
1851
|
activatedOn: Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -1911,12 +1911,12 @@ export const GetZoneResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
1911
1911
|
verificationKey: "verification_key",
|
|
1912
1912
|
}))
|
|
1913
1913
|
.pipe(T.ResponsePath("result")));
|
|
1914
|
-
export const getZone = /*@__PURE__*/
|
|
1914
|
+
export const getZone = /*@__PURE__*/ API.make(() => ({
|
|
1915
1915
|
input: GetZoneRequest,
|
|
1916
1916
|
output: GetZoneResponse,
|
|
1917
1917
|
errors: [InvalidZoneIdentifier],
|
|
1918
1918
|
}));
|
|
1919
|
-
export const ListZonesRequest = /*@__PURE__*/
|
|
1919
|
+
export const ListZonesRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1920
1920
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
1921
1921
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
1922
1922
|
account: Schema.optional(Schema.Struct({
|
|
@@ -1945,11 +1945,11 @@ export const ListZonesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
1945
1945
|
Schema.String,
|
|
1946
1946
|
]))).pipe(T.HttpQuery("type")),
|
|
1947
1947
|
}).pipe(T.Http({ method: "GET", path: "/zones" })));
|
|
1948
|
-
export const ListZonesResponse = /*@__PURE__*/
|
|
1948
|
+
export const ListZonesResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1949
1949
|
result: Schema.Array(ListZonesResponseResult),
|
|
1950
1950
|
resultInfo: Schema.optional(Schema.Union([ListZonesResponseResultInfo, Schema.Null])),
|
|
1951
1951
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
1952
|
-
export const listZones = /*@__PURE__*/
|
|
1952
|
+
export const listZones = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1953
1953
|
input: ListZonesRequest,
|
|
1954
1954
|
output: ListZonesResponse,
|
|
1955
1955
|
errors: [],
|
|
@@ -1961,7 +1961,7 @@ export const listZones = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
|
1961
1961
|
pageSize: "perPage",
|
|
1962
1962
|
},
|
|
1963
1963
|
}));
|
|
1964
|
-
export const CreateZoneRequest = /*@__PURE__*/
|
|
1964
|
+
export const CreateZoneRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1965
1965
|
account: TenantUnit,
|
|
1966
1966
|
name: Schema.String,
|
|
1967
1967
|
type: Schema.optional(Schema.Union([
|
|
@@ -1969,7 +1969,7 @@ export const CreateZoneRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
1969
1969
|
Schema.String,
|
|
1970
1970
|
])),
|
|
1971
1971
|
}).pipe(T.Http({ method: "POST", path: "/zones" })));
|
|
1972
|
-
export const CreateZoneResponse = /*@__PURE__*/
|
|
1972
|
+
export const CreateZoneResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1973
1973
|
id: Schema.String,
|
|
1974
1974
|
account: Account,
|
|
1975
1975
|
activatedOn: Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -2035,7 +2035,7 @@ export const CreateZoneResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
2035
2035
|
verificationKey: "verification_key",
|
|
2036
2036
|
}))
|
|
2037
2037
|
.pipe(T.ResponsePath("result")));
|
|
2038
|
-
export const createZone = /*@__PURE__*/
|
|
2038
|
+
export const createZone = /*@__PURE__*/ API.make(() => ({
|
|
2039
2039
|
input: CreateZoneRequest,
|
|
2040
2040
|
output: CreateZoneResponse,
|
|
2041
2041
|
errors: [
|
|
@@ -2046,7 +2046,7 @@ export const createZone = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
2046
2046
|
SubdomainNotAllowed,
|
|
2047
2047
|
],
|
|
2048
2048
|
}));
|
|
2049
|
-
export const PatchZoneRequest = /*@__PURE__*/
|
|
2049
|
+
export const PatchZoneRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2050
2050
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2051
2051
|
paused: Schema.optional(Schema.Boolean),
|
|
2052
2052
|
type: Schema.optional(Schema.Union([
|
|
@@ -2059,7 +2059,7 @@ export const PatchZoneRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
2059
2059
|
type: "type",
|
|
2060
2060
|
vanityNameServers: "vanity_name_servers",
|
|
2061
2061
|
}), T.Http({ method: "PATCH", path: "/zones/{zone_id}" })));
|
|
2062
|
-
export const PatchZoneResponse = /*@__PURE__*/
|
|
2062
|
+
export const PatchZoneResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2063
2063
|
id: Schema.String,
|
|
2064
2064
|
account: Account,
|
|
2065
2065
|
activatedOn: Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -2125,18 +2125,18 @@ export const PatchZoneResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
2125
2125
|
verificationKey: "verification_key",
|
|
2126
2126
|
}))
|
|
2127
2127
|
.pipe(T.ResponsePath("result")));
|
|
2128
|
-
export const patchZone = /*@__PURE__*/
|
|
2128
|
+
export const patchZone = /*@__PURE__*/ API.make(() => ({
|
|
2129
2129
|
input: PatchZoneRequest,
|
|
2130
2130
|
output: PatchZoneResponse,
|
|
2131
2131
|
errors: [InvalidZoneIdentifier],
|
|
2132
2132
|
}));
|
|
2133
|
-
export const DeleteZoneRequest = /*@__PURE__*/
|
|
2133
|
+
export const DeleteZoneRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2134
2134
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2135
2135
|
}).pipe(T.Http({ method: "DELETE", path: "/zones/{zone_id}" })));
|
|
2136
|
-
export const DeleteZoneResponse = /*@__PURE__*/
|
|
2136
|
+
export const DeleteZoneResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2137
2137
|
id: Schema.String,
|
|
2138
2138
|
}).pipe(T.ResponsePath("result")));
|
|
2139
|
-
export const deleteZone = /*@__PURE__*/
|
|
2139
|
+
export const deleteZone = /*@__PURE__*/ API.make(() => ({
|
|
2140
2140
|
input: DeleteZoneRequest,
|
|
2141
2141
|
output: DeleteZoneResponse,
|
|
2142
2142
|
errors: [InvalidZoneIdentifier],
|