@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
|
@@ -120,7 +120,7 @@ interface AdaptiveRouting {
|
|
|
120
120
|
/** Extends zero-downtime failover of requests to healthy origins from alternate pools, when no healthy alternate exists in the same pool, according to the failover order defined by traffic and origin ste */
|
|
121
121
|
failoverAcrossPools?: boolean | null;
|
|
122
122
|
}
|
|
123
|
-
const AdaptiveRouting = /*@__PURE__*/
|
|
123
|
+
const AdaptiveRouting = /*@__PURE__*/ Schema.suspend(() =>
|
|
124
124
|
Schema.Struct({
|
|
125
125
|
failoverAcrossPools: Schema.optional(
|
|
126
126
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
@@ -134,7 +134,7 @@ interface LocationStrategy {
|
|
|
134
134
|
/** Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the authoritative location. - `"always"`: Always prefer ECS. - `"never"`: Never prefer ECS. - `"proximity"`: Prefer ECS only when `st */
|
|
135
135
|
preferEcs?: "always" | "never" | "proximity" | "geo" | (string & {}) | null;
|
|
136
136
|
}
|
|
137
|
-
const LocationStrategy = /*@__PURE__*/
|
|
137
|
+
const LocationStrategy = /*@__PURE__*/ Schema.suspend(() =>
|
|
138
138
|
Schema.Struct({
|
|
139
139
|
mode: Schema.optional(
|
|
140
140
|
Schema.Union([
|
|
@@ -160,7 +160,7 @@ interface RandomSteering {
|
|
|
160
160
|
/** A mapping of pool IDs to custom weights. The weight is relative to other pools in the load balancer. */
|
|
161
161
|
poolWeights?: Record<string, unknown> | null;
|
|
162
162
|
}
|
|
163
|
-
const RandomSteering = /*@__PURE__*/
|
|
163
|
+
const RandomSteering = /*@__PURE__*/ Schema.suspend(() =>
|
|
164
164
|
Schema.Struct({
|
|
165
165
|
defaultWeight: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
166
166
|
poolWeights: Schema.optional(
|
|
@@ -184,7 +184,7 @@ interface FixedResponse {
|
|
|
184
184
|
/** The http status code to respond with. */
|
|
185
185
|
statusCode?: number | null;
|
|
186
186
|
}
|
|
187
|
-
const FixedResponse = /*@__PURE__*/
|
|
187
|
+
const FixedResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
188
188
|
Schema.Struct({
|
|
189
189
|
contentType: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
190
190
|
location: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -214,55 +214,52 @@ interface SessionAffinityAttributes {
|
|
|
214
214
|
/** Configures the zero-downtime failover between origins within a pool when session affinity is enabled. This feature is currently incompatible with Argo, Tiered Cache, and Bandwidth Alliance. The suppor */
|
|
215
215
|
zeroDowntimeFailover?: "none" | "temporary" | "sticky" | (string & {}) | null;
|
|
216
216
|
}
|
|
217
|
-
const SessionAffinityAttributes = /*@__PURE__*/
|
|
218
|
-
(
|
|
219
|
-
Schema.
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
),
|
|
229
|
-
samesite: Schema.optional(
|
|
217
|
+
const SessionAffinityAttributes = /*@__PURE__*/ Schema.suspend(() =>
|
|
218
|
+
Schema.Struct({
|
|
219
|
+
drainDuration: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
220
|
+
headers: Schema.optional(
|
|
221
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
222
|
+
),
|
|
223
|
+
requireAllHeaders: Schema.optional(
|
|
224
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
225
|
+
),
|
|
226
|
+
samesite: Schema.optional(
|
|
227
|
+
Schema.Union([
|
|
230
228
|
Schema.Union([
|
|
231
|
-
Schema.
|
|
232
|
-
|
|
233
|
-
Schema.String,
|
|
234
|
-
]),
|
|
235
|
-
Schema.Null,
|
|
229
|
+
Schema.Literals(["Auto", "Lax", "None", "Strict"]),
|
|
230
|
+
Schema.String,
|
|
236
231
|
]),
|
|
237
|
-
|
|
238
|
-
|
|
232
|
+
Schema.Null,
|
|
233
|
+
]),
|
|
234
|
+
),
|
|
235
|
+
secure: Schema.optional(
|
|
236
|
+
Schema.Union([
|
|
239
237
|
Schema.Union([
|
|
240
|
-
Schema.
|
|
241
|
-
|
|
242
|
-
Schema.String,
|
|
243
|
-
]),
|
|
244
|
-
Schema.Null,
|
|
238
|
+
Schema.Literals(["Auto", "Always", "Never"]),
|
|
239
|
+
Schema.String,
|
|
245
240
|
]),
|
|
246
|
-
|
|
247
|
-
|
|
241
|
+
Schema.Null,
|
|
242
|
+
]),
|
|
243
|
+
),
|
|
244
|
+
zeroDowntimeFailover: Schema.optional(
|
|
245
|
+
Schema.Union([
|
|
248
246
|
Schema.Union([
|
|
249
|
-
Schema.
|
|
250
|
-
|
|
251
|
-
Schema.String,
|
|
252
|
-
]),
|
|
253
|
-
Schema.Null,
|
|
247
|
+
Schema.Literals(["none", "temporary", "sticky"]),
|
|
248
|
+
Schema.String,
|
|
254
249
|
]),
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
Schema.encodeKeys({
|
|
258
|
-
drainDuration: "drain_duration",
|
|
259
|
-
headers: "headers",
|
|
260
|
-
requireAllHeaders: "require_all_headers",
|
|
261
|
-
samesite: "samesite",
|
|
262
|
-
secure: "secure",
|
|
263
|
-
zeroDowntimeFailover: "zero_downtime_failover",
|
|
264
|
-
}),
|
|
250
|
+
Schema.Null,
|
|
251
|
+
]),
|
|
265
252
|
),
|
|
253
|
+
}).pipe(
|
|
254
|
+
Schema.encodeKeys({
|
|
255
|
+
drainDuration: "drain_duration",
|
|
256
|
+
headers: "headers",
|
|
257
|
+
requireAllHeaders: "require_all_headers",
|
|
258
|
+
samesite: "samesite",
|
|
259
|
+
secure: "secure",
|
|
260
|
+
zeroDowntimeFailover: "zero_downtime_failover",
|
|
261
|
+
}),
|
|
262
|
+
),
|
|
266
263
|
) as unknown as Schema.Codec<SessionAffinityAttributes>;
|
|
267
264
|
|
|
268
265
|
interface Overrides {
|
|
@@ -327,7 +324,7 @@ interface Overrides {
|
|
|
327
324
|
/** Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This only applies to gray-clouded (unproxied) load balancers. */
|
|
328
325
|
ttl?: number | null;
|
|
329
326
|
}
|
|
330
|
-
const Overrides = /*@__PURE__*/
|
|
327
|
+
const Overrides = /*@__PURE__*/ Schema.suspend(() =>
|
|
331
328
|
Schema.Struct({
|
|
332
329
|
adaptiveRouting: Schema.optional(
|
|
333
330
|
Schema.Union([AdaptiveRouting, Schema.Null]),
|
|
@@ -479,7 +476,7 @@ interface Rules {
|
|
|
479
476
|
/** If this rule's condition is true, this causes rule evaluation to stop after processing this rule. */
|
|
480
477
|
terminates?: boolean | null;
|
|
481
478
|
}
|
|
482
|
-
const Rules = /*@__PURE__*/
|
|
479
|
+
const Rules = /*@__PURE__*/ Schema.suspend(() =>
|
|
483
480
|
Schema.Struct({
|
|
484
481
|
condition: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
485
482
|
disabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -655,7 +652,7 @@ interface ListLoadBalancersResponseResult {
|
|
|
655
652
|
zoneName?: string | null;
|
|
656
653
|
}
|
|
657
654
|
const ListLoadBalancersResponseResult =
|
|
658
|
-
/*@__PURE__*/
|
|
655
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
659
656
|
Schema.Struct({
|
|
660
657
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
661
658
|
adaptiveRouting: Schema.optional(
|
|
@@ -808,81 +805,71 @@ interface ListMonitorsResponseResult {
|
|
|
808
805
|
| (string & {})
|
|
809
806
|
| null;
|
|
810
807
|
}
|
|
811
|
-
const ListMonitorsResponseResult = /*@__PURE__*/
|
|
812
|
-
(
|
|
813
|
-
Schema.
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
840
|
-
method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
841
|
-
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
842
|
-
path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
843
|
-
port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
844
|
-
probeZone: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
845
|
-
retries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
846
|
-
timeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
847
|
-
type: Schema.optional(
|
|
808
|
+
const ListMonitorsResponseResult = /*@__PURE__*/ Schema.suspend(() =>
|
|
809
|
+
Schema.Struct({
|
|
810
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
811
|
+
allowInsecure: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
812
|
+
consecutiveDown: Schema.optional(
|
|
813
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
814
|
+
),
|
|
815
|
+
consecutiveUp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
816
|
+
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
817
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
818
|
+
expectedBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
819
|
+
expectedCodes: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
820
|
+
followRedirects: Schema.optional(
|
|
821
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
822
|
+
),
|
|
823
|
+
header: Schema.optional(
|
|
824
|
+
Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
|
|
825
|
+
),
|
|
826
|
+
interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
827
|
+
method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
828
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
829
|
+
path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
830
|
+
port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
831
|
+
probeZone: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
832
|
+
retries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
833
|
+
timeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
834
|
+
type: Schema.optional(
|
|
835
|
+
Schema.Union([
|
|
848
836
|
Schema.Union([
|
|
849
|
-
Schema.
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
"smtp",
|
|
857
|
-
]),
|
|
858
|
-
Schema.String,
|
|
837
|
+
Schema.Literals([
|
|
838
|
+
"http",
|
|
839
|
+
"https",
|
|
840
|
+
"tcp",
|
|
841
|
+
"udp_icmp",
|
|
842
|
+
"icmp_ping",
|
|
843
|
+
"smtp",
|
|
859
844
|
]),
|
|
860
|
-
Schema.
|
|
845
|
+
Schema.String,
|
|
861
846
|
]),
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
Schema.encodeKeys({
|
|
865
|
-
id: "id",
|
|
866
|
-
allowInsecure: "allow_insecure",
|
|
867
|
-
consecutiveDown: "consecutive_down",
|
|
868
|
-
consecutiveUp: "consecutive_up",
|
|
869
|
-
createdOn: "created_on",
|
|
870
|
-
description: "description",
|
|
871
|
-
expectedBody: "expected_body",
|
|
872
|
-
expectedCodes: "expected_codes",
|
|
873
|
-
followRedirects: "follow_redirects",
|
|
874
|
-
header: "header",
|
|
875
|
-
interval: "interval",
|
|
876
|
-
method: "method",
|
|
877
|
-
modifiedOn: "modified_on",
|
|
878
|
-
path: "path",
|
|
879
|
-
port: "port",
|
|
880
|
-
probeZone: "probe_zone",
|
|
881
|
-
retries: "retries",
|
|
882
|
-
timeout: "timeout",
|
|
883
|
-
type: "type",
|
|
884
|
-
}),
|
|
847
|
+
Schema.Null,
|
|
848
|
+
]),
|
|
885
849
|
),
|
|
850
|
+
}).pipe(
|
|
851
|
+
Schema.encodeKeys({
|
|
852
|
+
id: "id",
|
|
853
|
+
allowInsecure: "allow_insecure",
|
|
854
|
+
consecutiveDown: "consecutive_down",
|
|
855
|
+
consecutiveUp: "consecutive_up",
|
|
856
|
+
createdOn: "created_on",
|
|
857
|
+
description: "description",
|
|
858
|
+
expectedBody: "expected_body",
|
|
859
|
+
expectedCodes: "expected_codes",
|
|
860
|
+
followRedirects: "follow_redirects",
|
|
861
|
+
header: "header",
|
|
862
|
+
interval: "interval",
|
|
863
|
+
method: "method",
|
|
864
|
+
modifiedOn: "modified_on",
|
|
865
|
+
path: "path",
|
|
866
|
+
port: "port",
|
|
867
|
+
probeZone: "probe_zone",
|
|
868
|
+
retries: "retries",
|
|
869
|
+
timeout: "timeout",
|
|
870
|
+
type: "type",
|
|
871
|
+
}),
|
|
872
|
+
),
|
|
886
873
|
) as unknown as Schema.Codec<ListMonitorsResponseResult>;
|
|
887
874
|
|
|
888
875
|
interface Member {
|
|
@@ -899,7 +886,7 @@ interface Member {
|
|
|
899
886
|
/** The timestamp of when the monitor group member was last updated */
|
|
900
887
|
updatedAt?: string | null;
|
|
901
888
|
}
|
|
902
|
-
const Member = /*@__PURE__*/
|
|
889
|
+
const Member = /*@__PURE__*/ Schema.suspend(() =>
|
|
903
890
|
Schema.Struct({
|
|
904
891
|
enabled: Schema.Boolean,
|
|
905
892
|
monitorId: Schema.String,
|
|
@@ -939,7 +926,7 @@ interface ListMonitorGroupsResponseResult {
|
|
|
939
926
|
modifiedOn?: string | null;
|
|
940
927
|
}
|
|
941
928
|
const ListMonitorGroupsResponseResult =
|
|
942
|
-
/*@__PURE__*/
|
|
929
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
943
930
|
Schema.Struct({
|
|
944
931
|
id: Schema.String,
|
|
945
932
|
description: Schema.String,
|
|
@@ -967,7 +954,7 @@ interface Member2 {
|
|
|
967
954
|
/** Whether this monitor must be healthy for the pool to be considered healthy */
|
|
968
955
|
mustBeHealthy: boolean;
|
|
969
956
|
}
|
|
970
|
-
const Member2 = /*@__PURE__*/
|
|
957
|
+
const Member2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
971
958
|
Schema.Struct({
|
|
972
959
|
enabled: Schema.Boolean,
|
|
973
960
|
monitorId: Schema.String,
|
|
@@ -990,7 +977,7 @@ interface GetMonitorGroupReferenceResponseResult {
|
|
|
990
977
|
resourceType?: string | null;
|
|
991
978
|
}
|
|
992
979
|
const GetMonitorGroupReferenceResponseResult =
|
|
993
|
-
/*@__PURE__*/
|
|
980
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
994
981
|
Schema.Struct({
|
|
995
982
|
referenceType: Schema.optional(
|
|
996
983
|
Schema.Union([
|
|
@@ -1024,7 +1011,7 @@ interface LoadShedding {
|
|
|
1024
1011
|
/** Only the hash policy is supported for existing sessions (to avoid exponential decay). */
|
|
1025
1012
|
sessionPolicy?: "hash" | null;
|
|
1026
1013
|
}
|
|
1027
|
-
const LoadShedding = /*@__PURE__*/
|
|
1014
|
+
const LoadShedding = /*@__PURE__*/ Schema.suspend(() =>
|
|
1028
1015
|
Schema.Struct({
|
|
1029
1016
|
defaultPercent: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1030
1017
|
defaultPolicy: Schema.optional(
|
|
@@ -1053,7 +1040,7 @@ interface FilterOptions {
|
|
|
1053
1040
|
/** If present, send notifications only for this health status (e.g. false for only DOWN events). Use null to reset (all events). */
|
|
1054
1041
|
healthy?: boolean | null;
|
|
1055
1042
|
}
|
|
1056
|
-
const FilterOptions = /*@__PURE__*/
|
|
1043
|
+
const FilterOptions = /*@__PURE__*/ Schema.suspend(() =>
|
|
1057
1044
|
Schema.Struct({
|
|
1058
1045
|
disable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1059
1046
|
healthy: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -1066,7 +1053,7 @@ interface NotificationFilter {
|
|
|
1066
1053
|
/** Filter options for a particular resource type (pool or origin). Use null to reset. */
|
|
1067
1054
|
pool?: { disable?: boolean | null; healthy?: boolean | null } | null;
|
|
1068
1055
|
}
|
|
1069
|
-
const NotificationFilter = /*@__PURE__*/
|
|
1056
|
+
const NotificationFilter = /*@__PURE__*/ Schema.suspend(() =>
|
|
1070
1057
|
Schema.Struct({
|
|
1071
1058
|
origin: Schema.optional(Schema.Union([FilterOptions, Schema.Null])),
|
|
1072
1059
|
pool: Schema.optional(Schema.Union([FilterOptions, Schema.Null])),
|
|
@@ -1083,7 +1070,7 @@ interface OriginSteering {
|
|
|
1083
1070
|
| (string & {})
|
|
1084
1071
|
| null;
|
|
1085
1072
|
}
|
|
1086
|
-
const OriginSteering = /*@__PURE__*/
|
|
1073
|
+
const OriginSteering = /*@__PURE__*/ Schema.suspend(() =>
|
|
1087
1074
|
Schema.Struct({
|
|
1088
1075
|
policy: Schema.optional(
|
|
1089
1076
|
Schema.Union([
|
|
@@ -1106,7 +1093,7 @@ interface Header {
|
|
|
1106
1093
|
/** The 'Host' header allows to override the hostname set in the HTTP request. Current support is 1 'Host' header override per origin. */
|
|
1107
1094
|
host?: string[] | null;
|
|
1108
1095
|
}
|
|
1109
|
-
const Header = /*@__PURE__*/
|
|
1096
|
+
const Header = /*@__PURE__*/ Schema.suspend(() =>
|
|
1110
1097
|
Schema.Struct({
|
|
1111
1098
|
host: Schema.optional(
|
|
1112
1099
|
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
@@ -1134,7 +1121,7 @@ interface Origin {
|
|
|
1134
1121
|
/** The weight of this origin relative to other origins in the pool. Based on the configured weight the total traffic is distributed among origins within the pool. - `origin_steering.policy="least_outsta */
|
|
1135
1122
|
weight?: number | null;
|
|
1136
1123
|
}
|
|
1137
|
-
const Origin = /*@__PURE__*/
|
|
1124
|
+
const Origin = /*@__PURE__*/ Schema.suspend(() =>
|
|
1138
1125
|
Schema.Struct({
|
|
1139
1126
|
address: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1140
1127
|
disabledAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1245,7 +1232,7 @@ interface ListPoolsResponseResult {
|
|
|
1245
1232
|
}[]
|
|
1246
1233
|
| null;
|
|
1247
1234
|
}
|
|
1248
|
-
const ListPoolsResponseResult = /*@__PURE__*/
|
|
1235
|
+
const ListPoolsResponseResult = /*@__PURE__*/ Schema.suspend(() =>
|
|
1249
1236
|
Schema.Struct({
|
|
1250
1237
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1251
1238
|
checkRegions: Schema.optional(
|
|
@@ -1342,7 +1329,7 @@ interface OriginParam {
|
|
|
1342
1329
|
/** The weight of this origin relative to other origins in the pool. Based on the configured weight the total traffic is distributed among origins within the pool. - `origin_steering.policy="least_outsta */
|
|
1343
1330
|
weight?: number | null;
|
|
1344
1331
|
}
|
|
1345
|
-
const OriginParam = /*@__PURE__*/
|
|
1332
|
+
const OriginParam = /*@__PURE__*/ Schema.suspend(() =>
|
|
1346
1333
|
Schema.Struct({
|
|
1347
1334
|
address: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1348
1335
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -1378,7 +1365,7 @@ interface Ip {
|
|
|
1378
1365
|
/** Origin RTT (Round Trip Time) response. */
|
|
1379
1366
|
rtt?: string | null;
|
|
1380
1367
|
}
|
|
1381
|
-
const Ip = /*@__PURE__*/
|
|
1368
|
+
const Ip = /*@__PURE__*/ Schema.suspend(() =>
|
|
1382
1369
|
Schema.Struct({
|
|
1383
1370
|
failureReason: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1384
1371
|
healthy: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -1402,7 +1389,7 @@ interface Origin2 {
|
|
|
1402
1389
|
rtt?: string | null;
|
|
1403
1390
|
} | null;
|
|
1404
1391
|
}
|
|
1405
|
-
const Origin2 = /*@__PURE__*/
|
|
1392
|
+
const Origin2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
1406
1393
|
Schema.Struct({
|
|
1407
1394
|
ip: Schema.optional(Schema.Union([Ip, Schema.Null])),
|
|
1408
1395
|
}),
|
|
@@ -1422,7 +1409,7 @@ interface Pophealth {
|
|
|
1422
1409
|
}[]
|
|
1423
1410
|
| null;
|
|
1424
1411
|
}
|
|
1425
|
-
const Pophealth = /*@__PURE__*/
|
|
1412
|
+
const Pophealth = /*@__PURE__*/ Schema.suspend(() =>
|
|
1426
1413
|
Schema.Struct({
|
|
1427
1414
|
healthy: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1428
1415
|
origins: Schema.optional(
|
|
@@ -1442,7 +1429,7 @@ interface Resource {
|
|
|
1442
1429
|
/** The type of the resource. */
|
|
1443
1430
|
resourceType?: "load_balancer" | "monitor" | "pool" | (string & {}) | null;
|
|
1444
1431
|
}
|
|
1445
|
-
const Resource = /*@__PURE__*/
|
|
1432
|
+
const Resource = /*@__PURE__*/ Schema.suspend(() =>
|
|
1446
1433
|
Schema.Struct({
|
|
1447
1434
|
referenceType: Schema.optional(
|
|
1448
1435
|
Schema.Union([
|
|
@@ -1496,7 +1483,7 @@ interface ListSearchesResponseResultItem {
|
|
|
1496
1483
|
| null;
|
|
1497
1484
|
}
|
|
1498
1485
|
const ListSearchesResponseResultItem =
|
|
1499
|
-
/*@__PURE__*/
|
|
1486
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1500
1487
|
Schema.Struct({
|
|
1501
1488
|
resources: Schema.optional(
|
|
1502
1489
|
Schema.Union([Schema.Array(Resource), Schema.Null]),
|
|
@@ -1524,16 +1511,12 @@ interface ListSearchesResponseResult {
|
|
|
1524
1511
|
}[]
|
|
1525
1512
|
| null;
|
|
1526
1513
|
}
|
|
1527
|
-
const ListSearchesResponseResult = /*@__PURE__*/
|
|
1528
|
-
(
|
|
1529
|
-
Schema.
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
Schema.Null,
|
|
1534
|
-
]),
|
|
1535
|
-
),
|
|
1536
|
-
}),
|
|
1514
|
+
const ListSearchesResponseResult = /*@__PURE__*/ Schema.suspend(() =>
|
|
1515
|
+
Schema.Struct({
|
|
1516
|
+
items: Schema.optional(
|
|
1517
|
+
Schema.Union([Schema.Array(ListSearchesResponseResultItem), Schema.Null]),
|
|
1518
|
+
),
|
|
1519
|
+
}),
|
|
1537
1520
|
) as unknown as Schema.Codec<ListSearchesResponseResult>;
|
|
1538
1521
|
|
|
1539
1522
|
interface ListSearchesResponseResultInfo {
|
|
@@ -1543,7 +1526,7 @@ interface ListSearchesResponseResultInfo {
|
|
|
1543
1526
|
totalCount?: number | null;
|
|
1544
1527
|
}
|
|
1545
1528
|
const ListSearchesResponseResultInfo =
|
|
1546
|
-
/*@__PURE__*/
|
|
1529
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1547
1530
|
Schema.Struct({
|
|
1548
1531
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1549
1532
|
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -1569,7 +1552,7 @@ export interface GetLoadBalancerRequest {
|
|
|
1569
1552
|
}
|
|
1570
1553
|
|
|
1571
1554
|
export const GetLoadBalancerRequest =
|
|
1572
|
-
/*@__PURE__*/
|
|
1555
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1573
1556
|
Schema.Struct({
|
|
1574
1557
|
loadBalancerId: Schema.String.pipe(T.HttpPath("loadBalancerId")),
|
|
1575
1558
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
@@ -1736,7 +1719,7 @@ export interface GetLoadBalancerResponse {
|
|
|
1736
1719
|
}
|
|
1737
1720
|
|
|
1738
1721
|
export const GetLoadBalancerResponse =
|
|
1739
|
-
/*@__PURE__*/
|
|
1722
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1740
1723
|
Schema.Struct({
|
|
1741
1724
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1742
1725
|
adaptiveRouting: Schema.optional(
|
|
@@ -1856,7 +1839,7 @@ export const getLoadBalancer: API.OperationMethod<
|
|
|
1856
1839
|
GetLoadBalancerResponse,
|
|
1857
1840
|
GetLoadBalancerError,
|
|
1858
1841
|
Credentials | HttpClient.HttpClient
|
|
1859
|
-
> = /*@__PURE__*/
|
|
1842
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1860
1843
|
input: GetLoadBalancerRequest,
|
|
1861
1844
|
output: GetLoadBalancerResponse,
|
|
1862
1845
|
errors: [LoadBalancerNotFound, Forbidden],
|
|
@@ -1867,7 +1850,7 @@ export interface ListLoadBalancersRequest {
|
|
|
1867
1850
|
}
|
|
1868
1851
|
|
|
1869
1852
|
export const ListLoadBalancersRequest =
|
|
1870
|
-
/*@__PURE__*/
|
|
1853
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
1871
1854
|
Schema.Struct({
|
|
1872
1855
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1873
1856
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/load_balancers" })),
|
|
@@ -2017,7 +2000,7 @@ export interface ListLoadBalancersResponse {
|
|
|
2017
2000
|
}
|
|
2018
2001
|
|
|
2019
2002
|
export const ListLoadBalancersResponse =
|
|
2020
|
-
/*@__PURE__*/
|
|
2003
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2021
2004
|
Schema.Struct({
|
|
2022
2005
|
result: Schema.Array(ListLoadBalancersResponseResult),
|
|
2023
2006
|
}),
|
|
@@ -2030,7 +2013,7 @@ export const listLoadBalancers: API.PaginatedOperationMethod<
|
|
|
2030
2013
|
ListLoadBalancersResponse,
|
|
2031
2014
|
ListLoadBalancersError,
|
|
2032
2015
|
Credentials | HttpClient.HttpClient
|
|
2033
|
-
> = /*@__PURE__*/
|
|
2016
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
2034
2017
|
input: ListLoadBalancersRequest,
|
|
2035
2018
|
output: ListLoadBalancersResponse,
|
|
2036
2019
|
errors: [],
|
|
@@ -2158,7 +2141,7 @@ export interface CreateLoadBalancerRequest {
|
|
|
2158
2141
|
}
|
|
2159
2142
|
|
|
2160
2143
|
export const CreateLoadBalancerRequest =
|
|
2161
|
-
/*@__PURE__*/
|
|
2144
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2162
2145
|
Schema.Struct({
|
|
2163
2146
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
2164
2147
|
defaultPools: Schema.Array(Schema.String),
|
|
@@ -2382,7 +2365,7 @@ export interface CreateLoadBalancerResponse {
|
|
|
2382
2365
|
}
|
|
2383
2366
|
|
|
2384
2367
|
export const CreateLoadBalancerResponse =
|
|
2385
|
-
/*@__PURE__*/
|
|
2368
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2386
2369
|
Schema.Struct({
|
|
2387
2370
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2388
2371
|
adaptiveRouting: Schema.optional(
|
|
@@ -2502,7 +2485,7 @@ export const createLoadBalancer: API.OperationMethod<
|
|
|
2502
2485
|
CreateLoadBalancerResponse,
|
|
2503
2486
|
CreateLoadBalancerError,
|
|
2504
2487
|
Credentials | HttpClient.HttpClient
|
|
2505
|
-
> = /*@__PURE__*/
|
|
2488
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2506
2489
|
input: CreateLoadBalancerRequest,
|
|
2507
2490
|
output: CreateLoadBalancerResponse,
|
|
2508
2491
|
errors: [LoadBalancingNotEnabledForZone, Forbidden],
|
|
@@ -2629,7 +2612,7 @@ export interface UpdateLoadBalancerRequest {
|
|
|
2629
2612
|
}
|
|
2630
2613
|
|
|
2631
2614
|
export const UpdateLoadBalancerRequest =
|
|
2632
|
-
/*@__PURE__*/
|
|
2615
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2633
2616
|
Schema.Struct({
|
|
2634
2617
|
loadBalancerId: Schema.String.pipe(T.HttpPath("loadBalancerId")),
|
|
2635
2618
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
@@ -2859,7 +2842,7 @@ export interface UpdateLoadBalancerResponse {
|
|
|
2859
2842
|
}
|
|
2860
2843
|
|
|
2861
2844
|
export const UpdateLoadBalancerResponse =
|
|
2862
|
-
/*@__PURE__*/
|
|
2845
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2863
2846
|
Schema.Struct({
|
|
2864
2847
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2865
2848
|
adaptiveRouting: Schema.optional(
|
|
@@ -2980,7 +2963,7 @@ export const updateLoadBalancer: API.OperationMethod<
|
|
|
2980
2963
|
UpdateLoadBalancerResponse,
|
|
2981
2964
|
UpdateLoadBalancerError,
|
|
2982
2965
|
Credentials | HttpClient.HttpClient
|
|
2983
|
-
> = /*@__PURE__*/
|
|
2966
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2984
2967
|
input: UpdateLoadBalancerRequest,
|
|
2985
2968
|
output: UpdateLoadBalancerResponse,
|
|
2986
2969
|
errors: [LoadBalancerNotFound, LoadBalancingNotEnabledForZone, Forbidden],
|
|
@@ -3105,7 +3088,7 @@ export interface PatchLoadBalancerRequest {
|
|
|
3105
3088
|
}
|
|
3106
3089
|
|
|
3107
3090
|
export const PatchLoadBalancerRequest =
|
|
3108
|
-
/*@__PURE__*/
|
|
3091
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3109
3092
|
Schema.Struct({
|
|
3110
3093
|
loadBalancerId: Schema.String.pipe(T.HttpPath("loadBalancerId")),
|
|
3111
3094
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
@@ -3333,7 +3316,7 @@ export interface PatchLoadBalancerResponse {
|
|
|
3333
3316
|
}
|
|
3334
3317
|
|
|
3335
3318
|
export const PatchLoadBalancerResponse =
|
|
3336
|
-
/*@__PURE__*/
|
|
3319
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3337
3320
|
Schema.Struct({
|
|
3338
3321
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3339
3322
|
adaptiveRouting: Schema.optional(
|
|
@@ -3450,7 +3433,7 @@ export const patchLoadBalancer: API.OperationMethod<
|
|
|
3450
3433
|
PatchLoadBalancerResponse,
|
|
3451
3434
|
PatchLoadBalancerError,
|
|
3452
3435
|
Credentials | HttpClient.HttpClient
|
|
3453
|
-
> = /*@__PURE__*/
|
|
3436
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3454
3437
|
input: PatchLoadBalancerRequest,
|
|
3455
3438
|
output: PatchLoadBalancerResponse,
|
|
3456
3439
|
errors: [],
|
|
@@ -3462,7 +3445,7 @@ export interface DeleteLoadBalancerRequest {
|
|
|
3462
3445
|
}
|
|
3463
3446
|
|
|
3464
3447
|
export const DeleteLoadBalancerRequest =
|
|
3465
|
-
/*@__PURE__*/
|
|
3448
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3466
3449
|
Schema.Struct({
|
|
3467
3450
|
loadBalancerId: Schema.String.pipe(T.HttpPath("loadBalancerId")),
|
|
3468
3451
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
@@ -3479,7 +3462,7 @@ export interface DeleteLoadBalancerResponse {
|
|
|
3479
3462
|
}
|
|
3480
3463
|
|
|
3481
3464
|
export const DeleteLoadBalancerResponse =
|
|
3482
|
-
/*@__PURE__*/
|
|
3465
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3483
3466
|
Schema.Struct({
|
|
3484
3467
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3485
3468
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -3495,7 +3478,7 @@ export const deleteLoadBalancer: API.OperationMethod<
|
|
|
3495
3478
|
DeleteLoadBalancerResponse,
|
|
3496
3479
|
DeleteLoadBalancerError,
|
|
3497
3480
|
Credentials | HttpClient.HttpClient
|
|
3498
|
-
> = /*@__PURE__*/
|
|
3481
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3499
3482
|
input: DeleteLoadBalancerRequest,
|
|
3500
3483
|
output: DeleteLoadBalancerResponse,
|
|
3501
3484
|
errors: [LoadBalancerNotFound, Forbidden],
|
|
@@ -3511,17 +3494,16 @@ export interface GetMonitorRequest {
|
|
|
3511
3494
|
accountId: string;
|
|
3512
3495
|
}
|
|
3513
3496
|
|
|
3514
|
-
export const GetMonitorRequest = /*@__PURE__*/
|
|
3515
|
-
(
|
|
3516
|
-
Schema.
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
),
|
|
3497
|
+
export const GetMonitorRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
3498
|
+
Schema.Struct({
|
|
3499
|
+
monitorId: Schema.String.pipe(T.HttpPath("monitorId")),
|
|
3500
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3501
|
+
}).pipe(
|
|
3502
|
+
T.Http({
|
|
3503
|
+
method: "GET",
|
|
3504
|
+
path: "/accounts/{account_id}/load_balancers/monitors/{monitorId}",
|
|
3505
|
+
}),
|
|
3506
|
+
),
|
|
3525
3507
|
) as unknown as Schema.Codec<GetMonitorRequest>;
|
|
3526
3508
|
|
|
3527
3509
|
export interface GetMonitorResponse {
|
|
@@ -3570,83 +3552,73 @@ export interface GetMonitorResponse {
|
|
|
3570
3552
|
| null;
|
|
3571
3553
|
}
|
|
3572
3554
|
|
|
3573
|
-
export const GetMonitorResponse = /*@__PURE__*/
|
|
3574
|
-
(
|
|
3575
|
-
Schema.
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3602
|
-
method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3603
|
-
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3604
|
-
path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3605
|
-
port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3606
|
-
probeZone: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3607
|
-
retries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3608
|
-
timeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3609
|
-
type: Schema.optional(
|
|
3555
|
+
export const GetMonitorResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
3556
|
+
Schema.Struct({
|
|
3557
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3558
|
+
allowInsecure: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3559
|
+
consecutiveDown: Schema.optional(
|
|
3560
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
3561
|
+
),
|
|
3562
|
+
consecutiveUp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3563
|
+
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3564
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3565
|
+
expectedBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3566
|
+
expectedCodes: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3567
|
+
followRedirects: Schema.optional(
|
|
3568
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
3569
|
+
),
|
|
3570
|
+
header: Schema.optional(
|
|
3571
|
+
Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
|
|
3572
|
+
),
|
|
3573
|
+
interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3574
|
+
method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3575
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3576
|
+
path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3577
|
+
port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3578
|
+
probeZone: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3579
|
+
retries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3580
|
+
timeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3581
|
+
type: Schema.optional(
|
|
3582
|
+
Schema.Union([
|
|
3610
3583
|
Schema.Union([
|
|
3611
|
-
Schema.
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
"smtp",
|
|
3619
|
-
]),
|
|
3620
|
-
Schema.String,
|
|
3584
|
+
Schema.Literals([
|
|
3585
|
+
"http",
|
|
3586
|
+
"https",
|
|
3587
|
+
"tcp",
|
|
3588
|
+
"udp_icmp",
|
|
3589
|
+
"icmp_ping",
|
|
3590
|
+
"smtp",
|
|
3621
3591
|
]),
|
|
3622
|
-
Schema.
|
|
3592
|
+
Schema.String,
|
|
3623
3593
|
]),
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3594
|
+
Schema.Null,
|
|
3595
|
+
]),
|
|
3596
|
+
),
|
|
3597
|
+
})
|
|
3598
|
+
.pipe(
|
|
3599
|
+
Schema.encodeKeys({
|
|
3600
|
+
id: "id",
|
|
3601
|
+
allowInsecure: "allow_insecure",
|
|
3602
|
+
consecutiveDown: "consecutive_down",
|
|
3603
|
+
consecutiveUp: "consecutive_up",
|
|
3604
|
+
createdOn: "created_on",
|
|
3605
|
+
description: "description",
|
|
3606
|
+
expectedBody: "expected_body",
|
|
3607
|
+
expectedCodes: "expected_codes",
|
|
3608
|
+
followRedirects: "follow_redirects",
|
|
3609
|
+
header: "header",
|
|
3610
|
+
interval: "interval",
|
|
3611
|
+
method: "method",
|
|
3612
|
+
modifiedOn: "modified_on",
|
|
3613
|
+
path: "path",
|
|
3614
|
+
port: "port",
|
|
3615
|
+
probeZone: "probe_zone",
|
|
3616
|
+
retries: "retries",
|
|
3617
|
+
timeout: "timeout",
|
|
3618
|
+
type: "type",
|
|
3619
|
+
}),
|
|
3620
|
+
)
|
|
3621
|
+
.pipe(T.ResponsePath("result")),
|
|
3650
3622
|
) as unknown as Schema.Codec<GetMonitorResponse>;
|
|
3651
3623
|
|
|
3652
3624
|
export type GetMonitorError = DefaultErrors | MonitorNotFound | Forbidden;
|
|
@@ -3656,7 +3628,7 @@ export const getMonitor: API.OperationMethod<
|
|
|
3656
3628
|
GetMonitorResponse,
|
|
3657
3629
|
GetMonitorError,
|
|
3658
3630
|
Credentials | HttpClient.HttpClient
|
|
3659
|
-
> = /*@__PURE__*/
|
|
3631
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3660
3632
|
input: GetMonitorRequest,
|
|
3661
3633
|
output: GetMonitorResponse,
|
|
3662
3634
|
errors: [MonitorNotFound, Forbidden],
|
|
@@ -3667,16 +3639,15 @@ export interface ListMonitorsRequest {
|
|
|
3667
3639
|
accountId: string;
|
|
3668
3640
|
}
|
|
3669
3641
|
|
|
3670
|
-
export const ListMonitorsRequest = /*@__PURE__*/
|
|
3671
|
-
(
|
|
3672
|
-
Schema.
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
),
|
|
3642
|
+
export const ListMonitorsRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
3643
|
+
Schema.Struct({
|
|
3644
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3645
|
+
}).pipe(
|
|
3646
|
+
T.Http({
|
|
3647
|
+
method: "GET",
|
|
3648
|
+
path: "/accounts/{account_id}/load_balancers/monitors",
|
|
3649
|
+
}),
|
|
3650
|
+
),
|
|
3680
3651
|
) as unknown as Schema.Codec<ListMonitorsRequest>;
|
|
3681
3652
|
|
|
3682
3653
|
export interface ListMonitorsResponse {
|
|
@@ -3711,11 +3682,10 @@ export interface ListMonitorsResponse {
|
|
|
3711
3682
|
}[];
|
|
3712
3683
|
}
|
|
3713
3684
|
|
|
3714
|
-
export const ListMonitorsResponse = /*@__PURE__*/
|
|
3715
|
-
(
|
|
3716
|
-
Schema.
|
|
3717
|
-
|
|
3718
|
-
}),
|
|
3685
|
+
export const ListMonitorsResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
3686
|
+
Schema.Struct({
|
|
3687
|
+
result: Schema.Array(ListMonitorsResponseResult),
|
|
3688
|
+
}),
|
|
3719
3689
|
) as unknown as Schema.Codec<ListMonitorsResponse>;
|
|
3720
3690
|
|
|
3721
3691
|
export type ListMonitorsError = DefaultErrors;
|
|
@@ -3725,7 +3695,7 @@ export const listMonitors: API.PaginatedOperationMethod<
|
|
|
3725
3695
|
ListMonitorsResponse,
|
|
3726
3696
|
ListMonitorsError,
|
|
3727
3697
|
Credentials | HttpClient.HttpClient
|
|
3728
|
-
> = /*@__PURE__*/
|
|
3698
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3729
3699
|
input: ListMonitorsRequest,
|
|
3730
3700
|
output: ListMonitorsResponse,
|
|
3731
3701
|
errors: [],
|
|
@@ -3779,62 +3749,61 @@ export interface CreateMonitorRequest {
|
|
|
3779
3749
|
| (string & {});
|
|
3780
3750
|
}
|
|
3781
3751
|
|
|
3782
|
-
export const CreateMonitorRequest = /*@__PURE__*/
|
|
3783
|
-
(
|
|
3784
|
-
Schema.
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
Schema.
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
"smtp",
|
|
3810
|
-
]),
|
|
3811
|
-
Schema.String,
|
|
3752
|
+
export const CreateMonitorRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
3753
|
+
Schema.Struct({
|
|
3754
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3755
|
+
allowInsecure: Schema.optional(Schema.Boolean),
|
|
3756
|
+
consecutiveDown: Schema.optional(Schema.Number),
|
|
3757
|
+
consecutiveUp: Schema.optional(Schema.Number),
|
|
3758
|
+
description: Schema.optional(Schema.String),
|
|
3759
|
+
expectedBody: Schema.optional(Schema.String),
|
|
3760
|
+
expectedCodes: Schema.optional(Schema.String),
|
|
3761
|
+
followRedirects: Schema.optional(Schema.Boolean),
|
|
3762
|
+
header: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
|
|
3763
|
+
interval: Schema.optional(Schema.Number),
|
|
3764
|
+
method: Schema.optional(Schema.String),
|
|
3765
|
+
path: Schema.optional(Schema.String),
|
|
3766
|
+
port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3767
|
+
probeZone: Schema.optional(Schema.String),
|
|
3768
|
+
retries: Schema.optional(Schema.Number),
|
|
3769
|
+
timeout: Schema.optional(Schema.Number),
|
|
3770
|
+
type: Schema.optional(
|
|
3771
|
+
Schema.Union([
|
|
3772
|
+
Schema.Literals([
|
|
3773
|
+
"http",
|
|
3774
|
+
"https",
|
|
3775
|
+
"tcp",
|
|
3776
|
+
"udp_icmp",
|
|
3777
|
+
"icmp_ping",
|
|
3778
|
+
"smtp",
|
|
3812
3779
|
]),
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
Schema.encodeKeys({
|
|
3816
|
-
allowInsecure: "allow_insecure",
|
|
3817
|
-
consecutiveDown: "consecutive_down",
|
|
3818
|
-
consecutiveUp: "consecutive_up",
|
|
3819
|
-
description: "description",
|
|
3820
|
-
expectedBody: "expected_body",
|
|
3821
|
-
expectedCodes: "expected_codes",
|
|
3822
|
-
followRedirects: "follow_redirects",
|
|
3823
|
-
header: "header",
|
|
3824
|
-
interval: "interval",
|
|
3825
|
-
method: "method",
|
|
3826
|
-
path: "path",
|
|
3827
|
-
port: "port",
|
|
3828
|
-
probeZone: "probe_zone",
|
|
3829
|
-
retries: "retries",
|
|
3830
|
-
timeout: "timeout",
|
|
3831
|
-
type: "type",
|
|
3832
|
-
}),
|
|
3833
|
-
T.Http({
|
|
3834
|
-
method: "POST",
|
|
3835
|
-
path: "/accounts/{account_id}/load_balancers/monitors",
|
|
3836
|
-
}),
|
|
3780
|
+
Schema.String,
|
|
3781
|
+
]),
|
|
3837
3782
|
),
|
|
3783
|
+
}).pipe(
|
|
3784
|
+
Schema.encodeKeys({
|
|
3785
|
+
allowInsecure: "allow_insecure",
|
|
3786
|
+
consecutiveDown: "consecutive_down",
|
|
3787
|
+
consecutiveUp: "consecutive_up",
|
|
3788
|
+
description: "description",
|
|
3789
|
+
expectedBody: "expected_body",
|
|
3790
|
+
expectedCodes: "expected_codes",
|
|
3791
|
+
followRedirects: "follow_redirects",
|
|
3792
|
+
header: "header",
|
|
3793
|
+
interval: "interval",
|
|
3794
|
+
method: "method",
|
|
3795
|
+
path: "path",
|
|
3796
|
+
port: "port",
|
|
3797
|
+
probeZone: "probe_zone",
|
|
3798
|
+
retries: "retries",
|
|
3799
|
+
timeout: "timeout",
|
|
3800
|
+
type: "type",
|
|
3801
|
+
}),
|
|
3802
|
+
T.Http({
|
|
3803
|
+
method: "POST",
|
|
3804
|
+
path: "/accounts/{account_id}/load_balancers/monitors",
|
|
3805
|
+
}),
|
|
3806
|
+
),
|
|
3838
3807
|
) as unknown as Schema.Codec<CreateMonitorRequest>;
|
|
3839
3808
|
|
|
3840
3809
|
export interface CreateMonitorResponse {
|
|
@@ -3883,83 +3852,73 @@ export interface CreateMonitorResponse {
|
|
|
3883
3852
|
| null;
|
|
3884
3853
|
}
|
|
3885
3854
|
|
|
3886
|
-
export const CreateMonitorResponse = /*@__PURE__*/
|
|
3887
|
-
(
|
|
3888
|
-
Schema.
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3915
|
-
method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3916
|
-
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3917
|
-
path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3918
|
-
port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3919
|
-
probeZone: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3920
|
-
retries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3921
|
-
timeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3922
|
-
type: Schema.optional(
|
|
3855
|
+
export const CreateMonitorResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
3856
|
+
Schema.Struct({
|
|
3857
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3858
|
+
allowInsecure: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3859
|
+
consecutiveDown: Schema.optional(
|
|
3860
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
3861
|
+
),
|
|
3862
|
+
consecutiveUp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3863
|
+
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3864
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3865
|
+
expectedBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3866
|
+
expectedCodes: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3867
|
+
followRedirects: Schema.optional(
|
|
3868
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
3869
|
+
),
|
|
3870
|
+
header: Schema.optional(
|
|
3871
|
+
Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
|
|
3872
|
+
),
|
|
3873
|
+
interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3874
|
+
method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3875
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3876
|
+
path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3877
|
+
port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3878
|
+
probeZone: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3879
|
+
retries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3880
|
+
timeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3881
|
+
type: Schema.optional(
|
|
3882
|
+
Schema.Union([
|
|
3923
3883
|
Schema.Union([
|
|
3924
|
-
Schema.
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
"smtp",
|
|
3932
|
-
]),
|
|
3933
|
-
Schema.String,
|
|
3884
|
+
Schema.Literals([
|
|
3885
|
+
"http",
|
|
3886
|
+
"https",
|
|
3887
|
+
"tcp",
|
|
3888
|
+
"udp_icmp",
|
|
3889
|
+
"icmp_ping",
|
|
3890
|
+
"smtp",
|
|
3934
3891
|
]),
|
|
3935
|
-
Schema.
|
|
3892
|
+
Schema.String,
|
|
3936
3893
|
]),
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3894
|
+
Schema.Null,
|
|
3895
|
+
]),
|
|
3896
|
+
),
|
|
3897
|
+
})
|
|
3898
|
+
.pipe(
|
|
3899
|
+
Schema.encodeKeys({
|
|
3900
|
+
id: "id",
|
|
3901
|
+
allowInsecure: "allow_insecure",
|
|
3902
|
+
consecutiveDown: "consecutive_down",
|
|
3903
|
+
consecutiveUp: "consecutive_up",
|
|
3904
|
+
createdOn: "created_on",
|
|
3905
|
+
description: "description",
|
|
3906
|
+
expectedBody: "expected_body",
|
|
3907
|
+
expectedCodes: "expected_codes",
|
|
3908
|
+
followRedirects: "follow_redirects",
|
|
3909
|
+
header: "header",
|
|
3910
|
+
interval: "interval",
|
|
3911
|
+
method: "method",
|
|
3912
|
+
modifiedOn: "modified_on",
|
|
3913
|
+
path: "path",
|
|
3914
|
+
port: "port",
|
|
3915
|
+
probeZone: "probe_zone",
|
|
3916
|
+
retries: "retries",
|
|
3917
|
+
timeout: "timeout",
|
|
3918
|
+
type: "type",
|
|
3919
|
+
}),
|
|
3920
|
+
)
|
|
3921
|
+
.pipe(T.ResponsePath("result")),
|
|
3963
3922
|
) as unknown as Schema.Codec<CreateMonitorResponse>;
|
|
3964
3923
|
|
|
3965
3924
|
export type CreateMonitorError =
|
|
@@ -3972,7 +3931,7 @@ export const createMonitor: API.OperationMethod<
|
|
|
3972
3931
|
CreateMonitorResponse,
|
|
3973
3932
|
CreateMonitorError,
|
|
3974
3933
|
Credentials | HttpClient.HttpClient
|
|
3975
|
-
> = /*@__PURE__*/
|
|
3934
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3976
3935
|
input: CreateMonitorRequest,
|
|
3977
3936
|
output: CreateMonitorResponse,
|
|
3978
3937
|
errors: [MonitorIntervalOutOfRange, Forbidden],
|
|
@@ -4023,63 +3982,62 @@ export interface UpdateMonitorRequest {
|
|
|
4023
3982
|
| (string & {});
|
|
4024
3983
|
}
|
|
4025
3984
|
|
|
4026
|
-
export const UpdateMonitorRequest = /*@__PURE__*/
|
|
4027
|
-
(
|
|
4028
|
-
Schema.
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
Schema.
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
"smtp",
|
|
4055
|
-
]),
|
|
4056
|
-
Schema.String,
|
|
3985
|
+
export const UpdateMonitorRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
3986
|
+
Schema.Struct({
|
|
3987
|
+
monitorId: Schema.String.pipe(T.HttpPath("monitorId")),
|
|
3988
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3989
|
+
allowInsecure: Schema.optional(Schema.Boolean),
|
|
3990
|
+
consecutiveDown: Schema.optional(Schema.Number),
|
|
3991
|
+
consecutiveUp: Schema.optional(Schema.Number),
|
|
3992
|
+
description: Schema.optional(Schema.String),
|
|
3993
|
+
expectedBody: Schema.optional(Schema.String),
|
|
3994
|
+
expectedCodes: Schema.optional(Schema.String),
|
|
3995
|
+
followRedirects: Schema.optional(Schema.Boolean),
|
|
3996
|
+
header: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
|
|
3997
|
+
interval: Schema.optional(Schema.Number),
|
|
3998
|
+
method: Schema.optional(Schema.String),
|
|
3999
|
+
path: Schema.optional(Schema.String),
|
|
4000
|
+
port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4001
|
+
probeZone: Schema.optional(Schema.String),
|
|
4002
|
+
retries: Schema.optional(Schema.Number),
|
|
4003
|
+
timeout: Schema.optional(Schema.Number),
|
|
4004
|
+
type: Schema.optional(
|
|
4005
|
+
Schema.Union([
|
|
4006
|
+
Schema.Literals([
|
|
4007
|
+
"http",
|
|
4008
|
+
"https",
|
|
4009
|
+
"tcp",
|
|
4010
|
+
"udp_icmp",
|
|
4011
|
+
"icmp_ping",
|
|
4012
|
+
"smtp",
|
|
4057
4013
|
]),
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
Schema.encodeKeys({
|
|
4061
|
-
allowInsecure: "allow_insecure",
|
|
4062
|
-
consecutiveDown: "consecutive_down",
|
|
4063
|
-
consecutiveUp: "consecutive_up",
|
|
4064
|
-
description: "description",
|
|
4065
|
-
expectedBody: "expected_body",
|
|
4066
|
-
expectedCodes: "expected_codes",
|
|
4067
|
-
followRedirects: "follow_redirects",
|
|
4068
|
-
header: "header",
|
|
4069
|
-
interval: "interval",
|
|
4070
|
-
method: "method",
|
|
4071
|
-
path: "path",
|
|
4072
|
-
port: "port",
|
|
4073
|
-
probeZone: "probe_zone",
|
|
4074
|
-
retries: "retries",
|
|
4075
|
-
timeout: "timeout",
|
|
4076
|
-
type: "type",
|
|
4077
|
-
}),
|
|
4078
|
-
T.Http({
|
|
4079
|
-
method: "PUT",
|
|
4080
|
-
path: "/accounts/{account_id}/load_balancers/monitors/{monitorId}",
|
|
4081
|
-
}),
|
|
4014
|
+
Schema.String,
|
|
4015
|
+
]),
|
|
4082
4016
|
),
|
|
4017
|
+
}).pipe(
|
|
4018
|
+
Schema.encodeKeys({
|
|
4019
|
+
allowInsecure: "allow_insecure",
|
|
4020
|
+
consecutiveDown: "consecutive_down",
|
|
4021
|
+
consecutiveUp: "consecutive_up",
|
|
4022
|
+
description: "description",
|
|
4023
|
+
expectedBody: "expected_body",
|
|
4024
|
+
expectedCodes: "expected_codes",
|
|
4025
|
+
followRedirects: "follow_redirects",
|
|
4026
|
+
header: "header",
|
|
4027
|
+
interval: "interval",
|
|
4028
|
+
method: "method",
|
|
4029
|
+
path: "path",
|
|
4030
|
+
port: "port",
|
|
4031
|
+
probeZone: "probe_zone",
|
|
4032
|
+
retries: "retries",
|
|
4033
|
+
timeout: "timeout",
|
|
4034
|
+
type: "type",
|
|
4035
|
+
}),
|
|
4036
|
+
T.Http({
|
|
4037
|
+
method: "PUT",
|
|
4038
|
+
path: "/accounts/{account_id}/load_balancers/monitors/{monitorId}",
|
|
4039
|
+
}),
|
|
4040
|
+
),
|
|
4083
4041
|
) as unknown as Schema.Codec<UpdateMonitorRequest>;
|
|
4084
4042
|
|
|
4085
4043
|
export interface UpdateMonitorResponse {
|
|
@@ -4128,83 +4086,73 @@ export interface UpdateMonitorResponse {
|
|
|
4128
4086
|
| null;
|
|
4129
4087
|
}
|
|
4130
4088
|
|
|
4131
|
-
export const UpdateMonitorResponse = /*@__PURE__*/
|
|
4132
|
-
(
|
|
4133
|
-
Schema.
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4160
|
-
method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4161
|
-
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4162
|
-
path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4163
|
-
port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4164
|
-
probeZone: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4165
|
-
retries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4166
|
-
timeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4167
|
-
type: Schema.optional(
|
|
4089
|
+
export const UpdateMonitorResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
4090
|
+
Schema.Struct({
|
|
4091
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4092
|
+
allowInsecure: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
4093
|
+
consecutiveDown: Schema.optional(
|
|
4094
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
4095
|
+
),
|
|
4096
|
+
consecutiveUp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4097
|
+
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4098
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4099
|
+
expectedBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4100
|
+
expectedCodes: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4101
|
+
followRedirects: Schema.optional(
|
|
4102
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
4103
|
+
),
|
|
4104
|
+
header: Schema.optional(
|
|
4105
|
+
Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
|
|
4106
|
+
),
|
|
4107
|
+
interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4108
|
+
method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4109
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4110
|
+
path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4111
|
+
port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4112
|
+
probeZone: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4113
|
+
retries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4114
|
+
timeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4115
|
+
type: Schema.optional(
|
|
4116
|
+
Schema.Union([
|
|
4168
4117
|
Schema.Union([
|
|
4169
|
-
Schema.
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
"smtp",
|
|
4177
|
-
]),
|
|
4178
|
-
Schema.String,
|
|
4118
|
+
Schema.Literals([
|
|
4119
|
+
"http",
|
|
4120
|
+
"https",
|
|
4121
|
+
"tcp",
|
|
4122
|
+
"udp_icmp",
|
|
4123
|
+
"icmp_ping",
|
|
4124
|
+
"smtp",
|
|
4179
4125
|
]),
|
|
4180
|
-
Schema.
|
|
4126
|
+
Schema.String,
|
|
4181
4127
|
]),
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4128
|
+
Schema.Null,
|
|
4129
|
+
]),
|
|
4130
|
+
),
|
|
4131
|
+
})
|
|
4132
|
+
.pipe(
|
|
4133
|
+
Schema.encodeKeys({
|
|
4134
|
+
id: "id",
|
|
4135
|
+
allowInsecure: "allow_insecure",
|
|
4136
|
+
consecutiveDown: "consecutive_down",
|
|
4137
|
+
consecutiveUp: "consecutive_up",
|
|
4138
|
+
createdOn: "created_on",
|
|
4139
|
+
description: "description",
|
|
4140
|
+
expectedBody: "expected_body",
|
|
4141
|
+
expectedCodes: "expected_codes",
|
|
4142
|
+
followRedirects: "follow_redirects",
|
|
4143
|
+
header: "header",
|
|
4144
|
+
interval: "interval",
|
|
4145
|
+
method: "method",
|
|
4146
|
+
modifiedOn: "modified_on",
|
|
4147
|
+
path: "path",
|
|
4148
|
+
port: "port",
|
|
4149
|
+
probeZone: "probe_zone",
|
|
4150
|
+
retries: "retries",
|
|
4151
|
+
timeout: "timeout",
|
|
4152
|
+
type: "type",
|
|
4153
|
+
}),
|
|
4154
|
+
)
|
|
4155
|
+
.pipe(T.ResponsePath("result")),
|
|
4208
4156
|
) as unknown as Schema.Codec<UpdateMonitorResponse>;
|
|
4209
4157
|
|
|
4210
4158
|
export type UpdateMonitorError =
|
|
@@ -4218,7 +4166,7 @@ export const updateMonitor: API.OperationMethod<
|
|
|
4218
4166
|
UpdateMonitorResponse,
|
|
4219
4167
|
UpdateMonitorError,
|
|
4220
4168
|
Credentials | HttpClient.HttpClient
|
|
4221
|
-
> = /*@__PURE__*/
|
|
4169
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4222
4170
|
input: UpdateMonitorRequest,
|
|
4223
4171
|
output: UpdateMonitorResponse,
|
|
4224
4172
|
errors: [MonitorNotFound, MonitorIntervalOutOfRange, Forbidden],
|
|
@@ -4261,71 +4209,70 @@ export interface PatchMonitorRequest {
|
|
|
4261
4209
|
/** Body param: The protocol to use for the health check. Currently supported protocols are 'HTTP','HTTPS', 'TCP', 'ICMP-PING', 'UDP-ICMP', and 'SMTP'. */
|
|
4262
4210
|
type?:
|
|
4263
4211
|
| "http"
|
|
4264
|
-
| "https"
|
|
4265
|
-
| "tcp"
|
|
4266
|
-
| "udp_icmp"
|
|
4267
|
-
| "icmp_ping"
|
|
4268
|
-
| "smtp"
|
|
4269
|
-
| (string & {});
|
|
4270
|
-
}
|
|
4271
|
-
|
|
4272
|
-
export const PatchMonitorRequest = /*@__PURE__*/
|
|
4273
|
-
(
|
|
4274
|
-
Schema.
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
Schema.
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
"smtp",
|
|
4301
|
-
]),
|
|
4302
|
-
Schema.String,
|
|
4212
|
+
| "https"
|
|
4213
|
+
| "tcp"
|
|
4214
|
+
| "udp_icmp"
|
|
4215
|
+
| "icmp_ping"
|
|
4216
|
+
| "smtp"
|
|
4217
|
+
| (string & {});
|
|
4218
|
+
}
|
|
4219
|
+
|
|
4220
|
+
export const PatchMonitorRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
4221
|
+
Schema.Struct({
|
|
4222
|
+
monitorId: Schema.String.pipe(T.HttpPath("monitorId")),
|
|
4223
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4224
|
+
allowInsecure: Schema.optional(Schema.Boolean),
|
|
4225
|
+
consecutiveDown: Schema.optional(Schema.Number),
|
|
4226
|
+
consecutiveUp: Schema.optional(Schema.Number),
|
|
4227
|
+
description: Schema.optional(Schema.String),
|
|
4228
|
+
expectedBody: Schema.optional(Schema.String),
|
|
4229
|
+
expectedCodes: Schema.optional(Schema.String),
|
|
4230
|
+
followRedirects: Schema.optional(Schema.Boolean),
|
|
4231
|
+
header: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
|
|
4232
|
+
interval: Schema.optional(Schema.Number),
|
|
4233
|
+
method: Schema.optional(Schema.String),
|
|
4234
|
+
path: Schema.optional(Schema.String),
|
|
4235
|
+
port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4236
|
+
probeZone: Schema.optional(Schema.String),
|
|
4237
|
+
retries: Schema.optional(Schema.Number),
|
|
4238
|
+
timeout: Schema.optional(Schema.Number),
|
|
4239
|
+
type: Schema.optional(
|
|
4240
|
+
Schema.Union([
|
|
4241
|
+
Schema.Literals([
|
|
4242
|
+
"http",
|
|
4243
|
+
"https",
|
|
4244
|
+
"tcp",
|
|
4245
|
+
"udp_icmp",
|
|
4246
|
+
"icmp_ping",
|
|
4247
|
+
"smtp",
|
|
4303
4248
|
]),
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
Schema.encodeKeys({
|
|
4307
|
-
allowInsecure: "allow_insecure",
|
|
4308
|
-
consecutiveDown: "consecutive_down",
|
|
4309
|
-
consecutiveUp: "consecutive_up",
|
|
4310
|
-
description: "description",
|
|
4311
|
-
expectedBody: "expected_body",
|
|
4312
|
-
expectedCodes: "expected_codes",
|
|
4313
|
-
followRedirects: "follow_redirects",
|
|
4314
|
-
header: "header",
|
|
4315
|
-
interval: "interval",
|
|
4316
|
-
method: "method",
|
|
4317
|
-
path: "path",
|
|
4318
|
-
port: "port",
|
|
4319
|
-
probeZone: "probe_zone",
|
|
4320
|
-
retries: "retries",
|
|
4321
|
-
timeout: "timeout",
|
|
4322
|
-
type: "type",
|
|
4323
|
-
}),
|
|
4324
|
-
T.Http({
|
|
4325
|
-
method: "PATCH",
|
|
4326
|
-
path: "/accounts/{account_id}/load_balancers/monitors/{monitorId}",
|
|
4327
|
-
}),
|
|
4249
|
+
Schema.String,
|
|
4250
|
+
]),
|
|
4328
4251
|
),
|
|
4252
|
+
}).pipe(
|
|
4253
|
+
Schema.encodeKeys({
|
|
4254
|
+
allowInsecure: "allow_insecure",
|
|
4255
|
+
consecutiveDown: "consecutive_down",
|
|
4256
|
+
consecutiveUp: "consecutive_up",
|
|
4257
|
+
description: "description",
|
|
4258
|
+
expectedBody: "expected_body",
|
|
4259
|
+
expectedCodes: "expected_codes",
|
|
4260
|
+
followRedirects: "follow_redirects",
|
|
4261
|
+
header: "header",
|
|
4262
|
+
interval: "interval",
|
|
4263
|
+
method: "method",
|
|
4264
|
+
path: "path",
|
|
4265
|
+
port: "port",
|
|
4266
|
+
probeZone: "probe_zone",
|
|
4267
|
+
retries: "retries",
|
|
4268
|
+
timeout: "timeout",
|
|
4269
|
+
type: "type",
|
|
4270
|
+
}),
|
|
4271
|
+
T.Http({
|
|
4272
|
+
method: "PATCH",
|
|
4273
|
+
path: "/accounts/{account_id}/load_balancers/monitors/{monitorId}",
|
|
4274
|
+
}),
|
|
4275
|
+
),
|
|
4329
4276
|
) as unknown as Schema.Codec<PatchMonitorRequest>;
|
|
4330
4277
|
|
|
4331
4278
|
export interface PatchMonitorResponse {
|
|
@@ -4374,83 +4321,73 @@ export interface PatchMonitorResponse {
|
|
|
4374
4321
|
| null;
|
|
4375
4322
|
}
|
|
4376
4323
|
|
|
4377
|
-
export const PatchMonitorResponse = /*@__PURE__*/
|
|
4378
|
-
(
|
|
4379
|
-
Schema.
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4406
|
-
method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4407
|
-
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4408
|
-
path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4409
|
-
port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4410
|
-
probeZone: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4411
|
-
retries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4412
|
-
timeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4413
|
-
type: Schema.optional(
|
|
4324
|
+
export const PatchMonitorResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
4325
|
+
Schema.Struct({
|
|
4326
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4327
|
+
allowInsecure: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
4328
|
+
consecutiveDown: Schema.optional(
|
|
4329
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
4330
|
+
),
|
|
4331
|
+
consecutiveUp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4332
|
+
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4333
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4334
|
+
expectedBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4335
|
+
expectedCodes: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4336
|
+
followRedirects: Schema.optional(
|
|
4337
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
4338
|
+
),
|
|
4339
|
+
header: Schema.optional(
|
|
4340
|
+
Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
|
|
4341
|
+
),
|
|
4342
|
+
interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4343
|
+
method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4344
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4345
|
+
path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4346
|
+
port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4347
|
+
probeZone: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4348
|
+
retries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4349
|
+
timeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
4350
|
+
type: Schema.optional(
|
|
4351
|
+
Schema.Union([
|
|
4414
4352
|
Schema.Union([
|
|
4415
|
-
Schema.
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
"smtp",
|
|
4423
|
-
]),
|
|
4424
|
-
Schema.String,
|
|
4353
|
+
Schema.Literals([
|
|
4354
|
+
"http",
|
|
4355
|
+
"https",
|
|
4356
|
+
"tcp",
|
|
4357
|
+
"udp_icmp",
|
|
4358
|
+
"icmp_ping",
|
|
4359
|
+
"smtp",
|
|
4425
4360
|
]),
|
|
4426
|
-
Schema.
|
|
4361
|
+
Schema.String,
|
|
4427
4362
|
]),
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4363
|
+
Schema.Null,
|
|
4364
|
+
]),
|
|
4365
|
+
),
|
|
4366
|
+
})
|
|
4367
|
+
.pipe(
|
|
4368
|
+
Schema.encodeKeys({
|
|
4369
|
+
id: "id",
|
|
4370
|
+
allowInsecure: "allow_insecure",
|
|
4371
|
+
consecutiveDown: "consecutive_down",
|
|
4372
|
+
consecutiveUp: "consecutive_up",
|
|
4373
|
+
createdOn: "created_on",
|
|
4374
|
+
description: "description",
|
|
4375
|
+
expectedBody: "expected_body",
|
|
4376
|
+
expectedCodes: "expected_codes",
|
|
4377
|
+
followRedirects: "follow_redirects",
|
|
4378
|
+
header: "header",
|
|
4379
|
+
interval: "interval",
|
|
4380
|
+
method: "method",
|
|
4381
|
+
modifiedOn: "modified_on",
|
|
4382
|
+
path: "path",
|
|
4383
|
+
port: "port",
|
|
4384
|
+
probeZone: "probe_zone",
|
|
4385
|
+
retries: "retries",
|
|
4386
|
+
timeout: "timeout",
|
|
4387
|
+
type: "type",
|
|
4388
|
+
}),
|
|
4389
|
+
)
|
|
4390
|
+
.pipe(T.ResponsePath("result")),
|
|
4454
4391
|
) as unknown as Schema.Codec<PatchMonitorResponse>;
|
|
4455
4392
|
|
|
4456
4393
|
export type PatchMonitorError = DefaultErrors;
|
|
@@ -4460,7 +4397,7 @@ export const patchMonitor: API.OperationMethod<
|
|
|
4460
4397
|
PatchMonitorResponse,
|
|
4461
4398
|
PatchMonitorError,
|
|
4462
4399
|
Credentials | HttpClient.HttpClient
|
|
4463
|
-
> = /*@__PURE__*/
|
|
4400
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4464
4401
|
input: PatchMonitorRequest,
|
|
4465
4402
|
output: PatchMonitorResponse,
|
|
4466
4403
|
errors: [],
|
|
@@ -4472,28 +4409,26 @@ export interface DeleteMonitorRequest {
|
|
|
4472
4409
|
accountId: string;
|
|
4473
4410
|
}
|
|
4474
4411
|
|
|
4475
|
-
export const DeleteMonitorRequest = /*@__PURE__*/
|
|
4476
|
-
(
|
|
4477
|
-
Schema.
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
),
|
|
4412
|
+
export const DeleteMonitorRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
4413
|
+
Schema.Struct({
|
|
4414
|
+
monitorId: Schema.String.pipe(T.HttpPath("monitorId")),
|
|
4415
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4416
|
+
}).pipe(
|
|
4417
|
+
T.Http({
|
|
4418
|
+
method: "DELETE",
|
|
4419
|
+
path: "/accounts/{account_id}/load_balancers/monitors/{monitorId}",
|
|
4420
|
+
}),
|
|
4421
|
+
),
|
|
4486
4422
|
) as unknown as Schema.Codec<DeleteMonitorRequest>;
|
|
4487
4423
|
|
|
4488
4424
|
export interface DeleteMonitorResponse {
|
|
4489
4425
|
id?: string | null;
|
|
4490
4426
|
}
|
|
4491
4427
|
|
|
4492
|
-
export const DeleteMonitorResponse = /*@__PURE__*/
|
|
4493
|
-
(
|
|
4494
|
-
Schema.
|
|
4495
|
-
|
|
4496
|
-
}).pipe(T.ResponsePath("result")),
|
|
4428
|
+
export const DeleteMonitorResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
4429
|
+
Schema.Struct({
|
|
4430
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4431
|
+
}).pipe(T.ResponsePath("result")),
|
|
4497
4432
|
) as unknown as Schema.Codec<DeleteMonitorResponse>;
|
|
4498
4433
|
|
|
4499
4434
|
export type DeleteMonitorError =
|
|
@@ -4507,7 +4442,7 @@ export const deleteMonitor: API.OperationMethod<
|
|
|
4507
4442
|
DeleteMonitorResponse,
|
|
4508
4443
|
DeleteMonitorError,
|
|
4509
4444
|
Credentials | HttpClient.HttpClient
|
|
4510
|
-
> = /*@__PURE__*/
|
|
4445
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4511
4446
|
input: DeleteMonitorRequest,
|
|
4512
4447
|
output: DeleteMonitorResponse,
|
|
4513
4448
|
errors: [MonitorNotFound, MonitorInUse, Forbidden],
|
|
@@ -4524,7 +4459,7 @@ export interface GetMonitorGroupRequest {
|
|
|
4524
4459
|
}
|
|
4525
4460
|
|
|
4526
4461
|
export const GetMonitorGroupRequest =
|
|
4527
|
-
/*@__PURE__*/
|
|
4462
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4528
4463
|
Schema.Struct({
|
|
4529
4464
|
monitorGroupId: Schema.String.pipe(T.HttpPath("monitorGroupId")),
|
|
4530
4465
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -4557,7 +4492,7 @@ export interface GetMonitorGroupResponse {
|
|
|
4557
4492
|
}
|
|
4558
4493
|
|
|
4559
4494
|
export const GetMonitorGroupResponse =
|
|
4560
|
-
/*@__PURE__*/
|
|
4495
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4561
4496
|
Schema.Struct({
|
|
4562
4497
|
id: Schema.String,
|
|
4563
4498
|
description: Schema.String,
|
|
@@ -4587,7 +4522,7 @@ export const getMonitorGroup: API.OperationMethod<
|
|
|
4587
4522
|
GetMonitorGroupResponse,
|
|
4588
4523
|
GetMonitorGroupError,
|
|
4589
4524
|
Credentials | HttpClient.HttpClient
|
|
4590
|
-
> = /*@__PURE__*/
|
|
4525
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4591
4526
|
input: GetMonitorGroupRequest,
|
|
4592
4527
|
output: GetMonitorGroupResponse,
|
|
4593
4528
|
errors: [MonitorGroupNotFound, Forbidden],
|
|
@@ -4599,7 +4534,7 @@ export interface ListMonitorGroupsRequest {
|
|
|
4599
4534
|
}
|
|
4600
4535
|
|
|
4601
4536
|
export const ListMonitorGroupsRequest =
|
|
4602
|
-
/*@__PURE__*/
|
|
4537
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4603
4538
|
Schema.Struct({
|
|
4604
4539
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4605
4540
|
}).pipe(
|
|
@@ -4628,7 +4563,7 @@ export interface ListMonitorGroupsResponse {
|
|
|
4628
4563
|
}
|
|
4629
4564
|
|
|
4630
4565
|
export const ListMonitorGroupsResponse =
|
|
4631
|
-
/*@__PURE__*/
|
|
4566
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4632
4567
|
Schema.Struct({
|
|
4633
4568
|
result: Schema.Array(ListMonitorGroupsResponseResult),
|
|
4634
4569
|
}),
|
|
@@ -4641,7 +4576,7 @@ export const listMonitorGroups: API.PaginatedOperationMethod<
|
|
|
4641
4576
|
ListMonitorGroupsResponse,
|
|
4642
4577
|
ListMonitorGroupsError,
|
|
4643
4578
|
Credentials | HttpClient.HttpClient
|
|
4644
|
-
> = /*@__PURE__*/
|
|
4579
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
4645
4580
|
input: ListMonitorGroupsRequest,
|
|
4646
4581
|
output: ListMonitorGroupsResponse,
|
|
4647
4582
|
errors: [],
|
|
@@ -4666,7 +4601,7 @@ export interface CreateMonitorGroupRequest {
|
|
|
4666
4601
|
}
|
|
4667
4602
|
|
|
4668
4603
|
export const CreateMonitorGroupRequest =
|
|
4669
|
-
/*@__PURE__*/
|
|
4604
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4670
4605
|
Schema.Struct({
|
|
4671
4606
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4672
4607
|
description: Schema.String,
|
|
@@ -4700,7 +4635,7 @@ export interface CreateMonitorGroupResponse {
|
|
|
4700
4635
|
}
|
|
4701
4636
|
|
|
4702
4637
|
export const CreateMonitorGroupResponse =
|
|
4703
|
-
/*@__PURE__*/
|
|
4638
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4704
4639
|
Schema.Struct({
|
|
4705
4640
|
id: Schema.String,
|
|
4706
4641
|
description: Schema.String,
|
|
@@ -4730,7 +4665,7 @@ export const createMonitorGroup: API.OperationMethod<
|
|
|
4730
4665
|
CreateMonitorGroupResponse,
|
|
4731
4666
|
CreateMonitorGroupError,
|
|
4732
4667
|
Credentials | HttpClient.HttpClient
|
|
4733
|
-
> = /*@__PURE__*/
|
|
4668
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4734
4669
|
input: CreateMonitorGroupRequest,
|
|
4735
4670
|
output: CreateMonitorGroupResponse,
|
|
4736
4671
|
errors: [MonitorGroupsNotEnabled, Forbidden],
|
|
@@ -4752,7 +4687,7 @@ export interface UpdateMonitorGroupRequest {
|
|
|
4752
4687
|
}
|
|
4753
4688
|
|
|
4754
4689
|
export const UpdateMonitorGroupRequest =
|
|
4755
|
-
/*@__PURE__*/
|
|
4690
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4756
4691
|
Schema.Struct({
|
|
4757
4692
|
monitorGroupId: Schema.String.pipe(T.HttpPath("monitorGroupId")),
|
|
4758
4693
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -4787,7 +4722,7 @@ export interface UpdateMonitorGroupResponse {
|
|
|
4787
4722
|
}
|
|
4788
4723
|
|
|
4789
4724
|
export const UpdateMonitorGroupResponse =
|
|
4790
|
-
/*@__PURE__*/
|
|
4725
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4791
4726
|
Schema.Struct({
|
|
4792
4727
|
id: Schema.String,
|
|
4793
4728
|
description: Schema.String,
|
|
@@ -4818,7 +4753,7 @@ export const updateMonitorGroup: API.OperationMethod<
|
|
|
4818
4753
|
UpdateMonitorGroupResponse,
|
|
4819
4754
|
UpdateMonitorGroupError,
|
|
4820
4755
|
Credentials | HttpClient.HttpClient
|
|
4821
|
-
> = /*@__PURE__*/
|
|
4756
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4822
4757
|
input: UpdateMonitorGroupRequest,
|
|
4823
4758
|
output: UpdateMonitorGroupResponse,
|
|
4824
4759
|
errors: [MonitorGroupNotFound, MonitorGroupsNotEnabled, Forbidden],
|
|
@@ -4840,7 +4775,7 @@ export interface PatchMonitorGroupRequest {
|
|
|
4840
4775
|
}
|
|
4841
4776
|
|
|
4842
4777
|
export const PatchMonitorGroupRequest =
|
|
4843
|
-
/*@__PURE__*/
|
|
4778
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4844
4779
|
Schema.Struct({
|
|
4845
4780
|
monitorGroupId: Schema.String.pipe(T.HttpPath("monitorGroupId")),
|
|
4846
4781
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -4875,7 +4810,7 @@ export interface PatchMonitorGroupResponse {
|
|
|
4875
4810
|
}
|
|
4876
4811
|
|
|
4877
4812
|
export const PatchMonitorGroupResponse =
|
|
4878
|
-
/*@__PURE__*/
|
|
4813
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4879
4814
|
Schema.Struct({
|
|
4880
4815
|
id: Schema.String,
|
|
4881
4816
|
description: Schema.String,
|
|
@@ -4902,7 +4837,7 @@ export const patchMonitorGroup: API.OperationMethod<
|
|
|
4902
4837
|
PatchMonitorGroupResponse,
|
|
4903
4838
|
PatchMonitorGroupError,
|
|
4904
4839
|
Credentials | HttpClient.HttpClient
|
|
4905
|
-
> = /*@__PURE__*/
|
|
4840
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4906
4841
|
input: PatchMonitorGroupRequest,
|
|
4907
4842
|
output: PatchMonitorGroupResponse,
|
|
4908
4843
|
errors: [],
|
|
@@ -4915,7 +4850,7 @@ export interface DeleteMonitorGroupRequest {
|
|
|
4915
4850
|
}
|
|
4916
4851
|
|
|
4917
4852
|
export const DeleteMonitorGroupRequest =
|
|
4918
|
-
/*@__PURE__*/
|
|
4853
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4919
4854
|
Schema.Struct({
|
|
4920
4855
|
monitorGroupId: Schema.String.pipe(T.HttpPath("monitorGroupId")),
|
|
4921
4856
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -4948,7 +4883,7 @@ export interface DeleteMonitorGroupResponse {
|
|
|
4948
4883
|
}
|
|
4949
4884
|
|
|
4950
4885
|
export const DeleteMonitorGroupResponse =
|
|
4951
|
-
/*@__PURE__*/
|
|
4886
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4952
4887
|
Schema.Struct({
|
|
4953
4888
|
id: Schema.String,
|
|
4954
4889
|
description: Schema.String,
|
|
@@ -4979,7 +4914,7 @@ export const deleteMonitorGroup: API.OperationMethod<
|
|
|
4979
4914
|
DeleteMonitorGroupResponse,
|
|
4980
4915
|
DeleteMonitorGroupError,
|
|
4981
4916
|
Credentials | HttpClient.HttpClient
|
|
4982
|
-
> = /*@__PURE__*/
|
|
4917
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4983
4918
|
input: DeleteMonitorGroupRequest,
|
|
4984
4919
|
output: DeleteMonitorGroupResponse,
|
|
4985
4920
|
errors: [MonitorGroupNotFound, MonitorGroupInUse, Forbidden],
|
|
@@ -4996,7 +4931,7 @@ export interface GetMonitorGroupReferenceRequest {
|
|
|
4996
4931
|
}
|
|
4997
4932
|
|
|
4998
4933
|
export const GetMonitorGroupReferenceRequest =
|
|
4999
|
-
/*@__PURE__*/
|
|
4934
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
5000
4935
|
Schema.Struct({
|
|
5001
4936
|
monitorGroupId: Schema.String.pipe(T.HttpPath("monitorGroupId")),
|
|
5002
4937
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -5018,7 +4953,7 @@ export interface GetMonitorGroupReferenceResponse {
|
|
|
5018
4953
|
}
|
|
5019
4954
|
|
|
5020
4955
|
export const GetMonitorGroupReferenceResponse =
|
|
5021
|
-
/*@__PURE__*/
|
|
4956
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
5022
4957
|
Schema.Struct({
|
|
5023
4958
|
result: Schema.Array(GetMonitorGroupReferenceResponseResult),
|
|
5024
4959
|
}),
|
|
@@ -5031,7 +4966,7 @@ export const getMonitorGroupReference: API.PaginatedOperationMethod<
|
|
|
5031
4966
|
GetMonitorGroupReferenceResponse,
|
|
5032
4967
|
GetMonitorGroupReferenceError,
|
|
5033
4968
|
Credentials | HttpClient.HttpClient
|
|
5034
|
-
> = /*@__PURE__*/
|
|
4969
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
5035
4970
|
input: GetMonitorGroupReferenceRequest,
|
|
5036
4971
|
output: GetMonitorGroupReferenceResponse,
|
|
5037
4972
|
errors: [],
|
|
@@ -5091,7 +5026,7 @@ export interface CreateMonitorPreviewRequest {
|
|
|
5091
5026
|
}
|
|
5092
5027
|
|
|
5093
5028
|
export const CreateMonitorPreviewRequest =
|
|
5094
|
-
/*@__PURE__*/
|
|
5029
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
5095
5030
|
Schema.Struct({
|
|
5096
5031
|
monitorId: Schema.String.pipe(T.HttpPath("monitorId")),
|
|
5097
5032
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -5156,7 +5091,7 @@ export interface CreateMonitorPreviewResponse {
|
|
|
5156
5091
|
}
|
|
5157
5092
|
|
|
5158
5093
|
export const CreateMonitorPreviewResponse =
|
|
5159
|
-
/*@__PURE__*/
|
|
5094
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
5160
5095
|
Schema.Struct({
|
|
5161
5096
|
pools: Schema.optional(
|
|
5162
5097
|
Schema.Union([
|
|
@@ -5177,7 +5112,7 @@ export const createMonitorPreview: API.OperationMethod<
|
|
|
5177
5112
|
CreateMonitorPreviewResponse,
|
|
5178
5113
|
CreateMonitorPreviewError,
|
|
5179
5114
|
Credentials | HttpClient.HttpClient
|
|
5180
|
-
> = /*@__PURE__*/
|
|
5115
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
5181
5116
|
input: CreateMonitorPreviewRequest,
|
|
5182
5117
|
output: CreateMonitorPreviewResponse,
|
|
5183
5118
|
errors: [],
|
|
@@ -5194,7 +5129,7 @@ export interface GetMonitorReferenceRequest {
|
|
|
5194
5129
|
}
|
|
5195
5130
|
|
|
5196
5131
|
export const GetMonitorReferenceRequest =
|
|
5197
|
-
/*@__PURE__*/
|
|
5132
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
5198
5133
|
Schema.Struct({
|
|
5199
5134
|
monitorId: Schema.String.pipe(T.HttpPath("monitorId")),
|
|
5200
5135
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -5216,7 +5151,7 @@ export interface GetMonitorReferenceResponse {
|
|
|
5216
5151
|
}
|
|
5217
5152
|
|
|
5218
5153
|
export const GetMonitorReferenceResponse =
|
|
5219
|
-
/*@__PURE__*/
|
|
5154
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
5220
5155
|
Schema.Struct({
|
|
5221
5156
|
result: Schema.Array(GetMonitorGroupReferenceResponseResult),
|
|
5222
5157
|
}),
|
|
@@ -5229,7 +5164,7 @@ export const getMonitorReference: API.PaginatedOperationMethod<
|
|
|
5229
5164
|
GetMonitorReferenceResponse,
|
|
5230
5165
|
GetMonitorReferenceError,
|
|
5231
5166
|
Credentials | HttpClient.HttpClient
|
|
5232
|
-
> = /*@__PURE__*/
|
|
5167
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
5233
5168
|
input: GetMonitorReferenceRequest,
|
|
5234
5169
|
output: GetMonitorReferenceResponse,
|
|
5235
5170
|
errors: [],
|
|
@@ -5249,7 +5184,7 @@ export interface GetPoolRequest {
|
|
|
5249
5184
|
accountId: string;
|
|
5250
5185
|
}
|
|
5251
5186
|
|
|
5252
|
-
export const GetPoolRequest = /*@__PURE__*/
|
|
5187
|
+
export const GetPoolRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
5253
5188
|
Schema.Struct({
|
|
5254
5189
|
poolId: Schema.String.pipe(T.HttpPath("poolId")),
|
|
5255
5190
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -5345,7 +5280,7 @@ export interface GetPoolResponse {
|
|
|
5345
5280
|
| null;
|
|
5346
5281
|
}
|
|
5347
5282
|
|
|
5348
|
-
export const GetPoolResponse = /*@__PURE__*/
|
|
5283
|
+
export const GetPoolResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
5349
5284
|
Schema.Struct({
|
|
5350
5285
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5351
5286
|
checkRegions: Schema.optional(
|
|
@@ -5433,7 +5368,7 @@ export const getPool: API.OperationMethod<
|
|
|
5433
5368
|
GetPoolResponse,
|
|
5434
5369
|
GetPoolError,
|
|
5435
5370
|
Credentials | HttpClient.HttpClient
|
|
5436
|
-
> = /*@__PURE__*/
|
|
5371
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
5437
5372
|
input: GetPoolRequest,
|
|
5438
5373
|
output: GetPoolResponse,
|
|
5439
5374
|
errors: [PoolNotFound, Forbidden],
|
|
@@ -5446,7 +5381,7 @@ export interface ListPoolsRequest {
|
|
|
5446
5381
|
monitor?: string;
|
|
5447
5382
|
}
|
|
5448
5383
|
|
|
5449
|
-
export const ListPoolsRequest = /*@__PURE__*/
|
|
5384
|
+
export const ListPoolsRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
5450
5385
|
Schema.Struct({
|
|
5451
5386
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
5452
5387
|
monitor: Schema.optional(Schema.String).pipe(T.HttpQuery("monitor")),
|
|
@@ -5528,11 +5463,10 @@ export interface ListPoolsResponse {
|
|
|
5528
5463
|
}[];
|
|
5529
5464
|
}
|
|
5530
5465
|
|
|
5531
|
-
export const ListPoolsResponse = /*@__PURE__*/
|
|
5532
|
-
(
|
|
5533
|
-
Schema.
|
|
5534
|
-
|
|
5535
|
-
}),
|
|
5466
|
+
export const ListPoolsResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
5467
|
+
Schema.Struct({
|
|
5468
|
+
result: Schema.Array(ListPoolsResponseResult),
|
|
5469
|
+
}),
|
|
5536
5470
|
) as unknown as Schema.Codec<ListPoolsResponse>;
|
|
5537
5471
|
|
|
5538
5472
|
export type ListPoolsError = DefaultErrors;
|
|
@@ -5542,7 +5476,7 @@ export const listPools: API.PaginatedOperationMethod<
|
|
|
5542
5476
|
ListPoolsResponse,
|
|
5543
5477
|
ListPoolsError,
|
|
5544
5478
|
Credentials | HttpClient.HttpClient
|
|
5545
|
-
> = /*@__PURE__*/
|
|
5479
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
5546
5480
|
input: ListPoolsRequest,
|
|
5547
5481
|
output: ListPoolsResponse,
|
|
5548
5482
|
errors: [],
|
|
@@ -5607,48 +5541,47 @@ export interface CreatePoolRequest {
|
|
|
5607
5541
|
} | null;
|
|
5608
5542
|
}
|
|
5609
5543
|
|
|
5610
|
-
export const CreatePoolRequest = /*@__PURE__*/
|
|
5611
|
-
(
|
|
5612
|
-
Schema.
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
Schema.Union([OriginSteering, Schema.Null]),
|
|
5630
|
-
),
|
|
5631
|
-
}).pipe(
|
|
5632
|
-
Schema.encodeKeys({
|
|
5633
|
-
name: "name",
|
|
5634
|
-
origins: "origins",
|
|
5635
|
-
description: "description",
|
|
5636
|
-
enabled: "enabled",
|
|
5637
|
-
latitude: "latitude",
|
|
5638
|
-
loadShedding: "load_shedding",
|
|
5639
|
-
longitude: "longitude",
|
|
5640
|
-
minimumOrigins: "minimum_origins",
|
|
5641
|
-
monitor: "monitor",
|
|
5642
|
-
monitorGroup: "monitor_group",
|
|
5643
|
-
notificationEmail: "notification_email",
|
|
5644
|
-
notificationFilter: "notification_filter",
|
|
5645
|
-
originSteering: "origin_steering",
|
|
5646
|
-
}),
|
|
5647
|
-
T.Http({
|
|
5648
|
-
method: "POST",
|
|
5649
|
-
path: "/accounts/{account_id}/load_balancers/pools",
|
|
5650
|
-
}),
|
|
5544
|
+
export const CreatePoolRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
5545
|
+
Schema.Struct({
|
|
5546
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
5547
|
+
name: Schema.String,
|
|
5548
|
+
origins: Schema.Array(OriginParam),
|
|
5549
|
+
description: Schema.optional(Schema.String),
|
|
5550
|
+
enabled: Schema.optional(Schema.Boolean),
|
|
5551
|
+
latitude: Schema.optional(Schema.Number),
|
|
5552
|
+
loadShedding: Schema.optional(Schema.Union([LoadShedding, Schema.Null])),
|
|
5553
|
+
longitude: Schema.optional(Schema.Number),
|
|
5554
|
+
minimumOrigins: Schema.optional(Schema.Number),
|
|
5555
|
+
monitor: Schema.optional(Schema.String),
|
|
5556
|
+
monitorGroup: Schema.optional(Schema.String),
|
|
5557
|
+
notificationEmail: Schema.optional(Schema.String),
|
|
5558
|
+
notificationFilter: Schema.optional(
|
|
5559
|
+
Schema.Union([NotificationFilter, Schema.Null]),
|
|
5560
|
+
),
|
|
5561
|
+
originSteering: Schema.optional(
|
|
5562
|
+
Schema.Union([OriginSteering, Schema.Null]),
|
|
5651
5563
|
),
|
|
5564
|
+
}).pipe(
|
|
5565
|
+
Schema.encodeKeys({
|
|
5566
|
+
name: "name",
|
|
5567
|
+
origins: "origins",
|
|
5568
|
+
description: "description",
|
|
5569
|
+
enabled: "enabled",
|
|
5570
|
+
latitude: "latitude",
|
|
5571
|
+
loadShedding: "load_shedding",
|
|
5572
|
+
longitude: "longitude",
|
|
5573
|
+
minimumOrigins: "minimum_origins",
|
|
5574
|
+
monitor: "monitor",
|
|
5575
|
+
monitorGroup: "monitor_group",
|
|
5576
|
+
notificationEmail: "notification_email",
|
|
5577
|
+
notificationFilter: "notification_filter",
|
|
5578
|
+
originSteering: "origin_steering",
|
|
5579
|
+
}),
|
|
5580
|
+
T.Http({
|
|
5581
|
+
method: "POST",
|
|
5582
|
+
path: "/accounts/{account_id}/load_balancers/pools",
|
|
5583
|
+
}),
|
|
5584
|
+
),
|
|
5652
5585
|
) as unknown as Schema.Codec<CreatePoolRequest>;
|
|
5653
5586
|
|
|
5654
5587
|
export interface CreatePoolResponse {
|
|
@@ -5730,95 +5663,90 @@ export interface CreatePoolResponse {
|
|
|
5730
5663
|
name?: string | null;
|
|
5731
5664
|
port?: number | null;
|
|
5732
5665
|
virtualNetworkId?: string | null;
|
|
5733
|
-
weight?: number | null;
|
|
5734
|
-
}[]
|
|
5735
|
-
| null;
|
|
5736
|
-
}
|
|
5737
|
-
|
|
5738
|
-
export const CreatePoolResponse = /*@__PURE__*/
|
|
5739
|
-
(
|
|
5740
|
-
Schema.
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
Schema.
|
|
5744
|
-
Schema.
|
|
5745
|
-
Schema.
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
5771
|
-
|
|
5772
|
-
|
|
5773
|
-
|
|
5774
|
-
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
|
|
5784
|
-
|
|
5785
|
-
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
|
|
5789
|
-
|
|
5790
|
-
|
|
5791
|
-
|
|
5792
|
-
|
|
5793
|
-
|
|
5794
|
-
|
|
5795
|
-
|
|
5796
|
-
|
|
5797
|
-
|
|
5798
|
-
|
|
5799
|
-
|
|
5800
|
-
|
|
5801
|
-
|
|
5802
|
-
|
|
5803
|
-
|
|
5804
|
-
|
|
5805
|
-
|
|
5806
|
-
|
|
5807
|
-
|
|
5808
|
-
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
originSteering: "origin_steering",
|
|
5818
|
-
origins: "origins",
|
|
5819
|
-
}),
|
|
5820
|
-
)
|
|
5821
|
-
.pipe(T.ResponsePath("result")),
|
|
5666
|
+
weight?: number | null;
|
|
5667
|
+
}[]
|
|
5668
|
+
| null;
|
|
5669
|
+
}
|
|
5670
|
+
|
|
5671
|
+
export const CreatePoolResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
5672
|
+
Schema.Struct({
|
|
5673
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5674
|
+
checkRegions: Schema.optional(
|
|
5675
|
+
Schema.Union([
|
|
5676
|
+
Schema.Array(
|
|
5677
|
+
Schema.Union([
|
|
5678
|
+
Schema.Literals([
|
|
5679
|
+
"WNAM",
|
|
5680
|
+
"ENAM",
|
|
5681
|
+
"WEU",
|
|
5682
|
+
"EEU",
|
|
5683
|
+
"NSAM",
|
|
5684
|
+
"SSAM",
|
|
5685
|
+
"OC",
|
|
5686
|
+
"ME",
|
|
5687
|
+
"NAF",
|
|
5688
|
+
"SAF",
|
|
5689
|
+
"SAS",
|
|
5690
|
+
"SEAS",
|
|
5691
|
+
"NEAS",
|
|
5692
|
+
"ALL_REGIONS",
|
|
5693
|
+
]),
|
|
5694
|
+
Schema.String,
|
|
5695
|
+
]),
|
|
5696
|
+
),
|
|
5697
|
+
Schema.Null,
|
|
5698
|
+
]),
|
|
5699
|
+
),
|
|
5700
|
+
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5701
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5702
|
+
disabledAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5703
|
+
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
5704
|
+
latitude: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
5705
|
+
loadShedding: Schema.optional(Schema.Union([LoadShedding, Schema.Null])),
|
|
5706
|
+
longitude: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
5707
|
+
minimumOrigins: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
5708
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5709
|
+
monitor: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5710
|
+
monitorGroup: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5711
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5712
|
+
networks: Schema.optional(
|
|
5713
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
5714
|
+
),
|
|
5715
|
+
notificationEmail: Schema.optional(
|
|
5716
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
5717
|
+
),
|
|
5718
|
+
notificationFilter: Schema.optional(
|
|
5719
|
+
Schema.Union([NotificationFilter, Schema.Null]),
|
|
5720
|
+
),
|
|
5721
|
+
originSteering: Schema.optional(
|
|
5722
|
+
Schema.Union([OriginSteering, Schema.Null]),
|
|
5723
|
+
),
|
|
5724
|
+
origins: Schema.optional(Schema.Union([Schema.Array(Origin), Schema.Null])),
|
|
5725
|
+
})
|
|
5726
|
+
.pipe(
|
|
5727
|
+
Schema.encodeKeys({
|
|
5728
|
+
id: "id",
|
|
5729
|
+
checkRegions: "check_regions",
|
|
5730
|
+
createdOn: "created_on",
|
|
5731
|
+
description: "description",
|
|
5732
|
+
disabledAt: "disabled_at",
|
|
5733
|
+
enabled: "enabled",
|
|
5734
|
+
latitude: "latitude",
|
|
5735
|
+
loadShedding: "load_shedding",
|
|
5736
|
+
longitude: "longitude",
|
|
5737
|
+
minimumOrigins: "minimum_origins",
|
|
5738
|
+
modifiedOn: "modified_on",
|
|
5739
|
+
monitor: "monitor",
|
|
5740
|
+
monitorGroup: "monitor_group",
|
|
5741
|
+
name: "name",
|
|
5742
|
+
networks: "networks",
|
|
5743
|
+
notificationEmail: "notification_email",
|
|
5744
|
+
notificationFilter: "notification_filter",
|
|
5745
|
+
originSteering: "origin_steering",
|
|
5746
|
+
origins: "origins",
|
|
5747
|
+
}),
|
|
5748
|
+
)
|
|
5749
|
+
.pipe(T.ResponsePath("result")),
|
|
5822
5750
|
) as unknown as Schema.Codec<CreatePoolResponse>;
|
|
5823
5751
|
|
|
5824
5752
|
export type CreatePoolError = DefaultErrors | PoolAccessFailed | Forbidden;
|
|
@@ -5828,7 +5756,7 @@ export const createPool: API.OperationMethod<
|
|
|
5828
5756
|
CreatePoolResponse,
|
|
5829
5757
|
CreatePoolError,
|
|
5830
5758
|
Credentials | HttpClient.HttpClient
|
|
5831
|
-
> = /*@__PURE__*/
|
|
5759
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
5832
5760
|
input: CreatePoolRequest,
|
|
5833
5761
|
output: CreatePoolResponse,
|
|
5834
5762
|
errors: [PoolAccessFailed, Forbidden],
|
|
@@ -5910,76 +5838,75 @@ export interface UpdatePoolRequest {
|
|
|
5910
5838
|
} | null;
|
|
5911
5839
|
}
|
|
5912
5840
|
|
|
5913
|
-
export const UpdatePoolRequest = /*@__PURE__*/
|
|
5914
|
-
(
|
|
5915
|
-
Schema.
|
|
5916
|
-
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
|
|
5920
|
-
|
|
5921
|
-
Schema.
|
|
5922
|
-
Schema.
|
|
5923
|
-
Schema.
|
|
5924
|
-
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
|
|
5928
|
-
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
5933
|
-
|
|
5934
|
-
|
|
5935
|
-
|
|
5936
|
-
|
|
5937
|
-
|
|
5938
|
-
"ALL_REGIONS",
|
|
5939
|
-
]),
|
|
5940
|
-
Schema.String,
|
|
5841
|
+
export const UpdatePoolRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
5842
|
+
Schema.Struct({
|
|
5843
|
+
poolId: Schema.String.pipe(T.HttpPath("poolId")),
|
|
5844
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
5845
|
+
name: Schema.String,
|
|
5846
|
+
origins: Schema.Array(OriginParam),
|
|
5847
|
+
checkRegions: Schema.optional(
|
|
5848
|
+
Schema.Union([
|
|
5849
|
+
Schema.Array(
|
|
5850
|
+
Schema.Union([
|
|
5851
|
+
Schema.Literals([
|
|
5852
|
+
"WNAM",
|
|
5853
|
+
"ENAM",
|
|
5854
|
+
"WEU",
|
|
5855
|
+
"EEU",
|
|
5856
|
+
"NSAM",
|
|
5857
|
+
"SSAM",
|
|
5858
|
+
"OC",
|
|
5859
|
+
"ME",
|
|
5860
|
+
"NAF",
|
|
5861
|
+
"SAF",
|
|
5862
|
+
"SAS",
|
|
5863
|
+
"SEAS",
|
|
5864
|
+
"NEAS",
|
|
5865
|
+
"ALL_REGIONS",
|
|
5941
5866
|
]),
|
|
5942
|
-
|
|
5943
|
-
|
|
5944
|
-
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
|
|
5953
|
-
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
Schema.encodeKeys({
|
|
5963
|
-
name: "name",
|
|
5964
|
-
origins: "origins",
|
|
5965
|
-
checkRegions: "check_regions",
|
|
5966
|
-
description: "description",
|
|
5967
|
-
enabled: "enabled",
|
|
5968
|
-
latitude: "latitude",
|
|
5969
|
-
loadShedding: "load_shedding",
|
|
5970
|
-
longitude: "longitude",
|
|
5971
|
-
minimumOrigins: "minimum_origins",
|
|
5972
|
-
monitor: "monitor",
|
|
5973
|
-
monitorGroup: "monitor_group",
|
|
5974
|
-
notificationEmail: "notification_email",
|
|
5975
|
-
notificationFilter: "notification_filter",
|
|
5976
|
-
originSteering: "origin_steering",
|
|
5977
|
-
}),
|
|
5978
|
-
T.Http({
|
|
5979
|
-
method: "PUT",
|
|
5980
|
-
path: "/accounts/{account_id}/load_balancers/pools/{poolId}",
|
|
5981
|
-
}),
|
|
5867
|
+
Schema.String,
|
|
5868
|
+
]),
|
|
5869
|
+
),
|
|
5870
|
+
Schema.Null,
|
|
5871
|
+
]),
|
|
5872
|
+
),
|
|
5873
|
+
description: Schema.optional(Schema.String),
|
|
5874
|
+
enabled: Schema.optional(Schema.Boolean),
|
|
5875
|
+
latitude: Schema.optional(Schema.Number),
|
|
5876
|
+
loadShedding: Schema.optional(Schema.Union([LoadShedding, Schema.Null])),
|
|
5877
|
+
longitude: Schema.optional(Schema.Number),
|
|
5878
|
+
minimumOrigins: Schema.optional(Schema.Number),
|
|
5879
|
+
monitor: Schema.optional(Schema.String),
|
|
5880
|
+
monitorGroup: Schema.optional(Schema.String),
|
|
5881
|
+
notificationEmail: Schema.optional(Schema.String),
|
|
5882
|
+
notificationFilter: Schema.optional(
|
|
5883
|
+
Schema.Union([NotificationFilter, Schema.Null]),
|
|
5884
|
+
),
|
|
5885
|
+
originSteering: Schema.optional(
|
|
5886
|
+
Schema.Union([OriginSteering, Schema.Null]),
|
|
5982
5887
|
),
|
|
5888
|
+
}).pipe(
|
|
5889
|
+
Schema.encodeKeys({
|
|
5890
|
+
name: "name",
|
|
5891
|
+
origins: "origins",
|
|
5892
|
+
checkRegions: "check_regions",
|
|
5893
|
+
description: "description",
|
|
5894
|
+
enabled: "enabled",
|
|
5895
|
+
latitude: "latitude",
|
|
5896
|
+
loadShedding: "load_shedding",
|
|
5897
|
+
longitude: "longitude",
|
|
5898
|
+
minimumOrigins: "minimum_origins",
|
|
5899
|
+
monitor: "monitor",
|
|
5900
|
+
monitorGroup: "monitor_group",
|
|
5901
|
+
notificationEmail: "notification_email",
|
|
5902
|
+
notificationFilter: "notification_filter",
|
|
5903
|
+
originSteering: "origin_steering",
|
|
5904
|
+
}),
|
|
5905
|
+
T.Http({
|
|
5906
|
+
method: "PUT",
|
|
5907
|
+
path: "/accounts/{account_id}/load_balancers/pools/{poolId}",
|
|
5908
|
+
}),
|
|
5909
|
+
),
|
|
5983
5910
|
) as unknown as Schema.Codec<UpdatePoolRequest>;
|
|
5984
5911
|
|
|
5985
5912
|
export interface UpdatePoolResponse {
|
|
@@ -6066,90 +5993,85 @@ export interface UpdatePoolResponse {
|
|
|
6066
5993
|
| null;
|
|
6067
5994
|
}
|
|
6068
5995
|
|
|
6069
|
-
export const UpdatePoolResponse = /*@__PURE__*/
|
|
6070
|
-
(
|
|
6071
|
-
Schema.
|
|
6072
|
-
|
|
6073
|
-
|
|
6074
|
-
Schema.
|
|
6075
|
-
Schema.
|
|
6076
|
-
Schema.
|
|
6077
|
-
|
|
6078
|
-
|
|
6079
|
-
|
|
6080
|
-
|
|
6081
|
-
|
|
6082
|
-
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
|
-
|
|
6086
|
-
|
|
6087
|
-
|
|
6088
|
-
|
|
6089
|
-
|
|
6090
|
-
|
|
6091
|
-
"ALL_REGIONS",
|
|
6092
|
-
]),
|
|
6093
|
-
Schema.String,
|
|
5996
|
+
export const UpdatePoolResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
5997
|
+
Schema.Struct({
|
|
5998
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5999
|
+
checkRegions: Schema.optional(
|
|
6000
|
+
Schema.Union([
|
|
6001
|
+
Schema.Array(
|
|
6002
|
+
Schema.Union([
|
|
6003
|
+
Schema.Literals([
|
|
6004
|
+
"WNAM",
|
|
6005
|
+
"ENAM",
|
|
6006
|
+
"WEU",
|
|
6007
|
+
"EEU",
|
|
6008
|
+
"NSAM",
|
|
6009
|
+
"SSAM",
|
|
6010
|
+
"OC",
|
|
6011
|
+
"ME",
|
|
6012
|
+
"NAF",
|
|
6013
|
+
"SAF",
|
|
6014
|
+
"SAS",
|
|
6015
|
+
"SEAS",
|
|
6016
|
+
"NEAS",
|
|
6017
|
+
"ALL_REGIONS",
|
|
6094
6018
|
]),
|
|
6095
|
-
|
|
6096
|
-
|
|
6097
|
-
|
|
6098
|
-
|
|
6099
|
-
|
|
6100
|
-
|
|
6101
|
-
|
|
6102
|
-
|
|
6103
|
-
|
|
6104
|
-
|
|
6105
|
-
|
|
6106
|
-
|
|
6107
|
-
|
|
6108
|
-
|
|
6109
|
-
|
|
6110
|
-
|
|
6111
|
-
|
|
6112
|
-
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
-
|
|
6117
|
-
|
|
6118
|
-
|
|
6119
|
-
|
|
6120
|
-
|
|
6121
|
-
|
|
6122
|
-
|
|
6123
|
-
|
|
6124
|
-
|
|
6125
|
-
|
|
6126
|
-
|
|
6127
|
-
|
|
6128
|
-
|
|
6129
|
-
|
|
6130
|
-
|
|
6131
|
-
|
|
6132
|
-
|
|
6133
|
-
|
|
6134
|
-
|
|
6135
|
-
|
|
6136
|
-
|
|
6137
|
-
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
)
|
|
6152
|
-
.pipe(T.ResponsePath("result")),
|
|
6019
|
+
Schema.String,
|
|
6020
|
+
]),
|
|
6021
|
+
),
|
|
6022
|
+
Schema.Null,
|
|
6023
|
+
]),
|
|
6024
|
+
),
|
|
6025
|
+
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6026
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6027
|
+
disabledAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6028
|
+
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
6029
|
+
latitude: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
6030
|
+
loadShedding: Schema.optional(Schema.Union([LoadShedding, Schema.Null])),
|
|
6031
|
+
longitude: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
6032
|
+
minimumOrigins: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
6033
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6034
|
+
monitor: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6035
|
+
monitorGroup: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6036
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6037
|
+
networks: Schema.optional(
|
|
6038
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
6039
|
+
),
|
|
6040
|
+
notificationEmail: Schema.optional(
|
|
6041
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
6042
|
+
),
|
|
6043
|
+
notificationFilter: Schema.optional(
|
|
6044
|
+
Schema.Union([NotificationFilter, Schema.Null]),
|
|
6045
|
+
),
|
|
6046
|
+
originSteering: Schema.optional(
|
|
6047
|
+
Schema.Union([OriginSteering, Schema.Null]),
|
|
6048
|
+
),
|
|
6049
|
+
origins: Schema.optional(Schema.Union([Schema.Array(Origin), Schema.Null])),
|
|
6050
|
+
})
|
|
6051
|
+
.pipe(
|
|
6052
|
+
Schema.encodeKeys({
|
|
6053
|
+
id: "id",
|
|
6054
|
+
checkRegions: "check_regions",
|
|
6055
|
+
createdOn: "created_on",
|
|
6056
|
+
description: "description",
|
|
6057
|
+
disabledAt: "disabled_at",
|
|
6058
|
+
enabled: "enabled",
|
|
6059
|
+
latitude: "latitude",
|
|
6060
|
+
loadShedding: "load_shedding",
|
|
6061
|
+
longitude: "longitude",
|
|
6062
|
+
minimumOrigins: "minimum_origins",
|
|
6063
|
+
modifiedOn: "modified_on",
|
|
6064
|
+
monitor: "monitor",
|
|
6065
|
+
monitorGroup: "monitor_group",
|
|
6066
|
+
name: "name",
|
|
6067
|
+
networks: "networks",
|
|
6068
|
+
notificationEmail: "notification_email",
|
|
6069
|
+
notificationFilter: "notification_filter",
|
|
6070
|
+
originSteering: "origin_steering",
|
|
6071
|
+
origins: "origins",
|
|
6072
|
+
}),
|
|
6073
|
+
)
|
|
6074
|
+
.pipe(T.ResponsePath("result")),
|
|
6153
6075
|
) as unknown as Schema.Codec<UpdatePoolResponse>;
|
|
6154
6076
|
|
|
6155
6077
|
export type UpdatePoolError =
|
|
@@ -6163,7 +6085,7 @@ export const updatePool: API.OperationMethod<
|
|
|
6163
6085
|
UpdatePoolResponse,
|
|
6164
6086
|
UpdatePoolError,
|
|
6165
6087
|
Credentials | HttpClient.HttpClient
|
|
6166
|
-
> = /*@__PURE__*/
|
|
6088
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
6167
6089
|
input: UpdatePoolRequest,
|
|
6168
6090
|
output: UpdatePoolResponse,
|
|
6169
6091
|
errors: [PoolNotFound, PoolAccessFailed, Forbidden],
|
|
@@ -6245,7 +6167,7 @@ export interface PatchPoolRequest {
|
|
|
6245
6167
|
}[];
|
|
6246
6168
|
}
|
|
6247
6169
|
|
|
6248
|
-
export const PatchPoolRequest = /*@__PURE__*/
|
|
6170
|
+
export const PatchPoolRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
6249
6171
|
Schema.Struct({
|
|
6250
6172
|
poolId: Schema.String.pipe(T.HttpPath("poolId")),
|
|
6251
6173
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -6400,90 +6322,85 @@ export interface PatchPoolResponse {
|
|
|
6400
6322
|
| null;
|
|
6401
6323
|
}
|
|
6402
6324
|
|
|
6403
|
-
export const PatchPoolResponse = /*@__PURE__*/
|
|
6404
|
-
(
|
|
6405
|
-
Schema.
|
|
6406
|
-
|
|
6407
|
-
|
|
6408
|
-
Schema.
|
|
6409
|
-
Schema.
|
|
6410
|
-
Schema.
|
|
6411
|
-
|
|
6412
|
-
|
|
6413
|
-
|
|
6414
|
-
|
|
6415
|
-
|
|
6416
|
-
|
|
6417
|
-
|
|
6418
|
-
|
|
6419
|
-
|
|
6420
|
-
|
|
6421
|
-
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
|
|
6425
|
-
"ALL_REGIONS",
|
|
6426
|
-
]),
|
|
6427
|
-
Schema.String,
|
|
6325
|
+
export const PatchPoolResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
6326
|
+
Schema.Struct({
|
|
6327
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6328
|
+
checkRegions: Schema.optional(
|
|
6329
|
+
Schema.Union([
|
|
6330
|
+
Schema.Array(
|
|
6331
|
+
Schema.Union([
|
|
6332
|
+
Schema.Literals([
|
|
6333
|
+
"WNAM",
|
|
6334
|
+
"ENAM",
|
|
6335
|
+
"WEU",
|
|
6336
|
+
"EEU",
|
|
6337
|
+
"NSAM",
|
|
6338
|
+
"SSAM",
|
|
6339
|
+
"OC",
|
|
6340
|
+
"ME",
|
|
6341
|
+
"NAF",
|
|
6342
|
+
"SAF",
|
|
6343
|
+
"SAS",
|
|
6344
|
+
"SEAS",
|
|
6345
|
+
"NEAS",
|
|
6346
|
+
"ALL_REGIONS",
|
|
6428
6347
|
]),
|
|
6429
|
-
|
|
6430
|
-
|
|
6431
|
-
|
|
6432
|
-
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6436
|
-
|
|
6437
|
-
|
|
6438
|
-
|
|
6439
|
-
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
|
|
6466
|
-
|
|
6467
|
-
|
|
6468
|
-
|
|
6469
|
-
|
|
6470
|
-
|
|
6471
|
-
|
|
6472
|
-
|
|
6473
|
-
|
|
6474
|
-
|
|
6475
|
-
|
|
6476
|
-
|
|
6477
|
-
|
|
6478
|
-
|
|
6479
|
-
|
|
6480
|
-
|
|
6481
|
-
|
|
6482
|
-
|
|
6483
|
-
|
|
6484
|
-
|
|
6485
|
-
)
|
|
6486
|
-
.pipe(T.ResponsePath("result")),
|
|
6348
|
+
Schema.String,
|
|
6349
|
+
]),
|
|
6350
|
+
),
|
|
6351
|
+
Schema.Null,
|
|
6352
|
+
]),
|
|
6353
|
+
),
|
|
6354
|
+
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6355
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6356
|
+
disabledAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6357
|
+
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
6358
|
+
latitude: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
6359
|
+
loadShedding: Schema.optional(Schema.Union([LoadShedding, Schema.Null])),
|
|
6360
|
+
longitude: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
6361
|
+
minimumOrigins: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
6362
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6363
|
+
monitor: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6364
|
+
monitorGroup: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6365
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6366
|
+
networks: Schema.optional(
|
|
6367
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
6368
|
+
),
|
|
6369
|
+
notificationEmail: Schema.optional(
|
|
6370
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
6371
|
+
),
|
|
6372
|
+
notificationFilter: Schema.optional(
|
|
6373
|
+
Schema.Union([NotificationFilter, Schema.Null]),
|
|
6374
|
+
),
|
|
6375
|
+
originSteering: Schema.optional(
|
|
6376
|
+
Schema.Union([OriginSteering, Schema.Null]),
|
|
6377
|
+
),
|
|
6378
|
+
origins: Schema.optional(Schema.Union([Schema.Array(Origin), Schema.Null])),
|
|
6379
|
+
})
|
|
6380
|
+
.pipe(
|
|
6381
|
+
Schema.encodeKeys({
|
|
6382
|
+
id: "id",
|
|
6383
|
+
checkRegions: "check_regions",
|
|
6384
|
+
createdOn: "created_on",
|
|
6385
|
+
description: "description",
|
|
6386
|
+
disabledAt: "disabled_at",
|
|
6387
|
+
enabled: "enabled",
|
|
6388
|
+
latitude: "latitude",
|
|
6389
|
+
loadShedding: "load_shedding",
|
|
6390
|
+
longitude: "longitude",
|
|
6391
|
+
minimumOrigins: "minimum_origins",
|
|
6392
|
+
modifiedOn: "modified_on",
|
|
6393
|
+
monitor: "monitor",
|
|
6394
|
+
monitorGroup: "monitor_group",
|
|
6395
|
+
name: "name",
|
|
6396
|
+
networks: "networks",
|
|
6397
|
+
notificationEmail: "notification_email",
|
|
6398
|
+
notificationFilter: "notification_filter",
|
|
6399
|
+
originSteering: "origin_steering",
|
|
6400
|
+
origins: "origins",
|
|
6401
|
+
}),
|
|
6402
|
+
)
|
|
6403
|
+
.pipe(T.ResponsePath("result")),
|
|
6487
6404
|
) as unknown as Schema.Codec<PatchPoolResponse>;
|
|
6488
6405
|
|
|
6489
6406
|
export type PatchPoolError = DefaultErrors;
|
|
@@ -6493,7 +6410,7 @@ export const patchPool: API.OperationMethod<
|
|
|
6493
6410
|
PatchPoolResponse,
|
|
6494
6411
|
PatchPoolError,
|
|
6495
6412
|
Credentials | HttpClient.HttpClient
|
|
6496
|
-
> = /*@__PURE__*/
|
|
6413
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
6497
6414
|
input: PatchPoolRequest,
|
|
6498
6415
|
output: PatchPoolResponse,
|
|
6499
6416
|
errors: [],
|
|
@@ -6505,28 +6422,26 @@ export interface DeletePoolRequest {
|
|
|
6505
6422
|
accountId: string;
|
|
6506
6423
|
}
|
|
6507
6424
|
|
|
6508
|
-
export const DeletePoolRequest = /*@__PURE__*/
|
|
6509
|
-
(
|
|
6510
|
-
Schema.
|
|
6511
|
-
|
|
6512
|
-
|
|
6513
|
-
|
|
6514
|
-
|
|
6515
|
-
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
),
|
|
6425
|
+
export const DeletePoolRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
6426
|
+
Schema.Struct({
|
|
6427
|
+
poolId: Schema.String.pipe(T.HttpPath("poolId")),
|
|
6428
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
6429
|
+
}).pipe(
|
|
6430
|
+
T.Http({
|
|
6431
|
+
method: "DELETE",
|
|
6432
|
+
path: "/accounts/{account_id}/load_balancers/pools/{poolId}",
|
|
6433
|
+
}),
|
|
6434
|
+
),
|
|
6519
6435
|
) as unknown as Schema.Codec<DeletePoolRequest>;
|
|
6520
6436
|
|
|
6521
6437
|
export interface DeletePoolResponse {
|
|
6522
6438
|
id?: string | null;
|
|
6523
6439
|
}
|
|
6524
6440
|
|
|
6525
|
-
export const DeletePoolResponse = /*@__PURE__*/
|
|
6526
|
-
(
|
|
6527
|
-
Schema.
|
|
6528
|
-
|
|
6529
|
-
}).pipe(T.ResponsePath("result")),
|
|
6441
|
+
export const DeletePoolResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
6442
|
+
Schema.Struct({
|
|
6443
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6444
|
+
}).pipe(T.ResponsePath("result")),
|
|
6530
6445
|
) as unknown as Schema.Codec<DeletePoolResponse>;
|
|
6531
6446
|
|
|
6532
6447
|
export type DeletePoolError =
|
|
@@ -6540,7 +6455,7 @@ export const deletePool: API.OperationMethod<
|
|
|
6540
6455
|
DeletePoolResponse,
|
|
6541
6456
|
DeletePoolError,
|
|
6542
6457
|
Credentials | HttpClient.HttpClient
|
|
6543
|
-
> = /*@__PURE__*/
|
|
6458
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
6544
6459
|
input: DeletePoolRequest,
|
|
6545
6460
|
output: DeletePoolResponse,
|
|
6546
6461
|
errors: [PoolNotFound, PoolInUse, Forbidden],
|
|
@@ -6553,18 +6468,17 @@ export interface BulkPatchPoolsRequest {
|
|
|
6553
6468
|
notificationEmail?: "";
|
|
6554
6469
|
}
|
|
6555
6470
|
|
|
6556
|
-
export const BulkPatchPoolsRequest = /*@__PURE__*/
|
|
6557
|
-
(
|
|
6558
|
-
Schema.
|
|
6559
|
-
|
|
6560
|
-
|
|
6561
|
-
})
|
|
6562
|
-
|
|
6563
|
-
|
|
6564
|
-
|
|
6565
|
-
|
|
6566
|
-
|
|
6567
|
-
),
|
|
6471
|
+
export const BulkPatchPoolsRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
6472
|
+
Schema.Struct({
|
|
6473
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
6474
|
+
notificationEmail: Schema.optional(Schema.Literal("")),
|
|
6475
|
+
}).pipe(
|
|
6476
|
+
Schema.encodeKeys({ notificationEmail: "notification_email" }),
|
|
6477
|
+
T.Http({
|
|
6478
|
+
method: "PATCH",
|
|
6479
|
+
path: "/accounts/{account_id}/load_balancers/pools",
|
|
6480
|
+
}),
|
|
6481
|
+
),
|
|
6568
6482
|
) as unknown as Schema.Codec<BulkPatchPoolsRequest>;
|
|
6569
6483
|
|
|
6570
6484
|
export interface BulkPatchPoolsResponse {
|
|
@@ -6638,7 +6552,7 @@ export interface BulkPatchPoolsResponse {
|
|
|
6638
6552
|
}
|
|
6639
6553
|
|
|
6640
6554
|
export const BulkPatchPoolsResponse =
|
|
6641
|
-
/*@__PURE__*/
|
|
6555
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
6642
6556
|
Schema.Struct({
|
|
6643
6557
|
result: Schema.Array(ListPoolsResponseResult),
|
|
6644
6558
|
}),
|
|
@@ -6651,7 +6565,7 @@ export const bulkPatchPools: API.PaginatedOperationMethod<
|
|
|
6651
6565
|
BulkPatchPoolsResponse,
|
|
6652
6566
|
BulkPatchPoolsError,
|
|
6653
6567
|
Credentials | HttpClient.HttpClient
|
|
6654
|
-
> = /*@__PURE__*/
|
|
6568
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
6655
6569
|
input: BulkPatchPoolsRequest,
|
|
6656
6570
|
output: BulkPatchPoolsResponse,
|
|
6657
6571
|
errors: [],
|
|
@@ -6671,17 +6585,16 @@ export interface GetPoolHealthRequest {
|
|
|
6671
6585
|
accountId: string;
|
|
6672
6586
|
}
|
|
6673
6587
|
|
|
6674
|
-
export const GetPoolHealthRequest = /*@__PURE__*/
|
|
6675
|
-
(
|
|
6676
|
-
Schema.
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
|
|
6684
|
-
),
|
|
6588
|
+
export const GetPoolHealthRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
6589
|
+
Schema.Struct({
|
|
6590
|
+
poolId: Schema.String.pipe(T.HttpPath("poolId")),
|
|
6591
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
6592
|
+
}).pipe(
|
|
6593
|
+
T.Http({
|
|
6594
|
+
method: "GET",
|
|
6595
|
+
path: "/accounts/{account_id}/load_balancers/pools/{poolId}/health",
|
|
6596
|
+
}),
|
|
6597
|
+
),
|
|
6685
6598
|
) as unknown as Schema.Codec<GetPoolHealthRequest>;
|
|
6686
6599
|
|
|
6687
6600
|
export interface GetPoolHealthResponse {
|
|
@@ -6703,14 +6616,13 @@ export interface GetPoolHealthResponse {
|
|
|
6703
6616
|
} | null;
|
|
6704
6617
|
}
|
|
6705
6618
|
|
|
6706
|
-
export const GetPoolHealthResponse = /*@__PURE__*/
|
|
6707
|
-
(
|
|
6708
|
-
Schema.
|
|
6709
|
-
|
|
6710
|
-
|
|
6711
|
-
})
|
|
6712
|
-
|
|
6713
|
-
.pipe(T.ResponsePath("result")),
|
|
6619
|
+
export const GetPoolHealthResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
6620
|
+
Schema.Struct({
|
|
6621
|
+
poolId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6622
|
+
popHealth: Schema.optional(Schema.Union([Pophealth, Schema.Null])),
|
|
6623
|
+
})
|
|
6624
|
+
.pipe(Schema.encodeKeys({ poolId: "pool_id", popHealth: "pop_health" }))
|
|
6625
|
+
.pipe(T.ResponsePath("result")),
|
|
6714
6626
|
) as unknown as Schema.Codec<GetPoolHealthResponse>;
|
|
6715
6627
|
|
|
6716
6628
|
export type GetPoolHealthError = DefaultErrors;
|
|
@@ -6720,7 +6632,7 @@ export const getPoolHealth: API.OperationMethod<
|
|
|
6720
6632
|
GetPoolHealthResponse,
|
|
6721
6633
|
GetPoolHealthError,
|
|
6722
6634
|
Credentials | HttpClient.HttpClient
|
|
6723
|
-
> = /*@__PURE__*/
|
|
6635
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
6724
6636
|
input: GetPoolHealthRequest,
|
|
6725
6637
|
output: GetPoolHealthResponse,
|
|
6726
6638
|
errors: [],
|
|
@@ -6772,7 +6684,7 @@ export interface CreatePoolHealthRequest {
|
|
|
6772
6684
|
}
|
|
6773
6685
|
|
|
6774
6686
|
export const CreatePoolHealthRequest =
|
|
6775
|
-
/*@__PURE__*/
|
|
6687
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
6776
6688
|
Schema.Struct({
|
|
6777
6689
|
poolId: Schema.String.pipe(T.HttpPath("poolId")),
|
|
6778
6690
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -6837,7 +6749,7 @@ export interface CreatePoolHealthResponse {
|
|
|
6837
6749
|
}
|
|
6838
6750
|
|
|
6839
6751
|
export const CreatePoolHealthResponse =
|
|
6840
|
-
/*@__PURE__*/
|
|
6752
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
6841
6753
|
Schema.Struct({
|
|
6842
6754
|
pools: Schema.optional(
|
|
6843
6755
|
Schema.Union([
|
|
@@ -6858,7 +6770,7 @@ export const createPoolHealth: API.OperationMethod<
|
|
|
6858
6770
|
CreatePoolHealthResponse,
|
|
6859
6771
|
CreatePoolHealthError,
|
|
6860
6772
|
Credentials | HttpClient.HttpClient
|
|
6861
|
-
> = /*@__PURE__*/
|
|
6773
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
6862
6774
|
input: CreatePoolHealthRequest,
|
|
6863
6775
|
output: CreatePoolHealthResponse,
|
|
6864
6776
|
errors: [],
|
|
@@ -6875,7 +6787,7 @@ export interface GetPoolReferenceRequest {
|
|
|
6875
6787
|
}
|
|
6876
6788
|
|
|
6877
6789
|
export const GetPoolReferenceRequest =
|
|
6878
|
-
/*@__PURE__*/
|
|
6790
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
6879
6791
|
Schema.Struct({
|
|
6880
6792
|
poolId: Schema.String.pipe(T.HttpPath("poolId")),
|
|
6881
6793
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -6897,7 +6809,7 @@ export interface GetPoolReferenceResponse {
|
|
|
6897
6809
|
}
|
|
6898
6810
|
|
|
6899
6811
|
export const GetPoolReferenceResponse =
|
|
6900
|
-
/*@__PURE__*/
|
|
6812
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
6901
6813
|
Schema.Struct({
|
|
6902
6814
|
result: Schema.Array(GetMonitorGroupReferenceResponseResult),
|
|
6903
6815
|
}),
|
|
@@ -6910,7 +6822,7 @@ export const getPoolReference: API.PaginatedOperationMethod<
|
|
|
6910
6822
|
GetPoolReferenceResponse,
|
|
6911
6823
|
GetPoolReferenceError,
|
|
6912
6824
|
Credentials | HttpClient.HttpClient
|
|
6913
|
-
> = /*@__PURE__*/
|
|
6825
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
6914
6826
|
input: GetPoolReferenceRequest,
|
|
6915
6827
|
output: GetPoolReferenceResponse,
|
|
6916
6828
|
errors: [],
|
|
@@ -6930,24 +6842,22 @@ export interface GetPreviewRequest {
|
|
|
6930
6842
|
accountId: string;
|
|
6931
6843
|
}
|
|
6932
6844
|
|
|
6933
|
-
export const GetPreviewRequest = /*@__PURE__*/
|
|
6934
|
-
(
|
|
6935
|
-
Schema.
|
|
6936
|
-
|
|
6937
|
-
|
|
6938
|
-
|
|
6939
|
-
|
|
6940
|
-
|
|
6941
|
-
|
|
6942
|
-
|
|
6943
|
-
),
|
|
6845
|
+
export const GetPreviewRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
6846
|
+
Schema.Struct({
|
|
6847
|
+
previewId: Schema.String.pipe(T.HttpPath("previewId")),
|
|
6848
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
6849
|
+
}).pipe(
|
|
6850
|
+
T.Http({
|
|
6851
|
+
method: "GET",
|
|
6852
|
+
path: "/accounts/{account_id}/load_balancers/preview/{previewId}",
|
|
6853
|
+
}),
|
|
6854
|
+
),
|
|
6944
6855
|
) as unknown as Schema.Codec<GetPreviewRequest>;
|
|
6945
6856
|
|
|
6946
6857
|
export type GetPreviewResponse = Record<string, unknown>;
|
|
6947
6858
|
|
|
6948
|
-
export const GetPreviewResponse = /*@__PURE__*/
|
|
6949
|
-
()
|
|
6950
|
-
Schema.Record(Schema.String, Schema.Unknown).pipe(T.ResponsePath("result")),
|
|
6859
|
+
export const GetPreviewResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
6860
|
+
Schema.Record(Schema.String, Schema.Unknown).pipe(T.ResponsePath("result")),
|
|
6951
6861
|
) as unknown as Schema.Codec<GetPreviewResponse>;
|
|
6952
6862
|
|
|
6953
6863
|
export type GetPreviewError = DefaultErrors;
|
|
@@ -6957,7 +6867,7 @@ export const getPreview: API.OperationMethod<
|
|
|
6957
6867
|
GetPreviewResponse,
|
|
6958
6868
|
GetPreviewError,
|
|
6959
6869
|
Credentials | HttpClient.HttpClient
|
|
6960
|
-
> = /*@__PURE__*/
|
|
6870
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
6961
6871
|
input: GetPreviewRequest,
|
|
6962
6872
|
output: GetPreviewResponse,
|
|
6963
6873
|
errors: [],
|
|
@@ -6973,7 +6883,7 @@ export interface GetRegionRequest {
|
|
|
6973
6883
|
regionId: string;
|
|
6974
6884
|
}
|
|
6975
6885
|
|
|
6976
|
-
export const GetRegionRequest = /*@__PURE__*/
|
|
6886
|
+
export const GetRegionRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
6977
6887
|
Schema.Struct({
|
|
6978
6888
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
6979
6889
|
regionId: Schema.String.pipe(T.HttpPath("regionId")),
|
|
@@ -6987,8 +6897,8 @@ export const GetRegionRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
6987
6897
|
|
|
6988
6898
|
export type GetRegionResponse = unknown;
|
|
6989
6899
|
|
|
6990
|
-
export const GetRegionResponse = /*@__PURE__*/
|
|
6991
|
-
|
|
6900
|
+
export const GetRegionResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
6901
|
+
Schema.Unknown.pipe(T.ResponsePath("result")),
|
|
6992
6902
|
) as unknown as Schema.Codec<GetRegionResponse>;
|
|
6993
6903
|
|
|
6994
6904
|
export type GetRegionError = DefaultErrors;
|
|
@@ -6998,7 +6908,7 @@ export const getRegion: API.OperationMethod<
|
|
|
6998
6908
|
GetRegionResponse,
|
|
6999
6909
|
GetRegionError,
|
|
7000
6910
|
Credentials | HttpClient.HttpClient
|
|
7001
|
-
> = /*@__PURE__*/
|
|
6911
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
7002
6912
|
input: GetRegionRequest,
|
|
7003
6913
|
output: GetRegionResponse,
|
|
7004
6914
|
errors: [],
|
|
@@ -7015,31 +6925,30 @@ export interface ListRegionsRequest {
|
|
|
7015
6925
|
subdivisionCodeA2?: string;
|
|
7016
6926
|
}
|
|
7017
6927
|
|
|
7018
|
-
export const ListRegionsRequest = /*@__PURE__*/
|
|
7019
|
-
(
|
|
7020
|
-
Schema.
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
7025
|
-
|
|
7026
|
-
T.HttpQuery("subdivision_code"),
|
|
7027
|
-
),
|
|
7028
|
-
subdivisionCodeA2: Schema.optional(Schema.String).pipe(
|
|
7029
|
-
T.HttpQuery("subdivision_code_a2"),
|
|
7030
|
-
),
|
|
7031
|
-
}).pipe(
|
|
7032
|
-
T.Http({
|
|
7033
|
-
method: "GET",
|
|
7034
|
-
path: "/accounts/{account_id}/load_balancers/regions",
|
|
7035
|
-
}),
|
|
6928
|
+
export const ListRegionsRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
6929
|
+
Schema.Struct({
|
|
6930
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
6931
|
+
countryCodeA2: Schema.optional(Schema.String).pipe(
|
|
6932
|
+
T.HttpQuery("country_code_a2"),
|
|
6933
|
+
),
|
|
6934
|
+
subdivisionCode: Schema.optional(Schema.String).pipe(
|
|
6935
|
+
T.HttpQuery("subdivision_code"),
|
|
7036
6936
|
),
|
|
6937
|
+
subdivisionCodeA2: Schema.optional(Schema.String).pipe(
|
|
6938
|
+
T.HttpQuery("subdivision_code_a2"),
|
|
6939
|
+
),
|
|
6940
|
+
}).pipe(
|
|
6941
|
+
T.Http({
|
|
6942
|
+
method: "GET",
|
|
6943
|
+
path: "/accounts/{account_id}/load_balancers/regions",
|
|
6944
|
+
}),
|
|
6945
|
+
),
|
|
7037
6946
|
) as unknown as Schema.Codec<ListRegionsRequest>;
|
|
7038
6947
|
|
|
7039
6948
|
export type ListRegionsResponse = unknown;
|
|
7040
6949
|
|
|
7041
|
-
export const ListRegionsResponse = /*@__PURE__*/
|
|
7042
|
-
|
|
6950
|
+
export const ListRegionsResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
6951
|
+
Schema.Unknown.pipe(T.ResponsePath("result")),
|
|
7043
6952
|
) as unknown as Schema.Codec<ListRegionsResponse>;
|
|
7044
6953
|
|
|
7045
6954
|
export type ListRegionsError = DefaultErrors;
|
|
@@ -7049,7 +6958,7 @@ export const listRegions: API.OperationMethod<
|
|
|
7049
6958
|
ListRegionsResponse,
|
|
7050
6959
|
ListRegionsError,
|
|
7051
6960
|
Credentials | HttpClient.HttpClient
|
|
7052
|
-
> = /*@__PURE__*/
|
|
6961
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
7053
6962
|
input: ListRegionsRequest,
|
|
7054
6963
|
output: ListRegionsResponse,
|
|
7055
6964
|
errors: [],
|
|
@@ -7070,25 +6979,24 @@ export interface ListSearchesRequest {
|
|
|
7070
6979
|
references?: "" | "*" | "referral" | "referrer" | (string & {});
|
|
7071
6980
|
}
|
|
7072
6981
|
|
|
7073
|
-
export const ListSearchesRequest = /*@__PURE__*/
|
|
7074
|
-
(
|
|
7075
|
-
Schema.
|
|
7076
|
-
|
|
7077
|
-
|
|
7078
|
-
|
|
7079
|
-
|
|
7080
|
-
|
|
7081
|
-
Schema.
|
|
7082
|
-
|
|
7083
|
-
|
|
7084
|
-
|
|
7085
|
-
|
|
7086
|
-
|
|
7087
|
-
|
|
7088
|
-
|
|
7089
|
-
|
|
7090
|
-
|
|
7091
|
-
),
|
|
6982
|
+
export const ListSearchesRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
6983
|
+
Schema.Struct({
|
|
6984
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
6985
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
6986
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
6987
|
+
query: Schema.optional(Schema.String).pipe(T.HttpQuery("query")),
|
|
6988
|
+
references: Schema.optional(
|
|
6989
|
+
Schema.Union([
|
|
6990
|
+
Schema.Literals(["", "*", "referral", "referrer"]),
|
|
6991
|
+
Schema.String,
|
|
6992
|
+
]),
|
|
6993
|
+
).pipe(T.HttpQuery("references")),
|
|
6994
|
+
}).pipe(
|
|
6995
|
+
T.Http({
|
|
6996
|
+
method: "GET",
|
|
6997
|
+
path: "/accounts/{account_id}/load_balancers/search",
|
|
6998
|
+
}),
|
|
6999
|
+
),
|
|
7092
7000
|
) as unknown as Schema.Codec<ListSearchesRequest>;
|
|
7093
7001
|
|
|
7094
7002
|
export interface ListSearchesResponse {
|
|
@@ -7120,14 +7028,13 @@ export interface ListSearchesResponse {
|
|
|
7120
7028
|
} | null;
|
|
7121
7029
|
}
|
|
7122
7030
|
|
|
7123
|
-
export const ListSearchesResponse = /*@__PURE__*/
|
|
7124
|
-
(
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
|
|
7031
|
+
export const ListSearchesResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
7032
|
+
Schema.Struct({
|
|
7033
|
+
result: ListSearchesResponseResult,
|
|
7034
|
+
resultInfo: Schema.optional(
|
|
7035
|
+
Schema.Union([ListSearchesResponseResultInfo, Schema.Null]),
|
|
7036
|
+
),
|
|
7037
|
+
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
|
|
7131
7038
|
) as unknown as Schema.Codec<ListSearchesResponse>;
|
|
7132
7039
|
|
|
7133
7040
|
export type ListSearchesError = DefaultErrors;
|
|
@@ -7137,7 +7044,7 @@ export const listSearches: API.PaginatedOperationMethod<
|
|
|
7137
7044
|
ListSearchesResponse,
|
|
7138
7045
|
ListSearchesError,
|
|
7139
7046
|
Credentials | HttpClient.HttpClient
|
|
7140
|
-
> = /*@__PURE__*/
|
|
7047
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
7141
7048
|
input: ListSearchesRequest,
|
|
7142
7049
|
output: ListSearchesResponse,
|
|
7143
7050
|
errors: [],
|