@distilled.cloud/cloudflare 0.0.0 → 0.2.0-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (560) hide show
  1. package/lib/auth.d.ts +13 -0
  2. package/lib/auth.d.ts.map +1 -0
  3. package/lib/auth.js +12 -0
  4. package/lib/auth.js.map +1 -0
  5. package/lib/category.d.ts +2 -0
  6. package/lib/category.d.ts.map +1 -0
  7. package/lib/category.js +2 -0
  8. package/lib/category.js.map +1 -0
  9. package/lib/client/api.d.ts +14 -0
  10. package/lib/client/api.d.ts.map +1 -0
  11. package/lib/client/api.js +197 -0
  12. package/lib/client/api.js.map +1 -0
  13. package/lib/client/index.d.ts +8 -0
  14. package/lib/client/index.d.ts.map +1 -0
  15. package/lib/client/index.js +8 -0
  16. package/lib/client/index.js.map +1 -0
  17. package/lib/credentials.d.ts +14 -0
  18. package/lib/credentials.d.ts.map +1 -0
  19. package/lib/credentials.js +17 -0
  20. package/lib/credentials.js.map +1 -0
  21. package/lib/errors.d.ts +48 -0
  22. package/lib/errors.d.ts.map +1 -0
  23. package/lib/errors.js +38 -0
  24. package/lib/errors.js.map +1 -0
  25. package/lib/index.d.ts +10 -0
  26. package/lib/index.d.ts.map +1 -0
  27. package/lib/index.js +10 -0
  28. package/lib/index.js.map +1 -0
  29. package/lib/retry.d.ts +14 -0
  30. package/lib/retry.d.ts.map +1 -0
  31. package/lib/retry.js +14 -0
  32. package/lib/retry.js.map +1 -0
  33. package/lib/schemas.d.ts +29 -0
  34. package/lib/schemas.d.ts.map +1 -0
  35. package/lib/schemas.js +34 -0
  36. package/lib/schemas.js.map +1 -0
  37. package/lib/services/abuse-reports.d.ts +224 -0
  38. package/lib/services/abuse-reports.d.ts.map +1 -0
  39. package/lib/services/abuse-reports.js +353 -0
  40. package/lib/services/abuse-reports.js.map +1 -0
  41. package/lib/services/accounts.d.ts +682 -0
  42. package/lib/services/accounts.d.ts.map +1 -0
  43. package/lib/services/accounts.js +805 -0
  44. package/lib/services/accounts.js.map +1 -0
  45. package/lib/services/acm.d.ts +73 -0
  46. package/lib/services/acm.d.ts.map +1 -0
  47. package/lib/services/acm.js +76 -0
  48. package/lib/services/acm.js.map +1 -0
  49. package/lib/services/addressing.d.ts +1208 -0
  50. package/lib/services/addressing.d.ts.map +1 -0
  51. package/lib/services/addressing.js +1776 -0
  52. package/lib/services/addressing.js.map +1 -0
  53. package/lib/services/ai-gateway.d.ts +956 -0
  54. package/lib/services/ai-gateway.d.ts.map +1 -0
  55. package/lib/services/ai-gateway.js +1706 -0
  56. package/lib/services/ai-gateway.js.map +1 -0
  57. package/lib/services/ai.d.ts +243 -0
  58. package/lib/services/ai.d.ts.map +1 -0
  59. package/lib/services/ai.js +299 -0
  60. package/lib/services/ai.js.map +1 -0
  61. package/lib/services/aisearch.d.ts +915 -0
  62. package/lib/services/aisearch.d.ts.map +1 -0
  63. package/lib/services/aisearch.js +2425 -0
  64. package/lib/services/aisearch.js.map +1 -0
  65. package/lib/services/alerting.d.ts +718 -0
  66. package/lib/services/alerting.d.ts.map +1 -0
  67. package/lib/services/alerting.js +1388 -0
  68. package/lib/services/alerting.js.map +1 -0
  69. package/lib/services/api-gateway.d.ts +830 -0
  70. package/lib/services/api-gateway.d.ts.map +1 -0
  71. package/lib/services/api-gateway.js +1548 -0
  72. package/lib/services/api-gateway.js.map +1 -0
  73. package/lib/services/argo.d.ts +101 -0
  74. package/lib/services/argo.d.ts.map +1 -0
  75. package/lib/services/argo.js +105 -0
  76. package/lib/services/argo.js.map +1 -0
  77. package/lib/services/audit-logs.d.ts +46 -0
  78. package/lib/services/audit-logs.d.ts.map +1 -0
  79. package/lib/services/audit-logs.js +37 -0
  80. package/lib/services/audit-logs.js.map +1 -0
  81. package/lib/services/billing.d.ts +62 -0
  82. package/lib/services/billing.d.ts.map +1 -0
  83. package/lib/services/billing.js +100 -0
  84. package/lib/services/billing.js.map +1 -0
  85. package/lib/services/bot-management.d.ts +124 -0
  86. package/lib/services/bot-management.d.ts.map +1 -0
  87. package/lib/services/bot-management.js +262 -0
  88. package/lib/services/bot-management.js.map +1 -0
  89. package/lib/services/botnet-feed.d.ts +65 -0
  90. package/lib/services/botnet-feed.d.ts.map +1 -0
  91. package/lib/services/botnet-feed.js +84 -0
  92. package/lib/services/botnet-feed.js.map +1 -0
  93. package/lib/services/brand-protection.d.ts +188 -0
  94. package/lib/services/brand-protection.d.ts.map +1 -0
  95. package/lib/services/brand-protection.js +214 -0
  96. package/lib/services/brand-protection.js.map +1 -0
  97. package/lib/services/browser-rendering.d.ts +857 -0
  98. package/lib/services/browser-rendering.d.ts.map +1 -0
  99. package/lib/services/browser-rendering.js +1141 -0
  100. package/lib/services/browser-rendering.js.map +1 -0
  101. package/lib/services/cache.d.ts +287 -0
  102. package/lib/services/cache.d.ts.map +1 -0
  103. package/lib/services/cache.js +330 -0
  104. package/lib/services/cache.js.map +1 -0
  105. package/lib/services/calls.d.ts +202 -0
  106. package/lib/services/calls.d.ts.map +1 -0
  107. package/lib/services/calls.js +175 -0
  108. package/lib/services/calls.js.map +1 -0
  109. package/lib/services/certificate-authorities.d.ts +40 -0
  110. package/lib/services/certificate-authorities.d.ts.map +1 -0
  111. package/lib/services/certificate-authorities.js +49 -0
  112. package/lib/services/certificate-authorities.js.map +1 -0
  113. package/lib/services/client-certificates.d.ts +254 -0
  114. package/lib/services/client-certificates.d.ts.map +1 -0
  115. package/lib/services/client-certificates.js +350 -0
  116. package/lib/services/client-certificates.js.map +1 -0
  117. package/lib/services/cloud-connector.d.ts +59 -0
  118. package/lib/services/cloud-connector.d.ts.map +1 -0
  119. package/lib/services/cloud-connector.js +84 -0
  120. package/lib/services/cloud-connector.js.map +1 -0
  121. package/lib/services/cloudforce-one.d.ts +1318 -0
  122. package/lib/services/cloudforce-one.d.ts.map +1 -0
  123. package/lib/services/cloudforce-one.js +1684 -0
  124. package/lib/services/cloudforce-one.js.map +1 -0
  125. package/lib/services/connectivity.d.ts +248 -0
  126. package/lib/services/connectivity.d.ts.map +1 -0
  127. package/lib/services/connectivity.js +377 -0
  128. package/lib/services/connectivity.js.map +1 -0
  129. package/lib/services/content-scanning.d.ts +131 -0
  130. package/lib/services/content-scanning.d.ts.map +1 -0
  131. package/lib/services/content-scanning.js +156 -0
  132. package/lib/services/content-scanning.js.map +1 -0
  133. package/lib/services/custom-certificates.d.ts +211 -0
  134. package/lib/services/custom-certificates.d.ts.map +1 -0
  135. package/lib/services/custom-certificates.js +309 -0
  136. package/lib/services/custom-certificates.js.map +1 -0
  137. package/lib/services/custom-hostnames.d.ts +525 -0
  138. package/lib/services/custom-hostnames.d.ts.map +1 -0
  139. package/lib/services/custom-hostnames.js +1164 -0
  140. package/lib/services/custom-hostnames.js.map +1 -0
  141. package/lib/services/custom-nameservers.d.ts +67 -0
  142. package/lib/services/custom-nameservers.d.ts.map +1 -0
  143. package/lib/services/custom-nameservers.js +80 -0
  144. package/lib/services/custom-nameservers.js.map +1 -0
  145. package/lib/services/custom-pages.d.ts +74 -0
  146. package/lib/services/custom-pages.d.ts.map +1 -0
  147. package/lib/services/custom-pages.js +125 -0
  148. package/lib/services/custom-pages.js.map +1 -0
  149. package/lib/services/d1.d.ts +326 -0
  150. package/lib/services/d1.d.ts.map +1 -0
  151. package/lib/services/d1.js +448 -0
  152. package/lib/services/d1.js.map +1 -0
  153. package/lib/services/dcv-delegation.d.ts +24 -0
  154. package/lib/services/dcv-delegation.d.ts.map +1 -0
  155. package/lib/services/dcv-delegation.js +24 -0
  156. package/lib/services/dcv-delegation.js.map +1 -0
  157. package/lib/services/diagnostics.d.ts +175 -0
  158. package/lib/services/diagnostics.d.ts.map +1 -0
  159. package/lib/services/diagnostics.js +273 -0
  160. package/lib/services/diagnostics.js.map +1 -0
  161. package/lib/services/dns-firewall.d.ts +288 -0
  162. package/lib/services/dns-firewall.d.ts.map +1 -0
  163. package/lib/services/dns-firewall.js +373 -0
  164. package/lib/services/dns-firewall.js.map +1 -0
  165. package/lib/services/dns.d.ts +2946 -0
  166. package/lib/services/dns.d.ts.map +1 -0
  167. package/lib/services/dns.js +4511 -0
  168. package/lib/services/dns.js.map +1 -0
  169. package/lib/services/durable-objects.d.ts +61 -0
  170. package/lib/services/durable-objects.d.ts.map +1 -0
  171. package/lib/services/durable-objects.js +66 -0
  172. package/lib/services/durable-objects.js.map +1 -0
  173. package/lib/services/email-routing.d.ts +542 -0
  174. package/lib/services/email-routing.d.ts.map +1 -0
  175. package/lib/services/email-routing.js +662 -0
  176. package/lib/services/email-routing.js.map +1 -0
  177. package/lib/services/email-security.d.ts +1131 -0
  178. package/lib/services/email-security.d.ts.map +1 -0
  179. package/lib/services/email-security.js +2065 -0
  180. package/lib/services/email-security.js.map +1 -0
  181. package/lib/services/filters.d.ts +157 -0
  182. package/lib/services/filters.d.ts.map +1 -0
  183. package/lib/services/filters.js +135 -0
  184. package/lib/services/filters.js.map +1 -0
  185. package/lib/services/firewall.d.ts +1080 -0
  186. package/lib/services/firewall.d.ts.map +1 -0
  187. package/lib/services/firewall.js +1881 -0
  188. package/lib/services/firewall.js.map +1 -0
  189. package/lib/services/healthchecks.d.ts +464 -0
  190. package/lib/services/healthchecks.d.ts.map +1 -0
  191. package/lib/services/healthchecks.js +838 -0
  192. package/lib/services/healthchecks.js.map +1 -0
  193. package/lib/services/hostnames.d.ts +74 -0
  194. package/lib/services/hostnames.d.ts.map +1 -0
  195. package/lib/services/hostnames.js +100 -0
  196. package/lib/services/hostnames.js.map +1 -0
  197. package/lib/services/hyperdrive.d.ts +203 -0
  198. package/lib/services/hyperdrive.d.ts.map +1 -0
  199. package/lib/services/hyperdrive.js +299 -0
  200. package/lib/services/hyperdrive.js.map +1 -0
  201. package/lib/services/iam.d.ts +554 -0
  202. package/lib/services/iam.d.ts.map +1 -0
  203. package/lib/services/iam.js +743 -0
  204. package/lib/services/iam.js.map +1 -0
  205. package/lib/services/images.d.ts +403 -0
  206. package/lib/services/images.d.ts.map +1 -0
  207. package/lib/services/images.js +417 -0
  208. package/lib/services/images.js.map +1 -0
  209. package/lib/services/intel.d.ts +768 -0
  210. package/lib/services/intel.d.ts.map +1 -0
  211. package/lib/services/intel.js +1179 -0
  212. package/lib/services/intel.js.map +1 -0
  213. package/lib/services/ips.d.ts +28 -0
  214. package/lib/services/ips.d.ts.map +1 -0
  215. package/lib/services/ips.js +39 -0
  216. package/lib/services/ips.js.map +1 -0
  217. package/lib/services/keyless-certificates.d.ts +177 -0
  218. package/lib/services/keyless-certificates.d.ts.map +1 -0
  219. package/lib/services/keyless-certificates.js +216 -0
  220. package/lib/services/keyless-certificates.js.map +1 -0
  221. package/lib/services/kv.d.ts +339 -0
  222. package/lib/services/kv.d.ts.map +1 -0
  223. package/lib/services/kv.js +402 -0
  224. package/lib/services/kv.js.map +1 -0
  225. package/lib/services/leaked-credential-checks.d.ts +119 -0
  226. package/lib/services/leaked-credential-checks.d.ts.map +1 -0
  227. package/lib/services/leaked-credential-checks.js +130 -0
  228. package/lib/services/leaked-credential-checks.js.map +1 -0
  229. package/lib/services/load-balancers.d.ts +1767 -0
  230. package/lib/services/load-balancers.d.ts.map +1 -0
  231. package/lib/services/load-balancers.js +3068 -0
  232. package/lib/services/load-balancers.js.map +1 -0
  233. package/lib/services/logpush.d.ts +401 -0
  234. package/lib/services/logpush.d.ts.map +1 -0
  235. package/lib/services/logpush.js +724 -0
  236. package/lib/services/logpush.js.map +1 -0
  237. package/lib/services/logs.d.ts +125 -0
  238. package/lib/services/logs.d.ts.map +1 -0
  239. package/lib/services/logs.js +145 -0
  240. package/lib/services/logs.js.map +1 -0
  241. package/lib/services/magic-cloud-networking.d.ts +1599 -0
  242. package/lib/services/magic-cloud-networking.d.ts.map +1 -0
  243. package/lib/services/magic-cloud-networking.js +5205 -0
  244. package/lib/services/magic-cloud-networking.js.map +1 -0
  245. package/lib/services/magic-network-monitoring.d.ts +379 -0
  246. package/lib/services/magic-network-monitoring.d.ts.map +1 -0
  247. package/lib/services/magic-network-monitoring.js +535 -0
  248. package/lib/services/magic-network-monitoring.js.map +1 -0
  249. package/lib/services/magic-transit.d.ts +3650 -0
  250. package/lib/services/magic-transit.d.ts.map +1 -0
  251. package/lib/services/magic-transit.js +6120 -0
  252. package/lib/services/magic-transit.js.map +1 -0
  253. package/lib/services/managed-transforms.d.ts +79 -0
  254. package/lib/services/managed-transforms.d.ts.map +1 -0
  255. package/lib/services/managed-transforms.js +107 -0
  256. package/lib/services/managed-transforms.js.map +1 -0
  257. package/lib/services/memberships.d.ts +172 -0
  258. package/lib/services/memberships.d.ts.map +1 -0
  259. package/lib/services/memberships.js +282 -0
  260. package/lib/services/memberships.js.map +1 -0
  261. package/lib/services/mtls-certificates.d.ts +140 -0
  262. package/lib/services/mtls-certificates.d.ts.map +1 -0
  263. package/lib/services/mtls-certificates.js +173 -0
  264. package/lib/services/mtls-certificates.js.map +1 -0
  265. package/lib/services/network-interconnects.d.ts +410 -0
  266. package/lib/services/network-interconnects.d.ts.map +1 -0
  267. package/lib/services/network-interconnects.js +583 -0
  268. package/lib/services/network-interconnects.js.map +1 -0
  269. package/lib/services/organizations.d.ts +201 -0
  270. package/lib/services/organizations.d.ts.map +1 -0
  271. package/lib/services/organizations.js +355 -0
  272. package/lib/services/organizations.js.map +1 -0
  273. package/lib/services/origin-ca-certificates.d.ts +99 -0
  274. package/lib/services/origin-ca-certificates.d.ts.map +1 -0
  275. package/lib/services/origin-ca-certificates.js +156 -0
  276. package/lib/services/origin-ca-certificates.js.map +1 -0
  277. package/lib/services/origin-post-quantum-encryption.d.ts +50 -0
  278. package/lib/services/origin-post-quantum-encryption.d.ts.map +1 -0
  279. package/lib/services/origin-post-quantum-encryption.js +60 -0
  280. package/lib/services/origin-post-quantum-encryption.js.map +1 -0
  281. package/lib/services/origin-tls-client-auth.d.ts +273 -0
  282. package/lib/services/origin-tls-client-auth.d.ts.map +1 -0
  283. package/lib/services/origin-tls-client-auth.js +401 -0
  284. package/lib/services/origin-tls-client-auth.js.map +1 -0
  285. package/lib/services/page-rules.d.ts +773 -0
  286. package/lib/services/page-rules.d.ts.map +1 -0
  287. package/lib/services/page-rules.js +1365 -0
  288. package/lib/services/page-rules.js.map +1 -0
  289. package/lib/services/page-shield.d.ts +426 -0
  290. package/lib/services/page-shield.d.ts.map +1 -0
  291. package/lib/services/page-shield.js +484 -0
  292. package/lib/services/page-shield.js.map +1 -0
  293. package/lib/services/pages.d.ts +1654 -0
  294. package/lib/services/pages.d.ts.map +1 -0
  295. package/lib/services/pages.js +2954 -0
  296. package/lib/services/pages.js.map +1 -0
  297. package/lib/services/pipelines.d.ts +1461 -0
  298. package/lib/services/pipelines.d.ts.map +1 -0
  299. package/lib/services/pipelines.js +2912 -0
  300. package/lib/services/pipelines.js.map +1 -0
  301. package/lib/services/queues.d.ts +807 -0
  302. package/lib/services/queues.d.ts.map +1 -0
  303. package/lib/services/queues.js +1194 -0
  304. package/lib/services/queues.js.map +1 -0
  305. package/lib/services/r2-data-catalog.d.ts +341 -0
  306. package/lib/services/r2-data-catalog.d.ts.map +1 -0
  307. package/lib/services/r2-data-catalog.js +499 -0
  308. package/lib/services/r2-data-catalog.js.map +1 -0
  309. package/lib/services/r2.d.ts +1041 -0
  310. package/lib/services/r2.d.ts.map +1 -0
  311. package/lib/services/r2.js +1384 -0
  312. package/lib/services/r2.js.map +1 -0
  313. package/lib/services/radar.d.ts +9276 -0
  314. package/lib/services/radar.d.ts.map +1 -0
  315. package/lib/services/radar.js +20491 -0
  316. package/lib/services/radar.js.map +1 -0
  317. package/lib/services/rate-limits.d.ts +315 -0
  318. package/lib/services/rate-limits.d.ts.map +1 -0
  319. package/lib/services/rate-limits.js +521 -0
  320. package/lib/services/rate-limits.js.map +1 -0
  321. package/lib/services/realtime-kit.d.ts +2728 -0
  322. package/lib/services/realtime-kit.d.ts.map +1 -0
  323. package/lib/services/realtime-kit.js +5401 -0
  324. package/lib/services/realtime-kit.js.map +1 -0
  325. package/lib/services/registrar.d.ts +81 -0
  326. package/lib/services/registrar.d.ts.map +1 -0
  327. package/lib/services/registrar.js +154 -0
  328. package/lib/services/registrar.js.map +1 -0
  329. package/lib/services/request-tracers.d.ts +61 -0
  330. package/lib/services/request-tracers.d.ts.map +1 -0
  331. package/lib/services/request-tracers.js +82 -0
  332. package/lib/services/request-tracers.js.map +1 -0
  333. package/lib/services/resource-sharing.d.ts +540 -0
  334. package/lib/services/resource-sharing.d.ts.map +1 -0
  335. package/lib/services/resource-sharing.js +846 -0
  336. package/lib/services/resource-sharing.js.map +1 -0
  337. package/lib/services/rules.d.ts +297 -0
  338. package/lib/services/rules.d.ts.map +1 -0
  339. package/lib/services/rules.js +396 -0
  340. package/lib/services/rules.js.map +1 -0
  341. package/lib/services/rulesets.d.ts +3300 -0
  342. package/lib/services/rulesets.d.ts.map +1 -0
  343. package/lib/services/rulesets.js +7852 -0
  344. package/lib/services/rulesets.js.map +1 -0
  345. package/lib/services/rum.d.ts +289 -0
  346. package/lib/services/rum.d.ts.map +1 -0
  347. package/lib/services/rum.js +409 -0
  348. package/lib/services/rum.js.map +1 -0
  349. package/lib/services/schema-validation.d.ts +240 -0
  350. package/lib/services/schema-validation.d.ts.map +1 -0
  351. package/lib/services/schema-validation.js +306 -0
  352. package/lib/services/schema-validation.js.map +1 -0
  353. package/lib/services/secrets-store.d.ts +321 -0
  354. package/lib/services/secrets-store.d.ts.map +1 -0
  355. package/lib/services/secrets-store.js +385 -0
  356. package/lib/services/secrets-store.js.map +1 -0
  357. package/lib/services/security-center.d.ts +102 -0
  358. package/lib/services/security-center.d.ts.map +1 -0
  359. package/lib/services/security-center.js +170 -0
  360. package/lib/services/security-center.js.map +1 -0
  361. package/lib/services/security-txt.d.ts +105 -0
  362. package/lib/services/security-txt.d.ts.map +1 -0
  363. package/lib/services/security-txt.js +136 -0
  364. package/lib/services/security-txt.js.map +1 -0
  365. package/lib/services/snippets.d.ts +138 -0
  366. package/lib/services/snippets.d.ts.map +1 -0
  367. package/lib/services/snippets.js +178 -0
  368. package/lib/services/snippets.js.map +1 -0
  369. package/lib/services/spectrum.d.ts +316 -0
  370. package/lib/services/spectrum.d.ts.map +1 -0
  371. package/lib/services/spectrum.js +510 -0
  372. package/lib/services/spectrum.js.map +1 -0
  373. package/lib/services/speed.d.ts +227 -0
  374. package/lib/services/speed.d.ts.map +1 -0
  375. package/lib/services/speed.js +444 -0
  376. package/lib/services/speed.js.map +1 -0
  377. package/lib/services/ssl.d.ts +370 -0
  378. package/lib/services/ssl.d.ts.map +1 -0
  379. package/lib/services/ssl.js +732 -0
  380. package/lib/services/ssl.js.map +1 -0
  381. package/lib/services/stream.d.ts +1014 -0
  382. package/lib/services/stream.d.ts.map +1 -0
  383. package/lib/services/stream.js +1049 -0
  384. package/lib/services/stream.js.map +1 -0
  385. package/lib/services/token-validation.d.ts +547 -0
  386. package/lib/services/token-validation.d.ts.map +1 -0
  387. package/lib/services/token-validation.js +768 -0
  388. package/lib/services/token-validation.js.map +1 -0
  389. package/lib/services/turnstile.d.ts +248 -0
  390. package/lib/services/turnstile.d.ts.map +1 -0
  391. package/lib/services/turnstile.js +308 -0
  392. package/lib/services/turnstile.js.map +1 -0
  393. package/lib/services/url-normalization.d.ts +53 -0
  394. package/lib/services/url-normalization.d.ts.map +1 -0
  395. package/lib/services/url-normalization.js +52 -0
  396. package/lib/services/url-normalization.js.map +1 -0
  397. package/lib/services/url-scanner.d.ts +612 -0
  398. package/lib/services/url-scanner.d.ts.map +1 -0
  399. package/lib/services/url-scanner.js +915 -0
  400. package/lib/services/url-scanner.js.map +1 -0
  401. package/lib/services/user.d.ts +441 -0
  402. package/lib/services/user.d.ts.map +1 -0
  403. package/lib/services/user.js +567 -0
  404. package/lib/services/user.js.map +1 -0
  405. package/lib/services/vectorize.d.ts +282 -0
  406. package/lib/services/vectorize.d.ts.map +1 -0
  407. package/lib/services/vectorize.js +340 -0
  408. package/lib/services/vectorize.js.map +1 -0
  409. package/lib/services/waiting-rooms.d.ts +1009 -0
  410. package/lib/services/waiting-rooms.d.ts.map +1 -0
  411. package/lib/services/waiting-rooms.js +1757 -0
  412. package/lib/services/waiting-rooms.js.map +1 -0
  413. package/lib/services/web3.d.ts +274 -0
  414. package/lib/services/web3.d.ts.map +1 -0
  415. package/lib/services/web3.js +362 -0
  416. package/lib/services/web3.js.map +1 -0
  417. package/lib/services/workers-for-platforms.d.ts +1224 -0
  418. package/lib/services/workers-for-platforms.d.ts.map +1 -0
  419. package/lib/services/workers-for-platforms.js +2078 -0
  420. package/lib/services/workers-for-platforms.js.map +1 -0
  421. package/lib/services/workers.d.ts +3498 -0
  422. package/lib/services/workers.d.ts.map +1 -0
  423. package/lib/services/workers.js +5967 -0
  424. package/lib/services/workers.js.map +1 -0
  425. package/lib/services/workflows.d.ts +359 -0
  426. package/lib/services/workflows.d.ts.map +1 -0
  427. package/lib/services/workflows.js +516 -0
  428. package/lib/services/workflows.js.map +1 -0
  429. package/lib/services/zaraz.d.ts +300 -0
  430. package/lib/services/zaraz.d.ts.map +1 -0
  431. package/lib/services/zaraz.js +298 -0
  432. package/lib/services/zaraz.js.map +1 -0
  433. package/lib/services/zero-trust.d.ts +15449 -0
  434. package/lib/services/zero-trust.d.ts.map +1 -0
  435. package/lib/services/zero-trust.js +29194 -0
  436. package/lib/services/zero-trust.js.map +1 -0
  437. package/lib/services/zones.d.ts +1278 -0
  438. package/lib/services/zones.d.ts.map +1 -0
  439. package/lib/services/zones.js +2416 -0
  440. package/lib/services/zones.js.map +1 -0
  441. package/lib/traits.d.ts +28 -0
  442. package/lib/traits.d.ts.map +1 -0
  443. package/lib/traits.js +26 -0
  444. package/lib/traits.js.map +1 -0
  445. package/package.json +67 -5
  446. package/src/auth.ts +14 -0
  447. package/src/category.ts +1 -0
  448. package/src/client/api.ts +269 -0
  449. package/src/client/index.ts +7 -0
  450. package/src/credentials.ts +30 -0
  451. package/src/errors.ts +65 -0
  452. package/src/index.ts +9 -0
  453. package/src/retry.ts +35 -0
  454. package/src/schemas.ts +51 -0
  455. package/src/services/abuse-reports.ts +747 -0
  456. package/src/services/accounts.ts +1947 -0
  457. package/src/services/acm.ts +170 -0
  458. package/src/services/addressing.ts +3947 -0
  459. package/src/services/ai-gateway.ts +3335 -0
  460. package/src/services/ai.ts +727 -0
  461. package/src/services/aisearch.ts +4750 -0
  462. package/src/services/alerting.ts +2947 -0
  463. package/src/services/api-gateway.ts +3391 -0
  464. package/src/services/argo.ts +254 -0
  465. package/src/services/audit-logs.ts +90 -0
  466. package/src/services/billing.ts +172 -0
  467. package/src/services/bot-management.ts +541 -0
  468. package/src/services/botnet-feed.ts +193 -0
  469. package/src/services/brand-protection.ts +553 -0
  470. package/src/services/browser-rendering.ts +2707 -0
  471. package/src/services/cache.ts +827 -0
  472. package/src/services/calls.ts +483 -0
  473. package/src/services/certificate-authorities.ts +110 -0
  474. package/src/services/client-certificates.ts +718 -0
  475. package/src/services/cloud-connector.ts +181 -0
  476. package/src/services/cloudforce-one.ts +3876 -0
  477. package/src/services/connectivity.ts +629 -0
  478. package/src/services/content-scanning.ts +385 -0
  479. package/src/services/custom-certificates.ts +611 -0
  480. package/src/services/custom-hostnames.ts +2453 -0
  481. package/src/services/custom-nameservers.ts +182 -0
  482. package/src/services/custom-pages.ts +264 -0
  483. package/src/services/d1.ts +1034 -0
  484. package/src/services/dcv-delegation.ts +52 -0
  485. package/src/services/diagnostics.ts +603 -0
  486. package/src/services/dns-firewall.ts +823 -0
  487. package/src/services/dns.ts +8897 -0
  488. package/src/services/durable-objects.ts +148 -0
  489. package/src/services/email-routing.ts +1602 -0
  490. package/src/services/email-security.ts +4283 -0
  491. package/src/services/filters.ts +370 -0
  492. package/src/services/firewall.ts +3896 -0
  493. package/src/services/healthchecks.ts +1750 -0
  494. package/src/services/hostnames.ts +218 -0
  495. package/src/services/hyperdrive.ts +592 -0
  496. package/src/services/iam.ts +1668 -0
  497. package/src/services/images.ts +1086 -0
  498. package/src/services/intel.ts +2768 -0
  499. package/src/services/ips.ts +88 -0
  500. package/src/services/keyless-certificates.ts +462 -0
  501. package/src/services/kv.ts +1011 -0
  502. package/src/services/leaked-credential-checks.ts +325 -0
  503. package/src/services/load-balancers.ts +6438 -0
  504. package/src/services/logpush.ts +1667 -0
  505. package/src/services/logs.ts +375 -0
  506. package/src/services/magic-cloud-networking.ts +10020 -0
  507. package/src/services/magic-network-monitoring.ts +1156 -0
  508. package/src/services/magic-transit.ts +13050 -0
  509. package/src/services/managed-transforms.ts +237 -0
  510. package/src/services/memberships.ts +615 -0
  511. package/src/services/mtls-certificates.ts +374 -0
  512. package/src/services/network-interconnects.ts +1253 -0
  513. package/src/services/organizations.ts +674 -0
  514. package/src/services/origin-ca-certificates.ts +303 -0
  515. package/src/services/origin-post-quantum-encryption.ts +128 -0
  516. package/src/services/origin-tls-client-auth.ts +878 -0
  517. package/src/services/page-rules.ts +2612 -0
  518. package/src/services/page-shield.ts +1195 -0
  519. package/src/services/pages.ts +5709 -0
  520. package/src/services/pipelines.ts +6000 -0
  521. package/src/services/queues.ts +2629 -0
  522. package/src/services/r2-data-catalog.ts +1119 -0
  523. package/src/services/r2.ts +3348 -0
  524. package/src/services/radar.ts +42152 -0
  525. package/src/services/rate-limits.ts +1150 -0
  526. package/src/services/realtime-kit.ts +11079 -0
  527. package/src/services/registrar.ts +295 -0
  528. package/src/services/request-tracers.ts +158 -0
  529. package/src/services/resource-sharing.ts +1832 -0
  530. package/src/services/rules.ts +837 -0
  531. package/src/services/rulesets.ts +15144 -0
  532. package/src/services/rum.ts +901 -0
  533. package/src/services/schema-validation.ts +733 -0
  534. package/src/services/secrets-store.ts +860 -0
  535. package/src/services/security-center.ts +397 -0
  536. package/src/services/security-txt.ts +315 -0
  537. package/src/services/snippets.ts +420 -0
  538. package/src/services/spectrum.ts +1103 -0
  539. package/src/services/speed.ts +1056 -0
  540. package/src/services/ssl.ts +1587 -0
  541. package/src/services/stream.ts +2756 -0
  542. package/src/services/token-validation.ts +1585 -0
  543. package/src/services/turnstile.ts +643 -0
  544. package/src/services/url-normalization.ts +129 -0
  545. package/src/services/url-scanner.ts +1851 -0
  546. package/src/services/user.ts +1384 -0
  547. package/src/services/vectorize.ts +816 -0
  548. package/src/services/waiting-rooms.ts +3807 -0
  549. package/src/services/web3.ts +834 -0
  550. package/src/services/workers-for-platforms.ts +3859 -0
  551. package/src/services/workers.ts +11637 -0
  552. package/src/services/workflows.ts +1124 -0
  553. package/src/services/zaraz.ts +797 -0
  554. package/src/services/zero-trust.ts +58933 -0
  555. package/src/services/zones.ts +4875 -0
  556. package/src/traits.ts +47 -0
  557. package/README.md +0 -15
  558. package/bun.lock +0 -26
  559. package/index.ts +0 -1
  560. package/tsconfig.json +0 -29
