@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.
Files changed (458) hide show
  1. package/lib/services/abuse-reports.d.ts.map +1 -1
  2. package/lib/services/abuse-reports.js +26 -26
  3. package/lib/services/abuse-reports.js.map +1 -1
  4. package/lib/services/accounts.d.ts.map +1 -1
  5. package/lib/services/accounts.js +114 -123
  6. package/lib/services/accounts.js.map +1 -1
  7. package/lib/services/acm.d.ts.map +1 -1
  8. package/lib/services/acm.js +23 -23
  9. package/lib/services/acm.js.map +1 -1
  10. package/lib/services/addressing.d.ts.map +1 -1
  11. package/lib/services/addressing.js +132 -132
  12. package/lib/services/addressing.js.map +1 -1
  13. package/lib/services/ai-gateway.d.ts.map +1 -1
  14. package/lib/services/ai-gateway.js +213 -207
  15. package/lib/services/ai-gateway.js.map +1 -1
  16. package/lib/services/ai-security.d.ts.map +1 -1
  17. package/lib/services/ai-security.js +13 -13
  18. package/lib/services/ai-security.js.map +1 -1
  19. package/lib/services/ai.d.ts.map +1 -1
  20. package/lib/services/ai.js +62 -62
  21. package/lib/services/ai.js.map +1 -1
  22. package/lib/services/aisearch.d.ts.map +1 -1
  23. package/lib/services/aisearch.js +187 -193
  24. package/lib/services/aisearch.js.map +1 -1
  25. package/lib/services/alerting.d.ts.map +1 -1
  26. package/lib/services/alerting.js +78 -78
  27. package/lib/services/alerting.js.map +1 -1
  28. package/lib/services/api-gateway.d.ts.map +1 -1
  29. package/lib/services/api-gateway.js +168 -177
  30. package/lib/services/api-gateway.js.map +1 -1
  31. package/lib/services/argo.js +12 -12
  32. package/lib/services/argo.js.map +1 -1
  33. package/lib/services/audit-logs.d.ts.map +1 -1
  34. package/lib/services/audit-logs.js +9 -9
  35. package/lib/services/audit-logs.js.map +1 -1
  36. package/lib/services/billing.d.ts.map +1 -1
  37. package/lib/services/billing.js +11 -11
  38. package/lib/services/billing.js.map +1 -1
  39. package/lib/services/bot-management.d.ts.map +1 -1
  40. package/lib/services/bot-management.js +18 -30
  41. package/lib/services/bot-management.js.map +1 -1
  42. package/lib/services/botnet-feed.d.ts.map +1 -1
  43. package/lib/services/botnet-feed.js +12 -12
  44. package/lib/services/botnet-feed.js.map +1 -1
  45. package/lib/services/brand-protection.d.ts.map +1 -1
  46. package/lib/services/brand-protection.js +59 -59
  47. package/lib/services/brand-protection.js.map +1 -1
  48. package/lib/services/browser-rendering.d.ts.map +1 -1
  49. package/lib/services/browser-rendering.js +103 -103
  50. package/lib/services/browser-rendering.js.map +1 -1
  51. package/lib/services/cache.d.ts.map +1 -1
  52. package/lib/services/cache.js +72 -72
  53. package/lib/services/cache.js.map +1 -1
  54. package/lib/services/calls.d.ts.map +1 -1
  55. package/lib/services/calls.js +31 -31
  56. package/lib/services/calls.js.map +1 -1
  57. package/lib/services/certificate-authorities.js +6 -6
  58. package/lib/services/certificate-authorities.js.map +1 -1
  59. package/lib/services/client-certificates.js +18 -18
  60. package/lib/services/client-certificates.js.map +1 -1
  61. package/lib/services/cloud-connector.d.ts.map +1 -1
  62. package/lib/services/cloud-connector.js +8 -8
  63. package/lib/services/cloud-connector.js.map +1 -1
  64. package/lib/services/cloudforce-one.d.ts.map +1 -1
  65. package/lib/services/cloudforce-one.js +178 -178
  66. package/lib/services/cloudforce-one.js.map +1 -1
  67. package/lib/services/connectivity.js +25 -25
  68. package/lib/services/connectivity.js.map +1 -1
  69. package/lib/services/containers.js +49 -49
  70. package/lib/services/containers.js.map +1 -1
  71. package/lib/services/content-scanning.d.ts.map +1 -1
  72. package/lib/services/content-scanning.js +29 -29
  73. package/lib/services/content-scanning.js.map +1 -1
  74. package/lib/services/csam-scanner.d.ts.map +1 -1
  75. package/lib/services/csam-scanner.js +8 -8
  76. package/lib/services/csam-scanner.js.map +1 -1
  77. package/lib/services/custom-certificates.d.ts.map +1 -1
  78. package/lib/services/custom-certificates.js +24 -24
  79. package/lib/services/custom-certificates.js.map +1 -1
  80. package/lib/services/custom-csrs.d.ts.map +1 -1
  81. package/lib/services/custom-csrs.js +22 -22
  82. package/lib/services/custom-csrs.js.map +1 -1
  83. package/lib/services/custom-hostnames.d.ts.map +1 -1
  84. package/lib/services/custom-hostnames.js +40 -40
  85. package/lib/services/custom-hostnames.js.map +1 -1
  86. package/lib/services/custom-nameservers.js +11 -11
  87. package/lib/services/custom-nameservers.js.map +1 -1
  88. package/lib/services/custom-pages.d.ts.map +1 -1
  89. package/lib/services/custom-pages.js +43 -43
  90. package/lib/services/custom-pages.js.map +1 -1
  91. package/lib/services/d1.d.ts +4 -4
  92. package/lib/services/d1.d.ts.map +1 -1
  93. package/lib/services/d1.js +69 -51
  94. package/lib/services/d1.js.map +1 -1
  95. package/lib/services/dcv-delegation.js +3 -3
  96. package/lib/services/dcv-delegation.js.map +1 -1
  97. package/lib/services/ddos-protection.js +126 -126
  98. package/lib/services/ddos-protection.js.map +1 -1
  99. package/lib/services/diagnostics.js +27 -27
  100. package/lib/services/diagnostics.js.map +1 -1
  101. package/lib/services/dls.d.ts.map +1 -1
  102. package/lib/services/dls.js +26 -26
  103. package/lib/services/dls.js.map +1 -1
  104. package/lib/services/dns-firewall.d.ts.map +1 -1
  105. package/lib/services/dns-firewall.js +34 -34
  106. package/lib/services/dns-firewall.js.map +1 -1
  107. package/lib/services/dns.d.ts.map +1 -1
  108. package/lib/services/dns.js +268 -268
  109. package/lib/services/dns.js.map +1 -1
  110. package/lib/services/durable-objects.d.ts.map +1 -1
  111. package/lib/services/durable-objects.js +11 -11
  112. package/lib/services/durable-objects.js.map +1 -1
  113. package/lib/services/email-auth.d.ts.map +1 -1
  114. package/lib/services/email-auth.js +13 -13
  115. package/lib/services/email-auth.js.map +1 -1
  116. package/lib/services/email-routing.d.ts.map +1 -1
  117. package/lib/services/email-routing.js +70 -70
  118. package/lib/services/email-routing.js.map +1 -1
  119. package/lib/services/email-security.d.ts.map +1 -1
  120. package/lib/services/email-security.js +195 -195
  121. package/lib/services/email-security.js.map +1 -1
  122. package/lib/services/email-sending.d.ts.map +1 -1
  123. package/lib/services/email-sending.js +28 -28
  124. package/lib/services/email-sending.js.map +1 -1
  125. package/lib/services/filters.d.ts.map +1 -1
  126. package/lib/services/filters.js +25 -25
  127. package/lib/services/filters.js.map +1 -1
  128. package/lib/services/firewall.d.ts.map +1 -1
  129. package/lib/services/firewall.js +149 -149
  130. package/lib/services/firewall.js.map +1 -1
  131. package/lib/services/flagship.d.ts.map +1 -1
  132. package/lib/services/flagship.js +52 -52
  133. package/lib/services/flagship.js.map +1 -1
  134. package/lib/services/fraud.js +8 -8
  135. package/lib/services/fraud.js.map +1 -1
  136. package/lib/services/google-tag-gateway.d.ts.map +1 -1
  137. package/lib/services/google-tag-gateway.js +7 -7
  138. package/lib/services/google-tag-gateway.js.map +1 -1
  139. package/lib/services/healthchecks.d.ts.map +1 -1
  140. package/lib/services/healthchecks.js +31 -31
  141. package/lib/services/healthchecks.js.map +1 -1
  142. package/lib/services/hostnames.d.ts.map +1 -1
  143. package/lib/services/hostnames.js +10 -10
  144. package/lib/services/hostnames.js.map +1 -1
  145. package/lib/services/hyperdrive.d.ts.map +1 -1
  146. package/lib/services/hyperdrive.js +32 -32
  147. package/lib/services/hyperdrive.js.map +1 -1
  148. package/lib/services/iam.d.ts.map +1 -1
  149. package/lib/services/iam.js +113 -113
  150. package/lib/services/iam.js.map +1 -1
  151. package/lib/services/images.d.ts.map +1 -1
  152. package/lib/services/images.js +59 -59
  153. package/lib/services/images.js.map +1 -1
  154. package/lib/services/intel.d.ts.map +1 -1
  155. package/lib/services/intel.js +102 -102
  156. package/lib/services/intel.js.map +1 -1
  157. package/lib/services/ips.js +5 -5
  158. package/lib/services/ips.js.map +1 -1
  159. package/lib/services/keyless-certificates.js +17 -17
  160. package/lib/services/keyless-certificates.js.map +1 -1
  161. package/lib/services/kv.d.ts.map +1 -1
  162. package/lib/services/kv.js +54 -54
  163. package/lib/services/kv.js.map +1 -1
  164. package/lib/services/leaked-credential-checks.d.ts.map +1 -1
  165. package/lib/services/leaked-credential-checks.js +22 -22
  166. package/lib/services/leaked-credential-checks.js.map +1 -1
  167. package/lib/services/load-balancers.d.ts.map +1 -1
  168. package/lib/services/load-balancers.js +139 -157
  169. package/lib/services/load-balancers.js.map +1 -1
  170. package/lib/services/logpush.d.ts.map +1 -1
  171. package/lib/services/logpush.js +69 -69
  172. package/lib/services/logpush.js.map +1 -1
  173. package/lib/services/logs.d.ts.map +1 -1
  174. package/lib/services/logs.js +58 -58
  175. package/lib/services/logs.js.map +1 -1
  176. package/lib/services/magic-cloud-networking.d.ts.map +1 -1
  177. package/lib/services/magic-cloud-networking.js +138 -168
  178. package/lib/services/magic-cloud-networking.js.map +1 -1
  179. package/lib/services/magic-network-monitoring.d.ts.map +1 -1
  180. package/lib/services/magic-network-monitoring.js +47 -65
  181. package/lib/services/magic-network-monitoring.js.map +1 -1
  182. package/lib/services/magic-transit.d.ts.map +1 -1
  183. package/lib/services/magic-transit.js +340 -364
  184. package/lib/services/magic-transit.js.map +1 -1
  185. package/lib/services/managed-transforms.js +11 -11
  186. package/lib/services/managed-transforms.js.map +1 -1
  187. package/lib/services/memberships.d.ts.map +1 -1
  188. package/lib/services/memberships.js +25 -25
  189. package/lib/services/memberships.js.map +1 -1
  190. package/lib/services/moq.d.ts.map +1 -1
  191. package/lib/services/moq.js +23 -23
  192. package/lib/services/moq.js.map +1 -1
  193. package/lib/services/mtls-certificates.d.ts.map +1 -1
  194. package/lib/services/mtls-certificates.js +17 -17
  195. package/lib/services/mtls-certificates.js.map +1 -1
  196. package/lib/services/network-interconnects.d.ts.map +1 -1
  197. package/lib/services/network-interconnects.js +56 -56
  198. package/lib/services/network-interconnects.js.map +1 -1
  199. package/lib/services/organizations.d.ts.map +1 -1
  200. package/lib/services/organizations.js +42 -42
  201. package/lib/services/organizations.js.map +1 -1
  202. package/lib/services/origin-ca-certificates.js +14 -14
  203. package/lib/services/origin-ca-certificates.js.map +1 -1
  204. package/lib/services/origin-post-quantum-encryption.js +6 -6
  205. package/lib/services/origin-post-quantum-encryption.js.map +1 -1
  206. package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
  207. package/lib/services/origin-tls-client-auth.js +52 -52
  208. package/lib/services/origin-tls-client-auth.js.map +1 -1
  209. package/lib/services/origin-tls-compliance-modes.js +12 -12
  210. package/lib/services/origin-tls-compliance-modes.js.map +1 -1
  211. package/lib/services/page-rules.d.ts.map +1 -1
  212. package/lib/services/page-rules.js +62 -62
  213. package/lib/services/page-rules.js.map +1 -1
  214. package/lib/services/page-shield.d.ts.map +1 -1
  215. package/lib/services/page-shield.js +45 -48
  216. package/lib/services/page-shield.js.map +1 -1
  217. package/lib/services/pages.d.ts.map +1 -1
  218. package/lib/services/pages.js +78 -78
  219. package/lib/services/pages.js.map +1 -1
  220. package/lib/services/pipelines.d.ts.map +1 -1
  221. package/lib/services/pipelines.js +102 -102
  222. package/lib/services/pipelines.js.map +1 -1
  223. package/lib/services/queues.d.ts.map +1 -1
  224. package/lib/services/queues.js +100 -103
  225. package/lib/services/queues.js.map +1 -1
  226. package/lib/services/r2-data-catalog.d.ts.map +1 -1
  227. package/lib/services/r2-data-catalog.js +42 -42
  228. package/lib/services/r2-data-catalog.js.map +1 -1
  229. package/lib/services/r2.d.ts.map +1 -1
  230. package/lib/services/r2.js +190 -190
  231. package/lib/services/r2.js.map +1 -1
  232. package/lib/services/radar.d.ts.map +1 -1
  233. package/lib/services/radar.js +991 -1009
  234. package/lib/services/radar.js.map +1 -1
  235. package/lib/services/rate-limits.d.ts.map +1 -1
  236. package/lib/services/rate-limits.js +24 -24
  237. package/lib/services/rate-limits.js.map +1 -1
  238. package/lib/services/realtime-kit.d.ts.map +1 -1
  239. package/lib/services/realtime-kit.js +276 -276
  240. package/lib/services/realtime-kit.js.map +1 -1
  241. package/lib/services/registrar.d.ts.map +1 -1
  242. package/lib/services/registrar.js +28 -28
  243. package/lib/services/registrar.js.map +1 -1
  244. package/lib/services/request-tracers.d.ts.map +1 -1
  245. package/lib/services/request-tracers.js +7 -7
  246. package/lib/services/request-tracers.js.map +1 -1
  247. package/lib/services/resource-sharing.d.ts.map +1 -1
  248. package/lib/services/resource-sharing.js +49 -49
  249. package/lib/services/resource-sharing.js.map +1 -1
  250. package/lib/services/resource-tagging.d.ts.map +1 -1
  251. package/lib/services/resource-tagging.js +56 -56
  252. package/lib/services/resource-tagging.js.map +1 -1
  253. package/lib/services/rules.d.ts.map +1 -1
  254. package/lib/services/rules.js +50 -50
  255. package/lib/services/rules.js.map +1 -1
  256. package/lib/services/rulesets.d.ts +2 -2
  257. package/lib/services/rulesets.d.ts.map +1 -1
  258. package/lib/services/rulesets.js +226 -190
  259. package/lib/services/rulesets.js.map +1 -1
  260. package/lib/services/rum.d.ts.map +1 -1
  261. package/lib/services/rum.js +35 -35
  262. package/lib/services/rum.js.map +1 -1
  263. package/lib/services/schema-validation.d.ts.map +1 -1
  264. package/lib/services/schema-validation.js +43 -46
  265. package/lib/services/schema-validation.js.map +1 -1
  266. package/lib/services/secrets-store.d.ts.map +1 -1
  267. package/lib/services/secrets-store.js +41 -41
  268. package/lib/services/secrets-store.js.map +1 -1
  269. package/lib/services/security-center.d.ts.map +1 -1
  270. package/lib/services/security-center.js +54 -57
  271. package/lib/services/security-center.js.map +1 -1
  272. package/lib/services/security-txt.d.ts.map +1 -1
  273. package/lib/services/security-txt.js +12 -12
  274. package/lib/services/security-txt.js.map +1 -1
  275. package/lib/services/snippets.d.ts.map +1 -1
  276. package/lib/services/snippets.js +31 -31
  277. package/lib/services/snippets.js.map +1 -1
  278. package/lib/services/spectrum.d.ts.map +1 -1
  279. package/lib/services/spectrum.js +35 -35
  280. package/lib/services/spectrum.js.map +1 -1
  281. package/lib/services/speed.d.ts.map +1 -1
  282. package/lib/services/speed.js +41 -41
  283. package/lib/services/speed.js.map +1 -1
  284. package/lib/services/ssl.d.ts.map +1 -1
  285. package/lib/services/ssl.js +48 -48
  286. package/lib/services/ssl.js.map +1 -1
  287. package/lib/services/stream.d.ts.map +1 -1
  288. package/lib/services/stream.js +147 -147
  289. package/lib/services/stream.js.map +1 -1
  290. package/lib/services/tenant-custom-nameservers.js +11 -11
  291. package/lib/services/tenant-custom-nameservers.js.map +1 -1
  292. package/lib/services/tenants.d.ts.map +1 -1
  293. package/lib/services/tenants.js +28 -28
  294. package/lib/services/tenants.js.map +1 -1
  295. package/lib/services/token-validation.d.ts.map +1 -1
  296. package/lib/services/token-validation.js +56 -56
  297. package/lib/services/token-validation.js.map +1 -1
  298. package/lib/services/turnstile.d.ts.map +1 -1
  299. package/lib/services/turnstile.js +27 -54
  300. package/lib/services/turnstile.js.map +1 -1
  301. package/lib/services/url-normalization.js +9 -9
  302. package/lib/services/url-normalization.js.map +1 -1
  303. package/lib/services/url-scanner.d.ts.map +1 -1
  304. package/lib/services/url-scanner.js +120 -120
  305. package/lib/services/url-scanner.js.map +1 -1
  306. package/lib/services/user.d.ts.map +1 -1
  307. package/lib/services/user.js +95 -95
  308. package/lib/services/user.js.map +1 -1
  309. package/lib/services/vectorize.d.ts +10 -10
  310. package/lib/services/vectorize.d.ts.map +1 -1
  311. package/lib/services/vectorize.js +59 -57
  312. package/lib/services/vectorize.js.map +1 -1
  313. package/lib/services/vulnerability-scanner.d.ts.map +1 -1
  314. package/lib/services/vulnerability-scanner.js +95 -95
  315. package/lib/services/vulnerability-scanner.js.map +1 -1
  316. package/lib/services/waiting-rooms.d.ts.map +1 -1
  317. package/lib/services/waiting-rooms.js +81 -81
  318. package/lib/services/waiting-rooms.js.map +1 -1
  319. package/lib/services/web3.d.ts.map +1 -1
  320. package/lib/services/web3.js +39 -39
  321. package/lib/services/web3.js.map +1 -1
  322. package/lib/services/workers-for-platforms.d.ts.map +1 -1
  323. package/lib/services/workers-for-platforms.js +139 -139
  324. package/lib/services/workers-for-platforms.js.map +1 -1
  325. package/lib/services/workers.d.ts.map +1 -1
  326. package/lib/services/workers.js +420 -420
  327. package/lib/services/workers.js.map +1 -1
  328. package/lib/services/workflows.d.ts.map +1 -1
  329. package/lib/services/workflows.js +88 -88
  330. package/lib/services/workflows.js.map +1 -1
  331. package/lib/services/zaraz.d.ts.map +1 -1
  332. package/lib/services/zaraz.js +36 -39
  333. package/lib/services/zaraz.js.map +1 -1
  334. package/lib/services/zero-trust.d.ts.map +1 -1
  335. package/lib/services/zero-trust.js +1765 -1771
  336. package/lib/services/zero-trust.js.map +1 -1
  337. package/lib/services/zones.d.ts.map +1 -1
  338. package/lib/services/zones.js +168 -168
  339. package/lib/services/zones.js.map +1 -1
  340. package/package.json +3 -2
  341. package/src/services/abuse-reports.ts +35 -36
  342. package/src/services/accounts.ts +714 -760
  343. package/src/services/acm.ts +115 -125
  344. package/src/services/addressing.ts +484 -512
  345. package/src/services/ai-gateway.ts +653 -672
  346. package/src/services/ai-security.ts +47 -53
  347. package/src/services/ai.ts +172 -185
  348. package/src/services/aisearch.ts +1814 -1861
  349. package/src/services/alerting.ts +710 -742
  350. package/src/services/api-gateway.ts +481 -508
  351. package/src/services/argo.ts +12 -12
  352. package/src/services/audit-logs.ts +45 -49
  353. package/src/services/billing.ts +121 -136
  354. package/src/services/bot-management.ts +122 -136
  355. package/src/services/botnet-feed.ts +68 -74
  356. package/src/services/brand-protection.ts +275 -294
  357. package/src/services/browser-rendering.ts +758 -769
  358. package/src/services/cache.ts +148 -158
  359. package/src/services/calls.ts +110 -120
  360. package/src/services/certificate-authorities.ts +6 -6
  361. package/src/services/client-certificates.ts +18 -18
  362. package/src/services/cloud-connector.ts +11 -12
  363. package/src/services/cloudforce-one.ts +589 -617
  364. package/src/services/connectivity.ts +25 -25
  365. package/src/services/containers.ts +49 -49
  366. package/src/services/content-scanning.ts +80 -89
  367. package/src/services/csam-scanner.ts +16 -17
  368. package/src/services/custom-certificates.ts +36 -38
  369. package/src/services/custom-csrs.ts +103 -105
  370. package/src/services/custom-hostnames.ts +44 -45
  371. package/src/services/custom-nameservers.ts +11 -11
  372. package/src/services/custom-pages.ts +173 -184
  373. package/src/services/d1.ts +335 -325
  374. package/src/services/dcv-delegation.ts +3 -3
  375. package/src/services/ddos-protection.ts +126 -126
  376. package/src/services/diagnostics.ts +27 -27
  377. package/src/services/dls.ts +82 -86
  378. package/src/services/dns-firewall.ts +65 -69
  379. package/src/services/dns.ts +1080 -1107
  380. package/src/services/durable-objects.ts +36 -38
  381. package/src/services/email-auth.ts +47 -52
  382. package/src/services/email-routing.ts +264 -288
  383. package/src/services/email-security.ts +205 -208
  384. package/src/services/email-sending.ts +94 -99
  385. package/src/services/filters.ts +97 -111
  386. package/src/services/firewall.ts +698 -753
  387. package/src/services/flagship.ts +321 -336
  388. package/src/services/fraud.ts +8 -8
  389. package/src/services/google-tag-gateway.ts +17 -19
  390. package/src/services/healthchecks.ts +269 -286
  391. package/src/services/hostnames.ts +94 -99
  392. package/src/services/hyperdrive.ts +310 -324
  393. package/src/services/iam.ts +205 -212
  394. package/src/services/images.ts +138 -150
  395. package/src/services/intel.ts +248 -261
  396. package/src/services/ips.ts +5 -5
  397. package/src/services/keyless-certificates.ts +17 -17
  398. package/src/services/kv.ts +106 -110
  399. package/src/services/leaked-credential-checks.ts +49 -53
  400. package/src/services/load-balancers.ts +1119 -1212
  401. package/src/services/logpush.ts +298 -313
  402. package/src/services/logs.ts +74 -77
  403. package/src/services/magic-cloud-networking.ts +1219 -1311
  404. package/src/services/magic-network-monitoring.ts +647 -685
  405. package/src/services/magic-transit.ts +1988 -2119
  406. package/src/services/managed-transforms.ts +11 -11
  407. package/src/services/memberships.ts +101 -105
  408. package/src/services/moq.ts +100 -110
  409. package/src/services/mtls-certificates.ts +30 -32
  410. package/src/services/network-interconnects.ts +137 -145
  411. package/src/services/organizations.ts +189 -192
  412. package/src/services/origin-ca-certificates.ts +14 -14
  413. package/src/services/origin-post-quantum-encryption.ts +6 -6
  414. package/src/services/origin-tls-client-auth.ts +219 -236
  415. package/src/services/origin-tls-compliance-modes.ts +12 -12
  416. package/src/services/page-rules.ts +365 -373
  417. package/src/services/page-shield.ts +489 -528
  418. package/src/services/pages.ts +309 -319
  419. package/src/services/pipelines.ts +534 -573
  420. package/src/services/queues.ts +598 -635
  421. package/src/services/r2-data-catalog.ts +59 -60
  422. package/src/services/r2.ts +654 -689
  423. package/src/services/radar.ts +3395 -3487
  424. package/src/services/rate-limits.ts +81 -93
  425. package/src/services/realtime-kit.ts +386 -399
  426. package/src/services/registrar.ts +90 -96
  427. package/src/services/request-tracers.ts +41 -43
  428. package/src/services/resource-sharing.ts +293 -305
  429. package/src/services/resource-tagging.ts +354 -366
  430. package/src/services/rules.ts +272 -292
  431. package/src/services/rulesets.ts +1214 -1116
  432. package/src/services/rum.ts +252 -273
  433. package/src/services/schema-validation.ts +284 -305
  434. package/src/services/secrets-store.ts +130 -138
  435. package/src/services/security-center.ts +64 -69
  436. package/src/services/security-txt.ts +48 -50
  437. package/src/services/snippets.ts +132 -142
  438. package/src/services/spectrum.ts +75 -80
  439. package/src/services/speed.ts +385 -397
  440. package/src/services/ssl.ts +64 -65
  441. package/src/services/stream.ts +658 -718
  442. package/src/services/tenant-custom-nameservers.ts +11 -11
  443. package/src/services/tenants.ts +86 -93
  444. package/src/services/token-validation.ts +145 -151
  445. package/src/services/turnstile.ts +344 -381
  446. package/src/services/url-normalization.ts +9 -9
  447. package/src/services/url-scanner.ts +393 -399
  448. package/src/services/user.ts +479 -503
  449. package/src/services/vectorize.ts +215 -230
  450. package/src/services/vulnerability-scanner.ts +145 -148
  451. package/src/services/waiting-rooms.ts +759 -825
  452. package/src/services/web3.ts +186 -197
  453. package/src/services/workers-for-platforms.ts +408 -432
  454. package/src/services/workers.ts +1175 -1239
  455. package/src/services/workflows.ts +585 -616
  456. package/src/services/zaraz.ts +168 -192
  457. package/src/services/zero-trust.ts +2965 -3074
  458. 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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(
820
- () =>
821
- Schema.Struct({
822
- currency: Schema.String,
823
- currentMonthlyCost: Schema.Number,
824
- diff: Schema.Number,
825
- proposedMonthlyCost: Schema.Number,
826
- }).pipe(
827
- Schema.encodeKeys({
828
- currency: "currency",
829
- currentMonthlyCost: "current_monthly_cost",
830
- diff: "diff",
831
- proposedMonthlyCost: "proposed_monthly_cost",
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(
1126
- () =>
1127
- Schema.Struct({
1128
- currency: Schema.String,
1129
- monthlyCost: Schema.Number,
1130
- }).pipe(
1131
- Schema.encodeKeys({ currency: "currency", monthlyCost: "monthly_cost" }),
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(
1356
- () =>
1357
- Schema.Struct({
1358
- id: Schema.String,
1359
- cloudType: Schema.Union([
1360
- Schema.Literals(["AWS", "AZURE", "GOOGLE"]),
1361
- Schema.String,
1362
- ]),
1363
- dynamicRouting: Schema.Boolean,
1364
- installRoutesInCloud: Schema.Boolean,
1365
- installRoutesInMagicWan: Schema.Boolean,
1366
- name: Schema.String,
1367
- type: Schema.Union([
1368
- Schema.Literals(["OnrampTypeSingle", "OnrampTypeHub"]),
1369
- Schema.String,
1370
- ]),
1371
- updatedAt: Schema.String,
1372
- attachedHubs: Schema.optional(
1373
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
1374
- ),
1375
- attachedVpcs: Schema.optional(
1376
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
1377
- ),
1378
- cloudAsn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
1379
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1380
- hub: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1381
- lastAppliedAt: Schema.optional(
1382
- Schema.Union([Schema.String, Schema.Null]),
1383
- ),
1384
- lastExportedAt: Schema.optional(
1385
- Schema.Union([Schema.String, Schema.Null]),
1386
- ),
1387
- lastPlannedAt: Schema.optional(
1388
- Schema.Union([Schema.String, Schema.Null]),
1389
- ),
1390
- manageHubToHubAttachments: Schema.optional(
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(
2521
- () =>
2522
- Schema.Struct({
2523
- id: Schema.String,
2524
- accountId: Schema.String,
2525
- cloudType: Schema.Union([
2526
- Schema.Literals(["AWS", "AZURE", "GOOGLE", "CLOUDFLARE"]),
2527
- Schema.String,
2528
- ]),
2529
- config: Schema.Record(Schema.String, Schema.Unknown),
2530
- deploymentProvider: Schema.String,
2531
- managed: Schema.Boolean,
2532
- monthlyCostEstimate: PostApplyMonthlyCostEstimate,
2533
- name: Schema.String,
2534
- nativeId: Schema.String,
2535
- observations: Schema.Record(Schema.String, Schema.Unknown),
2536
- providerIds: Schema.Array(Schema.String),
2537
- providerNamesById: Schema.Record(Schema.String, Schema.Unknown),
2538
- region: Schema.String,
2539
- resourceGroup: Schema.String,
2540
- resourceType: Schema.Union([
2541
- Schema.Literals([
2542
- "aws_customer_gateway",
2543
- "aws_egress_only_internet_gateway",
2544
- "aws_internet_gateway",
2545
- "aws_instance",
2546
- "aws_network_interface",
2547
- "aws_route",
2548
- "aws_route_table",
2549
- "aws_route_table_association",
2550
- "aws_subnet",
2551
- "aws_vpc",
2552
- "aws_vpc_ipv4_cidr_block_association",
2553
- "aws_vpn_connection",
2554
- "aws_vpn_connection_route",
2555
- "aws_vpn_gateway",
2556
- "aws_security_group",
2557
- "aws_vpc_security_group_ingress_rule",
2558
- "aws_vpc_security_group_egress_rule",
2559
- "aws_ec2_managed_prefix_list",
2560
- "aws_ec2_transit_gateway",
2561
- "aws_ec2_transit_gateway_prefix_list_reference",
2562
- "aws_ec2_transit_gateway_vpc_attachment",
2563
- "azurerm_application_security_group",
2564
- "azurerm_lb",
2565
- "azurerm_lb_backend_address_pool",
2566
- "azurerm_lb_nat_pool",
2567
- "azurerm_lb_nat_rule",
2568
- "azurerm_lb_rule",
2569
- "azurerm_local_network_gateway",
2570
- "azurerm_network_interface",
2571
- "azurerm_network_interface_application_security_group_association",
2572
- "azurerm_network_interface_backend_address_pool_association",
2573
- "azurerm_network_interface_security_group_association",
2574
- "azurerm_network_security_group",
2575
- "azurerm_public_ip",
2576
- "azurerm_route",
2577
- "azurerm_route_table",
2578
- "azurerm_subnet",
2579
- "azurerm_subnet_route_table_association",
2580
- "azurerm_virtual_machine",
2581
- "azurerm_virtual_network_gateway_connection",
2582
- "azurerm_virtual_network",
2583
- "azurerm_virtual_network_gateway",
2584
- "google_compute_network",
2585
- "google_compute_subnetwork",
2586
- "google_compute_vpn_gateway",
2587
- "google_compute_vpn_tunnel",
2588
- "google_compute_route",
2589
- "google_compute_address",
2590
- "google_compute_global_address",
2591
- "google_compute_router",
2592
- "google_compute_interconnect_attachment",
2593
- "google_compute_ha_vpn_gateway",
2594
- "google_compute_forwarding_rule",
2595
- "google_compute_network_firewall_policy",
2596
- "google_compute_network_firewall_policy_rule",
2597
- "cloudflare_static_route",
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
- sections: Schema.Array(Section),
2603
- state: Schema.Record(Schema.String, Schema.Unknown),
2604
- tags: Schema.Record(Schema.String, Schema.Unknown),
2605
- updatedAt: Schema.String,
2606
- url: Schema.String,
2607
- managedBy: Schema.optional(
2608
- Schema.Union([Schema.Array(InUseBy), Schema.Null]),
2609
- ),
2610
- }).pipe(
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(
3117
- () =>
3118
- Schema.Struct({
3119
- syncId: Schema.String.pipe(T.HttpPath("syncId")),
3120
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
3121
- }).pipe(
3122
- T.Http({
3123
- method: "GET",
3124
- path: "/accounts/{account_id}/magic/cloud/catalog-syncs/{syncId}",
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ API.makePaginated(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ API.makePaginated(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ API.makePaginated(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(
5304
- () =>
5305
- Schema.Struct({
5306
- id: Schema.String,
5307
- cloudType: Schema.Union([
5308
- Schema.Literals(["AWS", "AZURE", "GOOGLE"]),
5309
- Schema.String,
5310
- ]),
5311
- dynamicRouting: Schema.Boolean,
5312
- installRoutesInCloud: Schema.Boolean,
5313
- installRoutesInMagicWan: Schema.Boolean,
5314
- name: Schema.String,
5315
- type: Schema.Union([
5316
- Schema.Literals(["OnrampTypeSingle", "OnrampTypeHub"]),
5317
- Schema.String,
5318
- ]),
5319
- updatedAt: Schema.String,
5320
- attachedHubs: Schema.optional(
5321
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
5322
- ),
5323
- attachedVpcs: Schema.optional(
5324
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
5325
- ),
5326
- cloudAsn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
5327
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5328
- hub: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5329
- lastAppliedAt: Schema.optional(
5330
- Schema.Union([Schema.String, Schema.Null]),
5331
- ),
5332
- lastExportedAt: Schema.optional(
5333
- Schema.Union([Schema.String, Schema.Null]),
5334
- ),
5335
- lastPlannedAt: Schema.optional(
5336
- Schema.Union([Schema.String, Schema.Null]),
5337
- ),
5338
- manageHubToHubAttachments: Schema.optional(
5339
- Schema.Union([Schema.Boolean, Schema.Null]),
5340
- ),
5341
- manageVpcToHubAttachments: Schema.optional(
5342
- Schema.Union([Schema.Boolean, Schema.Null]),
5343
- ),
5344
- plannedMonthlyCostEstimate: Schema.optional(
5345
- Schema.Union([PlannedMonthlyCostEstimate, Schema.Null]),
5346
- ),
5347
- plannedResources: Schema.optional(
5348
- Schema.Union([Schema.Array(PlannedResource), Schema.Null]),
5349
- ),
5350
- plannedResourcesUnavailable: Schema.optional(
5351
- Schema.Union([Schema.Boolean, Schema.Null]),
5352
- ),
5353
- postApplyMonthlyCostEstimate: Schema.optional(
5354
- Schema.Union([PostApplyMonthlyCostEstimate, Schema.Null]),
5355
- ),
5356
- postApplyResources: Schema.optional(
5357
- Schema.Union([
5358
- Schema.Record(Schema.String, Schema.Unknown),
5359
- Schema.Null,
5360
- ]),
5361
- ),
5362
- postApplyResourcesUnavailable: Schema.optional(
5363
- Schema.Union([Schema.Boolean, Schema.Null]),
5364
- ),
5365
- region: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5366
- status: Schema.optional(Schema.Union([Status2, Schema.Null])),
5367
- vpc: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5368
- vpcsById: Schema.optional(
5369
- Schema.Union([
5370
- Schema.Record(Schema.String, Schema.Unknown),
5371
- Schema.Null,
5372
- ]),
5373
- ),
5374
- vpcsByIdUnavailable: Schema.optional(
5375
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
5376
- ),
5377
- })
5378
- .pipe(
5379
- Schema.encodeKeys({
5380
- id: "id",
5381
- cloudType: "cloud_type",
5382
- dynamicRouting: "dynamic_routing",
5383
- installRoutesInCloud: "install_routes_in_cloud",
5384
- installRoutesInMagicWan: "install_routes_in_magic_wan",
5385
- name: "name",
5386
- type: "type",
5387
- updatedAt: "updated_at",
5388
- attachedHubs: "attached_hubs",
5389
- attachedVpcs: "attached_vpcs",
5390
- cloudAsn: "cloud_asn",
5391
- description: "description",
5392
- hub: "hub",
5393
- lastAppliedAt: "last_applied_at",
5394
- lastExportedAt: "last_exported_at",
5395
- lastPlannedAt: "last_planned_at",
5396
- manageHubToHubAttachments: "manage_hub_to_hub_attachments",
5397
- manageVpcToHubAttachments: "manage_vpc_to_hub_attachments",
5398
- plannedMonthlyCostEstimate: "planned_monthly_cost_estimate",
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(
5445
- () =>
5446
- Schema.Struct({
5447
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
5448
- desc: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("desc")),
5449
- orderBy: Schema.optional(Schema.String).pipe(T.HttpQuery("order_by")),
5450
- status: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("status")),
5451
- vpcs: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("vpcs")),
5452
- }).pipe(
5453
- T.Http({
5454
- method: "GET",
5455
- path: "/accounts/{account_id}/magic/cloud/onramps",
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__*/ /*#__PURE__*/ Schema.suspend(
5618
- () =>
5619
- Schema.Struct({
5620
- result: Schema.Array(ListOnRampsResponseResult),
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__*/ /*#__PURE__*/ API.makePaginated(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(
5681
- () =>
5682
- Schema.Struct({
5683
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
5684
- forwarded: Schema.optional(Schema.String).pipe(T.HttpHeader("forwarded")),
5685
- cloudType: Schema.Union([
5686
- Schema.Literals(["AWS", "AZURE", "GOOGLE"]),
5687
- Schema.String,
5688
- ]),
5689
- dynamicRouting: Schema.Boolean,
5690
- installRoutesInCloud: Schema.Boolean,
5691
- installRoutesInMagicWan: Schema.Boolean,
5692
- name: Schema.String,
5693
- type: Schema.Union([
5694
- Schema.Literals(["OnrampTypeSingle", "OnrampTypeHub"]),
5695
- Schema.String,
5696
- ]),
5697
- adoptedHubId: Schema.optional(Schema.String),
5698
- attachedHubs: Schema.optional(Schema.Array(Schema.String)),
5699
- attachedVpcs: Schema.optional(Schema.Array(Schema.String)),
5700
- cloudAsn: Schema.optional(Schema.Number),
5701
- description: Schema.optional(Schema.String),
5702
- hubProviderId: Schema.optional(Schema.String),
5703
- manageHubToHubAttachments: Schema.optional(Schema.Boolean),
5704
- manageVpcToHubAttachments: Schema.optional(Schema.Boolean),
5705
- region: Schema.optional(Schema.String),
5706
- vpc: Schema.optional(Schema.String),
5707
- }).pipe(
5708
- Schema.encodeKeys({
5709
- cloudType: "cloud_type",
5710
- dynamicRouting: "dynamic_routing",
5711
- installRoutesInCloud: "install_routes_in_cloud",
5712
- installRoutesInMagicWan: "install_routes_in_magic_wan",
5713
- name: "name",
5714
- type: "type",
5715
- adoptedHubId: "adopted_hub_id",
5716
- attachedHubs: "attached_hubs",
5717
- attachedVpcs: "attached_vpcs",
5718
- cloudAsn: "cloud_asn",
5719
- description: "description",
5720
- hubProviderId: "hub_provider_id",
5721
- manageHubToHubAttachments: "manage_hub_to_hub_attachments",
5722
- manageVpcToHubAttachments: "manage_vpc_to_hub_attachments",
5723
- region: "region",
5724
- vpc: "vpc",
5725
- }),
5726
- T.Http({
5727
- method: "POST",
5728
- path: "/accounts/{account_id}/magic/cloud/onramps",
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__*/ /*#__PURE__*/ Schema.suspend(
5885
- () =>
5886
- Schema.Struct({
5887
- id: Schema.String,
5888
- cloudType: Schema.Union([
5889
- Schema.Literals(["AWS", "AZURE", "GOOGLE"]),
5890
- Schema.String,
5891
- ]),
5892
- dynamicRouting: Schema.Boolean,
5893
- installRoutesInCloud: Schema.Boolean,
5894
- installRoutesInMagicWan: Schema.Boolean,
5895
- name: Schema.String,
5896
- type: Schema.Union([
5897
- Schema.Literals(["OnrampTypeSingle", "OnrampTypeHub"]),
5898
- Schema.String,
5899
- ]),
5900
- updatedAt: Schema.String,
5901
- attachedHubs: Schema.optional(
5902
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
5903
- ),
5904
- attachedVpcs: Schema.optional(
5905
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
5906
- ),
5907
- cloudAsn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
5908
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5909
- hub: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5910
- lastAppliedAt: Schema.optional(
5911
- Schema.Union([Schema.String, Schema.Null]),
5912
- ),
5913
- lastExportedAt: Schema.optional(
5914
- Schema.Union([Schema.String, Schema.Null]),
5915
- ),
5916
- lastPlannedAt: Schema.optional(
5917
- Schema.Union([Schema.String, Schema.Null]),
5918
- ),
5919
- manageHubToHubAttachments: Schema.optional(
5920
- Schema.Union([Schema.Boolean, Schema.Null]),
5921
- ),
5922
- manageVpcToHubAttachments: Schema.optional(
5923
- Schema.Union([Schema.Boolean, Schema.Null]),
5924
- ),
5925
- plannedMonthlyCostEstimate: Schema.optional(
5926
- Schema.Union([PlannedMonthlyCostEstimate, Schema.Null]),
5927
- ),
5928
- plannedResources: Schema.optional(
5929
- Schema.Union([Schema.Array(PlannedResource), Schema.Null]),
5930
- ),
5931
- plannedResourcesUnavailable: Schema.optional(
5932
- Schema.Union([Schema.Boolean, Schema.Null]),
5933
- ),
5934
- postApplyMonthlyCostEstimate: Schema.optional(
5935
- Schema.Union([PostApplyMonthlyCostEstimate, Schema.Null]),
5936
- ),
5937
- postApplyResources: Schema.optional(
5938
- Schema.Union([
5939
- Schema.Record(Schema.String, Schema.Unknown),
5940
- Schema.Null,
5941
- ]),
5942
- ),
5943
- postApplyResourcesUnavailable: Schema.optional(
5944
- Schema.Union([Schema.Boolean, Schema.Null]),
5945
- ),
5946
- region: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5947
- status: Schema.optional(Schema.Union([Status2, Schema.Null])),
5948
- vpc: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5949
- vpcsById: Schema.optional(
5950
- Schema.Union([
5951
- Schema.Record(Schema.String, Schema.Unknown),
5952
- Schema.Null,
5953
- ]),
5954
- ),
5955
- vpcsByIdUnavailable: Schema.optional(
5956
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
5957
- ),
5958
- })
5959
- .pipe(
5960
- Schema.encodeKeys({
5961
- id: "id",
5962
- cloudType: "cloud_type",
5963
- dynamicRouting: "dynamic_routing",
5964
- installRoutesInCloud: "install_routes_in_cloud",
5965
- installRoutesInMagicWan: "install_routes_in_magic_wan",
5966
- name: "name",
5967
- type: "type",
5968
- updatedAt: "updated_at",
5969
- attachedHubs: "attached_hubs",
5970
- attachedVpcs: "attached_vpcs",
5971
- cloudAsn: "cloud_asn",
5972
- description: "description",
5973
- hub: "hub",
5974
- lastAppliedAt: "last_applied_at",
5975
- lastExportedAt: "last_exported_at",
5976
- lastPlannedAt: "last_planned_at",
5977
- manageHubToHubAttachments: "manage_hub_to_hub_attachments",
5978
- manageVpcToHubAttachments: "manage_vpc_to_hub_attachments",
5979
- plannedMonthlyCostEstimate: "planned_monthly_cost_estimate",
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(
6033
- () =>
6034
- Schema.Struct({
6035
- onrampId: Schema.String.pipe(T.HttpPath("onrampId")),
6036
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
6037
- attachedHubs: Schema.optional(Schema.Array(Schema.String)),
6038
- attachedVpcs: Schema.optional(Schema.Array(Schema.String)),
6039
- description: Schema.optional(Schema.String),
6040
- installRoutesInCloud: Schema.optional(Schema.Boolean),
6041
- installRoutesInMagicWan: Schema.optional(Schema.Boolean),
6042
- manageHubToHubAttachments: Schema.optional(Schema.Boolean),
6043
- manageVpcToHubAttachments: Schema.optional(Schema.Boolean),
6044
- name: Schema.optional(Schema.String),
6045
- vpc: Schema.optional(Schema.String),
6046
- }).pipe(
6047
- Schema.encodeKeys({
6048
- attachedHubs: "attached_hubs",
6049
- attachedVpcs: "attached_vpcs",
6050
- description: "description",
6051
- installRoutesInCloud: "install_routes_in_cloud",
6052
- installRoutesInMagicWan: "install_routes_in_magic_wan",
6053
- manageHubToHubAttachments: "manage_hub_to_hub_attachments",
6054
- manageVpcToHubAttachments: "manage_vpc_to_hub_attachments",
6055
- name: "name",
6056
- vpc: "vpc",
6057
- }),
6058
- T.Http({
6059
- method: "PUT",
6060
- path: "/accounts/{account_id}/magic/cloud/onramps/{onrampId}",
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__*/ /*#__PURE__*/ Schema.suspend(
6217
- () =>
6218
- Schema.Struct({
6219
- id: Schema.String,
6220
- cloudType: Schema.Union([
6221
- Schema.Literals(["AWS", "AZURE", "GOOGLE"]),
6222
- Schema.String,
6223
- ]),
6224
- dynamicRouting: Schema.Boolean,
6225
- installRoutesInCloud: Schema.Boolean,
6226
- installRoutesInMagicWan: Schema.Boolean,
6227
- name: Schema.String,
6228
- type: Schema.Union([
6229
- Schema.Literals(["OnrampTypeSingle", "OnrampTypeHub"]),
6230
- Schema.String,
6231
- ]),
6232
- updatedAt: Schema.String,
6233
- attachedHubs: Schema.optional(
6234
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
6235
- ),
6236
- attachedVpcs: Schema.optional(
6237
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
6238
- ),
6239
- cloudAsn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
6240
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6241
- hub: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6242
- lastAppliedAt: Schema.optional(
6243
- Schema.Union([Schema.String, Schema.Null]),
6244
- ),
6245
- lastExportedAt: Schema.optional(
6246
- Schema.Union([Schema.String, Schema.Null]),
6247
- ),
6248
- lastPlannedAt: Schema.optional(
6249
- Schema.Union([Schema.String, Schema.Null]),
6250
- ),
6251
- manageHubToHubAttachments: Schema.optional(
6252
- Schema.Union([Schema.Boolean, Schema.Null]),
6253
- ),
6254
- manageVpcToHubAttachments: Schema.optional(
6255
- Schema.Union([Schema.Boolean, Schema.Null]),
6256
- ),
6257
- plannedMonthlyCostEstimate: Schema.optional(
6258
- Schema.Union([PlannedMonthlyCostEstimate, Schema.Null]),
6259
- ),
6260
- plannedResources: Schema.optional(
6261
- Schema.Union([Schema.Array(PlannedResource), Schema.Null]),
6262
- ),
6263
- plannedResourcesUnavailable: Schema.optional(
6264
- Schema.Union([Schema.Boolean, Schema.Null]),
6265
- ),
6266
- postApplyMonthlyCostEstimate: Schema.optional(
6267
- Schema.Union([PostApplyMonthlyCostEstimate, Schema.Null]),
6268
- ),
6269
- postApplyResources: Schema.optional(
6270
- Schema.Union([
6271
- Schema.Record(Schema.String, Schema.Unknown),
6272
- Schema.Null,
6273
- ]),
6274
- ),
6275
- postApplyResourcesUnavailable: Schema.optional(
6276
- Schema.Union([Schema.Boolean, Schema.Null]),
6277
- ),
6278
- region: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6279
- status: Schema.optional(Schema.Union([Status2, Schema.Null])),
6280
- vpc: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6281
- vpcsById: Schema.optional(
6282
- Schema.Union([
6283
- Schema.Record(Schema.String, Schema.Unknown),
6284
- Schema.Null,
6285
- ]),
6286
- ),
6287
- vpcsByIdUnavailable: Schema.optional(
6288
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
6289
- ),
6290
- })
6291
- .pipe(
6292
- Schema.encodeKeys({
6293
- id: "id",
6294
- cloudType: "cloud_type",
6295
- dynamicRouting: "dynamic_routing",
6296
- installRoutesInCloud: "install_routes_in_cloud",
6297
- installRoutesInMagicWan: "install_routes_in_magic_wan",
6298
- name: "name",
6299
- type: "type",
6300
- updatedAt: "updated_at",
6301
- attachedHubs: "attached_hubs",
6302
- attachedVpcs: "attached_vpcs",
6303
- cloudAsn: "cloud_asn",
6304
- description: "description",
6305
- hub: "hub",
6306
- lastAppliedAt: "last_applied_at",
6307
- lastExportedAt: "last_exported_at",
6308
- lastPlannedAt: "last_planned_at",
6309
- manageHubToHubAttachments: "manage_hub_to_hub_attachments",
6310
- manageVpcToHubAttachments: "manage_vpc_to_hub_attachments",
6311
- plannedMonthlyCostEstimate: "planned_monthly_cost_estimate",
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(
6369
- () =>
6370
- Schema.Struct({
6371
- onrampId: Schema.String.pipe(T.HttpPath("onrampId")),
6372
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
6373
- attachedHubs: Schema.optional(Schema.Array(Schema.String)),
6374
- attachedVpcs: Schema.optional(Schema.Array(Schema.String)),
6375
- description: Schema.optional(Schema.String),
6376
- installRoutesInCloud: Schema.optional(Schema.Boolean),
6377
- installRoutesInMagicWan: Schema.optional(Schema.Boolean),
6378
- manageHubToHubAttachments: Schema.optional(Schema.Boolean),
6379
- manageVpcToHubAttachments: Schema.optional(Schema.Boolean),
6380
- name: Schema.optional(Schema.String),
6381
- vpc: Schema.optional(Schema.String),
6382
- }).pipe(
6383
- Schema.encodeKeys({
6384
- attachedHubs: "attached_hubs",
6385
- attachedVpcs: "attached_vpcs",
6386
- description: "description",
6387
- installRoutesInCloud: "install_routes_in_cloud",
6388
- installRoutesInMagicWan: "install_routes_in_magic_wan",
6389
- manageHubToHubAttachments: "manage_hub_to_hub_attachments",
6390
- manageVpcToHubAttachments: "manage_vpc_to_hub_attachments",
6391
- name: "name",
6392
- vpc: "vpc",
6393
- }),
6394
- T.Http({
6395
- method: "PATCH",
6396
- path: "/accounts/{account_id}/magic/cloud/onramps/{onrampId}",
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__*/ /*#__PURE__*/ Schema.suspend(
6553
- () =>
6554
- Schema.Struct({
6555
- id: Schema.String,
6556
- cloudType: Schema.Union([
6557
- Schema.Literals(["AWS", "AZURE", "GOOGLE"]),
6558
- Schema.String,
6559
- ]),
6560
- dynamicRouting: Schema.Boolean,
6561
- installRoutesInCloud: Schema.Boolean,
6562
- installRoutesInMagicWan: Schema.Boolean,
6563
- name: Schema.String,
6564
- type: Schema.Union([
6565
- Schema.Literals(["OnrampTypeSingle", "OnrampTypeHub"]),
6566
- Schema.String,
6567
- ]),
6568
- updatedAt: Schema.String,
6569
- attachedHubs: Schema.optional(
6570
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
6571
- ),
6572
- attachedVpcs: Schema.optional(
6573
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
6574
- ),
6575
- cloudAsn: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
6576
- description: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6577
- hub: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6578
- lastAppliedAt: Schema.optional(
6579
- Schema.Union([Schema.String, Schema.Null]),
6580
- ),
6581
- lastExportedAt: Schema.optional(
6582
- Schema.Union([Schema.String, Schema.Null]),
6583
- ),
6584
- lastPlannedAt: Schema.optional(
6585
- Schema.Union([Schema.String, Schema.Null]),
6586
- ),
6587
- manageHubToHubAttachments: Schema.optional(
6588
- Schema.Union([Schema.Boolean, Schema.Null]),
6589
- ),
6590
- manageVpcToHubAttachments: Schema.optional(
6591
- Schema.Union([Schema.Boolean, Schema.Null]),
6592
- ),
6593
- plannedMonthlyCostEstimate: Schema.optional(
6594
- Schema.Union([PlannedMonthlyCostEstimate, Schema.Null]),
6595
- ),
6596
- plannedResources: Schema.optional(
6597
- Schema.Union([Schema.Array(PlannedResource), Schema.Null]),
6598
- ),
6599
- plannedResourcesUnavailable: Schema.optional(
6600
- Schema.Union([Schema.Boolean, Schema.Null]),
6601
- ),
6602
- postApplyMonthlyCostEstimate: Schema.optional(
6603
- Schema.Union([PostApplyMonthlyCostEstimate, Schema.Null]),
6604
- ),
6605
- postApplyResources: Schema.optional(
6606
- Schema.Union([
6607
- Schema.Record(Schema.String, Schema.Unknown),
6608
- Schema.Null,
6609
- ]),
6610
- ),
6611
- postApplyResourcesUnavailable: Schema.optional(
6612
- Schema.Union([Schema.Boolean, Schema.Null]),
6613
- ),
6614
- region: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6615
- status: Schema.optional(Schema.Union([Status2, Schema.Null])),
6616
- vpc: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6617
- vpcsById: Schema.optional(
6618
- Schema.Union([
6619
- Schema.Record(Schema.String, Schema.Unknown),
6620
- Schema.Null,
6621
- ]),
6622
- ),
6623
- vpcsByIdUnavailable: Schema.optional(
6624
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
6625
- ),
6626
- })
6627
- .pipe(
6628
- Schema.encodeKeys({
6629
- id: "id",
6630
- cloudType: "cloud_type",
6631
- dynamicRouting: "dynamic_routing",
6632
- installRoutesInCloud: "install_routes_in_cloud",
6633
- installRoutesInMagicWan: "install_routes_in_magic_wan",
6634
- name: "name",
6635
- type: "type",
6636
- updatedAt: "updated_at",
6637
- attachedHubs: "attached_hubs",
6638
- attachedVpcs: "attached_vpcs",
6639
- cloudAsn: "cloud_asn",
6640
- description: "description",
6641
- hub: "hub",
6642
- lastAppliedAt: "last_applied_at",
6643
- lastExportedAt: "last_exported_at",
6644
- lastPlannedAt: "last_planned_at",
6645
- manageHubToHubAttachments: "manage_hub_to_hub_attachments",
6646
- manageVpcToHubAttachments: "manage_vpc_to_hub_attachments",
6647
- plannedMonthlyCostEstimate: "planned_monthly_cost_estimate",
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(
6691
- () =>
6692
- Schema.Struct({
6693
- onrampId: Schema.String.pipe(T.HttpPath("onrampId")),
6694
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
6695
- destroy: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("destroy")),
6696
- force: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("force")),
6697
- }).pipe(
6698
- T.Http({
6699
- method: "DELETE",
6700
- path: "/accounts/{account_id}/magic/cloud/onramps/{onrampId}",
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__*/ /*#__PURE__*/ Schema.suspend(
6710
- () =>
6711
- Schema.Struct({
6712
- id: Schema.String,
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(
6739
- () =>
6740
- Schema.Struct({
6741
- onrampId: Schema.String.pipe(T.HttpPath("onrampId")),
6742
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
6743
- }).pipe(
6744
- T.Http({
6745
- method: "POST",
6746
- path: "/accounts/{account_id}/magic/cloud/onramps/{onrampId}/apply",
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__*/ /*#__PURE__*/ Schema.suspend(
7100
- () =>
7101
- Schema.Struct({
7102
- errors: Schema.Array(Error2),
7103
- messages: Schema.Array(Error2),
7104
- success: Schema.Boolean,
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(
7127
- () =>
7128
- Schema.Struct({
7129
- onrampId: Schema.String.pipe(T.HttpPath("onrampId")),
7130
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
7131
- }).pipe(
7132
- T.Http({
7133
- method: "POST",
7134
- path: "/accounts/{account_id}/magic/cloud/onramps/{onrampId}/export",
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__*/ /*#__PURE__*/ Schema.suspend(
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(
7164
- () =>
7165
- Schema.Struct({
7166
- onrampId: Schema.String.pipe(T.HttpPath("onrampId")),
7167
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
7168
- }).pipe(
7169
- T.Http({
7170
- method: "POST",
7171
- path: "/accounts/{account_id}/magic/cloud/onramps/{onrampId}/plan",
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__*/ /*#__PURE__*/ Schema.suspend(
7525
- () =>
7526
- Schema.Struct({
7527
- errors: Schema.Array(Error2),
7528
- messages: Schema.Array(Error2),
7529
- success: Schema.Boolean,
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(
7735
- () =>
7736
- Schema.Struct({
7737
- resourceId: Schema.String.pipe(T.HttpPath("resourceId")),
7738
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
7739
- v2: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("v2")),
7740
- }).pipe(
7741
- T.Http({
7742
- method: "GET",
7743
- path: "/accounts/{account_id}/magic/cloud/resources/{resourceId}",
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__*/ /*#__PURE__*/ Schema.suspend(
8054
- () =>
8055
- Schema.Struct({
8056
- id: Schema.String,
8057
- accountId: Schema.String,
8058
- cloudType: Schema.Union([
8059
- Schema.Literals(["AWS", "AZURE", "GOOGLE", "CLOUDFLARE"]),
8060
- Schema.String,
8061
- ]),
8062
- config: Schema.Record(Schema.String, Schema.Unknown),
8063
- deploymentProvider: Schema.String,
8064
- managed: Schema.Boolean,
8065
- monthlyCostEstimate: PostApplyMonthlyCostEstimate,
8066
- name: Schema.String,
8067
- nativeId: Schema.String,
8068
- observations: Schema.Record(Schema.String, Schema.Unknown),
8069
- providerIds: Schema.Array(Schema.String),
8070
- providerNamesById: Schema.Record(Schema.String, Schema.Unknown),
8071
- region: Schema.String,
8072
- resourceGroup: Schema.String,
8073
- resourceType: Schema.Union([
8074
- Schema.Literals([
8075
- "aws_customer_gateway",
8076
- "aws_egress_only_internet_gateway",
8077
- "aws_internet_gateway",
8078
- "aws_instance",
8079
- "aws_network_interface",
8080
- "aws_route",
8081
- "aws_route_table",
8082
- "aws_route_table_association",
8083
- "aws_subnet",
8084
- "aws_vpc",
8085
- "aws_vpc_ipv4_cidr_block_association",
8086
- "aws_vpn_connection",
8087
- "aws_vpn_connection_route",
8088
- "aws_vpn_gateway",
8089
- "aws_security_group",
8090
- "aws_vpc_security_group_ingress_rule",
8091
- "aws_vpc_security_group_egress_rule",
8092
- "aws_ec2_managed_prefix_list",
8093
- "aws_ec2_transit_gateway",
8094
- "aws_ec2_transit_gateway_prefix_list_reference",
8095
- "aws_ec2_transit_gateway_vpc_attachment",
8096
- "azurerm_application_security_group",
8097
- "azurerm_lb",
8098
- "azurerm_lb_backend_address_pool",
8099
- "azurerm_lb_nat_pool",
8100
- "azurerm_lb_nat_rule",
8101
- "azurerm_lb_rule",
8102
- "azurerm_local_network_gateway",
8103
- "azurerm_network_interface",
8104
- "azurerm_network_interface_application_security_group_association",
8105
- "azurerm_network_interface_backend_address_pool_association",
8106
- "azurerm_network_interface_security_group_association",
8107
- "azurerm_network_security_group",
8108
- "azurerm_public_ip",
8109
- "azurerm_route",
8110
- "azurerm_route_table",
8111
- "azurerm_subnet",
8112
- "azurerm_subnet_route_table_association",
8113
- "azurerm_virtual_machine",
8114
- "azurerm_virtual_network_gateway_connection",
8115
- "azurerm_virtual_network",
8116
- "azurerm_virtual_network_gateway",
8117
- "google_compute_network",
8118
- "google_compute_subnetwork",
8119
- "google_compute_vpn_gateway",
8120
- "google_compute_vpn_tunnel",
8121
- "google_compute_route",
8122
- "google_compute_address",
8123
- "google_compute_global_address",
8124
- "google_compute_router",
8125
- "google_compute_interconnect_attachment",
8126
- "google_compute_ha_vpn_gateway",
8127
- "google_compute_forwarding_rule",
8128
- "google_compute_network_firewall_policy",
8129
- "google_compute_network_firewall_policy_rule",
8130
- "cloudflare_static_route",
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
- sections: Schema.Array(Section),
8136
- state: Schema.Record(Schema.String, Schema.Unknown),
8137
- tags: Schema.Record(Schema.String, Schema.Unknown),
8138
- updatedAt: Schema.String,
8139
- url: Schema.String,
8140
- managedBy: Schema.optional(
8141
- Schema.Union([Schema.Array(InUseBy), Schema.Null]),
8142
- ),
8143
- })
8144
- .pipe(
8145
- Schema.encodeKeys({
8146
- id: "id",
8147
- accountId: "account_id",
8148
- cloudType: "cloud_type",
8149
- config: "config",
8150
- deploymentProvider: "deployment_provider",
8151
- managed: "managed",
8152
- monthlyCostEstimate: "monthly_cost_estimate",
8153
- name: "name",
8154
- nativeId: "native_id",
8155
- observations: "observations",
8156
- providerIds: "provider_ids",
8157
- providerNamesById: "provider_names_by_id",
8158
- region: "region",
8159
- resourceGroup: "resource_group",
8160
- resourceType: "resource_type",
8161
- sections: "sections",
8162
- state: "state",
8163
- tags: "tags",
8164
- updatedAt: "updated_at",
8165
- url: "url",
8166
- managedBy: "managed_by",
8167
- }),
8168
- )
8169
- .pipe(T.ResponsePath("result")),
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(
8274
- () =>
8275
- Schema.Struct({
8276
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
8277
- page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
8278
- perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
8279
- cloudflare: Schema.optional(Schema.Boolean).pipe(
8280
- T.HttpQuery("cloudflare"),
8281
- ),
8282
- desc: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("desc")),
8283
- managed: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("managed")),
8284
- orderBy: Schema.optional(Schema.String).pipe(T.HttpQuery("order_by")),
8285
- providerId: Schema.optional(Schema.String).pipe(
8286
- T.HttpQuery("provider_id"),
8287
- ),
8288
- region: Schema.optional(Schema.String).pipe(T.HttpQuery("region")),
8289
- resourceGroup: Schema.optional(Schema.String).pipe(
8290
- T.HttpQuery("resource_group"),
8291
- ),
8292
- resourceId: Schema.optional(Schema.Array(Schema.String)).pipe(
8293
- T.HttpQuery("resource_id"),
8294
- ),
8295
- resourceType: Schema.optional(
8296
- Schema.Array(
8297
- Schema.Union([
8298
- Schema.Literals([
8299
- "aws_customer_gateway",
8300
- "aws_egress_only_internet_gateway",
8301
- "aws_internet_gateway",
8302
- "aws_instance",
8303
- "aws_network_interface",
8304
- "aws_route",
8305
- "aws_route_table",
8306
- "aws_route_table_association",
8307
- "aws_subnet",
8308
- "aws_vpc",
8309
- "aws_vpc_ipv4_cidr_block_association",
8310
- "aws_vpn_connection",
8311
- "aws_vpn_connection_route",
8312
- "aws_vpn_gateway",
8313
- "aws_security_group",
8314
- "aws_vpc_security_group_ingress_rule",
8315
- "aws_vpc_security_group_egress_rule",
8316
- "aws_ec2_managed_prefix_list",
8317
- "aws_ec2_transit_gateway",
8318
- "aws_ec2_transit_gateway_prefix_list_reference",
8319
- "aws_ec2_transit_gateway_vpc_attachment",
8320
- "azurerm_application_security_group",
8321
- "azurerm_lb",
8322
- "azurerm_lb_backend_address_pool",
8323
- "azurerm_lb_nat_pool",
8324
- "azurerm_lb_nat_rule",
8325
- "azurerm_lb_rule",
8326
- "azurerm_local_network_gateway",
8327
- "azurerm_network_interface",
8328
- "azurerm_network_interface_application_security_group_association",
8329
- "azurerm_network_interface_backend_address_pool_association",
8330
- "azurerm_network_interface_security_group_association",
8331
- "azurerm_network_security_group",
8332
- "azurerm_public_ip",
8333
- "azurerm_route",
8334
- "azurerm_route_table",
8335
- "azurerm_subnet",
8336
- "azurerm_subnet_route_table_association",
8337
- "azurerm_virtual_machine",
8338
- "azurerm_virtual_network_gateway_connection",
8339
- "azurerm_virtual_network",
8340
- "azurerm_virtual_network_gateway",
8341
- "google_compute_network",
8342
- "google_compute_subnetwork",
8343
- "google_compute_vpn_gateway",
8344
- "google_compute_vpn_tunnel",
8345
- "google_compute_route",
8346
- "google_compute_address",
8347
- "google_compute_global_address",
8348
- "google_compute_router",
8349
- "google_compute_interconnect_attachment",
8350
- "google_compute_ha_vpn_gateway",
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
- ).pipe(T.HttpQuery("resource_type")),
8361
- search: Schema.optional(Schema.Array(Schema.String)).pipe(
8362
- T.HttpQuery("search"),
8269
+ Schema.String,
8270
+ ]),
8363
8271
  ),
8364
- v2: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("v2")),
8365
- }).pipe(
8366
- T.Http({
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__*/ /*#__PURE__*/ Schema.suspend(
8667
- () =>
8668
- Schema.Struct({
8669
- result: Schema.Array(ListResourcesResponseResult),
8670
- resultInfo: Schema.optional(
8671
- Schema.Union([ListResourcesResponseResultInfo, Schema.Null]),
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__*/ /*#__PURE__*/ API.makePaginated(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(
8779
- () =>
8780
- Schema.Struct({
8781
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
8782
- desc: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("desc")),
8783
- orderBy: Schema.optional(Schema.String).pipe(T.HttpQuery("order_by")),
8784
- providerId: Schema.optional(Schema.String).pipe(
8785
- T.HttpQuery("provider_id"),
8786
- ),
8787
- region: Schema.optional(Schema.String).pipe(T.HttpQuery("region")),
8788
- resourceGroup: Schema.optional(Schema.String).pipe(
8789
- T.HttpQuery("resource_group"),
8790
- ),
8791
- resourceId: Schema.optional(Schema.Array(Schema.String)).pipe(
8792
- T.HttpQuery("resource_id"),
8793
- ),
8794
- resourceType: Schema.optional(
8795
- Schema.Array(
8796
- Schema.Union([
8797
- Schema.Literals([
8798
- "aws_customer_gateway",
8799
- "aws_egress_only_internet_gateway",
8800
- "aws_internet_gateway",
8801
- "aws_instance",
8802
- "aws_network_interface",
8803
- "aws_route",
8804
- "aws_route_table",
8805
- "aws_route_table_association",
8806
- "aws_subnet",
8807
- "aws_vpc",
8808
- "aws_vpc_ipv4_cidr_block_association",
8809
- "aws_vpn_connection",
8810
- "aws_vpn_connection_route",
8811
- "aws_vpn_gateway",
8812
- "aws_security_group",
8813
- "aws_vpc_security_group_ingress_rule",
8814
- "aws_vpc_security_group_egress_rule",
8815
- "aws_ec2_managed_prefix_list",
8816
- "aws_ec2_transit_gateway",
8817
- "aws_ec2_transit_gateway_prefix_list_reference",
8818
- "aws_ec2_transit_gateway_vpc_attachment",
8819
- "azurerm_application_security_group",
8820
- "azurerm_lb",
8821
- "azurerm_lb_backend_address_pool",
8822
- "azurerm_lb_nat_pool",
8823
- "azurerm_lb_nat_rule",
8824
- "azurerm_lb_rule",
8825
- "azurerm_local_network_gateway",
8826
- "azurerm_network_interface",
8827
- "azurerm_network_interface_application_security_group_association",
8828
- "azurerm_network_interface_backend_address_pool_association",
8829
- "azurerm_network_interface_security_group_association",
8830
- "azurerm_network_security_group",
8831
- "azurerm_public_ip",
8832
- "azurerm_route",
8833
- "azurerm_route_table",
8834
- "azurerm_subnet",
8835
- "azurerm_subnet_route_table_association",
8836
- "azurerm_virtual_machine",
8837
- "azurerm_virtual_network_gateway_connection",
8838
- "azurerm_virtual_network",
8839
- "azurerm_virtual_network_gateway",
8840
- "google_compute_network",
8841
- "google_compute_subnetwork",
8842
- "google_compute_vpn_gateway",
8843
- "google_compute_vpn_tunnel",
8844
- "google_compute_route",
8845
- "google_compute_address",
8846
- "google_compute_global_address",
8847
- "google_compute_router",
8848
- "google_compute_interconnect_attachment",
8849
- "google_compute_ha_vpn_gateway",
8850
- "google_compute_forwarding_rule",
8851
- "google_compute_network_firewall_policy",
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
- ).pipe(T.HttpQuery("resource_type")),
8860
- search: Schema.optional(Schema.Array(Schema.String)).pipe(
8861
- T.HttpQuery("search"),
8764
+ Schema.String,
8765
+ ]),
8862
8766
  ),
8863
- v2: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("v2")),
8864
- }).pipe(
8865
- T.Http({
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__*/ /*#__PURE__*/ Schema.suspend(
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__*/ /*#__PURE__*/ API.make(() => ({
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ Schema.suspend(() =>
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__*/ /*#__PURE__*/ API.make(() => ({
8846
+ > = /*@__PURE__*/ API.make(() => ({
8939
8847
  input: InitialSetupCloudIntegrationRequest,
8940
8848
  output: InitialSetupCloudIntegrationResponse,
8941
8849
  errors: [],