@distilled.cloud/cloudflare 0.0.0 → 0.2.0-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (560) hide show
  1. package/lib/auth.d.ts +13 -0
  2. package/lib/auth.d.ts.map +1 -0
  3. package/lib/auth.js +12 -0
  4. package/lib/auth.js.map +1 -0
  5. package/lib/category.d.ts +2 -0
  6. package/lib/category.d.ts.map +1 -0
  7. package/lib/category.js +2 -0
  8. package/lib/category.js.map +1 -0
  9. package/lib/client/api.d.ts +14 -0
  10. package/lib/client/api.d.ts.map +1 -0
  11. package/lib/client/api.js +197 -0
  12. package/lib/client/api.js.map +1 -0
  13. package/lib/client/index.d.ts +8 -0
  14. package/lib/client/index.d.ts.map +1 -0
  15. package/lib/client/index.js +8 -0
  16. package/lib/client/index.js.map +1 -0
  17. package/lib/credentials.d.ts +14 -0
  18. package/lib/credentials.d.ts.map +1 -0
  19. package/lib/credentials.js +17 -0
  20. package/lib/credentials.js.map +1 -0
  21. package/lib/errors.d.ts +48 -0
  22. package/lib/errors.d.ts.map +1 -0
  23. package/lib/errors.js +38 -0
  24. package/lib/errors.js.map +1 -0
  25. package/lib/index.d.ts +10 -0
  26. package/lib/index.d.ts.map +1 -0
  27. package/lib/index.js +10 -0
  28. package/lib/index.js.map +1 -0
  29. package/lib/retry.d.ts +14 -0
  30. package/lib/retry.d.ts.map +1 -0
  31. package/lib/retry.js +14 -0
  32. package/lib/retry.js.map +1 -0
  33. package/lib/schemas.d.ts +29 -0
  34. package/lib/schemas.d.ts.map +1 -0
  35. package/lib/schemas.js +34 -0
  36. package/lib/schemas.js.map +1 -0
  37. package/lib/services/abuse-reports.d.ts +224 -0
  38. package/lib/services/abuse-reports.d.ts.map +1 -0
  39. package/lib/services/abuse-reports.js +353 -0
  40. package/lib/services/abuse-reports.js.map +1 -0
  41. package/lib/services/accounts.d.ts +682 -0
  42. package/lib/services/accounts.d.ts.map +1 -0
  43. package/lib/services/accounts.js +805 -0
  44. package/lib/services/accounts.js.map +1 -0
  45. package/lib/services/acm.d.ts +73 -0
  46. package/lib/services/acm.d.ts.map +1 -0
  47. package/lib/services/acm.js +76 -0
  48. package/lib/services/acm.js.map +1 -0
  49. package/lib/services/addressing.d.ts +1208 -0
  50. package/lib/services/addressing.d.ts.map +1 -0
  51. package/lib/services/addressing.js +1776 -0
  52. package/lib/services/addressing.js.map +1 -0
  53. package/lib/services/ai-gateway.d.ts +956 -0
  54. package/lib/services/ai-gateway.d.ts.map +1 -0
  55. package/lib/services/ai-gateway.js +1706 -0
  56. package/lib/services/ai-gateway.js.map +1 -0
  57. package/lib/services/ai.d.ts +243 -0
  58. package/lib/services/ai.d.ts.map +1 -0
  59. package/lib/services/ai.js +299 -0
  60. package/lib/services/ai.js.map +1 -0
  61. package/lib/services/aisearch.d.ts +915 -0
  62. package/lib/services/aisearch.d.ts.map +1 -0
  63. package/lib/services/aisearch.js +2425 -0
  64. package/lib/services/aisearch.js.map +1 -0
  65. package/lib/services/alerting.d.ts +718 -0
  66. package/lib/services/alerting.d.ts.map +1 -0
  67. package/lib/services/alerting.js +1388 -0
  68. package/lib/services/alerting.js.map +1 -0
  69. package/lib/services/api-gateway.d.ts +830 -0
  70. package/lib/services/api-gateway.d.ts.map +1 -0
  71. package/lib/services/api-gateway.js +1548 -0
  72. package/lib/services/api-gateway.js.map +1 -0
  73. package/lib/services/argo.d.ts +101 -0
  74. package/lib/services/argo.d.ts.map +1 -0
  75. package/lib/services/argo.js +105 -0
  76. package/lib/services/argo.js.map +1 -0
  77. package/lib/services/audit-logs.d.ts +46 -0
  78. package/lib/services/audit-logs.d.ts.map +1 -0
  79. package/lib/services/audit-logs.js +37 -0
  80. package/lib/services/audit-logs.js.map +1 -0
  81. package/lib/services/billing.d.ts +62 -0
  82. package/lib/services/billing.d.ts.map +1 -0
  83. package/lib/services/billing.js +100 -0
  84. package/lib/services/billing.js.map +1 -0
  85. package/lib/services/bot-management.d.ts +124 -0
  86. package/lib/services/bot-management.d.ts.map +1 -0
  87. package/lib/services/bot-management.js +262 -0
  88. package/lib/services/bot-management.js.map +1 -0
  89. package/lib/services/botnet-feed.d.ts +65 -0
  90. package/lib/services/botnet-feed.d.ts.map +1 -0
  91. package/lib/services/botnet-feed.js +84 -0
  92. package/lib/services/botnet-feed.js.map +1 -0
  93. package/lib/services/brand-protection.d.ts +188 -0
  94. package/lib/services/brand-protection.d.ts.map +1 -0
  95. package/lib/services/brand-protection.js +214 -0
  96. package/lib/services/brand-protection.js.map +1 -0
  97. package/lib/services/browser-rendering.d.ts +857 -0
  98. package/lib/services/browser-rendering.d.ts.map +1 -0
  99. package/lib/services/browser-rendering.js +1141 -0
  100. package/lib/services/browser-rendering.js.map +1 -0
  101. package/lib/services/cache.d.ts +287 -0
  102. package/lib/services/cache.d.ts.map +1 -0
  103. package/lib/services/cache.js +330 -0
  104. package/lib/services/cache.js.map +1 -0
  105. package/lib/services/calls.d.ts +202 -0
  106. package/lib/services/calls.d.ts.map +1 -0
  107. package/lib/services/calls.js +175 -0
  108. package/lib/services/calls.js.map +1 -0
  109. package/lib/services/certificate-authorities.d.ts +40 -0
  110. package/lib/services/certificate-authorities.d.ts.map +1 -0
  111. package/lib/services/certificate-authorities.js +49 -0
  112. package/lib/services/certificate-authorities.js.map +1 -0
  113. package/lib/services/client-certificates.d.ts +254 -0
  114. package/lib/services/client-certificates.d.ts.map +1 -0
  115. package/lib/services/client-certificates.js +350 -0
  116. package/lib/services/client-certificates.js.map +1 -0
  117. package/lib/services/cloud-connector.d.ts +59 -0
  118. package/lib/services/cloud-connector.d.ts.map +1 -0
  119. package/lib/services/cloud-connector.js +84 -0
  120. package/lib/services/cloud-connector.js.map +1 -0
  121. package/lib/services/cloudforce-one.d.ts +1318 -0
  122. package/lib/services/cloudforce-one.d.ts.map +1 -0
  123. package/lib/services/cloudforce-one.js +1684 -0
  124. package/lib/services/cloudforce-one.js.map +1 -0
  125. package/lib/services/connectivity.d.ts +248 -0
  126. package/lib/services/connectivity.d.ts.map +1 -0
  127. package/lib/services/connectivity.js +377 -0
  128. package/lib/services/connectivity.js.map +1 -0
  129. package/lib/services/content-scanning.d.ts +131 -0
  130. package/lib/services/content-scanning.d.ts.map +1 -0
  131. package/lib/services/content-scanning.js +156 -0
  132. package/lib/services/content-scanning.js.map +1 -0
  133. package/lib/services/custom-certificates.d.ts +211 -0
  134. package/lib/services/custom-certificates.d.ts.map +1 -0
  135. package/lib/services/custom-certificates.js +309 -0
  136. package/lib/services/custom-certificates.js.map +1 -0
  137. package/lib/services/custom-hostnames.d.ts +525 -0
  138. package/lib/services/custom-hostnames.d.ts.map +1 -0
  139. package/lib/services/custom-hostnames.js +1164 -0
  140. package/lib/services/custom-hostnames.js.map +1 -0
  141. package/lib/services/custom-nameservers.d.ts +67 -0
  142. package/lib/services/custom-nameservers.d.ts.map +1 -0
  143. package/lib/services/custom-nameservers.js +80 -0
  144. package/lib/services/custom-nameservers.js.map +1 -0
  145. package/lib/services/custom-pages.d.ts +74 -0
  146. package/lib/services/custom-pages.d.ts.map +1 -0
  147. package/lib/services/custom-pages.js +125 -0
  148. package/lib/services/custom-pages.js.map +1 -0
  149. package/lib/services/d1.d.ts +326 -0
  150. package/lib/services/d1.d.ts.map +1 -0
  151. package/lib/services/d1.js +448 -0
  152. package/lib/services/d1.js.map +1 -0
  153. package/lib/services/dcv-delegation.d.ts +24 -0
  154. package/lib/services/dcv-delegation.d.ts.map +1 -0
  155. package/lib/services/dcv-delegation.js +24 -0
  156. package/lib/services/dcv-delegation.js.map +1 -0
  157. package/lib/services/diagnostics.d.ts +175 -0
  158. package/lib/services/diagnostics.d.ts.map +1 -0
  159. package/lib/services/diagnostics.js +273 -0
  160. package/lib/services/diagnostics.js.map +1 -0
  161. package/lib/services/dns-firewall.d.ts +288 -0
  162. package/lib/services/dns-firewall.d.ts.map +1 -0
  163. package/lib/services/dns-firewall.js +373 -0
  164. package/lib/services/dns-firewall.js.map +1 -0
  165. package/lib/services/dns.d.ts +2946 -0
  166. package/lib/services/dns.d.ts.map +1 -0
  167. package/lib/services/dns.js +4511 -0
  168. package/lib/services/dns.js.map +1 -0
  169. package/lib/services/durable-objects.d.ts +61 -0
  170. package/lib/services/durable-objects.d.ts.map +1 -0
  171. package/lib/services/durable-objects.js +66 -0
  172. package/lib/services/durable-objects.js.map +1 -0
  173. package/lib/services/email-routing.d.ts +542 -0
  174. package/lib/services/email-routing.d.ts.map +1 -0
  175. package/lib/services/email-routing.js +662 -0
  176. package/lib/services/email-routing.js.map +1 -0
  177. package/lib/services/email-security.d.ts +1131 -0
  178. package/lib/services/email-security.d.ts.map +1 -0
  179. package/lib/services/email-security.js +2065 -0
  180. package/lib/services/email-security.js.map +1 -0
  181. package/lib/services/filters.d.ts +157 -0
  182. package/lib/services/filters.d.ts.map +1 -0
  183. package/lib/services/filters.js +135 -0
  184. package/lib/services/filters.js.map +1 -0
  185. package/lib/services/firewall.d.ts +1080 -0
  186. package/lib/services/firewall.d.ts.map +1 -0
  187. package/lib/services/firewall.js +1881 -0
  188. package/lib/services/firewall.js.map +1 -0
  189. package/lib/services/healthchecks.d.ts +464 -0
  190. package/lib/services/healthchecks.d.ts.map +1 -0
  191. package/lib/services/healthchecks.js +838 -0
  192. package/lib/services/healthchecks.js.map +1 -0
  193. package/lib/services/hostnames.d.ts +74 -0
  194. package/lib/services/hostnames.d.ts.map +1 -0
  195. package/lib/services/hostnames.js +100 -0
  196. package/lib/services/hostnames.js.map +1 -0
  197. package/lib/services/hyperdrive.d.ts +203 -0
  198. package/lib/services/hyperdrive.d.ts.map +1 -0
  199. package/lib/services/hyperdrive.js +299 -0
  200. package/lib/services/hyperdrive.js.map +1 -0
  201. package/lib/services/iam.d.ts +554 -0
  202. package/lib/services/iam.d.ts.map +1 -0
  203. package/lib/services/iam.js +743 -0
  204. package/lib/services/iam.js.map +1 -0
  205. package/lib/services/images.d.ts +403 -0
  206. package/lib/services/images.d.ts.map +1 -0
  207. package/lib/services/images.js +417 -0
  208. package/lib/services/images.js.map +1 -0
  209. package/lib/services/intel.d.ts +768 -0
  210. package/lib/services/intel.d.ts.map +1 -0
  211. package/lib/services/intel.js +1179 -0
  212. package/lib/services/intel.js.map +1 -0
  213. package/lib/services/ips.d.ts +28 -0
  214. package/lib/services/ips.d.ts.map +1 -0
  215. package/lib/services/ips.js +39 -0
  216. package/lib/services/ips.js.map +1 -0
  217. package/lib/services/keyless-certificates.d.ts +177 -0
  218. package/lib/services/keyless-certificates.d.ts.map +1 -0
  219. package/lib/services/keyless-certificates.js +216 -0
  220. package/lib/services/keyless-certificates.js.map +1 -0
  221. package/lib/services/kv.d.ts +339 -0
  222. package/lib/services/kv.d.ts.map +1 -0
  223. package/lib/services/kv.js +402 -0
  224. package/lib/services/kv.js.map +1 -0
  225. package/lib/services/leaked-credential-checks.d.ts +119 -0
  226. package/lib/services/leaked-credential-checks.d.ts.map +1 -0
  227. package/lib/services/leaked-credential-checks.js +130 -0
  228. package/lib/services/leaked-credential-checks.js.map +1 -0
  229. package/lib/services/load-balancers.d.ts +1767 -0
  230. package/lib/services/load-balancers.d.ts.map +1 -0
  231. package/lib/services/load-balancers.js +3068 -0
  232. package/lib/services/load-balancers.js.map +1 -0
  233. package/lib/services/logpush.d.ts +401 -0
  234. package/lib/services/logpush.d.ts.map +1 -0
  235. package/lib/services/logpush.js +724 -0
  236. package/lib/services/logpush.js.map +1 -0
  237. package/lib/services/logs.d.ts +125 -0
  238. package/lib/services/logs.d.ts.map +1 -0
  239. package/lib/services/logs.js +145 -0
  240. package/lib/services/logs.js.map +1 -0
  241. package/lib/services/magic-cloud-networking.d.ts +1599 -0
  242. package/lib/services/magic-cloud-networking.d.ts.map +1 -0
  243. package/lib/services/magic-cloud-networking.js +5205 -0
  244. package/lib/services/magic-cloud-networking.js.map +1 -0
  245. package/lib/services/magic-network-monitoring.d.ts +379 -0
  246. package/lib/services/magic-network-monitoring.d.ts.map +1 -0
  247. package/lib/services/magic-network-monitoring.js +535 -0
  248. package/lib/services/magic-network-monitoring.js.map +1 -0
  249. package/lib/services/magic-transit.d.ts +3650 -0
  250. package/lib/services/magic-transit.d.ts.map +1 -0
  251. package/lib/services/magic-transit.js +6120 -0
  252. package/lib/services/magic-transit.js.map +1 -0
  253. package/lib/services/managed-transforms.d.ts +79 -0
  254. package/lib/services/managed-transforms.d.ts.map +1 -0
  255. package/lib/services/managed-transforms.js +107 -0
  256. package/lib/services/managed-transforms.js.map +1 -0
  257. package/lib/services/memberships.d.ts +172 -0
  258. package/lib/services/memberships.d.ts.map +1 -0
  259. package/lib/services/memberships.js +282 -0
  260. package/lib/services/memberships.js.map +1 -0
  261. package/lib/services/mtls-certificates.d.ts +140 -0
  262. package/lib/services/mtls-certificates.d.ts.map +1 -0
  263. package/lib/services/mtls-certificates.js +173 -0
  264. package/lib/services/mtls-certificates.js.map +1 -0
  265. package/lib/services/network-interconnects.d.ts +410 -0
  266. package/lib/services/network-interconnects.d.ts.map +1 -0
  267. package/lib/services/network-interconnects.js +583 -0
  268. package/lib/services/network-interconnects.js.map +1 -0
  269. package/lib/services/organizations.d.ts +201 -0
  270. package/lib/services/organizations.d.ts.map +1 -0
  271. package/lib/services/organizations.js +355 -0
  272. package/lib/services/organizations.js.map +1 -0
  273. package/lib/services/origin-ca-certificates.d.ts +99 -0
  274. package/lib/services/origin-ca-certificates.d.ts.map +1 -0
  275. package/lib/services/origin-ca-certificates.js +156 -0
  276. package/lib/services/origin-ca-certificates.js.map +1 -0
  277. package/lib/services/origin-post-quantum-encryption.d.ts +50 -0
  278. package/lib/services/origin-post-quantum-encryption.d.ts.map +1 -0
  279. package/lib/services/origin-post-quantum-encryption.js +60 -0
  280. package/lib/services/origin-post-quantum-encryption.js.map +1 -0
  281. package/lib/services/origin-tls-client-auth.d.ts +273 -0
  282. package/lib/services/origin-tls-client-auth.d.ts.map +1 -0
  283. package/lib/services/origin-tls-client-auth.js +401 -0
  284. package/lib/services/origin-tls-client-auth.js.map +1 -0
  285. package/lib/services/page-rules.d.ts +773 -0
  286. package/lib/services/page-rules.d.ts.map +1 -0
  287. package/lib/services/page-rules.js +1365 -0
  288. package/lib/services/page-rules.js.map +1 -0
  289. package/lib/services/page-shield.d.ts +426 -0
  290. package/lib/services/page-shield.d.ts.map +1 -0
  291. package/lib/services/page-shield.js +484 -0
  292. package/lib/services/page-shield.js.map +1 -0
  293. package/lib/services/pages.d.ts +1654 -0
  294. package/lib/services/pages.d.ts.map +1 -0
  295. package/lib/services/pages.js +2954 -0
  296. package/lib/services/pages.js.map +1 -0
  297. package/lib/services/pipelines.d.ts +1461 -0
  298. package/lib/services/pipelines.d.ts.map +1 -0
  299. package/lib/services/pipelines.js +2912 -0
  300. package/lib/services/pipelines.js.map +1 -0
  301. package/lib/services/queues.d.ts +807 -0
  302. package/lib/services/queues.d.ts.map +1 -0
  303. package/lib/services/queues.js +1194 -0
  304. package/lib/services/queues.js.map +1 -0
  305. package/lib/services/r2-data-catalog.d.ts +341 -0
  306. package/lib/services/r2-data-catalog.d.ts.map +1 -0
  307. package/lib/services/r2-data-catalog.js +499 -0
  308. package/lib/services/r2-data-catalog.js.map +1 -0
  309. package/lib/services/r2.d.ts +1041 -0
  310. package/lib/services/r2.d.ts.map +1 -0
  311. package/lib/services/r2.js +1384 -0
  312. package/lib/services/r2.js.map +1 -0
  313. package/lib/services/radar.d.ts +9276 -0
  314. package/lib/services/radar.d.ts.map +1 -0
  315. package/lib/services/radar.js +20491 -0
  316. package/lib/services/radar.js.map +1 -0
  317. package/lib/services/rate-limits.d.ts +315 -0
  318. package/lib/services/rate-limits.d.ts.map +1 -0
  319. package/lib/services/rate-limits.js +521 -0
  320. package/lib/services/rate-limits.js.map +1 -0
  321. package/lib/services/realtime-kit.d.ts +2728 -0
  322. package/lib/services/realtime-kit.d.ts.map +1 -0
  323. package/lib/services/realtime-kit.js +5401 -0
  324. package/lib/services/realtime-kit.js.map +1 -0
  325. package/lib/services/registrar.d.ts +81 -0
  326. package/lib/services/registrar.d.ts.map +1 -0
  327. package/lib/services/registrar.js +154 -0
  328. package/lib/services/registrar.js.map +1 -0
  329. package/lib/services/request-tracers.d.ts +61 -0
  330. package/lib/services/request-tracers.d.ts.map +1 -0
  331. package/lib/services/request-tracers.js +82 -0
  332. package/lib/services/request-tracers.js.map +1 -0
  333. package/lib/services/resource-sharing.d.ts +540 -0
  334. package/lib/services/resource-sharing.d.ts.map +1 -0
  335. package/lib/services/resource-sharing.js +846 -0
  336. package/lib/services/resource-sharing.js.map +1 -0
  337. package/lib/services/rules.d.ts +297 -0
  338. package/lib/services/rules.d.ts.map +1 -0
  339. package/lib/services/rules.js +396 -0
  340. package/lib/services/rules.js.map +1 -0
  341. package/lib/services/rulesets.d.ts +3300 -0
  342. package/lib/services/rulesets.d.ts.map +1 -0
  343. package/lib/services/rulesets.js +7852 -0
  344. package/lib/services/rulesets.js.map +1 -0
  345. package/lib/services/rum.d.ts +289 -0
  346. package/lib/services/rum.d.ts.map +1 -0
  347. package/lib/services/rum.js +409 -0
  348. package/lib/services/rum.js.map +1 -0
  349. package/lib/services/schema-validation.d.ts +240 -0
  350. package/lib/services/schema-validation.d.ts.map +1 -0
  351. package/lib/services/schema-validation.js +306 -0
  352. package/lib/services/schema-validation.js.map +1 -0
  353. package/lib/services/secrets-store.d.ts +321 -0
  354. package/lib/services/secrets-store.d.ts.map +1 -0
  355. package/lib/services/secrets-store.js +385 -0
  356. package/lib/services/secrets-store.js.map +1 -0
  357. package/lib/services/security-center.d.ts +102 -0
  358. package/lib/services/security-center.d.ts.map +1 -0
  359. package/lib/services/security-center.js +170 -0
  360. package/lib/services/security-center.js.map +1 -0
  361. package/lib/services/security-txt.d.ts +105 -0
  362. package/lib/services/security-txt.d.ts.map +1 -0
  363. package/lib/services/security-txt.js +136 -0
  364. package/lib/services/security-txt.js.map +1 -0
  365. package/lib/services/snippets.d.ts +138 -0
  366. package/lib/services/snippets.d.ts.map +1 -0
  367. package/lib/services/snippets.js +178 -0
  368. package/lib/services/snippets.js.map +1 -0
  369. package/lib/services/spectrum.d.ts +316 -0
  370. package/lib/services/spectrum.d.ts.map +1 -0
  371. package/lib/services/spectrum.js +510 -0
  372. package/lib/services/spectrum.js.map +1 -0
  373. package/lib/services/speed.d.ts +227 -0
  374. package/lib/services/speed.d.ts.map +1 -0
  375. package/lib/services/speed.js +444 -0
  376. package/lib/services/speed.js.map +1 -0
  377. package/lib/services/ssl.d.ts +370 -0
  378. package/lib/services/ssl.d.ts.map +1 -0
  379. package/lib/services/ssl.js +732 -0
  380. package/lib/services/ssl.js.map +1 -0
  381. package/lib/services/stream.d.ts +1014 -0
  382. package/lib/services/stream.d.ts.map +1 -0
  383. package/lib/services/stream.js +1049 -0
  384. package/lib/services/stream.js.map +1 -0
  385. package/lib/services/token-validation.d.ts +547 -0
  386. package/lib/services/token-validation.d.ts.map +1 -0
  387. package/lib/services/token-validation.js +768 -0
  388. package/lib/services/token-validation.js.map +1 -0
  389. package/lib/services/turnstile.d.ts +248 -0
  390. package/lib/services/turnstile.d.ts.map +1 -0
  391. package/lib/services/turnstile.js +308 -0
  392. package/lib/services/turnstile.js.map +1 -0
  393. package/lib/services/url-normalization.d.ts +53 -0
  394. package/lib/services/url-normalization.d.ts.map +1 -0
  395. package/lib/services/url-normalization.js +52 -0
  396. package/lib/services/url-normalization.js.map +1 -0
  397. package/lib/services/url-scanner.d.ts +612 -0
  398. package/lib/services/url-scanner.d.ts.map +1 -0
  399. package/lib/services/url-scanner.js +915 -0
  400. package/lib/services/url-scanner.js.map +1 -0
  401. package/lib/services/user.d.ts +441 -0
  402. package/lib/services/user.d.ts.map +1 -0
  403. package/lib/services/user.js +567 -0
  404. package/lib/services/user.js.map +1 -0
  405. package/lib/services/vectorize.d.ts +282 -0
  406. package/lib/services/vectorize.d.ts.map +1 -0
  407. package/lib/services/vectorize.js +340 -0
  408. package/lib/services/vectorize.js.map +1 -0
  409. package/lib/services/waiting-rooms.d.ts +1009 -0
  410. package/lib/services/waiting-rooms.d.ts.map +1 -0
  411. package/lib/services/waiting-rooms.js +1757 -0
  412. package/lib/services/waiting-rooms.js.map +1 -0
  413. package/lib/services/web3.d.ts +274 -0
  414. package/lib/services/web3.d.ts.map +1 -0
  415. package/lib/services/web3.js +362 -0
  416. package/lib/services/web3.js.map +1 -0
  417. package/lib/services/workers-for-platforms.d.ts +1224 -0
  418. package/lib/services/workers-for-platforms.d.ts.map +1 -0
  419. package/lib/services/workers-for-platforms.js +2078 -0
  420. package/lib/services/workers-for-platforms.js.map +1 -0
  421. package/lib/services/workers.d.ts +3498 -0
  422. package/lib/services/workers.d.ts.map +1 -0
  423. package/lib/services/workers.js +5967 -0
  424. package/lib/services/workers.js.map +1 -0
  425. package/lib/services/workflows.d.ts +359 -0
  426. package/lib/services/workflows.d.ts.map +1 -0
  427. package/lib/services/workflows.js +516 -0
  428. package/lib/services/workflows.js.map +1 -0
  429. package/lib/services/zaraz.d.ts +300 -0
  430. package/lib/services/zaraz.d.ts.map +1 -0
  431. package/lib/services/zaraz.js +298 -0
  432. package/lib/services/zaraz.js.map +1 -0
  433. package/lib/services/zero-trust.d.ts +15449 -0
  434. package/lib/services/zero-trust.d.ts.map +1 -0
  435. package/lib/services/zero-trust.js +29194 -0
  436. package/lib/services/zero-trust.js.map +1 -0
  437. package/lib/services/zones.d.ts +1278 -0
  438. package/lib/services/zones.d.ts.map +1 -0
  439. package/lib/services/zones.js +2416 -0
  440. package/lib/services/zones.js.map +1 -0
  441. package/lib/traits.d.ts +28 -0
  442. package/lib/traits.d.ts.map +1 -0
  443. package/lib/traits.js +26 -0
  444. package/lib/traits.js.map +1 -0
  445. package/package.json +67 -5
  446. package/src/auth.ts +14 -0
  447. package/src/category.ts +1 -0
  448. package/src/client/api.ts +269 -0
  449. package/src/client/index.ts +7 -0
  450. package/src/credentials.ts +30 -0
  451. package/src/errors.ts +65 -0
  452. package/src/index.ts +9 -0
  453. package/src/retry.ts +35 -0
  454. package/src/schemas.ts +51 -0
  455. package/src/services/abuse-reports.ts +747 -0
  456. package/src/services/accounts.ts +1947 -0
  457. package/src/services/acm.ts +170 -0
  458. package/src/services/addressing.ts +3947 -0
  459. package/src/services/ai-gateway.ts +3335 -0
  460. package/src/services/ai.ts +727 -0
  461. package/src/services/aisearch.ts +4750 -0
  462. package/src/services/alerting.ts +2947 -0
  463. package/src/services/api-gateway.ts +3391 -0
  464. package/src/services/argo.ts +254 -0
  465. package/src/services/audit-logs.ts +90 -0
  466. package/src/services/billing.ts +172 -0
  467. package/src/services/bot-management.ts +541 -0
  468. package/src/services/botnet-feed.ts +193 -0
  469. package/src/services/brand-protection.ts +553 -0
  470. package/src/services/browser-rendering.ts +2707 -0
  471. package/src/services/cache.ts +827 -0
  472. package/src/services/calls.ts +483 -0
  473. package/src/services/certificate-authorities.ts +110 -0
  474. package/src/services/client-certificates.ts +718 -0
  475. package/src/services/cloud-connector.ts +181 -0
  476. package/src/services/cloudforce-one.ts +3876 -0
  477. package/src/services/connectivity.ts +629 -0
  478. package/src/services/content-scanning.ts +385 -0
  479. package/src/services/custom-certificates.ts +611 -0
  480. package/src/services/custom-hostnames.ts +2453 -0
  481. package/src/services/custom-nameservers.ts +182 -0
  482. package/src/services/custom-pages.ts +264 -0
  483. package/src/services/d1.ts +1034 -0
  484. package/src/services/dcv-delegation.ts +52 -0
  485. package/src/services/diagnostics.ts +603 -0
  486. package/src/services/dns-firewall.ts +823 -0
  487. package/src/services/dns.ts +8897 -0
  488. package/src/services/durable-objects.ts +148 -0
  489. package/src/services/email-routing.ts +1602 -0
  490. package/src/services/email-security.ts +4283 -0
  491. package/src/services/filters.ts +370 -0
  492. package/src/services/firewall.ts +3896 -0
  493. package/src/services/healthchecks.ts +1750 -0
  494. package/src/services/hostnames.ts +218 -0
  495. package/src/services/hyperdrive.ts +592 -0
  496. package/src/services/iam.ts +1668 -0
  497. package/src/services/images.ts +1086 -0
  498. package/src/services/intel.ts +2768 -0
  499. package/src/services/ips.ts +88 -0
  500. package/src/services/keyless-certificates.ts +462 -0
  501. package/src/services/kv.ts +1011 -0
  502. package/src/services/leaked-credential-checks.ts +325 -0
  503. package/src/services/load-balancers.ts +6438 -0
  504. package/src/services/logpush.ts +1667 -0
  505. package/src/services/logs.ts +375 -0
  506. package/src/services/magic-cloud-networking.ts +10020 -0
  507. package/src/services/magic-network-monitoring.ts +1156 -0
  508. package/src/services/magic-transit.ts +13050 -0
  509. package/src/services/managed-transforms.ts +237 -0
  510. package/src/services/memberships.ts +615 -0
  511. package/src/services/mtls-certificates.ts +374 -0
  512. package/src/services/network-interconnects.ts +1253 -0
  513. package/src/services/organizations.ts +674 -0
  514. package/src/services/origin-ca-certificates.ts +303 -0
  515. package/src/services/origin-post-quantum-encryption.ts +128 -0
  516. package/src/services/origin-tls-client-auth.ts +878 -0
  517. package/src/services/page-rules.ts +2612 -0
  518. package/src/services/page-shield.ts +1195 -0
  519. package/src/services/pages.ts +5709 -0
  520. package/src/services/pipelines.ts +6000 -0
  521. package/src/services/queues.ts +2629 -0
  522. package/src/services/r2-data-catalog.ts +1119 -0
  523. package/src/services/r2.ts +3348 -0
  524. package/src/services/radar.ts +42152 -0
  525. package/src/services/rate-limits.ts +1150 -0
  526. package/src/services/realtime-kit.ts +11079 -0
  527. package/src/services/registrar.ts +295 -0
  528. package/src/services/request-tracers.ts +158 -0
  529. package/src/services/resource-sharing.ts +1832 -0
  530. package/src/services/rules.ts +837 -0
  531. package/src/services/rulesets.ts +15144 -0
  532. package/src/services/rum.ts +901 -0
  533. package/src/services/schema-validation.ts +733 -0
  534. package/src/services/secrets-store.ts +860 -0
  535. package/src/services/security-center.ts +397 -0
  536. package/src/services/security-txt.ts +315 -0
  537. package/src/services/snippets.ts +420 -0
  538. package/src/services/spectrum.ts +1103 -0
  539. package/src/services/speed.ts +1056 -0
  540. package/src/services/ssl.ts +1587 -0
  541. package/src/services/stream.ts +2756 -0
  542. package/src/services/token-validation.ts +1585 -0
  543. package/src/services/turnstile.ts +643 -0
  544. package/src/services/url-normalization.ts +129 -0
  545. package/src/services/url-scanner.ts +1851 -0
  546. package/src/services/user.ts +1384 -0
  547. package/src/services/vectorize.ts +816 -0
  548. package/src/services/waiting-rooms.ts +3807 -0
  549. package/src/services/web3.ts +834 -0
  550. package/src/services/workers-for-platforms.ts +3859 -0
  551. package/src/services/workers.ts +11637 -0
  552. package/src/services/workflows.ts +1124 -0
  553. package/src/services/zaraz.ts +797 -0
  554. package/src/services/zero-trust.ts +58933 -0
  555. package/src/services/zones.ts +4875 -0
  556. package/src/traits.ts +47 -0
  557. package/README.md +0 -15
  558. package/bun.lock +0 -26
  559. package/index.ts +0 -1
  560. package/tsconfig.json +0 -29
