@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 magic-transit
|
|
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";
|
|
@@ -27,77 +28,111 @@ export const ListAppsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
27
28
|
T.Http({ method: "GET", path: "/accounts/{account_id}/magic/apps" }),
|
|
28
29
|
) as unknown as Schema.Schema<ListAppsRequest>;
|
|
29
30
|
|
|
30
|
-
export
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
31
|
+
export interface ListAppsResponse {
|
|
32
|
+
result: (
|
|
33
|
+
| {
|
|
34
|
+
accountAppId: string;
|
|
35
|
+
hostnames?: string[] | null;
|
|
36
|
+
ipSubnets?: string[] | null;
|
|
37
|
+
name?: string | null;
|
|
38
|
+
type?: string | null;
|
|
39
|
+
}
|
|
40
|
+
| {
|
|
41
|
+
managedAppId: string;
|
|
42
|
+
hostnames?: string[] | null;
|
|
43
|
+
ipSubnets?: string[] | null;
|
|
44
|
+
name?: string | null;
|
|
45
|
+
type?: string | null;
|
|
46
|
+
}
|
|
47
|
+
)[];
|
|
48
|
+
}
|
|
46
49
|
|
|
47
|
-
export const ListAppsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
48
|
-
Schema.
|
|
49
|
-
Schema.
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
Schema.
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
Schema.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
Schema.Struct({
|
|
69
|
-
managedAppId: Schema.String,
|
|
70
|
-
hostnames: Schema.optional(
|
|
71
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
50
|
+
export const ListAppsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
51
|
+
result: Schema.Array(
|
|
52
|
+
Schema.Union([
|
|
53
|
+
Schema.Struct({
|
|
54
|
+
accountAppId: Schema.String,
|
|
55
|
+
hostnames: Schema.optional(
|
|
56
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
57
|
+
),
|
|
58
|
+
ipSubnets: Schema.optional(
|
|
59
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
60
|
+
),
|
|
61
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
62
|
+
type: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
63
|
+
}).pipe(
|
|
64
|
+
Schema.encodeKeys({
|
|
65
|
+
accountAppId: "account_app_id",
|
|
66
|
+
hostnames: "hostnames",
|
|
67
|
+
ipSubnets: "ip_subnets",
|
|
68
|
+
name: "name",
|
|
69
|
+
type: "type",
|
|
70
|
+
}),
|
|
72
71
|
),
|
|
73
|
-
|
|
74
|
-
Schema.
|
|
72
|
+
Schema.Struct({
|
|
73
|
+
managedAppId: Schema.String,
|
|
74
|
+
hostnames: Schema.optional(
|
|
75
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
76
|
+
),
|
|
77
|
+
ipSubnets: Schema.optional(
|
|
78
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
79
|
+
),
|
|
80
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
81
|
+
type: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
82
|
+
}).pipe(
|
|
83
|
+
Schema.encodeKeys({
|
|
84
|
+
managedAppId: "managed_app_id",
|
|
85
|
+
hostnames: "hostnames",
|
|
86
|
+
ipSubnets: "ip_subnets",
|
|
87
|
+
name: "name",
|
|
88
|
+
type: "type",
|
|
89
|
+
}),
|
|
75
90
|
),
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
Schema.encodeKeys({
|
|
80
|
-
managedAppId: "managed_app_id",
|
|
81
|
-
hostnames: "hostnames",
|
|
82
|
-
ipSubnets: "ip_subnets",
|
|
83
|
-
name: "name",
|
|
84
|
-
type: "type",
|
|
85
|
-
}),
|
|
86
|
-
),
|
|
87
|
-
]),
|
|
88
|
-
) as unknown as Schema.Schema<ListAppsResponse>;
|
|
91
|
+
]),
|
|
92
|
+
),
|
|
93
|
+
}) as unknown as Schema.Schema<ListAppsResponse>;
|
|
89
94
|
|
|
90
95
|
export type ListAppsError = DefaultErrors;
|
|
91
96
|
|
|
92
|
-
export const listApps: API.
|
|
97
|
+
export const listApps: API.PaginatedOperationMethod<
|
|
93
98
|
ListAppsRequest,
|
|
94
99
|
ListAppsResponse,
|
|
95
100
|
ListAppsError,
|
|
96
101
|
Credentials | HttpClient.HttpClient
|
|
97
|
-
>
|
|
102
|
+
> & {
|
|
103
|
+
pages: (
|
|
104
|
+
input: ListAppsRequest,
|
|
105
|
+
) => stream.Stream<
|
|
106
|
+
ListAppsResponse,
|
|
107
|
+
ListAppsError,
|
|
108
|
+
Credentials | HttpClient.HttpClient
|
|
109
|
+
>;
|
|
110
|
+
items: (input: ListAppsRequest) => stream.Stream<
|
|
111
|
+
| {
|
|
112
|
+
accountAppId: string;
|
|
113
|
+
hostnames?: string[] | null;
|
|
114
|
+
ipSubnets?: string[] | null;
|
|
115
|
+
name?: string | null;
|
|
116
|
+
type?: string | null;
|
|
117
|
+
}
|
|
118
|
+
| {
|
|
119
|
+
managedAppId: string;
|
|
120
|
+
hostnames?: string[] | null;
|
|
121
|
+
ipSubnets?: string[] | null;
|
|
122
|
+
name?: string | null;
|
|
123
|
+
type?: string | null;
|
|
124
|
+
},
|
|
125
|
+
ListAppsError,
|
|
126
|
+
Credentials | HttpClient.HttpClient
|
|
127
|
+
>;
|
|
128
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
98
129
|
input: ListAppsRequest,
|
|
99
130
|
output: ListAppsResponse,
|
|
100
131
|
errors: [],
|
|
132
|
+
pagination: {
|
|
133
|
+
mode: "single",
|
|
134
|
+
items: "result",
|
|
135
|
+
} as const,
|
|
101
136
|
}));
|
|
102
137
|
|
|
103
138
|
export interface CreateAppRequest {
|
|
@@ -152,15 +187,19 @@ export const CreateAppResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
152
187
|
),
|
|
153
188
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
154
189
|
type: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
155
|
-
})
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
)
|
|
190
|
+
})
|
|
191
|
+
.pipe(
|
|
192
|
+
Schema.encodeKeys({
|
|
193
|
+
accountAppId: "account_app_id",
|
|
194
|
+
hostnames: "hostnames",
|
|
195
|
+
ipSubnets: "ip_subnets",
|
|
196
|
+
name: "name",
|
|
197
|
+
type: "type",
|
|
198
|
+
}),
|
|
199
|
+
)
|
|
200
|
+
.pipe(
|
|
201
|
+
T.ResponsePath("result"),
|
|
202
|
+
) as unknown as Schema.Schema<CreateAppResponse>;
|
|
164
203
|
|
|
165
204
|
export type CreateAppError = DefaultErrors;
|
|
166
205
|
|
|
@@ -232,15 +271,19 @@ export const UpdateAppResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
232
271
|
),
|
|
233
272
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
234
273
|
type: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
235
|
-
})
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
)
|
|
274
|
+
})
|
|
275
|
+
.pipe(
|
|
276
|
+
Schema.encodeKeys({
|
|
277
|
+
accountAppId: "account_app_id",
|
|
278
|
+
hostnames: "hostnames",
|
|
279
|
+
ipSubnets: "ip_subnets",
|
|
280
|
+
name: "name",
|
|
281
|
+
type: "type",
|
|
282
|
+
}),
|
|
283
|
+
)
|
|
284
|
+
.pipe(
|
|
285
|
+
T.ResponsePath("result"),
|
|
286
|
+
) as unknown as Schema.Schema<UpdateAppResponse>;
|
|
244
287
|
|
|
245
288
|
export type UpdateAppError = DefaultErrors;
|
|
246
289
|
|
|
@@ -312,15 +355,17 @@ export const PatchAppResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
312
355
|
),
|
|
313
356
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
314
357
|
type: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
315
|
-
})
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
)
|
|
358
|
+
})
|
|
359
|
+
.pipe(
|
|
360
|
+
Schema.encodeKeys({
|
|
361
|
+
accountAppId: "account_app_id",
|
|
362
|
+
hostnames: "hostnames",
|
|
363
|
+
ipSubnets: "ip_subnets",
|
|
364
|
+
name: "name",
|
|
365
|
+
type: "type",
|
|
366
|
+
}),
|
|
367
|
+
)
|
|
368
|
+
.pipe(T.ResponsePath("result")) as unknown as Schema.Schema<PatchAppResponse>;
|
|
324
369
|
|
|
325
370
|
export type PatchAppError = DefaultErrors;
|
|
326
371
|
|
|
@@ -374,15 +419,19 @@ export const DeleteAppResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
374
419
|
),
|
|
375
420
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
376
421
|
type: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
377
|
-
})
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
)
|
|
422
|
+
})
|
|
423
|
+
.pipe(
|
|
424
|
+
Schema.encodeKeys({
|
|
425
|
+
accountAppId: "account_app_id",
|
|
426
|
+
hostnames: "hostnames",
|
|
427
|
+
ipSubnets: "ip_subnets",
|
|
428
|
+
name: "name",
|
|
429
|
+
type: "type",
|
|
430
|
+
}),
|
|
431
|
+
)
|
|
432
|
+
.pipe(
|
|
433
|
+
T.ResponsePath("result"),
|
|
434
|
+
) as unknown as Schema.Schema<DeleteAppResponse>;
|
|
386
435
|
|
|
387
436
|
export type DeleteAppError = DefaultErrors;
|
|
388
437
|
|
|
@@ -503,7 +552,9 @@ export const GetCfInterconnectResponse =
|
|
|
503
552
|
Schema.Null,
|
|
504
553
|
]),
|
|
505
554
|
),
|
|
506
|
-
})
|
|
555
|
+
}).pipe(
|
|
556
|
+
T.ResponsePath("result"),
|
|
557
|
+
) as unknown as Schema.Schema<GetCfInterconnectResponse>;
|
|
507
558
|
|
|
508
559
|
export type GetCfInterconnectError = DefaultErrors;
|
|
509
560
|
|
|
@@ -624,7 +675,9 @@ export const ListCfInterconnectsResponse =
|
|
|
624
675
|
Schema.Null,
|
|
625
676
|
]),
|
|
626
677
|
),
|
|
627
|
-
})
|
|
678
|
+
}).pipe(
|
|
679
|
+
T.ResponsePath("result"),
|
|
680
|
+
) as unknown as Schema.Schema<ListCfInterconnectsResponse>;
|
|
628
681
|
|
|
629
682
|
export type ListCfInterconnectsError = DefaultErrors;
|
|
630
683
|
|
|
@@ -777,12 +830,16 @@ export const PutCfInterconnectResponse =
|
|
|
777
830
|
Schema.Null,
|
|
778
831
|
]),
|
|
779
832
|
),
|
|
780
|
-
})
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
833
|
+
})
|
|
834
|
+
.pipe(
|
|
835
|
+
Schema.encodeKeys({
|
|
836
|
+
modified: "modified",
|
|
837
|
+
modifiedInterconnect: "modified_interconnect",
|
|
838
|
+
}),
|
|
839
|
+
)
|
|
840
|
+
.pipe(
|
|
841
|
+
T.ResponsePath("result"),
|
|
842
|
+
) as unknown as Schema.Schema<PutCfInterconnectResponse>;
|
|
786
843
|
|
|
787
844
|
export type PutCfInterconnectError = DefaultErrors;
|
|
788
845
|
|
|
@@ -853,21 +910,25 @@ export const GetConnectorResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
853
910
|
lastHeartbeat: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
854
911
|
lastSeenVersion: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
855
912
|
licenseKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
856
|
-
})
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
)
|
|
913
|
+
})
|
|
914
|
+
.pipe(
|
|
915
|
+
Schema.encodeKeys({
|
|
916
|
+
id: "id",
|
|
917
|
+
activated: "activated",
|
|
918
|
+
interruptWindowDurationHours: "interrupt_window_duration_hours",
|
|
919
|
+
interruptWindowHourOfDay: "interrupt_window_hour_of_day",
|
|
920
|
+
lastUpdated: "last_updated",
|
|
921
|
+
notes: "notes",
|
|
922
|
+
timezone: "timezone",
|
|
923
|
+
device: "device",
|
|
924
|
+
lastHeartbeat: "last_heartbeat",
|
|
925
|
+
lastSeenVersion: "last_seen_version",
|
|
926
|
+
licenseKey: "license_key",
|
|
927
|
+
}),
|
|
928
|
+
)
|
|
929
|
+
.pipe(
|
|
930
|
+
T.ResponsePath("result"),
|
|
931
|
+
) as unknown as Schema.Schema<GetConnectorResponse>;
|
|
871
932
|
|
|
872
933
|
export type GetConnectorError = DefaultErrors;
|
|
873
934
|
|
|
@@ -893,73 +954,112 @@ export const ListConnectorsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
893
954
|
T.Http({ method: "GET", path: "/accounts/{account_id}/magic/connectors" }),
|
|
894
955
|
) as unknown as Schema.Schema<ListConnectorsRequest>;
|
|
895
956
|
|
|
896
|
-
export
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
957
|
+
export interface ListConnectorsResponse {
|
|
958
|
+
result: {
|
|
959
|
+
id: string;
|
|
960
|
+
activated: boolean;
|
|
961
|
+
interruptWindowDurationHours: number;
|
|
962
|
+
interruptWindowHourOfDay: number;
|
|
963
|
+
lastUpdated: string;
|
|
964
|
+
notes: string;
|
|
965
|
+
timezone: string;
|
|
966
|
+
device?: { id: string; serialNumber?: string | null } | null;
|
|
967
|
+
lastHeartbeat?: string | null;
|
|
968
|
+
lastSeenVersion?: string | null;
|
|
969
|
+
licenseKey?: string | null;
|
|
970
|
+
}[];
|
|
971
|
+
}
|
|
909
972
|
|
|
910
|
-
export const ListConnectorsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
Schema.
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
973
|
+
export const ListConnectorsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
974
|
+
{
|
|
975
|
+
result: Schema.Array(
|
|
976
|
+
Schema.Struct({
|
|
977
|
+
id: Schema.String,
|
|
978
|
+
activated: Schema.Boolean,
|
|
979
|
+
interruptWindowDurationHours: Schema.Number,
|
|
980
|
+
interruptWindowHourOfDay: Schema.Number,
|
|
981
|
+
lastUpdated: Schema.String,
|
|
982
|
+
notes: Schema.String,
|
|
983
|
+
timezone: Schema.String,
|
|
984
|
+
device: Schema.optional(
|
|
985
|
+
Schema.Union([
|
|
986
|
+
Schema.Struct({
|
|
987
|
+
id: Schema.String,
|
|
988
|
+
serialNumber: Schema.optional(
|
|
989
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
990
|
+
),
|
|
991
|
+
}).pipe(
|
|
992
|
+
Schema.encodeKeys({ id: "id", serialNumber: "serial_number" }),
|
|
993
|
+
),
|
|
994
|
+
Schema.Null,
|
|
995
|
+
]),
|
|
996
|
+
),
|
|
997
|
+
lastHeartbeat: Schema.optional(
|
|
998
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
999
|
+
),
|
|
1000
|
+
lastSeenVersion: Schema.optional(
|
|
1001
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
1002
|
+
),
|
|
1003
|
+
licenseKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1004
|
+
}).pipe(
|
|
1005
|
+
Schema.encodeKeys({
|
|
1006
|
+
id: "id",
|
|
1007
|
+
activated: "activated",
|
|
1008
|
+
interruptWindowDurationHours: "interrupt_window_duration_hours",
|
|
1009
|
+
interruptWindowHourOfDay: "interrupt_window_hour_of_day",
|
|
1010
|
+
lastUpdated: "last_updated",
|
|
1011
|
+
notes: "notes",
|
|
1012
|
+
timezone: "timezone",
|
|
1013
|
+
device: "device",
|
|
1014
|
+
lastHeartbeat: "last_heartbeat",
|
|
1015
|
+
lastSeenVersion: "last_seen_version",
|
|
1016
|
+
licenseKey: "license_key",
|
|
1017
|
+
}),
|
|
1018
|
+
),
|
|
933
1019
|
),
|
|
934
|
-
|
|
935
|
-
}).pipe(
|
|
936
|
-
Schema.encodeKeys({
|
|
937
|
-
id: "id",
|
|
938
|
-
activated: "activated",
|
|
939
|
-
interruptWindowDurationHours: "interrupt_window_duration_hours",
|
|
940
|
-
interruptWindowHourOfDay: "interrupt_window_hour_of_day",
|
|
941
|
-
lastUpdated: "last_updated",
|
|
942
|
-
notes: "notes",
|
|
943
|
-
timezone: "timezone",
|
|
944
|
-
device: "device",
|
|
945
|
-
lastHeartbeat: "last_heartbeat",
|
|
946
|
-
lastSeenVersion: "last_seen_version",
|
|
947
|
-
licenseKey: "license_key",
|
|
948
|
-
}),
|
|
949
|
-
),
|
|
1020
|
+
},
|
|
950
1021
|
) as unknown as Schema.Schema<ListConnectorsResponse>;
|
|
951
1022
|
|
|
952
1023
|
export type ListConnectorsError = DefaultErrors;
|
|
953
1024
|
|
|
954
|
-
export const listConnectors: API.
|
|
1025
|
+
export const listConnectors: API.PaginatedOperationMethod<
|
|
955
1026
|
ListConnectorsRequest,
|
|
956
1027
|
ListConnectorsResponse,
|
|
957
1028
|
ListConnectorsError,
|
|
958
1029
|
Credentials | HttpClient.HttpClient
|
|
959
|
-
>
|
|
1030
|
+
> & {
|
|
1031
|
+
pages: (
|
|
1032
|
+
input: ListConnectorsRequest,
|
|
1033
|
+
) => stream.Stream<
|
|
1034
|
+
ListConnectorsResponse,
|
|
1035
|
+
ListConnectorsError,
|
|
1036
|
+
Credentials | HttpClient.HttpClient
|
|
1037
|
+
>;
|
|
1038
|
+
items: (input: ListConnectorsRequest) => stream.Stream<
|
|
1039
|
+
{
|
|
1040
|
+
id: string;
|
|
1041
|
+
activated: boolean;
|
|
1042
|
+
interruptWindowDurationHours: number;
|
|
1043
|
+
interruptWindowHourOfDay: number;
|
|
1044
|
+
lastUpdated: string;
|
|
1045
|
+
notes: string;
|
|
1046
|
+
timezone: string;
|
|
1047
|
+
device?: { id: string; serialNumber?: string | null } | null;
|
|
1048
|
+
lastHeartbeat?: string | null;
|
|
1049
|
+
lastSeenVersion?: string | null;
|
|
1050
|
+
licenseKey?: string | null;
|
|
1051
|
+
},
|
|
1052
|
+
ListConnectorsError,
|
|
1053
|
+
Credentials | HttpClient.HttpClient
|
|
1054
|
+
>;
|
|
1055
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
960
1056
|
input: ListConnectorsRequest,
|
|
961
1057
|
output: ListConnectorsResponse,
|
|
962
1058
|
errors: [],
|
|
1059
|
+
pagination: {
|
|
1060
|
+
mode: "single",
|
|
1061
|
+
items: "result",
|
|
1062
|
+
} as const,
|
|
963
1063
|
}));
|
|
964
1064
|
|
|
965
1065
|
export interface CreateConnectorRequest {
|
|
@@ -1050,21 +1150,25 @@ export const CreateConnectorResponse =
|
|
|
1050
1150
|
Schema.Union([Schema.String, Schema.Null]),
|
|
1051
1151
|
),
|
|
1052
1152
|
licenseKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1053
|
-
})
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1153
|
+
})
|
|
1154
|
+
.pipe(
|
|
1155
|
+
Schema.encodeKeys({
|
|
1156
|
+
id: "id",
|
|
1157
|
+
activated: "activated",
|
|
1158
|
+
interruptWindowDurationHours: "interrupt_window_duration_hours",
|
|
1159
|
+
interruptWindowHourOfDay: "interrupt_window_hour_of_day",
|
|
1160
|
+
lastUpdated: "last_updated",
|
|
1161
|
+
notes: "notes",
|
|
1162
|
+
timezone: "timezone",
|
|
1163
|
+
device: "device",
|
|
1164
|
+
lastHeartbeat: "last_heartbeat",
|
|
1165
|
+
lastSeenVersion: "last_seen_version",
|
|
1166
|
+
licenseKey: "license_key",
|
|
1167
|
+
}),
|
|
1168
|
+
)
|
|
1169
|
+
.pipe(
|
|
1170
|
+
T.ResponsePath("result"),
|
|
1171
|
+
) as unknown as Schema.Schema<CreateConnectorResponse>;
|
|
1068
1172
|
|
|
1069
1173
|
export type CreateConnectorError = DefaultErrors;
|
|
1070
1174
|
|
|
@@ -1162,21 +1266,25 @@ export const UpdateConnectorResponse =
|
|
|
1162
1266
|
Schema.Union([Schema.String, Schema.Null]),
|
|
1163
1267
|
),
|
|
1164
1268
|
licenseKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1165
|
-
})
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1269
|
+
})
|
|
1270
|
+
.pipe(
|
|
1271
|
+
Schema.encodeKeys({
|
|
1272
|
+
id: "id",
|
|
1273
|
+
activated: "activated",
|
|
1274
|
+
interruptWindowDurationHours: "interrupt_window_duration_hours",
|
|
1275
|
+
interruptWindowHourOfDay: "interrupt_window_hour_of_day",
|
|
1276
|
+
lastUpdated: "last_updated",
|
|
1277
|
+
notes: "notes",
|
|
1278
|
+
timezone: "timezone",
|
|
1279
|
+
device: "device",
|
|
1280
|
+
lastHeartbeat: "last_heartbeat",
|
|
1281
|
+
lastSeenVersion: "last_seen_version",
|
|
1282
|
+
licenseKey: "license_key",
|
|
1283
|
+
}),
|
|
1284
|
+
)
|
|
1285
|
+
.pipe(
|
|
1286
|
+
T.ResponsePath("result"),
|
|
1287
|
+
) as unknown as Schema.Schema<UpdateConnectorResponse>;
|
|
1180
1288
|
|
|
1181
1289
|
export type UpdateConnectorError = DefaultErrors;
|
|
1182
1290
|
|
|
@@ -1273,32 +1381,36 @@ export const PatchConnectorResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
1273
1381
|
),
|
|
1274
1382
|
licenseKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1275
1383
|
},
|
|
1276
|
-
)
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
)
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1384
|
+
)
|
|
1385
|
+
.pipe(
|
|
1386
|
+
Schema.encodeKeys({
|
|
1387
|
+
id: "id",
|
|
1388
|
+
activated: "activated",
|
|
1389
|
+
interruptWindowDurationHours: "interrupt_window_duration_hours",
|
|
1390
|
+
interruptWindowHourOfDay: "interrupt_window_hour_of_day",
|
|
1391
|
+
lastUpdated: "last_updated",
|
|
1392
|
+
notes: "notes",
|
|
1393
|
+
timezone: "timezone",
|
|
1394
|
+
device: "device",
|
|
1395
|
+
lastHeartbeat: "last_heartbeat",
|
|
1396
|
+
lastSeenVersion: "last_seen_version",
|
|
1397
|
+
licenseKey: "license_key",
|
|
1398
|
+
}),
|
|
1399
|
+
)
|
|
1400
|
+
.pipe(
|
|
1401
|
+
T.ResponsePath("result"),
|
|
1402
|
+
) as unknown as Schema.Schema<PatchConnectorResponse>;
|
|
1403
|
+
|
|
1404
|
+
export type PatchConnectorError = DefaultErrors;
|
|
1405
|
+
|
|
1406
|
+
export const patchConnector: API.OperationMethod<
|
|
1407
|
+
PatchConnectorRequest,
|
|
1408
|
+
PatchConnectorResponse,
|
|
1409
|
+
PatchConnectorError,
|
|
1410
|
+
Credentials | HttpClient.HttpClient
|
|
1411
|
+
> = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1412
|
+
input: PatchConnectorRequest,
|
|
1413
|
+
output: PatchConnectorResponse,
|
|
1302
1414
|
errors: [],
|
|
1303
1415
|
}));
|
|
1304
1416
|
|
|
@@ -1359,21 +1471,25 @@ export const DeleteConnectorResponse =
|
|
|
1359
1471
|
Schema.Union([Schema.String, Schema.Null]),
|
|
1360
1472
|
),
|
|
1361
1473
|
licenseKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1362
|
-
})
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1474
|
+
})
|
|
1475
|
+
.pipe(
|
|
1476
|
+
Schema.encodeKeys({
|
|
1477
|
+
id: "id",
|
|
1478
|
+
activated: "activated",
|
|
1479
|
+
interruptWindowDurationHours: "interrupt_window_duration_hours",
|
|
1480
|
+
interruptWindowHourOfDay: "interrupt_window_hour_of_day",
|
|
1481
|
+
lastUpdated: "last_updated",
|
|
1482
|
+
notes: "notes",
|
|
1483
|
+
timezone: "timezone",
|
|
1484
|
+
device: "device",
|
|
1485
|
+
lastHeartbeat: "last_heartbeat",
|
|
1486
|
+
lastSeenVersion: "last_seen_version",
|
|
1487
|
+
licenseKey: "license_key",
|
|
1488
|
+
}),
|
|
1489
|
+
)
|
|
1490
|
+
.pipe(
|
|
1491
|
+
T.ResponsePath("result"),
|
|
1492
|
+
) as unknown as Schema.Schema<DeleteConnectorResponse>;
|
|
1377
1493
|
|
|
1378
1494
|
export type DeleteConnectorError = DefaultErrors;
|
|
1379
1495
|
|
|
@@ -1492,7 +1608,9 @@ export const GetConnectorEventResponse =
|
|
|
1492
1608
|
]),
|
|
1493
1609
|
n: Schema.Number,
|
|
1494
1610
|
t: Schema.Number,
|
|
1495
|
-
})
|
|
1611
|
+
}).pipe(
|
|
1612
|
+
T.ResponsePath("result"),
|
|
1613
|
+
) as unknown as Schema.Schema<GetConnectorEventResponse>;
|
|
1496
1614
|
|
|
1497
1615
|
export type GetConnectorEventError = DefaultErrors;
|
|
1498
1616
|
|
|
@@ -1557,7 +1675,9 @@ export const ListConnectorEventsResponse =
|
|
|
1557
1675
|
}),
|
|
1558
1676
|
),
|
|
1559
1677
|
cursor: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1560
|
-
})
|
|
1678
|
+
}).pipe(
|
|
1679
|
+
T.ResponsePath("result"),
|
|
1680
|
+
) as unknown as Schema.Schema<ListConnectorEventsResponse>;
|
|
1561
1681
|
|
|
1562
1682
|
export type ListConnectorEventsError = DefaultErrors;
|
|
1563
1683
|
|
|
@@ -1678,7 +1798,9 @@ export const ListConnectorEventLatestsResponse =
|
|
|
1678
1798
|
t: Schema.Number,
|
|
1679
1799
|
}),
|
|
1680
1800
|
),
|
|
1681
|
-
})
|
|
1801
|
+
}).pipe(
|
|
1802
|
+
T.ResponsePath("result"),
|
|
1803
|
+
) as unknown as Schema.Schema<ListConnectorEventLatestsResponse>;
|
|
1682
1804
|
|
|
1683
1805
|
export type ListConnectorEventLatestsError = DefaultErrors;
|
|
1684
1806
|
|
|
@@ -2867,180 +2989,184 @@ export const GetConnectorSnapshotResponse =
|
|
|
2867
2989
|
),
|
|
2868
2990
|
uptimeIdleMs: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2869
2991
|
uptimeTotalMs: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2870
|
-
})
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
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
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
2992
|
+
})
|
|
2993
|
+
.pipe(
|
|
2994
|
+
Schema.encodeKeys({
|
|
2995
|
+
countReclaimFailures: "count_reclaim_failures",
|
|
2996
|
+
countReclaimedPaths: "count_reclaimed_paths",
|
|
2997
|
+
countRecordFailed: "count_record_failed",
|
|
2998
|
+
countTransmitFailures: "count_transmit_failures",
|
|
2999
|
+
t: "t",
|
|
3000
|
+
v: "v",
|
|
3001
|
+
bonds: "bonds",
|
|
3002
|
+
cpuCount: "cpu_count",
|
|
3003
|
+
cpuPressure_10s: "cpu_pressure_10s",
|
|
3004
|
+
cpuPressure_300s: "cpu_pressure_300s",
|
|
3005
|
+
cpuPressure_60s: "cpu_pressure_60s",
|
|
3006
|
+
cpuPressureTotalUs: "cpu_pressure_total_us",
|
|
3007
|
+
cpuTimeGuestMs: "cpu_time_guest_ms",
|
|
3008
|
+
cpuTimeGuestNiceMs: "cpu_time_guest_nice_ms",
|
|
3009
|
+
cpuTimeIdleMs: "cpu_time_idle_ms",
|
|
3010
|
+
cpuTimeIowaitMs: "cpu_time_iowait_ms",
|
|
3011
|
+
cpuTimeIrqMs: "cpu_time_irq_ms",
|
|
3012
|
+
cpuTimeNiceMs: "cpu_time_nice_ms",
|
|
3013
|
+
cpuTimeSoftirqMs: "cpu_time_softirq_ms",
|
|
3014
|
+
cpuTimeStealMs: "cpu_time_steal_ms",
|
|
3015
|
+
cpuTimeSystemMs: "cpu_time_system_ms",
|
|
3016
|
+
cpuTimeUserMs: "cpu_time_user_ms",
|
|
3017
|
+
dhcpLeases: "dhcp_leases",
|
|
3018
|
+
disks: "disks",
|
|
3019
|
+
haState: "ha_state",
|
|
3020
|
+
haValue: "ha_value",
|
|
3021
|
+
interfaces: "interfaces",
|
|
3022
|
+
ioPressureFull_10s: "io_pressure_full_10s",
|
|
3023
|
+
ioPressureFull_300s: "io_pressure_full_300s",
|
|
3024
|
+
ioPressureFull_60s: "io_pressure_full_60s",
|
|
3025
|
+
ioPressureFullTotalUs: "io_pressure_full_total_us",
|
|
3026
|
+
ioPressureSome_10s: "io_pressure_some_10s",
|
|
3027
|
+
ioPressureSome_300s: "io_pressure_some_300s",
|
|
3028
|
+
ioPressureSome_60s: "io_pressure_some_60s",
|
|
3029
|
+
ioPressureSomeTotalUs: "io_pressure_some_total_us",
|
|
3030
|
+
kernelBtime: "kernel_btime",
|
|
3031
|
+
kernelCtxt: "kernel_ctxt",
|
|
3032
|
+
kernelProcesses: "kernel_processes",
|
|
3033
|
+
kernelProcessesBlocked: "kernel_processes_blocked",
|
|
3034
|
+
kernelProcessesRunning: "kernel_processes_running",
|
|
3035
|
+
loadAverage_15m: "load_average_15m",
|
|
3036
|
+
loadAverage_1m: "load_average_1m",
|
|
3037
|
+
loadAverage_5m: "load_average_5m",
|
|
3038
|
+
loadAverageCur: "load_average_cur",
|
|
3039
|
+
loadAverageMax: "load_average_max",
|
|
3040
|
+
memoryActiveBytes: "memory_active_bytes",
|
|
3041
|
+
memoryAnonHugepagesBytes: "memory_anon_hugepages_bytes",
|
|
3042
|
+
memoryAnonPagesBytes: "memory_anon_pages_bytes",
|
|
3043
|
+
memoryAvailableBytes: "memory_available_bytes",
|
|
3044
|
+
memoryBounceBytes: "memory_bounce_bytes",
|
|
3045
|
+
memoryBuffersBytes: "memory_buffers_bytes",
|
|
3046
|
+
memoryCachedBytes: "memory_cached_bytes",
|
|
3047
|
+
memoryCmaFreeBytes: "memory_cma_free_bytes",
|
|
3048
|
+
memoryCmaTotalBytes: "memory_cma_total_bytes",
|
|
3049
|
+
memoryCommitLimitBytes: "memory_commit_limit_bytes",
|
|
3050
|
+
memoryCommittedAsBytes: "memory_committed_as_bytes",
|
|
3051
|
+
memoryDirtyBytes: "memory_dirty_bytes",
|
|
3052
|
+
memoryFreeBytes: "memory_free_bytes",
|
|
3053
|
+
memoryHighFreeBytes: "memory_high_free_bytes",
|
|
3054
|
+
memoryHighTotalBytes: "memory_high_total_bytes",
|
|
3055
|
+
memoryHugepagesFree: "memory_hugepages_free",
|
|
3056
|
+
memoryHugepagesRsvd: "memory_hugepages_rsvd",
|
|
3057
|
+
memoryHugepagesSurp: "memory_hugepages_surp",
|
|
3058
|
+
memoryHugepagesTotal: "memory_hugepages_total",
|
|
3059
|
+
memoryHugepagesizeBytes: "memory_hugepagesize_bytes",
|
|
3060
|
+
memoryInactiveBytes: "memory_inactive_bytes",
|
|
3061
|
+
memoryKReclaimableBytes: "memory_k_reclaimable_bytes",
|
|
3062
|
+
memoryKernelStackBytes: "memory_kernel_stack_bytes",
|
|
3063
|
+
memoryLowFreeBytes: "memory_low_free_bytes",
|
|
3064
|
+
memoryLowTotalBytes: "memory_low_total_bytes",
|
|
3065
|
+
memoryMappedBytes: "memory_mapped_bytes",
|
|
3066
|
+
memoryPageTablesBytes: "memory_page_tables_bytes",
|
|
3067
|
+
memoryPerCpuBytes: "memory_per_cpu_bytes",
|
|
3068
|
+
memoryPressureFull_10s: "memory_pressure_full_10s",
|
|
3069
|
+
memoryPressureFull_300s: "memory_pressure_full_300s",
|
|
3070
|
+
memoryPressureFull_60s: "memory_pressure_full_60s",
|
|
3071
|
+
memoryPressureFullTotalUs: "memory_pressure_full_total_us",
|
|
3072
|
+
memoryPressureSome_10s: "memory_pressure_some_10s",
|
|
3073
|
+
memoryPressureSome_300s: "memory_pressure_some_300s",
|
|
3074
|
+
memoryPressureSome_60s: "memory_pressure_some_60s",
|
|
3075
|
+
memoryPressureSomeTotalUs: "memory_pressure_some_total_us",
|
|
3076
|
+
memorySReclaimableBytes: "memory_s_reclaimable_bytes",
|
|
3077
|
+
memorySUnreclaimBytes: "memory_s_unreclaim_bytes",
|
|
3078
|
+
memorySecondaryPageTablesBytes: "memory_secondary_page_tables_bytes",
|
|
3079
|
+
memoryShmemBytes: "memory_shmem_bytes",
|
|
3080
|
+
memoryShmemHugepagesBytes: "memory_shmem_hugepages_bytes",
|
|
3081
|
+
memoryShmemPmdMappedBytes: "memory_shmem_pmd_mapped_bytes",
|
|
3082
|
+
memorySlabBytes: "memory_slab_bytes",
|
|
3083
|
+
memorySwapCachedBytes: "memory_swap_cached_bytes",
|
|
3084
|
+
memorySwapFreeBytes: "memory_swap_free_bytes",
|
|
3085
|
+
memorySwapTotalBytes: "memory_swap_total_bytes",
|
|
3086
|
+
memoryTotalBytes: "memory_total_bytes",
|
|
3087
|
+
memoryVmallocChunkBytes: "memory_vmalloc_chunk_bytes",
|
|
3088
|
+
memoryVmallocTotalBytes: "memory_vmalloc_total_bytes",
|
|
3089
|
+
memoryVmallocUsedBytes: "memory_vmalloc_used_bytes",
|
|
3090
|
+
memoryWritebackBytes: "memory_writeback_bytes",
|
|
3091
|
+
memoryWritebackTmpBytes: "memory_writeback_tmp_bytes",
|
|
3092
|
+
memoryZSwapBytes: "memory_z_swap_bytes",
|
|
3093
|
+
memoryZSwappedBytes: "memory_z_swapped_bytes",
|
|
3094
|
+
mounts: "mounts",
|
|
3095
|
+
netdevs: "netdevs",
|
|
3096
|
+
snmpIcmpInAddrMaskReps: "snmp_icmp_in_addr_mask_reps",
|
|
3097
|
+
snmpIcmpInAddrMasks: "snmp_icmp_in_addr_masks",
|
|
3098
|
+
snmpIcmpInCsumErrors: "snmp_icmp_in_csum_errors",
|
|
3099
|
+
snmpIcmpInDestUnreachs: "snmp_icmp_in_dest_unreachs",
|
|
3100
|
+
snmpIcmpInEchoReps: "snmp_icmp_in_echo_reps",
|
|
3101
|
+
snmpIcmpInEchos: "snmp_icmp_in_echos",
|
|
3102
|
+
snmpIcmpInErrors: "snmp_icmp_in_errors",
|
|
3103
|
+
snmpIcmpInMsgs: "snmp_icmp_in_msgs",
|
|
3104
|
+
snmpIcmpInParmProbs: "snmp_icmp_in_parm_probs",
|
|
3105
|
+
snmpIcmpInRedirects: "snmp_icmp_in_redirects",
|
|
3106
|
+
snmpIcmpInSrcQuenchs: "snmp_icmp_in_src_quenchs",
|
|
3107
|
+
snmpIcmpInTimeExcds: "snmp_icmp_in_time_excds",
|
|
3108
|
+
snmpIcmpInTimestampReps: "snmp_icmp_in_timestamp_reps",
|
|
3109
|
+
snmpIcmpInTimestamps: "snmp_icmp_in_timestamps",
|
|
3110
|
+
snmpIcmpOutAddrMaskReps: "snmp_icmp_out_addr_mask_reps",
|
|
3111
|
+
snmpIcmpOutAddrMasks: "snmp_icmp_out_addr_masks",
|
|
3112
|
+
snmpIcmpOutDestUnreachs: "snmp_icmp_out_dest_unreachs",
|
|
3113
|
+
snmpIcmpOutEchoReps: "snmp_icmp_out_echo_reps",
|
|
3114
|
+
snmpIcmpOutEchos: "snmp_icmp_out_echos",
|
|
3115
|
+
snmpIcmpOutErrors: "snmp_icmp_out_errors",
|
|
3116
|
+
snmpIcmpOutMsgs: "snmp_icmp_out_msgs",
|
|
3117
|
+
snmpIcmpOutParmProbs: "snmp_icmp_out_parm_probs",
|
|
3118
|
+
snmpIcmpOutRedirects: "snmp_icmp_out_redirects",
|
|
3119
|
+
snmpIcmpOutSrcQuenchs: "snmp_icmp_out_src_quenchs",
|
|
3120
|
+
snmpIcmpOutTimeExcds: "snmp_icmp_out_time_excds",
|
|
3121
|
+
snmpIcmpOutTimestampReps: "snmp_icmp_out_timestamp_reps",
|
|
3122
|
+
snmpIcmpOutTimestamps: "snmp_icmp_out_timestamps",
|
|
3123
|
+
snmpIpDefaultTtl: "snmp_ip_default_ttl",
|
|
3124
|
+
snmpIpForwDatagrams: "snmp_ip_forw_datagrams",
|
|
3125
|
+
snmpIpForwardingEnabled: "snmp_ip_forwarding_enabled",
|
|
3126
|
+
snmpIpFragCreates: "snmp_ip_frag_creates",
|
|
3127
|
+
snmpIpFragFails: "snmp_ip_frag_fails",
|
|
3128
|
+
snmpIpFragOks: "snmp_ip_frag_oks",
|
|
3129
|
+
snmpIpInAddrErrors: "snmp_ip_in_addr_errors",
|
|
3130
|
+
snmpIpInDelivers: "snmp_ip_in_delivers",
|
|
3131
|
+
snmpIpInDiscards: "snmp_ip_in_discards",
|
|
3132
|
+
snmpIpInHdrErrors: "snmp_ip_in_hdr_errors",
|
|
3133
|
+
snmpIpInReceives: "snmp_ip_in_receives",
|
|
3134
|
+
snmpIpInUnknownProtos: "snmp_ip_in_unknown_protos",
|
|
3135
|
+
snmpIpOutDiscards: "snmp_ip_out_discards",
|
|
3136
|
+
snmpIpOutNoRoutes: "snmp_ip_out_no_routes",
|
|
3137
|
+
snmpIpOutRequests: "snmp_ip_out_requests",
|
|
3138
|
+
snmpIpReasmFails: "snmp_ip_reasm_fails",
|
|
3139
|
+
snmpIpReasmOks: "snmp_ip_reasm_oks",
|
|
3140
|
+
snmpIpReasmReqds: "snmp_ip_reasm_reqds",
|
|
3141
|
+
snmpIpReasmTimeout: "snmp_ip_reasm_timeout",
|
|
3142
|
+
snmpTcpActiveOpens: "snmp_tcp_active_opens",
|
|
3143
|
+
snmpTcpAttemptFails: "snmp_tcp_attempt_fails",
|
|
3144
|
+
snmpTcpCurrEstab: "snmp_tcp_curr_estab",
|
|
3145
|
+
snmpTcpEstabResets: "snmp_tcp_estab_resets",
|
|
3146
|
+
snmpTcpInCsumErrors: "snmp_tcp_in_csum_errors",
|
|
3147
|
+
snmpTcpInErrs: "snmp_tcp_in_errs",
|
|
3148
|
+
snmpTcpInSegs: "snmp_tcp_in_segs",
|
|
3149
|
+
snmpTcpMaxConn: "snmp_tcp_max_conn",
|
|
3150
|
+
snmpTcpOutRsts: "snmp_tcp_out_rsts",
|
|
3151
|
+
snmpTcpOutSegs: "snmp_tcp_out_segs",
|
|
3152
|
+
snmpTcpPassiveOpens: "snmp_tcp_passive_opens",
|
|
3153
|
+
snmpTcpRetransSegs: "snmp_tcp_retrans_segs",
|
|
3154
|
+
snmpTcpRtoMax: "snmp_tcp_rto_max",
|
|
3155
|
+
snmpTcpRtoMin: "snmp_tcp_rto_min",
|
|
3156
|
+
snmpUdpInDatagrams: "snmp_udp_in_datagrams",
|
|
3157
|
+
snmpUdpInErrors: "snmp_udp_in_errors",
|
|
3158
|
+
snmpUdpNoPorts: "snmp_udp_no_ports",
|
|
3159
|
+
snmpUdpOutDatagrams: "snmp_udp_out_datagrams",
|
|
3160
|
+
systemBootTimeS: "system_boot_time_s",
|
|
3161
|
+
thermals: "thermals",
|
|
3162
|
+
tunnels: "tunnels",
|
|
3163
|
+
uptimeIdleMs: "uptime_idle_ms",
|
|
3164
|
+
uptimeTotalMs: "uptime_total_ms",
|
|
3165
|
+
}),
|
|
3166
|
+
)
|
|
3167
|
+
.pipe(
|
|
3168
|
+
T.ResponsePath("result"),
|
|
3169
|
+
) as unknown as Schema.Schema<GetConnectorSnapshotResponse>;
|
|
3044
3170
|
|
|
3045
3171
|
export type GetConnectorSnapshotError = DefaultErrors;
|
|
3046
3172
|
|
|
@@ -3100,7 +3226,9 @@ export const ListConnectorSnapshotsResponse =
|
|
|
3100
3226
|
}),
|
|
3101
3227
|
),
|
|
3102
3228
|
cursor: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
3103
|
-
})
|
|
3229
|
+
}).pipe(
|
|
3230
|
+
T.ResponsePath("result"),
|
|
3231
|
+
) as unknown as Schema.Schema<ListConnectorSnapshotsResponse>;
|
|
3104
3232
|
|
|
3105
3233
|
export type ListConnectorSnapshotsError = DefaultErrors;
|
|
3106
3234
|
|
|
@@ -4356,7 +4484,9 @@ export const ListConnectorSnapshotLatestsResponse =
|
|
|
4356
4484
|
}),
|
|
4357
4485
|
),
|
|
4358
4486
|
),
|
|
4359
|
-
})
|
|
4487
|
+
}).pipe(
|
|
4488
|
+
T.ResponsePath("result"),
|
|
4489
|
+
) as unknown as Schema.Schema<ListConnectorSnapshotLatestsResponse>;
|
|
4360
4490
|
|
|
4361
4491
|
export type ListConnectorSnapshotLatestsError = DefaultErrors;
|
|
4362
4492
|
|
|
@@ -4418,13 +4548,17 @@ export const PskGenerateIpsecTunnelResponse =
|
|
|
4418
4548
|
Schema.Null,
|
|
4419
4549
|
]),
|
|
4420
4550
|
),
|
|
4421
|
-
})
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4551
|
+
})
|
|
4552
|
+
.pipe(
|
|
4553
|
+
Schema.encodeKeys({
|
|
4554
|
+
ipsecTunnelId: "ipsec_tunnel_id",
|
|
4555
|
+
psk: "psk",
|
|
4556
|
+
pskMetadata: "psk_metadata",
|
|
4557
|
+
}),
|
|
4558
|
+
)
|
|
4559
|
+
.pipe(
|
|
4560
|
+
T.ResponsePath("result"),
|
|
4561
|
+
) as unknown as Schema.Schema<PskGenerateIpsecTunnelResponse>;
|
|
4428
4562
|
|
|
4429
4563
|
export type PskGenerateIpsecTunnelError = DefaultErrors;
|
|
4430
4564
|
|
|
@@ -4648,9 +4782,11 @@ export const GetGreTunnelResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
4648
4782
|
Schema.Null,
|
|
4649
4783
|
]),
|
|
4650
4784
|
),
|
|
4651
|
-
})
|
|
4652
|
-
Schema.encodeKeys({ greTunnel: "gre_tunnel" })
|
|
4653
|
-
|
|
4785
|
+
})
|
|
4786
|
+
.pipe(Schema.encodeKeys({ greTunnel: "gre_tunnel" }))
|
|
4787
|
+
.pipe(
|
|
4788
|
+
T.ResponsePath("result"),
|
|
4789
|
+
) as unknown as Schema.Schema<GetGreTunnelResponse>;
|
|
4654
4790
|
|
|
4655
4791
|
export type GetGreTunnelError = DefaultErrors;
|
|
4656
4792
|
|
|
@@ -4875,9 +5011,11 @@ export const ListGreTunnelsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
4875
5011
|
]),
|
|
4876
5012
|
),
|
|
4877
5013
|
},
|
|
4878
|
-
)
|
|
4879
|
-
Schema.encodeKeys({ greTunnels: "gre_tunnels" })
|
|
4880
|
-
|
|
5014
|
+
)
|
|
5015
|
+
.pipe(Schema.encodeKeys({ greTunnels: "gre_tunnels" }))
|
|
5016
|
+
.pipe(
|
|
5017
|
+
T.ResponsePath("result"),
|
|
5018
|
+
) as unknown as Schema.Schema<ListGreTunnelsResponse>;
|
|
4881
5019
|
|
|
4882
5020
|
export type ListGreTunnelsError = DefaultErrors;
|
|
4883
5021
|
|
|
@@ -5146,25 +5284,29 @@ export const CreateGreTunnelResponse =
|
|
|
5146
5284
|
modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5147
5285
|
mtu: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
5148
5286
|
ttl: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
5149
|
-
})
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5160
|
-
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
|
|
5287
|
+
})
|
|
5288
|
+
.pipe(
|
|
5289
|
+
Schema.encodeKeys({
|
|
5290
|
+
id: "id",
|
|
5291
|
+
cloudflareGreEndpoint: "cloudflare_gre_endpoint",
|
|
5292
|
+
customerGreEndpoint: "customer_gre_endpoint",
|
|
5293
|
+
interfaceAddress: "interface_address",
|
|
5294
|
+
name: "name",
|
|
5295
|
+
automaticReturnRouting: "automatic_return_routing",
|
|
5296
|
+
bgp: "bgp",
|
|
5297
|
+
bgpStatus: "bgp_status",
|
|
5298
|
+
createdOn: "created_on",
|
|
5299
|
+
description: "description",
|
|
5300
|
+
healthCheck: "health_check",
|
|
5301
|
+
interfaceAddress6: "interface_address6",
|
|
5302
|
+
modifiedOn: "modified_on",
|
|
5303
|
+
mtu: "mtu",
|
|
5304
|
+
ttl: "ttl",
|
|
5305
|
+
}),
|
|
5306
|
+
)
|
|
5307
|
+
.pipe(
|
|
5308
|
+
T.ResponsePath("result"),
|
|
5309
|
+
) as unknown as Schema.Schema<CreateGreTunnelResponse>;
|
|
5168
5310
|
|
|
5169
5311
|
export type CreateGreTunnelError = DefaultErrors;
|
|
5170
5312
|
|
|
@@ -5458,12 +5600,16 @@ export const UpdateGreTunnelResponse =
|
|
|
5458
5600
|
Schema.Null,
|
|
5459
5601
|
]),
|
|
5460
5602
|
),
|
|
5461
|
-
})
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5603
|
+
})
|
|
5604
|
+
.pipe(
|
|
5605
|
+
Schema.encodeKeys({
|
|
5606
|
+
modified: "modified",
|
|
5607
|
+
modifiedGreTunnel: "modified_gre_tunnel",
|
|
5608
|
+
}),
|
|
5609
|
+
)
|
|
5610
|
+
.pipe(
|
|
5611
|
+
T.ResponsePath("result"),
|
|
5612
|
+
) as unknown as Schema.Schema<UpdateGreTunnelResponse>;
|
|
5467
5613
|
|
|
5468
5614
|
export type UpdateGreTunnelError = DefaultErrors;
|
|
5469
5615
|
|
|
@@ -5692,12 +5838,16 @@ export const DeleteGreTunnelResponse =
|
|
|
5692
5838
|
Schema.Null,
|
|
5693
5839
|
]),
|
|
5694
5840
|
),
|
|
5695
|
-
})
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
|
|
5699
|
-
|
|
5700
|
-
|
|
5841
|
+
})
|
|
5842
|
+
.pipe(
|
|
5843
|
+
Schema.encodeKeys({
|
|
5844
|
+
deleted: "deleted",
|
|
5845
|
+
deletedGreTunnel: "deleted_gre_tunnel",
|
|
5846
|
+
}),
|
|
5847
|
+
)
|
|
5848
|
+
.pipe(
|
|
5849
|
+
T.ResponsePath("result"),
|
|
5850
|
+
) as unknown as Schema.Schema<DeleteGreTunnelResponse>;
|
|
5701
5851
|
|
|
5702
5852
|
export type DeleteGreTunnelError = DefaultErrors;
|
|
5703
5853
|
|
|
@@ -5950,9 +6100,11 @@ export const GetIpsecTunnelResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
5950
6100
|
]),
|
|
5951
6101
|
),
|
|
5952
6102
|
},
|
|
5953
|
-
)
|
|
5954
|
-
Schema.encodeKeys({ ipsecTunnel: "ipsec_tunnel" })
|
|
5955
|
-
|
|
6103
|
+
)
|
|
6104
|
+
.pipe(Schema.encodeKeys({ ipsecTunnel: "ipsec_tunnel" }))
|
|
6105
|
+
.pipe(
|
|
6106
|
+
T.ResponsePath("result"),
|
|
6107
|
+
) as unknown as Schema.Schema<GetIpsecTunnelResponse>;
|
|
5956
6108
|
|
|
5957
6109
|
export type GetIpsecTunnelError = DefaultErrors;
|
|
5958
6110
|
|
|
@@ -6203,9 +6355,11 @@ export const ListIpsecTunnelsResponse =
|
|
|
6203
6355
|
Schema.Null,
|
|
6204
6356
|
]),
|
|
6205
6357
|
),
|
|
6206
|
-
})
|
|
6207
|
-
Schema.encodeKeys({ ipsecTunnels: "ipsec_tunnels" })
|
|
6208
|
-
|
|
6358
|
+
})
|
|
6359
|
+
.pipe(Schema.encodeKeys({ ipsecTunnels: "ipsec_tunnels" }))
|
|
6360
|
+
.pipe(
|
|
6361
|
+
T.ResponsePath("result"),
|
|
6362
|
+
) as unknown as Schema.Schema<ListIpsecTunnelsResponse>;
|
|
6209
6363
|
|
|
6210
6364
|
export type ListIpsecTunnelsError = DefaultErrors;
|
|
6211
6365
|
|
|
@@ -6511,27 +6665,31 @@ export const CreateIpsecTunnelResponse =
|
|
|
6511
6665
|
replayProtection: Schema.optional(
|
|
6512
6666
|
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
6513
6667
|
),
|
|
6514
|
-
})
|
|
6515
|
-
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
|
|
6519
|
-
|
|
6520
|
-
|
|
6521
|
-
|
|
6522
|
-
|
|
6523
|
-
|
|
6524
|
-
|
|
6525
|
-
|
|
6526
|
-
|
|
6527
|
-
|
|
6528
|
-
|
|
6529
|
-
|
|
6530
|
-
|
|
6531
|
-
|
|
6532
|
-
|
|
6533
|
-
|
|
6534
|
-
|
|
6668
|
+
})
|
|
6669
|
+
.pipe(
|
|
6670
|
+
Schema.encodeKeys({
|
|
6671
|
+
id: "id",
|
|
6672
|
+
cloudflareEndpoint: "cloudflare_endpoint",
|
|
6673
|
+
interfaceAddress: "interface_address",
|
|
6674
|
+
name: "name",
|
|
6675
|
+
allowNullCipher: "allow_null_cipher",
|
|
6676
|
+
automaticReturnRouting: "automatic_return_routing",
|
|
6677
|
+
bgp: "bgp",
|
|
6678
|
+
bgpStatus: "bgp_status",
|
|
6679
|
+
createdOn: "created_on",
|
|
6680
|
+
customRemoteIdentities: "custom_remote_identities",
|
|
6681
|
+
customerEndpoint: "customer_endpoint",
|
|
6682
|
+
description: "description",
|
|
6683
|
+
healthCheck: "health_check",
|
|
6684
|
+
interfaceAddress6: "interface_address6",
|
|
6685
|
+
modifiedOn: "modified_on",
|
|
6686
|
+
pskMetadata: "psk_metadata",
|
|
6687
|
+
replayProtection: "replay_protection",
|
|
6688
|
+
}),
|
|
6689
|
+
)
|
|
6690
|
+
.pipe(
|
|
6691
|
+
T.ResponsePath("result"),
|
|
6692
|
+
) as unknown as Schema.Schema<CreateIpsecTunnelResponse>;
|
|
6535
6693
|
|
|
6536
6694
|
export type CreateIpsecTunnelError = DefaultErrors;
|
|
6537
6695
|
|
|
@@ -6871,12 +7029,16 @@ export const UpdateIpsecTunnelResponse =
|
|
|
6871
7029
|
Schema.Null,
|
|
6872
7030
|
]),
|
|
6873
7031
|
),
|
|
6874
|
-
})
|
|
6875
|
-
|
|
6876
|
-
|
|
6877
|
-
|
|
6878
|
-
|
|
6879
|
-
|
|
7032
|
+
})
|
|
7033
|
+
.pipe(
|
|
7034
|
+
Schema.encodeKeys({
|
|
7035
|
+
modified: "modified",
|
|
7036
|
+
modifiedIpsecTunnel: "modified_ipsec_tunnel",
|
|
7037
|
+
}),
|
|
7038
|
+
)
|
|
7039
|
+
.pipe(
|
|
7040
|
+
T.ResponsePath("result"),
|
|
7041
|
+
) as unknown as Schema.Schema<UpdateIpsecTunnelResponse>;
|
|
6880
7042
|
|
|
6881
7043
|
export type UpdateIpsecTunnelError = DefaultErrors;
|
|
6882
7044
|
|
|
@@ -7127,12 +7289,16 @@ export const DeleteIpsecTunnelResponse =
|
|
|
7127
7289
|
Schema.Null,
|
|
7128
7290
|
]),
|
|
7129
7291
|
),
|
|
7130
|
-
})
|
|
7131
|
-
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
7292
|
+
})
|
|
7293
|
+
.pipe(
|
|
7294
|
+
Schema.encodeKeys({
|
|
7295
|
+
deleted: "deleted",
|
|
7296
|
+
deletedIpsecTunnel: "deleted_ipsec_tunnel",
|
|
7297
|
+
}),
|
|
7298
|
+
)
|
|
7299
|
+
.pipe(
|
|
7300
|
+
T.ResponsePath("result"),
|
|
7301
|
+
) as unknown as Schema.Schema<DeleteIpsecTunnelResponse>;
|
|
7136
7302
|
|
|
7137
7303
|
export type DeleteIpsecTunnelError = DefaultErrors;
|
|
7138
7304
|
|
|
@@ -7335,7 +7501,7 @@ export const GetPcapResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
7335
7501
|
type: "type",
|
|
7336
7502
|
}),
|
|
7337
7503
|
),
|
|
7338
|
-
]) as unknown as Schema.Schema<GetPcapResponse>;
|
|
7504
|
+
]).pipe(T.ResponsePath("result")) as unknown as Schema.Schema<GetPcapResponse>;
|
|
7339
7505
|
|
|
7340
7506
|
export type GetPcapError = DefaultErrors;
|
|
7341
7507
|
|
|
@@ -7361,197 +7527,268 @@ export const ListPcapsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
7361
7527
|
T.Http({ method: "GET", path: "/accounts/{account_id}/pcaps" }),
|
|
7362
7528
|
) as unknown as Schema.Schema<ListPcapsRequest>;
|
|
7363
7529
|
|
|
7364
|
-
export
|
|
7365
|
-
|
|
7366
|
-
|
|
7367
|
-
|
|
7368
|
-
|
|
7369
|
-
|
|
7370
|
-
|
|
7371
|
-
|
|
7372
|
-
|
|
7373
|
-
|
|
7374
|
-
|
|
7375
|
-
|
|
7376
|
-
|
|
7377
|
-
|
|
7378
|
-
|
|
7379
|
-
|
|
7380
|
-
|
|
7381
|
-
|
|
7382
|
-
|
|
7383
|
-
|
|
7384
|
-
|
|
7385
|
-
|
|
7386
|
-
|
|
7387
|
-
|
|
7388
|
-
|
|
7389
|
-
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
|
|
7394
|
-
|
|
7395
|
-
|
|
7396
|
-
|
|
7397
|
-
|
|
7398
|
-
|
|
7399
|
-
|
|
7400
|
-
|
|
7401
|
-
|
|
7402
|
-
|
|
7403
|
-
|
|
7404
|
-
|
|
7405
|
-
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
|
|
7409
|
-
|
|
7410
|
-
|
|
7411
|
-
|
|
7412
|
-
|
|
7413
|
-
|
|
7414
|
-
|
|
7530
|
+
export interface ListPcapsResponse {
|
|
7531
|
+
result: (
|
|
7532
|
+
| {
|
|
7533
|
+
id?: string | null;
|
|
7534
|
+
filterV1?: {
|
|
7535
|
+
destinationAddress?: string | null;
|
|
7536
|
+
destinationPort?: number | null;
|
|
7537
|
+
protocol?: number | null;
|
|
7538
|
+
sourceAddress?: string | null;
|
|
7539
|
+
sourcePort?: number | null;
|
|
7540
|
+
} | null;
|
|
7541
|
+
offsetTime?: string | null;
|
|
7542
|
+
status?:
|
|
7543
|
+
| "unknown"
|
|
7544
|
+
| "success"
|
|
7545
|
+
| "pending"
|
|
7546
|
+
| "running"
|
|
7547
|
+
| "conversion_pending"
|
|
7548
|
+
| "conversion_running"
|
|
7549
|
+
| "complete"
|
|
7550
|
+
| "failed"
|
|
7551
|
+
| null;
|
|
7552
|
+
submitted?: string | null;
|
|
7553
|
+
system?: "magic-transit" | null;
|
|
7554
|
+
timeLimit?: number | null;
|
|
7555
|
+
type?: "simple" | "full" | null;
|
|
7556
|
+
}
|
|
7557
|
+
| {
|
|
7558
|
+
id?: string | null;
|
|
7559
|
+
byteLimit?: number | null;
|
|
7560
|
+
coloName?: string | null;
|
|
7561
|
+
destinationConf?: string | null;
|
|
7562
|
+
errorMessage?: string | null;
|
|
7563
|
+
filterV1?: unknown | null;
|
|
7564
|
+
packetsCaptured?: number | null;
|
|
7565
|
+
status?:
|
|
7566
|
+
| "unknown"
|
|
7567
|
+
| "success"
|
|
7568
|
+
| "pending"
|
|
7569
|
+
| "running"
|
|
7570
|
+
| "conversion_pending"
|
|
7571
|
+
| "conversion_running"
|
|
7572
|
+
| "complete"
|
|
7573
|
+
| "failed"
|
|
7574
|
+
| null;
|
|
7575
|
+
stopRequested?: string | null;
|
|
7576
|
+
submitted?: string | null;
|
|
7577
|
+
system?: "magic-transit" | null;
|
|
7578
|
+
timeLimit?: number | null;
|
|
7579
|
+
type?: "simple" | "full" | null;
|
|
7580
|
+
}
|
|
7581
|
+
)[];
|
|
7582
|
+
}
|
|
7415
7583
|
|
|
7416
|
-
export const ListPcapsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
7417
|
-
Schema.
|
|
7418
|
-
Schema.
|
|
7419
|
-
|
|
7420
|
-
|
|
7421
|
-
Schema.
|
|
7422
|
-
Schema.
|
|
7423
|
-
|
|
7424
|
-
Schema.
|
|
7425
|
-
|
|
7426
|
-
|
|
7427
|
-
Schema.
|
|
7428
|
-
|
|
7429
|
-
|
|
7430
|
-
Schema.
|
|
7431
|
-
|
|
7432
|
-
|
|
7433
|
-
Schema.
|
|
7434
|
-
|
|
7435
|
-
|
|
7436
|
-
Schema.
|
|
7584
|
+
export const ListPcapsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7585
|
+
result: Schema.Array(
|
|
7586
|
+
Schema.Union([
|
|
7587
|
+
Schema.Struct({
|
|
7588
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
7589
|
+
filterV1: Schema.optional(
|
|
7590
|
+
Schema.Union([
|
|
7591
|
+
Schema.Struct({
|
|
7592
|
+
destinationAddress: Schema.optional(
|
|
7593
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
7594
|
+
),
|
|
7595
|
+
destinationPort: Schema.optional(
|
|
7596
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
7597
|
+
),
|
|
7598
|
+
protocol: Schema.optional(
|
|
7599
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
7600
|
+
),
|
|
7601
|
+
sourceAddress: Schema.optional(
|
|
7602
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
7603
|
+
),
|
|
7604
|
+
sourcePort: Schema.optional(
|
|
7605
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
7606
|
+
),
|
|
7607
|
+
}).pipe(
|
|
7608
|
+
Schema.encodeKeys({
|
|
7609
|
+
destinationAddress: "destination_address",
|
|
7610
|
+
destinationPort: "destination_port",
|
|
7611
|
+
protocol: "protocol",
|
|
7612
|
+
sourceAddress: "source_address",
|
|
7613
|
+
sourcePort: "source_port",
|
|
7614
|
+
}),
|
|
7437
7615
|
),
|
|
7438
|
-
|
|
7439
|
-
Schema.encodeKeys({
|
|
7440
|
-
destinationAddress: "destination_address",
|
|
7441
|
-
destinationPort: "destination_port",
|
|
7442
|
-
protocol: "protocol",
|
|
7443
|
-
sourceAddress: "source_address",
|
|
7444
|
-
sourcePort: "source_port",
|
|
7445
|
-
}),
|
|
7446
|
-
),
|
|
7447
|
-
Schema.Null,
|
|
7448
|
-
]),
|
|
7449
|
-
),
|
|
7450
|
-
offsetTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
7451
|
-
status: Schema.optional(
|
|
7452
|
-
Schema.Union([
|
|
7453
|
-
Schema.Literals([
|
|
7454
|
-
"unknown",
|
|
7455
|
-
"success",
|
|
7456
|
-
"pending",
|
|
7457
|
-
"running",
|
|
7458
|
-
"conversion_pending",
|
|
7459
|
-
"conversion_running",
|
|
7460
|
-
"complete",
|
|
7461
|
-
"failed",
|
|
7616
|
+
Schema.Null,
|
|
7462
7617
|
]),
|
|
7463
|
-
|
|
7464
|
-
]),
|
|
7465
|
-
|
|
7466
|
-
|
|
7467
|
-
|
|
7468
|
-
|
|
7469
|
-
|
|
7470
|
-
|
|
7471
|
-
|
|
7472
|
-
|
|
7473
|
-
|
|
7474
|
-
|
|
7475
|
-
|
|
7476
|
-
|
|
7477
|
-
|
|
7478
|
-
offsetTime: "offset_time",
|
|
7479
|
-
status: "status",
|
|
7480
|
-
submitted: "submitted",
|
|
7481
|
-
system: "system",
|
|
7482
|
-
timeLimit: "time_limit",
|
|
7483
|
-
type: "type",
|
|
7484
|
-
}),
|
|
7485
|
-
),
|
|
7486
|
-
Schema.Struct({
|
|
7487
|
-
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
7488
|
-
byteLimit: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
7489
|
-
coloName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
7490
|
-
destinationConf: Schema.optional(
|
|
7491
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
7492
|
-
),
|
|
7493
|
-
errorMessage: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
7494
|
-
filterV1: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
|
|
7495
|
-
packetsCaptured: Schema.optional(
|
|
7496
|
-
Schema.Union([Schema.Number, Schema.Null]),
|
|
7497
|
-
),
|
|
7498
|
-
status: Schema.optional(
|
|
7499
|
-
Schema.Union([
|
|
7500
|
-
Schema.Literals([
|
|
7501
|
-
"unknown",
|
|
7502
|
-
"success",
|
|
7503
|
-
"pending",
|
|
7504
|
-
"running",
|
|
7505
|
-
"conversion_pending",
|
|
7506
|
-
"conversion_running",
|
|
7507
|
-
"complete",
|
|
7508
|
-
"failed",
|
|
7618
|
+
),
|
|
7619
|
+
offsetTime: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
7620
|
+
status: Schema.optional(
|
|
7621
|
+
Schema.Union([
|
|
7622
|
+
Schema.Literals([
|
|
7623
|
+
"unknown",
|
|
7624
|
+
"success",
|
|
7625
|
+
"pending",
|
|
7626
|
+
"running",
|
|
7627
|
+
"conversion_pending",
|
|
7628
|
+
"conversion_running",
|
|
7629
|
+
"complete",
|
|
7630
|
+
"failed",
|
|
7631
|
+
]),
|
|
7632
|
+
Schema.Null,
|
|
7509
7633
|
]),
|
|
7510
|
-
|
|
7511
|
-
]),
|
|
7512
|
-
|
|
7513
|
-
|
|
7514
|
-
|
|
7515
|
-
|
|
7516
|
-
|
|
7517
|
-
|
|
7518
|
-
|
|
7519
|
-
)
|
|
7520
|
-
|
|
7521
|
-
|
|
7522
|
-
|
|
7634
|
+
),
|
|
7635
|
+
submitted: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
7636
|
+
system: Schema.optional(
|
|
7637
|
+
Schema.Union([Schema.Literal("magic-transit"), Schema.Null]),
|
|
7638
|
+
),
|
|
7639
|
+
timeLimit: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
7640
|
+
type: Schema.optional(
|
|
7641
|
+
Schema.Union([Schema.Literals(["simple", "full"]), Schema.Null]),
|
|
7642
|
+
),
|
|
7643
|
+
}).pipe(
|
|
7644
|
+
Schema.encodeKeys({
|
|
7645
|
+
id: "id",
|
|
7646
|
+
filterV1: "filter_v1",
|
|
7647
|
+
offsetTime: "offset_time",
|
|
7648
|
+
status: "status",
|
|
7649
|
+
submitted: "submitted",
|
|
7650
|
+
system: "system",
|
|
7651
|
+
timeLimit: "time_limit",
|
|
7652
|
+
type: "type",
|
|
7653
|
+
}),
|
|
7523
7654
|
),
|
|
7524
|
-
|
|
7525
|
-
|
|
7526
|
-
|
|
7527
|
-
|
|
7528
|
-
|
|
7529
|
-
|
|
7530
|
-
|
|
7531
|
-
|
|
7532
|
-
|
|
7533
|
-
|
|
7534
|
-
|
|
7535
|
-
|
|
7536
|
-
|
|
7537
|
-
|
|
7538
|
-
|
|
7539
|
-
|
|
7540
|
-
|
|
7541
|
-
|
|
7542
|
-
|
|
7655
|
+
Schema.Struct({
|
|
7656
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
7657
|
+
byteLimit: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
7658
|
+
coloName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
7659
|
+
destinationConf: Schema.optional(
|
|
7660
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
7661
|
+
),
|
|
7662
|
+
errorMessage: Schema.optional(
|
|
7663
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
7664
|
+
),
|
|
7665
|
+
filterV1: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
|
|
7666
|
+
packetsCaptured: Schema.optional(
|
|
7667
|
+
Schema.Union([Schema.Number, Schema.Null]),
|
|
7668
|
+
),
|
|
7669
|
+
status: Schema.optional(
|
|
7670
|
+
Schema.Union([
|
|
7671
|
+
Schema.Literals([
|
|
7672
|
+
"unknown",
|
|
7673
|
+
"success",
|
|
7674
|
+
"pending",
|
|
7675
|
+
"running",
|
|
7676
|
+
"conversion_pending",
|
|
7677
|
+
"conversion_running",
|
|
7678
|
+
"complete",
|
|
7679
|
+
"failed",
|
|
7680
|
+
]),
|
|
7681
|
+
Schema.Null,
|
|
7682
|
+
]),
|
|
7683
|
+
),
|
|
7684
|
+
stopRequested: Schema.optional(
|
|
7685
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
7686
|
+
),
|
|
7687
|
+
submitted: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
7688
|
+
system: Schema.optional(
|
|
7689
|
+
Schema.Union([Schema.Literal("magic-transit"), Schema.Null]),
|
|
7690
|
+
),
|
|
7691
|
+
timeLimit: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
7692
|
+
type: Schema.optional(
|
|
7693
|
+
Schema.Union([Schema.Literals(["simple", "full"]), Schema.Null]),
|
|
7694
|
+
),
|
|
7695
|
+
}).pipe(
|
|
7696
|
+
Schema.encodeKeys({
|
|
7697
|
+
id: "id",
|
|
7698
|
+
byteLimit: "byte_limit",
|
|
7699
|
+
coloName: "colo_name",
|
|
7700
|
+
destinationConf: "destination_conf",
|
|
7701
|
+
errorMessage: "error_message",
|
|
7702
|
+
filterV1: "filter_v1",
|
|
7703
|
+
packetsCaptured: "packets_captured",
|
|
7704
|
+
status: "status",
|
|
7705
|
+
stopRequested: "stop_requested",
|
|
7706
|
+
submitted: "submitted",
|
|
7707
|
+
system: "system",
|
|
7708
|
+
timeLimit: "time_limit",
|
|
7709
|
+
type: "type",
|
|
7710
|
+
}),
|
|
7711
|
+
),
|
|
7712
|
+
]),
|
|
7713
|
+
),
|
|
7714
|
+
}) as unknown as Schema.Schema<ListPcapsResponse>;
|
|
7543
7715
|
|
|
7544
7716
|
export type ListPcapsError = DefaultErrors;
|
|
7545
7717
|
|
|
7546
|
-
export const listPcaps: API.
|
|
7718
|
+
export const listPcaps: API.PaginatedOperationMethod<
|
|
7547
7719
|
ListPcapsRequest,
|
|
7548
7720
|
ListPcapsResponse,
|
|
7549
7721
|
ListPcapsError,
|
|
7550
7722
|
Credentials | HttpClient.HttpClient
|
|
7551
|
-
>
|
|
7723
|
+
> & {
|
|
7724
|
+
pages: (
|
|
7725
|
+
input: ListPcapsRequest,
|
|
7726
|
+
) => stream.Stream<
|
|
7727
|
+
ListPcapsResponse,
|
|
7728
|
+
ListPcapsError,
|
|
7729
|
+
Credentials | HttpClient.HttpClient
|
|
7730
|
+
>;
|
|
7731
|
+
items: (input: ListPcapsRequest) => stream.Stream<
|
|
7732
|
+
| {
|
|
7733
|
+
id?: string | null;
|
|
7734
|
+
filterV1?: {
|
|
7735
|
+
destinationAddress?: string | null;
|
|
7736
|
+
destinationPort?: number | null;
|
|
7737
|
+
protocol?: number | null;
|
|
7738
|
+
sourceAddress?: string | null;
|
|
7739
|
+
sourcePort?: number | null;
|
|
7740
|
+
} | null;
|
|
7741
|
+
offsetTime?: string | null;
|
|
7742
|
+
status?:
|
|
7743
|
+
| "unknown"
|
|
7744
|
+
| "success"
|
|
7745
|
+
| "pending"
|
|
7746
|
+
| "running"
|
|
7747
|
+
| "conversion_pending"
|
|
7748
|
+
| "conversion_running"
|
|
7749
|
+
| "complete"
|
|
7750
|
+
| "failed"
|
|
7751
|
+
| null;
|
|
7752
|
+
submitted?: string | null;
|
|
7753
|
+
system?: "magic-transit" | null;
|
|
7754
|
+
timeLimit?: number | null;
|
|
7755
|
+
type?: "simple" | "full" | null;
|
|
7756
|
+
}
|
|
7757
|
+
| {
|
|
7758
|
+
id?: string | null;
|
|
7759
|
+
byteLimit?: number | null;
|
|
7760
|
+
coloName?: string | null;
|
|
7761
|
+
destinationConf?: string | null;
|
|
7762
|
+
errorMessage?: string | null;
|
|
7763
|
+
filterV1?: unknown | null;
|
|
7764
|
+
packetsCaptured?: number | null;
|
|
7765
|
+
status?:
|
|
7766
|
+
| "unknown"
|
|
7767
|
+
| "success"
|
|
7768
|
+
| "pending"
|
|
7769
|
+
| "running"
|
|
7770
|
+
| "conversion_pending"
|
|
7771
|
+
| "conversion_running"
|
|
7772
|
+
| "complete"
|
|
7773
|
+
| "failed"
|
|
7774
|
+
| null;
|
|
7775
|
+
stopRequested?: string | null;
|
|
7776
|
+
submitted?: string | null;
|
|
7777
|
+
system?: "magic-transit" | null;
|
|
7778
|
+
timeLimit?: number | null;
|
|
7779
|
+
type?: "simple" | "full" | null;
|
|
7780
|
+
},
|
|
7781
|
+
ListPcapsError,
|
|
7782
|
+
Credentials | HttpClient.HttpClient
|
|
7783
|
+
>;
|
|
7784
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
7552
7785
|
input: ListPcapsRequest,
|
|
7553
7786
|
output: ListPcapsResponse,
|
|
7554
7787
|
errors: [],
|
|
7788
|
+
pagination: {
|
|
7789
|
+
mode: "single",
|
|
7790
|
+
items: "result",
|
|
7791
|
+
} as const,
|
|
7555
7792
|
}));
|
|
7556
7793
|
|
|
7557
7794
|
export interface CreatePcapRequest {
|
|
@@ -7784,7 +8021,9 @@ export const CreatePcapResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
|
7784
8021
|
type: "type",
|
|
7785
8022
|
}),
|
|
7786
8023
|
),
|
|
7787
|
-
])
|
|
8024
|
+
]).pipe(
|
|
8025
|
+
T.ResponsePath("result"),
|
|
8026
|
+
) as unknown as Schema.Schema<CreatePcapResponse>;
|
|
7788
8027
|
|
|
7789
8028
|
export type CreatePcapError = DefaultErrors;
|
|
7790
8029
|
|
|
@@ -7886,47 +8125,75 @@ export const GetPcapOwnershipRequest =
|
|
|
7886
8125
|
T.Http({ method: "GET", path: "/accounts/{account_id}/pcaps/ownership" }),
|
|
7887
8126
|
) as unknown as Schema.Schema<GetPcapOwnershipRequest>;
|
|
7888
8127
|
|
|
7889
|
-
export
|
|
7890
|
-
|
|
7891
|
-
|
|
7892
|
-
|
|
7893
|
-
|
|
7894
|
-
|
|
7895
|
-
|
|
7896
|
-
|
|
8128
|
+
export interface GetPcapOwnershipResponse {
|
|
8129
|
+
result: {
|
|
8130
|
+
id: string;
|
|
8131
|
+
destinationConf: string;
|
|
8132
|
+
filename: string;
|
|
8133
|
+
status: "pending" | "success" | "failed";
|
|
8134
|
+
submitted: string;
|
|
8135
|
+
validated?: string | null;
|
|
8136
|
+
}[];
|
|
8137
|
+
}
|
|
7897
8138
|
|
|
7898
8139
|
export const GetPcapOwnershipResponse =
|
|
7899
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
7900
|
-
Schema.
|
|
7901
|
-
|
|
7902
|
-
|
|
7903
|
-
|
|
7904
|
-
|
|
7905
|
-
|
|
7906
|
-
|
|
7907
|
-
|
|
7908
|
-
|
|
7909
|
-
|
|
7910
|
-
|
|
7911
|
-
|
|
7912
|
-
|
|
7913
|
-
|
|
7914
|
-
|
|
7915
|
-
|
|
8140
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8141
|
+
result: Schema.Array(
|
|
8142
|
+
Schema.Struct({
|
|
8143
|
+
id: Schema.String,
|
|
8144
|
+
destinationConf: Schema.String,
|
|
8145
|
+
filename: Schema.String,
|
|
8146
|
+
status: Schema.Literals(["pending", "success", "failed"]),
|
|
8147
|
+
submitted: Schema.String,
|
|
8148
|
+
validated: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
8149
|
+
}).pipe(
|
|
8150
|
+
Schema.encodeKeys({
|
|
8151
|
+
id: "id",
|
|
8152
|
+
destinationConf: "destination_conf",
|
|
8153
|
+
filename: "filename",
|
|
8154
|
+
status: "status",
|
|
8155
|
+
submitted: "submitted",
|
|
8156
|
+
validated: "validated",
|
|
8157
|
+
}),
|
|
8158
|
+
),
|
|
7916
8159
|
),
|
|
7917
|
-
) as unknown as Schema.Schema<GetPcapOwnershipResponse>;
|
|
8160
|
+
}) as unknown as Schema.Schema<GetPcapOwnershipResponse>;
|
|
7918
8161
|
|
|
7919
8162
|
export type GetPcapOwnershipError = DefaultErrors;
|
|
7920
8163
|
|
|
7921
|
-
export const getPcapOwnership: API.
|
|
8164
|
+
export const getPcapOwnership: API.PaginatedOperationMethod<
|
|
7922
8165
|
GetPcapOwnershipRequest,
|
|
7923
8166
|
GetPcapOwnershipResponse,
|
|
7924
8167
|
GetPcapOwnershipError,
|
|
7925
8168
|
Credentials | HttpClient.HttpClient
|
|
7926
|
-
>
|
|
8169
|
+
> & {
|
|
8170
|
+
pages: (
|
|
8171
|
+
input: GetPcapOwnershipRequest,
|
|
8172
|
+
) => stream.Stream<
|
|
8173
|
+
GetPcapOwnershipResponse,
|
|
8174
|
+
GetPcapOwnershipError,
|
|
8175
|
+
Credentials | HttpClient.HttpClient
|
|
8176
|
+
>;
|
|
8177
|
+
items: (input: GetPcapOwnershipRequest) => stream.Stream<
|
|
8178
|
+
{
|
|
8179
|
+
id: string;
|
|
8180
|
+
destinationConf: string;
|
|
8181
|
+
filename: string;
|
|
8182
|
+
status: "pending" | "success" | "failed";
|
|
8183
|
+
submitted: string;
|
|
8184
|
+
validated?: string | null;
|
|
8185
|
+
},
|
|
8186
|
+
GetPcapOwnershipError,
|
|
8187
|
+
Credentials | HttpClient.HttpClient
|
|
8188
|
+
>;
|
|
8189
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
7927
8190
|
input: GetPcapOwnershipRequest,
|
|
7928
8191
|
output: GetPcapOwnershipResponse,
|
|
7929
8192
|
errors: [],
|
|
8193
|
+
pagination: {
|
|
8194
|
+
mode: "single",
|
|
8195
|
+
items: "result",
|
|
8196
|
+
} as const,
|
|
7930
8197
|
}));
|
|
7931
8198
|
|
|
7932
8199
|
export interface CreatePcapOwnershipRequest {
|
|
@@ -7968,16 +8235,20 @@ export const CreatePcapOwnershipResponse =
|
|
|
7968
8235
|
status: Schema.Literals(["pending", "success", "failed"]),
|
|
7969
8236
|
submitted: Schema.String,
|
|
7970
8237
|
validated: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
7971
|
-
})
|
|
7972
|
-
|
|
7973
|
-
|
|
7974
|
-
|
|
7975
|
-
|
|
7976
|
-
|
|
7977
|
-
|
|
7978
|
-
|
|
7979
|
-
|
|
7980
|
-
|
|
8238
|
+
})
|
|
8239
|
+
.pipe(
|
|
8240
|
+
Schema.encodeKeys({
|
|
8241
|
+
id: "id",
|
|
8242
|
+
destinationConf: "destination_conf",
|
|
8243
|
+
filename: "filename",
|
|
8244
|
+
status: "status",
|
|
8245
|
+
submitted: "submitted",
|
|
8246
|
+
validated: "validated",
|
|
8247
|
+
}),
|
|
8248
|
+
)
|
|
8249
|
+
.pipe(
|
|
8250
|
+
T.ResponsePath("result"),
|
|
8251
|
+
) as unknown as Schema.Schema<CreatePcapOwnershipResponse>;
|
|
7981
8252
|
|
|
7982
8253
|
export type CreatePcapOwnershipError = DefaultErrors;
|
|
7983
8254
|
|
|
@@ -8075,16 +8346,20 @@ export const ValidatePcapOwnershipResponse =
|
|
|
8075
8346
|
status: Schema.Literals(["pending", "success", "failed"]),
|
|
8076
8347
|
submitted: Schema.String,
|
|
8077
8348
|
validated: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
8078
|
-
})
|
|
8079
|
-
|
|
8080
|
-
|
|
8081
|
-
|
|
8082
|
-
|
|
8083
|
-
|
|
8084
|
-
|
|
8085
|
-
|
|
8086
|
-
|
|
8087
|
-
|
|
8349
|
+
})
|
|
8350
|
+
.pipe(
|
|
8351
|
+
Schema.encodeKeys({
|
|
8352
|
+
id: "id",
|
|
8353
|
+
destinationConf: "destination_conf",
|
|
8354
|
+
filename: "filename",
|
|
8355
|
+
status: "status",
|
|
8356
|
+
submitted: "submitted",
|
|
8357
|
+
validated: "validated",
|
|
8358
|
+
}),
|
|
8359
|
+
)
|
|
8360
|
+
.pipe(
|
|
8361
|
+
T.ResponsePath("result"),
|
|
8362
|
+
) as unknown as Schema.Schema<ValidatePcapOwnershipResponse>;
|
|
8088
8363
|
|
|
8089
8364
|
export type ValidatePcapOwnershipError = DefaultErrors;
|
|
8090
8365
|
|
|
@@ -8214,12 +8489,16 @@ export const BulkPutCfInterconnectsResponse =
|
|
|
8214
8489
|
Schema.Null,
|
|
8215
8490
|
]),
|
|
8216
8491
|
),
|
|
8217
|
-
})
|
|
8218
|
-
|
|
8219
|
-
|
|
8220
|
-
|
|
8221
|
-
|
|
8222
|
-
|
|
8492
|
+
})
|
|
8493
|
+
.pipe(
|
|
8494
|
+
Schema.encodeKeys({
|
|
8495
|
+
modified: "modified",
|
|
8496
|
+
modifiedInterconnects: "modified_interconnects",
|
|
8497
|
+
}),
|
|
8498
|
+
)
|
|
8499
|
+
.pipe(
|
|
8500
|
+
T.ResponsePath("result"),
|
|
8501
|
+
) as unknown as Schema.Schema<BulkPutCfInterconnectsResponse>;
|
|
8223
8502
|
|
|
8224
8503
|
export type BulkPutCfInterconnectsError = DefaultErrors;
|
|
8225
8504
|
|
|
@@ -8453,12 +8732,16 @@ export const BulkPutGreTunnelsResponse =
|
|
|
8453
8732
|
Schema.Null,
|
|
8454
8733
|
]),
|
|
8455
8734
|
),
|
|
8456
|
-
})
|
|
8457
|
-
|
|
8458
|
-
|
|
8459
|
-
|
|
8460
|
-
|
|
8461
|
-
|
|
8735
|
+
})
|
|
8736
|
+
.pipe(
|
|
8737
|
+
Schema.encodeKeys({
|
|
8738
|
+
modified: "modified",
|
|
8739
|
+
modifiedGreTunnels: "modified_gre_tunnels",
|
|
8740
|
+
}),
|
|
8741
|
+
)
|
|
8742
|
+
.pipe(
|
|
8743
|
+
T.ResponsePath("result"),
|
|
8744
|
+
) as unknown as Schema.Schema<BulkPutGreTunnelsResponse>;
|
|
8462
8745
|
|
|
8463
8746
|
export type BulkPutGreTunnelsError = DefaultErrors;
|
|
8464
8747
|
|
|
@@ -8718,12 +9001,16 @@ export const BulkPutIpsecTunnelsResponse =
|
|
|
8718
9001
|
Schema.Null,
|
|
8719
9002
|
]),
|
|
8720
9003
|
),
|
|
8721
|
-
})
|
|
8722
|
-
|
|
8723
|
-
|
|
8724
|
-
|
|
8725
|
-
|
|
8726
|
-
|
|
9004
|
+
})
|
|
9005
|
+
.pipe(
|
|
9006
|
+
Schema.encodeKeys({
|
|
9007
|
+
modified: "modified",
|
|
9008
|
+
modifiedIpsecTunnels: "modified_ipsec_tunnels",
|
|
9009
|
+
}),
|
|
9010
|
+
)
|
|
9011
|
+
.pipe(
|
|
9012
|
+
T.ResponsePath("result"),
|
|
9013
|
+
) as unknown as Schema.Schema<BulkPutIpsecTunnelsResponse>;
|
|
8727
9014
|
|
|
8728
9015
|
export type BulkPutIpsecTunnelsError = DefaultErrors;
|
|
8729
9016
|
|
|
@@ -8829,12 +9116,16 @@ export const BulkPutRoutesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
8829
9116
|
Schema.Null,
|
|
8830
9117
|
]),
|
|
8831
9118
|
),
|
|
8832
|
-
})
|
|
8833
|
-
|
|
8834
|
-
|
|
8835
|
-
|
|
8836
|
-
|
|
8837
|
-
)
|
|
9119
|
+
})
|
|
9120
|
+
.pipe(
|
|
9121
|
+
Schema.encodeKeys({
|
|
9122
|
+
modified: "modified",
|
|
9123
|
+
modifiedRoutes: "modified_routes",
|
|
9124
|
+
}),
|
|
9125
|
+
)
|
|
9126
|
+
.pipe(
|
|
9127
|
+
T.ResponsePath("result"),
|
|
9128
|
+
) as unknown as Schema.Schema<BulkPutRoutesResponse>;
|
|
8838
9129
|
|
|
8839
9130
|
export type BulkPutRoutesError = DefaultErrors;
|
|
8840
9131
|
|
|
@@ -8914,7 +9205,7 @@ export const GetRouteResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
8914
9205
|
Schema.Null,
|
|
8915
9206
|
]),
|
|
8916
9207
|
),
|
|
8917
|
-
}) as unknown as Schema.Schema<GetRouteResponse>;
|
|
9208
|
+
}).pipe(T.ResponsePath("result")) as unknown as Schema.Schema<GetRouteResponse>;
|
|
8918
9209
|
|
|
8919
9210
|
export type GetRouteError = DefaultErrors;
|
|
8920
9211
|
|
|
@@ -8993,7 +9284,9 @@ export const ListRoutesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
8993
9284
|
Schema.Null,
|
|
8994
9285
|
]),
|
|
8995
9286
|
),
|
|
8996
|
-
})
|
|
9287
|
+
}).pipe(
|
|
9288
|
+
T.ResponsePath("result"),
|
|
9289
|
+
) as unknown as Schema.Schema<ListRoutesResponse>;
|
|
8997
9290
|
|
|
8998
9291
|
export type ListRoutesError = DefaultErrors;
|
|
8999
9292
|
|
|
@@ -9095,19 +9388,23 @@ export const CreateRouteResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
9095
9388
|
]),
|
|
9096
9389
|
),
|
|
9097
9390
|
weight: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
9098
|
-
})
|
|
9099
|
-
|
|
9100
|
-
|
|
9101
|
-
|
|
9102
|
-
|
|
9103
|
-
|
|
9104
|
-
|
|
9105
|
-
|
|
9106
|
-
|
|
9107
|
-
|
|
9108
|
-
|
|
9109
|
-
|
|
9110
|
-
)
|
|
9391
|
+
})
|
|
9392
|
+
.pipe(
|
|
9393
|
+
Schema.encodeKeys({
|
|
9394
|
+
id: "id",
|
|
9395
|
+
nexthop: "nexthop",
|
|
9396
|
+
prefix: "prefix",
|
|
9397
|
+
priority: "priority",
|
|
9398
|
+
createdOn: "created_on",
|
|
9399
|
+
description: "description",
|
|
9400
|
+
modifiedOn: "modified_on",
|
|
9401
|
+
scope: "scope",
|
|
9402
|
+
weight: "weight",
|
|
9403
|
+
}),
|
|
9404
|
+
)
|
|
9405
|
+
.pipe(
|
|
9406
|
+
T.ResponsePath("result"),
|
|
9407
|
+
) as unknown as Schema.Schema<CreateRouteResponse>;
|
|
9111
9408
|
|
|
9112
9409
|
export type CreateRouteError = DefaultErrors;
|
|
9113
9410
|
|
|
@@ -9213,9 +9510,16 @@ export const UpdateRouteResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
9213
9510
|
Schema.Null,
|
|
9214
9511
|
]),
|
|
9215
9512
|
),
|
|
9216
|
-
})
|
|
9217
|
-
|
|
9218
|
-
|
|
9513
|
+
})
|
|
9514
|
+
.pipe(
|
|
9515
|
+
Schema.encodeKeys({
|
|
9516
|
+
modified: "modified",
|
|
9517
|
+
modifiedRoute: "modified_route",
|
|
9518
|
+
}),
|
|
9519
|
+
)
|
|
9520
|
+
.pipe(
|
|
9521
|
+
T.ResponsePath("result"),
|
|
9522
|
+
) as unknown as Schema.Schema<UpdateRouteResponse>;
|
|
9219
9523
|
|
|
9220
9524
|
export type UpdateRouteError = DefaultErrors;
|
|
9221
9525
|
|
|
@@ -9293,9 +9597,13 @@ export const DeleteRouteResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
9293
9597
|
Schema.Null,
|
|
9294
9598
|
]),
|
|
9295
9599
|
),
|
|
9296
|
-
})
|
|
9297
|
-
|
|
9298
|
-
|
|
9600
|
+
})
|
|
9601
|
+
.pipe(
|
|
9602
|
+
Schema.encodeKeys({ deleted: "deleted", deletedRoute: "deleted_route" }),
|
|
9603
|
+
)
|
|
9604
|
+
.pipe(
|
|
9605
|
+
T.ResponsePath("result"),
|
|
9606
|
+
) as unknown as Schema.Schema<DeleteRouteResponse>;
|
|
9299
9607
|
|
|
9300
9608
|
export type DeleteRouteError = DefaultErrors;
|
|
9301
9609
|
|
|
@@ -9376,9 +9684,13 @@ export const EmptyRouteResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
9376
9684
|
Schema.Null,
|
|
9377
9685
|
]),
|
|
9378
9686
|
),
|
|
9379
|
-
})
|
|
9380
|
-
|
|
9381
|
-
|
|
9687
|
+
})
|
|
9688
|
+
.pipe(
|
|
9689
|
+
Schema.encodeKeys({ deleted: "deleted", deletedRoutes: "deleted_routes" }),
|
|
9690
|
+
)
|
|
9691
|
+
.pipe(
|
|
9692
|
+
T.ResponsePath("result"),
|
|
9693
|
+
) as unknown as Schema.Schema<EmptyRouteResponse>;
|
|
9382
9694
|
|
|
9383
9695
|
export type EmptyRouteError = DefaultErrors;
|
|
9384
9696
|
|
|
@@ -9452,17 +9764,19 @@ export const GetSiteResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
9452
9764
|
secondaryConnectorId: Schema.optional(
|
|
9453
9765
|
Schema.Union([Schema.String, Schema.Null]),
|
|
9454
9766
|
),
|
|
9455
|
-
})
|
|
9456
|
-
|
|
9457
|
-
|
|
9458
|
-
|
|
9459
|
-
|
|
9460
|
-
|
|
9461
|
-
|
|
9462
|
-
|
|
9463
|
-
|
|
9464
|
-
|
|
9465
|
-
)
|
|
9767
|
+
})
|
|
9768
|
+
.pipe(
|
|
9769
|
+
Schema.encodeKeys({
|
|
9770
|
+
id: "id",
|
|
9771
|
+
connectorId: "connector_id",
|
|
9772
|
+
description: "description",
|
|
9773
|
+
haMode: "ha_mode",
|
|
9774
|
+
location: "location",
|
|
9775
|
+
name: "name",
|
|
9776
|
+
secondaryConnectorId: "secondary_connector_id",
|
|
9777
|
+
}),
|
|
9778
|
+
)
|
|
9779
|
+
.pipe(T.ResponsePath("result")) as unknown as Schema.Schema<GetSiteResponse>;
|
|
9466
9780
|
|
|
9467
9781
|
export type GetSiteError = DefaultErrors;
|
|
9468
9782
|
|
|
@@ -9491,59 +9805,88 @@ export const ListSitesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
9491
9805
|
T.Http({ method: "GET", path: "/accounts/{account_id}/magic/sites" }),
|
|
9492
9806
|
) as unknown as Schema.Schema<ListSitesRequest>;
|
|
9493
9807
|
|
|
9494
|
-
export
|
|
9495
|
-
|
|
9496
|
-
|
|
9497
|
-
|
|
9498
|
-
|
|
9499
|
-
|
|
9500
|
-
|
|
9501
|
-
|
|
9502
|
-
|
|
9808
|
+
export interface ListSitesResponse {
|
|
9809
|
+
result: {
|
|
9810
|
+
id?: string | null;
|
|
9811
|
+
connectorId?: string | null;
|
|
9812
|
+
description?: string | null;
|
|
9813
|
+
haMode?: boolean | null;
|
|
9814
|
+
location?: { lat?: string | null; lon?: string | null } | null;
|
|
9815
|
+
name?: string | null;
|
|
9816
|
+
secondaryConnectorId?: string | null;
|
|
9817
|
+
}[];
|
|
9818
|
+
}
|
|
9503
9819
|
|
|
9504
|
-
export const ListSitesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
9505
|
-
Schema.
|
|
9506
|
-
|
|
9507
|
-
|
|
9508
|
-
|
|
9509
|
-
|
|
9510
|
-
|
|
9511
|
-
Schema.
|
|
9512
|
-
Schema.
|
|
9513
|
-
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
Schema.
|
|
9820
|
+
export const ListSitesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9821
|
+
result: Schema.Array(
|
|
9822
|
+
Schema.Struct({
|
|
9823
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
9824
|
+
connectorId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
9825
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
9826
|
+
haMode: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
9827
|
+
location: Schema.optional(
|
|
9828
|
+
Schema.Union([
|
|
9829
|
+
Schema.Struct({
|
|
9830
|
+
lat: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
9831
|
+
lon: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
9832
|
+
}),
|
|
9833
|
+
Schema.Null,
|
|
9834
|
+
]),
|
|
9835
|
+
),
|
|
9836
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
9837
|
+
secondaryConnectorId: Schema.optional(
|
|
9838
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
9839
|
+
),
|
|
9840
|
+
}).pipe(
|
|
9841
|
+
Schema.encodeKeys({
|
|
9842
|
+
id: "id",
|
|
9843
|
+
connectorId: "connector_id",
|
|
9844
|
+
description: "description",
|
|
9845
|
+
haMode: "ha_mode",
|
|
9846
|
+
location: "location",
|
|
9847
|
+
name: "name",
|
|
9848
|
+
secondaryConnectorId: "secondary_connector_id",
|
|
9849
|
+
}),
|
|
9522
9850
|
),
|
|
9523
|
-
}).pipe(
|
|
9524
|
-
Schema.encodeKeys({
|
|
9525
|
-
id: "id",
|
|
9526
|
-
connectorId: "connector_id",
|
|
9527
|
-
description: "description",
|
|
9528
|
-
haMode: "ha_mode",
|
|
9529
|
-
location: "location",
|
|
9530
|
-
name: "name",
|
|
9531
|
-
secondaryConnectorId: "secondary_connector_id",
|
|
9532
|
-
}),
|
|
9533
9851
|
),
|
|
9534
|
-
) as unknown as Schema.Schema<ListSitesResponse>;
|
|
9852
|
+
}) as unknown as Schema.Schema<ListSitesResponse>;
|
|
9535
9853
|
|
|
9536
9854
|
export type ListSitesError = DefaultErrors;
|
|
9537
9855
|
|
|
9538
|
-
export const listSites: API.
|
|
9856
|
+
export const listSites: API.PaginatedOperationMethod<
|
|
9539
9857
|
ListSitesRequest,
|
|
9540
9858
|
ListSitesResponse,
|
|
9541
9859
|
ListSitesError,
|
|
9542
9860
|
Credentials | HttpClient.HttpClient
|
|
9543
|
-
>
|
|
9861
|
+
> & {
|
|
9862
|
+
pages: (
|
|
9863
|
+
input: ListSitesRequest,
|
|
9864
|
+
) => stream.Stream<
|
|
9865
|
+
ListSitesResponse,
|
|
9866
|
+
ListSitesError,
|
|
9867
|
+
Credentials | HttpClient.HttpClient
|
|
9868
|
+
>;
|
|
9869
|
+
items: (input: ListSitesRequest) => stream.Stream<
|
|
9870
|
+
{
|
|
9871
|
+
id?: string | null;
|
|
9872
|
+
connectorId?: string | null;
|
|
9873
|
+
description?: string | null;
|
|
9874
|
+
haMode?: boolean | null;
|
|
9875
|
+
location?: { lat?: string | null; lon?: string | null } | null;
|
|
9876
|
+
name?: string | null;
|
|
9877
|
+
secondaryConnectorId?: string | null;
|
|
9878
|
+
},
|
|
9879
|
+
ListSitesError,
|
|
9880
|
+
Credentials | HttpClient.HttpClient
|
|
9881
|
+
>;
|
|
9882
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
9544
9883
|
input: ListSitesRequest,
|
|
9545
9884
|
output: ListSitesResponse,
|
|
9546
9885
|
errors: [],
|
|
9886
|
+
pagination: {
|
|
9887
|
+
mode: "single",
|
|
9888
|
+
items: "result",
|
|
9889
|
+
} as const,
|
|
9547
9890
|
}));
|
|
9548
9891
|
|
|
9549
9892
|
export interface CreateSiteRequest {
|
|
@@ -9622,17 +9965,21 @@ export const CreateSiteResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
9622
9965
|
secondaryConnectorId: Schema.optional(
|
|
9623
9966
|
Schema.Union([Schema.String, Schema.Null]),
|
|
9624
9967
|
),
|
|
9625
|
-
})
|
|
9626
|
-
|
|
9627
|
-
|
|
9628
|
-
|
|
9629
|
-
|
|
9630
|
-
|
|
9631
|
-
|
|
9632
|
-
|
|
9633
|
-
|
|
9634
|
-
|
|
9635
|
-
)
|
|
9968
|
+
})
|
|
9969
|
+
.pipe(
|
|
9970
|
+
Schema.encodeKeys({
|
|
9971
|
+
id: "id",
|
|
9972
|
+
connectorId: "connector_id",
|
|
9973
|
+
description: "description",
|
|
9974
|
+
haMode: "ha_mode",
|
|
9975
|
+
location: "location",
|
|
9976
|
+
name: "name",
|
|
9977
|
+
secondaryConnectorId: "secondary_connector_id",
|
|
9978
|
+
}),
|
|
9979
|
+
)
|
|
9980
|
+
.pipe(
|
|
9981
|
+
T.ResponsePath("result"),
|
|
9982
|
+
) as unknown as Schema.Schema<CreateSiteResponse>;
|
|
9636
9983
|
|
|
9637
9984
|
export type CreateSiteError = DefaultErrors;
|
|
9638
9985
|
|
|
@@ -9724,17 +10071,21 @@ export const UpdateSiteResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
9724
10071
|
secondaryConnectorId: Schema.optional(
|
|
9725
10072
|
Schema.Union([Schema.String, Schema.Null]),
|
|
9726
10073
|
),
|
|
9727
|
-
})
|
|
9728
|
-
|
|
9729
|
-
|
|
9730
|
-
|
|
9731
|
-
|
|
9732
|
-
|
|
9733
|
-
|
|
9734
|
-
|
|
9735
|
-
|
|
9736
|
-
|
|
9737
|
-
)
|
|
10074
|
+
})
|
|
10075
|
+
.pipe(
|
|
10076
|
+
Schema.encodeKeys({
|
|
10077
|
+
id: "id",
|
|
10078
|
+
connectorId: "connector_id",
|
|
10079
|
+
description: "description",
|
|
10080
|
+
haMode: "ha_mode",
|
|
10081
|
+
location: "location",
|
|
10082
|
+
name: "name",
|
|
10083
|
+
secondaryConnectorId: "secondary_connector_id",
|
|
10084
|
+
}),
|
|
10085
|
+
)
|
|
10086
|
+
.pipe(
|
|
10087
|
+
T.ResponsePath("result"),
|
|
10088
|
+
) as unknown as Schema.Schema<UpdateSiteResponse>;
|
|
9738
10089
|
|
|
9739
10090
|
export type UpdateSiteError = DefaultErrors;
|
|
9740
10091
|
|
|
@@ -9826,19 +10177,23 @@ export const PatchSiteResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
9826
10177
|
secondaryConnectorId: Schema.optional(
|
|
9827
10178
|
Schema.Union([Schema.String, Schema.Null]),
|
|
9828
10179
|
),
|
|
9829
|
-
})
|
|
9830
|
-
|
|
9831
|
-
|
|
9832
|
-
|
|
9833
|
-
|
|
9834
|
-
|
|
9835
|
-
|
|
9836
|
-
|
|
9837
|
-
|
|
9838
|
-
|
|
9839
|
-
)
|
|
9840
|
-
|
|
9841
|
-
|
|
10180
|
+
})
|
|
10181
|
+
.pipe(
|
|
10182
|
+
Schema.encodeKeys({
|
|
10183
|
+
id: "id",
|
|
10184
|
+
connectorId: "connector_id",
|
|
10185
|
+
description: "description",
|
|
10186
|
+
haMode: "ha_mode",
|
|
10187
|
+
location: "location",
|
|
10188
|
+
name: "name",
|
|
10189
|
+
secondaryConnectorId: "secondary_connector_id",
|
|
10190
|
+
}),
|
|
10191
|
+
)
|
|
10192
|
+
.pipe(
|
|
10193
|
+
T.ResponsePath("result"),
|
|
10194
|
+
) as unknown as Schema.Schema<PatchSiteResponse>;
|
|
10195
|
+
|
|
10196
|
+
export type PatchSiteError = DefaultErrors;
|
|
9842
10197
|
|
|
9843
10198
|
export const patchSite: API.OperationMethod<
|
|
9844
10199
|
PatchSiteRequest,
|
|
@@ -9901,17 +10256,21 @@ export const DeleteSiteResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
9901
10256
|
secondaryConnectorId: Schema.optional(
|
|
9902
10257
|
Schema.Union([Schema.String, Schema.Null]),
|
|
9903
10258
|
),
|
|
9904
|
-
})
|
|
9905
|
-
|
|
9906
|
-
|
|
9907
|
-
|
|
9908
|
-
|
|
9909
|
-
|
|
9910
|
-
|
|
9911
|
-
|
|
9912
|
-
|
|
9913
|
-
|
|
9914
|
-
)
|
|
10259
|
+
})
|
|
10260
|
+
.pipe(
|
|
10261
|
+
Schema.encodeKeys({
|
|
10262
|
+
id: "id",
|
|
10263
|
+
connectorId: "connector_id",
|
|
10264
|
+
description: "description",
|
|
10265
|
+
haMode: "ha_mode",
|
|
10266
|
+
location: "location",
|
|
10267
|
+
name: "name",
|
|
10268
|
+
secondaryConnectorId: "secondary_connector_id",
|
|
10269
|
+
}),
|
|
10270
|
+
)
|
|
10271
|
+
.pipe(
|
|
10272
|
+
T.ResponsePath("result"),
|
|
10273
|
+
) as unknown as Schema.Schema<DeleteSiteResponse>;
|
|
9915
10274
|
|
|
9916
10275
|
export type DeleteSiteError = DefaultErrors;
|
|
9917
10276
|
|
|
@@ -10040,18 +10399,22 @@ export const GetSiteAclResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
10040
10399
|
]),
|
|
10041
10400
|
),
|
|
10042
10401
|
unidirectional: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
10043
|
-
})
|
|
10044
|
-
|
|
10045
|
-
|
|
10046
|
-
|
|
10047
|
-
|
|
10048
|
-
|
|
10049
|
-
|
|
10050
|
-
|
|
10051
|
-
|
|
10052
|
-
|
|
10053
|
-
|
|
10054
|
-
)
|
|
10402
|
+
})
|
|
10403
|
+
.pipe(
|
|
10404
|
+
Schema.encodeKeys({
|
|
10405
|
+
id: "id",
|
|
10406
|
+
description: "description",
|
|
10407
|
+
forwardLocally: "forward_locally",
|
|
10408
|
+
lan_1: "lan_1",
|
|
10409
|
+
lan_2: "lan_2",
|
|
10410
|
+
name: "name",
|
|
10411
|
+
protocols: "protocols",
|
|
10412
|
+
unidirectional: "unidirectional",
|
|
10413
|
+
}),
|
|
10414
|
+
)
|
|
10415
|
+
.pipe(
|
|
10416
|
+
T.ResponsePath("result"),
|
|
10417
|
+
) as unknown as Schema.Schema<GetSiteAclResponse>;
|
|
10055
10418
|
|
|
10056
10419
|
export type GetSiteAclError = DefaultErrors;
|
|
10057
10420
|
|
|
@@ -10082,123 +10445,169 @@ export const ListSiteAclsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
10082
10445
|
}),
|
|
10083
10446
|
) as unknown as Schema.Schema<ListSiteAclsRequest>;
|
|
10084
10447
|
|
|
10085
|
-
export
|
|
10086
|
-
|
|
10087
|
-
|
|
10088
|
-
|
|
10089
|
-
|
|
10090
|
-
|
|
10091
|
-
|
|
10092
|
-
|
|
10093
|
-
|
|
10094
|
-
|
|
10095
|
-
|
|
10096
|
-
|
|
10097
|
-
|
|
10098
|
-
|
|
10099
|
-
|
|
10100
|
-
|
|
10101
|
-
|
|
10102
|
-
|
|
10103
|
-
|
|
10104
|
-
|
|
10105
|
-
|
|
10106
|
-
|
|
10448
|
+
export interface ListSiteAclsResponse {
|
|
10449
|
+
result: {
|
|
10450
|
+
id?: string | null;
|
|
10451
|
+
description?: string | null;
|
|
10452
|
+
forwardLocally?: boolean | null;
|
|
10453
|
+
lan_1?: {
|
|
10454
|
+
lanId: string;
|
|
10455
|
+
lanName?: string | null;
|
|
10456
|
+
portRanges?: string[] | null;
|
|
10457
|
+
ports?: number[] | null;
|
|
10458
|
+
subnets?: string[] | null;
|
|
10459
|
+
} | null;
|
|
10460
|
+
lan_2?: {
|
|
10461
|
+
lanId: string;
|
|
10462
|
+
lanName?: string | null;
|
|
10463
|
+
portRanges?: string[] | null;
|
|
10464
|
+
ports?: number[] | null;
|
|
10465
|
+
subnets?: string[] | null;
|
|
10466
|
+
} | null;
|
|
10467
|
+
name?: string | null;
|
|
10468
|
+
protocols?: ("tcp" | "udp" | "icmp")[] | null;
|
|
10469
|
+
unidirectional?: boolean | null;
|
|
10470
|
+
}[];
|
|
10471
|
+
}
|
|
10107
10472
|
|
|
10108
|
-
export const ListSiteAclsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
10109
|
-
Schema.
|
|
10110
|
-
|
|
10111
|
-
|
|
10112
|
-
|
|
10113
|
-
Schema.
|
|
10114
|
-
|
|
10115
|
-
|
|
10116
|
-
Schema.
|
|
10117
|
-
Schema.
|
|
10118
|
-
|
|
10119
|
-
|
|
10120
|
-
|
|
10121
|
-
|
|
10122
|
-
|
|
10123
|
-
|
|
10124
|
-
|
|
10125
|
-
|
|
10126
|
-
|
|
10127
|
-
|
|
10128
|
-
|
|
10129
|
-
|
|
10130
|
-
|
|
10131
|
-
|
|
10132
|
-
|
|
10133
|
-
|
|
10134
|
-
|
|
10135
|
-
|
|
10136
|
-
|
|
10137
|
-
|
|
10138
|
-
|
|
10139
|
-
|
|
10140
|
-
),
|
|
10141
|
-
lan_2: Schema.optional(
|
|
10142
|
-
Schema.Union([
|
|
10143
|
-
Schema.Struct({
|
|
10144
|
-
lanId: Schema.String,
|
|
10145
|
-
lanName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
10146
|
-
portRanges: Schema.optional(
|
|
10147
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
10148
|
-
),
|
|
10149
|
-
ports: Schema.optional(
|
|
10150
|
-
Schema.Union([Schema.Array(Schema.Number), Schema.Null]),
|
|
10473
|
+
export const ListSiteAclsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
10474
|
+
result: Schema.Array(
|
|
10475
|
+
Schema.Struct({
|
|
10476
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
10477
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
10478
|
+
forwardLocally: Schema.optional(
|
|
10479
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
10480
|
+
),
|
|
10481
|
+
lan_1: Schema.optional(
|
|
10482
|
+
Schema.Union([
|
|
10483
|
+
Schema.Struct({
|
|
10484
|
+
lanId: Schema.String,
|
|
10485
|
+
lanName: Schema.optional(
|
|
10486
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
10487
|
+
),
|
|
10488
|
+
portRanges: Schema.optional(
|
|
10489
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
10490
|
+
),
|
|
10491
|
+
ports: Schema.optional(
|
|
10492
|
+
Schema.Union([Schema.Array(Schema.Number), Schema.Null]),
|
|
10493
|
+
),
|
|
10494
|
+
subnets: Schema.optional(
|
|
10495
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
10496
|
+
),
|
|
10497
|
+
}).pipe(
|
|
10498
|
+
Schema.encodeKeys({
|
|
10499
|
+
lanId: "lan_id",
|
|
10500
|
+
lanName: "lan_name",
|
|
10501
|
+
portRanges: "port_ranges",
|
|
10502
|
+
ports: "ports",
|
|
10503
|
+
subnets: "subnets",
|
|
10504
|
+
}),
|
|
10151
10505
|
),
|
|
10152
|
-
|
|
10153
|
-
|
|
10506
|
+
Schema.Null,
|
|
10507
|
+
]),
|
|
10508
|
+
),
|
|
10509
|
+
lan_2: Schema.optional(
|
|
10510
|
+
Schema.Union([
|
|
10511
|
+
Schema.Struct({
|
|
10512
|
+
lanId: Schema.String,
|
|
10513
|
+
lanName: Schema.optional(
|
|
10514
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
10515
|
+
),
|
|
10516
|
+
portRanges: Schema.optional(
|
|
10517
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
10518
|
+
),
|
|
10519
|
+
ports: Schema.optional(
|
|
10520
|
+
Schema.Union([Schema.Array(Schema.Number), Schema.Null]),
|
|
10521
|
+
),
|
|
10522
|
+
subnets: Schema.optional(
|
|
10523
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
10524
|
+
),
|
|
10525
|
+
}).pipe(
|
|
10526
|
+
Schema.encodeKeys({
|
|
10527
|
+
lanId: "lan_id",
|
|
10528
|
+
lanName: "lan_name",
|
|
10529
|
+
portRanges: "port_ranges",
|
|
10530
|
+
ports: "ports",
|
|
10531
|
+
subnets: "subnets",
|
|
10532
|
+
}),
|
|
10154
10533
|
),
|
|
10155
|
-
|
|
10156
|
-
|
|
10157
|
-
|
|
10158
|
-
|
|
10159
|
-
|
|
10160
|
-
|
|
10161
|
-
|
|
10162
|
-
|
|
10163
|
-
),
|
|
10164
|
-
|
|
10165
|
-
|
|
10166
|
-
|
|
10167
|
-
|
|
10168
|
-
|
|
10169
|
-
Schema.
|
|
10170
|
-
|
|
10171
|
-
|
|
10172
|
-
|
|
10173
|
-
|
|
10174
|
-
|
|
10175
|
-
|
|
10534
|
+
Schema.Null,
|
|
10535
|
+
]),
|
|
10536
|
+
),
|
|
10537
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
10538
|
+
protocols: Schema.optional(
|
|
10539
|
+
Schema.Union([
|
|
10540
|
+
Schema.Array(Schema.Literals(["tcp", "udp", "icmp"])),
|
|
10541
|
+
Schema.Null,
|
|
10542
|
+
]),
|
|
10543
|
+
),
|
|
10544
|
+
unidirectional: Schema.optional(
|
|
10545
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
10546
|
+
),
|
|
10547
|
+
}).pipe(
|
|
10548
|
+
Schema.encodeKeys({
|
|
10549
|
+
id: "id",
|
|
10550
|
+
description: "description",
|
|
10551
|
+
forwardLocally: "forward_locally",
|
|
10552
|
+
lan_1: "lan_1",
|
|
10553
|
+
lan_2: "lan_2",
|
|
10554
|
+
name: "name",
|
|
10555
|
+
protocols: "protocols",
|
|
10556
|
+
unidirectional: "unidirectional",
|
|
10557
|
+
}),
|
|
10176
10558
|
),
|
|
10177
|
-
}).pipe(
|
|
10178
|
-
Schema.encodeKeys({
|
|
10179
|
-
id: "id",
|
|
10180
|
-
description: "description",
|
|
10181
|
-
forwardLocally: "forward_locally",
|
|
10182
|
-
lan_1: "lan_1",
|
|
10183
|
-
lan_2: "lan_2",
|
|
10184
|
-
name: "name",
|
|
10185
|
-
protocols: "protocols",
|
|
10186
|
-
unidirectional: "unidirectional",
|
|
10187
|
-
}),
|
|
10188
10559
|
),
|
|
10189
|
-
) as unknown as Schema.Schema<ListSiteAclsResponse>;
|
|
10560
|
+
}) as unknown as Schema.Schema<ListSiteAclsResponse>;
|
|
10190
10561
|
|
|
10191
10562
|
export type ListSiteAclsError = DefaultErrors;
|
|
10192
10563
|
|
|
10193
|
-
export const listSiteAcls: API.
|
|
10564
|
+
export const listSiteAcls: API.PaginatedOperationMethod<
|
|
10194
10565
|
ListSiteAclsRequest,
|
|
10195
10566
|
ListSiteAclsResponse,
|
|
10196
10567
|
ListSiteAclsError,
|
|
10197
10568
|
Credentials | HttpClient.HttpClient
|
|
10198
|
-
>
|
|
10569
|
+
> & {
|
|
10570
|
+
pages: (
|
|
10571
|
+
input: ListSiteAclsRequest,
|
|
10572
|
+
) => stream.Stream<
|
|
10573
|
+
ListSiteAclsResponse,
|
|
10574
|
+
ListSiteAclsError,
|
|
10575
|
+
Credentials | HttpClient.HttpClient
|
|
10576
|
+
>;
|
|
10577
|
+
items: (input: ListSiteAclsRequest) => stream.Stream<
|
|
10578
|
+
{
|
|
10579
|
+
id?: string | null;
|
|
10580
|
+
description?: string | null;
|
|
10581
|
+
forwardLocally?: boolean | null;
|
|
10582
|
+
lan_1?: {
|
|
10583
|
+
lanId: string;
|
|
10584
|
+
lanName?: string | null;
|
|
10585
|
+
portRanges?: string[] | null;
|
|
10586
|
+
ports?: number[] | null;
|
|
10587
|
+
subnets?: string[] | null;
|
|
10588
|
+
} | null;
|
|
10589
|
+
lan_2?: {
|
|
10590
|
+
lanId: string;
|
|
10591
|
+
lanName?: string | null;
|
|
10592
|
+
portRanges?: string[] | null;
|
|
10593
|
+
ports?: number[] | null;
|
|
10594
|
+
subnets?: string[] | null;
|
|
10595
|
+
} | null;
|
|
10596
|
+
name?: string | null;
|
|
10597
|
+
protocols?: ("tcp" | "udp" | "icmp")[] | null;
|
|
10598
|
+
unidirectional?: boolean | null;
|
|
10599
|
+
},
|
|
10600
|
+
ListSiteAclsError,
|
|
10601
|
+
Credentials | HttpClient.HttpClient
|
|
10602
|
+
>;
|
|
10603
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
10199
10604
|
input: ListSiteAclsRequest,
|
|
10200
10605
|
output: ListSiteAclsResponse,
|
|
10201
10606
|
errors: [],
|
|
10607
|
+
pagination: {
|
|
10608
|
+
mode: "single",
|
|
10609
|
+
items: "result",
|
|
10610
|
+
} as const,
|
|
10202
10611
|
}));
|
|
10203
10612
|
|
|
10204
10613
|
export interface CreateSiteAclRequest {
|
|
@@ -10381,18 +10790,22 @@ export const CreateSiteAclResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
10381
10790
|
]),
|
|
10382
10791
|
),
|
|
10383
10792
|
unidirectional: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
10384
|
-
})
|
|
10385
|
-
|
|
10386
|
-
|
|
10387
|
-
|
|
10388
|
-
|
|
10389
|
-
|
|
10390
|
-
|
|
10391
|
-
|
|
10392
|
-
|
|
10393
|
-
|
|
10394
|
-
|
|
10395
|
-
)
|
|
10793
|
+
})
|
|
10794
|
+
.pipe(
|
|
10795
|
+
Schema.encodeKeys({
|
|
10796
|
+
id: "id",
|
|
10797
|
+
description: "description",
|
|
10798
|
+
forwardLocally: "forward_locally",
|
|
10799
|
+
lan_1: "lan_1",
|
|
10800
|
+
lan_2: "lan_2",
|
|
10801
|
+
name: "name",
|
|
10802
|
+
protocols: "protocols",
|
|
10803
|
+
unidirectional: "unidirectional",
|
|
10804
|
+
}),
|
|
10805
|
+
)
|
|
10806
|
+
.pipe(
|
|
10807
|
+
T.ResponsePath("result"),
|
|
10808
|
+
) as unknown as Schema.Schema<CreateSiteAclResponse>;
|
|
10396
10809
|
|
|
10397
10810
|
export type CreateSiteAclError = DefaultErrors;
|
|
10398
10811
|
|
|
@@ -10593,18 +11006,22 @@ export const UpdateSiteAclResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
10593
11006
|
]),
|
|
10594
11007
|
),
|
|
10595
11008
|
unidirectional: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
10596
|
-
})
|
|
10597
|
-
|
|
10598
|
-
|
|
10599
|
-
|
|
10600
|
-
|
|
10601
|
-
|
|
10602
|
-
|
|
10603
|
-
|
|
10604
|
-
|
|
10605
|
-
|
|
10606
|
-
|
|
10607
|
-
)
|
|
11009
|
+
})
|
|
11010
|
+
.pipe(
|
|
11011
|
+
Schema.encodeKeys({
|
|
11012
|
+
id: "id",
|
|
11013
|
+
description: "description",
|
|
11014
|
+
forwardLocally: "forward_locally",
|
|
11015
|
+
lan_1: "lan_1",
|
|
11016
|
+
lan_2: "lan_2",
|
|
11017
|
+
name: "name",
|
|
11018
|
+
protocols: "protocols",
|
|
11019
|
+
unidirectional: "unidirectional",
|
|
11020
|
+
}),
|
|
11021
|
+
)
|
|
11022
|
+
.pipe(
|
|
11023
|
+
T.ResponsePath("result"),
|
|
11024
|
+
) as unknown as Schema.Schema<UpdateSiteAclResponse>;
|
|
10608
11025
|
|
|
10609
11026
|
export type UpdateSiteAclError = DefaultErrors;
|
|
10610
11027
|
|
|
@@ -10805,18 +11222,22 @@ export const PatchSiteAclResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
10805
11222
|
]),
|
|
10806
11223
|
),
|
|
10807
11224
|
unidirectional: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
10808
|
-
})
|
|
10809
|
-
|
|
10810
|
-
|
|
10811
|
-
|
|
10812
|
-
|
|
10813
|
-
|
|
10814
|
-
|
|
10815
|
-
|
|
10816
|
-
|
|
10817
|
-
|
|
10818
|
-
|
|
10819
|
-
)
|
|
11225
|
+
})
|
|
11226
|
+
.pipe(
|
|
11227
|
+
Schema.encodeKeys({
|
|
11228
|
+
id: "id",
|
|
11229
|
+
description: "description",
|
|
11230
|
+
forwardLocally: "forward_locally",
|
|
11231
|
+
lan_1: "lan_1",
|
|
11232
|
+
lan_2: "lan_2",
|
|
11233
|
+
name: "name",
|
|
11234
|
+
protocols: "protocols",
|
|
11235
|
+
unidirectional: "unidirectional",
|
|
11236
|
+
}),
|
|
11237
|
+
)
|
|
11238
|
+
.pipe(
|
|
11239
|
+
T.ResponsePath("result"),
|
|
11240
|
+
) as unknown as Schema.Schema<PatchSiteAclResponse>;
|
|
10820
11241
|
|
|
10821
11242
|
export type PatchSiteAclError = DefaultErrors;
|
|
10822
11243
|
|
|
@@ -10941,18 +11362,22 @@ export const DeleteSiteAclResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
10941
11362
|
]),
|
|
10942
11363
|
),
|
|
10943
11364
|
unidirectional: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
10944
|
-
})
|
|
10945
|
-
|
|
10946
|
-
|
|
10947
|
-
|
|
10948
|
-
|
|
10949
|
-
|
|
10950
|
-
|
|
10951
|
-
|
|
10952
|
-
|
|
10953
|
-
|
|
10954
|
-
|
|
10955
|
-
)
|
|
11365
|
+
})
|
|
11366
|
+
.pipe(
|
|
11367
|
+
Schema.encodeKeys({
|
|
11368
|
+
id: "id",
|
|
11369
|
+
description: "description",
|
|
11370
|
+
forwardLocally: "forward_locally",
|
|
11371
|
+
lan_1: "lan_1",
|
|
11372
|
+
lan_2: "lan_2",
|
|
11373
|
+
name: "name",
|
|
11374
|
+
protocols: "protocols",
|
|
11375
|
+
unidirectional: "unidirectional",
|
|
11376
|
+
}),
|
|
11377
|
+
)
|
|
11378
|
+
.pipe(
|
|
11379
|
+
T.ResponsePath("result"),
|
|
11380
|
+
) as unknown as Schema.Schema<DeleteSiteAclResponse>;
|
|
10956
11381
|
|
|
10957
11382
|
export type DeleteSiteAclError = DefaultErrors;
|
|
10958
11383
|
|
|
@@ -11130,19 +11555,23 @@ export const GetSiteLanResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
11130
11555
|
]),
|
|
11131
11556
|
),
|
|
11132
11557
|
vlanTag: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
11133
|
-
})
|
|
11134
|
-
|
|
11135
|
-
|
|
11136
|
-
|
|
11137
|
-
|
|
11138
|
-
|
|
11139
|
-
|
|
11140
|
-
|
|
11141
|
-
|
|
11142
|
-
|
|
11143
|
-
|
|
11144
|
-
|
|
11145
|
-
)
|
|
11558
|
+
})
|
|
11559
|
+
.pipe(
|
|
11560
|
+
Schema.encodeKeys({
|
|
11561
|
+
id: "id",
|
|
11562
|
+
haLink: "ha_link",
|
|
11563
|
+
name: "name",
|
|
11564
|
+
nat: "nat",
|
|
11565
|
+
physport: "physport",
|
|
11566
|
+
routedSubnets: "routed_subnets",
|
|
11567
|
+
siteId: "site_id",
|
|
11568
|
+
staticAddressing: "static_addressing",
|
|
11569
|
+
vlanTag: "vlan_tag",
|
|
11570
|
+
}),
|
|
11571
|
+
)
|
|
11572
|
+
.pipe(
|
|
11573
|
+
T.ResponsePath("result"),
|
|
11574
|
+
) as unknown as Schema.Schema<GetSiteLanResponse>;
|
|
11146
11575
|
|
|
11147
11576
|
export type GetSiteLanError = DefaultErrors;
|
|
11148
11577
|
|
|
@@ -11173,171 +11602,220 @@ export const ListSiteLansRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
11173
11602
|
}),
|
|
11174
11603
|
) as unknown as Schema.Schema<ListSiteLansRequest>;
|
|
11175
11604
|
|
|
11176
|
-
export
|
|
11177
|
-
|
|
11178
|
-
|
|
11179
|
-
|
|
11180
|
-
|
|
11181
|
-
|
|
11182
|
-
|
|
11183
|
-
|
|
11184
|
-
|
|
11185
|
-
|
|
11186
|
-
|
|
11187
|
-
|
|
11188
|
-
|
|
11189
|
-
|
|
11190
|
-
|
|
11191
|
-
|
|
11192
|
-
|
|
11193
|
-
|
|
11194
|
-
|
|
11195
|
-
|
|
11196
|
-
|
|
11197
|
-
|
|
11198
|
-
|
|
11605
|
+
export interface ListSiteLansResponse {
|
|
11606
|
+
result: {
|
|
11607
|
+
id?: string | null;
|
|
11608
|
+
haLink?: boolean | null;
|
|
11609
|
+
name?: string | null;
|
|
11610
|
+
nat?: { staticPrefix?: string | null } | null;
|
|
11611
|
+
physport?: number | null;
|
|
11612
|
+
routedSubnets?:
|
|
11613
|
+
| {
|
|
11614
|
+
nextHop: string;
|
|
11615
|
+
prefix: string;
|
|
11616
|
+
nat?: { staticPrefix?: string | null } | null;
|
|
11617
|
+
}[]
|
|
11618
|
+
| null;
|
|
11619
|
+
siteId?: string | null;
|
|
11620
|
+
staticAddressing?: {
|
|
11621
|
+
address: string;
|
|
11622
|
+
dhcpRelay?: { serverAddresses?: string[] | null } | null;
|
|
11623
|
+
dhcpServer?: {
|
|
11624
|
+
dhcpPoolEnd?: string | null;
|
|
11625
|
+
dhcpPoolStart?: string | null;
|
|
11626
|
+
dnsServer?: string | null;
|
|
11627
|
+
dnsServers?: string[] | null;
|
|
11628
|
+
reservations?: Record<string, unknown> | null;
|
|
11629
|
+
} | null;
|
|
11630
|
+
secondaryAddress?: string | null;
|
|
11631
|
+
virtualAddress?: string | null;
|
|
11199
11632
|
} | null;
|
|
11200
|
-
|
|
11201
|
-
|
|
11202
|
-
|
|
11203
|
-
vlanTag?: number | null;
|
|
11204
|
-
}[];
|
|
11633
|
+
vlanTag?: number | null;
|
|
11634
|
+
}[];
|
|
11635
|
+
}
|
|
11205
11636
|
|
|
11206
|
-
export const ListSiteLansResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
11207
|
-
Schema.
|
|
11208
|
-
|
|
11209
|
-
|
|
11210
|
-
|
|
11211
|
-
|
|
11212
|
-
Schema.
|
|
11213
|
-
Schema.
|
|
11214
|
-
|
|
11215
|
-
Schema.
|
|
11637
|
+
export const ListSiteLansResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
11638
|
+
result: Schema.Array(
|
|
11639
|
+
Schema.Struct({
|
|
11640
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
11641
|
+
haLink: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
11642
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
11643
|
+
nat: Schema.optional(
|
|
11644
|
+
Schema.Union([
|
|
11645
|
+
Schema.Struct({
|
|
11646
|
+
staticPrefix: Schema.optional(
|
|
11647
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
11648
|
+
),
|
|
11649
|
+
}).pipe(Schema.encodeKeys({ staticPrefix: "static_prefix" })),
|
|
11650
|
+
Schema.Null,
|
|
11651
|
+
]),
|
|
11652
|
+
),
|
|
11653
|
+
physport: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
11654
|
+
routedSubnets: Schema.optional(
|
|
11655
|
+
Schema.Union([
|
|
11656
|
+
Schema.Array(
|
|
11657
|
+
Schema.Struct({
|
|
11658
|
+
nextHop: Schema.String,
|
|
11659
|
+
prefix: Schema.String,
|
|
11660
|
+
nat: Schema.optional(
|
|
11661
|
+
Schema.Union([
|
|
11662
|
+
Schema.Struct({
|
|
11663
|
+
staticPrefix: Schema.optional(
|
|
11664
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
11665
|
+
),
|
|
11666
|
+
}).pipe(Schema.encodeKeys({ staticPrefix: "static_prefix" })),
|
|
11667
|
+
Schema.Null,
|
|
11668
|
+
]),
|
|
11669
|
+
),
|
|
11670
|
+
}).pipe(
|
|
11671
|
+
Schema.encodeKeys({
|
|
11672
|
+
nextHop: "next_hop",
|
|
11673
|
+
prefix: "prefix",
|
|
11674
|
+
nat: "nat",
|
|
11675
|
+
}),
|
|
11676
|
+
),
|
|
11216
11677
|
),
|
|
11217
|
-
|
|
11218
|
-
|
|
11219
|
-
|
|
11220
|
-
|
|
11221
|
-
|
|
11222
|
-
|
|
11223
|
-
Schema.Union([
|
|
11224
|
-
Schema.Array(
|
|
11678
|
+
Schema.Null,
|
|
11679
|
+
]),
|
|
11680
|
+
),
|
|
11681
|
+
siteId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
11682
|
+
staticAddressing: Schema.optional(
|
|
11683
|
+
Schema.Union([
|
|
11225
11684
|
Schema.Struct({
|
|
11226
|
-
|
|
11227
|
-
|
|
11228
|
-
|
|
11685
|
+
address: Schema.String,
|
|
11686
|
+
dhcpRelay: Schema.optional(
|
|
11687
|
+
Schema.Union([
|
|
11688
|
+
Schema.Struct({
|
|
11689
|
+
serverAddresses: Schema.optional(
|
|
11690
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
11691
|
+
),
|
|
11692
|
+
}).pipe(
|
|
11693
|
+
Schema.encodeKeys({ serverAddresses: "server_addresses" }),
|
|
11694
|
+
),
|
|
11695
|
+
Schema.Null,
|
|
11696
|
+
]),
|
|
11697
|
+
),
|
|
11698
|
+
dhcpServer: Schema.optional(
|
|
11229
11699
|
Schema.Union([
|
|
11230
11700
|
Schema.Struct({
|
|
11231
|
-
|
|
11701
|
+
dhcpPoolEnd: Schema.optional(
|
|
11702
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
11703
|
+
),
|
|
11704
|
+
dhcpPoolStart: Schema.optional(
|
|
11232
11705
|
Schema.Union([Schema.String, Schema.Null]),
|
|
11233
11706
|
),
|
|
11234
|
-
|
|
11707
|
+
dnsServer: Schema.optional(
|
|
11708
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
11709
|
+
),
|
|
11710
|
+
dnsServers: Schema.optional(
|
|
11711
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
11712
|
+
),
|
|
11713
|
+
reservations: Schema.optional(
|
|
11714
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
11715
|
+
),
|
|
11716
|
+
}).pipe(
|
|
11717
|
+
Schema.encodeKeys({
|
|
11718
|
+
dhcpPoolEnd: "dhcp_pool_end",
|
|
11719
|
+
dhcpPoolStart: "dhcp_pool_start",
|
|
11720
|
+
dnsServer: "dns_server",
|
|
11721
|
+
dnsServers: "dns_servers",
|
|
11722
|
+
reservations: "reservations",
|
|
11723
|
+
}),
|
|
11724
|
+
),
|
|
11235
11725
|
Schema.Null,
|
|
11236
11726
|
]),
|
|
11237
11727
|
),
|
|
11728
|
+
secondaryAddress: Schema.optional(
|
|
11729
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
11730
|
+
),
|
|
11731
|
+
virtualAddress: Schema.optional(
|
|
11732
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
11733
|
+
),
|
|
11238
11734
|
}).pipe(
|
|
11239
11735
|
Schema.encodeKeys({
|
|
11240
|
-
|
|
11241
|
-
|
|
11242
|
-
|
|
11736
|
+
address: "address",
|
|
11737
|
+
dhcpRelay: "dhcp_relay",
|
|
11738
|
+
dhcpServer: "dhcp_server",
|
|
11739
|
+
secondaryAddress: "secondary_address",
|
|
11740
|
+
virtualAddress: "virtual_address",
|
|
11243
11741
|
}),
|
|
11244
11742
|
),
|
|
11245
|
-
|
|
11246
|
-
|
|
11247
|
-
|
|
11248
|
-
|
|
11249
|
-
|
|
11250
|
-
|
|
11251
|
-
|
|
11252
|
-
|
|
11253
|
-
|
|
11254
|
-
|
|
11255
|
-
|
|
11256
|
-
|
|
11257
|
-
|
|
11258
|
-
|
|
11259
|
-
|
|
11260
|
-
|
|
11261
|
-
Schema.encodeKeys({ serverAddresses: "server_addresses" }),
|
|
11262
|
-
),
|
|
11263
|
-
Schema.Null,
|
|
11264
|
-
]),
|
|
11265
|
-
),
|
|
11266
|
-
dhcpServer: Schema.optional(
|
|
11267
|
-
Schema.Union([
|
|
11268
|
-
Schema.Struct({
|
|
11269
|
-
dhcpPoolEnd: Schema.optional(
|
|
11270
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
11271
|
-
),
|
|
11272
|
-
dhcpPoolStart: Schema.optional(
|
|
11273
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
11274
|
-
),
|
|
11275
|
-
dnsServer: Schema.optional(
|
|
11276
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
11277
|
-
),
|
|
11278
|
-
dnsServers: Schema.optional(
|
|
11279
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
11280
|
-
),
|
|
11281
|
-
reservations: Schema.optional(
|
|
11282
|
-
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
11283
|
-
),
|
|
11284
|
-
}).pipe(
|
|
11285
|
-
Schema.encodeKeys({
|
|
11286
|
-
dhcpPoolEnd: "dhcp_pool_end",
|
|
11287
|
-
dhcpPoolStart: "dhcp_pool_start",
|
|
11288
|
-
dnsServer: "dns_server",
|
|
11289
|
-
dnsServers: "dns_servers",
|
|
11290
|
-
reservations: "reservations",
|
|
11291
|
-
}),
|
|
11292
|
-
),
|
|
11293
|
-
Schema.Null,
|
|
11294
|
-
]),
|
|
11295
|
-
),
|
|
11296
|
-
secondaryAddress: Schema.optional(
|
|
11297
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
11298
|
-
),
|
|
11299
|
-
virtualAddress: Schema.optional(
|
|
11300
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
11301
|
-
),
|
|
11302
|
-
}).pipe(
|
|
11303
|
-
Schema.encodeKeys({
|
|
11304
|
-
address: "address",
|
|
11305
|
-
dhcpRelay: "dhcp_relay",
|
|
11306
|
-
dhcpServer: "dhcp_server",
|
|
11307
|
-
secondaryAddress: "secondary_address",
|
|
11308
|
-
virtualAddress: "virtual_address",
|
|
11309
|
-
}),
|
|
11310
|
-
),
|
|
11311
|
-
Schema.Null,
|
|
11312
|
-
]),
|
|
11743
|
+
Schema.Null,
|
|
11744
|
+
]),
|
|
11745
|
+
),
|
|
11746
|
+
vlanTag: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
11747
|
+
}).pipe(
|
|
11748
|
+
Schema.encodeKeys({
|
|
11749
|
+
id: "id",
|
|
11750
|
+
haLink: "ha_link",
|
|
11751
|
+
name: "name",
|
|
11752
|
+
nat: "nat",
|
|
11753
|
+
physport: "physport",
|
|
11754
|
+
routedSubnets: "routed_subnets",
|
|
11755
|
+
siteId: "site_id",
|
|
11756
|
+
staticAddressing: "static_addressing",
|
|
11757
|
+
vlanTag: "vlan_tag",
|
|
11758
|
+
}),
|
|
11313
11759
|
),
|
|
11314
|
-
vlanTag: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
11315
|
-
}).pipe(
|
|
11316
|
-
Schema.encodeKeys({
|
|
11317
|
-
id: "id",
|
|
11318
|
-
haLink: "ha_link",
|
|
11319
|
-
name: "name",
|
|
11320
|
-
nat: "nat",
|
|
11321
|
-
physport: "physport",
|
|
11322
|
-
routedSubnets: "routed_subnets",
|
|
11323
|
-
siteId: "site_id",
|
|
11324
|
-
staticAddressing: "static_addressing",
|
|
11325
|
-
vlanTag: "vlan_tag",
|
|
11326
|
-
}),
|
|
11327
11760
|
),
|
|
11328
|
-
) as unknown as Schema.Schema<ListSiteLansResponse>;
|
|
11761
|
+
}) as unknown as Schema.Schema<ListSiteLansResponse>;
|
|
11329
11762
|
|
|
11330
11763
|
export type ListSiteLansError = DefaultErrors;
|
|
11331
11764
|
|
|
11332
|
-
export const listSiteLans: API.
|
|
11765
|
+
export const listSiteLans: API.PaginatedOperationMethod<
|
|
11333
11766
|
ListSiteLansRequest,
|
|
11334
11767
|
ListSiteLansResponse,
|
|
11335
11768
|
ListSiteLansError,
|
|
11336
11769
|
Credentials | HttpClient.HttpClient
|
|
11337
|
-
>
|
|
11770
|
+
> & {
|
|
11771
|
+
pages: (
|
|
11772
|
+
input: ListSiteLansRequest,
|
|
11773
|
+
) => stream.Stream<
|
|
11774
|
+
ListSiteLansResponse,
|
|
11775
|
+
ListSiteLansError,
|
|
11776
|
+
Credentials | HttpClient.HttpClient
|
|
11777
|
+
>;
|
|
11778
|
+
items: (input: ListSiteLansRequest) => stream.Stream<
|
|
11779
|
+
{
|
|
11780
|
+
id?: string | null;
|
|
11781
|
+
haLink?: boolean | null;
|
|
11782
|
+
name?: string | null;
|
|
11783
|
+
nat?: { staticPrefix?: string | null } | null;
|
|
11784
|
+
physport?: number | null;
|
|
11785
|
+
routedSubnets?:
|
|
11786
|
+
| {
|
|
11787
|
+
nextHop: string;
|
|
11788
|
+
prefix: string;
|
|
11789
|
+
nat?: { staticPrefix?: string | null } | null;
|
|
11790
|
+
}[]
|
|
11791
|
+
| null;
|
|
11792
|
+
siteId?: string | null;
|
|
11793
|
+
staticAddressing?: {
|
|
11794
|
+
address: string;
|
|
11795
|
+
dhcpRelay?: { serverAddresses?: string[] | null } | null;
|
|
11796
|
+
dhcpServer?: {
|
|
11797
|
+
dhcpPoolEnd?: string | null;
|
|
11798
|
+
dhcpPoolStart?: string | null;
|
|
11799
|
+
dnsServer?: string | null;
|
|
11800
|
+
dnsServers?: string[] | null;
|
|
11801
|
+
reservations?: Record<string, unknown> | null;
|
|
11802
|
+
} | null;
|
|
11803
|
+
secondaryAddress?: string | null;
|
|
11804
|
+
virtualAddress?: string | null;
|
|
11805
|
+
} | null;
|
|
11806
|
+
vlanTag?: number | null;
|
|
11807
|
+
},
|
|
11808
|
+
ListSiteLansError,
|
|
11809
|
+
Credentials | HttpClient.HttpClient
|
|
11810
|
+
>;
|
|
11811
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
11338
11812
|
input: ListSiteLansRequest,
|
|
11339
11813
|
output: ListSiteLansResponse,
|
|
11340
11814
|
errors: [],
|
|
11815
|
+
pagination: {
|
|
11816
|
+
mode: "single",
|
|
11817
|
+
items: "result",
|
|
11818
|
+
} as const,
|
|
11341
11819
|
}));
|
|
11342
11820
|
|
|
11343
11821
|
export interface CreateSiteLanRequest {
|
|
@@ -11460,171 +11938,220 @@ export const CreateSiteLanRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
11460
11938
|
}),
|
|
11461
11939
|
) as unknown as Schema.Schema<CreateSiteLanRequest>;
|
|
11462
11940
|
|
|
11463
|
-
export
|
|
11464
|
-
|
|
11465
|
-
|
|
11466
|
-
|
|
11467
|
-
|
|
11468
|
-
|
|
11469
|
-
|
|
11470
|
-
|
|
11471
|
-
|
|
11472
|
-
|
|
11473
|
-
|
|
11474
|
-
|
|
11475
|
-
|
|
11476
|
-
|
|
11477
|
-
|
|
11478
|
-
|
|
11479
|
-
|
|
11480
|
-
|
|
11481
|
-
|
|
11482
|
-
|
|
11483
|
-
|
|
11484
|
-
|
|
11485
|
-
|
|
11941
|
+
export interface CreateSiteLanResponse {
|
|
11942
|
+
result: {
|
|
11943
|
+
id?: string | null;
|
|
11944
|
+
haLink?: boolean | null;
|
|
11945
|
+
name?: string | null;
|
|
11946
|
+
nat?: { staticPrefix?: string | null } | null;
|
|
11947
|
+
physport?: number | null;
|
|
11948
|
+
routedSubnets?:
|
|
11949
|
+
| {
|
|
11950
|
+
nextHop: string;
|
|
11951
|
+
prefix: string;
|
|
11952
|
+
nat?: { staticPrefix?: string | null } | null;
|
|
11953
|
+
}[]
|
|
11954
|
+
| null;
|
|
11955
|
+
siteId?: string | null;
|
|
11956
|
+
staticAddressing?: {
|
|
11957
|
+
address: string;
|
|
11958
|
+
dhcpRelay?: { serverAddresses?: string[] | null } | null;
|
|
11959
|
+
dhcpServer?: {
|
|
11960
|
+
dhcpPoolEnd?: string | null;
|
|
11961
|
+
dhcpPoolStart?: string | null;
|
|
11962
|
+
dnsServer?: string | null;
|
|
11963
|
+
dnsServers?: string[] | null;
|
|
11964
|
+
reservations?: Record<string, unknown> | null;
|
|
11965
|
+
} | null;
|
|
11966
|
+
secondaryAddress?: string | null;
|
|
11967
|
+
virtualAddress?: string | null;
|
|
11486
11968
|
} | null;
|
|
11487
|
-
|
|
11488
|
-
|
|
11489
|
-
|
|
11490
|
-
vlanTag?: number | null;
|
|
11491
|
-
}[];
|
|
11969
|
+
vlanTag?: number | null;
|
|
11970
|
+
}[];
|
|
11971
|
+
}
|
|
11492
11972
|
|
|
11493
|
-
export const CreateSiteLanResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
11494
|
-
Schema.
|
|
11495
|
-
|
|
11496
|
-
|
|
11497
|
-
|
|
11498
|
-
|
|
11499
|
-
Schema.
|
|
11500
|
-
Schema.
|
|
11501
|
-
|
|
11502
|
-
Schema.
|
|
11973
|
+
export const CreateSiteLanResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
11974
|
+
result: Schema.Array(
|
|
11975
|
+
Schema.Struct({
|
|
11976
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
11977
|
+
haLink: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
11978
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
11979
|
+
nat: Schema.optional(
|
|
11980
|
+
Schema.Union([
|
|
11981
|
+
Schema.Struct({
|
|
11982
|
+
staticPrefix: Schema.optional(
|
|
11983
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
11984
|
+
),
|
|
11985
|
+
}).pipe(Schema.encodeKeys({ staticPrefix: "static_prefix" })),
|
|
11986
|
+
Schema.Null,
|
|
11987
|
+
]),
|
|
11988
|
+
),
|
|
11989
|
+
physport: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
11990
|
+
routedSubnets: Schema.optional(
|
|
11991
|
+
Schema.Union([
|
|
11992
|
+
Schema.Array(
|
|
11993
|
+
Schema.Struct({
|
|
11994
|
+
nextHop: Schema.String,
|
|
11995
|
+
prefix: Schema.String,
|
|
11996
|
+
nat: Schema.optional(
|
|
11997
|
+
Schema.Union([
|
|
11998
|
+
Schema.Struct({
|
|
11999
|
+
staticPrefix: Schema.optional(
|
|
12000
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
12001
|
+
),
|
|
12002
|
+
}).pipe(Schema.encodeKeys({ staticPrefix: "static_prefix" })),
|
|
12003
|
+
Schema.Null,
|
|
12004
|
+
]),
|
|
12005
|
+
),
|
|
12006
|
+
}).pipe(
|
|
12007
|
+
Schema.encodeKeys({
|
|
12008
|
+
nextHop: "next_hop",
|
|
12009
|
+
prefix: "prefix",
|
|
12010
|
+
nat: "nat",
|
|
12011
|
+
}),
|
|
12012
|
+
),
|
|
11503
12013
|
),
|
|
11504
|
-
|
|
11505
|
-
|
|
11506
|
-
|
|
11507
|
-
|
|
11508
|
-
|
|
11509
|
-
|
|
11510
|
-
Schema.Union([
|
|
11511
|
-
Schema.Array(
|
|
12014
|
+
Schema.Null,
|
|
12015
|
+
]),
|
|
12016
|
+
),
|
|
12017
|
+
siteId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
12018
|
+
staticAddressing: Schema.optional(
|
|
12019
|
+
Schema.Union([
|
|
11512
12020
|
Schema.Struct({
|
|
11513
|
-
|
|
11514
|
-
|
|
11515
|
-
|
|
12021
|
+
address: Schema.String,
|
|
12022
|
+
dhcpRelay: Schema.optional(
|
|
12023
|
+
Schema.Union([
|
|
12024
|
+
Schema.Struct({
|
|
12025
|
+
serverAddresses: Schema.optional(
|
|
12026
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
12027
|
+
),
|
|
12028
|
+
}).pipe(
|
|
12029
|
+
Schema.encodeKeys({ serverAddresses: "server_addresses" }),
|
|
12030
|
+
),
|
|
12031
|
+
Schema.Null,
|
|
12032
|
+
]),
|
|
12033
|
+
),
|
|
12034
|
+
dhcpServer: Schema.optional(
|
|
11516
12035
|
Schema.Union([
|
|
11517
12036
|
Schema.Struct({
|
|
11518
|
-
|
|
12037
|
+
dhcpPoolEnd: Schema.optional(
|
|
11519
12038
|
Schema.Union([Schema.String, Schema.Null]),
|
|
11520
12039
|
),
|
|
11521
|
-
|
|
12040
|
+
dhcpPoolStart: Schema.optional(
|
|
12041
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
12042
|
+
),
|
|
12043
|
+
dnsServer: Schema.optional(
|
|
12044
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
12045
|
+
),
|
|
12046
|
+
dnsServers: Schema.optional(
|
|
12047
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
12048
|
+
),
|
|
12049
|
+
reservations: Schema.optional(
|
|
12050
|
+
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
12051
|
+
),
|
|
12052
|
+
}).pipe(
|
|
12053
|
+
Schema.encodeKeys({
|
|
12054
|
+
dhcpPoolEnd: "dhcp_pool_end",
|
|
12055
|
+
dhcpPoolStart: "dhcp_pool_start",
|
|
12056
|
+
dnsServer: "dns_server",
|
|
12057
|
+
dnsServers: "dns_servers",
|
|
12058
|
+
reservations: "reservations",
|
|
12059
|
+
}),
|
|
12060
|
+
),
|
|
11522
12061
|
Schema.Null,
|
|
11523
12062
|
]),
|
|
11524
12063
|
),
|
|
12064
|
+
secondaryAddress: Schema.optional(
|
|
12065
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
12066
|
+
),
|
|
12067
|
+
virtualAddress: Schema.optional(
|
|
12068
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
12069
|
+
),
|
|
11525
12070
|
}).pipe(
|
|
11526
12071
|
Schema.encodeKeys({
|
|
11527
|
-
|
|
11528
|
-
|
|
11529
|
-
|
|
12072
|
+
address: "address",
|
|
12073
|
+
dhcpRelay: "dhcp_relay",
|
|
12074
|
+
dhcpServer: "dhcp_server",
|
|
12075
|
+
secondaryAddress: "secondary_address",
|
|
12076
|
+
virtualAddress: "virtual_address",
|
|
11530
12077
|
}),
|
|
11531
12078
|
),
|
|
11532
|
-
|
|
11533
|
-
|
|
11534
|
-
|
|
11535
|
-
|
|
11536
|
-
|
|
11537
|
-
|
|
11538
|
-
|
|
11539
|
-
|
|
11540
|
-
|
|
11541
|
-
|
|
11542
|
-
|
|
11543
|
-
|
|
11544
|
-
|
|
11545
|
-
|
|
11546
|
-
|
|
11547
|
-
|
|
11548
|
-
Schema.encodeKeys({ serverAddresses: "server_addresses" }),
|
|
11549
|
-
),
|
|
11550
|
-
Schema.Null,
|
|
11551
|
-
]),
|
|
11552
|
-
),
|
|
11553
|
-
dhcpServer: Schema.optional(
|
|
11554
|
-
Schema.Union([
|
|
11555
|
-
Schema.Struct({
|
|
11556
|
-
dhcpPoolEnd: Schema.optional(
|
|
11557
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
11558
|
-
),
|
|
11559
|
-
dhcpPoolStart: Schema.optional(
|
|
11560
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
11561
|
-
),
|
|
11562
|
-
dnsServer: Schema.optional(
|
|
11563
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
11564
|
-
),
|
|
11565
|
-
dnsServers: Schema.optional(
|
|
11566
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
11567
|
-
),
|
|
11568
|
-
reservations: Schema.optional(
|
|
11569
|
-
Schema.Union([Schema.Struct({}), Schema.Null]),
|
|
11570
|
-
),
|
|
11571
|
-
}).pipe(
|
|
11572
|
-
Schema.encodeKeys({
|
|
11573
|
-
dhcpPoolEnd: "dhcp_pool_end",
|
|
11574
|
-
dhcpPoolStart: "dhcp_pool_start",
|
|
11575
|
-
dnsServer: "dns_server",
|
|
11576
|
-
dnsServers: "dns_servers",
|
|
11577
|
-
reservations: "reservations",
|
|
11578
|
-
}),
|
|
11579
|
-
),
|
|
11580
|
-
Schema.Null,
|
|
11581
|
-
]),
|
|
11582
|
-
),
|
|
11583
|
-
secondaryAddress: Schema.optional(
|
|
11584
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
11585
|
-
),
|
|
11586
|
-
virtualAddress: Schema.optional(
|
|
11587
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
11588
|
-
),
|
|
11589
|
-
}).pipe(
|
|
11590
|
-
Schema.encodeKeys({
|
|
11591
|
-
address: "address",
|
|
11592
|
-
dhcpRelay: "dhcp_relay",
|
|
11593
|
-
dhcpServer: "dhcp_server",
|
|
11594
|
-
secondaryAddress: "secondary_address",
|
|
11595
|
-
virtualAddress: "virtual_address",
|
|
11596
|
-
}),
|
|
11597
|
-
),
|
|
11598
|
-
Schema.Null,
|
|
11599
|
-
]),
|
|
12079
|
+
Schema.Null,
|
|
12080
|
+
]),
|
|
12081
|
+
),
|
|
12082
|
+
vlanTag: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
12083
|
+
}).pipe(
|
|
12084
|
+
Schema.encodeKeys({
|
|
12085
|
+
id: "id",
|
|
12086
|
+
haLink: "ha_link",
|
|
12087
|
+
name: "name",
|
|
12088
|
+
nat: "nat",
|
|
12089
|
+
physport: "physport",
|
|
12090
|
+
routedSubnets: "routed_subnets",
|
|
12091
|
+
siteId: "site_id",
|
|
12092
|
+
staticAddressing: "static_addressing",
|
|
12093
|
+
vlanTag: "vlan_tag",
|
|
12094
|
+
}),
|
|
11600
12095
|
),
|
|
11601
|
-
vlanTag: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
11602
|
-
}).pipe(
|
|
11603
|
-
Schema.encodeKeys({
|
|
11604
|
-
id: "id",
|
|
11605
|
-
haLink: "ha_link",
|
|
11606
|
-
name: "name",
|
|
11607
|
-
nat: "nat",
|
|
11608
|
-
physport: "physport",
|
|
11609
|
-
routedSubnets: "routed_subnets",
|
|
11610
|
-
siteId: "site_id",
|
|
11611
|
-
staticAddressing: "static_addressing",
|
|
11612
|
-
vlanTag: "vlan_tag",
|
|
11613
|
-
}),
|
|
11614
12096
|
),
|
|
11615
|
-
) as unknown as Schema.Schema<CreateSiteLanResponse>;
|
|
12097
|
+
}) as unknown as Schema.Schema<CreateSiteLanResponse>;
|
|
11616
12098
|
|
|
11617
12099
|
export type CreateSiteLanError = DefaultErrors;
|
|
11618
12100
|
|
|
11619
|
-
export const createSiteLan: API.
|
|
12101
|
+
export const createSiteLan: API.PaginatedOperationMethod<
|
|
11620
12102
|
CreateSiteLanRequest,
|
|
11621
12103
|
CreateSiteLanResponse,
|
|
11622
12104
|
CreateSiteLanError,
|
|
11623
12105
|
Credentials | HttpClient.HttpClient
|
|
11624
|
-
>
|
|
12106
|
+
> & {
|
|
12107
|
+
pages: (
|
|
12108
|
+
input: CreateSiteLanRequest,
|
|
12109
|
+
) => stream.Stream<
|
|
12110
|
+
CreateSiteLanResponse,
|
|
12111
|
+
CreateSiteLanError,
|
|
12112
|
+
Credentials | HttpClient.HttpClient
|
|
12113
|
+
>;
|
|
12114
|
+
items: (input: CreateSiteLanRequest) => stream.Stream<
|
|
12115
|
+
{
|
|
12116
|
+
id?: string | null;
|
|
12117
|
+
haLink?: boolean | null;
|
|
12118
|
+
name?: string | null;
|
|
12119
|
+
nat?: { staticPrefix?: string | null } | null;
|
|
12120
|
+
physport?: number | null;
|
|
12121
|
+
routedSubnets?:
|
|
12122
|
+
| {
|
|
12123
|
+
nextHop: string;
|
|
12124
|
+
prefix: string;
|
|
12125
|
+
nat?: { staticPrefix?: string | null } | null;
|
|
12126
|
+
}[]
|
|
12127
|
+
| null;
|
|
12128
|
+
siteId?: string | null;
|
|
12129
|
+
staticAddressing?: {
|
|
12130
|
+
address: string;
|
|
12131
|
+
dhcpRelay?: { serverAddresses?: string[] | null } | null;
|
|
12132
|
+
dhcpServer?: {
|
|
12133
|
+
dhcpPoolEnd?: string | null;
|
|
12134
|
+
dhcpPoolStart?: string | null;
|
|
12135
|
+
dnsServer?: string | null;
|
|
12136
|
+
dnsServers?: string[] | null;
|
|
12137
|
+
reservations?: Record<string, unknown> | null;
|
|
12138
|
+
} | null;
|
|
12139
|
+
secondaryAddress?: string | null;
|
|
12140
|
+
virtualAddress?: string | null;
|
|
12141
|
+
} | null;
|
|
12142
|
+
vlanTag?: number | null;
|
|
12143
|
+
},
|
|
12144
|
+
CreateSiteLanError,
|
|
12145
|
+
Credentials | HttpClient.HttpClient
|
|
12146
|
+
>;
|
|
12147
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
11625
12148
|
input: CreateSiteLanRequest,
|
|
11626
12149
|
output: CreateSiteLanResponse,
|
|
11627
12150
|
errors: [],
|
|
12151
|
+
pagination: {
|
|
12152
|
+
mode: "single",
|
|
12153
|
+
items: "result",
|
|
12154
|
+
} as const,
|
|
11628
12155
|
}));
|
|
11629
12156
|
|
|
11630
12157
|
export interface UpdateSiteLanRequest {
|
|
@@ -11879,26 +12406,30 @@ export const UpdateSiteLanResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
11879
12406
|
dhcpRelay: "dhcp_relay",
|
|
11880
12407
|
dhcpServer: "dhcp_server",
|
|
11881
12408
|
secondaryAddress: "secondary_address",
|
|
11882
|
-
virtualAddress: "virtual_address",
|
|
11883
|
-
}),
|
|
11884
|
-
),
|
|
11885
|
-
Schema.Null,
|
|
11886
|
-
]),
|
|
11887
|
-
),
|
|
11888
|
-
vlanTag: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
11889
|
-
})
|
|
11890
|
-
|
|
11891
|
-
|
|
11892
|
-
|
|
11893
|
-
|
|
11894
|
-
|
|
11895
|
-
|
|
11896
|
-
|
|
11897
|
-
|
|
11898
|
-
|
|
11899
|
-
|
|
11900
|
-
|
|
11901
|
-
)
|
|
12409
|
+
virtualAddress: "virtual_address",
|
|
12410
|
+
}),
|
|
12411
|
+
),
|
|
12412
|
+
Schema.Null,
|
|
12413
|
+
]),
|
|
12414
|
+
),
|
|
12415
|
+
vlanTag: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
12416
|
+
})
|
|
12417
|
+
.pipe(
|
|
12418
|
+
Schema.encodeKeys({
|
|
12419
|
+
id: "id",
|
|
12420
|
+
haLink: "ha_link",
|
|
12421
|
+
name: "name",
|
|
12422
|
+
nat: "nat",
|
|
12423
|
+
physport: "physport",
|
|
12424
|
+
routedSubnets: "routed_subnets",
|
|
12425
|
+
siteId: "site_id",
|
|
12426
|
+
staticAddressing: "static_addressing",
|
|
12427
|
+
vlanTag: "vlan_tag",
|
|
12428
|
+
}),
|
|
12429
|
+
)
|
|
12430
|
+
.pipe(
|
|
12431
|
+
T.ResponsePath("result"),
|
|
12432
|
+
) as unknown as Schema.Schema<UpdateSiteLanResponse>;
|
|
11902
12433
|
|
|
11903
12434
|
export type UpdateSiteLanError = DefaultErrors;
|
|
11904
12435
|
|
|
@@ -12172,19 +12703,23 @@ export const PatchSiteLanResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
12172
12703
|
]),
|
|
12173
12704
|
),
|
|
12174
12705
|
vlanTag: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
12175
|
-
})
|
|
12176
|
-
|
|
12177
|
-
|
|
12178
|
-
|
|
12179
|
-
|
|
12180
|
-
|
|
12181
|
-
|
|
12182
|
-
|
|
12183
|
-
|
|
12184
|
-
|
|
12185
|
-
|
|
12186
|
-
|
|
12187
|
-
)
|
|
12706
|
+
})
|
|
12707
|
+
.pipe(
|
|
12708
|
+
Schema.encodeKeys({
|
|
12709
|
+
id: "id",
|
|
12710
|
+
haLink: "ha_link",
|
|
12711
|
+
name: "name",
|
|
12712
|
+
nat: "nat",
|
|
12713
|
+
physport: "physport",
|
|
12714
|
+
routedSubnets: "routed_subnets",
|
|
12715
|
+
siteId: "site_id",
|
|
12716
|
+
staticAddressing: "static_addressing",
|
|
12717
|
+
vlanTag: "vlan_tag",
|
|
12718
|
+
}),
|
|
12719
|
+
)
|
|
12720
|
+
.pipe(
|
|
12721
|
+
T.ResponsePath("result"),
|
|
12722
|
+
) as unknown as Schema.Schema<PatchSiteLanResponse>;
|
|
12188
12723
|
|
|
12189
12724
|
export type PatchSiteLanError = DefaultErrors;
|
|
12190
12725
|
|
|
@@ -12358,19 +12893,23 @@ export const DeleteSiteLanResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
12358
12893
|
]),
|
|
12359
12894
|
),
|
|
12360
12895
|
vlanTag: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
12361
|
-
})
|
|
12362
|
-
|
|
12363
|
-
|
|
12364
|
-
|
|
12365
|
-
|
|
12366
|
-
|
|
12367
|
-
|
|
12368
|
-
|
|
12369
|
-
|
|
12370
|
-
|
|
12371
|
-
|
|
12372
|
-
|
|
12373
|
-
)
|
|
12896
|
+
})
|
|
12897
|
+
.pipe(
|
|
12898
|
+
Schema.encodeKeys({
|
|
12899
|
+
id: "id",
|
|
12900
|
+
haLink: "ha_link",
|
|
12901
|
+
name: "name",
|
|
12902
|
+
nat: "nat",
|
|
12903
|
+
physport: "physport",
|
|
12904
|
+
routedSubnets: "routed_subnets",
|
|
12905
|
+
siteId: "site_id",
|
|
12906
|
+
staticAddressing: "static_addressing",
|
|
12907
|
+
vlanTag: "vlan_tag",
|
|
12908
|
+
}),
|
|
12909
|
+
)
|
|
12910
|
+
.pipe(
|
|
12911
|
+
T.ResponsePath("result"),
|
|
12912
|
+
) as unknown as Schema.Schema<DeleteSiteLanResponse>;
|
|
12374
12913
|
|
|
12375
12914
|
export type DeleteSiteLanError = DefaultErrors;
|
|
12376
12915
|
|
|
@@ -12456,18 +12995,22 @@ export const GetSiteWanResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
12456
12995
|
]),
|
|
12457
12996
|
),
|
|
12458
12997
|
vlanTag: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
12459
|
-
})
|
|
12460
|
-
|
|
12461
|
-
|
|
12462
|
-
|
|
12463
|
-
|
|
12464
|
-
|
|
12465
|
-
|
|
12466
|
-
|
|
12467
|
-
|
|
12468
|
-
|
|
12469
|
-
|
|
12470
|
-
)
|
|
12998
|
+
})
|
|
12999
|
+
.pipe(
|
|
13000
|
+
Schema.encodeKeys({
|
|
13001
|
+
id: "id",
|
|
13002
|
+
healthCheckRate: "health_check_rate",
|
|
13003
|
+
name: "name",
|
|
13004
|
+
physport: "physport",
|
|
13005
|
+
priority: "priority",
|
|
13006
|
+
siteId: "site_id",
|
|
13007
|
+
staticAddressing: "static_addressing",
|
|
13008
|
+
vlanTag: "vlan_tag",
|
|
13009
|
+
}),
|
|
13010
|
+
)
|
|
13011
|
+
.pipe(
|
|
13012
|
+
T.ResponsePath("result"),
|
|
13013
|
+
) as unknown as Schema.Schema<GetSiteWanResponse>;
|
|
12471
13014
|
|
|
12472
13015
|
export type GetSiteWanError = DefaultErrors;
|
|
12473
13016
|
|
|
@@ -12498,75 +13041,109 @@ export const ListSiteWansRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
12498
13041
|
}),
|
|
12499
13042
|
) as unknown as Schema.Schema<ListSiteWansRequest>;
|
|
12500
13043
|
|
|
12501
|
-
export
|
|
12502
|
-
|
|
12503
|
-
|
|
12504
|
-
|
|
12505
|
-
|
|
12506
|
-
|
|
12507
|
-
|
|
12508
|
-
|
|
12509
|
-
|
|
12510
|
-
|
|
12511
|
-
|
|
12512
|
-
|
|
12513
|
-
|
|
12514
|
-
|
|
13044
|
+
export interface ListSiteWansResponse {
|
|
13045
|
+
result: {
|
|
13046
|
+
id?: string | null;
|
|
13047
|
+
healthCheckRate?: "low" | "mid" | "high" | null;
|
|
13048
|
+
name?: string | null;
|
|
13049
|
+
physport?: number | null;
|
|
13050
|
+
priority?: number | null;
|
|
13051
|
+
siteId?: string | null;
|
|
13052
|
+
staticAddressing?: {
|
|
13053
|
+
address: string;
|
|
13054
|
+
gatewayAddress: string;
|
|
13055
|
+
secondaryAddress?: string | null;
|
|
13056
|
+
} | null;
|
|
13057
|
+
vlanTag?: number | null;
|
|
13058
|
+
}[];
|
|
13059
|
+
}
|
|
12515
13060
|
|
|
12516
|
-
export const ListSiteWansResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
12517
|
-
Schema.
|
|
12518
|
-
|
|
12519
|
-
|
|
12520
|
-
Schema.
|
|
12521
|
-
|
|
12522
|
-
|
|
12523
|
-
|
|
12524
|
-
|
|
12525
|
-
|
|
12526
|
-
|
|
12527
|
-
Schema.
|
|
12528
|
-
Schema.
|
|
12529
|
-
|
|
12530
|
-
|
|
12531
|
-
|
|
12532
|
-
Schema.
|
|
13061
|
+
export const ListSiteWansResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
13062
|
+
result: Schema.Array(
|
|
13063
|
+
Schema.Struct({
|
|
13064
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
13065
|
+
healthCheckRate: Schema.optional(
|
|
13066
|
+
Schema.Union([Schema.Literals(["low", "mid", "high"]), Schema.Null]),
|
|
13067
|
+
),
|
|
13068
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
13069
|
+
physport: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
13070
|
+
priority: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
13071
|
+
siteId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
13072
|
+
staticAddressing: Schema.optional(
|
|
13073
|
+
Schema.Union([
|
|
13074
|
+
Schema.Struct({
|
|
13075
|
+
address: Schema.String,
|
|
13076
|
+
gatewayAddress: Schema.String,
|
|
13077
|
+
secondaryAddress: Schema.optional(
|
|
13078
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
13079
|
+
),
|
|
13080
|
+
}).pipe(
|
|
13081
|
+
Schema.encodeKeys({
|
|
13082
|
+
address: "address",
|
|
13083
|
+
gatewayAddress: "gateway_address",
|
|
13084
|
+
secondaryAddress: "secondary_address",
|
|
13085
|
+
}),
|
|
12533
13086
|
),
|
|
12534
|
-
|
|
12535
|
-
|
|
12536
|
-
|
|
12537
|
-
|
|
12538
|
-
|
|
12539
|
-
|
|
12540
|
-
|
|
12541
|
-
|
|
12542
|
-
|
|
13087
|
+
Schema.Null,
|
|
13088
|
+
]),
|
|
13089
|
+
),
|
|
13090
|
+
vlanTag: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
13091
|
+
}).pipe(
|
|
13092
|
+
Schema.encodeKeys({
|
|
13093
|
+
id: "id",
|
|
13094
|
+
healthCheckRate: "health_check_rate",
|
|
13095
|
+
name: "name",
|
|
13096
|
+
physport: "physport",
|
|
13097
|
+
priority: "priority",
|
|
13098
|
+
siteId: "site_id",
|
|
13099
|
+
staticAddressing: "static_addressing",
|
|
13100
|
+
vlanTag: "vlan_tag",
|
|
13101
|
+
}),
|
|
12543
13102
|
),
|
|
12544
|
-
vlanTag: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
12545
|
-
}).pipe(
|
|
12546
|
-
Schema.encodeKeys({
|
|
12547
|
-
id: "id",
|
|
12548
|
-
healthCheckRate: "health_check_rate",
|
|
12549
|
-
name: "name",
|
|
12550
|
-
physport: "physport",
|
|
12551
|
-
priority: "priority",
|
|
12552
|
-
siteId: "site_id",
|
|
12553
|
-
staticAddressing: "static_addressing",
|
|
12554
|
-
vlanTag: "vlan_tag",
|
|
12555
|
-
}),
|
|
12556
13103
|
),
|
|
12557
|
-
) as unknown as Schema.Schema<ListSiteWansResponse>;
|
|
13104
|
+
}) as unknown as Schema.Schema<ListSiteWansResponse>;
|
|
12558
13105
|
|
|
12559
13106
|
export type ListSiteWansError = DefaultErrors;
|
|
12560
13107
|
|
|
12561
|
-
export const listSiteWans: API.
|
|
13108
|
+
export const listSiteWans: API.PaginatedOperationMethod<
|
|
12562
13109
|
ListSiteWansRequest,
|
|
12563
13110
|
ListSiteWansResponse,
|
|
12564
13111
|
ListSiteWansError,
|
|
12565
13112
|
Credentials | HttpClient.HttpClient
|
|
12566
|
-
>
|
|
13113
|
+
> & {
|
|
13114
|
+
pages: (
|
|
13115
|
+
input: ListSiteWansRequest,
|
|
13116
|
+
) => stream.Stream<
|
|
13117
|
+
ListSiteWansResponse,
|
|
13118
|
+
ListSiteWansError,
|
|
13119
|
+
Credentials | HttpClient.HttpClient
|
|
13120
|
+
>;
|
|
13121
|
+
items: (input: ListSiteWansRequest) => stream.Stream<
|
|
13122
|
+
{
|
|
13123
|
+
id?: string | null;
|
|
13124
|
+
healthCheckRate?: "low" | "mid" | "high" | null;
|
|
13125
|
+
name?: string | null;
|
|
13126
|
+
physport?: number | null;
|
|
13127
|
+
priority?: number | null;
|
|
13128
|
+
siteId?: string | null;
|
|
13129
|
+
staticAddressing?: {
|
|
13130
|
+
address: string;
|
|
13131
|
+
gatewayAddress: string;
|
|
13132
|
+
secondaryAddress?: string | null;
|
|
13133
|
+
} | null;
|
|
13134
|
+
vlanTag?: number | null;
|
|
13135
|
+
},
|
|
13136
|
+
ListSiteWansError,
|
|
13137
|
+
Credentials | HttpClient.HttpClient
|
|
13138
|
+
>;
|
|
13139
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
12567
13140
|
input: ListSiteWansRequest,
|
|
12568
13141
|
output: ListSiteWansResponse,
|
|
12569
13142
|
errors: [],
|
|
13143
|
+
pagination: {
|
|
13144
|
+
mode: "single",
|
|
13145
|
+
items: "result",
|
|
13146
|
+
} as const,
|
|
12570
13147
|
}));
|
|
12571
13148
|
|
|
12572
13149
|
export interface CreateSiteWanRequest {
|
|
@@ -12623,75 +13200,109 @@ export const CreateSiteWanRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
12623
13200
|
}),
|
|
12624
13201
|
) as unknown as Schema.Schema<CreateSiteWanRequest>;
|
|
12625
13202
|
|
|
12626
|
-
export
|
|
12627
|
-
|
|
12628
|
-
|
|
12629
|
-
|
|
12630
|
-
|
|
12631
|
-
|
|
12632
|
-
|
|
12633
|
-
|
|
12634
|
-
|
|
12635
|
-
|
|
12636
|
-
|
|
12637
|
-
|
|
12638
|
-
|
|
12639
|
-
|
|
13203
|
+
export interface CreateSiteWanResponse {
|
|
13204
|
+
result: {
|
|
13205
|
+
id?: string | null;
|
|
13206
|
+
healthCheckRate?: "low" | "mid" | "high" | null;
|
|
13207
|
+
name?: string | null;
|
|
13208
|
+
physport?: number | null;
|
|
13209
|
+
priority?: number | null;
|
|
13210
|
+
siteId?: string | null;
|
|
13211
|
+
staticAddressing?: {
|
|
13212
|
+
address: string;
|
|
13213
|
+
gatewayAddress: string;
|
|
13214
|
+
secondaryAddress?: string | null;
|
|
13215
|
+
} | null;
|
|
13216
|
+
vlanTag?: number | null;
|
|
13217
|
+
}[];
|
|
13218
|
+
}
|
|
12640
13219
|
|
|
12641
|
-
export const CreateSiteWanResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
12642
|
-
Schema.
|
|
12643
|
-
|
|
12644
|
-
|
|
12645
|
-
Schema.
|
|
12646
|
-
|
|
12647
|
-
|
|
12648
|
-
|
|
12649
|
-
|
|
12650
|
-
|
|
12651
|
-
|
|
12652
|
-
Schema.
|
|
12653
|
-
Schema.
|
|
12654
|
-
|
|
12655
|
-
|
|
12656
|
-
|
|
12657
|
-
Schema.
|
|
13220
|
+
export const CreateSiteWanResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
13221
|
+
result: Schema.Array(
|
|
13222
|
+
Schema.Struct({
|
|
13223
|
+
id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
13224
|
+
healthCheckRate: Schema.optional(
|
|
13225
|
+
Schema.Union([Schema.Literals(["low", "mid", "high"]), Schema.Null]),
|
|
13226
|
+
),
|
|
13227
|
+
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
13228
|
+
physport: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
13229
|
+
priority: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
13230
|
+
siteId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
13231
|
+
staticAddressing: Schema.optional(
|
|
13232
|
+
Schema.Union([
|
|
13233
|
+
Schema.Struct({
|
|
13234
|
+
address: Schema.String,
|
|
13235
|
+
gatewayAddress: Schema.String,
|
|
13236
|
+
secondaryAddress: Schema.optional(
|
|
13237
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
13238
|
+
),
|
|
13239
|
+
}).pipe(
|
|
13240
|
+
Schema.encodeKeys({
|
|
13241
|
+
address: "address",
|
|
13242
|
+
gatewayAddress: "gateway_address",
|
|
13243
|
+
secondaryAddress: "secondary_address",
|
|
13244
|
+
}),
|
|
12658
13245
|
),
|
|
12659
|
-
|
|
12660
|
-
|
|
12661
|
-
|
|
12662
|
-
|
|
12663
|
-
|
|
12664
|
-
|
|
12665
|
-
|
|
12666
|
-
|
|
12667
|
-
|
|
13246
|
+
Schema.Null,
|
|
13247
|
+
]),
|
|
13248
|
+
),
|
|
13249
|
+
vlanTag: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
13250
|
+
}).pipe(
|
|
13251
|
+
Schema.encodeKeys({
|
|
13252
|
+
id: "id",
|
|
13253
|
+
healthCheckRate: "health_check_rate",
|
|
13254
|
+
name: "name",
|
|
13255
|
+
physport: "physport",
|
|
13256
|
+
priority: "priority",
|
|
13257
|
+
siteId: "site_id",
|
|
13258
|
+
staticAddressing: "static_addressing",
|
|
13259
|
+
vlanTag: "vlan_tag",
|
|
13260
|
+
}),
|
|
12668
13261
|
),
|
|
12669
|
-
vlanTag: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
12670
|
-
}).pipe(
|
|
12671
|
-
Schema.encodeKeys({
|
|
12672
|
-
id: "id",
|
|
12673
|
-
healthCheckRate: "health_check_rate",
|
|
12674
|
-
name: "name",
|
|
12675
|
-
physport: "physport",
|
|
12676
|
-
priority: "priority",
|
|
12677
|
-
siteId: "site_id",
|
|
12678
|
-
staticAddressing: "static_addressing",
|
|
12679
|
-
vlanTag: "vlan_tag",
|
|
12680
|
-
}),
|
|
12681
13262
|
),
|
|
12682
|
-
) as unknown as Schema.Schema<CreateSiteWanResponse>;
|
|
13263
|
+
}) as unknown as Schema.Schema<CreateSiteWanResponse>;
|
|
12683
13264
|
|
|
12684
13265
|
export type CreateSiteWanError = DefaultErrors;
|
|
12685
13266
|
|
|
12686
|
-
export const createSiteWan: API.
|
|
13267
|
+
export const createSiteWan: API.PaginatedOperationMethod<
|
|
12687
13268
|
CreateSiteWanRequest,
|
|
12688
13269
|
CreateSiteWanResponse,
|
|
12689
13270
|
CreateSiteWanError,
|
|
12690
13271
|
Credentials | HttpClient.HttpClient
|
|
12691
|
-
>
|
|
13272
|
+
> & {
|
|
13273
|
+
pages: (
|
|
13274
|
+
input: CreateSiteWanRequest,
|
|
13275
|
+
) => stream.Stream<
|
|
13276
|
+
CreateSiteWanResponse,
|
|
13277
|
+
CreateSiteWanError,
|
|
13278
|
+
Credentials | HttpClient.HttpClient
|
|
13279
|
+
>;
|
|
13280
|
+
items: (input: CreateSiteWanRequest) => stream.Stream<
|
|
13281
|
+
{
|
|
13282
|
+
id?: string | null;
|
|
13283
|
+
healthCheckRate?: "low" | "mid" | "high" | null;
|
|
13284
|
+
name?: string | null;
|
|
13285
|
+
physport?: number | null;
|
|
13286
|
+
priority?: number | null;
|
|
13287
|
+
siteId?: string | null;
|
|
13288
|
+
staticAddressing?: {
|
|
13289
|
+
address: string;
|
|
13290
|
+
gatewayAddress: string;
|
|
13291
|
+
secondaryAddress?: string | null;
|
|
13292
|
+
} | null;
|
|
13293
|
+
vlanTag?: number | null;
|
|
13294
|
+
},
|
|
13295
|
+
CreateSiteWanError,
|
|
13296
|
+
Credentials | HttpClient.HttpClient
|
|
13297
|
+
>;
|
|
13298
|
+
} = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
12692
13299
|
input: CreateSiteWanRequest,
|
|
12693
13300
|
output: CreateSiteWanResponse,
|
|
12694
13301
|
errors: [],
|
|
13302
|
+
pagination: {
|
|
13303
|
+
mode: "single",
|
|
13304
|
+
items: "result",
|
|
13305
|
+
} as const,
|
|
12695
13306
|
}));
|
|
12696
13307
|
|
|
12697
13308
|
export interface UpdateSiteWanRequest {
|
|
@@ -12799,18 +13410,22 @@ export const UpdateSiteWanResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
12799
13410
|
]),
|
|
12800
13411
|
),
|
|
12801
13412
|
vlanTag: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
12802
|
-
})
|
|
12803
|
-
|
|
12804
|
-
|
|
12805
|
-
|
|
12806
|
-
|
|
12807
|
-
|
|
12808
|
-
|
|
12809
|
-
|
|
12810
|
-
|
|
12811
|
-
|
|
12812
|
-
|
|
12813
|
-
)
|
|
13413
|
+
})
|
|
13414
|
+
.pipe(
|
|
13415
|
+
Schema.encodeKeys({
|
|
13416
|
+
id: "id",
|
|
13417
|
+
healthCheckRate: "health_check_rate",
|
|
13418
|
+
name: "name",
|
|
13419
|
+
physport: "physport",
|
|
13420
|
+
priority: "priority",
|
|
13421
|
+
siteId: "site_id",
|
|
13422
|
+
staticAddressing: "static_addressing",
|
|
13423
|
+
vlanTag: "vlan_tag",
|
|
13424
|
+
}),
|
|
13425
|
+
)
|
|
13426
|
+
.pipe(
|
|
13427
|
+
T.ResponsePath("result"),
|
|
13428
|
+
) as unknown as Schema.Schema<UpdateSiteWanResponse>;
|
|
12814
13429
|
|
|
12815
13430
|
export type UpdateSiteWanError = DefaultErrors;
|
|
12816
13431
|
|
|
@@ -12930,18 +13545,22 @@ export const PatchSiteWanResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
12930
13545
|
]),
|
|
12931
13546
|
),
|
|
12932
13547
|
vlanTag: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
12933
|
-
})
|
|
12934
|
-
|
|
12935
|
-
|
|
12936
|
-
|
|
12937
|
-
|
|
12938
|
-
|
|
12939
|
-
|
|
12940
|
-
|
|
12941
|
-
|
|
12942
|
-
|
|
12943
|
-
|
|
12944
|
-
)
|
|
13548
|
+
})
|
|
13549
|
+
.pipe(
|
|
13550
|
+
Schema.encodeKeys({
|
|
13551
|
+
id: "id",
|
|
13552
|
+
healthCheckRate: "health_check_rate",
|
|
13553
|
+
name: "name",
|
|
13554
|
+
physport: "physport",
|
|
13555
|
+
priority: "priority",
|
|
13556
|
+
siteId: "site_id",
|
|
13557
|
+
staticAddressing: "static_addressing",
|
|
13558
|
+
vlanTag: "vlan_tag",
|
|
13559
|
+
}),
|
|
13560
|
+
)
|
|
13561
|
+
.pipe(
|
|
13562
|
+
T.ResponsePath("result"),
|
|
13563
|
+
) as unknown as Schema.Schema<PatchSiteWanResponse>;
|
|
12945
13564
|
|
|
12946
13565
|
export type PatchSiteWanError = DefaultErrors;
|
|
12947
13566
|
|
|
@@ -13023,18 +13642,22 @@ export const DeleteSiteWanResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
13023
13642
|
]),
|
|
13024
13643
|
),
|
|
13025
13644
|
vlanTag: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
13026
|
-
})
|
|
13027
|
-
|
|
13028
|
-
|
|
13029
|
-
|
|
13030
|
-
|
|
13031
|
-
|
|
13032
|
-
|
|
13033
|
-
|
|
13034
|
-
|
|
13035
|
-
|
|
13036
|
-
|
|
13037
|
-
)
|
|
13645
|
+
})
|
|
13646
|
+
.pipe(
|
|
13647
|
+
Schema.encodeKeys({
|
|
13648
|
+
id: "id",
|
|
13649
|
+
healthCheckRate: "health_check_rate",
|
|
13650
|
+
name: "name",
|
|
13651
|
+
physport: "physport",
|
|
13652
|
+
priority: "priority",
|
|
13653
|
+
siteId: "site_id",
|
|
13654
|
+
staticAddressing: "static_addressing",
|
|
13655
|
+
vlanTag: "vlan_tag",
|
|
13656
|
+
}),
|
|
13657
|
+
)
|
|
13658
|
+
.pipe(
|
|
13659
|
+
T.ResponsePath("result"),
|
|
13660
|
+
) as unknown as Schema.Schema<DeleteSiteWanResponse>;
|
|
13038
13661
|
|
|
13039
13662
|
export type DeleteSiteWanError = DefaultErrors;
|
|
13040
13663
|
|