@distilled.cloud/cloudflare 0.28.2 → 0.29.1

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 (463) hide show
  1. package/lib/client/api.d.ts +1 -1
  2. package/lib/client/api.d.ts.map +1 -1
  3. package/lib/credentials.d.ts.map +1 -1
  4. package/lib/retry.d.ts.map +1 -1
  5. package/lib/services/abuse-reports.d.ts.map +1 -1
  6. package/lib/services/abuse-reports.js +26 -26
  7. package/lib/services/abuse-reports.js.map +1 -1
  8. package/lib/services/accounts.d.ts.map +1 -1
  9. package/lib/services/accounts.js +114 -123
  10. package/lib/services/accounts.js.map +1 -1
  11. package/lib/services/acm.d.ts.map +1 -1
  12. package/lib/services/acm.js +23 -23
  13. package/lib/services/acm.js.map +1 -1
  14. package/lib/services/addressing.d.ts.map +1 -1
  15. package/lib/services/addressing.js +132 -132
  16. package/lib/services/addressing.js.map +1 -1
  17. package/lib/services/ai-gateway.d.ts.map +1 -1
  18. package/lib/services/ai-gateway.js +213 -207
  19. package/lib/services/ai-gateway.js.map +1 -1
  20. package/lib/services/ai-security.d.ts.map +1 -1
  21. package/lib/services/ai-security.js +13 -13
  22. package/lib/services/ai-security.js.map +1 -1
  23. package/lib/services/ai.d.ts.map +1 -1
  24. package/lib/services/ai.js +62 -62
  25. package/lib/services/ai.js.map +1 -1
  26. package/lib/services/aisearch.d.ts.map +1 -1
  27. package/lib/services/aisearch.js +187 -193
  28. package/lib/services/aisearch.js.map +1 -1
  29. package/lib/services/alerting.d.ts.map +1 -1
  30. package/lib/services/alerting.js +78 -78
  31. package/lib/services/alerting.js.map +1 -1
  32. package/lib/services/api-gateway.d.ts.map +1 -1
  33. package/lib/services/api-gateway.js +168 -177
  34. package/lib/services/api-gateway.js.map +1 -1
  35. package/lib/services/argo.js +12 -12
  36. package/lib/services/argo.js.map +1 -1
  37. package/lib/services/audit-logs.d.ts.map +1 -1
  38. package/lib/services/audit-logs.js +9 -9
  39. package/lib/services/audit-logs.js.map +1 -1
  40. package/lib/services/billing.d.ts.map +1 -1
  41. package/lib/services/billing.js +11 -11
  42. package/lib/services/billing.js.map +1 -1
  43. package/lib/services/bot-management.d.ts.map +1 -1
  44. package/lib/services/bot-management.js +18 -30
  45. package/lib/services/bot-management.js.map +1 -1
  46. package/lib/services/botnet-feed.d.ts.map +1 -1
  47. package/lib/services/botnet-feed.js +12 -12
  48. package/lib/services/botnet-feed.js.map +1 -1
  49. package/lib/services/brand-protection.d.ts.map +1 -1
  50. package/lib/services/brand-protection.js +59 -59
  51. package/lib/services/brand-protection.js.map +1 -1
  52. package/lib/services/browser-rendering.d.ts.map +1 -1
  53. package/lib/services/browser-rendering.js +103 -103
  54. package/lib/services/browser-rendering.js.map +1 -1
  55. package/lib/services/cache.d.ts.map +1 -1
  56. package/lib/services/cache.js +72 -72
  57. package/lib/services/cache.js.map +1 -1
  58. package/lib/services/calls.d.ts.map +1 -1
  59. package/lib/services/calls.js +31 -31
  60. package/lib/services/calls.js.map +1 -1
  61. package/lib/services/certificate-authorities.js +6 -6
  62. package/lib/services/certificate-authorities.js.map +1 -1
  63. package/lib/services/client-certificates.js +18 -18
  64. package/lib/services/client-certificates.js.map +1 -1
  65. package/lib/services/cloud-connector.d.ts.map +1 -1
  66. package/lib/services/cloud-connector.js +8 -8
  67. package/lib/services/cloud-connector.js.map +1 -1
  68. package/lib/services/cloudforce-one.d.ts.map +1 -1
  69. package/lib/services/cloudforce-one.js +178 -178
  70. package/lib/services/cloudforce-one.js.map +1 -1
  71. package/lib/services/connectivity.js +25 -25
  72. package/lib/services/connectivity.js.map +1 -1
  73. package/lib/services/containers.js +49 -49
  74. package/lib/services/containers.js.map +1 -1
  75. package/lib/services/content-scanning.d.ts.map +1 -1
  76. package/lib/services/content-scanning.js +29 -29
  77. package/lib/services/content-scanning.js.map +1 -1
  78. package/lib/services/csam-scanner.d.ts.map +1 -1
  79. package/lib/services/csam-scanner.js +8 -8
  80. package/lib/services/csam-scanner.js.map +1 -1
  81. package/lib/services/custom-certificates.d.ts.map +1 -1
  82. package/lib/services/custom-certificates.js +24 -24
  83. package/lib/services/custom-certificates.js.map +1 -1
  84. package/lib/services/custom-csrs.d.ts.map +1 -1
  85. package/lib/services/custom-csrs.js +22 -22
  86. package/lib/services/custom-csrs.js.map +1 -1
  87. package/lib/services/custom-hostnames.d.ts.map +1 -1
  88. package/lib/services/custom-hostnames.js +40 -40
  89. package/lib/services/custom-hostnames.js.map +1 -1
  90. package/lib/services/custom-nameservers.js +11 -11
  91. package/lib/services/custom-nameservers.js.map +1 -1
  92. package/lib/services/custom-pages.d.ts.map +1 -1
  93. package/lib/services/custom-pages.js +43 -43
  94. package/lib/services/custom-pages.js.map +1 -1
  95. package/lib/services/d1.d.ts +4 -4
  96. package/lib/services/d1.d.ts.map +1 -1
  97. package/lib/services/d1.js +69 -51
  98. package/lib/services/d1.js.map +1 -1
  99. package/lib/services/dcv-delegation.js +3 -3
  100. package/lib/services/dcv-delegation.js.map +1 -1
  101. package/lib/services/ddos-protection.js +126 -126
  102. package/lib/services/ddos-protection.js.map +1 -1
  103. package/lib/services/diagnostics.js +27 -27
  104. package/lib/services/diagnostics.js.map +1 -1
  105. package/lib/services/dls.d.ts.map +1 -1
  106. package/lib/services/dls.js +26 -26
  107. package/lib/services/dls.js.map +1 -1
  108. package/lib/services/dns-firewall.d.ts.map +1 -1
  109. package/lib/services/dns-firewall.js +34 -34
  110. package/lib/services/dns-firewall.js.map +1 -1
  111. package/lib/services/dns.d.ts.map +1 -1
  112. package/lib/services/dns.js +268 -268
  113. package/lib/services/dns.js.map +1 -1
  114. package/lib/services/durable-objects.d.ts.map +1 -1
  115. package/lib/services/durable-objects.js +11 -11
  116. package/lib/services/durable-objects.js.map +1 -1
  117. package/lib/services/email-auth.d.ts.map +1 -1
  118. package/lib/services/email-auth.js +13 -13
  119. package/lib/services/email-auth.js.map +1 -1
  120. package/lib/services/email-routing.d.ts.map +1 -1
  121. package/lib/services/email-routing.js +70 -70
  122. package/lib/services/email-routing.js.map +1 -1
  123. package/lib/services/email-security.d.ts.map +1 -1
  124. package/lib/services/email-security.js +195 -195
  125. package/lib/services/email-security.js.map +1 -1
  126. package/lib/services/email-sending.d.ts.map +1 -1
  127. package/lib/services/email-sending.js +28 -28
  128. package/lib/services/email-sending.js.map +1 -1
  129. package/lib/services/filters.d.ts.map +1 -1
  130. package/lib/services/filters.js +25 -25
  131. package/lib/services/filters.js.map +1 -1
  132. package/lib/services/firewall.d.ts.map +1 -1
  133. package/lib/services/firewall.js +149 -149
  134. package/lib/services/firewall.js.map +1 -1
  135. package/lib/services/flagship.d.ts.map +1 -1
  136. package/lib/services/flagship.js +52 -52
  137. package/lib/services/flagship.js.map +1 -1
  138. package/lib/services/fraud.js +8 -8
  139. package/lib/services/fraud.js.map +1 -1
  140. package/lib/services/google-tag-gateway.d.ts.map +1 -1
  141. package/lib/services/google-tag-gateway.js +7 -7
  142. package/lib/services/google-tag-gateway.js.map +1 -1
  143. package/lib/services/healthchecks.d.ts.map +1 -1
  144. package/lib/services/healthchecks.js +31 -31
  145. package/lib/services/healthchecks.js.map +1 -1
  146. package/lib/services/hostnames.d.ts.map +1 -1
  147. package/lib/services/hostnames.js +10 -10
  148. package/lib/services/hostnames.js.map +1 -1
  149. package/lib/services/hyperdrive.d.ts.map +1 -1
  150. package/lib/services/hyperdrive.js +32 -32
  151. package/lib/services/hyperdrive.js.map +1 -1
  152. package/lib/services/iam.d.ts.map +1 -1
  153. package/lib/services/iam.js +113 -113
  154. package/lib/services/iam.js.map +1 -1
  155. package/lib/services/images.d.ts.map +1 -1
  156. package/lib/services/images.js +59 -59
  157. package/lib/services/images.js.map +1 -1
  158. package/lib/services/intel.d.ts.map +1 -1
  159. package/lib/services/intel.js +102 -102
  160. package/lib/services/intel.js.map +1 -1
  161. package/lib/services/ips.js +5 -5
  162. package/lib/services/ips.js.map +1 -1
  163. package/lib/services/keyless-certificates.js +17 -17
  164. package/lib/services/keyless-certificates.js.map +1 -1
  165. package/lib/services/kv.d.ts.map +1 -1
  166. package/lib/services/kv.js +54 -54
  167. package/lib/services/kv.js.map +1 -1
  168. package/lib/services/leaked-credential-checks.d.ts.map +1 -1
  169. package/lib/services/leaked-credential-checks.js +22 -22
  170. package/lib/services/leaked-credential-checks.js.map +1 -1
  171. package/lib/services/load-balancers.d.ts.map +1 -1
  172. package/lib/services/load-balancers.js +139 -157
  173. package/lib/services/load-balancers.js.map +1 -1
  174. package/lib/services/logpush.d.ts.map +1 -1
  175. package/lib/services/logpush.js +69 -69
  176. package/lib/services/logpush.js.map +1 -1
  177. package/lib/services/logs.d.ts.map +1 -1
  178. package/lib/services/logs.js +58 -58
  179. package/lib/services/logs.js.map +1 -1
  180. package/lib/services/magic-cloud-networking.d.ts.map +1 -1
  181. package/lib/services/magic-cloud-networking.js +138 -168
  182. package/lib/services/magic-cloud-networking.js.map +1 -1
  183. package/lib/services/magic-network-monitoring.d.ts.map +1 -1
  184. package/lib/services/magic-network-monitoring.js +47 -65
  185. package/lib/services/magic-network-monitoring.js.map +1 -1
  186. package/lib/services/magic-transit.d.ts.map +1 -1
  187. package/lib/services/magic-transit.js +340 -364
  188. package/lib/services/magic-transit.js.map +1 -1
  189. package/lib/services/managed-transforms.js +11 -11
  190. package/lib/services/managed-transforms.js.map +1 -1
  191. package/lib/services/memberships.d.ts.map +1 -1
  192. package/lib/services/memberships.js +25 -25
  193. package/lib/services/memberships.js.map +1 -1
  194. package/lib/services/moq.d.ts.map +1 -1
  195. package/lib/services/moq.js +23 -23
  196. package/lib/services/moq.js.map +1 -1
  197. package/lib/services/mtls-certificates.d.ts.map +1 -1
  198. package/lib/services/mtls-certificates.js +17 -17
  199. package/lib/services/mtls-certificates.js.map +1 -1
  200. package/lib/services/network-interconnects.d.ts.map +1 -1
  201. package/lib/services/network-interconnects.js +56 -56
  202. package/lib/services/network-interconnects.js.map +1 -1
  203. package/lib/services/organizations.d.ts.map +1 -1
  204. package/lib/services/organizations.js +42 -42
  205. package/lib/services/organizations.js.map +1 -1
  206. package/lib/services/origin-ca-certificates.js +14 -14
  207. package/lib/services/origin-ca-certificates.js.map +1 -1
  208. package/lib/services/origin-post-quantum-encryption.js +6 -6
  209. package/lib/services/origin-post-quantum-encryption.js.map +1 -1
  210. package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
  211. package/lib/services/origin-tls-client-auth.js +52 -52
  212. package/lib/services/origin-tls-client-auth.js.map +1 -1
  213. package/lib/services/origin-tls-compliance-modes.js +12 -12
  214. package/lib/services/origin-tls-compliance-modes.js.map +1 -1
  215. package/lib/services/page-rules.d.ts.map +1 -1
  216. package/lib/services/page-rules.js +62 -62
  217. package/lib/services/page-rules.js.map +1 -1
  218. package/lib/services/page-shield.d.ts.map +1 -1
  219. package/lib/services/page-shield.js +45 -48
  220. package/lib/services/page-shield.js.map +1 -1
  221. package/lib/services/pages.d.ts.map +1 -1
  222. package/lib/services/pages.js +78 -78
  223. package/lib/services/pages.js.map +1 -1
  224. package/lib/services/pipelines.d.ts.map +1 -1
  225. package/lib/services/pipelines.js +102 -102
  226. package/lib/services/pipelines.js.map +1 -1
  227. package/lib/services/queues.d.ts.map +1 -1
  228. package/lib/services/queues.js +100 -103
  229. package/lib/services/queues.js.map +1 -1
  230. package/lib/services/r2-data-catalog.d.ts.map +1 -1
  231. package/lib/services/r2-data-catalog.js +42 -42
  232. package/lib/services/r2-data-catalog.js.map +1 -1
  233. package/lib/services/r2.d.ts.map +1 -1
  234. package/lib/services/r2.js +190 -190
  235. package/lib/services/r2.js.map +1 -1
  236. package/lib/services/radar.d.ts.map +1 -1
  237. package/lib/services/radar.js +991 -1009
  238. package/lib/services/radar.js.map +1 -1
  239. package/lib/services/rate-limits.d.ts.map +1 -1
  240. package/lib/services/rate-limits.js +24 -24
  241. package/lib/services/rate-limits.js.map +1 -1
  242. package/lib/services/realtime-kit.d.ts.map +1 -1
  243. package/lib/services/realtime-kit.js +276 -276
  244. package/lib/services/realtime-kit.js.map +1 -1
  245. package/lib/services/registrar.d.ts.map +1 -1
  246. package/lib/services/registrar.js +28 -28
  247. package/lib/services/registrar.js.map +1 -1
  248. package/lib/services/request-tracers.d.ts.map +1 -1
  249. package/lib/services/request-tracers.js +7 -7
  250. package/lib/services/request-tracers.js.map +1 -1
  251. package/lib/services/resource-sharing.d.ts.map +1 -1
  252. package/lib/services/resource-sharing.js +49 -49
  253. package/lib/services/resource-sharing.js.map +1 -1
  254. package/lib/services/resource-tagging.d.ts.map +1 -1
  255. package/lib/services/resource-tagging.js +56 -56
  256. package/lib/services/resource-tagging.js.map +1 -1
  257. package/lib/services/rules.d.ts.map +1 -1
  258. package/lib/services/rules.js +50 -50
  259. package/lib/services/rules.js.map +1 -1
  260. package/lib/services/rulesets.d.ts +2 -2
  261. package/lib/services/rulesets.d.ts.map +1 -1
  262. package/lib/services/rulesets.js +226 -190
  263. package/lib/services/rulesets.js.map +1 -1
  264. package/lib/services/rum.d.ts.map +1 -1
  265. package/lib/services/rum.js +35 -35
  266. package/lib/services/rum.js.map +1 -1
  267. package/lib/services/schema-validation.d.ts.map +1 -1
  268. package/lib/services/schema-validation.js +43 -46
  269. package/lib/services/schema-validation.js.map +1 -1
  270. package/lib/services/secrets-store.d.ts.map +1 -1
  271. package/lib/services/secrets-store.js +41 -41
  272. package/lib/services/secrets-store.js.map +1 -1
  273. package/lib/services/security-center.d.ts.map +1 -1
  274. package/lib/services/security-center.js +54 -57
  275. package/lib/services/security-center.js.map +1 -1
  276. package/lib/services/security-txt.d.ts.map +1 -1
  277. package/lib/services/security-txt.js +12 -12
  278. package/lib/services/security-txt.js.map +1 -1
  279. package/lib/services/snippets.d.ts.map +1 -1
  280. package/lib/services/snippets.js +31 -31
  281. package/lib/services/snippets.js.map +1 -1
  282. package/lib/services/spectrum.d.ts.map +1 -1
  283. package/lib/services/spectrum.js +35 -35
  284. package/lib/services/spectrum.js.map +1 -1
  285. package/lib/services/speed.d.ts.map +1 -1
  286. package/lib/services/speed.js +41 -41
  287. package/lib/services/speed.js.map +1 -1
  288. package/lib/services/ssl.d.ts.map +1 -1
  289. package/lib/services/ssl.js +48 -48
  290. package/lib/services/ssl.js.map +1 -1
  291. package/lib/services/stream.d.ts.map +1 -1
  292. package/lib/services/stream.js +147 -147
  293. package/lib/services/stream.js.map +1 -1
  294. package/lib/services/tenant-custom-nameservers.js +11 -11
  295. package/lib/services/tenant-custom-nameservers.js.map +1 -1
  296. package/lib/services/tenants.d.ts.map +1 -1
  297. package/lib/services/tenants.js +28 -28
  298. package/lib/services/tenants.js.map +1 -1
  299. package/lib/services/token-validation.d.ts.map +1 -1
  300. package/lib/services/token-validation.js +56 -56
  301. package/lib/services/token-validation.js.map +1 -1
  302. package/lib/services/turnstile.d.ts.map +1 -1
  303. package/lib/services/turnstile.js +27 -54
  304. package/lib/services/turnstile.js.map +1 -1
  305. package/lib/services/url-normalization.js +9 -9
  306. package/lib/services/url-normalization.js.map +1 -1
  307. package/lib/services/url-scanner.d.ts.map +1 -1
  308. package/lib/services/url-scanner.js +120 -120
  309. package/lib/services/url-scanner.js.map +1 -1
  310. package/lib/services/user.d.ts.map +1 -1
  311. package/lib/services/user.js +95 -95
  312. package/lib/services/user.js.map +1 -1
  313. package/lib/services/vectorize.d.ts +10 -10
  314. package/lib/services/vectorize.d.ts.map +1 -1
  315. package/lib/services/vectorize.js +59 -57
  316. package/lib/services/vectorize.js.map +1 -1
  317. package/lib/services/vulnerability-scanner.d.ts.map +1 -1
  318. package/lib/services/vulnerability-scanner.js +95 -95
  319. package/lib/services/vulnerability-scanner.js.map +1 -1
  320. package/lib/services/waiting-rooms.d.ts.map +1 -1
  321. package/lib/services/waiting-rooms.js +81 -81
  322. package/lib/services/waiting-rooms.js.map +1 -1
  323. package/lib/services/web3.d.ts.map +1 -1
  324. package/lib/services/web3.js +39 -39
  325. package/lib/services/web3.js.map +1 -1
  326. package/lib/services/workers-for-platforms.d.ts.map +1 -1
  327. package/lib/services/workers-for-platforms.js +139 -139
  328. package/lib/services/workers-for-platforms.js.map +1 -1
  329. package/lib/services/workers.d.ts.map +1 -1
  330. package/lib/services/workers.js +420 -420
  331. package/lib/services/workers.js.map +1 -1
  332. package/lib/services/workflows.d.ts.map +1 -1
  333. package/lib/services/workflows.js +88 -88
  334. package/lib/services/workflows.js.map +1 -1
  335. package/lib/services/zaraz.d.ts.map +1 -1
  336. package/lib/services/zaraz.js +36 -39
  337. package/lib/services/zaraz.js.map +1 -1
  338. package/lib/services/zero-trust.d.ts.map +1 -1
  339. package/lib/services/zero-trust.js +1765 -1771
  340. package/lib/services/zero-trust.js.map +1 -1
  341. package/lib/services/zones.d.ts.map +1 -1
  342. package/lib/services/zones.js +168 -168
  343. package/lib/services/zones.js.map +1 -1
  344. package/lib/traits.d.ts.map +1 -1
  345. package/package.json +10 -9
  346. package/src/services/abuse-reports.ts +35 -36
  347. package/src/services/accounts.ts +714 -760
  348. package/src/services/acm.ts +115 -125
  349. package/src/services/addressing.ts +484 -512
  350. package/src/services/ai-gateway.ts +653 -672
  351. package/src/services/ai-security.ts +47 -53
  352. package/src/services/ai.ts +172 -185
  353. package/src/services/aisearch.ts +1814 -1861
  354. package/src/services/alerting.ts +710 -742
  355. package/src/services/api-gateway.ts +481 -508
  356. package/src/services/argo.ts +12 -12
  357. package/src/services/audit-logs.ts +45 -49
  358. package/src/services/billing.ts +121 -136
  359. package/src/services/bot-management.ts +122 -136
  360. package/src/services/botnet-feed.ts +68 -74
  361. package/src/services/brand-protection.ts +275 -294
  362. package/src/services/browser-rendering.ts +758 -769
  363. package/src/services/cache.ts +148 -158
  364. package/src/services/calls.ts +110 -120
  365. package/src/services/certificate-authorities.ts +6 -6
  366. package/src/services/client-certificates.ts +18 -18
  367. package/src/services/cloud-connector.ts +11 -12
  368. package/src/services/cloudforce-one.ts +589 -617
  369. package/src/services/connectivity.ts +25 -25
  370. package/src/services/containers.ts +49 -49
  371. package/src/services/content-scanning.ts +80 -89
  372. package/src/services/csam-scanner.ts +16 -17
  373. package/src/services/custom-certificates.ts +36 -38
  374. package/src/services/custom-csrs.ts +103 -105
  375. package/src/services/custom-hostnames.ts +44 -45
  376. package/src/services/custom-nameservers.ts +11 -11
  377. package/src/services/custom-pages.ts +173 -184
  378. package/src/services/d1.ts +335 -325
  379. package/src/services/dcv-delegation.ts +3 -3
  380. package/src/services/ddos-protection.ts +126 -126
  381. package/src/services/diagnostics.ts +27 -27
  382. package/src/services/dls.ts +82 -86
  383. package/src/services/dns-firewall.ts +65 -69
  384. package/src/services/dns.ts +1080 -1107
  385. package/src/services/durable-objects.ts +36 -38
  386. package/src/services/email-auth.ts +47 -52
  387. package/src/services/email-routing.ts +264 -288
  388. package/src/services/email-security.ts +205 -208
  389. package/src/services/email-sending.ts +94 -99
  390. package/src/services/filters.ts +97 -111
  391. package/src/services/firewall.ts +698 -753
  392. package/src/services/flagship.ts +321 -336
  393. package/src/services/fraud.ts +8 -8
  394. package/src/services/google-tag-gateway.ts +17 -19
  395. package/src/services/healthchecks.ts +269 -286
  396. package/src/services/hostnames.ts +94 -99
  397. package/src/services/hyperdrive.ts +310 -324
  398. package/src/services/iam.ts +205 -212
  399. package/src/services/images.ts +138 -150
  400. package/src/services/intel.ts +248 -261
  401. package/src/services/ips.ts +5 -5
  402. package/src/services/keyless-certificates.ts +17 -17
  403. package/src/services/kv.ts +106 -110
  404. package/src/services/leaked-credential-checks.ts +49 -53
  405. package/src/services/load-balancers.ts +1119 -1212
  406. package/src/services/logpush.ts +298 -313
  407. package/src/services/logs.ts +74 -77
  408. package/src/services/magic-cloud-networking.ts +1219 -1311
  409. package/src/services/magic-network-monitoring.ts +647 -685
  410. package/src/services/magic-transit.ts +1988 -2119
  411. package/src/services/managed-transforms.ts +11 -11
  412. package/src/services/memberships.ts +101 -105
  413. package/src/services/moq.ts +100 -110
  414. package/src/services/mtls-certificates.ts +30 -32
  415. package/src/services/network-interconnects.ts +137 -145
  416. package/src/services/organizations.ts +189 -192
  417. package/src/services/origin-ca-certificates.ts +14 -14
  418. package/src/services/origin-post-quantum-encryption.ts +6 -6
  419. package/src/services/origin-tls-client-auth.ts +219 -236
  420. package/src/services/origin-tls-compliance-modes.ts +12 -12
  421. package/src/services/page-rules.ts +365 -373
  422. package/src/services/page-shield.ts +489 -528
  423. package/src/services/pages.ts +309 -319
  424. package/src/services/pipelines.ts +534 -573
  425. package/src/services/queues.ts +598 -635
  426. package/src/services/r2-data-catalog.ts +59 -60
  427. package/src/services/r2.ts +654 -689
  428. package/src/services/radar.ts +3395 -3487
  429. package/src/services/rate-limits.ts +81 -93
  430. package/src/services/realtime-kit.ts +386 -399
  431. package/src/services/registrar.ts +90 -96
  432. package/src/services/request-tracers.ts +41 -43
  433. package/src/services/resource-sharing.ts +293 -305
  434. package/src/services/resource-tagging.ts +354 -366
  435. package/src/services/rules.ts +272 -292
  436. package/src/services/rulesets.ts +1214 -1116
  437. package/src/services/rum.ts +252 -273
  438. package/src/services/schema-validation.ts +284 -305
  439. package/src/services/secrets-store.ts +130 -138
  440. package/src/services/security-center.ts +64 -69
  441. package/src/services/security-txt.ts +48 -50
  442. package/src/services/snippets.ts +132 -142
  443. package/src/services/spectrum.ts +75 -80
  444. package/src/services/speed.ts +385 -397
  445. package/src/services/ssl.ts +64 -65
  446. package/src/services/stream.ts +658 -718
  447. package/src/services/tenant-custom-nameservers.ts +11 -11
  448. package/src/services/tenants.ts +86 -93
  449. package/src/services/token-validation.ts +145 -151
  450. package/src/services/turnstile.ts +344 -381
  451. package/src/services/url-normalization.ts +9 -9
  452. package/src/services/url-scanner.ts +393 -399
  453. package/src/services/user.ts +479 -503
  454. package/src/services/vectorize.ts +215 -230
  455. package/src/services/vulnerability-scanner.ts +145 -148
  456. package/src/services/waiting-rooms.ts +759 -825
  457. package/src/services/web3.ts +186 -197
  458. package/src/services/workers-for-platforms.ts +408 -432
  459. package/src/services/workers.ts +1175 -1239
  460. package/src/services/workflows.ts +585 -616
  461. package/src/services/zaraz.ts +168 -192
  462. package/src/services/zero-trust.ts +2965 -3074
  463. package/src/services/zones.ts +753 -785