@@ -0,0 +1,1599 @@
1
+ /**
2
+ * Cloudflare MAGIC-CLOUD-NETWORKING API
3
+ *
4
+ * Generated from Cloudflare TypeScript SDK.
5
+ * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service magic-cloud-networking
6
+ */
7
+ import * as Schema from "effect/Schema";
8
+ import type * as HttpClient from "effect/unstable/http/HttpClient";
9
+ import * as API from "../client/api.ts";
10
+ import type { Credentials } from "../credentials";
11
+ import { type DefaultErrors } from "../errors";
12
+ export interface DiscoverAllCloudIntegrationRequest {
13
+ accountId: string;
14
+ }
15
+ export declare const DiscoverAllCloudIntegrationRequest: Schema.Schema<DiscoverAllCloudIntegrationRequest>;
16
+ export interface DiscoverAllCloudIntegrationResponse {
17
+ errors: {
18
+ code: "1001" | "1002" | "1003" | "1004" | "1005" | "1006" | "1007" | "1008" | "1009" | "1010" | "1011" | "1012" | "1013" | "1014" | "1015" | "1016" | "1017" | "1018" | "2001" | "2002" | "2003" | "2004" | "2005" | "2006" | "2007" | "2008" | "2009" | "2010" | "2011" | "2012" | "2013" | "2014" | "2015" | "2016" | "2017" | "2018" | "2019" | "2020" | "2021" | "2022" | "3001" | "3002" | "3003" | "3004" | "3005" | "3006" | "3007" | "4001" | "4002" | "4003" | "4004" | "4005" | "4006" | "4007" | "4008" | "4009" | "4010" | "4011" | "4012" | "4013" | "4014" | "4015" | "4016" | "4017" | "4018" | "4019" | "4020" | "4021" | "4022" | "4023" | "5001" | "5002" | "5003" | "5004" | "102000" | "102001" | "102002" | "102003" | "102004" | "102005" | "102006" | "102007" | "102008" | "102009" | "102010" | "102011" | "102012" | "102013" | "102014" | "102015" | "102016" | "102017" | "102018" | "102019" | "102020" | "102021" | "102022" | "102023" | "102024" | "102025" | "102026" | "102027" | "102028" | "102029" | "102030" | "102031" | "102032" | "102033" | "102034" | "102035" | "102036" | "102037" | "102038" | "102039" | "102040" | "102041" | "102042" | "102043" | "102044" | "102045" | "102046" | "102047" | "102048" | "102049" | "102050" | "102051" | "102052" | "102053" | "102054" | "102055" | "102056" | "102057" | "102058" | "102059" | "102060" | "102061" | "102062" | "102063" | "102064" | "102065" | "102066" | "102067" | "102068" | "102069" | "102070" | "102071" | "102072" | "103001" | "103002" | "103003" | "103004" | "103005" | "103006" | "103007" | "103008";
19
+ message: string;
20
+ documentationUrl?: string | null;
21
+ meta?: {
22
+ l10nKey?: string | null;
23
+ loggableError?: string | null;
24
+ templateData?: unknown | null;
25
+ traceId?: string | null;
26
+ } | null;
27
+ source?: {
28
+ parameter?: string | null;
29
+ parameterValueIndex?: number | null;
30
+ pointer?: string | null;
31
+ } | null;
32
+ }[];
33
+ messages: {
34
+ code: "1001" | "1002" | "1003" | "1004" | "1005" | "1006" | "1007" | "1008" | "1009" | "1010" | "1011" | "1012" | "1013" | "1014" | "1015" | "1016" | "1017" | "1018" | "2001" | "2002" | "2003" | "2004" | "2005" | "2006" | "2007" | "2008" | "2009" | "2010" | "2011" | "2012" | "2013" | "2014" | "2015" | "2016" | "2017" | "2018" | "2019" | "2020" | "2021" | "2022" | "3001" | "3002" | "3003" | "3004" | "3005" | "3006" | "3007" | "4001" | "4002" | "4003" | "4004" | "4005" | "4006" | "4007" | "4008" | "4009" | "4010" | "4011" | "4012" | "4013" | "4014" | "4015" | "4016" | "4017" | "4018" | "4019" | "4020" | "4021" | "4022" | "4023" | "5001" | "5002" | "5003" | "5004" | "102000" | "102001" | "102002" | "102003" | "102004" | "102005" | "102006" | "102007" | "102008" | "102009" | "102010" | "102011" | "102012" | "102013" | "102014" | "102015" | "102016" | "102017" | "102018" | "102019" | "102020" | "102021" | "102022" | "102023" | "102024" | "102025" | "102026" | "102027" | "102028" | "102029" | "102030" | "102031" | "102032" | "102033" | "102034" | "102035" | "102036" | "102037" | "102038" | "102039" | "102040" | "102041" | "102042" | "102043" | "102044" | "102045" | "102046" | "102047" | "102048" | "102049" | "102050" | "102051" | "102052" | "102053" | "102054" | "102055" | "102056" | "102057" | "102058" | "102059" | "102060" | "102061" | "102062" | "102063" | "102064" | "102065" | "102066" | "102067" | "102068" | "102069" | "102070" | "102071" | "102072" | "103001" | "103002" | "103003" | "103004" | "103005" | "103006" | "103007" | "103008";
35
+ message: string;
36
+ documentationUrl?: string | null;
37
+ meta?: {
38
+ l10nKey?: string | null;
39
+ loggableError?: string | null;
40
+ templateData?: unknown | null;
41
+ traceId?: string | null;
42
+ } | null;
43
+ source?: {
44
+ parameter?: string | null;
45
+ parameterValueIndex?: number | null;
46
+ pointer?: string | null;
47
+ } | null;
48
+ }[];
49
+ success: boolean;
50
+ }
51
+ export declare const DiscoverAllCloudIntegrationResponse: Schema.Schema<DiscoverAllCloudIntegrationResponse>;
52
+ export type DiscoverAllCloudIntegrationError = DefaultErrors;
53
+ export declare const discoverAllCloudIntegration: API.OperationMethod<DiscoverAllCloudIntegrationRequest, DiscoverAllCloudIntegrationResponse, DiscoverAllCloudIntegrationError, Credentials | HttpClient.HttpClient>;
54
+ export interface GetCatalogSyncRequest {
55
+ syncId: string;
56
+ accountId: string;
57
+ }
58
+ export declare const GetCatalogSyncRequest: Schema.Schema<GetCatalogSyncRequest>;
59
+ export interface GetCatalogSyncResponse {
60
+ id: string;
61
+ description: string;
62
+ destinationId: string;
63
+ destinationType: "NONE" | "ZERO_TRUST_LIST";
64
+ lastUserUpdateAt: string;
65
+ name: string;
66
+ policy: string;
67
+ updateMode: "AUTO" | "MANUAL";
68
+ errors?: Record<string, unknown> | null;
69
+ includesDiscoveriesUntil?: string | null;
70
+ lastAttemptedUpdateAt?: string | null;
71
+ lastSuccessfulUpdateAt?: string | null;
72
+ }
73
+ export declare const GetCatalogSyncResponse: Schema.Schema<GetCatalogSyncResponse>;
74
+ export type GetCatalogSyncError = DefaultErrors;
75
+ export declare const getCatalogSync: API.OperationMethod<GetCatalogSyncRequest, GetCatalogSyncResponse, GetCatalogSyncError, Credentials | HttpClient.HttpClient>;
76
+ export interface ListCatalogSyncsRequest {
77
+ accountId: string;
78
+ }
79
+ export declare const ListCatalogSyncsRequest: Schema.Schema<ListCatalogSyncsRequest>;
80
+ export type ListCatalogSyncsResponse = {
81
+ id: string;
82
+ description: string;
83
+ destinationId: string;
84
+ destinationType: "NONE" | "ZERO_TRUST_LIST";
85
+ lastUserUpdateAt: string;
86
+ name: string;
87
+ policy: string;
88
+ updateMode: "AUTO" | "MANUAL";
89
+ errors?: Record<string, unknown> | null;
90
+ includesDiscoveriesUntil?: string | null;
91
+ lastAttemptedUpdateAt?: string | null;
92
+ lastSuccessfulUpdateAt?: string | null;
93
+ }[];
94
+ export declare const ListCatalogSyncsResponse: Schema.Schema<ListCatalogSyncsResponse>;
95
+ export type ListCatalogSyncsError = DefaultErrors;
96
+ export declare const listCatalogSyncs: API.OperationMethod<ListCatalogSyncsRequest, ListCatalogSyncsResponse, ListCatalogSyncsError, Credentials | HttpClient.HttpClient>;
97
+ export interface CreateCatalogSyncRequest {
98
+ /** Path param: */
99
+ accountId: string;
100
+ /** Header param: */
101
+ forwarded?: string;
102
+ /** Body param: */
103
+ destinationType: "NONE" | "ZERO_TRUST_LIST";
104
+ /** Body param: */
105
+ name: string;
106
+ /** Body param: */
107
+ updateMode: "AUTO" | "MANUAL";
108
+ /** Body param: */
109
+ description?: string;
110
+ /** Body param: */
111
+ policy?: string;
112
+ }
113
+ export declare const CreateCatalogSyncRequest: Schema.Schema<CreateCatalogSyncRequest>;
114
+ export interface CreateCatalogSyncResponse {
115
+ id: string;
116
+ description: string;
117
+ destinationId: string;
118
+ destinationType: "NONE" | "ZERO_TRUST_LIST";
119
+ lastUserUpdateAt: string;
120
+ name: string;
121
+ policy: string;
122
+ updateMode: "AUTO" | "MANUAL";
123
+ errors?: Record<string, unknown> | null;
124
+ includesDiscoveriesUntil?: string | null;
125
+ lastAttemptedUpdateAt?: string | null;
126
+ lastSuccessfulUpdateAt?: string | null;
127
+ }
128
+ export declare const CreateCatalogSyncResponse: Schema.Schema<CreateCatalogSyncResponse>;
129
+ export type CreateCatalogSyncError = DefaultErrors;
130
+ export declare const createCatalogSync: API.OperationMethod<CreateCatalogSyncRequest, CreateCatalogSyncResponse, CreateCatalogSyncError, Credentials | HttpClient.HttpClient>;
131
+ export interface UpdateCatalogSyncRequest {
132
+ syncId: string;
133
+ /** Path param: */
134
+ accountId: string;
135
+ /** Body param: */
136
+ description?: string;
137
+ /** Body param: */
138
+ name?: string;
139
+ /** Body param: */
140
+ policy?: string;
141
+ /** Body param: */
142
+ updateMode?: "AUTO" | "MANUAL";
143
+ }
144
+ export declare const UpdateCatalogSyncRequest: Schema.Schema<UpdateCatalogSyncRequest>;
145
+ export interface UpdateCatalogSyncResponse {
146
+ id: string;
147
+ description: string;
148
+ destinationId: string;
149
+ destinationType: "NONE" | "ZERO_TRUST_LIST";
150
+ lastUserUpdateAt: string;
151
+ name: string;
152
+ policy: string;
153
+ updateMode: "AUTO" | "MANUAL";
154
+ errors?: Record<string, unknown> | null;
155
+ includesDiscoveriesUntil?: string | null;
156
+ lastAttemptedUpdateAt?: string | null;
157
+ lastSuccessfulUpdateAt?: string | null;
158
+ }
159
+ export declare const UpdateCatalogSyncResponse: Schema.Schema<UpdateCatalogSyncResponse>;
160
+ export type UpdateCatalogSyncError = DefaultErrors;
161
+ export declare const updateCatalogSync: API.OperationMethod<UpdateCatalogSyncRequest, UpdateCatalogSyncResponse, UpdateCatalogSyncError, Credentials | HttpClient.HttpClient>;
162
+ export interface PatchCatalogSyncRequest {
163
+ syncId: string;
164
+ /** Path param: */
165
+ accountId: string;
166
+ /** Body param: */
167
+ description?: string;
168
+ /** Body param: */
169
+ name?: string;
170
+ /** Body param: */
171
+ policy?: string;
172
+ /** Body param: */
173
+ updateMode?: "AUTO" | "MANUAL";
174
+ }
175
+ export declare const PatchCatalogSyncRequest: Schema.Schema<PatchCatalogSyncRequest>;
176
+ export interface PatchCatalogSyncResponse {
177
+ id: string;
178
+ description: string;
179
+ destinationId: string;
180
+ destinationType: "NONE" | "ZERO_TRUST_LIST";
181
+ lastUserUpdateAt: string;
182
+ name: string;
183
+ policy: string;
184
+ updateMode: "AUTO" | "MANUAL";
185
+ errors?: Record<string, unknown> | null;
186
+ includesDiscoveriesUntil?: string | null;
187
+ lastAttemptedUpdateAt?: string | null;
188
+ lastSuccessfulUpdateAt?: string | null;
189
+ }
190
+ export declare const PatchCatalogSyncResponse: Schema.Schema<PatchCatalogSyncResponse>;
191
+ export type PatchCatalogSyncError = DefaultErrors;
192
+ export declare const patchCatalogSync: API.OperationMethod<PatchCatalogSyncRequest, PatchCatalogSyncResponse, PatchCatalogSyncError, Credentials | HttpClient.HttpClient>;
193
+ export interface DeleteCatalogSyncRequest {
194
+ syncId: string;
195
+ /** Path param: */
196
+ accountId: string;
197
+ /** Query param: */
198
+ deleteDestination?: boolean;
199
+ }
200
+ export declare const DeleteCatalogSyncRequest: Schema.Schema<DeleteCatalogSyncRequest>;
201
+ export interface DeleteCatalogSyncResponse {
202
+ id: string;
203
+ }
204
+ export declare const DeleteCatalogSyncResponse: Schema.Schema<DeleteCatalogSyncResponse>;
205
+ export type DeleteCatalogSyncError = DefaultErrors;
206
+ export declare const deleteCatalogSync: API.OperationMethod<DeleteCatalogSyncRequest, DeleteCatalogSyncResponse, DeleteCatalogSyncError, Credentials | HttpClient.HttpClient>;
207
+ export interface RefreshCatalogSyncRequest {
208
+ syncId: string;
209
+ accountId: string;
210
+ }
211
+ export declare const RefreshCatalogSyncRequest: Schema.Schema<RefreshCatalogSyncRequest>;
212
+ export type RefreshCatalogSyncResponse = string;
213
+ export declare const RefreshCatalogSyncResponse: Schema.Schema<string>;
214
+ export type RefreshCatalogSyncError = DefaultErrors;
215
+ export declare const refreshCatalogSync: API.OperationMethod<RefreshCatalogSyncRequest, RefreshCatalogSyncResponse, RefreshCatalogSyncError, Credentials | HttpClient.HttpClient>;
216
+ export interface ListCatalogSyncPrebuiltPoliciesRequest {
217
+ /** Path param: */
218
+ accountId: string;
219
+ /** Query param: Specify type of destination, omit to return all. */
220
+ destinationType?: "NONE" | "ZERO_TRUST_LIST";
221
+ }
222
+ export declare const ListCatalogSyncPrebuiltPoliciesRequest: Schema.Schema<ListCatalogSyncPrebuiltPoliciesRequest>;
223
+ export type ListCatalogSyncPrebuiltPoliciesResponse = {
224
+ applicableDestinations: ("NONE" | "ZERO_TRUST_LIST")[];
225
+ policyDescription: string;
226
+ policyName: string;
227
+ policyString: string;
228
+ }[];
229
+ export declare const ListCatalogSyncPrebuiltPoliciesResponse: Schema.Schema<ListCatalogSyncPrebuiltPoliciesResponse>;
230
+ export type ListCatalogSyncPrebuiltPoliciesError = DefaultErrors;
231
+ export declare const listCatalogSyncPrebuiltPolicies: API.OperationMethod<ListCatalogSyncPrebuiltPoliciesRequest, ListCatalogSyncPrebuiltPoliciesResponse, ListCatalogSyncPrebuiltPoliciesError, Credentials | HttpClient.HttpClient>;
232
+ export interface GetCloudIntegrationRequest {
233
+ providerId: string;
234
+ /** Path param: */
235
+ accountId: string;
236
+ /** Query param: */
237
+ status?: boolean;
238
+ }
239
+ export declare const GetCloudIntegrationRequest: Schema.Schema<GetCloudIntegrationRequest>;
240
+ export interface GetCloudIntegrationResponse {
241
+ id: string;
242
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
243
+ friendlyName: string;
244
+ lastUpdated: string;
245
+ lifecycleState: "ACTIVE" | "PENDING_SETUP" | "RETIRED";
246
+ state: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
247
+ stateV2: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
248
+ awsArn?: string | null;
249
+ azureSubscriptionId?: string | null;
250
+ azureTenantId?: string | null;
251
+ description?: string | null;
252
+ gcpProjectId?: string | null;
253
+ gcpServiceAccountEmail?: string | null;
254
+ status?: {
255
+ discoveryProgress: {
256
+ done: number;
257
+ total: number;
258
+ unit: string;
259
+ };
260
+ discoveryProgressV2: {
261
+ done: number;
262
+ total: number;
263
+ unit: string;
264
+ };
265
+ lastDiscoveryStatus: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
266
+ lastDiscoveryStatusV2: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
267
+ regions: string[];
268
+ credentialsGoodSince?: string | null;
269
+ credentialsMissingSince?: string | null;
270
+ credentialsRejectedSince?: string | null;
271
+ discoveryMessage?: string | null;
272
+ discoveryMessageV2?: string | null;
273
+ inUseBy?: {
274
+ id: string;
275
+ clientType: "MAGIC_WAN_CLOUD_ONRAMP";
276
+ name: string;
277
+ }[] | null;
278
+ lastDiscoveryCompletedAt?: string | null;
279
+ lastDiscoveryCompletedAtV2?: string | null;
280
+ lastDiscoveryStartedAt?: string | null;
281
+ lastDiscoveryStartedAtV2?: string | null;
282
+ lastUpdated?: string | null;
283
+ } | null;
284
+ }
285
+ export declare const GetCloudIntegrationResponse: Schema.Schema<GetCloudIntegrationResponse>;
286
+ export type GetCloudIntegrationError = DefaultErrors;
287
+ export declare const getCloudIntegration: API.OperationMethod<GetCloudIntegrationRequest, GetCloudIntegrationResponse, GetCloudIntegrationError, Credentials | HttpClient.HttpClient>;
288
+ export interface ListCloudIntegrationsRequest {
289
+ /** Path param: */
290
+ accountId: string;
291
+ /** Query param: */
292
+ cloudflare?: boolean;
293
+ /** Query param: */
294
+ desc?: boolean;
295
+ /** Query param: One of ["updated_at", "id", "cloud_type", "name"]. */
296
+ orderBy?: string;
297
+ /** Query param: */
298
+ status?: boolean;
299
+ }
300
+ export declare const ListCloudIntegrationsRequest: Schema.Schema<ListCloudIntegrationsRequest>;
301
+ export type ListCloudIntegrationsResponse = {
302
+ id: string;
303
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
304
+ friendlyName: string;
305
+ lastUpdated: string;
306
+ lifecycleState: "ACTIVE" | "PENDING_SETUP" | "RETIRED";
307
+ state: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
308
+ stateV2: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
309
+ awsArn?: string | null;
310
+ azureSubscriptionId?: string | null;
311
+ azureTenantId?: string | null;
312
+ description?: string | null;
313
+ gcpProjectId?: string | null;
314
+ gcpServiceAccountEmail?: string | null;
315
+ status?: {
316
+ discoveryProgress: {
317
+ done: number;
318
+ total: number;
319
+ unit: string;
320
+ };
321
+ discoveryProgressV2: {
322
+ done: number;
323
+ total: number;
324
+ unit: string;
325
+ };
326
+ lastDiscoveryStatus: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
327
+ lastDiscoveryStatusV2: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
328
+ regions: string[];
329
+ credentialsGoodSince?: string | null;
330
+ credentialsMissingSince?: string | null;
331
+ credentialsRejectedSince?: string | null;
332
+ discoveryMessage?: string | null;
333
+ discoveryMessageV2?: string | null;
334
+ inUseBy?: {
335
+ id: string;
336
+ clientType: "MAGIC_WAN_CLOUD_ONRAMP";
337
+ name: string;
338
+ }[] | null;
339
+ lastDiscoveryCompletedAt?: string | null;
340
+ lastDiscoveryCompletedAtV2?: string | null;
341
+ lastDiscoveryStartedAt?: string | null;
342
+ lastDiscoveryStartedAtV2?: string | null;
343
+ lastUpdated?: string | null;
344
+ } | null;
345
+ }[];
346
+ export declare const ListCloudIntegrationsResponse: Schema.Schema<ListCloudIntegrationsResponse>;
347
+ export type ListCloudIntegrationsError = DefaultErrors;
348
+ export declare const listCloudIntegrations: API.OperationMethod<ListCloudIntegrationsRequest, ListCloudIntegrationsResponse, ListCloudIntegrationsError, Credentials | HttpClient.HttpClient>;
349
+ export interface CreateCloudIntegrationRequest {
350
+ /** Path param: */
351
+ accountId: string;
352
+ /** Header param: */
353
+ forwarded?: string;
354
+ /** Body param: */
355
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
356
+ /** Body param: */
357
+ friendlyName: string;
358
+ /** Body param: */
359
+ description?: string;
360
+ }
361
+ export declare const CreateCloudIntegrationRequest: Schema.Schema<CreateCloudIntegrationRequest>;
362
+ export interface CreateCloudIntegrationResponse {
363
+ id: string;
364
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
365
+ friendlyName: string;
366
+ lastUpdated: string;
367
+ lifecycleState: "ACTIVE" | "PENDING_SETUP" | "RETIRED";
368
+ state: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
369
+ stateV2: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
370
+ awsArn?: string | null;
371
+ azureSubscriptionId?: string | null;
372
+ azureTenantId?: string | null;
373
+ description?: string | null;
374
+ gcpProjectId?: string | null;
375
+ gcpServiceAccountEmail?: string | null;
376
+ status?: {
377
+ discoveryProgress: {
378
+ done: number;
379
+ total: number;
380
+ unit: string;
381
+ };
382
+ discoveryProgressV2: {
383
+ done: number;
384
+ total: number;
385
+ unit: string;
386
+ };
387
+ lastDiscoveryStatus: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
388
+ lastDiscoveryStatusV2: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
389
+ regions: string[];
390
+ credentialsGoodSince?: string | null;
391
+ credentialsMissingSince?: string | null;
392
+ credentialsRejectedSince?: string | null;
393
+ discoveryMessage?: string | null;
394
+ discoveryMessageV2?: string | null;
395
+ inUseBy?: {
396
+ id: string;
397
+ clientType: "MAGIC_WAN_CLOUD_ONRAMP";
398
+ name: string;
399
+ }[] | null;
400
+ lastDiscoveryCompletedAt?: string | null;
401
+ lastDiscoveryCompletedAtV2?: string | null;
402
+ lastDiscoveryStartedAt?: string | null;
403
+ lastDiscoveryStartedAtV2?: string | null;
404
+ lastUpdated?: string | null;
405
+ } | null;
406
+ }
407
+ export declare const CreateCloudIntegrationResponse: Schema.Schema<CreateCloudIntegrationResponse>;
408
+ export type CreateCloudIntegrationError = DefaultErrors;
409
+ export declare const createCloudIntegration: API.OperationMethod<CreateCloudIntegrationRequest, CreateCloudIntegrationResponse, CreateCloudIntegrationError, Credentials | HttpClient.HttpClient>;
410
+ export interface UpdateCloudIntegrationRequest {
411
+ providerId: string;
412
+ /** Path param: */
413
+ accountId: string;
414
+ /** Body param: */
415
+ awsArn?: string;
416
+ /** Body param: */
417
+ azureSubscriptionId?: string;
418
+ /** Body param: */
419
+ azureTenantId?: string;
420
+ /** Body param: */
421
+ description?: string;
422
+ /** Body param: */
423
+ friendlyName?: string;
424
+ /** Body param: */
425
+ gcpProjectId?: string;
426
+ /** Body param: */
427
+ gcpServiceAccountEmail?: string;
428
+ }
429
+ export declare const UpdateCloudIntegrationRequest: Schema.Schema<UpdateCloudIntegrationRequest>;
430
+ export interface UpdateCloudIntegrationResponse {
431
+ id: string;
432
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
433
+ friendlyName: string;
434
+ lastUpdated: string;
435
+ lifecycleState: "ACTIVE" | "PENDING_SETUP" | "RETIRED";
436
+ state: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
437
+ stateV2: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
438
+ awsArn?: string | null;
439
+ azureSubscriptionId?: string | null;
440
+ azureTenantId?: string | null;
441
+ description?: string | null;
442
+ gcpProjectId?: string | null;
443
+ gcpServiceAccountEmail?: string | null;
444
+ status?: {
445
+ discoveryProgress: {
446
+ done: number;
447
+ total: number;
448
+ unit: string;
449
+ };
450
+ discoveryProgressV2: {
451
+ done: number;
452
+ total: number;
453
+ unit: string;
454
+ };
455
+ lastDiscoveryStatus: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
456
+ lastDiscoveryStatusV2: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
457
+ regions: string[];
458
+ credentialsGoodSince?: string | null;
459
+ credentialsMissingSince?: string | null;
460
+ credentialsRejectedSince?: string | null;
461
+ discoveryMessage?: string | null;
462
+ discoveryMessageV2?: string | null;
463
+ inUseBy?: {
464
+ id: string;
465
+ clientType: "MAGIC_WAN_CLOUD_ONRAMP";
466
+ name: string;
467
+ }[] | null;
468
+ lastDiscoveryCompletedAt?: string | null;
469
+ lastDiscoveryCompletedAtV2?: string | null;
470
+ lastDiscoveryStartedAt?: string | null;
471
+ lastDiscoveryStartedAtV2?: string | null;
472
+ lastUpdated?: string | null;
473
+ } | null;
474
+ }
475
+ export declare const UpdateCloudIntegrationResponse: Schema.Schema<UpdateCloudIntegrationResponse>;
476
+ export type UpdateCloudIntegrationError = DefaultErrors;
477
+ export declare const updateCloudIntegration: API.OperationMethod<UpdateCloudIntegrationRequest, UpdateCloudIntegrationResponse, UpdateCloudIntegrationError, Credentials | HttpClient.HttpClient>;
478
+ export interface PatchCloudIntegrationRequest {
479
+ providerId: string;
480
+ /** Path param: */
481
+ accountId: string;
482
+ /** Body param: */
483
+ awsArn?: string;
484
+ /** Body param: */
485
+ azureSubscriptionId?: string;
486
+ /** Body param: */
487
+ azureTenantId?: string;
488
+ /** Body param: */
489
+ description?: string;
490
+ /** Body param: */
491
+ friendlyName?: string;
492
+ /** Body param: */
493
+ gcpProjectId?: string;
494
+ /** Body param: */
495
+ gcpServiceAccountEmail?: string;
496
+ }
497
+ export declare const PatchCloudIntegrationRequest: Schema.Schema<PatchCloudIntegrationRequest>;
498
+ export interface PatchCloudIntegrationResponse {
499
+ id: string;
500
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
501
+ friendlyName: string;
502
+ lastUpdated: string;
503
+ lifecycleState: "ACTIVE" | "PENDING_SETUP" | "RETIRED";
504
+ state: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
505
+ stateV2: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
506
+ awsArn?: string | null;
507
+ azureSubscriptionId?: string | null;
508
+ azureTenantId?: string | null;
509
+ description?: string | null;
510
+ gcpProjectId?: string | null;
511
+ gcpServiceAccountEmail?: string | null;
512
+ status?: {
513
+ discoveryProgress: {
514
+ done: number;
515
+ total: number;
516
+ unit: string;
517
+ };
518
+ discoveryProgressV2: {
519
+ done: number;
520
+ total: number;
521
+ unit: string;
522
+ };
523
+ lastDiscoveryStatus: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
524
+ lastDiscoveryStatusV2: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
525
+ regions: string[];
526
+ credentialsGoodSince?: string | null;
527
+ credentialsMissingSince?: string | null;
528
+ credentialsRejectedSince?: string | null;
529
+ discoveryMessage?: string | null;
530
+ discoveryMessageV2?: string | null;
531
+ inUseBy?: {
532
+ id: string;
533
+ clientType: "MAGIC_WAN_CLOUD_ONRAMP";
534
+ name: string;
535
+ }[] | null;
536
+ lastDiscoveryCompletedAt?: string | null;
537
+ lastDiscoveryCompletedAtV2?: string | null;
538
+ lastDiscoveryStartedAt?: string | null;
539
+ lastDiscoveryStartedAtV2?: string | null;
540
+ lastUpdated?: string | null;
541
+ } | null;
542
+ }
543
+ export declare const PatchCloudIntegrationResponse: Schema.Schema<PatchCloudIntegrationResponse>;
544
+ export type PatchCloudIntegrationError = DefaultErrors;
545
+ export declare const patchCloudIntegration: API.OperationMethod<PatchCloudIntegrationRequest, PatchCloudIntegrationResponse, PatchCloudIntegrationError, Credentials | HttpClient.HttpClient>;
546
+ export interface DeleteCloudIntegrationRequest {
547
+ providerId: string;
548
+ accountId: string;
549
+ }
550
+ export declare const DeleteCloudIntegrationRequest: Schema.Schema<DeleteCloudIntegrationRequest>;
551
+ export interface DeleteCloudIntegrationResponse {
552
+ id: string;
553
+ }
554
+ export declare const DeleteCloudIntegrationResponse: Schema.Schema<DeleteCloudIntegrationResponse>;
555
+ export type DeleteCloudIntegrationError = DefaultErrors;
556
+ export declare const deleteCloudIntegration: API.OperationMethod<DeleteCloudIntegrationRequest, DeleteCloudIntegrationResponse, DeleteCloudIntegrationError, Credentials | HttpClient.HttpClient>;
557
+ export interface DiscoverCloudIntegrationRequest {
558
+ providerId: string;
559
+ /** Path param: */
560
+ accountId: string;
561
+ /** Query param: */
562
+ v2?: boolean;
563
+ }
564
+ export declare const DiscoverCloudIntegrationRequest: Schema.Schema<DiscoverCloudIntegrationRequest>;
565
+ export interface DiscoverCloudIntegrationResponse {
566
+ errors: {
567
+ code: "1001" | "1002" | "1003" | "1004" | "1005" | "1006" | "1007" | "1008" | "1009" | "1010" | "1011" | "1012" | "1013" | "1014" | "1015" | "1016" | "1017" | "1018" | "2001" | "2002" | "2003" | "2004" | "2005" | "2006" | "2007" | "2008" | "2009" | "2010" | "2011" | "2012" | "2013" | "2014" | "2015" | "2016" | "2017" | "2018" | "2019" | "2020" | "2021" | "2022" | "3001" | "3002" | "3003" | "3004" | "3005" | "3006" | "3007" | "4001" | "4002" | "4003" | "4004" | "4005" | "4006" | "4007" | "4008" | "4009" | "4010" | "4011" | "4012" | "4013" | "4014" | "4015" | "4016" | "4017" | "4018" | "4019" | "4020" | "4021" | "4022" | "4023" | "5001" | "5002" | "5003" | "5004" | "102000" | "102001" | "102002" | "102003" | "102004" | "102005" | "102006" | "102007" | "102008" | "102009" | "102010" | "102011" | "102012" | "102013" | "102014" | "102015" | "102016" | "102017" | "102018" | "102019" | "102020" | "102021" | "102022" | "102023" | "102024" | "102025" | "102026" | "102027" | "102028" | "102029" | "102030" | "102031" | "102032" | "102033" | "102034" | "102035" | "102036" | "102037" | "102038" | "102039" | "102040" | "102041" | "102042" | "102043" | "102044" | "102045" | "102046" | "102047" | "102048" | "102049" | "102050" | "102051" | "102052" | "102053" | "102054" | "102055" | "102056" | "102057" | "102058" | "102059" | "102060" | "102061" | "102062" | "102063" | "102064" | "102065" | "102066" | "102067" | "102068" | "102069" | "102070" | "102071" | "102072" | "103001" | "103002" | "103003" | "103004" | "103005" | "103006" | "103007" | "103008";
568
+ message: string;
569
+ documentationUrl?: string | null;
570
+ meta?: {
571
+ l10nKey?: string | null;
572
+ loggableError?: string | null;
573
+ templateData?: unknown | null;
574
+ traceId?: string | null;
575
+ } | null;
576
+ source?: {
577
+ parameter?: string | null;
578
+ parameterValueIndex?: number | null;
579
+ pointer?: string | null;
580
+ } | null;
581
+ }[];
582
+ messages: {
583
+ code: "1001" | "1002" | "1003" | "1004" | "1005" | "1006" | "1007" | "1008" | "1009" | "1010" | "1011" | "1012" | "1013" | "1014" | "1015" | "1016" | "1017" | "1018" | "2001" | "2002" | "2003" | "2004" | "2005" | "2006" | "2007" | "2008" | "2009" | "2010" | "2011" | "2012" | "2013" | "2014" | "2015" | "2016" | "2017" | "2018" | "2019" | "2020" | "2021" | "2022" | "3001" | "3002" | "3003" | "3004" | "3005" | "3006" | "3007" | "4001" | "4002" | "4003" | "4004" | "4005" | "4006" | "4007" | "4008" | "4009" | "4010" | "4011" | "4012" | "4013" | "4014" | "4015" | "4016" | "4017" | "4018" | "4019" | "4020" | "4021" | "4022" | "4023" | "5001" | "5002" | "5003" | "5004" | "102000" | "102001" | "102002" | "102003" | "102004" | "102005" | "102006" | "102007" | "102008" | "102009" | "102010" | "102011" | "102012" | "102013" | "102014" | "102015" | "102016" | "102017" | "102018" | "102019" | "102020" | "102021" | "102022" | "102023" | "102024" | "102025" | "102026" | "102027" | "102028" | "102029" | "102030" | "102031" | "102032" | "102033" | "102034" | "102035" | "102036" | "102037" | "102038" | "102039" | "102040" | "102041" | "102042" | "102043" | "102044" | "102045" | "102046" | "102047" | "102048" | "102049" | "102050" | "102051" | "102052" | "102053" | "102054" | "102055" | "102056" | "102057" | "102058" | "102059" | "102060" | "102061" | "102062" | "102063" | "102064" | "102065" | "102066" | "102067" | "102068" | "102069" | "102070" | "102071" | "102072" | "103001" | "103002" | "103003" | "103004" | "103005" | "103006" | "103007" | "103008";
584
+ message: string;
585
+ documentationUrl?: string | null;
586
+ meta?: {
587
+ l10nKey?: string | null;
588
+ loggableError?: string | null;
589
+ templateData?: unknown | null;
590
+ traceId?: string | null;
591
+ } | null;
592
+ source?: {
593
+ parameter?: string | null;
594
+ parameterValueIndex?: number | null;
595
+ pointer?: string | null;
596
+ } | null;
597
+ }[];
598
+ success: boolean;
599
+ }
600
+ export declare const DiscoverCloudIntegrationResponse: Schema.Schema<DiscoverCloudIntegrationResponse>;
601
+ export type DiscoverCloudIntegrationError = DefaultErrors;
602
+ export declare const discoverCloudIntegration: API.OperationMethod<DiscoverCloudIntegrationRequest, DiscoverCloudIntegrationResponse, DiscoverCloudIntegrationError, Credentials | HttpClient.HttpClient>;
603
+ export interface GetOnRampRequest {
604
+ onrampId: string;
605
+ /** Path param: */
606
+ accountId: string;
607
+ /** Query param: */
608
+ plannedResources?: boolean;
609
+ /** Query param: */
610
+ postApplyResources?: boolean;
611
+ /** Query param: */
612
+ status?: boolean;
613
+ /** Query param: */
614
+ vpcs?: boolean;
615
+ }
616
+ export declare const GetOnRampRequest: Schema.Schema<GetOnRampRequest>;
617
+ export interface GetOnRampResponse {
618
+ id: string;
619
+ cloudType: "AWS" | "AZURE" | "GOOGLE";
620
+ dynamicRouting: boolean;
621
+ installRoutesInCloud: boolean;
622
+ installRoutesInMagicWan: boolean;
623
+ name: string;
624
+ type: "OnrampTypeSingle" | "OnrampTypeHub";
625
+ updatedAt: string;
626
+ attachedHubs?: string[] | null;
627
+ attachedVpcs?: string[] | null;
628
+ cloudAsn?: number | null;
629
+ description?: string | null;
630
+ hub?: string | null;
631
+ lastAppliedAt?: string | null;
632
+ lastExportedAt?: string | null;
633
+ lastPlannedAt?: string | null;
634
+ manageHubToHubAttachments?: boolean | null;
635
+ manageVpcToHubAttachments?: boolean | null;
636
+ plannedMonthlyCostEstimate?: {
637
+ currency: string;
638
+ currentMonthlyCost: number;
639
+ diff: number;
640
+ proposedMonthlyCost: number;
641
+ } | null;
642
+ plannedResources?: {
643
+ diff: {
644
+ diff: string;
645
+ leftDescription: string;
646
+ leftYaml: string;
647
+ rightDescription: string;
648
+ rightYaml: string;
649
+ };
650
+ keysRequireReplace: string[];
651
+ monthlyCostEstimateDiff: {
652
+ currency: string;
653
+ currentMonthlyCost: number;
654
+ diff: number;
655
+ proposedMonthlyCost: number;
656
+ };
657
+ plannedAction: "no_op" | "create" | "update" | "replace" | "destroy";
658
+ resource: {
659
+ id: string;
660
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
661
+ detail: string;
662
+ name: string;
663
+ resourceType: "aws_customer_gateway" | "aws_egress_only_internet_gateway" | "aws_internet_gateway" | "aws_instance" | "aws_network_interface" | "aws_route" | "aws_route_table" | "aws_route_table_association" | "aws_subnet" | "aws_vpc" | "aws_vpc_ipv4_cidr_block_association" | "aws_vpn_connection" | "aws_vpn_connection_route" | "aws_vpn_gateway" | "aws_security_group" | "aws_vpc_security_group_ingress_rule" | "aws_vpc_security_group_egress_rule" | "aws_ec2_managed_prefix_list" | "aws_ec2_transit_gateway" | "aws_ec2_transit_gateway_prefix_list_reference" | "aws_ec2_transit_gateway_vpc_attachment" | "azurerm_application_security_group" | "azurerm_lb" | "azurerm_lb_backend_address_pool" | "azurerm_lb_nat_pool" | "azurerm_lb_nat_rule" | "azurerm_lb_rule" | "azurerm_local_network_gateway" | "azurerm_network_interface" | "azurerm_network_interface_application_security_group_association" | "azurerm_network_interface_backend_address_pool_association" | "azurerm_network_interface_security_group_association" | "azurerm_network_security_group" | "azurerm_public_ip" | "azurerm_route" | "azurerm_route_table" | "azurerm_subnet" | "azurerm_subnet_route_table_association" | "azurerm_virtual_machine" | "azurerm_virtual_network_gateway_connection" | "azurerm_virtual_network" | "azurerm_virtual_network_gateway" | "google_compute_network" | "google_compute_subnetwork" | "google_compute_vpn_gateway" | "google_compute_vpn_tunnel" | "google_compute_route" | "google_compute_address" | "google_compute_global_address" | "google_compute_router" | "google_compute_interconnect_attachment" | "google_compute_ha_vpn_gateway" | "google_compute_forwarding_rule" | "google_compute_network_firewall_policy" | "google_compute_network_firewall_policy_rule" | "cloudflare_static_route" | "cloudflare_ipsec_tunnel";
664
+ title: string;
665
+ };
666
+ }[] | null;
667
+ plannedResourcesUnavailable?: boolean | null;
668
+ postApplyMonthlyCostEstimate?: {
669
+ currency: string;
670
+ monthlyCost: number;
671
+ } | null;
672
+ postApplyResources?: Record<string, unknown> | null;
673
+ postApplyResourcesUnavailable?: boolean | null;
674
+ region?: string | null;
675
+ status?: {
676
+ applyProgress: {
677
+ done: number;
678
+ total: number;
679
+ };
680
+ lifecycleState: "OnrampNeedsApply" | "OnrampPendingPlan" | "OnrampPlanning" | "OnrampPlanFailed" | "OnrampPendingApproval" | "OnrampPendingApply" | "OnrampApplying" | "OnrampApplyFailed" | "OnrampActive" | "OnrampPendingDestroy" | "OnrampDestroying" | "OnrampDestroyFailed";
681
+ planProgress: {
682
+ done: number;
683
+ total: number;
684
+ };
685
+ routes: string[];
686
+ tunnels: string[];
687
+ lifecycleErrors?: Record<string, unknown> | null;
688
+ } | null;
689
+ vpc?: string | null;
690
+ vpcsById?: Record<string, unknown> | null;
691
+ /** The list of vpc IDs for which resource details failed to generate. */
692
+ vpcsByIdUnavailable?: string[] | null;
693
+ }
694
+ export declare const GetOnRampResponse: Schema.Schema<GetOnRampResponse>;
695
+ export type GetOnRampError = DefaultErrors;
696
+ export declare const getOnRamp: API.OperationMethod<GetOnRampRequest, GetOnRampResponse, GetOnRampError, Credentials | HttpClient.HttpClient>;
697
+ export interface ListOnRampsRequest {
698
+ /** Path param: */
699
+ accountId: string;
700
+ /** Query param: */
701
+ desc?: boolean;
702
+ /** Query param: One of ["updated_at", "id", "cloud_type", "name"]. */
703
+ orderBy?: string;
704
+ /** Query param: */
705
+ status?: boolean;
706
+ /** Query param: */
707
+ vpcs?: boolean;
708
+ }
709
+ export declare const ListOnRampsRequest: Schema.Schema<ListOnRampsRequest>;
710
+ export type ListOnRampsResponse = {
711
+ id: string;
712
+ cloudType: "AWS" | "AZURE" | "GOOGLE";
713
+ dynamicRouting: boolean;
714
+ installRoutesInCloud: boolean;
715
+ installRoutesInMagicWan: boolean;
716
+ name: string;
717
+ type: "OnrampTypeSingle" | "OnrampTypeHub";
718
+ updatedAt: string;
719
+ attachedHubs?: string[] | null;
720
+ attachedVpcs?: string[] | null;
721
+ cloudAsn?: number | null;
722
+ description?: string | null;
723
+ hub?: string | null;
724
+ lastAppliedAt?: string | null;
725
+ lastExportedAt?: string | null;
726
+ lastPlannedAt?: string | null;
727
+ manageHubToHubAttachments?: boolean | null;
728
+ manageVpcToHubAttachments?: boolean | null;
729
+ plannedMonthlyCostEstimate?: {
730
+ currency: string;
731
+ currentMonthlyCost: number;
732
+ diff: number;
733
+ proposedMonthlyCost: number;
734
+ } | null;
735
+ plannedResources?: {
736
+ diff: {
737
+ diff: string;
738
+ leftDescription: string;
739
+ leftYaml: string;
740
+ rightDescription: string;
741
+ rightYaml: string;
742
+ };
743
+ keysRequireReplace: string[];
744
+ monthlyCostEstimateDiff: {
745
+ currency: string;
746
+ currentMonthlyCost: number;
747
+ diff: number;
748
+ proposedMonthlyCost: number;
749
+ };
750
+ plannedAction: "no_op" | "create" | "update" | "replace" | "destroy";
751
+ resource: {
752
+ id: string;
753
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
754
+ detail: string;
755
+ name: string;
756
+ resourceType: "aws_customer_gateway" | "aws_egress_only_internet_gateway" | "aws_internet_gateway" | "aws_instance" | "aws_network_interface" | "aws_route" | "aws_route_table" | "aws_route_table_association" | "aws_subnet" | "aws_vpc" | "aws_vpc_ipv4_cidr_block_association" | "aws_vpn_connection" | "aws_vpn_connection_route" | "aws_vpn_gateway" | "aws_security_group" | "aws_vpc_security_group_ingress_rule" | "aws_vpc_security_group_egress_rule" | "aws_ec2_managed_prefix_list" | "aws_ec2_transit_gateway" | "aws_ec2_transit_gateway_prefix_list_reference" | "aws_ec2_transit_gateway_vpc_attachment" | "azurerm_application_security_group" | "azurerm_lb" | "azurerm_lb_backend_address_pool" | "azurerm_lb_nat_pool" | "azurerm_lb_nat_rule" | "azurerm_lb_rule" | "azurerm_local_network_gateway" | "azurerm_network_interface" | "azurerm_network_interface_application_security_group_association" | "azurerm_network_interface_backend_address_pool_association" | "azurerm_network_interface_security_group_association" | "azurerm_network_security_group" | "azurerm_public_ip" | "azurerm_route" | "azurerm_route_table" | "azurerm_subnet" | "azurerm_subnet_route_table_association" | "azurerm_virtual_machine" | "azurerm_virtual_network_gateway_connection" | "azurerm_virtual_network" | "azurerm_virtual_network_gateway" | "google_compute_network" | "google_compute_subnetwork" | "google_compute_vpn_gateway" | "google_compute_vpn_tunnel" | "google_compute_route" | "google_compute_address" | "google_compute_global_address" | "google_compute_router" | "google_compute_interconnect_attachment" | "google_compute_ha_vpn_gateway" | "google_compute_forwarding_rule" | "google_compute_network_firewall_policy" | "google_compute_network_firewall_policy_rule" | "cloudflare_static_route" | "cloudflare_ipsec_tunnel";
757
+ title: string;
758
+ };
759
+ }[] | null;
760
+ plannedResourcesUnavailable?: boolean | null;
761
+ postApplyMonthlyCostEstimate?: {
762
+ currency: string;
763
+ monthlyCost: number;
764
+ } | null;
765
+ postApplyResources?: Record<string, unknown> | null;
766
+ postApplyResourcesUnavailable?: boolean | null;
767
+ region?: string | null;
768
+ status?: {
769
+ applyProgress: {
770
+ done: number;
771
+ total: number;
772
+ };
773
+ lifecycleState: "OnrampNeedsApply" | "OnrampPendingPlan" | "OnrampPlanning" | "OnrampPlanFailed" | "OnrampPendingApproval" | "OnrampPendingApply" | "OnrampApplying" | "OnrampApplyFailed" | "OnrampActive" | "OnrampPendingDestroy" | "OnrampDestroying" | "OnrampDestroyFailed";
774
+ planProgress: {
775
+ done: number;
776
+ total: number;
777
+ };
778
+ routes: string[];
779
+ tunnels: string[];
780
+ lifecycleErrors?: Record<string, unknown> | null;
781
+ } | null;
782
+ vpc?: string | null;
783
+ vpcsById?: Record<string, unknown> | null;
784
+ vpcsByIdUnavailable?: string[] | null;
785
+ }[];
786
+ export declare const ListOnRampsResponse: Schema.Schema<ListOnRampsResponse>;
787
+ export type ListOnRampsError = DefaultErrors;
788
+ export declare const listOnRamps: API.OperationMethod<ListOnRampsRequest, ListOnRampsResponse, ListOnRampsError, Credentials | HttpClient.HttpClient>;
789
+ export interface CreateOnRampRequest {
790
+ /** Path param: */
791
+ accountId: string;
792
+ /** Header param: */
793
+ forwarded?: string;
794
+ /** Body param: */
795
+ cloudType: "AWS" | "AZURE" | "GOOGLE";
796
+ /** Body param: if set to true, install_routes_in_cloud and install_routes_in_magic_wan should be set to false */
797
+ dynamicRouting: boolean;
798
+ /** Body param: */
799
+ installRoutesInCloud: boolean;
800
+ /** Body param: */
801
+ installRoutesInMagicWan: boolean;
802
+ /** Body param: */
803
+ name: string;
804
+ /** Body param: */
805
+ type: "OnrampTypeSingle" | "OnrampTypeHub";
806
+ /** Body param: */
807
+ adoptedHubId?: string;
808
+ /** Body param: */
809
+ attachedHubs?: string[];
810
+ /** Body param: */
811
+ attachedVpcs?: string[];
812
+ /** Body param: the ASN to use on the cloud side. If unset or zero, the cloud's default will be used. */
813
+ cloudAsn?: number;
814
+ /** Body param: */
815
+ description?: string;
816
+ /** Body param: */
817
+ hubProviderId?: string;
818
+ /** Body param: */
819
+ manageHubToHubAttachments?: boolean;
820
+ /** Body param: */
821
+ manageVpcToHubAttachments?: boolean;
822
+ /** Body param: */
823
+ region?: string;
824
+ /** Body param: */
825
+ vpc?: string;
826
+ }
827
+ export declare const CreateOnRampRequest: Schema.Schema<CreateOnRampRequest>;
828
+ export interface CreateOnRampResponse {
829
+ id: string;
830
+ cloudType: "AWS" | "AZURE" | "GOOGLE";
831
+ dynamicRouting: boolean;
832
+ installRoutesInCloud: boolean;
833
+ installRoutesInMagicWan: boolean;
834
+ name: string;
835
+ type: "OnrampTypeSingle" | "OnrampTypeHub";
836
+ updatedAt: string;
837
+ attachedHubs?: string[] | null;
838
+ attachedVpcs?: string[] | null;
839
+ cloudAsn?: number | null;
840
+ description?: string | null;
841
+ hub?: string | null;
842
+ lastAppliedAt?: string | null;
843
+ lastExportedAt?: string | null;
844
+ lastPlannedAt?: string | null;
845
+ manageHubToHubAttachments?: boolean | null;
846
+ manageVpcToHubAttachments?: boolean | null;
847
+ plannedMonthlyCostEstimate?: {
848
+ currency: string;
849
+ currentMonthlyCost: number;
850
+ diff: number;
851
+ proposedMonthlyCost: number;
852
+ } | null;
853
+ plannedResources?: {
854
+ diff: {
855
+ diff: string;
856
+ leftDescription: string;
857
+ leftYaml: string;
858
+ rightDescription: string;
859
+ rightYaml: string;
860
+ };
861
+ keysRequireReplace: string[];
862
+ monthlyCostEstimateDiff: {
863
+ currency: string;
864
+ currentMonthlyCost: number;
865
+ diff: number;
866
+ proposedMonthlyCost: number;
867
+ };
868
+ plannedAction: "no_op" | "create" | "update" | "replace" | "destroy";
869
+ resource: {
870
+ id: string;
871
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
872
+ detail: string;
873
+ name: string;
874
+ resourceType: "aws_customer_gateway" | "aws_egress_only_internet_gateway" | "aws_internet_gateway" | "aws_instance" | "aws_network_interface" | "aws_route" | "aws_route_table" | "aws_route_table_association" | "aws_subnet" | "aws_vpc" | "aws_vpc_ipv4_cidr_block_association" | "aws_vpn_connection" | "aws_vpn_connection_route" | "aws_vpn_gateway" | "aws_security_group" | "aws_vpc_security_group_ingress_rule" | "aws_vpc_security_group_egress_rule" | "aws_ec2_managed_prefix_list" | "aws_ec2_transit_gateway" | "aws_ec2_transit_gateway_prefix_list_reference" | "aws_ec2_transit_gateway_vpc_attachment" | "azurerm_application_security_group" | "azurerm_lb" | "azurerm_lb_backend_address_pool" | "azurerm_lb_nat_pool" | "azurerm_lb_nat_rule" | "azurerm_lb_rule" | "azurerm_local_network_gateway" | "azurerm_network_interface" | "azurerm_network_interface_application_security_group_association" | "azurerm_network_interface_backend_address_pool_association" | "azurerm_network_interface_security_group_association" | "azurerm_network_security_group" | "azurerm_public_ip" | "azurerm_route" | "azurerm_route_table" | "azurerm_subnet" | "azurerm_subnet_route_table_association" | "azurerm_virtual_machine" | "azurerm_virtual_network_gateway_connection" | "azurerm_virtual_network" | "azurerm_virtual_network_gateway" | "google_compute_network" | "google_compute_subnetwork" | "google_compute_vpn_gateway" | "google_compute_vpn_tunnel" | "google_compute_route" | "google_compute_address" | "google_compute_global_address" | "google_compute_router" | "google_compute_interconnect_attachment" | "google_compute_ha_vpn_gateway" | "google_compute_forwarding_rule" | "google_compute_network_firewall_policy" | "google_compute_network_firewall_policy_rule" | "cloudflare_static_route" | "cloudflare_ipsec_tunnel";
875
+ title: string;
876
+ };
877
+ }[] | null;
878
+ plannedResourcesUnavailable?: boolean | null;
879
+ postApplyMonthlyCostEstimate?: {
880
+ currency: string;
881
+ monthlyCost: number;
882
+ } | null;
883
+ postApplyResources?: Record<string, unknown> | null;
884
+ postApplyResourcesUnavailable?: boolean | null;
885
+ region?: string | null;
886
+ status?: {
887
+ applyProgress: {
888
+ done: number;
889
+ total: number;
890
+ };
891
+ lifecycleState: "OnrampNeedsApply" | "OnrampPendingPlan" | "OnrampPlanning" | "OnrampPlanFailed" | "OnrampPendingApproval" | "OnrampPendingApply" | "OnrampApplying" | "OnrampApplyFailed" | "OnrampActive" | "OnrampPendingDestroy" | "OnrampDestroying" | "OnrampDestroyFailed";
892
+ planProgress: {
893
+ done: number;
894
+ total: number;
895
+ };
896
+ routes: string[];
897
+ tunnels: string[];
898
+ lifecycleErrors?: Record<string, unknown> | null;
899
+ } | null;
900
+ vpc?: string | null;
901
+ vpcsById?: Record<string, unknown> | null;
902
+ /** The list of vpc IDs for which resource details failed to generate. */
903
+ vpcsByIdUnavailable?: string[] | null;
904
+ }
905
+ export declare const CreateOnRampResponse: Schema.Schema<CreateOnRampResponse>;
906
+ export type CreateOnRampError = DefaultErrors;
907
+ export declare const createOnRamp: API.OperationMethod<CreateOnRampRequest, CreateOnRampResponse, CreateOnRampError, Credentials | HttpClient.HttpClient>;
908
+ export interface UpdateOnRampRequest {
909
+ onrampId: string;
910
+ /** Path param: */
911
+ accountId: string;
912
+ /** Body param: */
913
+ attachedHubs?: string[];
914
+ /** Body param: */
915
+ attachedVpcs?: string[];
916
+ /** Body param: */
917
+ description?: string;
918
+ /** Body param: */
919
+ installRoutesInCloud?: boolean;
920
+ /** Body param: */
921
+ installRoutesInMagicWan?: boolean;
922
+ /** Body param: */
923
+ manageHubToHubAttachments?: boolean;
924
+ /** Body param: */
925
+ manageVpcToHubAttachments?: boolean;
926
+ /** Body param: */
927
+ name?: string;
928
+ /** Body param: */
929
+ vpc?: string;
930
+ }
931
+ export declare const UpdateOnRampRequest: Schema.Schema<UpdateOnRampRequest>;
932
+ export interface UpdateOnRampResponse {
933
+ id: string;
934
+ cloudType: "AWS" | "AZURE" | "GOOGLE";
935
+ dynamicRouting: boolean;
936
+ installRoutesInCloud: boolean;
937
+ installRoutesInMagicWan: boolean;
938
+ name: string;
939
+ type: "OnrampTypeSingle" | "OnrampTypeHub";
940
+ updatedAt: string;
941
+ attachedHubs?: string[] | null;
942
+ attachedVpcs?: string[] | null;
943
+ cloudAsn?: number | null;
944
+ description?: string | null;
945
+ hub?: string | null;
946
+ lastAppliedAt?: string | null;
947
+ lastExportedAt?: string | null;
948
+ lastPlannedAt?: string | null;
949
+ manageHubToHubAttachments?: boolean | null;
950
+ manageVpcToHubAttachments?: boolean | null;
951
+ plannedMonthlyCostEstimate?: {
952
+ currency: string;
953
+ currentMonthlyCost: number;
954
+ diff: number;
955
+ proposedMonthlyCost: number;
956
+ } | null;
957
+ plannedResources?: {
958
+ diff: {
959
+ diff: string;
960
+ leftDescription: string;
961
+ leftYaml: string;
962
+ rightDescription: string;
963
+ rightYaml: string;
964
+ };
965
+ keysRequireReplace: string[];
966
+ monthlyCostEstimateDiff: {
967
+ currency: string;
968
+ currentMonthlyCost: number;
969
+ diff: number;
970
+ proposedMonthlyCost: number;
971
+ };
972
+ plannedAction: "no_op" | "create" | "update" | "replace" | "destroy";
973
+ resource: {
974
+ id: string;
975
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
976
+ detail: string;
977
+ name: string;
978
+ resourceType: "aws_customer_gateway" | "aws_egress_only_internet_gateway" | "aws_internet_gateway" | "aws_instance" | "aws_network_interface" | "aws_route" | "aws_route_table" | "aws_route_table_association" | "aws_subnet" | "aws_vpc" | "aws_vpc_ipv4_cidr_block_association" | "aws_vpn_connection" | "aws_vpn_connection_route" | "aws_vpn_gateway" | "aws_security_group" | "aws_vpc_security_group_ingress_rule" | "aws_vpc_security_group_egress_rule" | "aws_ec2_managed_prefix_list" | "aws_ec2_transit_gateway" | "aws_ec2_transit_gateway_prefix_list_reference" | "aws_ec2_transit_gateway_vpc_attachment" | "azurerm_application_security_group" | "azurerm_lb" | "azurerm_lb_backend_address_pool" | "azurerm_lb_nat_pool" | "azurerm_lb_nat_rule" | "azurerm_lb_rule" | "azurerm_local_network_gateway" | "azurerm_network_interface" | "azurerm_network_interface_application_security_group_association" | "azurerm_network_interface_backend_address_pool_association" | "azurerm_network_interface_security_group_association" | "azurerm_network_security_group" | "azurerm_public_ip" | "azurerm_route" | "azurerm_route_table" | "azurerm_subnet" | "azurerm_subnet_route_table_association" | "azurerm_virtual_machine" | "azurerm_virtual_network_gateway_connection" | "azurerm_virtual_network" | "azurerm_virtual_network_gateway" | "google_compute_network" | "google_compute_subnetwork" | "google_compute_vpn_gateway" | "google_compute_vpn_tunnel" | "google_compute_route" | "google_compute_address" | "google_compute_global_address" | "google_compute_router" | "google_compute_interconnect_attachment" | "google_compute_ha_vpn_gateway" | "google_compute_forwarding_rule" | "google_compute_network_firewall_policy" | "google_compute_network_firewall_policy_rule" | "cloudflare_static_route" | "cloudflare_ipsec_tunnel";
979
+ title: string;
980
+ };
981
+ }[] | null;
982
+ plannedResourcesUnavailable?: boolean | null;
983
+ postApplyMonthlyCostEstimate?: {
984
+ currency: string;
985
+ monthlyCost: number;
986
+ } | null;
987
+ postApplyResources?: Record<string, unknown> | null;
988
+ postApplyResourcesUnavailable?: boolean | null;
989
+ region?: string | null;
990
+ status?: {
991
+ applyProgress: {
992
+ done: number;
993
+ total: number;
994
+ };
995
+ lifecycleState: "OnrampNeedsApply" | "OnrampPendingPlan" | "OnrampPlanning" | "OnrampPlanFailed" | "OnrampPendingApproval" | "OnrampPendingApply" | "OnrampApplying" | "OnrampApplyFailed" | "OnrampActive" | "OnrampPendingDestroy" | "OnrampDestroying" | "OnrampDestroyFailed";
996
+ planProgress: {
997
+ done: number;
998
+ total: number;
999
+ };
1000
+ routes: string[];
1001
+ tunnels: string[];
1002
+ lifecycleErrors?: Record<string, unknown> | null;
1003
+ } | null;
1004
+ vpc?: string | null;
1005
+ vpcsById?: Record<string, unknown> | null;
1006
+ /** The list of vpc IDs for which resource details failed to generate. */
1007
+ vpcsByIdUnavailable?: string[] | null;
1008
+ }
1009
+ export declare const UpdateOnRampResponse: Schema.Schema<UpdateOnRampResponse>;
1010
+ export type UpdateOnRampError = DefaultErrors;
1011
+ export declare const updateOnRamp: API.OperationMethod<UpdateOnRampRequest, UpdateOnRampResponse, UpdateOnRampError, Credentials | HttpClient.HttpClient>;
1012
+ export interface PatchOnRampRequest {
1013
+ onrampId: string;
1014
+ /** Path param: */
1015
+ accountId: string;
1016
+ /** Body param: */
1017
+ attachedHubs?: string[];
1018
+ /** Body param: */
1019
+ attachedVpcs?: string[];
1020
+ /** Body param: */
1021
+ description?: string;
1022
+ /** Body param: */
1023
+ installRoutesInCloud?: boolean;
1024
+ /** Body param: */
1025
+ installRoutesInMagicWan?: boolean;
1026
+ /** Body param: */
1027
+ manageHubToHubAttachments?: boolean;
1028
+ /** Body param: */
1029
+ manageVpcToHubAttachments?: boolean;
1030
+ /** Body param: */
1031
+ name?: string;
1032
+ /** Body param: */
1033
+ vpc?: string;
1034
+ }
1035
+ export declare const PatchOnRampRequest: Schema.Schema<PatchOnRampRequest>;
1036
+ export interface PatchOnRampResponse {
1037
+ id: string;
1038
+ cloudType: "AWS" | "AZURE" | "GOOGLE";
1039
+ dynamicRouting: boolean;
1040
+ installRoutesInCloud: boolean;
1041
+ installRoutesInMagicWan: boolean;
1042
+ name: string;
1043
+ type: "OnrampTypeSingle" | "OnrampTypeHub";
1044
+ updatedAt: string;
1045
+ attachedHubs?: string[] | null;
1046
+ attachedVpcs?: string[] | null;
1047
+ cloudAsn?: number | null;
1048
+ description?: string | null;
1049
+ hub?: string | null;
1050
+ lastAppliedAt?: string | null;
1051
+ lastExportedAt?: string | null;
1052
+ lastPlannedAt?: string | null;
1053
+ manageHubToHubAttachments?: boolean | null;
1054
+ manageVpcToHubAttachments?: boolean | null;
1055
+ plannedMonthlyCostEstimate?: {
1056
+ currency: string;
1057
+ currentMonthlyCost: number;
1058
+ diff: number;
1059
+ proposedMonthlyCost: number;
1060
+ } | null;
1061
+ plannedResources?: {
1062
+ diff: {
1063
+ diff: string;
1064
+ leftDescription: string;
1065
+ leftYaml: string;
1066
+ rightDescription: string;
1067
+ rightYaml: string;
1068
+ };
1069
+ keysRequireReplace: string[];
1070
+ monthlyCostEstimateDiff: {
1071
+ currency: string;
1072
+ currentMonthlyCost: number;
1073
+ diff: number;
1074
+ proposedMonthlyCost: number;
1075
+ };
1076
+ plannedAction: "no_op" | "create" | "update" | "replace" | "destroy";
1077
+ resource: {
1078
+ id: string;
1079
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
1080
+ detail: string;
1081
+ name: string;
1082
+ resourceType: "aws_customer_gateway" | "aws_egress_only_internet_gateway" | "aws_internet_gateway" | "aws_instance" | "aws_network_interface" | "aws_route" | "aws_route_table" | "aws_route_table_association" | "aws_subnet" | "aws_vpc" | "aws_vpc_ipv4_cidr_block_association" | "aws_vpn_connection" | "aws_vpn_connection_route" | "aws_vpn_gateway" | "aws_security_group" | "aws_vpc_security_group_ingress_rule" | "aws_vpc_security_group_egress_rule" | "aws_ec2_managed_prefix_list" | "aws_ec2_transit_gateway" | "aws_ec2_transit_gateway_prefix_list_reference" | "aws_ec2_transit_gateway_vpc_attachment" | "azurerm_application_security_group" | "azurerm_lb" | "azurerm_lb_backend_address_pool" | "azurerm_lb_nat_pool" | "azurerm_lb_nat_rule" | "azurerm_lb_rule" | "azurerm_local_network_gateway" | "azurerm_network_interface" | "azurerm_network_interface_application_security_group_association" | "azurerm_network_interface_backend_address_pool_association" | "azurerm_network_interface_security_group_association" | "azurerm_network_security_group" | "azurerm_public_ip" | "azurerm_route" | "azurerm_route_table" | "azurerm_subnet" | "azurerm_subnet_route_table_association" | "azurerm_virtual_machine" | "azurerm_virtual_network_gateway_connection" | "azurerm_virtual_network" | "azurerm_virtual_network_gateway" | "google_compute_network" | "google_compute_subnetwork" | "google_compute_vpn_gateway" | "google_compute_vpn_tunnel" | "google_compute_route" | "google_compute_address" | "google_compute_global_address" | "google_compute_router" | "google_compute_interconnect_attachment" | "google_compute_ha_vpn_gateway" | "google_compute_forwarding_rule" | "google_compute_network_firewall_policy" | "google_compute_network_firewall_policy_rule" | "cloudflare_static_route" | "cloudflare_ipsec_tunnel";
1083
+ title: string;
1084
+ };
1085
+ }[] | null;
1086
+ plannedResourcesUnavailable?: boolean | null;
1087
+ postApplyMonthlyCostEstimate?: {
1088
+ currency: string;
1089
+ monthlyCost: number;
1090
+ } | null;
1091
+ postApplyResources?: Record<string, unknown> | null;
1092
+ postApplyResourcesUnavailable?: boolean | null;
1093
+ region?: string | null;
1094
+ status?: {
1095
+ applyProgress: {
1096
+ done: number;
1097
+ total: number;
1098
+ };
1099
+ lifecycleState: "OnrampNeedsApply" | "OnrampPendingPlan" | "OnrampPlanning" | "OnrampPlanFailed" | "OnrampPendingApproval" | "OnrampPendingApply" | "OnrampApplying" | "OnrampApplyFailed" | "OnrampActive" | "OnrampPendingDestroy" | "OnrampDestroying" | "OnrampDestroyFailed";
1100
+ planProgress: {
1101
+ done: number;
1102
+ total: number;
1103
+ };
1104
+ routes: string[];
1105
+ tunnels: string[];
1106
+ lifecycleErrors?: Record<string, unknown> | null;
1107
+ } | null;
1108
+ vpc?: string | null;
1109
+ vpcsById?: Record<string, unknown> | null;
1110
+ /** The list of vpc IDs for which resource details failed to generate. */
1111
+ vpcsByIdUnavailable?: string[] | null;
1112
+ }
1113
+ export declare const PatchOnRampResponse: Schema.Schema<PatchOnRampResponse>;
1114
+ export type PatchOnRampError = DefaultErrors;
1115
+ export declare const patchOnRamp: API.OperationMethod<PatchOnRampRequest, PatchOnRampResponse, PatchOnRampError, Credentials | HttpClient.HttpClient>;
1116
+ export interface DeleteOnRampRequest {
1117
+ onrampId: string;
1118
+ /** Path param: */
1119
+ accountId: string;
1120
+ /** Query param: */
1121
+ destroy?: boolean;
1122
+ /** Query param: */
1123
+ force?: boolean;
1124
+ }
1125
+ export declare const DeleteOnRampRequest: Schema.Schema<DeleteOnRampRequest>;
1126
+ export interface DeleteOnRampResponse {
1127
+ id: string;
1128
+ }
1129
+ export declare const DeleteOnRampResponse: Schema.Schema<DeleteOnRampResponse>;
1130
+ export type DeleteOnRampError = DefaultErrors;
1131
+ export declare const deleteOnRamp: API.OperationMethod<DeleteOnRampRequest, DeleteOnRampResponse, DeleteOnRampError, Credentials | HttpClient.HttpClient>;
1132
+ export interface ApplyOnRampRequest {
1133
+ onrampId: string;
1134
+ accountId: string;
1135
+ }
1136
+ export declare const ApplyOnRampRequest: Schema.Schema<ApplyOnRampRequest>;
1137
+ export interface ApplyOnRampResponse {
1138
+ errors: {
1139
+ code: "1001" | "1002" | "1003" | "1004" | "1005" | "1006" | "1007" | "1008" | "1009" | "1010" | "1011" | "1012" | "1013" | "1014" | "1015" | "1016" | "1017" | "1018" | "2001" | "2002" | "2003" | "2004" | "2005" | "2006" | "2007" | "2008" | "2009" | "2010" | "2011" | "2012" | "2013" | "2014" | "2015" | "2016" | "2017" | "2018" | "2019" | "2020" | "2021" | "2022" | "3001" | "3002" | "3003" | "3004" | "3005" | "3006" | "3007" | "4001" | "4002" | "4003" | "4004" | "4005" | "4006" | "4007" | "4008" | "4009" | "4010" | "4011" | "4012" | "4013" | "4014" | "4015" | "4016" | "4017" | "4018" | "4019" | "4020" | "4021" | "4022" | "4023" | "5001" | "5002" | "5003" | "5004" | "102000" | "102001" | "102002" | "102003" | "102004" | "102005" | "102006" | "102007" | "102008" | "102009" | "102010" | "102011" | "102012" | "102013" | "102014" | "102015" | "102016" | "102017" | "102018" | "102019" | "102020" | "102021" | "102022" | "102023" | "102024" | "102025" | "102026" | "102027" | "102028" | "102029" | "102030" | "102031" | "102032" | "102033" | "102034" | "102035" | "102036" | "102037" | "102038" | "102039" | "102040" | "102041" | "102042" | "102043" | "102044" | "102045" | "102046" | "102047" | "102048" | "102049" | "102050" | "102051" | "102052" | "102053" | "102054" | "102055" | "102056" | "102057" | "102058" | "102059" | "102060" | "102061" | "102062" | "102063" | "102064" | "102065" | "102066" | "102067" | "102068" | "102069" | "102070" | "102071" | "102072" | "103001" | "103002" | "103003" | "103004" | "103005" | "103006" | "103007" | "103008";
1140
+ message: string;
1141
+ documentationUrl?: string | null;
1142
+ meta?: {
1143
+ l10nKey?: string | null;
1144
+ loggableError?: string | null;
1145
+ templateData?: unknown | null;
1146
+ traceId?: string | null;
1147
+ } | null;
1148
+ source?: {
1149
+ parameter?: string | null;
1150
+ parameterValueIndex?: number | null;
1151
+ pointer?: string | null;
1152
+ } | null;
1153
+ }[];
1154
+ messages: {
1155
+ code: "1001" | "1002" | "1003" | "1004" | "1005" | "1006" | "1007" | "1008" | "1009" | "1010" | "1011" | "1012" | "1013" | "1014" | "1015" | "1016" | "1017" | "1018" | "2001" | "2002" | "2003" | "2004" | "2005" | "2006" | "2007" | "2008" | "2009" | "2010" | "2011" | "2012" | "2013" | "2014" | "2015" | "2016" | "2017" | "2018" | "2019" | "2020" | "2021" | "2022" | "3001" | "3002" | "3003" | "3004" | "3005" | "3006" | "3007" | "4001" | "4002" | "4003" | "4004" | "4005" | "4006" | "4007" | "4008" | "4009" | "4010" | "4011" | "4012" | "4013" | "4014" | "4015" | "4016" | "4017" | "4018" | "4019" | "4020" | "4021" | "4022" | "4023" | "5001" | "5002" | "5003" | "5004" | "102000" | "102001" | "102002" | "102003" | "102004" | "102005" | "102006" | "102007" | "102008" | "102009" | "102010" | "102011" | "102012" | "102013" | "102014" | "102015" | "102016" | "102017" | "102018" | "102019" | "102020" | "102021" | "102022" | "102023" | "102024" | "102025" | "102026" | "102027" | "102028" | "102029" | "102030" | "102031" | "102032" | "102033" | "102034" | "102035" | "102036" | "102037" | "102038" | "102039" | "102040" | "102041" | "102042" | "102043" | "102044" | "102045" | "102046" | "102047" | "102048" | "102049" | "102050" | "102051" | "102052" | "102053" | "102054" | "102055" | "102056" | "102057" | "102058" | "102059" | "102060" | "102061" | "102062" | "102063" | "102064" | "102065" | "102066" | "102067" | "102068" | "102069" | "102070" | "102071" | "102072" | "103001" | "103002" | "103003" | "103004" | "103005" | "103006" | "103007" | "103008";
1156
+ message: string;
1157
+ documentationUrl?: string | null;
1158
+ meta?: {
1159
+ l10nKey?: string | null;
1160
+ loggableError?: string | null;
1161
+ templateData?: unknown | null;
1162
+ traceId?: string | null;
1163
+ } | null;
1164
+ source?: {
1165
+ parameter?: string | null;
1166
+ parameterValueIndex?: number | null;
1167
+ pointer?: string | null;
1168
+ } | null;
1169
+ }[];
1170
+ success: boolean;
1171
+ }
1172
+ export declare const ApplyOnRampResponse: Schema.Schema<ApplyOnRampResponse>;
1173
+ export type ApplyOnRampError = DefaultErrors;
1174
+ export declare const applyOnRamp: API.OperationMethod<ApplyOnRampRequest, ApplyOnRampResponse, ApplyOnRampError, Credentials | HttpClient.HttpClient>;
1175
+ export interface ExportOnRampRequest {
1176
+ onrampId: string;
1177
+ accountId: string;
1178
+ }
1179
+ export declare const ExportOnRampRequest: Schema.Schema<ExportOnRampRequest>;
1180
+ export type ExportOnRampResponse = unknown;
1181
+ export declare const ExportOnRampResponse: Schema.Schema<unknown>;
1182
+ export type ExportOnRampError = DefaultErrors;
1183
+ export declare const exportOnRamp: API.OperationMethod<ExportOnRampRequest, ExportOnRampResponse, ExportOnRampError, Credentials | HttpClient.HttpClient>;
1184
+ export interface PlanOnRampRequest {
1185
+ onrampId: string;
1186
+ accountId: string;
1187
+ }
1188
+ export declare const PlanOnRampRequest: Schema.Schema<PlanOnRampRequest>;
1189
+ export interface PlanOnRampResponse {
1190
+ errors: {
1191
+ code: "1001" | "1002" | "1003" | "1004" | "1005" | "1006" | "1007" | "1008" | "1009" | "1010" | "1011" | "1012" | "1013" | "1014" | "1015" | "1016" | "1017" | "1018" | "2001" | "2002" | "2003" | "2004" | "2005" | "2006" | "2007" | "2008" | "2009" | "2010" | "2011" | "2012" | "2013" | "2014" | "2015" | "2016" | "2017" | "2018" | "2019" | "2020" | "2021" | "2022" | "3001" | "3002" | "3003" | "3004" | "3005" | "3006" | "3007" | "4001" | "4002" | "4003" | "4004" | "4005" | "4006" | "4007" | "4008" | "4009" | "4010" | "4011" | "4012" | "4013" | "4014" | "4015" | "4016" | "4017" | "4018" | "4019" | "4020" | "4021" | "4022" | "4023" | "5001" | "5002" | "5003" | "5004" | "102000" | "102001" | "102002" | "102003" | "102004" | "102005" | "102006" | "102007" | "102008" | "102009" | "102010" | "102011" | "102012" | "102013" | "102014" | "102015" | "102016" | "102017" | "102018" | "102019" | "102020" | "102021" | "102022" | "102023" | "102024" | "102025" | "102026" | "102027" | "102028" | "102029" | "102030" | "102031" | "102032" | "102033" | "102034" | "102035" | "102036" | "102037" | "102038" | "102039" | "102040" | "102041" | "102042" | "102043" | "102044" | "102045" | "102046" | "102047" | "102048" | "102049" | "102050" | "102051" | "102052" | "102053" | "102054" | "102055" | "102056" | "102057" | "102058" | "102059" | "102060" | "102061" | "102062" | "102063" | "102064" | "102065" | "102066" | "102067" | "102068" | "102069" | "102070" | "102071" | "102072" | "103001" | "103002" | "103003" | "103004" | "103005" | "103006" | "103007" | "103008";
1192
+ message: string;
1193
+ documentationUrl?: string | null;
1194
+ meta?: {
1195
+ l10nKey?: string | null;
1196
+ loggableError?: string | null;
1197
+ templateData?: unknown | null;
1198
+ traceId?: string | null;
1199
+ } | null;
1200
+ source?: {
1201
+ parameter?: string | null;
1202
+ parameterValueIndex?: number | null;
1203
+ pointer?: string | null;
1204
+ } | null;
1205
+ }[];
1206
+ messages: {
1207
+ code: "1001" | "1002" | "1003" | "1004" | "1005" | "1006" | "1007" | "1008" | "1009" | "1010" | "1011" | "1012" | "1013" | "1014" | "1015" | "1016" | "1017" | "1018" | "2001" | "2002" | "2003" | "2004" | "2005" | "2006" | "2007" | "2008" | "2009" | "2010" | "2011" | "2012" | "2013" | "2014" | "2015" | "2016" | "2017" | "2018" | "2019" | "2020" | "2021" | "2022" | "3001" | "3002" | "3003" | "3004" | "3005" | "3006" | "3007" | "4001" | "4002" | "4003" | "4004" | "4005" | "4006" | "4007" | "4008" | "4009" | "4010" | "4011" | "4012" | "4013" | "4014" | "4015" | "4016" | "4017" | "4018" | "4019" | "4020" | "4021" | "4022" | "4023" | "5001" | "5002" | "5003" | "5004" | "102000" | "102001" | "102002" | "102003" | "102004" | "102005" | "102006" | "102007" | "102008" | "102009" | "102010" | "102011" | "102012" | "102013" | "102014" | "102015" | "102016" | "102017" | "102018" | "102019" | "102020" | "102021" | "102022" | "102023" | "102024" | "102025" | "102026" | "102027" | "102028" | "102029" | "102030" | "102031" | "102032" | "102033" | "102034" | "102035" | "102036" | "102037" | "102038" | "102039" | "102040" | "102041" | "102042" | "102043" | "102044" | "102045" | "102046" | "102047" | "102048" | "102049" | "102050" | "102051" | "102052" | "102053" | "102054" | "102055" | "102056" | "102057" | "102058" | "102059" | "102060" | "102061" | "102062" | "102063" | "102064" | "102065" | "102066" | "102067" | "102068" | "102069" | "102070" | "102071" | "102072" | "103001" | "103002" | "103003" | "103004" | "103005" | "103006" | "103007" | "103008";
1208
+ message: string;
1209
+ documentationUrl?: string | null;
1210
+ meta?: {
1211
+ l10nKey?: string | null;
1212
+ loggableError?: string | null;
1213
+ templateData?: unknown | null;
1214
+ traceId?: string | null;
1215
+ } | null;
1216
+ source?: {
1217
+ parameter?: string | null;
1218
+ parameterValueIndex?: number | null;
1219
+ pointer?: string | null;
1220
+ } | null;
1221
+ }[];
1222
+ success: boolean;
1223
+ }
1224
+ export declare const PlanOnRampResponse: Schema.Schema<PlanOnRampResponse>;
1225
+ export type PlanOnRampError = DefaultErrors;
1226
+ export declare const planOnRamp: API.OperationMethod<PlanOnRampRequest, PlanOnRampResponse, PlanOnRampError, Credentials | HttpClient.HttpClient>;
1227
+ export interface ListOnRampAddressSpacesRequest {
1228
+ accountId: string;
1229
+ }
1230
+ export declare const ListOnRampAddressSpacesRequest: Schema.Schema<ListOnRampAddressSpacesRequest>;
1231
+ export interface ListOnRampAddressSpacesResponse {
1232
+ prefixes: string[];
1233
+ }
1234
+ export declare const ListOnRampAddressSpacesResponse: Schema.Schema<ListOnRampAddressSpacesResponse>;
1235
+ export type ListOnRampAddressSpacesError = DefaultErrors;
1236
+ export declare const listOnRampAddressSpaces: API.OperationMethod<ListOnRampAddressSpacesRequest, ListOnRampAddressSpacesResponse, ListOnRampAddressSpacesError, Credentials | HttpClient.HttpClient>;
1237
+ export interface PutOnRampAddressSpaceRequest {
1238
+ /** Path param: */
1239
+ accountId: string;
1240
+ /** Body param: */
1241
+ prefixes: string[];
1242
+ }
1243
+ export declare const PutOnRampAddressSpaceRequest: Schema.Schema<PutOnRampAddressSpaceRequest>;
1244
+ export interface PutOnRampAddressSpaceResponse {
1245
+ prefixes: string[];
1246
+ }
1247
+ export declare const PutOnRampAddressSpaceResponse: Schema.Schema<PutOnRampAddressSpaceResponse>;
1248
+ export type PutOnRampAddressSpaceError = DefaultErrors;
1249
+ export declare const putOnRampAddressSpace: API.OperationMethod<PutOnRampAddressSpaceRequest, PutOnRampAddressSpaceResponse, PutOnRampAddressSpaceError, Credentials | HttpClient.HttpClient>;
1250
+ export interface PatchOnRampAddressSpaceRequest {
1251
+ /** Path param: */
1252
+ accountId: string;
1253
+ /** Body param: */
1254
+ prefixes: string[];
1255
+ }
1256
+ export declare const PatchOnRampAddressSpaceRequest: Schema.Schema<PatchOnRampAddressSpaceRequest>;
1257
+ export interface PatchOnRampAddressSpaceResponse {
1258
+ prefixes: string[];
1259
+ }
1260
+ export declare const PatchOnRampAddressSpaceResponse: Schema.Schema<PatchOnRampAddressSpaceResponse>;
1261
+ export type PatchOnRampAddressSpaceError = DefaultErrors;
1262
+ export declare const patchOnRampAddressSpace: API.OperationMethod<PatchOnRampAddressSpaceRequest, PatchOnRampAddressSpaceResponse, PatchOnRampAddressSpaceError, Credentials | HttpClient.HttpClient>;
1263
+ export interface PolicyPreviewResourceRequest {
1264
+ /** Path param: */
1265
+ accountId: string;
1266
+ /** Body param: */
1267
+ policy: string;
1268
+ }
1269
+ export declare const PolicyPreviewResourceRequest: Schema.Schema<PolicyPreviewResourceRequest>;
1270
+ export type PolicyPreviewResourceResponse = string;
1271
+ export declare const PolicyPreviewResourceResponse: Schema.Schema<string>;
1272
+ export type PolicyPreviewResourceError = DefaultErrors;
1273
+ export declare const policyPreviewResource: API.OperationMethod<PolicyPreviewResourceRequest, PolicyPreviewResourceResponse, PolicyPreviewResourceError, Credentials | HttpClient.HttpClient>;
1274
+ export interface GetResourceRequest {
1275
+ resourceId: string;
1276
+ /** Path param: */
1277
+ accountId: string;
1278
+ /** Query param: */
1279
+ v2?: boolean;
1280
+ }
1281
+ export declare const GetResourceRequest: Schema.Schema<GetResourceRequest>;
1282
+ export interface GetResourceResponse {
1283
+ id: string;
1284
+ accountId: string;
1285
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
1286
+ config: Record<string, unknown>;
1287
+ deploymentProvider: string;
1288
+ managed: boolean;
1289
+ monthlyCostEstimate: {
1290
+ currency: string;
1291
+ monthlyCost: number;
1292
+ };
1293
+ name: string;
1294
+ nativeId: string;
1295
+ observations: Record<string, unknown>;
1296
+ providerIds: string[];
1297
+ providerNamesById: Record<string, unknown>;
1298
+ region: string;
1299
+ resourceGroup: string;
1300
+ resourceType: "aws_customer_gateway" | "aws_egress_only_internet_gateway" | "aws_internet_gateway" | "aws_instance" | "aws_network_interface" | "aws_route" | "aws_route_table" | "aws_route_table_association" | "aws_subnet" | "aws_vpc" | "aws_vpc_ipv4_cidr_block_association" | "aws_vpn_connection" | "aws_vpn_connection_route" | "aws_vpn_gateway" | "aws_security_group" | "aws_vpc_security_group_ingress_rule" | "aws_vpc_security_group_egress_rule" | "aws_ec2_managed_prefix_list" | "aws_ec2_transit_gateway" | "aws_ec2_transit_gateway_prefix_list_reference" | "aws_ec2_transit_gateway_vpc_attachment" | "azurerm_application_security_group" | "azurerm_lb" | "azurerm_lb_backend_address_pool" | "azurerm_lb_nat_pool" | "azurerm_lb_nat_rule" | "azurerm_lb_rule" | "azurerm_local_network_gateway" | "azurerm_network_interface" | "azurerm_network_interface_application_security_group_association" | "azurerm_network_interface_backend_address_pool_association" | "azurerm_network_interface_security_group_association" | "azurerm_network_security_group" | "azurerm_public_ip" | "azurerm_route" | "azurerm_route_table" | "azurerm_subnet" | "azurerm_subnet_route_table_association" | "azurerm_virtual_machine" | "azurerm_virtual_network_gateway_connection" | "azurerm_virtual_network" | "azurerm_virtual_network_gateway" | "google_compute_network" | "google_compute_subnetwork" | "google_compute_vpn_gateway" | "google_compute_vpn_tunnel" | "google_compute_route" | "google_compute_address" | "google_compute_global_address" | "google_compute_router" | "google_compute_interconnect_attachment" | "google_compute_ha_vpn_gateway" | "google_compute_forwarding_rule" | "google_compute_network_firewall_policy" | "google_compute_network_firewall_policy_rule" | "cloudflare_static_route" | "cloudflare_ipsec_tunnel";
1301
+ sections: {
1302
+ hiddenItems: {
1303
+ helpText?: string | null;
1304
+ name?: string | null;
1305
+ value?: {
1306
+ itemType: string;
1307
+ string: string;
1308
+ } | {
1309
+ itemType: string;
1310
+ yaml: string;
1311
+ } | {
1312
+ itemType: string;
1313
+ yamlDiff: {
1314
+ diff: string;
1315
+ leftDescription: string;
1316
+ leftYaml: string;
1317
+ rightDescription: string;
1318
+ rightYaml: string;
1319
+ };
1320
+ } | {
1321
+ itemType: string;
1322
+ resourcePreview: {
1323
+ id: string;
1324
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
1325
+ detail: string;
1326
+ name: string;
1327
+ resourceType: "aws_customer_gateway" | "aws_egress_only_internet_gateway" | "aws_internet_gateway" | "aws_instance" | "aws_network_interface" | "aws_route" | "aws_route_table" | "aws_route_table_association" | "aws_subnet" | "aws_vpc" | "aws_vpc_ipv4_cidr_block_association" | "aws_vpn_connection" | "aws_vpn_connection_route" | "aws_vpn_gateway" | "aws_security_group" | "aws_vpc_security_group_ingress_rule" | "aws_vpc_security_group_egress_rule" | "aws_ec2_managed_prefix_list" | "aws_ec2_transit_gateway" | "aws_ec2_transit_gateway_prefix_list_reference" | "aws_ec2_transit_gateway_vpc_attachment" | "azurerm_application_security_group" | "azurerm_lb" | "azurerm_lb_backend_address_pool" | "azurerm_lb_nat_pool" | "azurerm_lb_nat_rule" | "azurerm_lb_rule" | "azurerm_local_network_gateway" | "azurerm_network_interface" | "azurerm_network_interface_application_security_group_association" | "azurerm_network_interface_backend_address_pool_association" | "azurerm_network_interface_security_group_association" | "azurerm_network_security_group" | "azurerm_public_ip" | "azurerm_route" | "azurerm_route_table" | "azurerm_subnet" | "azurerm_subnet_route_table_association" | "azurerm_virtual_machine" | "azurerm_virtual_network_gateway_connection" | "azurerm_virtual_network" | "azurerm_virtual_network_gateway" | "google_compute_network" | "google_compute_subnetwork" | "google_compute_vpn_gateway" | "google_compute_vpn_tunnel" | "google_compute_route" | "google_compute_address" | "google_compute_global_address" | "google_compute_router" | "google_compute_interconnect_attachment" | "google_compute_ha_vpn_gateway" | "google_compute_forwarding_rule" | "google_compute_network_firewall_policy" | "google_compute_network_firewall_policy_rule" | "cloudflare_static_route" | "cloudflare_ipsec_tunnel";
1328
+ title: string;
1329
+ };
1330
+ } | {
1331
+ itemType: string;
1332
+ list: ({
1333
+ itemType: string;
1334
+ string: string;
1335
+ } | {
1336
+ itemType: string;
1337
+ resourcePreview: {
1338
+ id: string;
1339
+ cloudType: unknown;
1340
+ detail: string;
1341
+ name: string;
1342
+ resourceType: unknown;
1343
+ title: string;
1344
+ };
1345
+ })[];
1346
+ } | null;
1347
+ }[];
1348
+ name: string;
1349
+ visibleItems: {
1350
+ helpText?: string | null;
1351
+ name?: string | null;
1352
+ value?: {
1353
+ itemType: string;
1354
+ string: string;
1355
+ } | {
1356
+ itemType: string;
1357
+ yaml: string;
1358
+ } | {
1359
+ itemType: string;
1360
+ yamlDiff: {
1361
+ diff: string;
1362
+ leftDescription: string;
1363
+ leftYaml: string;
1364
+ rightDescription: string;
1365
+ rightYaml: string;
1366
+ };
1367
+ } | {
1368
+ itemType: string;
1369
+ resourcePreview: {
1370
+ id: string;
1371
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
1372
+ detail: string;
1373
+ name: string;
1374
+ resourceType: "aws_customer_gateway" | "aws_egress_only_internet_gateway" | "aws_internet_gateway" | "aws_instance" | "aws_network_interface" | "aws_route" | "aws_route_table" | "aws_route_table_association" | "aws_subnet" | "aws_vpc" | "aws_vpc_ipv4_cidr_block_association" | "aws_vpn_connection" | "aws_vpn_connection_route" | "aws_vpn_gateway" | "aws_security_group" | "aws_vpc_security_group_ingress_rule" | "aws_vpc_security_group_egress_rule" | "aws_ec2_managed_prefix_list" | "aws_ec2_transit_gateway" | "aws_ec2_transit_gateway_prefix_list_reference" | "aws_ec2_transit_gateway_vpc_attachment" | "azurerm_application_security_group" | "azurerm_lb" | "azurerm_lb_backend_address_pool" | "azurerm_lb_nat_pool" | "azurerm_lb_nat_rule" | "azurerm_lb_rule" | "azurerm_local_network_gateway" | "azurerm_network_interface" | "azurerm_network_interface_application_security_group_association" | "azurerm_network_interface_backend_address_pool_association" | "azurerm_network_interface_security_group_association" | "azurerm_network_security_group" | "azurerm_public_ip" | "azurerm_route" | "azurerm_route_table" | "azurerm_subnet" | "azurerm_subnet_route_table_association" | "azurerm_virtual_machine" | "azurerm_virtual_network_gateway_connection" | "azurerm_virtual_network" | "azurerm_virtual_network_gateway" | "google_compute_network" | "google_compute_subnetwork" | "google_compute_vpn_gateway" | "google_compute_vpn_tunnel" | "google_compute_route" | "google_compute_address" | "google_compute_global_address" | "google_compute_router" | "google_compute_interconnect_attachment" | "google_compute_ha_vpn_gateway" | "google_compute_forwarding_rule" | "google_compute_network_firewall_policy" | "google_compute_network_firewall_policy_rule" | "cloudflare_static_route" | "cloudflare_ipsec_tunnel";
1375
+ title: string;
1376
+ };
1377
+ } | {
1378
+ itemType: string;
1379
+ list: ({
1380
+ itemType: string;
1381
+ string: string;
1382
+ } | {
1383
+ itemType: string;
1384
+ resourcePreview: {
1385
+ id: string;
1386
+ cloudType: unknown;
1387
+ detail: string;
1388
+ name: string;
1389
+ resourceType: unknown;
1390
+ title: string;
1391
+ };
1392
+ })[];
1393
+ } | null;
1394
+ }[];
1395
+ helpText?: string | null;
1396
+ }[];
1397
+ state: Record<string, unknown>;
1398
+ tags: Record<string, unknown>;
1399
+ updatedAt: string;
1400
+ url: string;
1401
+ managedBy?: {
1402
+ id: string;
1403
+ clientType: "MAGIC_WAN_CLOUD_ONRAMP";
1404
+ name: string;
1405
+ }[] | null;
1406
+ }
1407
+ export declare const GetResourceResponse: Schema.Schema<GetResourceResponse>;
1408
+ export type GetResourceError = DefaultErrors;
1409
+ export declare const getResource: API.OperationMethod<GetResourceRequest, GetResourceResponse, GetResourceError, Credentials | HttpClient.HttpClient>;
1410
+ export interface ListResourcesRequest {
1411
+ /** Path param: */
1412
+ accountId: string;
1413
+ /** Query param: */
1414
+ cloudflare?: boolean;
1415
+ /** Query param: */
1416
+ desc?: boolean;
1417
+ /** Query param: */
1418
+ managed?: boolean;
1419
+ /** Query param: One of ["id", "resource_type", "region"]. */
1420
+ orderBy?: string;
1421
+ /** Query param: */
1422
+ providerId?: string;
1423
+ /** Query param: */
1424
+ region?: string;
1425
+ /** Query param: */
1426
+ resourceGroup?: string;
1427
+ /** Query param: */
1428
+ resourceId?: string[];
1429
+ /** Query param: */
1430
+ resourceType?: ("aws_customer_gateway" | "aws_egress_only_internet_gateway" | "aws_internet_gateway" | "aws_instance" | "aws_network_interface" | "aws_route" | "aws_route_table" | "aws_route_table_association" | "aws_subnet" | "aws_vpc" | "aws_vpc_ipv4_cidr_block_association" | "aws_vpn_connection" | "aws_vpn_connection_route" | "aws_vpn_gateway" | "aws_security_group" | "aws_vpc_security_group_ingress_rule" | "aws_vpc_security_group_egress_rule" | "aws_ec2_managed_prefix_list" | "aws_ec2_transit_gateway" | "aws_ec2_transit_gateway_prefix_list_reference" | "aws_ec2_transit_gateway_vpc_attachment" | "azurerm_application_security_group" | "azurerm_lb" | "azurerm_lb_backend_address_pool" | "azurerm_lb_nat_pool" | "azurerm_lb_nat_rule" | "azurerm_lb_rule" | "azurerm_local_network_gateway" | "azurerm_network_interface" | "azurerm_network_interface_application_security_group_association" | "azurerm_network_interface_backend_address_pool_association" | "azurerm_network_interface_security_group_association" | "azurerm_network_security_group" | "azurerm_public_ip" | "azurerm_route" | "azurerm_route_table" | "azurerm_subnet" | "azurerm_subnet_route_table_association" | "azurerm_virtual_machine" | "azurerm_virtual_network_gateway_connection" | "azurerm_virtual_network" | "azurerm_virtual_network_gateway" | "google_compute_network" | "google_compute_subnetwork" | "google_compute_vpn_gateway" | "google_compute_vpn_tunnel" | "google_compute_route" | "google_compute_address" | "google_compute_global_address" | "google_compute_router" | "google_compute_interconnect_attachment" | "google_compute_ha_vpn_gateway" | "google_compute_forwarding_rule" | "google_compute_network_firewall_policy" | "google_compute_network_firewall_policy_rule" | "cloudflare_static_route" | "cloudflare_ipsec_tunnel")[];
1431
+ /** Query param: */
1432
+ search?: string[];
1433
+ /** Query param: */
1434
+ v2?: boolean;
1435
+ }
1436
+ export declare const ListResourcesRequest: Schema.Schema<ListResourcesRequest>;
1437
+ export type ListResourcesResponse = {
1438
+ id: string;
1439
+ accountId: string;
1440
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
1441
+ config: Record<string, unknown>;
1442
+ deploymentProvider: string;
1443
+ managed: boolean;
1444
+ monthlyCostEstimate: {
1445
+ currency: string;
1446
+ monthlyCost: number;
1447
+ };
1448
+ name: string;
1449
+ nativeId: string;
1450
+ observations: Record<string, unknown>;
1451
+ providerIds: string[];
1452
+ providerNamesById: Record<string, unknown>;
1453
+ region: string;
1454
+ resourceGroup: string;
1455
+ resourceType: "aws_customer_gateway" | "aws_egress_only_internet_gateway" | "aws_internet_gateway" | "aws_instance" | "aws_network_interface" | "aws_route" | "aws_route_table" | "aws_route_table_association" | "aws_subnet" | "aws_vpc" | "aws_vpc_ipv4_cidr_block_association" | "aws_vpn_connection" | "aws_vpn_connection_route" | "aws_vpn_gateway" | "aws_security_group" | "aws_vpc_security_group_ingress_rule" | "aws_vpc_security_group_egress_rule" | "aws_ec2_managed_prefix_list" | "aws_ec2_transit_gateway" | "aws_ec2_transit_gateway_prefix_list_reference" | "aws_ec2_transit_gateway_vpc_attachment" | "azurerm_application_security_group" | "azurerm_lb" | "azurerm_lb_backend_address_pool" | "azurerm_lb_nat_pool" | "azurerm_lb_nat_rule" | "azurerm_lb_rule" | "azurerm_local_network_gateway" | "azurerm_network_interface" | "azurerm_network_interface_application_security_group_association" | "azurerm_network_interface_backend_address_pool_association" | "azurerm_network_interface_security_group_association" | "azurerm_network_security_group" | "azurerm_public_ip" | "azurerm_route" | "azurerm_route_table" | "azurerm_subnet" | "azurerm_subnet_route_table_association" | "azurerm_virtual_machine" | "azurerm_virtual_network_gateway_connection" | "azurerm_virtual_network" | "azurerm_virtual_network_gateway" | "google_compute_network" | "google_compute_subnetwork" | "google_compute_vpn_gateway" | "google_compute_vpn_tunnel" | "google_compute_route" | "google_compute_address" | "google_compute_global_address" | "google_compute_router" | "google_compute_interconnect_attachment" | "google_compute_ha_vpn_gateway" | "google_compute_forwarding_rule" | "google_compute_network_firewall_policy" | "google_compute_network_firewall_policy_rule" | "cloudflare_static_route" | "cloudflare_ipsec_tunnel";
1456
+ sections: {
1457
+ hiddenItems: {
1458
+ helpText?: string | null;
1459
+ name?: string | null;
1460
+ value?: {
1461
+ itemType: string;
1462
+ string: string;
1463
+ } | {
1464
+ itemType: string;
1465
+ yaml: string;
1466
+ } | {
1467
+ itemType: string;
1468
+ yamlDiff: {
1469
+ diff: string;
1470
+ leftDescription: string;
1471
+ leftYaml: string;
1472
+ rightDescription: string;
1473
+ rightYaml: string;
1474
+ };
1475
+ } | {
1476
+ itemType: string;
1477
+ resourcePreview: {
1478
+ id: string;
1479
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
1480
+ detail: string;
1481
+ name: string;
1482
+ resourceType: "aws_customer_gateway" | "aws_egress_only_internet_gateway" | "aws_internet_gateway" | "aws_instance" | "aws_network_interface" | "aws_route" | "aws_route_table" | "aws_route_table_association" | "aws_subnet" | "aws_vpc" | "aws_vpc_ipv4_cidr_block_association" | "aws_vpn_connection" | "aws_vpn_connection_route" | "aws_vpn_gateway" | "aws_security_group" | "aws_vpc_security_group_ingress_rule" | "aws_vpc_security_group_egress_rule" | "aws_ec2_managed_prefix_list" | "aws_ec2_transit_gateway" | "aws_ec2_transit_gateway_prefix_list_reference" | "aws_ec2_transit_gateway_vpc_attachment" | "azurerm_application_security_group" | "azurerm_lb" | "azurerm_lb_backend_address_pool" | "azurerm_lb_nat_pool" | "azurerm_lb_nat_rule" | "azurerm_lb_rule" | "azurerm_local_network_gateway" | "azurerm_network_interface" | "azurerm_network_interface_application_security_group_association" | "azurerm_network_interface_backend_address_pool_association" | "azurerm_network_interface_security_group_association" | "azurerm_network_security_group" | "azurerm_public_ip" | "azurerm_route" | "azurerm_route_table" | "azurerm_subnet" | "azurerm_subnet_route_table_association" | "azurerm_virtual_machine" | "azurerm_virtual_network_gateway_connection" | "azurerm_virtual_network" | "azurerm_virtual_network_gateway" | "google_compute_network" | "google_compute_subnetwork" | "google_compute_vpn_gateway" | "google_compute_vpn_tunnel" | "google_compute_route" | "google_compute_address" | "google_compute_global_address" | "google_compute_router" | "google_compute_interconnect_attachment" | "google_compute_ha_vpn_gateway" | "google_compute_forwarding_rule" | "google_compute_network_firewall_policy" | "google_compute_network_firewall_policy_rule" | "cloudflare_static_route" | "cloudflare_ipsec_tunnel";
1483
+ title: string;
1484
+ };
1485
+ } | {
1486
+ itemType: string;
1487
+ list: ({
1488
+ itemType: unknown;
1489
+ string: unknown;
1490
+ } | {
1491
+ itemType: unknown;
1492
+ resourcePreview: unknown;
1493
+ })[];
1494
+ } | null;
1495
+ }[];
1496
+ name: string;
1497
+ visibleItems: {
1498
+ helpText?: string | null;
1499
+ name?: string | null;
1500
+ value?: {
1501
+ itemType: string;
1502
+ string: string;
1503
+ } | {
1504
+ itemType: string;
1505
+ yaml: string;
1506
+ } | {
1507
+ itemType: string;
1508
+ yamlDiff: {
1509
+ diff: string;
1510
+ leftDescription: string;
1511
+ leftYaml: string;
1512
+ rightDescription: string;
1513
+ rightYaml: string;
1514
+ };
1515
+ } | {
1516
+ itemType: string;
1517
+ resourcePreview: {
1518
+ id: string;
1519
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
1520
+ detail: string;
1521
+ name: string;
1522
+ resourceType: "aws_customer_gateway" | "aws_egress_only_internet_gateway" | "aws_internet_gateway" | "aws_instance" | "aws_network_interface" | "aws_route" | "aws_route_table" | "aws_route_table_association" | "aws_subnet" | "aws_vpc" | "aws_vpc_ipv4_cidr_block_association" | "aws_vpn_connection" | "aws_vpn_connection_route" | "aws_vpn_gateway" | "aws_security_group" | "aws_vpc_security_group_ingress_rule" | "aws_vpc_security_group_egress_rule" | "aws_ec2_managed_prefix_list" | "aws_ec2_transit_gateway" | "aws_ec2_transit_gateway_prefix_list_reference" | "aws_ec2_transit_gateway_vpc_attachment" | "azurerm_application_security_group" | "azurerm_lb" | "azurerm_lb_backend_address_pool" | "azurerm_lb_nat_pool" | "azurerm_lb_nat_rule" | "azurerm_lb_rule" | "azurerm_local_network_gateway" | "azurerm_network_interface" | "azurerm_network_interface_application_security_group_association" | "azurerm_network_interface_backend_address_pool_association" | "azurerm_network_interface_security_group_association" | "azurerm_network_security_group" | "azurerm_public_ip" | "azurerm_route" | "azurerm_route_table" | "azurerm_subnet" | "azurerm_subnet_route_table_association" | "azurerm_virtual_machine" | "azurerm_virtual_network_gateway_connection" | "azurerm_virtual_network" | "azurerm_virtual_network_gateway" | "google_compute_network" | "google_compute_subnetwork" | "google_compute_vpn_gateway" | "google_compute_vpn_tunnel" | "google_compute_route" | "google_compute_address" | "google_compute_global_address" | "google_compute_router" | "google_compute_interconnect_attachment" | "google_compute_ha_vpn_gateway" | "google_compute_forwarding_rule" | "google_compute_network_firewall_policy" | "google_compute_network_firewall_policy_rule" | "cloudflare_static_route" | "cloudflare_ipsec_tunnel";
1523
+ title: string;
1524
+ };
1525
+ } | {
1526
+ itemType: string;
1527
+ list: ({
1528
+ itemType: unknown;
1529
+ string: unknown;
1530
+ } | {
1531
+ itemType: unknown;
1532
+ resourcePreview: unknown;
1533
+ })[];
1534
+ } | null;
1535
+ }[];
1536
+ helpText?: string | null;
1537
+ }[];
1538
+ state: Record<string, unknown>;
1539
+ tags: Record<string, unknown>;
1540
+ updatedAt: string;
1541
+ url: string;
1542
+ managedBy?: {
1543
+ id: string;
1544
+ clientType: "MAGIC_WAN_CLOUD_ONRAMP";
1545
+ name: string;
1546
+ }[] | null;
1547
+ }[];
1548
+ export declare const ListResourcesResponse: Schema.Schema<ListResourcesResponse>;
1549
+ export type ListResourcesError = DefaultErrors;
1550
+ export declare const listResources: API.OperationMethod<ListResourcesRequest, ListResourcesResponse, ListResourcesError, Credentials | HttpClient.HttpClient>;
1551
+ export interface ExportResourceRequest {
1552
+ /** Path param: */
1553
+ accountId: string;
1554
+ /** Query param: */
1555
+ desc?: boolean;
1556
+ /** Query param: One of ["id", "resource_type", "region"]. */
1557
+ orderBy?: string;
1558
+ /** Query param: */
1559
+ providerId?: string;
1560
+ /** Query param: */
1561
+ region?: string;
1562
+ /** Query param: */
1563
+ resourceGroup?: string;
1564
+ /** Query param: */
1565
+ resourceId?: string[];
1566
+ /** Query param: */
1567
+ resourceType?: ("aws_customer_gateway" | "aws_egress_only_internet_gateway" | "aws_internet_gateway" | "aws_instance" | "aws_network_interface" | "aws_route" | "aws_route_table" | "aws_route_table_association" | "aws_subnet" | "aws_vpc" | "aws_vpc_ipv4_cidr_block_association" | "aws_vpn_connection" | "aws_vpn_connection_route" | "aws_vpn_gateway" | "aws_security_group" | "aws_vpc_security_group_ingress_rule" | "aws_vpc_security_group_egress_rule" | "aws_ec2_managed_prefix_list" | "aws_ec2_transit_gateway" | "aws_ec2_transit_gateway_prefix_list_reference" | "aws_ec2_transit_gateway_vpc_attachment" | "azurerm_application_security_group" | "azurerm_lb" | "azurerm_lb_backend_address_pool" | "azurerm_lb_nat_pool" | "azurerm_lb_nat_rule" | "azurerm_lb_rule" | "azurerm_local_network_gateway" | "azurerm_network_interface" | "azurerm_network_interface_application_security_group_association" | "azurerm_network_interface_backend_address_pool_association" | "azurerm_network_interface_security_group_association" | "azurerm_network_security_group" | "azurerm_public_ip" | "azurerm_route" | "azurerm_route_table" | "azurerm_subnet" | "azurerm_subnet_route_table_association" | "azurerm_virtual_machine" | "azurerm_virtual_network_gateway_connection" | "azurerm_virtual_network" | "azurerm_virtual_network_gateway" | "google_compute_network" | "google_compute_subnetwork" | "google_compute_vpn_gateway" | "google_compute_vpn_tunnel" | "google_compute_route" | "google_compute_address" | "google_compute_global_address" | "google_compute_router" | "google_compute_interconnect_attachment" | "google_compute_ha_vpn_gateway" | "google_compute_forwarding_rule" | "google_compute_network_firewall_policy" | "google_compute_network_firewall_policy_rule" | "cloudflare_static_route" | "cloudflare_ipsec_tunnel")[];
1568
+ /** Query param: */
1569
+ search?: string[];
1570
+ /** Query param: */
1571
+ v2?: boolean;
1572
+ }
1573
+ export declare const ExportResourceRequest: Schema.Schema<ExportResourceRequest>;
1574
+ export type ExportResourceResponse = unknown;
1575
+ export declare const ExportResourceResponse: Schema.Schema<unknown>;
1576
+ export type ExportResourceError = DefaultErrors;
1577
+ export declare const exportResource: API.OperationMethod<ExportResourceRequest, ExportResourceResponse, ExportResourceError, Credentials | HttpClient.HttpClient>;
1578
+ export interface InitialSetupCloudIntegrationRequest {
1579
+ providerId: string;
1580
+ accountId: string;
1581
+ }
1582
+ export declare const InitialSetupCloudIntegrationRequest: Schema.Schema<InitialSetupCloudIntegrationRequest>;
1583
+ export type InitialSetupCloudIntegrationResponse = {
1584
+ awsTrustPolicy: string;
1585
+ itemType: string;
1586
+ } | {
1587
+ azureConsentUrl: string;
1588
+ integrationIdentityTag: string;
1589
+ itemType: string;
1590
+ tagCliCommand: string;
1591
+ } | {
1592
+ integrationIdentityTag: string;
1593
+ itemType: string;
1594
+ tagCliCommand: string;
1595
+ };
1596
+ export declare const InitialSetupCloudIntegrationResponse: Schema.Schema<InitialSetupCloudIntegrationResponse>;
1597
+ export type InitialSetupCloudIntegrationError = DefaultErrors;
1598
+ export declare const initialSetupCloudIntegration: API.OperationMethod<InitialSetupCloudIntegrationRequest, InitialSetupCloudIntegrationResponse, InitialSetupCloudIntegrationError, Credentials | HttpClient.HttpClient>;
1599
+ //# sourceMappingURL=magic-cloud-networking.d.ts.map