@distilled.cloud/cloudflare 0.28.2 → 0.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client/api.d.ts +1 -1
- package/lib/client/api.d.ts.map +1 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/retry.d.ts.map +1 -1
- 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/lib/traits.d.ts.map +1 -1
- package/package.json +10 -9
- 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/dns.js
CHANGED
|
@@ -59,11 +59,11 @@ export class ViewNotFound extends T.applyErrorMatchers(Schema.TaggedErrorClass()
|
|
|
59
59
|
message: Schema.String,
|
|
60
60
|
}), [{ code: 1015 }, { status: 404 }]) {
|
|
61
61
|
}
|
|
62
|
-
const Data = /*@__PURE__*/
|
|
62
|
+
const Data = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
63
63
|
dimensions: Schema.Array(Schema.String),
|
|
64
64
|
metrics: Schema.Array(Schema.Number),
|
|
65
65
|
}));
|
|
66
|
-
const Query = /*@__PURE__*/
|
|
66
|
+
const Query = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
67
67
|
dimensions: Schema.Array(Schema.String),
|
|
68
68
|
limit: Schema.Number,
|
|
69
69
|
metrics: Schema.Array(Schema.String),
|
|
@@ -72,11 +72,11 @@ const Query = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
72
72
|
filters: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
73
73
|
sort: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
74
74
|
}));
|
|
75
|
-
const Data2 = /*@__PURE__*/
|
|
75
|
+
const Data2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
76
76
|
dimensions: Schema.Array(Schema.String),
|
|
77
77
|
metrics: Schema.Array(Schema.Array(Schema.Number)),
|
|
78
78
|
}));
|
|
79
|
-
const Query2 = /*@__PURE__*/
|
|
79
|
+
const Query2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
80
80
|
dimensions: Schema.Array(Schema.String),
|
|
81
81
|
limit: Schema.Number,
|
|
82
82
|
metrics: Schema.Array(Schema.String),
|
|
@@ -109,11 +109,11 @@ const Query2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
109
109
|
filters: "filters",
|
|
110
110
|
sort: "sort",
|
|
111
111
|
})));
|
|
112
|
-
const Settings = /*@__PURE__*/
|
|
112
|
+
const Settings = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
113
113
|
ipv4Only: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
114
114
|
ipv6Only: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
115
115
|
}).pipe(Schema.encodeKeys({ ipv4Only: "ipv4_only", ipv6Only: "ipv6_only" })));
|
|
116
|
-
const A = /*@__PURE__*/
|
|
116
|
+
const A = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
117
117
|
name: Schema.String,
|
|
118
118
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
119
119
|
type: Schema.Literal("A"),
|
|
@@ -148,7 +148,7 @@ const A = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
148
148
|
commentModifiedOn: "comment_modified_on",
|
|
149
149
|
tagsModifiedOn: "tags_modified_on",
|
|
150
150
|
})));
|
|
151
|
-
const Aaaa = /*@__PURE__*/
|
|
151
|
+
const Aaaa = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
152
152
|
name: Schema.String,
|
|
153
153
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
154
154
|
type: Schema.Literal("AAAA"),
|
|
@@ -183,7 +183,7 @@ const Aaaa = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
183
183
|
commentModifiedOn: "comment_modified_on",
|
|
184
184
|
tagsModifiedOn: "tags_modified_on",
|
|
185
185
|
})));
|
|
186
|
-
const Settings2 = /*@__PURE__*/
|
|
186
|
+
const Settings2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
187
187
|
flattenCname: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
188
188
|
ipv4Only: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
189
189
|
ipv6Only: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -192,7 +192,7 @@ const Settings2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
|
|
|
192
192
|
ipv4Only: "ipv4_only",
|
|
193
193
|
ipv6Only: "ipv6_only",
|
|
194
194
|
})));
|
|
195
|
-
const Cname = /*@__PURE__*/
|
|
195
|
+
const Cname = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
196
196
|
name: Schema.String,
|
|
197
197
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
198
198
|
type: Schema.Literal("CNAME"),
|
|
@@ -225,7 +225,7 @@ const Cname = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
225
225
|
commentModifiedOn: "comment_modified_on",
|
|
226
226
|
tagsModifiedOn: "tags_modified_on",
|
|
227
227
|
})));
|
|
228
|
-
const Mx = /*@__PURE__*/
|
|
228
|
+
const Mx = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
229
229
|
name: Schema.String,
|
|
230
230
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
231
231
|
type: Schema.Literal("MX"),
|
|
@@ -260,7 +260,7 @@ const Mx = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
260
260
|
commentModifiedOn: "comment_modified_on",
|
|
261
261
|
tagsModifiedOn: "tags_modified_on",
|
|
262
262
|
})));
|
|
263
|
-
const Ns = /*@__PURE__*/
|
|
263
|
+
const Ns = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
264
264
|
name: Schema.String,
|
|
265
265
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
266
266
|
type: Schema.Literal("NS"),
|
|
@@ -293,7 +293,7 @@ const Ns = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
293
293
|
commentModifiedOn: "comment_modified_on",
|
|
294
294
|
tagsModifiedOn: "tags_modified_on",
|
|
295
295
|
})));
|
|
296
|
-
const Openpgpkey = /*@__PURE__*/
|
|
296
|
+
const Openpgpkey = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
297
297
|
id: Schema.String,
|
|
298
298
|
comment: Schema.String,
|
|
299
299
|
content: Schema.String,
|
|
@@ -326,7 +326,7 @@ const Openpgpkey = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
|
|
|
326
326
|
commentModifiedOn: "comment_modified_on",
|
|
327
327
|
tagsModifiedOn: "tags_modified_on",
|
|
328
328
|
})));
|
|
329
|
-
const Ptr = /*@__PURE__*/
|
|
329
|
+
const Ptr = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
330
330
|
name: Schema.String,
|
|
331
331
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
332
332
|
type: Schema.Literal("PTR"),
|
|
@@ -359,7 +359,7 @@ const Ptr = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
359
359
|
commentModifiedOn: "comment_modified_on",
|
|
360
360
|
tagsModifiedOn: "tags_modified_on",
|
|
361
361
|
})));
|
|
362
|
-
const Txt = /*@__PURE__*/
|
|
362
|
+
const Txt = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
363
363
|
name: Schema.String,
|
|
364
364
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
365
365
|
type: Schema.Literal("TXT"),
|
|
@@ -392,12 +392,12 @@ const Txt = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
392
392
|
commentModifiedOn: "comment_modified_on",
|
|
393
393
|
tagsModifiedOn: "tags_modified_on",
|
|
394
394
|
})));
|
|
395
|
-
const Data3 = /*@__PURE__*/
|
|
395
|
+
const Data3 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
396
396
|
flags: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
397
397
|
tag: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
398
398
|
value: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
399
399
|
}));
|
|
400
|
-
const Caa = /*@__PURE__*/
|
|
400
|
+
const Caa = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
401
401
|
name: Schema.String,
|
|
402
402
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
403
403
|
type: Schema.Literal("CAA"),
|
|
@@ -432,7 +432,7 @@ const Caa = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
432
432
|
commentModifiedOn: "comment_modified_on",
|
|
433
433
|
tagsModifiedOn: "tags_modified_on",
|
|
434
434
|
})));
|
|
435
|
-
const Data4 = /*@__PURE__*/
|
|
435
|
+
const Data4 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
436
436
|
algorithm: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
437
437
|
certificate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
438
438
|
keyTag: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -443,7 +443,7 @@ const Data4 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
443
443
|
keyTag: "key_tag",
|
|
444
444
|
type: "type",
|
|
445
445
|
})));
|
|
446
|
-
const Cert = /*@__PURE__*/
|
|
446
|
+
const Cert = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
447
447
|
name: Schema.String,
|
|
448
448
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
449
449
|
type: Schema.Literal("CERT"),
|
|
@@ -478,7 +478,7 @@ const Cert = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
478
478
|
commentModifiedOn: "comment_modified_on",
|
|
479
479
|
tagsModifiedOn: "tags_modified_on",
|
|
480
480
|
})));
|
|
481
|
-
const Data5 = /*@__PURE__*/
|
|
481
|
+
const Data5 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
482
482
|
algorithm: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
483
483
|
flags: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
484
484
|
protocol: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -489,7 +489,7 @@ const Data5 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
489
489
|
protocol: "protocol",
|
|
490
490
|
publicKey: "public_key",
|
|
491
491
|
})));
|
|
492
|
-
const Dnskey = /*@__PURE__*/
|
|
492
|
+
const Dnskey = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
493
493
|
name: Schema.String,
|
|
494
494
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
495
495
|
type: Schema.Literal("DNSKEY"),
|
|
@@ -524,7 +524,7 @@ const Dnskey = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
524
524
|
commentModifiedOn: "comment_modified_on",
|
|
525
525
|
tagsModifiedOn: "tags_modified_on",
|
|
526
526
|
})));
|
|
527
|
-
const Data6 = /*@__PURE__*/
|
|
527
|
+
const Data6 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
528
528
|
algorithm: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
529
529
|
digest: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
530
530
|
digestType: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -535,7 +535,7 @@ const Data6 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
535
535
|
digestType: "digest_type",
|
|
536
536
|
keyTag: "key_tag",
|
|
537
537
|
})));
|
|
538
|
-
const Ds = /*@__PURE__*/
|
|
538
|
+
const Ds = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
539
539
|
name: Schema.String,
|
|
540
540
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
541
541
|
type: Schema.Literal("DS"),
|
|
@@ -570,12 +570,12 @@ const Ds = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
570
570
|
commentModifiedOn: "comment_modified_on",
|
|
571
571
|
tagsModifiedOn: "tags_modified_on",
|
|
572
572
|
})));
|
|
573
|
-
const Data7 = /*@__PURE__*/
|
|
573
|
+
const Data7 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
574
574
|
priority: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
575
575
|
target: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
576
576
|
value: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
577
577
|
}));
|
|
578
|
-
const Https = /*@__PURE__*/
|
|
578
|
+
const Https = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
579
579
|
name: Schema.String,
|
|
580
580
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
581
581
|
type: Schema.Literal("HTTPS"),
|
|
@@ -610,7 +610,7 @@ const Https = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
610
610
|
commentModifiedOn: "comment_modified_on",
|
|
611
611
|
tagsModifiedOn: "tags_modified_on",
|
|
612
612
|
})));
|
|
613
|
-
const Data8 = /*@__PURE__*/
|
|
613
|
+
const Data8 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
614
614
|
altitude: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
615
615
|
latDegrees: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
616
616
|
latDirection: Schema.optional(Schema.Union([
|
|
@@ -643,7 +643,7 @@ const Data8 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
643
643
|
precisionVert: "precision_vert",
|
|
644
644
|
size: "size",
|
|
645
645
|
})));
|
|
646
|
-
const Loc = /*@__PURE__*/
|
|
646
|
+
const Loc = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
647
647
|
name: Schema.String,
|
|
648
648
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
649
649
|
type: Schema.Literal("LOC"),
|
|
@@ -678,7 +678,7 @@ const Loc = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
678
678
|
commentModifiedOn: "comment_modified_on",
|
|
679
679
|
tagsModifiedOn: "tags_modified_on",
|
|
680
680
|
})));
|
|
681
|
-
const Data9 = /*@__PURE__*/
|
|
681
|
+
const Data9 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
682
682
|
flags: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
683
683
|
order: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
684
684
|
preference: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -686,7 +686,7 @@ const Data9 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
686
686
|
replacement: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
687
687
|
service: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
688
688
|
}));
|
|
689
|
-
const Naptr = /*@__PURE__*/
|
|
689
|
+
const Naptr = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
690
690
|
name: Schema.String,
|
|
691
691
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
692
692
|
type: Schema.Literal("NAPTR"),
|
|
@@ -721,7 +721,7 @@ const Naptr = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
721
721
|
commentModifiedOn: "comment_modified_on",
|
|
722
722
|
tagsModifiedOn: "tags_modified_on",
|
|
723
723
|
})));
|
|
724
|
-
const Data10 = /*@__PURE__*/
|
|
724
|
+
const Data10 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
725
725
|
certificate: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
726
726
|
matchingType: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
727
727
|
selector: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -732,7 +732,7 @@ const Data10 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
732
732
|
selector: "selector",
|
|
733
733
|
usage: "usage",
|
|
734
734
|
})));
|
|
735
|
-
const Smimea = /*@__PURE__*/
|
|
735
|
+
const Smimea = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
736
736
|
name: Schema.String,
|
|
737
737
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
738
738
|
type: Schema.Literal("SMIMEA"),
|
|
@@ -767,13 +767,13 @@ const Smimea = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
767
767
|
commentModifiedOn: "comment_modified_on",
|
|
768
768
|
tagsModifiedOn: "tags_modified_on",
|
|
769
769
|
})));
|
|
770
|
-
const Data11 = /*@__PURE__*/
|
|
770
|
+
const Data11 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
771
771
|
port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
772
772
|
priority: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
773
773
|
target: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
774
774
|
weight: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
775
775
|
}));
|
|
776
|
-
const Srv = /*@__PURE__*/
|
|
776
|
+
const Srv = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
777
777
|
name: Schema.String,
|
|
778
778
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
779
779
|
type: Schema.Literal("SRV"),
|
|
@@ -808,12 +808,12 @@ const Srv = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
808
808
|
commentModifiedOn: "comment_modified_on",
|
|
809
809
|
tagsModifiedOn: "tags_modified_on",
|
|
810
810
|
})));
|
|
811
|
-
const Data12 = /*@__PURE__*/
|
|
811
|
+
const Data12 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
812
812
|
algorithm: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
813
813
|
fingerprint: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
814
814
|
type: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
815
815
|
}));
|
|
816
|
-
const Sshfp = /*@__PURE__*/
|
|
816
|
+
const Sshfp = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
817
817
|
name: Schema.String,
|
|
818
818
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
819
819
|
type: Schema.Literal("SSHFP"),
|
|
@@ -848,7 +848,7 @@ const Sshfp = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
848
848
|
commentModifiedOn: "comment_modified_on",
|
|
849
849
|
tagsModifiedOn: "tags_modified_on",
|
|
850
850
|
})));
|
|
851
|
-
const Svcb = /*@__PURE__*/
|
|
851
|
+
const Svcb = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
852
852
|
name: Schema.String,
|
|
853
853
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
854
854
|
type: Schema.Literal("SVCB"),
|
|
@@ -883,7 +883,7 @@ const Svcb = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
883
883
|
commentModifiedOn: "comment_modified_on",
|
|
884
884
|
tagsModifiedOn: "tags_modified_on",
|
|
885
885
|
})));
|
|
886
|
-
const Tlsa = /*@__PURE__*/
|
|
886
|
+
const Tlsa = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
887
887
|
name: Schema.String,
|
|
888
888
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
889
889
|
type: Schema.Literal("TLSA"),
|
|
@@ -918,11 +918,11 @@ const Tlsa = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
918
918
|
commentModifiedOn: "comment_modified_on",
|
|
919
919
|
tagsModifiedOn: "tags_modified_on",
|
|
920
920
|
})));
|
|
921
|
-
const Data13 = /*@__PURE__*/
|
|
921
|
+
const Data13 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
922
922
|
target: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
923
923
|
weight: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
924
924
|
}));
|
|
925
|
-
const Uri = /*@__PURE__*/
|
|
925
|
+
const Uri = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
926
926
|
name: Schema.String,
|
|
927
927
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
928
928
|
type: Schema.Literal("URI"),
|
|
@@ -960,7 +960,7 @@ const Uri = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
960
960
|
tagsModifiedOn: "tags_modified_on",
|
|
961
961
|
})));
|
|
962
962
|
const ListRecordsResponseResultInfo =
|
|
963
|
-
/*@__PURE__*/
|
|
963
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
964
964
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
965
965
|
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
966
966
|
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -971,7 +971,7 @@ const ListRecordsResponseResultInfo =
|
|
|
971
971
|
perPage: "per_page",
|
|
972
972
|
totalCount: "total_count",
|
|
973
973
|
})));
|
|
974
|
-
const Data14 = /*@__PURE__*/
|
|
974
|
+
const Data14 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
975
975
|
flags: Schema.optional(Schema.Union([Schema.Union([Schema.Number, Schema.String]), Schema.Null])),
|
|
976
976
|
tag: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
977
977
|
value: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1052,10 +1052,10 @@ const Data14 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
1052
1052
|
weight: "weight",
|
|
1053
1053
|
fingerprint: "fingerprint",
|
|
1054
1054
|
})));
|
|
1055
|
-
const Delete = /*@__PURE__*/
|
|
1055
|
+
const Delete = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1056
1056
|
id: Schema.String,
|
|
1057
1057
|
}));
|
|
1058
|
-
const Arecord = /*@__PURE__*/
|
|
1058
|
+
const Arecord = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1059
1059
|
name: Schema.String,
|
|
1060
1060
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1061
1061
|
type: Schema.Literal("A"),
|
|
@@ -1078,7 +1078,7 @@ const Arecord = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
1078
1078
|
tags: "tags",
|
|
1079
1079
|
id: "id",
|
|
1080
1080
|
})));
|
|
1081
|
-
const Aaaarecord = /*@__PURE__*/
|
|
1081
|
+
const Aaaarecord = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1082
1082
|
name: Schema.String,
|
|
1083
1083
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1084
1084
|
type: Schema.Literal("AAAA"),
|
|
@@ -1101,7 +1101,7 @@ const Aaaarecord = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
|
|
|
1101
1101
|
tags: "tags",
|
|
1102
1102
|
id: "id",
|
|
1103
1103
|
})));
|
|
1104
|
-
const Cnamerecord = /*@__PURE__*/
|
|
1104
|
+
const Cnamerecord = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1105
1105
|
name: Schema.String,
|
|
1106
1106
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1107
1107
|
type: Schema.Literal("CNAME"),
|
|
@@ -1112,7 +1112,7 @@ const Cnamerecord = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Stru
|
|
|
1112
1112
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1113
1113
|
id: Schema.String,
|
|
1114
1114
|
}));
|
|
1115
|
-
const Mxrecord = /*@__PURE__*/
|
|
1115
|
+
const Mxrecord = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1116
1116
|
name: Schema.String,
|
|
1117
1117
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1118
1118
|
type: Schema.Literal("MX"),
|
|
@@ -1124,7 +1124,7 @@ const Mxrecord = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct(
|
|
|
1124
1124
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1125
1125
|
id: Schema.String,
|
|
1126
1126
|
}));
|
|
1127
|
-
const Nsrecord = /*@__PURE__*/
|
|
1127
|
+
const Nsrecord = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1128
1128
|
name: Schema.String,
|
|
1129
1129
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1130
1130
|
type: Schema.Literal("NS"),
|
|
@@ -1135,7 +1135,7 @@ const Nsrecord = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct(
|
|
|
1135
1135
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1136
1136
|
id: Schema.String,
|
|
1137
1137
|
}));
|
|
1138
|
-
const OpenpgpkeyRecord = /*@__PURE__*/
|
|
1138
|
+
const OpenpgpkeyRecord = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1139
1139
|
id: Schema.String,
|
|
1140
1140
|
name: Schema.String,
|
|
1141
1141
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
@@ -1146,7 +1146,7 @@ const OpenpgpkeyRecord = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema
|
|
|
1146
1146
|
settings: Schema.optional(Schema.Union([Settings, Schema.Null])),
|
|
1147
1147
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1148
1148
|
}));
|
|
1149
|
-
const Ptrrecord = /*@__PURE__*/
|
|
1149
|
+
const Ptrrecord = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1150
1150
|
name: Schema.String,
|
|
1151
1151
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1152
1152
|
type: Schema.Literal("PTR"),
|
|
@@ -1157,7 +1157,7 @@ const Ptrrecord = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
|
|
|
1157
1157
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1158
1158
|
id: Schema.String,
|
|
1159
1159
|
}));
|
|
1160
|
-
const Txtrecord = /*@__PURE__*/
|
|
1160
|
+
const Txtrecord = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1161
1161
|
name: Schema.String,
|
|
1162
1162
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1163
1163
|
type: Schema.Literal("TXT"),
|
|
@@ -1168,7 +1168,7 @@ const Txtrecord = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
|
|
|
1168
1168
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1169
1169
|
id: Schema.String,
|
|
1170
1170
|
}));
|
|
1171
|
-
const Caarecord = /*@__PURE__*/
|
|
1171
|
+
const Caarecord = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1172
1172
|
name: Schema.String,
|
|
1173
1173
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1174
1174
|
type: Schema.Literal("CAA"),
|
|
@@ -1179,7 +1179,7 @@ const Caarecord = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
|
|
|
1179
1179
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1180
1180
|
id: Schema.String,
|
|
1181
1181
|
}));
|
|
1182
|
-
const Certrecord = /*@__PURE__*/
|
|
1182
|
+
const Certrecord = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1183
1183
|
name: Schema.String,
|
|
1184
1184
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1185
1185
|
type: Schema.Literal("CERT"),
|
|
@@ -1190,7 +1190,7 @@ const Certrecord = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
|
|
|
1190
1190
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1191
1191
|
id: Schema.String,
|
|
1192
1192
|
}));
|
|
1193
|
-
const Dnskeyrecord = /*@__PURE__*/
|
|
1193
|
+
const Dnskeyrecord = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1194
1194
|
name: Schema.String,
|
|
1195
1195
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1196
1196
|
type: Schema.Literal("DNSKEY"),
|
|
@@ -1201,7 +1201,7 @@ const Dnskeyrecord = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
1201
1201
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1202
1202
|
id: Schema.String,
|
|
1203
1203
|
}));
|
|
1204
|
-
const Dsrecord = /*@__PURE__*/
|
|
1204
|
+
const Dsrecord = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1205
1205
|
name: Schema.String,
|
|
1206
1206
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1207
1207
|
type: Schema.Literal("DS"),
|
|
@@ -1212,7 +1212,7 @@ const Dsrecord = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct(
|
|
|
1212
1212
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1213
1213
|
id: Schema.String,
|
|
1214
1214
|
}));
|
|
1215
|
-
const Httpsrecord = /*@__PURE__*/
|
|
1215
|
+
const Httpsrecord = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1216
1216
|
name: Schema.String,
|
|
1217
1217
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1218
1218
|
type: Schema.Literal("HTTPS"),
|
|
@@ -1223,7 +1223,7 @@ const Httpsrecord = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Stru
|
|
|
1223
1223
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1224
1224
|
id: Schema.String,
|
|
1225
1225
|
}));
|
|
1226
|
-
const Locrecord = /*@__PURE__*/
|
|
1226
|
+
const Locrecord = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1227
1227
|
name: Schema.String,
|
|
1228
1228
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1229
1229
|
type: Schema.Literal("LOC"),
|
|
@@ -1234,7 +1234,7 @@ const Locrecord = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
|
|
|
1234
1234
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1235
1235
|
id: Schema.String,
|
|
1236
1236
|
}));
|
|
1237
|
-
const Naptrrecord = /*@__PURE__*/
|
|
1237
|
+
const Naptrrecord = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1238
1238
|
name: Schema.String,
|
|
1239
1239
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1240
1240
|
type: Schema.Literal("NAPTR"),
|
|
@@ -1245,7 +1245,7 @@ const Naptrrecord = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Stru
|
|
|
1245
1245
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1246
1246
|
id: Schema.String,
|
|
1247
1247
|
}));
|
|
1248
|
-
const Smimearecord = /*@__PURE__*/
|
|
1248
|
+
const Smimearecord = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1249
1249
|
name: Schema.String,
|
|
1250
1250
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1251
1251
|
type: Schema.Literal("SMIMEA"),
|
|
@@ -1256,7 +1256,7 @@ const Smimearecord = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
1256
1256
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1257
1257
|
id: Schema.String,
|
|
1258
1258
|
}));
|
|
1259
|
-
const Srvrecord = /*@__PURE__*/
|
|
1259
|
+
const Srvrecord = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1260
1260
|
name: Schema.String,
|
|
1261
1261
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1262
1262
|
type: Schema.Literal("SRV"),
|
|
@@ -1267,7 +1267,7 @@ const Srvrecord = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
|
|
|
1267
1267
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1268
1268
|
id: Schema.String,
|
|
1269
1269
|
}));
|
|
1270
|
-
const Sshfprecord = /*@__PURE__*/
|
|
1270
|
+
const Sshfprecord = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1271
1271
|
name: Schema.String,
|
|
1272
1272
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1273
1273
|
type: Schema.Literal("SSHFP"),
|
|
@@ -1278,7 +1278,7 @@ const Sshfprecord = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Stru
|
|
|
1278
1278
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1279
1279
|
id: Schema.String,
|
|
1280
1280
|
}));
|
|
1281
|
-
const Svcbrecord = /*@__PURE__*/
|
|
1281
|
+
const Svcbrecord = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1282
1282
|
name: Schema.String,
|
|
1283
1283
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1284
1284
|
type: Schema.Literal("SVCB"),
|
|
@@ -1289,7 +1289,7 @@ const Svcbrecord = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
|
|
|
1289
1289
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1290
1290
|
id: Schema.String,
|
|
1291
1291
|
}));
|
|
1292
|
-
const Tlsarecord = /*@__PURE__*/
|
|
1292
|
+
const Tlsarecord = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1293
1293
|
name: Schema.String,
|
|
1294
1294
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1295
1295
|
type: Schema.Literal("TLSA"),
|
|
@@ -1300,7 +1300,7 @@ const Tlsarecord = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
|
|
|
1300
1300
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1301
1301
|
id: Schema.String,
|
|
1302
1302
|
}));
|
|
1303
|
-
const Urirecord = /*@__PURE__*/
|
|
1303
|
+
const Urirecord = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1304
1304
|
name: Schema.String,
|
|
1305
1305
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1306
1306
|
type: Schema.Literal("URI"),
|
|
@@ -1312,7 +1312,7 @@ const Urirecord = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
|
|
|
1312
1312
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1313
1313
|
id: Schema.String,
|
|
1314
1314
|
}));
|
|
1315
|
-
const ArecordParam = /*@__PURE__*/
|
|
1315
|
+
const ArecordParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1316
1316
|
name: Schema.String,
|
|
1317
1317
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1318
1318
|
type: Schema.Literal("A"),
|
|
@@ -1333,7 +1333,7 @@ const ArecordParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
1333
1333
|
settings: "settings",
|
|
1334
1334
|
tags: "tags",
|
|
1335
1335
|
})));
|
|
1336
|
-
const AaaarecordParam = /*@__PURE__*/
|
|
1336
|
+
const AaaarecordParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1337
1337
|
name: Schema.String,
|
|
1338
1338
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1339
1339
|
type: Schema.Literal("AAAA"),
|
|
@@ -1354,7 +1354,7 @@ const AaaarecordParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.
|
|
|
1354
1354
|
settings: "settings",
|
|
1355
1355
|
tags: "tags",
|
|
1356
1356
|
})));
|
|
1357
|
-
const CnamerecordParam = /*@__PURE__*/
|
|
1357
|
+
const CnamerecordParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1358
1358
|
name: Schema.String,
|
|
1359
1359
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1360
1360
|
type: Schema.Literal("CNAME"),
|
|
@@ -1364,7 +1364,7 @@ const CnamerecordParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema
|
|
|
1364
1364
|
settings: Schema.optional(Schema.Union([Settings2, Schema.Null])),
|
|
1365
1365
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1366
1366
|
}));
|
|
1367
|
-
const MxrecordParam = /*@__PURE__*/
|
|
1367
|
+
const MxrecordParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1368
1368
|
name: Schema.String,
|
|
1369
1369
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1370
1370
|
type: Schema.Literal("MX"),
|
|
@@ -1375,7 +1375,7 @@ const MxrecordParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.St
|
|
|
1375
1375
|
settings: Schema.optional(Schema.Union([Settings, Schema.Null])),
|
|
1376
1376
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1377
1377
|
}));
|
|
1378
|
-
const NsrecordParam = /*@__PURE__*/
|
|
1378
|
+
const NsrecordParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1379
1379
|
name: Schema.String,
|
|
1380
1380
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1381
1381
|
type: Schema.Literal("NS"),
|
|
@@ -1385,7 +1385,7 @@ const NsrecordParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.St
|
|
|
1385
1385
|
settings: Schema.optional(Schema.Union([Settings, Schema.Null])),
|
|
1386
1386
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1387
1387
|
}));
|
|
1388
|
-
const DnsrecordsOpenpgpkeyRecord = /*@__PURE__*/
|
|
1388
|
+
const DnsrecordsOpenpgpkeyRecord = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1389
1389
|
name: Schema.String,
|
|
1390
1390
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1391
1391
|
type: Schema.Literal("OPENPGPKEY"),
|
|
@@ -1395,7 +1395,7 @@ const DnsrecordsOpenpgpkeyRecord = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
1395
1395
|
settings: Schema.optional(Schema.Union([Settings, Schema.Null])),
|
|
1396
1396
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1397
1397
|
}));
|
|
1398
|
-
const PtrrecordParam = /*@__PURE__*/
|
|
1398
|
+
const PtrrecordParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1399
1399
|
name: Schema.String,
|
|
1400
1400
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1401
1401
|
type: Schema.Literal("PTR"),
|
|
@@ -1405,7 +1405,7 @@ const PtrrecordParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.S
|
|
|
1405
1405
|
settings: Schema.optional(Schema.Union([Settings, Schema.Null])),
|
|
1406
1406
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1407
1407
|
}));
|
|
1408
|
-
const TxtrecordParam = /*@__PURE__*/
|
|
1408
|
+
const TxtrecordParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1409
1409
|
name: Schema.String,
|
|
1410
1410
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1411
1411
|
type: Schema.Literal("TXT"),
|
|
@@ -1415,7 +1415,7 @@ const TxtrecordParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.S
|
|
|
1415
1415
|
settings: Schema.optional(Schema.Union([Settings, Schema.Null])),
|
|
1416
1416
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1417
1417
|
}));
|
|
1418
|
-
const CaarecordParam = /*@__PURE__*/
|
|
1418
|
+
const CaarecordParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1419
1419
|
name: Schema.String,
|
|
1420
1420
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1421
1421
|
type: Schema.Literal("CAA"),
|
|
@@ -1425,7 +1425,7 @@ const CaarecordParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.S
|
|
|
1425
1425
|
settings: Schema.optional(Schema.Union([Settings, Schema.Null])),
|
|
1426
1426
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1427
1427
|
}));
|
|
1428
|
-
const CertrecordParam = /*@__PURE__*/
|
|
1428
|
+
const CertrecordParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1429
1429
|
name: Schema.String,
|
|
1430
1430
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1431
1431
|
type: Schema.Literal("CERT"),
|
|
@@ -1435,7 +1435,7 @@ const CertrecordParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.
|
|
|
1435
1435
|
settings: Schema.optional(Schema.Union([Settings, Schema.Null])),
|
|
1436
1436
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1437
1437
|
}));
|
|
1438
|
-
const DnskeyrecordParam = /*@__PURE__*/
|
|
1438
|
+
const DnskeyrecordParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1439
1439
|
name: Schema.String,
|
|
1440
1440
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1441
1441
|
type: Schema.Literal("DNSKEY"),
|
|
@@ -1445,7 +1445,7 @@ const DnskeyrecordParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schem
|
|
|
1445
1445
|
settings: Schema.optional(Schema.Union([Settings, Schema.Null])),
|
|
1446
1446
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1447
1447
|
}));
|
|
1448
|
-
const DsrecordParam = /*@__PURE__*/
|
|
1448
|
+
const DsrecordParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1449
1449
|
name: Schema.String,
|
|
1450
1450
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1451
1451
|
type: Schema.Literal("DS"),
|
|
@@ -1455,7 +1455,7 @@ const DsrecordParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.St
|
|
|
1455
1455
|
settings: Schema.optional(Schema.Union([Settings, Schema.Null])),
|
|
1456
1456
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1457
1457
|
}));
|
|
1458
|
-
const HttpsrecordParam = /*@__PURE__*/
|
|
1458
|
+
const HttpsrecordParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1459
1459
|
name: Schema.String,
|
|
1460
1460
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1461
1461
|
type: Schema.Literal("HTTPS"),
|
|
@@ -1465,7 +1465,7 @@ const HttpsrecordParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema
|
|
|
1465
1465
|
settings: Schema.optional(Schema.Union([Settings, Schema.Null])),
|
|
1466
1466
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1467
1467
|
}));
|
|
1468
|
-
const LocrecordParam = /*@__PURE__*/
|
|
1468
|
+
const LocrecordParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1469
1469
|
name: Schema.String,
|
|
1470
1470
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1471
1471
|
type: Schema.Literal("LOC"),
|
|
@@ -1475,7 +1475,7 @@ const LocrecordParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.S
|
|
|
1475
1475
|
settings: Schema.optional(Schema.Union([Settings, Schema.Null])),
|
|
1476
1476
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1477
1477
|
}));
|
|
1478
|
-
const NaptrrecordParam = /*@__PURE__*/
|
|
1478
|
+
const NaptrrecordParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1479
1479
|
name: Schema.String,
|
|
1480
1480
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1481
1481
|
type: Schema.Literal("NAPTR"),
|
|
@@ -1485,7 +1485,7 @@ const NaptrrecordParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema
|
|
|
1485
1485
|
settings: Schema.optional(Schema.Union([Settings, Schema.Null])),
|
|
1486
1486
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1487
1487
|
}));
|
|
1488
|
-
const SmimearecordParam = /*@__PURE__*/
|
|
1488
|
+
const SmimearecordParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1489
1489
|
name: Schema.String,
|
|
1490
1490
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1491
1491
|
type: Schema.Literal("SMIMEA"),
|
|
@@ -1495,7 +1495,7 @@ const SmimearecordParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schem
|
|
|
1495
1495
|
settings: Schema.optional(Schema.Union([Settings, Schema.Null])),
|
|
1496
1496
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1497
1497
|
}));
|
|
1498
|
-
const SrvrecordParam = /*@__PURE__*/
|
|
1498
|
+
const SrvrecordParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1499
1499
|
name: Schema.String,
|
|
1500
1500
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1501
1501
|
type: Schema.Literal("SRV"),
|
|
@@ -1505,7 +1505,7 @@ const SrvrecordParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.S
|
|
|
1505
1505
|
settings: Schema.optional(Schema.Union([Settings, Schema.Null])),
|
|
1506
1506
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1507
1507
|
}));
|
|
1508
|
-
const SshfprecordParam = /*@__PURE__*/
|
|
1508
|
+
const SshfprecordParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1509
1509
|
name: Schema.String,
|
|
1510
1510
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1511
1511
|
type: Schema.Literal("SSHFP"),
|
|
@@ -1515,7 +1515,7 @@ const SshfprecordParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema
|
|
|
1515
1515
|
settings: Schema.optional(Schema.Union([Settings, Schema.Null])),
|
|
1516
1516
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1517
1517
|
}));
|
|
1518
|
-
const SvcbrecordParam = /*@__PURE__*/
|
|
1518
|
+
const SvcbrecordParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1519
1519
|
name: Schema.String,
|
|
1520
1520
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1521
1521
|
type: Schema.Literal("SVCB"),
|
|
@@ -1525,7 +1525,7 @@ const SvcbrecordParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.
|
|
|
1525
1525
|
settings: Schema.optional(Schema.Union([Settings, Schema.Null])),
|
|
1526
1526
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1527
1527
|
}));
|
|
1528
|
-
const TlsarecordParam = /*@__PURE__*/
|
|
1528
|
+
const TlsarecordParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1529
1529
|
name: Schema.String,
|
|
1530
1530
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1531
1531
|
type: Schema.Literal("TLSA"),
|
|
@@ -1535,7 +1535,7 @@ const TlsarecordParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.
|
|
|
1535
1535
|
settings: Schema.optional(Schema.Union([Settings, Schema.Null])),
|
|
1536
1536
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1537
1537
|
}));
|
|
1538
|
-
const UrirecordParam = /*@__PURE__*/
|
|
1538
|
+
const UrirecordParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1539
1539
|
name: Schema.String,
|
|
1540
1540
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
1541
1541
|
type: Schema.Literal("URI"),
|
|
@@ -1546,10 +1546,10 @@ const UrirecordParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.S
|
|
|
1546
1546
|
settings: Schema.optional(Schema.Union([Settings, Schema.Null])),
|
|
1547
1547
|
tags: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
1548
1548
|
}));
|
|
1549
|
-
const InternalDNS = /*@__PURE__*/
|
|
1549
|
+
const InternalDNS = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1550
1550
|
referenceZoneId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1551
1551
|
}).pipe(Schema.encodeKeys({ referenceZoneId: "reference_zone_id" })));
|
|
1552
|
-
const Nameservers = /*@__PURE__*/
|
|
1552
|
+
const Nameservers = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1553
1553
|
type: Schema.Union([
|
|
1554
1554
|
Schema.Literals([
|
|
1555
1555
|
"cloudflare.standard",
|
|
@@ -1560,7 +1560,7 @@ const Nameservers = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Stru
|
|
|
1560
1560
|
Schema.String,
|
|
1561
1561
|
]),
|
|
1562
1562
|
}));
|
|
1563
|
-
const Soa = /*@__PURE__*/
|
|
1563
|
+
const Soa = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1564
1564
|
expire: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1565
1565
|
minTtl: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1566
1566
|
mname: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1577,7 +1577,7 @@ const Soa = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
1577
1577
|
rname: "rname",
|
|
1578
1578
|
ttl: "ttl",
|
|
1579
1579
|
})));
|
|
1580
|
-
const ZoneDefaults = /*@__PURE__*/
|
|
1580
|
+
const ZoneDefaults = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1581
1581
|
flattenAllCnames: Schema.Boolean,
|
|
1582
1582
|
foundationDns: Schema.Boolean,
|
|
1583
1583
|
internalDns: InternalDNS,
|
|
@@ -1601,7 +1601,7 @@ const ZoneDefaults = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
1601
1601
|
soa: "soa",
|
|
1602
1602
|
zoneMode: "zone_mode",
|
|
1603
1603
|
})));
|
|
1604
|
-
const Nameservers2 = /*@__PURE__*/
|
|
1604
|
+
const Nameservers2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1605
1605
|
type: Schema.optional(Schema.Union([
|
|
1606
1606
|
Schema.Union([
|
|
1607
1607
|
Schema.Literals([
|
|
@@ -1615,7 +1615,7 @@ const Nameservers2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
1615
1615
|
Schema.Null,
|
|
1616
1616
|
])),
|
|
1617
1617
|
}));
|
|
1618
|
-
const ZoneDefaults2 = /*@__PURE__*/
|
|
1618
|
+
const ZoneDefaults2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1619
1619
|
flattenAllCnames: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1620
1620
|
foundationDns: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1621
1621
|
internalDns: Schema.optional(Schema.Union([InternalDNS, Schema.Null])),
|
|
@@ -1643,7 +1643,7 @@ const ZoneDefaults2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.St
|
|
|
1643
1643
|
zoneMode: "zone_mode",
|
|
1644
1644
|
})));
|
|
1645
1645
|
const ListSettingAccountViewsResponseResult =
|
|
1646
|
-
/*@__PURE__*/
|
|
1646
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1647
1647
|
id: Schema.String,
|
|
1648
1648
|
createdTime: Schema.String,
|
|
1649
1649
|
modifiedTime: Schema.String,
|
|
@@ -1656,7 +1656,7 @@ const ListSettingAccountViewsResponseResult =
|
|
|
1656
1656
|
name: "name",
|
|
1657
1657
|
zones: "zones",
|
|
1658
1658
|
})));
|
|
1659
|
-
const Nameservers3 = /*@__PURE__*/
|
|
1659
|
+
const Nameservers3 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1660
1660
|
type: Schema.Union([
|
|
1661
1661
|
Schema.Literals([
|
|
1662
1662
|
"cloudflare.standard",
|
|
@@ -1668,7 +1668,7 @@ const Nameservers3 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
1668
1668
|
]),
|
|
1669
1669
|
nsSet: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1670
1670
|
}).pipe(Schema.encodeKeys({ type: "type", nsSet: "ns_set" })));
|
|
1671
|
-
const Nameservers4 = /*@__PURE__*/
|
|
1671
|
+
const Nameservers4 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1672
1672
|
nsSet: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1673
1673
|
type: Schema.optional(Schema.Union([
|
|
1674
1674
|
Schema.Union([
|
|
@@ -1683,10 +1683,10 @@ const Nameservers4 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
1683
1683
|
Schema.Null,
|
|
1684
1684
|
])),
|
|
1685
1685
|
}).pipe(Schema.encodeKeys({ nsSet: "ns_set", type: "type" })));
|
|
1686
|
-
const Source = /*@__PURE__*/
|
|
1686
|
+
const Source = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1687
1687
|
pointer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1688
1688
|
}));
|
|
1689
|
-
const Error2 = /*@__PURE__*/
|
|
1689
|
+
const Error2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1690
1690
|
code: Schema.Number,
|
|
1691
1691
|
message: Schema.String,
|
|
1692
1692
|
documentationUrl: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1698,13 +1698,13 @@ const Error2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
1698
1698
|
source: "source",
|
|
1699
1699
|
})));
|
|
1700
1700
|
const ListZoneTransferAclsResponseResult =
|
|
1701
|
-
/*@__PURE__*/
|
|
1701
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1702
1702
|
id: Schema.String,
|
|
1703
1703
|
ipRange: Schema.String,
|
|
1704
1704
|
name: Schema.String,
|
|
1705
1705
|
}).pipe(Schema.encodeKeys({ id: "id", ipRange: "ip_range", name: "name" })));
|
|
1706
1706
|
const ListZoneTransferPeersResponseResult =
|
|
1707
|
-
/*@__PURE__*/
|
|
1707
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1708
1708
|
id: Schema.String,
|
|
1709
1709
|
name: Schema.String,
|
|
1710
1710
|
ip: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1720,14 +1720,14 @@ const ListZoneTransferPeersResponseResult =
|
|
|
1720
1720
|
tsigId: "tsig_id",
|
|
1721
1721
|
})));
|
|
1722
1722
|
const ListZoneTransferTsigsResponseResult =
|
|
1723
|
-
/*@__PURE__*/
|
|
1723
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1724
1724
|
id: Schema.String,
|
|
1725
1725
|
algo: Schema.String,
|
|
1726
1726
|
name: Schema.String,
|
|
1727
1727
|
secret: SensitiveString,
|
|
1728
1728
|
}));
|
|
1729
1729
|
export const GetAnalyticReportRequest =
|
|
1730
|
-
/*@__PURE__*/
|
|
1730
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1731
1731
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1732
1732
|
dimensions: Schema.optional(Schema.String).pipe(T.HttpQuery("dimensions")),
|
|
1733
1733
|
filters: Schema.optional(Schema.String).pipe(T.HttpQuery("filters")),
|
|
@@ -1738,7 +1738,7 @@ export const GetAnalyticReportRequest =
|
|
|
1738
1738
|
until: Schema.optional(Schema.String).pipe(T.HttpQuery("until")),
|
|
1739
1739
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/dns_analytics/report" })));
|
|
1740
1740
|
export const GetAnalyticReportResponse =
|
|
1741
|
-
/*@__PURE__*/
|
|
1741
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1742
1742
|
data: Schema.Array(Data),
|
|
1743
1743
|
dataLag: Schema.Number,
|
|
1744
1744
|
max: Schema.Unknown,
|
|
@@ -1757,13 +1757,13 @@ export const GetAnalyticReportResponse =
|
|
|
1757
1757
|
totals: "totals",
|
|
1758
1758
|
}))
|
|
1759
1759
|
.pipe(T.ResponsePath("result")));
|
|
1760
|
-
export const getAnalyticReport = /*@__PURE__*/
|
|
1760
|
+
export const getAnalyticReport = /*@__PURE__*/ API.make(() => ({
|
|
1761
1761
|
input: GetAnalyticReportRequest,
|
|
1762
1762
|
output: GetAnalyticReportResponse,
|
|
1763
1763
|
errors: [],
|
|
1764
1764
|
}));
|
|
1765
1765
|
export const GetAnalyticReportBytimeRequest =
|
|
1766
|
-
/*@__PURE__*/
|
|
1766
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1767
1767
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1768
1768
|
dimensions: Schema.optional(Schema.String).pipe(T.HttpQuery("dimensions")),
|
|
1769
1769
|
filters: Schema.optional(Schema.String).pipe(T.HttpQuery("filters")),
|
|
@@ -1792,7 +1792,7 @@ export const GetAnalyticReportBytimeRequest =
|
|
|
1792
1792
|
path: "/zones/{zone_id}/dns_analytics/report/bytime",
|
|
1793
1793
|
})));
|
|
1794
1794
|
export const GetAnalyticReportBytimeResponse =
|
|
1795
|
-
/*@__PURE__*/
|
|
1795
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1796
1796
|
data: Schema.Array(Data2),
|
|
1797
1797
|
dataLag: Schema.Number,
|
|
1798
1798
|
max: Schema.Unknown,
|
|
@@ -1813,15 +1813,15 @@ export const GetAnalyticReportBytimeResponse =
|
|
|
1813
1813
|
totals: "totals",
|
|
1814
1814
|
}))
|
|
1815
1815
|
.pipe(T.ResponsePath("result")));
|
|
1816
|
-
export const getAnalyticReportBytime = /*@__PURE__*/
|
|
1816
|
+
export const getAnalyticReportBytime = /*@__PURE__*/ API.make(() => ({
|
|
1817
1817
|
input: GetAnalyticReportBytimeRequest,
|
|
1818
1818
|
output: GetAnalyticReportBytimeResponse,
|
|
1819
1819
|
errors: [],
|
|
1820
1820
|
}));
|
|
1821
|
-
export const GetDnssecRequest = /*@__PURE__*/
|
|
1821
|
+
export const GetDnssecRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1822
1822
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1823
1823
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/dnssec" })));
|
|
1824
|
-
export const GetDnssecResponse = /*@__PURE__*/
|
|
1824
|
+
export const GetDnssecResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1825
1825
|
algorithm: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1826
1826
|
digest: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1827
1827
|
digestAlgorithm: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1866,12 +1866,12 @@ export const GetDnssecResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
1866
1866
|
status: "status",
|
|
1867
1867
|
}))
|
|
1868
1868
|
.pipe(T.ResponsePath("result")));
|
|
1869
|
-
export const getDnssec = /*@__PURE__*/
|
|
1869
|
+
export const getDnssec = /*@__PURE__*/ API.make(() => ({
|
|
1870
1870
|
input: GetDnssecRequest,
|
|
1871
1871
|
output: GetDnssecResponse,
|
|
1872
1872
|
errors: [Forbidden],
|
|
1873
1873
|
}));
|
|
1874
|
-
export const PatchDnssecRequest = /*@__PURE__*/
|
|
1874
|
+
export const PatchDnssecRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1875
1875
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1876
1876
|
dnssecMultiSigner: Schema.optional(Schema.Boolean),
|
|
1877
1877
|
dnssecPresigned: Schema.optional(Schema.Boolean),
|
|
@@ -1883,7 +1883,7 @@ export const PatchDnssecRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
1883
1883
|
dnssecUseNsec3: "dnssec_use_nsec3",
|
|
1884
1884
|
status: "status",
|
|
1885
1885
|
}), T.Http({ method: "PATCH", path: "/zones/{zone_id}/dnssec" })));
|
|
1886
|
-
export const PatchDnssecResponse = /*@__PURE__*/
|
|
1886
|
+
export const PatchDnssecResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1887
1887
|
algorithm: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1888
1888
|
digest: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1889
1889
|
digestAlgorithm: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1928,28 +1928,28 @@ export const PatchDnssecResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
1928
1928
|
status: "status",
|
|
1929
1929
|
}))
|
|
1930
1930
|
.pipe(T.ResponsePath("result")));
|
|
1931
|
-
export const patchDnssec = /*@__PURE__*/
|
|
1931
|
+
export const patchDnssec = /*@__PURE__*/ API.make(() => ({
|
|
1932
1932
|
input: PatchDnssecRequest,
|
|
1933
1933
|
output: PatchDnssecResponse,
|
|
1934
1934
|
errors: [Forbidden],
|
|
1935
1935
|
}));
|
|
1936
|
-
export const DeleteDnssecRequest = /*@__PURE__*/
|
|
1936
|
+
export const DeleteDnssecRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1937
1937
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1938
1938
|
}).pipe(T.Http({ method: "DELETE", path: "/zones/{zone_id}/dnssec" })));
|
|
1939
|
-
export const DeleteDnssecResponse = /*@__PURE__*/
|
|
1940
|
-
export const deleteDnssec = /*@__PURE__*/
|
|
1939
|
+
export const DeleteDnssecResponse = /*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
|
|
1940
|
+
export const deleteDnssec = /*@__PURE__*/ API.make(() => ({
|
|
1941
1941
|
input: DeleteDnssecRequest,
|
|
1942
1942
|
output: DeleteDnssecResponse,
|
|
1943
1943
|
errors: [Forbidden],
|
|
1944
1944
|
}));
|
|
1945
|
-
export const ScanListRecordRequest = /*@__PURE__*/
|
|
1945
|
+
export const ScanListRecordRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1946
1946
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1947
1947
|
}).pipe(T.Http({
|
|
1948
1948
|
method: "GET",
|
|
1949
1949
|
path: "/zones/{zone_id}/dns_records/scan/review",
|
|
1950
1950
|
})));
|
|
1951
1951
|
export const ScanListRecordResponse =
|
|
1952
|
-
/*@__PURE__*/
|
|
1952
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1953
1953
|
result: Schema.Array(Schema.Union([
|
|
1954
1954
|
Openpgpkey,
|
|
1955
1955
|
A,
|
|
@@ -1974,7 +1974,7 @@ export const ScanListRecordResponse =
|
|
|
1974
1974
|
Uri,
|
|
1975
1975
|
])),
|
|
1976
1976
|
}));
|
|
1977
|
-
export const scanListRecord = /*@__PURE__*/
|
|
1977
|
+
export const scanListRecord = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1978
1978
|
input: ScanListRecordRequest,
|
|
1979
1979
|
output: ScanListRecordResponse,
|
|
1980
1980
|
errors: [],
|
|
@@ -1984,7 +1984,7 @@ export const scanListRecord = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =
|
|
|
1984
1984
|
},
|
|
1985
1985
|
}));
|
|
1986
1986
|
export const ForceNotifyZoneTransferOutgoingRequest =
|
|
1987
|
-
/*@__PURE__*/
|
|
1987
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1988
1988
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1989
1989
|
body: Schema.Unknown.pipe(T.HttpBody()),
|
|
1990
1990
|
}).pipe(T.Http({
|
|
@@ -1992,20 +1992,20 @@ export const ForceNotifyZoneTransferOutgoingRequest =
|
|
|
1992
1992
|
path: "/zones/{zone_id}/secondary_dns/outgoing/force_notify",
|
|
1993
1993
|
})));
|
|
1994
1994
|
export const ForceNotifyZoneTransferOutgoingResponse =
|
|
1995
|
-
/*@__PURE__*/
|
|
1996
|
-
export const forceNotifyZoneTransferOutgoing = /*@__PURE__*/
|
|
1995
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
|
|
1996
|
+
export const forceNotifyZoneTransferOutgoing = /*@__PURE__*/ API.make(() => ({
|
|
1997
1997
|
input: ForceNotifyZoneTransferOutgoingRequest,
|
|
1998
1998
|
output: ForceNotifyZoneTransferOutgoingResponse,
|
|
1999
1999
|
errors: [],
|
|
2000
2000
|
}));
|
|
2001
|
-
export const GetRecordRequest = /*@__PURE__*/
|
|
2001
|
+
export const GetRecordRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2002
2002
|
dnsRecordId: Schema.String.pipe(T.HttpPath("dnsRecordId")),
|
|
2003
2003
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2004
2004
|
}).pipe(T.Http({
|
|
2005
2005
|
method: "GET",
|
|
2006
2006
|
path: "/zones/{zone_id}/dns_records/{dnsRecordId}",
|
|
2007
2007
|
})));
|
|
2008
|
-
export const GetRecordResponse = /*@__PURE__*/
|
|
2008
|
+
export const GetRecordResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Union([
|
|
2009
2009
|
Openpgpkey,
|
|
2010
2010
|
A,
|
|
2011
2011
|
Aaaa,
|
|
@@ -2028,12 +2028,12 @@ export const GetRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
2028
2028
|
Tlsa,
|
|
2029
2029
|
Uri,
|
|
2030
2030
|
]).pipe(T.ResponsePath("result")));
|
|
2031
|
-
export const getRecord = /*@__PURE__*/
|
|
2031
|
+
export const getRecord = /*@__PURE__*/ API.make(() => ({
|
|
2032
2032
|
input: GetRecordRequest,
|
|
2033
2033
|
output: GetRecordResponse,
|
|
2034
2034
|
errors: [Forbidden],
|
|
2035
2035
|
}));
|
|
2036
|
-
export const ListRecordsRequest = /*@__PURE__*/
|
|
2036
|
+
export const ListRecordsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2037
2037
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2038
2038
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
2039
2039
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -2101,7 +2101,7 @@ export const ListRecordsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
2101
2101
|
Schema.String,
|
|
2102
2102
|
])).pipe(T.HttpQuery("type")),
|
|
2103
2103
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/dns_records" })));
|
|
2104
|
-
export const ListRecordsResponse = /*@__PURE__*/
|
|
2104
|
+
export const ListRecordsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2105
2105
|
result: Schema.Array(Schema.Union([
|
|
2106
2106
|
Openpgpkey,
|
|
2107
2107
|
A,
|
|
@@ -2127,7 +2127,7 @@ export const ListRecordsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
2127
2127
|
])),
|
|
2128
2128
|
resultInfo: Schema.optional(Schema.Union([ListRecordsResponseResultInfo, Schema.Null])),
|
|
2129
2129
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
2130
|
-
export const listRecords = /*@__PURE__*/
|
|
2130
|
+
export const listRecords = /*@__PURE__*/ API.makePaginated(() => ({
|
|
2131
2131
|
input: ListRecordsRequest,
|
|
2132
2132
|
output: ListRecordsResponse,
|
|
2133
2133
|
errors: [Forbidden],
|
|
@@ -2139,7 +2139,7 @@ export const listRecords = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => (
|
|
|
2139
2139
|
pageSize: "perPage",
|
|
2140
2140
|
},
|
|
2141
2141
|
}));
|
|
2142
|
-
export const CreateRecordRequest = /*@__PURE__*/
|
|
2142
|
+
export const CreateRecordRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2143
2143
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2144
2144
|
name: Schema.String,
|
|
2145
2145
|
ttl: Schema.Union([Schema.Number, Schema.Literal("1")]),
|
|
@@ -2190,7 +2190,7 @@ export const CreateRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
2190
2190
|
priority: "priority",
|
|
2191
2191
|
data: "data",
|
|
2192
2192
|
}), T.Http({ method: "POST", path: "/zones/{zone_id}/dns_records" })));
|
|
2193
|
-
export const CreateRecordResponse = /*@__PURE__*/
|
|
2193
|
+
export const CreateRecordResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Union([
|
|
2194
2194
|
Openpgpkey,
|
|
2195
2195
|
A,
|
|
2196
2196
|
Aaaa,
|
|
@@ -2213,12 +2213,12 @@ export const CreateRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
2213
2213
|
Tlsa,
|
|
2214
2214
|
Uri,
|
|
2215
2215
|
]).pipe(T.ResponsePath("result")));
|
|
2216
|
-
export const createRecord = /*@__PURE__*/
|
|
2216
|
+
export const createRecord = /*@__PURE__*/ API.make(() => ({
|
|
2217
2217
|
input: CreateRecordRequest,
|
|
2218
2218
|
output: CreateRecordResponse,
|
|
2219
2219
|
errors: [DnsRecordAlreadyExists, Forbidden],
|
|
2220
2220
|
}));
|
|
2221
|
-
export const UpdateRecordRequest = /*@__PURE__*/
|
|
2221
|
+
export const UpdateRecordRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2222
2222
|
dnsRecordId: Schema.String.pipe(T.HttpPath("dnsRecordId")),
|
|
2223
2223
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2224
2224
|
name: Schema.String,
|
|
@@ -2273,7 +2273,7 @@ export const UpdateRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
2273
2273
|
method: "PUT",
|
|
2274
2274
|
path: "/zones/{zone_id}/dns_records/{dnsRecordId}",
|
|
2275
2275
|
})));
|
|
2276
|
-
export const UpdateRecordResponse = /*@__PURE__*/
|
|
2276
|
+
export const UpdateRecordResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Union([
|
|
2277
2277
|
Openpgpkey,
|
|
2278
2278
|
A,
|
|
2279
2279
|
Aaaa,
|
|
@@ -2296,12 +2296,12 @@ export const UpdateRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
2296
2296
|
Tlsa,
|
|
2297
2297
|
Uri,
|
|
2298
2298
|
]).pipe(T.ResponsePath("result")));
|
|
2299
|
-
export const updateRecord = /*@__PURE__*/
|
|
2299
|
+
export const updateRecord = /*@__PURE__*/ API.make(() => ({
|
|
2300
2300
|
input: UpdateRecordRequest,
|
|
2301
2301
|
output: UpdateRecordResponse,
|
|
2302
2302
|
errors: [],
|
|
2303
2303
|
}));
|
|
2304
|
-
export const PatchRecordRequest = /*@__PURE__*/
|
|
2304
|
+
export const PatchRecordRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2305
2305
|
dnsRecordId: Schema.String.pipe(T.HttpPath("dnsRecordId")),
|
|
2306
2306
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2307
2307
|
name: Schema.String,
|
|
@@ -2356,7 +2356,7 @@ export const PatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
2356
2356
|
method: "PATCH",
|
|
2357
2357
|
path: "/zones/{zone_id}/dns_records/{dnsRecordId}",
|
|
2358
2358
|
})));
|
|
2359
|
-
export const PatchRecordResponse = /*@__PURE__*/
|
|
2359
|
+
export const PatchRecordResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Union([
|
|
2360
2360
|
Openpgpkey,
|
|
2361
2361
|
A,
|
|
2362
2362
|
Aaaa,
|
|
@@ -2379,27 +2379,27 @@ export const PatchRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
2379
2379
|
Tlsa,
|
|
2380
2380
|
Uri,
|
|
2381
2381
|
]).pipe(T.ResponsePath("result")));
|
|
2382
|
-
export const patchRecord = /*@__PURE__*/
|
|
2382
|
+
export const patchRecord = /*@__PURE__*/ API.make(() => ({
|
|
2383
2383
|
input: PatchRecordRequest,
|
|
2384
2384
|
output: PatchRecordResponse,
|
|
2385
2385
|
errors: [],
|
|
2386
2386
|
}));
|
|
2387
|
-
export const DeleteRecordRequest = /*@__PURE__*/
|
|
2387
|
+
export const DeleteRecordRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2388
2388
|
dnsRecordId: Schema.String.pipe(T.HttpPath("dnsRecordId")),
|
|
2389
2389
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2390
2390
|
}).pipe(T.Http({
|
|
2391
2391
|
method: "DELETE",
|
|
2392
2392
|
path: "/zones/{zone_id}/dns_records/{dnsRecordId}",
|
|
2393
2393
|
})));
|
|
2394
|
-
export const DeleteRecordResponse = /*@__PURE__*/
|
|
2394
|
+
export const DeleteRecordResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2395
2395
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2396
2396
|
}).pipe(T.ResponsePath("result")));
|
|
2397
|
-
export const deleteRecord = /*@__PURE__*/
|
|
2397
|
+
export const deleteRecord = /*@__PURE__*/ API.make(() => ({
|
|
2398
2398
|
input: DeleteRecordRequest,
|
|
2399
2399
|
output: DeleteRecordResponse,
|
|
2400
2400
|
errors: [],
|
|
2401
2401
|
}));
|
|
2402
|
-
export const BatchRecordRequest = /*@__PURE__*/
|
|
2402
|
+
export const BatchRecordRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2403
2403
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2404
2404
|
deletes: Schema.optional(Schema.Array(Delete)),
|
|
2405
2405
|
patches: Schema.optional(Schema.Array(Schema.Union([
|
|
@@ -2472,7 +2472,7 @@ export const BatchRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
2472
2472
|
Urirecord,
|
|
2473
2473
|
]))),
|
|
2474
2474
|
}).pipe(T.Http({ method: "POST", path: "/zones/{zone_id}/dns_records/batch" })));
|
|
2475
|
-
export const BatchRecordResponse = /*@__PURE__*/
|
|
2475
|
+
export const BatchRecordResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2476
2476
|
deletes: Schema.optional(Schema.Union([
|
|
2477
2477
|
Schema.Array(Schema.Union([
|
|
2478
2478
|
Openpgpkey,
|
|
@@ -2578,21 +2578,21 @@ export const BatchRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
2578
2578
|
Schema.Null,
|
|
2579
2579
|
])),
|
|
2580
2580
|
}).pipe(T.ResponsePath("result")));
|
|
2581
|
-
export const batchRecord = /*@__PURE__*/
|
|
2581
|
+
export const batchRecord = /*@__PURE__*/ API.make(() => ({
|
|
2582
2582
|
input: BatchRecordRequest,
|
|
2583
2583
|
output: BatchRecordResponse,
|
|
2584
2584
|
errors: [],
|
|
2585
2585
|
}));
|
|
2586
|
-
export const ExportRecordRequest = /*@__PURE__*/
|
|
2586
|
+
export const ExportRecordRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2587
2587
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2588
2588
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/dns_records/export" })));
|
|
2589
|
-
export const ExportRecordResponse = /*@__PURE__*/
|
|
2590
|
-
export const exportRecord = /*@__PURE__*/
|
|
2589
|
+
export const ExportRecordResponse = /*@__PURE__*/ Schema.suspend(() => Schema.String);
|
|
2590
|
+
export const exportRecord = /*@__PURE__*/ API.make(() => ({
|
|
2591
2591
|
input: ExportRecordRequest,
|
|
2592
2592
|
output: ExportRecordResponse,
|
|
2593
2593
|
errors: [],
|
|
2594
2594
|
}));
|
|
2595
|
-
export const ImportRecordRequest = /*@__PURE__*/
|
|
2595
|
+
export const ImportRecordRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2596
2596
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2597
2597
|
file: Schema.String,
|
|
2598
2598
|
proxied: Schema.optional(Schema.String),
|
|
@@ -2601,7 +2601,7 @@ export const ImportRecordRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
2601
2601
|
path: "/zones/{zone_id}/dns_records/import",
|
|
2602
2602
|
contentType: "multipart",
|
|
2603
2603
|
})));
|
|
2604
|
-
export const ImportRecordResponse = /*@__PURE__*/
|
|
2604
|
+
export const ImportRecordResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2605
2605
|
recsAdded: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2606
2606
|
totalRecordsParsed: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2607
2607
|
})
|
|
@@ -2610,16 +2610,16 @@ export const ImportRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
2610
2610
|
totalRecordsParsed: "total_records_parsed",
|
|
2611
2611
|
}))
|
|
2612
2612
|
.pipe(T.ResponsePath("result")));
|
|
2613
|
-
export const importRecord = /*@__PURE__*/
|
|
2613
|
+
export const importRecord = /*@__PURE__*/ API.make(() => ({
|
|
2614
2614
|
input: ImportRecordRequest,
|
|
2615
2615
|
output: ImportRecordResponse,
|
|
2616
2616
|
errors: [],
|
|
2617
2617
|
}));
|
|
2618
|
-
export const ScanRecordRequest = /*@__PURE__*/
|
|
2618
|
+
export const ScanRecordRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2619
2619
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2620
2620
|
body: Schema.Unknown.pipe(T.HttpBody()),
|
|
2621
2621
|
}).pipe(T.Http({ method: "POST", path: "/zones/{zone_id}/dns_records/scan" })));
|
|
2622
|
-
export const ScanRecordResponse = /*@__PURE__*/
|
|
2622
|
+
export const ScanRecordResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2623
2623
|
recsAdded: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2624
2624
|
totalRecordsParsed: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2625
2625
|
})
|
|
@@ -2628,13 +2628,13 @@ export const ScanRecordResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
2628
2628
|
totalRecordsParsed: "total_records_parsed",
|
|
2629
2629
|
}))
|
|
2630
2630
|
.pipe(T.ResponsePath("result")));
|
|
2631
|
-
export const scanRecord = /*@__PURE__*/
|
|
2631
|
+
export const scanRecord = /*@__PURE__*/ API.make(() => ({
|
|
2632
2632
|
input: ScanRecordRequest,
|
|
2633
2633
|
output: ScanRecordResponse,
|
|
2634
2634
|
errors: [],
|
|
2635
2635
|
}));
|
|
2636
2636
|
export const ScanReviewRecordRequest =
|
|
2637
|
-
/*@__PURE__*/
|
|
2637
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2638
2638
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2639
2639
|
accepts: Schema.optional(Schema.Array(Schema.Union([
|
|
2640
2640
|
ArecordParam,
|
|
@@ -2665,7 +2665,7 @@ export const ScanReviewRecordRequest =
|
|
|
2665
2665
|
path: "/zones/{zone_id}/dns_records/scan/review",
|
|
2666
2666
|
})));
|
|
2667
2667
|
export const ScanReviewRecordResponse =
|
|
2668
|
-
/*@__PURE__*/
|
|
2668
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2669
2669
|
accepts: Schema.optional(Schema.Union([
|
|
2670
2670
|
Schema.Array(Schema.Union([
|
|
2671
2671
|
Openpgpkey,
|
|
@@ -2694,17 +2694,17 @@ export const ScanReviewRecordResponse =
|
|
|
2694
2694
|
])),
|
|
2695
2695
|
rejects: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
2696
2696
|
}).pipe(T.ResponsePath("result")));
|
|
2697
|
-
export const scanReviewRecord = /*@__PURE__*/
|
|
2697
|
+
export const scanReviewRecord = /*@__PURE__*/ API.make(() => ({
|
|
2698
2698
|
input: ScanReviewRecordRequest,
|
|
2699
2699
|
output: ScanReviewRecordResponse,
|
|
2700
2700
|
errors: [],
|
|
2701
2701
|
}));
|
|
2702
2702
|
export const GetSettingAccountRequest =
|
|
2703
|
-
/*@__PURE__*/
|
|
2703
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2704
2704
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2705
2705
|
}).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/dns_settings" })));
|
|
2706
2706
|
export const GetSettingAccountResponse =
|
|
2707
|
-
/*@__PURE__*/
|
|
2707
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2708
2708
|
zoneDefaults: ZoneDefaults,
|
|
2709
2709
|
enforceDnsOnly: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2710
2710
|
})
|
|
@@ -2713,13 +2713,13 @@ export const GetSettingAccountResponse =
|
|
|
2713
2713
|
enforceDnsOnly: "enforce_dns_only",
|
|
2714
2714
|
}))
|
|
2715
2715
|
.pipe(T.ResponsePath("result")));
|
|
2716
|
-
export const getSettingAccount = /*@__PURE__*/
|
|
2716
|
+
export const getSettingAccount = /*@__PURE__*/ API.make(() => ({
|
|
2717
2717
|
input: GetSettingAccountRequest,
|
|
2718
2718
|
output: GetSettingAccountResponse,
|
|
2719
2719
|
errors: [],
|
|
2720
2720
|
}));
|
|
2721
2721
|
export const PatchSettingAccountRequest =
|
|
2722
|
-
/*@__PURE__*/
|
|
2722
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2723
2723
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2724
2724
|
enforceDnsOnly: Schema.optional(Schema.Boolean),
|
|
2725
2725
|
zoneDefaults: Schema.optional(ZoneDefaults2),
|
|
@@ -2728,7 +2728,7 @@ export const PatchSettingAccountRequest =
|
|
|
2728
2728
|
zoneDefaults: "zone_defaults",
|
|
2729
2729
|
}), T.Http({ method: "PATCH", path: "/accounts/{account_id}/dns_settings" })));
|
|
2730
2730
|
export const PatchSettingAccountResponse =
|
|
2731
|
-
/*@__PURE__*/
|
|
2731
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2732
2732
|
zoneDefaults: ZoneDefaults,
|
|
2733
2733
|
enforceDnsOnly: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
2734
2734
|
})
|
|
@@ -2737,13 +2737,13 @@ export const PatchSettingAccountResponse =
|
|
|
2737
2737
|
enforceDnsOnly: "enforce_dns_only",
|
|
2738
2738
|
}))
|
|
2739
2739
|
.pipe(T.ResponsePath("result")));
|
|
2740
|
-
export const patchSettingAccount = /*@__PURE__*/
|
|
2740
|
+
export const patchSettingAccount = /*@__PURE__*/ API.make(() => ({
|
|
2741
2741
|
input: PatchSettingAccountRequest,
|
|
2742
2742
|
output: PatchSettingAccountResponse,
|
|
2743
2743
|
errors: [DnsSettingNotAvailable],
|
|
2744
2744
|
}));
|
|
2745
2745
|
export const GetSettingAccountViewRequest =
|
|
2746
|
-
/*@__PURE__*/
|
|
2746
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2747
2747
|
viewId: Schema.String.pipe(T.HttpPath("viewId")),
|
|
2748
2748
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2749
2749
|
}).pipe(T.Http({
|
|
@@ -2751,7 +2751,7 @@ export const GetSettingAccountViewRequest =
|
|
|
2751
2751
|
path: "/accounts/{account_id}/dns_settings/views/{viewId}",
|
|
2752
2752
|
})));
|
|
2753
2753
|
export const GetSettingAccountViewResponse =
|
|
2754
|
-
/*@__PURE__*/
|
|
2754
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2755
2755
|
id: Schema.String,
|
|
2756
2756
|
createdTime: Schema.String,
|
|
2757
2757
|
modifiedTime: Schema.String,
|
|
@@ -2766,13 +2766,13 @@ export const GetSettingAccountViewResponse =
|
|
|
2766
2766
|
zones: "zones",
|
|
2767
2767
|
}))
|
|
2768
2768
|
.pipe(T.ResponsePath("result")));
|
|
2769
|
-
export const getSettingAccountView = /*@__PURE__*/
|
|
2769
|
+
export const getSettingAccountView = /*@__PURE__*/ API.make(() => ({
|
|
2770
2770
|
input: GetSettingAccountViewRequest,
|
|
2771
2771
|
output: GetSettingAccountViewResponse,
|
|
2772
2772
|
errors: [ViewNotFound],
|
|
2773
2773
|
}));
|
|
2774
2774
|
export const ListSettingAccountViewsRequest =
|
|
2775
|
-
/*@__PURE__*/
|
|
2775
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2776
2776
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2777
2777
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
2778
2778
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -2795,11 +2795,11 @@ export const ListSettingAccountViewsRequest =
|
|
|
2795
2795
|
path: "/accounts/{account_id}/dns_settings/views",
|
|
2796
2796
|
})));
|
|
2797
2797
|
export const ListSettingAccountViewsResponse =
|
|
2798
|
-
/*@__PURE__*/
|
|
2798
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2799
2799
|
result: Schema.Array(ListSettingAccountViewsResponseResult),
|
|
2800
2800
|
resultInfo: Schema.optional(Schema.Union([ListRecordsResponseResultInfo, Schema.Null])),
|
|
2801
2801
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
2802
|
-
export const listSettingAccountViews = /*@__PURE__*/
|
|
2802
|
+
export const listSettingAccountViews = /*@__PURE__*/ API.makePaginated(() => ({
|
|
2803
2803
|
input: ListSettingAccountViewsRequest,
|
|
2804
2804
|
output: ListSettingAccountViewsResponse,
|
|
2805
2805
|
errors: [],
|
|
@@ -2812,7 +2812,7 @@ export const listSettingAccountViews = /*@__PURE__*/ /*#__PURE__*/ API.makePagin
|
|
|
2812
2812
|
},
|
|
2813
2813
|
}));
|
|
2814
2814
|
export const CreateSettingAccountViewRequest =
|
|
2815
|
-
/*@__PURE__*/
|
|
2815
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2816
2816
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2817
2817
|
name: Schema.String,
|
|
2818
2818
|
zones: Schema.Array(Schema.String),
|
|
@@ -2821,7 +2821,7 @@ export const CreateSettingAccountViewRequest =
|
|
|
2821
2821
|
path: "/accounts/{account_id}/dns_settings/views",
|
|
2822
2822
|
})));
|
|
2823
2823
|
export const CreateSettingAccountViewResponse =
|
|
2824
|
-
/*@__PURE__*/
|
|
2824
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2825
2825
|
id: Schema.String,
|
|
2826
2826
|
createdTime: Schema.String,
|
|
2827
2827
|
modifiedTime: Schema.String,
|
|
@@ -2836,13 +2836,13 @@ export const CreateSettingAccountViewResponse =
|
|
|
2836
2836
|
zones: "zones",
|
|
2837
2837
|
}))
|
|
2838
2838
|
.pipe(T.ResponsePath("result")));
|
|
2839
|
-
export const createSettingAccountView = /*@__PURE__*/
|
|
2839
|
+
export const createSettingAccountView = /*@__PURE__*/ API.make(() => ({
|
|
2840
2840
|
input: CreateSettingAccountViewRequest,
|
|
2841
2841
|
output: CreateSettingAccountViewResponse,
|
|
2842
2842
|
errors: [InternalDnsNotAvailable],
|
|
2843
2843
|
}));
|
|
2844
2844
|
export const PatchSettingAccountViewRequest =
|
|
2845
|
-
/*@__PURE__*/
|
|
2845
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2846
2846
|
viewId: Schema.String.pipe(T.HttpPath("viewId")),
|
|
2847
2847
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2848
2848
|
name: Schema.optional(Schema.String),
|
|
@@ -2852,7 +2852,7 @@ export const PatchSettingAccountViewRequest =
|
|
|
2852
2852
|
path: "/accounts/{account_id}/dns_settings/views/{viewId}",
|
|
2853
2853
|
})));
|
|
2854
2854
|
export const PatchSettingAccountViewResponse =
|
|
2855
|
-
/*@__PURE__*/
|
|
2855
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2856
2856
|
id: Schema.String,
|
|
2857
2857
|
createdTime: Schema.String,
|
|
2858
2858
|
modifiedTime: Schema.String,
|
|
@@ -2867,13 +2867,13 @@ export const PatchSettingAccountViewResponse =
|
|
|
2867
2867
|
zones: "zones",
|
|
2868
2868
|
}))
|
|
2869
2869
|
.pipe(T.ResponsePath("result")));
|
|
2870
|
-
export const patchSettingAccountView = /*@__PURE__*/
|
|
2870
|
+
export const patchSettingAccountView = /*@__PURE__*/ API.make(() => ({
|
|
2871
2871
|
input: PatchSettingAccountViewRequest,
|
|
2872
2872
|
output: PatchSettingAccountViewResponse,
|
|
2873
2873
|
errors: [ViewNotFound],
|
|
2874
2874
|
}));
|
|
2875
2875
|
export const DeleteSettingAccountViewRequest =
|
|
2876
|
-
/*@__PURE__*/
|
|
2876
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2877
2877
|
viewId: Schema.String.pipe(T.HttpPath("viewId")),
|
|
2878
2878
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2879
2879
|
}).pipe(T.Http({
|
|
@@ -2881,19 +2881,19 @@ export const DeleteSettingAccountViewRequest =
|
|
|
2881
2881
|
path: "/accounts/{account_id}/dns_settings/views/{viewId}",
|
|
2882
2882
|
})));
|
|
2883
2883
|
export const DeleteSettingAccountViewResponse =
|
|
2884
|
-
/*@__PURE__*/
|
|
2884
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2885
2885
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2886
2886
|
}).pipe(T.ResponsePath("result")));
|
|
2887
|
-
export const deleteSettingAccountView = /*@__PURE__*/
|
|
2887
|
+
export const deleteSettingAccountView = /*@__PURE__*/ API.make(() => ({
|
|
2888
2888
|
input: DeleteSettingAccountViewRequest,
|
|
2889
2889
|
output: DeleteSettingAccountViewResponse,
|
|
2890
2890
|
errors: [ViewNotFound],
|
|
2891
2891
|
}));
|
|
2892
|
-
export const GetSettingZoneRequest = /*@__PURE__*/
|
|
2892
|
+
export const GetSettingZoneRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2893
2893
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2894
2894
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/dns_settings" })));
|
|
2895
2895
|
export const GetSettingZoneResponse =
|
|
2896
|
-
/*@__PURE__*/
|
|
2896
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2897
2897
|
flattenAllCnames: Schema.Boolean,
|
|
2898
2898
|
foundationDns: Schema.Boolean,
|
|
2899
2899
|
internalDns: InternalDNS,
|
|
@@ -2919,13 +2919,13 @@ export const GetSettingZoneResponse =
|
|
|
2919
2919
|
zoneMode: "zone_mode",
|
|
2920
2920
|
}))
|
|
2921
2921
|
.pipe(T.ResponsePath("result")));
|
|
2922
|
-
export const getSettingZone = /*@__PURE__*/
|
|
2922
|
+
export const getSettingZone = /*@__PURE__*/ API.make(() => ({
|
|
2923
2923
|
input: GetSettingZoneRequest,
|
|
2924
2924
|
output: GetSettingZoneResponse,
|
|
2925
2925
|
errors: [Forbidden],
|
|
2926
2926
|
}));
|
|
2927
2927
|
export const PatchSettingZoneRequest =
|
|
2928
|
-
/*@__PURE__*/
|
|
2928
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2929
2929
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2930
2930
|
flattenAllCnames: Schema.optional(Schema.Boolean),
|
|
2931
2931
|
foundationDns: Schema.optional(Schema.Boolean),
|
|
@@ -2951,7 +2951,7 @@ export const PatchSettingZoneRequest =
|
|
|
2951
2951
|
zoneMode: "zone_mode",
|
|
2952
2952
|
}), T.Http({ method: "PATCH", path: "/zones/{zone_id}/dns_settings" })));
|
|
2953
2953
|
export const PatchSettingZoneResponse =
|
|
2954
|
-
/*@__PURE__*/
|
|
2954
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2955
2955
|
flattenAllCnames: Schema.Boolean,
|
|
2956
2956
|
foundationDns: Schema.Boolean,
|
|
2957
2957
|
internalDns: InternalDNS,
|
|
@@ -2977,38 +2977,38 @@ export const PatchSettingZoneResponse =
|
|
|
2977
2977
|
zoneMode: "zone_mode",
|
|
2978
2978
|
}))
|
|
2979
2979
|
.pipe(T.ResponsePath("result")));
|
|
2980
|
-
export const patchSettingZone = /*@__PURE__*/
|
|
2980
|
+
export const patchSettingZone = /*@__PURE__*/ API.make(() => ({
|
|
2981
2981
|
input: PatchSettingZoneRequest,
|
|
2982
2982
|
output: PatchSettingZoneResponse,
|
|
2983
2983
|
errors: [Forbidden],
|
|
2984
2984
|
}));
|
|
2985
2985
|
export const ScanTriggerRecordRequest =
|
|
2986
|
-
/*@__PURE__*/
|
|
2986
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2987
2987
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2988
2988
|
}).pipe(T.Http({
|
|
2989
2989
|
method: "POST",
|
|
2990
2990
|
path: "/zones/{zone_id}/dns_records/scan/trigger",
|
|
2991
2991
|
})));
|
|
2992
2992
|
export const ScanTriggerRecordResponse =
|
|
2993
|
-
/*@__PURE__*/
|
|
2993
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2994
2994
|
errors: Schema.Array(Error2),
|
|
2995
2995
|
messages: Schema.Array(Error2),
|
|
2996
2996
|
success: Schema.Literal(true),
|
|
2997
2997
|
}));
|
|
2998
|
-
export const scanTriggerRecord = /*@__PURE__*/
|
|
2998
|
+
export const scanTriggerRecord = /*@__PURE__*/ API.make(() => ({
|
|
2999
2999
|
input: ScanTriggerRecordRequest,
|
|
3000
3000
|
output: ScanTriggerRecordResponse,
|
|
3001
3001
|
errors: [],
|
|
3002
3002
|
}));
|
|
3003
3003
|
export const GetUsageAccountRequest =
|
|
3004
|
-
/*@__PURE__*/
|
|
3004
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3005
3005
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3006
3006
|
}).pipe(T.Http({
|
|
3007
3007
|
method: "GET",
|
|
3008
3008
|
path: "/accounts/{account_id}/dns_records/usage",
|
|
3009
3009
|
})));
|
|
3010
3010
|
export const GetUsageAccountResponse =
|
|
3011
|
-
/*@__PURE__*/
|
|
3011
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3012
3012
|
recordQuota: Schema.Union([Schema.Number, Schema.Null]),
|
|
3013
3013
|
recordUsage: Schema.Number,
|
|
3014
3014
|
internalRecordQuota: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -3021,15 +3021,15 @@ export const GetUsageAccountResponse =
|
|
|
3021
3021
|
internalRecordUsage: "internal_record_usage",
|
|
3022
3022
|
}))
|
|
3023
3023
|
.pipe(T.ResponsePath("result")));
|
|
3024
|
-
export const getUsageAccount = /*@__PURE__*/
|
|
3024
|
+
export const getUsageAccount = /*@__PURE__*/ API.make(() => ({
|
|
3025
3025
|
input: GetUsageAccountRequest,
|
|
3026
3026
|
output: GetUsageAccountResponse,
|
|
3027
3027
|
errors: [],
|
|
3028
3028
|
}));
|
|
3029
|
-
export const GetUsageZoneRequest = /*@__PURE__*/
|
|
3029
|
+
export const GetUsageZoneRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3030
3030
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3031
3031
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/dns_records/usage" })));
|
|
3032
|
-
export const GetUsageZoneResponse = /*@__PURE__*/
|
|
3032
|
+
export const GetUsageZoneResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3033
3033
|
recordQuota: Schema.Union([Schema.Number, Schema.Null]),
|
|
3034
3034
|
recordUsage: Schema.Number,
|
|
3035
3035
|
})
|
|
@@ -3038,13 +3038,13 @@ export const GetUsageZoneResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
3038
3038
|
recordUsage: "record_usage",
|
|
3039
3039
|
}))
|
|
3040
3040
|
.pipe(T.ResponsePath("result")));
|
|
3041
|
-
export const getUsageZone = /*@__PURE__*/
|
|
3041
|
+
export const getUsageZone = /*@__PURE__*/ API.make(() => ({
|
|
3042
3042
|
input: GetUsageZoneRequest,
|
|
3043
3043
|
output: GetUsageZoneResponse,
|
|
3044
3044
|
errors: [],
|
|
3045
3045
|
}));
|
|
3046
3046
|
export const GetZoneTransferAclRequest =
|
|
3047
|
-
/*@__PURE__*/
|
|
3047
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3048
3048
|
aclId: Schema.String.pipe(T.HttpPath("aclId")),
|
|
3049
3049
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3050
3050
|
}).pipe(T.Http({
|
|
@@ -3052,30 +3052,30 @@ export const GetZoneTransferAclRequest =
|
|
|
3052
3052
|
path: "/accounts/{account_id}/secondary_dns/acls/{aclId}",
|
|
3053
3053
|
})));
|
|
3054
3054
|
export const GetZoneTransferAclResponse =
|
|
3055
|
-
/*@__PURE__*/
|
|
3055
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3056
3056
|
id: Schema.String,
|
|
3057
3057
|
ipRange: Schema.String,
|
|
3058
3058
|
name: Schema.String,
|
|
3059
3059
|
})
|
|
3060
3060
|
.pipe(Schema.encodeKeys({ id: "id", ipRange: "ip_range", name: "name" }))
|
|
3061
3061
|
.pipe(T.ResponsePath("result")));
|
|
3062
|
-
export const getZoneTransferAcl = /*@__PURE__*/
|
|
3062
|
+
export const getZoneTransferAcl = /*@__PURE__*/ API.make(() => ({
|
|
3063
3063
|
input: GetZoneTransferAclRequest,
|
|
3064
3064
|
output: GetZoneTransferAclResponse,
|
|
3065
3065
|
errors: [AclNotFound],
|
|
3066
3066
|
}));
|
|
3067
3067
|
export const ListZoneTransferAclsRequest =
|
|
3068
|
-
/*@__PURE__*/
|
|
3068
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3069
3069
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3070
3070
|
}).pipe(T.Http({
|
|
3071
3071
|
method: "GET",
|
|
3072
3072
|
path: "/accounts/{account_id}/secondary_dns/acls",
|
|
3073
3073
|
})));
|
|
3074
3074
|
export const ListZoneTransferAclsResponse =
|
|
3075
|
-
/*@__PURE__*/
|
|
3075
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3076
3076
|
result: Schema.Array(ListZoneTransferAclsResponseResult),
|
|
3077
3077
|
}));
|
|
3078
|
-
export const listZoneTransferAcls = /*@__PURE__*/
|
|
3078
|
+
export const listZoneTransferAcls = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3079
3079
|
input: ListZoneTransferAclsRequest,
|
|
3080
3080
|
output: ListZoneTransferAclsResponse,
|
|
3081
3081
|
errors: [],
|
|
@@ -3085,7 +3085,7 @@ export const listZoneTransferAcls = /*@__PURE__*/ /*#__PURE__*/ API.makePaginate
|
|
|
3085
3085
|
},
|
|
3086
3086
|
}));
|
|
3087
3087
|
export const CreateZoneTransferAclRequest =
|
|
3088
|
-
/*@__PURE__*/
|
|
3088
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3089
3089
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3090
3090
|
ipRange: Schema.String,
|
|
3091
3091
|
name: Schema.String,
|
|
@@ -3094,20 +3094,20 @@ export const CreateZoneTransferAclRequest =
|
|
|
3094
3094
|
path: "/accounts/{account_id}/secondary_dns/acls",
|
|
3095
3095
|
})));
|
|
3096
3096
|
export const CreateZoneTransferAclResponse =
|
|
3097
|
-
/*@__PURE__*/
|
|
3097
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3098
3098
|
id: Schema.String,
|
|
3099
3099
|
ipRange: Schema.String,
|
|
3100
3100
|
name: Schema.String,
|
|
3101
3101
|
})
|
|
3102
3102
|
.pipe(Schema.encodeKeys({ id: "id", ipRange: "ip_range", name: "name" }))
|
|
3103
3103
|
.pipe(T.ResponsePath("result")));
|
|
3104
|
-
export const createZoneTransferAcl = /*@__PURE__*/
|
|
3104
|
+
export const createZoneTransferAcl = /*@__PURE__*/ API.make(() => ({
|
|
3105
3105
|
input: CreateZoneTransferAclRequest,
|
|
3106
3106
|
output: CreateZoneTransferAclResponse,
|
|
3107
3107
|
errors: [],
|
|
3108
3108
|
}));
|
|
3109
3109
|
export const UpdateZoneTransferAclRequest =
|
|
3110
|
-
/*@__PURE__*/
|
|
3110
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3111
3111
|
aclId: Schema.String.pipe(T.HttpPath("aclId")),
|
|
3112
3112
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3113
3113
|
ipRange: Schema.String,
|
|
@@ -3117,20 +3117,20 @@ export const UpdateZoneTransferAclRequest =
|
|
|
3117
3117
|
path: "/accounts/{account_id}/secondary_dns/acls/{aclId}",
|
|
3118
3118
|
})));
|
|
3119
3119
|
export const UpdateZoneTransferAclResponse =
|
|
3120
|
-
/*@__PURE__*/
|
|
3120
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3121
3121
|
id: Schema.String,
|
|
3122
3122
|
ipRange: Schema.String,
|
|
3123
3123
|
name: Schema.String,
|
|
3124
3124
|
})
|
|
3125
3125
|
.pipe(Schema.encodeKeys({ id: "id", ipRange: "ip_range", name: "name" }))
|
|
3126
3126
|
.pipe(T.ResponsePath("result")));
|
|
3127
|
-
export const updateZoneTransferAcl = /*@__PURE__*/
|
|
3127
|
+
export const updateZoneTransferAcl = /*@__PURE__*/ API.make(() => ({
|
|
3128
3128
|
input: UpdateZoneTransferAclRequest,
|
|
3129
3129
|
output: UpdateZoneTransferAclResponse,
|
|
3130
3130
|
errors: [AclNotFound],
|
|
3131
3131
|
}));
|
|
3132
3132
|
export const DeleteZoneTransferAclRequest =
|
|
3133
|
-
/*@__PURE__*/
|
|
3133
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3134
3134
|
aclId: Schema.String.pipe(T.HttpPath("aclId")),
|
|
3135
3135
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3136
3136
|
}).pipe(T.Http({
|
|
@@ -3138,16 +3138,16 @@ export const DeleteZoneTransferAclRequest =
|
|
|
3138
3138
|
path: "/accounts/{account_id}/secondary_dns/acls/{aclId}",
|
|
3139
3139
|
})));
|
|
3140
3140
|
export const DeleteZoneTransferAclResponse =
|
|
3141
|
-
/*@__PURE__*/
|
|
3141
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3142
3142
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3143
3143
|
}).pipe(T.ResponsePath("result")));
|
|
3144
|
-
export const deleteZoneTransferAcl = /*@__PURE__*/
|
|
3144
|
+
export const deleteZoneTransferAcl = /*@__PURE__*/ API.make(() => ({
|
|
3145
3145
|
input: DeleteZoneTransferAclRequest,
|
|
3146
3146
|
output: DeleteZoneTransferAclResponse,
|
|
3147
3147
|
errors: [AclNotFound],
|
|
3148
3148
|
}));
|
|
3149
3149
|
export const CreateZoneTransferForceAxfrRequest =
|
|
3150
|
-
/*@__PURE__*/
|
|
3150
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3151
3151
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3152
3152
|
body: Schema.Unknown.pipe(T.HttpBody()),
|
|
3153
3153
|
}).pipe(T.Http({
|
|
@@ -3155,21 +3155,21 @@ export const CreateZoneTransferForceAxfrRequest =
|
|
|
3155
3155
|
path: "/zones/{zone_id}/secondary_dns/force_axfr",
|
|
3156
3156
|
})));
|
|
3157
3157
|
export const CreateZoneTransferForceAxfrResponse =
|
|
3158
|
-
/*@__PURE__*/
|
|
3159
|
-
export const createZoneTransferForceAxfr = /*@__PURE__*/
|
|
3158
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
|
|
3159
|
+
export const createZoneTransferForceAxfr = /*@__PURE__*/ API.make(() => ({
|
|
3160
3160
|
input: CreateZoneTransferForceAxfrRequest,
|
|
3161
3161
|
output: CreateZoneTransferForceAxfrResponse,
|
|
3162
3162
|
errors: [],
|
|
3163
3163
|
}));
|
|
3164
3164
|
export const GetZoneTransferIncomingRequest =
|
|
3165
|
-
/*@__PURE__*/
|
|
3165
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3166
3166
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3167
3167
|
}).pipe(T.Http({
|
|
3168
3168
|
method: "GET",
|
|
3169
3169
|
path: "/zones/{zone_id}/secondary_dns/incoming",
|
|
3170
3170
|
})));
|
|
3171
3171
|
export const GetZoneTransferIncomingResponse =
|
|
3172
|
-
/*@__PURE__*/
|
|
3172
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3173
3173
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3174
3174
|
autoRefreshSeconds: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3175
3175
|
checkedTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3190,13 +3190,13 @@ export const GetZoneTransferIncomingResponse =
|
|
|
3190
3190
|
soaSerial: "soa_serial",
|
|
3191
3191
|
}))
|
|
3192
3192
|
.pipe(T.ResponsePath("result")));
|
|
3193
|
-
export const getZoneTransferIncoming = /*@__PURE__*/
|
|
3193
|
+
export const getZoneTransferIncoming = /*@__PURE__*/ API.make(() => ({
|
|
3194
3194
|
input: GetZoneTransferIncomingRequest,
|
|
3195
3195
|
output: GetZoneTransferIncomingResponse,
|
|
3196
3196
|
errors: [IncomingZoneTransferNotFound],
|
|
3197
3197
|
}));
|
|
3198
3198
|
export const CreateZoneTransferIncomingRequest =
|
|
3199
|
-
/*@__PURE__*/
|
|
3199
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3200
3200
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3201
3201
|
autoRefreshSeconds: Schema.Number,
|
|
3202
3202
|
name: Schema.String,
|
|
@@ -3210,7 +3210,7 @@ export const CreateZoneTransferIncomingRequest =
|
|
|
3210
3210
|
path: "/zones/{zone_id}/secondary_dns/incoming",
|
|
3211
3211
|
})));
|
|
3212
3212
|
export const CreateZoneTransferIncomingResponse =
|
|
3213
|
-
/*@__PURE__*/
|
|
3213
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3214
3214
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3215
3215
|
autoRefreshSeconds: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3216
3216
|
checkedTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3231,13 +3231,13 @@ export const CreateZoneTransferIncomingResponse =
|
|
|
3231
3231
|
soaSerial: "soa_serial",
|
|
3232
3232
|
}))
|
|
3233
3233
|
.pipe(T.ResponsePath("result")));
|
|
3234
|
-
export const createZoneTransferIncoming = /*@__PURE__*/
|
|
3234
|
+
export const createZoneTransferIncoming = /*@__PURE__*/ API.make(() => ({
|
|
3235
3235
|
input: CreateZoneTransferIncomingRequest,
|
|
3236
3236
|
output: CreateZoneTransferIncomingResponse,
|
|
3237
3237
|
errors: [],
|
|
3238
3238
|
}));
|
|
3239
3239
|
export const UpdateZoneTransferIncomingRequest =
|
|
3240
|
-
/*@__PURE__*/
|
|
3240
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3241
3241
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3242
3242
|
autoRefreshSeconds: Schema.Number,
|
|
3243
3243
|
name: Schema.String,
|
|
@@ -3251,7 +3251,7 @@ export const UpdateZoneTransferIncomingRequest =
|
|
|
3251
3251
|
path: "/zones/{zone_id}/secondary_dns/incoming",
|
|
3252
3252
|
})));
|
|
3253
3253
|
export const UpdateZoneTransferIncomingResponse =
|
|
3254
|
-
/*@__PURE__*/
|
|
3254
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3255
3255
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3256
3256
|
autoRefreshSeconds: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3257
3257
|
checkedTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3272,36 +3272,36 @@ export const UpdateZoneTransferIncomingResponse =
|
|
|
3272
3272
|
soaSerial: "soa_serial",
|
|
3273
3273
|
}))
|
|
3274
3274
|
.pipe(T.ResponsePath("result")));
|
|
3275
|
-
export const updateZoneTransferIncoming = /*@__PURE__*/
|
|
3275
|
+
export const updateZoneTransferIncoming = /*@__PURE__*/ API.make(() => ({
|
|
3276
3276
|
input: UpdateZoneTransferIncomingRequest,
|
|
3277
3277
|
output: UpdateZoneTransferIncomingResponse,
|
|
3278
3278
|
errors: [IncomingZoneTransferNotFound],
|
|
3279
3279
|
}));
|
|
3280
3280
|
export const DeleteZoneTransferIncomingRequest =
|
|
3281
|
-
/*@__PURE__*/
|
|
3281
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3282
3282
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3283
3283
|
}).pipe(T.Http({
|
|
3284
3284
|
method: "DELETE",
|
|
3285
3285
|
path: "/zones/{zone_id}/secondary_dns/incoming",
|
|
3286
3286
|
})));
|
|
3287
3287
|
export const DeleteZoneTransferIncomingResponse =
|
|
3288
|
-
/*@__PURE__*/
|
|
3288
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3289
3289
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3290
3290
|
}).pipe(T.ResponsePath("result")));
|
|
3291
|
-
export const deleteZoneTransferIncoming = /*@__PURE__*/
|
|
3291
|
+
export const deleteZoneTransferIncoming = /*@__PURE__*/ API.make(() => ({
|
|
3292
3292
|
input: DeleteZoneTransferIncomingRequest,
|
|
3293
3293
|
output: DeleteZoneTransferIncomingResponse,
|
|
3294
3294
|
errors: [IncomingZoneTransferNotFound],
|
|
3295
3295
|
}));
|
|
3296
3296
|
export const GetZoneTransferOutgoingRequest =
|
|
3297
|
-
/*@__PURE__*/
|
|
3297
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3298
3298
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3299
3299
|
}).pipe(T.Http({
|
|
3300
3300
|
method: "GET",
|
|
3301
3301
|
path: "/zones/{zone_id}/secondary_dns/outgoing",
|
|
3302
3302
|
})));
|
|
3303
3303
|
export const GetZoneTransferOutgoingResponse =
|
|
3304
|
-
/*@__PURE__*/
|
|
3304
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3305
3305
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3306
3306
|
checkedTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3307
3307
|
createdTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3320,13 +3320,13 @@ export const GetZoneTransferOutgoingResponse =
|
|
|
3320
3320
|
soaSerial: "soa_serial",
|
|
3321
3321
|
}))
|
|
3322
3322
|
.pipe(T.ResponsePath("result")));
|
|
3323
|
-
export const getZoneTransferOutgoing = /*@__PURE__*/
|
|
3323
|
+
export const getZoneTransferOutgoing = /*@__PURE__*/ API.make(() => ({
|
|
3324
3324
|
input: GetZoneTransferOutgoingRequest,
|
|
3325
3325
|
output: GetZoneTransferOutgoingResponse,
|
|
3326
3326
|
errors: [OutgoingZoneTransferNotFound, OutgoingZoneTransfersNotAllowed],
|
|
3327
3327
|
}));
|
|
3328
3328
|
export const CreateZoneTransferOutgoingRequest =
|
|
3329
|
-
/*@__PURE__*/
|
|
3329
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3330
3330
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3331
3331
|
name: Schema.String,
|
|
3332
3332
|
peers: Schema.Array(Schema.String),
|
|
@@ -3335,7 +3335,7 @@ export const CreateZoneTransferOutgoingRequest =
|
|
|
3335
3335
|
path: "/zones/{zone_id}/secondary_dns/outgoing",
|
|
3336
3336
|
})));
|
|
3337
3337
|
export const CreateZoneTransferOutgoingResponse =
|
|
3338
|
-
/*@__PURE__*/
|
|
3338
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3339
3339
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3340
3340
|
checkedTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3341
3341
|
createdTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3354,13 +3354,13 @@ export const CreateZoneTransferOutgoingResponse =
|
|
|
3354
3354
|
soaSerial: "soa_serial",
|
|
3355
3355
|
}))
|
|
3356
3356
|
.pipe(T.ResponsePath("result")));
|
|
3357
|
-
export const createZoneTransferOutgoing = /*@__PURE__*/
|
|
3357
|
+
export const createZoneTransferOutgoing = /*@__PURE__*/ API.make(() => ({
|
|
3358
3358
|
input: CreateZoneTransferOutgoingRequest,
|
|
3359
3359
|
output: CreateZoneTransferOutgoingResponse,
|
|
3360
3360
|
errors: [OutgoingZoneTransfersNotAllowed],
|
|
3361
3361
|
}));
|
|
3362
3362
|
export const UpdateZoneTransferOutgoingRequest =
|
|
3363
|
-
/*@__PURE__*/
|
|
3363
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3364
3364
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3365
3365
|
name: Schema.String,
|
|
3366
3366
|
peers: Schema.Array(Schema.String),
|
|
@@ -3369,7 +3369,7 @@ export const UpdateZoneTransferOutgoingRequest =
|
|
|
3369
3369
|
path: "/zones/{zone_id}/secondary_dns/outgoing",
|
|
3370
3370
|
})));
|
|
3371
3371
|
export const UpdateZoneTransferOutgoingResponse =
|
|
3372
|
-
/*@__PURE__*/
|
|
3372
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3373
3373
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3374
3374
|
checkedTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3375
3375
|
createdTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3388,29 +3388,29 @@ export const UpdateZoneTransferOutgoingResponse =
|
|
|
3388
3388
|
soaSerial: "soa_serial",
|
|
3389
3389
|
}))
|
|
3390
3390
|
.pipe(T.ResponsePath("result")));
|
|
3391
|
-
export const updateZoneTransferOutgoing = /*@__PURE__*/
|
|
3391
|
+
export const updateZoneTransferOutgoing = /*@__PURE__*/ API.make(() => ({
|
|
3392
3392
|
input: UpdateZoneTransferOutgoingRequest,
|
|
3393
3393
|
output: UpdateZoneTransferOutgoingResponse,
|
|
3394
3394
|
errors: [OutgoingZoneTransferNotFound, OutgoingZoneTransfersNotAllowed],
|
|
3395
3395
|
}));
|
|
3396
3396
|
export const DeleteZoneTransferOutgoingRequest =
|
|
3397
|
-
/*@__PURE__*/
|
|
3397
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3398
3398
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3399
3399
|
}).pipe(T.Http({
|
|
3400
3400
|
method: "DELETE",
|
|
3401
3401
|
path: "/zones/{zone_id}/secondary_dns/outgoing",
|
|
3402
3402
|
})));
|
|
3403
3403
|
export const DeleteZoneTransferOutgoingResponse =
|
|
3404
|
-
/*@__PURE__*/
|
|
3404
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3405
3405
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3406
3406
|
}).pipe(T.ResponsePath("result")));
|
|
3407
|
-
export const deleteZoneTransferOutgoing = /*@__PURE__*/
|
|
3407
|
+
export const deleteZoneTransferOutgoing = /*@__PURE__*/ API.make(() => ({
|
|
3408
3408
|
input: DeleteZoneTransferOutgoingRequest,
|
|
3409
3409
|
output: DeleteZoneTransferOutgoingResponse,
|
|
3410
3410
|
errors: [OutgoingZoneTransferNotFound, OutgoingZoneTransfersNotAllowed],
|
|
3411
3411
|
}));
|
|
3412
3412
|
export const EnableZoneTransferOutgoingRequest =
|
|
3413
|
-
/*@__PURE__*/
|
|
3413
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3414
3414
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3415
3415
|
body: Schema.Unknown.pipe(T.HttpBody()),
|
|
3416
3416
|
}).pipe(T.Http({
|
|
@@ -3418,14 +3418,14 @@ export const EnableZoneTransferOutgoingRequest =
|
|
|
3418
3418
|
path: "/zones/{zone_id}/secondary_dns/outgoing/enable",
|
|
3419
3419
|
})));
|
|
3420
3420
|
export const EnableZoneTransferOutgoingResponse =
|
|
3421
|
-
/*@__PURE__*/
|
|
3422
|
-
export const enableZoneTransferOutgoing = /*@__PURE__*/
|
|
3421
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
|
|
3422
|
+
export const enableZoneTransferOutgoing = /*@__PURE__*/ API.make(() => ({
|
|
3423
3423
|
input: EnableZoneTransferOutgoingRequest,
|
|
3424
3424
|
output: EnableZoneTransferOutgoingResponse,
|
|
3425
3425
|
errors: [OutgoingZoneTransfersNotAllowed],
|
|
3426
3426
|
}));
|
|
3427
3427
|
export const DisableZoneTransferOutgoingRequest =
|
|
3428
|
-
/*@__PURE__*/
|
|
3428
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3429
3429
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3430
3430
|
body: Schema.Unknown.pipe(T.HttpBody()),
|
|
3431
3431
|
}).pipe(T.Http({
|
|
@@ -3433,28 +3433,28 @@ export const DisableZoneTransferOutgoingRequest =
|
|
|
3433
3433
|
path: "/zones/{zone_id}/secondary_dns/outgoing/disable",
|
|
3434
3434
|
})));
|
|
3435
3435
|
export const DisableZoneTransferOutgoingResponse =
|
|
3436
|
-
/*@__PURE__*/
|
|
3437
|
-
export const disableZoneTransferOutgoing = /*@__PURE__*/
|
|
3436
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
|
|
3437
|
+
export const disableZoneTransferOutgoing = /*@__PURE__*/ API.make(() => ({
|
|
3438
3438
|
input: DisableZoneTransferOutgoingRequest,
|
|
3439
3439
|
output: DisableZoneTransferOutgoingResponse,
|
|
3440
3440
|
errors: [OutgoingZoneTransfersNotAllowed],
|
|
3441
3441
|
}));
|
|
3442
3442
|
export const GetZoneTransferOutgoingStatusRequest =
|
|
3443
|
-
/*@__PURE__*/
|
|
3443
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3444
3444
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
3445
3445
|
}).pipe(T.Http({
|
|
3446
3446
|
method: "GET",
|
|
3447
3447
|
path: "/zones/{zone_id}/secondary_dns/outgoing/status",
|
|
3448
3448
|
})));
|
|
3449
3449
|
export const GetZoneTransferOutgoingStatusResponse =
|
|
3450
|
-
/*@__PURE__*/
|
|
3451
|
-
export const getZoneTransferOutgoingStatus = /*@__PURE__*/
|
|
3450
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
|
|
3451
|
+
export const getZoneTransferOutgoingStatus = /*@__PURE__*/ API.make(() => ({
|
|
3452
3452
|
input: GetZoneTransferOutgoingStatusRequest,
|
|
3453
3453
|
output: GetZoneTransferOutgoingStatusResponse,
|
|
3454
3454
|
errors: [],
|
|
3455
3455
|
}));
|
|
3456
3456
|
export const GetZoneTransferPeerRequest =
|
|
3457
|
-
/*@__PURE__*/
|
|
3457
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3458
3458
|
peerId: Schema.String.pipe(T.HttpPath("peerId")),
|
|
3459
3459
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3460
3460
|
}).pipe(T.Http({
|
|
@@ -3462,7 +3462,7 @@ export const GetZoneTransferPeerRequest =
|
|
|
3462
3462
|
path: "/accounts/{account_id}/secondary_dns/peers/{peerId}",
|
|
3463
3463
|
})));
|
|
3464
3464
|
export const GetZoneTransferPeerResponse =
|
|
3465
|
-
/*@__PURE__*/
|
|
3465
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3466
3466
|
id: Schema.String,
|
|
3467
3467
|
name: Schema.String,
|
|
3468
3468
|
ip: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3479,23 +3479,23 @@ export const GetZoneTransferPeerResponse =
|
|
|
3479
3479
|
tsigId: "tsig_id",
|
|
3480
3480
|
}))
|
|
3481
3481
|
.pipe(T.ResponsePath("result")));
|
|
3482
|
-
export const getZoneTransferPeer = /*@__PURE__*/
|
|
3482
|
+
export const getZoneTransferPeer = /*@__PURE__*/ API.make(() => ({
|
|
3483
3483
|
input: GetZoneTransferPeerRequest,
|
|
3484
3484
|
output: GetZoneTransferPeerResponse,
|
|
3485
3485
|
errors: [PeerNotFound],
|
|
3486
3486
|
}));
|
|
3487
3487
|
export const ListZoneTransferPeersRequest =
|
|
3488
|
-
/*@__PURE__*/
|
|
3488
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3489
3489
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3490
3490
|
}).pipe(T.Http({
|
|
3491
3491
|
method: "GET",
|
|
3492
3492
|
path: "/accounts/{account_id}/secondary_dns/peers",
|
|
3493
3493
|
})));
|
|
3494
3494
|
export const ListZoneTransferPeersResponse =
|
|
3495
|
-
/*@__PURE__*/
|
|
3495
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3496
3496
|
result: Schema.Array(ListZoneTransferPeersResponseResult),
|
|
3497
3497
|
}));
|
|
3498
|
-
export const listZoneTransferPeers = /*@__PURE__*/
|
|
3498
|
+
export const listZoneTransferPeers = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3499
3499
|
input: ListZoneTransferPeersRequest,
|
|
3500
3500
|
output: ListZoneTransferPeersResponse,
|
|
3501
3501
|
errors: [],
|
|
@@ -3505,7 +3505,7 @@ export const listZoneTransferPeers = /*@__PURE__*/ /*#__PURE__*/ API.makePaginat
|
|
|
3505
3505
|
},
|
|
3506
3506
|
}));
|
|
3507
3507
|
export const CreateZoneTransferPeerRequest =
|
|
3508
|
-
/*@__PURE__*/
|
|
3508
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3509
3509
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3510
3510
|
name: Schema.String,
|
|
3511
3511
|
}).pipe(T.Http({
|
|
@@ -3513,7 +3513,7 @@ export const CreateZoneTransferPeerRequest =
|
|
|
3513
3513
|
path: "/accounts/{account_id}/secondary_dns/peers",
|
|
3514
3514
|
})));
|
|
3515
3515
|
export const CreateZoneTransferPeerResponse =
|
|
3516
|
-
/*@__PURE__*/
|
|
3516
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3517
3517
|
id: Schema.String,
|
|
3518
3518
|
name: Schema.String,
|
|
3519
3519
|
ip: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3530,13 +3530,13 @@ export const CreateZoneTransferPeerResponse =
|
|
|
3530
3530
|
tsigId: "tsig_id",
|
|
3531
3531
|
}))
|
|
3532
3532
|
.pipe(T.ResponsePath("result")));
|
|
3533
|
-
export const createZoneTransferPeer = /*@__PURE__*/
|
|
3533
|
+
export const createZoneTransferPeer = /*@__PURE__*/ API.make(() => ({
|
|
3534
3534
|
input: CreateZoneTransferPeerRequest,
|
|
3535
3535
|
output: CreateZoneTransferPeerResponse,
|
|
3536
3536
|
errors: [],
|
|
3537
3537
|
}));
|
|
3538
3538
|
export const UpdateZoneTransferPeerRequest =
|
|
3539
|
-
/*@__PURE__*/
|
|
3539
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3540
3540
|
peerId: Schema.String.pipe(T.HttpPath("peerId")),
|
|
3541
3541
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3542
3542
|
name: Schema.String,
|
|
@@ -3555,7 +3555,7 @@ export const UpdateZoneTransferPeerRequest =
|
|
|
3555
3555
|
path: "/accounts/{account_id}/secondary_dns/peers/{peerId}",
|
|
3556
3556
|
})));
|
|
3557
3557
|
export const UpdateZoneTransferPeerResponse =
|
|
3558
|
-
/*@__PURE__*/
|
|
3558
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3559
3559
|
id: Schema.String,
|
|
3560
3560
|
name: Schema.String,
|
|
3561
3561
|
ip: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -3572,13 +3572,13 @@ export const UpdateZoneTransferPeerResponse =
|
|
|
3572
3572
|
tsigId: "tsig_id",
|
|
3573
3573
|
}))
|
|
3574
3574
|
.pipe(T.ResponsePath("result")));
|
|
3575
|
-
export const updateZoneTransferPeer = /*@__PURE__*/
|
|
3575
|
+
export const updateZoneTransferPeer = /*@__PURE__*/ API.make(() => ({
|
|
3576
3576
|
input: UpdateZoneTransferPeerRequest,
|
|
3577
3577
|
output: UpdateZoneTransferPeerResponse,
|
|
3578
3578
|
errors: [PeerNotFound],
|
|
3579
3579
|
}));
|
|
3580
3580
|
export const DeleteZoneTransferPeerRequest =
|
|
3581
|
-
/*@__PURE__*/
|
|
3581
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3582
3582
|
peerId: Schema.String.pipe(T.HttpPath("peerId")),
|
|
3583
3583
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3584
3584
|
}).pipe(T.Http({
|
|
@@ -3586,16 +3586,16 @@ export const DeleteZoneTransferPeerRequest =
|
|
|
3586
3586
|
path: "/accounts/{account_id}/secondary_dns/peers/{peerId}",
|
|
3587
3587
|
})));
|
|
3588
3588
|
export const DeleteZoneTransferPeerResponse =
|
|
3589
|
-
/*@__PURE__*/
|
|
3589
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3590
3590
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3591
3591
|
}).pipe(T.ResponsePath("result")));
|
|
3592
|
-
export const deleteZoneTransferPeer = /*@__PURE__*/
|
|
3592
|
+
export const deleteZoneTransferPeer = /*@__PURE__*/ API.make(() => ({
|
|
3593
3593
|
input: DeleteZoneTransferPeerRequest,
|
|
3594
3594
|
output: DeleteZoneTransferPeerResponse,
|
|
3595
3595
|
errors: [PeerNotFound],
|
|
3596
3596
|
}));
|
|
3597
3597
|
export const GetZoneTransferTsigRequest =
|
|
3598
|
-
/*@__PURE__*/
|
|
3598
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3599
3599
|
tsigId: Schema.String.pipe(T.HttpPath("tsigId")),
|
|
3600
3600
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3601
3601
|
}).pipe(T.Http({
|
|
@@ -3603,29 +3603,29 @@ export const GetZoneTransferTsigRequest =
|
|
|
3603
3603
|
path: "/accounts/{account_id}/secondary_dns/tsigs/{tsigId}",
|
|
3604
3604
|
})));
|
|
3605
3605
|
export const GetZoneTransferTsigResponse =
|
|
3606
|
-
/*@__PURE__*/
|
|
3606
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3607
3607
|
id: Schema.String,
|
|
3608
3608
|
algo: Schema.String,
|
|
3609
3609
|
name: Schema.String,
|
|
3610
3610
|
secret: Schema.String,
|
|
3611
3611
|
}).pipe(T.ResponsePath("result")));
|
|
3612
|
-
export const getZoneTransferTsig = /*@__PURE__*/
|
|
3612
|
+
export const getZoneTransferTsig = /*@__PURE__*/ API.make(() => ({
|
|
3613
3613
|
input: GetZoneTransferTsigRequest,
|
|
3614
3614
|
output: GetZoneTransferTsigResponse,
|
|
3615
3615
|
errors: [TsigNotFound],
|
|
3616
3616
|
}));
|
|
3617
3617
|
export const ListZoneTransferTsigsRequest =
|
|
3618
|
-
/*@__PURE__*/
|
|
3618
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3619
3619
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3620
3620
|
}).pipe(T.Http({
|
|
3621
3621
|
method: "GET",
|
|
3622
3622
|
path: "/accounts/{account_id}/secondary_dns/tsigs",
|
|
3623
3623
|
})));
|
|
3624
3624
|
export const ListZoneTransferTsigsResponse =
|
|
3625
|
-
/*@__PURE__*/
|
|
3625
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3626
3626
|
result: Schema.Array(ListZoneTransferTsigsResponseResult),
|
|
3627
3627
|
}));
|
|
3628
|
-
export const listZoneTransferTsigs = /*@__PURE__*/
|
|
3628
|
+
export const listZoneTransferTsigs = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3629
3629
|
input: ListZoneTransferTsigsRequest,
|
|
3630
3630
|
output: ListZoneTransferTsigsResponse,
|
|
3631
3631
|
errors: [],
|
|
@@ -3635,7 +3635,7 @@ export const listZoneTransferTsigs = /*@__PURE__*/ /*#__PURE__*/ API.makePaginat
|
|
|
3635
3635
|
},
|
|
3636
3636
|
}));
|
|
3637
3637
|
export const CreateZoneTransferTsigRequest =
|
|
3638
|
-
/*@__PURE__*/
|
|
3638
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3639
3639
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3640
3640
|
algo: Schema.String,
|
|
3641
3641
|
name: Schema.String,
|
|
@@ -3645,19 +3645,19 @@ export const CreateZoneTransferTsigRequest =
|
|
|
3645
3645
|
path: "/accounts/{account_id}/secondary_dns/tsigs",
|
|
3646
3646
|
})));
|
|
3647
3647
|
export const CreateZoneTransferTsigResponse =
|
|
3648
|
-
/*@__PURE__*/
|
|
3648
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3649
3649
|
id: Schema.String,
|
|
3650
3650
|
algo: Schema.String,
|
|
3651
3651
|
name: Schema.String,
|
|
3652
3652
|
secret: Schema.String,
|
|
3653
3653
|
}).pipe(T.ResponsePath("result")));
|
|
3654
|
-
export const createZoneTransferTsig = /*@__PURE__*/
|
|
3654
|
+
export const createZoneTransferTsig = /*@__PURE__*/ API.make(() => ({
|
|
3655
3655
|
input: CreateZoneTransferTsigRequest,
|
|
3656
3656
|
output: CreateZoneTransferTsigResponse,
|
|
3657
3657
|
errors: [],
|
|
3658
3658
|
}));
|
|
3659
3659
|
export const UpdateZoneTransferTsigRequest =
|
|
3660
|
-
/*@__PURE__*/
|
|
3660
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3661
3661
|
tsigId: Schema.String.pipe(T.HttpPath("tsigId")),
|
|
3662
3662
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3663
3663
|
algo: Schema.String,
|
|
@@ -3668,19 +3668,19 @@ export const UpdateZoneTransferTsigRequest =
|
|
|
3668
3668
|
path: "/accounts/{account_id}/secondary_dns/tsigs/{tsigId}",
|
|
3669
3669
|
})));
|
|
3670
3670
|
export const UpdateZoneTransferTsigResponse =
|
|
3671
|
-
/*@__PURE__*/
|
|
3671
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3672
3672
|
id: Schema.String,
|
|
3673
3673
|
algo: Schema.String,
|
|
3674
3674
|
name: Schema.String,
|
|
3675
3675
|
secret: Schema.String,
|
|
3676
3676
|
}).pipe(T.ResponsePath("result")));
|
|
3677
|
-
export const updateZoneTransferTsig = /*@__PURE__*/
|
|
3677
|
+
export const updateZoneTransferTsig = /*@__PURE__*/ API.make(() => ({
|
|
3678
3678
|
input: UpdateZoneTransferTsigRequest,
|
|
3679
3679
|
output: UpdateZoneTransferTsigResponse,
|
|
3680
3680
|
errors: [TsigNotFound],
|
|
3681
3681
|
}));
|
|
3682
3682
|
export const DeleteZoneTransferTsigRequest =
|
|
3683
|
-
/*@__PURE__*/
|
|
3683
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3684
3684
|
tsigId: Schema.String.pipe(T.HttpPath("tsigId")),
|
|
3685
3685
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3686
3686
|
}).pipe(T.Http({
|
|
@@ -3688,10 +3688,10 @@ export const DeleteZoneTransferTsigRequest =
|
|
|
3688
3688
|
path: "/accounts/{account_id}/secondary_dns/tsigs/{tsigId}",
|
|
3689
3689
|
})));
|
|
3690
3690
|
export const DeleteZoneTransferTsigResponse =
|
|
3691
|
-
/*@__PURE__*/
|
|
3691
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
3692
3692
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3693
3693
|
}).pipe(T.ResponsePath("result")));
|
|
3694
|
-
export const deleteZoneTransferTsig = /*@__PURE__*/
|
|
3694
|
+
export const deleteZoneTransferTsig = /*@__PURE__*/ API.make(() => ({
|
|
3695
3695
|
input: DeleteZoneTransferTsigRequest,
|
|
3696
3696
|
output: DeleteZoneTransferTsigResponse,
|
|
3697
3697
|
errors: [TsigNotFound],
|