@distilled.cloud/cloudflare 0.0.0-john

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 (562) hide show
  1. package/README.md +59 -0
  2. package/lib/auth.d.ts +14 -0
  3. package/lib/auth.d.ts.map +1 -0
  4. package/lib/auth.js +13 -0
  5. package/lib/auth.js.map +1 -0
  6. package/lib/category.d.ts +2 -0
  7. package/lib/category.d.ts.map +1 -0
  8. package/lib/category.js +2 -0
  9. package/lib/category.js.map +1 -0
  10. package/lib/client/api.d.ts +12 -0
  11. package/lib/client/api.d.ts.map +1 -0
  12. package/lib/client/api.js +292 -0
  13. package/lib/client/api.js.map +1 -0
  14. package/lib/client/index.d.ts +8 -0
  15. package/lib/client/index.d.ts.map +1 -0
  16. package/lib/client/index.js +8 -0
  17. package/lib/client/index.js.map +1 -0
  18. package/lib/credentials.d.ts +68 -0
  19. package/lib/credentials.d.ts.map +1 -0
  20. package/lib/credentials.js +136 -0
  21. package/lib/credentials.js.map +1 -0
  22. package/lib/errors.d.ts +48 -0
  23. package/lib/errors.d.ts.map +1 -0
  24. package/lib/errors.js +31 -0
  25. package/lib/errors.js.map +1 -0
  26. package/lib/index.d.ts +10 -0
  27. package/lib/index.d.ts.map +1 -0
  28. package/lib/index.js +10 -0
  29. package/lib/index.js.map +1 -0
  30. package/lib/retry.d.ts +14 -0
  31. package/lib/retry.d.ts.map +1 -0
  32. package/lib/retry.js +14 -0
  33. package/lib/retry.js.map +1 -0
  34. package/lib/schemas.d.ts +29 -0
  35. package/lib/schemas.d.ts.map +1 -0
  36. package/lib/schemas.js +34 -0
  37. package/lib/schemas.js.map +1 -0
  38. package/lib/sensitive.d.ts +5 -0
  39. package/lib/sensitive.d.ts.map +1 -0
  40. package/lib/sensitive.js +5 -0
  41. package/lib/sensitive.js.map +1 -0
  42. package/lib/services/abuse-reports.d.ts +296 -0
  43. package/lib/services/abuse-reports.d.ts.map +1 -0
  44. package/lib/services/abuse-reports.js +414 -0
  45. package/lib/services/abuse-reports.js.map +1 -0
  46. package/lib/services/accounts.d.ts +766 -0
  47. package/lib/services/accounts.d.ts.map +1 -0
  48. package/lib/services/accounts.js +860 -0
  49. package/lib/services/accounts.js.map +1 -0
  50. package/lib/services/acm.d.ts +73 -0
  51. package/lib/services/acm.d.ts.map +1 -0
  52. package/lib/services/acm.js +80 -0
  53. package/lib/services/acm.js.map +1 -0
  54. package/lib/services/addressing.d.ts +1321 -0
  55. package/lib/services/addressing.d.ts.map +1 -0
  56. package/lib/services/addressing.js +1863 -0
  57. package/lib/services/addressing.js.map +1 -0
  58. package/lib/services/ai-gateway.d.ts +1137 -0
  59. package/lib/services/ai-gateway.d.ts.map +1 -0
  60. package/lib/services/ai-gateway.js +1830 -0
  61. package/lib/services/ai-gateway.js.map +1 -0
  62. package/lib/services/ai.d.ts +297 -0
  63. package/lib/services/ai.d.ts.map +1 -0
  64. package/lib/services/ai.js +352 -0
  65. package/lib/services/ai.js.map +1 -0
  66. package/lib/services/aisearch.d.ts +1069 -0
  67. package/lib/services/aisearch.d.ts.map +1 -0
  68. package/lib/services/aisearch.js +2542 -0
  69. package/lib/services/aisearch.js.map +1 -0
  70. package/lib/services/alerting.d.ts +855 -0
  71. package/lib/services/alerting.d.ts.map +1 -0
  72. package/lib/services/alerting.js +1445 -0
  73. package/lib/services/alerting.js.map +1 -0
  74. package/lib/services/api-gateway.d.ts +1088 -0
  75. package/lib/services/api-gateway.d.ts.map +1 -0
  76. package/lib/services/api-gateway.js +1655 -0
  77. package/lib/services/api-gateway.js.map +1 -0
  78. package/lib/services/argo.d.ts +101 -0
  79. package/lib/services/argo.d.ts.map +1 -0
  80. package/lib/services/argo.js +113 -0
  81. package/lib/services/argo.js.map +1 -0
  82. package/lib/services/audit-logs.d.ts +46 -0
  83. package/lib/services/audit-logs.d.ts.map +1 -0
  84. package/lib/services/audit-logs.js +37 -0
  85. package/lib/services/audit-logs.js.map +1 -0
  86. package/lib/services/billing.d.ts +62 -0
  87. package/lib/services/billing.d.ts.map +1 -0
  88. package/lib/services/billing.js +102 -0
  89. package/lib/services/billing.js.map +1 -0
  90. package/lib/services/bot-management.d.ts +124 -0
  91. package/lib/services/bot-management.d.ts.map +1 -0
  92. package/lib/services/bot-management.js +262 -0
  93. package/lib/services/bot-management.js.map +1 -0
  94. package/lib/services/botnet-feed.d.ts +65 -0
  95. package/lib/services/botnet-feed.d.ts.map +1 -0
  96. package/lib/services/botnet-feed.js +88 -0
  97. package/lib/services/botnet-feed.js.map +1 -0
  98. package/lib/services/brand-protection.d.ts +194 -0
  99. package/lib/services/brand-protection.d.ts.map +1 -0
  100. package/lib/services/brand-protection.js +221 -0
  101. package/lib/services/brand-protection.js.map +1 -0
  102. package/lib/services/browser-rendering.d.ts +857 -0
  103. package/lib/services/browser-rendering.d.ts.map +1 -0
  104. package/lib/services/browser-rendering.js +1142 -0
  105. package/lib/services/browser-rendering.js.map +1 -0
  106. package/lib/services/cache.d.ts +287 -0
  107. package/lib/services/cache.d.ts.map +1 -0
  108. package/lib/services/cache.js +354 -0
  109. package/lib/services/cache.js.map +1 -0
  110. package/lib/services/calls.d.ts +223 -0
  111. package/lib/services/calls.d.ts.map +1 -0
  112. package/lib/services/calls.js +188 -0
  113. package/lib/services/calls.js.map +1 -0
  114. package/lib/services/certificate-authorities.d.ts +40 -0
  115. package/lib/services/certificate-authorities.d.ts.map +1 -0
  116. package/lib/services/certificate-authorities.js +49 -0
  117. package/lib/services/certificate-authorities.js.map +1 -0
  118. package/lib/services/client-certificates.d.ts +288 -0
  119. package/lib/services/client-certificates.d.ts.map +1 -0
  120. package/lib/services/client-certificates.js +379 -0
  121. package/lib/services/client-certificates.js.map +1 -0
  122. package/lib/services/cloud-connector.d.ts +88 -0
  123. package/lib/services/cloud-connector.d.ts.map +1 -0
  124. package/lib/services/cloud-connector.js +97 -0
  125. package/lib/services/cloud-connector.js.map +1 -0
  126. package/lib/services/cloudforce-one.d.ts +1387 -0
  127. package/lib/services/cloudforce-one.d.ts.map +1 -0
  128. package/lib/services/cloudforce-one.js +1741 -0
  129. package/lib/services/cloudforce-one.js.map +1 -0
  130. package/lib/services/connectivity.d.ts +291 -0
  131. package/lib/services/connectivity.d.ts.map +1 -0
  132. package/lib/services/connectivity.js +404 -0
  133. package/lib/services/connectivity.js.map +1 -0
  134. package/lib/services/content-scanning.d.ts +156 -0
  135. package/lib/services/content-scanning.d.ts.map +1 -0
  136. package/lib/services/content-scanning.js +175 -0
  137. package/lib/services/content-scanning.js.map +1 -0
  138. package/lib/services/custom-certificates.d.ts +240 -0
  139. package/lib/services/custom-certificates.d.ts.map +1 -0
  140. package/lib/services/custom-certificates.js +336 -0
  141. package/lib/services/custom-certificates.js.map +1 -0
  142. package/lib/services/custom-hostnames.d.ts +590 -0
  143. package/lib/services/custom-hostnames.d.ts.map +1 -0
  144. package/lib/services/custom-hostnames.js +1204 -0
  145. package/lib/services/custom-hostnames.js.map +1 -0
  146. package/lib/services/custom-nameservers.d.ts +87 -0
  147. package/lib/services/custom-nameservers.d.ts.map +1 -0
  148. package/lib/services/custom-nameservers.js +95 -0
  149. package/lib/services/custom-nameservers.js.map +1 -0
  150. package/lib/services/custom-pages.d.ts +89 -0
  151. package/lib/services/custom-pages.d.ts.map +1 -0
  152. package/lib/services/custom-pages.js +140 -0
  153. package/lib/services/custom-pages.js.map +1 -0
  154. package/lib/services/d1.d.ts +392 -0
  155. package/lib/services/d1.d.ts.map +1 -0
  156. package/lib/services/d1.js +487 -0
  157. package/lib/services/d1.js.map +1 -0
  158. package/lib/services/dcv-delegation.d.ts +24 -0
  159. package/lib/services/dcv-delegation.d.ts.map +1 -0
  160. package/lib/services/dcv-delegation.js +24 -0
  161. package/lib/services/dcv-delegation.js.map +1 -0
  162. package/lib/services/diagnostics.d.ts +208 -0
  163. package/lib/services/diagnostics.d.ts.map +1 -0
  164. package/lib/services/diagnostics.js +288 -0
  165. package/lib/services/diagnostics.js.map +1 -0
  166. package/lib/services/dns-firewall.d.ts +317 -0
  167. package/lib/services/dns-firewall.d.ts.map +1 -0
  168. package/lib/services/dns-firewall.js +400 -0
  169. package/lib/services/dns-firewall.js.map +1 -0
  170. package/lib/services/dns.d.ts +3065 -0
  171. package/lib/services/dns.d.ts.map +1 -0
  172. package/lib/services/dns.js +4627 -0
  173. package/lib/services/dns.js.map +1 -0
  174. package/lib/services/durable-objects.d.ts +92 -0
  175. package/lib/services/durable-objects.d.ts.map +1 -0
  176. package/lib/services/durable-objects.js +103 -0
  177. package/lib/services/durable-objects.js.map +1 -0
  178. package/lib/services/email-routing.d.ts +598 -0
  179. package/lib/services/email-routing.d.ts.map +1 -0
  180. package/lib/services/email-routing.js +715 -0
  181. package/lib/services/email-routing.js.map +1 -0
  182. package/lib/services/email-security.d.ts +1389 -0
  183. package/lib/services/email-security.d.ts.map +1 -0
  184. package/lib/services/email-security.js +2261 -0
  185. package/lib/services/email-security.js.map +1 -0
  186. package/lib/services/filters.d.ts +197 -0
  187. package/lib/services/filters.d.ts.map +1 -0
  188. package/lib/services/filters.js +168 -0
  189. package/lib/services/filters.js.map +1 -0
  190. package/lib/services/firewall.d.ts +1352 -0
  191. package/lib/services/firewall.d.ts.map +1 -0
  192. package/lib/services/firewall.js +2084 -0
  193. package/lib/services/firewall.js.map +1 -0
  194. package/lib/services/healthchecks.d.ts +507 -0
  195. package/lib/services/healthchecks.d.ts.map +1 -0
  196. package/lib/services/healthchecks.js +867 -0
  197. package/lib/services/healthchecks.js.map +1 -0
  198. package/lib/services/hostnames.d.ts +86 -0
  199. package/lib/services/hostnames.d.ts.map +1 -0
  200. package/lib/services/hostnames.js +111 -0
  201. package/lib/services/hostnames.js.map +1 -0
  202. package/lib/services/hyperdrive.d.ts +203 -0
  203. package/lib/services/hyperdrive.d.ts.map +1 -0
  204. package/lib/services/hyperdrive.js +300 -0
  205. package/lib/services/hyperdrive.js.map +1 -0
  206. package/lib/services/iam.d.ts +657 -0
  207. package/lib/services/iam.d.ts.map +1 -0
  208. package/lib/services/iam.js +843 -0
  209. package/lib/services/iam.js.map +1 -0
  210. package/lib/services/images.d.ts +427 -0
  211. package/lib/services/images.d.ts.map +1 -0
  212. package/lib/services/images.js +444 -0
  213. package/lib/services/images.js.map +1 -0
  214. package/lib/services/intel.d.ts +865 -0
  215. package/lib/services/intel.d.ts.map +1 -0
  216. package/lib/services/intel.js +1266 -0
  217. package/lib/services/intel.js.map +1 -0
  218. package/lib/services/ips.d.ts +28 -0
  219. package/lib/services/ips.d.ts.map +1 -0
  220. package/lib/services/ips.js +39 -0
  221. package/lib/services/ips.js.map +1 -0
  222. package/lib/services/keyless-certificates.d.ts +197 -0
  223. package/lib/services/keyless-certificates.d.ts.map +1 -0
  224. package/lib/services/keyless-certificates.js +229 -0
  225. package/lib/services/keyless-certificates.js.map +1 -0
  226. package/lib/services/kv.d.ts +369 -0
  227. package/lib/services/kv.d.ts.map +1 -0
  228. package/lib/services/kv.js +453 -0
  229. package/lib/services/kv.js.map +1 -0
  230. package/lib/services/leaked-credential-checks.d.ts +129 -0
  231. package/lib/services/leaked-credential-checks.d.ts.map +1 -0
  232. package/lib/services/leaked-credential-checks.js +138 -0
  233. package/lib/services/leaked-credential-checks.js.map +1 -0
  234. package/lib/services/load-balancers.d.ts +1973 -0
  235. package/lib/services/load-balancers.d.ts.map +1 -0
  236. package/lib/services/load-balancers.js +3181 -0
  237. package/lib/services/load-balancers.js.map +1 -0
  238. package/lib/services/logpush.d.ts +401 -0
  239. package/lib/services/logpush.d.ts.map +1 -0
  240. package/lib/services/logpush.js +732 -0
  241. package/lib/services/logpush.js.map +1 -0
  242. package/lib/services/logs.d.ts +125 -0
  243. package/lib/services/logs.d.ts.map +1 -0
  244. package/lib/services/logs.js +149 -0
  245. package/lib/services/logs.js.map +1 -0
  246. package/lib/services/magic-cloud-networking.d.ts +1892 -0
  247. package/lib/services/magic-cloud-networking.d.ts.map +1 -0
  248. package/lib/services/magic-cloud-networking.js +5291 -0
  249. package/lib/services/magic-cloud-networking.js.map +1 -0
  250. package/lib/services/magic-network-monitoring.d.ts +379 -0
  251. package/lib/services/magic-network-monitoring.d.ts.map +1 -0
  252. package/lib/services/magic-network-monitoring.js +557 -0
  253. package/lib/services/magic-network-monitoring.js.map +1 -0
  254. package/lib/services/magic-transit.d.ts +3886 -0
  255. package/lib/services/magic-transit.d.ts.map +1 -0
  256. package/lib/services/magic-transit.js +6284 -0
  257. package/lib/services/magic-transit.js.map +1 -0
  258. package/lib/services/managed-transforms.d.ts +79 -0
  259. package/lib/services/managed-transforms.d.ts.map +1 -0
  260. package/lib/services/managed-transforms.js +111 -0
  261. package/lib/services/managed-transforms.js.map +1 -0
  262. package/lib/services/memberships.d.ts +204 -0
  263. package/lib/services/memberships.d.ts.map +1 -0
  264. package/lib/services/memberships.js +308 -0
  265. package/lib/services/memberships.js.map +1 -0
  266. package/lib/services/mtls-certificates.d.ts +164 -0
  267. package/lib/services/mtls-certificates.d.ts.map +1 -0
  268. package/lib/services/mtls-certificates.js +192 -0
  269. package/lib/services/mtls-certificates.js.map +1 -0
  270. package/lib/services/network-interconnects.d.ts +410 -0
  271. package/lib/services/network-interconnects.d.ts.map +1 -0
  272. package/lib/services/network-interconnects.js +583 -0
  273. package/lib/services/network-interconnects.js.map +1 -0
  274. package/lib/services/organizations.d.ts +232 -0
  275. package/lib/services/organizations.d.ts.map +1 -0
  276. package/lib/services/organizations.js +370 -0
  277. package/lib/services/organizations.js.map +1 -0
  278. package/lib/services/origin-ca-certificates.d.ts +119 -0
  279. package/lib/services/origin-ca-certificates.d.ts.map +1 -0
  280. package/lib/services/origin-ca-certificates.js +183 -0
  281. package/lib/services/origin-ca-certificates.js.map +1 -0
  282. package/lib/services/origin-post-quantum-encryption.d.ts +50 -0
  283. package/lib/services/origin-post-quantum-encryption.d.ts.map +1 -0
  284. package/lib/services/origin-post-quantum-encryption.js +64 -0
  285. package/lib/services/origin-post-quantum-encryption.js.map +1 -0
  286. package/lib/services/origin-tls-client-auth.d.ts +308 -0
  287. package/lib/services/origin-tls-client-auth.d.ts.map +1 -0
  288. package/lib/services/origin-tls-client-auth.js +435 -0
  289. package/lib/services/origin-tls-client-auth.js.map +1 -0
  290. package/lib/services/page-rules.d.ts +773 -0
  291. package/lib/services/page-rules.d.ts.map +1 -0
  292. package/lib/services/page-rules.js +1373 -0
  293. package/lib/services/page-rules.js.map +1 -0
  294. package/lib/services/page-shield.d.ts +505 -0
  295. package/lib/services/page-shield.d.ts.map +1 -0
  296. package/lib/services/page-shield.js +520 -0
  297. package/lib/services/page-shield.js.map +1 -0
  298. package/lib/services/pages.d.ts +1949 -0
  299. package/lib/services/pages.d.ts.map +1 -0
  300. package/lib/services/pages.js +3030 -0
  301. package/lib/services/pages.js.map +1 -0
  302. package/lib/services/pipelines.d.ts +1716 -0
  303. package/lib/services/pipelines.d.ts.map +1 -0
  304. package/lib/services/pipelines.js +2991 -0
  305. package/lib/services/pipelines.js.map +1 -0
  306. package/lib/services/queues.d.ts +904 -0
  307. package/lib/services/queues.d.ts.map +1 -0
  308. package/lib/services/queues.js +1250 -0
  309. package/lib/services/queues.js.map +1 -0
  310. package/lib/services/r2-data-catalog.d.ts +341 -0
  311. package/lib/services/r2-data-catalog.d.ts.map +1 -0
  312. package/lib/services/r2-data-catalog.js +513 -0
  313. package/lib/services/r2-data-catalog.js.map +1 -0
  314. package/lib/services/r2.d.ts +1087 -0
  315. package/lib/services/r2.d.ts.map +1 -0
  316. package/lib/services/r2.js +1404 -0
  317. package/lib/services/r2.js.map +1 -0
  318. package/lib/services/radar.d.ts +9365 -0
  319. package/lib/services/radar.d.ts.map +1 -0
  320. package/lib/services/radar.js +20552 -0
  321. package/lib/services/radar.js.map +1 -0
  322. package/lib/services/rate-limits.d.ts +360 -0
  323. package/lib/services/rate-limits.d.ts.map +1 -0
  324. package/lib/services/rate-limits.js +545 -0
  325. package/lib/services/rate-limits.js.map +1 -0
  326. package/lib/services/realtime-kit.d.ts +2728 -0
  327. package/lib/services/realtime-kit.d.ts.map +1 -0
  328. package/lib/services/realtime-kit.js +5402 -0
  329. package/lib/services/realtime-kit.js.map +1 -0
  330. package/lib/services/registrar.d.ts +121 -0
  331. package/lib/services/registrar.d.ts.map +1 -0
  332. package/lib/services/registrar.js +167 -0
  333. package/lib/services/registrar.js.map +1 -0
  334. package/lib/services/request-tracers.d.ts +61 -0
  335. package/lib/services/request-tracers.d.ts.map +1 -0
  336. package/lib/services/request-tracers.js +85 -0
  337. package/lib/services/request-tracers.js.map +1 -0
  338. package/lib/services/resource-sharing.d.ts +622 -0
  339. package/lib/services/resource-sharing.d.ts.map +1 -0
  340. package/lib/services/resource-sharing.js +929 -0
  341. package/lib/services/resource-sharing.js.map +1 -0
  342. package/lib/services/rules.d.ts +346 -0
  343. package/lib/services/rules.d.ts.map +1 -0
  344. package/lib/services/rules.js +431 -0
  345. package/lib/services/rules.js.map +1 -0
  346. package/lib/services/rulesets.d.ts +3345 -0
  347. package/lib/services/rulesets.d.ts.map +1 -0
  348. package/lib/services/rulesets.js +7904 -0
  349. package/lib/services/rulesets.js.map +1 -0
  350. package/lib/services/rum.d.ts +314 -0
  351. package/lib/services/rum.d.ts.map +1 -0
  352. package/lib/services/rum.js +442 -0
  353. package/lib/services/rum.js.map +1 -0
  354. package/lib/services/schema-validation.d.ts +273 -0
  355. package/lib/services/schema-validation.d.ts.map +1 -0
  356. package/lib/services/schema-validation.js +365 -0
  357. package/lib/services/schema-validation.js.map +1 -0
  358. package/lib/services/secrets-store.d.ts +393 -0
  359. package/lib/services/secrets-store.d.ts.map +1 -0
  360. package/lib/services/secrets-store.js +452 -0
  361. package/lib/services/secrets-store.js.map +1 -0
  362. package/lib/services/security-center.d.ts +136 -0
  363. package/lib/services/security-center.d.ts.map +1 -0
  364. package/lib/services/security-center.js +196 -0
  365. package/lib/services/security-center.js.map +1 -0
  366. package/lib/services/security-txt.d.ts +105 -0
  367. package/lib/services/security-txt.d.ts.map +1 -0
  368. package/lib/services/security-txt.js +136 -0
  369. package/lib/services/security-txt.js.map +1 -0
  370. package/lib/services/snippets.d.ts +190 -0
  371. package/lib/services/snippets.d.ts.map +1 -0
  372. package/lib/services/snippets.js +221 -0
  373. package/lib/services/snippets.js.map +1 -0
  374. package/lib/services/spectrum.d.ts +350 -0
  375. package/lib/services/spectrum.d.ts.map +1 -0
  376. package/lib/services/spectrum.js +535 -0
  377. package/lib/services/spectrum.js.map +1 -0
  378. package/lib/services/speed.d.ts +257 -0
  379. package/lib/services/speed.d.ts.map +1 -0
  380. package/lib/services/speed.js +471 -0
  381. package/lib/services/speed.js.map +1 -0
  382. package/lib/services/ssl.d.ts +412 -0
  383. package/lib/services/ssl.d.ts.map +1 -0
  384. package/lib/services/ssl.js +755 -0
  385. package/lib/services/ssl.js.map +1 -0
  386. package/lib/services/stream.d.ts +1110 -0
  387. package/lib/services/stream.d.ts.map +1 -0
  388. package/lib/services/stream.js +1085 -0
  389. package/lib/services/stream.js.map +1 -0
  390. package/lib/services/token-validation.d.ts +662 -0
  391. package/lib/services/token-validation.d.ts.map +1 -0
  392. package/lib/services/token-validation.js +834 -0
  393. package/lib/services/token-validation.js.map +1 -0
  394. package/lib/services/turnstile.d.ts +272 -0
  395. package/lib/services/turnstile.d.ts.map +1 -0
  396. package/lib/services/turnstile.js +339 -0
  397. package/lib/services/turnstile.js.map +1 -0
  398. package/lib/services/url-normalization.d.ts +53 -0
  399. package/lib/services/url-normalization.d.ts.map +1 -0
  400. package/lib/services/url-normalization.js +52 -0
  401. package/lib/services/url-normalization.js.map +1 -0
  402. package/lib/services/url-scanner.d.ts +612 -0
  403. package/lib/services/url-scanner.d.ts.map +1 -0
  404. package/lib/services/url-scanner.js +915 -0
  405. package/lib/services/url-scanner.js.map +1 -0
  406. package/lib/services/user.d.ts +507 -0
  407. package/lib/services/user.d.ts.map +1 -0
  408. package/lib/services/user.js +634 -0
  409. package/lib/services/user.js.map +1 -0
  410. package/lib/services/vectorize.d.ts +297 -0
  411. package/lib/services/vectorize.d.ts.map +1 -0
  412. package/lib/services/vectorize.js +351 -0
  413. package/lib/services/vectorize.js.map +1 -0
  414. package/lib/services/waiting-rooms.d.ts +1149 -0
  415. package/lib/services/waiting-rooms.d.ts.map +1 -0
  416. package/lib/services/waiting-rooms.js +1859 -0
  417. package/lib/services/waiting-rooms.js.map +1 -0
  418. package/lib/services/web3.d.ts +289 -0
  419. package/lib/services/web3.d.ts.map +1 -0
  420. package/lib/services/web3.js +381 -0
  421. package/lib/services/web3.js.map +1 -0
  422. package/lib/services/workers-for-platforms.d.ts +1394 -0
  423. package/lib/services/workers-for-platforms.d.ts.map +1 -0
  424. package/lib/services/workers-for-platforms.js +2121 -0
  425. package/lib/services/workers-for-platforms.js.map +1 -0
  426. package/lib/services/workers.d.ts +3827 -0
  427. package/lib/services/workers.d.ts.map +1 -0
  428. package/lib/services/workers.js +6105 -0
  429. package/lib/services/workers.js.map +1 -0
  430. package/lib/services/workflows.d.ts +442 -0
  431. package/lib/services/workflows.d.ts.map +1 -0
  432. package/lib/services/workflows.js +599 -0
  433. package/lib/services/workflows.js.map +1 -0
  434. package/lib/services/zaraz.d.ts +312 -0
  435. package/lib/services/zaraz.d.ts.map +1 -0
  436. package/lib/services/zaraz.js +305 -0
  437. package/lib/services/zaraz.js.map +1 -0
  438. package/lib/services/zero-trust.d.ts +18235 -0
  439. package/lib/services/zero-trust.d.ts.map +1 -0
  440. package/lib/services/zero-trust.js +30268 -0
  441. package/lib/services/zero-trust.js.map +1 -0
  442. package/lib/services/zones.d.ts +1382 -0
  443. package/lib/services/zones.d.ts.map +1 -0
  444. package/lib/services/zones.js +2477 -0
  445. package/lib/services/zones.js.map +1 -0
  446. package/lib/traits.d.ts +28 -0
  447. package/lib/traits.d.ts.map +1 -0
  448. package/lib/traits.js +26 -0
  449. package/lib/traits.js.map +1 -0
  450. package/package.json +82 -0
  451. package/src/auth.ts +15 -0
  452. package/src/category.ts +1 -0
  453. package/src/client/api.ts +421 -0
  454. package/src/client/index.ts +7 -0
  455. package/src/credentials.ts +271 -0
  456. package/src/errors.ts +73 -0
  457. package/src/index.ts +9 -0
  458. package/src/retry.ts +35 -0
  459. package/src/schemas.ts +51 -0
  460. package/src/sensitive.ts +4 -0
  461. package/src/services/abuse-reports.ts +955 -0
  462. package/src/services/accounts.ts +2152 -0
  463. package/src/services/acm.ts +178 -0
  464. package/src/services/addressing.ts +4262 -0
  465. package/src/services/ai-gateway.ts +3773 -0
  466. package/src/services/ai.ts +901 -0
  467. package/src/services/aisearch.ts +5215 -0
  468. package/src/services/alerting.ts +3303 -0
  469. package/src/services/api-gateway.ts +3890 -0
  470. package/src/services/argo.ts +270 -0
  471. package/src/services/audit-logs.ts +90 -0
  472. package/src/services/billing.ts +176 -0
  473. package/src/services/bot-management.ts +545 -0
  474. package/src/services/botnet-feed.ts +205 -0
  475. package/src/services/brand-protection.ts +575 -0
  476. package/src/services/browser-rendering.ts +2720 -0
  477. package/src/services/cache.ts +877 -0
  478. package/src/services/calls.ts +548 -0
  479. package/src/services/certificate-authorities.ts +114 -0
  480. package/src/services/client-certificates.ts +815 -0
  481. package/src/services/cloud-connector.ts +248 -0
  482. package/src/services/cloudforce-one.ts +4104 -0
  483. package/src/services/connectivity.ts +706 -0
  484. package/src/services/content-scanning.ts +458 -0
  485. package/src/services/custom-certificates.ts +690 -0
  486. package/src/services/custom-hostnames.ts +2641 -0
  487. package/src/services/custom-nameservers.ts +235 -0
  488. package/src/services/custom-pages.ts +311 -0
  489. package/src/services/d1.ts +1208 -0
  490. package/src/services/dcv-delegation.ts +54 -0
  491. package/src/services/diagnostics.ts +677 -0
  492. package/src/services/dns-firewall.ts +904 -0
  493. package/src/services/dns.ts +9277 -0
  494. package/src/services/durable-objects.ts +237 -0
  495. package/src/services/email-routing.ts +1796 -0
  496. package/src/services/email-security.ts +5052 -0
  497. package/src/services/filters.ts +488 -0
  498. package/src/services/firewall.ts +4728 -0
  499. package/src/services/healthchecks.ts +1866 -0
  500. package/src/services/hostnames.ts +254 -0
  501. package/src/services/hyperdrive.ts +595 -0
  502. package/src/services/iam.ts +1969 -0
  503. package/src/services/images.ts +1180 -0
  504. package/src/services/intel.ts +3072 -0
  505. package/src/services/ips.ts +88 -0
  506. package/src/services/keyless-certificates.ts +509 -0
  507. package/src/services/kv.ts +1129 -0
  508. package/src/services/leaked-credential-checks.ts +364 -0
  509. package/src/services/load-balancers.ts +6993 -0
  510. package/src/services/logpush.ts +1695 -0
  511. package/src/services/logs.ts +389 -0
  512. package/src/services/magic-cloud-networking.ts +10747 -0
  513. package/src/services/magic-network-monitoring.ts +1200 -0
  514. package/src/services/magic-transit.ts +13673 -0
  515. package/src/services/managed-transforms.ts +245 -0
  516. package/src/services/memberships.ts +698 -0
  517. package/src/services/mtls-certificates.ts +444 -0
  518. package/src/services/network-interconnects.ts +1253 -0
  519. package/src/services/organizations.ts +738 -0
  520. package/src/services/origin-ca-certificates.ts +369 -0
  521. package/src/services/origin-post-quantum-encryption.ts +136 -0
  522. package/src/services/origin-tls-client-auth.ts +1002 -0
  523. package/src/services/page-rules.ts +2632 -0
  524. package/src/services/page-shield.ts +1371 -0
  525. package/src/services/pages.ts +6167 -0
  526. package/src/services/pipelines.ts +6455 -0
  527. package/src/services/queues.ts +2827 -0
  528. package/src/services/r2-data-catalog.ts +1151 -0
  529. package/src/services/r2.ts +3529 -0
  530. package/src/services/radar.ts +42836 -0
  531. package/src/services/rate-limits.ts +1252 -0
  532. package/src/services/realtime-kit.ts +11080 -0
  533. package/src/services/registrar.ts +390 -0
  534. package/src/services/request-tracers.ts +161 -0
  535. package/src/services/resource-sharing.ts +2082 -0
  536. package/src/services/rules.ts +953 -0
  537. package/src/services/rulesets.ts +15361 -0
  538. package/src/services/rum.ts +994 -0
  539. package/src/services/schema-validation.ts +869 -0
  540. package/src/services/secrets-store.ts +1050 -0
  541. package/src/services/security-center.ts +495 -0
  542. package/src/services/security-txt.ts +317 -0
  543. package/src/services/snippets.ts +562 -0
  544. package/src/services/spectrum.ts +1190 -0
  545. package/src/services/speed.ts +1154 -0
  546. package/src/services/ssl.ts +1714 -0
  547. package/src/services/stream.ts +3008 -0
  548. package/src/services/token-validation.ts +1825 -0
  549. package/src/services/turnstile.ts +725 -0
  550. package/src/services/url-normalization.ts +133 -0
  551. package/src/services/url-scanner.ts +1851 -0
  552. package/src/services/user.ts +1587 -0
  553. package/src/services/vectorize.ts +875 -0
  554. package/src/services/waiting-rooms.ts +4216 -0
  555. package/src/services/web3.ts +899 -0
  556. package/src/services/workers-for-platforms.ts +4134 -0
  557. package/src/services/workers.ts +12298 -0
  558. package/src/services/workflows.ts +1372 -0
  559. package/src/services/zaraz.ts +833 -0
  560. package/src/services/zero-trust.ts +64685 -0
  561. package/src/services/zones.ts +5106 -0
  562. package/src/traits.ts +47 -0