@@ -33,7 +33,7 @@ export class OnRampNotFound extends T.applyErrorMatchers(Schema.TaggedErrorClass
33
33
  message: Schema.String,
34
34
  }), [{ status: 404 }]) {
35
35
  }
36
- const Meta = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
36
+ const Meta = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
37
37
  l10nKey: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
38
38
  loggableError: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
39
39
  templateData: Schema.optional(Schema.Union([Schema.Unknown, Schema.Null])),
@@ -44,7 +44,7 @@ const Meta = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
44
44
  templateData: "template_data",
45
45
  traceId: "trace_id",
46
46
  })));
47
- const Source = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
47
+ const Source = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
48
48
  parameter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
49
49
  parameterValueIndex: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
50
50
  pointer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -53,7 +53,7 @@ const Source = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
53
53
  parameterValueIndex: "parameter_value_index",
54
54
  pointer: "pointer",
55
55
  })));
56
- const Error2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
56
+ const Error2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
57
57
  code: Schema.Union([
58
58
  Schema.Literals([
59
59
  "1001",
@@ -226,7 +226,7 @@ const Error2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
226
226
  source: "source",
227
227
  })));
228
228
  const ListCatalogSyncsResponseResult =
229
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
229
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
230
230
  id: Schema.String,
231
231
  description: Schema.String,
