@distilled.cloud/cloudflare 0.2.5-alpha2 → 0.3.0-alpha
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/README.md +12 -2
- package/lib/auth.d.ts +3 -2
- package/lib/auth.d.ts.map +1 -1
- package/lib/auth.js +4 -3
- package/lib/auth.js.map +1 -1
- package/lib/client/api.d.ts +7 -9
- package/lib/client/api.d.ts.map +1 -1
- package/lib/client/api.js +60 -13
- package/lib/client/api.js.map +1 -1
- package/lib/credentials.d.ts +58 -4
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +126 -7
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +12 -1
- package/lib/errors.d.ts.map +1 -1
- package/lib/sensitive.d.ts +5 -0
- package/lib/sensitive.d.ts.map +1 -0
- package/lib/sensitive.js +5 -0
- package/lib/sensitive.js.map +1 -0
- package/lib/services/abuse-reports.d.ts +116 -44
- package/lib/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +171 -110
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts +146 -62
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +208 -153
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/acm.d.ts.map +1 -1
- package/lib/services/acm.js +8 -4
- package/lib/services/acm.js.map +1 -1
- package/lib/services/addressing.d.ts +200 -87
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +288 -201
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts +302 -121
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +407 -283
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai.d.ts +83 -29
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +95 -42
- package/lib/services/ai.js.map +1 -1
- package/lib/services/aisearch.d.ts +266 -112
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +510 -393
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.d.ts +249 -112
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +382 -325
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts +458 -200
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +725 -618
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/argo.d.ts.map +1 -1
- package/lib/services/argo.js +16 -8
- package/lib/services/argo.js.map +1 -1
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +4 -2
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +2 -2
- 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 +10 -6
- package/lib/services/botnet-feed.js.map +1 -1
- package/lib/services/brand-protection.d.ts +8 -2
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +9 -2
- 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 +15 -14
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +49 -25
- package/lib/services/cache.js.map +1 -1
- package/lib/services/calls.d.ts +35 -14
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +35 -22
- package/lib/services/calls.js.map +1 -1
- package/lib/services/certificate-authorities.d.ts.map +1 -1
- package/lib/services/certificate-authorities.js +2 -2
- package/lib/services/certificate-authorities.js.map +1 -1
- package/lib/services/client-certificates.d.ts +57 -23
- package/lib/services/client-certificates.d.ts.map +1 -1
- package/lib/services/client-certificates.js +91 -62
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/cloud-connector.d.ts +51 -22
- package/lib/services/cloud-connector.d.ts.map +1 -1
- package/lib/services/cloud-connector.js +57 -44
- package/lib/services/cloud-connector.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts +119 -50
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +181 -124
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/connectivity.d.ts +74 -31
- package/lib/services/connectivity.d.ts.map +1 -1
- package/lib/services/connectivity.js +84 -57
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/content-scanning.d.ts +40 -15
- package/lib/services/content-scanning.d.ts.map +1 -1
- package/lib/services/content-scanning.js +40 -21
- package/lib/services/content-scanning.js.map +1 -1
- package/lib/services/custom-certificates.d.ts +48 -19
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +80 -53
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts +116 -51
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +210 -170
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/custom-nameservers.d.ts +32 -12
- package/lib/services/custom-nameservers.d.ts.map +1 -1
- package/lib/services/custom-nameservers.js +36 -21
- package/lib/services/custom-nameservers.js.map +1 -1
- package/lib/services/custom-pages.d.ts +26 -11
- package/lib/services/custom-pages.d.ts.map +1 -1
- package/lib/services/custom-pages.js +39 -24
- package/lib/services/custom-pages.js.map +1 -1
- package/lib/services/d1.d.ts +114 -48
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +150 -111
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dcv-delegation.d.ts.map +1 -1
- package/lib/services/dcv-delegation.js +1 -1
- package/lib/services/dcv-delegation.js.map +1 -1
- package/lib/services/diagnostics.d.ts +59 -26
- package/lib/services/diagnostics.d.ts.map +1 -1
- package/lib/services/diagnostics.js +97 -82
- package/lib/services/diagnostics.js.map +1 -1
- package/lib/services/dns-firewall.d.ts +48 -19
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +75 -48
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts +206 -87
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +335 -219
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts +44 -13
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +56 -19
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-routing.d.ts +90 -34
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +133 -80
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts +439 -181
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +753 -557
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/filters.d.ts +64 -24
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +61 -28
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts +455 -183
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +777 -574
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/healthchecks.d.ts +76 -33
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +129 -100
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts +20 -8
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +32 -21
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +10 -9
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts +162 -59
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +219 -119
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts +36 -12
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +59 -32
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts +159 -62
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +238 -151
- package/lib/services/intel.js.map +1 -1
- package/lib/services/ips.d.ts.map +1 -1
- package/lib/services/ips.js +1 -1
- package/lib/services/ips.js.map +1 -1
- package/lib/services/keyless-certificates.d.ts +36 -16
- package/lib/services/keyless-certificates.d.ts.map +1 -1
- package/lib/services/keyless-certificates.js +50 -37
- package/lib/services/keyless-certificates.js.map +1 -1
- package/lib/services/kv.d.ts +42 -12
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +87 -36
- package/lib/services/kv.js.map +1 -1
- package/lib/services/leaked-credential-checks.d.ts +16 -6
- package/lib/services/leaked-credential-checks.d.ts.map +1 -1
- package/lib/services/leaked-credential-checks.js +20 -12
- package/lib/services/leaked-credential-checks.js.map +1 -1
- package/lib/services/load-balancers.d.ts +373 -167
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +603 -490
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +23 -15
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +11 -7
- package/lib/services/logs.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts +542 -249
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +890 -804
- 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 +44 -22
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts +432 -196
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +730 -566
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/managed-transforms.d.ts.map +1 -1
- package/lib/services/managed-transforms.js +8 -4
- package/lib/services/managed-transforms.js.map +1 -1
- package/lib/services/memberships.d.ts +54 -22
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +79 -53
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/mtls-certificates.d.ts +41 -17
- package/lib/services/mtls-certificates.d.ts.map +1 -1
- package/lib/services/mtls-certificates.js +52 -33
- package/lib/services/mtls-certificates.js.map +1 -1
- package/lib/services/organizations.d.ts +56 -25
- package/lib/services/organizations.d.ts.map +1 -1
- package/lib/services/organizations.js +74 -59
- package/lib/services/organizations.js.map +1 -1
- package/lib/services/origin-ca-certificates.d.ts +30 -10
- package/lib/services/origin-ca-certificates.d.ts.map +1 -1
- package/lib/services/origin-ca-certificates.js +62 -35
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/origin-post-quantum-encryption.d.ts.map +1 -1
- package/lib/services/origin-post-quantum-encryption.js +8 -4
- package/lib/services/origin-post-quantum-encryption.js.map +1 -1
- package/lib/services/origin-tls-client-auth.d.ts +60 -25
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
- package/lib/services/origin-tls-client-auth.js +94 -60
- package/lib/services/origin-tls-client-auth.js.map +1 -1
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +18 -10
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/page-shield.d.ts +145 -66
- package/lib/services/page-shield.d.ts.map +1 -1
- package/lib/services/page-shield.js +166 -130
- package/lib/services/page-shield.js.map +1 -1
- package/lib/services/pages.d.ts +520 -225
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +643 -567
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts +461 -206
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +859 -780
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts +177 -80
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +233 -177
- 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 +30 -16
- package/lib/services/r2-data-catalog.js.map +1 -1
- package/lib/services/r2.d.ts +85 -39
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +146 -126
- package/lib/services/r2.js.map +1 -1
- package/lib/services/radar.d.ts +152 -63
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +421 -360
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts +76 -31
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +106 -82
- 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 +34 -33
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/registrar.d.ts +75 -35
- package/lib/services/registrar.d.ts.map +1 -1
- package/lib/services/registrar.js +116 -103
- package/lib/services/registrar.js.map +1 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +5 -2
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/resource-sharing.d.ts +132 -50
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +232 -149
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/rules.d.ts +86 -37
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +122 -87
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +75 -30
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +274 -222
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts +40 -15
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +78 -45
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts +47 -14
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +102 -43
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts +116 -44
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +145 -78
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/security-center.d.ts +56 -22
- package/lib/services/security-center.d.ts.map +1 -1
- package/lib/services/security-center.js +90 -64
- 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 +1 -1
- package/lib/services/security-txt.js.map +1 -1
- package/lib/services/snippets.d.ts +85 -33
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +106 -63
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts +58 -24
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +90 -65
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts +47 -17
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +51 -24
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts +77 -35
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +146 -123
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts +173 -77
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +167 -131
- package/lib/services/stream.js.map +1 -1
- package/lib/services/token-validation.d.ts +203 -88
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +238 -172
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts +38 -14
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +72 -41
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/url-normalization.d.ts.map +1 -1
- package/lib/services/url-normalization.js +2 -2
- package/lib/services/url-normalization.js.map +1 -1
- package/lib/services/user.d.ts +106 -40
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +156 -89
- package/lib/services/user.js.map +1 -1
- package/lib/services/vectorize.d.ts +26 -11
- package/lib/services/vectorize.d.ts.map +1 -1
- package/lib/services/vectorize.js +46 -35
- package/lib/services/vectorize.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts +244 -104
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +398 -296
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/web3.d.ts +26 -11
- package/lib/services/web3.d.ts.map +1 -1
- package/lib/services/web3.js +62 -43
- package/lib/services/web3.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts +323 -153
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +331 -288
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts +601 -272
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +771 -633
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts +130 -47
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +190 -107
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zaraz.d.ts +20 -8
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +20 -13
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts +5436 -2650
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +9008 -7934
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts +188 -84
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +257 -196
- package/lib/services/zones.js.map +1 -1
- package/package.json +3 -2
- package/src/auth.ts +4 -3
- package/src/client/api.ts +105 -13
- package/src/credentials.ts +253 -12
- package/src/errors.ts +17 -1
- package/src/sensitive.ts +4 -0
- package/src/services/abuse-reports.ts +416 -208
- package/src/services/accounts.ts +511 -306
- package/src/services/acm.ts +22 -14
- package/src/services/addressing.ts +865 -550
- package/src/services/ai-gateway.ts +1148 -710
- package/src/services/ai.ts +265 -91
- package/src/services/aisearch.ts +1460 -995
- package/src/services/alerting.ts +1027 -671
- package/src/services/api-gateway.ts +1628 -1129
- package/src/services/argo.ts +48 -32
- package/src/services/billing.ts +47 -43
- package/src/services/bot-management.ts +6 -2
- package/src/services/botnet-feed.ts +28 -16
- package/src/services/brand-protection.ts +28 -6
- package/src/services/browser-rendering.ts +23 -10
- package/src/services/cache.ts +147 -97
- package/src/services/calls.ts +107 -42
- package/src/services/certificate-authorities.ts +6 -2
- package/src/services/client-certificates.ts +270 -173
- package/src/services/cloud-connector.ts +149 -82
- package/src/services/cloudforce-one.ts +515 -287
- package/src/services/connectivity.ts +184 -107
- package/src/services/content-scanning.ts +115 -42
- package/src/services/custom-certificates.ts +200 -121
- package/src/services/custom-hostnames.ts +583 -395
- package/src/services/custom-nameservers.ts +98 -45
- package/src/services/custom-pages.ts +109 -62
- package/src/services/d1.ts +409 -235
- package/src/services/dcv-delegation.ts +3 -1
- package/src/services/diagnostics.ts +267 -193
- package/src/services/dns-firewall.ts +197 -116
- package/src/services/dns.ts +916 -536
- package/src/services/durable-objects.ts +126 -37
- package/src/services/email-routing.ts +375 -181
- package/src/services/email-security.ts +1881 -1112
- package/src/services/filters.ts +176 -58
- package/src/services/firewall.ts +1843 -1011
- package/src/services/healthchecks.ts +374 -258
- package/src/services/hostnames.ts +83 -47
- package/src/services/hyperdrive.ts +12 -9
- package/src/services/iam.ts +560 -259
- package/src/services/images.ts +148 -54
- package/src/services/intel.ts +677 -373
- package/src/services/ips.ts +1 -1
- package/src/services/keyless-certificates.ts +139 -92
- package/src/services/kv.ts +204 -86
- package/src/services/leaked-credential-checks.ts +58 -19
- package/src/services/load-balancers.ts +1755 -1200
- package/src/services/logpush.ts +100 -72
- package/src/services/logs.ts +29 -15
- package/src/services/magic-cloud-networking.ts +2453 -1726
- package/src/services/magic-network-monitoring.ts +163 -119
- package/src/services/magic-transit.ts +2153 -1530
- package/src/services/managed-transforms.ts +20 -12
- package/src/services/memberships.ts +196 -113
- package/src/services/mtls-certificates.ts +158 -88
- package/src/services/organizations.ts +185 -121
- package/src/services/origin-ca-certificates.ts +130 -64
- package/src/services/origin-post-quantum-encryption.ts +24 -16
- package/src/services/origin-tls-client-auth.ts +282 -158
- package/src/services/page-rules.ts +64 -44
- package/src/services/page-shield.ts +492 -316
- package/src/services/pages.ts +1612 -1154
- package/src/services/pipelines.ts +1735 -1280
- package/src/services/queues.ts +617 -419
- package/src/services/r2-data-catalog.ts +82 -50
- package/src/services/r2.ts +420 -239
- package/src/services/radar.ts +1107 -423
- package/src/services/rate-limits.ts +254 -152
- package/src/services/realtime-kit.ts +34 -33
- package/src/services/registrar.ts +262 -167
- package/src/services/request-tracers.ts +7 -4
- package/src/services/resource-sharing.ts +628 -378
- package/src/services/rules.ts +292 -176
- package/src/services/rulesets.ts +643 -426
- package/src/services/rum.ts +204 -111
- package/src/services/schema-validation.ts +240 -104
- package/src/services/secrets-store.ts +356 -166
- package/src/services/security-center.ts +196 -98
- package/src/services/security-txt.ts +2 -0
- package/src/services/snippets.ts +259 -117
- package/src/services/spectrum.ts +215 -128
- package/src/services/speed.ts +144 -46
- package/src/services/ssl.ts +420 -293
- package/src/services/stream.ts +496 -244
- package/src/services/token-validation.ts +583 -343
- package/src/services/turnstile.ts +206 -124
- package/src/services/url-normalization.ts +6 -2
- package/src/services/user.ts +480 -277
- package/src/services/vectorize.ts +123 -64
- package/src/services/waiting-rooms.ts +1156 -747
- package/src/services/web3.ts +178 -113
- package/src/services/workers-for-platforms.ts +814 -539
- package/src/services/workers.ts +1888 -1227
- package/src/services/workflows.ts +453 -205
- package/src/services/zaraz.ts +61 -25
- package/src/services/zero-trust.ts +17859 -12103
- package/src/services/zones.ts +690 -459
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* DO NOT EDIT - regenerate with: bun scripts/generate.ts --service load-balancers
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
import * as stream from "effect/Stream";
|
|
8
9
|
import * as Schema from "effect/Schema";
|
|
9
10
|
import type * as HttpClient from "effect/unstable/http/HttpClient";
|
|
10
11
|
import * as API from "../client/api.ts";
|
|
@@ -419,33 +420,37 @@ export const GetLoadBalancerResponse =
|
|
|
419
420
|
),
|
|
420
421
|
ttl: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
421
422
|
zoneName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
422
|
-
})
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
423
|
+
})
|
|
424
|
+
.pipe(
|
|
425
|
+
Schema.encodeKeys({
|
|
426
|
+
id: "id",
|
|
427
|
+
adaptiveRouting: "adaptive_routing",
|
|
428
|
+
countryPools: "country_pools",
|
|
429
|
+
createdOn: "created_on",
|
|
430
|
+
defaultPools: "default_pools",
|
|
431
|
+
description: "description",
|
|
432
|
+
enabled: "enabled",
|
|
433
|
+
fallbackPool: "fallback_pool",
|
|
434
|
+
locationStrategy: "location_strategy",
|
|
435
|
+
modifiedOn: "modified_on",
|
|
436
|
+
name: "name",
|
|
437
|
+
networks: "networks",
|
|
438
|
+
popPools: "pop_pools",
|
|
439
|
+
proxied: "proxied",
|
|
440
|
+
randomSteering: "random_steering",
|
|
441
|
+
regionPools: "region_pools",
|
|
442
|
+
rules: "rules",
|
|
443
|
+
sessionAffinity: "session_affinity",
|
|
444
|
+
sessionAffinityAttributes: "session_affinity_attributes",
|
|
445
|
+
sessionAffinityTtl: "session_affinity_ttl",
|
|
446
|
+
steeringPolicy: "steering_policy",
|
|
447
|
+
ttl: "ttl",
|
|
448
|
+
zoneName: "zone_name",
|
|
449
|
+
}),
|
|
450
|
+
)
|
|
451
|
+
.pipe(
|
|
452
|
+
T.ResponsePath("result"),
|
|
453
|
+
) as unknown as Schema.Schema<GetLoadBalancerResponse>;
|
|
449
454
|
|
|
450
455
|
export type GetLoadBalancerError = DefaultErrors;
|
|
451
456
|
|
|
@@ -471,414 +476,540 @@ export const ListLoadBalancersRequest =
|
|
|
471
476
|
T.Http({ method: "GET", path: "/zones/{zone_id}/load_balancers" }),
|
|
472
477
|
) as unknown as Schema.Schema<ListLoadBalancersRequest>;
|
|
473
478
|
|
|
474
|
-
export
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
479
|
+
export interface ListLoadBalancersResponse {
|
|
480
|
+
result: {
|
|
481
|
+
id?: string | null;
|
|
482
|
+
adaptiveRouting?: { failoverAcrossPools?: boolean | null } | null;
|
|
483
|
+
countryPools?: Record<string, unknown> | null;
|
|
484
|
+
createdOn?: string | null;
|
|
485
|
+
defaultPools?: string[] | null;
|
|
486
|
+
description?: string | null;
|
|
487
|
+
enabled?: boolean | null;
|
|
488
|
+
fallbackPool?: string | null;
|
|
489
|
+
locationStrategy?: {
|
|
490
|
+
mode?: "pop" | "resolver_ip" | null;
|
|
491
|
+
preferEcs?: "always" | "never" | "proximity" | "geo" | null;
|
|
492
|
+
} | null;
|
|
493
|
+
modifiedOn?: string | null;
|
|
494
|
+
name?: string | null;
|
|
495
|
+
networks?: string[] | null;
|
|
496
|
+
popPools?: Record<string, unknown> | null;
|
|
497
|
+
proxied?: boolean | null;
|
|
498
|
+
randomSteering?: {
|
|
499
|
+
defaultWeight?: number | null;
|
|
500
|
+
poolWeights?: Record<string, unknown> | null;
|
|
501
|
+
} | null;
|
|
502
|
+
regionPools?: Record<string, unknown> | null;
|
|
503
|
+
rules?:
|
|
504
|
+
| {
|
|
505
|
+
condition?: string | null;
|
|
506
|
+
disabled?: boolean | null;
|
|
507
|
+
fixedResponse?: {
|
|
508
|
+
contentType?: string | null;
|
|
509
|
+
location?: string | null;
|
|
510
|
+
messageBody?: string | null;
|
|
511
|
+
statusCode?: number | null;
|
|
512
|
+
} | null;
|
|
513
|
+
name?: string | null;
|
|
514
|
+
overrides?: {
|
|
515
|
+
adaptiveRouting?: unknown | null;
|
|
516
|
+
countryPools?: Record<string, unknown> | null;
|
|
517
|
+
defaultPools?: string[] | null;
|
|
518
|
+
fallbackPool?: string | null;
|
|
519
|
+
locationStrategy?: unknown | null;
|
|
520
|
+
popPools?: Record<string, unknown> | null;
|
|
521
|
+
randomSteering?: unknown | null;
|
|
522
|
+
regionPools?: Record<string, unknown> | null;
|
|
523
|
+
sessionAffinity?: "none" | "cookie" | "ip_cookie" | "header" | null;
|
|
524
|
+
sessionAffinityAttributes?: unknown | null;
|
|
525
|
+
sessionAffinityTtl?: number | null;
|
|
526
|
+
steeringPolicy?:
|
|
527
|
+
| ""
|
|
528
|
+
| "off"
|
|
529
|
+
| "geo"
|
|
530
|
+
| "random"
|
|
531
|
+
| "dynamic_latency"
|
|
532
|
+
| "proximity"
|
|
533
|
+
| "least_outstanding_requests"
|
|
534
|
+
| "least_connections"
|
|
535
|
+
| null;
|
|
536
|
+
ttl?: number | null;
|
|
537
|
+
} | null;
|
|
538
|
+
priority?: number | null;
|
|
539
|
+
terminates?: boolean | null;
|
|
540
|
+
}[]
|
|
541
|
+
| null;
|
|
542
|
+
sessionAffinity?: "none" | "cookie" | "ip_cookie" | "header" | null;
|
|
543
|
+
sessionAffinityAttributes?: {
|
|
544
|
+
drainDuration?: number | null;
|
|
545
|
+
headers?: string[] | null;
|
|
546
|
+
requireAllHeaders?: boolean | null;
|
|
547
|
+
samesite?: "Auto" | "Lax" | "None" | "Strict" | null;
|
|
548
|
+
secure?: "Auto" | "Always" | "Never" | null;
|
|
549
|
+
zeroDowntimeFailover?: "none" | "temporary" | "sticky" | null;
|
|
550
|
+
} | null;
|
|
551
|
+
sessionAffinityTtl?: number | null;
|
|
552
|
+
steeringPolicy?:
|
|
553
|
+
| ""
|
|
554
|
+
| "off"
|
|
555
|
+
| "geo"
|
|
556
|
+
| "random"
|
|
557
|
+
| "dynamic_latency"
|
|
558
|
+
| "proximity"
|
|
559
|
+
| "least_outstanding_requests"
|
|
560
|
+
| "least_connections"
|
|
561
|
+
| null;
|
|
562
|
+
ttl?: number | null;
|
|
563
|
+
zoneName?: string | null;
|
|
564
|
+
}[];
|
|
565
|
+
}
|
|
559
566
|
|
|
560
567
|
export const ListLoadBalancersResponse =
|
|
561
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
562
|
-
Schema.
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
Schema.
|
|
566
|
-
Schema.
|
|
567
|
-
failoverAcrossPools: Schema.optional(
|
|
568
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
569
|
-
),
|
|
570
|
-
}).pipe(
|
|
571
|
-
Schema.encodeKeys({ failoverAcrossPools: "failover_across_pools" }),
|
|
572
|
-
),
|
|
573
|
-
Schema.Null,
|
|
574
|
-
]),
|
|
575
|
-
),
|
|
576
|
-
countryPools: Schema.optional(
|
|
577
|
-
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
578
|
-
),
|
|
579
|
-
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
580
|
-
defaultPools: Schema.optional(
|
|
581
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
582
|
-
),
|
|
583
|
-
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
584
|
-
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
585
|
-
fallbackPool: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
586
|
-
locationStrategy: Schema.optional(
|
|
587
|
-
Schema.Union([
|
|
588
|
-
Schema.Struct({
|
|
589
|
-
mode: Schema.optional(
|
|
590
|
-
Schema.Union([
|
|
591
|
-
Schema.Literals(["pop", "resolver_ip"]),
|
|
592
|
-
Schema.Null,
|
|
593
|
-
]),
|
|
594
|
-
),
|
|
595
|
-
preferEcs: Schema.optional(
|
|
596
|
-
Schema.Union([
|
|
597
|
-
Schema.Literals(["always", "never", "proximity", "geo"]),
|
|
598
|
-
Schema.Null,
|
|
599
|
-
]),
|
|
600
|
-
),
|
|
601
|
-
}).pipe(Schema.encodeKeys({ mode: "mode", preferEcs: "prefer_ecs" })),
|
|
602
|
-
Schema.Null,
|
|
603
|
-
]),
|
|
604
|
-
),
|
|
605
|
-
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
606
|
-
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
607
|
-
networks: Schema.optional(
|
|
608
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
609
|
-
),
|
|
610
|
-
popPools: Schema.optional(Schema.Union([Schema.Struct({}), Schema.Null])),
|
|
611
|
-
proxied: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
612
|
-
randomSteering: Schema.optional(
|
|
613
|
-
Schema.Union([
|
|
614
|
-
Schema.Struct({
|
|
615
|
-
defaultWeight: Schema.optional(
|
|
616
|
-
Schema.Union([Schema.Number, Schema.Null]),
|
|
617
|
-
),
|
|
618
|
-
poolWeights: Schema.optional(
|
|
619
|
-
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
620
|
-
),
|
|
621
|
-
}).pipe(
|
|
622
|
-
Schema.encodeKeys({
|
|
623
|
-
defaultWeight: "default_weight",
|
|
624
|
-
poolWeights: "pool_weights",
|
|
625
|
-
}),
|
|
626
|
-
),
|
|
627
|
-
Schema.Null,
|
|
628
|
-
]),
|
|
629
|
-
),
|
|
630
|
-
regionPools: Schema.optional(
|
|
631
|
-
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
632
|
-
),
|
|
633
|
-
rules: Schema.optional(
|
|
634
|
-
Schema.Union([
|
|
635
|
-
Schema.Array(
|
|
568
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
569
|
+
result: Schema.Array(
|
|
570
|
+
Schema.Struct({
|
|
571
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
572
|
+
adaptiveRouting: Schema.optional(
|
|
573
|
+
Schema.Union([
|
|
636
574
|
Schema.Struct({
|
|
637
|
-
|
|
638
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
639
|
-
),
|
|
640
|
-
disabled: Schema.optional(
|
|
575
|
+
failoverAcrossPools: Schema.optional(
|
|
641
576
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
642
577
|
),
|
|
643
|
-
|
|
578
|
+
}).pipe(
|
|
579
|
+
Schema.encodeKeys({
|
|
580
|
+
failoverAcrossPools: "failover_across_pools",
|
|
581
|
+
}),
|
|
582
|
+
),
|
|
583
|
+
Schema.Null,
|
|
584
|
+
]),
|
|
585
|
+
),
|
|
586
|
+
countryPools: Schema.optional(
|
|
587
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
588
|
+
),
|
|
589
|
+
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
590
|
+
defaultPools: Schema.optional(
|
|
591
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
592
|
+
),
|
|
593
|
+
description: Schema.optional(
|
|
594
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
595
|
+
),
|
|
596
|
+
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
597
|
+
fallbackPool: Schema.optional(
|
|
598
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
599
|
+
),
|
|
600
|
+
locationStrategy: Schema.optional(
|
|
601
|
+
Schema.Union([
|
|
602
|
+
Schema.Struct({
|
|
603
|
+
mode: Schema.optional(
|
|
644
604
|
Schema.Union([
|
|
645
|
-
Schema.
|
|
646
|
-
contentType: Schema.optional(
|
|
647
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
648
|
-
),
|
|
649
|
-
location: Schema.optional(
|
|
650
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
651
|
-
),
|
|
652
|
-
messageBody: Schema.optional(
|
|
653
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
654
|
-
),
|
|
655
|
-
statusCode: Schema.optional(
|
|
656
|
-
Schema.Union([Schema.Number, Schema.Null]),
|
|
657
|
-
),
|
|
658
|
-
}).pipe(
|
|
659
|
-
Schema.encodeKeys({
|
|
660
|
-
contentType: "content_type",
|
|
661
|
-
location: "location",
|
|
662
|
-
messageBody: "message_body",
|
|
663
|
-
statusCode: "status_code",
|
|
664
|
-
}),
|
|
665
|
-
),
|
|
605
|
+
Schema.Literals(["pop", "resolver_ip"]),
|
|
666
606
|
Schema.Null,
|
|
667
607
|
]),
|
|
668
608
|
),
|
|
669
|
-
|
|
670
|
-
overrides: Schema.optional(
|
|
609
|
+
preferEcs: Schema.optional(
|
|
671
610
|
Schema.Union([
|
|
672
|
-
Schema.
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
611
|
+
Schema.Literals(["always", "never", "proximity", "geo"]),
|
|
612
|
+
Schema.Null,
|
|
613
|
+
]),
|
|
614
|
+
),
|
|
615
|
+
}).pipe(
|
|
616
|
+
Schema.encodeKeys({ mode: "mode", preferEcs: "prefer_ecs" }),
|
|
617
|
+
),
|
|
618
|
+
Schema.Null,
|
|
619
|
+
]),
|
|
620
|
+
),
|
|
621
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
622
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
623
|
+
networks: Schema.optional(
|
|
624
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
625
|
+
),
|
|
626
|
+
popPools: Schema.optional(
|
|
627
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
628
|
+
),
|
|
629
|
+
proxied: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
630
|
+
randomSteering: Schema.optional(
|
|
631
|
+
Schema.Union([
|
|
632
|
+
Schema.Struct({
|
|
633
|
+
defaultWeight: Schema.optional(
|
|
634
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
635
|
+
),
|
|
636
|
+
poolWeights: Schema.optional(
|
|
637
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
638
|
+
),
|
|
639
|
+
}).pipe(
|
|
640
|
+
Schema.encodeKeys({
|
|
641
|
+
defaultWeight: "default_weight",
|
|
642
|
+
poolWeights: "pool_weights",
|
|
643
|
+
}),
|
|
644
|
+
),
|
|
645
|
+
Schema.Null,
|
|
646
|
+
]),
|
|
647
|
+
),
|
|
648
|
+
regionPools: Schema.optional(
|
|
649
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
650
|
+
),
|
|
651
|
+
rules: Schema.optional(
|
|
652
|
+
Schema.Union([
|
|
653
|
+
Schema.Array(
|
|
654
|
+
Schema.Struct({
|
|
655
|
+
condition: Schema.optional(
|
|
656
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
657
|
+
),
|
|
658
|
+
disabled: Schema.optional(
|
|
659
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
660
|
+
),
|
|
661
|
+
fixedResponse: Schema.optional(
|
|
662
|
+
Schema.Union([
|
|
663
|
+
Schema.Struct({
|
|
664
|
+
contentType: Schema.optional(
|
|
665
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
666
|
+
),
|
|
667
|
+
location: Schema.optional(
|
|
668
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
669
|
+
),
|
|
670
|
+
messageBody: Schema.optional(
|
|
671
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
672
|
+
),
|
|
673
|
+
statusCode: Schema.optional(
|
|
674
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
675
|
+
),
|
|
676
|
+
}).pipe(
|
|
677
|
+
Schema.encodeKeys({
|
|
678
|
+
contentType: "content_type",
|
|
679
|
+
location: "location",
|
|
680
|
+
messageBody: "message_body",
|
|
681
|
+
statusCode: "status_code",
|
|
682
|
+
}),
|
|
696
683
|
),
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
684
|
+
Schema.Null,
|
|
685
|
+
]),
|
|
686
|
+
),
|
|
687
|
+
name: Schema.optional(
|
|
688
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
689
|
+
),
|
|
690
|
+
overrides: Schema.optional(
|
|
691
|
+
Schema.Union([
|
|
692
|
+
Schema.Struct({
|
|
693
|
+
adaptiveRouting: Schema.optional(
|
|
694
|
+
Schema.Union([Schema.Unknown, Schema.Null]),
|
|
695
|
+
),
|
|
696
|
+
countryPools: Schema.optional(
|
|
697
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
698
|
+
),
|
|
699
|
+
defaultPools: Schema.optional(
|
|
700
|
+
Schema.Union([
|
|
701
|
+
Schema.Array(Schema.String),
|
|
702
|
+
Schema.Null,
|
|
704
703
|
]),
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
Schema.
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
Schema.
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
Schema.
|
|
716
|
-
Schema.
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
704
|
+
),
|
|
705
|
+
fallbackPool: Schema.optional(
|
|
706
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
707
|
+
),
|
|
708
|
+
locationStrategy: Schema.optional(
|
|
709
|
+
Schema.Union([Schema.Unknown, Schema.Null]),
|
|
710
|
+
),
|
|
711
|
+
popPools: Schema.optional(
|
|
712
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
713
|
+
),
|
|
714
|
+
randomSteering: Schema.optional(
|
|
715
|
+
Schema.Union([Schema.Unknown, Schema.Null]),
|
|
716
|
+
),
|
|
717
|
+
regionPools: Schema.optional(
|
|
718
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
719
|
+
),
|
|
720
|
+
sessionAffinity: Schema.optional(
|
|
721
|
+
Schema.Union([
|
|
722
|
+
Schema.Literals([
|
|
723
|
+
"none",
|
|
724
|
+
"cookie",
|
|
725
|
+
"ip_cookie",
|
|
726
|
+
"header",
|
|
727
|
+
]),
|
|
728
|
+
Schema.Null,
|
|
725
729
|
]),
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
Schema.
|
|
730
|
+
),
|
|
731
|
+
sessionAffinityAttributes: Schema.optional(
|
|
732
|
+
Schema.Union([Schema.Unknown, Schema.Null]),
|
|
733
|
+
),
|
|
734
|
+
sessionAffinityTtl: Schema.optional(
|
|
735
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
736
|
+
),
|
|
737
|
+
steeringPolicy: Schema.optional(
|
|
738
|
+
Schema.Union([
|
|
739
|
+
Schema.Literals([
|
|
740
|
+
"",
|
|
741
|
+
"off",
|
|
742
|
+
"geo",
|
|
743
|
+
"random",
|
|
744
|
+
"dynamic_latency",
|
|
745
|
+
"proximity",
|
|
746
|
+
"least_outstanding_requests",
|
|
747
|
+
"least_connections",
|
|
748
|
+
]),
|
|
749
|
+
Schema.Null,
|
|
750
|
+
]),
|
|
751
|
+
),
|
|
752
|
+
ttl: Schema.optional(
|
|
753
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
754
|
+
),
|
|
755
|
+
}).pipe(
|
|
756
|
+
Schema.encodeKeys({
|
|
757
|
+
adaptiveRouting: "adaptive_routing",
|
|
758
|
+
countryPools: "country_pools",
|
|
759
|
+
defaultPools: "default_pools",
|
|
760
|
+
fallbackPool: "fallback_pool",
|
|
761
|
+
locationStrategy: "location_strategy",
|
|
762
|
+
popPools: "pop_pools",
|
|
763
|
+
randomSteering: "random_steering",
|
|
764
|
+
regionPools: "region_pools",
|
|
765
|
+
sessionAffinity: "session_affinity",
|
|
766
|
+
sessionAffinityAttributes:
|
|
767
|
+
"session_affinity_attributes",
|
|
768
|
+
sessionAffinityTtl: "session_affinity_ttl",
|
|
769
|
+
steeringPolicy: "steering_policy",
|
|
770
|
+
ttl: "ttl",
|
|
771
|
+
}),
|
|
731
772
|
),
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
773
|
+
Schema.Null,
|
|
774
|
+
]),
|
|
775
|
+
),
|
|
776
|
+
priority: Schema.optional(
|
|
777
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
778
|
+
),
|
|
779
|
+
terminates: Schema.optional(
|
|
780
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
781
|
+
),
|
|
782
|
+
}).pipe(
|
|
783
|
+
Schema.encodeKeys({
|
|
784
|
+
condition: "condition",
|
|
785
|
+
disabled: "disabled",
|
|
786
|
+
fixedResponse: "fixed_response",
|
|
787
|
+
name: "name",
|
|
788
|
+
overrides: "overrides",
|
|
789
|
+
priority: "priority",
|
|
790
|
+
terminates: "terminates",
|
|
791
|
+
}),
|
|
751
792
|
),
|
|
752
|
-
|
|
793
|
+
),
|
|
794
|
+
Schema.Null,
|
|
795
|
+
]),
|
|
796
|
+
),
|
|
797
|
+
sessionAffinity: Schema.optional(
|
|
798
|
+
Schema.Union([
|
|
799
|
+
Schema.Literals(["none", "cookie", "ip_cookie", "header"]),
|
|
800
|
+
Schema.Null,
|
|
801
|
+
]),
|
|
802
|
+
),
|
|
803
|
+
sessionAffinityAttributes: Schema.optional(
|
|
804
|
+
Schema.Union([
|
|
805
|
+
Schema.Struct({
|
|
806
|
+
drainDuration: Schema.optional(
|
|
753
807
|
Schema.Union([Schema.Number, Schema.Null]),
|
|
754
808
|
),
|
|
755
|
-
|
|
809
|
+
headers: Schema.optional(
|
|
810
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
811
|
+
),
|
|
812
|
+
requireAllHeaders: Schema.optional(
|
|
756
813
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
757
814
|
),
|
|
815
|
+
samesite: Schema.optional(
|
|
816
|
+
Schema.Union([
|
|
817
|
+
Schema.Literals(["Auto", "Lax", "None", "Strict"]),
|
|
818
|
+
Schema.Null,
|
|
819
|
+
]),
|
|
820
|
+
),
|
|
821
|
+
secure: Schema.optional(
|
|
822
|
+
Schema.Union([
|
|
823
|
+
Schema.Literals(["Auto", "Always", "Never"]),
|
|
824
|
+
Schema.Null,
|
|
825
|
+
]),
|
|
826
|
+
),
|
|
827
|
+
zeroDowntimeFailover: Schema.optional(
|
|
828
|
+
Schema.Union([
|
|
829
|
+
Schema.Literals(["none", "temporary", "sticky"]),
|
|
830
|
+
Schema.Null,
|
|
831
|
+
]),
|
|
832
|
+
),
|
|
758
833
|
}).pipe(
|
|
759
834
|
Schema.encodeKeys({
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
terminates: "terminates",
|
|
835
|
+
drainDuration: "drain_duration",
|
|
836
|
+
headers: "headers",
|
|
837
|
+
requireAllHeaders: "require_all_headers",
|
|
838
|
+
samesite: "samesite",
|
|
839
|
+
secure: "secure",
|
|
840
|
+
zeroDowntimeFailover: "zero_downtime_failover",
|
|
767
841
|
}),
|
|
768
842
|
),
|
|
769
|
-
|
|
770
|
-
Schema.Null,
|
|
771
|
-
]),
|
|
772
|
-
),
|
|
773
|
-
sessionAffinity: Schema.optional(
|
|
774
|
-
Schema.Union([
|
|
775
|
-
Schema.Literals(["none", "cookie", "ip_cookie", "header"]),
|
|
776
|
-
Schema.Null,
|
|
777
|
-
]),
|
|
778
|
-
),
|
|
779
|
-
sessionAffinityAttributes: Schema.optional(
|
|
780
|
-
Schema.Union([
|
|
781
|
-
Schema.Struct({
|
|
782
|
-
drainDuration: Schema.optional(
|
|
783
|
-
Schema.Union([Schema.Number, Schema.Null]),
|
|
784
|
-
),
|
|
785
|
-
headers: Schema.optional(
|
|
786
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
787
|
-
),
|
|
788
|
-
requireAllHeaders: Schema.optional(
|
|
789
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
790
|
-
),
|
|
791
|
-
samesite: Schema.optional(
|
|
792
|
-
Schema.Union([
|
|
793
|
-
Schema.Literals(["Auto", "Lax", "None", "Strict"]),
|
|
794
|
-
Schema.Null,
|
|
795
|
-
]),
|
|
796
|
-
),
|
|
797
|
-
secure: Schema.optional(
|
|
798
|
-
Schema.Union([
|
|
799
|
-
Schema.Literals(["Auto", "Always", "Never"]),
|
|
800
|
-
Schema.Null,
|
|
801
|
-
]),
|
|
802
|
-
),
|
|
803
|
-
zeroDowntimeFailover: Schema.optional(
|
|
804
|
-
Schema.Union([
|
|
805
|
-
Schema.Literals(["none", "temporary", "sticky"]),
|
|
806
|
-
Schema.Null,
|
|
807
|
-
]),
|
|
808
|
-
),
|
|
809
|
-
}).pipe(
|
|
810
|
-
Schema.encodeKeys({
|
|
811
|
-
drainDuration: "drain_duration",
|
|
812
|
-
headers: "headers",
|
|
813
|
-
requireAllHeaders: "require_all_headers",
|
|
814
|
-
samesite: "samesite",
|
|
815
|
-
secure: "secure",
|
|
816
|
-
zeroDowntimeFailover: "zero_downtime_failover",
|
|
817
|
-
}),
|
|
818
|
-
),
|
|
819
|
-
Schema.Null,
|
|
820
|
-
]),
|
|
821
|
-
),
|
|
822
|
-
sessionAffinityTtl: Schema.optional(
|
|
823
|
-
Schema.Union([Schema.Number, Schema.Null]),
|
|
824
|
-
),
|
|
825
|
-
steeringPolicy: Schema.optional(
|
|
826
|
-
Schema.Union([
|
|
827
|
-
Schema.Literals([
|
|
828
|
-
"",
|
|
829
|
-
"off",
|
|
830
|
-
"geo",
|
|
831
|
-
"random",
|
|
832
|
-
"dynamic_latency",
|
|
833
|
-
"proximity",
|
|
834
|
-
"least_outstanding_requests",
|
|
835
|
-
"least_connections",
|
|
843
|
+
Schema.Null,
|
|
836
844
|
]),
|
|
837
|
-
|
|
838
|
-
|
|
845
|
+
),
|
|
846
|
+
sessionAffinityTtl: Schema.optional(
|
|
847
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
848
|
+
),
|
|
849
|
+
steeringPolicy: Schema.optional(
|
|
850
|
+
Schema.Union([
|
|
851
|
+
Schema.Literals([
|
|
852
|
+
"",
|
|
853
|
+
"off",
|
|
854
|
+
"geo",
|
|
855
|
+
"random",
|
|
856
|
+
"dynamic_latency",
|
|
857
|
+
"proximity",
|
|
858
|
+
"least_outstanding_requests",
|
|
859
|
+
"least_connections",
|
|
860
|
+
]),
|
|
861
|
+
Schema.Null,
|
|
862
|
+
]),
|
|
863
|
+
),
|
|
864
|
+
ttl: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
865
|
+
zoneName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
866
|
+
}).pipe(
|
|
867
|
+
Schema.encodeKeys({
|
|
868
|
+
id: "id",
|
|
869
|
+
adaptiveRouting: "adaptive_routing",
|
|
870
|
+
countryPools: "country_pools",
|
|
871
|
+
createdOn: "created_on",
|
|
872
|
+
defaultPools: "default_pools",
|
|
873
|
+
description: "description",
|
|
874
|
+
enabled: "enabled",
|
|
875
|
+
fallbackPool: "fallback_pool",
|
|
876
|
+
locationStrategy: "location_strategy",
|
|
877
|
+
modifiedOn: "modified_on",
|
|
878
|
+
name: "name",
|
|
879
|
+
networks: "networks",
|
|
880
|
+
popPools: "pop_pools",
|
|
881
|
+
proxied: "proxied",
|
|
882
|
+
randomSteering: "random_steering",
|
|
883
|
+
regionPools: "region_pools",
|
|
884
|
+
rules: "rules",
|
|
885
|
+
sessionAffinity: "session_affinity",
|
|
886
|
+
sessionAffinityAttributes: "session_affinity_attributes",
|
|
887
|
+
sessionAffinityTtl: "session_affinity_ttl",
|
|
888
|
+
steeringPolicy: "steering_policy",
|
|
889
|
+
ttl: "ttl",
|
|
890
|
+
zoneName: "zone_name",
|
|
891
|
+
}),
|
|
839
892
|
),
|
|
840
|
-
ttl: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
841
|
-
zoneName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
842
|
-
}).pipe(
|
|
843
|
-
Schema.encodeKeys({
|
|
844
|
-
id: "id",
|
|
845
|
-
adaptiveRouting: "adaptive_routing",
|
|
846
|
-
countryPools: "country_pools",
|
|
847
|
-
createdOn: "created_on",
|
|
848
|
-
defaultPools: "default_pools",
|
|
849
|
-
description: "description",
|
|
850
|
-
enabled: "enabled",
|
|
851
|
-
fallbackPool: "fallback_pool",
|
|
852
|
-
locationStrategy: "location_strategy",
|
|
853
|
-
modifiedOn: "modified_on",
|
|
854
|
-
name: "name",
|
|
855
|
-
networks: "networks",
|
|
856
|
-
popPools: "pop_pools",
|
|
857
|
-
proxied: "proxied",
|
|
858
|
-
randomSteering: "random_steering",
|
|
859
|
-
regionPools: "region_pools",
|
|
860
|
-
rules: "rules",
|
|
861
|
-
sessionAffinity: "session_affinity",
|
|
862
|
-
sessionAffinityAttributes: "session_affinity_attributes",
|
|
863
|
-
sessionAffinityTtl: "session_affinity_ttl",
|
|
864
|
-
steeringPolicy: "steering_policy",
|
|
865
|
-
ttl: "ttl",
|
|
866
|
-
zoneName: "zone_name",
|
|
867
|
-
}),
|
|
868
893
|
),
|
|
869
|
-
) as unknown as Schema.Schema<ListLoadBalancersResponse>;
|
|
894
|
+
}) as unknown as Schema.Schema<ListLoadBalancersResponse>;
|
|
870
895
|
|
|
871
896
|
export type ListLoadBalancersError = DefaultErrors;
|
|
872
897
|
|
|
873
|
-
export const listLoadBalancers: API.
|
|
898
|
+
export const listLoadBalancers: API.PaginatedOperationMethod<
|
|
874
899
|
ListLoadBalancersRequest,
|
|
875
900
|
ListLoadBalancersResponse,
|
|
876
901
|
ListLoadBalancersError,
|
|
877
902
|
Credentials | HttpClient.HttpClient
|
|
878
|
-
>
|
|
903
|
+
> & {
|
|
904
|
+
pages: (
|
|
905
|
+
input: ListLoadBalancersRequest,
|
|
906
|
+
) => stream.Stream<
|
|
907
|
+
ListLoadBalancersResponse,
|
|
908
|
+
ListLoadBalancersError,
|
|
909
|
+
Credentials | HttpClient.HttpClient
|
|
910
|
+
>;
|
|
911
|
+
items: (input: ListLoadBalancersRequest) => stream.Stream<
|
|
912
|
+
{
|
|
913
|
+
id?: string | null;
|
|
914
|
+
adaptiveRouting?: { failoverAcrossPools?: boolean | null } | null;
|
|
915
|
+
countryPools?: Record<string, unknown> | null;
|
|
916
|
+
createdOn?: string | null;
|
|
917
|
+
defaultPools?: string[] | null;
|
|
918
|
+
description?: string | null;
|
|
919
|
+
enabled?: boolean | null;
|
|
920
|
+
fallbackPool?: string | null;
|
|
921
|
+
locationStrategy?: {
|
|
922
|
+
mode?: "pop" | "resolver_ip" | null;
|
|
923
|
+
preferEcs?: "always" | "never" | "proximity" | "geo" | null;
|
|
924
|
+
} | null;
|
|
925
|
+
modifiedOn?: string | null;
|
|
926
|
+
name?: string | null;
|
|
927
|
+
networks?: string[] | null;
|
|
928
|
+
popPools?: Record<string, unknown> | null;
|
|
929
|
+
proxied?: boolean | null;
|
|
930
|
+
randomSteering?: {
|
|
931
|
+
defaultWeight?: number | null;
|
|
932
|
+
poolWeights?: Record<string, unknown> | null;
|
|
933
|
+
} | null;
|
|
934
|
+
regionPools?: Record<string, unknown> | null;
|
|
935
|
+
rules?:
|
|
936
|
+
| {
|
|
937
|
+
condition?: string | null;
|
|
938
|
+
disabled?: boolean | null;
|
|
939
|
+
fixedResponse?: {
|
|
940
|
+
contentType?: string | null;
|
|
941
|
+
location?: string | null;
|
|
942
|
+
messageBody?: string | null;
|
|
943
|
+
statusCode?: number | null;
|
|
944
|
+
} | null;
|
|
945
|
+
name?: string | null;
|
|
946
|
+
overrides?: {
|
|
947
|
+
adaptiveRouting?: unknown | null;
|
|
948
|
+
countryPools?: Record<string, unknown> | null;
|
|
949
|
+
defaultPools?: string[] | null;
|
|
950
|
+
fallbackPool?: string | null;
|
|
951
|
+
locationStrategy?: unknown | null;
|
|
952
|
+
popPools?: Record<string, unknown> | null;
|
|
953
|
+
randomSteering?: unknown | null;
|
|
954
|
+
regionPools?: Record<string, unknown> | null;
|
|
955
|
+
sessionAffinity?:
|
|
956
|
+
| "none"
|
|
957
|
+
| "cookie"
|
|
958
|
+
| "ip_cookie"
|
|
959
|
+
| "header"
|
|
960
|
+
| null;
|
|
961
|
+
sessionAffinityAttributes?: unknown | null;
|
|
962
|
+
sessionAffinityTtl?: number | null;
|
|
963
|
+
steeringPolicy?:
|
|
964
|
+
| ""
|
|
965
|
+
| "off"
|
|
966
|
+
| "geo"
|
|
967
|
+
| "random"
|
|
968
|
+
| "dynamic_latency"
|
|
969
|
+
| "proximity"
|
|
970
|
+
| "least_outstanding_requests"
|
|
971
|
+
| "least_connections"
|
|
972
|
+
| null;
|
|
973
|
+
ttl?: number | null;
|
|
974
|
+
} | null;
|
|
975
|
+
priority?: number | null;
|
|
976
|
+
terminates?: boolean | null;
|
|
977
|
+
}[]
|
|
978
|
+
| null;
|
|
979
|
+
sessionAffinity?: "none" | "cookie" | "ip_cookie" | "header" | null;
|
|
980
|
+
sessionAffinityAttributes?: {
|
|
981
|
+
drainDuration?: number | null;
|
|
982
|
+
headers?: string[] | null;
|
|
983
|
+
requireAllHeaders?: boolean | null;
|
|
984
|
+
samesite?: "Auto" | "Lax" | "None" | "Strict" | null;
|
|
985
|
+
secure?: "Auto" | "Always" | "Never" | null;
|
|
986
|
+
zeroDowntimeFailover?: "none" | "temporary" | "sticky" | null;
|
|
987
|
+
} | null;
|
|
988
|
+
sessionAffinityTtl?: number | null;
|
|
989
|
+
steeringPolicy?:
|
|
990
|
+
| ""
|
|
991
|
+
| "off"
|
|
992
|
+
| "geo"
|
|
993
|
+
| "random"
|
|
994
|
+
| "dynamic_latency"
|
|
995
|
+
| "proximity"
|
|
996
|
+
| "least_outstanding_requests"
|
|
997
|
+
| "least_connections"
|
|
998
|
+
| null;
|
|
999
|
+
ttl?: number | null;
|
|
1000
|
+
zoneName?: string | null;
|
|
1001
|
+
},
|
|
1002
|
+
ListLoadBalancersError,
|
|
1003
|
+
Credentials | HttpClient.HttpClient
|
|
1004
|
+
>;
|
|
1005
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
879
1006
|
input: ListLoadBalancersRequest,
|
|
880
1007
|
output: ListLoadBalancersResponse,
|
|
881
1008
|
errors: [],
|
|
1009
|
+
pagination: {
|
|
1010
|
+
mode: "single",
|
|
1011
|
+
items: "result",
|
|
1012
|
+
} as const,
|
|
882
1013
|
}));
|
|
883
1014
|
|
|
884
1015
|
export interface CreateLoadBalancerRequest {
|
|
@@ -1548,33 +1679,37 @@ export const CreateLoadBalancerResponse =
|
|
|
1548
1679
|
),
|
|
1549
1680
|
ttl: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1550
1681
|
zoneName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1551
|
-
})
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1682
|
+
})
|
|
1683
|
+
.pipe(
|
|
1684
|
+
Schema.encodeKeys({
|
|
1685
|
+
id: "id",
|
|
1686
|
+
adaptiveRouting: "adaptive_routing",
|
|
1687
|
+
countryPools: "country_pools",
|
|
1688
|
+
createdOn: "created_on",
|
|
1689
|
+
defaultPools: "default_pools",
|
|
1690
|
+
description: "description",
|
|
1691
|
+
enabled: "enabled",
|
|
1692
|
+
fallbackPool: "fallback_pool",
|
|
1693
|
+
locationStrategy: "location_strategy",
|
|
1694
|
+
modifiedOn: "modified_on",
|
|
1695
|
+
name: "name",
|
|
1696
|
+
networks: "networks",
|
|
1697
|
+
popPools: "pop_pools",
|
|
1698
|
+
proxied: "proxied",
|
|
1699
|
+
randomSteering: "random_steering",
|
|
1700
|
+
regionPools: "region_pools",
|
|
1701
|
+
rules: "rules",
|
|
1702
|
+
sessionAffinity: "session_affinity",
|
|
1703
|
+
sessionAffinityAttributes: "session_affinity_attributes",
|
|
1704
|
+
sessionAffinityTtl: "session_affinity_ttl",
|
|
1705
|
+
steeringPolicy: "steering_policy",
|
|
1706
|
+
ttl: "ttl",
|
|
1707
|
+
zoneName: "zone_name",
|
|
1708
|
+
}),
|
|
1709
|
+
)
|
|
1710
|
+
.pipe(
|
|
1711
|
+
T.ResponsePath("result"),
|
|
1712
|
+
) as unknown as Schema.Schema<CreateLoadBalancerResponse>;
|
|
1578
1713
|
|
|
1579
1714
|
export type CreateLoadBalancerError = DefaultErrors;
|
|
1580
1715
|
|
|
@@ -2265,33 +2400,37 @@ export const UpdateLoadBalancerResponse =
|
|
|
2265
2400
|
),
|
|
2266
2401
|
ttl: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2267
2402
|
zoneName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2268
|
-
})
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2403
|
+
})
|
|
2404
|
+
.pipe(
|
|
2405
|
+
Schema.encodeKeys({
|
|
2406
|
+
id: "id",
|
|
2407
|
+
adaptiveRouting: "adaptive_routing",
|
|
2408
|
+
countryPools: "country_pools",
|
|
2409
|
+
createdOn: "created_on",
|
|
2410
|
+
defaultPools: "default_pools",
|
|
2411
|
+
description: "description",
|
|
2412
|
+
enabled: "enabled",
|
|
2413
|
+
fallbackPool: "fallback_pool",
|
|
2414
|
+
locationStrategy: "location_strategy",
|
|
2415
|
+
modifiedOn: "modified_on",
|
|
2416
|
+
name: "name",
|
|
2417
|
+
networks: "networks",
|
|
2418
|
+
popPools: "pop_pools",
|
|
2419
|
+
proxied: "proxied",
|
|
2420
|
+
randomSteering: "random_steering",
|
|
2421
|
+
regionPools: "region_pools",
|
|
2422
|
+
rules: "rules",
|
|
2423
|
+
sessionAffinity: "session_affinity",
|
|
2424
|
+
sessionAffinityAttributes: "session_affinity_attributes",
|
|
2425
|
+
sessionAffinityTtl: "session_affinity_ttl",
|
|
2426
|
+
steeringPolicy: "steering_policy",
|
|
2427
|
+
ttl: "ttl",
|
|
2428
|
+
zoneName: "zone_name",
|
|
2429
|
+
}),
|
|
2430
|
+
)
|
|
2431
|
+
.pipe(
|
|
2432
|
+
T.ResponsePath("result"),
|
|
2433
|
+
) as unknown as Schema.Schema<UpdateLoadBalancerResponse>;
|
|
2295
2434
|
|
|
2296
2435
|
export type UpdateLoadBalancerError = DefaultErrors;
|
|
2297
2436
|
|
|
@@ -2978,33 +3117,37 @@ export const PatchLoadBalancerResponse =
|
|
|
2978
3117
|
),
|
|
2979
3118
|
ttl: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2980
3119
|
zoneName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2981
|
-
})
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3120
|
+
})
|
|
3121
|
+
.pipe(
|
|
3122
|
+
Schema.encodeKeys({
|
|
3123
|
+
id: "id",
|
|
3124
|
+
adaptiveRouting: "adaptive_routing",
|
|
3125
|
+
countryPools: "country_pools",
|
|
3126
|
+
createdOn: "created_on",
|
|
3127
|
+
defaultPools: "default_pools",
|
|
3128
|
+
description: "description",
|
|
3129
|
+
enabled: "enabled",
|
|
3130
|
+
fallbackPool: "fallback_pool",
|
|
3131
|
+
locationStrategy: "location_strategy",
|
|
3132
|
+
modifiedOn: "modified_on",
|
|
3133
|
+
name: "name",
|
|
3134
|
+
networks: "networks",
|
|
3135
|
+
popPools: "pop_pools",
|
|
3136
|
+
proxied: "proxied",
|
|
3137
|
+
randomSteering: "random_steering",
|
|
3138
|
+
regionPools: "region_pools",
|
|
3139
|
+
rules: "rules",
|
|
3140
|
+
sessionAffinity: "session_affinity",
|
|
3141
|
+
sessionAffinityAttributes: "session_affinity_attributes",
|
|
3142
|
+
sessionAffinityTtl: "session_affinity_ttl",
|
|
3143
|
+
steeringPolicy: "steering_policy",
|
|
3144
|
+
ttl: "ttl",
|
|
3145
|
+
zoneName: "zone_name",
|
|
3146
|
+
}),
|
|
3147
|
+
)
|
|
3148
|
+
.pipe(
|
|
3149
|
+
T.ResponsePath("result"),
|
|
3150
|
+
) as unknown as Schema.Schema<PatchLoadBalancerResponse>;
|
|
3008
3151
|
|
|
3009
3152
|
export type PatchLoadBalancerError = DefaultErrors;
|
|
3010
3153
|
|
|
@@ -3042,7 +3185,9 @@ export interface DeleteLoadBalancerResponse {
|
|
|
3042
3185
|
export const DeleteLoadBalancerResponse =
|
|
3043
3186
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3044
3187
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3045
|
-
})
|
|
3188
|
+
}).pipe(
|
|
3189
|
+
T.ResponsePath("result"),
|
|
3190
|
+
) as unknown as Schema.Schema<DeleteLoadBalancerResponse>;
|
|
3046
3191
|
|
|
3047
3192
|
export type DeleteLoadBalancerError = DefaultErrors;
|
|
3048
3193
|
|
|
@@ -3131,133 +3276,24 @@ export const GetMonitorResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3131
3276
|
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3132
3277
|
path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3133
3278
|
port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3134
|
-
probeZone: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3135
|
-
retries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3136
|
-
timeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3137
|
-
type: Schema.optional(
|
|
3138
|
-
Schema.Union([
|
|
3139
|
-
Schema.Literals([
|
|
3140
|
-
"http",
|
|
3141
|
-
"https",
|
|
3142
|
-
"tcp",
|
|
3143
|
-
"udp_icmp",
|
|
3144
|
-
"icmp_ping",
|
|
3145
|
-
"smtp",
|
|
3146
|
-
]),
|
|
3147
|
-
Schema.Null,
|
|
3148
|
-
]),
|
|
3149
|
-
),
|
|
3150
|
-
}).pipe(
|
|
3151
|
-
Schema.encodeKeys({
|
|
3152
|
-
id: "id",
|
|
3153
|
-
allowInsecure: "allow_insecure",
|
|
3154
|
-
consecutiveDown: "consecutive_down",
|
|
3155
|
-
consecutiveUp: "consecutive_up",
|
|
3156
|
-
createdOn: "created_on",
|
|
3157
|
-
description: "description",
|
|
3158
|
-
expectedBody: "expected_body",
|
|
3159
|
-
expectedCodes: "expected_codes",
|
|
3160
|
-
followRedirects: "follow_redirects",
|
|
3161
|
-
header: "header",
|
|
3162
|
-
interval: "interval",
|
|
3163
|
-
method: "method",
|
|
3164
|
-
modifiedOn: "modified_on",
|
|
3165
|
-
path: "path",
|
|
3166
|
-
port: "port",
|
|
3167
|
-
probeZone: "probe_zone",
|
|
3168
|
-
retries: "retries",
|
|
3169
|
-
timeout: "timeout",
|
|
3170
|
-
type: "type",
|
|
3171
|
-
}),
|
|
3172
|
-
) as unknown as Schema.Schema<GetMonitorResponse>;
|
|
3173
|
-
|
|
3174
|
-
export type GetMonitorError = DefaultErrors;
|
|
3175
|
-
|
|
3176
|
-
export const getMonitor: API.OperationMethod<
|
|
3177
|
-
GetMonitorRequest,
|
|
3178
|
-
GetMonitorResponse,
|
|
3179
|
-
GetMonitorError,
|
|
3180
|
-
Credentials | HttpClient.HttpClient
|
|
3181
|
-
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
3182
|
-
input: GetMonitorRequest,
|
|
3183
|
-
output: GetMonitorResponse,
|
|
3184
|
-
errors: [],
|
|
3185
|
-
}));
|
|
3186
|
-
|
|
3187
|
-
export interface ListMonitorsRequest {
|
|
3188
|
-
/** Identifier. */
|
|
3189
|
-
accountId: string;
|
|
3190
|
-
}
|
|
3191
|
-
|
|
3192
|
-
export const ListMonitorsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3193
|
-
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3194
|
-
}).pipe(
|
|
3195
|
-
T.Http({
|
|
3196
|
-
method: "GET",
|
|
3197
|
-
path: "/accounts/{account_id}/load_balancers/monitors",
|
|
3198
|
-
}),
|
|
3199
|
-
) as unknown as Schema.Schema<ListMonitorsRequest>;
|
|
3200
|
-
|
|
3201
|
-
export type ListMonitorsResponse = {
|
|
3202
|
-
id?: string | null;
|
|
3203
|
-
allowInsecure?: boolean | null;
|
|
3204
|
-
consecutiveDown?: number | null;
|
|
3205
|
-
consecutiveUp?: number | null;
|
|
3206
|
-
createdOn?: string | null;
|
|
3207
|
-
description?: string | null;
|
|
3208
|
-
expectedBody?: string | null;
|
|
3209
|
-
expectedCodes?: string | null;
|
|
3210
|
-
followRedirects?: boolean | null;
|
|
3211
|
-
header?: Record<string, unknown> | null;
|
|
3212
|
-
interval?: number | null;
|
|
3213
|
-
method?: string | null;
|
|
3214
|
-
modifiedOn?: string | null;
|
|
3215
|
-
path?: string | null;
|
|
3216
|
-
port?: number | null;
|
|
3217
|
-
probeZone?: string | null;
|
|
3218
|
-
retries?: number | null;
|
|
3219
|
-
timeout?: number | null;
|
|
3220
|
-
type?: "http" | "https" | "tcp" | "udp_icmp" | "icmp_ping" | "smtp" | null;
|
|
3221
|
-
}[];
|
|
3222
|
-
|
|
3223
|
-
export const ListMonitorsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
3224
|
-
Schema.Struct({
|
|
3225
|
-
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3226
|
-
allowInsecure: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
3227
|
-
consecutiveDown: Schema.optional(
|
|
3228
|
-
Schema.Union([Schema.Number, Schema.Null]),
|
|
3229
|
-
),
|
|
3230
|
-
consecutiveUp: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3231
|
-
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3232
|
-
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3233
|
-
expectedBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3234
|
-
expectedCodes: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3235
|
-
followRedirects: Schema.optional(
|
|
3236
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
3237
|
-
),
|
|
3238
|
-
header: Schema.optional(Schema.Union([Schema.Struct({}), Schema.Null])),
|
|
3239
|
-
interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3240
|
-
method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3241
|
-
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3242
|
-
path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3243
|
-
port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3244
|
-
probeZone: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3245
|
-
retries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3246
|
-
timeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3247
|
-
type: Schema.optional(
|
|
3248
|
-
Schema.Union([
|
|
3249
|
-
Schema.Literals([
|
|
3250
|
-
"http",
|
|
3251
|
-
"https",
|
|
3252
|
-
"tcp",
|
|
3253
|
-
"udp_icmp",
|
|
3254
|
-
"icmp_ping",
|
|
3255
|
-
"smtp",
|
|
3256
|
-
]),
|
|
3257
|
-
Schema.Null,
|
|
3279
|
+
probeZone: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3280
|
+
retries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3281
|
+
timeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3282
|
+
type: Schema.optional(
|
|
3283
|
+
Schema.Union([
|
|
3284
|
+
Schema.Literals([
|
|
3285
|
+
"http",
|
|
3286
|
+
"https",
|
|
3287
|
+
"tcp",
|
|
3288
|
+
"udp_icmp",
|
|
3289
|
+
"icmp_ping",
|
|
3290
|
+
"smtp",
|
|
3258
3291
|
]),
|
|
3259
|
-
|
|
3260
|
-
|
|
3292
|
+
Schema.Null,
|
|
3293
|
+
]),
|
|
3294
|
+
),
|
|
3295
|
+
})
|
|
3296
|
+
.pipe(
|
|
3261
3297
|
Schema.encodeKeys({
|
|
3262
3298
|
id: "id",
|
|
3263
3299
|
allowInsecure: "allow_insecure",
|
|
@@ -3279,20 +3315,187 @@ export const ListMonitorsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
|
3279
3315
|
timeout: "timeout",
|
|
3280
3316
|
type: "type",
|
|
3281
3317
|
}),
|
|
3318
|
+
)
|
|
3319
|
+
.pipe(
|
|
3320
|
+
T.ResponsePath("result"),
|
|
3321
|
+
) as unknown as Schema.Schema<GetMonitorResponse>;
|
|
3322
|
+
|
|
3323
|
+
export type GetMonitorError = DefaultErrors;
|
|
3324
|
+
|
|
3325
|
+
export const getMonitor: API.OperationMethod<
|
|
3326
|
+
GetMonitorRequest,
|
|
3327
|
+
GetMonitorResponse,
|
|
3328
|
+
GetMonitorError,
|
|
3329
|
+
Credentials | HttpClient.HttpClient
|
|
3330
|
+
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
3331
|
+
input: GetMonitorRequest,
|
|
3332
|
+
output: GetMonitorResponse,
|
|
3333
|
+
errors: [],
|
|
3334
|
+
}));
|
|
3335
|
+
|
|
3336
|
+
export interface ListMonitorsRequest {
|
|
3337
|
+
/** Identifier. */
|
|
3338
|
+
accountId: string;
|
|
3339
|
+
}
|
|
3340
|
+
|
|
3341
|
+
export const ListMonitorsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3342
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3343
|
+
}).pipe(
|
|
3344
|
+
T.Http({
|
|
3345
|
+
method: "GET",
|
|
3346
|
+
path: "/accounts/{account_id}/load_balancers/monitors",
|
|
3347
|
+
}),
|
|
3348
|
+
) as unknown as Schema.Schema<ListMonitorsRequest>;
|
|
3349
|
+
|
|
3350
|
+
export interface ListMonitorsResponse {
|
|
3351
|
+
result: {
|
|
3352
|
+
id?: string | null;
|
|
3353
|
+
allowInsecure?: boolean | null;
|
|
3354
|
+
consecutiveDown?: number | null;
|
|
3355
|
+
consecutiveUp?: number | null;
|
|
3356
|
+
createdOn?: string | null;
|
|
3357
|
+
description?: string | null;
|
|
3358
|
+
expectedBody?: string | null;
|
|
3359
|
+
expectedCodes?: string | null;
|
|
3360
|
+
followRedirects?: boolean | null;
|
|
3361
|
+
header?: Record<string, unknown> | null;
|
|
3362
|
+
interval?: number | null;
|
|
3363
|
+
method?: string | null;
|
|
3364
|
+
modifiedOn?: string | null;
|
|
3365
|
+
path?: string | null;
|
|
3366
|
+
port?: number | null;
|
|
3367
|
+
probeZone?: string | null;
|
|
3368
|
+
retries?: number | null;
|
|
3369
|
+
timeout?: number | null;
|
|
3370
|
+
type?: "http" | "https" | "tcp" | "udp_icmp" | "icmp_ping" | "smtp" | null;
|
|
3371
|
+
}[];
|
|
3372
|
+
}
|
|
3373
|
+
|
|
3374
|
+
export const ListMonitorsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3375
|
+
result: Schema.Array(
|
|
3376
|
+
Schema.Struct({
|
|
3377
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3378
|
+
allowInsecure: Schema.optional(
|
|
3379
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
3380
|
+
),
|
|
3381
|
+
consecutiveDown: Schema.optional(
|
|
3382
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
3383
|
+
),
|
|
3384
|
+
consecutiveUp: Schema.optional(
|
|
3385
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
3386
|
+
),
|
|
3387
|
+
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3388
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3389
|
+
expectedBody: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3390
|
+
expectedCodes: Schema.optional(
|
|
3391
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
3392
|
+
),
|
|
3393
|
+
followRedirects: Schema.optional(
|
|
3394
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
3395
|
+
),
|
|
3396
|
+
header: Schema.optional(Schema.Union([Schema.Struct({}), Schema.Null])),
|
|
3397
|
+
interval: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3398
|
+
method: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3399
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3400
|
+
path: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3401
|
+
port: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3402
|
+
probeZone: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3403
|
+
retries: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3404
|
+
timeout: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
3405
|
+
type: Schema.optional(
|
|
3406
|
+
Schema.Union([
|
|
3407
|
+
Schema.Literals([
|
|
3408
|
+
"http",
|
|
3409
|
+
"https",
|
|
3410
|
+
"tcp",
|
|
3411
|
+
"udp_icmp",
|
|
3412
|
+
"icmp_ping",
|
|
3413
|
+
"smtp",
|
|
3414
|
+
]),
|
|
3415
|
+
Schema.Null,
|
|
3416
|
+
]),
|
|
3417
|
+
),
|
|
3418
|
+
}).pipe(
|
|
3419
|
+
Schema.encodeKeys({
|
|
3420
|
+
id: "id",
|
|
3421
|
+
allowInsecure: "allow_insecure",
|
|
3422
|
+
consecutiveDown: "consecutive_down",
|
|
3423
|
+
consecutiveUp: "consecutive_up",
|
|
3424
|
+
createdOn: "created_on",
|
|
3425
|
+
description: "description",
|
|
3426
|
+
expectedBody: "expected_body",
|
|
3427
|
+
expectedCodes: "expected_codes",
|
|
3428
|
+
followRedirects: "follow_redirects",
|
|
3429
|
+
header: "header",
|
|
3430
|
+
interval: "interval",
|
|
3431
|
+
method: "method",
|
|
3432
|
+
modifiedOn: "modified_on",
|
|
3433
|
+
path: "path",
|
|
3434
|
+
port: "port",
|
|
3435
|
+
probeZone: "probe_zone",
|
|
3436
|
+
retries: "retries",
|
|
3437
|
+
timeout: "timeout",
|
|
3438
|
+
type: "type",
|
|
3439
|
+
}),
|
|
3440
|
+
),
|
|
3282
3441
|
),
|
|
3283
|
-
) as unknown as Schema.Schema<ListMonitorsResponse>;
|
|
3442
|
+
}) as unknown as Schema.Schema<ListMonitorsResponse>;
|
|
3284
3443
|
|
|
3285
3444
|
export type ListMonitorsError = DefaultErrors;
|
|
3286
3445
|
|
|
3287
|
-
export const listMonitors: API.
|
|
3446
|
+
export const listMonitors: API.PaginatedOperationMethod<
|
|
3288
3447
|
ListMonitorsRequest,
|
|
3289
3448
|
ListMonitorsResponse,
|
|
3290
3449
|
ListMonitorsError,
|
|
3291
3450
|
Credentials | HttpClient.HttpClient
|
|
3292
|
-
>
|
|
3451
|
+
> & {
|
|
3452
|
+
pages: (
|
|
3453
|
+
input: ListMonitorsRequest,
|
|
3454
|
+
) => stream.Stream<
|
|
3455
|
+
ListMonitorsResponse,
|
|
3456
|
+
ListMonitorsError,
|
|
3457
|
+
Credentials | HttpClient.HttpClient
|
|
3458
|
+
>;
|
|
3459
|
+
items: (input: ListMonitorsRequest) => stream.Stream<
|
|
3460
|
+
{
|
|
3461
|
+
id?: string | null;
|
|
3462
|
+
allowInsecure?: boolean | null;
|
|
3463
|
+
consecutiveDown?: number | null;
|
|
3464
|
+
consecutiveUp?: number | null;
|
|
3465
|
+
createdOn?: string | null;
|
|
3466
|
+
description?: string | null;
|
|
3467
|
+
expectedBody?: string | null;
|
|
3468
|
+
expectedCodes?: string | null;
|
|
3469
|
+
followRedirects?: boolean | null;
|
|
3470
|
+
header?: Record<string, unknown> | null;
|
|
3471
|
+
interval?: number | null;
|
|
3472
|
+
method?: string | null;
|
|
3473
|
+
modifiedOn?: string | null;
|
|
3474
|
+
path?: string | null;
|
|
3475
|
+
port?: number | null;
|
|
3476
|
+
probeZone?: string | null;
|
|
3477
|
+
retries?: number | null;
|
|
3478
|
+
timeout?: number | null;
|
|
3479
|
+
type?:
|
|
3480
|
+
| "http"
|
|
3481
|
+
| "https"
|
|
3482
|
+
| "tcp"
|
|
3483
|
+
| "udp_icmp"
|
|
3484
|
+
| "icmp_ping"
|
|
3485
|
+
| "smtp"
|
|
3486
|
+
| null;
|
|
3487
|
+
},
|
|
3488
|
+
ListMonitorsError,
|
|
3489
|
+
Credentials | HttpClient.HttpClient
|
|
3490
|
+
>;
|
|
3491
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
3293
3492
|
input: ListMonitorsRequest,
|
|
3294
3493
|
output: ListMonitorsResponse,
|
|
3295
3494
|
errors: [],
|
|
3495
|
+
pagination: {
|
|
3496
|
+
mode: "single",
|
|
3497
|
+
items: "result",
|
|
3498
|
+
} as const,
|
|
3296
3499
|
}));
|
|
3297
3500
|
|
|
3298
3501
|
export interface CreateMonitorRequest {
|
|
@@ -3447,29 +3650,33 @@ export const CreateMonitorResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3447
3650
|
Schema.Null,
|
|
3448
3651
|
]),
|
|
3449
3652
|
),
|
|
3450
|
-
})
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
)
|
|
3653
|
+
})
|
|
3654
|
+
.pipe(
|
|
3655
|
+
Schema.encodeKeys({
|
|
3656
|
+
id: "id",
|
|
3657
|
+
allowInsecure: "allow_insecure",
|
|
3658
|
+
consecutiveDown: "consecutive_down",
|
|
3659
|
+
consecutiveUp: "consecutive_up",
|
|
3660
|
+
createdOn: "created_on",
|
|
3661
|
+
description: "description",
|
|
3662
|
+
expectedBody: "expected_body",
|
|
3663
|
+
expectedCodes: "expected_codes",
|
|
3664
|
+
followRedirects: "follow_redirects",
|
|
3665
|
+
header: "header",
|
|
3666
|
+
interval: "interval",
|
|
3667
|
+
method: "method",
|
|
3668
|
+
modifiedOn: "modified_on",
|
|
3669
|
+
path: "path",
|
|
3670
|
+
port: "port",
|
|
3671
|
+
probeZone: "probe_zone",
|
|
3672
|
+
retries: "retries",
|
|
3673
|
+
timeout: "timeout",
|
|
3674
|
+
type: "type",
|
|
3675
|
+
}),
|
|
3676
|
+
)
|
|
3677
|
+
.pipe(
|
|
3678
|
+
T.ResponsePath("result"),
|
|
3679
|
+
) as unknown as Schema.Schema<CreateMonitorResponse>;
|
|
3473
3680
|
|
|
3474
3681
|
export type CreateMonitorError = DefaultErrors;
|
|
3475
3682
|
|
|
@@ -3638,29 +3845,33 @@ export const UpdateMonitorResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3638
3845
|
Schema.Null,
|
|
3639
3846
|
]),
|
|
3640
3847
|
),
|
|
3641
|
-
})
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
)
|
|
3848
|
+
})
|
|
3849
|
+
.pipe(
|
|
3850
|
+
Schema.encodeKeys({
|
|
3851
|
+
id: "id",
|
|
3852
|
+
allowInsecure: "allow_insecure",
|
|
3853
|
+
consecutiveDown: "consecutive_down",
|
|
3854
|
+
consecutiveUp: "consecutive_up",
|
|
3855
|
+
createdOn: "created_on",
|
|
3856
|
+
description: "description",
|
|
3857
|
+
expectedBody: "expected_body",
|
|
3858
|
+
expectedCodes: "expected_codes",
|
|
3859
|
+
followRedirects: "follow_redirects",
|
|
3860
|
+
header: "header",
|
|
3861
|
+
interval: "interval",
|
|
3862
|
+
method: "method",
|
|
3863
|
+
modifiedOn: "modified_on",
|
|
3864
|
+
path: "path",
|
|
3865
|
+
port: "port",
|
|
3866
|
+
probeZone: "probe_zone",
|
|
3867
|
+
retries: "retries",
|
|
3868
|
+
timeout: "timeout",
|
|
3869
|
+
type: "type",
|
|
3870
|
+
}),
|
|
3871
|
+
)
|
|
3872
|
+
.pipe(
|
|
3873
|
+
T.ResponsePath("result"),
|
|
3874
|
+
) as unknown as Schema.Schema<UpdateMonitorResponse>;
|
|
3664
3875
|
|
|
3665
3876
|
export type UpdateMonitorError = DefaultErrors;
|
|
3666
3877
|
|
|
@@ -3829,29 +4040,33 @@ export const PatchMonitorResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
3829
4040
|
Schema.Null,
|
|
3830
4041
|
]),
|
|
3831
4042
|
),
|
|
3832
|
-
})
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
)
|
|
4043
|
+
})
|
|
4044
|
+
.pipe(
|
|
4045
|
+
Schema.encodeKeys({
|
|
4046
|
+
id: "id",
|
|
4047
|
+
allowInsecure: "allow_insecure",
|
|
4048
|
+
consecutiveDown: "consecutive_down",
|
|
4049
|
+
consecutiveUp: "consecutive_up",
|
|
4050
|
+
createdOn: "created_on",
|
|
4051
|
+
description: "description",
|
|
4052
|
+
expectedBody: "expected_body",
|
|
4053
|
+
expectedCodes: "expected_codes",
|
|
4054
|
+
followRedirects: "follow_redirects",
|
|
4055
|
+
header: "header",
|
|
4056
|
+
interval: "interval",
|
|
4057
|
+
method: "method",
|
|
4058
|
+
modifiedOn: "modified_on",
|
|
4059
|
+
path: "path",
|
|
4060
|
+
port: "port",
|
|
4061
|
+
probeZone: "probe_zone",
|
|
4062
|
+
retries: "retries",
|
|
4063
|
+
timeout: "timeout",
|
|
4064
|
+
type: "type",
|
|
4065
|
+
}),
|
|
4066
|
+
)
|
|
4067
|
+
.pipe(
|
|
4068
|
+
T.ResponsePath("result"),
|
|
4069
|
+
) as unknown as Schema.Schema<PatchMonitorResponse>;
|
|
3855
4070
|
|
|
3856
4071
|
export type PatchMonitorError = DefaultErrors;
|
|
3857
4072
|
|
|
@@ -3888,7 +4103,9 @@ export interface DeleteMonitorResponse {
|
|
|
3888
4103
|
|
|
3889
4104
|
export const DeleteMonitorResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3890
4105
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3891
|
-
})
|
|
4106
|
+
}).pipe(
|
|
4107
|
+
T.ResponsePath("result"),
|
|
4108
|
+
) as unknown as Schema.Schema<DeleteMonitorResponse>;
|
|
3892
4109
|
|
|
3893
4110
|
export type DeleteMonitorError = DefaultErrors;
|
|
3894
4111
|
|
|
@@ -3970,15 +4187,19 @@ export const GetMonitorGroupResponse =
|
|
|
3970
4187
|
),
|
|
3971
4188
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3972
4189
|
updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3973
|
-
})
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
4190
|
+
})
|
|
4191
|
+
.pipe(
|
|
4192
|
+
Schema.encodeKeys({
|
|
4193
|
+
id: "id",
|
|
4194
|
+
description: "description",
|
|
4195
|
+
members: "members",
|
|
4196
|
+
createdAt: "created_at",
|
|
4197
|
+
updatedAt: "updated_at",
|
|
4198
|
+
}),
|
|
4199
|
+
)
|
|
4200
|
+
.pipe(
|
|
4201
|
+
T.ResponsePath("result"),
|
|
4202
|
+
) as unknown as Schema.Schema<GetMonitorGroupResponse>;
|
|
3982
4203
|
|
|
3983
4204
|
export type GetMonitorGroupError = DefaultErrors;
|
|
3984
4205
|
|
|
@@ -4008,73 +4229,107 @@ export const ListMonitorGroupsRequest =
|
|
|
4008
4229
|
}),
|
|
4009
4230
|
) as unknown as Schema.Schema<ListMonitorGroupsRequest>;
|
|
4010
4231
|
|
|
4011
|
-
export
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4232
|
+
export interface ListMonitorGroupsResponse {
|
|
4233
|
+
result: {
|
|
4234
|
+
id: string;
|
|
4235
|
+
description: string;
|
|
4236
|
+
members: {
|
|
4237
|
+
enabled: boolean;
|
|
4238
|
+
monitorId: string;
|
|
4239
|
+
monitoringOnly: boolean;
|
|
4240
|
+
mustBeHealthy: boolean;
|
|
4241
|
+
createdAt?: string | null;
|
|
4242
|
+
updatedAt?: string | null;
|
|
4243
|
+
}[];
|
|
4019
4244
|
createdAt?: string | null;
|
|
4020
4245
|
updatedAt?: string | null;
|
|
4021
4246
|
}[];
|
|
4022
|
-
|
|
4023
|
-
updatedAt?: string | null;
|
|
4024
|
-
}[];
|
|
4247
|
+
}
|
|
4025
4248
|
|
|
4026
4249
|
export const ListMonitorGroupsResponse =
|
|
4027
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
4028
|
-
Schema.
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
Schema.
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
Schema.
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
Schema.
|
|
4250
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4251
|
+
result: Schema.Array(
|
|
4252
|
+
Schema.Struct({
|
|
4253
|
+
id: Schema.String,
|
|
4254
|
+
description: Schema.String,
|
|
4255
|
+
members: Schema.Array(
|
|
4256
|
+
Schema.Struct({
|
|
4257
|
+
enabled: Schema.Boolean,
|
|
4258
|
+
monitorId: Schema.String,
|
|
4259
|
+
monitoringOnly: Schema.Boolean,
|
|
4260
|
+
mustBeHealthy: Schema.Boolean,
|
|
4261
|
+
createdAt: Schema.optional(
|
|
4262
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
4263
|
+
),
|
|
4264
|
+
updatedAt: Schema.optional(
|
|
4265
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
4266
|
+
),
|
|
4267
|
+
}).pipe(
|
|
4268
|
+
Schema.encodeKeys({
|
|
4269
|
+
enabled: "enabled",
|
|
4270
|
+
monitorId: "monitor_id",
|
|
4271
|
+
monitoringOnly: "monitoring_only",
|
|
4272
|
+
mustBeHealthy: "must_be_healthy",
|
|
4273
|
+
createdAt: "created_at",
|
|
4274
|
+
updatedAt: "updated_at",
|
|
4275
|
+
}),
|
|
4042
4276
|
),
|
|
4043
|
-
}).pipe(
|
|
4044
|
-
Schema.encodeKeys({
|
|
4045
|
-
enabled: "enabled",
|
|
4046
|
-
monitorId: "monitor_id",
|
|
4047
|
-
monitoringOnly: "monitoring_only",
|
|
4048
|
-
mustBeHealthy: "must_be_healthy",
|
|
4049
|
-
createdAt: "created_at",
|
|
4050
|
-
updatedAt: "updated_at",
|
|
4051
|
-
}),
|
|
4052
4277
|
),
|
|
4278
|
+
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4279
|
+
updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4280
|
+
}).pipe(
|
|
4281
|
+
Schema.encodeKeys({
|
|
4282
|
+
id: "id",
|
|
4283
|
+
description: "description",
|
|
4284
|
+
members: "members",
|
|
4285
|
+
createdAt: "created_at",
|
|
4286
|
+
updatedAt: "updated_at",
|
|
4287
|
+
}),
|
|
4053
4288
|
),
|
|
4054
|
-
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4055
|
-
updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4056
|
-
}).pipe(
|
|
4057
|
-
Schema.encodeKeys({
|
|
4058
|
-
id: "id",
|
|
4059
|
-
description: "description",
|
|
4060
|
-
members: "members",
|
|
4061
|
-
createdAt: "created_at",
|
|
4062
|
-
updatedAt: "updated_at",
|
|
4063
|
-
}),
|
|
4064
4289
|
),
|
|
4065
|
-
) as unknown as Schema.Schema<ListMonitorGroupsResponse>;
|
|
4290
|
+
}) as unknown as Schema.Schema<ListMonitorGroupsResponse>;
|
|
4066
4291
|
|
|
4067
4292
|
export type ListMonitorGroupsError = DefaultErrors;
|
|
4068
4293
|
|
|
4069
|
-
export const listMonitorGroups: API.
|
|
4294
|
+
export const listMonitorGroups: API.PaginatedOperationMethod<
|
|
4070
4295
|
ListMonitorGroupsRequest,
|
|
4071
4296
|
ListMonitorGroupsResponse,
|
|
4072
4297
|
ListMonitorGroupsError,
|
|
4073
4298
|
Credentials | HttpClient.HttpClient
|
|
4074
|
-
>
|
|
4299
|
+
> & {
|
|
4300
|
+
pages: (
|
|
4301
|
+
input: ListMonitorGroupsRequest,
|
|
4302
|
+
) => stream.Stream<
|
|
4303
|
+
ListMonitorGroupsResponse,
|
|
4304
|
+
ListMonitorGroupsError,
|
|
4305
|
+
Credentials | HttpClient.HttpClient
|
|
4306
|
+
>;
|
|
4307
|
+
items: (input: ListMonitorGroupsRequest) => stream.Stream<
|
|
4308
|
+
{
|
|
4309
|
+
id: string;
|
|
4310
|
+
description: string;
|
|
4311
|
+
members: {
|
|
4312
|
+
enabled: boolean;
|
|
4313
|
+
monitorId: string;
|
|
4314
|
+
monitoringOnly: boolean;
|
|
4315
|
+
mustBeHealthy: boolean;
|
|
4316
|
+
createdAt?: string | null;
|
|
4317
|
+
updatedAt?: string | null;
|
|
4318
|
+
}[];
|
|
4319
|
+
createdAt?: string | null;
|
|
4320
|
+
updatedAt?: string | null;
|
|
4321
|
+
},
|
|
4322
|
+
ListMonitorGroupsError,
|
|
4323
|
+
Credentials | HttpClient.HttpClient
|
|
4324
|
+
>;
|
|
4325
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
4075
4326
|
input: ListMonitorGroupsRequest,
|
|
4076
4327
|
output: ListMonitorGroupsResponse,
|
|
4077
4328
|
errors: [],
|
|
4329
|
+
pagination: {
|
|
4330
|
+
mode: "single",
|
|
4331
|
+
items: "result",
|
|
4332
|
+
} as const,
|
|
4078
4333
|
}));
|
|
4079
4334
|
|
|
4080
4335
|
export interface CreateMonitorGroupRequest {
|
|
@@ -4164,16 +4419,20 @@ export const CreateMonitorGroupResponse =
|
|
|
4164
4419
|
),
|
|
4165
4420
|
),
|
|
4166
4421
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4167
|
-
updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4168
|
-
})
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4422
|
+
updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4423
|
+
})
|
|
4424
|
+
.pipe(
|
|
4425
|
+
Schema.encodeKeys({
|
|
4426
|
+
id: "id",
|
|
4427
|
+
description: "description",
|
|
4428
|
+
members: "members",
|
|
4429
|
+
createdAt: "created_at",
|
|
4430
|
+
updatedAt: "updated_at",
|
|
4431
|
+
}),
|
|
4432
|
+
)
|
|
4433
|
+
.pipe(
|
|
4434
|
+
T.ResponsePath("result"),
|
|
4435
|
+
) as unknown as Schema.Schema<CreateMonitorGroupResponse>;
|
|
4177
4436
|
|
|
4178
4437
|
export type CreateMonitorGroupError = DefaultErrors;
|
|
4179
4438
|
|
|
@@ -4278,15 +4537,19 @@ export const UpdateMonitorGroupResponse =
|
|
|
4278
4537
|
),
|
|
4279
4538
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4280
4539
|
updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4281
|
-
})
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4540
|
+
})
|
|
4541
|
+
.pipe(
|
|
4542
|
+
Schema.encodeKeys({
|
|
4543
|
+
id: "id",
|
|
4544
|
+
description: "description",
|
|
4545
|
+
members: "members",
|
|
4546
|
+
createdAt: "created_at",
|
|
4547
|
+
updatedAt: "updated_at",
|
|
4548
|
+
}),
|
|
4549
|
+
)
|
|
4550
|
+
.pipe(
|
|
4551
|
+
T.ResponsePath("result"),
|
|
4552
|
+
) as unknown as Schema.Schema<UpdateMonitorGroupResponse>;
|
|
4290
4553
|
|
|
4291
4554
|
export type UpdateMonitorGroupError = DefaultErrors;
|
|
4292
4555
|
|
|
@@ -4391,15 +4654,19 @@ export const PatchMonitorGroupResponse =
|
|
|
4391
4654
|
),
|
|
4392
4655
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4393
4656
|
updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4394
|
-
})
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4657
|
+
})
|
|
4658
|
+
.pipe(
|
|
4659
|
+
Schema.encodeKeys({
|
|
4660
|
+
id: "id",
|
|
4661
|
+
description: "description",
|
|
4662
|
+
members: "members",
|
|
4663
|
+
createdAt: "created_at",
|
|
4664
|
+
updatedAt: "updated_at",
|
|
4665
|
+
}),
|
|
4666
|
+
)
|
|
4667
|
+
.pipe(
|
|
4668
|
+
T.ResponsePath("result"),
|
|
4669
|
+
) as unknown as Schema.Schema<PatchMonitorGroupResponse>;
|
|
4403
4670
|
|
|
4404
4671
|
export type PatchMonitorGroupError = DefaultErrors;
|
|
4405
4672
|
|
|
@@ -4476,15 +4743,19 @@ export const DeleteMonitorGroupResponse =
|
|
|
4476
4743
|
),
|
|
4477
4744
|
createdAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4478
4745
|
updatedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4479
|
-
})
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4746
|
+
})
|
|
4747
|
+
.pipe(
|
|
4748
|
+
Schema.encodeKeys({
|
|
4749
|
+
id: "id",
|
|
4750
|
+
description: "description",
|
|
4751
|
+
members: "members",
|
|
4752
|
+
createdAt: "created_at",
|
|
4753
|
+
updatedAt: "updated_at",
|
|
4754
|
+
}),
|
|
4755
|
+
)
|
|
4756
|
+
.pipe(
|
|
4757
|
+
T.ResponsePath("result"),
|
|
4758
|
+
) as unknown as Schema.Schema<DeleteMonitorGroupResponse>;
|
|
4488
4759
|
|
|
4489
4760
|
export type DeleteMonitorGroupError = DefaultErrors;
|
|
4490
4761
|
|
|
@@ -4605,9 +4876,11 @@ export const CreateMonitorPreviewResponse =
|
|
|
4605
4876
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4606
4877
|
pools: Schema.optional(Schema.Union([Schema.Struct({}), Schema.Null])),
|
|
4607
4878
|
previewId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4608
|
-
})
|
|
4609
|
-
Schema.encodeKeys({ pools: "pools", previewId: "preview_id" })
|
|
4610
|
-
|
|
4879
|
+
})
|
|
4880
|
+
.pipe(Schema.encodeKeys({ pools: "pools", previewId: "preview_id" }))
|
|
4881
|
+
.pipe(
|
|
4882
|
+
T.ResponsePath("result"),
|
|
4883
|
+
) as unknown as Schema.Schema<CreateMonitorPreviewResponse>;
|
|
4611
4884
|
|
|
4612
4885
|
export type CreateMonitorPreviewError = DefaultErrors;
|
|
4613
4886
|
|
|
@@ -4643,46 +4916,76 @@ export const GetMonitorReferenceRequest =
|
|
|
4643
4916
|
}),
|
|
4644
4917
|
) as unknown as Schema.Schema<GetMonitorReferenceRequest>;
|
|
4645
4918
|
|
|
4646
|
-
export
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4919
|
+
export interface GetMonitorReferenceResponse {
|
|
4920
|
+
result: {
|
|
4921
|
+
referenceType?: "*" | "referral" | "referrer" | null;
|
|
4922
|
+
resourceId?: string | null;
|
|
4923
|
+
resourceName?: string | null;
|
|
4924
|
+
resourceType?: string | null;
|
|
4925
|
+
}[];
|
|
4926
|
+
}
|
|
4652
4927
|
|
|
4653
4928
|
export const GetMonitorReferenceResponse =
|
|
4654
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
4655
|
-
Schema.
|
|
4656
|
-
|
|
4657
|
-
Schema.
|
|
4658
|
-
Schema.
|
|
4659
|
-
|
|
4660
|
-
|
|
4929
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4930
|
+
result: Schema.Array(
|
|
4931
|
+
Schema.Struct({
|
|
4932
|
+
referenceType: Schema.optional(
|
|
4933
|
+
Schema.Union([
|
|
4934
|
+
Schema.Literals(["*", "referral", "referrer"]),
|
|
4935
|
+
Schema.Null,
|
|
4936
|
+
]),
|
|
4937
|
+
),
|
|
4938
|
+
resourceId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4939
|
+
resourceName: Schema.optional(
|
|
4940
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
4941
|
+
),
|
|
4942
|
+
resourceType: Schema.optional(
|
|
4943
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
4944
|
+
),
|
|
4945
|
+
}).pipe(
|
|
4946
|
+
Schema.encodeKeys({
|
|
4947
|
+
referenceType: "reference_type",
|
|
4948
|
+
resourceId: "resource_id",
|
|
4949
|
+
resourceName: "resource_name",
|
|
4950
|
+
resourceType: "resource_type",
|
|
4951
|
+
}),
|
|
4661
4952
|
),
|
|
4662
|
-
resourceId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4663
|
-
resourceName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4664
|
-
resourceType: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
4665
|
-
}).pipe(
|
|
4666
|
-
Schema.encodeKeys({
|
|
4667
|
-
referenceType: "reference_type",
|
|
4668
|
-
resourceId: "resource_id",
|
|
4669
|
-
resourceName: "resource_name",
|
|
4670
|
-
resourceType: "resource_type",
|
|
4671
|
-
}),
|
|
4672
4953
|
),
|
|
4673
|
-
) as unknown as Schema.Schema<GetMonitorReferenceResponse>;
|
|
4954
|
+
}) as unknown as Schema.Schema<GetMonitorReferenceResponse>;
|
|
4674
4955
|
|
|
4675
4956
|
export type GetMonitorReferenceError = DefaultErrors;
|
|
4676
4957
|
|
|
4677
|
-
export const getMonitorReference: API.
|
|
4958
|
+
export const getMonitorReference: API.PaginatedOperationMethod<
|
|
4678
4959
|
GetMonitorReferenceRequest,
|
|
4679
4960
|
GetMonitorReferenceResponse,
|
|
4680
4961
|
GetMonitorReferenceError,
|
|
4681
4962
|
Credentials | HttpClient.HttpClient
|
|
4682
|
-
>
|
|
4963
|
+
> & {
|
|
4964
|
+
pages: (
|
|
4965
|
+
input: GetMonitorReferenceRequest,
|
|
4966
|
+
) => stream.Stream<
|
|
4967
|
+
GetMonitorReferenceResponse,
|
|
4968
|
+
GetMonitorReferenceError,
|
|
4969
|
+
Credentials | HttpClient.HttpClient
|
|
4970
|
+
>;
|
|
4971
|
+
items: (input: GetMonitorReferenceRequest) => stream.Stream<
|
|
4972
|
+
{
|
|
4973
|
+
referenceType?: "*" | "referral" | "referrer" | null;
|
|
4974
|
+
resourceId?: string | null;
|
|
4975
|
+
resourceName?: string | null;
|
|
4976
|
+
resourceType?: string | null;
|
|
4977
|
+
},
|
|
4978
|
+
GetMonitorReferenceError,
|
|
4979
|
+
Credentials | HttpClient.HttpClient
|
|
4980
|
+
>;
|
|
4981
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
4683
4982
|
input: GetMonitorReferenceRequest,
|
|
4684
4983
|
output: GetMonitorReferenceResponse,
|
|
4685
4984
|
errors: [],
|
|
4985
|
+
pagination: {
|
|
4986
|
+
mode: "single",
|
|
4987
|
+
items: "result",
|
|
4988
|
+
} as const,
|
|
4686
4989
|
}));
|
|
4687
4990
|
|
|
4688
4991
|
// =============================================================================
|
|
@@ -4810,29 +5113,31 @@ export const GetPoolResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4810
5113
|
origins: Schema.optional(
|
|
4811
5114
|
Schema.Union([Schema.Array(Schema.Unknown), Schema.Null]),
|
|
4812
5115
|
),
|
|
4813
|
-
})
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
)
|
|
5116
|
+
})
|
|
5117
|
+
.pipe(
|
|
5118
|
+
Schema.encodeKeys({
|
|
5119
|
+
id: "id",
|
|
5120
|
+
checkRegions: "check_regions",
|
|
5121
|
+
createdOn: "created_on",
|
|
5122
|
+
description: "description",
|
|
5123
|
+
disabledAt: "disabled_at",
|
|
5124
|
+
enabled: "enabled",
|
|
5125
|
+
latitude: "latitude",
|
|
5126
|
+
loadShedding: "load_shedding",
|
|
5127
|
+
longitude: "longitude",
|
|
5128
|
+
minimumOrigins: "minimum_origins",
|
|
5129
|
+
modifiedOn: "modified_on",
|
|
5130
|
+
monitor: "monitor",
|
|
5131
|
+
monitorGroup: "monitor_group",
|
|
5132
|
+
name: "name",
|
|
5133
|
+
networks: "networks",
|
|
5134
|
+
notificationEmail: "notification_email",
|
|
5135
|
+
notificationFilter: "notification_filter",
|
|
5136
|
+
originSteering: "origin_steering",
|
|
5137
|
+
origins: "origins",
|
|
5138
|
+
}),
|
|
5139
|
+
)
|
|
5140
|
+
.pipe(T.ResponsePath("result")) as unknown as Schema.Schema<GetPoolResponse>;
|
|
4836
5141
|
|
|
4837
5142
|
export type GetPoolError = DefaultErrors;
|
|
4838
5143
|
|
|
@@ -4864,134 +5169,196 @@ export const ListPoolsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4864
5169
|
}),
|
|
4865
5170
|
) as unknown as Schema.Schema<ListPoolsRequest>;
|
|
4866
5171
|
|
|
4867
|
-
export
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
5172
|
+
export interface ListPoolsResponse {
|
|
5173
|
+
result: {
|
|
5174
|
+
id?: string | null;
|
|
5175
|
+
checkRegions?:
|
|
5176
|
+
| (
|
|
5177
|
+
| "WNAM"
|
|
5178
|
+
| "ENAM"
|
|
5179
|
+
| "WEU"
|
|
5180
|
+
| "EEU"
|
|
5181
|
+
| "NSAM"
|
|
5182
|
+
| "SSAM"
|
|
5183
|
+
| "OC"
|
|
5184
|
+
| "ME"
|
|
5185
|
+
| "NAF"
|
|
5186
|
+
| "SAF"
|
|
5187
|
+
| "SEAS"
|
|
5188
|
+
| "NEAS"
|
|
5189
|
+
| "ALL_REGIONS"
|
|
5190
|
+
| "SAS"
|
|
5191
|
+
)[]
|
|
5192
|
+
| null;
|
|
5193
|
+
createdOn?: string | null;
|
|
5194
|
+
description?: string | null;
|
|
5195
|
+
disabledAt?: string | null;
|
|
5196
|
+
enabled?: boolean | null;
|
|
5197
|
+
latitude?: number | null;
|
|
5198
|
+
loadShedding?: unknown | null;
|
|
5199
|
+
longitude?: number | null;
|
|
5200
|
+
minimumOrigins?: number | null;
|
|
5201
|
+
modifiedOn?: string | null;
|
|
5202
|
+
monitor?: string | null;
|
|
5203
|
+
monitorGroup?: string | null;
|
|
5204
|
+
name?: string | null;
|
|
5205
|
+
networks?: string[] | null;
|
|
5206
|
+
notificationEmail?: string | null;
|
|
5207
|
+
notificationFilter?: unknown | null;
|
|
5208
|
+
originSteering?: unknown | null;
|
|
5209
|
+
origins?: unknown[] | null;
|
|
5210
|
+
}[];
|
|
5211
|
+
}
|
|
4905
5212
|
|
|
4906
|
-
export const ListPoolsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
4907
|
-
Schema.
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
Schema.
|
|
4911
|
-
Schema.
|
|
4912
|
-
Schema.
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
Schema.
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
5213
|
+
export const ListPoolsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
5214
|
+
result: Schema.Array(
|
|
5215
|
+
Schema.Struct({
|
|
5216
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5217
|
+
checkRegions: Schema.optional(
|
|
5218
|
+
Schema.Union([
|
|
5219
|
+
Schema.Array(
|
|
5220
|
+
Schema.Literals([
|
|
5221
|
+
"WNAM",
|
|
5222
|
+
"ENAM",
|
|
5223
|
+
"WEU",
|
|
5224
|
+
"EEU",
|
|
5225
|
+
"NSAM",
|
|
5226
|
+
"SSAM",
|
|
5227
|
+
"OC",
|
|
5228
|
+
"ME",
|
|
5229
|
+
"NAF",
|
|
5230
|
+
"SAF",
|
|
5231
|
+
"SEAS",
|
|
5232
|
+
"NEAS",
|
|
5233
|
+
"ALL_REGIONS",
|
|
5234
|
+
"SAS",
|
|
5235
|
+
]),
|
|
5236
|
+
),
|
|
5237
|
+
Schema.Null,
|
|
5238
|
+
]),
|
|
5239
|
+
),
|
|
5240
|
+
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5241
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5242
|
+
disabledAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5243
|
+
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
5244
|
+
latitude: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
5245
|
+
loadShedding: Schema.optional(
|
|
5246
|
+
Schema.Union([Schema.Unknown, Schema.Null]),
|
|
5247
|
+
),
|
|
5248
|
+
longitude: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
5249
|
+
minimumOrigins: Schema.optional(
|
|
5250
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
5251
|
+
),
|
|
5252
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5253
|
+
monitor: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5254
|
+
monitorGroup: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5255
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5256
|
+
networks: Schema.optional(
|
|
5257
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
5258
|
+
),
|
|
5259
|
+
notificationEmail: Schema.optional(
|
|
5260
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
5261
|
+
),
|
|
5262
|
+
notificationFilter: Schema.optional(
|
|
5263
|
+
Schema.Union([Schema.Unknown, Schema.Null]),
|
|
5264
|
+
),
|
|
5265
|
+
originSteering: Schema.optional(
|
|
5266
|
+
Schema.Union([Schema.Unknown, Schema.Null]),
|
|
5267
|
+
),
|
|
5268
|
+
origins: Schema.optional(
|
|
5269
|
+
Schema.Union([Schema.Array(Schema.Unknown), Schema.Null]),
|
|
5270
|
+
),
|
|
5271
|
+
}).pipe(
|
|
5272
|
+
Schema.encodeKeys({
|
|
5273
|
+
id: "id",
|
|
5274
|
+
checkRegions: "check_regions",
|
|
5275
|
+
createdOn: "created_on",
|
|
5276
|
+
description: "description",
|
|
5277
|
+
disabledAt: "disabled_at",
|
|
5278
|
+
enabled: "enabled",
|
|
5279
|
+
latitude: "latitude",
|
|
5280
|
+
loadShedding: "load_shedding",
|
|
5281
|
+
longitude: "longitude",
|
|
5282
|
+
minimumOrigins: "minimum_origins",
|
|
5283
|
+
modifiedOn: "modified_on",
|
|
5284
|
+
monitor: "monitor",
|
|
5285
|
+
monitorGroup: "monitor_group",
|
|
5286
|
+
name: "name",
|
|
5287
|
+
networks: "networks",
|
|
5288
|
+
notificationEmail: "notification_email",
|
|
5289
|
+
notificationFilter: "notification_filter",
|
|
5290
|
+
originSteering: "origin_steering",
|
|
5291
|
+
origins: "origins",
|
|
5292
|
+
}),
|
|
4958
5293
|
),
|
|
4959
|
-
}).pipe(
|
|
4960
|
-
Schema.encodeKeys({
|
|
4961
|
-
id: "id",
|
|
4962
|
-
checkRegions: "check_regions",
|
|
4963
|
-
createdOn: "created_on",
|
|
4964
|
-
description: "description",
|
|
4965
|
-
disabledAt: "disabled_at",
|
|
4966
|
-
enabled: "enabled",
|
|
4967
|
-
latitude: "latitude",
|
|
4968
|
-
loadShedding: "load_shedding",
|
|
4969
|
-
longitude: "longitude",
|
|
4970
|
-
minimumOrigins: "minimum_origins",
|
|
4971
|
-
modifiedOn: "modified_on",
|
|
4972
|
-
monitor: "monitor",
|
|
4973
|
-
monitorGroup: "monitor_group",
|
|
4974
|
-
name: "name",
|
|
4975
|
-
networks: "networks",
|
|
4976
|
-
notificationEmail: "notification_email",
|
|
4977
|
-
notificationFilter: "notification_filter",
|
|
4978
|
-
originSteering: "origin_steering",
|
|
4979
|
-
origins: "origins",
|
|
4980
|
-
}),
|
|
4981
5294
|
),
|
|
4982
|
-
) as unknown as Schema.Schema<ListPoolsResponse>;
|
|
5295
|
+
}) as unknown as Schema.Schema<ListPoolsResponse>;
|
|
4983
5296
|
|
|
4984
5297
|
export type ListPoolsError = DefaultErrors;
|
|
4985
5298
|
|
|
4986
|
-
export const listPools: API.
|
|
5299
|
+
export const listPools: API.PaginatedOperationMethod<
|
|
4987
5300
|
ListPoolsRequest,
|
|
4988
5301
|
ListPoolsResponse,
|
|
4989
5302
|
ListPoolsError,
|
|
4990
5303
|
Credentials | HttpClient.HttpClient
|
|
4991
|
-
>
|
|
5304
|
+
> & {
|
|
5305
|
+
pages: (
|
|
5306
|
+
input: ListPoolsRequest,
|
|
5307
|
+
) => stream.Stream<
|
|
5308
|
+
ListPoolsResponse,
|
|
5309
|
+
ListPoolsError,
|
|
5310
|
+
Credentials | HttpClient.HttpClient
|
|
5311
|
+
>;
|
|
5312
|
+
items: (input: ListPoolsRequest) => stream.Stream<
|
|
5313
|
+
{
|
|
5314
|
+
id?: string | null;
|
|
5315
|
+
checkRegions?:
|
|
5316
|
+
| (
|
|
5317
|
+
| "WNAM"
|
|
5318
|
+
| "ENAM"
|
|
5319
|
+
| "WEU"
|
|
5320
|
+
| "EEU"
|
|
5321
|
+
| "NSAM"
|
|
5322
|
+
| "SSAM"
|
|
5323
|
+
| "OC"
|
|
5324
|
+
| "ME"
|
|
5325
|
+
| "NAF"
|
|
5326
|
+
| "SAF"
|
|
5327
|
+
| "SEAS"
|
|
5328
|
+
| "NEAS"
|
|
5329
|
+
| "ALL_REGIONS"
|
|
5330
|
+
| "SAS"
|
|
5331
|
+
)[]
|
|
5332
|
+
| null;
|
|
5333
|
+
createdOn?: string | null;
|
|
5334
|
+
description?: string | null;
|
|
5335
|
+
disabledAt?: string | null;
|
|
5336
|
+
enabled?: boolean | null;
|
|
5337
|
+
latitude?: number | null;
|
|
5338
|
+
loadShedding?: unknown | null;
|
|
5339
|
+
longitude?: number | null;
|
|
5340
|
+
minimumOrigins?: number | null;
|
|
5341
|
+
modifiedOn?: string | null;
|
|
5342
|
+
monitor?: string | null;
|
|
5343
|
+
monitorGroup?: string | null;
|
|
5344
|
+
name?: string | null;
|
|
5345
|
+
networks?: string[] | null;
|
|
5346
|
+
notificationEmail?: string | null;
|
|
5347
|
+
notificationFilter?: unknown | null;
|
|
5348
|
+
originSteering?: unknown | null;
|
|
5349
|
+
origins?: unknown[] | null;
|
|
5350
|
+
},
|
|
5351
|
+
ListPoolsError,
|
|
5352
|
+
Credentials | HttpClient.HttpClient
|
|
5353
|
+
>;
|
|
5354
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
4992
5355
|
input: ListPoolsRequest,
|
|
4993
5356
|
output: ListPoolsResponse,
|
|
4994
5357
|
errors: [],
|
|
5358
|
+
pagination: {
|
|
5359
|
+
mode: "single",
|
|
5360
|
+
items: "result",
|
|
5361
|
+
} as const,
|
|
4995
5362
|
}));
|
|
4996
5363
|
|
|
4997
5364
|
export interface CreatePoolRequest {
|
|
@@ -5169,29 +5536,33 @@ export const CreatePoolResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5169
5536
|
origins: Schema.optional(
|
|
5170
5537
|
Schema.Union([Schema.Array(Schema.Unknown), Schema.Null]),
|
|
5171
5538
|
),
|
|
5172
|
-
})
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
)
|
|
5539
|
+
})
|
|
5540
|
+
.pipe(
|
|
5541
|
+
Schema.encodeKeys({
|
|
5542
|
+
id: "id",
|
|
5543
|
+
checkRegions: "check_regions",
|
|
5544
|
+
createdOn: "created_on",
|
|
5545
|
+
description: "description",
|
|
5546
|
+
disabledAt: "disabled_at",
|
|
5547
|
+
enabled: "enabled",
|
|
5548
|
+
latitude: "latitude",
|
|
5549
|
+
loadShedding: "load_shedding",
|
|
5550
|
+
longitude: "longitude",
|
|
5551
|
+
minimumOrigins: "minimum_origins",
|
|
5552
|
+
modifiedOn: "modified_on",
|
|
5553
|
+
monitor: "monitor",
|
|
5554
|
+
monitorGroup: "monitor_group",
|
|
5555
|
+
name: "name",
|
|
5556
|
+
networks: "networks",
|
|
5557
|
+
notificationEmail: "notification_email",
|
|
5558
|
+
notificationFilter: "notification_filter",
|
|
5559
|
+
originSteering: "origin_steering",
|
|
5560
|
+
origins: "origins",
|
|
5561
|
+
}),
|
|
5562
|
+
)
|
|
5563
|
+
.pipe(
|
|
5564
|
+
T.ResponsePath("result"),
|
|
5565
|
+
) as unknown as Schema.Schema<CreatePoolResponse>;
|
|
5195
5566
|
|
|
5196
5567
|
export type CreatePoolError = DefaultErrors;
|
|
5197
5568
|
|
|
@@ -5426,29 +5797,33 @@ export const UpdatePoolResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5426
5797
|
origins: Schema.optional(
|
|
5427
5798
|
Schema.Union([Schema.Array(Schema.Unknown), Schema.Null]),
|
|
5428
5799
|
),
|
|
5429
|
-
})
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
|
|
5440
|
-
|
|
5441
|
-
|
|
5442
|
-
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
)
|
|
5800
|
+
})
|
|
5801
|
+
.pipe(
|
|
5802
|
+
Schema.encodeKeys({
|
|
5803
|
+
id: "id",
|
|
5804
|
+
checkRegions: "check_regions",
|
|
5805
|
+
createdOn: "created_on",
|
|
5806
|
+
description: "description",
|
|
5807
|
+
disabledAt: "disabled_at",
|
|
5808
|
+
enabled: "enabled",
|
|
5809
|
+
latitude: "latitude",
|
|
5810
|
+
loadShedding: "load_shedding",
|
|
5811
|
+
longitude: "longitude",
|
|
5812
|
+
minimumOrigins: "minimum_origins",
|
|
5813
|
+
modifiedOn: "modified_on",
|
|
5814
|
+
monitor: "monitor",
|
|
5815
|
+
monitorGroup: "monitor_group",
|
|
5816
|
+
name: "name",
|
|
5817
|
+
networks: "networks",
|
|
5818
|
+
notificationEmail: "notification_email",
|
|
5819
|
+
notificationFilter: "notification_filter",
|
|
5820
|
+
originSteering: "origin_steering",
|
|
5821
|
+
origins: "origins",
|
|
5822
|
+
}),
|
|
5823
|
+
)
|
|
5824
|
+
.pipe(
|
|
5825
|
+
T.ResponsePath("result"),
|
|
5826
|
+
) as unknown as Schema.Schema<UpdatePoolResponse>;
|
|
5452
5827
|
|
|
5453
5828
|
export type UpdatePoolError = DefaultErrors;
|
|
5454
5829
|
|
|
@@ -5683,29 +6058,33 @@ export const PatchPoolResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5683
6058
|
origins: Schema.optional(
|
|
5684
6059
|
Schema.Union([Schema.Array(Schema.Unknown), Schema.Null]),
|
|
5685
6060
|
),
|
|
5686
|
-
})
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
|
|
5699
|
-
|
|
5700
|
-
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
)
|
|
6061
|
+
})
|
|
6062
|
+
.pipe(
|
|
6063
|
+
Schema.encodeKeys({
|
|
6064
|
+
id: "id",
|
|
6065
|
+
checkRegions: "check_regions",
|
|
6066
|
+
createdOn: "created_on",
|
|
6067
|
+
description: "description",
|
|
6068
|
+
disabledAt: "disabled_at",
|
|
6069
|
+
enabled: "enabled",
|
|
6070
|
+
latitude: "latitude",
|
|
6071
|
+
loadShedding: "load_shedding",
|
|
6072
|
+
longitude: "longitude",
|
|
6073
|
+
minimumOrigins: "minimum_origins",
|
|
6074
|
+
modifiedOn: "modified_on",
|
|
6075
|
+
monitor: "monitor",
|
|
6076
|
+
monitorGroup: "monitor_group",
|
|
6077
|
+
name: "name",
|
|
6078
|
+
networks: "networks",
|
|
6079
|
+
notificationEmail: "notification_email",
|
|
6080
|
+
notificationFilter: "notification_filter",
|
|
6081
|
+
originSteering: "origin_steering",
|
|
6082
|
+
origins: "origins",
|
|
6083
|
+
}),
|
|
6084
|
+
)
|
|
6085
|
+
.pipe(
|
|
6086
|
+
T.ResponsePath("result"),
|
|
6087
|
+
) as unknown as Schema.Schema<PatchPoolResponse>;
|
|
5709
6088
|
|
|
5710
6089
|
export type PatchPoolError = DefaultErrors;
|
|
5711
6090
|
|
|
@@ -5742,7 +6121,9 @@ export interface DeletePoolResponse {
|
|
|
5742
6121
|
|
|
5743
6122
|
export const DeletePoolResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
5744
6123
|
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5745
|
-
})
|
|
6124
|
+
}).pipe(
|
|
6125
|
+
T.ResponsePath("result"),
|
|
6126
|
+
) as unknown as Schema.Schema<DeletePoolResponse>;
|
|
5746
6127
|
|
|
5747
6128
|
export type DeletePoolError = DefaultErrors;
|
|
5748
6129
|
|
|
@@ -5775,134 +6156,202 @@ export const BulkPatchPoolsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5775
6156
|
}),
|
|
5776
6157
|
) as unknown as Schema.Schema<BulkPatchPoolsRequest>;
|
|
5777
6158
|
|
|
5778
|
-
export
|
|
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
|
-
|
|
6159
|
+
export interface BulkPatchPoolsResponse {
|
|
6160
|
+
result: {
|
|
6161
|
+
id?: string | null;
|
|
6162
|
+
checkRegions?:
|
|
6163
|
+
| (
|
|
6164
|
+
| "WNAM"
|
|
6165
|
+
| "ENAM"
|
|
6166
|
+
| "WEU"
|
|
6167
|
+
| "EEU"
|
|
6168
|
+
| "NSAM"
|
|
6169
|
+
| "SSAM"
|
|
6170
|
+
| "OC"
|
|
6171
|
+
| "ME"
|
|
6172
|
+
| "NAF"
|
|
6173
|
+
| "SAF"
|
|
6174
|
+
| "SEAS"
|
|
6175
|
+
| "NEAS"
|
|
6176
|
+
| "ALL_REGIONS"
|
|
6177
|
+
| "SAS"
|
|
6178
|
+
)[]
|
|
6179
|
+
| null;
|
|
6180
|
+
createdOn?: string | null;
|
|
6181
|
+
description?: string | null;
|
|
6182
|
+
disabledAt?: string | null;
|
|
6183
|
+
enabled?: boolean | null;
|
|
6184
|
+
latitude?: number | null;
|
|
6185
|
+
loadShedding?: unknown | null;
|
|
6186
|
+
longitude?: number | null;
|
|
6187
|
+
minimumOrigins?: number | null;
|
|
6188
|
+
modifiedOn?: string | null;
|
|
6189
|
+
monitor?: string | null;
|
|
6190
|
+
monitorGroup?: string | null;
|
|
6191
|
+
name?: string | null;
|
|
6192
|
+
networks?: string[] | null;
|
|
6193
|
+
notificationEmail?: string | null;
|
|
6194
|
+
notificationFilter?: unknown | null;
|
|
6195
|
+
originSteering?: unknown | null;
|
|
6196
|
+
origins?: unknown[] | null;
|
|
6197
|
+
}[];
|
|
6198
|
+
}
|
|
5816
6199
|
|
|
5817
|
-
export const BulkPatchPoolsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
5818
|
-
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
|
|
5822
|
-
Schema.
|
|
5823
|
-
Schema.
|
|
5824
|
-
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
|
|
5833
|
-
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
|
|
6200
|
+
export const BulkPatchPoolsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
6201
|
+
{
|
|
6202
|
+
result: Schema.Array(
|
|
6203
|
+
Schema.Struct({
|
|
6204
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6205
|
+
checkRegions: Schema.optional(
|
|
6206
|
+
Schema.Union([
|
|
6207
|
+
Schema.Array(
|
|
6208
|
+
Schema.Literals([
|
|
6209
|
+
"WNAM",
|
|
6210
|
+
"ENAM",
|
|
6211
|
+
"WEU",
|
|
6212
|
+
"EEU",
|
|
6213
|
+
"NSAM",
|
|
6214
|
+
"SSAM",
|
|
6215
|
+
"OC",
|
|
6216
|
+
"ME",
|
|
6217
|
+
"NAF",
|
|
6218
|
+
"SAF",
|
|
6219
|
+
"SEAS",
|
|
6220
|
+
"NEAS",
|
|
6221
|
+
"ALL_REGIONS",
|
|
6222
|
+
"SAS",
|
|
6223
|
+
]),
|
|
6224
|
+
),
|
|
6225
|
+
Schema.Null,
|
|
5838
6226
|
]),
|
|
5839
6227
|
),
|
|
5840
|
-
Schema.Null,
|
|
5841
|
-
|
|
5842
|
-
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
|
|
5847
|
-
|
|
5848
|
-
|
|
5849
|
-
|
|
5850
|
-
|
|
5851
|
-
|
|
5852
|
-
|
|
5853
|
-
|
|
5854
|
-
|
|
5855
|
-
|
|
5856
|
-
|
|
5857
|
-
|
|
5858
|
-
|
|
5859
|
-
|
|
5860
|
-
|
|
5861
|
-
|
|
5862
|
-
|
|
5863
|
-
|
|
5864
|
-
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
|
|
5868
|
-
|
|
6228
|
+
createdOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6229
|
+
description: Schema.optional(
|
|
6230
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
6231
|
+
),
|
|
6232
|
+
disabledAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6233
|
+
enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
6234
|
+
latitude: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
6235
|
+
loadShedding: Schema.optional(
|
|
6236
|
+
Schema.Union([Schema.Unknown, Schema.Null]),
|
|
6237
|
+
),
|
|
6238
|
+
longitude: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
6239
|
+
minimumOrigins: Schema.optional(
|
|
6240
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
6241
|
+
),
|
|
6242
|
+
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6243
|
+
monitor: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6244
|
+
monitorGroup: Schema.optional(
|
|
6245
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
6246
|
+
),
|
|
6247
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6248
|
+
networks: Schema.optional(
|
|
6249
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
6250
|
+
),
|
|
6251
|
+
notificationEmail: Schema.optional(
|
|
6252
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
6253
|
+
),
|
|
6254
|
+
notificationFilter: Schema.optional(
|
|
6255
|
+
Schema.Union([Schema.Unknown, Schema.Null]),
|
|
6256
|
+
),
|
|
6257
|
+
originSteering: Schema.optional(
|
|
6258
|
+
Schema.Union([Schema.Unknown, Schema.Null]),
|
|
6259
|
+
),
|
|
6260
|
+
origins: Schema.optional(
|
|
6261
|
+
Schema.Union([Schema.Array(Schema.Unknown), Schema.Null]),
|
|
6262
|
+
),
|
|
6263
|
+
}).pipe(
|
|
6264
|
+
Schema.encodeKeys({
|
|
6265
|
+
id: "id",
|
|
6266
|
+
checkRegions: "check_regions",
|
|
6267
|
+
createdOn: "created_on",
|
|
6268
|
+
description: "description",
|
|
6269
|
+
disabledAt: "disabled_at",
|
|
6270
|
+
enabled: "enabled",
|
|
6271
|
+
latitude: "latitude",
|
|
6272
|
+
loadShedding: "load_shedding",
|
|
6273
|
+
longitude: "longitude",
|
|
6274
|
+
minimumOrigins: "minimum_origins",
|
|
6275
|
+
modifiedOn: "modified_on",
|
|
6276
|
+
monitor: "monitor",
|
|
6277
|
+
monitorGroup: "monitor_group",
|
|
6278
|
+
name: "name",
|
|
6279
|
+
networks: "networks",
|
|
6280
|
+
notificationEmail: "notification_email",
|
|
6281
|
+
notificationFilter: "notification_filter",
|
|
6282
|
+
originSteering: "origin_steering",
|
|
6283
|
+
origins: "origins",
|
|
6284
|
+
}),
|
|
6285
|
+
),
|
|
5869
6286
|
),
|
|
5870
|
-
}
|
|
5871
|
-
Schema.encodeKeys({
|
|
5872
|
-
id: "id",
|
|
5873
|
-
checkRegions: "check_regions",
|
|
5874
|
-
createdOn: "created_on",
|
|
5875
|
-
description: "description",
|
|
5876
|
-
disabledAt: "disabled_at",
|
|
5877
|
-
enabled: "enabled",
|
|
5878
|
-
latitude: "latitude",
|
|
5879
|
-
loadShedding: "load_shedding",
|
|
5880
|
-
longitude: "longitude",
|
|
5881
|
-
minimumOrigins: "minimum_origins",
|
|
5882
|
-
modifiedOn: "modified_on",
|
|
5883
|
-
monitor: "monitor",
|
|
5884
|
-
monitorGroup: "monitor_group",
|
|
5885
|
-
name: "name",
|
|
5886
|
-
networks: "networks",
|
|
5887
|
-
notificationEmail: "notification_email",
|
|
5888
|
-
notificationFilter: "notification_filter",
|
|
5889
|
-
originSteering: "origin_steering",
|
|
5890
|
-
origins: "origins",
|
|
5891
|
-
}),
|
|
5892
|
-
),
|
|
6287
|
+
},
|
|
5893
6288
|
) as unknown as Schema.Schema<BulkPatchPoolsResponse>;
|
|
5894
6289
|
|
|
5895
6290
|
export type BulkPatchPoolsError = DefaultErrors;
|
|
5896
6291
|
|
|
5897
|
-
export const bulkPatchPools: API.
|
|
6292
|
+
export const bulkPatchPools: API.PaginatedOperationMethod<
|
|
5898
6293
|
BulkPatchPoolsRequest,
|
|
5899
6294
|
BulkPatchPoolsResponse,
|
|
5900
6295
|
BulkPatchPoolsError,
|
|
5901
6296
|
Credentials | HttpClient.HttpClient
|
|
5902
|
-
>
|
|
6297
|
+
> & {
|
|
6298
|
+
pages: (
|
|
6299
|
+
input: BulkPatchPoolsRequest,
|
|
6300
|
+
) => stream.Stream<
|
|
6301
|
+
BulkPatchPoolsResponse,
|
|
6302
|
+
BulkPatchPoolsError,
|
|
6303
|
+
Credentials | HttpClient.HttpClient
|
|
6304
|
+
>;
|
|
6305
|
+
items: (input: BulkPatchPoolsRequest) => stream.Stream<
|
|
6306
|
+
{
|
|
6307
|
+
id?: string | null;
|
|
6308
|
+
checkRegions?:
|
|
6309
|
+
| (
|
|
6310
|
+
| "WNAM"
|
|
6311
|
+
| "ENAM"
|
|
6312
|
+
| "WEU"
|
|
6313
|
+
| "EEU"
|
|
6314
|
+
| "NSAM"
|
|
6315
|
+
| "SSAM"
|
|
6316
|
+
| "OC"
|
|
6317
|
+
| "ME"
|
|
6318
|
+
| "NAF"
|
|
6319
|
+
| "SAF"
|
|
6320
|
+
| "SEAS"
|
|
6321
|
+
| "NEAS"
|
|
6322
|
+
| "ALL_REGIONS"
|
|
6323
|
+
| "SAS"
|
|
6324
|
+
)[]
|
|
6325
|
+
| null;
|
|
6326
|
+
createdOn?: string | null;
|
|
6327
|
+
description?: string | null;
|
|
6328
|
+
disabledAt?: string | null;
|
|
6329
|
+
enabled?: boolean | null;
|
|
6330
|
+
latitude?: number | null;
|
|
6331
|
+
loadShedding?: unknown | null;
|
|
6332
|
+
longitude?: number | null;
|
|
6333
|
+
minimumOrigins?: number | null;
|
|
6334
|
+
modifiedOn?: string | null;
|
|
6335
|
+
monitor?: string | null;
|
|
6336
|
+
monitorGroup?: string | null;
|
|
6337
|
+
name?: string | null;
|
|
6338
|
+
networks?: string[] | null;
|
|
6339
|
+
notificationEmail?: string | null;
|
|
6340
|
+
notificationFilter?: unknown | null;
|
|
6341
|
+
originSteering?: unknown | null;
|
|
6342
|
+
origins?: unknown[] | null;
|
|
6343
|
+
},
|
|
6344
|
+
BulkPatchPoolsError,
|
|
6345
|
+
Credentials | HttpClient.HttpClient
|
|
6346
|
+
>;
|
|
6347
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
5903
6348
|
input: BulkPatchPoolsRequest,
|
|
5904
6349
|
output: BulkPatchPoolsResponse,
|
|
5905
6350
|
errors: [],
|
|
6351
|
+
pagination: {
|
|
6352
|
+
mode: "single",
|
|
6353
|
+
items: "result",
|
|
6354
|
+
} as const,
|
|
5906
6355
|
}));
|
|
5907
6356
|
|
|
5908
6357
|
// =============================================================================
|
|
@@ -5989,9 +6438,11 @@ export const GetPoolHealthResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
5989
6438
|
Schema.Null,
|
|
5990
6439
|
]),
|
|
5991
6440
|
),
|
|
5992
|
-
})
|
|
5993
|
-
Schema.encodeKeys({ poolId: "pool_id", popHealth: "pop_health" })
|
|
5994
|
-
|
|
6441
|
+
})
|
|
6442
|
+
.pipe(Schema.encodeKeys({ poolId: "pool_id", popHealth: "pop_health" }))
|
|
6443
|
+
.pipe(
|
|
6444
|
+
T.ResponsePath("result"),
|
|
6445
|
+
) as unknown as Schema.Schema<GetPoolHealthResponse>;
|
|
5995
6446
|
|
|
5996
6447
|
export type GetPoolHealthError = DefaultErrors;
|
|
5997
6448
|
|
|
@@ -6108,9 +6559,11 @@ export const CreatePoolHealthResponse =
|
|
|
6108
6559
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6109
6560
|
pools: Schema.optional(Schema.Union([Schema.Struct({}), Schema.Null])),
|
|
6110
6561
|
previewId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6111
|
-
})
|
|
6112
|
-
Schema.encodeKeys({ pools: "pools", previewId: "preview_id" })
|
|
6113
|
-
|
|
6562
|
+
})
|
|
6563
|
+
.pipe(Schema.encodeKeys({ pools: "pools", previewId: "preview_id" }))
|
|
6564
|
+
.pipe(
|
|
6565
|
+
T.ResponsePath("result"),
|
|
6566
|
+
) as unknown as Schema.Schema<CreatePoolHealthResponse>;
|
|
6114
6567
|
|
|
6115
6568
|
export type CreatePoolHealthError = DefaultErrors;
|
|
6116
6569
|
|
|
@@ -6146,46 +6599,76 @@ export const GetPoolReferenceRequest =
|
|
|
6146
6599
|
}),
|
|
6147
6600
|
) as unknown as Schema.Schema<GetPoolReferenceRequest>;
|
|
6148
6601
|
|
|
6149
|
-
export
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
|
|
6153
|
-
|
|
6154
|
-
|
|
6602
|
+
export interface GetPoolReferenceResponse {
|
|
6603
|
+
result: {
|
|
6604
|
+
referenceType?: "*" | "referral" | "referrer" | null;
|
|
6605
|
+
resourceId?: string | null;
|
|
6606
|
+
resourceName?: string | null;
|
|
6607
|
+
resourceType?: string | null;
|
|
6608
|
+
}[];
|
|
6609
|
+
}
|
|
6155
6610
|
|
|
6156
6611
|
export const GetPoolReferenceResponse =
|
|
6157
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
6158
|
-
Schema.
|
|
6159
|
-
|
|
6160
|
-
Schema.
|
|
6161
|
-
Schema.
|
|
6162
|
-
|
|
6163
|
-
|
|
6612
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6613
|
+
result: Schema.Array(
|
|
6614
|
+
Schema.Struct({
|
|
6615
|
+
referenceType: Schema.optional(
|
|
6616
|
+
Schema.Union([
|
|
6617
|
+
Schema.Literals(["*", "referral", "referrer"]),
|
|
6618
|
+
Schema.Null,
|
|
6619
|
+
]),
|
|
6620
|
+
),
|
|
6621
|
+
resourceId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6622
|
+
resourceName: Schema.optional(
|
|
6623
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
6624
|
+
),
|
|
6625
|
+
resourceType: Schema.optional(
|
|
6626
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
6627
|
+
),
|
|
6628
|
+
}).pipe(
|
|
6629
|
+
Schema.encodeKeys({
|
|
6630
|
+
referenceType: "reference_type",
|
|
6631
|
+
resourceId: "resource_id",
|
|
6632
|
+
resourceName: "resource_name",
|
|
6633
|
+
resourceType: "resource_type",
|
|
6634
|
+
}),
|
|
6164
6635
|
),
|
|
6165
|
-
resourceId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6166
|
-
resourceName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6167
|
-
resourceType: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6168
|
-
}).pipe(
|
|
6169
|
-
Schema.encodeKeys({
|
|
6170
|
-
referenceType: "reference_type",
|
|
6171
|
-
resourceId: "resource_id",
|
|
6172
|
-
resourceName: "resource_name",
|
|
6173
|
-
resourceType: "resource_type",
|
|
6174
|
-
}),
|
|
6175
6636
|
),
|
|
6176
|
-
) as unknown as Schema.Schema<GetPoolReferenceResponse>;
|
|
6637
|
+
}) as unknown as Schema.Schema<GetPoolReferenceResponse>;
|
|
6177
6638
|
|
|
6178
6639
|
export type GetPoolReferenceError = DefaultErrors;
|
|
6179
6640
|
|
|
6180
|
-
export const getPoolReference: API.
|
|
6641
|
+
export const getPoolReference: API.PaginatedOperationMethod<
|
|
6181
6642
|
GetPoolReferenceRequest,
|
|
6182
6643
|
GetPoolReferenceResponse,
|
|
6183
6644
|
GetPoolReferenceError,
|
|
6184
6645
|
Credentials | HttpClient.HttpClient
|
|
6185
|
-
>
|
|
6646
|
+
> & {
|
|
6647
|
+
pages: (
|
|
6648
|
+
input: GetPoolReferenceRequest,
|
|
6649
|
+
) => stream.Stream<
|
|
6650
|
+
GetPoolReferenceResponse,
|
|
6651
|
+
GetPoolReferenceError,
|
|
6652
|
+
Credentials | HttpClient.HttpClient
|
|
6653
|
+
>;
|
|
6654
|
+
items: (input: GetPoolReferenceRequest) => stream.Stream<
|
|
6655
|
+
{
|
|
6656
|
+
referenceType?: "*" | "referral" | "referrer" | null;
|
|
6657
|
+
resourceId?: string | null;
|
|
6658
|
+
resourceName?: string | null;
|
|
6659
|
+
resourceType?: string | null;
|
|
6660
|
+
},
|
|
6661
|
+
GetPoolReferenceError,
|
|
6662
|
+
Credentials | HttpClient.HttpClient
|
|
6663
|
+
>;
|
|
6664
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
6186
6665
|
input: GetPoolReferenceRequest,
|
|
6187
6666
|
output: GetPoolReferenceResponse,
|
|
6188
6667
|
errors: [],
|
|
6668
|
+
pagination: {
|
|
6669
|
+
mode: "single",
|
|
6670
|
+
items: "result",
|
|
6671
|
+
} as const,
|
|
6189
6672
|
}));
|
|
6190
6673
|
|
|
6191
6674
|
// =============================================================================
|
|
@@ -6212,6 +6695,8 @@ export type GetPreviewResponse = Record<string, unknown>;
|
|
|
6212
6695
|
|
|
6213
6696
|
export const GetPreviewResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
6214
6697
|
{},
|
|
6698
|
+
).pipe(
|
|
6699
|
+
T.ResponsePath("result"),
|
|
6215
6700
|
) as unknown as Schema.Schema<GetPreviewResponse>;
|
|
6216
6701
|
|
|
6217
6702
|
export type GetPreviewError = DefaultErrors;
|
|
@@ -6279,7 +6764,9 @@ export type GetRegionResponse = string | null;
|
|
|
6279
6764
|
export const GetRegionResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
6280
6765
|
Schema.String,
|
|
6281
6766
|
Schema.Null,
|
|
6282
|
-
])
|
|
6767
|
+
]).pipe(
|
|
6768
|
+
T.ResponsePath("result"),
|
|
6769
|
+
) as unknown as Schema.Schema<GetRegionResponse>;
|
|
6283
6770
|
|
|
6284
6771
|
export type GetRegionError = DefaultErrors;
|
|
6285
6772
|
|
|
@@ -6328,7 +6815,9 @@ export type ListRegionsResponse = string | null;
|
|
|
6328
6815
|
export const ListRegionsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
6329
6816
|
Schema.String,
|
|
6330
6817
|
Schema.Null,
|
|
6331
|
-
])
|
|
6818
|
+
]).pipe(
|
|
6819
|
+
T.ResponsePath("result"),
|
|
6820
|
+
) as unknown as Schema.Schema<ListRegionsResponse>;
|
|
6332
6821
|
|
|
6333
6822
|
export type ListRegionsError = DefaultErrors;
|
|
6334
6823
|
|
|
@@ -6369,70 +6858,136 @@ export const ListSearchesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
6369
6858
|
}),
|
|
6370
6859
|
) as unknown as Schema.Schema<ListSearchesRequest>;
|
|
6371
6860
|
|
|
6372
|
-
export
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
|
|
6382
|
-
|
|
6861
|
+
export interface ListSearchesResponse {
|
|
6862
|
+
result: {
|
|
6863
|
+
items?:
|
|
6864
|
+
| {
|
|
6865
|
+
resources?:
|
|
6866
|
+
| {
|
|
6867
|
+
referenceType?: "referral" | "referrer" | null;
|
|
6868
|
+
references?: unknown[] | null;
|
|
6869
|
+
resourceId?: string | null;
|
|
6870
|
+
resourceName?: string | null;
|
|
6871
|
+
resourceType?: "load_balancer" | "monitor" | "pool" | null;
|
|
6872
|
+
}[]
|
|
6873
|
+
| null;
|
|
6874
|
+
}[]
|
|
6875
|
+
| null;
|
|
6876
|
+
};
|
|
6877
|
+
resultInfo: {
|
|
6878
|
+
count?: number | null;
|
|
6879
|
+
page?: number | null;
|
|
6880
|
+
perPage?: number | null;
|
|
6881
|
+
totalCount?: number | null;
|
|
6882
|
+
};
|
|
6883
|
+
}
|
|
6383
6884
|
|
|
6384
|
-
export const ListSearchesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
6385
|
-
Schema.Struct({
|
|
6386
|
-
|
|
6885
|
+
export const ListSearchesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6886
|
+
result: Schema.Struct({
|
|
6887
|
+
items: Schema.optional(
|
|
6387
6888
|
Schema.Union([
|
|
6388
6889
|
Schema.Array(
|
|
6389
6890
|
Schema.Struct({
|
|
6390
|
-
|
|
6391
|
-
Schema.Union([
|
|
6392
|
-
Schema.Literals(["referral", "referrer"]),
|
|
6393
|
-
Schema.Null,
|
|
6394
|
-
]),
|
|
6395
|
-
),
|
|
6396
|
-
references: Schema.optional(
|
|
6397
|
-
Schema.Union([Schema.Array(Schema.Unknown), Schema.Null]),
|
|
6398
|
-
),
|
|
6399
|
-
resourceId: Schema.optional(
|
|
6400
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
6401
|
-
),
|
|
6402
|
-
resourceName: Schema.optional(
|
|
6403
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
6404
|
-
),
|
|
6405
|
-
resourceType: Schema.optional(
|
|
6891
|
+
resources: Schema.optional(
|
|
6406
6892
|
Schema.Union([
|
|
6407
|
-
Schema.
|
|
6893
|
+
Schema.Array(
|
|
6894
|
+
Schema.Struct({
|
|
6895
|
+
referenceType: Schema.optional(
|
|
6896
|
+
Schema.Union([
|
|
6897
|
+
Schema.Literals(["referral", "referrer"]),
|
|
6898
|
+
Schema.Null,
|
|
6899
|
+
]),
|
|
6900
|
+
),
|
|
6901
|
+
references: Schema.optional(
|
|
6902
|
+
Schema.Union([Schema.Array(Schema.Unknown), Schema.Null]),
|
|
6903
|
+
),
|
|
6904
|
+
resourceId: Schema.optional(
|
|
6905
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
6906
|
+
),
|
|
6907
|
+
resourceName: Schema.optional(
|
|
6908
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
6909
|
+
),
|
|
6910
|
+
resourceType: Schema.optional(
|
|
6911
|
+
Schema.Union([
|
|
6912
|
+
Schema.Literals(["load_balancer", "monitor", "pool"]),
|
|
6913
|
+
Schema.Null,
|
|
6914
|
+
]),
|
|
6915
|
+
),
|
|
6916
|
+
}).pipe(
|
|
6917
|
+
Schema.encodeKeys({
|
|
6918
|
+
referenceType: "reference_type",
|
|
6919
|
+
references: "references",
|
|
6920
|
+
resourceId: "resource_id",
|
|
6921
|
+
resourceName: "resource_name",
|
|
6922
|
+
resourceType: "resource_type",
|
|
6923
|
+
}),
|
|
6924
|
+
),
|
|
6925
|
+
),
|
|
6408
6926
|
Schema.Null,
|
|
6409
6927
|
]),
|
|
6410
6928
|
),
|
|
6411
|
-
})
|
|
6412
|
-
Schema.encodeKeys({
|
|
6413
|
-
referenceType: "reference_type",
|
|
6414
|
-
references: "references",
|
|
6415
|
-
resourceId: "resource_id",
|
|
6416
|
-
resourceName: "resource_name",
|
|
6417
|
-
resourceType: "resource_type",
|
|
6418
|
-
}),
|
|
6419
|
-
),
|
|
6929
|
+
}),
|
|
6420
6930
|
),
|
|
6421
6931
|
Schema.Null,
|
|
6422
6932
|
]),
|
|
6423
6933
|
),
|
|
6424
6934
|
}),
|
|
6935
|
+
resultInfo: Schema.Struct({
|
|
6936
|
+
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
6937
|
+
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
6938
|
+
perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
6939
|
+
totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
6940
|
+
}).pipe(
|
|
6941
|
+
Schema.encodeKeys({
|
|
6942
|
+
count: "count",
|
|
6943
|
+
page: "page",
|
|
6944
|
+
perPage: "per_page",
|
|
6945
|
+
totalCount: "total_count",
|
|
6946
|
+
}),
|
|
6947
|
+
),
|
|
6948
|
+
}).pipe(
|
|
6949
|
+
Schema.encodeKeys({ result: "result", resultInfo: "result_info" }),
|
|
6425
6950
|
) as unknown as Schema.Schema<ListSearchesResponse>;
|
|
6426
6951
|
|
|
6427
6952
|
export type ListSearchesError = DefaultErrors;
|
|
6428
6953
|
|
|
6429
|
-
export const listSearches: API.
|
|
6954
|
+
export const listSearches: API.PaginatedOperationMethod<
|
|
6430
6955
|
ListSearchesRequest,
|
|
6431
6956
|
ListSearchesResponse,
|
|
6432
6957
|
ListSearchesError,
|
|
6433
6958
|
Credentials | HttpClient.HttpClient
|
|
6434
|
-
>
|
|
6959
|
+
> & {
|
|
6960
|
+
pages: (
|
|
6961
|
+
input: ListSearchesRequest,
|
|
6962
|
+
) => stream.Stream<
|
|
6963
|
+
ListSearchesResponse,
|
|
6964
|
+
ListSearchesError,
|
|
6965
|
+
Credentials | HttpClient.HttpClient
|
|
6966
|
+
>;
|
|
6967
|
+
items: (input: ListSearchesRequest) => stream.Stream<
|
|
6968
|
+
{
|
|
6969
|
+
resources?:
|
|
6970
|
+
| {
|
|
6971
|
+
referenceType?: "referral" | "referrer" | null;
|
|
6972
|
+
references?: unknown[] | null;
|
|
6973
|
+
resourceId?: string | null;
|
|
6974
|
+
resourceName?: string | null;
|
|
6975
|
+
resourceType?: "load_balancer" | "monitor" | "pool" | null;
|
|
6976
|
+
}[]
|
|
6977
|
+
| null;
|
|
6978
|
+
},
|
|
6979
|
+
ListSearchesError,
|
|
6980
|
+
Credentials | HttpClient.HttpClient
|
|
6981
|
+
>;
|
|
6982
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
6435
6983
|
input: ListSearchesRequest,
|
|
6436
6984
|
output: ListSearchesResponse,
|
|
6437
6985
|
errors: [],
|
|
6986
|
+
pagination: {
|
|
6987
|
+
mode: "page",
|
|
6988
|
+
inputToken: "page",
|
|
6989
|
+
outputToken: "resultInfo.page",
|
|
6990
|
+
items: "result.items",
|
|
6991
|
+
pageSize: "perPage",
|
|
6992
|
+
} as const,
|
|
6438
6993
|
}));
|