@@ -0,0 +1,1892 @@
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 stream from "effect/Stream";
8
+ import * as Schema from "effect/Schema";
9
+ import type * as HttpClient from "effect/unstable/http/HttpClient";
10
+ import * as API from "../client/api.ts";
11
+ import type { Credentials } from "../credentials.ts";
12
+ import { type DefaultErrors } from "../errors.ts";
13
+ export interface DiscoverAllCloudIntegrationRequest {
14
+ accountId: string;
15
+ }
16
+ export declare const DiscoverAllCloudIntegrationRequest: Schema.Schema<DiscoverAllCloudIntegrationRequest>;
17
+ export interface DiscoverAllCloudIntegrationResponse {
18
+ errors: {
19
+ 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";
20
+ message: string;
21
+ documentationUrl?: string | null;
22
+ meta?: {
23
+ l10nKey?: string | null;
24
+ loggableError?: string | null;
25
+ templateData?: unknown | null;
26
+ traceId?: string | null;
27
+ } | null;
28
+ source?: {
29
+ parameter?: string | null;
30
+ parameterValueIndex?: number | null;
31
+ pointer?: string | null;
32
+ } | null;
33
+ }[];
34
+ messages: {
35
+ 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";
36
+ message: string;
37
+ documentationUrl?: string | null;
38
+ meta?: {
39
+ l10nKey?: string | null;
40
+ loggableError?: string | null;
41
+ templateData?: unknown | null;
42
+ traceId?: string | null;
43
+ } | null;
44
+ source?: {
45
+ parameter?: string | null;
46
+ parameterValueIndex?: number | null;
47
+ pointer?: string | null;
48
+ } | null;
49
+ }[];
50
+ success: boolean;
51
+ }
52
+ export declare const DiscoverAllCloudIntegrationResponse: Schema.Schema<DiscoverAllCloudIntegrationResponse>;
53
+ export type DiscoverAllCloudIntegrationError = DefaultErrors;
54
+ export declare const discoverAllCloudIntegration: API.OperationMethod<DiscoverAllCloudIntegrationRequest, DiscoverAllCloudIntegrationResponse, DiscoverAllCloudIntegrationError, Credentials | HttpClient.HttpClient>;
55
+ export interface GetCatalogSyncRequest {
56
+ syncId: string;
57
+ accountId: string;
58
+ }
59
+ export declare const GetCatalogSyncRequest: Schema.Schema<GetCatalogSyncRequest>;
60
+ export interface GetCatalogSyncResponse {
61
+ id: string;
62
+ description: string;
63
+ destinationId: string;
64
+ destinationType: "NONE" | "ZERO_TRUST_LIST";
65
+ lastUserUpdateAt: string;
66
+ name: string;
67
+ policy: string;
68
+ updateMode: "AUTO" | "MANUAL";
69
+ errors?: Record<string, unknown> | null;
70
+ includesDiscoveriesUntil?: string | null;
71
+ lastAttemptedUpdateAt?: string | null;
72
+ lastSuccessfulUpdateAt?: string | null;
73
+ }
74
+ export declare const GetCatalogSyncResponse: Schema.Schema<GetCatalogSyncResponse>;
75
+ export type GetCatalogSyncError = DefaultErrors;
76
+ export declare const getCatalogSync: API.OperationMethod<GetCatalogSyncRequest, GetCatalogSyncResponse, GetCatalogSyncError, Credentials | HttpClient.HttpClient>;
77
+ export interface ListCatalogSyncsRequest {
78
+ accountId: string;
79
+ }
80
+ export declare const ListCatalogSyncsRequest: Schema.Schema<ListCatalogSyncsRequest>;
81
+ export interface ListCatalogSyncsResponse {
82
+ result: {
83
+ id: string;
84
+ description: string;
85
+ destinationId: string;
86
+ destinationType: "NONE" | "ZERO_TRUST_LIST";
87
+ lastUserUpdateAt: string;
88
+ name: string;
89
+ policy: string;
90
+ updateMode: "AUTO" | "MANUAL";
91
+ errors?: Record<string, unknown> | null;
92
+ includesDiscoveriesUntil?: string | null;
93
+ lastAttemptedUpdateAt?: string | null;
94
+ lastSuccessfulUpdateAt?: string | null;
95
+ }[];
96
+ }
97
+ export declare const ListCatalogSyncsResponse: Schema.Schema<ListCatalogSyncsResponse>;
98
+ export type ListCatalogSyncsError = DefaultErrors;
99
+ export declare const listCatalogSyncs: API.PaginatedOperationMethod<ListCatalogSyncsRequest, ListCatalogSyncsResponse, ListCatalogSyncsError, Credentials | HttpClient.HttpClient> & {
100
+ pages: (input: ListCatalogSyncsRequest) => stream.Stream<ListCatalogSyncsResponse, ListCatalogSyncsError, Credentials | HttpClient.HttpClient>;
101
+ items: (input: ListCatalogSyncsRequest) => stream.Stream<{
102
+ id: string;
103
+ description: string;
104
+ destinationId: string;
105
+ destinationType: "NONE" | "ZERO_TRUST_LIST";
106
+ lastUserUpdateAt: string;
107
+ name: string;
108
+ policy: string;
109
+ updateMode: "AUTO" | "MANUAL";
110
+ errors?: Record<string, unknown> | null;
111
+ includesDiscoveriesUntil?: string | null;
112
+ lastAttemptedUpdateAt?: string | null;
113
+ lastSuccessfulUpdateAt?: string | null;
114
+ }, ListCatalogSyncsError, Credentials | HttpClient.HttpClient>;
115
+ };
116
+ export interface CreateCatalogSyncRequest {
117
+ /** Path param: */
118
+ accountId: string;
119
+ /** Header param: */
120
+ forwarded?: string;
121
+ /** Body param: */
122
+ destinationType: "NONE" | "ZERO_TRUST_LIST";
123
+ /** Body param: */
124
+ name: string;
125
+ /** Body param: */
126
+ updateMode: "AUTO" | "MANUAL";
127
+ /** Body param: */
128
+ description?: string;
129
+ /** Body param: */
130
+ policy?: string;
131
+ }
132
+ export declare const CreateCatalogSyncRequest: Schema.Schema<CreateCatalogSyncRequest>;
133
+ export interface CreateCatalogSyncResponse {
134
+ id: string;
135
+ description: string;
136
+ destinationId: string;
137
+ destinationType: "NONE" | "ZERO_TRUST_LIST";
138
+ lastUserUpdateAt: string;
139
+ name: string;
140
+ policy: string;
141
+ updateMode: "AUTO" | "MANUAL";
142
+ errors?: Record<string, unknown> | null;
143
+ includesDiscoveriesUntil?: string | null;
144
+ lastAttemptedUpdateAt?: string | null;
145
+ lastSuccessfulUpdateAt?: string | null;
146
+ }
147
+ export declare const CreateCatalogSyncResponse: Schema.Schema<CreateCatalogSyncResponse>;
148
+ export type CreateCatalogSyncError = DefaultErrors;
149
+ export declare const createCatalogSync: API.OperationMethod<CreateCatalogSyncRequest, CreateCatalogSyncResponse, CreateCatalogSyncError, Credentials | HttpClient.HttpClient>;
150
+ export interface UpdateCatalogSyncRequest {
151
+ syncId: string;
152
+ /** Path param: */
153
+ accountId: string;
154
+ /** Body param: */
155
+ description?: string;
156
+ /** Body param: */
157
+ name?: string;
158
+ /** Body param: */
159
+ policy?: string;
160
+ /** Body param: */
161
+ updateMode?: "AUTO" | "MANUAL";
162
+ }
163
+ export declare const UpdateCatalogSyncRequest: Schema.Schema<UpdateCatalogSyncRequest>;
164
+ export interface UpdateCatalogSyncResponse {
165
+ id: string;
166
+ description: string;
167
+ destinationId: string;
168
+ destinationType: "NONE" | "ZERO_TRUST_LIST";
169
+ lastUserUpdateAt: string;
170
+ name: string;
171
+ policy: string;
172
+ updateMode: "AUTO" | "MANUAL";
173
+ errors?: Record<string, unknown> | null;
174
+ includesDiscoveriesUntil?: string | null;
175
+ lastAttemptedUpdateAt?: string | null;
176
+ lastSuccessfulUpdateAt?: string | null;
177
+ }
178
+ export declare const UpdateCatalogSyncResponse: Schema.Schema<UpdateCatalogSyncResponse>;
179
+ export type UpdateCatalogSyncError = DefaultErrors;
180
+ export declare const updateCatalogSync: API.OperationMethod<UpdateCatalogSyncRequest, UpdateCatalogSyncResponse, UpdateCatalogSyncError, Credentials | HttpClient.HttpClient>;
181
+ export interface PatchCatalogSyncRequest {
182
+ syncId: string;
183
+ /** Path param: */
184
+ accountId: string;
185
+ /** Body param: */
186
+ description?: string;
187
+ /** Body param: */
188
+ name?: string;
189
+ /** Body param: */
190
+ policy?: string;
191
+ /** Body param: */
192
+ updateMode?: "AUTO" | "MANUAL";
193
+ }
194
+ export declare const PatchCatalogSyncRequest: Schema.Schema<PatchCatalogSyncRequest>;
195
+ export interface PatchCatalogSyncResponse {
196
+ id: string;
197
+ description: string;
198
+ destinationId: string;
199
+ destinationType: "NONE" | "ZERO_TRUST_LIST";
200
+ lastUserUpdateAt: string;
201
+ name: string;
202
+ policy: string;
203
+ updateMode: "AUTO" | "MANUAL";
204
+ errors?: Record<string, unknown> | null;
205
+ includesDiscoveriesUntil?: string | null;
206
+ lastAttemptedUpdateAt?: string | null;
207
+ lastSuccessfulUpdateAt?: string | null;
208
+ }
209
+ export declare const PatchCatalogSyncResponse: Schema.Schema<PatchCatalogSyncResponse>;
210
+ export type PatchCatalogSyncError = DefaultErrors;
211
+ export declare const patchCatalogSync: API.OperationMethod<PatchCatalogSyncRequest, PatchCatalogSyncResponse, PatchCatalogSyncError, Credentials | HttpClient.HttpClient>;
212
+ export interface DeleteCatalogSyncRequest {
213
+ syncId: string;
214
+ /** Path param: */
215
+ accountId: string;
216
+ /** Query param: */
217
+ deleteDestination?: boolean;
218
+ }
219
+ export declare const DeleteCatalogSyncRequest: Schema.Schema<DeleteCatalogSyncRequest>;
220
+ export interface DeleteCatalogSyncResponse {
221
+ id: string;
222
+ }
223
+ export declare const DeleteCatalogSyncResponse: Schema.Schema<DeleteCatalogSyncResponse>;
224
+ export type DeleteCatalogSyncError = DefaultErrors;
225
+ export declare const deleteCatalogSync: API.OperationMethod<DeleteCatalogSyncRequest, DeleteCatalogSyncResponse, DeleteCatalogSyncError, Credentials | HttpClient.HttpClient>;
226
+ export interface RefreshCatalogSyncRequest {
227
+ syncId: string;
228
+ accountId: string;
229
+ }
230
+ export declare const RefreshCatalogSyncRequest: Schema.Schema<RefreshCatalogSyncRequest>;
231
+ export type RefreshCatalogSyncResponse = string;
232
+ export declare const RefreshCatalogSyncResponse: Schema.Schema<string>;
233
+ export type RefreshCatalogSyncError = DefaultErrors;
234
+ export declare const refreshCatalogSync: API.OperationMethod<RefreshCatalogSyncRequest, RefreshCatalogSyncResponse, RefreshCatalogSyncError, Credentials | HttpClient.HttpClient>;
235
+ export interface ListCatalogSyncPrebuiltPoliciesRequest {
236
+ /** Path param: */
237
+ accountId: string;
238
+ /** Query param: Specify type of destination, omit to return all. */
239
+ destinationType?: "NONE" | "ZERO_TRUST_LIST";
240
+ }
241
+ export declare const ListCatalogSyncPrebuiltPoliciesRequest: Schema.Schema<ListCatalogSyncPrebuiltPoliciesRequest>;
242
+ export interface ListCatalogSyncPrebuiltPoliciesResponse {
243
+ result: {
244
+ applicableDestinations: ("NONE" | "ZERO_TRUST_LIST")[];
245
+ policyDescription: string;
246
+ policyName: string;
247
+ policyString: string;
248
+ }[];
249
+ }
250
+ export declare const ListCatalogSyncPrebuiltPoliciesResponse: Schema.Schema<ListCatalogSyncPrebuiltPoliciesResponse>;
251
+ export type ListCatalogSyncPrebuiltPoliciesError = DefaultErrors;
252
+ export declare const listCatalogSyncPrebuiltPolicies: API.PaginatedOperationMethod<ListCatalogSyncPrebuiltPoliciesRequest, ListCatalogSyncPrebuiltPoliciesResponse, ListCatalogSyncPrebuiltPoliciesError, Credentials | HttpClient.HttpClient> & {
253
+ pages: (input: ListCatalogSyncPrebuiltPoliciesRequest) => stream.Stream<ListCatalogSyncPrebuiltPoliciesResponse, ListCatalogSyncPrebuiltPoliciesError, Credentials | HttpClient.HttpClient>;
254
+ items: (input: ListCatalogSyncPrebuiltPoliciesRequest) => stream.Stream<{
255
+ applicableDestinations: ("NONE" | "ZERO_TRUST_LIST")[];
256
+ policyDescription: string;
257
+ policyName: string;
258
+ policyString: string;
259
+ }, ListCatalogSyncPrebuiltPoliciesError, Credentials | HttpClient.HttpClient>;
260
+ };
261
+ export interface GetCloudIntegrationRequest {
262
+ providerId: string;
263
+ /** Path param: */
264
+ accountId: string;
265
+ /** Query param: */
266
+ status?: boolean;
267
+ }
268
+ export declare const GetCloudIntegrationRequest: Schema.Schema<GetCloudIntegrationRequest>;
269
+ export interface GetCloudIntegrationResponse {
270
+ id: string;
271
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
272
+ friendlyName: string;
273
+ lastUpdated: string;
274
+ lifecycleState: "ACTIVE" | "PENDING_SETUP" | "RETIRED";
275
+ state: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
276
+ stateV2: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
277
+ awsArn?: string | null;
278
+ azureSubscriptionId?: string | null;
279
+ azureTenantId?: string | null;
280
+ description?: string | null;
281
+ gcpProjectId?: string | null;
282
+ gcpServiceAccountEmail?: string | null;
283
+ status?: {
284
+ discoveryProgress: {
285
+ done: number;
286
+ total: number;
287
+ unit: string;
288
+ };
289
+ discoveryProgressV2: {
290
+ done: number;
291
+ total: number;
292
+ unit: string;
293
+ };
294
+ lastDiscoveryStatus: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
295
+ lastDiscoveryStatusV2: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
296
+ regions: string[];
297
+ credentialsGoodSince?: string | null;
298
+ credentialsMissingSince?: string | null;
299
+ credentialsRejectedSince?: string | null;
300
+ discoveryMessage?: string | null;
301
+ discoveryMessageV2?: string | null;
302
+ inUseBy?: {
303
+ id: string;
304
+ clientType: "MAGIC_WAN_CLOUD_ONRAMP";
305
+ name: string;
306
+ }[] | null;
307
+ lastDiscoveryCompletedAt?: string | null;
308
+ lastDiscoveryCompletedAtV2?: string | null;
309
+ lastDiscoveryStartedAt?: string | null;
310
+ lastDiscoveryStartedAtV2?: string | null;
311
+ lastUpdated?: string | null;
312
+ } | null;
313
+ }
314
+ export declare const GetCloudIntegrationResponse: Schema.Schema<GetCloudIntegrationResponse>;
315
+ export type GetCloudIntegrationError = DefaultErrors;
316
+ export declare const getCloudIntegration: API.OperationMethod<GetCloudIntegrationRequest, GetCloudIntegrationResponse, GetCloudIntegrationError, Credentials | HttpClient.HttpClient>;
317
+ export interface ListCloudIntegrationsRequest {
318
+ /** Path param: */
319
+ accountId: string;
320
+ /** Query param: */
321
+ cloudflare?: boolean;
322
+ /** Query param: */
323
+ desc?: boolean;
324
+ /** Query param: One of ["updated_at", "id", "cloud_type", "name"]. */
325
+ orderBy?: string;
326
+ /** Query param: */
327
+ status?: boolean;
328
+ }
329
+ export declare const ListCloudIntegrationsRequest: Schema.Schema<ListCloudIntegrationsRequest>;
330
+ export interface ListCloudIntegrationsResponse {
331
+ result: {
332
+ id: string;
333
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
334
+ friendlyName: string;
335
+ lastUpdated: string;
336
+ lifecycleState: "ACTIVE" | "PENDING_SETUP" | "RETIRED";
337
+ state: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
338
+ stateV2: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
339
+ awsArn?: string | null;
340
+ azureSubscriptionId?: string | null;
341
+ azureTenantId?: string | null;
342
+ description?: string | null;
343
+ gcpProjectId?: string | null;
344
+ gcpServiceAccountEmail?: string | null;
345
+ status?: {
346
+ discoveryProgress: {
347
+ done: number;
348
+ total: number;
349
+ unit: string;
350
+ };
351
+ discoveryProgressV2: {
352
+ done: number;
353
+ total: number;
354
+ unit: string;
355
+ };
356
+ lastDiscoveryStatus: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
357
+ lastDiscoveryStatusV2: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
358
+ regions: string[];
359
+ credentialsGoodSince?: string | null;
360
+ credentialsMissingSince?: string | null;
361
+ credentialsRejectedSince?: string | null;
362
+ discoveryMessage?: string | null;
363
+ discoveryMessageV2?: string | null;
364
+ inUseBy?: {
365
+ id: string;
366
+ clientType: "MAGIC_WAN_CLOUD_ONRAMP";
367
+ name: string;
368
+ }[] | null;
369
+ lastDiscoveryCompletedAt?: string | null;
370
+ lastDiscoveryCompletedAtV2?: string | null;
371
+ lastDiscoveryStartedAt?: string | null;
372
+ lastDiscoveryStartedAtV2?: string | null;
373
+ lastUpdated?: string | null;
374
+ } | null;
375
+ }[];
376
+ }
377
+ export declare const ListCloudIntegrationsResponse: Schema.Schema<ListCloudIntegrationsResponse>;
378
+ export type ListCloudIntegrationsError = DefaultErrors;
379
+ export declare const listCloudIntegrations: API.PaginatedOperationMethod<ListCloudIntegrationsRequest, ListCloudIntegrationsResponse, ListCloudIntegrationsError, Credentials | HttpClient.HttpClient> & {
380
+ pages: (input: ListCloudIntegrationsRequest) => stream.Stream<ListCloudIntegrationsResponse, ListCloudIntegrationsError, Credentials | HttpClient.HttpClient>;
381
+ items: (input: ListCloudIntegrationsRequest) => stream.Stream<{
382
+ id: string;
383
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
384
+ friendlyName: string;
385
+ lastUpdated: string;
386
+ lifecycleState: "ACTIVE" | "PENDING_SETUP" | "RETIRED";
387
+ state: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
388
+ stateV2: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
389
+ awsArn?: string | null;
390
+ azureSubscriptionId?: string | null;
391
+ azureTenantId?: string | null;
392
+ description?: string | null;
393
+ gcpProjectId?: string | null;
394
+ gcpServiceAccountEmail?: string | null;
395
+ status?: {
396
+ discoveryProgress: {
397
+ done: number;
398
+ total: number;
399
+ unit: string;
400
+ };
401
+ discoveryProgressV2: {
402
+ done: number;
403
+ total: number;
404
+ unit: string;
405
+ };
406
+ lastDiscoveryStatus: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
407
+ lastDiscoveryStatusV2: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
408
+ regions: string[];
409
+ credentialsGoodSince?: string | null;
410
+ credentialsMissingSince?: string | null;
411
+ credentialsRejectedSince?: string | null;
412
+ discoveryMessage?: string | null;
413
+ discoveryMessageV2?: string | null;
414
+ inUseBy?: {
415
+ id: string;
416
+ clientType: "MAGIC_WAN_CLOUD_ONRAMP";
417
+ name: string;
418
+ }[] | null;
419
+ lastDiscoveryCompletedAt?: string | null;
420
+ lastDiscoveryCompletedAtV2?: string | null;
421
+ lastDiscoveryStartedAt?: string | null;
422
+ lastDiscoveryStartedAtV2?: string | null;
423
+ lastUpdated?: string | null;
424
+ } | null;
425
+ }, ListCloudIntegrationsError, Credentials | HttpClient.HttpClient>;
426
+ };
427
+ export interface CreateCloudIntegrationRequest {
428
+ /** Path param: */
429
+ accountId: string;
430
+ /** Header param: */
431
+ forwarded?: string;
432
+ /** Body param: */
433
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
434
+ /** Body param: */
435
+ friendlyName: string;
436
+ /** Body param: */
437
+ description?: string;
438
+ }
439
+ export declare const CreateCloudIntegrationRequest: Schema.Schema<CreateCloudIntegrationRequest>;
440
+ export interface CreateCloudIntegrationResponse {
441
+ id: string;
442
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
443
+ friendlyName: string;
444
+ lastUpdated: string;
445
+ lifecycleState: "ACTIVE" | "PENDING_SETUP" | "RETIRED";
446
+ state: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
447
+ stateV2: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
448
+ awsArn?: string | null;
449
+ azureSubscriptionId?: string | null;
450
+ azureTenantId?: string | null;
451
+ description?: string | null;
452
+ gcpProjectId?: string | null;
453
+ gcpServiceAccountEmail?: string | null;
454
+ status?: {
455
+ discoveryProgress: {
456
+ done: number;
457
+ total: number;
458
+ unit: string;
459
+ };
460
+ discoveryProgressV2: {
461
+ done: number;
462
+ total: number;
463
+ unit: string;
464
+ };
465
+ lastDiscoveryStatus: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
466
+ lastDiscoveryStatusV2: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
467
+ regions: string[];
468
+ credentialsGoodSince?: string | null;
469
+ credentialsMissingSince?: string | null;
470
+ credentialsRejectedSince?: string | null;
471
+ discoveryMessage?: string | null;
472
+ discoveryMessageV2?: string | null;
473
+ inUseBy?: {
474
+ id: string;
475
+ clientType: "MAGIC_WAN_CLOUD_ONRAMP";
476
+ name: string;
477
+ }[] | null;
478
+ lastDiscoveryCompletedAt?: string | null;
479
+ lastDiscoveryCompletedAtV2?: string | null;
480
+ lastDiscoveryStartedAt?: string | null;
481
+ lastDiscoveryStartedAtV2?: string | null;
482
+ lastUpdated?: string | null;
483
+ } | null;
484
+ }
485
+ export declare const CreateCloudIntegrationResponse: Schema.Schema<CreateCloudIntegrationResponse>;
486
+ export type CreateCloudIntegrationError = DefaultErrors;
487
+ export declare const createCloudIntegration: API.OperationMethod<CreateCloudIntegrationRequest, CreateCloudIntegrationResponse, CreateCloudIntegrationError, Credentials | HttpClient.HttpClient>;
488
+ export interface UpdateCloudIntegrationRequest {
489
+ providerId: string;
490
+ /** Path param: */
491
+ accountId: string;
492
+ /** Body param: */
493
+ awsArn?: string;
494
+ /** Body param: */
495
+ azureSubscriptionId?: string;
496
+ /** Body param: */
497
+ azureTenantId?: string;
498
+ /** Body param: */
499
+ description?: string;
500
+ /** Body param: */
501
+ friendlyName?: string;
502
+ /** Body param: */
503
+ gcpProjectId?: string;
504
+ /** Body param: */
505
+ gcpServiceAccountEmail?: string;
506
+ }
507
+ export declare const UpdateCloudIntegrationRequest: Schema.Schema<UpdateCloudIntegrationRequest>;
508
+ export interface UpdateCloudIntegrationResponse {
509
+ id: string;
510
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
511
+ friendlyName: string;
512
+ lastUpdated: string;
513
+ lifecycleState: "ACTIVE" | "PENDING_SETUP" | "RETIRED";
514
+ state: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
515
+ stateV2: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
516
+ awsArn?: string | null;
517
+ azureSubscriptionId?: string | null;
518
+ azureTenantId?: string | null;
519
+ description?: string | null;
520
+ gcpProjectId?: string | null;
521
+ gcpServiceAccountEmail?: string | null;
522
+ status?: {
523
+ discoveryProgress: {
524
+ done: number;
525
+ total: number;
526
+ unit: string;
527
+ };
528
+ discoveryProgressV2: {
529
+ done: number;
530
+ total: number;
531
+ unit: string;
532
+ };
533
+ lastDiscoveryStatus: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
534
+ lastDiscoveryStatusV2: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
535
+ regions: string[];
536
+ credentialsGoodSince?: string | null;
537
+ credentialsMissingSince?: string | null;
538
+ credentialsRejectedSince?: string | null;
539
+ discoveryMessage?: string | null;
540
+ discoveryMessageV2?: string | null;
541
+ inUseBy?: {
542
+ id: string;
543
+ clientType: "MAGIC_WAN_CLOUD_ONRAMP";
544
+ name: string;
545
+ }[] | null;
546
+ lastDiscoveryCompletedAt?: string | null;
547
+ lastDiscoveryCompletedAtV2?: string | null;
548
+ lastDiscoveryStartedAt?: string | null;
549
+ lastDiscoveryStartedAtV2?: string | null;
550
+ lastUpdated?: string | null;
551
+ } | null;
552
+ }
553
+ export declare const UpdateCloudIntegrationResponse: Schema.Schema<UpdateCloudIntegrationResponse>;
554
+ export type UpdateCloudIntegrationError = DefaultErrors;
555
+ export declare const updateCloudIntegration: API.OperationMethod<UpdateCloudIntegrationRequest, UpdateCloudIntegrationResponse, UpdateCloudIntegrationError, Credentials | HttpClient.HttpClient>;
556
+ export interface PatchCloudIntegrationRequest {
557
+ providerId: string;
558
+ /** Path param: */
559
+ accountId: string;
560
+ /** Body param: */
561
+ awsArn?: string;
562
+ /** Body param: */
563
+ azureSubscriptionId?: string;
564
+ /** Body param: */
565
+ azureTenantId?: string;
566
+ /** Body param: */
567
+ description?: string;
568
+ /** Body param: */
569
+ friendlyName?: string;
570
+ /** Body param: */
571
+ gcpProjectId?: string;
572
+ /** Body param: */
573
+ gcpServiceAccountEmail?: string;
574
+ }
575
+ export declare const PatchCloudIntegrationRequest: Schema.Schema<PatchCloudIntegrationRequest>;
576
+ export interface PatchCloudIntegrationResponse {
577
+ id: string;
578
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
579
+ friendlyName: string;
580
+ lastUpdated: string;
581
+ lifecycleState: "ACTIVE" | "PENDING_SETUP" | "RETIRED";
582
+ state: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
583
+ stateV2: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
584
+ awsArn?: string | null;
585
+ azureSubscriptionId?: string | null;
586
+ azureTenantId?: string | null;
587
+ description?: string | null;
588
+ gcpProjectId?: string | null;
589
+ gcpServiceAccountEmail?: string | null;
590
+ status?: {
591
+ discoveryProgress: {
592
+ done: number;
593
+ total: number;
594
+ unit: string;
595
+ };
596
+ discoveryProgressV2: {
597
+ done: number;
598
+ total: number;
599
+ unit: string;
600
+ };
601
+ lastDiscoveryStatus: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
602
+ lastDiscoveryStatusV2: "UNSPECIFIED" | "PENDING" | "DISCOVERING" | "FAILED" | "SUCCEEDED";
603
+ regions: string[];
604
+ credentialsGoodSince?: string | null;
605
+ credentialsMissingSince?: string | null;
606
+ credentialsRejectedSince?: string | null;
607
+ discoveryMessage?: string | null;
608
+ discoveryMessageV2?: string | null;
609
+ inUseBy?: {
610
+ id: string;
611
+ clientType: "MAGIC_WAN_CLOUD_ONRAMP";
612
+ name: string;
613
+ }[] | null;
614
+ lastDiscoveryCompletedAt?: string | null;
615
+ lastDiscoveryCompletedAtV2?: string | null;
616
+ lastDiscoveryStartedAt?: string | null;
617
+ lastDiscoveryStartedAtV2?: string | null;
618
+ lastUpdated?: string | null;
619
+ } | null;
620
+ }
621
+ export declare const PatchCloudIntegrationResponse: Schema.Schema<PatchCloudIntegrationResponse>;
622
+ export type PatchCloudIntegrationError = DefaultErrors;
623
+ export declare const patchCloudIntegration: API.OperationMethod<PatchCloudIntegrationRequest, PatchCloudIntegrationResponse, PatchCloudIntegrationError, Credentials | HttpClient.HttpClient>;
624
+ export interface DeleteCloudIntegrationRequest {
625
+ providerId: string;
626
+ accountId: string;
627
+ }
628
+ export declare const DeleteCloudIntegrationRequest: Schema.Schema<DeleteCloudIntegrationRequest>;
629
+ export interface DeleteCloudIntegrationResponse {
630
+ id: string;
631
+ }
632
+ export declare const DeleteCloudIntegrationResponse: Schema.Schema<DeleteCloudIntegrationResponse>;
633
+ export type DeleteCloudIntegrationError = DefaultErrors;
634
+ export declare const deleteCloudIntegration: API.OperationMethod<DeleteCloudIntegrationRequest, DeleteCloudIntegrationResponse, DeleteCloudIntegrationError, Credentials | HttpClient.HttpClient>;
635
+ export interface DiscoverCloudIntegrationRequest {
636
+ providerId: string;
637
+ /** Path param: */
638
+ accountId: string;
639
+ /** Query param: */
640
+ v2?: boolean;
641
+ }
642
+ export declare const DiscoverCloudIntegrationRequest: Schema.Schema<DiscoverCloudIntegrationRequest>;
643
+ export interface DiscoverCloudIntegrationResponse {
644
+ errors: {
645
+ 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";
646
+ message: string;
647
+ documentationUrl?: string | null;
648
+ meta?: {
649
+ l10nKey?: string | null;
650
+ loggableError?: string | null;
651
+ templateData?: unknown | null;
652
+ traceId?: string | null;
653
+ } | null;
654
+ source?: {
655
+ parameter?: string | null;
656
+ parameterValueIndex?: number | null;
657
+ pointer?: string | null;
658
+ } | null;
659
+ }[];
660
+ messages: {
661
+ 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";
662
+ message: string;
663
+ documentationUrl?: string | null;
664
+ meta?: {
665
+ l10nKey?: string | null;
666
+ loggableError?: string | null;
667
+ templateData?: unknown | null;
668
+ traceId?: string | null;
669
+ } | null;
670
+ source?: {
671
+ parameter?: string | null;
672
+ parameterValueIndex?: number | null;
673
+ pointer?: string | null;
674
+ } | null;
675
+ }[];
676
+ success: boolean;
677
+ }
678
+ export declare const DiscoverCloudIntegrationResponse: Schema.Schema<DiscoverCloudIntegrationResponse>;
679
+ export type DiscoverCloudIntegrationError = DefaultErrors;
680
+ export declare const discoverCloudIntegration: API.OperationMethod<DiscoverCloudIntegrationRequest, DiscoverCloudIntegrationResponse, DiscoverCloudIntegrationError, Credentials | HttpClient.HttpClient>;
681
+ export interface GetOnRampRequest {
682
+ onrampId: string;
683
+ /** Path param: */
684
+ accountId: string;
685
+ /** Query param: */
686
+ plannedResources?: boolean;
687
+ /** Query param: */
688
+ postApplyResources?: boolean;
689
+ /** Query param: */
690
+ status?: boolean;
691
+ /** Query param: */
692
+ vpcs?: boolean;
693
+ }
694
+ export declare const GetOnRampRequest: Schema.Schema<GetOnRampRequest>;
695
+ export interface GetOnRampResponse {
696
+ id: string;
697
+ cloudType: "AWS" | "AZURE" | "GOOGLE";
698
+ dynamicRouting: boolean;
699
+ installRoutesInCloud: boolean;
700
+ installRoutesInMagicWan: boolean;
701
+ name: string;
702
+ type: "OnrampTypeSingle" | "OnrampTypeHub";
703
+ updatedAt: string;
704
+ attachedHubs?: string[] | null;
705
+ attachedVpcs?: string[] | null;
706
+ cloudAsn?: number | null;
707
+ description?: string | null;
708
+ hub?: string | null;
709
+ lastAppliedAt?: string | null;
710
+ lastExportedAt?: string | null;
711
+ lastPlannedAt?: string | null;
712
+ manageHubToHubAttachments?: boolean | null;
713
+ manageVpcToHubAttachments?: boolean | null;
714
+ plannedMonthlyCostEstimate?: {
715
+ currency: string;
716
+ currentMonthlyCost: number;
717
+ diff: number;
718
+ proposedMonthlyCost: number;
719
+ } | null;
720
+ plannedResources?: {
721
+ diff: {
722
+ diff: string;
723
+ leftDescription: string;
724
+ leftYaml: string;
725
+ rightDescription: string;
726
+ rightYaml: string;
727
+ };
728
+ keysRequireReplace: string[];
729
+ monthlyCostEstimateDiff: {
730
+ currency: string;
731
+ currentMonthlyCost: number;
732
+ diff: number;
733
+ proposedMonthlyCost: number;
734
+ };
735
+ plannedAction: "no_op" | "create" | "update" | "replace" | "destroy";
736
+ resource: {
737
+ id: string;
738
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
739
+ detail: string;
740
+ name: string;
741
+ 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";
742
+ title: string;
743
+ };
744
+ }[] | null;
745
+ plannedResourcesUnavailable?: boolean | null;
746
+ postApplyMonthlyCostEstimate?: {
747
+ currency: string;
748
+ monthlyCost: number;
749
+ } | null;
750
+ postApplyResources?: Record<string, unknown> | null;
751
+ postApplyResourcesUnavailable?: boolean | null;
752
+ region?: string | null;
753
+ status?: {
754
+ applyProgress: {
755
+ done: number;
756
+ total: number;
757
+ };
758
+ lifecycleState: "OnrampNeedsApply" | "OnrampPendingPlan" | "OnrampPlanning" | "OnrampPlanFailed" | "OnrampPendingApproval" | "OnrampPendingApply" | "OnrampApplying" | "OnrampApplyFailed" | "OnrampActive" | "OnrampPendingDestroy" | "OnrampDestroying" | "OnrampDestroyFailed";
759
+ planProgress: {
760
+ done: number;
761
+ total: number;
762
+ };
763
+ routes: string[];
764
+ tunnels: string[];
765
+ lifecycleErrors?: Record<string, unknown> | null;
766
+ } | null;
767
+ vpc?: string | null;
768
+ vpcsById?: Record<string, unknown> | null;
769
+ /** The list of vpc IDs for which resource details failed to generate. */
770
+ vpcsByIdUnavailable?: string[] | null;
771
+ }
772
+ export declare const GetOnRampResponse: Schema.Schema<GetOnRampResponse>;
773
+ export type GetOnRampError = DefaultErrors;
774
+ export declare const getOnRamp: API.OperationMethod<GetOnRampRequest, GetOnRampResponse, GetOnRampError, Credentials | HttpClient.HttpClient>;
775
+ export interface ListOnRampsRequest {
776
+ /** Path param: */
777
+ accountId: string;
778
+ /** Query param: */
779
+ desc?: boolean;
780
+ /** Query param: One of ["updated_at", "id", "cloud_type", "name"]. */
781
+ orderBy?: string;
782
+ /** Query param: */
783
+ status?: boolean;
784
+ /** Query param: */
785
+ vpcs?: boolean;
786
+ }
787
+ export declare const ListOnRampsRequest: Schema.Schema<ListOnRampsRequest>;
788
+ export interface ListOnRampsResponse {
789
+ result: {
790
+ id: string;
791
+ cloudType: "AWS" | "AZURE" | "GOOGLE";
792
+ dynamicRouting: boolean;
793
+ installRoutesInCloud: boolean;
794
+ installRoutesInMagicWan: boolean;
795
+ name: string;
796
+ type: "OnrampTypeSingle" | "OnrampTypeHub";
797
+ updatedAt: string;
798
+ attachedHubs?: string[] | null;
799
+ attachedVpcs?: string[] | null;
800
+ cloudAsn?: number | null;
801
+ description?: string | null;
802
+ hub?: string | null;
803
+ lastAppliedAt?: string | null;
804
+ lastExportedAt?: string | null;
805
+ lastPlannedAt?: string | null;
806
+ manageHubToHubAttachments?: boolean | null;
807
+ manageVpcToHubAttachments?: boolean | null;
808
+ plannedMonthlyCostEstimate?: {
809
+ currency: string;
810
+ currentMonthlyCost: number;
811
+ diff: number;
812
+ proposedMonthlyCost: number;
813
+ } | null;
814
+ plannedResources?: {
815
+ diff: {
816
+ diff: string;
817
+ leftDescription: string;
818
+ leftYaml: string;
819
+ rightDescription: string;
820
+ rightYaml: string;
821
+ };
822
+ keysRequireReplace: string[];
823
+ monthlyCostEstimateDiff: {
824
+ currency: string;
825
+ currentMonthlyCost: number;
826
+ diff: number;
827
+ proposedMonthlyCost: number;
828
+ };
829
+ plannedAction: "no_op" | "create" | "update" | "replace" | "destroy";
830
+ resource: {
831
+ id: string;
832
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
833
+ detail: string;
834
+ name: string;
835
+ 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";
836
+ title: string;
837
+ };
838
+ }[] | null;
839
+ plannedResourcesUnavailable?: boolean | null;
840
+ postApplyMonthlyCostEstimate?: {
841
+ currency: string;
842
+ monthlyCost: number;
843
+ } | null;
844
+ postApplyResources?: Record<string, unknown> | null;
845
+ postApplyResourcesUnavailable?: boolean | null;
846
+ region?: string | null;
847
+ status?: {
848
+ applyProgress: {
849
+ done: number;
850
+ total: number;
851
+ };
852
+ lifecycleState: "OnrampNeedsApply" | "OnrampPendingPlan" | "OnrampPlanning" | "OnrampPlanFailed" | "OnrampPendingApproval" | "OnrampPendingApply" | "OnrampApplying" | "OnrampApplyFailed" | "OnrampActive" | "OnrampPendingDestroy" | "OnrampDestroying" | "OnrampDestroyFailed";
853
+ planProgress: {
854
+ done: number;
855
+ total: number;
856
+ };
857
+ routes: string[];
858
+ tunnels: string[];
859
+ lifecycleErrors?: Record<string, unknown> | null;
860
+ } | null;
861
+ vpc?: string | null;
862
+ vpcsById?: Record<string, unknown> | null;
863
+ vpcsByIdUnavailable?: string[] | null;
864
+ }[];
865
+ }
866
+ export declare const ListOnRampsResponse: Schema.Schema<ListOnRampsResponse>;
867
+ export type ListOnRampsError = DefaultErrors;
868
+ export declare const listOnRamps: API.PaginatedOperationMethod<ListOnRampsRequest, ListOnRampsResponse, ListOnRampsError, Credentials | HttpClient.HttpClient> & {
869
+ pages: (input: ListOnRampsRequest) => stream.Stream<ListOnRampsResponse, ListOnRampsError, Credentials | HttpClient.HttpClient>;
870
+ items: (input: ListOnRampsRequest) => stream.Stream<{
871
+ id: string;
872
+ cloudType: "AWS" | "AZURE" | "GOOGLE";
873
+ dynamicRouting: boolean;
874
+ installRoutesInCloud: boolean;
875
+ installRoutesInMagicWan: boolean;
876
+ name: string;
877
+ type: "OnrampTypeSingle" | "OnrampTypeHub";
878
+ updatedAt: string;
879
+ attachedHubs?: string[] | null;
880
+ attachedVpcs?: string[] | null;
881
+ cloudAsn?: number | null;
882
+ description?: string | null;
883
+ hub?: string | null;
884
+ lastAppliedAt?: string | null;
885
+ lastExportedAt?: string | null;
886
+ lastPlannedAt?: string | null;
887
+ manageHubToHubAttachments?: boolean | null;
888
+ manageVpcToHubAttachments?: boolean | null;
889
+ plannedMonthlyCostEstimate?: {
890
+ currency: string;
891
+ currentMonthlyCost: number;
892
+ diff: number;
893
+ proposedMonthlyCost: number;
894
+ } | null;
895
+ plannedResources?: {
896
+ diff: {
897
+ diff: string;
898
+ leftDescription: string;
899
+ leftYaml: string;
900
+ rightDescription: string;
901
+ rightYaml: string;
902
+ };
903
+ keysRequireReplace: string[];
904
+ monthlyCostEstimateDiff: {
905
+ currency: string;
906
+ currentMonthlyCost: number;
907
+ diff: number;
908
+ proposedMonthlyCost: number;
909
+ };
910
+ plannedAction: "no_op" | "create" | "update" | "replace" | "destroy";
911
+ resource: {
912
+ id: string;
913
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
914
+ detail: string;
915
+ name: string;
916
+ 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";
917
+ title: string;
918
+ };
919
+ }[] | null;
920
+ plannedResourcesUnavailable?: boolean | null;
921
+ postApplyMonthlyCostEstimate?: {
922
+ currency: string;
923
+ monthlyCost: number;
924
+ } | null;
925
+ postApplyResources?: Record<string, unknown> | null;
926
+ postApplyResourcesUnavailable?: boolean | null;
927
+ region?: string | null;
928
+ status?: {
929
+ applyProgress: {
930
+ done: number;
931
+ total: number;
932
+ };
933
+ lifecycleState: "OnrampNeedsApply" | "OnrampPendingPlan" | "OnrampPlanning" | "OnrampPlanFailed" | "OnrampPendingApproval" | "OnrampPendingApply" | "OnrampApplying" | "OnrampApplyFailed" | "OnrampActive" | "OnrampPendingDestroy" | "OnrampDestroying" | "OnrampDestroyFailed";
934
+ planProgress: {
935
+ done: number;
936
+ total: number;
937
+ };
938
+ routes: string[];
939
+ tunnels: string[];
940
+ lifecycleErrors?: Record<string, unknown> | null;
941
+ } | null;
942
+ vpc?: string | null;
943
+ vpcsById?: Record<string, unknown> | null;
944
+ vpcsByIdUnavailable?: string[] | null;
945
+ }, ListOnRampsError, Credentials | HttpClient.HttpClient>;
946
+ };
947
+ export interface CreateOnRampRequest {
948
+ /** Path param: */
949
+ accountId: string;
950
+ /** Header param: */
951
+ forwarded?: string;
952
+ /** Body param: */
953
+ cloudType: "AWS" | "AZURE" | "GOOGLE";
954
+ /** Body param: if set to true, install_routes_in_cloud and install_routes_in_magic_wan should be set to false */
955
+ dynamicRouting: boolean;
956
+ /** Body param: */
957
+ installRoutesInCloud: boolean;
958
+ /** Body param: */
959
+ installRoutesInMagicWan: boolean;
960
+ /** Body param: */
961
+ name: string;
962
+ /** Body param: */
963
+ type: "OnrampTypeSingle" | "OnrampTypeHub";
964
+ /** Body param: */
965
+ adoptedHubId?: string;
966
+ /** Body param: */
967
+ attachedHubs?: string[];
968
+ /** Body param: */
969
+ attachedVpcs?: string[];
970
+ /** Body param: the ASN to use on the cloud side. If unset or zero, the cloud's default will be used. */
971
+ cloudAsn?: number;
972
+ /** Body param: */
973
+ description?: string;
974
+ /** Body param: */
975
+ hubProviderId?: string;
976
+ /** Body param: */
977
+ manageHubToHubAttachments?: boolean;
978
+ /** Body param: */
979
+ manageVpcToHubAttachments?: boolean;
980
+ /** Body param: */
981
+ region?: string;
982
+ /** Body param: */
983
+ vpc?: string;
984
+ }
985
+ export declare const CreateOnRampRequest: Schema.Schema<CreateOnRampRequest>;
986
+ export interface CreateOnRampResponse {
987
+ id: string;
988
+ cloudType: "AWS" | "AZURE" | "GOOGLE";
989
+ dynamicRouting: boolean;
990
+ installRoutesInCloud: boolean;
991
+ installRoutesInMagicWan: boolean;
992
+ name: string;
993
+ type: "OnrampTypeSingle" | "OnrampTypeHub";
994
+ updatedAt: string;
995
+ attachedHubs?: string[] | null;
996
+ attachedVpcs?: string[] | null;
997
+ cloudAsn?: number | null;
998
+ description?: string | null;
999
+ hub?: string | null;
1000
+ lastAppliedAt?: string | null;
1001
+ lastExportedAt?: string | null;
1002
+ lastPlannedAt?: string | null;
1003
+ manageHubToHubAttachments?: boolean | null;
1004
+ manageVpcToHubAttachments?: boolean | null;
1005
+ plannedMonthlyCostEstimate?: {
1006
+ currency: string;
1007
+ currentMonthlyCost: number;
1008
+ diff: number;
1009
+ proposedMonthlyCost: number;
1010
+ } | null;
1011
+ plannedResources?: {
1012
+ diff: {
1013
+ diff: string;
1014
+ leftDescription: string;
1015
+ leftYaml: string;
1016
+ rightDescription: string;
1017
+ rightYaml: string;
1018
+ };
1019
+ keysRequireReplace: string[];
1020
+ monthlyCostEstimateDiff: {
1021
+ currency: string;
1022
+ currentMonthlyCost: number;
1023
+ diff: number;
1024
+ proposedMonthlyCost: number;
1025
+ };
1026
+ plannedAction: "no_op" | "create" | "update" | "replace" | "destroy";
1027
+ resource: {
1028
+ id: string;
1029
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
1030
+ detail: string;
1031
+ name: string;
1032
+ 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";
1033
+ title: string;
1034
+ };
1035
+ }[] | null;
1036
+ plannedResourcesUnavailable?: boolean | null;
1037
+ postApplyMonthlyCostEstimate?: {
1038
+ currency: string;
1039
+ monthlyCost: number;
1040
+ } | null;
1041
+ postApplyResources?: Record<string, unknown> | null;
1042
+ postApplyResourcesUnavailable?: boolean | null;
1043
+ region?: string | null;
1044
+ status?: {
1045
+ applyProgress: {
1046
+ done: number;
1047
+ total: number;
1048
+ };
1049
+ lifecycleState: "OnrampNeedsApply" | "OnrampPendingPlan" | "OnrampPlanning" | "OnrampPlanFailed" | "OnrampPendingApproval" | "OnrampPendingApply" | "OnrampApplying" | "OnrampApplyFailed" | "OnrampActive" | "OnrampPendingDestroy" | "OnrampDestroying" | "OnrampDestroyFailed";
1050
+ planProgress: {
1051
+ done: number;
1052
+ total: number;
1053
+ };
1054
+ routes: string[];
1055
+ tunnels: string[];
1056
+ lifecycleErrors?: Record<string, unknown> | null;
1057
+ } | null;
1058
+ vpc?: string | null;
1059
+ vpcsById?: Record<string, unknown> | null;
1060
+ /** The list of vpc IDs for which resource details failed to generate. */
1061
+ vpcsByIdUnavailable?: string[] | null;
1062
+ }
1063
+ export declare const CreateOnRampResponse: Schema.Schema<CreateOnRampResponse>;
1064
+ export type CreateOnRampError = DefaultErrors;
1065
+ export declare const createOnRamp: API.OperationMethod<CreateOnRampRequest, CreateOnRampResponse, CreateOnRampError, Credentials | HttpClient.HttpClient>;
1066
+ export interface UpdateOnRampRequest {
1067
+ onrampId: string;
1068
+ /** Path param: */
1069
+ accountId: string;
1070
+ /** Body param: */
1071
+ attachedHubs?: string[];
1072
+ /** Body param: */
1073
+ attachedVpcs?: string[];
1074
+ /** Body param: */
1075
+ description?: string;
1076
+ /** Body param: */
1077
+ installRoutesInCloud?: boolean;
1078
+ /** Body param: */
1079
+ installRoutesInMagicWan?: boolean;
1080
+ /** Body param: */
1081
+ manageHubToHubAttachments?: boolean;
1082
+ /** Body param: */
1083
+ manageVpcToHubAttachments?: boolean;
1084
+ /** Body param: */
1085
+ name?: string;
1086
+ /** Body param: */
1087
+ vpc?: string;
1088
+ }
1089
+ export declare const UpdateOnRampRequest: Schema.Schema<UpdateOnRampRequest>;
1090
+ export interface UpdateOnRampResponse {
1091
+ id: string;
1092
+ cloudType: "AWS" | "AZURE" | "GOOGLE";
1093
+ dynamicRouting: boolean;
1094
+ installRoutesInCloud: boolean;
1095
+ installRoutesInMagicWan: boolean;
1096
+ name: string;
1097
+ type: "OnrampTypeSingle" | "OnrampTypeHub";
1098
+ updatedAt: string;
1099
+ attachedHubs?: string[] | null;
1100
+ attachedVpcs?: string[] | null;
1101
+ cloudAsn?: number | null;
1102
+ description?: string | null;
1103
+ hub?: string | null;
1104
+ lastAppliedAt?: string | null;
1105
+ lastExportedAt?: string | null;
1106
+ lastPlannedAt?: string | null;
1107
+ manageHubToHubAttachments?: boolean | null;
1108
+ manageVpcToHubAttachments?: boolean | null;
1109
+ plannedMonthlyCostEstimate?: {
1110
+ currency: string;
1111
+ currentMonthlyCost: number;
1112
+ diff: number;
1113
+ proposedMonthlyCost: number;
1114
+ } | null;
1115
+ plannedResources?: {
1116
+ diff: {
1117
+ diff: string;
1118
+ leftDescription: string;
1119
+ leftYaml: string;
1120
+ rightDescription: string;
1121
+ rightYaml: string;
1122
+ };
1123
+ keysRequireReplace: string[];
1124
+ monthlyCostEstimateDiff: {
1125
+ currency: string;
1126
+ currentMonthlyCost: number;
1127
+ diff: number;
1128
+ proposedMonthlyCost: number;
1129
+ };
1130
+ plannedAction: "no_op" | "create" | "update" | "replace" | "destroy";
1131
+ resource: {
1132
+ id: string;
1133
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
1134
+ detail: string;
1135
+ name: string;
1136
+ 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";
1137
+ title: string;
1138
+ };
1139
+ }[] | null;
1140
+ plannedResourcesUnavailable?: boolean | null;
1141
+ postApplyMonthlyCostEstimate?: {
1142
+ currency: string;
1143
+ monthlyCost: number;
1144
+ } | null;
1145
+ postApplyResources?: Record<string, unknown> | null;
1146
+ postApplyResourcesUnavailable?: boolean | null;
1147
+ region?: string | null;
1148
+ status?: {
1149
+ applyProgress: {
1150
+ done: number;
1151
+ total: number;
1152
+ };
1153
+ lifecycleState: "OnrampNeedsApply" | "OnrampPendingPlan" | "OnrampPlanning" | "OnrampPlanFailed" | "OnrampPendingApproval" | "OnrampPendingApply" | "OnrampApplying" | "OnrampApplyFailed" | "OnrampActive" | "OnrampPendingDestroy" | "OnrampDestroying" | "OnrampDestroyFailed";
1154
+ planProgress: {
1155
+ done: number;
1156
+ total: number;
1157
+ };
1158
+ routes: string[];
1159
+ tunnels: string[];
1160
+ lifecycleErrors?: Record<string, unknown> | null;
1161
+ } | null;
1162
+ vpc?: string | null;
1163
+ vpcsById?: Record<string, unknown> | null;
1164
+ /** The list of vpc IDs for which resource details failed to generate. */
1165
+ vpcsByIdUnavailable?: string[] | null;
1166
+ }
1167
+ export declare const UpdateOnRampResponse: Schema.Schema<UpdateOnRampResponse>;
1168
+ export type UpdateOnRampError = DefaultErrors;
1169
+ export declare const updateOnRamp: API.OperationMethod<UpdateOnRampRequest, UpdateOnRampResponse, UpdateOnRampError, Credentials | HttpClient.HttpClient>;
1170
+ export interface PatchOnRampRequest {
1171
+ onrampId: string;
1172
+ /** Path param: */
1173
+ accountId: string;
1174
+ /** Body param: */
1175
+ attachedHubs?: string[];
1176
+ /** Body param: */
1177
+ attachedVpcs?: string[];
1178
+ /** Body param: */
1179
+ description?: string;
1180
+ /** Body param: */
1181
+ installRoutesInCloud?: boolean;
1182
+ /** Body param: */
1183
+ installRoutesInMagicWan?: boolean;
1184
+ /** Body param: */
1185
+ manageHubToHubAttachments?: boolean;
1186
+ /** Body param: */
1187
+ manageVpcToHubAttachments?: boolean;
1188
+ /** Body param: */
1189
+ name?: string;
1190
+ /** Body param: */
1191
+ vpc?: string;
1192
+ }
1193
+ export declare const PatchOnRampRequest: Schema.Schema<PatchOnRampRequest>;
1194
+ export interface PatchOnRampResponse {
1195
+ id: string;
1196
+ cloudType: "AWS" | "AZURE" | "GOOGLE";
1197
+ dynamicRouting: boolean;
1198
+ installRoutesInCloud: boolean;
1199
+ installRoutesInMagicWan: boolean;
1200
+ name: string;
1201
+ type: "OnrampTypeSingle" | "OnrampTypeHub";
1202
+ updatedAt: string;
1203
+ attachedHubs?: string[] | null;
1204
+ attachedVpcs?: string[] | null;
1205
+ cloudAsn?: number | null;
1206
+ description?: string | null;
1207
+ hub?: string | null;
1208
+ lastAppliedAt?: string | null;
1209
+ lastExportedAt?: string | null;
1210
+ lastPlannedAt?: string | null;
1211
+ manageHubToHubAttachments?: boolean | null;
1212
+ manageVpcToHubAttachments?: boolean | null;
1213
+ plannedMonthlyCostEstimate?: {
1214
+ currency: string;
1215
+ currentMonthlyCost: number;
1216
+ diff: number;
1217
+ proposedMonthlyCost: number;
1218
+ } | null;
1219
+ plannedResources?: {
1220
+ diff: {
1221
+ diff: string;
1222
+ leftDescription: string;
1223
+ leftYaml: string;
1224
+ rightDescription: string;
1225
+ rightYaml: string;
1226
+ };
1227
+ keysRequireReplace: string[];
1228
+ monthlyCostEstimateDiff: {
1229
+ currency: string;
1230
+ currentMonthlyCost: number;
1231
+ diff: number;
1232
+ proposedMonthlyCost: number;
1233
+ };
1234
+ plannedAction: "no_op" | "create" | "update" | "replace" | "destroy";
1235
+ resource: {
1236
+ id: string;
1237
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
1238
+ detail: string;
1239
+ name: string;
1240
+ 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";
1241
+ title: string;
1242
+ };
1243
+ }[] | null;
1244
+ plannedResourcesUnavailable?: boolean | null;
1245
+ postApplyMonthlyCostEstimate?: {
1246
+ currency: string;
1247
+ monthlyCost: number;
1248
+ } | null;
1249
+ postApplyResources?: Record<string, unknown> | null;
1250
+ postApplyResourcesUnavailable?: boolean | null;
1251
+ region?: string | null;
1252
+ status?: {
1253
+ applyProgress: {
1254
+ done: number;
1255
+ total: number;
1256
+ };
1257
+ lifecycleState: "OnrampNeedsApply" | "OnrampPendingPlan" | "OnrampPlanning" | "OnrampPlanFailed" | "OnrampPendingApproval" | "OnrampPendingApply" | "OnrampApplying" | "OnrampApplyFailed" | "OnrampActive" | "OnrampPendingDestroy" | "OnrampDestroying" | "OnrampDestroyFailed";
1258
+ planProgress: {
1259
+ done: number;
1260
+ total: number;
1261
+ };
1262
+ routes: string[];
1263
+ tunnels: string[];
1264
+ lifecycleErrors?: Record<string, unknown> | null;
1265
+ } | null;
1266
+ vpc?: string | null;
1267
+ vpcsById?: Record<string, unknown> | null;
1268
+ /** The list of vpc IDs for which resource details failed to generate. */
1269
+ vpcsByIdUnavailable?: string[] | null;
1270
+ }
1271
+ export declare const PatchOnRampResponse: Schema.Schema<PatchOnRampResponse>;
1272
+ export type PatchOnRampError = DefaultErrors;
1273
+ export declare const patchOnRamp: API.OperationMethod<PatchOnRampRequest, PatchOnRampResponse, PatchOnRampError, Credentials | HttpClient.HttpClient>;
1274
+ export interface DeleteOnRampRequest {
1275
+ onrampId: string;
1276
+ /** Path param: */
1277
+ accountId: string;
1278
+ /** Query param: */
1279
+ destroy?: boolean;
1280
+ /** Query param: */
1281
+ force?: boolean;
1282
+ }
1283
+ export declare const DeleteOnRampRequest: Schema.Schema<DeleteOnRampRequest>;
1284
+ export interface DeleteOnRampResponse {
1285
+ id: string;
1286
+ }
1287
+ export declare const DeleteOnRampResponse: Schema.Schema<DeleteOnRampResponse>;
1288
+ export type DeleteOnRampError = DefaultErrors;
1289
+ export declare const deleteOnRamp: API.OperationMethod<DeleteOnRampRequest, DeleteOnRampResponse, DeleteOnRampError, Credentials | HttpClient.HttpClient>;
1290
+ export interface ApplyOnRampRequest {
1291
+ onrampId: string;
1292
+ accountId: string;
1293
+ }
1294
+ export declare const ApplyOnRampRequest: Schema.Schema<ApplyOnRampRequest>;
1295
+ export interface ApplyOnRampResponse {
1296
+ errors: {
1297
+ 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";
1298
+ message: string;
1299
+ documentationUrl?: string | null;
1300
+ meta?: {
1301
+ l10nKey?: string | null;
1302
+ loggableError?: string | null;
1303
+ templateData?: unknown | null;
1304
+ traceId?: string | null;
1305
+ } | null;
1306
+ source?: {
1307
+ parameter?: string | null;
1308
+ parameterValueIndex?: number | null;
1309
+ pointer?: string | null;
1310
+ } | null;
1311
+ }[];
1312
+ messages: {
1313
+ 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";
1314
+ message: string;
1315
+ documentationUrl?: string | null;
1316
+ meta?: {
1317
+ l10nKey?: string | null;
1318
+ loggableError?: string | null;
1319
+ templateData?: unknown | null;
1320
+ traceId?: string | null;
1321
+ } | null;
1322
+ source?: {
1323
+ parameter?: string | null;
1324
+ parameterValueIndex?: number | null;
1325
+ pointer?: string | null;
1326
+ } | null;
1327
+ }[];
1328
+ success: boolean;
1329
+ }
1330
+ export declare const ApplyOnRampResponse: Schema.Schema<ApplyOnRampResponse>;
1331
+ export type ApplyOnRampError = DefaultErrors;
1332
+ export declare const applyOnRamp: API.OperationMethod<ApplyOnRampRequest, ApplyOnRampResponse, ApplyOnRampError, Credentials | HttpClient.HttpClient>;
1333
+ export interface ExportOnRampRequest {
1334
+ onrampId: string;
1335
+ accountId: string;
1336
+ }
1337
+ export declare const ExportOnRampRequest: Schema.Schema<ExportOnRampRequest>;
1338
+ export type ExportOnRampResponse = unknown;
1339
+ export declare const ExportOnRampResponse: Schema.Schema<unknown>;
1340
+ export type ExportOnRampError = DefaultErrors;
1341
+ export declare const exportOnRamp: API.OperationMethod<ExportOnRampRequest, ExportOnRampResponse, ExportOnRampError, Credentials | HttpClient.HttpClient>;
1342
+ export interface PlanOnRampRequest {
1343
+ onrampId: string;
1344
+ accountId: string;
1345
+ }
1346
+ export declare const PlanOnRampRequest: Schema.Schema<PlanOnRampRequest>;
1347
+ export interface PlanOnRampResponse {
1348
+ errors: {
1349
+ 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";
1350
+ message: string;
1351
+ documentationUrl?: string | null;
1352
+ meta?: {
1353
+ l10nKey?: string | null;
1354
+ loggableError?: string | null;
1355
+ templateData?: unknown | null;
1356
+ traceId?: string | null;
1357
+ } | null;
1358
+ source?: {
1359
+ parameter?: string | null;
1360
+ parameterValueIndex?: number | null;
1361
+ pointer?: string | null;
1362
+ } | null;
1363
+ }[];
1364
+ messages: {
1365
+ 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";
1366
+ message: string;
1367
+ documentationUrl?: string | null;
1368
+ meta?: {
1369
+ l10nKey?: string | null;
1370
+ loggableError?: string | null;
1371
+ templateData?: unknown | null;
1372
+ traceId?: string | null;
1373
+ } | null;
1374
+ source?: {
1375
+ parameter?: string | null;
1376
+ parameterValueIndex?: number | null;
1377
+ pointer?: string | null;
1378
+ } | null;
1379
+ }[];
1380
+ success: boolean;
1381
+ }
1382
+ export declare const PlanOnRampResponse: Schema.Schema<PlanOnRampResponse>;
1383
+ export type PlanOnRampError = DefaultErrors;
1384
+ export declare const planOnRamp: API.OperationMethod<PlanOnRampRequest, PlanOnRampResponse, PlanOnRampError, Credentials | HttpClient.HttpClient>;
1385
+ export interface ListOnRampAddressSpacesRequest {
1386
+ accountId: string;
1387
+ }
1388
+ export declare const ListOnRampAddressSpacesRequest: Schema.Schema<ListOnRampAddressSpacesRequest>;
1389
+ export interface ListOnRampAddressSpacesResponse {
1390
+ prefixes: string[];
1391
+ }
1392
+ export declare const ListOnRampAddressSpacesResponse: Schema.Schema<ListOnRampAddressSpacesResponse>;
1393
+ export type ListOnRampAddressSpacesError = DefaultErrors;
1394
+ export declare const listOnRampAddressSpaces: API.OperationMethod<ListOnRampAddressSpacesRequest, ListOnRampAddressSpacesResponse, ListOnRampAddressSpacesError, Credentials | HttpClient.HttpClient>;
1395
+ export interface PutOnRampAddressSpaceRequest {
1396
+ /** Path param: */
1397
+ accountId: string;
1398
+ /** Body param: */
1399
+ prefixes: string[];
1400
+ }
1401
+ export declare const PutOnRampAddressSpaceRequest: Schema.Schema<PutOnRampAddressSpaceRequest>;
1402
+ export interface PutOnRampAddressSpaceResponse {
1403
+ prefixes: string[];
1404
+ }
1405
+ export declare const PutOnRampAddressSpaceResponse: Schema.Schema<PutOnRampAddressSpaceResponse>;
1406
+ export type PutOnRampAddressSpaceError = DefaultErrors;
1407
+ export declare const putOnRampAddressSpace: API.OperationMethod<PutOnRampAddressSpaceRequest, PutOnRampAddressSpaceResponse, PutOnRampAddressSpaceError, Credentials | HttpClient.HttpClient>;
1408
+ export interface PatchOnRampAddressSpaceRequest {
1409
+ /** Path param: */
1410
+ accountId: string;
1411
+ /** Body param: */
1412
+ prefixes: string[];
1413
+ }
1414
+ export declare const PatchOnRampAddressSpaceRequest: Schema.Schema<PatchOnRampAddressSpaceRequest>;
1415
+ export interface PatchOnRampAddressSpaceResponse {
1416
+ prefixes: string[];
1417
+ }
1418
+ export declare const PatchOnRampAddressSpaceResponse: Schema.Schema<PatchOnRampAddressSpaceResponse>;
1419
+ export type PatchOnRampAddressSpaceError = DefaultErrors;
1420
+ export declare const patchOnRampAddressSpace: API.OperationMethod<PatchOnRampAddressSpaceRequest, PatchOnRampAddressSpaceResponse, PatchOnRampAddressSpaceError, Credentials | HttpClient.HttpClient>;
1421
+ export interface PolicyPreviewResourceRequest {
1422
+ /** Path param: */
1423
+ accountId: string;
1424
+ /** Body param: */
1425
+ policy: string;
1426
+ }
1427
+ export declare const PolicyPreviewResourceRequest: Schema.Schema<PolicyPreviewResourceRequest>;
1428
+ export type PolicyPreviewResourceResponse = string;
1429
+ export declare const PolicyPreviewResourceResponse: Schema.Schema<string>;
1430
+ export type PolicyPreviewResourceError = DefaultErrors;
1431
+ export declare const policyPreviewResource: API.OperationMethod<PolicyPreviewResourceRequest, PolicyPreviewResourceResponse, PolicyPreviewResourceError, Credentials | HttpClient.HttpClient>;
1432
+ export interface GetResourceRequest {
1433
+ resourceId: string;
1434
+ /** Path param: */
1435
+ accountId: string;
1436
+ /** Query param: */
1437
+ v2?: boolean;
1438
+ }
1439
+ export declare const GetResourceRequest: Schema.Schema<GetResourceRequest>;
1440
+ export interface GetResourceResponse {
1441
+ id: string;
1442
+ accountId: string;
1443
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
1444
+ config: Record<string, unknown>;
1445
+ deploymentProvider: string;
1446
+ managed: boolean;
1447
+ monthlyCostEstimate: {
1448
+ currency: string;
1449
+ monthlyCost: number;
1450
+ };
1451
+ name: string;
1452
+ nativeId: string;
1453
+ observations: Record<string, unknown>;
1454
+ providerIds: string[];
1455
+ providerNamesById: Record<string, unknown>;
1456
+ region: string;
1457
+ resourceGroup: string;
1458
+ 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";
1459
+ sections: {
1460
+ hiddenItems: {
1461
+ helpText?: string | null;
1462
+ name?: string | null;
1463
+ value?: {
1464
+ itemType: string;
1465
+ string: string;
1466
+ } | {
1467
+ itemType: string;
1468
+ yaml: string;
1469
+ } | {
1470
+ itemType: string;
1471
+ yamlDiff: {
1472
+ diff: string;
1473
+ leftDescription: string;
1474
+ leftYaml: string;
1475
+ rightDescription: string;
1476
+ rightYaml: string;
1477
+ };
1478
+ } | {
1479
+ itemType: string;
1480
+ resourcePreview: {
1481
+ id: string;
1482
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
1483
+ detail: string;
1484
+ name: string;
1485
+ 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";
1486
+ title: string;
1487
+ };
1488
+ } | {
1489
+ itemType: string;
1490
+ list: ({
1491
+ itemType: string;
1492
+ string: string;
1493
+ } | {
1494
+ itemType: string;
1495
+ resourcePreview: {
1496
+ id: string;
1497
+ cloudType: unknown;
1498
+ detail: string;
1499
+ name: string;
1500
+ resourceType: unknown;
1501
+ title: string;
1502
+ };
1503
+ })[];
1504
+ } | null;
1505
+ }[];
1506
+ name: string;
1507
+ visibleItems: {
1508
+ helpText?: string | null;
1509
+ name?: string | null;
1510
+ value?: {
1511
+ itemType: string;
1512
+ string: string;
1513
+ } | {
1514
+ itemType: string;
1515
+ yaml: string;
1516
+ } | {
1517
+ itemType: string;
1518
+ yamlDiff: {
1519
+ diff: string;
1520
+ leftDescription: string;
1521
+ leftYaml: string;
1522
+ rightDescription: string;
1523
+ rightYaml: string;
1524
+ };
1525
+ } | {
1526
+ itemType: string;
1527
+ resourcePreview: {
1528
+ id: string;
1529
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
1530
+ detail: string;
1531
+ name: string;
1532
+ 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";
1533
+ title: string;
1534
+ };
1535
+ } | {
1536
+ itemType: string;
1537
+ list: ({
1538
+ itemType: string;
1539
+ string: string;
1540
+ } | {
1541
+ itemType: string;
1542
+ resourcePreview: {
1543
+ id: string;
1544
+ cloudType: unknown;
1545
+ detail: string;
1546
+ name: string;
1547
+ resourceType: unknown;
1548
+ title: string;
1549
+ };
1550
+ })[];
1551
+ } | null;
1552
+ }[];
1553
+ helpText?: string | null;
1554
+ }[];
1555
+ state: Record<string, unknown>;
1556
+ tags: Record<string, unknown>;
1557
+ updatedAt: string;
1558
+ url: string;
1559
+ managedBy?: {
1560
+ id: string;
1561
+ clientType: "MAGIC_WAN_CLOUD_ONRAMP";
1562
+ name: string;
1563
+ }[] | null;
1564
+ }
1565
+ export declare const GetResourceResponse: Schema.Schema<GetResourceResponse>;
1566
+ export type GetResourceError = DefaultErrors;
1567
+ export declare const getResource: API.OperationMethod<GetResourceRequest, GetResourceResponse, GetResourceError, Credentials | HttpClient.HttpClient>;
1568
+ export interface ListResourcesRequest {
1569
+ /** Path param: */
1570
+ accountId: string;
1571
+ /** Query param: */
1572
+ cloudflare?: boolean;
1573
+ /** Query param: */
1574
+ desc?: boolean;
1575
+ /** Query param: */
1576
+ managed?: boolean;
1577
+ /** Query param: One of ["id", "resource_type", "region"]. */
1578
+ orderBy?: string;
1579
+ /** Query param: */
1580
+ providerId?: string;
1581
+ /** Query param: */
1582
+ region?: string;
1583
+ /** Query param: */
1584
+ resourceGroup?: string;
1585
+ /** Query param: */
1586
+ resourceId?: string[];
1587
+ /** Query param: */
1588
+ 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")[];
1589
+ /** Query param: */
1590
+ search?: string[];
1591
+ /** Query param: */
1592
+ v2?: boolean;
1593
+ }
1594
+ export declare const ListResourcesRequest: Schema.Schema<ListResourcesRequest>;
1595
+ export interface ListResourcesResponse {
1596
+ result: {
1597
+ id: string;
1598
+ accountId: string;
1599
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
1600
+ config: Record<string, unknown>;
1601
+ deploymentProvider: string;
1602
+ managed: boolean;
1603
+ monthlyCostEstimate: {
1604
+ currency: string;
1605
+ monthlyCost: number;
1606
+ };
1607
+ name: string;
1608
+ nativeId: string;
1609
+ observations: Record<string, unknown>;
1610
+ providerIds: string[];
1611
+ providerNamesById: Record<string, unknown>;
1612
+ region: string;
1613
+ resourceGroup: string;
1614
+ 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";
1615
+ sections: {
1616
+ hiddenItems: {
1617
+ helpText?: string | null;
1618
+ name?: string | null;
1619
+ value?: {
1620
+ itemType: string;
1621
+ string: string;
1622
+ } | {
1623
+ itemType: string;
1624
+ yaml: string;
1625
+ } | {
1626
+ itemType: string;
1627
+ yamlDiff: {
1628
+ diff: string;
1629
+ leftDescription: string;
1630
+ leftYaml: string;
1631
+ rightDescription: string;
1632
+ rightYaml: string;
1633
+ };
1634
+ } | {
1635
+ itemType: string;
1636
+ resourcePreview: {
1637
+ id: string;
1638
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
1639
+ detail: string;
1640
+ name: string;
1641
+ 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";
1642
+ title: string;
1643
+ };
1644
+ } | {
1645
+ itemType: string;
1646
+ list: ({
1647
+ itemType: unknown;
1648
+ string: unknown;
1649
+ } | {
1650
+ itemType: unknown;
1651
+ resourcePreview: unknown;
1652
+ })[];
1653
+ } | null;
1654
+ }[];
1655
+ name: string;
1656
+ visibleItems: {
1657
+ helpText?: string | null;
1658
+ name?: string | null;
1659
+ value?: {
1660
+ itemType: string;
1661
+ string: string;
1662
+ } | {
1663
+ itemType: string;
1664
+ yaml: string;
1665
+ } | {
1666
+ itemType: string;
1667
+ yamlDiff: {
1668
+ diff: string;
1669
+ leftDescription: string;
1670
+ leftYaml: string;
1671
+ rightDescription: string;
1672
+ rightYaml: string;
1673
+ };
1674
+ } | {
1675
+ itemType: string;
1676
+ resourcePreview: {
1677
+ id: string;
1678
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
1679
+ detail: string;
1680
+ name: string;
1681
+ 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";
1682
+ title: string;
1683
+ };
1684
+ } | {
1685
+ itemType: string;
1686
+ list: ({
1687
+ itemType: unknown;
1688
+ string: unknown;
1689
+ } | {
1690
+ itemType: unknown;
1691
+ resourcePreview: unknown;
1692
+ })[];
1693
+ } | null;
1694
+ }[];
1695
+ helpText?: string | null;
1696
+ }[];
1697
+ state: Record<string, unknown>;
1698
+ tags: Record<string, unknown>;
1699
+ updatedAt: string;
1700
+ url: string;
1701
+ managedBy?: {
1702
+ id: string;
1703
+ clientType: "MAGIC_WAN_CLOUD_ONRAMP";
1704
+ name: string;
1705
+ }[] | null;
1706
+ }[];
1707
+ resultInfo: {
1708
+ count?: number | null;
1709
+ page?: number | null;
1710
+ perPage?: number | null;
1711
+ totalCount?: number | null;
1712
+ };
1713
+ }
1714
+ export declare const ListResourcesResponse: Schema.Schema<ListResourcesResponse>;
1715
+ export type ListResourcesError = DefaultErrors;
1716
+ export declare const listResources: API.PaginatedOperationMethod<ListResourcesRequest, ListResourcesResponse, ListResourcesError, Credentials | HttpClient.HttpClient> & {
1717
+ pages: (input: ListResourcesRequest) => stream.Stream<ListResourcesResponse, ListResourcesError, Credentials | HttpClient.HttpClient>;
1718
+ items: (input: ListResourcesRequest) => stream.Stream<{
1719
+ id: string;
1720
+ accountId: string;
1721
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
1722
+ config: Record<string, unknown>;
1723
+ deploymentProvider: string;
1724
+ managed: boolean;
1725
+ monthlyCostEstimate: {
1726
+ currency: string;
1727
+ monthlyCost: number;
1728
+ };
1729
+ name: string;
1730
+ nativeId: string;
1731
+ observations: Record<string, unknown>;
1732
+ providerIds: string[];
1733
+ providerNamesById: Record<string, unknown>;
1734
+ region: string;
1735
+ resourceGroup: string;
1736
+ 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";
1737
+ sections: {
1738
+ hiddenItems: {
1739
+ helpText?: string | null;
1740
+ name?: string | null;
1741
+ value?: {
1742
+ itemType: string;
1743
+ string: string;
1744
+ } | {
1745
+ itemType: string;
1746
+ yaml: string;
1747
+ } | {
1748
+ itemType: string;
1749
+ yamlDiff: {
1750
+ diff: string;
1751
+ leftDescription: string;
1752
+ leftYaml: string;
1753
+ rightDescription: string;
1754
+ rightYaml: string;
1755
+ };
1756
+ } | {
1757
+ itemType: string;
1758
+ resourcePreview: {
1759
+ id: string;
1760
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
1761
+ detail: string;
1762
+ name: string;
1763
+ 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";
1764
+ title: string;
1765
+ };
1766
+ } | {
1767
+ itemType: string;
1768
+ list: ({
1769
+ itemType: string;
1770
+ string: string;
1771
+ } | {
1772
+ itemType: string;
1773
+ resourcePreview: {
1774
+ id: unknown;
1775
+ cloudType: unknown;
1776
+ detail: unknown;
1777
+ name: unknown;
1778
+ resourceType: unknown;
1779
+ title: unknown;
1780
+ };
1781
+ })[];
1782
+ } | null;
1783
+ }[];
1784
+ name: string;
1785
+ visibleItems: {
1786
+ helpText?: string | null;
1787
+ name?: string | null;
1788
+ value?: {
1789
+ itemType: string;
1790
+ string: string;
1791
+ } | {
1792
+ itemType: string;
1793
+ yaml: string;
1794
+ } | {
1795
+ itemType: string;
1796
+ yamlDiff: {
1797
+ diff: string;
1798
+ leftDescription: string;
1799
+ leftYaml: string;
1800
+ rightDescription: string;
1801
+ rightYaml: string;
1802
+ };
1803
+ } | {
1804
+ itemType: string;
1805
+ resourcePreview: {
1806
+ id: string;
1807
+ cloudType: "AWS" | "AZURE" | "GOOGLE" | "CLOUDFLARE";
1808
+ detail: string;
1809
+ name: string;
1810
+ 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";
1811
+ title: string;
1812
+ };
1813
+ } | {
1814
+ itemType: string;
1815
+ list: ({
1816
+ itemType: string;
1817
+ string: string;
1818
+ } | {
1819
+ itemType: string;
1820
+ resourcePreview: {
1821
+ id: unknown;
1822
+ cloudType: unknown;
1823
+ detail: unknown;
1824
+ name: unknown;
1825
+ resourceType: unknown;
1826
+ title: unknown;
1827
+ };
1828
+ })[];
1829
+ } | null;
1830
+ }[];
1831
+ helpText?: string | null;
1832
+ }[];
1833
+ state: Record<string, unknown>;
1834
+ tags: Record<string, unknown>;
1835
+ updatedAt: string;
1836
+ url: string;
1837
+ managedBy?: {
1838
+ id: string;
1839
+ clientType: "MAGIC_WAN_CLOUD_ONRAMP";
1840
+ name: string;
1841
+ }[] | null;
1842
+ }, ListResourcesError, Credentials | HttpClient.HttpClient>;
1843
+ };
1844
+ export interface ExportResourceRequest {
1845
+ /** Path param: */
1846
+ accountId: string;
1847
+ /** Query param: */
1848
+ desc?: boolean;
1849
+ /** Query param: One of ["id", "resource_type", "region"]. */
1850
+ orderBy?: string;
1851
+ /** Query param: */
1852
+ providerId?: string;
1853
+ /** Query param: */
1854
+ region?: string;
1855
+ /** Query param: */
1856
+ resourceGroup?: string;
1857
+ /** Query param: */
1858
+ resourceId?: string[];
1859
+ /** Query param: */
1860
+ 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")[];
1861
+ /** Query param: */
1862
+ search?: string[];
1863
+ /** Query param: */
1864
+ v2?: boolean;
1865
+ }
1866
+ export declare const ExportResourceRequest: Schema.Schema<ExportResourceRequest>;
1867
+ export type ExportResourceResponse = unknown;
1868
+ export declare const ExportResourceResponse: Schema.Schema<unknown>;
1869
+ export type ExportResourceError = DefaultErrors;
1870
+ export declare const exportResource: API.OperationMethod<ExportResourceRequest, ExportResourceResponse, ExportResourceError, Credentials | HttpClient.HttpClient>;
1871
+ export interface InitialSetupCloudIntegrationRequest {
1872
+ providerId: string;
1873
+ accountId: string;
1874
+ }
1875
+ export declare const InitialSetupCloudIntegrationRequest: Schema.Schema<InitialSetupCloudIntegrationRequest>;
1876
+ export type InitialSetupCloudIntegrationResponse = {
1877
+ awsTrustPolicy: string;
1878
+ itemType: string;
1879
+ } | {
1880
+ azureConsentUrl: string;
1881
+ integrationIdentityTag: string;
1882
+ itemType: string;
1883
+ tagCliCommand: string;
1884
+ } | {
1885
+ integrationIdentityTag: string;
1886
+ itemType: string;
1887
+ tagCliCommand: string;
1888
+ };
1889
+ export declare const InitialSetupCloudIntegrationResponse: Schema.Schema<InitialSetupCloudIntegrationResponse>;
1890
+ export type InitialSetupCloudIntegrationError = DefaultErrors;
1891
+ export declare const initialSetupCloudIntegration: API.OperationMethod<InitialSetupCloudIntegrationRequest, InitialSetupCloudIntegrationResponse, InitialSetupCloudIntegrationError, Credentials | HttpClient.HttpClient>;
1892
+ //# sourceMappingURL=magic-cloud-networking.d.ts.map