232
232
  destinationId: Schema.String,
@@ -263,7 +263,7 @@ const ListCatalogSyncsResponseResult =
263
263
  lastSuccessfulUpdateAt: "last_successful_update_at",
264
264
  })));
265
265
  const ListCatalogSyncPrebuiltPoliciesResponseResult =
266
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
266
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
267
267
  applicableDestinations: Schema.Array(Schema.Union([
268
268
  Schema.Literals(["NONE", "ZERO_TRUST_LIST"]),
269
269
  Schema.String,
@@ -277,17 +277,17 @@ const ListCatalogSyncPrebuiltPoliciesResponseResult =
277
277
  policyName: "policy_name",
278
278
  policyString: "policy_string",
279
279
  })));
280
- const DiscoveryProgress = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
280
+ const DiscoveryProgress = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
281
281
  done: Schema.Number,
282
282
  total: Schema.Number,
283
283
  unit: Schema.String,
284
284
  }));
285
- const InUseBy = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
285
+ const InUseBy = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
286
286
  id: Schema.String,
287
287
  clientType: Schema.Literal("MAGIC_WAN_CLOUD_ONRAMP"),
288
288
  name: Schema.String,
289
289
  }).pipe(Schema.encodeKeys({ id: "id", clientType: "client_type", name: "name" })));
290
- const Status = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
290
+ const Status = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
291
291
  discoveryProgress: DiscoveryProgress,
