@distilled.cloud/cloudflare 0.29.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/services/abuse-reports.d.ts.map +1 -1
- package/lib/services/abuse-reports.js +26 -26
- package/lib/services/abuse-reports.js.map +1 -1
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +114 -123
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/acm.d.ts.map +1 -1
- package/lib/services/acm.js +23 -23
- package/lib/services/acm.js.map +1 -1
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +132 -132
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +213 -207
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/ai-security.d.ts.map +1 -1
- package/lib/services/ai-security.js +13 -13
- package/lib/services/ai-security.js.map +1 -1
- package/lib/services/ai.d.ts.map +1 -1
- package/lib/services/ai.js +62 -62
- package/lib/services/ai.js.map +1 -1
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +187 -193
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.d.ts.map +1 -1
- package/lib/services/alerting.js +78 -78
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +168 -177
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/argo.js +12 -12
- package/lib/services/argo.js.map +1 -1
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +9 -9
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +11 -11
- package/lib/services/billing.js.map +1 -1
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +18 -30
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/botnet-feed.d.ts.map +1 -1
- package/lib/services/botnet-feed.js +12 -12
- package/lib/services/botnet-feed.js.map +1 -1
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +59 -59
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +103 -103
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cache.d.ts.map +1 -1
- package/lib/services/cache.js +72 -72
- package/lib/services/cache.js.map +1 -1
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +31 -31
- package/lib/services/calls.js.map +1 -1
- package/lib/services/certificate-authorities.js +6 -6
- package/lib/services/certificate-authorities.js.map +1 -1
- package/lib/services/client-certificates.js +18 -18
- package/lib/services/client-certificates.js.map +1 -1
- package/lib/services/cloud-connector.d.ts.map +1 -1
- package/lib/services/cloud-connector.js +8 -8
- package/lib/services/cloud-connector.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +178 -178
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/connectivity.js +25 -25
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/containers.js +49 -49
- package/lib/services/containers.js.map +1 -1
- package/lib/services/content-scanning.d.ts.map +1 -1
- package/lib/services/content-scanning.js +29 -29
- package/lib/services/content-scanning.js.map +1 -1
- package/lib/services/csam-scanner.d.ts.map +1 -1
- package/lib/services/csam-scanner.js +8 -8
- package/lib/services/csam-scanner.js.map +1 -1
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +24 -24
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-csrs.d.ts.map +1 -1
- package/lib/services/custom-csrs.js +22 -22
- package/lib/services/custom-csrs.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +40 -40
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/custom-nameservers.js +11 -11
- package/lib/services/custom-nameservers.js.map +1 -1
- package/lib/services/custom-pages.d.ts.map +1 -1
- package/lib/services/custom-pages.js +43 -43
- package/lib/services/custom-pages.js.map +1 -1
- package/lib/services/d1.d.ts +4 -4
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +69 -51
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dcv-delegation.js +3 -3
- package/lib/services/dcv-delegation.js.map +1 -1
- package/lib/services/ddos-protection.js +126 -126
- package/lib/services/ddos-protection.js.map +1 -1
- package/lib/services/diagnostics.js +27 -27
- package/lib/services/diagnostics.js.map +1 -1
- package/lib/services/dls.d.ts.map +1 -1
- package/lib/services/dls.js +26 -26
- package/lib/services/dls.js.map +1 -1
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +34 -34
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +268 -268
- package/lib/services/dns.js.map +1 -1
- package/lib/services/durable-objects.d.ts.map +1 -1
- package/lib/services/durable-objects.js +11 -11
- package/lib/services/durable-objects.js.map +1 -1
- package/lib/services/email-auth.d.ts.map +1 -1
- package/lib/services/email-auth.js +13 -13
- package/lib/services/email-auth.js.map +1 -1
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +70 -70
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/email-security.d.ts.map +1 -1
- package/lib/services/email-security.js +195 -195
- package/lib/services/email-security.js.map +1 -1
- package/lib/services/email-sending.d.ts.map +1 -1
- package/lib/services/email-sending.js +28 -28
- package/lib/services/email-sending.js.map +1 -1
- package/lib/services/filters.d.ts.map +1 -1
- package/lib/services/filters.js +25 -25
- package/lib/services/filters.js.map +1 -1
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +149 -149
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/flagship.d.ts.map +1 -1
- package/lib/services/flagship.js +52 -52
- package/lib/services/flagship.js.map +1 -1
- package/lib/services/fraud.js +8 -8
- package/lib/services/fraud.js.map +1 -1
- package/lib/services/google-tag-gateway.d.ts.map +1 -1
- package/lib/services/google-tag-gateway.js +7 -7
- package/lib/services/google-tag-gateway.js.map +1 -1
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +31 -31
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +10 -10
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +32 -32
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +113 -113
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +59 -59
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +102 -102
- package/lib/services/intel.js.map +1 -1
- package/lib/services/ips.js +5 -5
- package/lib/services/ips.js.map +1 -1
- package/lib/services/keyless-certificates.js +17 -17
- package/lib/services/keyless-certificates.js.map +1 -1
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +54 -54
- package/lib/services/kv.js.map +1 -1
- package/lib/services/leaked-credential-checks.d.ts.map +1 -1
- package/lib/services/leaked-credential-checks.js +22 -22
- package/lib/services/leaked-credential-checks.js.map +1 -1
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +139 -157
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +69 -69
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +58 -58
- package/lib/services/logs.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +138 -168
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +47 -65
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +340 -364
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/managed-transforms.js +11 -11
- package/lib/services/managed-transforms.js.map +1 -1
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +25 -25
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/moq.d.ts.map +1 -1
- package/lib/services/moq.js +23 -23
- package/lib/services/moq.js.map +1 -1
- package/lib/services/mtls-certificates.d.ts.map +1 -1
- package/lib/services/mtls-certificates.js +17 -17
- package/lib/services/mtls-certificates.js.map +1 -1
- package/lib/services/network-interconnects.d.ts.map +1 -1
- package/lib/services/network-interconnects.js +56 -56
- package/lib/services/network-interconnects.js.map +1 -1
- package/lib/services/organizations.d.ts.map +1 -1
- package/lib/services/organizations.js +42 -42
- package/lib/services/organizations.js.map +1 -1
- package/lib/services/origin-ca-certificates.js +14 -14
- package/lib/services/origin-ca-certificates.js.map +1 -1
- package/lib/services/origin-post-quantum-encryption.js +6 -6
- package/lib/services/origin-post-quantum-encryption.js.map +1 -1
- package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
- package/lib/services/origin-tls-client-auth.js +52 -52
- package/lib/services/origin-tls-client-auth.js.map +1 -1
- package/lib/services/origin-tls-compliance-modes.js +12 -12
- package/lib/services/origin-tls-compliance-modes.js.map +1 -1
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +62 -62
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/page-shield.d.ts.map +1 -1
- package/lib/services/page-shield.js +45 -48
- package/lib/services/page-shield.js.map +1 -1
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +78 -78
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +102 -102
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +100 -103
- package/lib/services/queues.js.map +1 -1
- package/lib/services/r2-data-catalog.d.ts.map +1 -1
- package/lib/services/r2-data-catalog.js +42 -42
- package/lib/services/r2-data-catalog.js.map +1 -1
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +190 -190
- package/lib/services/r2.js.map +1 -1
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +991 -1009
- package/lib/services/radar.js.map +1 -1
- package/lib/services/rate-limits.d.ts.map +1 -1
- package/lib/services/rate-limits.js +24 -24
- package/lib/services/rate-limits.js.map +1 -1
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +276 -276
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/registrar.d.ts.map +1 -1
- package/lib/services/registrar.js +28 -28
- package/lib/services/registrar.js.map +1 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +7 -7
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/resource-sharing.d.ts.map +1 -1
- package/lib/services/resource-sharing.js +49 -49
- package/lib/services/resource-sharing.js.map +1 -1
- package/lib/services/resource-tagging.d.ts.map +1 -1
- package/lib/services/resource-tagging.js +56 -56
- package/lib/services/resource-tagging.js.map +1 -1
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +50 -50
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +2 -2
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +226 -190
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +35 -35
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.d.ts.map +1 -1
- package/lib/services/schema-validation.js +43 -46
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/secrets-store.d.ts.map +1 -1
- package/lib/services/secrets-store.js +41 -41
- package/lib/services/secrets-store.js.map +1 -1
- package/lib/services/security-center.d.ts.map +1 -1
- package/lib/services/security-center.js +54 -57
- package/lib/services/security-center.js.map +1 -1
- package/lib/services/security-txt.d.ts.map +1 -1
- package/lib/services/security-txt.js +12 -12
- package/lib/services/security-txt.js.map +1 -1
- package/lib/services/snippets.d.ts.map +1 -1
- package/lib/services/snippets.js +31 -31
- package/lib/services/snippets.js.map +1 -1
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +35 -35
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +41 -41
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +48 -48
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +147 -147
- package/lib/services/stream.js.map +1 -1
- package/lib/services/tenant-custom-nameservers.js +11 -11
- package/lib/services/tenant-custom-nameservers.js.map +1 -1
- package/lib/services/tenants.d.ts.map +1 -1
- package/lib/services/tenants.js +28 -28
- package/lib/services/tenants.js.map +1 -1
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +56 -56
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/turnstile.d.ts.map +1 -1
- package/lib/services/turnstile.js +27 -54
- package/lib/services/turnstile.js.map +1 -1
- package/lib/services/url-normalization.js +9 -9
- package/lib/services/url-normalization.js.map +1 -1
- package/lib/services/url-scanner.d.ts.map +1 -1
- package/lib/services/url-scanner.js +120 -120
- package/lib/services/url-scanner.js.map +1 -1
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +95 -95
- package/lib/services/user.js.map +1 -1
- package/lib/services/vectorize.d.ts +10 -10
- package/lib/services/vectorize.d.ts.map +1 -1
- package/lib/services/vectorize.js +59 -57
- package/lib/services/vectorize.js.map +1 -1
- package/lib/services/vulnerability-scanner.d.ts.map +1 -1
- package/lib/services/vulnerability-scanner.js +95 -95
- package/lib/services/vulnerability-scanner.js.map +1 -1
- package/lib/services/waiting-rooms.d.ts.map +1 -1
- package/lib/services/waiting-rooms.js +81 -81
- package/lib/services/waiting-rooms.js.map +1 -1
- package/lib/services/web3.d.ts.map +1 -1
- package/lib/services/web3.js +39 -39
- package/lib/services/web3.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +139 -139
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +420 -420
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +88 -88
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +36 -39
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +1765 -1771
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +168 -168
- package/lib/services/zones.js.map +1 -1
- package/package.json +3 -2
- package/src/services/abuse-reports.ts +35 -36
- package/src/services/accounts.ts +714 -760
- package/src/services/acm.ts +115 -125
- package/src/services/addressing.ts +484 -512
- package/src/services/ai-gateway.ts +653 -672
- package/src/services/ai-security.ts +47 -53
- package/src/services/ai.ts +172 -185
- package/src/services/aisearch.ts +1814 -1861
- package/src/services/alerting.ts +710 -742
- package/src/services/api-gateway.ts +481 -508
- package/src/services/argo.ts +12 -12
- package/src/services/audit-logs.ts +45 -49
- package/src/services/billing.ts +121 -136
- package/src/services/bot-management.ts +122 -136
- package/src/services/botnet-feed.ts +68 -74
- package/src/services/brand-protection.ts +275 -294
- package/src/services/browser-rendering.ts +758 -769
- package/src/services/cache.ts +148 -158
- package/src/services/calls.ts +110 -120
- package/src/services/certificate-authorities.ts +6 -6
- package/src/services/client-certificates.ts +18 -18
- package/src/services/cloud-connector.ts +11 -12
- package/src/services/cloudforce-one.ts +589 -617
- package/src/services/connectivity.ts +25 -25
- package/src/services/containers.ts +49 -49
- package/src/services/content-scanning.ts +80 -89
- package/src/services/csam-scanner.ts +16 -17
- package/src/services/custom-certificates.ts +36 -38
- package/src/services/custom-csrs.ts +103 -105
- package/src/services/custom-hostnames.ts +44 -45
- package/src/services/custom-nameservers.ts +11 -11
- package/src/services/custom-pages.ts +173 -184
- package/src/services/d1.ts +335 -325
- package/src/services/dcv-delegation.ts +3 -3
- package/src/services/ddos-protection.ts +126 -126
- package/src/services/diagnostics.ts +27 -27
- package/src/services/dls.ts +82 -86
- package/src/services/dns-firewall.ts +65 -69
- package/src/services/dns.ts +1080 -1107
- package/src/services/durable-objects.ts +36 -38
- package/src/services/email-auth.ts +47 -52
- package/src/services/email-routing.ts +264 -288
- package/src/services/email-security.ts +205 -208
- package/src/services/email-sending.ts +94 -99
- package/src/services/filters.ts +97 -111
- package/src/services/firewall.ts +698 -753
- package/src/services/flagship.ts +321 -336
- package/src/services/fraud.ts +8 -8
- package/src/services/google-tag-gateway.ts +17 -19
- package/src/services/healthchecks.ts +269 -286
- package/src/services/hostnames.ts +94 -99
- package/src/services/hyperdrive.ts +310 -324
- package/src/services/iam.ts +205 -212
- package/src/services/images.ts +138 -150
- package/src/services/intel.ts +248 -261
- package/src/services/ips.ts +5 -5
- package/src/services/keyless-certificates.ts +17 -17
- package/src/services/kv.ts +106 -110
- package/src/services/leaked-credential-checks.ts +49 -53
- package/src/services/load-balancers.ts +1119 -1212
- package/src/services/logpush.ts +298 -313
- package/src/services/logs.ts +74 -77
- package/src/services/magic-cloud-networking.ts +1219 -1311
- package/src/services/magic-network-monitoring.ts +647 -685
- package/src/services/magic-transit.ts +1988 -2119
- package/src/services/managed-transforms.ts +11 -11
- package/src/services/memberships.ts +101 -105
- package/src/services/moq.ts +100 -110
- package/src/services/mtls-certificates.ts +30 -32
- package/src/services/network-interconnects.ts +137 -145
- package/src/services/organizations.ts +189 -192
- package/src/services/origin-ca-certificates.ts +14 -14
- package/src/services/origin-post-quantum-encryption.ts +6 -6
- package/src/services/origin-tls-client-auth.ts +219 -236
- package/src/services/origin-tls-compliance-modes.ts +12 -12
- package/src/services/page-rules.ts +365 -373
- package/src/services/page-shield.ts +489 -528
- package/src/services/pages.ts +309 -319
- package/src/services/pipelines.ts +534 -573
- package/src/services/queues.ts +598 -635
- package/src/services/r2-data-catalog.ts +59 -60
- package/src/services/r2.ts +654 -689
- package/src/services/radar.ts +3395 -3487
- package/src/services/rate-limits.ts +81 -93
- package/src/services/realtime-kit.ts +386 -399
- package/src/services/registrar.ts +90 -96
- package/src/services/request-tracers.ts +41 -43
- package/src/services/resource-sharing.ts +293 -305
- package/src/services/resource-tagging.ts +354 -366
- package/src/services/rules.ts +272 -292
- package/src/services/rulesets.ts +1214 -1116
- package/src/services/rum.ts +252 -273
- package/src/services/schema-validation.ts +284 -305
- package/src/services/secrets-store.ts +130 -138
- package/src/services/security-center.ts +64 -69
- package/src/services/security-txt.ts +48 -50
- package/src/services/snippets.ts +132 -142
- package/src/services/spectrum.ts +75 -80
- package/src/services/speed.ts +385 -397
- package/src/services/ssl.ts +64 -65
- package/src/services/stream.ts +658 -718
- package/src/services/tenant-custom-nameservers.ts +11 -11
- package/src/services/tenants.ts +86 -93
- package/src/services/token-validation.ts +145 -151
- package/src/services/turnstile.ts +344 -381
- package/src/services/url-normalization.ts +9 -9
- package/src/services/url-scanner.ts +393 -399
- package/src/services/user.ts +479 -503
- package/src/services/vectorize.ts +215 -230
- package/src/services/vulnerability-scanner.ts +145 -148
- package/src/services/waiting-rooms.ts +759 -825
- package/src/services/web3.ts +186 -197
- package/src/services/workers-for-platforms.ts +408 -432
- package/src/services/workers.ts +1175 -1239
- package/src/services/workflows.ts +585 -616
- package/src/services/zaraz.ts +168 -192
- package/src/services/zero-trust.ts +2965 -3074
- package/src/services/zones.ts +753 -785
|
@@ -66,7 +66,7 @@ interface Meta {
|
|
|
66
66
|
templateData?: unknown | null;
|
|
67
67
|
traceId?: string | null;
|
|
68
68
|
}
|
|
69
|
-
const Meta = /*@__PURE__*/
|
|
69
|
+
const Meta = /*@__PURE__*/ Schema.suspend(() =>
|
|
70
70
|
Schema.Struct({
|
|
71
71
|
l10nKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
72
72
|
loggableError: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -87,7 +87,7 @@ interface Source {
|
|
|
87
87
|
parameterValueIndex?: number | null;
|
|
88
88
|
pointer?: string | null;
|
|
89
89
|
}
|
|
90
|
-
const Source = /*@__PURE__*/
|
|
90
|
+
const Source = /*@__PURE__*/ Schema.suspend(() =>
|
|
91
91
|
Schema.Struct({
|
|
92
92
|
parameter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
93
93
|
parameterValueIndex: Schema.optional(
|
|
@@ -275,7 +275,7 @@ interface Error2 {
|
|
|
275
275
|
pointer?: string | null;
|
|
276
276
|
} | null;
|
|
277
277
|
}
|
|
278
|
-
const Error2 = /*@__PURE__*/
|
|
278
|
+
const Error2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
279
279
|
Schema.Struct({
|
|
280
280
|
code: Schema.Union([
|
|
281
281
|
Schema.Literals([
|
|
@@ -469,7 +469,7 @@ interface ListCatalogSyncsResponseResult {
|
|
|
469
469
|
lastSuccessfulUpdateAt?: string | null;
|
|
470
470
|
}
|
|
471
471
|
const ListCatalogSyncsResponseResult =
|
|
472
|
-
/*@__PURE__*/
|
|
472
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
473
473
|
Schema.Struct({
|
|
474
474
|
id: Schema.String,
|
|
475
475
|
description: Schema.String,
|
|
@@ -525,7 +525,7 @@ interface ListCatalogSyncPrebuiltPoliciesResponseResult {
|
|
|
525
525
|
policyString: string;
|
|
526
526
|
}
|
|
527
527
|
const ListCatalogSyncPrebuiltPoliciesResponseResult =
|
|
528
|
-
/*@__PURE__*/
|
|
528
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
529
529
|
Schema.Struct({
|
|
530
530
|
applicableDestinations: Schema.Array(
|
|
531
531
|
Schema.Union([
|
|
@@ -551,7 +551,7 @@ interface DiscoveryProgress {
|
|
|
551
551
|
total: number;
|
|
552
552
|
unit: string;
|
|
553
553
|
}
|
|
554
|
-
const DiscoveryProgress = /*@__PURE__*/
|
|
554
|
+
const DiscoveryProgress = /*@__PURE__*/ Schema.suspend(() =>
|
|
555
555
|
Schema.Struct({
|
|
556
556
|
done: Schema.Number,
|
|
557
557
|
total: Schema.Number,
|
|
@@ -564,7 +564,7 @@ interface InUseBy {
|
|
|
564
564
|
clientType: "MAGIC_WAN_CLOUD_ONRAMP";
|
|
565
565
|
name: string;
|
|
566
566
|
}
|
|
567
|
-
const InUseBy = /*@__PURE__*/
|
|
567
|
+
const InUseBy = /*@__PURE__*/ Schema.suspend(() =>
|
|
568
568
|
Schema.Struct({
|
|
569
569
|
id: Schema.String,
|
|
570
570
|
clientType: Schema.Literal("MAGIC_WAN_CLOUD_ONRAMP"),
|
|
@@ -606,7 +606,7 @@ interface Status {
|
|
|
606
606
|
lastDiscoveryStartedAtV2?: string | null;
|
|
607
607
|
lastUpdated?: string | null;
|
|
608
608
|
}
|
|
609
|
-
const Status = /*@__PURE__*/
|
|
609
|
+
const Status = /*@__PURE__*/ Schema.suspend(() =>
|
|
610
610
|
Schema.Struct({
|
|
611
611
|
discoveryProgress: DiscoveryProgress,
|
|
612
612
|
discoveryProgressV2: DiscoveryProgress,
|
|
@@ -744,7 +744,7 @@ interface ListCloudIntegrationsResponseResult {
|
|
|
744
744
|
} | null;
|
|
745
745
|
}
|
|
746
746
|
const ListCloudIntegrationsResponseResult =
|
|
747
|
-
/*@__PURE__*/
|
|
747
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
748
748
|
Schema.Struct({
|
|
749
749
|
id: Schema.String,
|
|
750
750
|
cloudType: Schema.Union([
|
|
@@ -816,21 +816,20 @@ interface PlannedMonthlyCostEstimate {
|
|
|
816
816
|
diff: number;
|
|
817
817
|
proposedMonthlyCost: number;
|
|
818
818
|
}
|
|
819
|
-
const PlannedMonthlyCostEstimate = /*@__PURE__*/
|
|
820
|
-
(
|
|
821
|
-
Schema.
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
),
|
|
819
|
+
const PlannedMonthlyCostEstimate = /*@__PURE__*/ Schema.suspend(() =>
|
|
820
|
+
Schema.Struct({
|
|
821
|
+
currency: Schema.String,
|
|
822
|
+
currentMonthlyCost: Schema.Number,
|
|
823
|
+
diff: Schema.Number,
|
|
824
|
+
proposedMonthlyCost: Schema.Number,
|
|
825
|
+
}).pipe(
|
|
826
|
+
Schema.encodeKeys({
|
|
827
|
+
currency: "currency",
|
|
828
|
+
currentMonthlyCost: "current_monthly_cost",
|
|
829
|
+
diff: "diff",
|
|
830
|
+
proposedMonthlyCost: "proposed_monthly_cost",
|
|
831
|
+
}),
|
|
832
|
+
),
|
|
834
833
|
) as unknown as Schema.Codec<PlannedMonthlyCostEstimate>;
|
|
835
834
|
|
|
836
835
|
interface Diff {
|
|
@@ -840,7 +839,7 @@ interface Diff {
|
|
|
840
839
|
rightDescription: string;
|
|
841
840
|
rightYaml: string;
|
|
842
841
|
}
|
|
843
|
-
const Diff = /*@__PURE__*/
|
|
842
|
+
const Diff = /*@__PURE__*/ Schema.suspend(() =>
|
|
844
843
|
Schema.Struct({
|
|
845
844
|
diff: Schema.String,
|
|
846
845
|
leftDescription: Schema.String,
|
|
@@ -924,7 +923,7 @@ interface Resource {
|
|
|
924
923
|
| (string & {});
|
|
925
924
|
title: string;
|
|
926
925
|
}
|
|
927
|
-
const Resource = /*@__PURE__*/
|
|
926
|
+
const Resource = /*@__PURE__*/ Schema.suspend(() =>
|
|
928
927
|
Schema.Struct({
|
|
929
928
|
id: Schema.String,
|
|
930
929
|
cloudType: Schema.Union([
|
|
@@ -1097,7 +1096,7 @@ interface PlannedResource {
|
|
|
1097
1096
|
title: string;
|
|
1098
1097
|
};
|
|
1099
1098
|
}
|
|
1100
|
-
const PlannedResource = /*@__PURE__*/
|
|
1099
|
+
const PlannedResource = /*@__PURE__*/ Schema.suspend(() =>
|
|
1101
1100
|
Schema.Struct({
|
|
1102
1101
|
diff: Diff,
|
|
1103
1102
|
keysRequireReplace: Schema.Array(Schema.String),
|
|
@@ -1122,21 +1121,20 @@ interface PostApplyMonthlyCostEstimate {
|
|
|
1122
1121
|
currency: string;
|
|
1123
1122
|
monthlyCost: number;
|
|
1124
1123
|
}
|
|
1125
|
-
const PostApplyMonthlyCostEstimate = /*@__PURE__*/
|
|
1126
|
-
(
|
|
1127
|
-
Schema.
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
})
|
|
1131
|
-
|
|
1132
|
-
),
|
|
1124
|
+
const PostApplyMonthlyCostEstimate = /*@__PURE__*/ Schema.suspend(() =>
|
|
1125
|
+
Schema.Struct({
|
|
1126
|
+
currency: Schema.String,
|
|
1127
|
+
monthlyCost: Schema.Number,
|
|
1128
|
+
}).pipe(
|
|
1129
|
+
Schema.encodeKeys({ currency: "currency", monthlyCost: "monthly_cost" }),
|
|
1130
|
+
),
|
|
1133
1131
|
) as unknown as Schema.Codec<PostApplyMonthlyCostEstimate>;
|
|
1134
1132
|
|
|
1135
1133
|
interface ApplyProgress {
|
|
1136
1134
|
done: number;
|
|
1137
1135
|
total: number;
|
|
1138
1136
|
}
|
|
1139
|
-
const ApplyProgress = /*@__PURE__*/
|
|
1137
|
+
const ApplyProgress = /*@__PURE__*/ Schema.suspend(() =>
|
|
1140
1138
|
Schema.Struct({
|
|
1141
1139
|
done: Schema.Number,
|
|
1142
1140
|
total: Schema.Number,
|
|
@@ -1164,7 +1162,7 @@ interface Status2 {
|
|
|
1164
1162
|
tunnels: string[];
|
|
1165
1163
|
lifecycleErrors?: Record<string, unknown> | null;
|
|
1166
1164
|
}
|
|
1167
|
-
const Status2 = /*@__PURE__*/
|
|
1165
|
+
const Status2 = /*@__PURE__*/ Schema.suspend(() =>
|
|
1168
1166
|
Schema.Struct({
|
|
1169
1167
|
applyProgress: ApplyProgress,
|
|
1170
1168
|
lifecycleState: Schema.Union([
|
|
@@ -1352,120 +1350,107 @@ interface ListOnRampsResponseResult {
|
|
|
1352
1350
|
/** The list of vpc IDs for which resource details failed to generate. */
|
|
1353
1351
|
vpcsByIdUnavailable?: string[] | null;
|
|
1354
1352
|
}
|
|
1355
|
-
const ListOnRampsResponseResult = /*@__PURE__*/
|
|
1356
|
-
(
|
|
1357
|
-
Schema.
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1392
|
-
),
|
|
1393
|
-
manageVpcToHubAttachments: Schema.optional(
|
|
1394
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1395
|
-
),
|
|
1396
|
-
plannedMonthlyCostEstimate: Schema.optional(
|
|
1397
|
-
Schema.Union([PlannedMonthlyCostEstimate, Schema.Null]),
|
|
1398
|
-
),
|
|
1399
|
-
plannedResources: Schema.optional(
|
|
1400
|
-
Schema.Union([Schema.Array(PlannedResource), Schema.Null]),
|
|
1401
|
-
),
|
|
1402
|
-
plannedResourcesUnavailable: Schema.optional(
|
|
1403
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1404
|
-
),
|
|
1405
|
-
postApplyMonthlyCostEstimate: Schema.optional(
|
|
1406
|
-
Schema.Union([PostApplyMonthlyCostEstimate, Schema.Null]),
|
|
1407
|
-
),
|
|
1408
|
-
postApplyResources: Schema.optional(
|
|
1409
|
-
Schema.Union([
|
|
1410
|
-
Schema.Record(Schema.String, Schema.Unknown),
|
|
1411
|
-
Schema.Null,
|
|
1412
|
-
]),
|
|
1413
|
-
),
|
|
1414
|
-
postApplyResourcesUnavailable: Schema.optional(
|
|
1415
|
-
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1416
|
-
),
|
|
1417
|
-
region: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1418
|
-
status: Schema.optional(Schema.Union([Status2, Schema.Null])),
|
|
1419
|
-
vpc: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1420
|
-
vpcsById: Schema.optional(
|
|
1421
|
-
Schema.Union([
|
|
1422
|
-
Schema.Record(Schema.String, Schema.Unknown),
|
|
1423
|
-
Schema.Null,
|
|
1424
|
-
]),
|
|
1425
|
-
),
|
|
1426
|
-
vpcsByIdUnavailable: Schema.optional(
|
|
1427
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1428
|
-
),
|
|
1429
|
-
}).pipe(
|
|
1430
|
-
Schema.encodeKeys({
|
|
1431
|
-
id: "id",
|
|
1432
|
-
cloudType: "cloud_type",
|
|
1433
|
-
dynamicRouting: "dynamic_routing",
|
|
1434
|
-
installRoutesInCloud: "install_routes_in_cloud",
|
|
1435
|
-
installRoutesInMagicWan: "install_routes_in_magic_wan",
|
|
1436
|
-
name: "name",
|
|
1437
|
-
type: "type",
|
|
1438
|
-
updatedAt: "updated_at",
|
|
1439
|
-
attachedHubs: "attached_hubs",
|
|
1440
|
-
attachedVpcs: "attached_vpcs",
|
|
1441
|
-
cloudAsn: "cloud_asn",
|
|
1442
|
-
description: "description",
|
|
1443
|
-
hub: "hub",
|
|
1444
|
-
lastAppliedAt: "last_applied_at",
|
|
1445
|
-
lastExportedAt: "last_exported_at",
|
|
1446
|
-
lastPlannedAt: "last_planned_at",
|
|
1447
|
-
manageHubToHubAttachments: "manage_hub_to_hub_attachments",
|
|
1448
|
-
manageVpcToHubAttachments: "manage_vpc_to_hub_attachments",
|
|
1449
|
-
plannedMonthlyCostEstimate: "planned_monthly_cost_estimate",
|
|
1450
|
-
plannedResources: "planned_resources",
|
|
1451
|
-
plannedResourcesUnavailable: "planned_resources_unavailable",
|
|
1452
|
-
postApplyMonthlyCostEstimate: "post_apply_monthly_cost_estimate",
|
|
1453
|
-
postApplyResources: "post_apply_resources",
|
|
1454
|
-
postApplyResourcesUnavailable: "post_apply_resources_unavailable",
|
|
1455
|
-
region: "region",
|
|
1456
|
-
status: "status",
|
|
1457
|
-
vpc: "vpc",
|
|
1458
|
-
vpcsById: "vpcs_by_id",
|
|
1459
|
-
vpcsByIdUnavailable: "vpcs_by_id_unavailable",
|
|
1460
|
-
}),
|
|
1353
|
+
const ListOnRampsResponseResult = /*@__PURE__*/ Schema.suspend(() =>
|
|
1354
|
+
Schema.Struct({
|
|
1355
|
+
id: Schema.String,
|
|
1356
|
+
cloudType: Schema.Union([
|
|
1357
|
+
Schema.Literals(["AWS", "AZURE", "GOOGLE"]),
|
|
1358
|
+
Schema.String,
|
|
1359
|
+
]),
|
|
1360
|
+
dynamicRouting: Schema.Boolean,
|
|
1361
|
+
installRoutesInCloud: Schema.Boolean,
|
|
1362
|
+
installRoutesInMagicWan: Schema.Boolean,
|
|
1363
|
+
name: Schema.String,
|
|
1364
|
+
type: Schema.Union([
|
|
1365
|
+
Schema.Literals(["OnrampTypeSingle", "OnrampTypeHub"]),
|
|
1366
|
+
Schema.String,
|
|
1367
|
+
]),
|
|
1368
|
+
updatedAt: Schema.String,
|
|
1369
|
+
attachedHubs: Schema.optional(
|
|
1370
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1371
|
+
),
|
|
1372
|
+
attachedVpcs: Schema.optional(
|
|
1373
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1374
|
+
),
|
|
1375
|
+
cloudAsn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
1376
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1377
|
+
hub: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1378
|
+
lastAppliedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1379
|
+
lastExportedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1380
|
+
lastPlannedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1381
|
+
manageHubToHubAttachments: Schema.optional(
|
|
1382
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1383
|
+
),
|
|
1384
|
+
manageVpcToHubAttachments: Schema.optional(
|
|
1385
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1386
|
+
),
|
|
1387
|
+
plannedMonthlyCostEstimate: Schema.optional(
|
|
1388
|
+
Schema.Union([PlannedMonthlyCostEstimate, Schema.Null]),
|
|
1461
1389
|
),
|
|
1390
|
+
plannedResources: Schema.optional(
|
|
1391
|
+
Schema.Union([Schema.Array(PlannedResource), Schema.Null]),
|
|
1392
|
+
),
|
|
1393
|
+
plannedResourcesUnavailable: Schema.optional(
|
|
1394
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1395
|
+
),
|
|
1396
|
+
postApplyMonthlyCostEstimate: Schema.optional(
|
|
1397
|
+
Schema.Union([PostApplyMonthlyCostEstimate, Schema.Null]),
|
|
1398
|
+
),
|
|
1399
|
+
postApplyResources: Schema.optional(
|
|
1400
|
+
Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
|
|
1401
|
+
),
|
|
1402
|
+
postApplyResourcesUnavailable: Schema.optional(
|
|
1403
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
1404
|
+
),
|
|
1405
|
+
region: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1406
|
+
status: Schema.optional(Schema.Union([Status2, Schema.Null])),
|
|
1407
|
+
vpc: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1408
|
+
vpcsById: Schema.optional(
|
|
1409
|
+
Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
|
|
1410
|
+
),
|
|
1411
|
+
vpcsByIdUnavailable: Schema.optional(
|
|
1412
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
1413
|
+
),
|
|
1414
|
+
}).pipe(
|
|
1415
|
+
Schema.encodeKeys({
|
|
1416
|
+
id: "id",
|
|
1417
|
+
cloudType: "cloud_type",
|
|
1418
|
+
dynamicRouting: "dynamic_routing",
|
|
1419
|
+
installRoutesInCloud: "install_routes_in_cloud",
|
|
1420
|
+
installRoutesInMagicWan: "install_routes_in_magic_wan",
|
|
1421
|
+
name: "name",
|
|
1422
|
+
type: "type",
|
|
1423
|
+
updatedAt: "updated_at",
|
|
1424
|
+
attachedHubs: "attached_hubs",
|
|
1425
|
+
attachedVpcs: "attached_vpcs",
|
|
1426
|
+
cloudAsn: "cloud_asn",
|
|
1427
|
+
description: "description",
|
|
1428
|
+
hub: "hub",
|
|
1429
|
+
lastAppliedAt: "last_applied_at",
|
|
1430
|
+
lastExportedAt: "last_exported_at",
|
|
1431
|
+
lastPlannedAt: "last_planned_at",
|
|
1432
|
+
manageHubToHubAttachments: "manage_hub_to_hub_attachments",
|
|
1433
|
+
manageVpcToHubAttachments: "manage_vpc_to_hub_attachments",
|
|
1434
|
+
plannedMonthlyCostEstimate: "planned_monthly_cost_estimate",
|
|
1435
|
+
plannedResources: "planned_resources",
|
|
1436
|
+
plannedResourcesUnavailable: "planned_resources_unavailable",
|
|
1437
|
+
postApplyMonthlyCostEstimate: "post_apply_monthly_cost_estimate",
|
|
1438
|
+
postApplyResources: "post_apply_resources",
|
|
1439
|
+
postApplyResourcesUnavailable: "post_apply_resources_unavailable",
|
|
1440
|
+
region: "region",
|
|
1441
|
+
status: "status",
|
|
1442
|
+
vpc: "vpc",
|
|
1443
|
+
vpcsById: "vpcs_by_id",
|
|
1444
|
+
vpcsByIdUnavailable: "vpcs_by_id_unavailable",
|
|
1445
|
+
}),
|
|
1446
|
+
),
|
|
1462
1447
|
) as unknown as Schema.Codec<ListOnRampsResponseResult>;
|
|
1463
1448
|
|
|
1464
1449
|
interface McnStringItem {
|
|
1465
1450
|
itemType: string;
|
|
1466
1451
|
string: string;
|
|
1467
1452
|
}
|
|
1468
|
-
const McnStringItem = /*@__PURE__*/
|
|
1453
|
+
const McnStringItem = /*@__PURE__*/ Schema.suspend(() =>
|
|
1469
1454
|
Schema.Struct({
|
|
1470
1455
|
itemType: Schema.String,
|
|
1471
1456
|
string: Schema.String,
|
|
@@ -1476,7 +1461,7 @@ interface McnYamlItem {
|
|
|
1476
1461
|
itemType: string;
|
|
1477
1462
|
yaml: string;
|
|
1478
1463
|
}
|
|
1479
|
-
const McnYamlItem = /*@__PURE__*/
|
|
1464
|
+
const McnYamlItem = /*@__PURE__*/ Schema.suspend(() =>
|
|
1480
1465
|
Schema.Struct({
|
|
1481
1466
|
itemType: Schema.String,
|
|
1482
1467
|
yaml: Schema.String,
|
|
@@ -1493,7 +1478,7 @@ interface McnYamlDiffItem {
|
|
|
1493
1478
|
rightYaml: string;
|
|
1494
1479
|
};
|
|
1495
1480
|
}
|
|
1496
|
-
const McnYamlDiffItem = /*@__PURE__*/
|
|
1481
|
+
const McnYamlDiffItem = /*@__PURE__*/ Schema.suspend(() =>
|
|
1497
1482
|
Schema.Struct({
|
|
1498
1483
|
itemType: Schema.String,
|
|
1499
1484
|
yamlDiff: Diff,
|
|
@@ -1569,7 +1554,7 @@ interface McnResourcePreviewItem {
|
|
|
1569
1554
|
title: string;
|
|
1570
1555
|
};
|
|
1571
1556
|
}
|
|
1572
|
-
const McnResourcePreviewItem = /*@__PURE__*/
|
|
1557
|
+
const McnResourcePreviewItem = /*@__PURE__*/ Schema.suspend(() =>
|
|
1573
1558
|
Schema.Struct({
|
|
1574
1559
|
itemType: Schema.String,
|
|
1575
1560
|
resourcePreview: Resource,
|
|
@@ -1656,7 +1641,7 @@ interface McnListItem {
|
|
|
1656
1641
|
}
|
|
1657
1642
|
)[];
|
|
1658
1643
|
}
|
|
1659
|
-
const McnListItem = /*@__PURE__*/
|
|
1644
|
+
const McnListItem = /*@__PURE__*/ Schema.suspend(() =>
|
|
1660
1645
|
Schema.Struct({
|
|
1661
1646
|
itemType: Schema.String,
|
|
1662
1647
|
list: Schema.Array(Schema.Union([McnStringItem, McnResourcePreviewItem])),
|
|
@@ -1830,7 +1815,7 @@ interface HiddenItem {
|
|
|
1830
1815
|
}
|
|
1831
1816
|
| null;
|
|
1832
1817
|
}
|
|
1833
|
-
const HiddenItem = /*@__PURE__*/
|
|
1818
|
+
const HiddenItem = /*@__PURE__*/ Schema.suspend(() =>
|
|
1834
1819
|
Schema.Struct({
|
|
1835
1820
|
helpText: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
1836
1821
|
name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -2197,7 +2182,7 @@ interface Section {
|
|
|
2197
2182
|
}[];
|
|
2198
2183
|
helpText?: string | null;
|
|
2199
2184
|
}
|
|
2200
|
-
const Section = /*@__PURE__*/
|
|
2185
|
+
const Section = /*@__PURE__*/ Schema.suspend(() =>
|
|
2201
2186
|
Schema.Struct({
|
|
2202
2187
|
hiddenItems: Schema.Array(HiddenItem),
|
|
2203
2188
|
name: Schema.String,
|
|
@@ -2517,121 +2502,120 @@ interface ListResourcesResponseResult {
|
|
|
2517
2502
|
| { id: string; clientType: "MAGIC_WAN_CLOUD_ONRAMP"; name: string }[]
|
|
2518
2503
|
| null;
|
|
2519
2504
|
}
|
|
2520
|
-
const ListResourcesResponseResult = /*@__PURE__*/
|
|
2521
|
-
(
|
|
2522
|
-
Schema.
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
"cloudflare_ipsec_tunnel",
|
|
2599
|
-
]),
|
|
2600
|
-
Schema.String,
|
|
2505
|
+
const ListResourcesResponseResult = /*@__PURE__*/ Schema.suspend(() =>
|
|
2506
|
+
Schema.Struct({
|
|
2507
|
+
id: Schema.String,
|
|
2508
|
+
accountId: Schema.String,
|
|
2509
|
+
cloudType: Schema.Union([
|
|
2510
|
+
Schema.Literals(["AWS", "AZURE", "GOOGLE", "CLOUDFLARE"]),
|
|
2511
|
+
Schema.String,
|
|
2512
|
+
]),
|
|
2513
|
+
config: Schema.Record(Schema.String, Schema.Unknown),
|
|
2514
|
+
deploymentProvider: Schema.String,
|
|
2515
|
+
managed: Schema.Boolean,
|
|
2516
|
+
monthlyCostEstimate: PostApplyMonthlyCostEstimate,
|
|
2517
|
+
name: Schema.String,
|
|
2518
|
+
nativeId: Schema.String,
|
|
2519
|
+
observations: Schema.Record(Schema.String, Schema.Unknown),
|
|
2520
|
+
providerIds: Schema.Array(Schema.String),
|
|
2521
|
+
providerNamesById: Schema.Record(Schema.String, Schema.Unknown),
|
|
2522
|
+
region: Schema.String,
|
|
2523
|
+
resourceGroup: Schema.String,
|
|
2524
|
+
resourceType: Schema.Union([
|
|
2525
|
+
Schema.Literals([
|
|
2526
|
+
"aws_customer_gateway",
|
|
2527
|
+
"aws_egress_only_internet_gateway",
|
|
2528
|
+
"aws_internet_gateway",
|
|
2529
|
+
"aws_instance",
|
|
2530
|
+
"aws_network_interface",
|
|
2531
|
+
"aws_route",
|
|
2532
|
+
"aws_route_table",
|
|
2533
|
+
"aws_route_table_association",
|
|
2534
|
+
"aws_subnet",
|
|
2535
|
+
"aws_vpc",
|
|
2536
|
+
"aws_vpc_ipv4_cidr_block_association",
|
|
2537
|
+
"aws_vpn_connection",
|
|
2538
|
+
"aws_vpn_connection_route",
|
|
2539
|
+
"aws_vpn_gateway",
|
|
2540
|
+
"aws_security_group",
|
|
2541
|
+
"aws_vpc_security_group_ingress_rule",
|
|
2542
|
+
"aws_vpc_security_group_egress_rule",
|
|
2543
|
+
"aws_ec2_managed_prefix_list",
|
|
2544
|
+
"aws_ec2_transit_gateway",
|
|
2545
|
+
"aws_ec2_transit_gateway_prefix_list_reference",
|
|
2546
|
+
"aws_ec2_transit_gateway_vpc_attachment",
|
|
2547
|
+
"azurerm_application_security_group",
|
|
2548
|
+
"azurerm_lb",
|
|
2549
|
+
"azurerm_lb_backend_address_pool",
|
|
2550
|
+
"azurerm_lb_nat_pool",
|
|
2551
|
+
"azurerm_lb_nat_rule",
|
|
2552
|
+
"azurerm_lb_rule",
|
|
2553
|
+
"azurerm_local_network_gateway",
|
|
2554
|
+
"azurerm_network_interface",
|
|
2555
|
+
"azurerm_network_interface_application_security_group_association",
|
|
2556
|
+
"azurerm_network_interface_backend_address_pool_association",
|
|
2557
|
+
"azurerm_network_interface_security_group_association",
|
|
2558
|
+
"azurerm_network_security_group",
|
|
2559
|
+
"azurerm_public_ip",
|
|
2560
|
+
"azurerm_route",
|
|
2561
|
+
"azurerm_route_table",
|
|
2562
|
+
"azurerm_subnet",
|
|
2563
|
+
"azurerm_subnet_route_table_association",
|
|
2564
|
+
"azurerm_virtual_machine",
|
|
2565
|
+
"azurerm_virtual_network_gateway_connection",
|
|
2566
|
+
"azurerm_virtual_network",
|
|
2567
|
+
"azurerm_virtual_network_gateway",
|
|
2568
|
+
"google_compute_network",
|
|
2569
|
+
"google_compute_subnetwork",
|
|
2570
|
+
"google_compute_vpn_gateway",
|
|
2571
|
+
"google_compute_vpn_tunnel",
|
|
2572
|
+
"google_compute_route",
|
|
2573
|
+
"google_compute_address",
|
|
2574
|
+
"google_compute_global_address",
|
|
2575
|
+
"google_compute_router",
|
|
2576
|
+
"google_compute_interconnect_attachment",
|
|
2577
|
+
"google_compute_ha_vpn_gateway",
|
|
2578
|
+
"google_compute_forwarding_rule",
|
|
2579
|
+
"google_compute_network_firewall_policy",
|
|
2580
|
+
"google_compute_network_firewall_policy_rule",
|
|
2581
|
+
"cloudflare_static_route",
|
|
2582
|
+
"cloudflare_ipsec_tunnel",
|
|
2601
2583
|
]),
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
Schema.encodeKeys({
|
|
2612
|
-
id: "id",
|
|
2613
|
-
accountId: "account_id",
|
|
2614
|
-
cloudType: "cloud_type",
|
|
2615
|
-
config: "config",
|
|
2616
|
-
deploymentProvider: "deployment_provider",
|
|
2617
|
-
managed: "managed",
|
|
2618
|
-
monthlyCostEstimate: "monthly_cost_estimate",
|
|
2619
|
-
name: "name",
|
|
2620
|
-
nativeId: "native_id",
|
|
2621
|
-
observations: "observations",
|
|
2622
|
-
providerIds: "provider_ids",
|
|
2623
|
-
providerNamesById: "provider_names_by_id",
|
|
2624
|
-
region: "region",
|
|
2625
|
-
resourceGroup: "resource_group",
|
|
2626
|
-
resourceType: "resource_type",
|
|
2627
|
-
sections: "sections",
|
|
2628
|
-
state: "state",
|
|
2629
|
-
tags: "tags",
|
|
2630
|
-
updatedAt: "updated_at",
|
|
2631
|
-
url: "url",
|
|
2632
|
-
managedBy: "managed_by",
|
|
2633
|
-
}),
|
|
2584
|
+
Schema.String,
|
|
2585
|
+
]),
|
|
2586
|
+
sections: Schema.Array(Section),
|
|
2587
|
+
state: Schema.Record(Schema.String, Schema.Unknown),
|
|
2588
|
+
tags: Schema.Record(Schema.String, Schema.Unknown),
|
|
2589
|
+
updatedAt: Schema.String,
|
|
2590
|
+
url: Schema.String,
|
|
2591
|
+
managedBy: Schema.optional(
|
|
2592
|
+
Schema.Union([Schema.Array(InUseBy), Schema.Null]),
|
|
2634
2593
|
),
|
|
2594
|
+
}).pipe(
|
|
2595
|
+
Schema.encodeKeys({
|
|
2596
|
+
id: "id",
|
|
2597
|
+
accountId: "account_id",
|
|
2598
|
+
cloudType: "cloud_type",
|
|
2599
|
+
config: "config",
|
|
2600
|
+
deploymentProvider: "deployment_provider",
|
|
2601
|
+
managed: "managed",
|
|
2602
|
+
monthlyCostEstimate: "monthly_cost_estimate",
|
|
2603
|
+
name: "name",
|
|
2604
|
+
nativeId: "native_id",
|
|
2605
|
+
observations: "observations",
|
|
2606
|
+
providerIds: "provider_ids",
|
|
2607
|
+
providerNamesById: "provider_names_by_id",
|
|
2608
|
+
region: "region",
|
|
2609
|
+
resourceGroup: "resource_group",
|
|
2610
|
+
resourceType: "resource_type",
|
|
2611
|
+
sections: "sections",
|
|
2612
|
+
state: "state",
|
|
2613
|
+
tags: "tags",
|
|
2614
|
+
updatedAt: "updated_at",
|
|
2615
|
+
url: "url",
|
|
2616
|
+
managedBy: "managed_by",
|
|
2617
|
+
}),
|
|
2618
|
+
),
|
|
2635
2619
|
) as unknown as Schema.Codec<ListResourcesResponseResult>;
|
|
2636
2620
|
|
|
2637
2621
|
interface ListResourcesResponseResultInfo {
|
|
@@ -2641,7 +2625,7 @@ interface ListResourcesResponseResultInfo {
|
|
|
2641
2625
|
totalCount?: number | null;
|
|
2642
2626
|
}
|
|
2643
2627
|
const ListResourcesResponseResultInfo =
|
|
2644
|
-
/*@__PURE__*/
|
|
2628
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2645
2629
|
Schema.Struct({
|
|
2646
2630
|
count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
2647
2631
|
page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
@@ -2661,7 +2645,7 @@ interface McnAwsTrustPolicy {
|
|
|
2661
2645
|
awsTrustPolicy: string;
|
|
2662
2646
|
itemType: string;
|
|
2663
2647
|
}
|
|
2664
|
-
const McnAwsTrustPolicy = /*@__PURE__*/
|
|
2648
|
+
const McnAwsTrustPolicy = /*@__PURE__*/ Schema.suspend(() =>
|
|
2665
2649
|
Schema.Struct({
|
|
2666
2650
|
awsTrustPolicy: Schema.String,
|
|
2667
2651
|
itemType: Schema.String,
|
|
@@ -2679,7 +2663,7 @@ interface McnAzureSetup {
|
|
|
2679
2663
|
itemType: string;
|
|
2680
2664
|
tagCliCommand: string;
|
|
2681
2665
|
}
|
|
2682
|
-
const McnAzureSetup = /*@__PURE__*/
|
|
2666
|
+
const McnAzureSetup = /*@__PURE__*/ Schema.suspend(() =>
|
|
2683
2667
|
Schema.Struct({
|
|
2684
2668
|
azureConsentUrl: Schema.String,
|
|
2685
2669
|
integrationIdentityTag: Schema.String,
|
|
@@ -2700,7 +2684,7 @@ interface McnGcpSetup {
|
|
|
2700
2684
|
itemType: string;
|
|
2701
2685
|
tagCliCommand: string;
|
|
2702
2686
|
}
|
|
2703
|
-
const McnGcpSetup = /*@__PURE__*/
|
|
2687
|
+
const McnGcpSetup = /*@__PURE__*/ Schema.suspend(() =>
|
|
2704
2688
|
Schema.Struct({
|
|
2705
2689
|
integrationIdentityTag: Schema.String,
|
|
2706
2690
|
itemType: Schema.String,
|
|
@@ -2723,7 +2707,7 @@ export interface DiscoverAllCloudIntegrationRequest {
|
|
|
2723
2707
|
}
|
|
2724
2708
|
|
|
2725
2709
|
export const DiscoverAllCloudIntegrationRequest =
|
|
2726
|
-
/*@__PURE__*/
|
|
2710
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
2727
2711
|
Schema.Struct({
|
|
2728
2712
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
2729
2713
|
}).pipe(
|
|
@@ -3083,7 +3067,7 @@ export interface DiscoverAllCloudIntegrationResponse {
|
|
|
3083
3067
|
}
|
|
3084
3068
|
|
|
3085
3069
|
export const DiscoverAllCloudIntegrationResponse =
|
|
3086
|
-
/*@__PURE__*/
|
|
3070
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3087
3071
|
Schema.Struct({
|
|
3088
3072
|
errors: Schema.Array(Error2),
|
|
3089
3073
|
messages: Schema.Array(Error2),
|
|
@@ -3098,7 +3082,7 @@ export const discoverAllCloudIntegration: API.OperationMethod<
|
|
|
3098
3082
|
DiscoverAllCloudIntegrationResponse,
|
|
3099
3083
|
DiscoverAllCloudIntegrationError,
|
|
3100
3084
|
Credentials | HttpClient.HttpClient
|
|
3101
|
-
> = /*@__PURE__*/
|
|
3085
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3102
3086
|
input: DiscoverAllCloudIntegrationRequest,
|
|
3103
3087
|
output: DiscoverAllCloudIntegrationResponse,
|
|
3104
3088
|
errors: [],
|
|
@@ -3113,17 +3097,16 @@ export interface GetCatalogSyncRequest {
|
|
|
3113
3097
|
accountId: string;
|
|
3114
3098
|
}
|
|
3115
3099
|
|
|
3116
|
-
export const GetCatalogSyncRequest = /*@__PURE__*/
|
|
3117
|
-
(
|
|
3118
|
-
Schema.
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
),
|
|
3100
|
+
export const GetCatalogSyncRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
3101
|
+
Schema.Struct({
|
|
3102
|
+
syncId: Schema.String.pipe(T.HttpPath("syncId")),
|
|
3103
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3104
|
+
}).pipe(
|
|
3105
|
+
T.Http({
|
|
3106
|
+
method: "GET",
|
|
3107
|
+
path: "/accounts/{account_id}/magic/cloud/catalog-syncs/{syncId}",
|
|
3108
|
+
}),
|
|
3109
|
+
),
|
|
3127
3110
|
) as unknown as Schema.Codec<GetCatalogSyncRequest>;
|
|
3128
3111
|
|
|
3129
3112
|
export interface GetCatalogSyncResponse {
|
|
@@ -3142,7 +3125,7 @@ export interface GetCatalogSyncResponse {
|
|
|
3142
3125
|
}
|
|
3143
3126
|
|
|
3144
3127
|
export const GetCatalogSyncResponse =
|
|
3145
|
-
/*@__PURE__*/
|
|
3128
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3146
3129
|
Schema.Struct({
|
|
3147
3130
|
id: Schema.String,
|
|
3148
3131
|
description: Schema.String,
|
|
@@ -3204,7 +3187,7 @@ export const getCatalogSync: API.OperationMethod<
|
|
|
3204
3187
|
GetCatalogSyncResponse,
|
|
3205
3188
|
GetCatalogSyncError,
|
|
3206
3189
|
Credentials | HttpClient.HttpClient
|
|
3207
|
-
> = /*@__PURE__*/
|
|
3190
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3208
3191
|
input: GetCatalogSyncRequest,
|
|
3209
3192
|
output: GetCatalogSyncResponse,
|
|
3210
3193
|
errors: [FeatureNotEnabled, Forbidden, CatalogSyncNotFound],
|
|
@@ -3215,7 +3198,7 @@ export interface ListCatalogSyncsRequest {
|
|
|
3215
3198
|
}
|
|
3216
3199
|
|
|
3217
3200
|
export const ListCatalogSyncsRequest =
|
|
3218
|
-
/*@__PURE__*/
|
|
3201
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3219
3202
|
Schema.Struct({
|
|
3220
3203
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3221
3204
|
}).pipe(
|
|
@@ -3244,7 +3227,7 @@ export interface ListCatalogSyncsResponse {
|
|
|
3244
3227
|
}
|
|
3245
3228
|
|
|
3246
3229
|
export const ListCatalogSyncsResponse =
|
|
3247
|
-
/*@__PURE__*/
|
|
3230
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3248
3231
|
Schema.Struct({
|
|
3249
3232
|
result: Schema.Array(ListCatalogSyncsResponseResult),
|
|
3250
3233
|
}),
|
|
@@ -3260,7 +3243,7 @@ export const listCatalogSyncs: API.PaginatedOperationMethod<
|
|
|
3260
3243
|
ListCatalogSyncsResponse,
|
|
3261
3244
|
ListCatalogSyncsError,
|
|
3262
3245
|
Credentials | HttpClient.HttpClient
|
|
3263
|
-
> = /*@__PURE__*/
|
|
3246
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3264
3247
|
input: ListCatalogSyncsRequest,
|
|
3265
3248
|
output: ListCatalogSyncsResponse,
|
|
3266
3249
|
errors: [FeatureNotEnabled, Forbidden],
|
|
@@ -3288,7 +3271,7 @@ export interface CreateCatalogSyncRequest {
|
|
|
3288
3271
|
}
|
|
3289
3272
|
|
|
3290
3273
|
export const CreateCatalogSyncRequest =
|
|
3291
|
-
/*@__PURE__*/
|
|
3274
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3292
3275
|
Schema.Struct({
|
|
3293
3276
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3294
3277
|
forwarded: Schema.optional(Schema.String).pipe(T.HttpHeader("forwarded")),
|
|
@@ -3334,7 +3317,7 @@ export interface CreateCatalogSyncResponse {
|
|
|
3334
3317
|
}
|
|
3335
3318
|
|
|
3336
3319
|
export const CreateCatalogSyncResponse =
|
|
3337
|
-
/*@__PURE__*/
|
|
3320
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3338
3321
|
Schema.Struct({
|
|
3339
3322
|
id: Schema.String,
|
|
3340
3323
|
description: Schema.String,
|
|
@@ -3395,7 +3378,7 @@ export const createCatalogSync: API.OperationMethod<
|
|
|
3395
3378
|
CreateCatalogSyncResponse,
|
|
3396
3379
|
CreateCatalogSyncError,
|
|
3397
3380
|
Credentials | HttpClient.HttpClient
|
|
3398
|
-
> = /*@__PURE__*/
|
|
3381
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3399
3382
|
input: CreateCatalogSyncRequest,
|
|
3400
3383
|
output: CreateCatalogSyncResponse,
|
|
3401
3384
|
errors: [FeatureNotEnabled, Forbidden],
|
|
@@ -3416,7 +3399,7 @@ export interface UpdateCatalogSyncRequest {
|
|
|
3416
3399
|
}
|
|
3417
3400
|
|
|
3418
3401
|
export const UpdateCatalogSyncRequest =
|
|
3419
|
-
/*@__PURE__*/
|
|
3402
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3420
3403
|
Schema.Struct({
|
|
3421
3404
|
syncId: Schema.String.pipe(T.HttpPath("syncId")),
|
|
3422
3405
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -3456,7 +3439,7 @@ export interface UpdateCatalogSyncResponse {
|
|
|
3456
3439
|
}
|
|
3457
3440
|
|
|
3458
3441
|
export const UpdateCatalogSyncResponse =
|
|
3459
|
-
/*@__PURE__*/
|
|
3442
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3460
3443
|
Schema.Struct({
|
|
3461
3444
|
id: Schema.String,
|
|
3462
3445
|
description: Schema.String,
|
|
@@ -3518,7 +3501,7 @@ export const updateCatalogSync: API.OperationMethod<
|
|
|
3518
3501
|
UpdateCatalogSyncResponse,
|
|
3519
3502
|
UpdateCatalogSyncError,
|
|
3520
3503
|
Credentials | HttpClient.HttpClient
|
|
3521
|
-
> = /*@__PURE__*/
|
|
3504
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3522
3505
|
input: UpdateCatalogSyncRequest,
|
|
3523
3506
|
output: UpdateCatalogSyncResponse,
|
|
3524
3507
|
errors: [FeatureNotEnabled, Forbidden, CatalogSyncNotFound],
|
|
@@ -3539,7 +3522,7 @@ export interface PatchCatalogSyncRequest {
|
|
|
3539
3522
|
}
|
|
3540
3523
|
|
|
3541
3524
|
export const PatchCatalogSyncRequest =
|
|
3542
|
-
/*@__PURE__*/
|
|
3525
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3543
3526
|
Schema.Struct({
|
|
3544
3527
|
syncId: Schema.String.pipe(T.HttpPath("syncId")),
|
|
3545
3528
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -3579,7 +3562,7 @@ export interface PatchCatalogSyncResponse {
|
|
|
3579
3562
|
}
|
|
3580
3563
|
|
|
3581
3564
|
export const PatchCatalogSyncResponse =
|
|
3582
|
-
/*@__PURE__*/
|
|
3565
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3583
3566
|
Schema.Struct({
|
|
3584
3567
|
id: Schema.String,
|
|
3585
3568
|
description: Schema.String,
|
|
@@ -3641,7 +3624,7 @@ export const patchCatalogSync: API.OperationMethod<
|
|
|
3641
3624
|
PatchCatalogSyncResponse,
|
|
3642
3625
|
PatchCatalogSyncError,
|
|
3643
3626
|
Credentials | HttpClient.HttpClient
|
|
3644
|
-
> = /*@__PURE__*/
|
|
3627
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3645
3628
|
input: PatchCatalogSyncRequest,
|
|
3646
3629
|
output: PatchCatalogSyncResponse,
|
|
3647
3630
|
errors: [FeatureNotEnabled, Forbidden, CatalogSyncNotFound],
|
|
@@ -3656,7 +3639,7 @@ export interface DeleteCatalogSyncRequest {
|
|
|
3656
3639
|
}
|
|
3657
3640
|
|
|
3658
3641
|
export const DeleteCatalogSyncRequest =
|
|
3659
|
-
/*@__PURE__*/
|
|
3642
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3660
3643
|
Schema.Struct({
|
|
3661
3644
|
syncId: Schema.String.pipe(T.HttpPath("syncId")),
|
|
3662
3645
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -3676,7 +3659,7 @@ export interface DeleteCatalogSyncResponse {
|
|
|
3676
3659
|
}
|
|
3677
3660
|
|
|
3678
3661
|
export const DeleteCatalogSyncResponse =
|
|
3679
|
-
/*@__PURE__*/
|
|
3662
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3680
3663
|
Schema.Struct({
|
|
3681
3664
|
id: Schema.String,
|
|
3682
3665
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -3693,7 +3676,7 @@ export const deleteCatalogSync: API.OperationMethod<
|
|
|
3693
3676
|
DeleteCatalogSyncResponse,
|
|
3694
3677
|
DeleteCatalogSyncError,
|
|
3695
3678
|
Credentials | HttpClient.HttpClient
|
|
3696
|
-
> = /*@__PURE__*/
|
|
3679
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3697
3680
|
input: DeleteCatalogSyncRequest,
|
|
3698
3681
|
output: DeleteCatalogSyncResponse,
|
|
3699
3682
|
errors: [FeatureNotEnabled, Forbidden, CatalogSyncNotFound],
|
|
@@ -3705,7 +3688,7 @@ export interface RefreshCatalogSyncRequest {
|
|
|
3705
3688
|
}
|
|
3706
3689
|
|
|
3707
3690
|
export const RefreshCatalogSyncRequest =
|
|
3708
|
-
/*@__PURE__*/
|
|
3691
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3709
3692
|
Schema.Struct({
|
|
3710
3693
|
syncId: Schema.String.pipe(T.HttpPath("syncId")),
|
|
3711
3694
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -3720,7 +3703,7 @@ export const RefreshCatalogSyncRequest =
|
|
|
3720
3703
|
export type RefreshCatalogSyncResponse = string;
|
|
3721
3704
|
|
|
3722
3705
|
export const RefreshCatalogSyncResponse =
|
|
3723
|
-
/*@__PURE__*/
|
|
3706
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3724
3707
|
Schema.String.pipe(T.ResponsePath("result")),
|
|
3725
3708
|
) as unknown as Schema.Codec<RefreshCatalogSyncResponse>;
|
|
3726
3709
|
|
|
@@ -3735,7 +3718,7 @@ export const refreshCatalogSync: API.OperationMethod<
|
|
|
3735
3718
|
RefreshCatalogSyncResponse,
|
|
3736
3719
|
RefreshCatalogSyncError,
|
|
3737
3720
|
Credentials | HttpClient.HttpClient
|
|
3738
|
-
> = /*@__PURE__*/
|
|
3721
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3739
3722
|
input: RefreshCatalogSyncRequest,
|
|
3740
3723
|
output: RefreshCatalogSyncResponse,
|
|
3741
3724
|
errors: [FeatureNotEnabled, Forbidden, CatalogSyncNotFound],
|
|
@@ -3753,7 +3736,7 @@ export interface ListCatalogSyncPrebuiltPoliciesRequest {
|
|
|
3753
3736
|
}
|
|
3754
3737
|
|
|
3755
3738
|
export const ListCatalogSyncPrebuiltPoliciesRequest =
|
|
3756
|
-
/*@__PURE__*/
|
|
3739
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3757
3740
|
Schema.Struct({
|
|
3758
3741
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3759
3742
|
destinationType: Schema.optional(
|
|
@@ -3780,7 +3763,7 @@ export interface ListCatalogSyncPrebuiltPoliciesResponse {
|
|
|
3780
3763
|
}
|
|
3781
3764
|
|
|
3782
3765
|
export const ListCatalogSyncPrebuiltPoliciesResponse =
|
|
3783
|
-
/*@__PURE__*/
|
|
3766
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3784
3767
|
Schema.Struct({
|
|
3785
3768
|
result: Schema.Array(ListCatalogSyncPrebuiltPoliciesResponseResult),
|
|
3786
3769
|
}),
|
|
@@ -3796,7 +3779,7 @@ export const listCatalogSyncPrebuiltPolicies: API.PaginatedOperationMethod<
|
|
|
3796
3779
|
ListCatalogSyncPrebuiltPoliciesResponse,
|
|
3797
3780
|
ListCatalogSyncPrebuiltPoliciesError,
|
|
3798
3781
|
Credentials | HttpClient.HttpClient
|
|
3799
|
-
> = /*@__PURE__*/
|
|
3782
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
3800
3783
|
input: ListCatalogSyncPrebuiltPoliciesRequest,
|
|
3801
3784
|
output: ListCatalogSyncPrebuiltPoliciesResponse,
|
|
3802
3785
|
errors: [FeatureNotEnabled, Forbidden],
|
|
@@ -3819,7 +3802,7 @@ export interface GetCloudIntegrationRequest {
|
|
|
3819
3802
|
}
|
|
3820
3803
|
|
|
3821
3804
|
export const GetCloudIntegrationRequest =
|
|
3822
|
-
/*@__PURE__*/
|
|
3805
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3823
3806
|
Schema.Struct({
|
|
3824
3807
|
providerId: Schema.String.pipe(T.HttpPath("providerId")),
|
|
3825
3808
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -3893,7 +3876,7 @@ export interface GetCloudIntegrationResponse {
|
|
|
3893
3876
|
}
|
|
3894
3877
|
|
|
3895
3878
|
export const GetCloudIntegrationResponse =
|
|
3896
|
-
/*@__PURE__*/
|
|
3879
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3897
3880
|
Schema.Struct({
|
|
3898
3881
|
id: Schema.String,
|
|
3899
3882
|
cloudType: Schema.Union([
|
|
@@ -3972,7 +3955,7 @@ export const getCloudIntegration: API.OperationMethod<
|
|
|
3972
3955
|
GetCloudIntegrationResponse,
|
|
3973
3956
|
GetCloudIntegrationError,
|
|
3974
3957
|
Credentials | HttpClient.HttpClient
|
|
3975
|
-
> = /*@__PURE__*/
|
|
3958
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3976
3959
|
input: GetCloudIntegrationRequest,
|
|
3977
3960
|
output: GetCloudIntegrationResponse,
|
|
3978
3961
|
errors: [FeatureNotEnabled, Forbidden, CloudIntegrationNotFound],
|
|
@@ -3992,7 +3975,7 @@ export interface ListCloudIntegrationsRequest {
|
|
|
3992
3975
|
}
|
|
3993
3976
|
|
|
3994
3977
|
export const ListCloudIntegrationsRequest =
|
|
3995
|
-
/*@__PURE__*/
|
|
3978
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
3996
3979
|
Schema.Struct({
|
|
3997
3980
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
3998
3981
|
cloudflare: Schema.optional(Schema.Boolean).pipe(
|
|
@@ -4072,7 +4055,7 @@ export interface ListCloudIntegrationsResponse {
|
|
|
4072
4055
|
}
|
|
4073
4056
|
|
|
4074
4057
|
export const ListCloudIntegrationsResponse =
|
|
4075
|
-
/*@__PURE__*/
|
|
4058
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4076
4059
|
Schema.Struct({
|
|
4077
4060
|
result: Schema.Array(ListCloudIntegrationsResponseResult),
|
|
4078
4061
|
}),
|
|
@@ -4088,7 +4071,7 @@ export const listCloudIntegrations: API.PaginatedOperationMethod<
|
|
|
4088
4071
|
ListCloudIntegrationsResponse,
|
|
4089
4072
|
ListCloudIntegrationsError,
|
|
4090
4073
|
Credentials | HttpClient.HttpClient
|
|
4091
|
-
> = /*@__PURE__*/
|
|
4074
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
4092
4075
|
input: ListCloudIntegrationsRequest,
|
|
4093
4076
|
output: ListCloudIntegrationsResponse,
|
|
4094
4077
|
errors: [FeatureNotEnabled, Forbidden],
|
|
@@ -4112,7 +4095,7 @@ export interface CreateCloudIntegrationRequest {
|
|
|
4112
4095
|
}
|
|
4113
4096
|
|
|
4114
4097
|
export const CreateCloudIntegrationRequest =
|
|
4115
|
-
/*@__PURE__*/
|
|
4098
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4116
4099
|
Schema.Struct({
|
|
4117
4100
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
4118
4101
|
forwarded: Schema.optional(Schema.String).pipe(T.HttpHeader("forwarded")),
|
|
@@ -4196,7 +4179,7 @@ export interface CreateCloudIntegrationResponse {
|
|
|
4196
4179
|
}
|
|
4197
4180
|
|
|
4198
4181
|
export const CreateCloudIntegrationResponse =
|
|
4199
|
-
/*@__PURE__*/
|
|
4182
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4200
4183
|
Schema.Struct({
|
|
4201
4184
|
id: Schema.String,
|
|
4202
4185
|
cloudType: Schema.Union([
|
|
@@ -4274,7 +4257,7 @@ export const createCloudIntegration: API.OperationMethod<
|
|
|
4274
4257
|
CreateCloudIntegrationResponse,
|
|
4275
4258
|
CreateCloudIntegrationError,
|
|
4276
4259
|
Credentials | HttpClient.HttpClient
|
|
4277
|
-
> = /*@__PURE__*/
|
|
4260
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4278
4261
|
input: CreateCloudIntegrationRequest,
|
|
4279
4262
|
output: CreateCloudIntegrationResponse,
|
|
4280
4263
|
errors: [FeatureNotEnabled, Forbidden],
|
|
@@ -4301,7 +4284,7 @@ export interface UpdateCloudIntegrationRequest {
|
|
|
4301
4284
|
}
|
|
4302
4285
|
|
|
4303
4286
|
export const UpdateCloudIntegrationRequest =
|
|
4304
|
-
/*@__PURE__*/
|
|
4287
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4305
4288
|
Schema.Struct({
|
|
4306
4289
|
providerId: Schema.String.pipe(T.HttpPath("providerId")),
|
|
4307
4290
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -4390,7 +4373,7 @@ export interface UpdateCloudIntegrationResponse {
|
|
|
4390
4373
|
}
|
|
4391
4374
|
|
|
4392
4375
|
export const UpdateCloudIntegrationResponse =
|
|
4393
|
-
/*@__PURE__*/
|
|
4376
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4394
4377
|
Schema.Struct({
|
|
4395
4378
|
id: Schema.String,
|
|
4396
4379
|
cloudType: Schema.Union([
|
|
@@ -4469,7 +4452,7 @@ export const updateCloudIntegration: API.OperationMethod<
|
|
|
4469
4452
|
UpdateCloudIntegrationResponse,
|
|
4470
4453
|
UpdateCloudIntegrationError,
|
|
4471
4454
|
Credentials | HttpClient.HttpClient
|
|
4472
|
-
> = /*@__PURE__*/
|
|
4455
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4473
4456
|
input: UpdateCloudIntegrationRequest,
|
|
4474
4457
|
output: UpdateCloudIntegrationResponse,
|
|
4475
4458
|
errors: [FeatureNotEnabled, Forbidden, CloudIntegrationNotFound],
|
|
@@ -4496,7 +4479,7 @@ export interface PatchCloudIntegrationRequest {
|
|
|
4496
4479
|
}
|
|
4497
4480
|
|
|
4498
4481
|
export const PatchCloudIntegrationRequest =
|
|
4499
|
-
/*@__PURE__*/
|
|
4482
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4500
4483
|
Schema.Struct({
|
|
4501
4484
|
providerId: Schema.String.pipe(T.HttpPath("providerId")),
|
|
4502
4485
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -4585,7 +4568,7 @@ export interface PatchCloudIntegrationResponse {
|
|
|
4585
4568
|
}
|
|
4586
4569
|
|
|
4587
4570
|
export const PatchCloudIntegrationResponse =
|
|
4588
|
-
/*@__PURE__*/
|
|
4571
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4589
4572
|
Schema.Struct({
|
|
4590
4573
|
id: Schema.String,
|
|
4591
4574
|
cloudType: Schema.Union([
|
|
@@ -4664,7 +4647,7 @@ export const patchCloudIntegration: API.OperationMethod<
|
|
|
4664
4647
|
PatchCloudIntegrationResponse,
|
|
4665
4648
|
PatchCloudIntegrationError,
|
|
4666
4649
|
Credentials | HttpClient.HttpClient
|
|
4667
|
-
> = /*@__PURE__*/
|
|
4650
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4668
4651
|
input: PatchCloudIntegrationRequest,
|
|
4669
4652
|
output: PatchCloudIntegrationResponse,
|
|
4670
4653
|
errors: [FeatureNotEnabled, Forbidden, CloudIntegrationNotFound],
|
|
@@ -4676,7 +4659,7 @@ export interface DeleteCloudIntegrationRequest {
|
|
|
4676
4659
|
}
|
|
4677
4660
|
|
|
4678
4661
|
export const DeleteCloudIntegrationRequest =
|
|
4679
|
-
/*@__PURE__*/
|
|
4662
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4680
4663
|
Schema.Struct({
|
|
4681
4664
|
providerId: Schema.String.pipe(T.HttpPath("providerId")),
|
|
4682
4665
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -4693,7 +4676,7 @@ export interface DeleteCloudIntegrationResponse {
|
|
|
4693
4676
|
}
|
|
4694
4677
|
|
|
4695
4678
|
export const DeleteCloudIntegrationResponse =
|
|
4696
|
-
/*@__PURE__*/
|
|
4679
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4697
4680
|
Schema.Struct({
|
|
4698
4681
|
id: Schema.String,
|
|
4699
4682
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -4710,7 +4693,7 @@ export const deleteCloudIntegration: API.OperationMethod<
|
|
|
4710
4693
|
DeleteCloudIntegrationResponse,
|
|
4711
4694
|
DeleteCloudIntegrationError,
|
|
4712
4695
|
Credentials | HttpClient.HttpClient
|
|
4713
|
-
> = /*@__PURE__*/
|
|
4696
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4714
4697
|
input: DeleteCloudIntegrationRequest,
|
|
4715
4698
|
output: DeleteCloudIntegrationResponse,
|
|
4716
4699
|
errors: [FeatureNotEnabled, Forbidden, CloudIntegrationNotFound],
|
|
@@ -4725,7 +4708,7 @@ export interface DiscoverCloudIntegrationRequest {
|
|
|
4725
4708
|
}
|
|
4726
4709
|
|
|
4727
4710
|
export const DiscoverCloudIntegrationRequest =
|
|
4728
|
-
/*@__PURE__*/
|
|
4711
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
4729
4712
|
Schema.Struct({
|
|
4730
4713
|
providerId: Schema.String.pipe(T.HttpPath("providerId")),
|
|
4731
4714
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -5087,7 +5070,7 @@ export interface DiscoverCloudIntegrationResponse {
|
|
|
5087
5070
|
}
|
|
5088
5071
|
|
|
5089
5072
|
export const DiscoverCloudIntegrationResponse =
|
|
5090
|
-
/*@__PURE__*/
|
|
5073
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
5091
5074
|
Schema.Struct({
|
|
5092
5075
|
errors: Schema.Array(Error2),
|
|
5093
5076
|
messages: Schema.Array(Error2),
|
|
@@ -5105,7 +5088,7 @@ export const discoverCloudIntegration: API.OperationMethod<
|
|
|
5105
5088
|
DiscoverCloudIntegrationResponse,
|
|
5106
5089
|
DiscoverCloudIntegrationError,
|
|
5107
5090
|
Credentials | HttpClient.HttpClient
|
|
5108
|
-
> = /*@__PURE__*/
|
|
5091
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
5109
5092
|
input: DiscoverCloudIntegrationRequest,
|
|
5110
5093
|
output: DiscoverCloudIntegrationResponse,
|
|
5111
5094
|
errors: [FeatureNotEnabled, Forbidden],
|
|
@@ -5129,7 +5112,7 @@ export interface GetOnRampRequest {
|
|
|
5129
5112
|
vpcs?: boolean;
|
|
5130
5113
|
}
|
|
5131
5114
|
|
|
5132
|
-
export const GetOnRampRequest = /*@__PURE__*/
|
|
5115
|
+
export const GetOnRampRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
5133
5116
|
Schema.Struct({
|
|
5134
5117
|
onrampId: Schema.String.pipe(T.HttpPath("onrampId")),
|
|
5135
5118
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -5300,115 +5283,102 @@ export interface GetOnRampResponse {
|
|
|
5300
5283
|
vpcsByIdUnavailable?: string[] | null;
|
|
5301
5284
|
}
|
|
5302
5285
|
|
|
5303
|
-
export const GetOnRampResponse = /*@__PURE__*/
|
|
5304
|
-
(
|
|
5305
|
-
Schema.
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
|
|
5348
|
-
|
|
5349
|
-
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
|
|
5353
|
-
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5358
|
-
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
|
|
5373
|
-
|
|
5374
|
-
|
|
5375
|
-
|
|
5376
|
-
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
plannedResources: "planned_resources",
|
|
5400
|
-
plannedResourcesUnavailable: "planned_resources_unavailable",
|
|
5401
|
-
postApplyMonthlyCostEstimate: "post_apply_monthly_cost_estimate",
|
|
5402
|
-
postApplyResources: "post_apply_resources",
|
|
5403
|
-
postApplyResourcesUnavailable: "post_apply_resources_unavailable",
|
|
5404
|
-
region: "region",
|
|
5405
|
-
status: "status",
|
|
5406
|
-
vpc: "vpc",
|
|
5407
|
-
vpcsById: "vpcs_by_id",
|
|
5408
|
-
vpcsByIdUnavailable: "vpcs_by_id_unavailable",
|
|
5409
|
-
}),
|
|
5410
|
-
)
|
|
5411
|
-
.pipe(T.ResponsePath("result")),
|
|
5286
|
+
export const GetOnRampResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
5287
|
+
Schema.Struct({
|
|
5288
|
+
id: Schema.String,
|
|
5289
|
+
cloudType: Schema.Union([
|
|
5290
|
+
Schema.Literals(["AWS", "AZURE", "GOOGLE"]),
|
|
5291
|
+
Schema.String,
|
|
5292
|
+
]),
|
|
5293
|
+
dynamicRouting: Schema.Boolean,
|
|
5294
|
+
installRoutesInCloud: Schema.Boolean,
|
|
5295
|
+
installRoutesInMagicWan: Schema.Boolean,
|
|
5296
|
+
name: Schema.String,
|
|
5297
|
+
type: Schema.Union([
|
|
5298
|
+
Schema.Literals(["OnrampTypeSingle", "OnrampTypeHub"]),
|
|
5299
|
+
Schema.String,
|
|
5300
|
+
]),
|
|
5301
|
+
updatedAt: Schema.String,
|
|
5302
|
+
attachedHubs: Schema.optional(
|
|
5303
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
5304
|
+
),
|
|
5305
|
+
attachedVpcs: Schema.optional(
|
|
5306
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
5307
|
+
),
|
|
5308
|
+
cloudAsn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
5309
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5310
|
+
hub: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5311
|
+
lastAppliedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5312
|
+
lastExportedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5313
|
+
lastPlannedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5314
|
+
manageHubToHubAttachments: Schema.optional(
|
|
5315
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
5316
|
+
),
|
|
5317
|
+
manageVpcToHubAttachments: Schema.optional(
|
|
5318
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
5319
|
+
),
|
|
5320
|
+
plannedMonthlyCostEstimate: Schema.optional(
|
|
5321
|
+
Schema.Union([PlannedMonthlyCostEstimate, Schema.Null]),
|
|
5322
|
+
),
|
|
5323
|
+
plannedResources: Schema.optional(
|
|
5324
|
+
Schema.Union([Schema.Array(PlannedResource), Schema.Null]),
|
|
5325
|
+
),
|
|
5326
|
+
plannedResourcesUnavailable: Schema.optional(
|
|
5327
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
5328
|
+
),
|
|
5329
|
+
postApplyMonthlyCostEstimate: Schema.optional(
|
|
5330
|
+
Schema.Union([PostApplyMonthlyCostEstimate, Schema.Null]),
|
|
5331
|
+
),
|
|
5332
|
+
postApplyResources: Schema.optional(
|
|
5333
|
+
Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
|
|
5334
|
+
),
|
|
5335
|
+
postApplyResourcesUnavailable: Schema.optional(
|
|
5336
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
5337
|
+
),
|
|
5338
|
+
region: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5339
|
+
status: Schema.optional(Schema.Union([Status2, Schema.Null])),
|
|
5340
|
+
vpc: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5341
|
+
vpcsById: Schema.optional(
|
|
5342
|
+
Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
|
|
5343
|
+
),
|
|
5344
|
+
vpcsByIdUnavailable: Schema.optional(
|
|
5345
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
5346
|
+
),
|
|
5347
|
+
})
|
|
5348
|
+
.pipe(
|
|
5349
|
+
Schema.encodeKeys({
|
|
5350
|
+
id: "id",
|
|
5351
|
+
cloudType: "cloud_type",
|
|
5352
|
+
dynamicRouting: "dynamic_routing",
|
|
5353
|
+
installRoutesInCloud: "install_routes_in_cloud",
|
|
5354
|
+
installRoutesInMagicWan: "install_routes_in_magic_wan",
|
|
5355
|
+
name: "name",
|
|
5356
|
+
type: "type",
|
|
5357
|
+
updatedAt: "updated_at",
|
|
5358
|
+
attachedHubs: "attached_hubs",
|
|
5359
|
+
attachedVpcs: "attached_vpcs",
|
|
5360
|
+
cloudAsn: "cloud_asn",
|
|
5361
|
+
description: "description",
|
|
5362
|
+
hub: "hub",
|
|
5363
|
+
lastAppliedAt: "last_applied_at",
|
|
5364
|
+
lastExportedAt: "last_exported_at",
|
|
5365
|
+
lastPlannedAt: "last_planned_at",
|
|
5366
|
+
manageHubToHubAttachments: "manage_hub_to_hub_attachments",
|
|
5367
|
+
manageVpcToHubAttachments: "manage_vpc_to_hub_attachments",
|
|
5368
|
+
plannedMonthlyCostEstimate: "planned_monthly_cost_estimate",
|
|
5369
|
+
plannedResources: "planned_resources",
|
|
5370
|
+
plannedResourcesUnavailable: "planned_resources_unavailable",
|
|
5371
|
+
postApplyMonthlyCostEstimate: "post_apply_monthly_cost_estimate",
|
|
5372
|
+
postApplyResources: "post_apply_resources",
|
|
5373
|
+
postApplyResourcesUnavailable: "post_apply_resources_unavailable",
|
|
5374
|
+
region: "region",
|
|
5375
|
+
status: "status",
|
|
5376
|
+
vpc: "vpc",
|
|
5377
|
+
vpcsById: "vpcs_by_id",
|
|
5378
|
+
vpcsByIdUnavailable: "vpcs_by_id_unavailable",
|
|
5379
|
+
}),
|
|
5380
|
+
)
|
|
5381
|
+
.pipe(T.ResponsePath("result")),
|
|
5412
5382
|
) as unknown as Schema.Codec<GetOnRampResponse>;
|
|
5413
5383
|
|
|
5414
5384
|
export type GetOnRampError =
|
|
@@ -5422,7 +5392,7 @@ export const getOnRamp: API.OperationMethod<
|
|
|
5422
5392
|
GetOnRampResponse,
|
|
5423
5393
|
GetOnRampError,
|
|
5424
5394
|
Credentials | HttpClient.HttpClient
|
|
5425
|
-
> = /*@__PURE__*/
|
|
5395
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
5426
5396
|
input: GetOnRampRequest,
|
|
5427
5397
|
output: GetOnRampResponse,
|
|
5428
5398
|
errors: [FeatureNotEnabled, Forbidden, OnRampNotFound],
|
|
@@ -5441,20 +5411,19 @@ export interface ListOnRampsRequest {
|
|
|
5441
5411
|
vpcs?: boolean;
|
|
5442
5412
|
}
|
|
5443
5413
|
|
|
5444
|
-
export const ListOnRampsRequest = /*@__PURE__*/
|
|
5445
|
-
(
|
|
5446
|
-
Schema.
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
|
|
5452
|
-
|
|
5453
|
-
|
|
5454
|
-
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
),
|
|
5414
|
+
export const ListOnRampsRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
5415
|
+
Schema.Struct({
|
|
5416
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
5417
|
+
desc: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("desc")),
|
|
5418
|
+
orderBy: Schema.optional(Schema.String).pipe(T.HttpQuery("order_by")),
|
|
5419
|
+
status: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("status")),
|
|
5420
|
+
vpcs: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("vpcs")),
|
|
5421
|
+
}).pipe(
|
|
5422
|
+
T.Http({
|
|
5423
|
+
method: "GET",
|
|
5424
|
+
path: "/accounts/{account_id}/magic/cloud/onramps",
|
|
5425
|
+
}),
|
|
5426
|
+
),
|
|
5458
5427
|
) as unknown as Schema.Codec<ListOnRampsRequest>;
|
|
5459
5428
|
|
|
5460
5429
|
export interface ListOnRampsResponse {
|
|
@@ -5614,11 +5583,10 @@ export interface ListOnRampsResponse {
|
|
|
5614
5583
|
}[];
|
|
5615
5584
|
}
|
|
5616
5585
|
|
|
5617
|
-
export const ListOnRampsResponse = /*@__PURE__*/
|
|
5618
|
-
(
|
|
5619
|
-
Schema.
|
|
5620
|
-
|
|
5621
|
-
}),
|
|
5586
|
+
export const ListOnRampsResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
5587
|
+
Schema.Struct({
|
|
5588
|
+
result: Schema.Array(ListOnRampsResponseResult),
|
|
5589
|
+
}),
|
|
5622
5590
|
) as unknown as Schema.Codec<ListOnRampsResponse>;
|
|
5623
5591
|
|
|
5624
5592
|
export type ListOnRampsError = DefaultErrors | FeatureNotEnabled | Forbidden;
|
|
@@ -5628,7 +5596,7 @@ export const listOnRamps: API.PaginatedOperationMethod<
|
|
|
5628
5596
|
ListOnRampsResponse,
|
|
5629
5597
|
ListOnRampsError,
|
|
5630
5598
|
Credentials | HttpClient.HttpClient
|
|
5631
|
-
> = /*@__PURE__*/
|
|
5599
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
5632
5600
|
input: ListOnRampsRequest,
|
|
5633
5601
|
output: ListOnRampsResponse,
|
|
5634
5602
|
errors: [FeatureNotEnabled, Forbidden],
|
|
@@ -5677,57 +5645,56 @@ export interface CreateOnRampRequest {
|
|
|
5677
5645
|
vpc?: string;
|
|
5678
5646
|
}
|
|
5679
5647
|
|
|
5680
|
-
export const CreateOnRampRequest = /*@__PURE__*/
|
|
5681
|
-
(
|
|
5682
|
-
Schema.
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
|
|
5699
|
-
|
|
5700
|
-
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
|
|
5713
|
-
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
),
|
|
5648
|
+
export const CreateOnRampRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
5649
|
+
Schema.Struct({
|
|
5650
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
5651
|
+
forwarded: Schema.optional(Schema.String).pipe(T.HttpHeader("forwarded")),
|
|
5652
|
+
cloudType: Schema.Union([
|
|
5653
|
+
Schema.Literals(["AWS", "AZURE", "GOOGLE"]),
|
|
5654
|
+
Schema.String,
|
|
5655
|
+
]),
|
|
5656
|
+
dynamicRouting: Schema.Boolean,
|
|
5657
|
+
installRoutesInCloud: Schema.Boolean,
|
|
5658
|
+
installRoutesInMagicWan: Schema.Boolean,
|
|
5659
|
+
name: Schema.String,
|
|
5660
|
+
type: Schema.Union([
|
|
5661
|
+
Schema.Literals(["OnrampTypeSingle", "OnrampTypeHub"]),
|
|
5662
|
+
Schema.String,
|
|
5663
|
+
]),
|
|
5664
|
+
adoptedHubId: Schema.optional(Schema.String),
|
|
5665
|
+
attachedHubs: Schema.optional(Schema.Array(Schema.String)),
|
|
5666
|
+
attachedVpcs: Schema.optional(Schema.Array(Schema.String)),
|
|
5667
|
+
cloudAsn: Schema.optional(Schema.Number),
|
|
5668
|
+
description: Schema.optional(Schema.String),
|
|
5669
|
+
hubProviderId: Schema.optional(Schema.String),
|
|
5670
|
+
manageHubToHubAttachments: Schema.optional(Schema.Boolean),
|
|
5671
|
+
manageVpcToHubAttachments: Schema.optional(Schema.Boolean),
|
|
5672
|
+
region: Schema.optional(Schema.String),
|
|
5673
|
+
vpc: Schema.optional(Schema.String),
|
|
5674
|
+
}).pipe(
|
|
5675
|
+
Schema.encodeKeys({
|
|
5676
|
+
cloudType: "cloud_type",
|
|
5677
|
+
dynamicRouting: "dynamic_routing",
|
|
5678
|
+
installRoutesInCloud: "install_routes_in_cloud",
|
|
5679
|
+
installRoutesInMagicWan: "install_routes_in_magic_wan",
|
|
5680
|
+
name: "name",
|
|
5681
|
+
type: "type",
|
|
5682
|
+
adoptedHubId: "adopted_hub_id",
|
|
5683
|
+
attachedHubs: "attached_hubs",
|
|
5684
|
+
attachedVpcs: "attached_vpcs",
|
|
5685
|
+
cloudAsn: "cloud_asn",
|
|
5686
|
+
description: "description",
|
|
5687
|
+
hubProviderId: "hub_provider_id",
|
|
5688
|
+
manageHubToHubAttachments: "manage_hub_to_hub_attachments",
|
|
5689
|
+
manageVpcToHubAttachments: "manage_vpc_to_hub_attachments",
|
|
5690
|
+
region: "region",
|
|
5691
|
+
vpc: "vpc",
|
|
5692
|
+
}),
|
|
5693
|
+
T.Http({
|
|
5694
|
+
method: "POST",
|
|
5695
|
+
path: "/accounts/{account_id}/magic/cloud/onramps",
|
|
5696
|
+
}),
|
|
5697
|
+
),
|
|
5731
5698
|
) as unknown as Schema.Codec<CreateOnRampRequest>;
|
|
5732
5699
|
|
|
5733
5700
|
export interface CreateOnRampResponse {
|
|
@@ -5881,115 +5848,102 @@ export interface CreateOnRampResponse {
|
|
|
5881
5848
|
vpcsByIdUnavailable?: string[] | null;
|
|
5882
5849
|
}
|
|
5883
5850
|
|
|
5884
|
-
export const CreateOnRampResponse = /*@__PURE__*/
|
|
5885
|
-
(
|
|
5886
|
-
Schema.
|
|
5887
|
-
|
|
5888
|
-
|
|
5889
|
-
|
|
5890
|
-
|
|
5891
|
-
|
|
5892
|
-
|
|
5893
|
-
|
|
5894
|
-
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
|
|
5898
|
-
|
|
5899
|
-
|
|
5900
|
-
|
|
5901
|
-
|
|
5902
|
-
|
|
5903
|
-
|
|
5904
|
-
|
|
5905
|
-
|
|
5906
|
-
|
|
5907
|
-
|
|
5908
|
-
|
|
5909
|
-
|
|
5910
|
-
|
|
5911
|
-
|
|
5912
|
-
|
|
5913
|
-
|
|
5914
|
-
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
|
|
5920
|
-
|
|
5921
|
-
|
|
5922
|
-
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
|
|
5928
|
-
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
5933
|
-
|
|
5934
|
-
|
|
5935
|
-
|
|
5936
|
-
|
|
5937
|
-
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
|
|
5941
|
-
|
|
5942
|
-
|
|
5943
|
-
|
|
5944
|
-
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
|
|
5953
|
-
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
|
|
5965
|
-
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
|
|
5971
|
-
|
|
5972
|
-
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
|
|
5976
|
-
|
|
5977
|
-
|
|
5978
|
-
|
|
5979
|
-
|
|
5980
|
-
plannedResources: "planned_resources",
|
|
5981
|
-
plannedResourcesUnavailable: "planned_resources_unavailable",
|
|
5982
|
-
postApplyMonthlyCostEstimate: "post_apply_monthly_cost_estimate",
|
|
5983
|
-
postApplyResources: "post_apply_resources",
|
|
5984
|
-
postApplyResourcesUnavailable: "post_apply_resources_unavailable",
|
|
5985
|
-
region: "region",
|
|
5986
|
-
status: "status",
|
|
5987
|
-
vpc: "vpc",
|
|
5988
|
-
vpcsById: "vpcs_by_id",
|
|
5989
|
-
vpcsByIdUnavailable: "vpcs_by_id_unavailable",
|
|
5990
|
-
}),
|
|
5991
|
-
)
|
|
5992
|
-
.pipe(T.ResponsePath("result")),
|
|
5851
|
+
export const CreateOnRampResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
5852
|
+
Schema.Struct({
|
|
5853
|
+
id: Schema.String,
|
|
5854
|
+
cloudType: Schema.Union([
|
|
5855
|
+
Schema.Literals(["AWS", "AZURE", "GOOGLE"]),
|
|
5856
|
+
Schema.String,
|
|
5857
|
+
]),
|
|
5858
|
+
dynamicRouting: Schema.Boolean,
|
|
5859
|
+
installRoutesInCloud: Schema.Boolean,
|
|
5860
|
+
installRoutesInMagicWan: Schema.Boolean,
|
|
5861
|
+
name: Schema.String,
|
|
5862
|
+
type: Schema.Union([
|
|
5863
|
+
Schema.Literals(["OnrampTypeSingle", "OnrampTypeHub"]),
|
|
5864
|
+
Schema.String,
|
|
5865
|
+
]),
|
|
5866
|
+
updatedAt: Schema.String,
|
|
5867
|
+
attachedHubs: Schema.optional(
|
|
5868
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
5869
|
+
),
|
|
5870
|
+
attachedVpcs: Schema.optional(
|
|
5871
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
5872
|
+
),
|
|
5873
|
+
cloudAsn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
5874
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5875
|
+
hub: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5876
|
+
lastAppliedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5877
|
+
lastExportedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5878
|
+
lastPlannedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5879
|
+
manageHubToHubAttachments: Schema.optional(
|
|
5880
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
5881
|
+
),
|
|
5882
|
+
manageVpcToHubAttachments: Schema.optional(
|
|
5883
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
5884
|
+
),
|
|
5885
|
+
plannedMonthlyCostEstimate: Schema.optional(
|
|
5886
|
+
Schema.Union([PlannedMonthlyCostEstimate, Schema.Null]),
|
|
5887
|
+
),
|
|
5888
|
+
plannedResources: Schema.optional(
|
|
5889
|
+
Schema.Union([Schema.Array(PlannedResource), Schema.Null]),
|
|
5890
|
+
),
|
|
5891
|
+
plannedResourcesUnavailable: Schema.optional(
|
|
5892
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
5893
|
+
),
|
|
5894
|
+
postApplyMonthlyCostEstimate: Schema.optional(
|
|
5895
|
+
Schema.Union([PostApplyMonthlyCostEstimate, Schema.Null]),
|
|
5896
|
+
),
|
|
5897
|
+
postApplyResources: Schema.optional(
|
|
5898
|
+
Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
|
|
5899
|
+
),
|
|
5900
|
+
postApplyResourcesUnavailable: Schema.optional(
|
|
5901
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
5902
|
+
),
|
|
5903
|
+
region: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5904
|
+
status: Schema.optional(Schema.Union([Status2, Schema.Null])),
|
|
5905
|
+
vpc: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
5906
|
+
vpcsById: Schema.optional(
|
|
5907
|
+
Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
|
|
5908
|
+
),
|
|
5909
|
+
vpcsByIdUnavailable: Schema.optional(
|
|
5910
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
5911
|
+
),
|
|
5912
|
+
})
|
|
5913
|
+
.pipe(
|
|
5914
|
+
Schema.encodeKeys({
|
|
5915
|
+
id: "id",
|
|
5916
|
+
cloudType: "cloud_type",
|
|
5917
|
+
dynamicRouting: "dynamic_routing",
|
|
5918
|
+
installRoutesInCloud: "install_routes_in_cloud",
|
|
5919
|
+
installRoutesInMagicWan: "install_routes_in_magic_wan",
|
|
5920
|
+
name: "name",
|
|
5921
|
+
type: "type",
|
|
5922
|
+
updatedAt: "updated_at",
|
|
5923
|
+
attachedHubs: "attached_hubs",
|
|
5924
|
+
attachedVpcs: "attached_vpcs",
|
|
5925
|
+
cloudAsn: "cloud_asn",
|
|
5926
|
+
description: "description",
|
|
5927
|
+
hub: "hub",
|
|
5928
|
+
lastAppliedAt: "last_applied_at",
|
|
5929
|
+
lastExportedAt: "last_exported_at",
|
|
5930
|
+
lastPlannedAt: "last_planned_at",
|
|
5931
|
+
manageHubToHubAttachments: "manage_hub_to_hub_attachments",
|
|
5932
|
+
manageVpcToHubAttachments: "manage_vpc_to_hub_attachments",
|
|
5933
|
+
plannedMonthlyCostEstimate: "planned_monthly_cost_estimate",
|
|
5934
|
+
plannedResources: "planned_resources",
|
|
5935
|
+
plannedResourcesUnavailable: "planned_resources_unavailable",
|
|
5936
|
+
postApplyMonthlyCostEstimate: "post_apply_monthly_cost_estimate",
|
|
5937
|
+
postApplyResources: "post_apply_resources",
|
|
5938
|
+
postApplyResourcesUnavailable: "post_apply_resources_unavailable",
|
|
5939
|
+
region: "region",
|
|
5940
|
+
status: "status",
|
|
5941
|
+
vpc: "vpc",
|
|
5942
|
+
vpcsById: "vpcs_by_id",
|
|
5943
|
+
vpcsByIdUnavailable: "vpcs_by_id_unavailable",
|
|
5944
|
+
}),
|
|
5945
|
+
)
|
|
5946
|
+
.pipe(T.ResponsePath("result")),
|
|
5993
5947
|
) as unknown as Schema.Codec<CreateOnRampResponse>;
|
|
5994
5948
|
|
|
5995
5949
|
export type CreateOnRampError = DefaultErrors | FeatureNotEnabled | Forbidden;
|
|
@@ -5999,7 +5953,7 @@ export const createOnRamp: API.OperationMethod<
|
|
|
5999
5953
|
CreateOnRampResponse,
|
|
6000
5954
|
CreateOnRampError,
|
|
6001
5955
|
Credentials | HttpClient.HttpClient
|
|
6002
|
-
> = /*@__PURE__*/
|
|
5956
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
6003
5957
|
input: CreateOnRampRequest,
|
|
6004
5958
|
output: CreateOnRampResponse,
|
|
6005
5959
|
errors: [FeatureNotEnabled, Forbidden],
|
|
@@ -6029,37 +5983,36 @@ export interface UpdateOnRampRequest {
|
|
|
6029
5983
|
vpc?: string;
|
|
6030
5984
|
}
|
|
6031
5985
|
|
|
6032
|
-
export const UpdateOnRampRequest = /*@__PURE__*/
|
|
6033
|
-
(
|
|
6034
|
-
Schema.
|
|
6035
|
-
|
|
6036
|
-
|
|
6037
|
-
|
|
6038
|
-
|
|
6039
|
-
|
|
6040
|
-
|
|
6041
|
-
|
|
6042
|
-
|
|
6043
|
-
|
|
6044
|
-
|
|
6045
|
-
|
|
6046
|
-
|
|
6047
|
-
|
|
6048
|
-
|
|
6049
|
-
|
|
6050
|
-
|
|
6051
|
-
|
|
6052
|
-
|
|
6053
|
-
|
|
6054
|
-
|
|
6055
|
-
|
|
6056
|
-
|
|
6057
|
-
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6061
|
-
|
|
6062
|
-
),
|
|
5986
|
+
export const UpdateOnRampRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
5987
|
+
Schema.Struct({
|
|
5988
|
+
onrampId: Schema.String.pipe(T.HttpPath("onrampId")),
|
|
5989
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
5990
|
+
attachedHubs: Schema.optional(Schema.Array(Schema.String)),
|
|
5991
|
+
attachedVpcs: Schema.optional(Schema.Array(Schema.String)),
|
|
5992
|
+
description: Schema.optional(Schema.String),
|
|
5993
|
+
installRoutesInCloud: Schema.optional(Schema.Boolean),
|
|
5994
|
+
installRoutesInMagicWan: Schema.optional(Schema.Boolean),
|
|
5995
|
+
manageHubToHubAttachments: Schema.optional(Schema.Boolean),
|
|
5996
|
+
manageVpcToHubAttachments: Schema.optional(Schema.Boolean),
|
|
5997
|
+
name: Schema.optional(Schema.String),
|
|
5998
|
+
vpc: Schema.optional(Schema.String),
|
|
5999
|
+
}).pipe(
|
|
6000
|
+
Schema.encodeKeys({
|
|
6001
|
+
attachedHubs: "attached_hubs",
|
|
6002
|
+
attachedVpcs: "attached_vpcs",
|
|
6003
|
+
description: "description",
|
|
6004
|
+
installRoutesInCloud: "install_routes_in_cloud",
|
|
6005
|
+
installRoutesInMagicWan: "install_routes_in_magic_wan",
|
|
6006
|
+
manageHubToHubAttachments: "manage_hub_to_hub_attachments",
|
|
6007
|
+
manageVpcToHubAttachments: "manage_vpc_to_hub_attachments",
|
|
6008
|
+
name: "name",
|
|
6009
|
+
vpc: "vpc",
|
|
6010
|
+
}),
|
|
6011
|
+
T.Http({
|
|
6012
|
+
method: "PUT",
|
|
6013
|
+
path: "/accounts/{account_id}/magic/cloud/onramps/{onrampId}",
|
|
6014
|
+
}),
|
|
6015
|
+
),
|
|
6063
6016
|
) as unknown as Schema.Codec<UpdateOnRampRequest>;
|
|
6064
6017
|
|
|
6065
6018
|
export interface UpdateOnRampResponse {
|
|
@@ -6213,115 +6166,102 @@ export interface UpdateOnRampResponse {
|
|
|
6213
6166
|
vpcsByIdUnavailable?: string[] | null;
|
|
6214
6167
|
}
|
|
6215
6168
|
|
|
6216
|
-
export const UpdateOnRampResponse = /*@__PURE__*/
|
|
6217
|
-
(
|
|
6218
|
-
Schema.
|
|
6219
|
-
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
|
|
6226
|
-
|
|
6227
|
-
|
|
6228
|
-
|
|
6229
|
-
|
|
6230
|
-
|
|
6231
|
-
|
|
6232
|
-
|
|
6233
|
-
|
|
6234
|
-
|
|
6235
|
-
|
|
6236
|
-
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
|
|
6242
|
-
|
|
6243
|
-
|
|
6244
|
-
|
|
6245
|
-
|
|
6246
|
-
|
|
6247
|
-
|
|
6248
|
-
|
|
6249
|
-
|
|
6250
|
-
|
|
6251
|
-
|
|
6252
|
-
|
|
6253
|
-
|
|
6254
|
-
|
|
6255
|
-
|
|
6256
|
-
|
|
6257
|
-
|
|
6258
|
-
|
|
6259
|
-
|
|
6260
|
-
|
|
6261
|
-
|
|
6262
|
-
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
|
|
6268
|
-
|
|
6269
|
-
|
|
6270
|
-
|
|
6271
|
-
|
|
6272
|
-
|
|
6273
|
-
|
|
6274
|
-
|
|
6275
|
-
|
|
6276
|
-
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
|
|
6280
|
-
|
|
6281
|
-
|
|
6282
|
-
|
|
6283
|
-
|
|
6284
|
-
|
|
6285
|
-
|
|
6286
|
-
|
|
6287
|
-
|
|
6288
|
-
|
|
6289
|
-
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
|
|
6293
|
-
|
|
6294
|
-
|
|
6295
|
-
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
|
|
6299
|
-
|
|
6300
|
-
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
|
-
|
|
6305
|
-
|
|
6306
|
-
|
|
6307
|
-
|
|
6308
|
-
|
|
6309
|
-
|
|
6310
|
-
|
|
6311
|
-
|
|
6312
|
-
plannedResources: "planned_resources",
|
|
6313
|
-
plannedResourcesUnavailable: "planned_resources_unavailable",
|
|
6314
|
-
postApplyMonthlyCostEstimate: "post_apply_monthly_cost_estimate",
|
|
6315
|
-
postApplyResources: "post_apply_resources",
|
|
6316
|
-
postApplyResourcesUnavailable: "post_apply_resources_unavailable",
|
|
6317
|
-
region: "region",
|
|
6318
|
-
status: "status",
|
|
6319
|
-
vpc: "vpc",
|
|
6320
|
-
vpcsById: "vpcs_by_id",
|
|
6321
|
-
vpcsByIdUnavailable: "vpcs_by_id_unavailable",
|
|
6322
|
-
}),
|
|
6323
|
-
)
|
|
6324
|
-
.pipe(T.ResponsePath("result")),
|
|
6169
|
+
export const UpdateOnRampResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
6170
|
+
Schema.Struct({
|
|
6171
|
+
id: Schema.String,
|
|
6172
|
+
cloudType: Schema.Union([
|
|
6173
|
+
Schema.Literals(["AWS", "AZURE", "GOOGLE"]),
|
|
6174
|
+
Schema.String,
|
|
6175
|
+
]),
|
|
6176
|
+
dynamicRouting: Schema.Boolean,
|
|
6177
|
+
installRoutesInCloud: Schema.Boolean,
|
|
6178
|
+
installRoutesInMagicWan: Schema.Boolean,
|
|
6179
|
+
name: Schema.String,
|
|
6180
|
+
type: Schema.Union([
|
|
6181
|
+
Schema.Literals(["OnrampTypeSingle", "OnrampTypeHub"]),
|
|
6182
|
+
Schema.String,
|
|
6183
|
+
]),
|
|
6184
|
+
updatedAt: Schema.String,
|
|
6185
|
+
attachedHubs: Schema.optional(
|
|
6186
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
6187
|
+
),
|
|
6188
|
+
attachedVpcs: Schema.optional(
|
|
6189
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
6190
|
+
),
|
|
6191
|
+
cloudAsn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
6192
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6193
|
+
hub: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6194
|
+
lastAppliedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6195
|
+
lastExportedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6196
|
+
lastPlannedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6197
|
+
manageHubToHubAttachments: Schema.optional(
|
|
6198
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
6199
|
+
),
|
|
6200
|
+
manageVpcToHubAttachments: Schema.optional(
|
|
6201
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
6202
|
+
),
|
|
6203
|
+
plannedMonthlyCostEstimate: Schema.optional(
|
|
6204
|
+
Schema.Union([PlannedMonthlyCostEstimate, Schema.Null]),
|
|
6205
|
+
),
|
|
6206
|
+
plannedResources: Schema.optional(
|
|
6207
|
+
Schema.Union([Schema.Array(PlannedResource), Schema.Null]),
|
|
6208
|
+
),
|
|
6209
|
+
plannedResourcesUnavailable: Schema.optional(
|
|
6210
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
6211
|
+
),
|
|
6212
|
+
postApplyMonthlyCostEstimate: Schema.optional(
|
|
6213
|
+
Schema.Union([PostApplyMonthlyCostEstimate, Schema.Null]),
|
|
6214
|
+
),
|
|
6215
|
+
postApplyResources: Schema.optional(
|
|
6216
|
+
Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
|
|
6217
|
+
),
|
|
6218
|
+
postApplyResourcesUnavailable: Schema.optional(
|
|
6219
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
6220
|
+
),
|
|
6221
|
+
region: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6222
|
+
status: Schema.optional(Schema.Union([Status2, Schema.Null])),
|
|
6223
|
+
vpc: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6224
|
+
vpcsById: Schema.optional(
|
|
6225
|
+
Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
|
|
6226
|
+
),
|
|
6227
|
+
vpcsByIdUnavailable: Schema.optional(
|
|
6228
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
6229
|
+
),
|
|
6230
|
+
})
|
|
6231
|
+
.pipe(
|
|
6232
|
+
Schema.encodeKeys({
|
|
6233
|
+
id: "id",
|
|
6234
|
+
cloudType: "cloud_type",
|
|
6235
|
+
dynamicRouting: "dynamic_routing",
|
|
6236
|
+
installRoutesInCloud: "install_routes_in_cloud",
|
|
6237
|
+
installRoutesInMagicWan: "install_routes_in_magic_wan",
|
|
6238
|
+
name: "name",
|
|
6239
|
+
type: "type",
|
|
6240
|
+
updatedAt: "updated_at",
|
|
6241
|
+
attachedHubs: "attached_hubs",
|
|
6242
|
+
attachedVpcs: "attached_vpcs",
|
|
6243
|
+
cloudAsn: "cloud_asn",
|
|
6244
|
+
description: "description",
|
|
6245
|
+
hub: "hub",
|
|
6246
|
+
lastAppliedAt: "last_applied_at",
|
|
6247
|
+
lastExportedAt: "last_exported_at",
|
|
6248
|
+
lastPlannedAt: "last_planned_at",
|
|
6249
|
+
manageHubToHubAttachments: "manage_hub_to_hub_attachments",
|
|
6250
|
+
manageVpcToHubAttachments: "manage_vpc_to_hub_attachments",
|
|
6251
|
+
plannedMonthlyCostEstimate: "planned_monthly_cost_estimate",
|
|
6252
|
+
plannedResources: "planned_resources",
|
|
6253
|
+
plannedResourcesUnavailable: "planned_resources_unavailable",
|
|
6254
|
+
postApplyMonthlyCostEstimate: "post_apply_monthly_cost_estimate",
|
|
6255
|
+
postApplyResources: "post_apply_resources",
|
|
6256
|
+
postApplyResourcesUnavailable: "post_apply_resources_unavailable",
|
|
6257
|
+
region: "region",
|
|
6258
|
+
status: "status",
|
|
6259
|
+
vpc: "vpc",
|
|
6260
|
+
vpcsById: "vpcs_by_id",
|
|
6261
|
+
vpcsByIdUnavailable: "vpcs_by_id_unavailable",
|
|
6262
|
+
}),
|
|
6263
|
+
)
|
|
6264
|
+
.pipe(T.ResponsePath("result")),
|
|
6325
6265
|
) as unknown as Schema.Codec<UpdateOnRampResponse>;
|
|
6326
6266
|
|
|
6327
6267
|
export type UpdateOnRampError =
|
|
@@ -6335,7 +6275,7 @@ export const updateOnRamp: API.OperationMethod<
|
|
|
6335
6275
|
UpdateOnRampResponse,
|
|
6336
6276
|
UpdateOnRampError,
|
|
6337
6277
|
Credentials | HttpClient.HttpClient
|
|
6338
|
-
> = /*@__PURE__*/
|
|
6278
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
6339
6279
|
input: UpdateOnRampRequest,
|
|
6340
6280
|
output: UpdateOnRampResponse,
|
|
6341
6281
|
errors: [FeatureNotEnabled, Forbidden, OnRampNotFound],
|
|
@@ -6365,37 +6305,36 @@ export interface PatchOnRampRequest {
|
|
|
6365
6305
|
vpc?: string;
|
|
6366
6306
|
}
|
|
6367
6307
|
|
|
6368
|
-
export const PatchOnRampRequest = /*@__PURE__*/
|
|
6369
|
-
(
|
|
6370
|
-
Schema.
|
|
6371
|
-
|
|
6372
|
-
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
|
|
6382
|
-
|
|
6383
|
-
|
|
6384
|
-
|
|
6385
|
-
|
|
6386
|
-
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
-
|
|
6390
|
-
|
|
6391
|
-
|
|
6392
|
-
|
|
6393
|
-
|
|
6394
|
-
|
|
6395
|
-
|
|
6396
|
-
|
|
6397
|
-
|
|
6398
|
-
),
|
|
6308
|
+
export const PatchOnRampRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
6309
|
+
Schema.Struct({
|
|
6310
|
+
onrampId: Schema.String.pipe(T.HttpPath("onrampId")),
|
|
6311
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
6312
|
+
attachedHubs: Schema.optional(Schema.Array(Schema.String)),
|
|
6313
|
+
attachedVpcs: Schema.optional(Schema.Array(Schema.String)),
|
|
6314
|
+
description: Schema.optional(Schema.String),
|
|
6315
|
+
installRoutesInCloud: Schema.optional(Schema.Boolean),
|
|
6316
|
+
installRoutesInMagicWan: Schema.optional(Schema.Boolean),
|
|
6317
|
+
manageHubToHubAttachments: Schema.optional(Schema.Boolean),
|
|
6318
|
+
manageVpcToHubAttachments: Schema.optional(Schema.Boolean),
|
|
6319
|
+
name: Schema.optional(Schema.String),
|
|
6320
|
+
vpc: Schema.optional(Schema.String),
|
|
6321
|
+
}).pipe(
|
|
6322
|
+
Schema.encodeKeys({
|
|
6323
|
+
attachedHubs: "attached_hubs",
|
|
6324
|
+
attachedVpcs: "attached_vpcs",
|
|
6325
|
+
description: "description",
|
|
6326
|
+
installRoutesInCloud: "install_routes_in_cloud",
|
|
6327
|
+
installRoutesInMagicWan: "install_routes_in_magic_wan",
|
|
6328
|
+
manageHubToHubAttachments: "manage_hub_to_hub_attachments",
|
|
6329
|
+
manageVpcToHubAttachments: "manage_vpc_to_hub_attachments",
|
|
6330
|
+
name: "name",
|
|
6331
|
+
vpc: "vpc",
|
|
6332
|
+
}),
|
|
6333
|
+
T.Http({
|
|
6334
|
+
method: "PATCH",
|
|
6335
|
+
path: "/accounts/{account_id}/magic/cloud/onramps/{onrampId}",
|
|
6336
|
+
}),
|
|
6337
|
+
),
|
|
6399
6338
|
) as unknown as Schema.Codec<PatchOnRampRequest>;
|
|
6400
6339
|
|
|
6401
6340
|
export interface PatchOnRampResponse {
|
|
@@ -6549,115 +6488,102 @@ export interface PatchOnRampResponse {
|
|
|
6549
6488
|
vpcsByIdUnavailable?: string[] | null;
|
|
6550
6489
|
}
|
|
6551
6490
|
|
|
6552
|
-
export const PatchOnRampResponse = /*@__PURE__*/
|
|
6553
|
-
(
|
|
6554
|
-
Schema.
|
|
6555
|
-
|
|
6556
|
-
|
|
6557
|
-
|
|
6558
|
-
|
|
6559
|
-
|
|
6560
|
-
|
|
6561
|
-
|
|
6562
|
-
|
|
6563
|
-
|
|
6564
|
-
|
|
6565
|
-
|
|
6566
|
-
|
|
6567
|
-
|
|
6568
|
-
|
|
6569
|
-
|
|
6570
|
-
|
|
6571
|
-
|
|
6572
|
-
|
|
6573
|
-
|
|
6574
|
-
|
|
6575
|
-
|
|
6576
|
-
|
|
6577
|
-
|
|
6578
|
-
|
|
6579
|
-
|
|
6580
|
-
|
|
6581
|
-
|
|
6582
|
-
|
|
6583
|
-
|
|
6584
|
-
|
|
6585
|
-
|
|
6586
|
-
|
|
6587
|
-
|
|
6588
|
-
|
|
6589
|
-
|
|
6590
|
-
|
|
6591
|
-
|
|
6592
|
-
|
|
6593
|
-
|
|
6594
|
-
|
|
6595
|
-
|
|
6596
|
-
|
|
6597
|
-
|
|
6598
|
-
|
|
6599
|
-
|
|
6600
|
-
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
|
|
6609
|
-
|
|
6610
|
-
|
|
6611
|
-
|
|
6612
|
-
|
|
6613
|
-
|
|
6614
|
-
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
|
|
6641
|
-
|
|
6642
|
-
|
|
6643
|
-
|
|
6644
|
-
|
|
6645
|
-
|
|
6646
|
-
|
|
6647
|
-
|
|
6648
|
-
plannedResources: "planned_resources",
|
|
6649
|
-
plannedResourcesUnavailable: "planned_resources_unavailable",
|
|
6650
|
-
postApplyMonthlyCostEstimate: "post_apply_monthly_cost_estimate",
|
|
6651
|
-
postApplyResources: "post_apply_resources",
|
|
6652
|
-
postApplyResourcesUnavailable: "post_apply_resources_unavailable",
|
|
6653
|
-
region: "region",
|
|
6654
|
-
status: "status",
|
|
6655
|
-
vpc: "vpc",
|
|
6656
|
-
vpcsById: "vpcs_by_id",
|
|
6657
|
-
vpcsByIdUnavailable: "vpcs_by_id_unavailable",
|
|
6658
|
-
}),
|
|
6659
|
-
)
|
|
6660
|
-
.pipe(T.ResponsePath("result")),
|
|
6491
|
+
export const PatchOnRampResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
6492
|
+
Schema.Struct({
|
|
6493
|
+
id: Schema.String,
|
|
6494
|
+
cloudType: Schema.Union([
|
|
6495
|
+
Schema.Literals(["AWS", "AZURE", "GOOGLE"]),
|
|
6496
|
+
Schema.String,
|
|
6497
|
+
]),
|
|
6498
|
+
dynamicRouting: Schema.Boolean,
|
|
6499
|
+
installRoutesInCloud: Schema.Boolean,
|
|
6500
|
+
installRoutesInMagicWan: Schema.Boolean,
|
|
6501
|
+
name: Schema.String,
|
|
6502
|
+
type: Schema.Union([
|
|
6503
|
+
Schema.Literals(["OnrampTypeSingle", "OnrampTypeHub"]),
|
|
6504
|
+
Schema.String,
|
|
6505
|
+
]),
|
|
6506
|
+
updatedAt: Schema.String,
|
|
6507
|
+
attachedHubs: Schema.optional(
|
|
6508
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
6509
|
+
),
|
|
6510
|
+
attachedVpcs: Schema.optional(
|
|
6511
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
6512
|
+
),
|
|
6513
|
+
cloudAsn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
|
|
6514
|
+
description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6515
|
+
hub: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6516
|
+
lastAppliedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6517
|
+
lastExportedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6518
|
+
lastPlannedAt: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6519
|
+
manageHubToHubAttachments: Schema.optional(
|
|
6520
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
6521
|
+
),
|
|
6522
|
+
manageVpcToHubAttachments: Schema.optional(
|
|
6523
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
6524
|
+
),
|
|
6525
|
+
plannedMonthlyCostEstimate: Schema.optional(
|
|
6526
|
+
Schema.Union([PlannedMonthlyCostEstimate, Schema.Null]),
|
|
6527
|
+
),
|
|
6528
|
+
plannedResources: Schema.optional(
|
|
6529
|
+
Schema.Union([Schema.Array(PlannedResource), Schema.Null]),
|
|
6530
|
+
),
|
|
6531
|
+
plannedResourcesUnavailable: Schema.optional(
|
|
6532
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
6533
|
+
),
|
|
6534
|
+
postApplyMonthlyCostEstimate: Schema.optional(
|
|
6535
|
+
Schema.Union([PostApplyMonthlyCostEstimate, Schema.Null]),
|
|
6536
|
+
),
|
|
6537
|
+
postApplyResources: Schema.optional(
|
|
6538
|
+
Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
|
|
6539
|
+
),
|
|
6540
|
+
postApplyResourcesUnavailable: Schema.optional(
|
|
6541
|
+
Schema.Union([Schema.Boolean, Schema.Null]),
|
|
6542
|
+
),
|
|
6543
|
+
region: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6544
|
+
status: Schema.optional(Schema.Union([Status2, Schema.Null])),
|
|
6545
|
+
vpc: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
6546
|
+
vpcsById: Schema.optional(
|
|
6547
|
+
Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]),
|
|
6548
|
+
),
|
|
6549
|
+
vpcsByIdUnavailable: Schema.optional(
|
|
6550
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
6551
|
+
),
|
|
6552
|
+
})
|
|
6553
|
+
.pipe(
|
|
6554
|
+
Schema.encodeKeys({
|
|
6555
|
+
id: "id",
|
|
6556
|
+
cloudType: "cloud_type",
|
|
6557
|
+
dynamicRouting: "dynamic_routing",
|
|
6558
|
+
installRoutesInCloud: "install_routes_in_cloud",
|
|
6559
|
+
installRoutesInMagicWan: "install_routes_in_magic_wan",
|
|
6560
|
+
name: "name",
|
|
6561
|
+
type: "type",
|
|
6562
|
+
updatedAt: "updated_at",
|
|
6563
|
+
attachedHubs: "attached_hubs",
|
|
6564
|
+
attachedVpcs: "attached_vpcs",
|
|
6565
|
+
cloudAsn: "cloud_asn",
|
|
6566
|
+
description: "description",
|
|
6567
|
+
hub: "hub",
|
|
6568
|
+
lastAppliedAt: "last_applied_at",
|
|
6569
|
+
lastExportedAt: "last_exported_at",
|
|
6570
|
+
lastPlannedAt: "last_planned_at",
|
|
6571
|
+
manageHubToHubAttachments: "manage_hub_to_hub_attachments",
|
|
6572
|
+
manageVpcToHubAttachments: "manage_vpc_to_hub_attachments",
|
|
6573
|
+
plannedMonthlyCostEstimate: "planned_monthly_cost_estimate",
|
|
6574
|
+
plannedResources: "planned_resources",
|
|
6575
|
+
plannedResourcesUnavailable: "planned_resources_unavailable",
|
|
6576
|
+
postApplyMonthlyCostEstimate: "post_apply_monthly_cost_estimate",
|
|
6577
|
+
postApplyResources: "post_apply_resources",
|
|
6578
|
+
postApplyResourcesUnavailable: "post_apply_resources_unavailable",
|
|
6579
|
+
region: "region",
|
|
6580
|
+
status: "status",
|
|
6581
|
+
vpc: "vpc",
|
|
6582
|
+
vpcsById: "vpcs_by_id",
|
|
6583
|
+
vpcsByIdUnavailable: "vpcs_by_id_unavailable",
|
|
6584
|
+
}),
|
|
6585
|
+
)
|
|
6586
|
+
.pipe(T.ResponsePath("result")),
|
|
6661
6587
|
) as unknown as Schema.Codec<PatchOnRampResponse>;
|
|
6662
6588
|
|
|
6663
6589
|
export type PatchOnRampError =
|
|
@@ -6671,7 +6597,7 @@ export const patchOnRamp: API.OperationMethod<
|
|
|
6671
6597
|
PatchOnRampResponse,
|
|
6672
6598
|
PatchOnRampError,
|
|
6673
6599
|
Credentials | HttpClient.HttpClient
|
|
6674
|
-
> = /*@__PURE__*/
|
|
6600
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
6675
6601
|
input: PatchOnRampRequest,
|
|
6676
6602
|
output: PatchOnRampResponse,
|
|
6677
6603
|
errors: [FeatureNotEnabled, Forbidden, OnRampNotFound],
|
|
@@ -6684,33 +6610,31 @@ export interface DeleteOnRampRequest {
|
|
|
6684
6610
|
/** Query param */
|
|
6685
6611
|
destroy?: boolean;
|
|
6686
6612
|
/** Query param */
|
|
6687
|
-
force?: boolean;
|
|
6688
|
-
}
|
|
6689
|
-
|
|
6690
|
-
export const DeleteOnRampRequest = /*@__PURE__*/
|
|
6691
|
-
(
|
|
6692
|
-
Schema.
|
|
6693
|
-
|
|
6694
|
-
|
|
6695
|
-
|
|
6696
|
-
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
|
|
6701
|
-
|
|
6702
|
-
),
|
|
6613
|
+
force?: boolean;
|
|
6614
|
+
}
|
|
6615
|
+
|
|
6616
|
+
export const DeleteOnRampRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
6617
|
+
Schema.Struct({
|
|
6618
|
+
onrampId: Schema.String.pipe(T.HttpPath("onrampId")),
|
|
6619
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
6620
|
+
destroy: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("destroy")),
|
|
6621
|
+
force: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("force")),
|
|
6622
|
+
}).pipe(
|
|
6623
|
+
T.Http({
|
|
6624
|
+
method: "DELETE",
|
|
6625
|
+
path: "/accounts/{account_id}/magic/cloud/onramps/{onrampId}",
|
|
6626
|
+
}),
|
|
6627
|
+
),
|
|
6703
6628
|
) as unknown as Schema.Codec<DeleteOnRampRequest>;
|
|
6704
6629
|
|
|
6705
6630
|
export interface DeleteOnRampResponse {
|
|
6706
6631
|
id: string;
|
|
6707
6632
|
}
|
|
6708
6633
|
|
|
6709
|
-
export const DeleteOnRampResponse = /*@__PURE__*/
|
|
6710
|
-
(
|
|
6711
|
-
Schema.
|
|
6712
|
-
|
|
6713
|
-
}).pipe(T.ResponsePath("result")),
|
|
6634
|
+
export const DeleteOnRampResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
6635
|
+
Schema.Struct({
|
|
6636
|
+
id: Schema.String,
|
|
6637
|
+
}).pipe(T.ResponsePath("result")),
|
|
6714
6638
|
) as unknown as Schema.Codec<DeleteOnRampResponse>;
|
|
6715
6639
|
|
|
6716
6640
|
export type DeleteOnRampError =
|
|
@@ -6724,7 +6648,7 @@ export const deleteOnRamp: API.OperationMethod<
|
|
|
6724
6648
|
DeleteOnRampResponse,
|
|
6725
6649
|
DeleteOnRampError,
|
|
6726
6650
|
Credentials | HttpClient.HttpClient
|
|
6727
|
-
> = /*@__PURE__*/
|
|
6651
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
6728
6652
|
input: DeleteOnRampRequest,
|
|
6729
6653
|
output: DeleteOnRampResponse,
|
|
6730
6654
|
errors: [FeatureNotEnabled, Forbidden, OnRampNotFound],
|
|
@@ -6735,17 +6659,16 @@ export interface ApplyOnRampRequest {
|
|
|
6735
6659
|
accountId: string;
|
|
6736
6660
|
}
|
|
6737
6661
|
|
|
6738
|
-
export const ApplyOnRampRequest = /*@__PURE__*/
|
|
6739
|
-
(
|
|
6740
|
-
Schema.
|
|
6741
|
-
|
|
6742
|
-
|
|
6743
|
-
|
|
6744
|
-
|
|
6745
|
-
|
|
6746
|
-
|
|
6747
|
-
|
|
6748
|
-
),
|
|
6662
|
+
export const ApplyOnRampRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
6663
|
+
Schema.Struct({
|
|
6664
|
+
onrampId: Schema.String.pipe(T.HttpPath("onrampId")),
|
|
6665
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
6666
|
+
}).pipe(
|
|
6667
|
+
T.Http({
|
|
6668
|
+
method: "POST",
|
|
6669
|
+
path: "/accounts/{account_id}/magic/cloud/onramps/{onrampId}/apply",
|
|
6670
|
+
}),
|
|
6671
|
+
),
|
|
6749
6672
|
) as unknown as Schema.Codec<ApplyOnRampRequest>;
|
|
6750
6673
|
|
|
6751
6674
|
export interface ApplyOnRampResponse {
|
|
@@ -7096,13 +7019,12 @@ export interface ApplyOnRampResponse {
|
|
|
7096
7019
|
success: boolean;
|
|
7097
7020
|
}
|
|
7098
7021
|
|
|
7099
|
-
export const ApplyOnRampResponse = /*@__PURE__*/
|
|
7100
|
-
(
|
|
7101
|
-
Schema.
|
|
7102
|
-
|
|
7103
|
-
|
|
7104
|
-
|
|
7105
|
-
}),
|
|
7022
|
+
export const ApplyOnRampResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
7023
|
+
Schema.Struct({
|
|
7024
|
+
errors: Schema.Array(Error2),
|
|
7025
|
+
messages: Schema.Array(Error2),
|
|
7026
|
+
success: Schema.Boolean,
|
|
7027
|
+
}),
|
|
7106
7028
|
) as unknown as Schema.Codec<ApplyOnRampResponse>;
|
|
7107
7029
|
|
|
7108
7030
|
export type ApplyOnRampError = DefaultErrors;
|
|
@@ -7112,7 +7034,7 @@ export const applyOnRamp: API.OperationMethod<
|
|
|
7112
7034
|
ApplyOnRampResponse,
|
|
7113
7035
|
ApplyOnRampError,
|
|
7114
7036
|
Credentials | HttpClient.HttpClient
|
|
7115
|
-
> = /*@__PURE__*/
|
|
7037
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
7116
7038
|
input: ApplyOnRampRequest,
|
|
7117
7039
|
output: ApplyOnRampResponse,
|
|
7118
7040
|
errors: [],
|
|
@@ -7123,22 +7045,21 @@ export interface ExportOnRampRequest {
|
|
|
7123
7045
|
accountId: string;
|
|
7124
7046
|
}
|
|
7125
7047
|
|
|
7126
|
-
export const ExportOnRampRequest = /*@__PURE__*/
|
|
7127
|
-
(
|
|
7128
|
-
Schema.
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
),
|
|
7048
|
+
export const ExportOnRampRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
7049
|
+
Schema.Struct({
|
|
7050
|
+
onrampId: Schema.String.pipe(T.HttpPath("onrampId")),
|
|
7051
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
7052
|
+
}).pipe(
|
|
7053
|
+
T.Http({
|
|
7054
|
+
method: "POST",
|
|
7055
|
+
path: "/accounts/{account_id}/magic/cloud/onramps/{onrampId}/export",
|
|
7056
|
+
}),
|
|
7057
|
+
),
|
|
7137
7058
|
) as unknown as Schema.Codec<ExportOnRampRequest>;
|
|
7138
7059
|
|
|
7139
7060
|
export type ExportOnRampResponse = unknown;
|
|
7140
7061
|
|
|
7141
|
-
export const ExportOnRampResponse = /*@__PURE__*/
|
|
7062
|
+
export const ExportOnRampResponse = /*@__PURE__*/ Schema.suspend(
|
|
7142
7063
|
() => Schema.Unknown,
|
|
7143
7064
|
) as unknown as Schema.Codec<ExportOnRampResponse>;
|
|
7144
7065
|
|
|
@@ -7149,7 +7070,7 @@ export const exportOnRamp: API.OperationMethod<
|
|
|
7149
7070
|
ExportOnRampResponse,
|
|
7150
7071
|
ExportOnRampError,
|
|
7151
7072
|
Credentials | HttpClient.HttpClient
|
|
7152
|
-
> = /*@__PURE__*/
|
|
7073
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
7153
7074
|
input: ExportOnRampRequest,
|
|
7154
7075
|
output: ExportOnRampResponse,
|
|
7155
7076
|
errors: [],
|
|
@@ -7160,17 +7081,16 @@ export interface PlanOnRampRequest {
|
|
|
7160
7081
|
accountId: string;
|
|
7161
7082
|
}
|
|
7162
7083
|
|
|
7163
|
-
export const PlanOnRampRequest = /*@__PURE__*/
|
|
7164
|
-
(
|
|
7165
|
-
Schema.
|
|
7166
|
-
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
),
|
|
7084
|
+
export const PlanOnRampRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
7085
|
+
Schema.Struct({
|
|
7086
|
+
onrampId: Schema.String.pipe(T.HttpPath("onrampId")),
|
|
7087
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
7088
|
+
}).pipe(
|
|
7089
|
+
T.Http({
|
|
7090
|
+
method: "POST",
|
|
7091
|
+
path: "/accounts/{account_id}/magic/cloud/onramps/{onrampId}/plan",
|
|
7092
|
+
}),
|
|
7093
|
+
),
|
|
7174
7094
|
) as unknown as Schema.Codec<PlanOnRampRequest>;
|
|
7175
7095
|
|
|
7176
7096
|
export interface PlanOnRampResponse {
|
|
@@ -7521,13 +7441,12 @@ export interface PlanOnRampResponse {
|
|
|
7521
7441
|
success: boolean;
|
|
7522
7442
|
}
|
|
7523
7443
|
|
|
7524
|
-
export const PlanOnRampResponse = /*@__PURE__*/
|
|
7525
|
-
(
|
|
7526
|
-
Schema.
|
|
7527
|
-
|
|
7528
|
-
|
|
7529
|
-
|
|
7530
|
-
}),
|
|
7444
|
+
export const PlanOnRampResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
7445
|
+
Schema.Struct({
|
|
7446
|
+
errors: Schema.Array(Error2),
|
|
7447
|
+
messages: Schema.Array(Error2),
|
|
7448
|
+
success: Schema.Boolean,
|
|
7449
|
+
}),
|
|
7531
7450
|
) as unknown as Schema.Codec<PlanOnRampResponse>;
|
|
7532
7451
|
|
|
7533
7452
|
export type PlanOnRampError = DefaultErrors;
|
|
@@ -7537,7 +7456,7 @@ export const planOnRamp: API.OperationMethod<
|
|
|
7537
7456
|
PlanOnRampResponse,
|
|
7538
7457
|
PlanOnRampError,
|
|
7539
7458
|
Credentials | HttpClient.HttpClient
|
|
7540
|
-
> = /*@__PURE__*/
|
|
7459
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
7541
7460
|
input: PlanOnRampRequest,
|
|
7542
7461
|
output: PlanOnRampResponse,
|
|
7543
7462
|
errors: [],
|
|
@@ -7552,7 +7471,7 @@ export interface ListOnRampAddressSpacesRequest {
|
|
|
7552
7471
|
}
|
|
7553
7472
|
|
|
7554
7473
|
export const ListOnRampAddressSpacesRequest =
|
|
7555
|
-
/*@__PURE__*/
|
|
7474
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
7556
7475
|
Schema.Struct({
|
|
7557
7476
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
7558
7477
|
}).pipe(
|
|
@@ -7568,7 +7487,7 @@ export interface ListOnRampAddressSpacesResponse {
|
|
|
7568
7487
|
}
|
|
7569
7488
|
|
|
7570
7489
|
export const ListOnRampAddressSpacesResponse =
|
|
7571
|
-
/*@__PURE__*/
|
|
7490
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
7572
7491
|
Schema.Struct({
|
|
7573
7492
|
prefixes: Schema.Array(Schema.String),
|
|
7574
7493
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -7581,7 +7500,7 @@ export const listOnRampAddressSpaces: API.OperationMethod<
|
|
|
7581
7500
|
ListOnRampAddressSpacesResponse,
|
|
7582
7501
|
ListOnRampAddressSpacesError,
|
|
7583
7502
|
Credentials | HttpClient.HttpClient
|
|
7584
|
-
> = /*@__PURE__*/
|
|
7503
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
7585
7504
|
input: ListOnRampAddressSpacesRequest,
|
|
7586
7505
|
output: ListOnRampAddressSpacesResponse,
|
|
7587
7506
|
errors: [],
|
|
@@ -7595,7 +7514,7 @@ export interface PutOnRampAddressSpaceRequest {
|
|
|
7595
7514
|
}
|
|
7596
7515
|
|
|
7597
7516
|
export const PutOnRampAddressSpaceRequest =
|
|
7598
|
-
/*@__PURE__*/
|
|
7517
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
7599
7518
|
Schema.Struct({
|
|
7600
7519
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
7601
7520
|
prefixes: Schema.Array(Schema.String),
|
|
@@ -7612,7 +7531,7 @@ export interface PutOnRampAddressSpaceResponse {
|
|
|
7612
7531
|
}
|
|
7613
7532
|
|
|
7614
7533
|
export const PutOnRampAddressSpaceResponse =
|
|
7615
|
-
/*@__PURE__*/
|
|
7534
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
7616
7535
|
Schema.Struct({
|
|
7617
7536
|
prefixes: Schema.Array(Schema.String),
|
|
7618
7537
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -7625,7 +7544,7 @@ export const putOnRampAddressSpace: API.OperationMethod<
|
|
|
7625
7544
|
PutOnRampAddressSpaceResponse,
|
|
7626
7545
|
PutOnRampAddressSpaceError,
|
|
7627
7546
|
Credentials | HttpClient.HttpClient
|
|
7628
|
-
> = /*@__PURE__*/
|
|
7547
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
7629
7548
|
input: PutOnRampAddressSpaceRequest,
|
|
7630
7549
|
output: PutOnRampAddressSpaceResponse,
|
|
7631
7550
|
errors: [],
|
|
@@ -7639,7 +7558,7 @@ export interface PatchOnRampAddressSpaceRequest {
|
|
|
7639
7558
|
}
|
|
7640
7559
|
|
|
7641
7560
|
export const PatchOnRampAddressSpaceRequest =
|
|
7642
|
-
/*@__PURE__*/
|
|
7561
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
7643
7562
|
Schema.Struct({
|
|
7644
7563
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
7645
7564
|
prefixes: Schema.Array(Schema.String),
|
|
@@ -7656,7 +7575,7 @@ export interface PatchOnRampAddressSpaceResponse {
|
|
|
7656
7575
|
}
|
|
7657
7576
|
|
|
7658
7577
|
export const PatchOnRampAddressSpaceResponse =
|
|
7659
|
-
/*@__PURE__*/
|
|
7578
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
7660
7579
|
Schema.Struct({
|
|
7661
7580
|
prefixes: Schema.Array(Schema.String),
|
|
7662
7581
|
}).pipe(T.ResponsePath("result")),
|
|
@@ -7669,7 +7588,7 @@ export const patchOnRampAddressSpace: API.OperationMethod<
|
|
|
7669
7588
|
PatchOnRampAddressSpaceResponse,
|
|
7670
7589
|
PatchOnRampAddressSpaceError,
|
|
7671
7590
|
Credentials | HttpClient.HttpClient
|
|
7672
|
-
> = /*@__PURE__*/
|
|
7591
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
7673
7592
|
input: PatchOnRampAddressSpaceRequest,
|
|
7674
7593
|
output: PatchOnRampAddressSpaceResponse,
|
|
7675
7594
|
errors: [],
|
|
@@ -7687,7 +7606,7 @@ export interface PolicyPreviewResourceRequest {
|
|
|
7687
7606
|
}
|
|
7688
7607
|
|
|
7689
7608
|
export const PolicyPreviewResourceRequest =
|
|
7690
|
-
/*@__PURE__*/
|
|
7609
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
7691
7610
|
Schema.Struct({
|
|
7692
7611
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
7693
7612
|
policy: Schema.String,
|
|
@@ -7702,7 +7621,7 @@ export const PolicyPreviewResourceRequest =
|
|
|
7702
7621
|
export type PolicyPreviewResourceResponse = string;
|
|
7703
7622
|
|
|
7704
7623
|
export const PolicyPreviewResourceResponse =
|
|
7705
|
-
/*@__PURE__*/
|
|
7624
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
7706
7625
|
Schema.String.pipe(T.ResponsePath("result")),
|
|
7707
7626
|
) as unknown as Schema.Codec<PolicyPreviewResourceResponse>;
|
|
7708
7627
|
|
|
@@ -7713,7 +7632,7 @@ export const policyPreviewResource: API.OperationMethod<
|
|
|
7713
7632
|
PolicyPreviewResourceResponse,
|
|
7714
7633
|
PolicyPreviewResourceError,
|
|
7715
7634
|
Credentials | HttpClient.HttpClient
|
|
7716
|
-
> = /*@__PURE__*/
|
|
7635
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
7717
7636
|
input: PolicyPreviewResourceRequest,
|
|
7718
7637
|
output: PolicyPreviewResourceResponse,
|
|
7719
7638
|
errors: [],
|
|
@@ -7731,18 +7650,17 @@ export interface GetResourceRequest {
|
|
|
7731
7650
|
v2?: boolean;
|
|
7732
7651
|
}
|
|
7733
7652
|
|
|
7734
|
-
export const GetResourceRequest = /*@__PURE__*/
|
|
7735
|
-
(
|
|
7736
|
-
Schema.
|
|
7737
|
-
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
|
|
7742
|
-
|
|
7743
|
-
|
|
7744
|
-
|
|
7745
|
-
),
|
|
7653
|
+
export const GetResourceRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
7654
|
+
Schema.Struct({
|
|
7655
|
+
resourceId: Schema.String.pipe(T.HttpPath("resourceId")),
|
|
7656
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
7657
|
+
v2: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("v2")),
|
|
7658
|
+
}).pipe(
|
|
7659
|
+
T.Http({
|
|
7660
|
+
method: "GET",
|
|
7661
|
+
path: "/accounts/{account_id}/magic/cloud/resources/{resourceId}",
|
|
7662
|
+
}),
|
|
7663
|
+
),
|
|
7746
7664
|
) as unknown as Schema.Codec<GetResourceRequest>;
|
|
7747
7665
|
|
|
7748
7666
|
export interface GetResourceResponse {
|
|
@@ -8050,123 +7968,122 @@ export interface GetResourceResponse {
|
|
|
8050
7968
|
| null;
|
|
8051
7969
|
}
|
|
8052
7970
|
|
|
8053
|
-
export const GetResourceResponse = /*@__PURE__*/
|
|
8054
|
-
(
|
|
8055
|
-
Schema.
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
|
|
8060
|
-
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
|
|
8065
|
-
|
|
8066
|
-
|
|
8067
|
-
|
|
8068
|
-
|
|
8069
|
-
|
|
8070
|
-
|
|
8071
|
-
|
|
8072
|
-
|
|
8073
|
-
|
|
8074
|
-
|
|
8075
|
-
|
|
8076
|
-
|
|
8077
|
-
|
|
8078
|
-
|
|
8079
|
-
|
|
8080
|
-
|
|
8081
|
-
|
|
8082
|
-
|
|
8083
|
-
|
|
8084
|
-
|
|
8085
|
-
|
|
8086
|
-
|
|
8087
|
-
|
|
8088
|
-
|
|
8089
|
-
|
|
8090
|
-
|
|
8091
|
-
|
|
8092
|
-
|
|
8093
|
-
|
|
8094
|
-
|
|
8095
|
-
|
|
8096
|
-
|
|
8097
|
-
|
|
8098
|
-
|
|
8099
|
-
|
|
8100
|
-
|
|
8101
|
-
|
|
8102
|
-
|
|
8103
|
-
|
|
8104
|
-
|
|
8105
|
-
|
|
8106
|
-
|
|
8107
|
-
|
|
8108
|
-
|
|
8109
|
-
|
|
8110
|
-
|
|
8111
|
-
|
|
8112
|
-
|
|
8113
|
-
|
|
8114
|
-
|
|
8115
|
-
|
|
8116
|
-
|
|
8117
|
-
|
|
8118
|
-
|
|
8119
|
-
|
|
8120
|
-
|
|
8121
|
-
|
|
8122
|
-
|
|
8123
|
-
|
|
8124
|
-
|
|
8125
|
-
|
|
8126
|
-
|
|
8127
|
-
|
|
8128
|
-
|
|
8129
|
-
|
|
8130
|
-
|
|
8131
|
-
"cloudflare_ipsec_tunnel",
|
|
8132
|
-
]),
|
|
8133
|
-
Schema.String,
|
|
7971
|
+
export const GetResourceResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
7972
|
+
Schema.Struct({
|
|
7973
|
+
id: Schema.String,
|
|
7974
|
+
accountId: Schema.String,
|
|
7975
|
+
cloudType: Schema.Union([
|
|
7976
|
+
Schema.Literals(["AWS", "AZURE", "GOOGLE", "CLOUDFLARE"]),
|
|
7977
|
+
Schema.String,
|
|
7978
|
+
]),
|
|
7979
|
+
config: Schema.Record(Schema.String, Schema.Unknown),
|
|
7980
|
+
deploymentProvider: Schema.String,
|
|
7981
|
+
managed: Schema.Boolean,
|
|
7982
|
+
monthlyCostEstimate: PostApplyMonthlyCostEstimate,
|
|
7983
|
+
name: Schema.String,
|
|
7984
|
+
nativeId: Schema.String,
|
|
7985
|
+
observations: Schema.Record(Schema.String, Schema.Unknown),
|
|
7986
|
+
providerIds: Schema.Array(Schema.String),
|
|
7987
|
+
providerNamesById: Schema.Record(Schema.String, Schema.Unknown),
|
|
7988
|
+
region: Schema.String,
|
|
7989
|
+
resourceGroup: Schema.String,
|
|
7990
|
+
resourceType: Schema.Union([
|
|
7991
|
+
Schema.Literals([
|
|
7992
|
+
"aws_customer_gateway",
|
|
7993
|
+
"aws_egress_only_internet_gateway",
|
|
7994
|
+
"aws_internet_gateway",
|
|
7995
|
+
"aws_instance",
|
|
7996
|
+
"aws_network_interface",
|
|
7997
|
+
"aws_route",
|
|
7998
|
+
"aws_route_table",
|
|
7999
|
+
"aws_route_table_association",
|
|
8000
|
+
"aws_subnet",
|
|
8001
|
+
"aws_vpc",
|
|
8002
|
+
"aws_vpc_ipv4_cidr_block_association",
|
|
8003
|
+
"aws_vpn_connection",
|
|
8004
|
+
"aws_vpn_connection_route",
|
|
8005
|
+
"aws_vpn_gateway",
|
|
8006
|
+
"aws_security_group",
|
|
8007
|
+
"aws_vpc_security_group_ingress_rule",
|
|
8008
|
+
"aws_vpc_security_group_egress_rule",
|
|
8009
|
+
"aws_ec2_managed_prefix_list",
|
|
8010
|
+
"aws_ec2_transit_gateway",
|
|
8011
|
+
"aws_ec2_transit_gateway_prefix_list_reference",
|
|
8012
|
+
"aws_ec2_transit_gateway_vpc_attachment",
|
|
8013
|
+
"azurerm_application_security_group",
|
|
8014
|
+
"azurerm_lb",
|
|
8015
|
+
"azurerm_lb_backend_address_pool",
|
|
8016
|
+
"azurerm_lb_nat_pool",
|
|
8017
|
+
"azurerm_lb_nat_rule",
|
|
8018
|
+
"azurerm_lb_rule",
|
|
8019
|
+
"azurerm_local_network_gateway",
|
|
8020
|
+
"azurerm_network_interface",
|
|
8021
|
+
"azurerm_network_interface_application_security_group_association",
|
|
8022
|
+
"azurerm_network_interface_backend_address_pool_association",
|
|
8023
|
+
"azurerm_network_interface_security_group_association",
|
|
8024
|
+
"azurerm_network_security_group",
|
|
8025
|
+
"azurerm_public_ip",
|
|
8026
|
+
"azurerm_route",
|
|
8027
|
+
"azurerm_route_table",
|
|
8028
|
+
"azurerm_subnet",
|
|
8029
|
+
"azurerm_subnet_route_table_association",
|
|
8030
|
+
"azurerm_virtual_machine",
|
|
8031
|
+
"azurerm_virtual_network_gateway_connection",
|
|
8032
|
+
"azurerm_virtual_network",
|
|
8033
|
+
"azurerm_virtual_network_gateway",
|
|
8034
|
+
"google_compute_network",
|
|
8035
|
+
"google_compute_subnetwork",
|
|
8036
|
+
"google_compute_vpn_gateway",
|
|
8037
|
+
"google_compute_vpn_tunnel",
|
|
8038
|
+
"google_compute_route",
|
|
8039
|
+
"google_compute_address",
|
|
8040
|
+
"google_compute_global_address",
|
|
8041
|
+
"google_compute_router",
|
|
8042
|
+
"google_compute_interconnect_attachment",
|
|
8043
|
+
"google_compute_ha_vpn_gateway",
|
|
8044
|
+
"google_compute_forwarding_rule",
|
|
8045
|
+
"google_compute_network_firewall_policy",
|
|
8046
|
+
"google_compute_network_firewall_policy_rule",
|
|
8047
|
+
"cloudflare_static_route",
|
|
8048
|
+
"cloudflare_ipsec_tunnel",
|
|
8134
8049
|
]),
|
|
8135
|
-
|
|
8136
|
-
|
|
8137
|
-
|
|
8138
|
-
|
|
8139
|
-
|
|
8140
|
-
|
|
8141
|
-
|
|
8142
|
-
|
|
8143
|
-
|
|
8144
|
-
|
|
8145
|
-
|
|
8146
|
-
|
|
8147
|
-
|
|
8148
|
-
|
|
8149
|
-
|
|
8150
|
-
|
|
8151
|
-
|
|
8152
|
-
|
|
8153
|
-
|
|
8154
|
-
|
|
8155
|
-
|
|
8156
|
-
|
|
8157
|
-
|
|
8158
|
-
|
|
8159
|
-
|
|
8160
|
-
|
|
8161
|
-
|
|
8162
|
-
|
|
8163
|
-
|
|
8164
|
-
|
|
8165
|
-
|
|
8166
|
-
|
|
8167
|
-
|
|
8168
|
-
|
|
8169
|
-
|
|
8050
|
+
Schema.String,
|
|
8051
|
+
]),
|
|
8052
|
+
sections: Schema.Array(Section),
|
|
8053
|
+
state: Schema.Record(Schema.String, Schema.Unknown),
|
|
8054
|
+
tags: Schema.Record(Schema.String, Schema.Unknown),
|
|
8055
|
+
updatedAt: Schema.String,
|
|
8056
|
+
url: Schema.String,
|
|
8057
|
+
managedBy: Schema.optional(
|
|
8058
|
+
Schema.Union([Schema.Array(InUseBy), Schema.Null]),
|
|
8059
|
+
),
|
|
8060
|
+
})
|
|
8061
|
+
.pipe(
|
|
8062
|
+
Schema.encodeKeys({
|
|
8063
|
+
id: "id",
|
|
8064
|
+
accountId: "account_id",
|
|
8065
|
+
cloudType: "cloud_type",
|
|
8066
|
+
config: "config",
|
|
8067
|
+
deploymentProvider: "deployment_provider",
|
|
8068
|
+
managed: "managed",
|
|
8069
|
+
monthlyCostEstimate: "monthly_cost_estimate",
|
|
8070
|
+
name: "name",
|
|
8071
|
+
nativeId: "native_id",
|
|
8072
|
+
observations: "observations",
|
|
8073
|
+
providerIds: "provider_ids",
|
|
8074
|
+
providerNamesById: "provider_names_by_id",
|
|
8075
|
+
region: "region",
|
|
8076
|
+
resourceGroup: "resource_group",
|
|
8077
|
+
resourceType: "resource_type",
|
|
8078
|
+
sections: "sections",
|
|
8079
|
+
state: "state",
|
|
8080
|
+
tags: "tags",
|
|
8081
|
+
updatedAt: "updated_at",
|
|
8082
|
+
url: "url",
|
|
8083
|
+
managedBy: "managed_by",
|
|
8084
|
+
}),
|
|
8085
|
+
)
|
|
8086
|
+
.pipe(T.ResponsePath("result")),
|
|
8170
8087
|
) as unknown as Schema.Codec<GetResourceResponse>;
|
|
8171
8088
|
|
|
8172
8089
|
export type GetResourceError = DefaultErrors;
|
|
@@ -8176,7 +8093,7 @@ export const getResource: API.OperationMethod<
|
|
|
8176
8093
|
GetResourceResponse,
|
|
8177
8094
|
GetResourceError,
|
|
8178
8095
|
Credentials | HttpClient.HttpClient
|
|
8179
|
-
> = /*@__PURE__*/
|
|
8096
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
8180
8097
|
input: GetResourceRequest,
|
|
8181
8098
|
output: GetResourceResponse,
|
|
8182
8099
|
errors: [],
|
|
@@ -8270,104 +8187,99 @@ export interface ListResourcesRequest {
|
|
|
8270
8187
|
v2?: boolean;
|
|
8271
8188
|
}
|
|
8272
8189
|
|
|
8273
|
-
export const ListResourcesRequest = /*@__PURE__*/
|
|
8274
|
-
(
|
|
8275
|
-
Schema.
|
|
8276
|
-
|
|
8277
|
-
|
|
8278
|
-
|
|
8279
|
-
|
|
8280
|
-
|
|
8281
|
-
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
|
|
8286
|
-
|
|
8287
|
-
|
|
8288
|
-
|
|
8289
|
-
|
|
8290
|
-
|
|
8291
|
-
|
|
8292
|
-
|
|
8293
|
-
|
|
8294
|
-
|
|
8295
|
-
|
|
8296
|
-
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
|
|
8300
|
-
|
|
8301
|
-
|
|
8302
|
-
|
|
8303
|
-
|
|
8304
|
-
|
|
8305
|
-
|
|
8306
|
-
|
|
8307
|
-
|
|
8308
|
-
|
|
8309
|
-
|
|
8310
|
-
|
|
8311
|
-
|
|
8312
|
-
|
|
8313
|
-
|
|
8314
|
-
|
|
8315
|
-
|
|
8316
|
-
|
|
8317
|
-
|
|
8318
|
-
|
|
8319
|
-
|
|
8320
|
-
|
|
8321
|
-
|
|
8322
|
-
|
|
8323
|
-
|
|
8324
|
-
|
|
8325
|
-
|
|
8326
|
-
|
|
8327
|
-
|
|
8328
|
-
|
|
8329
|
-
|
|
8330
|
-
|
|
8331
|
-
|
|
8332
|
-
|
|
8333
|
-
|
|
8334
|
-
|
|
8335
|
-
|
|
8336
|
-
|
|
8337
|
-
|
|
8338
|
-
|
|
8339
|
-
|
|
8340
|
-
|
|
8341
|
-
|
|
8342
|
-
|
|
8343
|
-
|
|
8344
|
-
|
|
8345
|
-
|
|
8346
|
-
|
|
8347
|
-
|
|
8348
|
-
|
|
8349
|
-
|
|
8350
|
-
|
|
8351
|
-
"google_compute_forwarding_rule",
|
|
8352
|
-
"google_compute_network_firewall_policy",
|
|
8353
|
-
"google_compute_network_firewall_policy_rule",
|
|
8354
|
-
"cloudflare_static_route",
|
|
8355
|
-
"cloudflare_ipsec_tunnel",
|
|
8356
|
-
]),
|
|
8357
|
-
Schema.String,
|
|
8190
|
+
export const ListResourcesRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
8191
|
+
Schema.Struct({
|
|
8192
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
8193
|
+
page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
|
|
8194
|
+
perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
|
|
8195
|
+
cloudflare: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("cloudflare")),
|
|
8196
|
+
desc: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("desc")),
|
|
8197
|
+
managed: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("managed")),
|
|
8198
|
+
orderBy: Schema.optional(Schema.String).pipe(T.HttpQuery("order_by")),
|
|
8199
|
+
providerId: Schema.optional(Schema.String).pipe(T.HttpQuery("provider_id")),
|
|
8200
|
+
region: Schema.optional(Schema.String).pipe(T.HttpQuery("region")),
|
|
8201
|
+
resourceGroup: Schema.optional(Schema.String).pipe(
|
|
8202
|
+
T.HttpQuery("resource_group"),
|
|
8203
|
+
),
|
|
8204
|
+
resourceId: Schema.optional(Schema.Array(Schema.String)).pipe(
|
|
8205
|
+
T.HttpQuery("resource_id"),
|
|
8206
|
+
),
|
|
8207
|
+
resourceType: Schema.optional(
|
|
8208
|
+
Schema.Array(
|
|
8209
|
+
Schema.Union([
|
|
8210
|
+
Schema.Literals([
|
|
8211
|
+
"aws_customer_gateway",
|
|
8212
|
+
"aws_egress_only_internet_gateway",
|
|
8213
|
+
"aws_internet_gateway",
|
|
8214
|
+
"aws_instance",
|
|
8215
|
+
"aws_network_interface",
|
|
8216
|
+
"aws_route",
|
|
8217
|
+
"aws_route_table",
|
|
8218
|
+
"aws_route_table_association",
|
|
8219
|
+
"aws_subnet",
|
|
8220
|
+
"aws_vpc",
|
|
8221
|
+
"aws_vpc_ipv4_cidr_block_association",
|
|
8222
|
+
"aws_vpn_connection",
|
|
8223
|
+
"aws_vpn_connection_route",
|
|
8224
|
+
"aws_vpn_gateway",
|
|
8225
|
+
"aws_security_group",
|
|
8226
|
+
"aws_vpc_security_group_ingress_rule",
|
|
8227
|
+
"aws_vpc_security_group_egress_rule",
|
|
8228
|
+
"aws_ec2_managed_prefix_list",
|
|
8229
|
+
"aws_ec2_transit_gateway",
|
|
8230
|
+
"aws_ec2_transit_gateway_prefix_list_reference",
|
|
8231
|
+
"aws_ec2_transit_gateway_vpc_attachment",
|
|
8232
|
+
"azurerm_application_security_group",
|
|
8233
|
+
"azurerm_lb",
|
|
8234
|
+
"azurerm_lb_backend_address_pool",
|
|
8235
|
+
"azurerm_lb_nat_pool",
|
|
8236
|
+
"azurerm_lb_nat_rule",
|
|
8237
|
+
"azurerm_lb_rule",
|
|
8238
|
+
"azurerm_local_network_gateway",
|
|
8239
|
+
"azurerm_network_interface",
|
|
8240
|
+
"azurerm_network_interface_application_security_group_association",
|
|
8241
|
+
"azurerm_network_interface_backend_address_pool_association",
|
|
8242
|
+
"azurerm_network_interface_security_group_association",
|
|
8243
|
+
"azurerm_network_security_group",
|
|
8244
|
+
"azurerm_public_ip",
|
|
8245
|
+
"azurerm_route",
|
|
8246
|
+
"azurerm_route_table",
|
|
8247
|
+
"azurerm_subnet",
|
|
8248
|
+
"azurerm_subnet_route_table_association",
|
|
8249
|
+
"azurerm_virtual_machine",
|
|
8250
|
+
"azurerm_virtual_network_gateway_connection",
|
|
8251
|
+
"azurerm_virtual_network",
|
|
8252
|
+
"azurerm_virtual_network_gateway",
|
|
8253
|
+
"google_compute_network",
|
|
8254
|
+
"google_compute_subnetwork",
|
|
8255
|
+
"google_compute_vpn_gateway",
|
|
8256
|
+
"google_compute_vpn_tunnel",
|
|
8257
|
+
"google_compute_route",
|
|
8258
|
+
"google_compute_address",
|
|
8259
|
+
"google_compute_global_address",
|
|
8260
|
+
"google_compute_router",
|
|
8261
|
+
"google_compute_interconnect_attachment",
|
|
8262
|
+
"google_compute_ha_vpn_gateway",
|
|
8263
|
+
"google_compute_forwarding_rule",
|
|
8264
|
+
"google_compute_network_firewall_policy",
|
|
8265
|
+
"google_compute_network_firewall_policy_rule",
|
|
8266
|
+
"cloudflare_static_route",
|
|
8267
|
+
"cloudflare_ipsec_tunnel",
|
|
8358
8268
|
]),
|
|
8359
|
-
|
|
8360
|
-
|
|
8361
|
-
search: Schema.optional(Schema.Array(Schema.String)).pipe(
|
|
8362
|
-
T.HttpQuery("search"),
|
|
8269
|
+
Schema.String,
|
|
8270
|
+
]),
|
|
8363
8271
|
),
|
|
8364
|
-
|
|
8365
|
-
|
|
8366
|
-
T.
|
|
8367
|
-
method: "GET",
|
|
8368
|
-
path: "/accounts/{account_id}/magic/cloud/resources",
|
|
8369
|
-
}),
|
|
8272
|
+
).pipe(T.HttpQuery("resource_type")),
|
|
8273
|
+
search: Schema.optional(Schema.Array(Schema.String)).pipe(
|
|
8274
|
+
T.HttpQuery("search"),
|
|
8370
8275
|
),
|
|
8276
|
+
v2: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("v2")),
|
|
8277
|
+
}).pipe(
|
|
8278
|
+
T.Http({
|
|
8279
|
+
method: "GET",
|
|
8280
|
+
path: "/accounts/{account_id}/magic/cloud/resources",
|
|
8281
|
+
}),
|
|
8282
|
+
),
|
|
8371
8283
|
) as unknown as Schema.Codec<ListResourcesRequest>;
|
|
8372
8284
|
|
|
8373
8285
|
export interface ListResourcesResponse {
|
|
@@ -8663,14 +8575,13 @@ export interface ListResourcesResponse {
|
|
|
8663
8575
|
} | null;
|
|
8664
8576
|
}
|
|
8665
8577
|
|
|
8666
|
-
export const ListResourcesResponse = /*@__PURE__*/
|
|
8667
|
-
(
|
|
8668
|
-
Schema.
|
|
8669
|
-
|
|
8670
|
-
|
|
8671
|
-
|
|
8672
|
-
|
|
8673
|
-
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
|
|
8578
|
+
export const ListResourcesResponse = /*@__PURE__*/ Schema.suspend(() =>
|
|
8579
|
+
Schema.Struct({
|
|
8580
|
+
result: Schema.Array(ListResourcesResponseResult),
|
|
8581
|
+
resultInfo: Schema.optional(
|
|
8582
|
+
Schema.Union([ListResourcesResponseResultInfo, Schema.Null]),
|
|
8583
|
+
),
|
|
8584
|
+
}).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
|
|
8674
8585
|
) as unknown as Schema.Codec<ListResourcesResponse>;
|
|
8675
8586
|
|
|
8676
8587
|
export type ListResourcesError = DefaultErrors;
|
|
@@ -8680,7 +8591,7 @@ export const listResources: API.PaginatedOperationMethod<
|
|
|
8680
8591
|
ListResourcesResponse,
|
|
8681
8592
|
ListResourcesError,
|
|
8682
8593
|
Credentials | HttpClient.HttpClient
|
|
8683
|
-
> = /*@__PURE__*/
|
|
8594
|
+
> = /*@__PURE__*/ API.makePaginated(() => ({
|
|
8684
8595
|
input: ListResourcesRequest,
|
|
8685
8596
|
output: ListResourcesResponse,
|
|
8686
8597
|
errors: [],
|
|
@@ -8775,104 +8686,101 @@ export interface ExportResourceRequest {
|
|
|
8775
8686
|
v2?: boolean;
|
|
8776
8687
|
}
|
|
8777
8688
|
|
|
8778
|
-
export const ExportResourceRequest = /*@__PURE__*/
|
|
8779
|
-
(
|
|
8780
|
-
Schema.
|
|
8781
|
-
|
|
8782
|
-
|
|
8783
|
-
|
|
8784
|
-
|
|
8785
|
-
|
|
8786
|
-
),
|
|
8787
|
-
|
|
8788
|
-
|
|
8789
|
-
|
|
8790
|
-
|
|
8791
|
-
|
|
8792
|
-
|
|
8793
|
-
|
|
8794
|
-
|
|
8795
|
-
|
|
8796
|
-
|
|
8797
|
-
|
|
8798
|
-
|
|
8799
|
-
|
|
8800
|
-
|
|
8801
|
-
|
|
8802
|
-
|
|
8803
|
-
|
|
8804
|
-
|
|
8805
|
-
|
|
8806
|
-
|
|
8807
|
-
|
|
8808
|
-
|
|
8809
|
-
|
|
8810
|
-
|
|
8811
|
-
|
|
8812
|
-
|
|
8813
|
-
|
|
8814
|
-
|
|
8815
|
-
|
|
8816
|
-
|
|
8817
|
-
|
|
8818
|
-
|
|
8819
|
-
|
|
8820
|
-
|
|
8821
|
-
|
|
8822
|
-
|
|
8823
|
-
|
|
8824
|
-
|
|
8825
|
-
|
|
8826
|
-
|
|
8827
|
-
|
|
8828
|
-
|
|
8829
|
-
|
|
8830
|
-
|
|
8831
|
-
|
|
8832
|
-
|
|
8833
|
-
|
|
8834
|
-
|
|
8835
|
-
|
|
8836
|
-
|
|
8837
|
-
|
|
8838
|
-
|
|
8839
|
-
|
|
8840
|
-
|
|
8841
|
-
|
|
8842
|
-
|
|
8843
|
-
|
|
8844
|
-
|
|
8845
|
-
|
|
8846
|
-
|
|
8847
|
-
|
|
8848
|
-
|
|
8849
|
-
|
|
8850
|
-
|
|
8851
|
-
|
|
8852
|
-
"google_compute_network_firewall_policy_rule",
|
|
8853
|
-
"cloudflare_static_route",
|
|
8854
|
-
"cloudflare_ipsec_tunnel",
|
|
8855
|
-
]),
|
|
8856
|
-
Schema.String,
|
|
8689
|
+
export const ExportResourceRequest = /*@__PURE__*/ Schema.suspend(() =>
|
|
8690
|
+
Schema.Struct({
|
|
8691
|
+
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
8692
|
+
desc: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("desc")),
|
|
8693
|
+
orderBy: Schema.optional(Schema.String).pipe(T.HttpQuery("order_by")),
|
|
8694
|
+
providerId: Schema.optional(Schema.String).pipe(T.HttpQuery("provider_id")),
|
|
8695
|
+
region: Schema.optional(Schema.String).pipe(T.HttpQuery("region")),
|
|
8696
|
+
resourceGroup: Schema.optional(Schema.String).pipe(
|
|
8697
|
+
T.HttpQuery("resource_group"),
|
|
8698
|
+
),
|
|
8699
|
+
resourceId: Schema.optional(Schema.Array(Schema.String)).pipe(
|
|
8700
|
+
T.HttpQuery("resource_id"),
|
|
8701
|
+
),
|
|
8702
|
+
resourceType: Schema.optional(
|
|
8703
|
+
Schema.Array(
|
|
8704
|
+
Schema.Union([
|
|
8705
|
+
Schema.Literals([
|
|
8706
|
+
"aws_customer_gateway",
|
|
8707
|
+
"aws_egress_only_internet_gateway",
|
|
8708
|
+
"aws_internet_gateway",
|
|
8709
|
+
"aws_instance",
|
|
8710
|
+
"aws_network_interface",
|
|
8711
|
+
"aws_route",
|
|
8712
|
+
"aws_route_table",
|
|
8713
|
+
"aws_route_table_association",
|
|
8714
|
+
"aws_subnet",
|
|
8715
|
+
"aws_vpc",
|
|
8716
|
+
"aws_vpc_ipv4_cidr_block_association",
|
|
8717
|
+
"aws_vpn_connection",
|
|
8718
|
+
"aws_vpn_connection_route",
|
|
8719
|
+
"aws_vpn_gateway",
|
|
8720
|
+
"aws_security_group",
|
|
8721
|
+
"aws_vpc_security_group_ingress_rule",
|
|
8722
|
+
"aws_vpc_security_group_egress_rule",
|
|
8723
|
+
"aws_ec2_managed_prefix_list",
|
|
8724
|
+
"aws_ec2_transit_gateway",
|
|
8725
|
+
"aws_ec2_transit_gateway_prefix_list_reference",
|
|
8726
|
+
"aws_ec2_transit_gateway_vpc_attachment",
|
|
8727
|
+
"azurerm_application_security_group",
|
|
8728
|
+
"azurerm_lb",
|
|
8729
|
+
"azurerm_lb_backend_address_pool",
|
|
8730
|
+
"azurerm_lb_nat_pool",
|
|
8731
|
+
"azurerm_lb_nat_rule",
|
|
8732
|
+
"azurerm_lb_rule",
|
|
8733
|
+
"azurerm_local_network_gateway",
|
|
8734
|
+
"azurerm_network_interface",
|
|
8735
|
+
"azurerm_network_interface_application_security_group_association",
|
|
8736
|
+
"azurerm_network_interface_backend_address_pool_association",
|
|
8737
|
+
"azurerm_network_interface_security_group_association",
|
|
8738
|
+
"azurerm_network_security_group",
|
|
8739
|
+
"azurerm_public_ip",
|
|
8740
|
+
"azurerm_route",
|
|
8741
|
+
"azurerm_route_table",
|
|
8742
|
+
"azurerm_subnet",
|
|
8743
|
+
"azurerm_subnet_route_table_association",
|
|
8744
|
+
"azurerm_virtual_machine",
|
|
8745
|
+
"azurerm_virtual_network_gateway_connection",
|
|
8746
|
+
"azurerm_virtual_network",
|
|
8747
|
+
"azurerm_virtual_network_gateway",
|
|
8748
|
+
"google_compute_network",
|
|
8749
|
+
"google_compute_subnetwork",
|
|
8750
|
+
"google_compute_vpn_gateway",
|
|
8751
|
+
"google_compute_vpn_tunnel",
|
|
8752
|
+
"google_compute_route",
|
|
8753
|
+
"google_compute_address",
|
|
8754
|
+
"google_compute_global_address",
|
|
8755
|
+
"google_compute_router",
|
|
8756
|
+
"google_compute_interconnect_attachment",
|
|
8757
|
+
"google_compute_ha_vpn_gateway",
|
|
8758
|
+
"google_compute_forwarding_rule",
|
|
8759
|
+
"google_compute_network_firewall_policy",
|
|
8760
|
+
"google_compute_network_firewall_policy_rule",
|
|
8761
|
+
"cloudflare_static_route",
|
|
8762
|
+
"cloudflare_ipsec_tunnel",
|
|
8857
8763
|
]),
|
|
8858
|
-
|
|
8859
|
-
|
|
8860
|
-
search: Schema.optional(Schema.Array(Schema.String)).pipe(
|
|
8861
|
-
T.HttpQuery("search"),
|
|
8764
|
+
Schema.String,
|
|
8765
|
+
]),
|
|
8862
8766
|
),
|
|
8863
|
-
|
|
8864
|
-
|
|
8865
|
-
T.
|
|
8866
|
-
method: "GET",
|
|
8867
|
-
path: "/accounts/{account_id}/magic/cloud/resources/export",
|
|
8868
|
-
}),
|
|
8767
|
+
).pipe(T.HttpQuery("resource_type")),
|
|
8768
|
+
search: Schema.optional(Schema.Array(Schema.String)).pipe(
|
|
8769
|
+
T.HttpQuery("search"),
|
|
8869
8770
|
),
|
|
8771
|
+
v2: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("v2")),
|
|
8772
|
+
}).pipe(
|
|
8773
|
+
T.Http({
|
|
8774
|
+
method: "GET",
|
|
8775
|
+
path: "/accounts/{account_id}/magic/cloud/resources/export",
|
|
8776
|
+
}),
|
|
8777
|
+
),
|
|
8870
8778
|
) as unknown as Schema.Codec<ExportResourceRequest>;
|
|
8871
8779
|
|
|
8872
8780
|
export type ExportResourceResponse = unknown;
|
|
8873
8781
|
|
|
8874
8782
|
export const ExportResourceResponse =
|
|
8875
|
-
/*@__PURE__*/
|
|
8783
|
+
/*@__PURE__*/ Schema.suspend(
|
|
8876
8784
|
() => Schema.Unknown,
|
|
8877
8785
|
) as unknown as Schema.Codec<ExportResourceResponse>;
|
|
8878
8786
|
|
|
@@ -8883,7 +8791,7 @@ export const exportResource: API.OperationMethod<
|
|
|
8883
8791
|
ExportResourceResponse,
|
|
8884
8792
|
ExportResourceError,
|
|
8885
8793
|
Credentials | HttpClient.HttpClient
|
|
8886
|
-
> = /*@__PURE__*/
|
|
8794
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
8887
8795
|
input: ExportResourceRequest,
|
|
8888
8796
|
output: ExportResourceResponse,
|
|
8889
8797
|
errors: [],
|
|
@@ -8899,7 +8807,7 @@ export interface InitialSetupCloudIntegrationRequest {
|
|
|
8899
8807
|
}
|
|
8900
8808
|
|
|
8901
8809
|
export const InitialSetupCloudIntegrationRequest =
|
|
8902
|
-
/*@__PURE__*/
|
|
8810
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
8903
8811
|
Schema.Struct({
|
|
8904
8812
|
providerId: Schema.String.pipe(T.HttpPath("providerId")),
|
|
8905
8813
|
accountId: Schema.String.pipe(T.HttpPath("account_id")),
|
|
@@ -8922,7 +8830,7 @@ export type InitialSetupCloudIntegrationResponse =
|
|
|
8922
8830
|
| { integrationIdentityTag: string; itemType: string; tagCliCommand: string };
|
|
8923
8831
|
|
|
8924
8832
|
export const InitialSetupCloudIntegrationResponse =
|
|
8925
|
-
/*@__PURE__*/
|
|
8833
|
+
/*@__PURE__*/ Schema.suspend(() =>
|
|
8926
8834
|
Schema.Union([McnAzureSetup, McnGcpSetup, McnAwsTrustPolicy]).pipe(
|
|
8927
8835
|
T.ResponsePath("result"),
|
|
8928
8836
|
),
|
|
@@ -8935,7 +8843,7 @@ export const initialSetupCloudIntegration: API.OperationMethod<
|
|
|
8935
8843
|
InitialSetupCloudIntegrationResponse,
|
|
8936
8844
|
InitialSetupCloudIntegrationError,
|
|
8937
8845
|
Credentials | HttpClient.HttpClient
|
|
8938
|
-
> = /*@__PURE__*/
|
|
8846
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
8939
8847
|
input: InitialSetupCloudIntegrationRequest,
|
|
8940
8848
|
output: InitialSetupCloudIntegrationResponse,
|
|
8941
8849
|
errors: [],
|