@distilled.cloud/cloudflare 0.29.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +26 -26
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +114 -123
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/acm.d.ts.map +1 -1
- package/lib/services/acm.js +23 -23
- package/lib/services/acm.js.map +1 -1
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +132 -132
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +213 -207
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai-security.d.ts.map +1 -1
- package/lib/services/ai-security.js +13 -13
- package/lib/services/ai-security.js.map +1 -1
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +62 -62
- package/lib/services/ai.js.map +1 -1
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +187 -193
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +78 -78
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +168 -177
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/argo.js +12 -12
- package/lib/services/argo.js.map +1 -1
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +9 -9
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +11 -11
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +18 -30
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/botnet-feed.d.ts.map +1 -1
- package/lib/services/botnet-feed.js +12 -12
- package/lib/services/botnet-feed.js.map +1 -1
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +59 -59
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +103 -103
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +72 -72
- package/lib/services/cache.js.map +1 -1
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +31 -31
- package/lib/services/calls.js.map +1 -1
- package/lib/services/certificate-authorities.js +6 -6
- package/lib/services/certificate-authorities.js.map +1 -1
- package/lib/services/client-certificates.js +18 -18
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/cloud-connector.d.ts.map +1 -1
- package/lib/services/cloud-connector.js +8 -8
- package/lib/services/cloud-connector.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +178 -178
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/connectivity.js +25 -25
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/containers.js +49 -49
- package/lib/services/containers.js.map +1 -1
- package/lib/services/content-scanning.d.ts.map +1 -1
- package/lib/services/content-scanning.js +29 -29
- package/lib/services/content-scanning.js.map +1 -1
- package/lib/services/csam-scanner.d.ts.map +1 -1
- package/lib/services/csam-scanner.js +8 -8
- package/lib/services/csam-scanner.js.map +1 -1
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +24 -24
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-csrs.d.ts.map +1 -1
- package/lib/services/custom-csrs.js +22 -22
- package/lib/services/custom-csrs.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +40 -40
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/custom-nameservers.js +11 -11
- package/lib/services/custom-nameservers.js.map +1 -1
- package/lib/services/custom-pages.d.ts.map +1 -1
- package/lib/services/custom-pages.js +43 -43
- package/lib/services/custom-pages.js.map +1 -1
- package/lib/services/d1.d.ts +4 -4
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +69 -51
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dcv-delegation.js +3 -3
- package/lib/services/dcv-delegation.js.map +1 -1
- package/lib/services/ddos-protection.js +126 -126
- package/lib/services/ddos-protection.js.map +1 -1
- package/lib/services/diagnostics.js +27 -27
- package/lib/services/diagnostics.js.map +1 -1
- package/lib/services/dls.d.ts.map +1 -1
- package/lib/services/dls.js +26 -26
- package/lib/services/dls.js.map +1 -1
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +34 -34
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +268 -268
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +11 -11
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-auth.d.ts.map +1 -1
- package/lib/services/email-auth.js +13 -13
- package/lib/services/email-auth.js.map +1 -1
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +70 -70
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +195 -195
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/email-sending.d.ts.map +1 -1
- package/lib/services/email-sending.js +28 -28
- package/lib/services/email-sending.js.map +1 -1
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +25 -25
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +149 -149
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/flagship.d.ts.map +1 -1
- package/lib/services/flagship.js +52 -52
- package/lib/services/flagship.js.map +1 -1
- package/lib/services/fraud.js +8 -8
- package/lib/services/fraud.js.map +1 -1
- package/lib/services/google-tag-gateway.d.ts.map +1 -1
- package/lib/services/google-tag-gateway.js +7 -7
- package/lib/services/google-tag-gateway.js.map +1 -1
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +31 -31
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +10 -10
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +32 -32
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +113 -113
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +59 -59
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +102 -102
- package/lib/services/intel.js.map +1 -1
- package/lib/services/ips.js +5 -5
- package/lib/services/ips.js.map +1 -1
- package/lib/services/keyless-certificates.js +17 -17
- package/lib/services/keyless-certificates.js.map +1 -1
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +54 -54
- package/lib/services/kv.js.map +1 -1
- package/lib/services/leaked-credential-checks.d.ts.map +1 -1
- package/lib/services/leaked-credential-checks.js +22 -22
- package/lib/services/leaked-credential-checks.js.map +1 -1
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +139 -157
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +69 -69
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +58 -58
- package/lib/services/logs.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +138 -168
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +47 -65
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +340 -364
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/managed-transforms.js +11 -11
- package/lib/services/managed-transforms.js.map +1 -1
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +25 -25
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/moq.d.ts.map +1 -1
- package/lib/services/moq.js +23 -23
- package/lib/services/moq.js.map +1 -1
- package/lib/services/mtls-certificates.d.ts.map +1 -1
- package/lib/services/mtls-certificates.js +17 -17
- package/lib/services/mtls-certificates.js.map +1 -1
- package/lib/services/network-interconnects.d.ts.map +1 -1
- package/lib/services/network-interconnects.js +56 -56
- package/lib/services/network-interconnects.js.map +1 -1
- package/lib/services/organizations.d.ts.map +1 -1
- package/lib/services/organizations.js +42 -42
- package/lib/services/organizations.js.map +1 -1
- package/lib/services/origin-ca-certificates.js +14 -14
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/origin-post-quantum-encryption.js +6 -6
- package/lib/services/origin-post-quantum-encryption.js.map +1 -1
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
- package/lib/services/origin-tls-client-auth.js +52 -52
- package/lib/services/origin-tls-client-auth.js.map +1 -1
- package/lib/services/origin-tls-compliance-modes.js +12 -12
- package/lib/services/origin-tls-compliance-modes.js.map +1 -1
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +62 -62
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/page-shield.d.ts.map +1 -1
- package/lib/services/page-shield.js +45 -48
- package/lib/services/page-shield.js.map +1 -1
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +78 -78
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +102 -102
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +100 -103
- package/lib/services/queues.js.map +1 -1
- package/lib/services/r2-data-catalog.d.ts.map +1 -1
- package/lib/services/r2-data-catalog.js +42 -42
- package/lib/services/r2-data-catalog.js.map +1 -1
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +190 -190
- package/lib/services/r2.js.map +1 -1
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +991 -1009
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +24 -24
- package/lib/services/rate-limits.js.map +1 -1
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +276 -276
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/registrar.d.ts.map +1 -1
- package/lib/services/registrar.js +28 -28
- package/lib/services/registrar.js.map +1 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +7 -7
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +49 -49
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/resource-tagging.d.ts.map +1 -1
- package/lib/services/resource-tagging.js +56 -56
- package/lib/services/resource-tagging.js.map +1 -1
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +50 -50
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +2 -2
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +226 -190
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +35 -35
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +43 -46
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +41 -41
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/security-center.d.ts.map +1 -1
- package/lib/services/security-center.js +54 -57
- package/lib/services/security-center.js.map +1 -1
- package/lib/services/security-txt.d.ts.map +1 -1
- package/lib/services/security-txt.js +12 -12
- package/lib/services/security-txt.js.map +1 -1
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +31 -31
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +35 -35
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +41 -41
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +48 -48
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +147 -147
- package/lib/services/stream.js.map +1 -1
- package/lib/services/tenant-custom-nameservers.js +11 -11
- package/lib/services/tenant-custom-nameservers.js.map +1 -1
- package/lib/services/tenants.d.ts.map +1 -1
- package/lib/services/tenants.js +28 -28
- package/lib/services/tenants.js.map +1 -1
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +56 -56
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +27 -54
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/url-normalization.js +9 -9
- package/lib/services/url-normalization.js.map +1 -1
- package/lib/services/url-scanner.d.ts.map +1 -1
- package/lib/services/url-scanner.js +120 -120
- package/lib/services/url-scanner.js.map +1 -1
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +95 -95
- package/lib/services/user.js.map +1 -1
- package/lib/services/vectorize.d.ts +10 -10
- package/lib/services/vectorize.d.ts.map +1 -1
- package/lib/services/vectorize.js +59 -57
- package/lib/services/vectorize.js.map +1 -1
- package/lib/services/vulnerability-scanner.d.ts.map +1 -1
- package/lib/services/vulnerability-scanner.js +95 -95
- package/lib/services/vulnerability-scanner.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +81 -81
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/web3.d.ts.map +1 -1
- package/lib/services/web3.js +39 -39
- package/lib/services/web3.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +139 -139
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +420 -420
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +88 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +36 -39
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +1765 -1771
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +168 -168
- package/lib/services/zones.js.map +1 -1
- package/package.json +3 -2
- package/src/services/abuse-reports.ts +35 -36
- package/src/services/accounts.ts +714 -760
- package/src/services/acm.ts +115 -125
- package/src/services/addressing.ts +484 -512
- package/src/services/ai-gateway.ts +653 -672
- package/src/services/ai-security.ts +47 -53
- package/src/services/ai.ts +172 -185
- package/src/services/aisearch.ts +1814 -1861
- package/src/services/alerting.ts +710 -742
- package/src/services/api-gateway.ts +481 -508
- package/src/services/argo.ts +12 -12
- package/src/services/audit-logs.ts +45 -49
- package/src/services/billing.ts +121 -136
- package/src/services/bot-management.ts +122 -136
- package/src/services/botnet-feed.ts +68 -74
- package/src/services/brand-protection.ts +275 -294
- package/src/services/browser-rendering.ts +758 -769
- package/src/services/cache.ts +148 -158
- package/src/services/calls.ts +110 -120
- package/src/services/certificate-authorities.ts +6 -6
- package/src/services/client-certificates.ts +18 -18
- package/src/services/cloud-connector.ts +11 -12
- package/src/services/cloudforce-one.ts +589 -617
- package/src/services/connectivity.ts +25 -25
- package/src/services/containers.ts +49 -49
- package/src/services/content-scanning.ts +80 -89
- package/src/services/csam-scanner.ts +16 -17
- package/src/services/custom-certificates.ts +36 -38
- package/src/services/custom-csrs.ts +103 -105
- package/src/services/custom-hostnames.ts +44 -45
- package/src/services/custom-nameservers.ts +11 -11
- package/src/services/custom-pages.ts +173 -184
- package/src/services/d1.ts +335 -325
- package/src/services/dcv-delegation.ts +3 -3
- package/src/services/ddos-protection.ts +126 -126
- package/src/services/diagnostics.ts +27 -27
- package/src/services/dls.ts +82 -86
- package/src/services/dns-firewall.ts +65 -69
- package/src/services/dns.ts +1080 -1107
- package/src/services/durable-objects.ts +36 -38
- package/src/services/email-auth.ts +47 -52
- package/src/services/email-routing.ts +264 -288
- package/src/services/email-security.ts +205 -208
- package/src/services/email-sending.ts +94 -99
- package/src/services/filters.ts +97 -111
- package/src/services/firewall.ts +698 -753
- package/src/services/flagship.ts +321 -336
- package/src/services/fraud.ts +8 -8
- package/src/services/google-tag-gateway.ts +17 -19
- package/src/services/healthchecks.ts +269 -286
- package/src/services/hostnames.ts +94 -99
- package/src/services/hyperdrive.ts +310 -324
- package/src/services/iam.ts +205 -212
- package/src/services/images.ts +138 -150
- package/src/services/intel.ts +248 -261
- package/src/services/ips.ts +5 -5
- package/src/services/keyless-certificates.ts +17 -17
- package/src/services/kv.ts +106 -110
- package/src/services/leaked-credential-checks.ts +49 -53
- package/src/services/load-balancers.ts +1119 -1212
- package/src/services/logpush.ts +298 -313
- package/src/services/logs.ts +74 -77
- package/src/services/magic-cloud-networking.ts +1219 -1311
- package/src/services/magic-network-monitoring.ts +647 -685
- package/src/services/magic-transit.ts +1988 -2119
- package/src/services/managed-transforms.ts +11 -11
- package/src/services/memberships.ts +101 -105
- package/src/services/moq.ts +100 -110
- package/src/services/mtls-certificates.ts +30 -32
- package/src/services/network-interconnects.ts +137 -145
- package/src/services/organizations.ts +189 -192
- package/src/services/origin-ca-certificates.ts +14 -14
- package/src/services/origin-post-quantum-encryption.ts +6 -6
- package/src/services/origin-tls-client-auth.ts +219 -236
- package/src/services/origin-tls-compliance-modes.ts +12 -12
- package/src/services/page-rules.ts +365 -373
- package/src/services/page-shield.ts +489 -528
- package/src/services/pages.ts +309 -319
- package/src/services/pipelines.ts +534 -573
- package/src/services/queues.ts +598 -635
- package/src/services/r2-data-catalog.ts +59 -60
- package/src/services/r2.ts +654 -689
- package/src/services/radar.ts +3395 -3487
- package/src/services/rate-limits.ts +81 -93
- package/src/services/realtime-kit.ts +386 -399
- package/src/services/registrar.ts +90 -96
- package/src/services/request-tracers.ts +41 -43
- package/src/services/resource-sharing.ts +293 -305
- package/src/services/resource-tagging.ts +354 -366
- package/src/services/rules.ts +272 -292
- package/src/services/rulesets.ts +1214 -1116
- package/src/services/rum.ts +252 -273
- package/src/services/schema-validation.ts +284 -305
- package/src/services/secrets-store.ts +130 -138
- package/src/services/security-center.ts +64 -69
- package/src/services/security-txt.ts +48 -50
- package/src/services/snippets.ts +132 -142
- package/src/services/spectrum.ts +75 -80
- package/src/services/speed.ts +385 -397
- package/src/services/ssl.ts +64 -65
- package/src/services/stream.ts +658 -718
- package/src/services/tenant-custom-nameservers.ts +11 -11
- package/src/services/tenants.ts +86 -93
- package/src/services/token-validation.ts +145 -151
- package/src/services/turnstile.ts +344 -381
- package/src/services/url-normalization.ts +9 -9
- package/src/services/url-scanner.ts +393 -399
- package/src/services/user.ts +479 -503
- package/src/services/vectorize.ts +215 -230
- package/src/services/vulnerability-scanner.ts +145 -148
- package/src/services/waiting-rooms.ts +759 -825
- package/src/services/web3.ts +186 -197
- package/src/services/workers-for-platforms.ts +408 -432
- package/src/services/workers.ts +1175 -1239
- package/src/services/workflows.ts +585 -616
- package/src/services/zaraz.ts +168 -192
- package/src/services/zero-trust.ts +2965 -3074
- package/src/services/zones.ts +753 -785
|
@@ -62,10 +62,10 @@ export class PoolNotFound extends T.applyErrorMatchers(Schema.TaggedErrorClass()
|
|
|
62
62
|
message: Schema.String,
|
|
63
63
|
}), [{ code: 1001 }]) {
|
|
64
64
|
}
|
|
65
|
-
const AdaptiveRouting = /*@__PURE__*/
|
|
65
|
+
const AdaptiveRouting = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
66
66
|
failoverAcrossPools: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
67
67
|
}).pipe(Schema.encodeKeys({ failoverAcrossPools: "failover_across_pools" })));
|
|
68
|
-
const LocationStrategy = /*@__PURE__*/
|
|
68
|
+
const LocationStrategy = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
69
69
|
mode: Schema.optional(Schema.Union([
|
|
70
70
|
Schema.Union([Schema.Literals(["pop", "resolver_ip"]), Schema.String]),
|
|
71
71
|
Schema.Null,
|
|
@@ -78,14 +78,14 @@ const LocationStrategy = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema
|
|
|
78
78
|
Schema.Null,
|
|
79
79
|
])),
|
|
80
80
|
}).pipe(Schema.encodeKeys({ mode: "mode", preferEcs: "prefer_ecs" })));
|
|
81
|
-
const RandomSteering = /*@__PURE__*/
|
|
81
|
+
const RandomSteering = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
82
82
|
defaultWeight: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
83
83
|
poolWeights: Schema.optional(Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null])),
|
|
84
84
|
}).pipe(Schema.encodeKeys({
|
|
85
85
|
defaultWeight: "default_weight",
|
|
86
86
|
poolWeights: "pool_weights",
|
|
87
87
|
})));
|
|
88
|
-
const FixedResponse = /*@__PURE__*/
|
|
88
|
+
const FixedResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
89
89
|
contentType: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
90
90
|
location: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
91
91
|
messageBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -96,7 +96,7 @@ const FixedResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.St
|
|
|
96
96
|
messageBody: "message_body",
|
|
97
97
|
statusCode: "status_code",
|
|
98
98
|
})));
|
|
99
|
-
const SessionAffinityAttributes = /*@__PURE__*/
|
|
99
|
+
const SessionAffinityAttributes = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
100
100
|
drainDuration: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
101
101
|
headers: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
102
102
|
requireAllHeaders: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -129,7 +129,7 @@ const SessionAffinityAttributes = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
129
129
|
secure: "secure",
|
|
130
130
|
zeroDowntimeFailover: "zero_downtime_failover",
|
|
131
131
|
})));
|
|
132
|
-
const Overrides = /*@__PURE__*/
|
|
132
|
+
const Overrides = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
133
133
|
adaptiveRouting: Schema.optional(Schema.Union([AdaptiveRouting, Schema.Null])),
|
|
134
134
|
countryPools: Schema.optional(Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null])),
|
|
135
135
|
defaultPools: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
@@ -179,7 +179,7 @@ const Overrides = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct
|
|
|
179
179
|
steeringPolicy: "steering_policy",
|
|
180
180
|
ttl: "ttl",
|
|
181
181
|
})));
|
|
182
|
-
const Rules = /*@__PURE__*/
|
|
182
|
+
const Rules = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
183
183
|
condition: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
184
184
|
disabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
185
185
|
fixedResponse: Schema.optional(Schema.Union([FixedResponse, Schema.Null])),
|
|
@@ -197,7 +197,7 @@ const Rules = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
197
197
|
terminates: "terminates",
|
|
198
198
|
})));
|
|
199
199
|
const ListLoadBalancersResponseResult =
|
|
200
|
-
/*@__PURE__*/
|
|
200
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
201
201
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
202
202
|
adaptiveRouting: Schema.optional(Schema.Union([AdaptiveRouting, Schema.Null])),
|
|
203
203
|
countryPools: Schema.optional(Schema.Union([
|
|
@@ -276,7 +276,7 @@ const ListLoadBalancersResponseResult =
|
|
|
276
276
|
ttl: "ttl",
|
|
277
277
|
zoneName: "zone_name",
|
|
278
278
|
})));
|
|
279
|
-
const ListMonitorsResponseResult = /*@__PURE__*/
|
|
279
|
+
const ListMonitorsResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
280
280
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
281
281
|
allowInsecure: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
282
282
|
consecutiveDown: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -286,10 +286,7 @@ const ListMonitorsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
286
286
|
expectedBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
287
287
|
expectedCodes: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
288
288
|
followRedirects: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
289
|
-
header: Schema.optional(Schema.Union([
|
|
290
|
-
Schema.Record(Schema.String, Schema.Unknown),
|
|
291
|
-
Schema.Null,
|
|
292
|
-
])),
|
|
289
|
+
header: Schema.optional(Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null])),
|
|
293
290
|
interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
294
291
|
method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
295
292
|
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -333,7 +330,7 @@ const ListMonitorsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
333
330
|
timeout: "timeout",
|
|
334
331
|
type: "type",
|
|
335
332
|
})));
|
|
336
|
-
const Member = /*@__PURE__*/
|
|
333
|
+
const Member = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
337
334
|
enabled: Schema.Boolean,
|
|
338
335
|
monitorId: Schema.String,
|
|
339
336
|
monitoringOnly: Schema.Boolean,
|
|
@@ -349,7 +346,7 @@ const Member = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
349
346
|
updatedAt: "updated_at",
|
|
350
347
|
})));
|
|
351
348
|
const ListMonitorGroupsResponseResult =
|
|
352
|
-
/*@__PURE__*/
|
|
349
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
353
350
|
id: Schema.String,
|
|
354
351
|
description: Schema.String,
|
|
355
352
|
members: Schema.Array(Member),
|
|
@@ -362,7 +359,7 @@ const ListMonitorGroupsResponseResult =
|
|
|
362
359
|
createdOn: "created_on",
|
|
363
360
|
modifiedOn: "modified_on",
|
|
364
361
|
})));
|
|
365
|
-
const Member2 = /*@__PURE__*/
|
|
362
|
+
const Member2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
366
363
|
enabled: Schema.Boolean,
|
|
367
364
|
monitorId: Schema.String,
|
|
368
365
|
monitoringOnly: Schema.Boolean,
|
|
@@ -374,7 +371,7 @@ const Member2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
374
371
|
mustBeHealthy: "must_be_healthy",
|
|
375
372
|
})));
|
|
376
373
|
const GetMonitorGroupReferenceResponseResult =
|
|
377
|
-
/*@__PURE__*/
|
|
374
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
378
375
|
referenceType: Schema.optional(Schema.Union([
|
|
379
376
|
Schema.Union([
|
|
380
377
|
Schema.Literals(["*", "referral", "referrer"]),
|
|
@@ -391,7 +388,7 @@ const GetMonitorGroupReferenceResponseResult =
|
|
|
391
388
|
resourceName: "resource_name",
|
|
392
389
|
resourceType: "resource_type",
|
|
393
390
|
})));
|
|
394
|
-
const LoadShedding = /*@__PURE__*/
|
|
391
|
+
const LoadShedding = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
395
392
|
defaultPercent: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
396
393
|
defaultPolicy: Schema.optional(Schema.Union([
|
|
397
394
|
Schema.Union([Schema.Literals(["random", "hash"]), Schema.String]),
|
|
@@ -405,15 +402,15 @@ const LoadShedding = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Str
|
|
|
405
402
|
sessionPercent: "session_percent",
|
|
406
403
|
sessionPolicy: "session_policy",
|
|
407
404
|
})));
|
|
408
|
-
const FilterOptions = /*@__PURE__*/
|
|
405
|
+
const FilterOptions = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
409
406
|
disable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
410
407
|
healthy: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
411
408
|
}));
|
|
412
|
-
const NotificationFilter = /*@__PURE__*/
|
|
409
|
+
const NotificationFilter = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
413
410
|
origin: Schema.optional(Schema.Union([FilterOptions, Schema.Null])),
|
|
414
411
|
pool: Schema.optional(Schema.Union([FilterOptions, Schema.Null])),
|
|
415
412
|
}));
|
|
416
|
-
const OriginSteering = /*@__PURE__*/
|
|
413
|
+
const OriginSteering = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
417
414
|
policy: Schema.optional(Schema.Union([
|
|
418
415
|
Schema.Union([
|
|
419
416
|
Schema.Literals([
|
|
@@ -427,10 +424,10 @@ const OriginSteering = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.S
|
|
|
427
424
|
Schema.Null,
|
|
428
425
|
])),
|
|
429
426
|
}));
|
|
430
|
-
const Header = /*@__PURE__*/
|
|
427
|
+
const Header = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
431
428
|
host: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
432
429
|
}).pipe(Schema.encodeKeys({ host: "Host" })));
|
|
433
|
-
const Origin = /*@__PURE__*/
|
|
430
|
+
const Origin = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
434
431
|
address: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
435
432
|
disabledAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
436
433
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -451,7 +448,7 @@ const Origin = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
451
448
|
virtualNetworkId: "virtual_network_id",
|
|
452
449
|
weight: "weight",
|
|
453
450
|
})));
|
|
454
|
-
const ListPoolsResponseResult = /*@__PURE__*/
|
|
451
|
+
const ListPoolsResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
455
452
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
456
453
|
checkRegions: Schema.optional(Schema.Union([
|
|
457
454
|
Schema.Array(Schema.Union([
|
|
@@ -513,7 +510,7 @@ const ListPoolsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
513
510
|
originSteering: "origin_steering",
|
|
514
511
|
origins: "origins",
|
|
515
512
|
})));
|
|
516
|
-
const OriginParam = /*@__PURE__*/
|
|
513
|
+
const OriginParam = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
517
514
|
address: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
518
515
|
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
519
516
|
flattenCname: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -532,7 +529,7 @@ const OriginParam = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Stru
|
|
|
532
529
|
virtualNetworkId: "virtual_network_id",
|
|
533
530
|
weight: "weight",
|
|
534
531
|
})));
|
|
535
|
-
const Ip = /*@__PURE__*/
|
|
532
|
+
const Ip = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
536
533
|
failureReason: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
537
534
|
healthy: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
538
535
|
responseCode: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -543,14 +540,14 @@ const Ip = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
|
543
540
|
responseCode: "response_code",
|
|
544
541
|
rtt: "rtt",
|
|
545
542
|
})));
|
|
546
|
-
const Origin2 = /*@__PURE__*/
|
|
543
|
+
const Origin2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
547
544
|
ip: Schema.optional(Schema.Union([Ip, Schema.Null])),
|
|
548
545
|
}));
|
|
549
|
-
const Pophealth = /*@__PURE__*/
|
|
546
|
+
const Pophealth = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
550
547
|
healthy: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
551
548
|
origins: Schema.optional(Schema.Union([Schema.Array(Origin2), Schema.Null])),
|
|
552
549
|
}));
|
|
553
|
-
const Resource = /*@__PURE__*/
|
|
550
|
+
const Resource = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
554
551
|
referenceType: Schema.optional(Schema.Union([
|
|
555
552
|
Schema.Union([
|
|
556
553
|
Schema.Literals(["referral", "referrer"]),
|
|
@@ -576,17 +573,14 @@ const Resource = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct(
|
|
|
576
573
|
resourceType: "resource_type",
|
|
577
574
|
})));
|
|
578
575
|
const ListSearchesResponseResultItem =
|
|
579
|
-
/*@__PURE__*/
|
|
576
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
580
577
|
resources: Schema.optional(Schema.Union([Schema.Array(Resource), Schema.Null])),
|
|
581
578
|
}));
|
|
582
|
-
const ListSearchesResponseResult = /*@__PURE__*/
|
|
583
|
-
items: Schema.optional(Schema.Union([
|
|
584
|
-
Schema.Array(ListSearchesResponseResultItem),
|
|
585
|
-
Schema.Null,
|
|
586
|
-
])),
|
|
579
|
+
const ListSearchesResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
580
|
+
items: Schema.optional(Schema.Union([Schema.Array(ListSearchesResponseResultItem), Schema.Null])),
|
|
587
581
|
}));
|
|
588
582
|
const ListSearchesResponseResultInfo =
|
|
589
|
-
/*@__PURE__*/
|
|
583
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
590
584
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
591
585
|
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
592
586
|
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -598,7 +592,7 @@ const ListSearchesResponseResultInfo =
|
|
|
598
592
|
totalCount: "total_count",
|
|
599
593
|
})));
|
|
600
594
|
export const GetLoadBalancerRequest =
|
|
601
|
-
/*@__PURE__*/
|
|
595
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
602
596
|
loadBalancerId: Schema.String.pipe(T.HttpPath("loadBalancerId")),
|
|
603
597
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
604
598
|
}).pipe(T.Http({
|
|
@@ -606,7 +600,7 @@ export const GetLoadBalancerRequest =
|
|
|
606
600
|
path: "/zones/{zone_id}/load_balancers/{loadBalancerId}",
|
|
607
601
|
})));
|
|
608
602
|
export const GetLoadBalancerResponse =
|
|
609
|
-
/*@__PURE__*/
|
|
603
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
610
604
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
611
605
|
adaptiveRouting: Schema.optional(Schema.Union([AdaptiveRouting, Schema.Null])),
|
|
612
606
|
countryPools: Schema.optional(Schema.Union([
|
|
@@ -687,20 +681,20 @@ export const GetLoadBalancerResponse =
|
|
|
687
681
|
zoneName: "zone_name",
|
|
688
682
|
}))
|
|
689
683
|
.pipe(T.ResponsePath("result")));
|
|
690
|
-
export const getLoadBalancer = /*@__PURE__*/
|
|
684
|
+
export const getLoadBalancer = /*@__PURE__*/ API.make(() => ({
|
|
691
685
|
input: GetLoadBalancerRequest,
|
|
692
686
|
output: GetLoadBalancerResponse,
|
|
693
687
|
errors: [LoadBalancerNotFound, Forbidden],
|
|
694
688
|
}));
|
|
695
689
|
export const ListLoadBalancersRequest =
|
|
696
|
-
/*@__PURE__*/
|
|
690
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
697
691
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
698
692
|
}).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/load_balancers" })));
|
|
699
693
|
export const ListLoadBalancersResponse =
|
|
700
|
-
/*@__PURE__*/
|
|
694
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
701
695
|
result: Schema.Array(ListLoadBalancersResponseResult),
|
|
702
696
|
}));
|
|
703
|
-
export const listLoadBalancers = /*@__PURE__*/
|
|
697
|
+
export const listLoadBalancers = /*@__PURE__*/ API.makePaginated(() => ({
|
|
704
698
|
input: ListLoadBalancersRequest,
|
|
705
699
|
output: ListLoadBalancersResponse,
|
|
706
700
|
errors: [],
|
|
@@ -710,7 +704,7 @@ export const listLoadBalancers = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated((
|
|
|
710
704
|
},
|
|
711
705
|
}));
|
|
712
706
|
export const CreateLoadBalancerRequest =
|
|
713
|
-
/*@__PURE__*/
|
|
707
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
714
708
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
715
709
|
defaultPools: Schema.Array(Schema.String),
|
|
716
710
|
fallbackPool: Schema.String,
|
|
@@ -766,7 +760,7 @@ export const CreateLoadBalancerRequest =
|
|
|
766
760
|
ttl: "ttl",
|
|
767
761
|
}), T.Http({ method: "POST", path: "/zones/{zone_id}/load_balancers" })));
|
|
768
762
|
export const CreateLoadBalancerResponse =
|
|
769
|
-
/*@__PURE__*/
|
|
763
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
770
764
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
771
765
|
adaptiveRouting: Schema.optional(Schema.Union([AdaptiveRouting, Schema.Null])),
|
|
772
766
|
countryPools: Schema.optional(Schema.Union([
|
|
@@ -847,13 +841,13 @@ export const CreateLoadBalancerResponse =
|
|
|
847
841
|
zoneName: "zone_name",
|
|
848
842
|
}))
|
|
849
843
|
.pipe(T.ResponsePath("result")));
|
|
850
|
-
export const createLoadBalancer = /*@__PURE__*/
|
|
844
|
+
export const createLoadBalancer = /*@__PURE__*/ API.make(() => ({
|
|
851
845
|
input: CreateLoadBalancerRequest,
|
|
852
846
|
output: CreateLoadBalancerResponse,
|
|
853
847
|
errors: [LoadBalancingNotEnabledForZone, Forbidden],
|
|
854
848
|
}));
|
|
855
849
|
export const UpdateLoadBalancerRequest =
|
|
856
|
-
/*@__PURE__*/
|
|
850
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
857
851
|
loadBalancerId: Schema.String.pipe(T.HttpPath("loadBalancerId")),
|
|
858
852
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
859
853
|
defaultPools: Schema.Array(Schema.String),
|
|
@@ -915,7 +909,7 @@ export const UpdateLoadBalancerRequest =
|
|
|
915
909
|
path: "/zones/{zone_id}/load_balancers/{loadBalancerId}",
|
|
916
910
|
})));
|
|
917
911
|
export const UpdateLoadBalancerResponse =
|
|
918
|
-
/*@__PURE__*/
|
|
912
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
919
913
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
920
914
|
adaptiveRouting: Schema.optional(Schema.Union([AdaptiveRouting, Schema.Null])),
|
|
921
915
|
countryPools: Schema.optional(Schema.Union([
|
|
@@ -996,13 +990,13 @@ export const UpdateLoadBalancerResponse =
|
|
|
996
990
|
zoneName: "zone_name",
|
|
997
991
|
}))
|
|
998
992
|
.pipe(T.ResponsePath("result")));
|
|
999
|
-
export const updateLoadBalancer = /*@__PURE__*/
|
|
993
|
+
export const updateLoadBalancer = /*@__PURE__*/ API.make(() => ({
|
|
1000
994
|
input: UpdateLoadBalancerRequest,
|
|
1001
995
|
output: UpdateLoadBalancerResponse,
|
|
1002
996
|
errors: [LoadBalancerNotFound, LoadBalancingNotEnabledForZone, Forbidden],
|
|
1003
997
|
}));
|
|
1004
998
|
export const PatchLoadBalancerRequest =
|
|
1005
|
-
/*@__PURE__*/
|
|
999
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1006
1000
|
loadBalancerId: Schema.String.pipe(T.HttpPath("loadBalancerId")),
|
|
1007
1001
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1008
1002
|
adaptiveRouting: Schema.optional(AdaptiveRouting),
|
|
@@ -1062,7 +1056,7 @@ export const PatchLoadBalancerRequest =
|
|
|
1062
1056
|
path: "/zones/{zone_id}/load_balancers/{loadBalancerId}",
|
|
1063
1057
|
})));
|
|
1064
1058
|
export const PatchLoadBalancerResponse =
|
|
1065
|
-
/*@__PURE__*/
|
|
1059
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1066
1060
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1067
1061
|
adaptiveRouting: Schema.optional(Schema.Union([AdaptiveRouting, Schema.Null])),
|
|
1068
1062
|
countryPools: Schema.optional(Schema.Union([
|
|
@@ -1143,13 +1137,13 @@ export const PatchLoadBalancerResponse =
|
|
|
1143
1137
|
zoneName: "zone_name",
|
|
1144
1138
|
}))
|
|
1145
1139
|
.pipe(T.ResponsePath("result")));
|
|
1146
|
-
export const patchLoadBalancer = /*@__PURE__*/
|
|
1140
|
+
export const patchLoadBalancer = /*@__PURE__*/ API.make(() => ({
|
|
1147
1141
|
input: PatchLoadBalancerRequest,
|
|
1148
1142
|
output: PatchLoadBalancerResponse,
|
|
1149
1143
|
errors: [],
|
|
1150
1144
|
}));
|
|
1151
1145
|
export const DeleteLoadBalancerRequest =
|
|
1152
|
-
/*@__PURE__*/
|
|
1146
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1153
1147
|
loadBalancerId: Schema.String.pipe(T.HttpPath("loadBalancerId")),
|
|
1154
1148
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1155
1149
|
}).pipe(T.Http({
|
|
@@ -1157,22 +1151,22 @@ export const DeleteLoadBalancerRequest =
|
|
|
1157
1151
|
path: "/zones/{zone_id}/load_balancers/{loadBalancerId}",
|
|
1158
1152
|
})));
|
|
1159
1153
|
export const DeleteLoadBalancerResponse =
|
|
1160
|
-
/*@__PURE__*/
|
|
1154
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1161
1155
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1162
1156
|
}).pipe(T.ResponsePath("result")));
|
|
1163
|
-
export const deleteLoadBalancer = /*@__PURE__*/
|
|
1157
|
+
export const deleteLoadBalancer = /*@__PURE__*/ API.make(() => ({
|
|
1164
1158
|
input: DeleteLoadBalancerRequest,
|
|
1165
1159
|
output: DeleteLoadBalancerResponse,
|
|
1166
1160
|
errors: [LoadBalancerNotFound, Forbidden],
|
|
1167
1161
|
}));
|
|
1168
|
-
export const GetMonitorRequest = /*@__PURE__*/
|
|
1162
|
+
export const GetMonitorRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1169
1163
|
monitorId: Schema.String.pipe(T.HttpPath("monitorId")),
|
|
1170
1164
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1171
1165
|
}).pipe(T.Http({
|
|
1172
1166
|
method: "GET",
|
|
1173
1167
|
path: "/accounts/{account_id}/load_balancers/monitors/{monitorId}",
|
|
1174
1168
|
})));
|
|
1175
|
-
export const GetMonitorResponse = /*@__PURE__*/
|
|
1169
|
+
export const GetMonitorResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1176
1170
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1177
1171
|
allowInsecure: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1178
1172
|
consecutiveDown: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -1182,10 +1176,7 @@ export const GetMonitorResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
1182
1176
|
expectedBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1183
1177
|
expectedCodes: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1184
1178
|
followRedirects: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1185
|
-
header: Schema.optional(Schema.Union([
|
|
1186
|
-
Schema.Record(Schema.String, Schema.Unknown),
|
|
1187
|
-
Schema.Null,
|
|
1188
|
-
])),
|
|
1179
|
+
header: Schema.optional(Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null])),
|
|
1189
1180
|
interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1190
1181
|
method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1191
1182
|
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1231,21 +1222,21 @@ export const GetMonitorResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
1231
1222
|
type: "type",
|
|
1232
1223
|
}))
|
|
1233
1224
|
.pipe(T.ResponsePath("result")));
|
|
1234
|
-
export const getMonitor = /*@__PURE__*/
|
|
1225
|
+
export const getMonitor = /*@__PURE__*/ API.make(() => ({
|
|
1235
1226
|
input: GetMonitorRequest,
|
|
1236
1227
|
output: GetMonitorResponse,
|
|
1237
1228
|
errors: [MonitorNotFound, Forbidden],
|
|
1238
1229
|
}));
|
|
1239
|
-
export const ListMonitorsRequest = /*@__PURE__*/
|
|
1230
|
+
export const ListMonitorsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1240
1231
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1241
1232
|
}).pipe(T.Http({
|
|
1242
1233
|
method: "GET",
|
|
1243
1234
|
path: "/accounts/{account_id}/load_balancers/monitors",
|
|
1244
1235
|
})));
|
|
1245
|
-
export const ListMonitorsResponse = /*@__PURE__*/
|
|
1236
|
+
export const ListMonitorsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1246
1237
|
result: Schema.Array(ListMonitorsResponseResult),
|
|
1247
1238
|
}));
|
|
1248
|
-
export const listMonitors = /*@__PURE__*/
|
|
1239
|
+
export const listMonitors = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1249
1240
|
input: ListMonitorsRequest,
|
|
1250
1241
|
output: ListMonitorsResponse,
|
|
1251
1242
|
errors: [],
|
|
@@ -1254,7 +1245,7 @@ export const listMonitors = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =>
|
|
|
1254
1245
|
items: "result",
|
|
1255
1246
|
},
|
|
1256
1247
|
}));
|
|
1257
|
-
export const CreateMonitorRequest = /*@__PURE__*/
|
|
1248
|
+
export const CreateMonitorRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1258
1249
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1259
1250
|
allowInsecure: Schema.optional(Schema.Boolean),
|
|
1260
1251
|
consecutiveDown: Schema.optional(Schema.Number),
|
|
@@ -1303,7 +1294,7 @@ export const CreateMonitorRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
1303
1294
|
method: "POST",
|
|
1304
1295
|
path: "/accounts/{account_id}/load_balancers/monitors",
|
|
1305
1296
|
})));
|
|
1306
|
-
export const CreateMonitorResponse = /*@__PURE__*/
|
|
1297
|
+
export const CreateMonitorResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1307
1298
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1308
1299
|
allowInsecure: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1309
1300
|
consecutiveDown: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -1313,10 +1304,7 @@ export const CreateMonitorResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
1313
1304
|
expectedBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1314
1305
|
expectedCodes: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1315
1306
|
followRedirects: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1316
|
-
header: Schema.optional(Schema.Union([
|
|
1317
|
-
Schema.Record(Schema.String, Schema.Unknown),
|
|
1318
|
-
Schema.Null,
|
|
1319
|
-
])),
|
|
1307
|
+
header: Schema.optional(Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null])),
|
|
1320
1308
|
interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1321
1309
|
method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1322
1310
|
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1362,12 +1350,12 @@ export const CreateMonitorResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
1362
1350
|
type: "type",
|
|
1363
1351
|
}))
|
|
1364
1352
|
.pipe(T.ResponsePath("result")));
|
|
1365
|
-
export const createMonitor = /*@__PURE__*/
|
|
1353
|
+
export const createMonitor = /*@__PURE__*/ API.make(() => ({
|
|
1366
1354
|
input: CreateMonitorRequest,
|
|
1367
1355
|
output: CreateMonitorResponse,
|
|
1368
1356
|
errors: [MonitorIntervalOutOfRange, Forbidden],
|
|
1369
1357
|
}));
|
|
1370
|
-
export const UpdateMonitorRequest = /*@__PURE__*/
|
|
1358
|
+
export const UpdateMonitorRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1371
1359
|
monitorId: Schema.String.pipe(T.HttpPath("monitorId")),
|
|
1372
1360
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1373
1361
|
allowInsecure: Schema.optional(Schema.Boolean),
|
|
@@ -1417,7 +1405,7 @@ export const UpdateMonitorRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
1417
1405
|
method: "PUT",
|
|
1418
1406
|
path: "/accounts/{account_id}/load_balancers/monitors/{monitorId}",
|
|
1419
1407
|
})));
|
|
1420
|
-
export const UpdateMonitorResponse = /*@__PURE__*/
|
|
1408
|
+
export const UpdateMonitorResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1421
1409
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1422
1410
|
allowInsecure: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1423
1411
|
consecutiveDown: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -1427,10 +1415,7 @@ export const UpdateMonitorResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
1427
1415
|
expectedBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1428
1416
|
expectedCodes: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1429
1417
|
followRedirects: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1430
|
-
header: Schema.optional(Schema.Union([
|
|
1431
|
-
Schema.Record(Schema.String, Schema.Unknown),
|
|
1432
|
-
Schema.Null,
|
|
1433
|
-
])),
|
|
1418
|
+
header: Schema.optional(Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null])),
|
|
1434
1419
|
interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1435
1420
|
method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1436
1421
|
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1476,12 +1461,12 @@ export const UpdateMonitorResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
1476
1461
|
type: "type",
|
|
1477
1462
|
}))
|
|
1478
1463
|
.pipe(T.ResponsePath("result")));
|
|
1479
|
-
export const updateMonitor = /*@__PURE__*/
|
|
1464
|
+
export const updateMonitor = /*@__PURE__*/ API.make(() => ({
|
|
1480
1465
|
input: UpdateMonitorRequest,
|
|
1481
1466
|
output: UpdateMonitorResponse,
|
|
1482
1467
|
errors: [MonitorNotFound, MonitorIntervalOutOfRange, Forbidden],
|
|
1483
1468
|
}));
|
|
1484
|
-
export const PatchMonitorRequest = /*@__PURE__*/
|
|
1469
|
+
export const PatchMonitorRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1485
1470
|
monitorId: Schema.String.pipe(T.HttpPath("monitorId")),
|
|
1486
1471
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1487
1472
|
allowInsecure: Schema.optional(Schema.Boolean),
|
|
@@ -1531,7 +1516,7 @@ export const PatchMonitorRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
1531
1516
|
method: "PATCH",
|
|
1532
1517
|
path: "/accounts/{account_id}/load_balancers/monitors/{monitorId}",
|
|
1533
1518
|
})));
|
|
1534
|
-
export const PatchMonitorResponse = /*@__PURE__*/
|
|
1519
|
+
export const PatchMonitorResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1535
1520
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1536
1521
|
allowInsecure: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1537
1522
|
consecutiveDown: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -1541,10 +1526,7 @@ export const PatchMonitorResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
1541
1526
|
expectedBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1542
1527
|
expectedCodes: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1543
1528
|
followRedirects: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
1544
|
-
header: Schema.optional(Schema.Union([
|
|
1545
|
-
Schema.Record(Schema.String, Schema.Unknown),
|
|
1546
|
-
Schema.Null,
|
|
1547
|
-
])),
|
|
1529
|
+
header: Schema.optional(Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null])),
|
|
1548
1530
|
interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1549
1531
|
method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1550
1532
|
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1590,28 +1572,28 @@ export const PatchMonitorResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
|
|
|
1590
1572
|
type: "type",
|
|
1591
1573
|
}))
|
|
1592
1574
|
.pipe(T.ResponsePath("result")));
|
|
1593
|
-
export const patchMonitor = /*@__PURE__*/
|
|
1575
|
+
export const patchMonitor = /*@__PURE__*/ API.make(() => ({
|
|
1594
1576
|
input: PatchMonitorRequest,
|
|
1595
1577
|
output: PatchMonitorResponse,
|
|
1596
1578
|
errors: [],
|
|
1597
1579
|
}));
|
|
1598
|
-
export const DeleteMonitorRequest = /*@__PURE__*/
|
|
1580
|
+
export const DeleteMonitorRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1599
1581
|
monitorId: Schema.String.pipe(T.HttpPath("monitorId")),
|
|
1600
1582
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1601
1583
|
}).pipe(T.Http({
|
|
1602
1584
|
method: "DELETE",
|
|
1603
1585
|
path: "/accounts/{account_id}/load_balancers/monitors/{monitorId}",
|
|
1604
1586
|
})));
|
|
1605
|
-
export const DeleteMonitorResponse = /*@__PURE__*/
|
|
1587
|
+
export const DeleteMonitorResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1606
1588
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1607
1589
|
}).pipe(T.ResponsePath("result")));
|
|
1608
|
-
export const deleteMonitor = /*@__PURE__*/
|
|
1590
|
+
export const deleteMonitor = /*@__PURE__*/ API.make(() => ({
|
|
1609
1591
|
input: DeleteMonitorRequest,
|
|
1610
1592
|
output: DeleteMonitorResponse,
|
|
1611
1593
|
errors: [MonitorNotFound, MonitorInUse, Forbidden],
|
|
1612
1594
|
}));
|
|
1613
1595
|
export const GetMonitorGroupRequest =
|
|
1614
|
-
/*@__PURE__*/
|
|
1596
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1615
1597
|
monitorGroupId: Schema.String.pipe(T.HttpPath("monitorGroupId")),
|
|
1616
1598
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1617
1599
|
}).pipe(T.Http({
|
|
@@ -1619,7 +1601,7 @@ export const GetMonitorGroupRequest =
|
|
|
1619
1601
|
path: "/accounts/{account_id}/load_balancers/monitor_groups/{monitorGroupId}",
|
|
1620
1602
|
})));
|
|
1621
1603
|
export const GetMonitorGroupResponse =
|
|
1622
|
-
/*@__PURE__*/
|
|
1604
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1623
1605
|
id: Schema.String,
|
|
1624
1606
|
description: Schema.String,
|
|
1625
1607
|
members: Schema.Array(Member),
|
|
@@ -1634,23 +1616,23 @@ export const GetMonitorGroupResponse =
|
|
|
1634
1616
|
modifiedOn: "modified_on",
|
|
1635
1617
|
}))
|
|
1636
1618
|
.pipe(T.ResponsePath("result")));
|
|
1637
|
-
export const getMonitorGroup = /*@__PURE__*/
|
|
1619
|
+
export const getMonitorGroup = /*@__PURE__*/ API.make(() => ({
|
|
1638
1620
|
input: GetMonitorGroupRequest,
|
|
1639
1621
|
output: GetMonitorGroupResponse,
|
|
1640
1622
|
errors: [MonitorGroupNotFound, Forbidden],
|
|
1641
1623
|
}));
|
|
1642
1624
|
export const ListMonitorGroupsRequest =
|
|
1643
|
-
/*@__PURE__*/
|
|
1625
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1644
1626
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1645
1627
|
}).pipe(T.Http({
|
|
1646
1628
|
method: "GET",
|
|
1647
1629
|
path: "/accounts/{account_id}/load_balancers/monitor_groups",
|
|
1648
1630
|
})));
|
|
1649
1631
|
export const ListMonitorGroupsResponse =
|
|
1650
|
-
/*@__PURE__*/
|
|
1632
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1651
1633
|
result: Schema.Array(ListMonitorGroupsResponseResult),
|
|
1652
1634
|
}));
|
|
1653
|
-
export const listMonitorGroups = /*@__PURE__*/
|
|
1635
|
+
export const listMonitorGroups = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1654
1636
|
input: ListMonitorGroupsRequest,
|
|
1655
1637
|
output: ListMonitorGroupsResponse,
|
|
1656
1638
|
errors: [],
|
|
@@ -1660,7 +1642,7 @@ export const listMonitorGroups = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated((
|
|
|
1660
1642
|
},
|
|
1661
1643
|
}));
|
|
1662
1644
|
export const CreateMonitorGroupRequest =
|
|
1663
|
-
/*@__PURE__*/
|
|
1645
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1664
1646
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1665
1647
|
description: Schema.String,
|
|
1666
1648
|
members: Schema.Array(Member2),
|
|
@@ -1669,7 +1651,7 @@ export const CreateMonitorGroupRequest =
|
|
|
1669
1651
|
path: "/accounts/{account_id}/load_balancers/monitor_groups",
|
|
1670
1652
|
})));
|
|
1671
1653
|
export const CreateMonitorGroupResponse =
|
|
1672
|
-
/*@__PURE__*/
|
|
1654
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1673
1655
|
id: Schema.String,
|
|
1674
1656
|
description: Schema.String,
|
|
1675
1657
|
members: Schema.Array(Member),
|
|
@@ -1684,13 +1666,13 @@ export const CreateMonitorGroupResponse =
|
|
|
1684
1666
|
modifiedOn: "modified_on",
|
|
1685
1667
|
}))
|
|
1686
1668
|
.pipe(T.ResponsePath("result")));
|
|
1687
|
-
export const createMonitorGroup = /*@__PURE__*/
|
|
1669
|
+
export const createMonitorGroup = /*@__PURE__*/ API.make(() => ({
|
|
1688
1670
|
input: CreateMonitorGroupRequest,
|
|
1689
1671
|
output: CreateMonitorGroupResponse,
|
|
1690
1672
|
errors: [MonitorGroupsNotEnabled, Forbidden],
|
|
1691
1673
|
}));
|
|
1692
1674
|
export const UpdateMonitorGroupRequest =
|
|
1693
|
-
/*@__PURE__*/
|
|
1675
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1694
1676
|
monitorGroupId: Schema.String.pipe(T.HttpPath("monitorGroupId")),
|
|
1695
1677
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1696
1678
|
description: Schema.String,
|
|
@@ -1700,7 +1682,7 @@ export const UpdateMonitorGroupRequest =
|
|
|
1700
1682
|
path: "/accounts/{account_id}/load_balancers/monitor_groups/{monitorGroupId}",
|
|
1701
1683
|
})));
|
|
1702
1684
|
export const UpdateMonitorGroupResponse =
|
|
1703
|
-
/*@__PURE__*/
|
|
1685
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1704
1686
|
id: Schema.String,
|
|
1705
1687
|
description: Schema.String,
|
|
1706
1688
|
members: Schema.Array(Member),
|
|
@@ -1715,13 +1697,13 @@ export const UpdateMonitorGroupResponse =
|
|
|
1715
1697
|
modifiedOn: "modified_on",
|
|
1716
1698
|
}))
|
|
1717
1699
|
.pipe(T.ResponsePath("result")));
|
|
1718
|
-
export const updateMonitorGroup = /*@__PURE__*/
|
|
1700
|
+
export const updateMonitorGroup = /*@__PURE__*/ API.make(() => ({
|
|
1719
1701
|
input: UpdateMonitorGroupRequest,
|
|
1720
1702
|
output: UpdateMonitorGroupResponse,
|
|
1721
1703
|
errors: [MonitorGroupNotFound, MonitorGroupsNotEnabled, Forbidden],
|
|
1722
1704
|
}));
|
|
1723
1705
|
export const PatchMonitorGroupRequest =
|
|
1724
|
-
/*@__PURE__*/
|
|
1706
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1725
1707
|
monitorGroupId: Schema.String.pipe(T.HttpPath("monitorGroupId")),
|
|
1726
1708
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1727
1709
|
description: Schema.String,
|
|
@@ -1731,7 +1713,7 @@ export const PatchMonitorGroupRequest =
|
|
|
1731
1713
|
path: "/accounts/{account_id}/load_balancers/monitor_groups/{monitorGroupId}",
|
|
1732
1714
|
})));
|
|
1733
1715
|
export const PatchMonitorGroupResponse =
|
|
1734
|
-
/*@__PURE__*/
|
|
1716
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1735
1717
|
id: Schema.String,
|
|
1736
1718
|
description: Schema.String,
|
|
1737
1719
|
members: Schema.Array(Member),
|
|
@@ -1746,13 +1728,13 @@ export const PatchMonitorGroupResponse =
|
|
|
1746
1728
|
modifiedOn: "modified_on",
|
|
1747
1729
|
}))
|
|
1748
1730
|
.pipe(T.ResponsePath("result")));
|
|
1749
|
-
export const patchMonitorGroup = /*@__PURE__*/
|
|
1731
|
+
export const patchMonitorGroup = /*@__PURE__*/ API.make(() => ({
|
|
1750
1732
|
input: PatchMonitorGroupRequest,
|
|
1751
1733
|
output: PatchMonitorGroupResponse,
|
|
1752
1734
|
errors: [],
|
|
1753
1735
|
}));
|
|
1754
1736
|
export const DeleteMonitorGroupRequest =
|
|
1755
|
-
/*@__PURE__*/
|
|
1737
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1756
1738
|
monitorGroupId: Schema.String.pipe(T.HttpPath("monitorGroupId")),
|
|
1757
1739
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1758
1740
|
}).pipe(T.Http({
|
|
@@ -1760,7 +1742,7 @@ export const DeleteMonitorGroupRequest =
|
|
|
1760
1742
|
path: "/accounts/{account_id}/load_balancers/monitor_groups/{monitorGroupId}",
|
|
1761
1743
|
})));
|
|
1762
1744
|
export const DeleteMonitorGroupResponse =
|
|
1763
|
-
/*@__PURE__*/
|
|
1745
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1764
1746
|
id: Schema.String,
|
|
1765
1747
|
description: Schema.String,
|
|
1766
1748
|
members: Schema.Array(Member),
|
|
@@ -1775,13 +1757,13 @@ export const DeleteMonitorGroupResponse =
|
|
|
1775
1757
|
modifiedOn: "modified_on",
|
|
1776
1758
|
}))
|
|
1777
1759
|
.pipe(T.ResponsePath("result")));
|
|
1778
|
-
export const deleteMonitorGroup = /*@__PURE__*/
|
|
1760
|
+
export const deleteMonitorGroup = /*@__PURE__*/ API.make(() => ({
|
|
1779
1761
|
input: DeleteMonitorGroupRequest,
|
|
1780
1762
|
output: DeleteMonitorGroupResponse,
|
|
1781
1763
|
errors: [MonitorGroupNotFound, MonitorGroupInUse, Forbidden],
|
|
1782
1764
|
}));
|
|
1783
1765
|
export const GetMonitorGroupReferenceRequest =
|
|
1784
|
-
/*@__PURE__*/
|
|
1766
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1785
1767
|
monitorGroupId: Schema.String.pipe(T.HttpPath("monitorGroupId")),
|
|
1786
1768
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1787
1769
|
}).pipe(T.Http({
|
|
@@ -1789,10 +1771,10 @@ export const GetMonitorGroupReferenceRequest =
|
|
|
1789
1771
|
path: "/accounts/{account_id}/load_balancers/monitor_groups/{monitorGroupId}/references",
|
|
1790
1772
|
})));
|
|
1791
1773
|
export const GetMonitorGroupReferenceResponse =
|
|
1792
|
-
/*@__PURE__*/
|
|
1774
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1793
1775
|
result: Schema.Array(GetMonitorGroupReferenceResponseResult),
|
|
1794
1776
|
}));
|
|
1795
|
-
export const getMonitorGroupReference = /*@__PURE__*/
|
|
1777
|
+
export const getMonitorGroupReference = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1796
1778
|
input: GetMonitorGroupReferenceRequest,
|
|
1797
1779
|
output: GetMonitorGroupReferenceResponse,
|
|
1798
1780
|
errors: [],
|
|
@@ -1802,7 +1784,7 @@ export const getMonitorGroupReference = /*@__PURE__*/ /*#__PURE__*/ API.makePagi
|
|
|
1802
1784
|
},
|
|
1803
1785
|
}));
|
|
1804
1786
|
export const CreateMonitorPreviewRequest =
|
|
1805
|
-
/*@__PURE__*/
|
|
1787
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1806
1788
|
monitorId: Schema.String.pipe(T.HttpPath("monitorId")),
|
|
1807
1789
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1808
1790
|
allowInsecure: Schema.optional(Schema.Boolean),
|
|
@@ -1853,7 +1835,7 @@ export const CreateMonitorPreviewRequest =
|
|
|
1853
1835
|
path: "/accounts/{account_id}/load_balancers/monitors/{monitorId}/preview",
|
|
1854
1836
|
})));
|
|
1855
1837
|
export const CreateMonitorPreviewResponse =
|
|
1856
|
-
/*@__PURE__*/
|
|
1838
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1857
1839
|
pools: Schema.optional(Schema.Union([
|
|
1858
1840
|
Schema.Record(Schema.String, Schema.Unknown),
|
|
1859
1841
|
Schema.Null,
|
|
@@ -1862,13 +1844,13 @@ export const CreateMonitorPreviewResponse =
|
|
|
1862
1844
|
})
|
|
1863
1845
|
.pipe(Schema.encodeKeys({ pools: "pools", previewId: "preview_id" }))
|
|
1864
1846
|
.pipe(T.ResponsePath("result")));
|
|
1865
|
-
export const createMonitorPreview = /*@__PURE__*/
|
|
1847
|
+
export const createMonitorPreview = /*@__PURE__*/ API.make(() => ({
|
|
1866
1848
|
input: CreateMonitorPreviewRequest,
|
|
1867
1849
|
output: CreateMonitorPreviewResponse,
|
|
1868
1850
|
errors: [],
|
|
1869
1851
|
}));
|
|
1870
1852
|
export const GetMonitorReferenceRequest =
|
|
1871
|
-
/*@__PURE__*/
|
|
1853
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1872
1854
|
monitorId: Schema.String.pipe(T.HttpPath("monitorId")),
|
|
1873
1855
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1874
1856
|
}).pipe(T.Http({
|
|
@@ -1876,10 +1858,10 @@ export const GetMonitorReferenceRequest =
|
|
|
1876
1858
|
path: "/accounts/{account_id}/load_balancers/monitors/{monitorId}/references",
|
|
1877
1859
|
})));
|
|
1878
1860
|
export const GetMonitorReferenceResponse =
|
|
1879
|
-
/*@__PURE__*/
|
|
1861
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1880
1862
|
result: Schema.Array(GetMonitorGroupReferenceResponseResult),
|
|
1881
1863
|
}));
|
|
1882
|
-
export const getMonitorReference = /*@__PURE__*/
|
|
1864
|
+
export const getMonitorReference = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1883
1865
|
input: GetMonitorReferenceRequest,
|
|
1884
1866
|
output: GetMonitorReferenceResponse,
|
|
1885
1867
|
errors: [],
|
|
@@ -1888,14 +1870,14 @@ export const getMonitorReference = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated
|
|
|
1888
1870
|
items: "result",
|
|
1889
1871
|
},
|
|
1890
1872
|
}));
|
|
1891
|
-
export const GetPoolRequest = /*@__PURE__*/
|
|
1873
|
+
export const GetPoolRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1892
1874
|
poolId: Schema.String.pipe(T.HttpPath("poolId")),
|
|
1893
1875
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1894
1876
|
}).pipe(T.Http({
|
|
1895
1877
|
method: "GET",
|
|
1896
1878
|
path: "/accounts/{account_id}/load_balancers/pools/{poolId}",
|
|
1897
1879
|
})));
|
|
1898
|
-
export const GetPoolResponse = /*@__PURE__*/
|
|
1880
|
+
export const GetPoolResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1899
1881
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1900
1882
|
checkRegions: Schema.optional(Schema.Union([
|
|
1901
1883
|
Schema.Array(Schema.Union([
|
|
@@ -1959,22 +1941,22 @@ export const GetPoolResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
1959
1941
|
origins: "origins",
|
|
1960
1942
|
}))
|
|
1961
1943
|
.pipe(T.ResponsePath("result")));
|
|
1962
|
-
export const getPool = /*@__PURE__*/
|
|
1944
|
+
export const getPool = /*@__PURE__*/ API.make(() => ({
|
|
1963
1945
|
input: GetPoolRequest,
|
|
1964
1946
|
output: GetPoolResponse,
|
|
1965
1947
|
errors: [PoolNotFound, Forbidden],
|
|
1966
1948
|
}));
|
|
1967
|
-
export const ListPoolsRequest = /*@__PURE__*/
|
|
1949
|
+
export const ListPoolsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1968
1950
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1969
1951
|
monitor: Schema.optional(Schema.String).pipe(T.HttpQuery("monitor")),
|
|
1970
1952
|
}).pipe(T.Http({
|
|
1971
1953
|
method: "GET",
|
|
1972
1954
|
path: "/accounts/{account_id}/load_balancers/pools",
|
|
1973
1955
|
})));
|
|
1974
|
-
export const ListPoolsResponse = /*@__PURE__*/
|
|
1956
|
+
export const ListPoolsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1975
1957
|
result: Schema.Array(ListPoolsResponseResult),
|
|
1976
1958
|
}));
|
|
1977
|
-
export const listPools = /*@__PURE__*/
|
|
1959
|
+
export const listPools = /*@__PURE__*/ API.makePaginated(() => ({
|
|
1978
1960
|
input: ListPoolsRequest,
|
|
1979
1961
|
output: ListPoolsResponse,
|
|
1980
1962
|
errors: [],
|
|
@@ -1983,7 +1965,7 @@ export const listPools = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
|
1983
1965
|
items: "result",
|
|
1984
1966
|
},
|
|
1985
1967
|
}));
|
|
1986
|
-
export const CreatePoolRequest = /*@__PURE__*/
|
|
1968
|
+
export const CreatePoolRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
1987
1969
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
1988
1970
|
name: Schema.String,
|
|
1989
1971
|
origins: Schema.Array(OriginParam),
|
|
@@ -2016,7 +1998,7 @@ export const CreatePoolRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
2016
1998
|
method: "POST",
|
|
2017
1999
|
path: "/accounts/{account_id}/load_balancers/pools",
|
|
2018
2000
|
})));
|
|
2019
|
-
export const CreatePoolResponse = /*@__PURE__*/
|
|
2001
|
+
export const CreatePoolResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2020
2002
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2021
2003
|
checkRegions: Schema.optional(Schema.Union([
|
|
2022
2004
|
Schema.Array(Schema.Union([
|
|
@@ -2080,12 +2062,12 @@ export const CreatePoolResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
2080
2062
|
origins: "origins",
|
|
2081
2063
|
}))
|
|
2082
2064
|
.pipe(T.ResponsePath("result")));
|
|
2083
|
-
export const createPool = /*@__PURE__*/
|
|
2065
|
+
export const createPool = /*@__PURE__*/ API.make(() => ({
|
|
2084
2066
|
input: CreatePoolRequest,
|
|
2085
2067
|
output: CreatePoolResponse,
|
|
2086
2068
|
errors: [PoolAccessFailed, Forbidden],
|
|
2087
2069
|
}));
|
|
2088
|
-
export const UpdatePoolRequest = /*@__PURE__*/
|
|
2070
|
+
export const UpdatePoolRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2089
2071
|
poolId: Schema.String.pipe(T.HttpPath("poolId")),
|
|
2090
2072
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2091
2073
|
name: Schema.String,
|
|
@@ -2142,7 +2124,7 @@ export const UpdatePoolRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
2142
2124
|
method: "PUT",
|
|
2143
2125
|
path: "/accounts/{account_id}/load_balancers/pools/{poolId}",
|
|
2144
2126
|
})));
|
|
2145
|
-
export const UpdatePoolResponse = /*@__PURE__*/
|
|
2127
|
+
export const UpdatePoolResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2146
2128
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2147
2129
|
checkRegions: Schema.optional(Schema.Union([
|
|
2148
2130
|
Schema.Array(Schema.Union([
|
|
@@ -2206,12 +2188,12 @@ export const UpdatePoolResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
2206
2188
|
origins: "origins",
|
|
2207
2189
|
}))
|
|
2208
2190
|
.pipe(T.ResponsePath("result")));
|
|
2209
|
-
export const updatePool = /*@__PURE__*/
|
|
2191
|
+
export const updatePool = /*@__PURE__*/ API.make(() => ({
|
|
2210
2192
|
input: UpdatePoolRequest,
|
|
2211
2193
|
output: UpdatePoolResponse,
|
|
2212
2194
|
errors: [PoolNotFound, PoolAccessFailed, Forbidden],
|
|
2213
2195
|
}));
|
|
2214
|
-
export const PatchPoolRequest = /*@__PURE__*/
|
|
2196
|
+
export const PatchPoolRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2215
2197
|
poolId: Schema.String.pipe(T.HttpPath("poolId")),
|
|
2216
2198
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2217
2199
|
checkRegions: Schema.optional(Schema.Union([
|
|
@@ -2268,7 +2250,7 @@ export const PatchPoolRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
|
|
|
2268
2250
|
method: "PATCH",
|
|
2269
2251
|
path: "/accounts/{account_id}/load_balancers/pools/{poolId}",
|
|
2270
2252
|
})));
|
|
2271
|
-
export const PatchPoolResponse = /*@__PURE__*/
|
|
2253
|
+
export const PatchPoolResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2272
2254
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2273
2255
|
checkRegions: Schema.optional(Schema.Union([
|
|
2274
2256
|
Schema.Array(Schema.Union([
|
|
@@ -2332,27 +2314,27 @@ export const PatchPoolResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
|
|
|
2332
2314
|
origins: "origins",
|
|
2333
2315
|
}))
|
|
2334
2316
|
.pipe(T.ResponsePath("result")));
|
|
2335
|
-
export const patchPool = /*@__PURE__*/
|
|
2317
|
+
export const patchPool = /*@__PURE__*/ API.make(() => ({
|
|
2336
2318
|
input: PatchPoolRequest,
|
|
2337
2319
|
output: PatchPoolResponse,
|
|
2338
2320
|
errors: [],
|
|
2339
2321
|
}));
|
|
2340
|
-
export const DeletePoolRequest = /*@__PURE__*/
|
|
2322
|
+
export const DeletePoolRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2341
2323
|
poolId: Schema.String.pipe(T.HttpPath("poolId")),
|
|
2342
2324
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2343
2325
|
}).pipe(T.Http({
|
|
2344
2326
|
method: "DELETE",
|
|
2345
2327
|
path: "/accounts/{account_id}/load_balancers/pools/{poolId}",
|
|
2346
2328
|
})));
|
|
2347
|
-
export const DeletePoolResponse = /*@__PURE__*/
|
|
2329
|
+
export const DeletePoolResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2348
2330
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2349
2331
|
}).pipe(T.ResponsePath("result")));
|
|
2350
|
-
export const deletePool = /*@__PURE__*/
|
|
2332
|
+
export const deletePool = /*@__PURE__*/ API.make(() => ({
|
|
2351
2333
|
input: DeletePoolRequest,
|
|
2352
2334
|
output: DeletePoolResponse,
|
|
2353
2335
|
errors: [PoolNotFound, PoolInUse, Forbidden],
|
|
2354
2336
|
}));
|
|
2355
|
-
export const BulkPatchPoolsRequest = /*@__PURE__*/
|
|
2337
|
+
export const BulkPatchPoolsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2356
2338
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2357
2339
|
notificationEmail: Schema.optional(Schema.Literal("")),
|
|
2358
2340
|
}).pipe(Schema.encodeKeys({ notificationEmail: "notification_email" }), T.Http({
|
|
@@ -2360,10 +2342,10 @@ export const BulkPatchPoolsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
|
|
|
2360
2342
|
path: "/accounts/{account_id}/load_balancers/pools",
|
|
2361
2343
|
})));
|
|
2362
2344
|
export const BulkPatchPoolsResponse =
|
|
2363
|
-
/*@__PURE__*/
|
|
2345
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2364
2346
|
result: Schema.Array(ListPoolsResponseResult),
|
|
2365
2347
|
}));
|
|
2366
|
-
export const bulkPatchPools = /*@__PURE__*/
|
|
2348
|
+
export const bulkPatchPools = /*@__PURE__*/ API.makePaginated(() => ({
|
|
2367
2349
|
input: BulkPatchPoolsRequest,
|
|
2368
2350
|
output: BulkPatchPoolsResponse,
|
|
2369
2351
|
errors: [],
|
|
@@ -2372,26 +2354,26 @@ export const bulkPatchPools = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =
|
|
|
2372
2354
|
items: "result",
|
|
2373
2355
|
},
|
|
2374
2356
|
}));
|
|
2375
|
-
export const GetPoolHealthRequest = /*@__PURE__*/
|
|
2357
|
+
export const GetPoolHealthRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2376
2358
|
poolId: Schema.String.pipe(T.HttpPath("poolId")),
|
|
2377
2359
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2378
2360
|
}).pipe(T.Http({
|
|
2379
2361
|
method: "GET",
|
|
2380
2362
|
path: "/accounts/{account_id}/load_balancers/pools/{poolId}/health",
|
|
2381
2363
|
})));
|
|
2382
|
-
export const GetPoolHealthResponse = /*@__PURE__*/
|
|
2364
|
+
export const GetPoolHealthResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2383
2365
|
poolId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2384
2366
|
popHealth: Schema.optional(Schema.Union([Pophealth, Schema.Null])),
|
|
2385
2367
|
})
|
|
2386
2368
|
.pipe(Schema.encodeKeys({ poolId: "pool_id", popHealth: "pop_health" }))
|
|
2387
2369
|
.pipe(T.ResponsePath("result")));
|
|
2388
|
-
export const getPoolHealth = /*@__PURE__*/
|
|
2370
|
+
export const getPoolHealth = /*@__PURE__*/ API.make(() => ({
|
|
2389
2371
|
input: GetPoolHealthRequest,
|
|
2390
2372
|
output: GetPoolHealthResponse,
|
|
2391
2373
|
errors: [],
|
|
2392
2374
|
}));
|
|
2393
2375
|
export const CreatePoolHealthRequest =
|
|
2394
|
-
/*@__PURE__*/
|
|
2376
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2395
2377
|
poolId: Schema.String.pipe(T.HttpPath("poolId")),
|
|
2396
2378
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2397
2379
|
allowInsecure: Schema.optional(Schema.Boolean),
|
|
@@ -2442,7 +2424,7 @@ export const CreatePoolHealthRequest =
|
|
|
2442
2424
|
path: "/accounts/{account_id}/load_balancers/pools/{poolId}/preview",
|
|
2443
2425
|
})));
|
|
2444
2426
|
export const CreatePoolHealthResponse =
|
|
2445
|
-
/*@__PURE__*/
|
|
2427
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2446
2428
|
pools: Schema.optional(Schema.Union([
|
|
2447
2429
|
Schema.Record(Schema.String, Schema.Unknown),
|
|
2448
2430
|
Schema.Null,
|
|
@@ -2451,13 +2433,13 @@ export const CreatePoolHealthResponse =
|
|
|
2451
2433
|
})
|
|
2452
2434
|
.pipe(Schema.encodeKeys({ pools: "pools", previewId: "preview_id" }))
|
|
2453
2435
|
.pipe(T.ResponsePath("result")));
|
|
2454
|
-
export const createPoolHealth = /*@__PURE__*/
|
|
2436
|
+
export const createPoolHealth = /*@__PURE__*/ API.make(() => ({
|
|
2455
2437
|
input: CreatePoolHealthRequest,
|
|
2456
2438
|
output: CreatePoolHealthResponse,
|
|
2457
2439
|
errors: [],
|
|
2458
2440
|
}));
|
|
2459
2441
|
export const GetPoolReferenceRequest =
|
|
2460
|
-
/*@__PURE__*/
|
|
2442
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2461
2443
|
poolId: Schema.String.pipe(T.HttpPath("poolId")),
|
|
2462
2444
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2463
2445
|
}).pipe(T.Http({
|
|
@@ -2465,10 +2447,10 @@ export const GetPoolReferenceRequest =
|
|
|
2465
2447
|
path: "/accounts/{account_id}/load_balancers/pools/{poolId}/references",
|
|
2466
2448
|
})));
|
|
2467
2449
|
export const GetPoolReferenceResponse =
|
|
2468
|
-
/*@__PURE__*/
|
|
2450
|
+
/*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2469
2451
|
result: Schema.Array(GetMonitorGroupReferenceResponseResult),
|
|
2470
2452
|
}));
|
|
2471
|
-
export const getPoolReference = /*@__PURE__*/
|
|
2453
|
+
export const getPoolReference = /*@__PURE__*/ API.makePaginated(() => ({
|
|
2472
2454
|
input: GetPoolReferenceRequest,
|
|
2473
2455
|
output: GetPoolReferenceResponse,
|
|
2474
2456
|
errors: [],
|
|
@@ -2477,33 +2459,33 @@ export const getPoolReference = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(()
|
|
|
2477
2459
|
items: "result",
|
|
2478
2460
|
},
|
|
2479
2461
|
}));
|
|
2480
|
-
export const GetPreviewRequest = /*@__PURE__*/
|
|
2462
|
+
export const GetPreviewRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2481
2463
|
previewId: Schema.String.pipe(T.HttpPath("previewId")),
|
|
2482
2464
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2483
2465
|
}).pipe(T.Http({
|
|
2484
2466
|
method: "GET",
|
|
2485
2467
|
path: "/accounts/{account_id}/load_balancers/preview/{previewId}",
|
|
2486
2468
|
})));
|
|
2487
|
-
export const GetPreviewResponse = /*@__PURE__*/
|
|
2488
|
-
export const getPreview = /*@__PURE__*/
|
|
2469
|
+
export const GetPreviewResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Record(Schema.String, Schema.Unknown).pipe(T.ResponsePath("result")));
|
|
2470
|
+
export const getPreview = /*@__PURE__*/ API.make(() => ({
|
|
2489
2471
|
input: GetPreviewRequest,
|
|
2490
2472
|
output: GetPreviewResponse,
|
|
2491
2473
|
errors: [],
|
|
2492
2474
|
}));
|
|
2493
|
-
export const GetRegionRequest = /*@__PURE__*/
|
|
2475
|
+
export const GetRegionRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2494
2476
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2495
2477
|
regionId: Schema.String.pipe(T.HttpPath("regionId")),
|
|
2496
2478
|
}).pipe(T.Http({
|
|
2497
2479
|
method: "GET",
|
|
2498
2480
|
path: "/accounts/{account_id}/load_balancers/regions/{regionId}",
|
|
2499
2481
|
})));
|
|
2500
|
-
export const GetRegionResponse = /*@__PURE__*/
|
|
2501
|
-
export const getRegion = /*@__PURE__*/
|
|
2482
|
+
export const GetRegionResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
2483
|
+
export const getRegion = /*@__PURE__*/ API.make(() => ({
|
|
2502
2484
|
input: GetRegionRequest,
|
|
2503
2485
|
output: GetRegionResponse,
|
|
2504
2486
|
errors: [],
|
|
2505
2487
|
}));
|
|
2506
|
-
export const ListRegionsRequest = /*@__PURE__*/
|
|
2488
|
+
export const ListRegionsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2507
2489
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2508
2490
|
countryCodeA2: Schema.optional(Schema.String).pipe(T.HttpQuery("country_code_a2")),
|
|
2509
2491
|
subdivisionCode: Schema.optional(Schema.String).pipe(T.HttpQuery("subdivision_code")),
|
|
@@ -2512,13 +2494,13 @@ export const ListRegionsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
2512
2494
|
method: "GET",
|
|
2513
2495
|
path: "/accounts/{account_id}/load_balancers/regions",
|
|
2514
2496
|
})));
|
|
2515
|
-
export const ListRegionsResponse = /*@__PURE__*/
|
|
2516
|
-
export const listRegions = /*@__PURE__*/
|
|
2497
|
+
export const ListRegionsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Unknown.pipe(T.ResponsePath("result")));
|
|
2498
|
+
export const listRegions = /*@__PURE__*/ API.make(() => ({
|
|
2517
2499
|
input: ListRegionsRequest,
|
|
2518
2500
|
output: ListRegionsResponse,
|
|
2519
2501
|
errors: [],
|
|
2520
2502
|
}));
|
|
2521
|
-
export const ListSearchesRequest = /*@__PURE__*/
|
|
2503
|
+
export const ListSearchesRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2522
2504
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2523
2505
|
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
2524
2506
|
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
@@ -2531,11 +2513,11 @@ export const ListSearchesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
|
|
|
2531
2513
|
method: "GET",
|
|
2532
2514
|
path: "/accounts/{account_id}/load_balancers/search",
|
|
2533
2515
|
})));
|
|
2534
|
-
export const ListSearchesResponse = /*@__PURE__*/
|
|
2516
|
+
export const ListSearchesResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
|
|
2535
2517
|
result: ListSearchesResponseResult,
|
|
2536
2518
|
resultInfo: Schema.optional(Schema.Union([ListSearchesResponseResultInfo, Schema.Null])),
|
|
2537
2519
|
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
|
|
2538
|
-
export const listSearches = /*@__PURE__*/
|
|
2520
|
+
export const listSearches = /*@__PURE__*/ API.makePaginated(() => ({
|
|
2539
2521
|
input: ListSearchesRequest,
|
|
2540
2522
|
output: ListSearchesResponse,
|
|
2541
2523
|
errors: [],
|