292
292
  discoveryProgressV2: DiscoveryProgress,
293
293
  lastDiscoveryStatus: Schema.Union([
@@ -341,7 +341,7 @@ const Status = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
341
341
  lastUpdated: "last_updated",
342
342
  })));
343
343
  const ListCloudIntegrationsResponseResult =
344
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
344
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
345
345
  id: Schema.String,
346
346
  cloudType: Schema.Union([
347
347
  Schema.Literals(["AWS", "AZURE", "GOOGLE", "CLOUDFLARE"]),
@@ -396,7 +396,7 @@ const ListCloudIntegrationsResponseResult =
396
396
  gcpServiceAccountEmail: "gcp_service_account_email",
397
397
  status: "status",
398
398
  })));
399
- const PlannedMonthlyCostEstimate = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
399
+ const PlannedMonthlyCostEstimate = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
400
400
  currency: Schema.String,
401
401
  currentMonthlyCost: Schema.Number,
402
402
  diff: Schema.Number,
@@ -407,7 +407,7 @@ const PlannedMonthlyCostEstimate = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
407
407
  diff: "diff",
408
408
  proposedMonthlyCost: "proposed_monthly_cost",
409
409
  })));
410
- const Diff = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
410
+ const Diff = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
411
411
  diff: Schema.String,
412
412
  leftDescription: Schema.String,
413
413
  leftYaml: Schema.String,
@@ -420,7 +420,7 @@ const Diff = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
420
420
  rightDescription: "right_description",
421
421
  rightYaml: "right_yaml",
422
422
  })));
423
- const Resource = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
423
+ const Resource = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
424
424
  id: Schema.String,
425
425
  cloudType: Schema.Union([
426
426
  Schema.Literals(["AWS", "AZURE", "GOOGLE", "CLOUDFLARE"]),
@@ -499,7 +499,7 @@ const Resource = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct(
499
499
  resourceType: "resource_type",
500
500
  title: "title",
501
501
  })));
502
- const PlannedResource = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
502
+ const PlannedResource = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
503
503
  diff: Diff,
504
504
  keysRequireReplace: Schema.Array(Schema.String),
505
505
  monthlyCostEstimateDiff: PlannedMonthlyCostEstimate,
@@ -515,15 +515,15 @@ const PlannedResource = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.
515
515
  plannedAction: "planned_action",
516
516
  resource: "resource",
517
517
  })));
518
- const PostApplyMonthlyCostEstimate = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
518
+ const PostApplyMonthlyCostEstimate = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
519
519
  currency: Schema.String,
520
520
  monthlyCost: Schema.Number,
521
521
  }).pipe(Schema.encodeKeys({ currency: "currency", monthlyCost: "monthly_cost" })));
522
- const ApplyProgress = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
522
+ const ApplyProgress = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
523
523
  done: Schema.Number,
524
524
  total: Schema.Number,
525
525
  }));
526
- const Status2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
526
+ const Status2 = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
527
527
  applyProgress: ApplyProgress,
528
528
  lifecycleState: Schema.Union([
529
529
  Schema.Literals([
@@ -554,7 +554,7 @@ const Status2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
554
554
  tunnels: "tunnels",
555
555
  lifecycleErrors: "lifecycle_errors",
556
556
  })));
557
- const ListOnRampsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
557
+ const ListOnRampsResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
558
558
  id: Schema.String,
559
559
  cloudType: Schema.Union([
560
560
  Schema.Literals(["AWS", "AZURE", "GOOGLE"]),
@@ -583,18 +583,12 @@ const ListOnRampsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
583
583
  plannedResources: Schema.optional(Schema.Union([Schema.Array(PlannedResource), Schema.Null])),
584
584
  plannedResourcesUnavailable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
585
585
  postApplyMonthlyCostEstimate: Schema.optional(Schema.Union([PostApplyMonthlyCostEstimate, Schema.Null])),
586
- postApplyResources: Schema.optional(Schema.Union([
587
- Schema.Record(Schema.String, Schema.Unknown),
588
- Schema.Null,
589
- ])),
586
+ postApplyResources: Schema.optional(Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null])),
590
587
  postApplyResourcesUnavailable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
591
588
  region: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
592
589
  status: Schema.optional(Schema.Union([Status2, Schema.Null])),
593
590
  vpc: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
594
- vpcsById: Schema.optional(Schema.Union([
595
- Schema.Record(Schema.String, Schema.Unknown),
596
- Schema.Null,
597
- ])),
591
+ vpcsById: Schema.optional(Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null])),
598
592
  vpcsByIdUnavailable: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
599
593
  }).pipe(Schema.encodeKeys({
600
594
  id: "id",
@@ -627,30 +621,30 @@ const ListOnRampsResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
627
621
  vpcsById: "vpcs_by_id",
628
622
  vpcsByIdUnavailable: "vpcs_by_id_unavailable",
629
623
  })));
630
- const McnStringItem = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
624
+ const McnStringItem = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
631
625
  itemType: Schema.String,
632
626
  string: Schema.String,
633
627
  }).pipe(Schema.encodeKeys({ itemType: "item_type", string: "string" })));
634
- const McnYamlItem = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
628
+ const McnYamlItem = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
635
629
  itemType: Schema.String,
636
630
  yaml: Schema.String,
637
631
  }).pipe(Schema.encodeKeys({ itemType: "item_type", yaml: "yaml" })));
638
- const McnYamlDiffItem = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
632
+ const McnYamlDiffItem = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
639
633
  itemType: Schema.String,
640
634
  yamlDiff: Diff,
641
635
  }).pipe(Schema.encodeKeys({ itemType: "item_type", yamlDiff: "yaml_diff" })));
642
- const McnResourcePreviewItem = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
636
+ const McnResourcePreviewItem = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
643
637
  itemType: Schema.String,
644
638
  resourcePreview: Resource,
645
639
  }).pipe(Schema.encodeKeys({
646
640
  itemType: "item_type",
647
641
  resourcePreview: "resource_preview",
648
642
  })));
649
- const McnListItem = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
643
+ const McnListItem = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
650
644
  itemType: Schema.String,
651
645
  list: Schema.Array(Schema.Union([McnStringItem, McnResourcePreviewItem])),
652
646
  }).pipe(Schema.encodeKeys({ itemType: "item_type", list: "list" })));
653
- const HiddenItem = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
647
+ const HiddenItem = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
654
648
  helpText: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
655
649
  name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
656
650
  value: Schema.optional(Schema.Union([
@@ -664,7 +658,7 @@ const HiddenItem = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struc
664
658
  Schema.Null,
665
659
  ])),
666
660
  }));
667
- const Section = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
661
+ const Section = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
668
662
  hiddenItems: Schema.Array(HiddenItem),
669
663
  name: Schema.String,
670
664
  visibleItems: Schema.Array(HiddenItem),
@@ -675,7 +669,7 @@ const Section = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
675
669
  visibleItems: "visible_items",
676
670
  helpText: "help_text",
677
671
  })));
678
- const ListResourcesResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
672
+ const ListResourcesResponseResult = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
679
673
  id: Schema.String,
680
674
  accountId: Schema.String,
681
675
  cloudType: Schema.Union([
@@ -785,7 +779,7 @@ const ListResourcesResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
785
779
  managedBy: "managed_by",
786
780
  })));
787
781
  const ListResourcesResponseResultInfo =
788
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
782
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
789
783
  count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
790
784
  page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
791
785
  perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -796,14 +790,14 @@ const ListResourcesResponseResultInfo =
796
790
  perPage: "per_page",
797
791
  totalCount: "total_count",
798
792
  })));
799
- const McnAwsTrustPolicy = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
793
+ const McnAwsTrustPolicy = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
800
794
  awsTrustPolicy: Schema.String,
801
795
  itemType: Schema.String,
802
796
  }).pipe(Schema.encodeKeys({
803
797
  awsTrustPolicy: "aws_trust_policy",
804
798
  itemType: "item_type",
805
799
  })));
806
- const McnAzureSetup = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
800
+ const McnAzureSetup = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
807
801
  azureConsentUrl: Schema.String,
808
802
  integrationIdentityTag: Schema.String,
809
803
  itemType: Schema.String,
@@ -814,7 +808,7 @@ const McnAzureSetup = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.St
814
808
  itemType: "item_type",
815
809
  tagCliCommand: "tag_cli_command",
816
810
  })));
817
- const McnGcpSetup = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
811
+ const McnGcpSetup = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
818
812
  integrationIdentityTag: Schema.String,
819
813
  itemType: Schema.String,
820
814
  tagCliCommand: Schema.String,
@@ -824,24 +818,24 @@ const McnGcpSetup = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Stru
824
818
  tagCliCommand: "tag_cli_command",
825
819
  })));
826
820
  export const DiscoverAllCloudIntegrationRequest =
827
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
821
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
828
822
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
829
823
  }).pipe(T.Http({
830
824
  method: "POST",
831
825
  path: "/accounts/{account_id}/magic/cloud/providers/discover",
832
826
  })));
833
827
  export const DiscoverAllCloudIntegrationResponse =
834
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
828
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
835
829
  errors: Schema.Array(Error2),
836
830
  messages: Schema.Array(Error2),
837
831
  success: Schema.Boolean,
838
832
  }));
839
- export const discoverAllCloudIntegration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
833
+ export const discoverAllCloudIntegration = /*@__PURE__*/ API.make(() => ({
840
834
  input: DiscoverAllCloudIntegrationRequest,
841
835
  output: DiscoverAllCloudIntegrationResponse,
842
836
  errors: [],
843
837
  }));
844
- export const GetCatalogSyncRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
838
+ export const GetCatalogSyncRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
845
839
  syncId: Schema.String.pipe(T.HttpPath("syncId")),
846
840
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
847
841
  }).pipe(T.Http({
@@ -849,7 +843,7 @@ export const GetCatalogSyncRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
849
843
  path: "/accounts/{account_id}/magic/cloud/catalog-syncs/{syncId}",
850
844
  })));
851
845
  export const GetCatalogSyncResponse =