@@ -0,0 +1,3650 @@
1
+ /**
2
+ * Cloudflare MAGIC-TRANSIT API
3
+ *
4
+ * Generated from Cloudflare TypeScript SDK.
5
+ * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service magic-transit
6
+ */
7
+ import * as Schema from "effect/Schema";
8
+ import type * as HttpClient from "effect/unstable/http/HttpClient";
9
+ import * as API from "../client/api.ts";
10
+ import type { Credentials } from "../credentials";
11
+ import { type DefaultErrors } from "../errors";
12
+ export interface ListAppsRequest {
13
+ /** Identifier */
14
+ accountId: string;
15
+ }
16
+ export declare const ListAppsRequest: Schema.Schema<ListAppsRequest>;
17
+ export type ListAppsResponse = ({
18
+ accountAppId: string;
19
+ hostnames?: string[] | null;
20
+ ipSubnets?: string[] | null;
21
+ name?: string | null;
22
+ type?: string | null;
23
+ } | {
24
+ managedAppId: string;
25
+ hostnames?: string[] | null;
26
+ ipSubnets?: string[] | null;
27
+ name?: string | null;
28
+ type?: string | null;
29
+ })[];
30
+ export declare const ListAppsResponse: Schema.Schema<ListAppsResponse>;
31
+ export type ListAppsError = DefaultErrors;
32
+ export declare const listApps: API.OperationMethod<ListAppsRequest, ListAppsResponse, ListAppsError, Credentials | HttpClient.HttpClient>;
33
+ export interface CreateAppRequest {
34
+ /** Path param: Identifier */
35
+ accountId: string;
36
+ /** Body param: Display name for the app. */
37
+ name: string;
38
+ /** Body param: Category of the app. */
39
+ type: string;
40
+ /** Body param: FQDNs to associate with traffic decisions. */
41
+ hostnames?: string[];
42
+ /** Body param: IPv4 CIDRs to associate with traffic decisions. (IPv6 CIDRs are currently unsupported) */
43
+ ipSubnets?: string[];
44
+ }
45
+ export declare const CreateAppRequest: Schema.Schema<CreateAppRequest>;
46
+ export interface CreateAppResponse {
47
+ /** Magic account app ID. */
48
+ accountAppId: string;
49
+ /** FQDNs to associate with traffic decisions. */
50
+ hostnames?: string[] | null;
51
+ /** IPv4 CIDRs to associate with traffic decisions. (IPv6 CIDRs are currently unsupported) */
52
+ ipSubnets?: string[] | null;
53
+ /** Display name for the app. */
54
+ name?: string | null;
55
+ /** Category of the app. */
56
+ type?: string | null;
57
+ }
58
+ export declare const CreateAppResponse: Schema.Schema<CreateAppResponse>;
59
+ export type CreateAppError = DefaultErrors;
60
+ export declare const createApp: API.OperationMethod<CreateAppRequest, CreateAppResponse, CreateAppError, Credentials | HttpClient.HttpClient>;
61
+ export interface UpdateAppRequest {
62
+ accountAppId: string;
63
+ /** Path param: Identifier */
64
+ accountId: string;
65
+ /** Body param: FQDNs to associate with traffic decisions. */
66
+ hostnames?: string[];
67
+ /** Body param: IPv4 CIDRs to associate with traffic decisions. (IPv6 CIDRs are currently unsupported) */
68
+ ipSubnets?: string[];
69
+ /** Body param: Display name for the app. */
70
+ name?: string;
71
+ /** Body param: Category of the app. */
72
+ type?: string;
73
+ }
74
+ export declare const UpdateAppRequest: Schema.Schema<UpdateAppRequest>;
75
+ export interface UpdateAppResponse {
76
+ /** Magic account app ID. */
77
+ accountAppId: string;
78
+ /** FQDNs to associate with traffic decisions. */
79
+ hostnames?: string[] | null;
80
+ /** IPv4 CIDRs to associate with traffic decisions. (IPv6 CIDRs are currently unsupported) */
81
+ ipSubnets?: string[] | null;
82
+ /** Display name for the app. */
83
+ name?: string | null;
84
+ /** Category of the app. */
85
+ type?: string | null;
86
+ }
87
+ export declare const UpdateAppResponse: Schema.Schema<UpdateAppResponse>;
88
+ export type UpdateAppError = DefaultErrors;
89
+ export declare const updateApp: API.OperationMethod<UpdateAppRequest, UpdateAppResponse, UpdateAppError, Credentials | HttpClient.HttpClient>;
90
+ export interface PatchAppRequest {
91
+ accountAppId: string;
92
+ /** Path param: Identifier */
93
+ accountId: string;
94
+ /** Body param: FQDNs to associate with traffic decisions. */
95
+ hostnames?: string[];
96
+ /** Body param: IPv4 CIDRs to associate with traffic decisions. (IPv6 CIDRs are currently unsupported) */
97
+ ipSubnets?: string[];
98
+ /** Body param: Display name for the app. */
99
+ name?: string;
100
+ /** Body param: Category of the app. */
101
+ type?: string;
102
+ }
103
+ export declare const PatchAppRequest: Schema.Schema<PatchAppRequest>;
104
+ export interface PatchAppResponse {
105
+ /** Magic account app ID. */
106
+ accountAppId: string;
107
+ /** FQDNs to associate with traffic decisions. */
108
+ hostnames?: string[] | null;
109
+ /** IPv4 CIDRs to associate with traffic decisions. (IPv6 CIDRs are currently unsupported) */
110
+ ipSubnets?: string[] | null;
111
+ /** Display name for the app. */
112
+ name?: string | null;
113
+ /** Category of the app. */
114
+ type?: string | null;
115
+ }
116
+ export declare const PatchAppResponse: Schema.Schema<PatchAppResponse>;
117
+ export type PatchAppError = DefaultErrors;
118
+ export declare const patchApp: API.OperationMethod<PatchAppRequest, PatchAppResponse, PatchAppError, Credentials | HttpClient.HttpClient>;
119
+ export interface DeleteAppRequest {
120
+ accountAppId: string;
121
+ /** Identifier */
122
+ accountId: string;
123
+ }
124
+ export declare const DeleteAppRequest: Schema.Schema<DeleteAppRequest>;
125
+ export interface DeleteAppResponse {
126
+ /** Magic account app ID. */
127
+ accountAppId: string;
128
+ /** FQDNs to associate with traffic decisions. */
129
+ hostnames?: string[] | null;
130
+ /** IPv4 CIDRs to associate with traffic decisions. (IPv6 CIDRs are currently unsupported) */
131
+ ipSubnets?: string[] | null;
132
+ /** Display name for the app. */
133
+ name?: string | null;
134
+ /** Category of the app. */
135
+ type?: string | null;
136
+ }
137
+ export declare const DeleteAppResponse: Schema.Schema<DeleteAppResponse>;
138
+ export type DeleteAppError = DefaultErrors;
139
+ export declare const deleteApp: API.OperationMethod<DeleteAppRequest, DeleteAppResponse, DeleteAppError, Credentials | HttpClient.HttpClient>;
140
+ export interface GetCfInterconnectRequest {
141
+ cfInterconnectId: string;
142
+ /** Path param: Identifier */
143
+ accountId: string;
144
+ /** Header param: If true, the health check target in the response body will be presented using the new object format. Defaults to false. */
145
+ xMagicNewHcTarget?: boolean;
146
+ }
147
+ export declare const GetCfInterconnectRequest: Schema.Schema<GetCfInterconnectRequest>;
148
+ export interface GetCfInterconnectResponse {
149
+ interconnect?: {
150
+ id?: string | null;
151
+ automaticReturnRouting?: boolean | null;
152
+ coloName?: string | null;
153
+ createdOn?: string | null;
154
+ description?: string | null;
155
+ gre?: {
156
+ cloudflareEndpoint?: string | null;
157
+ } | null;
158
+ healthCheck?: unknown | null;
159
+ interfaceAddress?: string | null;
160
+ interfaceAddress6?: string | null;
161
+ modifiedOn?: string | null;
162
+ mtu?: number | null;
163
+ name?: string | null;
164
+ } | null;
165
+ }
166
+ export declare const GetCfInterconnectResponse: Schema.Schema<GetCfInterconnectResponse>;
167
+ export type GetCfInterconnectError = DefaultErrors;
168
+ export declare const getCfInterconnect: API.OperationMethod<GetCfInterconnectRequest, GetCfInterconnectResponse, GetCfInterconnectError, Credentials | HttpClient.HttpClient>;
169
+ export interface ListCfInterconnectsRequest {
170
+ /** Path param: Identifier */
171
+ accountId: string;
172
+ /** Header param: If true, the health check target in the response body will be presented using the new object format. Defaults to false. */
173
+ xMagicNewHcTarget?: boolean;
174
+ }
175
+ export declare const ListCfInterconnectsRequest: Schema.Schema<ListCfInterconnectsRequest>;
176
+ export interface ListCfInterconnectsResponse {
177
+ interconnects?: {
178
+ id?: string | null;
179
+ automaticReturnRouting?: boolean | null;
180
+ coloName?: string | null;
181
+ createdOn?: string | null;
182
+ description?: string | null;
183
+ gre?: {
184
+ cloudflareEndpoint?: string | null;
185
+ } | null;
186
+ healthCheck?: unknown | null;
187
+ interfaceAddress?: string | null;
188
+ interfaceAddress6?: string | null;
189
+ modifiedOn?: string | null;
190
+ mtu?: number | null;
191
+ name?: string | null;
192
+ }[] | null;
193
+ }
194
+ export declare const ListCfInterconnectsResponse: Schema.Schema<ListCfInterconnectsResponse>;
195
+ export type ListCfInterconnectsError = DefaultErrors;
196
+ export declare const listCfInterconnects: API.OperationMethod<ListCfInterconnectsRequest, ListCfInterconnectsResponse, ListCfInterconnectsError, Credentials | HttpClient.HttpClient>;
197
+ export interface PutCfInterconnectRequest {
198
+ cfInterconnectId: string;
199
+ /** Path param: Identifier */
200
+ accountId: string;
201
+ /** Header param: If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false. */
202
+ xMagicNewHcTarget?: boolean;
203
+ /** Body param: True if automatic stateful return routing should be enabled for a tunnel, false otherwise. */
204
+ automaticReturnRouting?: boolean;
205
+ /** Body param: An optional description of the interconnect. */
206
+ description?: string;
207
+ /** Body param: The configuration specific to GRE interconnects. */
208
+ gre?: {
209
+ cloudflareEndpoint?: string;
210
+ };
211
+ /** Body param: */
212
+ healthCheck?: unknown;
213
+ /** Body param: A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172 */
214
+ interfaceAddress?: string;
215
+ /** Body param: A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 i */
216
+ interfaceAddress6?: string;
217
+ /** Body param: The Maximum Transmission Unit (MTU) in bytes for the interconnect. The minimum value is 576. */
218
+ mtu?: number;
219
+ }
220
+ export declare const PutCfInterconnectRequest: Schema.Schema<PutCfInterconnectRequest>;
221
+ export interface PutCfInterconnectResponse {
222
+ modified?: boolean | null;
223
+ modifiedInterconnect?: {
224
+ id?: string | null;
225
+ automaticReturnRouting?: boolean | null;
226
+ coloName?: string | null;
227
+ createdOn?: string | null;
228
+ description?: string | null;
229
+ gre?: {
230
+ cloudflareEndpoint?: string | null;
231
+ } | null;
232
+ healthCheck?: unknown | null;
233
+ interfaceAddress?: string | null;
234
+ interfaceAddress6?: string | null;
235
+ modifiedOn?: string | null;
236
+ mtu?: number | null;
237
+ name?: string | null;
238
+ } | null;
239
+ }
240
+ export declare const PutCfInterconnectResponse: Schema.Schema<PutCfInterconnectResponse>;
241
+ export type PutCfInterconnectError = DefaultErrors;
242
+ export declare const putCfInterconnect: API.OperationMethod<PutCfInterconnectRequest, PutCfInterconnectResponse, PutCfInterconnectError, Credentials | HttpClient.HttpClient>;
243
+ export interface GetConnectorRequest {
244
+ connectorId: string;
245
+ /** Account identifier */
246
+ accountId: string;
247
+ }
248
+ export declare const GetConnectorRequest: Schema.Schema<GetConnectorRequest>;
249
+ export interface GetConnectorResponse {
250
+ id: string;
251
+ activated: boolean;
252
+ interruptWindowDurationHours: number;
253
+ interruptWindowHourOfDay: number;
254
+ lastUpdated: string;
255
+ notes: string;
256
+ timezone: string;
257
+ device?: {
258
+ id: string;
259
+ serialNumber?: string | null;
260
+ } | null;
261
+ lastHeartbeat?: string | null;
262
+ lastSeenVersion?: string | null;
263
+ licenseKey?: string | null;
264
+ }
265
+ export declare const GetConnectorResponse: Schema.Schema<GetConnectorResponse>;
266
+ export type GetConnectorError = DefaultErrors;
267
+ export declare const getConnector: API.OperationMethod<GetConnectorRequest, GetConnectorResponse, GetConnectorError, Credentials | HttpClient.HttpClient>;
268
+ export interface ListConnectorsRequest {
269
+ /** Account identifier */
270
+ accountId: string;
271
+ }
272
+ export declare const ListConnectorsRequest: Schema.Schema<ListConnectorsRequest>;
273
+ export type ListConnectorsResponse = {
274
+ id: string;
275
+ activated: boolean;
276
+ interruptWindowDurationHours: number;
277
+ interruptWindowHourOfDay: number;
278
+ lastUpdated: string;
279
+ notes: string;
280
+ timezone: string;
281
+ device?: {
282
+ id: string;
283
+ serialNumber?: string | null;
284
+ } | null;
285
+ lastHeartbeat?: string | null;
286
+ lastSeenVersion?: string | null;
287
+ licenseKey?: string | null;
288
+ }[];
289
+ export declare const ListConnectorsResponse: Schema.Schema<ListConnectorsResponse>;
290
+ export type ListConnectorsError = DefaultErrors;
291
+ export declare const listConnectors: API.OperationMethod<ListConnectorsRequest, ListConnectorsResponse, ListConnectorsError, Credentials | HttpClient.HttpClient>;
292
+ export interface CreateConnectorRequest {
293
+ /** Path param: Account identifier */
294
+ accountId: string;
295
+ /** Body param: Exactly one of id, serial_number, or provision_license must be provided. */
296
+ device: {
297
+ id?: string;
298
+ provisionLicense?: boolean;
299
+ serialNumber?: string;
300
+ };
301
+ /** Body param: */
302
+ activated?: boolean;
303
+ /** Body param: */
304
+ interruptWindowDurationHours?: number;
305
+ /** Body param: */
306
+ interruptWindowHourOfDay?: number;
307
+ /** Body param: */
308
+ notes?: string;
309
+ /** Body param: */
310
+ timezone?: string;
311
+ }
312
+ export declare const CreateConnectorRequest: Schema.Schema<CreateConnectorRequest>;
313
+ export interface CreateConnectorResponse {
314
+ id: string;
315
+ activated: boolean;
316
+ interruptWindowDurationHours: number;
317
+ interruptWindowHourOfDay: number;
318
+ lastUpdated: string;
319
+ notes: string;
320
+ timezone: string;
321
+ device?: {
322
+ id: string;
323
+ serialNumber?: string | null;
324
+ } | null;
325
+ lastHeartbeat?: string | null;
326
+ lastSeenVersion?: string | null;
327
+ licenseKey?: string | null;
328
+ }
329
+ export declare const CreateConnectorResponse: Schema.Schema<CreateConnectorResponse>;
330
+ export type CreateConnectorError = DefaultErrors;
331
+ export declare const createConnector: API.OperationMethod<CreateConnectorRequest, CreateConnectorResponse, CreateConnectorError, Credentials | HttpClient.HttpClient>;
332
+ export interface UpdateConnectorRequest {
333
+ connectorId: string;
334
+ /** Path param: Account identifier */
335
+ accountId: string;
336
+ /** Body param: */
337
+ activated?: boolean;
338
+ /** Body param: */
339
+ interruptWindowDurationHours?: number;
340
+ /** Body param: */
341
+ interruptWindowHourOfDay?: number;
342
+ /** Body param: */
343
+ notes?: string;
344
+ /** Body param: When true, regenerate license key for the connector. */
345
+ provisionLicense?: boolean;
346
+ /** Body param: */
347
+ timezone?: string;
348
+ }
349
+ export declare const UpdateConnectorRequest: Schema.Schema<UpdateConnectorRequest>;
350
+ export interface UpdateConnectorResponse {
351
+ id: string;
352
+ activated: boolean;
353
+ interruptWindowDurationHours: number;
354
+ interruptWindowHourOfDay: number;
355
+ lastUpdated: string;
356
+ notes: string;
357
+ timezone: string;
358
+ device?: {
359
+ id: string;
360
+ serialNumber?: string | null;
361
+ } | null;
362
+ lastHeartbeat?: string | null;
363
+ lastSeenVersion?: string | null;
364
+ licenseKey?: string | null;
365
+ }
366
+ export declare const UpdateConnectorResponse: Schema.Schema<UpdateConnectorResponse>;
367
+ export type UpdateConnectorError = DefaultErrors;
368
+ export declare const updateConnector: API.OperationMethod<UpdateConnectorRequest, UpdateConnectorResponse, UpdateConnectorError, Credentials | HttpClient.HttpClient>;
369
+ export interface PatchConnectorRequest {
370
+ connectorId: string;
371
+ /** Path param: Account identifier */
372
+ accountId: string;
373
+ /** Body param: */
374
+ activated?: boolean;
375
+ /** Body param: */
376
+ interruptWindowDurationHours?: number;
377
+ /** Body param: */
378
+ interruptWindowHourOfDay?: number;
379
+ /** Body param: */
380
+ notes?: string;
381
+ /** Body param: When true, regenerate license key for the connector. */
382
+ provisionLicense?: boolean;
383
+ /** Body param: */
384
+ timezone?: string;
385
+ }
386
+ export declare const PatchConnectorRequest: Schema.Schema<PatchConnectorRequest>;
387
+ export interface PatchConnectorResponse {
388
+ id: string;
389
+ activated: boolean;
390
+ interruptWindowDurationHours: number;
391
+ interruptWindowHourOfDay: number;
392
+ lastUpdated: string;
393
+ notes: string;
394
+ timezone: string;
395
+ device?: {
396
+ id: string;
397
+ serialNumber?: string | null;
398
+ } | null;
399
+ lastHeartbeat?: string | null;
400
+ lastSeenVersion?: string | null;
401
+ licenseKey?: string | null;
402
+ }
403
+ export declare const PatchConnectorResponse: Schema.Schema<PatchConnectorResponse>;
404
+ export type PatchConnectorError = DefaultErrors;
405
+ export declare const patchConnector: API.OperationMethod<PatchConnectorRequest, PatchConnectorResponse, PatchConnectorError, Credentials | HttpClient.HttpClient>;
406
+ export interface DeleteConnectorRequest {
407
+ connectorId: string;
408
+ /** Account identifier */
409
+ accountId: string;
410
+ }
411
+ export declare const DeleteConnectorRequest: Schema.Schema<DeleteConnectorRequest>;
412
+ export interface DeleteConnectorResponse {
413
+ id: string;
414
+ activated: boolean;
415
+ interruptWindowDurationHours: number;
416
+ interruptWindowHourOfDay: number;
417
+ lastUpdated: string;
418
+ notes: string;
419
+ timezone: string;
420
+ device?: {
421
+ id: string;
422
+ serialNumber?: string | null;
423
+ } | null;
424
+ lastHeartbeat?: string | null;
425
+ lastSeenVersion?: string | null;
426
+ licenseKey?: string | null;
427
+ }
428
+ export declare const DeleteConnectorResponse: Schema.Schema<DeleteConnectorResponse>;
429
+ export type DeleteConnectorError = DefaultErrors;
430
+ export declare const deleteConnector: API.OperationMethod<DeleteConnectorRequest, DeleteConnectorResponse, DeleteConnectorError, Credentials | HttpClient.HttpClient>;
431
+ export interface GetConnectorEventRequest {
432
+ connectorId: string;
433
+ eventT: number;
434
+ eventN: number;
435
+ /** Account identifier */
436
+ accountId: string;
437
+ }
438
+ export declare const GetConnectorEventRequest: Schema.Schema<GetConnectorEventRequest>;
439
+ export interface GetConnectorEventResponse {
440
+ e: {
441
+ k: "Init";
442
+ } | {
443
+ k: "Leave";
444
+ } | {
445
+ k: "StartAttestation";
446
+ } | {
447
+ k: "FinishAttestationSuccess";
448
+ } | {
449
+ k: "FinishAttestationFailure";
450
+ } | {
451
+ k: "StartRotateCryptKey";
452
+ } | {
453
+ k: "FinishRotateCryptKeySuccess";
454
+ } | {
455
+ k: "FinishRotateCryptKeyFailure";
456
+ } | {
457
+ k: "StartRotatePki";
458
+ } | {
459
+ k: "FinishRotatePkiSuccess";
460
+ } | {
461
+ k: "FinishRotatePkiFailure";
462
+ } | {
463
+ k: "StartUpgrade";
464
+ url: string;
465
+ } | {
466
+ k: "FinishUpgradeSuccess";
467
+ } | {
468
+ k: "FinishUpgradeFailure";
469
+ } | {
470
+ k: "Reconcile";
471
+ } | {
472
+ k: "ConfigureCloudflaredTunnel";
473
+ };
474
+ /** Sequence number, used to order events with the same timestamp */
475
+ n: number;
476
+ /** Time the Event was recorded (seconds since the Unix epoch) */
477
+ t: number;
478
+ }
479
+ export declare const GetConnectorEventResponse: Schema.Schema<GetConnectorEventResponse>;
480
+ export type GetConnectorEventError = DefaultErrors;
481
+ export declare const getConnectorEvent: API.OperationMethod<GetConnectorEventRequest, GetConnectorEventResponse, GetConnectorEventError, Credentials | HttpClient.HttpClient>;
482
+ export interface ListConnectorEventsRequest {
483
+ connectorId: string;
484
+ /** Path param: Account identifier */
485
+ accountId: string;
486
+ /** Query param: */
487
+ from: number;
488
+ /** Query param: */
489
+ to: number;
490
+ /** Query param: */
491
+ cursor?: string;
492
+ /** Query param: Filter by event kind */
493
+ k?: string;
494
+ /** Query param: */
495
+ limit?: number;
496
+ }
497
+ export declare const ListConnectorEventsRequest: Schema.Schema<ListConnectorEventsRequest>;
498
+ export interface ListConnectorEventsResponse {
499
+ count: number;
500
+ items: {
501
+ a: number;
502
+ k: string;
503
+ n: number;
504
+ t: number;
505
+ }[];
506
+ cursor?: string | null;
507
+ }
508
+ export declare const ListConnectorEventsResponse: Schema.Schema<ListConnectorEventsResponse>;
509
+ export type ListConnectorEventsError = DefaultErrors;
510
+ export declare const listConnectorEvents: API.OperationMethod<ListConnectorEventsRequest, ListConnectorEventsResponse, ListConnectorEventsError, Credentials | HttpClient.HttpClient>;
511
+ export interface ListConnectorEventLatestsRequest {
512
+ connectorId: string;
513
+ /** Account identifier */
514
+ accountId: string;
515
+ }
516
+ export declare const ListConnectorEventLatestsRequest: Schema.Schema<ListConnectorEventLatestsRequest>;
517
+ export interface ListConnectorEventLatestsResponse {
518
+ count: number;
519
+ items: {
520
+ e: {
521
+ k: "Init";
522
+ } | {
523
+ k: "Leave";
524
+ } | {
525
+ k: "StartAttestation";
526
+ } | {
527
+ k: "FinishAttestationSuccess";
528
+ } | {
529
+ k: "FinishAttestationFailure";
530
+ } | {
531
+ k: "StartRotateCryptKey";
532
+ } | {
533
+ k: "FinishRotateCryptKeySuccess";
534
+ } | {
535
+ k: "FinishRotateCryptKeyFailure";
536
+ } | {
537
+ k: "StartRotatePki";
538
+ } | {
539
+ k: "FinishRotatePkiSuccess";
540
+ } | {
541
+ k: "FinishRotatePkiFailure";
542
+ } | {
543
+ k: "StartUpgrade";
544
+ url: string;
545
+ } | {
546
+ k: "FinishUpgradeSuccess";
547
+ } | {
548
+ k: "FinishUpgradeFailure";
549
+ } | {
550
+ k: "Reconcile";
551
+ } | {
552
+ k: "ConfigureCloudflaredTunnel";
553
+ };
554
+ n: number;
555
+ t: number;
556
+ }[];
557
+ }
558
+ export declare const ListConnectorEventLatestsResponse: Schema.Schema<ListConnectorEventLatestsResponse>;
559
+ export type ListConnectorEventLatestsError = DefaultErrors;
560
+ export declare const listConnectorEventLatests: API.OperationMethod<ListConnectorEventLatestsRequest, ListConnectorEventLatestsResponse, ListConnectorEventLatestsError, Credentials | HttpClient.HttpClient>;
561
+ export interface GetConnectorSnapshotRequest {
562
+ connectorId: string;
563
+ snapshotT: number;
564
+ /** Account identifier */
565
+ accountId: string;
566
+ }
567
+ export declare const GetConnectorSnapshotRequest: Schema.Schema<GetConnectorSnapshotRequest>;
568
+ export interface GetConnectorSnapshotResponse {
569
+ /** Count of failures to reclaim space */
570
+ countReclaimFailures: number;
571
+ /** Count of reclaimed paths */
572
+ countReclaimedPaths: number;
573
+ /** Count of failed snapshot recordings */
574
+ countRecordFailed: number;
575
+ /** Count of failed snapshot transmissions */
576
+ countTransmitFailures: number;
577
+ /** Time the Snapshot was recorded (seconds since the Unix epoch) */
578
+ t: number;
579
+ /** Version */
580
+ v: string;
581
+ bonds?: {
582
+ name: string;
583
+ status: string;
584
+ }[] | null;
585
+ /** Count of processors/cores */
586
+ cpuCount?: number | null;
587
+ /** Percentage of time over a 10 second window that tasks were stalled */
588
+ cpuPressure_10s?: number | null;
589
+ /** Percentage of time over a 5 minute window that tasks were stalled */
590
+ cpuPressure_300s?: number | null;
591
+ /** Percentage of time over a 1 minute window that tasks were stalled */
592
+ cpuPressure_60s?: number | null;
593
+ /** Total stall time (microseconds) */
594
+ cpuPressureTotalUs?: number | null;
595
+ /** Time spent running a virtual CPU or guest OS (milliseconds) */
596
+ cpuTimeGuestMs?: number | null;
597
+ /** Time spent running a niced guest (milliseconds) */
598
+ cpuTimeGuestNiceMs?: number | null;
599
+ /** Time spent in idle state (milliseconds) */
600
+ cpuTimeIdleMs?: number | null;
601
+ /** Time spent wait for I/O to complete (milliseconds) */
602
+ cpuTimeIowaitMs?: number | null;
603
+ /** Time spent servicing interrupts (milliseconds) */
604
+ cpuTimeIrqMs?: number | null;
605
+ /** Time spent in low-priority user mode (milliseconds) */
606
+ cpuTimeNiceMs?: number | null;
607
+ /** Time spent servicing softirqs (milliseconds) */
608
+ cpuTimeSoftirqMs?: number | null;
609
+ /** Time stolen (milliseconds) */
610
+ cpuTimeStealMs?: number | null;
611
+ /** Time spent in system mode (milliseconds) */
612
+ cpuTimeSystemMs?: number | null;
613
+ /** Time spent in user mode (milliseconds) */
614
+ cpuTimeUserMs?: number | null;
615
+ dhcpLeases?: {
616
+ clientId: string;
617
+ expiryTime: number;
618
+ hostname: string;
619
+ interfaceName: string;
620
+ ipAddress: string;
621
+ macAddress: string;
622
+ connectorId?: string | null;
623
+ }[] | null;
624
+ disks?: {
625
+ inProgress: number;
626
+ major: number;
627
+ merged: number;
628
+ minor: number;
629
+ name: string;
630
+ reads: number;
631
+ sectorsRead: number;
632
+ sectorsWritten: number;
633
+ timeInProgressMs: number;
634
+ timeReadingMs: number;
635
+ timeWritingMs: number;
636
+ weightedTimeInProgressMs: number;
637
+ writes: number;
638
+ writesMerged: number;
639
+ connectorId?: string | null;
640
+ discards?: number | null;
641
+ discardsMerged?: number | null;
642
+ flushes?: number | null;
643
+ sectorsDiscarded?: number | null;
644
+ timeDiscardingMs?: number | null;
645
+ timeFlushingMs?: number | null;
646
+ }[] | null;
647
+ /** Name of high availability state */
648
+ haState?: string | null;
649
+ /** Numeric value associated with high availability state (0 = disabled, 1 = active, 2 = standby, 3 = stopped, 4 = fault) */
650
+ haValue?: number | null;
651
+ interfaces?: {
652
+ name: string;
653
+ operstate: string;
654
+ connectorId?: string | null;
655
+ ipAddresses?: {
656
+ interfaceName: string;
657
+ ipAddress: string;
658
+ connectorId?: string | null;
659
+ }[] | null;
660
+ speed?: number | null;
661
+ }[] | null;
662
+ /** Percentage of time over a 10 second window that all tasks were stalled */
663
+ ioPressureFull_10s?: number | null;
664
+ /** Percentage of time over a 5 minute window that all tasks were stalled */
665
+ ioPressureFull_300s?: number | null;
666
+ /** Percentage of time over a 1 minute window that all tasks were stalled */
667
+ ioPressureFull_60s?: number | null;
668
+ /** Total stall time (microseconds) */
669
+ ioPressureFullTotalUs?: number | null;
670
+ /** Percentage of time over a 10 second window that some tasks were stalled */
671
+ ioPressureSome_10s?: number | null;
672
+ /** Percentage of time over a 3 minute window that some tasks were stalled */
673
+ ioPressureSome_300s?: number | null;
674
+ /** Percentage of time over a 1 minute window that some tasks were stalled */
675
+ ioPressureSome_60s?: number | null;
676
+ /** Total stall time (microseconds) */
677
+ ioPressureSomeTotalUs?: number | null;
678
+ /** Boot time (seconds since Unix epoch) */
679
+ kernelBtime?: number | null;
680
+ /** Number of context switches that the system underwent */
681
+ kernelCtxt?: number | null;
682
+ /** Number of forks since boot */
683
+ kernelProcesses?: number | null;
684
+ /** Number of processes blocked waiting for I/O */
685
+ kernelProcessesBlocked?: number | null;
686
+ /** Number of processes in runnable state */
687
+ kernelProcessesRunning?: number | null;
688
+ /** The fifteen-minute load average */
689
+ loadAverage_15m?: number | null;
690
+ /** The one-minute load average */
691
+ loadAverage_1m?: number | null;
692
+ /** The five-minute load average */
693
+ loadAverage_5m?: number | null;
694
+ /** Number of currently runnable kernel scheduling entities */
695
+ loadAverageCur?: number | null;
696
+ /** Number of kernel scheduling entities that currently exist on the system */
697
+ loadAverageMax?: number | null;
698
+ /** Memory that has been used more recently */
699
+ memoryActiveBytes?: number | null;
700
+ /** Non-file backed huge pages mapped into user-space page tables */
701
+ memoryAnonHugepagesBytes?: number | null;
702
+ /** Non-file backed pages mapped into user-space page tables */
703
+ memoryAnonPagesBytes?: number | null;
704
+ /** Estimate of how much memory is available for starting new applications */
705
+ memoryAvailableBytes?: number | null;
706
+ /** Memory used for block device bounce buffers */
707
+ memoryBounceBytes?: number | null;
708
+ /** Relatively temporary storage for raw disk blocks */
709
+ memoryBuffersBytes?: number | null;
710
+ /** In-memory cache for files read from the disk */
711
+ memoryCachedBytes?: number | null;
712
+ /** Free CMA (Contiguous Memory Allocator) pages */
713
+ memoryCmaFreeBytes?: number | null;
714
+ /** Total CMA (Contiguous Memory Allocator) pages */
715
+ memoryCmaTotalBytes?: number | null;
716
+ /** Total amount of memory currently available to be allocated on the system */
717
+ memoryCommitLimitBytes?: number | null;
718
+ /** Amount of memory presently allocated on the system */
719
+ memoryCommittedAsBytes?: number | null;
720
+ /** Memory which is waiting to get written back to the disk */
721
+ memoryDirtyBytes?: number | null;
722
+ /** The sum of LowFree and HighFree */
723
+ memoryFreeBytes?: number | null;
724
+ /** Amount of free highmem */
725
+ memoryHighFreeBytes?: number | null;
726
+ /** Total amount of highmem */
727
+ memoryHighTotalBytes?: number | null;
728
+ /** The number of huge pages in the pool that are not yet allocated */
729
+ memoryHugepagesFree?: number | null;
730
+ /** Number of huge pages for which a commitment has been made, but no allocation has yet been made */
731
+ memoryHugepagesRsvd?: number | null;
732
+ /** Number of huge pages in the pool above the threshold */
733
+ memoryHugepagesSurp?: number | null;
734
+ /** The size of the pool of huge pages */
735
+ memoryHugepagesTotal?: number | null;
736
+ /** The size of huge pages */
737
+ memoryHugepagesizeBytes?: number | null;
738
+ /** Memory which has been less recently used */
739
+ memoryInactiveBytes?: number | null;
740
+ /** Kernel allocations that the kernel will attempt to reclaim under memory pressure */
741
+ memoryKReclaimableBytes?: number | null;
742
+ /** Amount of memory allocated to kernel stacks */
743
+ memoryKernelStackBytes?: number | null;
744
+ /** Amount of free lowmem */
745
+ memoryLowFreeBytes?: number | null;
746
+ /** Total amount of lowmem */
747
+ memoryLowTotalBytes?: number | null;
748
+ /** Files which have been mapped into memory */
749
+ memoryMappedBytes?: number | null;
750
+ /** Amount of memory dedicated to the lowest level of page tables */
751
+ memoryPageTablesBytes?: number | null;
752
+ /** Memory allocated to the per-cpu alloctor used to back per-cpu allocations */
753
+ memoryPerCpuBytes?: number | null;
754
+ /** Percentage of time over a 10 second window that all tasks were stalled */
755
+ memoryPressureFull_10s?: number | null;
756
+ /** Percentage of time over a 5 minute window that all tasks were stalled */
757
+ memoryPressureFull_300s?: number | null;
758
+ /** Percentage of time over a 1 minute window that all tasks were stalled */
759
+ memoryPressureFull_60s?: number | null;
760
+ /** Total stall time (microseconds) */
761
+ memoryPressureFullTotalUs?: number | null;
762
+ /** Percentage of time over a 10 second window that some tasks were stalled */
763
+ memoryPressureSome_10s?: number | null;
764
+ /** Percentage of time over a 5 minute window that some tasks were stalled */
765
+ memoryPressureSome_300s?: number | null;
766
+ /** Percentage of time over a 1 minute window that some tasks were stalled */
767
+ memoryPressureSome_60s?: number | null;
768
+ /** Total stall time (microseconds) */
769
+ memoryPressureSomeTotalUs?: number | null;
770
+ /** Part of slab that can be reclaimed on memory pressure */
771
+ memorySReclaimableBytes?: number | null;
772
+ /** Part of slab that cannot be reclaimed on memory pressure */
773
+ memorySUnreclaimBytes?: number | null;
774
+ /** Amount of memory dedicated to the lowest level of page tables */
775
+ memorySecondaryPageTablesBytes?: number | null;
776
+ /** Amount of memory consumed by tmpfs */
777
+ memoryShmemBytes?: number | null;
778
+ /** Memory used by shmem and tmpfs, allocated with huge pages */
779
+ memoryShmemHugepagesBytes?: number | null;
780
+ /** Shared memory mapped into user space with huge pages */
781
+ memoryShmemPmdMappedBytes?: number | null;
782
+ /** In-kernel data structures cache */
783
+ memorySlabBytes?: number | null;
784
+ /** Memory swapped out and back in while still in swap file */
785
+ memorySwapCachedBytes?: number | null;
786
+ /** Amount of swap space that is currently unused */
787
+ memorySwapFreeBytes?: number | null;
788
+ /** Total amount of swap space available */
789
+ memorySwapTotalBytes?: number | null;
790
+ /** Total usable RAM */
791
+ memoryTotalBytes?: number | null;
792
+ /** Largest contiguous block of vmalloc area which is free */
793
+ memoryVmallocChunkBytes?: number | null;
794
+ /** Total size of vmalloc memory area */
795
+ memoryVmallocTotalBytes?: number | null;
796
+ /** Amount of vmalloc area which is used */
797
+ memoryVmallocUsedBytes?: number | null;
798
+ /** Memory which is actively being written back to the disk */
799
+ memoryWritebackBytes?: number | null;
800
+ /** Memory used by FUSE for temporary writeback buffers */
801
+ memoryWritebackTmpBytes?: number | null;
802
+ /** Memory consumed by the zswap backend, compressed */
803
+ memoryZSwapBytes?: number | null;
804
+ /** Amount of anonymous memory stored in zswap, uncompressed */
805
+ memoryZSwappedBytes?: number | null;
806
+ mounts?: {
807
+ fileSystem: string;
808
+ kind: string;
809
+ mountPoint: string;
810
+ name: string;
811
+ availableBytes?: number | null;
812
+ connectorId?: string | null;
813
+ isReadOnly?: boolean | null;
814
+ isRemovable?: boolean | null;
815
+ totalBytes?: number | null;
816
+ }[] | null;
817
+ netdevs?: {
818
+ name: string;
819
+ recvBytes: number;
820
+ recvCompressed: number;
821
+ recvDrop: number;
822
+ recvErrs: number;
823
+ recvFifo: number;
824
+ recvFrame: number;
825
+ recvMulticast: number;
826
+ recvPackets: number;
827
+ sentBytes: number;
828
+ sentCarrier: number;
829
+ sentColls: number;
830
+ sentCompressed: number;
831
+ sentDrop: number;
832
+ sentErrs: number;
833
+ sentFifo: number;
834
+ sentPackets: number;
835
+ connectorId?: string | null;
836
+ }[] | null;
837
+ /** Number of ICMP Address Mask Reply messages received */
838
+ snmpIcmpInAddrMaskReps?: number | null;
839
+ /** Number of ICMP Address Mask Request messages received */
840
+ snmpIcmpInAddrMasks?: number | null;
841
+ /** Number of ICMP messages received with bad checksums */
842
+ snmpIcmpInCsumErrors?: number | null;
843
+ /** Number of ICMP Destination Unreachable messages received */
844
+ snmpIcmpInDestUnreachs?: number | null;
845
+ /** Number of ICMP Echo Reply messages received */
846
+ snmpIcmpInEchoReps?: number | null;
847
+ /** Number of ICMP Echo (request) messages received */
848
+ snmpIcmpInEchos?: number | null;
849
+ /** Number of ICMP messages received with ICMP-specific errors */
850
+ snmpIcmpInErrors?: number | null;
851
+ /** Number of ICMP messages received */
852
+ snmpIcmpInMsgs?: number | null;
853
+ /** Number of ICMP Parameter Problem messages received */
854
+ snmpIcmpInParmProbs?: number | null;
855
+ /** Number of ICMP Redirect messages received */
856
+ snmpIcmpInRedirects?: number | null;
857
+ /** Number of ICMP Source Quench messages received */
858
+ snmpIcmpInSrcQuenchs?: number | null;
859
+ /** Number of ICMP Time Exceeded messages received */
860
+ snmpIcmpInTimeExcds?: number | null;
861
+ /** Number of ICMP Address Mask Request messages received */
862
+ snmpIcmpInTimestampReps?: number | null;
863
+ /** Number of ICMP Timestamp (request) messages received */
864
+ snmpIcmpInTimestamps?: number | null;
865
+ /** Number of ICMP Address Mask Reply messages sent */
866
+ snmpIcmpOutAddrMaskReps?: number | null;
867
+ /** Number of ICMP Address Mask Request messages sent */
868
+ snmpIcmpOutAddrMasks?: number | null;
869
+ /** Number of ICMP Destination Unreachable messages sent */
870
+ snmpIcmpOutDestUnreachs?: number | null;
871
+ /** Number of ICMP Echo Reply messages sent */
872
+ snmpIcmpOutEchoReps?: number | null;
873
+ /** Number of ICMP Echo (request) messages sent */
874
+ snmpIcmpOutEchos?: number | null;
875
+ /** Number of ICMP messages which this entity did not send due to ICMP-specific errors */
876
+ snmpIcmpOutErrors?: number | null;
877
+ /** Number of ICMP messages attempted to send */
878
+ snmpIcmpOutMsgs?: number | null;
879
+ /** Number of ICMP Parameter Problem messages sent */
880
+ snmpIcmpOutParmProbs?: number | null;
881
+ /** Number of ICMP Redirect messages sent */
882
+ snmpIcmpOutRedirects?: number | null;
883
+ /** Number of ICMP Source Quench messages sent */
884
+ snmpIcmpOutSrcQuenchs?: number | null;
885
+ /** Number of ICMP Time Exceeded messages sent */
886
+ snmpIcmpOutTimeExcds?: number | null;
887
+ /** Number of ICMP Timestamp Reply messages sent */
888
+ snmpIcmpOutTimestampReps?: number | null;
889
+ /** Number of ICMP Timestamp (request) messages sent */
890
+ snmpIcmpOutTimestamps?: number | null;
891
+ /** Default value of the Time-To-Live field of the IP header */
892
+ snmpIpDefaultTtl?: number | null;
893
+ /** Number of datagrams forwarded to their final destination */
894
+ snmpIpForwDatagrams?: number | null;
895
+ /** Set when acting as an IP gateway */
896
+ snmpIpForwardingEnabled?: boolean | null;
897
+ /** Number of datagrams generated by fragmentation */
898
+ snmpIpFragCreates?: number | null;
899
+ /** Number of datagrams discarded because fragmentation failed */
900
+ snmpIpFragFails?: number | null;
901
+ /** Number of datagrams successfully fragmented */
902
+ snmpIpFragOks?: number | null;
903
+ /** Number of input datagrams discarded due to errors in the IP address */
904
+ snmpIpInAddrErrors?: number | null;
905
+ /** Number of input datagrams successfully delivered to IP user-protocols */
906
+ snmpIpInDelivers?: number | null;
907
+ /** Number of input datagrams otherwise discarded */
908
+ snmpIpInDiscards?: number | null;
909
+ /** Number of input datagrams discarded due to errors in the IP header */
910
+ snmpIpInHdrErrors?: number | null;
911
+ /** Number of input datagrams received from interfaces */
912
+ snmpIpInReceives?: number | null;
913
+ /** Number of input datagrams discarded due unknown or unsupported protocol */
914
+ snmpIpInUnknownProtos?: number | null;
915
+ /** Number of output datagrams otherwise discarded */
916
+ snmpIpOutDiscards?: number | null;
917
+ /** Number of output datagrams discarded because no route matched */
918
+ snmpIpOutNoRoutes?: number | null;
919
+ /** Number of datagrams supplied for transmission */
920
+ snmpIpOutRequests?: number | null;
921
+ /** Number of failures detected by the reassembly algorithm */
922
+ snmpIpReasmFails?: number | null;
923
+ /** Number of datagrams successfully reassembled */
924
+ snmpIpReasmOks?: number | null;
925
+ /** Number of fragments received which needed to be reassembled */
926
+ snmpIpReasmReqds?: number | null;
927
+ /** Number of seconds fragments are held while awaiting reassembly */
928
+ snmpIpReasmTimeout?: number | null;
929
+ /** Number of times TCP transitions to SYN-SENT from CLOSED */
930
+ snmpTcpActiveOpens?: number | null;
931
+ /** Number of times TCP transitions to CLOSED from SYN-SENT or SYN-RCVD, plus transitions to LISTEN from SYN-RCVD */
932
+ snmpTcpAttemptFails?: number | null;
933
+ /** Number of TCP connections in ESTABLISHED or CLOSE-WAIT */
934
+ snmpTcpCurrEstab?: number | null;
935
+ /** Number of times TCP transitions to CLOSED from ESTABLISHED or CLOSE-WAIT */
936
+ snmpTcpEstabResets?: number | null;
937
+ /** Number of TCP segments received with checksum errors */
938
+ snmpTcpInCsumErrors?: number | null;
939
+ /** Number of TCP segments received in error */
940
+ snmpTcpInErrs?: number | null;
941
+ /** Number of TCP segments received */
942
+ snmpTcpInSegs?: number | null;
943
+ /** Limit on the total number of TCP connections */
944
+ snmpTcpMaxConn?: number | null;
945
+ /** Number of TCP segments sent with RST flag */
946
+ snmpTcpOutRsts?: number | null;
947
+ /** Number of TCP segments sent */
948
+ snmpTcpOutSegs?: number | null;
949
+ /** Number of times TCP transitions to SYN-RCVD from LISTEN */
950
+ snmpTcpPassiveOpens?: number | null;
951
+ /** Number of TCP segments retransmitted */
952
+ snmpTcpRetransSegs?: number | null;
953
+ /** Maximum value permitted by a TCP implementation for the retransmission timeout (milliseconds) */
954
+ snmpTcpRtoMax?: number | null;
955
+ /** Minimum value permitted by a TCP implementation for the retransmission timeout (milliseconds) */
956
+ snmpTcpRtoMin?: number | null;
957
+ /** Number of UDP datagrams delivered to UDP applications */
958
+ snmpUdpInDatagrams?: number | null;
959
+ /** Number of UDP datagrams failed to be delivered for reasons other than lack of application at the destination port */
960
+ snmpUdpInErrors?: number | null;
961
+ /** Number of UDP datagrams received for which there was not application at the destination port */
962
+ snmpUdpNoPorts?: number | null;
963
+ /** Number of UDP datagrams sent */
964
+ snmpUdpOutDatagrams?: number | null;
965
+ /** Boottime of the system (seconds since the Unix epoch) */
966
+ systemBootTimeS?: number | null;
967
+ thermals?: {
968
+ label: string;
969
+ connectorId?: string | null;
970
+ criticalCelcius?: number | null;
971
+ currentCelcius?: number | null;
972
+ maxCelcius?: number | null;
973
+ }[] | null;
974
+ tunnels?: {
975
+ healthState: string;
976
+ healthValue: number;
977
+ interfaceName: string;
978
+ tunnelId: string;
979
+ connectorId?: string | null;
980
+ probedMtu?: number | null;
981
+ }[] | null;
982
+ /** Sum of how much time each core has spent idle */
983
+ uptimeIdleMs?: number | null;
984
+ /** Uptime of the system, including time spent in suspend */
985
+ uptimeTotalMs?: number | null;
986
+ }
987
+ export declare const GetConnectorSnapshotResponse: Schema.Schema<GetConnectorSnapshotResponse>;
988
+ export type GetConnectorSnapshotError = DefaultErrors;
989
+ export declare const getConnectorSnapshot: API.OperationMethod<GetConnectorSnapshotRequest, GetConnectorSnapshotResponse, GetConnectorSnapshotError, Credentials | HttpClient.HttpClient>;
990
+ export interface ListConnectorSnapshotsRequest {
991
+ connectorId: string;
992
+ /** Path param: Account identifier */
993
+ accountId: string;
994
+ /** Query param: */
995
+ from: number;
996
+ /** Query param: */
997
+ to: number;
998
+ /** Query param: */
999
+ cursor?: string;
1000
+ /** Query param: */
1001
+ limit?: number;
1002
+ }
1003
+ export declare const ListConnectorSnapshotsRequest: Schema.Schema<ListConnectorSnapshotsRequest>;
1004
+ export interface ListConnectorSnapshotsResponse {
1005
+ count: number;
1006
+ items: {
1007
+ a: number;
1008
+ t: number;
1009
+ }[];
1010
+ cursor?: string | null;
1011
+ }
1012
+ export declare const ListConnectorSnapshotsResponse: Schema.Schema<ListConnectorSnapshotsResponse>;
1013
+ export type ListConnectorSnapshotsError = DefaultErrors;
1014
+ export declare const listConnectorSnapshots: API.OperationMethod<ListConnectorSnapshotsRequest, ListConnectorSnapshotsResponse, ListConnectorSnapshotsError, Credentials | HttpClient.HttpClient>;
1015
+ export interface ListConnectorSnapshotLatestsRequest {
1016
+ connectorId: string;
1017
+ /** Account identifier */
1018
+ accountId: string;
1019
+ }
1020
+ export declare const ListConnectorSnapshotLatestsRequest: Schema.Schema<ListConnectorSnapshotLatestsRequest>;
1021
+ export interface ListConnectorSnapshotLatestsResponse {
1022
+ count: number;
1023
+ items: {
1024
+ countReclaimFailures: number;
1025
+ countReclaimedPaths: number;
1026
+ countRecordFailed: number;
1027
+ countTransmitFailures: number;
1028
+ t: number;
1029
+ v: string;
1030
+ bonds?: {
1031
+ name: string;
1032
+ status: string;
1033
+ }[] | null;
1034
+ cpuCount?: number | null;
1035
+ cpuPressure_10s?: number | null;
1036
+ cpuPressure_300s?: number | null;
1037
+ cpuPressure_60s?: number | null;
1038
+ cpuPressureTotalUs?: number | null;
1039
+ cpuTimeGuestMs?: number | null;
1040
+ cpuTimeGuestNiceMs?: number | null;
1041
+ cpuTimeIdleMs?: number | null;
1042
+ cpuTimeIowaitMs?: number | null;
1043
+ cpuTimeIrqMs?: number | null;
1044
+ cpuTimeNiceMs?: number | null;
1045
+ cpuTimeSoftirqMs?: number | null;
1046
+ cpuTimeStealMs?: number | null;
1047
+ cpuTimeSystemMs?: number | null;
1048
+ cpuTimeUserMs?: number | null;
1049
+ dhcpLeases?: {
1050
+ clientId: string;
1051
+ expiryTime: number;
1052
+ hostname: string;
1053
+ interfaceName: string;
1054
+ ipAddress: string;
1055
+ macAddress: string;
1056
+ connectorId?: string | null;
1057
+ }[] | null;
1058
+ disks?: {
1059
+ inProgress: number;
1060
+ major: number;
1061
+ merged: number;
1062
+ minor: number;
1063
+ name: string;
1064
+ reads: number;
1065
+ sectorsRead: number;
1066
+ sectorsWritten: number;
1067
+ timeInProgressMs: number;
1068
+ timeReadingMs: number;
1069
+ timeWritingMs: number;
1070
+ weightedTimeInProgressMs: number;
1071
+ writes: number;
1072
+ writesMerged: number;
1073
+ connectorId?: string | null;
1074
+ discards?: number | null;
1075
+ discardsMerged?: number | null;
1076
+ flushes?: number | null;
1077
+ sectorsDiscarded?: number | null;
1078
+ timeDiscardingMs?: number | null;
1079
+ timeFlushingMs?: number | null;
1080
+ }[] | null;
1081
+ haState?: string | null;
1082
+ haValue?: number | null;
1083
+ interfaces?: {
1084
+ name: string;
1085
+ operstate: string;
1086
+ connectorId?: string | null;
1087
+ ipAddresses?: {
1088
+ interfaceName: string;
1089
+ ipAddress: string;
1090
+ connectorId?: string | null;
1091
+ }[] | null;
1092
+ speed?: number | null;
1093
+ }[] | null;
1094
+ ioPressureFull_10s?: number | null;
1095
+ ioPressureFull_300s?: number | null;
1096
+ ioPressureFull_60s?: number | null;
1097
+ ioPressureFullTotalUs?: number | null;
1098
+ ioPressureSome_10s?: number | null;
1099
+ ioPressureSome_300s?: number | null;
1100
+ ioPressureSome_60s?: number | null;
1101
+ ioPressureSomeTotalUs?: number | null;
1102
+ kernelBtime?: number | null;
1103
+ kernelCtxt?: number | null;
1104
+ kernelProcesses?: number | null;
1105
+ kernelProcessesBlocked?: number | null;
1106
+ kernelProcessesRunning?: number | null;
1107
+ loadAverage_15m?: number | null;
1108
+ loadAverage_1m?: number | null;
1109
+ loadAverage_5m?: number | null;
1110
+ loadAverageCur?: number | null;
1111
+ loadAverageMax?: number | null;
1112
+ memoryActiveBytes?: number | null;
1113
+ memoryAnonHugepagesBytes?: number | null;
1114
+ memoryAnonPagesBytes?: number | null;
1115
+ memoryAvailableBytes?: number | null;
1116
+ memoryBounceBytes?: number | null;
1117
+ memoryBuffersBytes?: number | null;
1118
+ memoryCachedBytes?: number | null;
1119
+ memoryCmaFreeBytes?: number | null;
1120
+ memoryCmaTotalBytes?: number | null;
1121
+ memoryCommitLimitBytes?: number | null;
1122
+ memoryCommittedAsBytes?: number | null;
1123
+ memoryDirtyBytes?: number | null;
1124
+ memoryFreeBytes?: number | null;
1125
+ memoryHighFreeBytes?: number | null;
1126
+ memoryHighTotalBytes?: number | null;
1127
+ memoryHugepagesFree?: number | null;
1128
+ memoryHugepagesRsvd?: number | null;
1129
+ memoryHugepagesSurp?: number | null;
1130
+ memoryHugepagesTotal?: number | null;
1131
+ memoryHugepagesizeBytes?: number | null;
1132
+ memoryInactiveBytes?: number | null;
1133
+ memoryKReclaimableBytes?: number | null;
1134
+ memoryKernelStackBytes?: number | null;
1135
+ memoryLowFreeBytes?: number | null;
1136
+ memoryLowTotalBytes?: number | null;
1137
+ memoryMappedBytes?: number | null;
1138
+ memoryPageTablesBytes?: number | null;
1139
+ memoryPerCpuBytes?: number | null;
1140
+ memoryPressureFull_10s?: number | null;
1141
+ memoryPressureFull_300s?: number | null;
1142
+ memoryPressureFull_60s?: number | null;
1143
+ memoryPressureFullTotalUs?: number | null;
1144
+ memoryPressureSome_10s?: number | null;
1145
+ memoryPressureSome_300s?: number | null;
1146
+ memoryPressureSome_60s?: number | null;
1147
+ memoryPressureSomeTotalUs?: number | null;
1148
+ memorySReclaimableBytes?: number | null;
1149
+ memorySUnreclaimBytes?: number | null;
1150
+ memorySecondaryPageTablesBytes?: number | null;
1151
+ memoryShmemBytes?: number | null;
1152
+ memoryShmemHugepagesBytes?: number | null;
1153
+ memoryShmemPmdMappedBytes?: number | null;
1154
+ memorySlabBytes?: number | null;
1155
+ memorySwapCachedBytes?: number | null;
1156
+ memorySwapFreeBytes?: number | null;
1157
+ memorySwapTotalBytes?: number | null;
1158
+ memoryTotalBytes?: number | null;
1159
+ memoryVmallocChunkBytes?: number | null;
1160
+ memoryVmallocTotalBytes?: number | null;
1161
+ memoryVmallocUsedBytes?: number | null;
1162
+ memoryWritebackBytes?: number | null;
1163
+ memoryWritebackTmpBytes?: number | null;
1164
+ memoryZSwapBytes?: number | null;
1165
+ memoryZSwappedBytes?: number | null;
1166
+ mounts?: {
1167
+ fileSystem: string;
1168
+ kind: string;
1169
+ mountPoint: string;
1170
+ name: string;
1171
+ availableBytes?: number | null;
1172
+ connectorId?: string | null;
1173
+ isReadOnly?: boolean | null;
1174
+ isRemovable?: boolean | null;
1175
+ totalBytes?: number | null;
1176
+ }[] | null;
1177
+ netdevs?: {
1178
+ name: string;
1179
+ recvBytes: number;
1180
+ recvCompressed: number;
1181
+ recvDrop: number;
1182
+ recvErrs: number;
1183
+ recvFifo: number;
1184
+ recvFrame: number;
1185
+ recvMulticast: number;
1186
+ recvPackets: number;
1187
+ sentBytes: number;
1188
+ sentCarrier: number;
1189
+ sentColls: number;
1190
+ sentCompressed: number;
1191
+ sentDrop: number;
1192
+ sentErrs: number;
1193
+ sentFifo: number;
1194
+ sentPackets: number;
1195
+ connectorId?: string | null;
1196
+ }[] | null;
1197
+ snmpIcmpInAddrMaskReps?: number | null;
1198
+ snmpIcmpInAddrMasks?: number | null;
1199
+ snmpIcmpInCsumErrors?: number | null;
1200
+ snmpIcmpInDestUnreachs?: number | null;
1201
+ snmpIcmpInEchoReps?: number | null;
1202
+ snmpIcmpInEchos?: number | null;
1203
+ snmpIcmpInErrors?: number | null;
1204
+ snmpIcmpInMsgs?: number | null;
1205
+ snmpIcmpInParmProbs?: number | null;
1206
+ snmpIcmpInRedirects?: number | null;
1207
+ snmpIcmpInSrcQuenchs?: number | null;
1208
+ snmpIcmpInTimeExcds?: number | null;
1209
+ snmpIcmpInTimestampReps?: number | null;
1210
+ snmpIcmpInTimestamps?: number | null;
1211
+ snmpIcmpOutAddrMaskReps?: number | null;
1212
+ snmpIcmpOutAddrMasks?: number | null;
1213
+ snmpIcmpOutDestUnreachs?: number | null;
1214
+ snmpIcmpOutEchoReps?: number | null;
1215
+ snmpIcmpOutEchos?: number | null;
1216
+ snmpIcmpOutErrors?: number | null;
1217
+ snmpIcmpOutMsgs?: number | null;
1218
+ snmpIcmpOutParmProbs?: number | null;
1219
+ snmpIcmpOutRedirects?: number | null;
1220
+ snmpIcmpOutSrcQuenchs?: number | null;
1221
+ snmpIcmpOutTimeExcds?: number | null;
1222
+ snmpIcmpOutTimestampReps?: number | null;
1223
+ snmpIcmpOutTimestamps?: number | null;
1224
+ snmpIpDefaultTtl?: number | null;
1225
+ snmpIpForwDatagrams?: number | null;
1226
+ snmpIpForwardingEnabled?: boolean | null;
1227
+ snmpIpFragCreates?: number | null;
1228
+ snmpIpFragFails?: number | null;
1229
+ snmpIpFragOks?: number | null;
1230
+ snmpIpInAddrErrors?: number | null;
1231
+ snmpIpInDelivers?: number | null;
1232
+ snmpIpInDiscards?: number | null;
1233
+ snmpIpInHdrErrors?: number | null;
1234
+ snmpIpInReceives?: number | null;
1235
+ snmpIpInUnknownProtos?: number | null;
1236
+ snmpIpOutDiscards?: number | null;
1237
+ snmpIpOutNoRoutes?: number | null;
1238
+ snmpIpOutRequests?: number | null;
1239
+ snmpIpReasmFails?: number | null;
1240
+ snmpIpReasmOks?: number | null;
1241
+ snmpIpReasmReqds?: number | null;
1242
+ snmpIpReasmTimeout?: number | null;
1243
+ snmpTcpActiveOpens?: number | null;
1244
+ snmpTcpAttemptFails?: number | null;
1245
+ snmpTcpCurrEstab?: number | null;
1246
+ snmpTcpEstabResets?: number | null;
1247
+ snmpTcpInCsumErrors?: number | null;
1248
+ snmpTcpInErrs?: number | null;
1249
+ snmpTcpInSegs?: number | null;
1250
+ snmpTcpMaxConn?: number | null;
1251
+ snmpTcpOutRsts?: number | null;
1252
+ snmpTcpOutSegs?: number | null;
1253
+ snmpTcpPassiveOpens?: number | null;
1254
+ snmpTcpRetransSegs?: number | null;
1255
+ snmpTcpRtoMax?: number | null;
1256
+ snmpTcpRtoMin?: number | null;
1257
+ snmpUdpInDatagrams?: number | null;
1258
+ snmpUdpInErrors?: number | null;
1259
+ snmpUdpNoPorts?: number | null;
1260
+ snmpUdpOutDatagrams?: number | null;
1261
+ systemBootTimeS?: number | null;
1262
+ thermals?: {
1263
+ label: string;
1264
+ connectorId?: string | null;
1265
+ criticalCelcius?: number | null;
1266
+ currentCelcius?: number | null;
1267
+ maxCelcius?: number | null;
1268
+ }[] | null;
1269
+ tunnels?: {
1270
+ healthState: string;
1271
+ healthValue: number;
1272
+ interfaceName: string;
1273
+ tunnelId: string;
1274
+ connectorId?: string | null;
1275
+ probedMtu?: number | null;
1276
+ }[] | null;
1277
+ uptimeIdleMs?: number | null;
1278
+ uptimeTotalMs?: number | null;
1279
+ }[];
1280
+ }
1281
+ export declare const ListConnectorSnapshotLatestsResponse: Schema.Schema<ListConnectorSnapshotLatestsResponse>;
1282
+ export type ListConnectorSnapshotLatestsError = DefaultErrors;
1283
+ export declare const listConnectorSnapshotLatests: API.OperationMethod<ListConnectorSnapshotLatestsRequest, ListConnectorSnapshotLatestsResponse, ListConnectorSnapshotLatestsError, Credentials | HttpClient.HttpClient>;
1284
+ export interface PskGenerateIpsecTunnelRequest {
1285
+ ipsecTunnelId: string;
1286
+ /** Path param: Identifier */
1287
+ accountId: string;
1288
+ /** Body param: */
1289
+ body: unknown;
1290
+ }
1291
+ export declare const PskGenerateIpsecTunnelRequest: Schema.Schema<PskGenerateIpsecTunnelRequest>;
1292
+ export interface PskGenerateIpsecTunnelResponse {
1293
+ /** Identifier */
1294
+ ipsecTunnelId?: string | null;
1295
+ /** A randomly generated or provided string for use in the IPsec tunnel. */
1296
+ psk?: string | null;
1297
+ /** The PSK metadata that includes when the PSK was generated. */
1298
+ pskMetadata?: {
1299
+ lastGeneratedOn?: string | null;
1300
+ } | null;
1301
+ }
1302
+ export declare const PskGenerateIpsecTunnelResponse: Schema.Schema<PskGenerateIpsecTunnelResponse>;
1303
+ export type PskGenerateIpsecTunnelError = DefaultErrors;
1304
+ export declare const pskGenerateIpsecTunnel: API.OperationMethod<PskGenerateIpsecTunnelRequest, PskGenerateIpsecTunnelResponse, PskGenerateIpsecTunnelError, Credentials | HttpClient.HttpClient>;
1305
+ export interface GetGreTunnelRequest {
1306
+ greTunnelId: string;
1307
+ /** Path param: Identifier */
1308
+ accountId: string;
1309
+ /** Header param: If true, the health check target in the response body will be presented using the new object format. Defaults to false. */
1310
+ xMagicNewHcTarget?: boolean;
1311
+ }
1312
+ export declare const GetGreTunnelRequest: Schema.Schema<GetGreTunnelRequest>;
1313
+ export interface GetGreTunnelResponse {
1314
+ greTunnel?: {
1315
+ id: string;
1316
+ cloudflareGreEndpoint: string;
1317
+ customerGreEndpoint: string;
1318
+ interfaceAddress: string;
1319
+ name: string;
1320
+ automaticReturnRouting?: boolean | null;
1321
+ bgp?: {
1322
+ customerAsn: number;
1323
+ extraPrefixes?: string[] | null;
1324
+ md5Key?: string | null;
1325
+ } | null;
1326
+ bgpStatus?: {
1327
+ state: "BGP_DOWN" | "BGP_UP" | "BGP_ESTABLISHING";
1328
+ tcpEstablished: boolean;
1329
+ updatedAt: string;
1330
+ bgpState?: string | null;
1331
+ cfSpeakerIp?: string | null;
1332
+ cfSpeakerPort?: number | null;
1333
+ customerSpeakerIp?: string | null;
1334
+ customerSpeakerPort?: number | null;
1335
+ } | null;
1336
+ createdOn?: string | null;
1337
+ description?: string | null;
1338
+ healthCheck?: {
1339
+ direction?: "unidirectional" | "bidirectional" | null;
1340
+ enabled?: boolean | null;
1341
+ rate?: "low" | "mid" | "high" | null;
1342
+ target?: {
1343
+ saved?: string | null;
1344
+ } | string | null;
1345
+ type?: "reply" | "request" | null;
1346
+ } | null;
1347
+ interfaceAddress6?: string | null;
1348
+ modifiedOn?: string | null;
1349
+ mtu?: number | null;
1350
+ ttl?: number | null;
1351
+ } | null;
1352
+ }
1353
+ export declare const GetGreTunnelResponse: Schema.Schema<GetGreTunnelResponse>;
1354
+ export type GetGreTunnelError = DefaultErrors;
1355
+ export declare const getGreTunnel: API.OperationMethod<GetGreTunnelRequest, GetGreTunnelResponse, GetGreTunnelError, Credentials | HttpClient.HttpClient>;
1356
+ export interface ListGreTunnelsRequest {
1357
+ /** Path param: Identifier */
1358
+ accountId: string;
1359
+ /** Header param: If true, the health check target in the response body will be presented using the new object format. Defaults to false. */
1360
+ xMagicNewHcTarget?: boolean;
1361
+ }
1362
+ export declare const ListGreTunnelsRequest: Schema.Schema<ListGreTunnelsRequest>;
1363
+ export interface ListGreTunnelsResponse {
1364
+ greTunnels?: {
1365
+ id: string;
1366
+ cloudflareGreEndpoint: string;
1367
+ customerGreEndpoint: string;
1368
+ interfaceAddress: string;
1369
+ name: string;
1370
+ automaticReturnRouting?: boolean | null;
1371
+ bgp?: {
1372
+ customerAsn: number;
1373
+ extraPrefixes?: string[] | null;
1374
+ md5Key?: string | null;
1375
+ } | null;
1376
+ bgpStatus?: {
1377
+ state: "BGP_DOWN" | "BGP_UP" | "BGP_ESTABLISHING";
1378
+ tcpEstablished: boolean;
1379
+ updatedAt: string;
1380
+ bgpState?: string | null;
1381
+ cfSpeakerIp?: string | null;
1382
+ cfSpeakerPort?: number | null;
1383
+ customerSpeakerIp?: string | null;
1384
+ customerSpeakerPort?: number | null;
1385
+ } | null;
1386
+ createdOn?: string | null;
1387
+ description?: string | null;
1388
+ healthCheck?: {
1389
+ direction?: "unidirectional" | "bidirectional" | null;
1390
+ enabled?: boolean | null;
1391
+ rate?: "low" | "mid" | "high" | null;
1392
+ target?: {
1393
+ saved?: string | null;
1394
+ } | string | null;
1395
+ type?: "reply" | "request" | null;
1396
+ } | null;
1397
+ interfaceAddress6?: string | null;
1398
+ modifiedOn?: string | null;
1399
+ mtu?: number | null;
1400
+ ttl?: number | null;
1401
+ }[] | null;
1402
+ }
1403
+ export declare const ListGreTunnelsResponse: Schema.Schema<ListGreTunnelsResponse>;
1404
+ export type ListGreTunnelsError = DefaultErrors;
1405
+ export declare const listGreTunnels: API.OperationMethod<ListGreTunnelsRequest, ListGreTunnelsResponse, ListGreTunnelsError, Credentials | HttpClient.HttpClient>;
1406
+ export interface CreateGreTunnelRequest {
1407
+ /** Path param: Identifier */
1408
+ accountId: string;
1409
+ /** Header param: If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false. */
1410
+ xMagicNewHcTarget?: boolean;
1411
+ /** Body param: The IP address assigned to the Cloudflare side of the GRE tunnel. */
1412
+ cloudflareGreEndpoint: string;
1413
+ /** Body param: The IP address assigned to the customer side of the GRE tunnel. */
1414
+ customerGreEndpoint: string;
1415
+ /** Body param: A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172 */
1416
+ interfaceAddress: string;
1417
+ /** Body param: The name of the tunnel. The name cannot contain spaces or special characters, must be 15 characters or less, and cannot share a name with another GRE tunnel. */
1418
+ name: string;
1419
+ /** Body param: True if automatic stateful return routing should be enabled for a tunnel, false otherwise. */
1420
+ automaticReturnRouting?: boolean;
1421
+ /** Body param: */
1422
+ bgp?: {
1423
+ customerAsn: number;
1424
+ extraPrefixes?: string[];
1425
+ md5Key?: string;
1426
+ };
1427
+ /** Body param: An optional description of the GRE tunnel. */
1428
+ description?: string;
1429
+ /** Body param: */
1430
+ healthCheck?: {
1431
+ direction?: "unidirectional" | "bidirectional";
1432
+ enabled?: boolean;
1433
+ rate?: "low" | "mid" | "high";
1434
+ target?: {
1435
+ saved?: string;
1436
+ } | string;
1437
+ type?: "reply" | "request";
1438
+ };
1439
+ /** Body param: A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 i */
1440
+ interfaceAddress6?: string;
1441
+ /** Body param: Maximum Transmission Unit (MTU) in bytes for the GRE tunnel. The minimum value is 576. */
1442
+ mtu?: number;
1443
+ /** Body param: Time To Live (TTL) in number of hops of the GRE tunnel. */
1444
+ ttl?: number;
1445
+ }
1446
+ export declare const CreateGreTunnelRequest: Schema.Schema<CreateGreTunnelRequest>;
1447
+ export interface CreateGreTunnelResponse {
1448
+ /** Identifier */
1449
+ id: string;
1450
+ /** The IP address assigned to the Cloudflare side of the GRE tunnel. */
1451
+ cloudflareGreEndpoint: string;
1452
+ /** The IP address assigned to the customer side of the GRE tunnel. */
1453
+ customerGreEndpoint: string;
1454
+ /** A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172.31.255.255, */
1455
+ interfaceAddress: string;
1456
+ /** The name of the tunnel. The name cannot contain spaces or special characters, must be 15 characters or less, and cannot share a name with another GRE tunnel. */
1457
+ name: string;
1458
+ /** True if automatic stateful return routing should be enabled for a tunnel, false otherwise. */
1459
+ automaticReturnRouting?: boolean | null;
1460
+ bgp?: {
1461
+ customerAsn: number;
1462
+ extraPrefixes?: string[] | null;
1463
+ md5Key?: string | null;
1464
+ } | null;
1465
+ bgpStatus?: {
1466
+ state: "BGP_DOWN" | "BGP_UP" | "BGP_ESTABLISHING";
1467
+ tcpEstablished: boolean;
1468
+ updatedAt: string;
1469
+ bgpState?: string | null;
1470
+ cfSpeakerIp?: string | null;
1471
+ cfSpeakerPort?: number | null;
1472
+ customerSpeakerIp?: string | null;
1473
+ customerSpeakerPort?: number | null;
1474
+ } | null;
1475
+ /** The date and time the tunnel was created. */
1476
+ createdOn?: string | null;
1477
+ /** An optional description of the GRE tunnel. */
1478
+ description?: string | null;
1479
+ healthCheck?: {
1480
+ direction?: "unidirectional" | "bidirectional" | null;
1481
+ enabled?: boolean | null;
1482
+ rate?: "low" | "mid" | "high" | null;
1483
+ target?: {
1484
+ saved?: string | null;
1485
+ } | string | null;
1486
+ type?: "reply" | "request" | null;
1487
+ } | null;
1488
+ /** A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 is 2606:54c1: */
1489
+ interfaceAddress6?: string | null;
1490
+ /** The date and time the tunnel was last modified. */
1491
+ modifiedOn?: string | null;
1492
+ /** Maximum Transmission Unit (MTU) in bytes for the GRE tunnel. The minimum value is 576. */
1493
+ mtu?: number | null;
1494
+ /** Time To Live (TTL) in number of hops of the GRE tunnel. */
1495
+ ttl?: number | null;
1496
+ }
1497
+ export declare const CreateGreTunnelResponse: Schema.Schema<CreateGreTunnelResponse>;
1498
+ export type CreateGreTunnelError = DefaultErrors;
1499
+ export declare const createGreTunnel: API.OperationMethod<CreateGreTunnelRequest, CreateGreTunnelResponse, CreateGreTunnelError, Credentials | HttpClient.HttpClient>;
1500
+ export interface UpdateGreTunnelRequest {
1501
+ greTunnelId: string;
1502
+ /** Path param: Identifier */
1503
+ accountId: string;
1504
+ /** Header param: If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false. */
1505
+ xMagicNewHcTarget?: boolean;
1506
+ /** Body param: The IP address assigned to the Cloudflare side of the GRE tunnel. */
1507
+ cloudflareGreEndpoint: string;
1508
+ /** Body param: The IP address assigned to the customer side of the GRE tunnel. */
1509
+ customerGreEndpoint: string;
1510
+ /** Body param: A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172 */
1511
+ interfaceAddress: string;
1512
+ /** Body param: The name of the tunnel. The name cannot contain spaces or special characters, must be 15 characters or less, and cannot share a name with another GRE tunnel. */
1513
+ name: string;
1514
+ /** Body param: True if automatic stateful return routing should be enabled for a tunnel, false otherwise. */
1515
+ automaticReturnRouting?: boolean;
1516
+ /** Body param: An optional description of the GRE tunnel. */
1517
+ description?: string;
1518
+ /** Body param: */
1519
+ healthCheck?: {
1520
+ direction?: "unidirectional" | "bidirectional";
1521
+ enabled?: boolean;
1522
+ rate?: "low" | "mid" | "high";
1523
+ target?: {
1524
+ saved?: string;
1525
+ } | string;
1526
+ type?: "reply" | "request";
1527
+ };
1528
+ /** Body param: A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 i */
1529
+ interfaceAddress6?: string;
1530
+ /** Body param: Maximum Transmission Unit (MTU) in bytes for the GRE tunnel. The minimum value is 576. */
1531
+ mtu?: number;
1532
+ /** Body param: Time To Live (TTL) in number of hops of the GRE tunnel. */
1533
+ ttl?: number;
1534
+ }
1535
+ export declare const UpdateGreTunnelRequest: Schema.Schema<UpdateGreTunnelRequest>;
1536
+ export interface UpdateGreTunnelResponse {
1537
+ modified?: boolean | null;
1538
+ modifiedGreTunnel?: {
1539
+ id: string;
1540
+ cloudflareGreEndpoint: string;
1541
+ customerGreEndpoint: string;
1542
+ interfaceAddress: string;
1543
+ name: string;
1544
+ automaticReturnRouting?: boolean | null;
1545
+ bgp?: {
1546
+ customerAsn: number;
1547
+ extraPrefixes?: string[] | null;
1548
+ md5Key?: string | null;
1549
+ } | null;
1550
+ bgpStatus?: {
1551
+ state: "BGP_DOWN" | "BGP_UP" | "BGP_ESTABLISHING";
1552
+ tcpEstablished: boolean;
1553
+ updatedAt: string;
1554
+ bgpState?: string | null;
1555
+ cfSpeakerIp?: string | null;
1556
+ cfSpeakerPort?: number | null;
1557
+ customerSpeakerIp?: string | null;
1558
+ customerSpeakerPort?: number | null;
1559
+ } | null;
1560
+ createdOn?: string | null;
1561
+ description?: string | null;
1562
+ healthCheck?: {
1563
+ direction?: "unidirectional" | "bidirectional" | null;
1564
+ enabled?: boolean | null;
1565
+ rate?: "low" | "mid" | "high" | null;
1566
+ target?: {
1567
+ saved?: string | null;
1568
+ } | string | null;
1569
+ type?: "reply" | "request" | null;
1570
+ } | null;
1571
+ interfaceAddress6?: string | null;
1572
+ modifiedOn?: string | null;
1573
+ mtu?: number | null;
1574
+ ttl?: number | null;
1575
+ } | null;
1576
+ }
1577
+ export declare const UpdateGreTunnelResponse: Schema.Schema<UpdateGreTunnelResponse>;
1578
+ export type UpdateGreTunnelError = DefaultErrors;
1579
+ export declare const updateGreTunnel: API.OperationMethod<UpdateGreTunnelRequest, UpdateGreTunnelResponse, UpdateGreTunnelError, Credentials | HttpClient.HttpClient>;
1580
+ export interface DeleteGreTunnelRequest {
1581
+ greTunnelId: string;
1582
+ /** Path param: Identifier */
1583
+ accountId: string;
1584
+ /** Header param: If true, the health check target in the response body will be presented using the new object format. Defaults to false. */
1585
+ xMagicNewHcTarget?: boolean;
1586
+ }
1587
+ export declare const DeleteGreTunnelRequest: Schema.Schema<DeleteGreTunnelRequest>;
1588
+ export interface DeleteGreTunnelResponse {
1589
+ deleted?: boolean | null;
1590
+ deletedGreTunnel?: {
1591
+ id: string;
1592
+ cloudflareGreEndpoint: string;
1593
+ customerGreEndpoint: string;
1594
+ interfaceAddress: string;
1595
+ name: string;
1596
+ automaticReturnRouting?: boolean | null;
1597
+ bgp?: {
1598
+ customerAsn: number;
1599
+ extraPrefixes?: string[] | null;
1600
+ md5Key?: string | null;
1601
+ } | null;
1602
+ bgpStatus?: {
1603
+ state: "BGP_DOWN" | "BGP_UP" | "BGP_ESTABLISHING";
1604
+ tcpEstablished: boolean;
1605
+ updatedAt: string;
1606
+ bgpState?: string | null;
1607
+ cfSpeakerIp?: string | null;
1608
+ cfSpeakerPort?: number | null;
1609
+ customerSpeakerIp?: string | null;
1610
+ customerSpeakerPort?: number | null;
1611
+ } | null;
1612
+ createdOn?: string | null;
1613
+ description?: string | null;
1614
+ healthCheck?: {
1615
+ direction?: "unidirectional" | "bidirectional" | null;
1616
+ enabled?: boolean | null;
1617
+ rate?: "low" | "mid" | "high" | null;
1618
+ target?: {
1619
+ saved?: string | null;
1620
+ } | string | null;
1621
+ type?: "reply" | "request" | null;
1622
+ } | null;
1623
+ interfaceAddress6?: string | null;
1624
+ modifiedOn?: string | null;
1625
+ mtu?: number | null;
1626
+ ttl?: number | null;
1627
+ } | null;
1628
+ }
1629
+ export declare const DeleteGreTunnelResponse: Schema.Schema<DeleteGreTunnelResponse>;
1630
+ export type DeleteGreTunnelError = DefaultErrors;
1631
+ export declare const deleteGreTunnel: API.OperationMethod<DeleteGreTunnelRequest, DeleteGreTunnelResponse, DeleteGreTunnelError, Credentials | HttpClient.HttpClient>;
1632
+ export interface GetIpsecTunnelRequest {
1633
+ ipsecTunnelId: string;
1634
+ /** Path param: Identifier */
1635
+ accountId: string;
1636
+ /** Header param: If true, the health check target in the response body will be presented using the new object format. Defaults to false. */
1637
+ xMagicNewHcTarget?: boolean;
1638
+ }
1639
+ export declare const GetIpsecTunnelRequest: Schema.Schema<GetIpsecTunnelRequest>;
1640
+ export interface GetIpsecTunnelResponse {
1641
+ ipsecTunnel?: {
1642
+ id: string;
1643
+ cloudflareEndpoint: string;
1644
+ interfaceAddress: string;
1645
+ name: string;
1646
+ allowNullCipher?: boolean | null;
1647
+ automaticReturnRouting?: boolean | null;
1648
+ bgp?: {
1649
+ customerAsn: number;
1650
+ extraPrefixes?: string[] | null;
1651
+ md5Key?: string | null;
1652
+ } | null;
1653
+ bgpStatus?: {
1654
+ state: "BGP_DOWN" | "BGP_UP" | "BGP_ESTABLISHING";
1655
+ tcpEstablished: boolean;
1656
+ updatedAt: string;
1657
+ bgpState?: string | null;
1658
+ cfSpeakerIp?: string | null;
1659
+ cfSpeakerPort?: number | null;
1660
+ customerSpeakerIp?: string | null;
1661
+ customerSpeakerPort?: number | null;
1662
+ } | null;
1663
+ createdOn?: string | null;
1664
+ customRemoteIdentities?: {
1665
+ fqdnId?: string | null;
1666
+ } | null;
1667
+ customerEndpoint?: string | null;
1668
+ description?: string | null;
1669
+ healthCheck?: {
1670
+ direction?: "unidirectional" | "bidirectional" | null;
1671
+ enabled?: boolean | null;
1672
+ rate?: "low" | "mid" | "high" | null;
1673
+ target?: {
1674
+ saved?: string | null;
1675
+ } | string | null;
1676
+ type?: "reply" | "request" | null;
1677
+ } | null;
1678
+ interfaceAddress6?: string | null;
1679
+ modifiedOn?: string | null;
1680
+ pskMetadata?: unknown | null;
1681
+ replayProtection?: boolean | null;
1682
+ } | null;
1683
+ }
1684
+ export declare const GetIpsecTunnelResponse: Schema.Schema<GetIpsecTunnelResponse>;
1685
+ export type GetIpsecTunnelError = DefaultErrors;
1686
+ export declare const getIpsecTunnel: API.OperationMethod<GetIpsecTunnelRequest, GetIpsecTunnelResponse, GetIpsecTunnelError, Credentials | HttpClient.HttpClient>;
1687
+ export interface ListIpsecTunnelsRequest {
1688
+ /** Path param: Identifier */
1689
+ accountId: string;
1690
+ /** Header param: If true, the health check target in the response body will be presented using the new object format. Defaults to false. */
1691
+ xMagicNewHcTarget?: boolean;
1692
+ }
1693
+ export declare const ListIpsecTunnelsRequest: Schema.Schema<ListIpsecTunnelsRequest>;
1694
+ export interface ListIpsecTunnelsResponse {
1695
+ ipsecTunnels?: {
1696
+ id: string;
1697
+ cloudflareEndpoint: string;
1698
+ interfaceAddress: string;
1699
+ name: string;
1700
+ allowNullCipher?: boolean | null;
1701
+ automaticReturnRouting?: boolean | null;
1702
+ bgp?: {
1703
+ customerAsn: number;
1704
+ extraPrefixes?: string[] | null;
1705
+ md5Key?: string | null;
1706
+ } | null;
1707
+ bgpStatus?: {
1708
+ state: "BGP_DOWN" | "BGP_UP" | "BGP_ESTABLISHING";
1709
+ tcpEstablished: boolean;
1710
+ updatedAt: string;
1711
+ bgpState?: string | null;
1712
+ cfSpeakerIp?: string | null;
1713
+ cfSpeakerPort?: number | null;
1714
+ customerSpeakerIp?: string | null;
1715
+ customerSpeakerPort?: number | null;
1716
+ } | null;
1717
+ createdOn?: string | null;
1718
+ customRemoteIdentities?: {
1719
+ fqdnId?: string | null;
1720
+ } | null;
1721
+ customerEndpoint?: string | null;
1722
+ description?: string | null;
1723
+ healthCheck?: {
1724
+ direction?: "unidirectional" | "bidirectional" | null;
1725
+ enabled?: boolean | null;
1726
+ rate?: "low" | "mid" | "high" | null;
1727
+ target?: {
1728
+ saved?: string | null;
1729
+ } | string | null;
1730
+ type?: "reply" | "request" | null;
1731
+ } | null;
1732
+ interfaceAddress6?: string | null;
1733
+ modifiedOn?: string | null;
1734
+ pskMetadata?: unknown | null;
1735
+ replayProtection?: boolean | null;
1736
+ }[] | null;
1737
+ }
1738
+ export declare const ListIpsecTunnelsResponse: Schema.Schema<ListIpsecTunnelsResponse>;
1739
+ export type ListIpsecTunnelsError = DefaultErrors;
1740
+ export declare const listIpsecTunnels: API.OperationMethod<ListIpsecTunnelsRequest, ListIpsecTunnelsResponse, ListIpsecTunnelsError, Credentials | HttpClient.HttpClient>;
1741
+ export interface CreateIpsecTunnelRequest {
1742
+ /** Path param: Identifier */
1743
+ accountId: string;
1744
+ /** Header param: If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false. */
1745
+ xMagicNewHcTarget?: boolean;
1746
+ /** Body param: The IP address assigned to the Cloudflare side of the IPsec tunnel. */
1747
+ cloudflareEndpoint: string;
1748
+ /** Body param: A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172 */
1749
+ interfaceAddress: string;
1750
+ /** Body param: The name of the IPsec tunnel. The name cannot share a name with other tunnels. */
1751
+ name: string;
1752
+ /** Body param: True if automatic stateful return routing should be enabled for a tunnel, false otherwise. */
1753
+ automaticReturnRouting?: boolean;
1754
+ /** Body param: */
1755
+ bgp?: {
1756
+ customerAsn: number;
1757
+ extraPrefixes?: string[];
1758
+ md5Key?: string;
1759
+ };
1760
+ /** Body param: */
1761
+ customRemoteIdentities?: {
1762
+ fqdnId?: string;
1763
+ };
1764
+ /** Body param: The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work. */
1765
+ customerEndpoint?: string;
1766
+ /** Body param: An optional description forthe IPsec tunnel. */
1767
+ description?: string;
1768
+ /** Body param: */
1769
+ healthCheck?: {
1770
+ direction?: "unidirectional" | "bidirectional";
1771
+ enabled?: boolean;
1772
+ rate?: "low" | "mid" | "high";
1773
+ target?: {
1774
+ saved?: string;
1775
+ } | string;
1776
+ type?: "reply" | "request";
1777
+ };
1778
+ /** Body param: A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 i */
1779
+ interfaceAddress6?: string;
1780
+ /** Body param: A randomly generated or provided string for use in the IPsec tunnel. */
1781
+ psk?: string;
1782
+ /** Body param: If `true`, then IPsec replay protection will be supported in the Cloudflare-to-customer direction. */
1783
+ replayProtection?: boolean;
1784
+ }
1785
+ export declare const CreateIpsecTunnelRequest: Schema.Schema<CreateIpsecTunnelRequest>;
1786
+ export interface CreateIpsecTunnelResponse {
1787
+ /** Identifier */
1788
+ id: string;
1789
+ /** The IP address assigned to the Cloudflare side of the IPsec tunnel. */
1790
+ cloudflareEndpoint: string;
1791
+ /** A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172.31.255.255, */
1792
+ interfaceAddress: string;
1793
+ /** The name of the IPsec tunnel. The name cannot share a name with other tunnels. */
1794
+ name: string;
1795
+ /** When `true`, the tunnel can use a null-cipher (`ENCR_NULL`) in the ESP tunnel (Phase 2). */
1796
+ allowNullCipher?: boolean | null;
1797
+ /** True if automatic stateful return routing should be enabled for a tunnel, false otherwise. */
1798
+ automaticReturnRouting?: boolean | null;
1799
+ bgp?: {
1800
+ customerAsn: number;
1801
+ extraPrefixes?: string[] | null;
1802
+ md5Key?: string | null;
1803
+ } | null;
1804
+ bgpStatus?: {
1805
+ state: "BGP_DOWN" | "BGP_UP" | "BGP_ESTABLISHING";
1806
+ tcpEstablished: boolean;
1807
+ updatedAt: string;
1808
+ bgpState?: string | null;
1809
+ cfSpeakerIp?: string | null;
1810
+ cfSpeakerPort?: number | null;
1811
+ customerSpeakerIp?: string | null;
1812
+ customerSpeakerPort?: number | null;
1813
+ } | null;
1814
+ /** The date and time the tunnel was created. */
1815
+ createdOn?: string | null;
1816
+ customRemoteIdentities?: {
1817
+ fqdnId?: string | null;
1818
+ } | null;
1819
+ /** The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work. */
1820
+ customerEndpoint?: string | null;
1821
+ /** An optional description forthe IPsec tunnel. */
1822
+ description?: string | null;
1823
+ healthCheck?: {
1824
+ direction?: "unidirectional" | "bidirectional" | null;
1825
+ enabled?: boolean | null;
1826
+ rate?: "low" | "mid" | "high" | null;
1827
+ target?: {
1828
+ saved?: string | null;
1829
+ } | string | null;
1830
+ type?: "reply" | "request" | null;
1831
+ } | null;
1832
+ /** A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 is 2606:54c1: */
1833
+ interfaceAddress6?: string | null;
1834
+ /** The date and time the tunnel was last modified. */
1835
+ modifiedOn?: string | null;
1836
+ /** The PSK metadata that includes when the PSK was generated. */
1837
+ pskMetadata?: {
1838
+ lastGeneratedOn?: string | null;
1839
+ } | null;
1840
+ /** If `true`, then IPsec replay protection will be supported in the Cloudflare-to-customer direction. */
1841
+ replayProtection?: boolean | null;
1842
+ }
1843
+ export declare const CreateIpsecTunnelResponse: Schema.Schema<CreateIpsecTunnelResponse>;
1844
+ export type CreateIpsecTunnelError = DefaultErrors;
1845
+ export declare const createIpsecTunnel: API.OperationMethod<CreateIpsecTunnelRequest, CreateIpsecTunnelResponse, CreateIpsecTunnelError, Credentials | HttpClient.HttpClient>;
1846
+ export interface UpdateIpsecTunnelRequest {
1847
+ ipsecTunnelId: string;
1848
+ /** Path param: Identifier */
1849
+ accountId: string;
1850
+ /** Header param: If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false. */
1851
+ xMagicNewHcTarget?: boolean;
1852
+ /** Body param: The IP address assigned to the Cloudflare side of the IPsec tunnel. */
1853
+ cloudflareEndpoint: string;
1854
+ /** Body param: A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172 */
1855
+ interfaceAddress: string;
1856
+ /** Body param: The name of the IPsec tunnel. The name cannot share a name with other tunnels. */
1857
+ name: string;
1858
+ /** Body param: True if automatic stateful return routing should be enabled for a tunnel, false otherwise. */
1859
+ automaticReturnRouting?: boolean;
1860
+ /** Body param: */
1861
+ bgp?: {
1862
+ customerAsn: number;
1863
+ extraPrefixes?: string[];
1864
+ md5Key?: string;
1865
+ };
1866
+ /** Body param: */
1867
+ customRemoteIdentities?: {
1868
+ fqdnId?: string;
1869
+ };
1870
+ /** Body param: The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work. */
1871
+ customerEndpoint?: string;
1872
+ /** Body param: An optional description forthe IPsec tunnel. */
1873
+ description?: string;
1874
+ /** Body param: */
1875
+ healthCheck?: {
1876
+ direction?: "unidirectional" | "bidirectional";
1877
+ enabled?: boolean;
1878
+ rate?: "low" | "mid" | "high";
1879
+ target?: {
1880
+ saved?: string;
1881
+ } | string;
1882
+ type?: "reply" | "request";
1883
+ };
1884
+ /** Body param: A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 i */
1885
+ interfaceAddress6?: string;
1886
+ /** Body param: A randomly generated or provided string for use in the IPsec tunnel. */
1887
+ psk?: string;
1888
+ /** Body param: If `true`, then IPsec replay protection will be supported in the Cloudflare-to-customer direction. */
1889
+ replayProtection?: boolean;
1890
+ }
1891
+ export declare const UpdateIpsecTunnelRequest: Schema.Schema<UpdateIpsecTunnelRequest>;
1892
+ export interface UpdateIpsecTunnelResponse {
1893
+ modified?: boolean | null;
1894
+ modifiedIpsecTunnel?: {
1895
+ id: string;
1896
+ cloudflareEndpoint: string;
1897
+ interfaceAddress: string;
1898
+ name: string;
1899
+ allowNullCipher?: boolean | null;
1900
+ automaticReturnRouting?: boolean | null;
1901
+ bgp?: {
1902
+ customerAsn: number;
1903
+ extraPrefixes?: string[] | null;
1904
+ md5Key?: string | null;
1905
+ } | null;
1906
+ bgpStatus?: {
1907
+ state: "BGP_DOWN" | "BGP_UP" | "BGP_ESTABLISHING";
1908
+ tcpEstablished: boolean;
1909
+ updatedAt: string;
1910
+ bgpState?: string | null;
1911
+ cfSpeakerIp?: string | null;
1912
+ cfSpeakerPort?: number | null;
1913
+ customerSpeakerIp?: string | null;
1914
+ customerSpeakerPort?: number | null;
1915
+ } | null;
1916
+ createdOn?: string | null;
1917
+ customRemoteIdentities?: {
1918
+ fqdnId?: string | null;
1919
+ } | null;
1920
+ customerEndpoint?: string | null;
1921
+ description?: string | null;
1922
+ healthCheck?: {
1923
+ direction?: "unidirectional" | "bidirectional" | null;
1924
+ enabled?: boolean | null;
1925
+ rate?: "low" | "mid" | "high" | null;
1926
+ target?: {
1927
+ saved?: string | null;
1928
+ } | string | null;
1929
+ type?: "reply" | "request" | null;
1930
+ } | null;
1931
+ interfaceAddress6?: string | null;
1932
+ modifiedOn?: string | null;
1933
+ pskMetadata?: unknown | null;
1934
+ replayProtection?: boolean | null;
1935
+ } | null;
1936
+ }
1937
+ export declare const UpdateIpsecTunnelResponse: Schema.Schema<UpdateIpsecTunnelResponse>;
1938
+ export type UpdateIpsecTunnelError = DefaultErrors;
1939
+ export declare const updateIpsecTunnel: API.OperationMethod<UpdateIpsecTunnelRequest, UpdateIpsecTunnelResponse, UpdateIpsecTunnelError, Credentials | HttpClient.HttpClient>;
1940
+ export interface DeleteIpsecTunnelRequest {
1941
+ ipsecTunnelId: string;
1942
+ /** Path param: Identifier */
1943
+ accountId: string;
1944
+ /** Header param: If true, the health check target in the response body will be presented using the new object format. Defaults to false. */
1945
+ xMagicNewHcTarget?: boolean;
1946
+ }
1947
+ export declare const DeleteIpsecTunnelRequest: Schema.Schema<DeleteIpsecTunnelRequest>;
1948
+ export interface DeleteIpsecTunnelResponse {
1949
+ deleted?: boolean | null;
1950
+ deletedIpsecTunnel?: {
1951
+ id: string;
1952
+ cloudflareEndpoint: string;
1953
+ interfaceAddress: string;
1954
+ name: string;
1955
+ allowNullCipher?: boolean | null;
1956
+ automaticReturnRouting?: boolean | null;
1957
+ bgp?: {
1958
+ customerAsn: number;
1959
+ extraPrefixes?: string[] | null;
1960
+ md5Key?: string | null;
1961
+ } | null;
1962
+ bgpStatus?: {
1963
+ state: "BGP_DOWN" | "BGP_UP" | "BGP_ESTABLISHING";
1964
+ tcpEstablished: boolean;
1965
+ updatedAt: string;
1966
+ bgpState?: string | null;
1967
+ cfSpeakerIp?: string | null;
1968
+ cfSpeakerPort?: number | null;
1969
+ customerSpeakerIp?: string | null;
1970
+ customerSpeakerPort?: number | null;
1971
+ } | null;
1972
+ createdOn?: string | null;
1973
+ customRemoteIdentities?: {
1974
+ fqdnId?: string | null;
1975
+ } | null;
1976
+ customerEndpoint?: string | null;
1977
+ description?: string | null;
1978
+ healthCheck?: {
1979
+ direction?: "unidirectional" | "bidirectional" | null;
1980
+ enabled?: boolean | null;
1981
+ rate?: "low" | "mid" | "high" | null;
1982
+ target?: {
1983
+ saved?: string | null;
1984
+ } | string | null;
1985
+ type?: "reply" | "request" | null;
1986
+ } | null;
1987
+ interfaceAddress6?: string | null;
1988
+ modifiedOn?: string | null;
1989
+ pskMetadata?: unknown | null;
1990
+ replayProtection?: boolean | null;
1991
+ } | null;
1992
+ }
1993
+ export declare const DeleteIpsecTunnelResponse: Schema.Schema<DeleteIpsecTunnelResponse>;
1994
+ export type DeleteIpsecTunnelError = DefaultErrors;
1995
+ export declare const deleteIpsecTunnel: API.OperationMethod<DeleteIpsecTunnelRequest, DeleteIpsecTunnelResponse, DeleteIpsecTunnelError, Credentials | HttpClient.HttpClient>;
1996
+ export interface GetPcapRequest {
1997
+ pcapId: string;
1998
+ /** Identifier. */
1999
+ accountId: string;
2000
+ }
2001
+ export declare const GetPcapRequest: Schema.Schema<GetPcapRequest>;
2002
+ export type GetPcapResponse = {
2003
+ id?: string | null;
2004
+ filterV1?: {
2005
+ destinationAddress?: string | null;
2006
+ destinationPort?: number | null;
2007
+ protocol?: number | null;
2008
+ sourceAddress?: string | null;
2009
+ sourcePort?: number | null;
2010
+ } | null;
2011
+ offsetTime?: string | null;
2012
+ status?: "unknown" | "success" | "pending" | "running" | "conversion_pending" | "conversion_running" | "complete" | "failed" | null;
2013
+ submitted?: string | null;
2014
+ system?: "magic-transit" | null;
2015
+ timeLimit?: number | null;
2016
+ type?: "simple" | "full" | null;
2017
+ } | {
2018
+ id?: string | null;
2019
+ byteLimit?: number | null;
2020
+ coloName?: string | null;
2021
+ destinationConf?: string | null;
2022
+ errorMessage?: string | null;
2023
+ filterV1?: unknown | null;
2024
+ packetsCaptured?: number | null;
2025
+ status?: "unknown" | "success" | "pending" | "running" | "conversion_pending" | "conversion_running" | "complete" | "failed" | null;
2026
+ stopRequested?: string | null;
2027
+ submitted?: string | null;
2028
+ system?: "magic-transit" | null;
2029
+ timeLimit?: number | null;
2030
+ type?: "simple" | "full" | null;
2031
+ };
2032
+ export declare const GetPcapResponse: Schema.Schema<GetPcapResponse>;
2033
+ export type GetPcapError = DefaultErrors;
2034
+ export declare const getPcap: API.OperationMethod<GetPcapRequest, GetPcapResponse, GetPcapError, Credentials | HttpClient.HttpClient>;
2035
+ export interface ListPcapsRequest {
2036
+ /** Identifier. */
2037
+ accountId: string;
2038
+ }
2039
+ export declare const ListPcapsRequest: Schema.Schema<ListPcapsRequest>;
2040
+ export type ListPcapsResponse = ({
2041
+ id?: string | null;
2042
+ filterV1?: {
2043
+ destinationAddress?: string | null;
2044
+ destinationPort?: number | null;
2045
+ protocol?: number | null;
2046
+ sourceAddress?: string | null;
2047
+ sourcePort?: number | null;
2048
+ } | null;
2049
+ offsetTime?: string | null;
2050
+ status?: "unknown" | "success" | "pending" | "running" | "conversion_pending" | "conversion_running" | "complete" | "failed" | null;
2051
+ submitted?: string | null;
2052
+ system?: "magic-transit" | null;
2053
+ timeLimit?: number | null;
2054
+ type?: "simple" | "full" | null;
2055
+ } | {
2056
+ id?: string | null;
2057
+ byteLimit?: number | null;
2058
+ coloName?: string | null;
2059
+ destinationConf?: string | null;
2060
+ errorMessage?: string | null;
2061
+ filterV1?: unknown | null;
2062
+ packetsCaptured?: number | null;
2063
+ status?: "unknown" | "success" | "pending" | "running" | "conversion_pending" | "conversion_running" | "complete" | "failed" | null;
2064
+ stopRequested?: string | null;
2065
+ submitted?: string | null;
2066
+ system?: "magic-transit" | null;
2067
+ timeLimit?: number | null;
2068
+ type?: "simple" | "full" | null;
2069
+ })[];
2070
+ export declare const ListPcapsResponse: Schema.Schema<ListPcapsResponse>;
2071
+ export type ListPcapsError = DefaultErrors;
2072
+ export declare const listPcaps: API.OperationMethod<ListPcapsRequest, ListPcapsResponse, ListPcapsError, Credentials | HttpClient.HttpClient>;
2073
+ export interface CreatePcapRequest {
2074
+ /** Path param: Identifier. */
2075
+ accountId: string;
2076
+ /** Body param: The limit of packets contained in a packet capture. */
2077
+ packetLimit: number;
2078
+ /** Body param: The system used to collect packet captures. */
2079
+ system: "magic-transit";
2080
+ /** Body param: The packet capture duration in seconds. */
2081
+ timeLimit: number;
2082
+ /** Body param: The type of packet capture. `Simple` captures sampled packets, and `full` captures entire payloads and non-sampled packets. */
2083
+ type: "simple" | "full";
2084
+ /** Body param: The packet capture filter. When this field is empty, all packets are captured. */
2085
+ filterV1?: {
2086
+ destinationAddress?: string;
2087
+ destinationPort?: number;
2088
+ protocol?: number;
2089
+ sourceAddress?: string;
2090
+ sourcePort?: number;
2091
+ };
2092
+ /** Body param: The RFC 3339 offset timestamp from which to query backwards for packets. Must be within the last 24h. When this field is empty, defaults to time of request. */
2093
+ offsetTime?: string;
2094
+ }
2095
+ export declare const CreatePcapRequest: Schema.Schema<CreatePcapRequest>;
2096
+ export type CreatePcapResponse = {
2097
+ id?: string | null;
2098
+ filterV1?: {
2099
+ destinationAddress?: string | null;
2100
+ destinationPort?: number | null;
2101
+ protocol?: number | null;
2102
+ sourceAddress?: string | null;
2103
+ sourcePort?: number | null;
2104
+ } | null;
2105
+ offsetTime?: string | null;
2106
+ status?: "unknown" | "success" | "pending" | "running" | "conversion_pending" | "conversion_running" | "complete" | "failed" | null;
2107
+ submitted?: string | null;
2108
+ system?: "magic-transit" | null;
2109
+ timeLimit?: number | null;
2110
+ type?: "simple" | "full" | null;
2111
+ } | {
2112
+ id?: string | null;
2113
+ byteLimit?: number | null;
2114
+ coloName?: string | null;
2115
+ destinationConf?: string | null;
2116
+ errorMessage?: string | null;
2117
+ filterV1?: unknown | null;
2118
+ packetsCaptured?: number | null;
2119
+ status?: "unknown" | "success" | "pending" | "running" | "conversion_pending" | "conversion_running" | "complete" | "failed" | null;
2120
+ stopRequested?: string | null;
2121
+ submitted?: string | null;
2122
+ system?: "magic-transit" | null;
2123
+ timeLimit?: number | null;
2124
+ type?: "simple" | "full" | null;
2125
+ };
2126
+ export declare const CreatePcapResponse: Schema.Schema<CreatePcapResponse>;
2127
+ export type CreatePcapError = DefaultErrors;
2128
+ export declare const createPcap: API.OperationMethod<CreatePcapRequest, CreatePcapResponse, CreatePcapError, Credentials | HttpClient.HttpClient>;
2129
+ export interface StopPcapRequest {
2130
+ pcapId: string;
2131
+ /** Identifier. */
2132
+ accountId: string;
2133
+ }
2134
+ export declare const StopPcapRequest: Schema.Schema<StopPcapRequest>;
2135
+ export type StopPcapResponse = unknown;
2136
+ export declare const StopPcapResponse: Schema.Schema<unknown>;
2137
+ export type StopPcapError = DefaultErrors;
2138
+ export declare const stopPcap: API.OperationMethod<StopPcapRequest, StopPcapResponse, StopPcapError, Credentials | HttpClient.HttpClient>;
2139
+ export interface GetPcapDownloadRequest {
2140
+ pcapId: string;
2141
+ /** Identifier. */
2142
+ accountId: string;
2143
+ }
2144
+ export declare const GetPcapDownloadRequest: Schema.Schema<GetPcapDownloadRequest>;
2145
+ export type GetPcapDownloadResponse = unknown;
2146
+ export declare const GetPcapDownloadResponse: Schema.Schema<unknown>;
2147
+ export type GetPcapDownloadError = DefaultErrors;
2148
+ export declare const getPcapDownload: API.OperationMethod<GetPcapDownloadRequest, GetPcapDownloadResponse, GetPcapDownloadError, Credentials | HttpClient.HttpClient>;
2149
+ export interface GetPcapOwnershipRequest {
2150
+ /** Identifier. */
2151
+ accountId: string;
2152
+ }
2153
+ export declare const GetPcapOwnershipRequest: Schema.Schema<GetPcapOwnershipRequest>;
2154
+ export type GetPcapOwnershipResponse = {
2155
+ id: string;
2156
+ destinationConf: string;
2157
+ filename: string;
2158
+ status: "pending" | "success" | "failed";
2159
+ submitted: string;
2160
+ validated?: string | null;
2161
+ }[];
2162
+ export declare const GetPcapOwnershipResponse: Schema.Schema<GetPcapOwnershipResponse>;
2163
+ export type GetPcapOwnershipError = DefaultErrors;
2164
+ export declare const getPcapOwnership: API.OperationMethod<GetPcapOwnershipRequest, GetPcapOwnershipResponse, GetPcapOwnershipError, Credentials | HttpClient.HttpClient>;
2165
+ export interface CreatePcapOwnershipRequest {
2166
+ /** Path param: Identifier. */
2167
+ accountId: string;
2168
+ /** Body param: The full URI for the bucket. This field only applies to `full` packet captures. */
2169
+ destinationConf: string;
2170
+ }
2171
+ export declare const CreatePcapOwnershipRequest: Schema.Schema<CreatePcapOwnershipRequest>;
2172
+ export interface CreatePcapOwnershipResponse {
2173
+ /** The bucket ID associated with the packet captures API. */
2174
+ id: string;
2175
+ /** The full URI for the bucket. This field only applies to `full` packet captures. */
2176
+ destinationConf: string;
2177
+ /** The ownership challenge filename stored in the bucket. */
2178
+ filename: string;
2179
+ /** The status of the ownership challenge. Can be pending, success or failed. */
2180
+ status: "pending" | "success" | "failed";
2181
+ /** The RFC 3339 timestamp when the bucket was added to packet captures API. */
2182
+ submitted: string;
2183
+ /** The RFC 3339 timestamp when the bucket was validated. */
2184
+ validated?: string | null;
2185
+ }
2186
+ export declare const CreatePcapOwnershipResponse: Schema.Schema<CreatePcapOwnershipResponse>;
2187
+ export type CreatePcapOwnershipError = DefaultErrors;
2188
+ export declare const createPcapOwnership: API.OperationMethod<CreatePcapOwnershipRequest, CreatePcapOwnershipResponse, CreatePcapOwnershipError, Credentials | HttpClient.HttpClient>;
2189
+ export interface DeletePcapOwnershipRequest {
2190
+ ownershipId: string;
2191
+ /** Identifier. */
2192
+ accountId: string;
2193
+ }
2194
+ export declare const DeletePcapOwnershipRequest: Schema.Schema<DeletePcapOwnershipRequest>;
2195
+ export type DeletePcapOwnershipResponse = unknown;
2196
+ export declare const DeletePcapOwnershipResponse: Schema.Schema<unknown>;
2197
+ export type DeletePcapOwnershipError = DefaultErrors;
2198
+ export declare const deletePcapOwnership: API.OperationMethod<DeletePcapOwnershipRequest, DeletePcapOwnershipResponse, DeletePcapOwnershipError, Credentials | HttpClient.HttpClient>;
2199
+ export interface ValidatePcapOwnershipRequest {
2200
+ /** Path param: Identifier. */
2201
+ accountId: string;
2202
+ /** Body param: The full URI for the bucket. This field only applies to `full` packet captures. */
2203
+ destinationConf: string;
2204
+ /** Body param: The ownership challenge filename stored in the bucket. */
2205
+ ownershipChallenge: string;
2206
+ }
2207
+ export declare const ValidatePcapOwnershipRequest: Schema.Schema<ValidatePcapOwnershipRequest>;
2208
+ export interface ValidatePcapOwnershipResponse {
2209
+ /** The bucket ID associated with the packet captures API. */
2210
+ id: string;
2211
+ /** The full URI for the bucket. This field only applies to `full` packet captures. */
2212
+ destinationConf: string;
2213
+ /** The ownership challenge filename stored in the bucket. */
2214
+ filename: string;
2215
+ /** The status of the ownership challenge. Can be pending, success or failed. */
2216
+ status: "pending" | "success" | "failed";
2217
+ /** The RFC 3339 timestamp when the bucket was added to packet captures API. */
2218
+ submitted: string;
2219
+ /** The RFC 3339 timestamp when the bucket was validated. */
2220
+ validated?: string | null;
2221
+ }
2222
+ export declare const ValidatePcapOwnershipResponse: Schema.Schema<ValidatePcapOwnershipResponse>;
2223
+ export type ValidatePcapOwnershipError = DefaultErrors;
2224
+ export declare const validatePcapOwnership: API.OperationMethod<ValidatePcapOwnershipRequest, ValidatePcapOwnershipResponse, ValidatePcapOwnershipError, Credentials | HttpClient.HttpClient>;
2225
+ export interface BulkPutCfInterconnectsRequest {
2226
+ /** Path param: Identifier */
2227
+ accountId: string;
2228
+ /** Header param: If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false. */
2229
+ xMagicNewHcTarget?: boolean;
2230
+ /** Body param: */
2231
+ body: unknown;
2232
+ }
2233
+ export declare const BulkPutCfInterconnectsRequest: Schema.Schema<BulkPutCfInterconnectsRequest>;
2234
+ export interface BulkPutCfInterconnectsResponse {
2235
+ modified?: boolean | null;
2236
+ modifiedInterconnects?: {
2237
+ id?: string | null;
2238
+ automaticReturnRouting?: boolean | null;
2239
+ coloName?: string | null;
2240
+ createdOn?: string | null;
2241
+ description?: string | null;
2242
+ gre?: {
2243
+ cloudflareEndpoint?: string | null;
2244
+ } | null;
2245
+ healthCheck?: unknown | null;
2246
+ interfaceAddress?: string | null;
2247
+ interfaceAddress6?: string | null;
2248
+ modifiedOn?: string | null;
2249
+ mtu?: number | null;
2250
+ name?: string | null;
2251
+ }[] | null;
2252
+ }
2253
+ export declare const BulkPutCfInterconnectsResponse: Schema.Schema<BulkPutCfInterconnectsResponse>;
2254
+ export type BulkPutCfInterconnectsError = DefaultErrors;
2255
+ export declare const bulkPutCfInterconnects: API.OperationMethod<BulkPutCfInterconnectsRequest, BulkPutCfInterconnectsResponse, BulkPutCfInterconnectsError, Credentials | HttpClient.HttpClient>;
2256
+ export interface BulkPutGreTunnelsRequest {
2257
+ /** Path param: Identifier */
2258
+ accountId: string;
2259
+ /** Header param: If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false. */
2260
+ xMagicNewHcTarget?: boolean;
2261
+ /** Body param: */
2262
+ body: unknown;
2263
+ }
2264
+ export declare const BulkPutGreTunnelsRequest: Schema.Schema<BulkPutGreTunnelsRequest>;
2265
+ export interface BulkPutGreTunnelsResponse {
2266
+ modified?: boolean | null;
2267
+ modifiedGreTunnels?: {
2268
+ id: string;
2269
+ cloudflareGreEndpoint: string;
2270
+ customerGreEndpoint: string;
2271
+ interfaceAddress: string;
2272
+ name: string;
2273
+ automaticReturnRouting?: boolean | null;
2274
+ bgp?: {
2275
+ customerAsn: number;
2276
+ extraPrefixes?: string[] | null;
2277
+ md5Key?: string | null;
2278
+ } | null;
2279
+ bgpStatus?: {
2280
+ state: "BGP_DOWN" | "BGP_UP" | "BGP_ESTABLISHING";
2281
+ tcpEstablished: boolean;
2282
+ updatedAt: string;
2283
+ bgpState?: string | null;
2284
+ cfSpeakerIp?: string | null;
2285
+ cfSpeakerPort?: number | null;
2286
+ customerSpeakerIp?: string | null;
2287
+ customerSpeakerPort?: number | null;
2288
+ } | null;
2289
+ createdOn?: string | null;
2290
+ description?: string | null;
2291
+ healthCheck?: {
2292
+ direction?: "unidirectional" | "bidirectional" | null;
2293
+ enabled?: boolean | null;
2294
+ rate?: "low" | "mid" | "high" | null;
2295
+ target?: {
2296
+ saved?: string | null;
2297
+ } | string | null;
2298
+ type?: "reply" | "request" | null;
2299
+ } | null;
2300
+ interfaceAddress6?: string | null;
2301
+ modifiedOn?: string | null;
2302
+ mtu?: number | null;
2303
+ ttl?: number | null;
2304
+ }[] | null;
2305
+ }
2306
+ export declare const BulkPutGreTunnelsResponse: Schema.Schema<BulkPutGreTunnelsResponse>;
2307
+ export type BulkPutGreTunnelsError = DefaultErrors;
2308
+ export declare const bulkPutGreTunnels: API.OperationMethod<BulkPutGreTunnelsRequest, BulkPutGreTunnelsResponse, BulkPutGreTunnelsError, Credentials | HttpClient.HttpClient>;
2309
+ export interface BulkPutIpsecTunnelsRequest {
2310
+ /** Path param: Identifier */
2311
+ accountId: string;
2312
+ /** Header param: If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false. */
2313
+ xMagicNewHcTarget?: boolean;
2314
+ /** Body param: */
2315
+ body: unknown;
2316
+ }
2317
+ export declare const BulkPutIpsecTunnelsRequest: Schema.Schema<BulkPutIpsecTunnelsRequest>;
2318
+ export interface BulkPutIpsecTunnelsResponse {
2319
+ modified?: boolean | null;
2320
+ modifiedIpsecTunnels?: {
2321
+ id: string;
2322
+ cloudflareEndpoint: string;
2323
+ interfaceAddress: string;
2324
+ name: string;
2325
+ allowNullCipher?: boolean | null;
2326
+ automaticReturnRouting?: boolean | null;
2327
+ bgp?: {
2328
+ customerAsn: number;
2329
+ extraPrefixes?: string[] | null;
2330
+ md5Key?: string | null;
2331
+ } | null;
2332
+ bgpStatus?: {
2333
+ state: "BGP_DOWN" | "BGP_UP" | "BGP_ESTABLISHING";
2334
+ tcpEstablished: boolean;
2335
+ updatedAt: string;
2336
+ bgpState?: string | null;
2337
+ cfSpeakerIp?: string | null;
2338
+ cfSpeakerPort?: number | null;
2339
+ customerSpeakerIp?: string | null;
2340
+ customerSpeakerPort?: number | null;
2341
+ } | null;
2342
+ createdOn?: string | null;
2343
+ customRemoteIdentities?: {
2344
+ fqdnId?: string | null;
2345
+ } | null;
2346
+ customerEndpoint?: string | null;
2347
+ description?: string | null;
2348
+ healthCheck?: {
2349
+ direction?: "unidirectional" | "bidirectional" | null;
2350
+ enabled?: boolean | null;
2351
+ rate?: "low" | "mid" | "high" | null;
2352
+ target?: {
2353
+ saved?: string | null;
2354
+ } | string | null;
2355
+ type?: "reply" | "request" | null;
2356
+ } | null;
2357
+ interfaceAddress6?: string | null;
2358
+ modifiedOn?: string | null;
2359
+ pskMetadata?: unknown | null;
2360
+ replayProtection?: boolean | null;
2361
+ }[] | null;
2362
+ }
2363
+ export declare const BulkPutIpsecTunnelsResponse: Schema.Schema<BulkPutIpsecTunnelsResponse>;
2364
+ export type BulkPutIpsecTunnelsError = DefaultErrors;
2365
+ export declare const bulkPutIpsecTunnels: API.OperationMethod<BulkPutIpsecTunnelsRequest, BulkPutIpsecTunnelsResponse, BulkPutIpsecTunnelsError, Credentials | HttpClient.HttpClient>;
2366
+ export interface BulkPutRoutesRequest {
2367
+ /** Path param: Identifier */
2368
+ accountId: string;
2369
+ /** Body param: */
2370
+ routes: {
2371
+ id: string;
2372
+ nexthop: string;
2373
+ prefix: string;
2374
+ priority: number;
2375
+ description?: string;
2376
+ scope?: unknown;
2377
+ weight?: number;
2378
+ }[];
2379
+ }
2380
+ export declare const BulkPutRoutesRequest: Schema.Schema<BulkPutRoutesRequest>;
2381
+ export interface BulkPutRoutesResponse {
2382
+ modified?: boolean | null;
2383
+ modifiedRoutes?: {
2384
+ id: string;
2385
+ nexthop: string;
2386
+ prefix: string;
2387
+ priority: number;
2388
+ createdOn?: string | null;
2389
+ description?: string | null;
2390
+ modifiedOn?: string | null;
2391
+ scope?: unknown | null;
2392
+ weight?: number | null;
2393
+ }[] | null;
2394
+ }
2395
+ export declare const BulkPutRoutesResponse: Schema.Schema<BulkPutRoutesResponse>;
2396
+ export type BulkPutRoutesError = DefaultErrors;
2397
+ export declare const bulkPutRoutes: API.OperationMethod<BulkPutRoutesRequest, BulkPutRoutesResponse, BulkPutRoutesError, Credentials | HttpClient.HttpClient>;
2398
+ export interface GetRouteRequest {
2399
+ routeId: string;
2400
+ /** Identifier */
2401
+ accountId: string;
2402
+ }
2403
+ export declare const GetRouteRequest: Schema.Schema<GetRouteRequest>;
2404
+ export interface GetRouteResponse {
2405
+ route?: {
2406
+ id: string;
2407
+ nexthop: string;
2408
+ prefix: string;
2409
+ priority: number;
2410
+ createdOn?: string | null;
2411
+ description?: string | null;
2412
+ modifiedOn?: string | null;
2413
+ scope?: unknown | null;
2414
+ weight?: number | null;
2415
+ } | null;
2416
+ }
2417
+ export declare const GetRouteResponse: Schema.Schema<GetRouteResponse>;
2418
+ export type GetRouteError = DefaultErrors;
2419
+ export declare const getRoute: API.OperationMethod<GetRouteRequest, GetRouteResponse, GetRouteError, Credentials | HttpClient.HttpClient>;
2420
+ export interface ListRoutesRequest {
2421
+ /** Identifier */
2422
+ accountId: string;
2423
+ }
2424
+ export declare const ListRoutesRequest: Schema.Schema<ListRoutesRequest>;
2425
+ export interface ListRoutesResponse {
2426
+ routes?: {
2427
+ id: string;
2428
+ nexthop: string;
2429
+ prefix: string;
2430
+ priority: number;
2431
+ createdOn?: string | null;
2432
+ description?: string | null;
2433
+ modifiedOn?: string | null;
2434
+ scope?: unknown | null;
2435
+ weight?: number | null;
2436
+ }[] | null;
2437
+ }
2438
+ export declare const ListRoutesResponse: Schema.Schema<ListRoutesResponse>;
2439
+ export type ListRoutesError = DefaultErrors;
2440
+ export declare const listRoutes: API.OperationMethod<ListRoutesRequest, ListRoutesResponse, ListRoutesError, Credentials | HttpClient.HttpClient>;
2441
+ export interface CreateRouteRequest {
2442
+ /** Path param: Identifier */
2443
+ accountId: string;
2444
+ /** Body param: The next-hop IP Address for the static route. */
2445
+ nexthop: string;
2446
+ /** Body param: IP Prefix in Classless Inter-Domain Routing format. */
2447
+ prefix: string;
2448
+ /** Body param: Priority of the static route. */
2449
+ priority: number;
2450
+ /** Body param: An optional human provided description of the static route. */
2451
+ description?: string;
2452
+ /** Body param: Used only for ECMP routes. */
2453
+ scope?: {
2454
+ coloNames?: string[];
2455
+ coloRegions?: string[];
2456
+ };
2457
+ /** Body param: Optional weight of the ECMP scope - if provided. */
2458
+ weight?: number;
2459
+ }
2460
+ export declare const CreateRouteRequest: Schema.Schema<CreateRouteRequest>;
2461
+ export interface CreateRouteResponse {
2462
+ /** Identifier */
2463
+ id: string;
2464
+ /** The next-hop IP Address for the static route. */
2465
+ nexthop: string;
2466
+ /** IP Prefix in Classless Inter-Domain Routing format. */
2467
+ prefix: string;
2468
+ /** Priority of the static route. */
2469
+ priority: number;
2470
+ /** When the route was created. */
2471
+ createdOn?: string | null;
2472
+ /** An optional human provided description of the static route. */
2473
+ description?: string | null;
2474
+ /** When the route was last modified. */
2475
+ modifiedOn?: string | null;
2476
+ /** Used only for ECMP routes. */
2477
+ scope?: {
2478
+ coloNames?: string[] | null;
2479
+ coloRegions?: string[] | null;
2480
+ } | null;
2481
+ /** Optional weight of the ECMP scope - if provided. */
2482
+ weight?: number | null;
2483
+ }
2484
+ export declare const CreateRouteResponse: Schema.Schema<CreateRouteResponse>;
2485
+ export type CreateRouteError = DefaultErrors;
2486
+ export declare const createRoute: API.OperationMethod<CreateRouteRequest, CreateRouteResponse, CreateRouteError, Credentials | HttpClient.HttpClient>;
2487
+ export interface UpdateRouteRequest {
2488
+ routeId: string;
2489
+ /** Path param: Identifier */
2490
+ accountId: string;
2491
+ /** Body param: The next-hop IP Address for the static route. */
2492
+ nexthop: string;
2493
+ /** Body param: IP Prefix in Classless Inter-Domain Routing format. */
2494
+ prefix: string;
2495
+ /** Body param: Priority of the static route. */
2496
+ priority: number;
2497
+ /** Body param: An optional human provided description of the static route. */
2498
+ description?: string;
2499
+ /** Body param: Used only for ECMP routes. */
2500
+ scope?: {
2501
+ coloNames?: string[];
2502
+ coloRegions?: string[];
2503
+ };
2504
+ /** Body param: Optional weight of the ECMP scope - if provided. */
2505
+ weight?: number;
2506
+ }
2507
+ export declare const UpdateRouteRequest: Schema.Schema<UpdateRouteRequest>;
2508
+ export interface UpdateRouteResponse {
2509
+ modified?: boolean | null;
2510
+ modifiedRoute?: {
2511
+ id: string;
2512
+ nexthop: string;
2513
+ prefix: string;
2514
+ priority: number;
2515
+ createdOn?: string | null;
2516
+ description?: string | null;
2517
+ modifiedOn?: string | null;
2518
+ scope?: unknown | null;
2519
+ weight?: number | null;
2520
+ } | null;
2521
+ }
2522
+ export declare const UpdateRouteResponse: Schema.Schema<UpdateRouteResponse>;
2523
+ export type UpdateRouteError = DefaultErrors;
2524
+ export declare const updateRoute: API.OperationMethod<UpdateRouteRequest, UpdateRouteResponse, UpdateRouteError, Credentials | HttpClient.HttpClient>;
2525
+ export interface DeleteRouteRequest {
2526
+ routeId: string;
2527
+ /** Identifier */
2528
+ accountId: string;
2529
+ }
2530
+ export declare const DeleteRouteRequest: Schema.Schema<DeleteRouteRequest>;
2531
+ export interface DeleteRouteResponse {
2532
+ deleted?: boolean | null;
2533
+ deletedRoute?: {
2534
+ id: string;
2535
+ nexthop: string;
2536
+ prefix: string;
2537
+ priority: number;
2538
+ createdOn?: string | null;
2539
+ description?: string | null;
2540
+ modifiedOn?: string | null;
2541
+ scope?: unknown | null;
2542
+ weight?: number | null;
2543
+ } | null;
2544
+ }
2545
+ export declare const DeleteRouteResponse: Schema.Schema<DeleteRouteResponse>;
2546
+ export type DeleteRouteError = DefaultErrors;
2547
+ export declare const deleteRoute: API.OperationMethod<DeleteRouteRequest, DeleteRouteResponse, DeleteRouteError, Credentials | HttpClient.HttpClient>;
2548
+ export interface EmptyRouteRequest {
2549
+ /** Identifier */
2550
+ accountId: string;
2551
+ }
2552
+ export declare const EmptyRouteRequest: Schema.Schema<EmptyRouteRequest>;
2553
+ export interface EmptyRouteResponse {
2554
+ deleted?: boolean | null;
2555
+ deletedRoutes?: {
2556
+ id: string;
2557
+ nexthop: string;
2558
+ prefix: string;
2559
+ priority: number;
2560
+ createdOn?: string | null;
2561
+ description?: string | null;
2562
+ modifiedOn?: string | null;
2563
+ scope?: unknown | null;
2564
+ weight?: number | null;
2565
+ }[] | null;
2566
+ }
2567
+ export declare const EmptyRouteResponse: Schema.Schema<EmptyRouteResponse>;
2568
+ export type EmptyRouteError = DefaultErrors;
2569
+ export declare const emptyRoute: API.OperationMethod<EmptyRouteRequest, EmptyRouteResponse, EmptyRouteError, Credentials | HttpClient.HttpClient>;
2570
+ export interface GetSiteRequest {
2571
+ siteId: string;
2572
+ /** Path param: Identifier */
2573
+ accountId: string;
2574
+ /** Header param: If true, the health check target in the response body will be presented using the new object format. Defaults to false. */
2575
+ xMagicNewHcTarget?: boolean;
2576
+ }
2577
+ export declare const GetSiteRequest: Schema.Schema<GetSiteRequest>;
2578
+ export interface GetSiteResponse {
2579
+ /** Identifier */
2580
+ id?: string | null;
2581
+ /** Magic Connector identifier tag. */
2582
+ connectorId?: string | null;
2583
+ description?: string | null;
2584
+ /** Site high availability mode. If set to true, the site can have two connectors and runs in high availability mode. */
2585
+ haMode?: boolean | null;
2586
+ /** Location of site in latitude and longitude. */
2587
+ location?: {
2588
+ lat?: string | null;
2589
+ lon?: string | null;
2590
+ } | null;
2591
+ /** The name of the site. */
2592
+ name?: string | null;
2593
+ /** Magic Connector identifier tag. Used when high availability mode is on. */
2594
+ secondaryConnectorId?: string | null;
2595
+ }
2596
+ export declare const GetSiteResponse: Schema.Schema<GetSiteResponse>;
2597
+ export type GetSiteError = DefaultErrors;
2598
+ export declare const getSite: API.OperationMethod<GetSiteRequest, GetSiteResponse, GetSiteError, Credentials | HttpClient.HttpClient>;
2599
+ export interface ListSitesRequest {
2600
+ /** Path param: Identifier */
2601
+ accountId: string;
2602
+ /** Query param: Identifier */
2603
+ connectorid?: string;
2604
+ }
2605
+ export declare const ListSitesRequest: Schema.Schema<ListSitesRequest>;
2606
+ export type ListSitesResponse = {
2607
+ id?: string | null;
2608
+ connectorId?: string | null;
2609
+ description?: string | null;
2610
+ haMode?: boolean | null;
2611
+ location?: {
2612
+ lat?: string | null;
2613
+ lon?: string | null;
2614
+ } | null;
2615
+ name?: string | null;
2616
+ secondaryConnectorId?: string | null;
2617
+ }[];
2618
+ export declare const ListSitesResponse: Schema.Schema<ListSitesResponse>;
2619
+ export type ListSitesError = DefaultErrors;
2620
+ export declare const listSites: API.OperationMethod<ListSitesRequest, ListSitesResponse, ListSitesError, Credentials | HttpClient.HttpClient>;
2621
+ export interface CreateSiteRequest {
2622
+ /** Path param: Identifier */
2623
+ accountId: string;
2624
+ /** Body param: The name of the site. */
2625
+ name: string;
2626
+ /** Body param: Magic Connector identifier tag. */
2627
+ connectorId?: string;
2628
+ /** Body param: */
2629
+ description?: string;
2630
+ /** Body param: Site high availability mode. If set to true, the site can have two connectors and runs in high availability mode. */
2631
+ haMode?: boolean;
2632
+ /** Body param: Location of site in latitude and longitude. */
2633
+ location?: {
2634
+ lat?: string;
2635
+ lon?: string;
2636
+ };
2637
+ /** Body param: Magic Connector identifier tag. Used when high availability mode is on. */
2638
+ secondaryConnectorId?: string;
2639
+ }
2640
+ export declare const CreateSiteRequest: Schema.Schema<CreateSiteRequest>;
2641
+ export interface CreateSiteResponse {
2642
+ /** Identifier */
2643
+ id?: string | null;
2644
+ /** Magic Connector identifier tag. */
2645
+ connectorId?: string | null;
2646
+ description?: string | null;
2647
+ /** Site high availability mode. If set to true, the site can have two connectors and runs in high availability mode. */
2648
+ haMode?: boolean | null;
2649
+ /** Location of site in latitude and longitude. */
2650
+ location?: {
2651
+ lat?: string | null;
2652
+ lon?: string | null;
2653
+ } | null;
2654
+ /** The name of the site. */
2655
+ name?: string | null;
2656
+ /** Magic Connector identifier tag. Used when high availability mode is on. */
2657
+ secondaryConnectorId?: string | null;
2658
+ }
2659
+ export declare const CreateSiteResponse: Schema.Schema<CreateSiteResponse>;
2660
+ export type CreateSiteError = DefaultErrors;
2661
+ export declare const createSite: API.OperationMethod<CreateSiteRequest, CreateSiteResponse, CreateSiteError, Credentials | HttpClient.HttpClient>;
2662
+ export interface UpdateSiteRequest {
2663
+ siteId: string;
2664
+ /** Path param: Identifier */
2665
+ accountId: string;
2666
+ /** Body param: Magic Connector identifier tag. */
2667
+ connectorId?: string;
2668
+ /** Body param: */
2669
+ description?: string;
2670
+ /** Body param: Location of site in latitude and longitude. */
2671
+ location?: {
2672
+ lat?: string;
2673
+ lon?: string;
2674
+ };
2675
+ /** Body param: The name of the site. */
2676
+ name?: string;
2677
+ /** Body param: Magic Connector identifier tag. Used when high availability mode is on. */
2678
+ secondaryConnectorId?: string;
2679
+ }
2680
+ export declare const UpdateSiteRequest: Schema.Schema<UpdateSiteRequest>;
2681
+ export interface UpdateSiteResponse {
2682
+ /** Identifier */
2683
+ id?: string | null;
2684
+ /** Magic Connector identifier tag. */
2685
+ connectorId?: string | null;
2686
+ description?: string | null;
2687
+ /** Site high availability mode. If set to true, the site can have two connectors and runs in high availability mode. */
2688
+ haMode?: boolean | null;
2689
+ /** Location of site in latitude and longitude. */
2690
+ location?: {
2691
+ lat?: string | null;
2692
+ lon?: string | null;
2693
+ } | null;
2694
+ /** The name of the site. */
2695
+ name?: string | null;
2696
+ /** Magic Connector identifier tag. Used when high availability mode is on. */
2697
+ secondaryConnectorId?: string | null;
2698
+ }
2699
+ export declare const UpdateSiteResponse: Schema.Schema<UpdateSiteResponse>;
2700
+ export type UpdateSiteError = DefaultErrors;
2701
+ export declare const updateSite: API.OperationMethod<UpdateSiteRequest, UpdateSiteResponse, UpdateSiteError, Credentials | HttpClient.HttpClient>;
2702
+ export interface PatchSiteRequest {
2703
+ siteId: string;
2704
+ /** Path param: Identifier */
2705
+ accountId: string;
2706
+ /** Body param: Magic Connector identifier tag. */
2707
+ connectorId?: string;
2708
+ /** Body param: */
2709
+ description?: string;
2710
+ /** Body param: Location of site in latitude and longitude. */
2711
+ location?: {
2712
+ lat?: string;
2713
+ lon?: string;
2714
+ };
2715
+ /** Body param: The name of the site. */
2716
+ name?: string;
2717
+ /** Body param: Magic Connector identifier tag. Used when high availability mode is on. */
2718
+ secondaryConnectorId?: string;
2719
+ }
2720
+ export declare const PatchSiteRequest: Schema.Schema<PatchSiteRequest>;
2721
+ export interface PatchSiteResponse {
2722
+ /** Identifier */
2723
+ id?: string | null;
2724
+ /** Magic Connector identifier tag. */
2725
+ connectorId?: string | null;
2726
+ description?: string | null;
2727
+ /** Site high availability mode. If set to true, the site can have two connectors and runs in high availability mode. */
2728
+ haMode?: boolean | null;
2729
+ /** Location of site in latitude and longitude. */
2730
+ location?: {
2731
+ lat?: string | null;
2732
+ lon?: string | null;
2733
+ } | null;
2734
+ /** The name of the site. */
2735
+ name?: string | null;
2736
+ /** Magic Connector identifier tag. Used when high availability mode is on. */
2737
+ secondaryConnectorId?: string | null;
2738
+ }
2739
+ export declare const PatchSiteResponse: Schema.Schema<PatchSiteResponse>;
2740
+ export type PatchSiteError = DefaultErrors;
2741
+ export declare const patchSite: API.OperationMethod<PatchSiteRequest, PatchSiteResponse, PatchSiteError, Credentials | HttpClient.HttpClient>;
2742
+ export interface DeleteSiteRequest {
2743
+ siteId: string;
2744
+ /** Identifier */
2745
+ accountId: string;
2746
+ }
2747
+ export declare const DeleteSiteRequest: Schema.Schema<DeleteSiteRequest>;
2748
+ export interface DeleteSiteResponse {
2749
+ /** Identifier */
2750
+ id?: string | null;
2751
+ /** Magic Connector identifier tag. */
2752
+ connectorId?: string | null;
2753
+ description?: string | null;
2754
+ /** Site high availability mode. If set to true, the site can have two connectors and runs in high availability mode. */
2755
+ haMode?: boolean | null;
2756
+ /** Location of site in latitude and longitude. */
2757
+ location?: {
2758
+ lat?: string | null;
2759
+ lon?: string | null;
2760
+ } | null;
2761
+ /** The name of the site. */
2762
+ name?: string | null;
2763
+ /** Magic Connector identifier tag. Used when high availability mode is on. */
2764
+ secondaryConnectorId?: string | null;
2765
+ }
2766
+ export declare const DeleteSiteResponse: Schema.Schema<DeleteSiteResponse>;
2767
+ export type DeleteSiteError = DefaultErrors;
2768
+ export declare const deleteSite: API.OperationMethod<DeleteSiteRequest, DeleteSiteResponse, DeleteSiteError, Credentials | HttpClient.HttpClient>;
2769
+ export interface GetSiteAclRequest {
2770
+ siteId: string;
2771
+ aclId: string;
2772
+ /** Identifier */
2773
+ accountId: string;
2774
+ }
2775
+ export declare const GetSiteAclRequest: Schema.Schema<GetSiteAclRequest>;
2776
+ export interface GetSiteAclResponse {
2777
+ /** Identifier */
2778
+ id?: string | null;
2779
+ /** Description for the ACL. */
2780
+ description?: string | null;
2781
+ /** The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. I */
2782
+ forwardLocally?: boolean | null;
2783
+ lan_1?: {
2784
+ lanId: string;
2785
+ lanName?: string | null;
2786
+ portRanges?: string[] | null;
2787
+ ports?: number[] | null;
2788
+ subnets?: string[] | null;
2789
+ } | null;
2790
+ lan_2?: {
2791
+ lanId: string;
2792
+ lanName?: string | null;
2793
+ portRanges?: string[] | null;
2794
+ ports?: number[] | null;
2795
+ subnets?: string[] | null;
2796
+ } | null;
2797
+ /** The name of the ACL. */
2798
+ name?: string | null;
2799
+ protocols?: ("tcp" | "udp" | "icmp")[] | null;
2800
+ /** The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not include */
2801
+ unidirectional?: boolean | null;
2802
+ }
2803
+ export declare const GetSiteAclResponse: Schema.Schema<GetSiteAclResponse>;
2804
+ export type GetSiteAclError = DefaultErrors;
2805
+ export declare const getSiteAcl: API.OperationMethod<GetSiteAclRequest, GetSiteAclResponse, GetSiteAclError, Credentials | HttpClient.HttpClient>;
2806
+ export interface ListSiteAclsRequest {
2807
+ siteId: string;
2808
+ /** Identifier */
2809
+ accountId: string;
2810
+ }
2811
+ export declare const ListSiteAclsRequest: Schema.Schema<ListSiteAclsRequest>;
2812
+ export type ListSiteAclsResponse = {
2813
+ id?: string | null;
2814
+ description?: string | null;
2815
+ forwardLocally?: boolean | null;
2816
+ lan_1?: {
2817
+ lanId: string;
2818
+ lanName?: string | null;
2819
+ portRanges?: string[] | null;
2820
+ ports?: number[] | null;
2821
+ subnets?: string[] | null;
2822
+ } | null;
2823
+ lan_2?: {
2824
+ lanId: string;
2825
+ lanName?: string | null;
2826
+ portRanges?: string[] | null;
2827
+ ports?: number[] | null;
2828
+ subnets?: string[] | null;
2829
+ } | null;
2830
+ name?: string | null;
2831
+ protocols?: ("tcp" | "udp" | "icmp")[] | null;
2832
+ unidirectional?: boolean | null;
2833
+ }[];
2834
+ export declare const ListSiteAclsResponse: Schema.Schema<ListSiteAclsResponse>;
2835
+ export type ListSiteAclsError = DefaultErrors;
2836
+ export declare const listSiteAcls: API.OperationMethod<ListSiteAclsRequest, ListSiteAclsResponse, ListSiteAclsError, Credentials | HttpClient.HttpClient>;
2837
+ export interface CreateSiteAclRequest {
2838
+ siteId: string;
2839
+ /** Path param: Identifier */
2840
+ accountId: string;
2841
+ /** Body param: */
2842
+ lan_1: {
2843
+ lanId: string;
2844
+ lanName?: string;
2845
+ portRanges?: string[];
2846
+ ports?: number[];
2847
+ subnets?: string[];
2848
+ };
2849
+ /** Body param: */
2850
+ lan_2: {
2851
+ lanId: string;
2852
+ lanName?: string;
2853
+ portRanges?: string[];
2854
+ ports?: number[];
2855
+ subnets?: string[];
2856
+ };
2857
+ /** Body param: The name of the ACL. */
2858
+ name: string;
2859
+ /** Body param: Description for the ACL. */
2860
+ description?: string;
2861
+ /** Body param: The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic */
2862
+ forwardLocally?: boolean;
2863
+ /** Body param: */
2864
+ protocols?: ("tcp" | "udp" | "icmp")[];
2865
+ /** Body param: The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If */
2866
+ unidirectional?: boolean;
2867
+ }
2868
+ export declare const CreateSiteAclRequest: Schema.Schema<CreateSiteAclRequest>;
2869
+ export interface CreateSiteAclResponse {
2870
+ /** Identifier */
2871
+ id?: string | null;
2872
+ /** Description for the ACL. */
2873
+ description?: string | null;
2874
+ /** The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. I */
2875
+ forwardLocally?: boolean | null;
2876
+ lan_1?: {
2877
+ lanId: string;
2878
+ lanName?: string | null;
2879
+ portRanges?: string[] | null;
2880
+ ports?: number[] | null;
2881
+ subnets?: string[] | null;
2882
+ } | null;
2883
+ lan_2?: {
2884
+ lanId: string;
2885
+ lanName?: string | null;
2886
+ portRanges?: string[] | null;
2887
+ ports?: number[] | null;
2888
+ subnets?: string[] | null;
2889
+ } | null;
2890
+ /** The name of the ACL. */
2891
+ name?: string | null;
2892
+ protocols?: ("tcp" | "udp" | "icmp")[] | null;
2893
+ /** The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not include */
2894
+ unidirectional?: boolean | null;
2895
+ }
2896
+ export declare const CreateSiteAclResponse: Schema.Schema<CreateSiteAclResponse>;
2897
+ export type CreateSiteAclError = DefaultErrors;
2898
+ export declare const createSiteAcl: API.OperationMethod<CreateSiteAclRequest, CreateSiteAclResponse, CreateSiteAclError, Credentials | HttpClient.HttpClient>;
2899
+ export interface UpdateSiteAclRequest {
2900
+ siteId: string;
2901
+ aclId: string;
2902
+ /** Path param: Identifier */
2903
+ accountId: string;
2904
+ /** Body param: Description for the ACL. */
2905
+ description?: string;
2906
+ /** Body param: The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic */
2907
+ forwardLocally?: boolean;
2908
+ /** Body param: */
2909
+ lan_1?: {
2910
+ lanId: string;
2911
+ lanName?: string;
2912
+ portRanges?: string[];
2913
+ ports?: number[];
2914
+ subnets?: string[];
2915
+ };
2916
+ /** Body param: */
2917
+ lan_2?: {
2918
+ lanId: string;
2919
+ lanName?: string;
2920
+ portRanges?: string[];
2921
+ ports?: number[];
2922
+ subnets?: string[];
2923
+ };
2924
+ /** Body param: The name of the ACL. */
2925
+ name?: string;
2926
+ /** Body param: */
2927
+ protocols?: ("tcp" | "udp" | "icmp")[];
2928
+ /** Body param: The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If */
2929
+ unidirectional?: boolean;
2930
+ }
2931
+ export declare const UpdateSiteAclRequest: Schema.Schema<UpdateSiteAclRequest>;
2932
+ export interface UpdateSiteAclResponse {
2933
+ /** Identifier */
2934
+ id?: string | null;
2935
+ /** Description for the ACL. */
2936
+ description?: string | null;
2937
+ /** The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. I */
2938
+ forwardLocally?: boolean | null;
2939
+ lan_1?: {
2940
+ lanId: string;
2941
+ lanName?: string | null;
2942
+ portRanges?: string[] | null;
2943
+ ports?: number[] | null;
2944
+ subnets?: string[] | null;
2945
+ } | null;
2946
+ lan_2?: {
2947
+ lanId: string;
2948
+ lanName?: string | null;
2949
+ portRanges?: string[] | null;
2950
+ ports?: number[] | null;
2951
+ subnets?: string[] | null;
2952
+ } | null;
2953
+ /** The name of the ACL. */
2954
+ name?: string | null;
2955
+ protocols?: ("tcp" | "udp" | "icmp")[] | null;
2956
+ /** The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not include */
2957
+ unidirectional?: boolean | null;
2958
+ }
2959
+ export declare const UpdateSiteAclResponse: Schema.Schema<UpdateSiteAclResponse>;
2960
+ export type UpdateSiteAclError = DefaultErrors;
2961
+ export declare const updateSiteAcl: API.OperationMethod<UpdateSiteAclRequest, UpdateSiteAclResponse, UpdateSiteAclError, Credentials | HttpClient.HttpClient>;
2962
+ export interface PatchSiteAclRequest {
2963
+ siteId: string;
2964
+ aclId: string;
2965
+ /** Path param: Identifier */
2966
+ accountId: string;
2967
+ /** Body param: Description for the ACL. */
2968
+ description?: string;
2969
+ /** Body param: The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic */
2970
+ forwardLocally?: boolean;
2971
+ /** Body param: */
2972
+ lan_1?: {
2973
+ lanId: string;
2974
+ lanName?: string;
2975
+ portRanges?: string[];
2976
+ ports?: number[];
2977
+ subnets?: string[];
2978
+ };
2979
+ /** Body param: */
2980
+ lan_2?: {
2981
+ lanId: string;
2982
+ lanName?: string;
2983
+ portRanges?: string[];
2984
+ ports?: number[];
2985
+ subnets?: string[];
2986
+ };
2987
+ /** Body param: The name of the ACL. */
2988
+ name?: string;
2989
+ /** Body param: */
2990
+ protocols?: ("tcp" | "udp" | "icmp")[];
2991
+ /** Body param: The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If */
2992
+ unidirectional?: boolean;
2993
+ }
2994
+ export declare const PatchSiteAclRequest: Schema.Schema<PatchSiteAclRequest>;
2995
+ export interface PatchSiteAclResponse {
2996
+ /** Identifier */
2997
+ id?: string | null;
2998
+ /** Description for the ACL. */
2999
+ description?: string | null;
3000
+ /** The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. I */
3001
+ forwardLocally?: boolean | null;
3002
+ lan_1?: {
3003
+ lanId: string;
3004
+ lanName?: string | null;
3005
+ portRanges?: string[] | null;
3006
+ ports?: number[] | null;
3007
+ subnets?: string[] | null;
3008
+ } | null;
3009
+ lan_2?: {
3010
+ lanId: string;
3011
+ lanName?: string | null;
3012
+ portRanges?: string[] | null;
3013
+ ports?: number[] | null;
3014
+ subnets?: string[] | null;
3015
+ } | null;
3016
+ /** The name of the ACL. */
3017
+ name?: string | null;
3018
+ protocols?: ("tcp" | "udp" | "icmp")[] | null;
3019
+ /** The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not include */
3020
+ unidirectional?: boolean | null;
3021
+ }
3022
+ export declare const PatchSiteAclResponse: Schema.Schema<PatchSiteAclResponse>;
3023
+ export type PatchSiteAclError = DefaultErrors;
3024
+ export declare const patchSiteAcl: API.OperationMethod<PatchSiteAclRequest, PatchSiteAclResponse, PatchSiteAclError, Credentials | HttpClient.HttpClient>;
3025
+ export interface DeleteSiteAclRequest {
3026
+ siteId: string;
3027
+ aclId: string;
3028
+ /** Identifier */
3029
+ accountId: string;
3030
+ }
3031
+ export declare const DeleteSiteAclRequest: Schema.Schema<DeleteSiteAclRequest>;
3032
+ export interface DeleteSiteAclResponse {
3033
+ /** Identifier */
3034
+ id?: string | null;
3035
+ /** Description for the ACL. */
3036
+ description?: string | null;
3037
+ /** The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. I */
3038
+ forwardLocally?: boolean | null;
3039
+ lan_1?: {
3040
+ lanId: string;
3041
+ lanName?: string | null;
3042
+ portRanges?: string[] | null;
3043
+ ports?: number[] | null;
3044
+ subnets?: string[] | null;
3045
+ } | null;
3046
+ lan_2?: {
3047
+ lanId: string;
3048
+ lanName?: string | null;
3049
+ portRanges?: string[] | null;
3050
+ ports?: number[] | null;
3051
+ subnets?: string[] | null;
3052
+ } | null;
3053
+ /** The name of the ACL. */
3054
+ name?: string | null;
3055
+ protocols?: ("tcp" | "udp" | "icmp")[] | null;
3056
+ /** The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not include */
3057
+ unidirectional?: boolean | null;
3058
+ }
3059
+ export declare const DeleteSiteAclResponse: Schema.Schema<DeleteSiteAclResponse>;
3060
+ export type DeleteSiteAclError = DefaultErrors;
3061
+ export declare const deleteSiteAcl: API.OperationMethod<DeleteSiteAclRequest, DeleteSiteAclResponse, DeleteSiteAclError, Credentials | HttpClient.HttpClient>;
3062
+ export interface GetSiteLanRequest {
3063
+ siteId: string;
3064
+ lanId: string;
3065
+ /** Identifier */
3066
+ accountId: string;
3067
+ }
3068
+ export declare const GetSiteLanRequest: Schema.Schema<GetSiteLanRequest>;
3069
+ export interface GetSiteLanResponse {
3070
+ /** Identifier */
3071
+ id?: string | null;
3072
+ /** mark true to use this LAN for HA probing. only works for site with HA turned on. only one LAN can be set as the ha_link. */
3073
+ haLink?: boolean | null;
3074
+ name?: string | null;
3075
+ nat?: {
3076
+ staticPrefix?: string | null;
3077
+ } | null;
3078
+ physport?: number | null;
3079
+ routedSubnets?: {
3080
+ nextHop: string;
3081
+ prefix: string;
3082
+ nat?: {
3083
+ staticPrefix?: string | null;
3084
+ } | null;
3085
+ }[] | null;
3086
+ /** Identifier */
3087
+ siteId?: string | null;
3088
+ /** If the site is not configured in high availability mode, this configuration is optional (if omitted, use DHCP). However, if in high availability mode, static_address is required along with secondary a */
3089
+ staticAddressing?: {
3090
+ address: string;
3091
+ dhcpRelay?: {
3092
+ serverAddresses?: string[] | null;
3093
+ } | null;
3094
+ dhcpServer?: {
3095
+ dhcpPoolEnd?: string | null;
3096
+ dhcpPoolStart?: string | null;
3097
+ dnsServer?: string | null;
3098
+ dnsServers?: string[] | null;
3099
+ reservations?: Record<string, unknown> | null;
3100
+ } | null;
3101
+ secondaryAddress?: string | null;
3102
+ virtualAddress?: string | null;
3103
+ } | null;
3104
+ /** VLAN ID. Use zero for untagged. */
3105
+ vlanTag?: number | null;
3106
+ }
3107
+ export declare const GetSiteLanResponse: Schema.Schema<GetSiteLanResponse>;
3108
+ export type GetSiteLanError = DefaultErrors;
3109
+ export declare const getSiteLan: API.OperationMethod<GetSiteLanRequest, GetSiteLanResponse, GetSiteLanError, Credentials | HttpClient.HttpClient>;
3110
+ export interface ListSiteLansRequest {
3111
+ siteId: string;
3112
+ /** Identifier */
3113
+ accountId: string;
3114
+ }
3115
+ export declare const ListSiteLansRequest: Schema.Schema<ListSiteLansRequest>;
3116
+ export type ListSiteLansResponse = {
3117
+ id?: string | null;
3118
+ haLink?: boolean | null;
3119
+ name?: string | null;
3120
+ nat?: {
3121
+ staticPrefix?: string | null;
3122
+ } | null;
3123
+ physport?: number | null;
3124
+ routedSubnets?: {
3125
+ nextHop: string;
3126
+ prefix: string;
3127
+ nat?: {
3128
+ staticPrefix?: string | null;
3129
+ } | null;
3130
+ }[] | null;
3131
+ siteId?: string | null;
3132
+ staticAddressing?: {
3133
+ address: string;
3134
+ dhcpRelay?: {
3135
+ serverAddresses?: string[] | null;
3136
+ } | null;
3137
+ dhcpServer?: {
3138
+ dhcpPoolEnd?: string | null;
3139
+ dhcpPoolStart?: string | null;
3140
+ dnsServer?: string | null;
3141
+ dnsServers?: string[] | null;
3142
+ reservations?: Record<string, unknown> | null;
3143
+ } | null;
3144
+ secondaryAddress?: string | null;
3145
+ virtualAddress?: string | null;
3146
+ } | null;
3147
+ vlanTag?: number | null;
3148
+ }[];
3149
+ export declare const ListSiteLansResponse: Schema.Schema<ListSiteLansResponse>;
3150
+ export type ListSiteLansError = DefaultErrors;
3151
+ export declare const listSiteLans: API.OperationMethod<ListSiteLansRequest, ListSiteLansResponse, ListSiteLansError, Credentials | HttpClient.HttpClient>;
3152
+ export interface CreateSiteLanRequest {
3153
+ siteId: string;
3154
+ /** Path param: Identifier */
3155
+ accountId: string;
3156
+ /** Body param: */
3157
+ physport: number;
3158
+ /** Body param: mark true to use this LAN for HA probing. only works for site with HA turned on. only one LAN can be set as the ha_link. */
3159
+ haLink?: boolean;
3160
+ /** Body param: */
3161
+ name?: string;
3162
+ /** Body param: */
3163
+ nat?: {
3164
+ staticPrefix?: string;
3165
+ };
3166
+ /** Body param: */
3167
+ routedSubnets?: {
3168
+ nextHop: string;
3169
+ prefix: string;
3170
+ nat?: {
3171
+ staticPrefix?: string;
3172
+ };
3173
+ }[];
3174
+ /** Body param: If the site is not configured in high availability mode, this configuration is optional (if omitted, use DHCP). However, if in high availability mode, static_address is required along with */
3175
+ staticAddressing?: {
3176
+ address: string;
3177
+ dhcpRelay?: {
3178
+ serverAddresses?: string[];
3179
+ };
3180
+ dhcpServer?: {
3181
+ dhcpPoolEnd?: string;
3182
+ dhcpPoolStart?: string;
3183
+ dnsServer?: string;
3184
+ dnsServers?: string[];
3185
+ reservations?: Record<string, unknown>;
3186
+ };
3187
+ secondaryAddress?: string;
3188
+ virtualAddress?: string;
3189
+ };
3190
+ /** Body param: VLAN ID. Use zero for untagged. */
3191
+ vlanTag?: number;
3192
+ }
3193
+ export declare const CreateSiteLanRequest: Schema.Schema<CreateSiteLanRequest>;
3194
+ export type CreateSiteLanResponse = {
3195
+ id?: string | null;
3196
+ haLink?: boolean | null;
3197
+ name?: string | null;
3198
+ nat?: {
3199
+ staticPrefix?: string | null;
3200
+ } | null;
3201
+ physport?: number | null;
3202
+ routedSubnets?: {
3203
+ nextHop: string;
3204
+ prefix: string;
3205
+ nat?: {
3206
+ staticPrefix?: string | null;
3207
+ } | null;
3208
+ }[] | null;
3209
+ siteId?: string | null;
3210
+ staticAddressing?: {
3211
+ address: string;
3212
+ dhcpRelay?: {
3213
+ serverAddresses?: string[] | null;
3214
+ } | null;
3215
+ dhcpServer?: {
3216
+ dhcpPoolEnd?: string | null;
3217
+ dhcpPoolStart?: string | null;
3218
+ dnsServer?: string | null;
3219
+ dnsServers?: string[] | null;
3220
+ reservations?: Record<string, unknown> | null;
3221
+ } | null;
3222
+ secondaryAddress?: string | null;
3223
+ virtualAddress?: string | null;
3224
+ } | null;
3225
+ vlanTag?: number | null;
3226
+ }[];
3227
+ export declare const CreateSiteLanResponse: Schema.Schema<CreateSiteLanResponse>;
3228
+ export type CreateSiteLanError = DefaultErrors;
3229
+ export declare const createSiteLan: API.OperationMethod<CreateSiteLanRequest, CreateSiteLanResponse, CreateSiteLanError, Credentials | HttpClient.HttpClient>;
3230
+ export interface UpdateSiteLanRequest {
3231
+ siteId: string;
3232
+ lanId: string;
3233
+ /** Path param: Identifier */
3234
+ accountId: string;
3235
+ /** Body param: */
3236
+ name?: string;
3237
+ /** Body param: */
3238
+ nat?: {
3239
+ staticPrefix?: string;
3240
+ };
3241
+ /** Body param: */
3242
+ physport?: number;
3243
+ /** Body param: */
3244
+ routedSubnets?: {
3245
+ nextHop: string;
3246
+ prefix: string;
3247
+ nat?: {
3248
+ staticPrefix?: string;
3249
+ };
3250
+ }[];
3251
+ /** Body param: If the site is not configured in high availability mode, this configuration is optional (if omitted, use DHCP). However, if in high availability mode, static_address is required along with */
3252
+ staticAddressing?: {
3253
+ address: string;
3254
+ dhcpRelay?: {
3255
+ serverAddresses?: string[];
3256
+ };
3257
+ dhcpServer?: {
3258
+ dhcpPoolEnd?: string;
3259
+ dhcpPoolStart?: string;
3260
+ dnsServer?: string;
3261
+ dnsServers?: string[];
3262
+ reservations?: Record<string, unknown>;
3263
+ };
3264
+ secondaryAddress?: string;
3265
+ virtualAddress?: string;
3266
+ };
3267
+ /** Body param: VLAN ID. Use zero for untagged. */
3268
+ vlanTag?: number;
3269
+ }
3270
+ export declare const UpdateSiteLanRequest: Schema.Schema<UpdateSiteLanRequest>;
3271
+ export interface UpdateSiteLanResponse {
3272
+ /** Identifier */
3273
+ id?: string | null;
3274
+ /** mark true to use this LAN for HA probing. only works for site with HA turned on. only one LAN can be set as the ha_link. */
3275
+ haLink?: boolean | null;
3276
+ name?: string | null;
3277
+ nat?: {
3278
+ staticPrefix?: string | null;
3279
+ } | null;
3280
+ physport?: number | null;
3281
+ routedSubnets?: {
3282
+ nextHop: string;
3283
+ prefix: string;
3284
+ nat?: {
3285
+ staticPrefix?: string | null;
3286
+ } | null;
3287
+ }[] | null;
3288
+ /** Identifier */
3289
+ siteId?: string | null;
3290
+ /** If the site is not configured in high availability mode, this configuration is optional (if omitted, use DHCP). However, if in high availability mode, static_address is required along with secondary a */
3291
+ staticAddressing?: {
3292
+ address: string;
3293
+ dhcpRelay?: {
3294
+ serverAddresses?: string[] | null;
3295
+ } | null;
3296
+ dhcpServer?: {
3297
+ dhcpPoolEnd?: string | null;
3298
+ dhcpPoolStart?: string | null;
3299
+ dnsServer?: string | null;
3300
+ dnsServers?: string[] | null;
3301
+ reservations?: Record<string, unknown> | null;
3302
+ } | null;
3303
+ secondaryAddress?: string | null;
3304
+ virtualAddress?: string | null;
3305
+ } | null;
3306
+ /** VLAN ID. Use zero for untagged. */
3307
+ vlanTag?: number | null;
3308
+ }
3309
+ export declare const UpdateSiteLanResponse: Schema.Schema<UpdateSiteLanResponse>;
3310
+ export type UpdateSiteLanError = DefaultErrors;
3311
+ export declare const updateSiteLan: API.OperationMethod<UpdateSiteLanRequest, UpdateSiteLanResponse, UpdateSiteLanError, Credentials | HttpClient.HttpClient>;
3312
+ export interface PatchSiteLanRequest {
3313
+ siteId: string;
3314
+ lanId: string;
3315
+ /** Path param: Identifier */
3316
+ accountId: string;
3317
+ /** Body param: */
3318
+ name?: string;
3319
+ /** Body param: */
3320
+ nat?: {
3321
+ staticPrefix?: string;
3322
+ };
3323
+ /** Body param: */
3324
+ physport?: number;
3325
+ /** Body param: */
3326
+ routedSubnets?: {
3327
+ nextHop: string;
3328
+ prefix: string;
3329
+ nat?: {
3330
+ staticPrefix?: string;
3331
+ };
3332
+ }[];
3333
+ /** Body param: If the site is not configured in high availability mode, this configuration is optional (if omitted, use DHCP). However, if in high availability mode, static_address is required along with */
3334
+ staticAddressing?: {
3335
+ address: string;
3336
+ dhcpRelay?: {
3337
+ serverAddresses?: string[];
3338
+ };
3339
+ dhcpServer?: {
3340
+ dhcpPoolEnd?: string;
3341
+ dhcpPoolStart?: string;
3342
+ dnsServer?: string;
3343
+ dnsServers?: string[];
3344
+ reservations?: Record<string, unknown>;
3345
+ };
3346
+ secondaryAddress?: string;
3347
+ virtualAddress?: string;
3348
+ };
3349
+ /** Body param: VLAN ID. Use zero for untagged. */
3350
+ vlanTag?: number;
3351
+ }
3352
+ export declare const PatchSiteLanRequest: Schema.Schema<PatchSiteLanRequest>;
3353
+ export interface PatchSiteLanResponse {
3354
+ /** Identifier */
3355
+ id?: string | null;
3356
+ /** mark true to use this LAN for HA probing. only works for site with HA turned on. only one LAN can be set as the ha_link. */
3357
+ haLink?: boolean | null;
3358
+ name?: string | null;
3359
+ nat?: {
3360
+ staticPrefix?: string | null;
3361
+ } | null;
3362
+ physport?: number | null;
3363
+ routedSubnets?: {
3364
+ nextHop: string;
3365
+ prefix: string;
3366
+ nat?: {
3367
+ staticPrefix?: string | null;
3368
+ } | null;
3369
+ }[] | null;
3370
+ /** Identifier */
3371
+ siteId?: string | null;
3372
+ /** If the site is not configured in high availability mode, this configuration is optional (if omitted, use DHCP). However, if in high availability mode, static_address is required along with secondary a */
3373
+ staticAddressing?: {
3374
+ address: string;
3375
+ dhcpRelay?: {
3376
+ serverAddresses?: string[] | null;
3377
+ } | null;
3378
+ dhcpServer?: {
3379
+ dhcpPoolEnd?: string | null;
3380
+ dhcpPoolStart?: string | null;
3381
+ dnsServer?: string | null;
3382
+ dnsServers?: string[] | null;
3383
+ reservations?: Record<string, unknown> | null;
3384
+ } | null;
3385
+ secondaryAddress?: string | null;
3386
+ virtualAddress?: string | null;
3387
+ } | null;
3388
+ /** VLAN ID. Use zero for untagged. */
3389
+ vlanTag?: number | null;
3390
+ }
3391
+ export declare const PatchSiteLanResponse: Schema.Schema<PatchSiteLanResponse>;
3392
+ export type PatchSiteLanError = DefaultErrors;
3393
+ export declare const patchSiteLan: API.OperationMethod<PatchSiteLanRequest, PatchSiteLanResponse, PatchSiteLanError, Credentials | HttpClient.HttpClient>;
3394
+ export interface DeleteSiteLanRequest {
3395
+ siteId: string;
3396
+ lanId: string;
3397
+ /** Identifier */
3398
+ accountId: string;
3399
+ }
3400
+ export declare const DeleteSiteLanRequest: Schema.Schema<DeleteSiteLanRequest>;
3401
+ export interface DeleteSiteLanResponse {
3402
+ /** Identifier */
3403
+ id?: string | null;
3404
+ /** mark true to use this LAN for HA probing. only works for site with HA turned on. only one LAN can be set as the ha_link. */
3405
+ haLink?: boolean | null;
3406
+ name?: string | null;
3407
+ nat?: {
3408
+ staticPrefix?: string | null;
3409
+ } | null;
3410
+ physport?: number | null;
3411
+ routedSubnets?: {
3412
+ nextHop: string;
3413
+ prefix: string;
3414
+ nat?: {
3415
+ staticPrefix?: string | null;
3416
+ } | null;
3417
+ }[] | null;
3418
+ /** Identifier */
3419
+ siteId?: string | null;
3420
+ /** If the site is not configured in high availability mode, this configuration is optional (if omitted, use DHCP). However, if in high availability mode, static_address is required along with secondary a */
3421
+ staticAddressing?: {
3422
+ address: string;
3423
+ dhcpRelay?: {
3424
+ serverAddresses?: string[] | null;
3425
+ } | null;
3426
+ dhcpServer?: {
3427
+ dhcpPoolEnd?: string | null;
3428
+ dhcpPoolStart?: string | null;
3429
+ dnsServer?: string | null;
3430
+ dnsServers?: string[] | null;
3431
+ reservations?: Record<string, unknown> | null;
3432
+ } | null;
3433
+ secondaryAddress?: string | null;
3434
+ virtualAddress?: string | null;
3435
+ } | null;
3436
+ /** VLAN ID. Use zero for untagged. */
3437
+ vlanTag?: number | null;
3438
+ }
3439
+ export declare const DeleteSiteLanResponse: Schema.Schema<DeleteSiteLanResponse>;
3440
+ export type DeleteSiteLanError = DefaultErrors;
3441
+ export declare const deleteSiteLan: API.OperationMethod<DeleteSiteLanRequest, DeleteSiteLanResponse, DeleteSiteLanError, Credentials | HttpClient.HttpClient>;
3442
+ export interface GetSiteWanRequest {
3443
+ siteId: string;
3444
+ wanId: string;
3445
+ /** Identifier */
3446
+ accountId: string;
3447
+ }
3448
+ export declare const GetSiteWanRequest: Schema.Schema<GetSiteWanRequest>;
3449
+ export interface GetSiteWanResponse {
3450
+ /** Identifier */
3451
+ id?: string | null;
3452
+ /** Magic WAN health check rate for tunnels created on this link. The default value is `mid`. */
3453
+ healthCheckRate?: "low" | "mid" | "high" | null;
3454
+ name?: string | null;
3455
+ physport?: number | null;
3456
+ /** Priority of WAN for traffic loadbalancing. */
3457
+ priority?: number | null;
3458
+ /** Identifier */
3459
+ siteId?: string | null;
3460
+ /** (optional) if omitted, use DHCP. Submit secondary_address when site is in high availability mode. */
3461
+ staticAddressing?: {
3462
+ address: string;
3463
+ gatewayAddress: string;
3464
+ secondaryAddress?: string | null;
3465
+ } | null;
3466
+ /** VLAN ID. Use zero for untagged. */
3467
+ vlanTag?: number | null;
3468
+ }
3469
+ export declare const GetSiteWanResponse: Schema.Schema<GetSiteWanResponse>;
3470
+ export type GetSiteWanError = DefaultErrors;
3471
+ export declare const getSiteWan: API.OperationMethod<GetSiteWanRequest, GetSiteWanResponse, GetSiteWanError, Credentials | HttpClient.HttpClient>;
3472
+ export interface ListSiteWansRequest {
3473
+ siteId: string;
3474
+ /** Identifier */
3475
+ accountId: string;
3476
+ }
3477
+ export declare const ListSiteWansRequest: Schema.Schema<ListSiteWansRequest>;
3478
+ export type ListSiteWansResponse = {
3479
+ id?: string | null;
3480
+ healthCheckRate?: "low" | "mid" | "high" | null;
3481
+ name?: string | null;
3482
+ physport?: number | null;
3483
+ priority?: number | null;
3484
+ siteId?: string | null;
3485
+ staticAddressing?: {
3486
+ address: string;
3487
+ gatewayAddress: string;
3488
+ secondaryAddress?: string | null;
3489
+ } | null;
3490
+ vlanTag?: number | null;
3491
+ }[];
3492
+ export declare const ListSiteWansResponse: Schema.Schema<ListSiteWansResponse>;
3493
+ export type ListSiteWansError = DefaultErrors;
3494
+ export declare const listSiteWans: API.OperationMethod<ListSiteWansRequest, ListSiteWansResponse, ListSiteWansError, Credentials | HttpClient.HttpClient>;
3495
+ export interface CreateSiteWanRequest {
3496
+ siteId: string;
3497
+ /** Path param: Identifier */
3498
+ accountId: string;
3499
+ /** Body param: */
3500
+ physport: number;
3501
+ /** Body param: */
3502
+ name?: string;
3503
+ /** Body param: */
3504
+ priority?: number;
3505
+ /** Body param: (optional) if omitted, use DHCP. Submit secondary_address when site is in high availability mode. */
3506
+ staticAddressing?: {
3507
+ address: string;
3508
+ gatewayAddress: string;
3509
+ secondaryAddress?: string;
3510
+ };
3511
+ /** Body param: VLAN ID. Use zero for untagged. */
3512
+ vlanTag?: number;
3513
+ }
3514
+ export declare const CreateSiteWanRequest: Schema.Schema<CreateSiteWanRequest>;
3515
+ export type CreateSiteWanResponse = {
3516
+ id?: string | null;
3517
+ healthCheckRate?: "low" | "mid" | "high" | null;
3518
+ name?: string | null;
3519
+ physport?: number | null;
3520
+ priority?: number | null;
3521
+ siteId?: string | null;
3522
+ staticAddressing?: {
3523
+ address: string;
3524
+ gatewayAddress: string;
3525
+ secondaryAddress?: string | null;
3526
+ } | null;
3527
+ vlanTag?: number | null;
3528
+ }[];
3529
+ export declare const CreateSiteWanResponse: Schema.Schema<CreateSiteWanResponse>;
3530
+ export type CreateSiteWanError = DefaultErrors;
3531
+ export declare const createSiteWan: API.OperationMethod<CreateSiteWanRequest, CreateSiteWanResponse, CreateSiteWanError, Credentials | HttpClient.HttpClient>;
3532
+ export interface UpdateSiteWanRequest {
3533
+ siteId: string;
3534
+ wanId: string;
3535
+ /** Path param: Identifier */
3536
+ accountId: string;
3537
+ /** Body param: */
3538
+ name?: string;
3539
+ /** Body param: */
3540
+ physport?: number;
3541
+ /** Body param: */
3542
+ priority?: number;
3543
+ /** Body param: (optional) if omitted, use DHCP. Submit secondary_address when site is in high availability mode. */
3544
+ staticAddressing?: {
3545
+ address: string;
3546
+ gatewayAddress: string;
3547
+ secondaryAddress?: string;
3548
+ };
3549
+ /** Body param: VLAN ID. Use zero for untagged. */
3550
+ vlanTag?: number;
3551
+ }
3552
+ export declare const UpdateSiteWanRequest: Schema.Schema<UpdateSiteWanRequest>;
3553
+ export interface UpdateSiteWanResponse {
3554
+ /** Identifier */
3555
+ id?: string | null;
3556
+ /** Magic WAN health check rate for tunnels created on this link. The default value is `mid`. */
3557
+ healthCheckRate?: "low" | "mid" | "high" | null;
3558
+ name?: string | null;
3559
+ physport?: number | null;
3560
+ /** Priority of WAN for traffic loadbalancing. */
3561
+ priority?: number | null;
3562
+ /** Identifier */
3563
+ siteId?: string | null;
3564
+ /** (optional) if omitted, use DHCP. Submit secondary_address when site is in high availability mode. */
3565
+ staticAddressing?: {
3566
+ address: string;
3567
+ gatewayAddress: string;
3568
+ secondaryAddress?: string | null;
3569
+ } | null;
3570
+ /** VLAN ID. Use zero for untagged. */
3571
+ vlanTag?: number | null;
3572
+ }
3573
+ export declare const UpdateSiteWanResponse: Schema.Schema<UpdateSiteWanResponse>;
3574
+ export type UpdateSiteWanError = DefaultErrors;
3575
+ export declare const updateSiteWan: API.OperationMethod<UpdateSiteWanRequest, UpdateSiteWanResponse, UpdateSiteWanError, Credentials | HttpClient.HttpClient>;
3576
+ export interface PatchSiteWanRequest {
3577
+ siteId: string;
3578
+ wanId: string;
3579
+ /** Path param: Identifier */
3580
+ accountId: string;
3581
+ /** Body param: */
3582
+ name?: string;
3583
+ /** Body param: */
3584
+ physport?: number;
3585
+ /** Body param: */
3586
+ priority?: number;
3587
+ /** Body param: (optional) if omitted, use DHCP. Submit secondary_address when site is in high availability mode. */
3588
+ staticAddressing?: {
3589
+ address: string;
3590
+ gatewayAddress: string;
3591
+ secondaryAddress?: string;
3592
+ };
3593
+ /** Body param: VLAN ID. Use zero for untagged. */
3594
+ vlanTag?: number;
3595
+ }
3596
+ export declare const PatchSiteWanRequest: Schema.Schema<PatchSiteWanRequest>;
3597
+ export interface PatchSiteWanResponse {
3598
+ /** Identifier */
3599
+ id?: string | null;
3600
+ /** Magic WAN health check rate for tunnels created on this link. The default value is `mid`. */
3601
+ healthCheckRate?: "low" | "mid" | "high" | null;
3602
+ name?: string | null;
3603
+ physport?: number | null;
3604
+ /** Priority of WAN for traffic loadbalancing. */
3605
+ priority?: number | null;
3606
+ /** Identifier */
3607
+ siteId?: string | null;
3608
+ /** (optional) if omitted, use DHCP. Submit secondary_address when site is in high availability mode. */
3609
+ staticAddressing?: {
3610
+ address: string;
3611
+ gatewayAddress: string;
3612
+ secondaryAddress?: string | null;
3613
+ } | null;
3614
+ /** VLAN ID. Use zero for untagged. */
3615
+ vlanTag?: number | null;
3616
+ }
3617
+ export declare const PatchSiteWanResponse: Schema.Schema<PatchSiteWanResponse>;
3618
+ export type PatchSiteWanError = DefaultErrors;
3619
+ export declare const patchSiteWan: API.OperationMethod<PatchSiteWanRequest, PatchSiteWanResponse, PatchSiteWanError, Credentials | HttpClient.HttpClient>;
3620
+ export interface DeleteSiteWanRequest {
3621
+ siteId: string;
3622
+ wanId: string;
3623
+ /** Identifier */
3624
+ accountId: string;
3625
+ }
3626
+ export declare const DeleteSiteWanRequest: Schema.Schema<DeleteSiteWanRequest>;
3627
+ export interface DeleteSiteWanResponse {
3628
+ /** Identifier */
3629
+ id?: string | null;
3630
+ /** Magic WAN health check rate for tunnels created on this link. The default value is `mid`. */
3631
+ healthCheckRate?: "low" | "mid" | "high" | null;
3632
+ name?: string | null;
3633
+ physport?: number | null;
3634
+ /** Priority of WAN for traffic loadbalancing. */
3635
+ priority?: number | null;
3636
+ /** Identifier */
3637
+ siteId?: string | null;
3638
+ /** (optional) if omitted, use DHCP. Submit secondary_address when site is in high availability mode. */
3639
+ staticAddressing?: {
3640
+ address: string;
3641
+ gatewayAddress: string;
3642
+ secondaryAddress?: string | null;
3643
+ } | null;
3644
+ /** VLAN ID. Use zero for untagged. */
3645
+ vlanTag?: number | null;
3646
+ }
3647
+ export declare const DeleteSiteWanResponse: Schema.Schema<DeleteSiteWanResponse>;
3648
+ export type DeleteSiteWanError = DefaultErrors;
3649
+ export declare const deleteSiteWan: API.OperationMethod<DeleteSiteWanRequest, DeleteSiteWanResponse, DeleteSiteWanError, Credentials | HttpClient.HttpClient>;
3650
+ //# sourceMappingURL=magic-transit.d.ts.map