852
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
846
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
853
847
  id: Schema.String,
854
848
  description: Schema.String,
855
849
  destinationId: Schema.String,
@@ -887,23 +881,23 @@ export const GetCatalogSyncResponse =
887
881
  lastSuccessfulUpdateAt: "last_successful_update_at",
888
882
  }))
889
883
  .pipe(T.ResponsePath("result")));
890
- export const getCatalogSync = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
884
+ export const getCatalogSync = /*@__PURE__*/ API.make(() => ({
891
885
  input: GetCatalogSyncRequest,
892
886
  output: GetCatalogSyncResponse,
893
887
  errors: [FeatureNotEnabled, Forbidden, CatalogSyncNotFound],
894
888
  }));
895
889
  export const ListCatalogSyncsRequest =
896
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
890
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
897
891
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
898
892
  }).pipe(T.Http({
899
893
  method: "GET",
900
894
  path: "/accounts/{account_id}/magic/cloud/catalog-syncs",
901
895
  })));
902
896
  export const ListCatalogSyncsResponse =
903
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
897
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
904
898
  result: Schema.Array(ListCatalogSyncsResponseResult),
905
899
  }));
906
- export const listCatalogSyncs = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
900
+ export const listCatalogSyncs = /*@__PURE__*/ API.makePaginated(() => ({
907
901
  input: ListCatalogSyncsRequest,
908
902
  output: ListCatalogSyncsResponse,
909
903
  errors: [FeatureNotEnabled, Forbidden],
@@ -913,7 +907,7 @@ export const listCatalogSyncs = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(()
913
907
  },
914
908
  }));
915
909
  export const CreateCatalogSyncRequest =
916
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
910
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
917
911
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
918
912
  forwarded: Schema.optional(Schema.String).pipe(T.HttpHeader("forwarded")),
919
913
  destinationType: Schema.Union([
@@ -938,7 +932,7 @@ export const CreateCatalogSyncRequest =
938
932
  path: "/accounts/{account_id}/magic/cloud/catalog-syncs",
939
933
  })));
940
934
  export const CreateCatalogSyncResponse =
941
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
935
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
942
936
  id: Schema.String,
943
937
  description: Schema.String,
944
938
  destinationId: Schema.String,
@@ -976,13 +970,13 @@ export const CreateCatalogSyncResponse =
976
970
  lastSuccessfulUpdateAt: "last_successful_update_at",
977
971
  }))
978
972
  .pipe(T.ResponsePath("result")));
979
- export const createCatalogSync = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
973
+ export const createCatalogSync = /*@__PURE__*/ API.make(() => ({
980
974
  input: CreateCatalogSyncRequest,
981
975
  output: CreateCatalogSyncResponse,
982
976
  errors: [FeatureNotEnabled, Forbidden],
983
977
  }));
984
978
  export const UpdateCatalogSyncRequest =
985
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
979
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
986
980
  syncId: Schema.String.pipe(T.HttpPath("syncId")),
987
981
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
988
982
  description: Schema.optional(Schema.String),
@@ -999,7 +993,7 @@ export const UpdateCatalogSyncRequest =
999
993
  path: "/accounts/{account_id}/magic/cloud/catalog-syncs/{syncId}",
1000
994
  })));
1001
995
  export const UpdateCatalogSyncResponse =
1002
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
996
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1003
997
  id: Schema.String,
1004
998
  description: Schema.String,
1005
999
  destinationId: Schema.String,
@@ -1037,13 +1031,13 @@ export const UpdateCatalogSyncResponse =
1037
1031
  lastSuccessfulUpdateAt: "last_successful_update_at",
1038
1032
  }))
1039
1033
  .pipe(T.ResponsePath("result")));
1040
- export const updateCatalogSync = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1034
+ export const updateCatalogSync = /*@__PURE__*/ API.make(() => ({
1041
1035
  input: UpdateCatalogSyncRequest,
1042
1036
  output: UpdateCatalogSyncResponse,
1043
1037
  errors: [FeatureNotEnabled, Forbidden, CatalogSyncNotFound],
1044
1038
  }));
1045
1039
  export const PatchCatalogSyncRequest =
1046
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1040
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1047
1041
  syncId: Schema.String.pipe(T.HttpPath("syncId")),
1048
1042
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1049
1043
  description: Schema.optional(Schema.String),
@@ -1060,7 +1054,7 @@ export const PatchCatalogSyncRequest =
1060
1054
  path: "/accounts/{account_id}/magic/cloud/catalog-syncs/{syncId}",
1061
1055
  })));
1062
1056
  export const PatchCatalogSyncResponse =
1063
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1057
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1064
1058
  id: Schema.String,
1065
1059
  description: Schema.String,
1066
1060
  destinationId: Schema.String,
@@ -1098,13 +1092,13 @@ export const PatchCatalogSyncResponse =
1098
1092
  lastSuccessfulUpdateAt: "last_successful_update_at",
1099
1093
  }))
1100
1094
  .pipe(T.ResponsePath("result")));
1101
- export const patchCatalogSync = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1095
+ export const patchCatalogSync = /*@__PURE__*/ API.make(() => ({
1102
1096
  input: PatchCatalogSyncRequest,
1103
1097
  output: PatchCatalogSyncResponse,
1104
1098
  errors: [FeatureNotEnabled, Forbidden, CatalogSyncNotFound],
1105
1099
  }));
1106
1100
  export const DeleteCatalogSyncRequest =
1107
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1101
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1108
1102
  syncId: Schema.String.pipe(T.HttpPath("syncId")),
1109
1103
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1110
1104
  deleteDestination: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("delete_destination")),
@@ -1113,16 +1107,16 @@ export const DeleteCatalogSyncRequest =
1113
1107
  path: "/accounts/{account_id}/magic/cloud/catalog-syncs/{syncId}",
1114
1108
  })));
1115
1109
  export const DeleteCatalogSyncResponse =
1116
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1110
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1117
1111
  id: Schema.String,
1118
1112
  }).pipe(T.ResponsePath("result")));
1119
- export const deleteCatalogSync = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1113
+ export const deleteCatalogSync = /*@__PURE__*/ API.make(() => ({
1120
1114
  input: DeleteCatalogSyncRequest,
1121
1115
  output: DeleteCatalogSyncResponse,
1122
1116
  errors: [FeatureNotEnabled, Forbidden, CatalogSyncNotFound],
1123
1117
  }));
1124
1118
  export const RefreshCatalogSyncRequest =
1125
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1119
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1126
1120
  syncId: Schema.String.pipe(T.HttpPath("syncId")),
1127
1121
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1128
1122
  }).pipe(T.Http({
@@ -1130,14 +1124,14 @@ export const RefreshCatalogSyncRequest =
1130
1124
  path: "/accounts/{account_id}/magic/cloud/catalog-syncs/{syncId}/refresh",
1131
1125
  })));
1132
1126
  export const RefreshCatalogSyncResponse =
1133
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
1134
- export const refreshCatalogSync = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1127
+ /*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
1128
+ export const refreshCatalogSync = /*@__PURE__*/ API.make(() => ({
1135
1129
  input: RefreshCatalogSyncRequest,
1136
1130
  output: RefreshCatalogSyncResponse,
1137
1131
  errors: [FeatureNotEnabled, Forbidden, CatalogSyncNotFound],
1138
1132
  }));
1139
1133
  export const ListCatalogSyncPrebuiltPoliciesRequest =
1140
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1134
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1141
1135
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1142
1136
  destinationType: Schema.optional(Schema.Union([
1143
1137
  Schema.Literals(["NONE", "ZERO_TRUST_LIST"]),
@@ -1148,10 +1142,10 @@ export const ListCatalogSyncPrebuiltPoliciesRequest =
1148
1142
  path: "/accounts/{account_id}/magic/cloud/catalog-syncs/prebuilt-policies",
1149
1143
  })));
1150
1144
  export const ListCatalogSyncPrebuiltPoliciesResponse =
1151
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1145
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1152
1146
  result: Schema.Array(ListCatalogSyncPrebuiltPoliciesResponseResult),
1153
1147
  }));
1154
- export const listCatalogSyncPrebuiltPolicies = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
1148
+ export const listCatalogSyncPrebuiltPolicies = /*@__PURE__*/ API.makePaginated(() => ({
1155
1149
  input: ListCatalogSyncPrebuiltPoliciesRequest,
1156
1150
  output: ListCatalogSyncPrebuiltPoliciesResponse,
1157
1151
  errors: [FeatureNotEnabled, Forbidden],
@@ -1161,7 +1155,7 @@ export const listCatalogSyncPrebuiltPolicies = /*@__PURE__*/ /*#__PURE__*/ API.m
1161
1155
  },
1162
1156
  }));
1163
1157
  export const GetCloudIntegrationRequest =
1164
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1158
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1165
1159
  providerId: Schema.String.pipe(T.HttpPath("providerId")),
1166
1160
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1167
1161
  status: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("status")),
@@ -1170,7 +1164,7 @@ export const GetCloudIntegrationRequest =
1170
1164
  path: "/accounts/{account_id}/magic/cloud/providers/{providerId}",
1171
1165
  })));
1172
1166
  export const GetCloudIntegrationResponse =
1173
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1167
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1174
1168
  id: Schema.String,
1175
1169
  cloudType: Schema.Union([
1176
1170
  Schema.Literals(["AWS", "AZURE", "GOOGLE", "CLOUDFLARE"]),
@@ -1227,13 +1221,13 @@ export const GetCloudIntegrationResponse =
1227
1221
  status: "status",
1228
1222
  }))
1229
1223
  .pipe(T.ResponsePath("result")));
1230
- export const getCloudIntegration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1224
+ export const getCloudIntegration = /*@__PURE__*/ API.make(() => ({
1231
1225
  input: GetCloudIntegrationRequest,
1232
1226
  output: GetCloudIntegrationResponse,
1233
1227
  errors: [FeatureNotEnabled, Forbidden, CloudIntegrationNotFound],
1234
1228
  }));
1235
1229
  export const ListCloudIntegrationsRequest =
1236
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1230
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1237
1231
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1238
1232
  cloudflare: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("cloudflare")),
1239
1233
  desc: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("desc")),
@@ -1244,10 +1238,10 @@ export const ListCloudIntegrationsRequest =
1244
1238
  path: "/accounts/{account_id}/magic/cloud/providers",
1245
1239
  })));
1246
1240
  export const ListCloudIntegrationsResponse =
1247
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1241
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1248
1242
  result: Schema.Array(ListCloudIntegrationsResponseResult),
1249
1243
  }));
1250
- export const listCloudIntegrations = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
1244
+ export const listCloudIntegrations = /*@__PURE__*/ API.makePaginated(() => ({
1251
1245
  input: ListCloudIntegrationsRequest,
1252
1246
  output: ListCloudIntegrationsResponse,
1253
1247
  errors: [FeatureNotEnabled, Forbidden],
@@ -1257,7 +1251,7 @@ export const listCloudIntegrations = /*@__PURE__*/ /*#__PURE__*/ API.makePaginat
1257
1251
  },
1258
1252
  }));
1259
1253
  export const CreateCloudIntegrationRequest =
1260
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1254
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1261
1255
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1262
1256
  forwarded: Schema.optional(Schema.String).pipe(T.HttpHeader("forwarded")),
1263
1257
  cloudType: Schema.Union([
@@ -1275,7 +1269,7 @@ export const CreateCloudIntegrationRequest =
1275
1269
  path: "/accounts/{account_id}/magic/cloud/providers",
1276
1270
  })));
1277
1271
  export const CreateCloudIntegrationResponse =
1278
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1272
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1279
1273
  id: Schema.String,
1280
1274
  cloudType: Schema.Union([
1281
1275
  Schema.Literals(["AWS", "AZURE", "GOOGLE", "CLOUDFLARE"]),
@@ -1332,13 +1326,13 @@ export const CreateCloudIntegrationResponse =
1332
1326
  status: "status",
1333
1327
  }))
1334
1328
  .pipe(T.ResponsePath("result")));
1335
- export const createCloudIntegration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1329
+ export const createCloudIntegration = /*@__PURE__*/ API.make(() => ({
1336
1330
  input: CreateCloudIntegrationRequest,
1337
1331
  output: CreateCloudIntegrationResponse,
1338
1332
  errors: [FeatureNotEnabled, Forbidden],
1339
1333
  }));
1340
1334
  export const UpdateCloudIntegrationRequest =
1341
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1335
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1342
1336
  providerId: Schema.String.pipe(T.HttpPath("providerId")),
1343
1337
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1344
1338
  awsArn: Schema.optional(Schema.String),
@@ -1361,7 +1355,7 @@ export const UpdateCloudIntegrationRequest =
1361
1355
  path: "/accounts/{account_id}/magic/cloud/providers/{providerId}",
1362
1356
  })));
1363
1357
  export const UpdateCloudIntegrationResponse =
1364
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1358
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1365
1359
  id: Schema.String,
1366
1360
  cloudType: Schema.Union([
1367
1361
  Schema.Literals(["AWS", "AZURE", "GOOGLE", "CLOUDFLARE"]),
@@ -1418,13 +1412,13 @@ export const UpdateCloudIntegrationResponse =
1418
1412
  status: "status",
1419
1413
  }))
1420
1414
  .pipe(T.ResponsePath("result")));
1421
- export const updateCloudIntegration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1415
+ export const updateCloudIntegration = /*@__PURE__*/ API.make(() => ({
1422
1416
  input: UpdateCloudIntegrationRequest,
1423
1417
  output: UpdateCloudIntegrationResponse,
1424
1418
  errors: [FeatureNotEnabled, Forbidden, CloudIntegrationNotFound],
1425
1419
  }));
1426
1420
  export const PatchCloudIntegrationRequest =
1427
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1421
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1428
1422
  providerId: Schema.String.pipe(T.HttpPath("providerId")),
1429
1423
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1430
1424
  awsArn: Schema.optional(Schema.String),
@@ -1447,7 +1441,7 @@ export const PatchCloudIntegrationRequest =
1447
1441
  path: "/accounts/{account_id}/magic/cloud/providers/{providerId}",
1448
1442
  })));
1449
1443
  export const PatchCloudIntegrationResponse =
1450
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1444
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1451
1445
  id: Schema.String,
1452
1446
  cloudType: Schema.Union([
1453
1447
  Schema.Literals(["AWS", "AZURE", "GOOGLE", "CLOUDFLARE"]),
@@ -1504,13 +1498,13 @@ export const PatchCloudIntegrationResponse =
1504
1498
  status: "status",
1505
1499
  }))
1506
1500
  .pipe(T.ResponsePath("result")));
1507
- export const patchCloudIntegration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1501
+ export const patchCloudIntegration = /*@__PURE__*/ API.make(() => ({
1508
1502
  input: PatchCloudIntegrationRequest,
1509
1503
  output: PatchCloudIntegrationResponse,
1510
1504
  errors: [FeatureNotEnabled, Forbidden, CloudIntegrationNotFound],
1511
1505
  }));
1512
1506
  export const DeleteCloudIntegrationRequest =
1513
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1507
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1514
1508
  providerId: Schema.String.pipe(T.HttpPath("providerId")),
1515
1509
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1516
1510
  }).pipe(T.Http({
@@ -1518,16 +1512,16 @@ export const DeleteCloudIntegrationRequest =
1518
1512
  path: "/accounts/{account_id}/magic/cloud/providers/{providerId}",
1519
1513
  })));
1520
1514
  export const DeleteCloudIntegrationResponse =
1521
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1515
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1522
1516
  id: Schema.String,
1523
1517
  }).pipe(T.ResponsePath("result")));
1524
- export const deleteCloudIntegration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1518
+ export const deleteCloudIntegration = /*@__PURE__*/ API.make(() => ({
1525
1519
  input: DeleteCloudIntegrationRequest,
1526
1520
  output: DeleteCloudIntegrationResponse,
1527
1521
  errors: [FeatureNotEnabled, Forbidden, CloudIntegrationNotFound],
1528
1522
  }));
1529
1523
  export const DiscoverCloudIntegrationRequest =
1530
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1524
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1531
1525
  providerId: Schema.String.pipe(T.HttpPath("providerId")),
1532
1526
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1533
1527
  v2: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("v2")),
@@ -1536,17 +1530,17 @@ export const DiscoverCloudIntegrationRequest =
1536
1530
  path: "/accounts/{account_id}/magic/cloud/providers/{providerId}/discover",
1537
1531
  })));
1538
1532
  export const DiscoverCloudIntegrationResponse =
1539
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1533
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1540
1534
  errors: Schema.Array(Error2),
1541
1535
  messages: Schema.Array(Error2),
1542
1536
  success: Schema.Boolean,
1543
1537
  }));
1544
- export const discoverCloudIntegration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1538
+ export const discoverCloudIntegration = /*@__PURE__*/ API.make(() => ({
1545
1539
  input: DiscoverCloudIntegrationRequest,
1546
1540
  output: DiscoverCloudIntegrationResponse,
1547
1541
  errors: [FeatureNotEnabled, Forbidden],
1548
1542
  }));
1549
- export const GetOnRampRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1543
+ export const GetOnRampRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1550
1544
  onrampId: Schema.String.pipe(T.HttpPath("onrampId")),
1551
1545
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1552
1546
  plannedResources: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("planned_resources")),
@@ -1557,7 +1551,7 @@ export const GetOnRampRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1557
1551
  method: "GET",
1558
1552
  path: "/accounts/{account_id}/magic/cloud/onramps/{onrampId}",
1559
1553
  })));
1560
- export const GetOnRampResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1554
+ export const GetOnRampResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1561
1555
  id: Schema.String,
1562
1556
  cloudType: Schema.Union([
1563
1557
  Schema.Literals(["AWS", "AZURE", "GOOGLE"]),
@@ -1586,18 +1580,12 @@ export const GetOnRampResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
1586
1580
  plannedResources: Schema.optional(Schema.Union([Schema.Array(PlannedResource), Schema.Null])),
1587
1581
  plannedResourcesUnavailable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1588
1582
  postApplyMonthlyCostEstimate: Schema.optional(Schema.Union([PostApplyMonthlyCostEstimate, Schema.Null])),
1589
- postApplyResources: Schema.optional(Schema.Union([
1590
- Schema.Record(Schema.String, Schema.Unknown),
1591
- Schema.Null,
1592
- ])),
1583
+ postApplyResources: Schema.optional(Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null])),
1593
1584
  postApplyResourcesUnavailable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1594
1585
  region: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1595
1586
  status: Schema.optional(Schema.Union([Status2, Schema.Null])),
1596
1587
  vpc: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1597
- vpcsById: Schema.optional(Schema.Union([
1598
- Schema.Record(Schema.String, Schema.Unknown),
1599
- Schema.Null,
1600
- ])),
1588
+ vpcsById: Schema.optional(Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null])),
1601
1589
  vpcsByIdUnavailable: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
1602
1590
  })
1603
1591
  .pipe(Schema.encodeKeys({
@@ -1632,12 +1620,12 @@ export const GetOnRampResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =
1632
1620
  vpcsByIdUnavailable: "vpcs_by_id_unavailable",
1633
1621
  }))
1634
1622
  .pipe(T.ResponsePath("result")));
1635
- export const getOnRamp = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1623
+ export const getOnRamp = /*@__PURE__*/ API.make(() => ({
1636
1624
  input: GetOnRampRequest,
1637
1625
  output: GetOnRampResponse,
1638
1626
  errors: [FeatureNotEnabled, Forbidden, OnRampNotFound],
1639
1627
  }));
1640
- export const ListOnRampsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1628
+ export const ListOnRampsRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1641
1629
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1642
1630
  desc: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("desc")),
1643
1631
  orderBy: Schema.optional(Schema.String).pipe(T.HttpQuery("order_by")),
@@ -1647,10 +1635,10 @@ export const ListOnRampsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
1647
1635
  method: "GET",
1648
1636
  path: "/accounts/{account_id}/magic/cloud/onramps",
1649
1637
  })));
1650
- export const ListOnRampsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1638
+ export const ListOnRampsResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1651
1639
  result: Schema.Array(ListOnRampsResponseResult),
1652
1640
  }));
1653
- export const listOnRamps = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
1641
+ export const listOnRamps = /*@__PURE__*/ API.makePaginated(() => ({
1654
1642
  input: ListOnRampsRequest,
1655
1643
  output: ListOnRampsResponse,
1656
1644
  errors: [FeatureNotEnabled, Forbidden],
@@ -1659,7 +1647,7 @@ export const listOnRamps = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => (
1659
1647
  items: "result",
1660
1648
  },
1661
1649
  }));
1662
- export const CreateOnRampRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1650
+ export const CreateOnRampRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1663
1651
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1664
1652
  forwarded: Schema.optional(Schema.String).pipe(T.HttpHeader("forwarded")),
1665
1653
  cloudType: Schema.Union([
@@ -1705,7 +1693,7 @@ export const CreateOnRampRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
1705
1693
  method: "POST",
1706
1694
  path: "/accounts/{account_id}/magic/cloud/onramps",
1707
1695
  })));
1708
- export const CreateOnRampResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1696
+ export const CreateOnRampResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1709
1697
  id: Schema.String,
1710
1698
  cloudType: Schema.Union([
1711
1699
  Schema.Literals(["AWS", "AZURE", "GOOGLE"]),
@@ -1734,18 +1722,12 @@ export const CreateOnRampResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
1734
1722
  plannedResources: Schema.optional(Schema.Union([Schema.Array(PlannedResource), Schema.Null])),
1735
1723
  plannedResourcesUnavailable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1736
1724
  postApplyMonthlyCostEstimate: Schema.optional(Schema.Union([PostApplyMonthlyCostEstimate, Schema.Null])),
1737
- postApplyResources: Schema.optional(Schema.Union([
1738
- Schema.Record(Schema.String, Schema.Unknown),
1739
- Schema.Null,
1740
- ])),
1725
+ postApplyResources: Schema.optional(Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null])),
1741
1726
  postApplyResourcesUnavailable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1742
1727
  region: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1743
1728
  status: Schema.optional(Schema.Union([Status2, Schema.Null])),
1744
1729
  vpc: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1745
- vpcsById: Schema.optional(Schema.Union([
1746
- Schema.Record(Schema.String, Schema.Unknown),
1747
- Schema.Null,
1748
- ])),
1730
+ vpcsById: Schema.optional(Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null])),
1749
1731
  vpcsByIdUnavailable: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
1750
1732
  })
1751
1733
  .pipe(Schema.encodeKeys({
@@ -1780,12 +1762,12 @@ export const CreateOnRampResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
1780
1762
  vpcsByIdUnavailable: "vpcs_by_id_unavailable",
1781
1763
  }))
1782
1764
  .pipe(T.ResponsePath("result")));
1783
- export const createOnRamp = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1765
+ export const createOnRamp = /*@__PURE__*/ API.make(() => ({
1784
1766
  input: CreateOnRampRequest,
1785
1767
  output: CreateOnRampResponse,
1786
1768
  errors: [FeatureNotEnabled, Forbidden],
1787
1769
  }));
1788
- export const UpdateOnRampRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1770
+ export const UpdateOnRampRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1789
1771
  onrampId: Schema.String.pipe(T.HttpPath("onrampId")),
1790
1772
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1791
1773
  attachedHubs: Schema.optional(Schema.Array(Schema.String)),
@@ -1811,7 +1793,7 @@ export const UpdateOnRampRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
1811
1793
  method: "PUT",
1812
1794
  path: "/accounts/{account_id}/magic/cloud/onramps/{onrampId}",
1813
1795
  })));
1814
- export const UpdateOnRampResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1796
+ export const UpdateOnRampResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1815
1797
  id: Schema.String,
1816
1798
  cloudType: Schema.Union([
1817
1799
  Schema.Literals(["AWS", "AZURE", "GOOGLE"]),
@@ -1840,18 +1822,12 @@ export const UpdateOnRampResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
1840
1822
  plannedResources: Schema.optional(Schema.Union([Schema.Array(PlannedResource), Schema.Null])),
1841
1823
  plannedResourcesUnavailable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1842
1824
  postApplyMonthlyCostEstimate: Schema.optional(Schema.Union([PostApplyMonthlyCostEstimate, Schema.Null])),
1843
- postApplyResources: Schema.optional(Schema.Union([
1844
- Schema.Record(Schema.String, Schema.Unknown),
1845
- Schema.Null,
1846
- ])),
1825
+ postApplyResources: Schema.optional(Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null])),
1847
1826
  postApplyResourcesUnavailable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1848
1827
  region: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1849
1828
  status: Schema.optional(Schema.Union([Status2, Schema.Null])),
1850
1829
  vpc: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1851
- vpcsById: Schema.optional(Schema.Union([
1852
- Schema.Record(Schema.String, Schema.Unknown),
1853
- Schema.Null,
1854
- ])),
1830
+ vpcsById: Schema.optional(Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null])),
1855
1831
  vpcsByIdUnavailable: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
1856
1832
  })
1857
1833
  .pipe(Schema.encodeKeys({
@@ -1886,12 +1862,12 @@ export const UpdateOnRampResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
1886
1862
  vpcsByIdUnavailable: "vpcs_by_id_unavailable",
1887
1863
  }))
1888
1864
  .pipe(T.ResponsePath("result")));
1889
- export const updateOnRamp = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1865
+ export const updateOnRamp = /*@__PURE__*/ API.make(() => ({
1890
1866
  input: UpdateOnRampRequest,
1891
1867
  output: UpdateOnRampResponse,
1892
1868
  errors: [FeatureNotEnabled, Forbidden, OnRampNotFound],
1893
1869
  }));
1894
- export const PatchOnRampRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1870
+ export const PatchOnRampRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1895
1871
  onrampId: Schema.String.pipe(T.HttpPath("onrampId")),
1896
1872
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1897
1873
  attachedHubs: Schema.optional(Schema.Array(Schema.String)),
@@ -1917,7 +1893,7 @@ export const PatchOnRampRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
1917
1893
  method: "PATCH",
1918
1894
  path: "/accounts/{account_id}/magic/cloud/onramps/{onrampId}",
1919
1895
  })));
1920
- export const PatchOnRampResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1896
+ export const PatchOnRampResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
1921
1897
  id: Schema.String,
1922
1898
  cloudType: Schema.Union([
1923
1899
  Schema.Literals(["AWS", "AZURE", "GOOGLE"]),
@@ -1946,18 +1922,12 @@ export const PatchOnRampResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
1946
1922
  plannedResources: Schema.optional(Schema.Union([Schema.Array(PlannedResource), Schema.Null])),
1947
1923
  plannedResourcesUnavailable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1948
1924
  postApplyMonthlyCostEstimate: Schema.optional(Schema.Union([PostApplyMonthlyCostEstimate, Schema.Null])),
1949
- postApplyResources: Schema.optional(Schema.Union([
1950
- Schema.Record(Schema.String, Schema.Unknown),
1951
- Schema.Null,
1952
- ])),
1925
+ postApplyResources: Schema.optional(Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null])),
1953
1926
  postApplyResourcesUnavailable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1954
1927
  region: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1955
1928
  status: Schema.optional(Schema.Union([Status2, Schema.Null])),
1956
1929
  vpc: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1957
- vpcsById: Schema.optional(Schema.Union([
1958
- Schema.Record(Schema.String, Schema.Unknown),
1959
- Schema.Null,
1960
- ])),
1930
+ vpcsById: Schema.optional(Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null])),
1961
1931
  vpcsByIdUnavailable: Schema.optional(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
1962
1932
  })
1963
1933
  .pipe(Schema.encodeKeys({
@@ -1992,12 +1962,12 @@ export const PatchOnRampResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
1992
1962
  vpcsByIdUnavailable: "vpcs_by_id_unavailable",
1993
1963
  }))
1994
1964
  .pipe(T.ResponsePath("result")));
1995
- export const patchOnRamp = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1965
+ export const patchOnRamp = /*@__PURE__*/ API.make(() => ({
1996
1966
  input: PatchOnRampRequest,
1997
1967
  output: PatchOnRampResponse,
1998
1968
  errors: [FeatureNotEnabled, Forbidden, OnRampNotFound],
1999
1969
  }));
2000
- export const DeleteOnRampRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1970
+ export const DeleteOnRampRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2001
1971
  onrampId: Schema.String.pipe(T.HttpPath("onrampId")),
2002
1972
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2003
1973
  destroy: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("destroy")),
@@ -2006,79 +1976,79 @@ export const DeleteOnRampRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
2006
1976
  method: "DELETE",
2007
1977
  path: "/accounts/{account_id}/magic/cloud/onramps/{onrampId}",
2008
1978
  })));
2009
- export const DeleteOnRampResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1979
+ export const DeleteOnRampResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2010
1980
  id: Schema.String,
2011
1981
  }).pipe(T.ResponsePath("result")));
2012
- export const deleteOnRamp = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1982
+ export const deleteOnRamp = /*@__PURE__*/ API.make(() => ({
2013
1983
  input: DeleteOnRampRequest,
2014
1984
  output: DeleteOnRampResponse,
2015
1985
  errors: [FeatureNotEnabled, Forbidden, OnRampNotFound],
2016
1986
  }));
2017
- export const ApplyOnRampRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1987
+ export const ApplyOnRampRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2018
1988
  onrampId: Schema.String.pipe(T.HttpPath("onrampId")),
2019
1989
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2020
1990
  }).pipe(T.Http({
2021
1991
  method: "POST",
2022
1992
  path: "/accounts/{account_id}/magic/cloud/onramps/{onrampId}/apply",
2023
1993
  })));
2024
- export const ApplyOnRampResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
1994
+ export const ApplyOnRampResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2025
1995
  errors: Schema.Array(Error2),
2026
1996
  messages: Schema.Array(Error2),
2027
1997
  success: Schema.Boolean,
2028
1998
  }));
2029
- export const applyOnRamp = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1999
+ export const applyOnRamp = /*@__PURE__*/ API.make(() => ({
2030
2000
  input: ApplyOnRampRequest,
2031
2001
  output: ApplyOnRampResponse,
2032
2002
  errors: [],
2033
2003
  }));
2034
- export const ExportOnRampRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2004
+ export const ExportOnRampRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2035
2005
  onrampId: Schema.String.pipe(T.HttpPath("onrampId")),
2036
2006
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2037
2007
  }).pipe(T.Http({
2038
2008
  method: "POST",
2039
2009
  path: "/accounts/{account_id}/magic/cloud/onramps/{onrampId}/export",
2040
2010
  })));
2041
- export const ExportOnRampResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Unknown);
2042
- export const exportOnRamp = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2011
+ export const ExportOnRampResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Unknown);
2012
+ export const exportOnRamp = /*@__PURE__*/ API.make(() => ({
2043
2013
  input: ExportOnRampRequest,
2044
2014
  output: ExportOnRampResponse,
2045
2015
  errors: [],
2046
2016
  }));
2047
- export const PlanOnRampRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2017
+ export const PlanOnRampRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2048
2018
  onrampId: Schema.String.pipe(T.HttpPath("onrampId")),
2049
2019
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2050
2020
  }).pipe(T.Http({
2051
2021
  method: "POST",
2052
2022
  path: "/accounts/{account_id}/magic/cloud/onramps/{onrampId}/plan",
2053
2023
  })));
2054
- export const PlanOnRampResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2024
+ export const PlanOnRampResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2055
2025
  errors: Schema.Array(Error2),
2056
2026
  messages: Schema.Array(Error2),
2057
2027
  success: Schema.Boolean,
2058
2028
  }));
2059
- export const planOnRamp = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2029
+ export const planOnRamp = /*@__PURE__*/ API.make(() => ({
2060
2030
  input: PlanOnRampRequest,
2061
2031
  output: PlanOnRampResponse,
2062
2032
  errors: [],
2063
2033
  }));
2064
2034
  export const ListOnRampAddressSpacesRequest =
2065
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2035
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2066
2036
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2067
2037
  }).pipe(T.Http({
2068
2038
  method: "GET",
2069
2039
  path: "/accounts/{account_id}/magic/cloud/onramps/magic_wan_address_space",
2070
2040
  })));
2071
2041
  export const ListOnRampAddressSpacesResponse =
2072
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2042
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2073
2043
  prefixes: Schema.Array(Schema.String),
2074
2044
  }).pipe(T.ResponsePath("result")));
2075
- export const listOnRampAddressSpaces = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2045
+ export const listOnRampAddressSpaces = /*@__PURE__*/ API.make(() => ({
2076
2046
  input: ListOnRampAddressSpacesRequest,
2077
2047
  output: ListOnRampAddressSpacesResponse,
2078
2048
  errors: [],
2079
2049
  }));
2080
2050
  export const PutOnRampAddressSpaceRequest =
2081
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2051
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2082
2052
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2083
2053
  prefixes: Schema.Array(Schema.String),
2084
2054
  }).pipe(T.Http({
@@ -2086,16 +2056,16 @@ export const PutOnRampAddressSpaceRequest =
2086
2056
  path: "/accounts/{account_id}/magic/cloud/onramps/magic_wan_address_space",
2087
2057
  })));
2088
2058
  export const PutOnRampAddressSpaceResponse =
2089
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2059
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2090
2060
  prefixes: Schema.Array(Schema.String),
2091
2061
  }).pipe(T.ResponsePath("result")));
2092
- export const putOnRampAddressSpace = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2062
+ export const putOnRampAddressSpace = /*@__PURE__*/ API.make(() => ({
2093
2063
  input: PutOnRampAddressSpaceRequest,
2094
2064
  output: PutOnRampAddressSpaceResponse,
2095
2065
  errors: [],
2096
2066
  }));
2097
2067
  export const PatchOnRampAddressSpaceRequest =
2098
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2068
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2099
2069
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2100
2070
  prefixes: Schema.Array(Schema.String),
2101
2071
  }).pipe(T.Http({
@@ -2103,16 +2073,16 @@ export const PatchOnRampAddressSpaceRequest =
2103
2073
  path: "/accounts/{account_id}/magic/cloud/onramps/magic_wan_address_space",
2104
2074
  })));
2105
2075
  export const PatchOnRampAddressSpaceResponse =
2106
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2076
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2107
2077
  prefixes: Schema.Array(Schema.String),
2108
2078
  }).pipe(T.ResponsePath("result")));
2109
- export const patchOnRampAddressSpace = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2079
+ export const patchOnRampAddressSpace = /*@__PURE__*/ API.make(() => ({
2110
2080
  input: PatchOnRampAddressSpaceRequest,
2111
2081
  output: PatchOnRampAddressSpaceResponse,
2112
2082
  errors: [],
2113
2083
  }));
2114
2084
  export const PolicyPreviewResourceRequest =
2115
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2085
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2116
2086
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2117
2087
  policy: Schema.String,
2118
2088
  }).pipe(T.Http({
@@ -2120,13 +2090,13 @@ export const PolicyPreviewResourceRequest =
2120
2090
  path: "/accounts/{account_id}/magic/cloud/resources/policy-preview",
2121
2091
  })));
2122
2092
  export const PolicyPreviewResourceResponse =
2123
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
2124
- export const policyPreviewResource = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2093
+ /*@__PURE__*/ Schema.suspend(() => Schema.String.pipe(T.ResponsePath("result")));
2094
+ export const policyPreviewResource = /*@__PURE__*/ API.make(() => ({
2125
2095
  input: PolicyPreviewResourceRequest,
2126
2096
  output: PolicyPreviewResourceResponse,
2127
2097
  errors: [],
2128
2098
  }));
2129
- export const GetResourceRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2099
+ export const GetResourceRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2130
2100
  resourceId: Schema.String.pipe(T.HttpPath("resourceId")),
2131
2101
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2132
2102
  v2: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("v2")),
@@ -2134,7 +2104,7 @@ export const GetResourceRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
2134
2104
  method: "GET",
2135
2105
  path: "/accounts/{account_id}/magic/cloud/resources/{resourceId}",
2136
2106
  })));
2137
- export const GetResourceResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2107
+ export const GetResourceResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2138
2108
  id: Schema.String,
2139
2109
  accountId: Schema.String,
2140
2110
  cloudType: Schema.Union([
@@ -2245,12 +2215,12 @@ export const GetResourceResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(()
2245
2215
  managedBy: "managed_by",
2246
2216
  }))
2247
2217
  .pipe(T.ResponsePath("result")));
2248
- export const getResource = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2218
+ export const getResource = /*@__PURE__*/ API.make(() => ({
2249
2219
  input: GetResourceRequest,
2250
2220
  output: GetResourceResponse,
2251
2221
  errors: [],
2252
2222
  }));
2253
- export const ListResourcesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2223
+ export const ListResourcesRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2254
2224
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2255
2225
  page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
2256
2226
  perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
@@ -2330,11 +2300,11 @@ export const ListResourcesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend((
2330
2300
  method: "GET",
2331
2301
  path: "/accounts/{account_id}/magic/cloud/resources",
2332
2302
  })));
2333
- export const ListResourcesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2303
+ export const ListResourcesResponse = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2334
2304
  result: Schema.Array(ListResourcesResponseResult),
2335
2305
  resultInfo: Schema.optional(Schema.Union([ListResourcesResponseResultInfo, Schema.Null])),
2336
2306
  }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })));
2337
- export const listResources = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2307
+ export const listResources = /*@__PURE__*/ API.makePaginated(() => ({
2338
2308
  input: ListResourcesRequest,
2339
2309
  output: ListResourcesResponse,
2340
2310
  errors: [],
@@ -2346,7 +2316,7 @@ export const listResources = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() =>
2346
2316
  pageSize: "perPage",
2347
2317
  },
2348
2318
  }));
2349
- export const ExportResourceRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2319
+ export const ExportResourceRequest = /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2350
2320
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2351
2321
  desc: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("desc")),
2352
2322
  orderBy: Schema.optional(Schema.String).pipe(T.HttpQuery("order_by")),
@@ -2423,14 +2393,14 @@ export const ExportResourceRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2423
2393
  path: "/accounts/{account_id}/magic/cloud/resources/export",
2424
2394
  })));
2425
2395
  export const ExportResourceResponse =
2426
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Unknown);
2427
- export const exportResource = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2396
+ /*@__PURE__*/ Schema.suspend(() => Schema.Unknown);
2397
+ export const exportResource = /*@__PURE__*/ API.make(() => ({
2428
2398
  input: ExportResourceRequest,
2429
2399
  output: ExportResourceResponse,
2430
2400
  errors: [],
2431
2401
  }));
2432
2402
  export const InitialSetupCloudIntegrationRequest =
2433
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Struct({
2403
+ /*@__PURE__*/ Schema.suspend(() => Schema.Struct({
2434
2404
  providerId: Schema.String.pipe(T.HttpPath("providerId")),
2435
2405
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
2436
2406
  }).pipe(T.Http({
@@ -2438,8 +2408,8 @@ export const InitialSetupCloudIntegrationRequest =
2438
2408
  path: "/accounts/{account_id}/magic/cloud/providers/{providerId}/initial_setup",
2439
2409
  })));
2440
2410
  export const InitialSetupCloudIntegrationResponse =
2441
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() => Schema.Union([McnAzureSetup, McnGcpSetup, McnAwsTrustPolicy]).pipe(T.ResponsePath("result")));
2442
- export const initialSetupCloudIntegration = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2411
+ /*@__PURE__*/ Schema.suspend(() => Schema.Union([McnAzureSetup, McnGcpSetup, McnAwsTrustPolicy]).pipe(T.ResponsePath("result")));
2412
+ export const initialSetupCloudIntegration = /*@__PURE__*/ API.make(() => ({
2443
2413
  input: InitialSetupCloudIntegrationRequest,
2444
2414
  output: InitialSetupCloudIntegrationResponse,
2445
2415
  errors: [],